skysight-inc/HackerNews huggingface dataset:
Like others have mentioned this is a thing even in not exotic embedded systems, and it should be a thing for mobile applications although many tend to neglect this aspect as you can clearly see in bad app reviews.

At some point of my career I actually measured milliAmps and synced it to an app waking up times using an oscilloscope, this was the core for the OS of a mobile phone.
3M and DuPont knew 30 years ago about the PFAS-dangers, yet here we are still using it and the "replacement" GenX is not a bit less problematic (try to Google that. Apparently someone doesn't want you to find that...)
> It's a dystopia where AI works because of us trying to conform to it, because otherwise we are out of luck

But all technology is like that. Cars work, because we conformed our environment to it. Email works, because we conform to checking our mailboxes regularly. Telephones work, because we pick them up when they ring.

If you are interested in knowing more, the whole work of the french philosopher Jacques Ellul is based around this idea.

AI is not going to be any different in this respect. It is going to be us meeting it halfway. And that is going to be dystopic in the same way as it has been with other types of technology.
Anything claimed to be a hedge against inflation must have positive correlation with inflation. There are 200+ countries in the world and inflation in them is happening at different times and different rates. There's no way that gold knows which country you live at and if there's an inflation there currently.
winnuke 2.0!
> recovery rarely happens (looking at all those HN threads)

for the record you mention yourself that there is a selection bias here, someone recovering fast and painlessly won't write here
But they have stock options no ? They must be happy at tesla
Clubhouse Success Shows Niceness Can Exist on Social Media
Doesn't matter. Facebook will buy them for 2B in another year and a half and will get folded into the mix
I wish most distros didn't default to nano. I like vim, I liked when that was the default, now it's such a pain running something like visudo and getting nano.
There was a time when they did that.
I had a video with music from The Doors and people talking over. They removed the song and you could still hear the distorted voices
Falsehoods Programmers believe about Time
https://news.ycombinator.com/item?id=4128208
The demos are not working for me. Not finish processing.
Automatic updates from poor sources is probably a bad idea anyways... whether they prioritize local packages or not. (I.E.: Play Store, PyPy, etc...)
The same procedure is available in the EU (except, strangely, in Denmark?): https://europa.eu/youreurope/business/dealing-with-customers...
I agree but it's not a popular opinion.

I liked the ability to put semi-complex anonymous expressions in format and reference them with {}. If you did this it was still be obvious what was going on without having to create variable names like comma_separated_list_of_emails.

Technically this is possible in f strings but it leads to an escaping mess. You wouldn't want to put a comprehension with a ','.join in there, for example.

Even when you did use variable names (e.g. "{addr_list}...".format(addr_list=...") you could safely use shorter names because the scope was tighter.
> Right, that's why we see this kind of attack all the time on Maven Central, but never on npm...

Oh yes, the differences is necessarily explained by Maven design being better, and absolutely not because there are two orders of magnitude difference in usage between these two systems…

There are supply chain attacks in Maven Central too[1], but it's not gonna make the front page of HN…

[1] a quick ddg search, just last month https://securityboulevard.com/2021/01/sonatype-stops-softwar...
It is regulated, in the EU, by GDPR: https://ico.org.uk/for-organisations/guide-to-data-protectio...

EU (and UK) citizens have the right that automated decision making that affects individuals must:

* be documented, and individuals must be informed about it.

* include simple ways to request human intervention or challenge decisions.

* be regularly checked to ensure it's working as intended.

This applies to anything with "legal or similarly significant effect on individuals". As examples, the ICO there has "automatic refusal of an online credit application" and "e-recruiting practices without human intervention".

IANAL, but I imagine this would cover the OP's situation if they were EU-based, and most similar complaints (Apple unilaterally pulled my app down incorrectly and won't answer my emails, Google wrongly closed my Gmail account). If a lawsuits & penalties start appearing under that umbrella, it might help change the monopolies positions.

Doesn't help in the US of course, but hopefully they'll follow suit in the coming years, which would apply quite a bit more pressure here.
Show HN: Fast-arrow, a VSCode snippet to write arrow function fast
> be aware that in most studies a cup of coffee is only 8 ounces

Are we sure? The standard USA measure for a cup of coffee is a 6 ounces. (Evidence: search Google on how much grounds you use per cup of coffee.)

Speaking of, how much grounds are used per cup in the research, and what kinds of grounds are used?

This has perplexed me for years, and the looseness in the three factors makes a big difference in how much caffeine or other “coffee stuff” one consumes.
Why would it be infinitely harder to obtain log5j.com compared to typosquatting on npm? .com domains aren't THAT expensive.
Just sharing the link to your repo is a shameless plug. It would have been better had you shared a snippet of guidance/conversation in either github issue or elixirforum.

But I agree Jose is always helpful and the strongest pillar in the community.
Collection of Classic Movies
I always suspected the Whattimeisitrightnow.com joke on Bojack was inspired by a Sys Admin and hollywood writer getting drunk together.

Nice blog post.
Ask HN: If you could work for yourself, would you work for yourself?
Assuming you could learn all of skills required and get enough client work to earn a comfortable salary, would you work for yourself?

Put another way, outside of the logistics and skills required to work for yourself, do the positives outweigh the negatives? I see the benefits here as autonomy & freedom while the negatives are isolation & reduced impact. Maybe you see those differently?
Yoda mostly applies to equality comparisons
It is West-Frisian (Frysk), and the languages are close, but so are Dutch and German or West-Frisian and German (so not that close).

I'm not getting the behaviour you describe though. It detects West-Frisian and does a passable translation, but if I force it to see Dutch as the source it makes no sense of it at all.

It is also failing quite hilariously on „in smak minsken”, which means “quite a bunch of people”, but gets translated as “a taste people”. Google sees „smak” as a misspelling of „smaak” (taste), but it means “a bunch” or “many”.
It's easy to change the default. It's a lot harder to teach every user how to exit vim.
that's pretty amazing work!
there have been some efforts in the past to do that: https://github.com/minrk/allthekernels
I think it'd be hard to do something like this, but not impossible. Just a lot of work.
> I feel the standard interchange format for datetimes really should be 64 bit Unix timestamps.

Several people have already replied pointing out that for scheduling events in the future, particularly recurring events, it's practically necessary to refer to time zones.

So I'll just mention the problem of leap seconds, which are announced six months in advance. If a one-second error could cause problems then probably you should use TAI rather than UTC. But you still need UTC for other purposes, so probably you need both and so you need to keep track of whether a particular timestamp is TAI or UTC.
main discussion re Rust Foundation: https://news.ycombinator.com/item?id=26067118
I don’t know if there is an “issue” with fromIterator, the comment is just that it is ad-hoc: there is no law for it to satisfy.

Law-abiding means that some equation holds, for example a monoid instance should be associative, so ((a <> b) <> c) should always produce the same result as (a <> (b <> c)). There is nothing checking that my implementation of <> abides by this law, but other programmers (and optimisers or compilers, maybe?) can make use of it, and might write incorrect code if my instance does not abide by the law.

Another example would be functors: it should be the case that (fmap f) . (fmap g) is the same as fmap (f . g), for all functions f and g that make sense in the equation (output type of g must match input type of f).
To be pedantic

def is_fraud(x):
return False

is in all likelihood a greater than 99% accurate algo.
Would not the latter be the task of a language library? i.e. Pandas with read_sql()?
Yes, but then it isn't a service, it is a locally running piece of software that can be included in chromium.
Good point! Thanks for all the effort! Btw do you have some notification when someone mentions the project?
The Wrong Question
Spacemacs or SPF13 are kind of like that.
On the topic of DST... can you explain why some countries use DST? Anytime I look for the reasoning of it, it says that DST helps "make better use of daytime" but how? The earth isn't gonna say "Damn! These people changed their clocks. I better change by rotation and give them more sun time." Whether you have DST or not, you still have the same amount of time with sunlight in a day.
What do you have to implement?
You are right: I tried again and I can't reproduce the behavior. Perhaps I got confused and selected Frisian twice, the first time I tried. (Google's UI lists it as simply "Frisian" for me, not West-Frisian).
I'd much rather be a "canceled" prime minister who has to retire to his luxury mansion. I heard one guy got his life canceled for allegedly counterfeiting a $20 bill.

Some of this whining about "cancel culture" is detached from reality.
Disclaimer: I'm a gnu nano contributor.

It makes me happy seeing nano being considered this way. Some of the features cited in the article were developed, improved, influenced or implemented by me; mainly macros and external commands.

It is possible to use the linter combined with macros as a "go to implementation" or "go to declaration"[1]. I think it is also possible to do the same so it can get completions from external commands.

I'd like to improve nano enough to make it a good IDE, but its main developer is against it.

[1] https://lists.gnu.org/archive/html/nano-devel/2018-05/msg000...
Stay tuned for my new biotech startup, http.ai.

What was the process resulting in this name?
I know Mozilla played a big part w.r.t Rust, but it's strange to see this on the front page... we had this 2 days ago https://foundation.rust-lang.org/posts/2021-02-08-hello-worl..., and now we have a low-effort blog post front-paging that is welcoming the foundation.
Man, as a European this confuses the shit out of me. EST/CST and friends are nearly meaningless because I don't even know if the time I'm looking at is or supposed to be DST adjusted...
It's actually pretty well organised, since it's a big event, lots of things need to come together to be able to organise it in 48hrs time. Also the Dutch government has classified it as a so-called 'GRIP-1' type event, which means that all kinds of things have to be coordinated with the local & national government.

There is a great documentary (in Dutch) that shows what the foundation behind the Elfstedentocht has to go through every year to make sure they're ready in case the conditions are right to organise the race, not sure if it's available outside of NL:

https://www.npostart.nl/VPWON_1302414
You might be interested in `crev`: https://github.com/crev-dev
The sad part is how cheap that is. No one reads the papers anymore.
What Is Driving California’s Mass Tech Exodus?
Apple apologizes after mistakenly removing Indigenous language app
I imagine that one could do a thorough search without finding even a handful of MAGA yard signs in Takoma Park, Maryland, or Brookline, Massachusetts. No doubt there are many towns that have voted for no Democrat since LBJ, where Biden/Harris yard signs were hard to find.

I don't use Facebook, so I can't say about that. I don't really go on-line for political discussion at all.
Just once I’d like to have a time zone discussion on HN that doesn’t devolve into pages of arguing about daylight saving time.

If you search HN you’ll find plenty on this topic.
Might have exactly the thing you are looking for :)

