skysight-inc/HackerNews huggingface dataset:
apples 2,996

oranges 621,000

I dont dispute your numbers at all...I just don't understand your point. They're just such vastly different situations managed by different sets of people for different reasons. The "war on terror" was excessive and over budget, but not 100% uncalled for. There WERE follow up terror attacks that happened(london bombing 2005, madrid bombing 2004, paris bataclan attack, etc) and there were some that were foiled, even if just by luck like the shoe bomber. I agree that Afghanistan went too far, too long and too expensive but what does that have to do with covid?
Maybe it's just nostalgia, but I think Escape Velocity: Nova still holds up today. I'm also looking forward to Cosmic Frontier, which is a remake/remaster/new engine for Escape Velocity: Override (which I didn't enjoy as much as EV:N)
With two years of working in Go at two companies, I have never had to write that. I can't remember writing the equivalent in Python over even more years, either. The 99% case is building a list/slice, not removing from one.

Have you ever had to remove elements from a list/slice?
This one seems genuinely bipartisan/non-partisan.

Withdrawal from Afghanistan seems to have been the thing you wanted your opponent to take the blame for, whichever side you’re on. Spending on it all the while.
You can find things to complain in any language, including the languages that YOU use.

For every complain like that in Go I'll find a hundred in C++, ten in Java / JavaScript / Python.

As to your question, as a full-time Go programmer: this doesn't come up often.

When it does, I google "slice tricks" and copy & paste the formula.

It'll be fixed by next release because generics will enable writing a function that does that and that function will be in standard library.

Why wasn't this fixed before generics? Because the only way to do it would be via a compiler built-in function and Go team is rightfully reluctant to bloat the language / compiler for minor functionality like that.
OT, but I really love the Getty Museum. Definitely one of the few places worth the trip in LA. If anyone reading has access and hasn't been, consider checking it out. It's not often you see such a large collection of beautiful antiquities, particularly not in such a nice setting.
The problem is not that people keep getting hacked.

The problem is that so many vendors won't do business with you without government ID.

The hacks would be a nonissue if the vendors would let us open accounts without identity information.

I am glad I have an old tmo postpaid account in a fake name with no DOB or SSN on file. I'm not sure such is possible to get today.
Watch a Fully Solar-Powered Yacht Travel the Ocean
You jest, but some of the Taliban's actions have been to take those cell phones and smash them. Girls are to be illiterate, they shouldn't use phones. Even boys aren't supposed to be listening to music, and the modern cell phone gives the boys easy access to music.

Some of the first actions of the Taliban in these new government centers has been to take over the radio stations and stop playing music. Its happening already.

We gave them a society where they can enjoy music, culture, and attempt to gain literacy and education. It didn't last, but its clearly an improvement over the 90s-era Taliban. Whether the people remember that moving forward will be another question.

----------

We pushed too many of our values upon the Afghan citizens. We were pushing for literacy, women's rights, democracy. But they would have been satisfied with far, far less (and having fewer moral qualms would have allowed us to ally up with more of the warlords who were in fact, competent, at security. Unlike the paper-soldiers we assembled).

But I don't think any of our values are in the wrong. It may be only temporary, but I assume the citizens will remember the difference in life one way or the other.
I put together a page that lets you try out different spaced repetition algorithms (with javascript code included), and you can try out your own algorithms as well: https://www.ussherpress.com/freshcards/srs/

There's a link on the page to some info on how to use it as well, since it may not be obvious!
Note: only works if you're logged in.

It brings up editor that appears to be vscode based.
There is no doubt that a lot has been misspent, trillions almost certainly but let's not be naive and say that it could have magically been spent on "better more sensible things" by the same people who misspent it in the first place (congress) and second let's all appreciate that perhaps 1 or 2 trillion a year, perhaps more, is the cost of western civilization not being immediately stomped out by very bad people like nazi china.
Ah yes, technical truth, the best kind of truth.

There could be asteroids of pure palladium, platinum, gold, and silver, and it wouldn't matter a fig until it was cost competitive with digging rocks out of the ground, sticking them on a slow barge to a massive refinery and processing them with cheap, probably exploitative, labor.
What you say is true, but I think people get pissed off when comparing US Military spending vs... basically the entirety of the world

https://www.pgpf.org/chart-archive/0053_defense-comparison

This is so far beyond overkill it's sickening.
I wonder if the IEEE will update ZigBee now
In terms of cutting costs, the way we exited Afghanistan is the best way to do it. Pull out overnight, abandon all the equipment, and the rapid takeover by the Taliban means we don't need to keep running bombing missions to support a slowly retreating national army.

In that regard I'd see the current situation as a success, not a failure. It also seems like the Taliban have chilled out a bit, since we're not seeing widescale reprisals.
Very cynical, if you’re being serious.
I agree with almost everything you have above except "a supermarket frozen pie is still gonna be cheaper than anything I can make." I'd say youd buy the same pie at a store (or at least not at most stores). The ingredients list might be the same, but somehow the gloppy, starched-gel filling in a mushy crust you can buy from Kroger is (hopefully) pretty far from any pie you'd make by hand yourself.
3 months' rent can be the difference between spiraling into financial ruin and not, or between becoming homeless and not.
Can I switch from Windows to Debian for software development
I'm so excited to see things like the Librem 5, Pinephone, and Fairphone popping up along with non-iOS and non-Android operating systems. I hope they get enough support to become a viable alternative to the walled gardens of today. Apple and Google have extracted enough rent; it's time to open things up and build things for the users, not the shareholders.
Just so like as they remember to go back and fix them if the inspector doesn’t catch the mistake…
That would be nice, but also we observers are not owed any such explanation by the creator.
What's really great about this is Terry Tao, a mathematician known primarily for analytics and combinatorics, can, in the space of two blog comments, completely filet a Princeton prof's flawed argument in the largely unrelated field of mathematical logic.
Ah, didn’t know that thanks for the extra tidbit!
You might want to look at this: https://en.m.wikipedia.org/wiki/List_of_countries_by_militar...
Well your are talking about the US, there is just pro or contra...let's change that first...like having NOT a 2 party system ;)
I do think that in practice a hierarchical ontology like that is still best not modeled as a language-level hierarchy because the language inheritance / hierarchy concepts are often not the exact semantic you want, IME. Esp. if it then ties to static types, since you then can't change the hierarchy at runtime. I think even with a data-oriented approach to a hierarchy -- your code isn't necessarily hierarchically organized, it just handles data that happens to express a hierarchy. And you want to be in control of the semantics of said hierarchy with more freedom (and explicitness) than the language-level hierarchy gives you -- so you want your own code that interprets the hierarchy expressed in the data and performs your desired semantics. This also allows artists and narrative or gameplay / level designers to go see and edit the hierarchy and add elements to it.

An example is the prefab hierarchy you get in Unity, which is expressed through the data (prefabs and their relationships). (Note: I mean specifically the prefab inheritance hierarchy, not the transform spatial hierarchy -- the former has more overlap with the "is a" relationships). The code processing this hierarchy could've just been plain C code that parses the files and maintains an in-memory set of structures about them, even. You then get to define how properties inherit, what overriding means, etc. yourself.
This has nothing to do with JS but if you’re looking for something similar for Python I suggest Folium [1] which uses Leaflet.js to render maps on Jupyter notebooks.
You can preview the end result here [2]
[1]: https://github.com/python-visualization/folium [2]: https://python-visualization.github.io/folium/quickstart.htm...
World’s Largest Solar-Powered Battery Is Now 75% Complete
Most of those are warnings like "the attribute you've used from back when HTML was slim and fast is obsolete, please use this slower modern thing instead". I doubt that's making the page slow. Only a few are actual errors.
Can you not just make a fake account?
That David Smithee sure does buy a lot of stuff all over the UK :D .
GC tuning is painful, but it’s quicker and more reliable than rewriting code hoping for same result.
Anti-terror efforts were called for. But there wasn't much overlap between what was called for and what we actually did.
Modern business in the US: 1) Make big profit doing bad thing that harms consumers 2) Pay fine for doing bad thing that is 10% or less of the ill-gotten profit 3) Repeat
I mean, Unicode's emoji reference list does call them "flags": https://unicode.org/emoji/charts/full-emoji-list.html#countr...
I've been migrating to a Google voice # over the past 3 years, and there are still a few places that won't send texts to it. It is a huge pain in the ass. I can't imagine the average person going through this...
Imagine if the data falls in the wrong hands. Wrong as in completely crazy and unreasonably wrong, which might be difficult to imagine, but think about what's currently happening in Afghanistan - rebels have now taken over the country and can do as they wish, and I bet they would be happy to use past purchase data to retroactively punish people who bought the "wrong" things in the past if such data collection systems were in use there.
You are using a non-standard definition of NP-hard. Here are standard definitions.

