Better HN
topnewbestaskshowjobs
Log inSign up

code_runner

1,048 karma · joined Feb 10, 2022 (4y ago) · 391 submissions

Submissions

comment 4y ago · link · parent

These principles are too vague and there are far too many interpretations.

They’re so vague that we find some people trying to decipher what someone living in in the 1700s would think about society today instead of updating our laws and principles to suit modern times.

Convoluted example: “Well smartphones didn’t exist in 1776, so you don’t have a right to pursue happiness on that medium”.

It’s so frustrating to see such partisan gridlock where the voice of the actual citizens are not heard and translated into laws and regulations.

I don’t know what my point really is, but I guess I’m saying it’s not so simple. We can’t boil it all down to a sentence or two.

comment 4y ago · link · parent

Have you given a notched device a fair shake? Not suggesting you haven’t, but I never notice the notch on my iPhone<some number here>

I figured it would drive me nuts

comment 4y ago · link · parent

If people overuse try/catch, the code is close to impossible to read… but try/catch isn’t meant to be applied liberally throughout the code. Don’t let someone’s misunderstandings and bad code ruin it for you.

Typically you just care to have one or two primary places where you actually care if something has gone wrong.

comment 4y ago · link · parent

Things can still panic in go.

Error handling for an API etc usually make the most sense in a central location (some middleware etc) so why would I check that each and every function call was successful.

I do like go, but the error handling is hardly the best thing about it. It’s just different. Neither is wrong.

comment 4y ago · link · parent

That is such a great book. Read it a while back… I imagine the modern version is every bit as good. I don’t remember it ever getting boring, but if it does, push through! It’s worth it.

Jon Skeet also has a (now old) blog series called edu-linq that basically implements linq just using generator blocks and it really makes you think about stuff like validation of arguments vs actually doing the operation. It’s very interesting. A couple of caveats in there.

comment 4y ago · link · parent

I was able to piece together the word, though I was surprised when I was right. Without spoiling the answer, I did sort of walk down the path to the answer in an almost logical way

comment 4y ago · link · parent

I really thought there was no hope for me but I started getting closer and got it in 11. Really enjoyed that game!

comment 4y ago · link · parent

Are there any good resources online you can share? Sounds interesting.

comment 4y ago · link · parent

When learning next recently I was immediately wondering how to do accomplish certain routing patterns that I had used in a previous project… routing to a specific tab of a modal that pops over a particular page…

Luckily that level of deep linking hasn’t been asked for, but this sounds really promising for adding some flexibility

comment 4y ago · link · parent

this is what makes all of my side projects so much fun and so educational.

I get caught up in the most ridiculous yak shaving and never make any real progress.... but always have a blast.

comment 4y ago · link · parent

very unlikely to be ethical no matter what un-enforceable limits you put on the testers. their concern is legal liability and nothing more.

comment 4y ago · link · parent

I imagine this is actually a pretty tough problem to solve.... road marking change dramatically within a few feet sometimes.... most of the residential streets in the historic area I live in have no markings at all but its also an area where markings, composition of road materials etc are subject to change QUICKLY from street to street.

comment 4y ago · link · parent

you shouldn't be allowed to operate a vehicle while intoxicated regardless of the technology involved.

comment 4y ago · link · parent

Used bind a whole bunch in the knockout days and you will still find bind in a lot of todays react docs if I’m not mistaken.

comment 4y ago · link · parent

Readability and pragmatism always win.

comment 4y ago · link · parent

This used to be much more common in es5. It’s good to know how they work etc and why they were a necessary evil way back when.

comment 4y ago · link · parent

The matches my experience. They can manage whatever web of crazy they want in Wordpress… if they need something from the dev side we can play with some plugins until it works.

Sometimes the answer is “oh god we can’t do that”… and that seemed to be ok if we had some alternatives

comment 4y ago · link · parent

When I found out the landing page at a previous job was Wordpress based I was a little miffed, but in practice it wasn’t that bad to work with for what I needed.