We have built social/banter filled games to play right within Slack called Bored.

The games are not the typical team games - they involve accusing and deceiving people, roasting your colleagues and the like.

If that sounds like your thing and you are on Slack, you can install it from https://bored.social/
What if, we will have a new form of “this site works better on chrome”?

By this I mean, check if protocol returns something, else, “this site only works on chrome”.

This would effectively force, Firefox at least, to implement this protocol.

A version of this protocol with randomly generated data might be better for the user.
Yes, but with Mozilla an endangered species with funding troubles, regular lay-offs and a fragmented (and confusing) mission FireFox does not seem like it has the best of futures ahead.
I went down the ESM rabbit hole, after 2 months I decided to stay away. Main reason is/was I want true monorepos in TypeScript with single DRY type definitions (so you need to import them to the FE). This alone is with CommonJS already a bigger endeavor but impossible when mixing in ESM for the frontend parts. Nobody should be blamed here because it's so much legacy, so many systems involved, so yeah.
Well, it is a community project and product. Remember: Nokia was a market leader back when the N900 came out, and they had developed Maemo for years with the 770 (2005), N800 and N810. The appropriate point of comparison IMO would be the OpenMoko Neo FreeRunner, and while that was fun the PinePhone is already doing a lot better.

BTW, if you miss Maemo, try Maemo Leste (https://leste.maemo.org, if you want to get a glimpse before trying see https://linmob.net/videos/#maemo-leste).
Cool project. Looks a little bit like the one i've been using as a basis: https://github.com/brennentsmith/internet-speed-logger I just combined it with a CosmosDB and put the dashboard online with the actual tester running locally of course.
Back then it would have been maven 2 which supported version ranges in a similar way to OSGi manifests. But I really only mentioned maven as the first build tool I used which reached out to public repos uninvited and could break my builds as a consequence of that.
You may notice that in the linked article, only the artifact id has been spoofed. In maven you need to declare both groupId and artifactId for your dependency (and a fixed version, a range is generally considered a bad practice).

To be noted, it makes this kind of attack more difficult, but not impossibile.

Especially the mix public/private artifacts. I guess it will force a lot of companies to at least lock their groupId on maven central, if they never bothered to do so.
Reddit debate becomes a victim of Covid-19, BBC journalistic integrity sucks
Design web-site on Linux and running on MCU
Yes, a lot of these features are hard to integrate into Python because it has peculiar (to say the least) namespaces.

You just need to follow the mailing lists [1] and see that many core developers themselves are caught by some namespace abnormality.

It is a pity that Greenspun's 10th rule is in full effect again and we're stuck with an inferior Lisp/ML, especially in the scientific sector.

[1] Or rather the archives, since they are now de facto corporate owned. There is no free discussion any more and people are afraid to post.
Google news did iirc.
It'd be very interesting to read real-world experiences of experienced game programmers with the language itself; all the discussions around the net are purely academic.

Long ago I've read on Reddit a programmer posted his detailed experience of the problems they've found on a non-trivial game, but I can't find it. I also wonder if anything changed.
How much are you drinking? It doesn't have to be a binary-bad thing - 0-3 cups a day lets me scratch the itch of the hobby, and has never left me with the list of symptoms you've had.
Resurrection of the Coding Guidelines Document
Wasn't just like 1 or 2 days ago that people here were praising Amazon's custommer support over Google's on a thread of a developer who had his google account blocked ?
I quit 18 days ago and I already feel better than ever.

"Caffeine doesn't perk you up, it just keeps you from calming down."

I feel like a little child -- the days are longer, my emotions are a lot richer, when I'm nostalgic, I remember most details, not just the "gist". I'm not mentally "spinning my wheels" and running in circles anymore. It's a little harder to bring myself to do stuff that I don't really want to do, because I'm not running around, looking for stuff to do but am intentional about what I want to be doing.

Energy is unsurprisingly much more stable, it comes from exercise and whole food.

My acne and problems with digestion disappeared.

Expect to be essentially dead for all purposes for the first 7 days.

I'd recommend taking L-Tyrosine (or NALT) during withdrawal, optionally with 5-HTP, it's a natural dopamine precursor and makes the anhedonia much shorter.

I'm 20, coming (cold turkey, usually not recommended) from 2 espressos daily.
Setup seemed easy enough, but the speed results just don't seem accurate. I can saturate my full pipe using the official Ookla CLI tool but the speedtest-cli python package only sees about 250mbps of the 1Gbps I'm getting.
>and get enough client work

That assumes everyone here is doing some sort of IT/CS type stuff. Many of us aren't.

If I had a liquid net worth between 600k and 1,000,000 USD (sadly, making a little over $17 an hour after 15 years on the job, that's never happening) I could retire. I would then retire and start working for myself. I'd create more YouTube content, I'd write more, I'd get more done on our half acre, I'd try and find 2-10 acres nearby that I could afford and get to within 15 minutes and start some pretty serious permaculture, etc.
I like nano and prefer how it navigates text to vim. If vim works for you then great but... nano is just fine for me!
Because as long as the underlying hardware and technology overall keeps progressing there isn't much practicality in "finishing" software.

Sure you could just "finish" Linux at 5.0 and then introduce e.g. io_uring via Linux-with-io_uring 1.0 instead of adding it to Linux 5.1. Same goes for all the libraries that add support for io_uring.

Yes, you could "finish" some software on the feature level, but you would still need to maintain it if you want to add support for new platforms, etc., or it will become obsolete sooner or later. In the case of still maintaining libraries, this would solve nothing in the context of this attack vector.
I've made this move and couldn't be happier.

I can see how being your own boss is not for everyone, especially when it comes to putting yourself out there to get business. It's not just (or even mainly) about skill, and more of a mindset. There are some tool and tactics you can master, but none of them will help without the courage to actually do the work in practice.

I've not found the negatives you mention to hold true (in my case). If anything, I find it's easier to make an impact when you're not spending your days getting permission.
This is a bit of a stretch - the gist is that Apple is requiring opt-in consent to 3rd party tracking, and will start failing review for people apps that don't provide an opt in.

This isn't a ban on Free analyics SDKs at all.
Programmatically Generate Images with CSS Painting API
Golf courses. Well, okay, this is my wonderful father's half serious answer that I love to retell.

The basic idea is that it's easier to convince everyone that is actually 5:00pm and time to leave work than it is to convince just your boss that you want to start work an hour earlier and leave and hour earlier.

This problem is then applied to politicians and other powerful people, who want to go golfing after work. If there's no DST, the sun will set "earlier" according to the clock, and you can't get in a full 18 holes.

So therefore, we change all the clocks so that powerful rich people can go golfing.

No other group of people sees any benefits to DST.
Embark Studio has a great blog post about this.

Inside Rust at Embark: https://medium.com/embarkstudios/inside-rust-at-embark-b82c0...
Well, companies do offer isochrone APIs. That, or graphical maps, are Produced Works under ODbL and only need attribution. Actually enabling that was the point of licence switch in the fall of 2012 which while mostly successful wasn't without pain points (e.g. in Australia key contributors rejected new Contributor Terms and their edits had to be redacted).
I will carefully post it on some internal slack channels.
Most people eat meat because they like the taste. It's way less ethical than scientific research into the visual systems of turtles.

And the majority of animal research is on pre-clinical treatments for human diseases.

I've always been amazed at how animal rights activists target scientists over the animal farming industry.
I had similar experiences and started cutting my coffee with decaf. I’ve gotten down to a half and half ratio now.

Will typically drink 2 cups in the morning and an espresso immediately following lunch.

I’ve noticed a big difference. I rarely get jittery unless I’ve drunk no water in the morning.
Restaurants Find a New Revenue Source: Feeding the Hungry
This is impressive work but it is based on an existing library of trained imagery, so it is not able to actually pull out contents of the imagination that haven't been specifically trained.
A million American mothers are out of work during the pandemic
I have run my own email infrastructure for 3 years, for personal use (I was the only user). I have since moved to using fastmail due to my mail failing to be delivered to any microsoft email. Microsoft would accept the mail, but it would never appear in the mailbox, and neither would it arrive in spam. The mail just disappeared somewhere in their system.

I have spent many days debugging the issue, to no avail. Every other operator accepts my email, and my domain was never used to send out spam (I set up DMARC to make sure I am aware of all outgoing email). I imagine the IP might have been the issue, but I cycled through a few hosts without success.

Everything was configured correctly AFAICT, I could send email to all major providers, except microsoft. SPF, DKIM, DMARC were all set up. I tried many different configuration testers, and they all returned green on my domain.

Since migrating to fastmail (keeping the same domain), I haven't had any problem.

The thing is, I agree with you, the world would be a better place if everyone could host their own email. But at the end of the day, I need the ability to contact users using the major email providers, and so do I suspect many HN users.
Concurrency is easy if the library is well thought out and clean. So I much prefer the Plan 9 approach using the CSP thread(2) library: http://man.postnix.pw/9front/2/thread, Example program: https://github.com/mischief/9problems/blob/master/sys/src/li...

Wonderful easy to use library which is built on top of rfork and uses channels and alternates to synchronize the procs. Heap memory can be shared across processes (e.g. malloc'd memory or a segment(3)) so passing data around is just passing pointers to objects in shared memory.

Further reading which demonstrates the library and how it influenced Go can be found here: https://seh.dev/go-legacy/
German solar and wind power delivering between 0 and 3% of current demand
sounds like a future violation of terms of service..
Injunction prohibiting Google to push ministry of health link (German)
Canada Needs a New Vaccination Strategy