skysight-inc/HackerNews huggingface dataset:
I sometimes wonder how much US tech productivity is built on a foundation of ADHD med over-prescription. Discussion of taking stimulants is pervasive among the tech Twitterati, to a really depressing extent.

At this point though I'm not sure where the right balance is - the US healthcare model (you are a customer) probably drives excessive medication as much as cultural pressures, but at the same time the UK model (you are a patient, but not a paying customer) drives resistance to prescribing medication where it might actually be beneficial.
Wasn't there an algorithm for that?
>Why do you need security updates so often and so bad?

not sure if serious or i just dont understsnd your brand of sarcasm.

i dont want a custom rom i want security patches for the life of the phone, whixh is longer than the 3 years i got.
Yeah, this is an unfortunate side effect of many social programs. Eg. housing assistance is just money that (1) goes directly to landlords and (2) removes market pressure and keeps prices for low quality housing higher than it should be.

Way more effective would be caps on rent, but for some reason politicians don't want to use this tool....
> Exceptions mainly allow you to be lazy

This is not quite right. Exceptions allow you to be safe. Think of it like a factory that's practicing Toyota design -- any worker can pull a alarm that stops the entire production line if there's a critical safety issue.

For code, this alarm pull is the exception. And when you pull it, everything restarts from scratch so it must be in a good state on recovery. Sometimes if a component fails, there is no clear and logical way to recover from the intermediate state (perhaps there are unsafe or insecure assumptions that would need to be made to keep going), so it's better to give up.
I was sort of expecting "the second link" to have contradictory research rather than just vague ideas about why a particular study might have been flawed. Nevertheless, thanks for linking Rowling's wonderful, thoughtful essay. Her heart is in the right place. I might just have to read those damn books someday.

I also read the "Reasonable Person's Guide". What should I assume from the fact that the biggest part of this is devoted to complaints about name-calling? The majority of humans DGAF what mean things one internet weirdo called another internet weirdo. If there are actual safety concerns for trans people (and I'm sure there are), don't obscure those concerns behind name-calling butthurt. Doing so makes the whole thing seem like some internet weirdos got bored with doxxing so they invented some new way to annoy society. Do we need a term for getting people fired for trans-"phobic" speech? Will the "reasonable guide" be updated to reflect the fact that Forstater's firing was found on appeal to have been based on impermissible discrimination?
And at something like 10k pounds empty, and with army dudes in the cab who nobody cares about getting bumped, it might be the way to go.
>Like banning plastic straws while the cups are still plastic, it enrages even many with a moderate amount of goodwill.

This is a false equivalency when compared with the top comment. The equivalent statement would be "only car exhausts must be captured but we don't care about the rest of the gasses."

The commenter said all gasses and exhausts must be contained, and I tend to agree that this is a good goal to move towards.

Most of the population, quite frankly, is wrong about a lot of things like this. We see that from the hate for regulation partially driven by propaganda from businesses.

As a side note, cigarette smoke is also considered exhausting waste to the atmosphere.
I’d interpret their comment as 32 hour weeks being normal and acceptable, whether or not it is most common.
Instead of shoot one picture, the photographer shoot two connected pictures and let the audience figure out the connection. The man entering subway is an example, one picture is static but two pictures means an action.

I'm not familiar with cameras but the author claim the Olympus Pen ee3 can compose two pictures into one, which is good for the 2+2.
> 1. It's an economics paper. Not a field with a reputation for accurate predictions beyond the basics.

If your first reason for dismissing an economics paper is because you don't like economics, that's a bad start. Especially since the rest of your comment reviewing this economics paper consists of you doing economics. You're preemptively dismissing everything you yourself have to say.

I mean, if economists suck, then surely the economic theories of people who don't think economics is real suck more.
> Who is going to suffer because of the enormous covid handouts and subsequent inflation?

Don't know how it played where you live, but in my country, most covid handouts went to the rich, not to the poor.

1. Cash was given to companies they could then give to the people, instead of straight to the people.

2. Cheap/free loans were given to companies/rich people, not poor people, because poor people can't pay off loans so nobody gives them any.

The insane stock market profits were the result of this - rich people getting excess money. If it went to the poor people, they'd buy food and shelter, not stonks.
Microsoft and Canonical announce native .NET in Ubuntu 22.04
Funny, I initially thought that BSL was the infamous Business Source License, a proprietary source-available license with an automatic switch to (usually) Apache 2.0 four years after each release. But no, it was the Boost Software License.

https://spdx.org/licenses/BSL-1.0.html

https://spdx.org/licenses/BUSL-1.1.html
I think you're looking at the wrong line. Tesla was at 30.77% in 2019, 13.28% in 2020, 13.78% in 2021, and so far in 2022 Tesla is 11.95% of the European EV market.
This borderline seems like a license trap: use common keywords as your package name to boost visibility, post it on NPM (with the license truncated so much as to be useless[1]), and then wait for an unsuspecting developer to pull in the package so you can file suit.

[0] https://www.npmjs.com/package/@react-pdf-viewer/core

[1] On a 4K screen, the most I can see of it is "https://react-pdf-vie..."
Cow farts are already a huge producer of atmospheric methane, a greenhouse gas
I made a comment asking "Is HN not for women? I think it's for everyone." a couple hours ago. It got +7 karma since. And yet, it's now not shown (it's folded) by default. It never happened to be before on HN. Can someone explain what feature is this?

