skysight-inc/HackerNews huggingface dataset:
Huh, I always just used good ol’ jpegtran:

jpegtran -copy none -optimize -progressive -outfile "$image" "$image"

I have a wrapper script around this to allow bulk optimization as well as calculating stats.

Time to switch I guess.
I remember during the SARS outbreak, one of the most common vectors for mass-contamination was hotel usage.

I'm going to stay away from Hotels and airbnbs for the next 18 months until the vaccine is ready.
Pasted from below, "Without getting lost in the details, the company who the US government is funding to develop the vaccine (Moderna) uses a new technology that will likely become the next generation platform for vaccines. Instead of providing to your body the "Wanted" poster with a picture of the virus, it sends the PDF to the cell which then prints its own "Wanted" poster. This makes the response much more predictable, controllable, and robust--your body believes your own cells more than foreign shit from the outside. Since 2015, Moderna has already tested this idea in humans and shown it to be safe with 6 other viral targets (H7 and H10 Flu, Zika, CMV, hMPV/PIV, and Chikungunya). In all of these human studies, it has detected antibodies at protective levels against the target virus. So in terms of safety, we are likely already there. This is why Tony Fauci is willing to accelerate so fast. Thinking forward, maybe the US govt will fund manufacturing at risk. Just start making it at scale, right now. Moderna's current capacity is unknown based on their earnings call last week, but back of the envelope math of the mRNA process puts production capacity in the millions of doses per month without additional build-out. That's enough to start with US health care workers and the vulnerable (>70yo, Immunocompromised, etc) within 6 months if needed."
No love for itanium? Aww.
I realize I'm a little late to the party as this post is almost a day old, however as a Pi enthusiast I feel obligated to mention RackN's edgelab [1] project which leverages Pi4's PXE boot to rapidly build a 64-bit mini Pi lab and then a k3s cluster on top.

Full disclosure: I don't work for RankN but am a customer; my use case is zero-touch ESXi cluster and Linux builds but I like the tool and have way too many Pis.

[1]
https://github.com/digitalrebar/edgelab
Biggest takeaway from this post: Don't be a parrot, think for yourself before you spread other peoples truth. Especially if they say what you want to believe.
Me, too.

