skysight-inc/HackerNews huggingface dataset:
Back in 2018 I got into a serious car accident. I was driving eastbound on Fountain Avenue when another car blew a red light and t-boned my Miata at full speed, crushing my entire driver's side, causing my car to spin 540 degrees, take out a stop sign and land on the front lawn of a nearby apartment building.

I got out of my car, dazed amid a cloud of air bag dust and miraculously unscathed. I was wearing my seat belt and had my convertible top and windows all the way down. I otherwise would surely have ended up with a face full of glass.

The other driver -- about a block away -- also got out of their car. They took a glance at me, got back into their car and sped off. Their car had no plates.

I called 911 and Deputy Penate of the L.A. County Sheriff's Department arrived on the scene. His attitude toward me was immediately hostile.

I was in a completely traumatized state and had just experienced the scariest moment of my life. As I was on the phone trying to arrange a tow, he approached me and said: "Do you think we could hurry this up? I'd really like to have some dinner tonight."

A few minutes later as we were waiting for the tow truck, he got out of his patrol car and approached me again, making sniffing noises: "Why do I smell marijuana right now, sir? If I search your car am I'm gonna find anything I'm not supposed to find?"

I don't smoke marijuana. There was no contraband in my car, which had been laying totaled on the side of the road with its top down for an hour.

I had just been the victim of a serious crime and here was this law enforcement officer, trying to turn me into a criminal instead of assisting me in any way.

That experience was a serious blow to my faith in law enforcement.
I've just heard every community described as 'toxic' and honestly 9/10 times I disagree.
But professional photographers who spend as much time editing as photographing won't be purchasing this phone with that intention. That would be lunacy, as their profession/hobby likely already has had them invest thousands into professional equipment.