A problem is in P if there is a polynomial time algorithm to solve it.

A problem is in NP if there is a polynomial time algorithm to check a purported solution.

A problem is in NP-hard if, if there was a polynomial time algorithm to solve it, every problem in NP could be solved in polynomial time.

A problem is NP-complete if it is both in NP and in NP-hard.

For Traveling Salesman, the NP-complete problem is, "...find a solution with total weight less than X." (Linear verification, check it is Hamiltonian, check its weight.) An NP-hard version is, "...find whether there is a solution with total weight less than X." (To verify, you have to search. Oops.) But ANOTHER NP-hard version is, "...find the solution with least total weight". (To verify, you have to search. Oops.)
This is exactly what I was looking for. Thanks for improving my understanding of the last twenty years. I'm happy to hear we (as an American) at least tried to do the right thing and it wasn't entirely as my cynical mind thought.
React users can take a look at this component called Pigeon Maps to accomplish a similar user experience in more React DOM compatible way:

https://pigeon-maps.js.org

Though you miss out on the wide range of Leaflet plugins!
You’re not too young. I know people who are dating in their 50s and finding some joy in the process.
In addition to listening to The Blindboy Podcast (pick and choose the mental-health episodes if his style is otherwise not resonant), I recommend finding a healthy sense of purpose and living for that (perhaps you do already). If I were searching for a mate, I’d look in part for someone who gives their time and effort to help others in some meaningful way. Try volunteering at something you’re not necessarily good at, or taking a class where you get to practice being vulnerable. It’d be a difficult step for me, as I don’t like driving for “unnecessary” things, but if I were searching I’d take a guitar class and practice asking questions that revealed how little I know (I was not this guy in college, to my detriment).
Please don’t go down the fraught path of hating all women and feeling entitled to a relationship. Not saying that’s you.

