skysight-inc/HackerNews huggingface dataset:
I wonder how many more of these incidents will need to happen until everyone starts to take computer security seriously. How much longer will there be zero consequences for offloading the risk of shoddy security to your users?
Nice post. Interesting that the fastest Java beats the fastest Go, though they are close:

AY fastest Go version 2.90s 36.2
TW fastest Java version 0.953s 110

I would have expected Go to win. That JVM works pretty good...
It's so cool. It doesn't work on chrome&brave browsers' latest versions on apple silicon M3 Pro. It works smoothly on Safari though.
The rental market is a decentralized network, with companies like these the network gets routed through a central node and the operator of that node has pefect visibility while the connections being routed have no idea what every other connection is doing like a dark pool, it's the centrality that makes it an analogue.

I could think of several advantageous moves like artificially inflating rents then favoring a well paying client by keeping their rents lower than the market. Investing in property spread out across shell companies and then have the algo favor them in a non-intuitive way.
I've been working on a MUD in Clojure a bit lately. Initially I started with ECS using immutable data because I wanted automatic concurrency. Systems declared what components they needed to work, and the core of the system would examine what components each system used and automatically parallelize them. Systems could say if they only read it, or updated it, or appended it (two systems appending but not reading or updating the same data can run concurrently), if they could use stale data, etc.