NEV seem to be popular around retirement communities in the U.S. This is also where one is most likely to find mature, patient, and courteous drivers (so, about the only place an NEV is safe from one's personal perspective).
So every single site where you used that password also used 2FA?
If you’re in a major city, this is the time to start taking preventative measures. Avoid mass gatherings and public transport if you can.
this. it looks like it works great but needs a really easy way to set it up. and the docs are really lacking. (is there a way to add a device from the command line without opening the web server port?).
zig optionally uses pthreads (depending on if you link against libc or not)
Might is right. This is senseless crying. You live in a land that enjoys security and prosperity because of centuries upon centuries of violence and conquest.
I work under 5 miles from my home in a city in the Northwestern US. I ride a 50cc moped throughout the warm
months here (anything over mid-50 F so late-March through mid-October usually). I think a reliable sub-40mph electric would work well for me the other times of the year provided it could drive in the snow if equipped with reasonable snow tires.
Given that 10-15% of people that get it end up in the ICU on a mechanical respirator, and that even those that survive end up with permanent lung damage, I would argue that selection bias at a time like this is almost criminally negligent reporting.
> with the hope that we could resolve this unsanctioned strike and return to our shared mission

I didn’t realize most strikes were sanctioned...
Thank you. We have developed a Common Lisp implementation that uses LLVM and interoperates with C++ and uses C++ exception handling to unwind the stack. Common Lisp code relies on stack unwinding a fair bit. Imagine my surprise when my fancy multi-threaded compiler can't get out of first gear (tops out at ~150% cpu) on Linux. Sheesh.
Very misleading -- but that's still only the cost of two high-end iPhones, plus cell service! For a car!
Unboxing free flags requested from every country's embassy [YouTube]
The guy has a great sense of humor and the individual replies and flags are cool.
Its not charity, I allow them to collect my data so that they can use it to improve the service.
It reminds me of some of the social media that came out of Wuhan. ...people begging for care for their loved ones, only to watch them die at home or in the waiting rooms because no respirators or beds were available.

Once respirators run out, the fatality rate jumps from 2% to 5%.
Airbnb, and others, cancellation policies will be a major reason for the spread of this virus. The sunk cost fallacy is alive and well here, people don't want to lose money just because they feel sick even though they know they shouldn't go when not feeling well. I think at this time the travel industry needs to stand up and relax it's policies even further.

Airbnb will not refund you a stay unless your flight has been cancelled by the airline. Unfortunately the airlines are giving options right now, Delta for example let's you rebook or get refunds to some countries that are trying to shut down this virus at it's source. But not feeling safe, along with being given a refund on a nonrefundable ticket does not matter to Airbnb at all. My recommendation is if you have to travel in the next three months to somewhere in Asia or the Mediterranean is to make sure your booking is fully refundable or get in contact with your host prior to booking and see how leniant they are.

If you thought you could get trip insurance to cover the risk you are also going to be in trouble. Your trip insurance will not cover pandemics, read the fine print.
The lookup database is incredibly small and updated very infrequently. Certainly smaller and less frequent than tzinfo which is also included in the kernel
Golang Protobuf v2
It seems unfortunate in context, at worst. Doesn't feel cringey to me. There are many ways to make a mountain out or a molehill when a sensitive topic is top of mind; best to stay level headed and keep best intentions in mind IMO
jgrahamc is more active on HN, and he seems to keep tabs on all Cloudflare discussions and answers questions when asked. Don't see what's odd about it. Haven't noticed Nitin here.
What's the objective argument against raising wages?

It seems like they're willing to pay extra money but not via a wage increase?
Can you elaborate on what else is done to treat those patients? I was under the assumption that the pandemic situation is caused by a virus and that not much can be done against a virus besides waiting for the body to heal itself.
(Which is not entirely true, since AIDS can be treated nowadays.)
How many percent performance do you think you gain by never pre-empting?

If we're talking 50%, the complexity sounds worth it, but if it's 1% I think I'd prefer to stick with standard scheduling and know my program will 'just work' on any CPU or OS, and with any libraries I choose to use.
In case someone's planning on hitting the home store for something like a P100 you might find there, here's a little decoder.

> Modern filter media uses a built-in static charge to attract and retain particles as they are pulled through. Some grades of filter can have this static charge ruined when in contact with oil mist. The letter in a mask’s name tells you whether or not the mask can resist oil: N masks are not oil resistant, P masks are oil proof, and R masks are oil resistant.

> The number in a rating tells you the minimum amount of airborne challenge particles the mask protects against: an N95 mask keeps out at least 95% of particles but isn’t oil resistant, and a P100 mask is oil proof while protecting the wearer from at least 99.8% of particles.

https://pksafety.com/blog/respiratory-basics-n95-vs-p100/
If you’re looking to spend 20/mo how likely are you to have about 132 months of payments available up front?
New Iranian Campaign Tailored to US Companies Utilizes an Updated Toolset
After a downpayment of €2600 euros it says, and that's only including an 'ecobonus' of 900, which is a subsidy which only applies in France. Not sure what that means for other EU countries, but I'd take into account a downpayment of €3500 without subsidy (which is exactly half of the €7000 it costs without the subsidy).

And it's explicitly a down payment, not a deposit. I don't know exactly how that works in combination with a 4-year lease of €240 a year, totalling €960. I assume after 4 years, the lease ends, you don't own anything, and you're down 3500+960 = €4460, or €€3560 in France. That equals €92 a month for the lease. If you factor in time value of money over 4 years (or financing the downpayment), you're looking at €100 a month minimum.

Not sure if everything is included in this lease... insurance, taxes etc? I assume it does.

Not a bad deal, particularly for young city-dwellers. But at just €100 more, for €200, I can get something like a Toyota Aygo which has an 800km range instead of a 75km range and refuels in a minute instead of 3 hours, and seats 4 instead of 2, and can take trips outside the city.

Great city car, but spending 7k on a car that can't go to another city 30 minutes away, seems a bit silly. I think it's great for ridesharing though. We've had the Smart Electric cars in Amsterdam for a few years now at 25-30 cents per minute or so, they're quite nice. I typically use bike/publictransport, but when you're with a friend, it's raining or you have to go to the other side of the city, particularly after midnight or with annoying public transport transfers, the car is nice. But as you can see, it's already a niche category for me. Once these things become super cheap and ubiquitous, I'd love to use them more. Now I tend to have to walk a minute or two to the nearest one, and it's a bit expensive still. I think these cars would do a better job as they're 2-3x cheaper than the Smart. At some point the per-minute fee should drop for ridesharing to perhaps 15c per minute. At that point it gets interesting, because you get demand, and with demand it makes sense to make them ubiquitous, at which point there's a critical mass for them.
So it is a golf cart? I must be missing something. I’m not sure why a golf cart would require such fanfare. I guess because most golf carts don’t have doors?
Ok, Comical Ali!
Good for Pythagoras. But according to George Harrison "the farther one travels the less one knows".

(Apparently he was quoting Laozi)
I'd stay away from this work. There are ample math and reasoning errors in the paper, and the claims are dubious.

One prime example: the algo for ROMU is of the form new_state64 = ROTATE_LEFT(old_state64,32) * constant, which decomposes the space {1,2,..,2^64-1} into a permutation. From a given start seed, your cycle may be short, and you won't know this until it bites you.

The author incorrectly addresses this using the theory of random permutations, but his is most definitely NOT a random permutation chosen uniformly from S_n. His analysis most does not follow. The proofs he cites are not applicable to his since he has a fixed permutation.

Among all cycles, among all permutations, the results hold. They do not hold for a fixed permutation. For example his results fail for the n-cycle and they fail for the identity permutation. They similarly fail for many, many other permutations, and he has no proof that his is not a badly chosen one. Based on the structure of it (rotate and mult), I suspect from past experience that his permutation has lots of structure that leads to all sorts of pathologies for this use.This is a basic math error, and the paper is full of such basic errors.

For why to listen (somewhat) to me, check out my name - I've done a bit of writing (and a lot of teaching) on PRNGs for decades. I've followed the field for quite some time, and am well aware of much of the research in it.

There is no need with all the good choices out there to choose a PRNG that cannot provide a solid proof of cycle length (or at least correct bounds) for any seed value. This one fails this basic test.

If I get time (and remember) later, I've written some SAT solver code to explicitly find holes in PRNGs, and I'll try to dig it out and analyze the cycles in this fixed permutation. If anyone else wants to try it the idea is you can assign variables to bit positions in the state, represent the permutation as boolean expressions in these bits, and find cycles using SAT solvers without having to run through steps incrementally. I suspect in this case it will break this PRNG pretty quickly.
The Technology Treadmill
https://en.wikipedia.org/wiki/Wildcat_strike_action

They mean not sanctioned by the union leadership in this case.
Well, a good library would take the issue of the “cost” into account for you.
Mask off all those other processes to only run on core 0.
Very interesting. This independence across blocks can presumably be leveraged at decode time for faster decoding though. Surely there must be decoders out there parallelizing over the blocks on multi-cores arch /GPU?

Do you know how Brunsli & Lepton fare when it comes to parallelizability?
I like the check list for features... can't wait for

"Nginx transcoding module"
They're the same thing in the sense they have the same roots.

The most confusing thing about complex numbers is the language. First you're told negative numbers can't have roots, then you're told they so can too, but you have to call the roots "complex" or "imaginary."

This sets up cognitive dissonance which can be harder to deal with than the math. (What even is an "imaginary number"? What are those words supposed to mean?)

In reality complex numbers are a way of moving from the number line to a number circle. (Which eventually generalises to a 3-sphere when you get to quaternions.)

That's all they are. Instead of linear arithmetic - which is about combining magnitudes in one dimension - you can now do arithmetic that combines magnitudes with rotations.

The extra dimension makes it possible to solve equations with solutions that don't exist on the basic number line. It also makes it easier to do calculations that combine magnitude with phase - which includes pretty much anything that rotates or processes linear combinations of sine waves, and which a straight vector tuple can't handle.

If someone had told me this when I was learning complex numbers the cognitive dissonance wouldn't have hurt quite as much.
That’s the problem with this car. Only 30 mph means city centers only. In those places there are already many other options for quick trips: public transit, Uber/Lyft, old-fashioned taxis, membership car rentals (Car2go, Zipcar), bicycle sharing, sidewalk scooters. With all that I don’t see them selling too many of these. You buy it, you have to park it, which would be expensive in many of the cities in which you could use it. All those other options don’t need to be parked (not at user’s expense at least.) Even for car rentals parking is a pain because you have to find it, even if you don’t have to pay.

I could see a market of selling them to fleet operators who team up with cities to get free parking for them, as Zipcar and Car2go do, but that’s about it.
I really don't have any good recommendations, because I've never seen this done well. Never. In small or big companies.

The two biggest challenges I've seen over and over again are:

1. People don't document changes well. You end up with pages and pages of outdated documentation describing things as they were years ago. This is especially hard on companies that have multiple teams using same underlying platforms/frameworks/libraries. Each team is going to create documentation on how they're using it when they do the work. Once the underlying technology does a version change / incompatible change, all of that documentation becomes obsolete but remains in the knowledge bank polluting the search results. I've become convinced this is an unsolvable problem.

2. Search. I have never seen a documentation system that gets me the information I need easily. It's closely tied to the problems described on the previous issue, but also almost all search systems I've seen are really bad at identifying the authoritative sources of documentation and pointing you to them as the first result.

Also think of your audience. The best documentation I've seen clearly separates documentation intended for maintainers of the code and users of the code.
True. But all those failed adventures bring down your average return on investment.

There must be a class of businesses that have half the risk and half the profits compared to the businesses that VCs accept. From an investment point of view, the ROI would be the same, but VCs wouldn't invest. How do those people get money to fund their businesses?
The "E-scooters are dangerous because you could hit one with your Toyota Tundra or Dodge Ram" fallacy.
Clockspeed/IPC. Intel still is a bit quicker on average in games, about 7% compared to the equivalently priced Ryzen CPU. Some games, especially older ones, it can be as much as 20% for some outliers that are still quite popular.

Intel is also tending to win in lowly threaded desktop applications because it can boost higher for longer. AMD's single-core boost is for quite short periods and only on one core with a quicker drop off as more cores are utilised, but Intel will maintain its boost in well-cooled conditions for many minutes or forever with a bios setting (many motherboards come this way by default although it's technically outside of spec) and it will happily also run the single-core overclock with all cores, again with a bios setting (also out of spec, also often comes turned on by default). AMD's CPUs are pushed much harder out of the factory and only 1 core on the chip can achieve the stated highest clock speed so it just can't do the same thing.