This is directed towards those taking pictures for social media. Advertising (that's what this is) in this way implies that you, yes you, could be as good as a professional photographer. Except, you also have to dedicate the time and vast expertise, like a professional photographer would, to get pictures like theirs. They cleverly leave that part out.
If it fits people's ideology they don't hold it accountable.

The desire for truth is over.

Its a war of ideology now, which has never ended well historically.
That's way too cynical. That's out of touch with reality. Lots of really rich people give to charity and don't talk about it.
Almost certainly an FBI-planned and directed "conspiracy".
Not really a revolution when most people just trade it (mostly via fiat money). The original idea was for Bitcoin to be a currency, unfortunately the "hodlers" won, now its only reason to exist is to be more expensive. Boosters are still milking the original premise as some revolution they're supporting, when of course, if you ask how much of their crypto assets they've actually used/spent, the typical answer is 0%.

Satoshi is dead, the dream is dead, people are just trading the corpse
There are several conceptual issues here, but one of them is that trees require energy from sunlight to turn CO2 into other things.
I think they should be able to work if they want.

I just don't want private entities profiting off prisoners our taxes house.
Everyone watches everyone else, there just needs to be transparency.
In summary they noticed that their e2e suite mostly caught integration errors where clients and servers had incompatible schemas for the data exchange.

The novelty is that they found a much faster way to identify this kind of errors by collecting and comparing the client and server side schemas statically without even running the code.

This is a great optimisation, but it did not remove all defects so they still need to define tests that validate actual application behaviour against the business rules.
“Instead of investing in making an existing tool better, we built our own thing!”

Oye.
- Incomprehensible errors. Like you have a undefined var and the worker just breaks and doesn't tell you what's happening.

- Terrible console.log() messages. I had to resort to using JSON.stringify for anything other than primitive values.

- Timeout errors when using wrangler dev on workers that work perfectly when deployed.

- Wrangler dev just crashing frequently or being super slow at reloading the worker.
This should be hilarious to anyone who has been scrutinizing the Xinjiang narratives closely.

"Hilarious" is not the reaction that comes to mind.
Skin doesn't become leather for free. Throwing it into the landfill is less resource intensive than turning it into leather, and possibly has a lower environmental impact.

https://en.wikipedia.org/wiki/Tanning_(leather)#Health_and_e...

So you're not giving an insightful answer for why it's used instead of something else.
> I don't know how to say it humbly, but the biggest problem I've witnessed in slow e2e suites is that they are considered second-class pieces of software and only get the attention of QA engineers or developers who are not applying the same level of effort as their runtime code.

I replied in two other places on this thread before seeing this comment. It's very true. Since tests don't get shipped to customers, tests don't get the same level of effort. But when your tests are known to be of poor quality, people stop trusting them, and when people don't trust the tests, they stop adding any value.
Please do. This is my prediction based on years and years of optimizing machine code and measuring on recent microarchitectures. I look forward to seeing your handwritten assembly proving your overgeneralized claims about recursion being inherently slower.
Manifest V2 Support Timeline
What do you think of these quotes?:

"“Some kind of threshold has been crossed,” said Alina Chan, a Boston-based scientist and co-author of the upcoming book “Viral: The Search for the Origin of Covid-19.” Chan has been vocal about the need to thoroughly investigate the possibility that SARS-CoV-2 emerged from a lab while remaining open to both possible theories of its development. For Chan, the revelation from the proposal was the description of the insertion of a novel furin cleavage site into bat coronaviruses — something people previously speculated, but had no evidence, may have happened.

Richard Ebright, a molecular biologist at Rutgers University who has espoused the possibility that SARS-CoV-2 may have originated in a lab, agreed. “The relevance of this is that SARS Cov-2, the pandemic virus, is the only virus in its entire genus of SARS-related coronaviruses that contains a fully functional cleavage site at the S1, S2 junction,” said Ebright, referring to the place where two subunits of the spike protein meet. “And here is a proposal from the beginning of 2018, proposing explicitly to engineer that sequence at that position in chimeric lab-generated coronaviruses.”

Martin Wikelski, a director at the Max Planck Institute of Animal Behavior in Germany, whose work tracking bats and other animals was referenced in the grant application without his knowledge, also said it made him more open to the idea that the pandemic may have its roots in a lab. “The information in the proposal certainly changes my thoughts about a possible origin of SARS-CoV-2,” Wikelski told The Intercept. “In fact, a possible transmission chain is now logically consistent — which it was not before I read the proposal.”

But others insisted that the research posed little or no threat and pointed out that the proposal called for most of the genetic engineering work to be done in North Carolina rather than China. “Given that the work wasn’t funded and wasn’t proposed to take place in Wuhan anyway it’s hard to assess any bearing on the origin of SARS-CoV-2,” Stephen Goldstein, a scientist who studies the evolution of viral genes at the University of Utah, and an author of the recent Cell article, wrote in an email to The Intercept."
Another downside is the overhead created. Those “simple” async methods are translated into state machine classes under the hood. You could probably test performance and see if the value you get is worth it.
Agreed that the future is electrification, but it will take trillions of dollars and a lot of time to replace all internal combustion engines. What should we do in the meantime? It seems that using renewable energy to make carbon neutral fuels for these vehicles makes a lot of sense. What is "nonsense" about this?
This is not an "Americans" thing. This is about the community of programmers in general growing at a very fast rate, and many people not having formal education, and formal education not always giving people the real world skills they need.

It's true that OCaml is a mature language, it's also quite stable considering its age. It has lots of relatively mature project, but it's also missing some pieces that people expect from the ecosystem of a language (the "recent" post about Darklang moving away from it because of a lack of Google Cloud libraries is an example of that).

"tends to have a ton of documentation" is wrong though. OCaml users are not blind to their own flaws, and often point out themselves that the documentation of most libraries is basically "look at the code".

About the blog post you posted, I think you're misinterpreting what people say. It's not about asking the OCaml community to put in even more work than they already did. They don't owe me anything. They don't owe a new user anything. That's a fact. However, when you're picking which language/ecosystem to invest time in, you're going to compare them. And when comparing them, you'll see that other ecosystems may have more libraries, libraries of higher quality, better documentation and/or more help for beginners. Just like the OCaml community don't owe us/me anything, I don't owe them anything and I'm free to chose whatever aligns the best with my interests.

What you interpret as "expecting a ton of hand-holding" is actually "being explicit as to why you choose something else than OCaml". You could then argue that OCaml users don't even want us and that saying this is useless. But that's not true. Here's an example of a subject in the official OCaml forum where they actively express their want for new users: https://discuss.ocaml.org/t/expanding-ocaml-appeal-to-future....
Yes but we don't have an energy problem, we have a CO2 problem and there's no law of physics preventing to absorb more CO2 than you emit.
IMHO, Turbolinks is not as effective as a "real" frontend framework.

Frontend development work is like managing a huge state machine. You make a modification here, a value changes here, and the whole frontend apparatus shifts to reflect this.

ReactJS got this right, particularly because you can closely couple it with Redux or Flux.

Things like Turbolinks (or jQuery or HTMX) require you to manage this state on your own and any sufficiently complicated project becomes very untenable very quickly.

This has gotten more and more apparent as they keep adding features to Turbolinks. State management is still a pain.
you bet your ass consumers would care. ignorance is bliss.
If you integrate with a third party service and their environment is slow, because it's not a production environment, your tests will fail due to timeouts. How would you fix this?

One way I would think is to not go against their service; create a similar service and run it according to your SLA. But then, you have to make sure contracts are in sync, so you need to verify contracts from time to time.
> My desired solution is for central banks and their abusive monetary policy to die in a fire. One way to achieve that is to have many competing currencies that are not controlled by a central bank. If any are a worthy replacement for government fiat people will use it. But, that is precisely why governments will do their best to regulate use of competing currencies.

So your "solution" is a regression to something that was tried and didn't actually work well? https://en.wikipedia.org/wiki/History_of_central_banking_in_...
Cloud Packaging in the Terabyte Era
People often say “weight” when they mean fat.
I don't feel like rewarding a company for grabbing a monopoly on short form streaming video then making their service borderline unwatchable through aggressive, increasingly unskippable ads.

Plus (getting back to the topic at hand), having adblock for all your devices is so ... pleasant. You forgot how jarring and upsetting (and LOUD) advertisements are. Having them puncture your DNS adblock while using Chromecast is like getting a wet slap in the face.
If the county votes 85-15 Democrat, and the sheriff is elected, then... why does that area elect a sheriff like the one you're describing?
Not sure why this is getting downvoted. I’m sure the sheriffs in many counties are just fine. But even the national and international news covers the AlCo sheriffs abuse (check out the Colbert Report and The Guardian).

While this isn’t directly related to the AlCo sheriffs, you can also look up the “crime reduction” social media scandal from Oakland PD, a law enforcement agency within Alameda County.
Developers fix multitude of vulnerabilities in Apache HTTP Server
I don't quite agree. A more precise title would have been:

"We Disentangled our E2E Tests"

If I understand correctly - what seemed to have happened is that they separated the lower level data-coupling testing and their higher level testing with contracts and acceptance testing respectively. Each of those layers don't need to know of each other, so this was a separation of concerns AKA simplification.
The thought process here is that if you're stuck holding tether if/when it collapses, you can just sell for a crypto that hasn't collapsed. But who in their right minds would want to trade something of value for something that has just been shown to be worth $0?
By analogy with CDN VPN in that role is "Content Receival Network".
But thats not what this is. Fuel is intended to be consumed, seems like this is at best carbon neutral assuming totally neutral power source. Are our current power sources on average neutral or are they much more carbon positive?
The website isn't very descriptive, as others have pointed out - it's difficult to get basic information (and any details) about the language.

Moreover, it's not clear who this is for.

People wanting an expressive language with good tooling will be disappointed, as there's no REPL, macros, conditions, MOP (although to be fair that's because there appears to be no object system at all), or symbolic datatype.