It’s okay to be single awhile, to learn to love yourself, and to practice gratitude for what you do have. You’ll be easier to fall in love with. Good luck!
I'd seriously hope that any AI self-drive would not just use GPS and motor load sensors to learn its place in the world. You'd also need to spoof accelerometers, gyroscopes, multiple cameras and in case of everything except Tesla also LIDAR, and that convincing enough that no fail-safe is triggered.
What did you end up doing
Ah. That's why it didn't seem to do anything. What this does should really be in the title.
Just tried [OjG](https://github.com/ohler55/ojg) and saw anywhere from zero to 20% faster on the various benchmarks. Nice improvement overall. Hats off to the golang maintainers.
To be fair, there has been no “silence,” the stream of updates has been quite lively.
I don’t have a math background but I learned LaTeX out of necessity. If I needed a resume I might use it just because it seems easier than messing with Word. It’s not like LaTeX is that hard to use so I don’t see why you see it as performative.
"This doesn’t even include the costs... "

that the locals paid.

https://watson.brown.edu/costsofwar/

I am sure Brown exaggerates the number of people killed and displaced, but even a conservative estimate is probably a pretty large number.
Blackberry started smartphones with the user having root by default. iphone changed that and people were perfectly ok with a sudden paradigm shift.
We spend more on the military than the next few biggest spenders combined.
You are correct that I am using a broad brush, but so far it is a broad brush sort of conversation. I realize I'm a (bitter?) cynic at this point and don't have a lot of respect for the videogames industry as a whole from a technical perspective, because it is an industry that prides itself on reinventing wheels, not sharing a lot of efforts between projects, and not trusting nor retaining expertise in the long run. I realize there are a lot of great and novel approaches such as the ones you mention (I appreciate that), but so much of the novelty is siloed and a lot of what I see as a certain kind of outsider is the tiniest slices of things that escaped the siloes such as Unity and Unreal. I realize they aren't accurate to the state of the technical art in some siloes, but these days given the number of games using one or the other of those two common engines today it certainly reflects the "state of the technical median".
> If you didn't have strong enough army to protect you, then you might loose, schools hospitals and what not...

Who the hell is going to attack us before we can mount a response?! We lost a mere 3000 people and launched into 20 years of madness and insanity, all because we were unwilling to blame a president and a political party who was asleep at the wheel, who didn't even bother to pay attention to the terrorist attacks just a few years earlier. And then we let them overreact and waste how many more lives, for nothing? For absolute nothing?

I'm sorry, but your comment makes me absolute furious. It's so completely thoughtless and ignorant and exists only to service those who get wealthy off the blood of our soldiers.

We have lost more than a half million Americans to a pandemic that--given our prior leadership in the area--shouldn't have taken more than a few thousands, where the hell is our response to stop that tragedy again?

We need to cut the military to a tiny time fraction of its current level, almost nothing. Certainly no more than any other country. Redirect allll that spending into something productive.
What does that have to do with covid though? Im not here to justify the war on terror Im just wondering what the basis of comparison is. Covid has affected nearly 100% of the population in almost every country either directly and indirectly, either by getting sick or not being allowed to work or shop or show their face in public. The reach of covid response has gone far beyond having to take our shoes off in airports. Is OP upset that the nobody has calculated whether it has cost trillions yet?
That seems like good advice in general.

Not to mention that it's somewhat pointless as a method of verification in the first place since you can't exactly check the validity of an ID in a grainy selfie.
Ask HN: Anyone succeed to delist your IP from ProofPoint blocklist
I run an email forwarding app and recently one of our outgoing mail servers are blocked by proofpoint, which is used by icloud.com or me.com. We still have another IP and I routed icloud email to that server but our icloud email volume are very low and I think their flagging is a false positive.

I attempted to delist use their office form on https://ipcheck.proofpoint.com
but no response so far

Anyone know how to reach their team who have visibility to this process?

Much appreciate.
I hadn't seen that 4-type documentation system before -- thank you for sharing that yak!
Do you recall that post where a guy was getting multiple scam callers and he was three-way-connecting them so they would spam-eachother-out... it might have been robo-calls... but he would pitt two spam/robos against eachother and have them rap-battle it out...
Isn't there a standard API used in the US? GNU cash talks about it some in their documentation but I've never tried using it.
how bad is your tinnitus?
> I no longer have to look at my speedometer

I'm curious about this part. Do you manually input a limit, or trust it to read street signs?

And how often do you look at your speedometer anyhow? I think on the highway I glance at it maybe once every few minutes and otherwise match speed with the other vehicles, and in the city I look more often but mostly just drive at what feels a safe pace (which seems to match the limits, more or less.)
If you're partner is earning multiples, take a 6 mmonth sabbatical to figure out what you want to do.
It's not (just) about overkill. Nobody else underwrites global free trade, and that's incredibly expensive:

https://news.ycombinator.com/item?id=23434640
in that sense Biden's legacy is cleaning up the mess and not leaving it to the future president
I do wonder if there could be some kind of 'adversarial training' of large networks, like those of Tesla, in which drivers in an area collude to normalize dangerous behavior in an area (e.g. drive in oncoming lane, stop at an overpass on a major highway, etc).

Even with humans in the loop in the training process, there's only so much context they can bring to override data that appears authentic.
This is a long-winded description of my lost weekend. I guess I could just get rid of the old hardware mentioned in the post and move on, but something doesn't feel right about throwing away perfectly functional gear. I understand Microsoft's business model is partially built on not having to support legacy hardware forever, but I pay for my windows licenses so the slow grinding of my old hardware into the dirt does rankle somewhat.
I don't think cars enforcing the law is a good idea at all. You have the moral and legally defensible right to break the law where not doing so would create substantial and immediate risk to yourself of others.
This just isn't true. Nobody cares, but everyone is probably closest to people their age.

Most my friends at work are about my age (or at least how old I look). This is obvious because of our career stage, which advances steadily with age.

99% of my personal friends and professional network are my age +/- 5 years, thanks to research / conference experience and career cohort effects.

When I look ahead to those jobs I hope to have, most of them are 45-55 and have peers in that age range as well.
Variability, industrialization and hating your job
I’m really happy you found something that worked. I’m sorry it still had a cost.

My tinnitus started from having had to be on a high dose of a medication for a short term. This side effect I deal with now is far better than the alternative, and I don’t imagine I would be here to complain otherwise. The other side effects sucked as well, but same.

I get pretty steamed when people try to blanket-statement their personal experience or lack thereof onto these deeply personal trade offs and issues and try to invalidate what does or does not work for the sake of sounding smart. Fuck those people.
Same difference:

"Evil begins when you begin to treat people as things." -- Terry Pratchett

Slaves, exploited children, etc. are just resources whose dollar value you try to maximize and whose wages you try to minimize.
He was pretty adamant about that in his speech today.
... yes, but it was just tossed on because a) backwards compatibility to East Asian scripts (they do have three flags, plus the personal flag of Kim Il-Sung that was rejected (including the larger-font "Kim Il-Sung" and "Kim Jong-Il"), of course), plus PUA use of, for example, the US and German flags. I think this that not adding it would be problematic geopolitically and technically, but at the same time only adding East Asian flags sounds like favouritism, so the steering committee is in a lose-lose situation.
> Would you buy a machine that is not your servant?

