Better HN
topnewbestaskshowjobs
Log inSign up

inanutshellus

2,960 karma · joined Apr 1, 2014 (12y ago) · 995 submissions

Submissions

comment 5y ago · link · parent

For sure HN did; it was struggling to stay up from the load. Several threads were suggesting logging out -- which would let HN load static content -- to help it load, for example.

comment 5y ago · link · parent

Yessir, understood. There's just no positive outcome from agreeing with one's adversary that "resistance is futile".

Just say the same thing, without the whinging at the beginning and then we can have a discussion, futile or not.

comment 5y ago · link · parent

Notably -- and in alignment with winternett's post -- there were an unheard-of 16 nominees that year. Further, they stayed in the race, ensuring the rational voter's influence was split as many times as possible.

comment 5y ago · link · parent

The fatalist comment from GP distracted entirely from the value-add content and I added to that distraction. Blurg. :-\

comment 5y ago · link · parent

> I think you’re getting downvotes by saying “it’ll never happen” which I find unfortunate

Fatalism is how Bad Things survive in a committee-government such as ours. :-\

comment 5y ago · link · parent

I would've worded it as "petulantly delaying sleep".

One is being immature and frustrated at the lack of planning and control in one's life, so one retaliatorally "plays" when one actually has the power to decide.

There was an article not too long ago about overly-controlled/time-regimented children doing this same thing. When they have no power over how to spend their day, they decide to control their night, to their own detriment, health-wise.

comment 5y ago · link · parent

I'm reminded of Goodhart's Law... So long as your project remains secret it'll be valuable. Once someone sees money being made from it, it'll kick off ingenuine recommendations... anyway... high quality problem to have I guess!

comment 5y ago · link · parent

I'm aware of zero human-behavior-truisms that are "entirely true".

comment 5y ago · link · parent

How is any of this conjecture valuable? Since when is life-advice of any kind "for everyone"?

comment 5y ago · link · parent

I see your point, but argue you've misidentified the two audiences.

One audience matches your description and is the invested reader. They want that blogger's story telling. they might make the recipe, but they're a dedicated reader.

The other audience is not the recipe-searcher, but instead Google. Food bloggers know that recipe-searchers are there to drop in, get an ingredient list, and move on. They won't even remember the blog's name. So the site isn't optimized for them. It's optimized for Google.

"Slow the parasitic recipe-searcher down. They're leeches, here for a freebie. Well they'll pay me in Google Rank time blocks."

comment 5y ago · link · parent

Choosing a "good enough for the medium term with minimal effort now" is a winner in my book, even if it's likely to be rewritten in the long term.

comment 5y ago · link · parent

Don't be a jerk.

OP clearly stated he didn't understand it:

> When it's just "if" it goes after the "for", when it's "if/else" it goes, all of it, before. I still don't understand why it's this way

and discussing it here on HN shouldn't be punished.

...

Back to the topic at hand ...

List comprehensions save you enough syntax to be worth it, IMHO:

   mylist=[]
   for i in container:
      if i > 10:
          mylist.append(i*2)
vs

   mylist = [x*2 for x in container if x > 10]

... That's a very terse, clean request for work and arguably it's easier to read than "for(int i=0; i<10; i++)", which we've all acclimated to by the end of CS101. I think they're quite worth the trade-off.

comment 5y ago · link · parent

The "before" is what value is returned, the "after" is whether it should be returned.

In your case you were conditionally choosing a manipulated return value for x and didn't care at all about filtering the list. Here's one with both:

  [x if x > y else x*2 for x in a if x % 2 == 0]
   ^^^^^^^^^^^^^^^^^^^            ^^^^^^^^^^^^^
   return x as...                 filter down to only...
   x or x*2                       even 'x's
There's not really a semantically logical place for an "else" in the latter half because it's only looking for a true statement so it can return x (or not).

For example this makes sense:

  ... if x % 2 == 0 or x == 3
(filter the list to even values of x or the value 3)

but this does not:

  ... if x % 2 == 0 else x == 3
(filter the list to even values, otherwise wait, otherwise?)

comment 5y ago · link · parent

Hopefully for companies following suit they'll make it "anyone can work from home; unvaccinated must work from home".

If only unvaccinated can work from home, yeah, bass-ackwards incentivization.

comment 5y ago · link · parent

holy moly, that's rad. definitely adding this to my toolbox, thanks!

comment 5y ago · link · parent

TIL!

comment 5y ago · link · parent

> known as weeblaarkanniedood in Afrikaans

Gonna have to remember that for the next time I stub a toe or step on a Lego...

comment 5y ago · link · parent

it was on CNN's homepage yesterday...

https://www.cnn.com/2021/08/17/tech/apple-child-safety-tools...

comment 5y ago · link · parent

Kitten videos.

That's about it.

comment 5y ago · link · parent

This is an unhelpful argument. It effectively says "meaning doesn't exist". I could also version my software "chicken.banana.guacamole" and be pissed that nobody understood that meant it was enterprise-and-production-ready. Point is, there's a convention and this satire website is pointing out obviously-wrong cases of mis-versioning.

comment 5y ago · link · parent

Page was made April 1st, 2018, so that's probably just bitrot.

That said, I like to think they did 1.x releases specifically because they were hoping to get off this Wall of Shame.

comment 5y ago · link · parent

...and so it's explicit... the homepage's table of projects is a Wall of Shame.

comment 5y ago · link · parent

Fatalism is how bad things survive. Don't accept bad behavior, and sure as hell don't criticize those that are standing up to it.

comment 5y ago · link · parent

"You[r feature] Either Die[s] A Hero, Or [it] Live[s] Long Enough To See [it]self Become The Villain" ~Harvey Dent [Sorta]

comment 5y ago · link · parent

If one is desperate for a "fails/mistakes" kind of verb then "BREAKS" (as in "includes breaking changes") might actually hold sway, but then you'd leave out the "major functionality added" scenario for, well, MAJOR.

In short, I think OP's observation is that of a pessimist's.

If not "MAJOR.MINOR.BUG" (which needs no improvement IMO) I'd go with...

TECTONIC.FEATURE.FIX.

comment 5y ago · link · parent

I'm with you bud. Fatalism is how bad things survive.

"Oh, nothing will happen to this [corrupt politician|naughty rich guy|corporation doing a thing I don't like], because they're all [bad thing]. It's all over already." :facepalm:

(Also, I couldn't read the original article because my work thinks it's spreading malware or something so I'm really only referring to the fatalism thing here, not Apple.)

comment 5y ago · link · parent

One of the other commenters said:

    [snip]The English used to feel pretty uncomfortable about yanks grinning away at everything[/snip]
That surprised me, since our cultural norms largely stemmed from there.

So what would account for the difference? It must've come about after we split as a country.

I wonder if it's our Declaration of Independence including "the pursuit of Happiness". See:

    We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.
Nowhere else in the world (up until then, anyway) gave as its founding commandment that being happy was an indicator of a life well-lived.

Thus, perhaps, while other places reserve the effort of smiling for the emotion of irrepressible joy, Americans -- to prove they're living a good life -- present a smile.

comment 5y ago · link · parent

Wait, is this a Wired link? The URL seems to go to drive.google.com and... that weirded me out so I didn't click on it but figured I'd check out the comments to see what folk had learnt.
1
202122
34