BTW I see that it happened to majority of comments. What the heck is going on here?
What do you have in mind as a "millions of years" power source?

At current rates, fossil fuels will last a few centuries, nuclear a few millennia.

Although geothermal would last for geological timescales, the estimated maximum output only covers current electricity use (~2 TW, well short of the ~17 TW total power use, and ideally we'd increase the minimum power use per person to get closer to European or American levels rather than keeping our current distribution).

The kinetic rotational energy of the earth would last us 400 million years.

Sun will last a few billion, but then we're no longer talking about extractive technologies.
What does "build for the post-advertising world" entail? I'm extremely interested in alternatives to the Google Ads protection racket. I've been focusing on outstanding customer service/product to drive word of mouth and it seems to have a better ROI.
I'm thinking of sponsoring someone to do a deep dive into the Luajit codebase and try explain to me how it works.
I don't think you can. My takeaway from this discussion is definitely that GCP is only suitable for toy projects, and not for serious production stuff that requires continuity.
Why can't you just make more clear in the beginning that this position is full-time and only full-time and that (for what ever reason) you are not able to consider part time workers for this job?

There is an information asymmetry. People want to disclose things that make them less attractive to employ as late as possible. Similarly there are things you don't tell the candidate beforehand too.

> Typically when a full time position is offered, the workload of a full person is needed

Yet when there is demand from prospective employees for something that is not offered (4 day week) but known to exist if you ask later in the interview process with some companies people will have to try if you are some company. Whether you are offering reduced time jobs or not for some positions that is available is an information you hold. You do not seem to want to hold that information back so you can make a decision depending on the candidate so you should very visibly perform send a costly signal that makes it clear reduced work hours are not possible. A costly signal would be "we are not able to consider non full-time applicants for this position".
It all starts with “I got your nose!”
It’s important to distinguish between validation and exception. If a client passes in bad value you can handle:, out of range, not found db item etc, return an appropriate 400 with details about the error that the client can do something with. Handle it gracefully if you can without throwing exception.

If it’s something impossible to handle - say a db failure after n retries- then return a 500 with some info but not anything sensitive. No db names, queries, etc.

Sometimes your exceptions tell you about additional validation you need to add. Ie users keep passing in invalid ids and I get a db exception, maybe I should instead check for the row first and return a 404.

Log all the things.

There are standards for REST error responses:
https://blog.restcase.com/rest-api-error-handling-problem-de....
> fread() is an inherently synchronous operation

NOOOO it's not. It's the opposite. FILE streams are buffered, and the typical case is that fread() just copies from its internal buffer, where the data in the buffer had already been transferred from the OS at some earlier point. While it is not normally done, I think fread() could be implemented with a worker in a separate thread no problem. Think of it as an asynchronous API.

> if it would have made sense to call fread() on the same file handle concurrently, you would have to add synchronization logic (externally or internally) before checking the error flag, and even then, there would be no way to signal two different errors occurring in two different concurrent fread() calls - one error would always overwrite the other.

FILE streams are in fact protected by mutexes internally - it is safe to call e.g. fwrite() from different threads simultaneously (you can also circumvent the mutexes using e.g. fputc_unlocked() if you know it's safe to do so). Whether doing that makes sense beyond the quick debug printf is another question.

FILE streams are buffered, so you never know which fread() call was the "source" of the error. And there is absolutely no point at all in trying to relate errors on a file handle to the n'th or (n+1)'th call.

But if there was, the only thing you would have to do is to pass the function calls some context to discern between the calls. Essentially this is state segregation, which is not the point of the FILE API, which is why it doesn't do that.

> Sure, the concurrency implementation ultimately has to somehow store errors, but this doesn't have to be exposed to the client API.

Yes it does, unless you're willing to throw away the gains you got from concurrent operation (or with those fancy messy async frameworks, throw away at least a part of the gains). Retrieving the error or other return value requires synchronization.

> imagine if malloc() had a corresponding merror() like fread() to indicate why an allocation failed

You're not getting the point. malloc() API is fine for what it does (general purpose memory allocation in global context, which is not exactly what you should use in a well developed system, but like printf it gets you started...), and I'm not suggesting there should be a global merror() kind of thing.

But checkout the following:

mctx := malloc_context()
buffer1 := malloc_buffer(mctx, size1)
buffer2 := malloc_buffer(mctx, size2)
for i in 0...100:
buffers[i] := malloc_buffer(mctx, 42)
if mctx.bad():
mctx.release()
return
# go on using the buffers... Maybe even like follows?:
buffer_write(buffer1, data, 666)
buffer_write(buffer2, data, 1337)

if buffer1.bad():
# handle very specific problem?
if mctx.bad():
# handle problem with any buffer?

Better than checking each call individually, isn't it? Less code and faster to execute, because requests can be processed asynchronously. This is very much like the FILE API.
Hmm... That's interesting... Apparently, my workflow is unpopular, hereabouts.

I guess it's a good thing that I tend to work alone, eh?

The workflow:

https://littlegreenviper.com/miscellany/forensic-design-docu...

https://littlegreenviper.com/miscellany/evolutionary-design-...

The results:

https://github.com/ChrisMarshallNY#browse-away
Rocket Lab CEO reflects on company's humble beginnings as a drainpipe
Best Cybersecurity Podcasts on the Web
I'll repeat it again and again and again, Google is not a trustworthy partner and scammed me a lot of money out of my adsense gains, only to slap me in the face by sending a 50 bucks voucher to my physical address to "buy ads". And it was all 15 years ago. Google are a bunch of thieves in my book and nobody should ever trust Google Cloud. Since then I worked in many big corporations and have had responsibilities and everytime I could weight against using Google cloud, I did. They must have lost millions because of me, all that because they kicked me out of adsense for bullshit reasons without the possibility of appeal. Google can go to hell.
I keep thinking of a “you wouldn’t piss in the pool” analogy for a marketing campaign.
> uBlock origin is unavailable on Safari, even though iOS/macOS offer a very powerful content blocking API.

Please define 'powerful'. Until pretty recently iOS was unable to block youtube ads. I'm still getting popunder ads even though I use a really comprehensive block list on my iPhone.

Safari blocking capabilities is just a "good enough" that most wont riot but definitely doesn't get even close to uBlock ballpark.
finally I can find some good under construction gifs to let people know my website is really still in progress!
TMTP a Internet protocol combining elements of email and the web
I was thinking of the taxes that the employees pay. You're of course correct that employee costs--including salary, benefits, and the portion of their employment tax that the business pays are tax deductible business expenses.
UK inflation forecast to hit 18.6% next year, energy bills may rise to £6000
Show HN: MatchHostFsOwner: solves Docker host filesystem owner matching problem
I am always disappointed when someone talks about std::mutex poorly. On Linux it is as good as it can possibly be for a generic catch all lock and by that I mean it is really really good for most usecases. If you want to use a spinlock to outperform std::mutex you will at least have to do the legwork of using real time scheduling and guaranteeing that any spinlock you are locking will be unlocked within a finite amount of time with a known upper bound. Any less and your spinlock will cause problems when your thread locks it and then gets interrupted by the OS scheduler.
> That's some wishful thinking if I've ever seen it.

I said we can kill them humanely and there are slaughterhouses that enforce good practices. I didn't say all animals are killed humanely and I didn't say we should favor the worst of the factory farming practices. They often produce substandard meat anyways. I don't think meat should be as cheap as possible but I also don't think it should be made so expensive that no one can afford it. So, yes there should be more regulation around how animals are raised and slaughtered in order to prevent cruelty and that will likely increase prices of meat and I'm ok with that. We should also do more to make sure that small producers aren't forced out of business by large factory farming interests since that's what's driving this race to the bottom and degradation of conditions.

> turns out that if you do that excessively

That's plainly a strawman argument. I didn't say we should be 100% carnivorous or eat excessive quantities of meat or spend 100% of our time hunting. It's also an argument against being 100% vegetarian by the way so you might want to be careful tossing it around.

> There is no screaming to be heard at the supermarket checkout

If your goal is to kill the animal humanely then there shouldn't be any screaming in the slaughterhouse either. As I said above, there are certainly many slaughterhouses where the animals are mistreated but I don't support this and think it should be regulated against.
>RSEI uses emissions estimates industrial companies submit to the agency each year along with weather data and facility-specific information to estimate concentrations of cancer-causing chemicals in half-mile-wide squares of land across the country.

It sounds like the results are really dependent on whether or not these companies are lying. I would prefer to see them based on diagnosed cancer rates, but that data set probably doesn't exist.
X-ua-compatible meta tag: What it is and why you don't need it on your website
Workplace surveillance is coming for you
Show HN: MooovR - High Performance Tool to Copy Files to Multiple Locations
MooovR is a desktop app to copy/move/mirror multiple files to multiple locations. I made it for personal use and it is meant to be cross-platform but for now only works on Windows.
And now I spotted the mistake:

> (((4^2)/(3^3))^2)^1

should be (((4^2)/(3^2))^2)^1
Exactly!

On GCP you're basically SOL
A lot of people piss in the pool, unfortunately.
Not mentioned: Samba(dot)TV... who are probably THE single most aggressive surveillance company operating in the Smart TV space.

https://www.nytimes.com/2018/07/05/business/media/tv-viewer-...

And the Pi-Hole list you want is here: https://github.com/Perflyst/PiHoleBlocklist
Paper price have to be changed every week for specials even in Quebec.. it is very labour intensive and very error probe. They also often fall off. Eink price displays are meant to help that.

I used to work in a groceries store and changing price used to take so long that we had to do even while opened with shopping customers..
Nobody else is running your binaries, so they don’t match the hashes of any of the trusted binaries in the database. Obviously they’re suspect & should be quarantined immediately!
koenigsegg makes cars so expensive in numbers so small that they arent relevant to even fairly wealthy people, so its a bit like discussing nasa's latest advances instead of cars that can actually be bought.

did koenigsegg do something cool? sure. theres about 100-200 people who dont work at koenigseff whose life that will affect and nobody else. theyre pretty irrelevent.
Give people an iPhone with no headphone jack and another iPhone similar but with a headphone jack and guess which one they’ll pick?
A pen and journal.

A calendar to mark off days.

A design program to create a vision board.

A piece of paper or index cards to plan out each week and individual days.
They fixed it with an update this month, but CrowdStrike was hooking /every/ single call to NtCreateUserProcess on my work machine last month, and you /know/ how electron-based apps work. VSCode took so long to launch its sub processes it would pop up a crash reporter. "Hello World" compiled from C++ would take a minute to launch sometimes. WSL straight up could not be started because the TTY timed out waiting for it.

For some reason java.exe startup was A-OK though so I started using JEdit again.

Aggravatingly, it would occasionally disappear my builds and then flag me to IT. My dude, I am hired as a developer of native windows C++ applications why the hell is this trash on my would-be workstation-class machine?
While I appreciate your perspective, the construct you described allows one to invalidate others' beliefs as being "wrong" because they don't adhere to the same reference point as yourself.

> All of my beliefs would be self-serving

This is not a true statement.

Why cannot one choose what one feels to be the most appropriate construct after careful inspection and introspection?
I think that's why lotteries are generally either illegal or run by the state. The temptation to rig them is just too high.

I'm pretty sure raffles are usually illegal, but ignored by law enforcement, like office sports pools.
That's because Microsoft understands and hires humans for customer support.....
I believe HackerOne has some restrictions on disclosure as with an NDA approval is needed.
The monument to Hi Jolly piqued my interest when traveling through Quartzite, Arizona. I have to thank the "Roadside America" app for pulling up these little road-trip oddities for me.

That "Hi Jolly" was the best the American's could do with his actual name, Hadji Ali, was amusing. More intriguing (if fanciful) was the thought that there might still be those camels (or rather their offspring) roaming the deserts of Arizona to this day....

https://www.atlasobscura.com/places/hi-jolly-monument
The same Crowdstrike that was a key player in Russiagate? Colour me shocked that they do things dumbly. Anyone still using them after that fiasco and its impact on the US should be ashamed.

https://thegrayzone.com/2021/10/30/crowdstrike-one-of-russia...

https://thegrayzone.com/2020/05/11/bombshell-crowdstrike-adm...
> I think the reticence is the old attitude that you basically had to drag the old car manufacturers to electric,

But... that's not really true? Nissan and Renault's first modern electric platforms predate the Tesla Model S. VW's is only slightly newer (and of course it had a few NiCad false starts in the 90s).

> then they insisted on doing design after design of the clearly inferior hydrogen alternative

That's mostly just Toyota.

> If they really "cared" about EV this would have come 20 years earlier given the sheer scale of endowed resources they had

No, it wouldn't. VW and GM, at least, tried in the 90s, but it just wasn't a runner with NiCad batteries. Electric cars were effectively gated on battery tech.
> “… so you can tell them about the thing you really want to say without it seeming sudden or forced.”

Yes. And I find myself using this pattern when I want to talk (heck, I started the conversation, so I have something in my mind), but I’m not sure if it’s a convenient time.

If my asking “What’s up” unlocks a conversation, then maybe it’s not a good time to talk about what I was thinking.
I don’t. I keep the timer running while I eat.
This type of expectation is why I've always gravitated towards Roku sticks.

They're cheap, really well designed, centrally controlled on your account and you avoid any need to over-invest in specific TV vendors to have the same experience across the board.

And it can't do anything that the HDMI port can't do.
I hope they can also automatically scale down when their customers flee to the competition.
Psychosomatic death is an actual thing: https://en.wikipedia.org/wiki/Voodoo_death
> Google tech is the best.

True, but unfortunately they are literally the worst at customer service.
There is a much better option for HN crowd:

Buy a large/modern computer monitor and connect it to your homelab’s media server.

Literally there is no need for a smart TV so long as you are capable of setting up a small homelab.
Downfall implies a failure or ending, it seems like they're still selling like hotcakes. This is why we need regulation to save us from surveillance, most consumers want cheap and don't understand/care that they're selling their privacy instead.