I mean... that's an odd thing for someone to say who has bought a vehicle with over-the-air firmware updates.
> Goes over it in more depth.

It does not. You can see in that thread, I had asked there as well and the throwaway account never responded to me. I'm pretty sure it is fake as that narrative describes things like "strongarms the display manufacturers and the users of their displays" which would cause uproar in the display industry and all of us would have heard of it.

> Why do you think e-ink displays are so much more expensive than equivalent LCD/OLD displays?

Volume. Volume. Volume. The typical MOQ for an LCD order would be in the tens of millions of units per quarter. Even the highest volume E Ink panel presumably the one in Kindle, would be at best several million a year.

> Technology wise they're very similar

No, they are not. Electrophoretic displays are very different than LCDs which are again very different than OLED.

> enough e-ink displays have been shipped that we should have started to see diminishing returns on the economics of scale.

In order to reach lower prices, you have to reach higher volumes so that you get closer to the bare materials cost. If you're only selling a few million displays per year, you'll never achieve sufficient volume to justify building a fully custom production line in order to reach the asymptote of materials cost.
Including dividend reinvestment?
Seconding this - some esoteric JVM garbage collector tuning is required to build a high performance Java (or Clojure, etc.) system, but it can be done.

It's arguably significantly less work to learn how to tune the GC and then optimizing it for your situation than it is to deal with manual memory allocation and all of its fallout.
This is such a great hack and a great write up. Thanks for posting it.

Shocked at how little Apple paid for it. I’m a CTO at a tiny company and we pay security researchers 10% of what you got for things 100x less severe than what you found.
As an aside, those defendants were eventually exonerated: https://www.law.umich.edu/special/exoneration/Pages/casedeta...