Better HN
topnewbestaskshowjobs
Log inSign up

LambdaComplex

1,861 karma · joined Mar 30, 2017 (9y ago) · 461 submissions

Submissions

comment 5y ago · link · parent

What was their justification for being like that?

Sometimes I read these things and end up saying to myself "Wow, that company just literally hates being productive"

comment 5y ago · link · parent

https://www.youtube.com/watch?v=FTxw5nQX7SA

comment 5y ago · link · parent

To be clear, "empty interface" is the official term: ctrl+f "empty interface" on https://golang.org/ref/spec

comment 5y ago · link · parent

Eh, I think it is--the creator knew enough about programming to consider (and then actually implement!) storing the functions in a hash table, but I'd say that anyone who knows enough to do that would/should know perfectly well that strlen is a terrible choice for the actual hashing function.

comment 5y ago · link · parent

I suppose the downvotes may be justified due to your comment being pretty out-of-place, but, just to add some perspective: I'd like to remind everyone that PHP originally used strlen() as a hashing function: https://news-web.php.net/php.internals/70691

It is (or at least originally was) certainly not the pinnacle of good design.

comment 5y ago · link · parent

And if they didn't write that paragraph? It's Facebook, so you'd be suspicious anyways (and rightfully so).

comment 5y ago · link · parent

Metrics/KPIs. They're probably judged on how many people they manage to get on the phone.

comment 5y ago · link · parent

Personally, I value human life much more than I value corporate profit.

comment 5y ago · link · parent

Whenever I go to Lowes, I always like to go by the lumber section (even when I'm not there for lumber) just to see how warped the dimensional lumber is. It's always a depressing experience.

comment 5y ago · link · parent

I'm pretty sure it's common knowledge that the lumber from the big (blue and orange) box stores is incredibly lacking in quality.

comment 5y ago · link · parent

> If they thought they were being taken advantage of or manipulated then poor people wouldn't buy anything from dollar stores

I've seen people (whether they be college students or just people living paycheck to paycheck) talking about how they only have e.g. $5 USD to spend on groceries for the next two weeks (because that's how much they have in their bank account, and that's when payday is).

If your choices are "something you can pay for at the dollar store at a less-than-optimal unit price" or "something you literally cannot buy because its purchase price exceeds the number in your bank account" then you really don't have a choice.

Poor people don't want dollar stores; they just want to survive.

comment 5y ago · link · parent

> The kids are too dumb to be corrupted by this book!

Or Joyce is just that impenetrable. Have you seen Finnegans Wake?

comment 5y ago · link · parent

"The average URL" and "what is allowed by the URL specifications" are two very different things. (And the same could be said about your command line example)

comment 5y ago · link · parent

Very NSFW. Very hilarious.

comment 5y ago · link · parent

And burritos are just tacoids in the category of enchiladafunctors.

https://twitter.com/rickasaurus/status/705134684427128833

comment 5y ago · link · parent

My understanding is that hardware RAID is mainly a thing in the Windows world, because apparently its software RAID implementation is garbage

comment 5y ago · link · parent

I don't think I agree with you. I can definitely see a parent filing a lawsuit for "You suspended my kid because someone punched him in the face"

(No idea if it would go anywhere in court, but when has that ever stopped someone?)

comment 5y ago · link · parent

And don't forget:

> For example, he told-LTM 18 employees that he wanted to hire a female candidate simply because he wanted to have sex with 19 her. Similarly, Lee expressed his desire to set up a "modeling agency" in the Hollywood Hills that 20 would actually be a front for illegal prostitution (i.e., the "models" would be paid escorts). To that 21 end, Lee circulated a memo to male LTM executives advising them to make sure and wear 22 condoms when having sex with the "models." Lee went so far as to state that he planned to move 23 LTM's offices to the Hollywood Hills mansion once the "modeling agency" was set up.

comment 5y ago · link · parent

The wording "a configuration change triggered a bug" in this context sounds (to me) like it was a configuration change made by Fastly to something on their backend.

The wording which was actually used makes it clear that that was not the case.

comment 5y ago · link · parent

And, even if they do show you "the source code," how can you be sure it's the code that's actually running on the device?

comment 5y ago · link · parent

I feel like you're projecting. Or, at the very least, operating under the assumption that your exact experiences reflect everyone's.

I live by myself. There is nothing in my home that can/will distract me, aside from the internet--which I can just as easily use as a distraction from an office.

When I was at the office, it was not uncommon for someone to walk up and strike up a conversation that lasted 20 or 30 minutes and was completely unrelated to work.

And, on top of that, there's currently one single person I can think of of who a) I interact with regularly at work and b) works from the same office as me (if I were to go back to my employer's local office).

(Also, now that I think about it, I'm pretty sure that your entire "argument" is an Appeal To Tradition logical fallacy anyways)

comment 5y ago · link · parent

Maybe they'll switch to Let's Encrypt now.

comment 5y ago · link · parent

The cynical part of me wants to sarcastically respond "Yeah, let's make sure everyone can contribute 120 years to making corporations richer instead of just 60 years!"

With that said, I do think you have a point--spending ~90 years in a nursing home because you're unable to take care of yourself sounds like a miserable existence straight out of a dystopian novel.

comment 5y ago · link · parent

> e.g. don't EOL something just because it's 5 years old, etc

How about "Don't say at release time that you'll support something for 10 years, and then change your mind a year later and say that you'll be dropping support in a year?"

(Yeah, I'm still not over that)

comment 5y ago · link · parent

If we get to the point where the government is actually trying to solve homelessness by giving people homes, then I'd be kinda optimistic about mental health getting taken seriously too. (More optimistic than I am now, at least)

comment 5y ago · link · parent

Sounds like this is less "explicit casts are bad" and more "explicit casts are bad in C" then. Rust indeed errors out at compile time for the reason I stated: https://play.rust-lang.org/?version=stable&mode=debug&editio...

comment 5y ago · link · parent

Wouldn't the compiler stop your second example? You're trying to assign an int16 value to b, which is now an int32.

268.

Freenode ops take control of 700 channels(mastodon.sdf.org ↗)

604 points · by LambdaComplex · 5y ago · 944 comments

comment 5y ago · link · parent

Well now I'm worried that I'm brushing my teeth wrong. What were you doing wrong?

comment 5y ago · link · parent

What if the answer they gave was "This is a very hard problem that honestly isn't worth solving, just check against a .@. regex and call it a day?"
1
8910
16