skysight-inc/HackerNews huggingface dataset:
I really love all the work the Mux team is doing! They don't just throw APIs over the wall. They are putting in lots of effort to educate/empower developers. This is good stuff, and not just propietary knowledge to sell something.

Also check out the video-dev Slack[0] and demuxed. Pion WebRTC and WebRTC for the Curious was motivated by conversations I had with other developers in their Slack.

[0] https://video-dev.herokuapp.com

[1] https://demuxed.com
At least they are still seeing documentations...
Night trains won’t be high-speed TGV services, they will use the regular main lines.
Track maintenance needs much less energy than building brand new lines.
And yes, the carbon emissions per passenger are higher for high-speed trains compared to the regular ones, mostly because of their construction.
Of course all of this works when the electricity produced by renewables or nuclear. If these trains are powered by electricity produced from coal, their carbon emissions are equivalent to using diesel trains.
Does this count as social media?
If yes, why should we abolish hacker news?
If no, What is your definition of "social media"?
Because the core product doesn't make money.
Before reading this I thought working on compilers might be a fun career direction
Non-paywalled obit (heavy on ads unfortunately, quite a bit of detail though):

https://venturebeat.com/2020/12/07/friends-remember-microsof...

Engstrom was happiest working in his lab. His death came from medical complications related to an accident in the lab, after he dropped a monitor on his foot.

His friend, St. John, managed to get permission to visit Engstrom and deliver some blood collection kit vials to him so he could extract his blood and DNA for cryogenic cold storage.

“We’re going to get a full genetic sequence of Eric’s DNA,” St. John said. “Eric’s going to live on forever.”

St. John played Viking music at the end of the service.
Leave at 10 pm, arrive at 8 am in Austria, connecting train to a village in the middle of the Alps, get some last minute supplies, start hiking at 10 am, arrive at the mountain hut at 5 pm. Not really feasible with air travel without spending a night in the valley where you don't actually want to be as 2 or 3 pm is too late to start the hike. Admittedly that is a very specific example.

For city travel, I've had good experiences with hotels that let me check in early (before noon). I've never had a hotel that wouldn't let me stash my luggage before check-in.
Disclaimer: I was a Security Engineer on the FB Security Team until last month and was also involved in the Bug Bounty Program :-)

That's not how Facebook treats Bug Bounty Participants. By far, it's one of the better programs in terms of payouts, fairness, and triage time on critical issues.

