skysight-inc/HackerNews huggingface dataset:
The parent comment to which you are responding and the comments replying to you are an interesting insight to the mindset behind the comments: nobody can even conceive of going to a ball park for 3 entire hours and not gorging on concessions.

The concept of a beer/soda and a hotdog or whatever have been so burned into the American psyche that people have a hard time separating the snacks from the sport.
Oh, I see. The response carries along all the information necessary to continue interacting with the system directly within itself. For example, in HTML there are forms for the purpose you just mentioned, I'll give you two examples:

<form method="get" action="search">
<input name="q" type="text">

<form method="get" action="filter">
<select name="items_per_page">
<option>10</option>
<option>20</option>
<option>50</option>
</select>

The server instructs what query parameters are supported via the media type and its applicable semantics that are hopefully well defined, which is the case for HTML. Since the client (here: "remote COMPUTER", respectively its user agent) understands the media type, it can successfully uphold its half of the contract and generate the correct resource identifiers and accompanying HTTP requests that are delectable to the server.

The same idea applies to other media types.
This is exactly how I feel as well. There is a ton of stuff that lawyers do that is basically rote, there are a handful of questions you need to ask, and then you do the thing, and there's no reason someone with an associate's degree and a six week training course couldn't do it, with a strict rule to refer more complicated stuff to the attorneys.
> I've made over 600 releases.

I just checked. It's probably closer to 750.
That's how it's felt at literally every software job I've had that has done the "standup" thing.
The most cost effective mirrors to cover a large fraction of the Earth and reflect back the sun's heat are... the polar ice caps. Which we are melting because of climate change.

This is one of the main reasons people are so worried about it being "too late" to fix climate change. There are positive feedback loops like this where a little increased heat causes even more rise in temperature.
I said C++ was diff, but how about:

using namespace std;
typedef vector<unordered_map<string, pair<string, string>> foo_bar_xref;

foo_bar_xref foo( vector<vector<int>> x, unordered_map<string, string> y);

not sprinkling std:: everywhere helps with readability, but so does defining a couple types used frequently, especially if they are particularly verbose. And of course the parser doesn't really have a problem with this, so your editor should be able to find it with its 'goto declaration' function. I don't feel pity for people who chose to use editors/IDEs that make this difficult.
Definitely what I said
> "It’s been less than 100 years since Germany had a raving lunatic trying to conquer the world at the helm, and less than 50 since they were split in half between two world superpowers."

It is an absolute mystery why this does not inspire utmost confidence in the future of safe nuke waste storage...
3.5M people died last year in the US. as usual, heart disease and cancer were the overwhelming leaders. covid claimed ~460K, but that's "deaths involving covid", not "from covid". there is no evidence of "permanent damage" from covid. a novel contagion of any kind will exhibit its highest mortality rates at the beginning of its epidemic incursion, and eventually reach steady state. from all indications, the steady state of covid will follow its coronavirus predecessors and settle at negligible death rates. heart disease and cancer will continue to kill millions into the foreseeable future.

that's not to dismiss the threat of covid, but to merely put it in perspective. people at risk (elderly, or with co-morbidities) should get vaccinated and perhaps take other precautions. but none of that fearmongering did any good, and in fact, did a lot of bad, by sowing division rather than fostering unity.
At least in Postgres, having a huge amount of "dead" data in large tables is problematic because vacuum always has to read the full data set.

Even with conditional indexes where you exclude deleted data you take a significant performance hit reading dead blocks because there is no way to quickly vacuum them. You accumulate hours of bloat until your vacuum finishes.

You can't beat a separate insert only archive table which you never have to vacuum.
> "can watch Netflix on your laptop or mobile device while traveling" and "watch Netflix on a TV outside your home for up to two weeks as long as your account has not been previously used in that location. This is allowed once per location per year."

This seems bonkers. If I visit the same hotel for one day twice in the same year, that counts as a second home?
XTDB: xtdb.com
If you are an engineer, you could be making more money than your manager within months. In the post-COVID era it really isn't that difficult not to care about some jerk, unless you are a particularly sensitive individual.
Well you see, you need a complete record of when it was created, every change that occurred, everyone who could view it and also log every access attempt. But it. You're not actually supposed to keep it. Just everything surrounding it.
> They are sealed systems. They only emit gasses when breached. Or when not properly disposed of.

And mechanical devices having leaks is a folklore tale told to scare children?

> A few watts - whatever power it requires to operate. Say it uses 1.5kw. That's the max it will heat up the city.

Yeah. 1500W. Times the number of AC units in the city. That's what adds up to the temperature difference between the city and the countryside.

> If you power AC units with sunlight...