Meanwhile, those wanting the maximum performance possible will be disappointed at the presence of garbage collection.

Is the idea that this provides a convenient middle-ground? That might make sense, but at least from my perspective it's far enough away from that point on the efficiency/expressiveness design curve that I might as well just pick either Rust or CL.
Most people who have Bitcoin don't spend it, only trade it. If you're only trading it, then your only interaction with Bitcoin is via exchanges. A handful of exchanges control most of the trades.
>> var myValue = DoSomethingAsync().ConfigureAwait(false).Result;

Doing this inside ASP.NET request processing code (e.g. a controller method) will result in thread pool starvation [1], if you see about 50-100 (the numbers are off the top of my head, so check for yourself) requests per minute hitting that line of code.

P.S.: Sorry for a medium link, but couldn't really find an alternative.

[1]: https://medium.com/criteo-engineering/net-threadpool-starvat...
E2E tests aren't worth it if they produce false positives and don't prevent defects from reaching production. By definition. Too many devs treat automated testing as a goal in and of itself.
It is why software needs support to (optionally, if configured by the user) do such things as non-tunneling proxies for HTTPS. (There are other problems too, which can be solved by other changes to the software. Not all of them have to do with HTTPS, though.)

Neither HTTPS or other protocols prevent whatever service you are using from using it badly, or from malware in the client or server side. Just because it is HTTPS does not necessarily mean that it is desirable.