Just a recent example: a bug bounty hunter reported unexpired CDN links. After internal research, FB figured out to chain this into a Remote Code Execution and paid out 80k USD to the researcher. (https://www.facebook.com/BugBounty/posts/approaching-the-10t...)

That said, I wasn't there in 2015, so I only know the story from some stories. (which portray the story a tad different) - Even if it were true, I haven't seen such treatment in the last three years at FB.
I agree that this issue was likely not helpful except to shame Amazon. Sometimes publicity of things like this gets change that calm requests will not.

That said, I wrote documentation professionally for a few years in my career, and recently re-worked much of CRACO's documentation, and there is very little love for docs.

Docs are hard to do well and completely and if the API is as bad as described, you can only shine up a turd so much in explaining how something works.

Sometimes writing documentation is the only way someone realizes that the software is broken or not actually useful as implemented.

In most situations, a product manager is looking out for this in advance, but when the product is purely an API you have less product-type people who can provide useful management.

Obviously it is not a revenue problem at Amazon. Perhaps this is anger at Amazon's astonishing success redirected to areas of Amazon that have failed to realize the resources to make quality products.
Internally to $WORK I've got a documentation system consisting of interactive F# notebooks, put together automatically from marked-up F# code (so you get type-checking while you write them) with output assertions checked in the CI pipeline for the corresponding library (and before a pipeline pushes out the latest version of the documentation). Hoping to open-source the system if I ever get time; I think Mathematica's documentation system is absolutely first-class, and I want that in any language that supports notebook-style interfaces!
The problem with bug bounties is they are one-sided, against the researcher. The conditions of bounties typically stipulate that any attempt at negotiation can be interpreted as extortion, so it is either take it or leave it.
I've smoked a dozen or so cigars in my life, so I'm no expert, but you only draw cigar smoke into your mouth but you don't inhale. Think of it like using your diaphragm to inhale but in a kind of halting way combined with just dropping your jaw to increase your mouth's empty volume and pulling a slight negative pressure (maybe it's vaguely similar to playing a wind instrument?). You typically draw on a cigar very slowly anyways since they can burn unevenly if you draw fast or get them too hot. And yes, nicotine can be absorbed through the mouth and you definitely get a nicotine hit.

The same basic idea applies to tobacco pipes too.
if that change is the same to every user, then I would start my argument from the position that it is, in fact, different;

if the user can tell that something changes because of a new features/changelog that explains it (or lists it for more trivial changes), again, seems different.

I would be open to discussion on how it's the same, or how it's unethical, though
This was the case on the dev side of iTunes Connect and the App Store for longer than anyone at Apple would like to admit.

It was clear for a long time that developers were not considered customers, or if they were, they were far less important ones.
> For whatever reason though, if you point out this obvious ramification of naming something meant for B2B a really stupid name, you will get attacked and downvoted.

Sooo many posts about projects will have comments / arguments about the project name. It's stupid, there's another project with the same / similar name, it should have been named this...

It's boring, requires no effort, and doesn't touch the actual subject matter of the post.

> IDK if it is just because people brought it up before, or CDB employees brigade it

I don't think a conspiracy is necessary to explain this phenomenon.
Or you gave your passport to the conductor.
Exactly, if you restrict access based on degrees of separation, you're essentially restricting access to information by geography, which is sure to reinforce regional differences and radicalize people further by hiding dissenting opinions
Doesn’t that double the support surface? Bugs are still going to pop-up in the old interface, and so do you still tackle those or move engineer focus to the new interface? It seems weird to continue spending engineer time on an interface that is being phased out.
"We conclude that the Dominion Voting System is intentionally and purposefully designed with inherent errors to create systemic fraud and influence election results."

Incredible.
...either CNN or Fox...

You'll notice they've also neglected to mention the 250M people on strike in India right now and for the last several weeks. Certain reports do not harmonize with the corporate narrative.
FWIW, I've seen a number of financial systems, and even though accounts in the hierarchy might have names, they often have a hierarchically-oriented number with them.

e.g. Accounts Receivable #15000, A/R for Foo Corp #15001 and so on.
Shit can hit the fan pretty quickly so better be prepared.

Tried to teach myself a bunch of programming stuff but never managed to stay long on any of them.
Abstractions, I think, should not be forced. They should evolve, parameter by parameter, as more and more configuration is needed in the original application, until they can be effortlessly lifted to another application. Everytime I've thought: "I'll abstract this so I can one day use it elsewhere" it's ended in failure--a working but overengineered, complex solution that I'd rather leave where it is and start afresh rather than reuse.
Quite interestingly, as the author notes, a Grade 4 (life-threatening event) was reported in the Journal of American Medical Association[1] by a nurse who participated in the trial, but was seemingly hidden in the results.

Also, only 9 subjects had severe Covid-19 symptoms in the placebo group, while only 1 had it in the vaccine group, which is not a great difference. Besides, Covid-19 symptoms in the vaccine group could have been misinterpreted as vaccine after-effects.

As a lot of money is at stake for Pfizer, the subpar study and the apparent misreporting is very concerning. I don't think we should trust Pfizer with our health at this point.

[1]https://jamanetwork.com/journals/jamainternalmedicine/fullar...
> Such a request would be suited to an antitrust investigation. But as part of an inquiry ostensibly aimed at consumer privacy practices, it amounts to invasive government overreach.

Rather ironic to consider this "invasive government overreach" but not to levy the same accusations towards the perpetrators of surveillance capitalism.
Fingerless gloves should help. I also have some thermasilk glove liners that I love, keep hands warm and also breathable. They are quite thin, but I had to cut the fingertips off the middle fingers for typing and touch screens.
This perspective ignores the actual UX, though.

Here is a real world scenario that is extremely common. I am using my laptop, say doing random hobby projects, with code open, a few browser tabs open, some terminal tabs, maybe with something running. My kid or spouse need my attention. I close my laptop lid so 1. It keeps all my windows open, 2. No one knocks over my laptop because its lid is open on a couch, 3. I can respond to my kid or spouse without having to shut down, wait for the shutdown process (a few seconds is a year when a kid is waiting for you... and in some cases, it could be a real emergency too).

Because my laptop where I run Linux on (Lenovo ideapad 320s) fails 100% of the time when I close the lid to put it to sleep, I simply cannot do this. When I say fail, I mean it hard crashes -- to fix it I'd have to hold the power button for 5 seconds to shut it down fully and reboot.

What I ended up doing was configuring it so closing the laptop lid does nothing at all (no sleep, no hibernate, simply turns off screen). This is an OK alternative but anyone who dosn't live alone know that when you close your laptop lid, you have no idea when you're going back to your laptop next. It could be in the next 5 minutes. Or, it could be the start of a series of events (changing diapers, bathing the kid, tantrums, etc.) that keeps you unavailable for the next 4 hours, and then it's bed time and you forget your laptop was still running, and then you go to work the next day, and finally a full 24 hours later you came back to your laptop and you remember that you didn't shut it down 24 hours ago, now it drained up all your battery and closed all your apps anyway. (Real world examples that have happened to me)
More or less in the same boat, but slightly different. Since WFH started I don't pretend to be working anymore when I'm actually not.

Before (at the office): arrive at 9am, leave at 17pm. Work (productively) for around 4h. 1h or so for lunch and multiple breaks. 1h or so of socializing. 2h or so wasted doing... what? I don't even remember.

Now (WFH): start at 11am, finish at around 16pm. 30min/1h break. I work the same amount of time as before Corona (in terms of productive hours), but I don't waste time anymore.

Deliverables are still the same, we still manage (as before) to push our products further.
Even in your heavily contrived example, I can think of cases where the optimization isn't what the programmer wants. For instance, I might have a special handler via userfaultfd(2) that detects if I'm doing an increment of the null pointer and handles it in some special way, but can't handle just setting it to 10. For a more real example, I might have acquired a lock around do_substuff, and I might be okay with the thread segfaulting only if the lock wasn't held.
There are a few roadblocks that probably will not be overcome, at least not without introducing more of those abstraction layers.

The binary format itself is a roadblock, because the loader of your OS needs to know that in order to load and start your program. To be compatible e.g. for PE and ELF, you would either need another loader or binaries that look like both formats at the same time. The latter isn't really possible (except for some interesting puzzles) the former is what binfmt support in Linux does. On other OSes, you do that manually like in "java foobar.class" or "wine something.exe".

The syscall convention is another problem, every OS does them somewhat differently, and even the same OS on the same architecture can have different conventions one may use: int 0x80 (or whatever number one likes), call gates, SYSENTER, traps or trampolines. I certainly forgot a few. Within those there is another variability around parameter passing and return values (register, stack, magic location, all of the above), buffer handling for larger parameters and preserved registers. Syscall names, numbers and semantics are all totally different. Then there are mechanisms like unix signals and callbacks from the OS, futures and zero-copy-IO that are very very OS specific. There also is absolutely no smallest common denominator.

Memory layout has peculiarities, like randomisation, different sections, who sets up the stack, that kind of stuff. Mostly the linker and loader will do things here, but again, it depends.

And then there are libraries. Even if you use a static binary (which you probably would have to), modern OSes still expect you to dynamically link some libraries like all syscall entry points or stubs, things like libnss, etc.

All in all quite impossible without at least another layer like wine or the java vm, some big loader switch/case and quite a bit of fiddling to adapt to some hard-to-adapt peculiarities. E.g. the Linux kernel has quite a few things built specially for wine to work.
You need to compare door-to-door time which is a lot longer for air travel, partly because the airports are outside of the cities while the train stations are in their very heart.
This is clearly false, they've claimed to be using a lot of technologies to preventively detect these issues. Visa has threatened to destroy not only Pornhub, but the whole parent company now. They'll just shut down Pornhub before destroying their company. Looking forward to the next russian-hosted site. It will surely be better, right?
Yes, and obviously I understand the legal difference between these two models as well. Section 230 is still an experiment, one that was put in place primarily to protect intermediaries, like ISPs. It allows for a free and open Internet, and without it, the Internet as we know it is dead.
How do we square this against the control and restrictions a publisher has? Because that is what keeps publishers in check, and prevents them from printing lies, or publishing things that are too radical. And how do we pragmatically solve this issue, in a way that can be as fast as the Internet?
One way to look at it might be, how bad would this dystopia look, you know, the one where a 'publisher' is redefined a bit. Section 230 should continue to protect ISPs, and Proxies, and anything that supports complete and total net neutrality. But any service that 'filters' what I see, in any way whatsoever, should automatically fall under old school publisher libel laws. That's the issue. It's not that Facebook or Twitter are broadcasting freely, it's that they are modifying and adjusting what user's see, using unknown algorithms. Much like the FCC regulates the RF spectrum, and approves devices, the FCC needs to approve algorithms, and determine if they qualify for Section 230. Fixed it. Discuss.
That's addressed by the

> If 'b' never escapes and no (undefined) pointer arithmetic is used

part.
The Amstrad CPC was "disc" too, reputedly because the first mouldings used it by mistake and Amstrad was too cheap to ever correct their error.
Totally agree with Barrin92; the dollars don't stack up.
Ballpark estimate here, I've tried this with several crops and its similar
Hard comparing field farming and tower-farming but here in NZ good level farmland is ~NZ$40000 Hectare Ha (2.47 acres), most farms >300 Ha. Equipment, fences and buildings are NZ$2M+, so that makes it nearly $47k Ha, round up to $50k Ha to be safer. So you could say their infrastructure cost is $10000/Ha.

But farms don't have to purchase light! Lighting costs for farming $0, for 100% artificial light NZ$1.90 per harvested Kg.

Current production costs for e.g. wheat $2500 Ha (seed, tillage, weed-control, harvest). Wheat NZ has world record of ~17t Ha, but all of this is a lot easier (cheaper) when you can move large machines freely. Wind is also an advantage in strengthening plant stems.

A farming tower needs greater strength than a residential building as there are live loads like harvesting equipment and a lot of 'soil' media and/or water if fully hydroponic. So I'll use costs for a concrete multilevel parking building which is going to be at least $2200 m² (plus lighting, HVAC and fitout - not in calc).

So, say your tower floorplate is 1000m², and taller than residential for extra HVAC and machine space. Assume you buy farmland at $45k Ha and build 10 floors (1000m²/floor), and prob. end with ~700m² growing space per floor, means you need another three floors to get you up to a 1 Ha growing area,

: so 13 1000m² floors at $2200m² = $28.6M / $50k = 570 times.

Plus lighting at $1.90 per kg of harvestable product - which for wheat at 17t/Ha would be $32000 per crop cycle.
you could make a study with willing partecipants
Signal has considered this scenario by adding an additional client-side "encrypt my messages" locally feature. Which prevents your messages to get sucked out by some digial forensics tool like it would for iMessage, Messager, etc. So I'm curious if this is what they are referring to.

Post-physical unlocked HD access to the device, aka digital forensics, is assumedq here, this is what this company does.

As others have pointed out Signal might have been storing the local pin/password in an Android secure enclave of "AndroidSecretKey" which they found other means around.
Yes my emotional response is to vomit into my mouth :) As a straight male, anime "cute girls" is just grotesque to me. Different strokes for different folks,I guess.
Not all conservatives are racist bigots. Not all racist bigots are conservative. The vast majority of racist bigots are conservative and conservatives haven no problem supporting racist bigots. I'm struggling to understand what about the above statements you'd actually disagree with. It all follows logically.

* Conservatives are mostly from rural areas
* Rural areas are 90% white
* In group / out group dynamics are determined largely by upbringing
* Rural white folk have far less opportunity to have PoC in their in-groups
* Out-group vs in-group is a major factor in discrimination and bias

I didn't have a PoC friend, coworker or classmate until I moved away from my family to California for work. There wasn't a single black person in my high school. Why is it so hard for you to accept that people who spend the first 18 years of their life surrounded by other white Christians are more likely harbor racist beliefs than someone who grows up surrounded by people of many different colors and religions? From my "outside" perspective, you're obviously stuck in a bubble in which people must go out of their way to pretend both sides of every issue are equally valid.
Heroin is likely not addictive for most people. The chance of prescription opioid addiction is about 25%, and I wouldn't expect heroin to be noticably more addictive as a chemical substance. https://www.cdc.gov/drugoverdose/opioids/prescribed.html

https://www.jrf.org.uk/sites/default/files/jrf/migrated/file... is a very small survey of heroin users, some of whom report controlled or occasional use.

https://www.drugabuse.gov/publications/research-reports/hero... shows that with 90K-170K new users per year from 2006 to 2016 resulted in 600K total dependent users in 2016 in the U.S., so not all first-time users become dependent and presumably the 2016 count includes people who tried heroin for the first time before 2006.

https://www.cdc.gov/drugoverdose/data/heroin.html confirms that the difference in new users and final dependent users wasn't all due to deaths, either.

There's still a possibility that only rehab keeps people from becoming dependent but the numbers are harder to find for that.
I do like Zig’s import construct.

const print = @import("std").debug.print;

I’m looking for a new systems programming language. For all the hype of Rust, I don’t think this is it.

How does Zig compare to Nim?

Does Zig have a future in games programming? I feel games programming is the ultimate test, to validate the true success of a programming language.

I do like that Zig compiles to LLVM. Although this in itself will exact a minor performance penalty, in exchange for wider CPU coverage.

Nim transpiles its code down to C, and I’m not certain how that will play out. As you’re now writing your new language on an already somewhat buggy language.

But this does give Nim the possible speed advantage, of getting the code compiled closer to the metal, whereas Zig will compile to the intermedia LLVM layer.
One of the big reasons for this that I've seen is that it's easier to measure "coverage" with unit tests. Many managers and engineers like things that are easier to measure, even if they're measuring the wrong thing. It can also be a cover-your-ass strategy--if a major catastrophe occurs, you don't want to be defending your decisions without data. From that perspective, "we feel like we had sufficient integration test coverage" is much worse than "we have 95% unit test coverage". You don't want to make it easy to become a scapegoat, and mountains of data are good protection, whether they're relevant data or not.

I too generally only write unit tests for tricky pieces of code, especially when it's dealing with concurrency which tends to be difficult to test deterministically at the API level. There are other good reasons to write unit tests, such as execution speed, complexity of setting up a testing environment, faster development feedback loops, etc.
“A Brief Overview of the Federal Trade Commission's Investigative, Law Enforcement, and Rulemaking Authority”

https://www.ftc.gov/about-ftc/what-we-do/enforcement-authori...
How do I opt-out my young child, who is part of a generation that if they don't opt-in are subject to intense social stigma? I mean I know how the mechanics work, but we are talking about applying "old curmudgeon who doesn't know modern life" views on a new generation. I don't think you succeed here (I am not weighing in on whether or not we SHOULD do this btw) without going all-in.
To my memory, myspace got left for Facebook because FB provided a utility more along the lines of what people were searching for. I don't remember the FB exodus being driven by a MySpace content clampdown.
Why would some think excessive Tylenol would be preferable over narcotic pain meds
How much Tylenol would a person have to consume over a two month period to permanently damage their liver
This is bizarre.
is any AB test ethical if done with unwilling partecipants?
They map to the underlying JSON calls that are made. It's like they took the top-level keys of the JSON and made them kwargs in the Python.