...with a solar panel above your own home, with no inefficiency in the electrical grid, the solar panel, or the AC unit itself. Please, this isn't a high school physics exam, you can't assume that there is no friction or that the AC unit is spherical. This is real life.
ElectraMeccanica Solo
Quantum Virtual Machine to accelerate research and learning
I think the only solution is to have the triage process rely less on people strictly following conservative decision trees or clinical algorithms, and more on experienced clinicians who are prepared to use their judgement and assume some individual risk.

(e.g., GPs have told me that GP-led telephone triage can in some cases be cheaper than nurse-led triage for Out of Hours calls, because the GPs can use their greater experience to be less conservative)

Unfortunately this requires having enough such clinicians available...
when you're doing neither top-bottom nor bottom-up. I think pg or some other lisper described that by a set of thin DSLs, so not purely bottom-up, something a bit more agile.
The sheeple have been corporatized. They sit in front of the idiot box for 21+ hours weekly soaking up the advertisements telling them what to buy and where to vacation. Most people are boring and unoriginal. They just want do the same things as all the other sheeple
Just as applicable to music and video. This is the reason Spotify works and Netflix used to work but no longer does.

People no longer pirate music because Spotify is more convenient. Those who still do are archivists (data hoarders) and nothing will stop them.

Netflix used to be like that.
This is always what happens when the most militant positions are allowed or even encouraged to control discourse: we end up in an extremist situation.
BMW Wants to Charge for Heated Seats. These Grey Market Hackers Will Fix That
> Without competition, software rots and/or never gets better. [...] systemd since it was locked in as the only properly supported Debian/Ubuntu init

To be fair, systemd was rotten to the core from day one (literally - namely, the core concept of shoving as much crap into pid 1 as possible to abuse the special semantics that are supposed to only allow for reaping of orphan processes), so you can't really blame that on lack of competition.

