|
lord funk posted:i hate using other people's code. the initial productivity boost of "oh nice! someone has done this already!" inevitably becomes 5 years of fixing poo poo until you write your own implementation
|
# ? Jan 14, 2021 17:48 |
|
|
# ? Oct 11, 2024 06:39 |
|
mystes posted:Agreed, throw out all of your coworkers code and write your own. Re: terrible programming: throw out all of your coworkers code and write your own.
|
# ? Jan 14, 2021 17:50 |
|
mystes posted:Agreed, throw out all of your code from more than two months ago and write your own.
|
# ? Jan 14, 2021 17:50 |
|
BRB porting all my python to java on this cortex A8
|
# ? Jan 14, 2021 17:53 |
|
DoomTrainPhD posted:BRB porting all my python to java on this cortex A8 we get it, you vape
|
# ? Jan 14, 2021 17:57 |
|
Phobeste posted:we get it, you vape Well yeah. Weed is good
|
# ? Jan 14, 2021 17:58 |
|
you misspelled javascript there op, you want to port to javascript
|
# ? Jan 14, 2021 17:58 |
|
pokeyman posted:you misspelled javascript there op, you want to port to javascript Rewriting my ccs charger from Python to node.
|
# ? Jan 14, 2021 18:00 |
|
i just had an interview where they gave me a tricky algorithm question... then told me to take it home to work on it overnight, googling allowed and it turned out the algorithms topic was actually pertinent to the software they develop and this was the only coding question they gave me. the rest was just chatting about stuff. was this the legendary "reasonable interview"??
|
# ? Jan 15, 2021 04:53 |
|
If I'm ever tasked with interviewing my own replacement, I'm going to have to come up with the softest lob of a question, because basically anybody could do my job. Like, "Have you ever used a computer?" and then pass them regardless of the answer.
|
# ? Jan 15, 2021 06:40 |
|
Xarn posted:That's actually pretty close to my experience tho. Sooner or later you find out that the library doesn't cover your corner cases, and then one of two things happen I made my first open source contribution last week and it was possibility 3 but I think the maintainer is a Microsoft employee whose job duties includes maintaining the library so idk
|
# ? Jan 15, 2021 06:47 |
|
DoomTrainPhD posted:I love working for a small division in a large company. I get to play with fun things, make a cool product, and also take random afternoons off without anybody caring. I thought this was going to be dope but it ended up sucking big time. All the problems of a bigco with the constraints around people resourcing of a smallco. Id avoid working for bigcos for the rest of my career if comp at smaller places was within 85%. Alas, it tends not to be.
|
# ? Jan 15, 2021 07:52 |
|
animist posted:i just had an interview where they gave me a tricky algorithm question... then told me to take it home to work on it overnight, googling allowed i didnt do any coding when i interviewed for my current job. i guess they assumed i knew what i was talking about (tho maybe they checked my github idk)
|
# ? Jan 15, 2021 08:31 |
|
Bloody posted:I made my first open source contribution last week and it was possibility 3 but I think the maintainer is a Microsoft employee whose job duties includes maintaining the library so idk I like to think that my project is 3, but in reality I am burnt out on it and it has close to 10 years of legacy, so
|
# ? Jan 15, 2021 09:35 |
|
Xarn posted:I like to think that my project is 3, but in reality I am burnt out on it and it has close to 10 years of legacy, so same but 15 and the project is my freaking marriage
|
# ? Jan 15, 2021 12:09 |
|
what the hell suddenly pyodbc is giving me Rows that just say "Null" for some of the columns if i access them as properties (row.colname) even tho if i print the row i can tell theyre there, and i can get the values by index (row[0])
|
# ? Jan 15, 2021 13:27 |
|
arghhh and a tiny test script i wrote works fine with either method goddamn i hate debugging
|
# ? Jan 15, 2021 13:30 |
|
oh my god its because its a select w a left join with no matching rows in the right table, so it overwrites the columns from the left table with the empty ones from the right table jesus christ
|
# ? Jan 15, 2021 13:40 |
|
i need a drink
|
# ? Jan 15, 2021 13:45 |
|
nice I've had more runin with Vue testing and typescript. If you have a typed Map const in a getter in a component the testing apparatus will look at it and go "no can't have that, wrong lenght!", but if you take the same function and put it somewhere else and put a wrap and a bow on it, everything is fine! and by fine, I mean typescript and vue is crap
|
# ? Jan 15, 2021 13:56 |
|
solution for future reference:code:
|
# ? Jan 15, 2021 13:58 |
|
Funk In Shoe posted:same but 15 and the project is my freaking marriage open source marriage lol
|
# ? Jan 15, 2021 15:08 |
|
brb gonna fork your wife
|
# ? Jan 15, 2021 15:09 |
|
brb doing a push request
|
# ? Jan 15, 2021 15:33 |
|
Carthag Tuek posted:brb doing a push request These push requests keep getting smaller and smaller.
|
# ? Jan 15, 2021 17:04 |
|
jesus WEP posted:brb gonna fork your wife
|
# ? Jan 15, 2021 17:23 |
|
Captain Foo posted:open source marriage lol there is a 100% chance this is the title of a medium dot com post (probably sans the lol)
|
# ? Jan 15, 2021 18:00 |
|
pokeyman posted:there is a 100% chance this is the title of a medium dot com post submitted to hackernews; the thread has 5k+ comments; over the next few weeks, there are a dozen+ follow-up response blog posts discussing it a year later, a VICE article comes out following up, interviewing everyone who attempted it and detailing their divorce proceedings
|
# ? Jan 15, 2021 18:22 |
|
shoeberto posted:submitted to hackernews; the thread has 5k+ comments; over the next few weeks, there are a dozen+ follow-up response blog posts discussing it do it
|
# ? Jan 15, 2021 18:32 |
|
Carthag Tuek posted:arghhh and a tiny test script i wrote works fine with either method this is like my serilog test app that won't actually serialise a basic test class object for a hello world example ( a struct with one string, one int) using the exact syntax in their docs and the closest answer I can find is someone saying something like "there's a hidden version conflict between serilog and the actual log formatter, I updated nuget 3 times and now it works but I don't know why"
|
# ? Jan 15, 2021 20:01 |
|
Powerful Two-Hander posted:this is like my serilog test app that won't actually serialise a basic test class object for a hello world example ( a struct with one string, one int) using the exact syntax in their docs and the closest answer I can find is someone saying something like "there's a hidden version conflict between serilog and the actual log formatter, I updated nuget 3 times and now it works but I don't know why"
|
# ? Jan 15, 2021 21:01 |
|
hm i recently implemented serilog in a project and it was pretty painless but as I was doing so I noted the only useful thing it has is a standard configuration for enabling different log levels for differently named logs. (wow it can json serialize the arguments to my log function what a world lol) is it going to bite me later on?
|
# ? Jan 16, 2021 08:39 |
|
cool av posted:hm i recently implemented serilog in a project and it was pretty painless but as I was doing so I noted the only useful thing it has is a standard configuration for enabling different log levels for differently named logs. the enricher config is quite nice and it is possible to inject enrichers into your init so you can have different enrichers in different calling components if, like me, you're putting a wrapper around the basic config that will be reused across multiple applications and different app components (which use a common config library so the whole environment aware log setup can be done using app config) . So for example on the Web component I can add an enricher that will pull the current user id from the session which wouldn't apply to a service component, but the wrapped calls and setup are otherwise identical. for elastic as a log sink it abstracts away a load of janitoring index name patterns etc. away from you but otoh I have not yet used it in production to see how badly this will bite me. but yeah otherwise it's a bit like "don't format strings like that, format them like this".also the serialisation seems broken for me for some reason (probably the nuget version thing I haven't tried fixing yet) which is kind of a flaw.
|
# ? Jan 16, 2021 12:52 |
|
Another reason to at webdev. This case I logged appears to make me the first person to notice web animation is 💩. https://github.com/mrdoob/three.js/issues/21088 tldr; on anything but a $1,200+ GPU any animation in almost any browser will see jank every 10-20s.
|
# ? Jan 16, 2021 18:37 |
|
web pages shouldnt have animation
|
# ? Jan 16, 2021 18:43 |
|
They should only have animated gifs and marquee tags. I'm serious.
|
# ? Jan 16, 2021 18:47 |
|
The internet was a mistake.
|
# ? Jan 16, 2021 18:48 |
|
CRIP EATIN BREAD posted:web pages shouldnt have animation On conventional pages I agree, but as the web is frequently the display language for signage and IoT appliances it makes sense there. had enough problems with animated GIFs, so I guess it should be of no surprise to anyone.
|
# ? Jan 16, 2021 19:04 |
|
running a web browser on signage and IoT is a huge waste of resources and should be illegal imho
|
# ? Jan 16, 2021 19:47 |
|
|
# ? Oct 11, 2024 06:39 |
|
agreed. buddy worked as lead tech at a signage company like 15 years ago, and drove the decision that the only thing the actual signs were to do was play h264 files in the order presented (by a small script), and despite it seeming a waste to render stuff like a static weather webpage into a h264 clip the simplicity at the client has made them (and profits) incredibly reliable
|
# ? Jan 16, 2021 19:56 |