I wasn’t doing the design work etc… but setting up some forwards and other in the weeds things wasn’t really bad at all.

I wouldn’t want to be the sole maintainer, but it’s really not the worst thing I’ve had to work with.

comment 4y ago · link · parent

Screen cheating was allowed in my friend group but we might call someone out… no big deal. When LAN parties became a thing it was really the first time I had played a game and not even had the option. Both are fun.

comment 4y ago · link · parent

Yeah, in that case solely remote works best for sure. Maybe you fly to the office (if there is one) a couple times a year… though still nice for that to be optional

comment 4y ago · link · parent

Imo your flippant answer is bang on

comment 4y ago · link · parent

Sounds like a lot of cultural issues. My pre-covid job was a very small company but similar stuff.

We hired an in-town workforce and cut the old guard out completely. Worked in person everyday until lockdown but had flexibility as well.

We were all pretty close (10ish people including execs) so remote work was fine and we shut down the office… I’m a much bigger remote work fan now because of how well it went.

The people on the same page will be on the same page whether they’re waking through the park or not. It may be time for the others to move along.

comment 4y ago · link · parent

I do think this mirrors my office’s original logic for returning but they almost immediately became more flexible.

At one point, returning to the office wasn’t mandatory but “good for our promotions etc”.

When I’m in office few if any people actually give me marching orders… and when they do, I push back, correct them, and continue what I was doing. (We aren’t great at project management and my position luckily allows for this)

comment 4y ago · link · parent

I agree with both of these hot takes…

I love a hybrid approach because I really enjoy the random conversations that crop up in the office… but my social life is so much improved outside of work in the last year or so that everything about physically being present feels tedious.

I have a coworker I call to talk shop for a few minutes and then bullshit for another 15-20 minutes almost daily when I’m wfh.

I’m very strongly considering asking my boss if my in-office/wfh ratio can switch from 3/2 to “whatever I want”

Better social life makes work feel like work. My drive to get stuff done has gone up, because I’ve gotta get out at a good time.

comment 4y ago · link · parent

I think goofing around the discovering stuff adds to the fun!

comment 4y ago · link · parent

tabulature is really just used for starting out on guitar in my experience and it works because the alternative is SO approachable and SO instrument specific.

lead sheets are solving a whole different problem and almost ALWAYS have the melody in traditional notation in addition to the chords. some lead sheets assume you already know the melody and can transpose to whatever key is relevant.... but still a lead sheet is there to give you hooks in order to aide improvisation.

jazz musicians have not "split off", they have added some chord notation above the traditional stuff.

comment 4y ago · link · parent

I get the same feelings whenever somebody comes up with a "better" flavor of SQL that is "more logical" or "more expressive".... I know SQL well, it does what I want, and I think its great. When people "solve problems" with it, they're complaining about things they never tried to understand.

This is a lot like that. I wish I was better at music.... I wish I had more skill etc... but the barrier is not my ability to read music....

a multi-note instrument like guitar/piano is much harder (in my personal experience) than a single note like trumpet/saxophone... and guitar tabulature exists for that reason... but its guitar specific and is probably a bridge for most in the beginning of their learning (not unlike a saxophone fingering chart).... but I don't see general use music notation being revolutionized anytime soon.... mostly because it does not need to be.

comment 4y ago · link · parent

My biggest takeaway from this article: this is why I deleted all of those projects from github never to be seen again (prior to private repositories).... the projects where I was just having fun for once and learning instead of being stuck in analysis paralysis and trying to think about 85 different OWASP recommendations at once.

My biggest takeaway from the comment section: thank god that there are more reasonable people than I first assumed.

I have an idea for a hobby/fun webapp I could build that maybe one or two people I know might get use from.... and I'm excited just thinking about it because its going to be low stress and a fun learning experience. Thats what my personal github is. I don't put the link on my resume and I don't really have a desire to either.

comment 4y ago · link · parent

a lot of this depends on the definition that we have of "follower" and "cool" but I don't disagree.
1
1011121314