Intel ends up better somewhat better in low threaded stuff, games and applications, due to similar IPC but higher clock speed. But AMD CPUs beat it soundly for anything that can utilise more threads as at the same price you get 50% more cores than you do with Intel at least. Below a certain clock speed boost and price Intel just isn't worth it at all, neither are its productivity chips. 9700k, 9900K, 9900kS the soon to be released equivalent 10000 chips, those are still worth it compared to the 3900k, 3800k for certain gaming. Below that however I wouldn't bother with Intel at all and I certainly wouldn't bother with Intel at 60hz, it only really plays at high refresh rates or very particular games.

Saying that just be aware that the Intel CPU will probably age worse as threading continues to increase, all be it a very slow process. It really is going to depend on if you play AAA games or whether you play something particular or indy games and if they have problems with performance and are also lowly threaded.
How to GRC Your DevOps
Technical Tastemakers – The impact of non-technical contributors on Engineering
> having a car with no inbuilt radio/speakers will be strange.

I actually like that part about it!

Most in-car infotainment systems (esp. in this price range) are useless anyway, and are basically already outdated on the day they leave the factory.

You'll always end up with using your phone instead of the build-in system, as it is orders of magnitudes better at doing everything. So why car manufacturers even bother with trying to build their own systems always seemed weird to me.