Components were just a key in my game state hash map, which used immutable data, so if something said it only read (but didn't write) a component, but it was lying, there would be no bug - the core is responsible for actual updates returned from systems, not the systems themselves.

But then... where do you stick "globals"? Sometimes systems need access to common non-component data. You could hack it and stick it in components, which felt weird.

So I kinda changed my design. Now, at the core, I have systems. And systems declare what keys in game state it needs, similar to how they did with components. But it doesn't have to be only for components. It can be any key or "key path" (nested maps). And systems are automatically ran concurrently based upon this.

I happen to arrange entity data as components, because that increases the concurrency of the systems. But it doesn't have to. Sometimes I split things up for the sake of concurrency.

This is also really easy to test. You just have functions that take data spitting out data.
My guess would be that since they need to record a shot without knowing when it happens, and then forward the sound of the shot to an expert to confirm it was gunfire, they must have the capability to locally listen and record continuously, and we can hope that they only keep a few seconds of recording before/after the event.
+1 for Denis! The book does a great job explaining both “what does it mean for a program to be optimal?” And “what do I type into my terminal to check the performance?”

Of course, it doesn’t cover every possible performance trick. For that, I’d also recommend the Intel Optimization Manual and Johnny’s Software Lab.
It wouldn't get passed on. Without land value tax, holding real estate is a good enough investment on its own that rent prices can be left artificially inflated. LVT puts pressure on landlords to actually earn back the value of the property to avoid losing money. In practice, that means offering competitive pricing.

This is a solid in-depth explanation, if you're interested:
https://www.gameofrent.com/content/can-lvt-be-passed-on-to-t...
Want to emphasize Elon's follow
up that this is the peak for a beam, and the beams are very wide, so this is basically only possible in places far from ground based networks and probably also requiring the place to be sparse enough to only have the one device in the beam area.
They're not measurements. The measurements are rotation rates at various distances from the galactic center, then you plug that into a model and the model tells you where the DM is in that galaxy, then you say "DM explains it all for this galaxy!", but no, the amount and distribution of the DM is an output of the model and that cannot prove anything. There is never an explanation for why DM amounts and distribution vary so much. DM theory needs to make predictions we can then test, not produce model outputs.
Well... my opinion is that you're right. I've been in the industry (without a degree and not in the US) for roughly 12 years in some capacity or another, with numerous gaps of a full year or more when some company has decided to lay me off and every other company can only make decisions with 6 inane interviews before deciding not to offer me anything. It's a soul-crushing idiotic grind that's burnt me out completely at least 3 times, to which I eventually had to take a menial job before eventually finding myself back in programming. This time... it doesn't seem like it's just a matter of not landing a job, it's that there aren't any. I'm not getting any calls, no interviews, there's almost literally no listings at all, and I haven't worked in nearly a year. I don't need reddit or blind to tell me that things are fucked.

So, I'm gradually working on a small independent side project, and will attempt to build up some contracts, but I think it'll be to trade school soon. I have no idea if any of them will turn out successfully, but the market is dead and it's time to adapt and probably move on. Maybe interest rates drop and things change or we get incredibly lucky, but it's better to have some real skills anyway.
Thank you, you're very kind! :)
> everyone starts to take computer security seriously

Weren't the last big attacks literally carried out by hackers exploiting security software? As in, the solarwinds thing, which was carried out on systems which were 'textbook secure' ?

If you want a secure system, my advice would be to fall back to using dumb hardware terminals, VT100 style. Anything more complicated than that will have a backdoor.
There’s no point to a country. It’s just a form of governance that is in vogue in the 21st century. Like every bureaucracy, a country wants to grow and survive.

The homeless is also a very broad term. I think this sort of article doesn’t refer to people that are able and willing to work, but have to live from their cars. It’s usually about people that are often incapable of being a functioning member of society, beyond their housing status.

The best way to help these people is not to give them “benefits”. It’s to permanently place them in facilities that can afford them a humane existence. There’s no reasonable amount of “benefit” you can give to some of these people otherwise.
The Java version does additional optimizations that his Go version doesn't do and he mentions that at the end of the post. The Java version is really optimized and is an interesting read.
Land value tax can't be passed on to tenants. Whether or not a tax can be passed on depends on the elasticity of supply. The supply of land is fixed, so land value taxes reduce the price of land, and generally also reduce the price of rent as a result.
I'm using a T480 with NixOS, the only configuration I remember doing was related to using the iGPU and some power settings, you can find my flake here[1].

[1]: https://github.com/adham-omran/flake
There's a layer of pointer indirection when using slices in Go, you may be able to eke out some time by moving to arrays on the stack.
Yes, someone would have to pay for that engineering resource to make the support. I don’t want to pay for it because I prefer iCloud backup already.

The core issue here is whether governments should control how iOS is designed and which part of iOS.

Furthermore, it can be argued that forcing iOS to be more like Android decreases competition. If you want a more open platform, just get an Android phone.
First humpback whale porn
Feature: Morphcat Games, the New-Gen NES Devs Pushing the 8-Bit Envelope
Call / email your congressmen and tell them to stop stalling on the Ukraine defense bill.
> but Microsoft did a pretty good job becoming a one-stop shop

By eliminating the competition through scummy tactics, after shamelessly copying them.
Your response sounds very distant from the reality you are talking about.
A civil war means people, many people, dying and the rest being emotionally traumatized for generations.
The madness we are in should be solved by more reasonable means before we devolve to war.
Enable the code interpreter. It isn't enabled by default.
The real issue is that you need a lot of money to test DM for real, but not so much to test MOND.
Why?

Let's imagine a city divided in two halves of equal population. West City is poor and has a high crime rate, East City is rich and has a low crime rate. Should police resources be allocated equally to both? How about public health facilities or welfare payments?
Feng Yuan? He started this newsletter https://frugalcafe.beehiiv.com/
Of the four boxes of liberty [1], does anyone believe that anything but the ammo box will be effective at this point in our history?

Free speech exists only in echo chambers, every election is between a shit sandwich and a douche, and a sitting federal judge openly confirmed that our courts of law have little to do with truth or justice.

I would rather face the terrifying anarchy of a revolution than continue to suffer the indignity of the current tyranny.

[1] https://en.wikipedia.org/wiki/Four_boxes_of_liberty?wprov=sf...
You can still backup the entire iPhone locally.
Assuming reasonable people win...
Lets say in a town there is a McDonalds. Its open for 10 years with no competition. Someone might claim that McDonalds has a monopoly on the burger market because they're the only game in town. Now lets say the population of that town grew 2x in that time. If Burger King then opens up across the street, was there ever a monopoly or was there simply no incentive for competition to show up?

For at least a decade - nobody made any significant money off podcasting - neither service providers nor the shows themselves. It wasn't until probably 2015 that it really started taking off (with the likes of Joe Rogan) and Apple did not truly monetize it until 2019 when they introduced subscriptions.

Now that podcasting is a multi-billion dollar industry, its easy for people to point the finger and cry that Apple has had a "monopoly" on podcasting since 2005 when in reality it was a very niche market for a very very long time and there was no competition simply because there wasn't much money to be made.
Just to reinforce what you and others said: Translation work has indeed been impacted significantly by AI and will be even more so as LLMs, tooling, and workflows improve further.

That said, translation is also like programming in that it seems to be the junior translators who are most impacted. Newbie translators’ job is often just to take any text they are given and render it into another language, with little or no control about the choice of text or its content and with little or no interaction with the client. AI can do that pretty well now, and much more quickly and cheaply than any human.

The human translators who are surviving are those who spend less time translating words on a screen than they do learning their clients’ needs, helping their clients navigate the subtleties of interlingual and intercultural communication, and advising their clients on how to adapt their content to meet the needs of their target readership. I don’t know if there are many entry-level jobs available now with such responsibilities, but that’s what I would be looking for, not for what has traditionally been called “translation.”

My thoughts on this topic from a year ago can be found on my website, linked from my profile.
Thank you for starting the thread that eventually produced the answer I've been looking for this whole time.

And thank you for being persistent about raising awareness about how useful that national loop is.
What is the madness you want to end specifically?
I found this super interesting - especially as all the data I've written code to manipulate has been small enough that I haven't needed to optimize my code, so I've never had to think in this direction.

I think my favorite part was the very first section, where he got baseline measurements with `cat`, `wc`, and friends. I wouldn't have thought to do that and its such an easy way to get a perspective on what's "reasonable".
No alcohol in the airport.

No alcohol on any connecting flight for certain airlines (Saudia, Turkish), or just no alcohol while in Saudi airspace for other airlines (BA). KSA is a big desert country, with a big dry airspace.
Second article I'm reading on implementing this in Go. Since the temperatures are in the range [-99.9, 99.9] with a tenth of precision (~2k values), I am surprised why no one has implemented a parsing of the numbers using a prepopulated lookup table. Should probably speed things up.

I submitted a github issue on this for the other implementation I looked at here[1].

[1] https://github.com/shraddhaag/1brc/issues/2
Understand first, then fix. And you understand by measuring the right thing at the right time (scope). Systemwide resource utilization averages are not gonna tell you where your critical thread or database connection is spending their time at - you need to measure (profile) precisely where your task of interest is spending their time.

I've learned a lot from Cary Millsap over the last 2 decades and he recently published a general performance optimization book "How to Make Things Faster" that I can recommend [1]. It's less about tools, more about the method and systematic approach for performance optimization:

[1] https://method-r.com/books/faster/
To be specific: Abrash’s writing is great for getting into the mindset of optimization. But, the specific optimizations he talks about implementing in his books have been outdated for decades.
It really depends on what level you're working on improving. It's effectively queues all the way down, but programmers hate reading statistics. E.g. a server process is a series of queues between your TCP socket to your process to your disk, CPU's reorder buffer, and scheduler.

You have three areas to study:

1. Measurement - makes you define the performance you're looking for and measure it. Until you do this it's mostly a bullshit "make people stop complaining about performance" errand that's too wishy washy to do with more than a few stabs in the dark. With containers and decent capture of samples of your load, a benchmark is pretty straightforward to set up.

2. Modeling - these models are usually little more than measured rates and latencies applied to Little's Law. Pocket-calculator math is often good enough. At worst, an M/M/1 queue.

3. Instrumentation - Figuring out how to attribute your computer's resources (memory, CPU time, iops, etc) to different parts of your code. Tracing libraries, Linux perf, and ebpf can be useful here.

There are a decent number of computers performance books. I like the ones by Jain (great, but AFAICT out of print) and Harchol-Baltar. For work, you shouldn't read them straight through but iterate through parts as you better understand the problem you're trying to solve and start choosing strategies. For the tactical side. Brendon Gregg (sp?) has some decent measurement tool books. Figure out what you want to improve and how to measure that. Then start attributing the existing performance to implementation choices that you can control. Then control those choices (e.g. change algorithm, load balance better, make design trade-offs) to improve performance.
Still waiting for the end of Baseball in the 2020s I think was also mentioned in TNG somewhere.
i saw the custom hashtable, but why was Map slow?
Probably. More and more people are anti-protest as well. "Why do they have to block traffic?" If it's not disruptive, it's pointless. "Can't you just protest in a way that's easily ignored?"
While the bandwidth numbers seem terrible given this is from an entire beam at it's peak and beams are wide, this is super useful for things like sms where bandwidth is not a concern. At 17 Mb/s you can have thousands of simultaneous sms sends without issue
Multi-trillions in defense spending and for what?

Our country is crippled with ineptitude and hogtied by the billionaire plutocracy. The systems the masses depend on will crumble long before the ruling class notices. Look to our national elections as a grotesque reminder.
The 20-something success stories are basically the myths of our age. A long time ago it was success by 50, and then it slowly degenerated into the top 30 by 30 as the optimal "age of success" just keeps dropping in the spirit of one-upmanship. It's not news if it's not novel. I'm waiting for the "Success by 12 or you're a nobody" narrative to take root.

Unlike what your media circles of success-story-con-artists would have you believe, success is a SLOW, DELIBERATE process. You pick a path and you walk it, taking in the sights and sounds and deciding if it's for you. Then you pick another path and walk down it, and you continue doing so, all the while diligently socking 10-15% of your income away into a sound, diversified investment portfolio (which is your fallback plan). Or just do index funds if you don't want to think about it too much.

Eventually, you might just find something that grabs you, and then you pursue it, and make something from it. THAT is the measure of success.

And if you don't, you still have your investment portfolio from which you can live comfortably. Some people don't discover their success path until far later in life.

* Julia Child (the most famous cook in America) didn't even start training as a chef until her 50s.

* Stan Lee got his break with The Fantastic Four at age 40.

* Colonel Harland Sanders started KFC at 65, and sold it 9 years later.

* Harriette Thompson ran her first marathon at 76.

* Grandma Moses didn't start painting until she was 78.

* Laura Ingalls Wilder began writing "Little House on the Prairie" at age 65.

* Estelle Getty (Golden Girls) struggled as an actress for nearly 40 years until she finally had her breakthrough role in Torch Song Trilogy at almost 60 years of age.
Sounds like a good place to install ShotSpotter.
Humankind's inherent love of rules and order?

>> “I don’t have a problem with roads,” Zeleny said. “There are lots of obscure subjects on Wikipedia, but you have to follow the guidelines. People see Wikipedia as a joke. They think it’s not serious. I’ve taken great, great pains to make sure articles are well written, well researched, and well cited.”

Or maybe more precisely, people's desire to believe the thing they're volunteering vast amounts of their personal time to matters and is serious, and because it's serious there should be rules.
> The Java version is really optimized and is an interesting read.

is there any similar blog post on the Java optimisations?
The fastest Java version is even beating his baseline of `cat` to `/dev/null`
I will agree with those numbers if you're including the incubation (presymptomatic) period which is quite long with COVID-19, estimated at 7 days on average.[1] Unfortunately that just stresses how little we can accomplish in preventing spread after someone has symptoms. They were already contagious (perhaps 1-4 days) before the onset of symptoms. 10-day isolation periods after infection don't reflect the reality of the virus either, and permanent isolation forever even less so. Like I said, I don't expect anything to change from this new guidance. They have different guidance for healthcare settings and very few people were following the previous general guidance anyway.

1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9396366/
Exactly. It was my mistake.
There might be some risk with idiots taking z packs for colds and creating more super bugs but there's definitely less stupid ways of doing this.

People who take critical stuff regularly usually have to ration drugs so they have a store in case of emergencies. If you travel somewhere and you forget your life saving drugs you then have to spend a good chunk of your trip grovelling to the pharmacist and doctor (depending on the drug) to get an emergency refill if the drug is even available in that location. The whole system is bonkers.
If you scrape rental data, then send an email to every person renting a unit saying "I recommend you allow your unit to sit vacant rather than renting below this price", that would be price fixing.
How to think about Big-O

Big-O has nothing to do with running things fast. Although its a welcome and a nice side effect. Big-O optimisation is basically a way of finding means to reduce effort required to do anything. It just happens when you take fewer steps to do a thing, you also in most cases make it run faster. Though making it run faster was never the goal. Hence you must stop thinking it terms of making a program run faster. This causes confusion given you are not thinking about the problem from first principles. For example writing a vim macro is going from many steps to one command. Hence writing a vim macro is a O(1) operations. There are many such everyday things where you are doing N steps, which can be automated to doing it in 1 step.

In programming parlance there is only one way big work is done. Its either done with a for loop, or nested for loops. That is for(i=0;i<SomethingBig;i++){//do something with at speed of tick of i} or for(i=0;i<SomethingBig;i++){for(j=0;j<SomethingBig1;j++){//do all of tick of j repeatedly, at the tick of i}} Of course we can have as many sub loops, which in case the count of operations are ij...

Now here is how you think about making it efficient. Notice the i++ part of the for loop conditions to take the for loop forward? Most peoples minds are hard trained to think only in terms of i++, and nothing else. Hence it looks very hard to think anything else could work there. i++ moves the loop forward one element forward at a time. If you have a huge 'SomethingBig' it can take an eternity to get there. How else can we make the counter run fast. Increase i++ to i+2 for eg, is one way. But there are other ways like multiplication for eg i * 2, would mean you are going way faster now, and saving computations. Basically finding how to do that is algorithmic optimisation.

Notice as mentioned above using a tree achieves many such tasks.
Interesting, if anyone can reproduce the problem on Chrome+Apple Silicon, I would appreciate if you open an issue and include the browser console output on https://github.com/pac-dev/AmbientGarden
Golang Time Helper
Sure, if you move the goalpost from "information" to "has letters".
see also MMIX (and its predecessor, MIX)
He already wants to but he's a small fish in a big pond.
Not that I know of. I just looked at the code and the commit history but a more in depth article would certainly be interesting.
I've heard several people my age (early 40s, but generally pretty young at heart I guess) refer to covid as spicy cough.

In context it made sense the first time they said it, out of context I'd probably have had no idea what they meant.
Adding to what others said, Uber often just ignored the law designed to help local monopolies.

Not sure how repeatable ignoring laws are in battling monopolies.
As much as I hate to participate in political discussions, I have to agree here. No US cop would ever respond to gunshots in a casual manner. Think about Swatting.
From looking at the final code it’s probably the performance of copy() as the biggest hurdle.
Look into the write ups of the One Billion Row Challenge - you’ll see lots of techniques.
Is this really always true? Even with short one year masters programs? I’ve been told this bit of advice quite a few times. My university offers a one year CS masters and I’ve considered it but there’s zero opportunity for an assistantship for the one year programs (as far as I know) so I’d be paying or hoping to find a company to sponsor it/get grant money to cover it.