skysight-inc/HackerNews huggingface dataset:
Ignore money. Think in terms of stuff. Metal that gets put into Humvees can't be put into something else. We threw away an insane amount of stuff.

And think in terms of people. People that spend a year as soldiers in Afghanistan can't spend that year doing something else. We threw an insane amount of people-time, and a tragically insane amount of people.

There is an opportunity cost in terms of both stuff and people. We can print money, but we can't print stuff or people.
Read my username.
Try the red pill on reddit, if it hasn't been banned yet for wrongthink.
The problem with email is that it is not online. It transfers mail to a place, and then it's up to that place to hold it. Email uses the internet, but it does not make content available online.

Social won because it brought us online. It made information & connections pervasively available, anywhere, from any device. Folks who came latter could benefit from what already happened.

Just building good on-the-wire protocols (like email) is not enough. We need good at-rest protocols, good ways to keep information online. I'd propose that systems like Newsgroups are far closer to what we ought be shooting for: a replicateable, threaded means of communicating.
When I "penny-pinch", I don't do it to save money, but instead to reward the sellers who have the lower price.
> It sounds like you're thinking of virtual memory (i.e. pages of memory either being in RAM or on disk).

I think I mostly just used the wrong term (page instead of line) -- I'm on board with the distinction you're drawing.

> But if you're unlucky and they are fighting for the same cache line, then each access can end up evicting the previous one and forcing a main memory look up for every single component.

Yeah, I think this specifically is what I'm having a hard time imagining. I guess it depends on how which memory regions get mapped into which cache lines, and I think I'm assuming something closer to fully-associative, while you're allowing for something closer to direct-mapped.

I can see the trouble -- you don't really have much control over the mapping, unless you make some really deep assumptions about the CPU architecture and go to great lengths to position your arrays appropriately in memory. That would certainly be in the original spirit of data-oriented design, but it's perhaps a bit beyond reasonable for most systems.

Thanks for working through this with me!