I currently do not have any TLS server in my computer, although I intend that I may later add it as an option (but without redirecting; if it is implemented, both the TLS and non-TLS will remain available). However, some of my projects are mirrored on the Chisel fossil hosting which allows both TLS and non-TLS to connect.

(And, in the case of obscured data, even if the protocol isn't encrypted the program might make its own encryption, and disabling TLS (even if you have the opportunity to do so) won't help.)
Came here to post about the LASD cop-gangs. I think some of the best work on this comes from Knock LA [1].

The good news, if there is any, is that institutions as corrupt and violent as American police, who operate freely and with complete impunity and social sanction, respond to the same things that other, similar institutions -- like the mafia, for instance -- do: sunlight.

I think that shining light on this stuff is extremely powerful, and the proof is right in this story: opposition to this POS didn't go unnoticed -- he sought to stamp it out and hide that he was doing it. These people are deeply afraid of a critical mass of the population becoming sick of their shit. So this means it's working. Let's keep it up!

[1] https://knock-la.com/lasd-gangs-little-devils-wayside-whitie...
I'm of the opinion that if, when things like this happen, the house isn't cleaned, it will only embolden others to do this.
China Cracks Down on Cryptocurrencies
> Smartphones have stagnated

The big camera companies have as well. How much better is Canon's or Sony's best camera this year than a year or two ago? They don't have the same constraints that a phone company has and it seems like there's not a lot of year-over-year advancement.
Maybe we should be considering the other types of positions they could’ve been entering. Consider the backgrounds of many of these people - they’re not high school graduates.
> 'this' is on HN right now becuase rastafang posted it

uh sure, I don't think news without human intervention exists yet

> It was unnoticed at the event itself, barely noticed when they wrote a story about it and is only now noticed thanks to being upvoted on here.

feel free to point people to the charity with a perfect track record! I'm kind of flabbergasted by how fickle people are being about this.
Heroes are sacrificing themselves for the sake of others. Here we don't know if it was a sacrifice or merely an unusual hobby.
There was a BBC documentary where a woman self reports eating 1000cal and tests reveal she'd eaten over 3000.
https://m.youtube.com/watch?v=KA9AdlhB18o
I don't know about Canada specifically, but generally there are situations where one can be waiting for a residence permit or waiting to be fully registered as a resident, etc. It can take several months in some western European countries despite the same laws that nobody can be denied a bank account. This can create a lot of inconvenience for legal residents that recently immigrated since some of those countries also have systems that use banks for ID.
Yes, it's nonsensical to say that X can't be reduced when you "only" have control over a strict upper bound on X.