Not sure if the car has no build-in speakers at all, the article doesn't mention that. Maybe it does have build-in speakers with bluetooth connectivity, just no head-unit (frontend).
The strikers have been fighting back against the union's attempts to say that UC should negotiate with the union rather than the strikers, even:

https://twitter.com/payusmoreucsc/status/1234130912281010176...
Right, but isn't that what I said?
The wage demands are significantly higher than the money that’s being offered here.
How to start your blog for 20 cents
I love comparing apples and oranges too. You can always find an older used car that is cheaper than a new car. Now compare what one of these would cost used in 7 years.

BTW, I recently bough a new bicycle that cost more than the first car I drove (the car was a few hundred bucks).
One step down, 1e6 steps to go.
Ask HN: Founders in China personally liable to pay back investors?
Hi,

My father has a startup in China. Apparently there startup founders often take investments for which if the startup fails, the founder is personally liable to pay back investors, even if it was started as an LLC (or whatever the chinese equivalent is).

It seems like he is now worried, because the startup is not doing so well, and the investment he took outstrips what personal assets he has.

Does anyone with experience such contracts have recommendation into what recourse he has?
Why is the cost of switching threads so much higher than the cost of switching fibers?
erlang has its own process/thread implementation with, iirc, 64b per process.
This. I was a Scottish Power customer about six years ago when they were censured for fucking up a great many customer's bills, mine included. They have been failing at billing for a long time.
Identifying Fake YM2612s
With the caveat that the destructor crashes your program if you neither join nor explicitly detach the thread.
Case in point:

I used nodejs for a project, and assumed that "it's all javascript on one thread" would leave threading issues behind.

My application curiously stopped responding whenever I had 5 or more users. Connected users could continue to do anything, but new users couldn't connect, and existing users sessions would hang when executing any code that wrote to a logfile, making debugging even harder. Using the nodejs debugger, the internals of write(...., cb) were just never calling the done callback.

After hours of head scratching I found that most IO from nodejs is not asynchronous and callback based as the docs suggest, but is in fact blocking IO done from worker threads. My process was using pipes to communicate with other processes, and those pipes were doing blocking writes, and when blocked, the worker thread was blocked.

There are 4 worker threads by default, so whenever 5 users were using the system, all worker threads were tied up and it would fail. It would have been nice for nodejs to at least have printed to the console "All worker threads busy for >1000ms. See nodejs.com/troubleshooting/blockingfileio.htm" or something.
Netscape succeeded because they had a 16-bit implementation. 16-bit postscript would have been a significant challenge.
Presumably that would enable iOS as a target platform, which I presume cannot be done today on account of the no-JIT rule. I don't imagine it would have that much impact on desktop though, beyond better startup times and perhaps reduced memory consumption.
Did gcc/libstdc++ have the same problem? The report you link is for clang, it looks like.
Roblox closes $150m funding round
I’m not sure that I would rely on a physical manifestation to show that a number ‘exists’. They exist because we’ve defined them as part of the rule set we use for the game we call math. Regardless of their applicability to nature, they still ‘exist’ in that sense.
New report on the cellular effects of a calorie-restricted diet in rats
The only thing that matters to me is that Intel has been screwing us over monetarily for almost a decade. I wouldn't care if AMD was 30% slower( it's not more like 5%) I'm giving them my money cuz they're not screwing me over
He's not wrong. Self driving cars will (at least for the foreseeable next 20 years) be stuck to operating in simple non-changing environments like the arid southwest. They simply cannot work anywhere there is snow.