(P.S. For others, I found this illustration that helped load a bit of CPU cache architecture back into my brain: http://csillustrated.berkeley.edu/PDFs/handouts/cache-3-asso...)
That sentence is grammatically incorrect. But even if meaning this, calling him an a-hole is a bit harsh, especially for HN.
Yep, basically anything capable of playing new games on lower setting at 720p, and > 3yr old games at better settings should be highly competitive in the low-end gaming market. Especially laptops where they might be a secondary machine for gamers with a high end desktop.
Optical adversarial attack can change the meaning of road signs
Don't support walled gardens people.
> Supercharger location #532 is not the Cracker Barrel where the kids want to take a break at

No, it's probably somewhere interesting though. both Superchargers and ElectrifyAmerica in the US are in locations where there's interesting things to do or look at. Chargers are like every 40-50 miles or so, it's not like you have to wait an hour if you want to stop.

> Have you ever traveled with kids before?

Yes, a lot, in France, and I've never seen kids actually dictating when you stop.

Maybe it's a white American parenting thing, or an artefact of how French highways are built where you're not stopping if you just missed the rest area and they're all the same anyway?
I hate to be "that guy" too, but coming from somebody who really likes Rust and is using it more and more (also at $dayjob now) we must admit that Go tooling is one step ahead. CPU profiler, allocation and heap profiler, lock contention profiler. It all comes out of the box.

Yes you have cargo flamegraph for profiling locally and you now have pprof-rs to mimick Go's embedded pprof support. But allocation heap profiling is still something I struggle with.

I saw there was a pprof-rs PR with a heap profiler but there was some doubt as to whether it worked correctly; to get a feeling of how that approach would work but without having to fork pprof-rs I implemented the https://github.com/mkmik/heappy crate which I can use to produce memory allocation flamegraphs (using the same "go tool pprof" tooling!) in real code I run and figure out if it works in practice before pushing it upstream.

But stuff you give for granted like figuring out which structure accounts for most used memory, is very hard to achieve. The servo project uses an internal macro that help you trace the object sizes but it's hard to use outside the servo project.

The GC makes some things very easy, and it's not just about programmers not having to care about memory; it's also that the same reference tracing mechanism used to implement GC can be used to cheaply get profiling information.
I hope you all make progress on your quests to suck (and lick) my johnson.
Its worth keeping in mind that typically those huge budget games spend approx half of their budget on marketing.

For example, Red Dead Redemption 2's budget was US$ 70–240 million on development and a further 200–300 million on marketing: https://venturebeat.com/2018/10/31/red-dead-redemption-2-cou...

> Given the sacrifices that developers and especially artists have to undergo to work in the industry, I have absolutely no problem with saying that video games should monetize as much as they can, to ensure that the crew can continue to make a decent living.

If the money actually went to the developers, I'd agree, but largely it doesn't. It goes to the executives. Bobby Kotick got a US$200 million bonus while at the same time laying off staff. The money made by big budget AAA titles largely doesn't go to the developers who have to undergo those sacrifices, it goes to already rich executives who don't need it and make no sacrifices.
Let me preface this comment by saying that I’m completely serious in this advice.

After a certain age, and after a certain duration of long term relationship, there are only two paths you can go down.

The first is the life of a monk. You cut yourself off from the toil of relationships and your other life passions become the focus of your existence. Your hobbies and intellectual pursuits occupy your time.

The other is the path of the lecher. Embrace it completely and don’t look back. Treat carnal desires the same as a hankering for a nice steak or Pho.

The choice is yours. Either way, live your life on your own terms and don’t feel obligated to recreate whatever failed state you had before.
How does it compare to this?

https://github.com/maplibre/maplibre-gl-js
There is a way to do it where you recompile the APK to enable trusting user CAs, see https://daksh.github.io/MITM/.
Leipzig.js – Interlinear Glossing for the Browser
Of course Amazon kinda already does that on Android with Fire OS. It surprised me they never teamed up with phone manufacturers.

Not that Fire OS or its store is very good but they have the infrastructure.
DAPP Token Whitelisted on Bancor
Isn't that the case for the vast majority of languages though? The python,c,Haskell,js,language x code from 2015 works the same now as it did 5 years ago.
X-Ray? How can that be trademarked by Amazon?
> What would it look like if social platforms were required to integrate with an interoperable social infrastructure, or even used email itself as this standard?

No mention of Mastodon or the Fediverse or ActivityPub or even RSS. Nevertheless, the article does a good of job of introducing people to the problem of platform monopolies and the importance of interoperability.
You're misunderstanding him at best and projecting at worst.

He's saying that he no longer has to worry about those things the same way cruise control lets you not worry about the speedometer needle and dedicate more of your attention budget outside the car.

Of course you can be an idiot and spend it on your cell phone but that's not really a failure mode specific to any given vehicle technology.
One large related thread:

Warzone 2100: A Free and Open Source Real-Time Strategy Game - https://news.ycombinator.com/item?id=13334100 - Jan 2017 (135 comments)
Insurance companies DO buy data like this. It is not perhaps. They buy data about you that they do not use to your advantage. They have no interest in lowering your premiums and every interest in raising them.

One other example is the 2016 election and cambridge analytica. Not going to make a political case on the politicians, but the political parties (and foreign govs with interest in the outcome) bought data on electors to try and persuade them to vote for one candidate or the other. Or to make them think issue X is bigger deal than they previously did. People don't like to lose autonomy in politics and data is good for targeting and persuasion.

Of course, the big what-if is also worrisome. Maybe not to you, but to many. Some people are more concerned than others. If your of one minority religion, then you might worry if that religion gets targeted will gov buy data to identify individuals (eg china and Uyghurs or trump and his proposed list of muslums). Maybe your gay in a nation that isn't friendly to that. Its very easy to tell if someone is queer from mass collected data. That could be a concern if the gov starts looking for people.

Another less scary but not great what-if: Many govs (including some us govs) are doing more "pro-active policing" where they try to prevent crimes, often with biased data. Right now its pretty targeted at going to minority neighborhoods, but maybe one day it'll target underage people who buy alcohol paraphernalia to see if they drink underage. Minor crime oft-committed, but probably easy to identify from only grocery store purchase data - especially if you combine that with camera data (walk in/out with someone who buys booze while they buy solo cups). While the under-age drinking is a silly example, it uses pretty easily available data. Think of all the minor crimes people knowingly commit that no one actually cares to enforce. Now imagine what we could do if a computer can just spit out a list of names.

There are so many ways the data can be (ab)used and people come up with more every day.
I replied in a few other threads on this. We don't make the user's data accessible via API outside of the app the user connected. Your personal data is not sold or rented or given away or bartered to parties that are not Plaid, your bank, or the connected app.

We talk about all of this in our privacy policy, including ways that data could be used — for example, with data processors/service providers (like AWS which hosts our services) for the purposes of running Plaid’s services or for a user’s connected app to provide their services.

Here's the policy if you want to look: https://plaid.com/legal/#consumers
If you think the magnetic strip looks cool, wait until you see a credit card imprinter!
This is a bit similar to the book-in-progress “In the cells of the eggplant”.

https://metarationality.com/

I highly recommend reading it. I found it extremely clarifying as a working scientist/engineer and someone who has been persistently nagged by the deification of rationality.

The OP even uses the term “metarational” (though used to mean something different), which made me surprised when “The Eggplant” was not mentioned.
It happens very rarely in New Zealand, and when it does it is national news (or international news as per your link).

Also our government response to such events is usually functional, with national changes to procedures and systems to try and avoid repeating mistakes.
The fundamental problem is that we need some way of separating good ideas from bad, as a society. Sure, it was a big leap forward when we switched from "whatever the king says" to "let everyone shout as loud as they can and whoever shouts the loudest wins", but the truth we have to face up to is that neither method works particularly well, especially in the age of the internet.

So, is there a better system? A way we can bubble "good" ideas up and suppress "bad" ideas, ideally without some corruptible central arbiter? And, will such a system inevitably be viewed as "censorship" by some, purely on the principle that the current shouting-based system favors them more than a meritocratic one would?
Not sure if anyone else can relate but my wife had T-Mobile and was sim hacked. Her bank account got hacked. Her email address got hacked. All because to protect the bank account I put in second factor auth using her T-Mobile number. She talked to her colleagues who reported that their phone was sim hacked too on tmobile. We switched.

No hacks now.
That doesn't mean the individual games or studios were profitable.

https://www.polygon.com/2014/2/21/5431332/what-irrational-ga...

> Earlier this month, Irrational co-founder Ken Levine announced that less than a year after the release of BioShock Infinite, the studio would be "winding down," which meant that everyone but Levine and 15 others were being laid off.
Lumen – Self-hosted Lisp for Lua and JavaScript
China doesn't even have to invade: just an ever incrementally increasing amount of soft pressure, punctuated by slightly larger actions calibrated to fall just below a provocation that requires a response. See their naval exercises for just one example.
> The second you walk into the store based on your face they can pull up your entire purchase history and contact. They are now crunching that data to improve retail layouts, marketing pitches, etc and there is growing market of selling aggregates of that data across merchants.

Super interesting, is there public information about this? Are you are saying they are using customer identity for sample weighting to debias and improve the precision of experiments?
I’ve used Leaflet a ton and love it. But I recently tried using it with a vector-based render method (as opposed to the rastered tiles Leaflet uses by default) and couldn’t find anything that worked anywhere near as easily and simply as Leaflet’s standard rendering.

I don’t blame the Leaflet folks for this really, rendering map data locally via WebGL is not a simple task. But it’s been depressing to see folks like MapBox close off their vector-based library (and Google’s isn’t open either). There’s an open source of Mapbox’s library but it still feels like the open source world is being left out in the cold compared to how things were just a few years ago.
Add them to the repository and treat them like you would treat other code. Chances are, they'll become some sort of tooling later when people tweak them, improve them, make them modular, generalize them.

We introduce many things that way. First it's just a few commands that do something useful. Then included in the repo. Then tweak. Next thing you know there's an endpoint with that functionality because it's useful and frequently needed.
Cal Newport points out the lack of productivity increases in his book about email (which is actually about email and instant messaging), and how it's the default workflow tool and how badly it works for that.
I‘ve had many apps, even very trustworthy ones, show me this permission prompt when my internet connection was down and the router was directing all requests to an error page. So it‘s possible for this prompt to appear without the app developer doing anything bad. Not giving TikTok much benefit of doubt though.
Deaths 9/11 2,996

Deaths Covid-19 USA 621,000

207x

Lack of understanding of large numbers is a flaw in the human mind we have to figure out how to fix.
Approximately $20,000 per person. $1000 a year would have made a nice universal basic income for the last 20 years.
> It was absurd. Who would've predicted that? And what would Trump have done differently, since I'm sure that's your guy. He wanted to pull out by May.

In April, an NPR article [1] has a predictive quotes:

> Gen. Frank McKenzie, head of U.S. Central Command, told the Senate Armed Services Committee last week that if the U.S. does not provide Afghanistan's security forces "with some support, they certainly will collapse."

There's also a quote from Secretary of State Antony Blinken that a Taliban takeover is a possible scenario.

Personally, I'm not surprised that the Taliban took over, although I thought it would take a bit longer. It's also bipartisan (although, usually one side at a time) to complain that the President is on vacation.

[1] https://www.npr.org/2021/04/28/990160846/u-s-unconditional-w...
Yes, it is a symptom of our collective inability to solve problems-- even trivial ones.

Most people I know get between two and ten calls a day, with Id say 3 or 4 being the median.

There are two sorts of calls-- actual spam calls that try and sell you something. And calls to verify a number is active-- these calls just are just silence, but if you pick up, your number will be added to a list of valid phone numbers and sold to spammers.

The spammers then take phone numbers and try to match them up with data breeches etc, or just cold call.

I don't think most people fall for these fraudulent calls, but the elderly are very vulnerable. I've helped several friends parents get control of their computers back after they willingly gave control of it to someone who who claimed to be from "Microsoft tech support" even though they had a mac.
Tatuaggi in Polizia due pesi e due misure?
It hits the mark because it targets the niche that was once occupied by interpreted languages.
> Think in terms of stuff. Metal that gets put into Humvees can't be put into something else. We threw away an insane amount of stuff.

Much of that stuff has actually found itself in the hands of those it was made to fight against. This is significantly worse than throwing it away in my opinion.
> People that spend a year as soldiers in Afghanistan can't spend that year doing something else.

The greatest asset the US has built up over the past twenty or so years fighting in Iraq and Afghanistan is a reserve of soldiers with real world military experience. I’m not saying it justifies the cost. Far from it. But it’s not a complete wash from a mid term strategic analysis.
Ah yes, but Haliburton couldn't spend money on a 'war against mask wearing', so they were the true victims here.

/s, of course.

It's been obvious early on that the whole motive for our ratfucking of the middle east had nothing to do with the "WMDs" nor 9/11... lest we would have not gone under false pretenses, actually had gone after the country who financed the ones who flew the planes, nor remained as long as we had after Bin Laden was found. Instead we spent more money than had ever been spent before on one thing in our country's history... but on another country.

That money went somewhere.

Defense contractors.

Meanwhile, infrastructure all across the US is derelict.

Case in point, 47,000+ bridges in the US are now considered 'structurally deficient.'

https://www.npr.org/2019/04/05/710364158/report-finds-more-t...

Bin Laden himself said what his end goal was.

> "We are continuing this policy in bleeding America to the point of bankruptcy," bin Laden said in a taped statement. Only the smallest sign of al-Qaida would "make generals race there to cause America to suffer human, economic, and political losses without their achieving anything of note other than some benefits for their private corporations."

The article this quote was pulled from is from 2011. So, for at LEAST TEN YEARS, we knew the explicit goal was to prolong an unwinnable war in order to bleed the country dry.

https://www.theatlantic.com/business/archive/2011/05/the-cos...

Why couldn't these defense contractors be paid to bring things up to snuff here instead of pissing it away on a 'war against terror' that we had no hope to win?

Bin Laden got what he wanted in the end.
Blood, toil, tears, and sweat

https://en.m.wikipedia.org/wiki/Blood,_toil,_tears_and_sweat
But we can’t afford universal healthcare.

Edit: Y’all, every other OECD country doesn’t have the healthcare challenges the US has, and they also don’t light trillions of $fiat on fire waging useless wars. You should care how tax dollars are spent.
I think you'll find the young folks aren't the ones making these decisions. It's primarily equally old rich folks and their institutional shareholders, which are often large pension funds.
In my experience (mostly as a consultant to the public sector) all the (potential) productivity gains brought by software are eaten up by two things:

a) Layers of managers whose job appears to be to hold meetings to talk endlessly without ever making a decision or assigning an action, and