Your overall point is spot on, though. (And I suppose you could blame lack of sufficiently direct/credible competition for Debian being able to shove systemd down everyone's throats, rather than being forced to support multiple init systems.)
MiniDisc was a failure compared to its contemporary competition, namely CDs. I doubt you could find any country where MiniDisc sold even half as well as CD/CD-related products. IIRC in its total lifetime only a few tens of millions of units were sold. That's not an abject failure but those are rookie numbers compared to CD players and CDs.

They were rare in the US in part because they were very expensive. A portable MD player was hundreds of dollars where a portable cassette player with an AM/FM radio built in was $20-30. They stayed expensive even as CDs and CD players (including portables) got less and less expensive. Very few albums were released on MD in the US so even if you invested all the money in the format you were paying $30-50 for "import" discs.
I don't really agree with that. Within an organization you have documentation and instruction as tools - but you're also making the dumb approach (SELECT * FROM blah) the correct approach. If a user is writing a query against the DB, has no idea what the layout of the data is, and decides to prefer blahwithdeleted over blah then I'd really question whats going on at your organization - blahwithdeleted is pretty clearly self-documenting and it's likely a lot of your other domain specific tables with be much harder to naively discover your way through.

I, personally, would in no way restrict access to blahwithdeleted, but I have made a pattern of it in our DB, there are about a dozen blahwithdeleted tables - each with a corresponding blah view... I usually get about one question per every two new employees about which table to use which I can answer in less than a minute with a helpful little explanation.

I'd also mention I've not made a specific value statement on soft deletions in a general case since, if there was a clear general case solution we'd just all do that. This is a decision that needs to be made on a per table basis - it's a rather trivial decision in most cases, but it's very specific to the problem at hand.
You could get day tickets at Disneyland before EPCOT opened. I still have some that are hand stamped and signed from the late 70's.

The parks are out of control. You pay more for longer wait times. On the other hand if they lowered prices/let more people in, the wait times and crowding would be even worse and there would be complaining about that. The real problem is they just need more parks - some in the midwest wouldn't kill them so people wouldn't have to travel as far. Spread the load out.

It might have just been bias growing up with Disneyland but I much preferred it to the magic kingdom - it seemed like they watered the individual parks down to encourage people to park hop.

The real issue is I think a lot of companies just assumed they couldn't compete at the same level as Disney so they didn't even bother trying. I think Universal with Harry Potter found out that yes, you can steal attendees from the house of mouse and providing a themed experience is also doable - they are far from invulnerable. I'm eagerly looking forward to Universal's Epic Universe; hopefully it will light a fire under others (hey Cedar Fair - there's more to parks than just coasters!) that it is worth it to up their game too.
This is one of those situations where a good ORM can simplify things greatly. For example, with EF Core you can add a global filter which will filter out soft-deleted rows in all queries automatically (unless you add .IgnoreQueryFilters()).

It couples nicely with some hackery which turns removes into soft-deletes. You can remove objects as usual and they get soft-deleted in the database.

I've used this in a few projects and it's fantastic.

https://docs.microsoft.com/en-us/ef/core/querying/filters

https://www.thereformedprogrammer.net/ef-core-in-depth-soft-...
Everytime I see someone from a company actually caring to help out users even befor asking brings little joy :)
I will check it out. The last 70s series I read was RingWorld
You're right, Disney is sad. Everything they said was true.
If, instead of text markup, the server just sent an image of the entire UI remote-desktop style how would it be any different? You could still have a single URL that is entered, all information needed to traverse the service can be encoded in the request/responses, and no knowledge of the entire interface is needed by the client.

But we have diverged pretty far from the point. Software clients using REST APIs cannot use the self-describing nature of REST so to claim they're all using it incorrectly I don't believe is a valid criticism. Browser-like clients, and you can include hyperview in that, can use the self-describing nature because they're pushing all the understanding to the user. But that is such a niche experience (outside of HTML browsers) that it isn't even worth discussing. For hyperview, it's not consuming generic REST APIs -- it's just acting as mobile-specific browser for a single service. That's why I said it's not really interesting.
It's something that a team of a PM, a QA and two developers can bill for at least a sprint. So, well worth it.
Yes because every software engineer is at a SV startup or is a FAANG employee earning 100k+...
From Matt Levine's ongoing coverage:

> On Tuesday, there will be a hearing on Twitter’s motion to expedite the case and have a trial in September, which Musk is opposing. (He wants a trial in February 2023.) That hearing will not decide the case or anything, but it will set the tone in important ways.

> If the judge, Delaware Chancellor Kathaleen McCormick, agrees with Musk that this should be a fact-intensive trial in which dozens of experts will have to testify about how to count bots, then she will probably delay the trial until 2023. That will be very good for Musk: the delay, but also the focus on bot-counting.

> If she agrees with Twitter that this should be a straightforward trial about what the merger agreement says and whether Musk has to do it, then she will probably set the trial for September, and that will be very good for Twitter.

( https://www.bloomberg.com/opinion/articles/2022-07-18/elon-w... )

This is a big win for Twitter.
no, that's literally falling for the appeal to authority fallacy. just because a journalist has some experience in a field tells you nothing a priori about how they evaluate other information in the field. you have to evaluate their ability to evaluate that information to get any insight into how trustworthy they can be.
Just create a rule in Gmail that skips your inbox and immediately deletes the email from that particular domain. You won't be notified and you don't have to worry about accessing someone else's private data.
>E-Bikes should need a proper licence,

I wish people would stop advocating for the absolute bottom of the barrel technical competency wise people in places of political power to pass some sort of regulation on technology.

In a perfect world, lots of correctly done, statistically based regulation would be a good thing, but in the world we live in, the less regulation, the better.
I have a copy, I think 10 might be a little young still.
> There's Sourcehut. But I have friends with beef with the guy who made it and I don't want to support him.

What's their beef if you don't mind me asking? Drew seems like a nice enough guy. He is very opinionated obviously, but he's created many amazing FOSS projects.
Don't just post that without giving specifics. If it's true, help developers out and elaborate.
Good for you, but at least in the US, R600a (isobutane) is not used in AC units.

Besides, in the early XXth century, it was okay to vent CFC into the atmosphere. We didn't know that it destroyed the ozone layer. What makes you think that we won't discover something similar about isobutane in a few decades, besides wishful thinking?
Just a quick link to alert people who may not realize who/what he promotes.

I read all sorts of terrible stuff, and it probably influences me more then I'd like, but it's easy to jump in the middle of something that "seems" reasonable on the Internet.
Core-JS – tries to run shell script on NPM postinstall
this looks amazing, thank you for the suggestion
No, because I think nukes can be throttled and designed for load following, particularly on the timeframes required for grid supply.
Quantum fields are mathematical tools, they are not what the universe is made out of.
People had no qualms with the name when millions installed Quibi for free trials during the start of Covid, the problem is they didn't want to pay for it.
Nope, VW around WWII (I think just before - need to go re-read)

EDIT: It was post WWII. And VW Type 2 is profiled in the wikipedia article: https://en.wikipedia.org/wiki/Chicken_tax
I feel like the "wind and solar only!" crowd love to point out externalities of other forms of power generation but not wind and solar. It's not magic; we don't just conjure up windmills and solar panels from thin air and magically suck electricity from them. There are real costs, risks, and suboptimal function of all these systems.
> Specifically, the wealthiest ones can afford to have high-minded philosophical opinions about what life is, because if/when they ever encounter the real need for an abortion, they can just get one!

Excerpt it’s overwhelmingly the wealthy minorities—the ones assimilated into highly educated majority white spaces—that agree with white liberals on this. It’s the working class ones and first generation immigrants that view abortion with more skepticism. Among Hispanics, just 29% of the ones who speak Spanish at home believe abortion should be legal, and 41% of first generation immigrants.

> a lot of people also feel that you championing the government to control our bodies is indeed very disrespectful, so there's enough disrespect to go around.

Those people can make their arguments based on individual liberty on their own dime. Why bring minorities into it?

If I’m being cynical, the reason is that the highly educated white people who have categorical beliefs about personal autonomy—and also usually reject religion—realize they aren’t a sympathetic political grouping. So they use women and minorities as a cover.

And that’s wrong! You’re trading on other people’s identities to advance libertarian views that most of them reject. You’re treating them as subjects in an application of your own philosophy of personal autonomy, instead of independent members of the body politic that have their own positions on these issues—positions that don’t reflect libertarian philosophies about personal liberty.
>programming languages with few exception tend to reach, approach, or at least point toward their all-time peak market penetration around age 10

How are you coming to this conclusion? I can think of more counter examples than actual examples (Almost every language on the top 10 aside from PHP where close to peak market penetration at age 10).
Well the headline did it's job, it scared the shit out of everyone that bought it. And even when they find out it was bullshit, there will still be a residual state of slightly heightened fear, just a little more on top of what we've been fed for decades.
It really depends on what bit of computer science you are learning.

C++ is definitely past its prime and has been surpassed in many areas by other languages but there are still a bunch of domains where it is the primary language.
Never experienced it in aerospace engineering. The only "weed-out" courses I had were electrical requirements.
It's perfectly reasonable from a theoretical standpoint, but what kind of engineering modifications would be involved? It's not as simple as bolting a compartment to the side. They'd have to engineer something recessed so that it doesn't interfere with the aerodynamic profile of the capsule. Do-able, sure, feasible, probably not. What would happen if the capsule landed gun compartment side down? If I were a Russian engineer and project manager I'd tell you to get out of my office with such a frivolous request.

Edit: I also realized that an external firearm container would likely imply the handgun would be exposed to the vacuum of space and the temperature swings involved. Given that Soyuz capsules can be in space for months at a time, there would have to be considerable re-engineering of the firearm and the ammunition in order to accommodate this proposed change.
Minibuffer completion, in-buffer completion aka completion at point (CAPF), completion styles and all the things you would like to know about completion.
Understanding the x64 code models (2012)
It's moderately annoying to implement because it messes with the calling convention in architecture dependent ways. So it isn't an IR transform, it's N lowerings for N architectures.

Clang and llvm understand them, and you can require them from the front end, but the cost is some backends will hard error on them as unimplemented.
This is a really scenario specific question - sometimes it's needed, sometimes it isn't. At my shop we have customers that will suspend their account but our sales team is pretty damn awesome so usually they end up renewing after going a while without our product - so being able to easily restore a large swath of former customers with all their permissions and preferences intact with a simple click of a button is a huge win compared to having a dev try to piece the data together out of backups that are six months out of date (a little secret... we never did this and just put the obligation on the CS team to manually recreate the records since that cost the company less).
> It couldn't just have been a ploy to cash in on TSLA stock before it fell from its unsustainable heights could it?

He's done things like this before when he wanted to take Tesla private... so maybe.

>Why wouldn't you do this before making an all-cash offer at a significant premium above what any analyst would have valued it at?

I don't know this answer either. I'm trying to decide whether Elon (or his investors) were pushy to get it closed and failed to get the deal done before the market nosedived, or, he and his team are deliberately misinterpreting the whole, requesting information for "reasonable business purpose related to the consummation of the transactions contemplated by this Agreement." That seems to be a clause intended for information need related to closing the deal, but might be getting interpreted as a due diligence clause (since no due diligence was done).
An event store is just a special case of a temporal database. The whole point of temporal databases is to natively support the notion of historical vs. current data.
Enjoy freezing to death this winter (assuming you're German).

While this is definitely hyperbolic, it's becoming less so every day this insanity with energy continues.
Yup. The old Ranger died because it was a partnership between Mazda and Ford - and it expired.

With the chicken tax squelching real competition and the fact that they can charge more for larger vehicles - whelp, you end up with the current American market where there are truly no more mini pickups. It sucks!
Ask HN: How do you develop locally with privacy/security in mind?
I do most of my software development locally on my Mac. This requires installing and giving full system access to hundreds of Python and Node libraries which I've been blindly trusting so far. I've explored the idea of remote development on a VPS (via VS Code remote plugin or vi) but constant connectivity requirement is a deal breaker to me.

How do you develop locally while making sure the privacy/security of your system is not compromised? This is my only computer where I do all my personal banking and other sensitive tasks.
Then there's always the joy of a situation where your client is being sued by one of their clients and now needs your help recovering everything possible from your platform. And you're going to help them because you'd like to keep them as a client rather than let them be sued into oblivion.