skysight-inc/HackerNews huggingface dataset:
As others have said here, if you want to do it nicely and avoid break / continue, then do it in a proper FP way with chained limit / filter calls, rather than doing it per my example.

I accept your criticism, that my example is much harder to understand, and I admit that it's probably not the way to go in terms of maintainability. However, I'd still argue that my example is closer to an FP approach (even though it still uses a procedural loop), and that it communicates the logic in the same way that an FP approach does. In my example, it's clear that we're filtering out yellow (whereas with "continue", the logic is written in an inverted way); and it's clear just from reading the loop's header that we stop looping when rainbow is found (whereas with "break", logic to stop looping is being added at any arbitrary spot inside the loop's body).

Re: exceptions. I know that many more people object to them, than to break / continue (and whole languages make a point of not using them, most notably Golang). The pros and cons of exceptions is a whole topic in itself that I'd rather not digress into right here. Anyway, personally I'm ok with them. Firstly, they're for errors, and I feel that having weird control flow is sort-of justified for errors, whereas it's not justified for expected behaviour. And secondly, they're at least consistent in that they can occur anywhere, whereas break / continue can only occur inside loops (in Python, at least - in other C-family languages, "break" has different behaviour in different contexts, which is IMHO even worse).
Compressed pages are not unique to Apple and are used by Windows and Linux, too.
No, it would be enough if factories, cars, heating, public infrastructure, etc, was too.

And, and it's a big "and", if those renewables themselves weren't just feasible because of subsidies (like how, in non-renewables, nuclear is also uncompetitive when considering the whole course of life of a factory and not just the bare production) or built/maintained/etc through ample use of fossil fuels.
I assume the comment meant cars.
Why do you believe a 200kWh battery to be impossible?
ICloud for me
That's great! Some small things about your website:

- "Contact" page says "Kontact" in en-GB locale

- Do you need a shopping cart for one product? Just have the "buy it now" and leave the cart out?

- Do you need a search? There are only a couple of pages.

- The Contact page might want to highlight to the user that there is a chat feature in the bottom right, if they prefer that to email.

Other than those little bits, the site looks pretty good to me! Payments seem slick. Have you done things like ProductHunt?
Competitive is just fine and even expected, but competitive vs FAANG? Seriously?
I was very skeptic before I tried it, I had the same concerns as you. And before I realized, I had dumped 100+ hours into it.
I’m currently traveling internationally with an iPhone 12 and I can confirm the single eSIM + single physical SIM limitation. Although, in my case, I'm using a physical international SIM and a US eSIM.

I would love to turn off my US eSIM when not in use (I think it uses more power connected to two cellular networks) but that would require unenrolling my US iMessage number and I can’t do that. Definitely the most annoying part of the whole thing.

I considered using a spare iPhone to host a physical SIM with my US number because that would allow the number to stay bonded with my Apple ID and potentially forward SMS over iCloud, but I decided not to because in my experience the SMS part is too flaky to be relied on.
The problem is that you ask for money on OSS. Companies use OSS because it is free. If you try to force them to contribute or pay money, there will always be someone who has more passion than you to do it for free. At this point, just pass on your OSS project that is highly demanded but you have no passion for.
I'm a user of neither neovim not vscode so wouldn't presume to advise; I'd just like to make an observation on "sometimes I watch long-term vim users writing code and I'm amazed at their efficiency".

Nowadays I use kakoune and often get similar comments from friends watching me drive it, but I'm not convinced what they're seeing is really speed/efficiency - or if efficiency even matters much. The basic idioms and manoeuvres are just different so routine steps in editing look unfamiliar, a bit exotic and magical, just as nvi/vim does to anyone who haven't seen modal editing before.

Having heavily used both emacs and vi previously, I don't think I'd be appreciably faster or slower with either of them, but I'd use each quite differently and play to their strengths in the way they naturally lead you towards. For me, the big question is whether an editor feels nice, makes me happy and suits my style, rather than whether it is optimal in some way.
Avoid things grown from synthetic fertilizer though.
Oh, wow, thanks for the feedback!

No I haven't done ProductHunt.

I am not sure if I can disable the cart on shopify?

I think I need better pictures, and I need a better shopify theme.
Toyota's IMV 0 Starts at $10k, and We Can't Have It
Backticks are used for certain letters in several European languages. à, ì, ù, ò. Depending on the editor, it's kinda annoying. Normal quotes or double quotes usually don't do that. Also, the key is right beside the backspace key, which feels kinda far away for my hands (which of course also depends on the keyboard).
Knocking on someone’s front door and noticing it’s unlocked is perfectly legal. It’s actually walking in that’s illegal.
At this point, is there still any good reasons to use Chrome?

A few years ago some new web apps only supported Chrome, like they only supported IE a few years before, but today I haven't had to use Chrome for months.

I might just have been lucky but I don't know. Does anyone else?
What I find strange is that there is always someone who is arguing for nuclear and against renewable. Or other way around. That is something what fossil-fuel industry likes.
The entire US of A is free R&D for Chinese manufacturers.

And in return the entire US of A gets to buy these of $2 instead of $20.
I've been getting back to that too, along with deep selectable theming and skinning based on more organic textures like old parchment.

One thing I noticed when building my new CSS framework is that skeuomorphic design is less forgiving of deeper UI issues. You can just skim over badly organized form controls when everything looks like just a run of text with big spaces and the same 2 colors.

When you do skeuomorphic design, that button nobody uses that really belongs in a separate tab really stands out.

And if it's cluttered with 20 inputs and they're all equally important, it makes the need for deeper UI changes to the whole workflow really obvious. Some stuff can be automatic, some stuff can be done with more advanced controls, maybe some stuff should be a guided dialog rather than 10 scattered inputs you have to hunt for and know which ones to use in which cases...

Modern UI practices in a lot of apps are really good. They're instantly usable, with most things automated and uncommon stuff in hamburger menus. We also have high res displays. It's easier than ever to do skeuomorphic stuff!
"The IMV 0 is not slated for release in the United States, primarily due to slim profit margins on the base model, import tariffs, and the need for legally required safety features"
I don't have antagonism towards it - just tentative caution. I'd advise the same to any DYOR-er.

Personal experience plays some part: I've been a regular user since 2016. Initially weekly, for a while daily, then back to weekly.

It hit me that what was initially a minor perceived upgrade to my chaotic workflow had become an almost regular part of my life. I'm still not entirely sure if I would call myself addicted - I seem to be able to walk away from it but among ADHD crutches it is the most desirable at present. That said, I've been careful to never exceed 200mg a day and to take breaks from it if I've taken it for more than 3-4 days at a time.

In terms of its actual benefit, it seems to be quite hit and miss. I find it just puts me in a more conducive state for focus, but only 3/10 times.

I don't think medical or media coverage has quite documented how much modafinil is used these days by working professionals and people without narcolepsy - situations where modafinil can be used in endless combination of 'other things that we don't yet understand an interaction with'.

What is the effect of 3 days disturbed sleep with 200mg modafinil daily? What effect on people with other mental health comorbidities? What is the effect on the liver and kidney for frequent use (the foul-smelling urine it results in is honestly anxiety-inducing).

What worries me is that since 2016, there appears to be a scarcity of research on modafinil, even though anecdotally its use has exploded.

It feels safe in much the same way I imagine aspartame may have seemed safe when first synthesised. It may be a 'safer' smart drug than alternative medications, much like how aspartame is probably still 'safer' than abusing sugar. But the truth is that perhaps we still do not know.
You could do processor offloading to the entirely separate 6502 in the CBM 1541 disk drive, like this fractal generator.

https://www.c64-wiki.de/wiki/Mandelbrot-Construction-Set
I took it to assume electricity based on the "renewable" part of the title.

That said, the "Energy independent Uruguay" oversells it, because if one doesn't understand that renewables can't obviously power non-electric cars and other non-compatible infrastructure, they might think it means Uruguay is totally energy independent and powered on renewables alone.
It also depends on what you are doing. If they are single-use, they can be made food-safe pretty easily, even with the nooks and crannies. With 3d printing, it can be pretty cheap to do single-use stuff. You can also electro-plate them with silver and have a pretty sanitary part.
Why do I need a new car if mine is working just fine?

I don't get it how common sense went so much out of the window when discussing these issues, that people are now effectively arguing that's more environmentally sound, to build an whole new car, then to use an older one.

It's just blatant propaganda.
As an EC alum I can tell you that in the late 90s there was a lot of work on E to get both transparent remote objects and distributed garbage collection working. In fact, one of the first patents I remember us having approved was Arturo's garbage collector (https://patents.google.com/patent/US5991779A/en, yes same guy as the Meta whistleblower from a week or so ago) but it was still a bit wonky in practice from what I remember.
I'm not sure why people always attribute this observation to Thiel, as if it was something fringe, given how obvious and apparent it is.

The goal of a profit-seeking entity is to maximize profit. That is achieved by becoming a monopoly. Competition is just the consequence of multiple entities trying to become a monopoly - there can be only one. This is the motive part of market economy. The energy source.

Now, monopolies are obviously bad for society. Therefore, markets are regulated to prevent monopolies. This turns the market into an engine. You have constant inflow of upstarts dreaming of riches, fighting each other out to reach the throne of a monopolist, only to be denied it by regulation, and eventually become broken and/or pushed out by the younger followers.

Or, via another analogy: the market economy is designed like a donkey chasing a carrot on a stick attached to the animal, while standing on a treadmill. Being surprised that monopoly is the goal of companies is like being surprised the donkey would chase the carrot.
It's not just open source, it's open everything. You either work for bigTech or you work for free. Entire generations of people have been conditioned to create content for free and behemoths monetize it. It feels like a 21st century Marx hasn't been born yet
This is cringe, also Apple already suspended their advertising then decided they actually didn't care and started advertising again right?

> disturbed at first by the way he treated his employees

Sorry, but he fired a huge percentage of the engineering team, the site didn't fall over even many months later, it loads faster, shipped more features and engagement is up.

At some point we have to just face facts that the people who were fired had many years to deliver and the product was basically stationary and even completely fumbled opportunities like Vine that eventually became much bigger than Twitter when implemented by a competent team.

This idea that people are owed a job regardless of output is absurd.
I voted it down because numbers don't really mean anything. Top-level comments that directly disagree with the article always do good if they don't get drowned out by another comment doing the same, especially when it's a controversial topic or a comment that directly reinforces people's preconceptions on a topic (and the article is about dispelling the preconception). You pointing it out doesn't add anything to the discussion.

My best comment by far is one on an article about linux support for laptops being great, talking about all the problems I've experienced in recent years, even though I do agree with the article's core statement.
Sure people need to babysit AWS resources, but those resources still exist and need babysitting. The bare metal approach is purely additive. E.g. if you need someone to babysit EKS, then you also need someone to babysit your bare metal k8s setup, but likely the bare metal k8s setup is even more work.
In the early 90s in NL, Aldi was kind of like this : very basic store, concrete as a floor and some products like milk & chips were rolled in still on their pallets.

You can still see remnants of this in contemporary Lidl/Aldi : milk etc is in their boxes in the refrigerator.
> If neural networks lead to the discovery of new examples of human cognitive or perceptual errors or illusions,

How would they, except as tools for analyzing research rather than research models? They don't work like human brains, so while they might sometimes exhibit something that looks like similar behavior when viewed a certain way, other than already having observed the behavior in human beings, there’s no reason to expect something they do to reflect what human brains, and moreover there’s no reason to expect useful insights from the corresponding behavior, since there is no reason to expect that the behavior responds similarly outside of the conditions where it is observed in both systems, leaving all the insight on the brain to cone from the brain (or models that, unlike artificial neural nets, we know have structural and behavioral similarities with (some parts of) human brains that are useful.)
Why don't you pass over the maintainer role to some of the users of the project?

Or share the maintainer role with some other users. Just select one, two, or three people who seem to be responsible and give them all the necessary write access.

Or maybe configure the repo in a way that all PRs need at least two (or so) reviewers from a selected group of reviewers.

Then this would greatly reduce the effort on your side, and development should continue on its own.
Which makes the title "Energy independent" and "100% renewables" all the more infuriating. (To the point where i'm wondering if it's not bait for people who have a clue about the topic.)

If you have lots of mountains and lots of space to put solar panels / windmills, you can get a lot of your electricity from renewables sources, which is great for a lot of applications.
(If you can have nuclear power, it's not "renewable" per se, but it's very low on carbon, which is useful in itself, whith the usual caveats.)

But the "small" issue is that tractors in the fields and trucks moving fertilizers and chemicals and produces around are, at the moment, mostly relying on oil.

So, at the moment, being "100% energy independent with renewables" means you have to make the small compromise of "not eat food."

Where is the "Tesla of tractors" ? Which EV company is seriously addressing "freight" ?
This is essentially what was called ~20 years ago "Progressive enhancement", and was lost togheter with "Graceful Degradation" when a new generation of "Front-End Engineers" started over-engineering the www around the 2010s.

My impression is that some common sense was lost too along the way. Remember the Rule of the Least Power, anyone?

Good Practice: Use the least powerful language suitable for expressing information, constraints or programs on the World Wide Web.[0]

[0]: https://www.w3.org/2001/tag/doc/leastPower.html
What do you recommend?

For example, I run a software co-op and I'd like to get some new gigs for me and my engineers. I already have contacted my entire warm network (coworkers, former bosses, people I met at hackathons and meetups), and that did turn up a couple gigs that we've now finished (and followup work is many months out), so at this point we're considering cold emailing. Sounds like that's not the move by your book, so what would you do in my shoes?
I am SCREAMING at the article since so Aqua was such a shift in UI! The lockable buttons, the quicksilver-like scroll bars. All these things came before Aero, and Vista was just Microsoft playing catch up.
If you sell your time for a living, then time (during certain parts of the day), does have a value. If you aren't selling your time and are doing something else, you are losing money.
> if those renewables themselves weren't just feasible because of subsidies

They would also be feasible if fossil fuels were paying for their environmental costs.
It's "interesting". https://news.ycombinator.com/item?id=34772367
I think for some, it can definitely be called a high. For a person with ADHD, modafinil-induced hyperfocus can feel like an absolute trip. For a boring weekend with no energy to do anything, modafinil can mean the difference between doing something for hours and just browsing Instagram till you feel sick.

If the above examples sound beneficial, they may be - in part. But I'm sure clinicians and mental health practitioners can see how such a substance embedding itself in your life can yield undesirable outcomes, perhaps mirroring addiction.
Atomicity means something either happens entirely or it doesn't happen at all.

> I'm talking about OS level atomicity, as in "I want a write() (or fsync) to block until it is flushed to disk".

Thats not atomicity. Thats a blocking API. And we already have an fsync that does that.

Blocking and atomicity are unrelated properties. You could have a blocking write thats not atomic (so if your computer turns off halfway through the write, it might have only half completed). And you can have an atomic write thats non-blocking (async). Or both or neither.
Normally all thermoacoustic Stirling engines do not need lubrication, which is one of their main advantages, because they do not have a piston of traditional form, but they have something similar to the membrane of a loudspeaker or, better said, like the membrane of an electrodynamic microphone, which oscillates back and forth, moved by the gas, and the movement induces electric currents in a coil, either a stationary coil or a moving coil attached to the oscillating membrane.

The traditional Stirling engines have pistons that move in cylinders, so they need seals and lubrication (though there are designs with dry gas seals, which do not have lubrication with oil).
This might be the final straw that motivates me to start deGoogling my online activities.
> Why would I be soliciting donations for something I don't favor?

Because you are (consciously or not) creating a self-fulfilling prophecy for one champion over the others. Worse still, you are asking everyone else to devote resources to your preferred champion when we have no reason to believe that this is long-term sustainable.

> The Matrix protocol is also inferior to Signal in that all metadata is stored in cleartext on the server.

As I said in another thread: I honestly care less about the security guarantees from one protocol over the other than I care about the fact that pushing for Signal would mean that everyone's communication would be tied to one single provider. This is a systemic risk that no amount of "you don't need to trust us, you just need to trust math" can ever mitigate.
This sounds perfectly reasonable. Strikes me as being the opposite of "safe spaces" in many ways.
The throughput rate of the kiosk is lower than that of a cashier and POS machine - it is hunt and peck for what you need - confusing flip menus and there is no quick keys like the POS for selecting condiments or addons for a meal so it takes way longer.

It is annnoying.
Thanks for that framing! Very little when stated like that :)