The real problem is that eating less is HARD. I have the utmost sympathy for people who struggle to eat less. I think it's great that we have many strategies to eat less, I hope that we develop more strategies and more effective strategies, and I wish everyone luck in their search.

I think it's actively counterproductive to say that "eat fewer calories" isn't the goal, though. Calories should be a first stop for measuring the efficacy of your strategies. Getting rid of your primary measuring stick is madness. If "CICO Sucks" claimants came armed with better measuring sticks, sure, they would have a point, but they generally don't, meaning their actual proposal is to discard the yardstick, which is madness. How do you hope to find an effective strategy if you can't measure the efficacy of your strategy?

Good: "De-rate exercise calories by 50% due to compensation."

Ok: "Count your calories."

Bad: ...

Really Bad: "CICO sucks, nobody knows anything, so buy my book and try my fad diet!"
I'm going to guess that they're referring to only allowing "cream of the crop" immigration. (eg H1B or other visas often are only open to top candidates, not everyone)
I just imagine the scramble to get carbon neutral allowing huge carbon-processing factories and then we enter some kind of carbon deficit, back in the same situation we are in—a teetering balance between overconsumption and moderation.
Two different ways, in my opinion. The most direct way was the part about serving the people of the United States. I can't do that in a neutral way while actively manipulating the economy, even slightly. The more indirect way is the oath to bear true faith and allegiance to the Constitution. To me "true faith" means much more than following the letter of the law. By and large, companies big enough to IPO are amoral money machines that do all they can to bypass the laws regulating their behavior and ignore the rights of American citizens, and even getting caught is just a line item on their legal budget. I can't participate in a system like that while bearing true faith to my country and Constitution.
Why not both?

Beyond unit test, we have docker compose spin up our service(s) and its dependencies. If those dependencies have too big a web, we may point at a staging instance or a fake server, but we routinely will spin up dependencies that will run a local kafka and zookeeper for them to run, are backed by mysql and redis, etc.

We then test our service at its incoming edges (feed its incoming queue or call its endpoints) and verify its output (via logs, metrics, and sinks).

We also have end to end tests that exercise our our services from the customer's point of view, but take place in our staging environment. These do suffer from many of the points the article points out, but we run these tests concurrently, and, when not flaky, can pass in 10 minutes.

We are addressing flaky tests by addressing their root cause: flaky services in staging. We are expecting teams to have mature monitoring of services in staging and tying improvements directly to flaky failed tests. We are also improving traceability so a failed test is easier to debug to understand if it was a failed service request somewhere in the stack.
Sometimes you have "state S that we got from a coredump from a customer that happened once every 30 computer-years in their deployment so we know it is reachable, but haven't ever seen it happen in-house"
Oh I'm not dissing this particular endeavour or anything-I more meant to point out that I was surprised by my own initial reaction was so negative. There are certainly uses for summaries, and by no means does a summary replace the existence of the original text.
They just did!
Well, monthly OS updates for Android tend to be just a few megabytes, so I'm presuming they use some sort of binary diffing algorithm.
For exchanges that use USDT, exchanging for crypto is your only immediate option.
Yeah 12 years ago people actually thought they'd be using Bitcoin as it was intended: as a currency. Now most people know better than to do anything but trade it.
Their original claim was that they don’t log IPs by default, not that they don’t log them even when required by law.
I would believe it if it weren’t written in the LA Times. They’ve lost all credibility in the last few years, which is a shame because occasionally they have really stellar bits of journalism. But alas, I can no longer trust them, and local politics is an area where their reporting is especially prone to bias. I guess they aren’t alone in falling prey to the same economic forces as other formerly renowned journalistic institutions.