b) a complete failure of the same managers to understand how to use the software at their disposal to its fullest extend (eg no enforcement of data quality, no idea how to report useful metrics).

Both of these are the result of the people in positions of authority having no technical background or education and recruiting similar people. If they do think they need someone to analyse data they think that's a low-level position and hire based on a low-level salary with predictable results.
I just tried searching HN for occurrences of "is orthogonal", and it does seem that most uses would be better served with "unrelated". In some cases, however, orthogonal sounds more appropriate, and the reason are the geometric associations that it evokes. For example in the sentence "Having chip/pin is orthogonal to the card being a credit or debit card", orthogonal evokes the image of a contingency table where all the cells are non-zero. The word "unrelated" doesn't have the same effect despite being synonymous.
> But allocation heap profiling is still something I struggle with.

Switch to a dumb allocator and then profile mmap calls or page faults? That should get you large allocations at least. It's a pretty crude proxy. The other allocation profilers I'm aware of cause significant slowdowns.
Some related numbers for just Afghanistan:

American service members killed in Afghanistan through April: 2,448.

U.S. contractors: 3,846.

Afghan national military and police: 66,000.

Other allied service members, including from other NATO member states: 1,144.

Afghan civilians: 47,245.

Taliban and other opposition fighters: 51,191.

Aid workers: 444.

Journalists: 72.

https://apnews.com/article/middle-east-business-afghanistan-...

———

It’s funny, over 60k Afghan police/military died, and our plan was to arm 300k of them and hope they like perpetual war against the Taliban. Yeah, I think they did a hard pass on that one and just wanted it all to stop.
I last had this happen 4 years ago at a pharmacy that was having network issues. But now I no longer have any cards with embossed letters so the imprinting fallback would not longer work for me. I supposed they could fill in the slip manually which seems equivalent to a card-not-present transaction but without the instant confirmation?
Wow, this update is awesome: my GoAWK interpreter (https://github.com/benhoyt/goawk) runs a simple CPU-bound AWK program 38% faster when compiled with Go 1.17 (compared to 1.16).

$ time goawk_go1.16 'BEGIN { for (i=0; i<100000000; i++) s += i; print(s) }'
4999999950000000
real 0m10.158s ...
$ time goawk_go1.17 'BEGIN { for (i=0; i<100000000; i++) s += i; print(s) }'
4999999950000000
real 0m6.268s ...

I wonder why it's so much better than their advertised 5% perf improvement? Here's a quick CPU profile: https://i.imgur.com/csJyOYq.png ... I don't get too much out of it at a glance, just seems like everything's a bunch faster.