I guess the biggest questions are (from me and other founders I've spoken to):
- How does an increased volume of no-code fixes change the willingness to pay for product early on, especially when the MVP is often not more than a hack itself

- How should founders think about defensibility (even near term) when the world can look so different in just a few months.

Thoughts on that?
I'm going to go out on a limb here and say it's perfectly ok to charge folks for software and if you're OSS project isn't motivating you like it used to, it's perfectly ok to charge users for support/updates/bugfixes.
It’s not a factor at all. By the time smartphones and data plans came out, they all included unlimited texts. I’m sure there was a small carrier here and there but AT&T didn’t offer it with the first iPhone. This is US specific.
The annoying part in this debate is people spending their lives on a project and demanding to be paid for it.

Don’t do it! Who’s asking you to work on it?

I say this as a minor OSS developer who receives some donations. I love the money, but it would be pretty dumb for me to say they oughta pay me, because the only reason I work on it is addiction/compulsion/procrastination of real work.

If it bothered me that people use it for free, then I could just stop working on it and let it rot, just like lodash’ maintainer did for a few years. You always have the option.

I keep reading from project leaders like ESLint’s things like “if only they paid $1 each…” as if that made any economic sense at all. If they paid $1 each, you would not hand thousands let alone millions of users.
Deobfuscating World of Warships' Python Scripts
I am upset for the common users of Chrome. This change is awful for them.

But any Chrome users here? Any Chrome users reading this comment? You knew, or should have known, that Google is a snake. You willfully chose to use a browser developed by an advertising company. You've known Firefox was an alternative but you willfully chose not to use it because you placed mild convenience ("Ooooh but chrome is milliseconds faster") before your freedom. You get what you fucking deserve.
This looks like what GNOME could be if it were fully perfected. Modern GNOME is already amazing, I'm a big fan now that it seems to be slightly less MacOSlike, but this prototype was something else!