skysight-inc/HackerNews huggingface dataset:
> Switching to a safe language is, obviously, not an option.

Forever, never, ever, ever?

Switch, right now, is not a good idea, but NEVER switch is the cobol curse.

And not forget:

C/C++ cause BILLONS of damage and costs in this industry. Is WELL KNOW, for DECADES that is the wrong tool for the job.

Yet, the persisten myth that "lets not rewrite to something better" hold everything back.

Imagine how stupid will any of us look if a customer ask us for build a new version of the software (or port to the web, or to mobile or cloud) and we say "nope, sorry. Is not good. Not rewrite sir!"

Or if the software WE build have be caught, OFTEN with severe security and reliability bugs and we answer equally "we can't do anything better, is not a option".

Dumb, right?

Why rewrite is ok, normal and good for others, but not us?

And why the excuse that the MOST PROFITABLES COMPANIES IN THE WORLD (Apple, Google, MS, ...) can't do rewrite, is too costly.... and then the rest PAY the cost anyway, with not solution on sight...
How a fitness class made 112 people sick
2015, no?
Any book club that gets people to read and show up is not "doing it wrong."

I'd be interested in a format suggested by the author, but I think I'm the only one in my book club that would. The fact that I'm regularly reading and talking about books with a group without any particular literary bent is something very valuable to me, even if we don't mine every hidden treasure of the books we read.
Product Marketing for Engineers, or developers/programmers? Because I have a feeling that actual engineers (process engineers, systems engineers, mechanical engineers, etc.) aren't going to be able to utilise this list.
Well, the built-in ways is the right way to do it. But given that PostgreSQL is quite conservative about it, it will be hard to find issues there (the replicas are read only, so at worst it will be just a replication delay, unless you use synchronous replication, which will remove the replication delay at the cost of slower performance).

All the tooling that provides extra distributed functionality not present in postgres (auto failover, multi master replication, sharding etc) will surely have issues, but then you aren't testing the PostgreSQL itself, but the tooling, so to be fair, you the article should evaluate these tools, and any shortcomings shouldn't go to PostgreSQL (unless it really is a PostgreSQL issue).
I will agree that the WQHD screen is nice. If you only compared the screens themselves (Retina vs WQHD) then I don't think there would be a significant difference. But the problem for me comes from resolution scaling. Fractional scaling on the distros I tried was poor. I think that this is a software issue more than a hardware issue, but Retina screens come with software that supports them well.

Another thing that didn't work well at all was when I tried to use an external monitor with the T480. I had to go back and adjust the fractional scaling settings to make it look decent, and then revert those changes when I went back to just the laptop screen.

Edit: forgot about the aspect ratio too, that's a nice feature of the Retina screens.
# Add legal banner
echo "
Unauthorized access to this server is prohibited.
Legal action will be taken. Disconnect now.
" > /etc/issue

Heh.
I just want remind people that this video exists.

https://www.youtube.com/watch?v=b2F-DItXtZs
This article is from 2010. These days the TSA is using millimeter wave scanners (with frequencies around 30 GHz).
Every month, we do an external database import into our production PostgreSQL database. In a single transaction, we drop dozens of tables, create new ones with the same names, insert hundreds of thousands of rows, and recreate indexes, all in a single transaction. It works flawlessly.
People want to get rid of the bad while forgetting that good leaves along with it too.
The most decent I found was camect. I am considering buying it.
I work on Scuttlebutt, which in another "basically just Git" kind of thing, and after porting Scuttlebutt to "just Git" I can comment on this a bit.

Git is a hash chain with a few constraints:

- Each commit has at least one previous commit, unless it's the root.

- Each commit has author and committer metadata with embedded timestamps.

- Each commit references a merkle tree of files at that specific commit.

You have the option of setting the authors to some minimal example value (example@example.com, Jan 1 1970) and using an empty tree, but then your payloads are being stored in the "commit message". Streaming these payloads is hard, getting them by sequence numbers is hard, enforcing extra constraints (e.g. only one previous commit, no merges) requires a Git hook, and at all times you're acutely aware that Git wasn't built to act as a distributed NoSQL database.

Using Git as a database is possible, but I think it's about as practical as writing your application logic in some technically-Turing-complete language like PostScript.
Has anyone seen these recently? I saw one in Boston many years ago, but every airport I've been through since uses the mm-wave ones, distinguishable by their rotating action
I could probably avoid the sun forever. I don't have some innate requirement to be exposed to the sun to survive, or to enjoy life.
Bare metal is a continuum too. You don't have to pick between a full cloud deploy and building your own datacenter from scratch.

You can get bare metal servers from a host on monthly or hourly terms.

You can get a 1/3rd rack cabinet at a colo facility and bring your own router, and use the colo's IPs

You can get a cage or a room at a colo and arrange for connecticity to your various upstreams and peers with your own ASN and IPs.

Only after all this is exhausted would I move towards and owned and operated datacenter where all the pieces are under company control and responsibility. (Although, if you rely on it, you're responsible for it, regardless of if you actually control it)
> The fact that people with your arrogance and your ignorance exist actually distresses me.

Weird, your account says you joined in 2012 but it seems like today might be your first day on the internet?
> Unfortunately it only appears to remount, which will not persist across reboots (unless I’m missing something).

Yeah and then it also reboots immediately. What's the point? Has this even been tested?
Previous discussions: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Those ASCII graphs look nice! What tool did you use to make them?
Wait, there's no loop from 1 to 100. I would not count.
This. Have fun and create.
Finally read the reference on lisp reader macros : http://www.lispworks.com/documentation/HyperSpec/Front/X_Mas...

Now I sort of get what #+unix means...
Bitten by a Snake
On Brave, pressing SPACE just destroys the ship?
> However, I think the lessons our industry has learned in architecting software systems could inform designing efficient data and request flow within a bureaucracy.

This I definitely agree with; it's kind of disappointing the information systems engineering knowledge has tended to become siloed within organizations dedicated to information technology, because you get much bigger gains if you apply that knowledge to broader processes, not just within computing systems supporting the processes. OTOH, with people who have that knowledge generally getting paid more to apply it in IT (and getting listened to more there), it's kind of understandable if unfortunate that the knowledge gets stuck in IT.
Amazon.com: Toshiba EM131A5C-#SS Microwave Oven with Smart Sensor
100,000 deaths from the Bubonic Plague in Marseille.

100,000 deaths from COVID-19 in America today.

Of course, the two have vastly different populations, so 100k in Marseille speaks to a much larger fatality rate than covid19 (obviously, it’s the plague!). But it really shines a light on how poorly the US has done/is doing about COVID19. And the President golfs.

Most poignant part about the article:

“ While economic activity took only a few years to recover, as trade expanded to the West Indies and Latin America, it was not until 1765 that the population returned to its pre-1720 level.”
The UI design of calculators is fascinating. Where do you put the buttons? TI and friends have a randomish layout, let alone the TERRIBLE mobile calculator apps.

(Self-promotion) I always wanted to design a calculator and finally got around to it as a lockdown project - https://ucalc.app
I wouldn't be so sure. There is no easy answer. It typically wins in trivial benchmarks, where the total heap size is small. However once you have a big heap of other long lived stuff, there is a significant indirect cost caused by scanning the heap, memory barriers and evicting good data from caches. This cost is negligible only if your total heap size is much larger than the live memory set. Also modern manual memory allocators are not as slow as they used to be a few decades ago and they actually allocate in low tens of nanoseconds.
One alternate way to do a book club:

1. Meet every 3 to 6 months.

2. Everyone bring books to swap.

3. Everyone bring a list of books they really loved.

4. Each person takes turn talking about the books they loved while sitting around a dining room table with snacks and drinks.

5. It's fun if other people have read the same books. It's even more fun if they disagree.

6. Last time I did this I added 10 books to my "To Read Pile" and traded books with friends.

7. Everyone wanted to do it again.
Ask HN: What are some good resources for an engineer who wants to start a SaaS?
Following on the heels of this discussion [1] what other resources would you recommend to an engineer bootstrapping their first SaaS?

I'm about to give it another shot and was really impressed with the linked resource, and it's making me realize there's a ton of stuff out there that would be incredibly helpful – I just don't know where to look to find it.

If you could share some resources or where to look for them that would be incredible. Thank you!

[1]: https://news.ycombinator.com/item?id=23289185
Yep, I guess I saw June 26, 2015, and flipped the 5 and the 6. Thanks.
I think programming language design as a having a large random component. New languages pop up every day, and it's really hard to predict which constructs will resonate well with human brains.

Guido was competent, but not nearly as brilliant as, for example, Larry, but Python 2 was dramatically better than Perl. I think this is mostly by chance. Hundreds of new languages come out every year, and by whatever fluke, a few of them really work. Python 2 was that.

In an ecosystem like that, past performance is no indication of future performance. There are very few language designers who did well more than once (Guy Steele is the only one I can think of who wasn't a one-hit-wonder).

So I too felt like Python 3 was more of a step backwards than forwards linguistically. But at this point, it has features I need which Python 2 lacks, so I'm mostly working in Python 3. But it definitely feels (unnecessarily) less clean.
I will say that a book like Infinite Jest is a terrible choice for the usual, more casual bookclub.
Thats cool idea
Aren’t you thinking of Merkle Trees?
https://en.m.wikipedia.org/wiki/Merkle_tree
The first time I met it many years ago:

The quick brown fox jumped over the lazy dog’s back.
It boggles my mind that people accept to be treated as lab rats with unknown consequences to their health decades down the line, just so an utterly useless bureaucracy can justify its existence and certain political goals can be met.

Of course the TSA is just the tip of the spear. As James Duane so powerfully demonstrates in his talk and book [1], the number of gun&badge toting Federal agencies with the power to ruin one's life, sometimes even making up crimes to do so, has been steadily increasing. As has the number of nonsensical criminal statutes and regulations in the books.

[1] https://www.cato.org/events/you-have-right-remain-innocent
It is nowhere near stack allocation, please stop this nonsense. There was a paper claiming that, but the requirement was to set heap size 7x bigger than needed.

Stack is also very hot in cache. Memory that GC is handing allocations from is not.

I recently ported some of Cassandra code from Java to stack-only Rust and I got ~25x performance improvement, most from avoiding heap allocations and GC.
Thin laptops with QHD displays generally cost around the same as a MacBook (and still have crappy trackpads).
Thanks to Alyssa Rosenzweig and the Panfrost team for reverse-engineering the Mali GPU.

We can start moving out of the Intel/AMD backdoors and start to equip ourselves and our communities with trustworthy computers : ARM-based for now, RISC-V-based for later.
Which was also registered eight days ago, it would seem.
I see no reason to use curio or anything instead of standard asyncio. Works really well for me. Queue tasks, they finish at their leisure, create futures and locks to control flow, all really easy and bugless code. And you get async redis, async http, a lot of asyncio functions for free. So no, I will not change it for some "really well architected library that takes away all your pains" because there aren't any.
They've got a pile of 3168s they want to get rid of or acquired for free/near free. There is no reason to buy that card new in 2020, it wasn't even a good option for the price when it launched in 2016. +10 is a touch over the full per unit price on bulk orders of the ax200 (I just bought a couple hundred recently) so they are saying they save nothing by keeping a 3168 on hand. WiFi cards have this happen a lot since they are one of the few things that are still modular in laptops and most people wouldn't even notice (well in this case they might since the 3168 is only 1x1 and the ax200 is 2x2).

That being said if you're planning on running Linux do know for the ax200 you'll want to be on/backported from 5.4+ and grab the latest microcode or it could be a bumpy ride.
Yes and many do
Nice post. I think the PS5 read might be a little off though. The pro edition is likely to be 600ish USD and come in a little lower than 14 of the tflops.
Apple Car Speculation: The Missing Pieces
You forgot about OpenMP.
An introductory book on accounting is very useful if you never ran a business before.
I think this is the expected behaviour of the transaction but the problem comes from the fact you wrap all DB operation inside a Promise.all.

Because you wrap the DB operations inside a Promise.all, it means it will run them all BUT it will not revert them if one fails (it's not atomic, it just says that one has failed and you need to catch it), it will reject them but not revert them. (the CUD operation will already have changed the data)
The problem I believe is the transaction is considering the Promise.all and not what's inside of it so it will run it again despite the fact that some have already succeeded earlier

I think you just have to resolve each of them outside a Promise.all.
In your case because Promise.all has been rejected it will redo the transaction, therefor it will redo the one that have already worked in the first call.

I'm no expert but this is how I understand it.
Apple defines retina as 220 dpi for laptops. WQHD at 14 inch is 210 dpi, so basically retina. FHD at 14 inch, the most common resolution these days, is 157 dpi, and quite clearly not retina.

Another big difference is aspect ratio. Lenovo ships 16:9 displays. WQHD gives an effective vertical resolution of 720px at 2x. FHD at 1.5x is also an effective vertical resolution of 720px, or 864px at 1.25x. Apple on the other hand ships 16:10 displays with an effective vertical resolution of 900 px at 2x. That means a 13 inch macbook pro fits more lines of code on the screen than a 14 inch FHD or WQHD thinkpad.
curio is by David Beazley, [1] which should be reason enough to investigate it.

[1] once memorably dubbed "the people's champion" in the introduction to one of his PyCon speeches.
There was also a model that had "forward" and "spin counterclockwise".
I definitely empathize with victims of financial hardship, speaking as one! I have zero income right now, and I am not sure where I'll land at the end of this. But financial hardship is solvable -- food, housing, etc. can be handed out. You can't hand out extra lives to victims of the disease. The US government is literally printing trillions of dollars.

In my first-world country, most people I know are either:
- working from home, otherwise normal
- got laid off and are receiving government income, which is pretty modest for doing absolutely nothing.
- working with reduced pay/hours, which is subsidized by the government.

Are people starving? Are people dying on the streets of malnourishment? I don't see that happening.

People are dying in hospitals due to a disease. That pretty much trumps everything else that isn't killing people.
Fear is a powerful motivator.
I made the list while I was a Software QA Engineer at Apple, since there were a bunch of fun Unicode strings causing particular issues there, which gave me the idea.
Really wish they zoomed out so you can get a sense of the scale...
This looks great! I’d love to see some of the fantastic context in your lovely Twitter thread included on the website.

As someone who’s currently in industry rather than academia, I interpreted “virtual conference” as “a Twitch or YouTube stream, and likely some sort of chat space like a Discord”. That landing page does a great job of explaining the technical underpinnings of your tool, but doesn’t actually explain what sort of site/services the web server actually serves!

Even just including the GIF from the beginning of your Twitter thread would be super helpful.
For large corporations expecting a lot of inter-office travel, it makes a lot of sense. I assume the company owns the hotel and therefore has first dibs on rooms and pays minimal costs to whomever ultimately operates the hotel.

I interned at a company with 50k employees that's redeveloping their HQ campus. The redevelopment includes a fairly large hotel on site because the company has a decent amount of business travelers coming/going every day. The main office building currently has a room dedicated to storing luggage for employees traveling.
https://edition.cnn.com/2019/11/08/politics/legal-question-o...

> According to the Intelligence Identities Protection Act of 1982, the disclosure of a whistleblower's name could be a criminal offense if it is intentional, unauthorized and "the United States is taking affirmative measures to conceal the covert agent's foreign intelligence relationship to the United States."

But as many pages about the Whistleblower Act will tell you, this kind of thing is uncharted territory and presumably the exact kind of uncharted territory that gives expensive lawyers for large media companies extreme willies.
List of English words from indigenous languages of the Americas
A sight to behold. I’ve been to that area and I believe it was the Straits of Malacca, which is connected to the Indian Ocean rather than to the Pacific. Not quite an ocean but still awe inspiring to see the massive power that water has.
Texas highways can be way bigger than expected, almost a monument to the American style of automobile based freedom.

https://www.alamy.com/highway-interchange-or-multi-layered-h...

I think the commenters point, was that even if it an employee was staying literally across the highway from the campus, there would be no way to walk.

One you get to understand the road design in Texas, there are many advantages, such as their use of frontage roads and the ability to make u-turns under the highways without a traffic signal. But it generally speaks to the sprawl.
Out of curiosity, what happens when you try to do so?
That’s a real shame. I just don’t understand at all where you’re coming from, or in what way I’m being dishonest.

To me is seems straightforward to say that a system that is no longer able to provide an acceptable standard of care to a majority, or large minority if it’s patients, has been pushed beyond its capacity.
>> “legally the president and anyone acting under his command are immune from prosecution if they acted according to legal guidance from the white house council“

Source? As far as I am able to tell, this is false; as in it is not that they are immune from prosecution, but that prosecution has never occurred.

Clearly, if war crimes were ever brought, regardless of the laws, commands, etc - it would have not resulted in being immune from prosecution.
The real point of using C and (less so, but still) C++ is not to have the ultimate performance, but to have ultimate control over the program execution. Garbage collection and real-time code are not compatible, because GC introduces random, unexpected stalls in the program flow; even simple reference counting can be harmful, if the last reference get eliminated in the wrong time, and creates a cascade of deallocations.
Caffeine: A vitamin-like nutrient, or adaptogen
I was prepared to say "yes and no", insofar as Merkle trees are more general.

But some poking around reveals that Merkle's original patent was filed in 1979, whereas Lamport's paper introducing a cryptographic hash chain (S/KEY) was published in 1981.

For an append-only linear data structure like a log or database table configured to be append-only, hash chaining is fine. I've used it for that purpose. Merkle trees are much more useful for anything that needs to fan out or (as git shows) fan in.

My real point was meant to be that these ideas predate blockchain, they don't necessarily need new names.

https://crypto.stackexchange.com/questions/68290/when-was-ha...
Draftback: Play Back Your Own Google Docs
Very interesting article, and not just about the dance notation typeball.

The 1962 print ad says "Potential speed becomes practical speed, thanks to a stroke storage system that releases type characters in sequence no matter how fast the typing."

I got curious about the "stroke storage system" - was it mechanical, electronic, or what?

The Wikipedia page has an explanation of this mechanical storage:

> The machine had a feature called "Stroke Storage" that prevented two keys from being depressed simultaneously. When a key was depressed, an interposer, beneath the keylever, was pushed down into a slotted tube full of small metal balls (called the "compensator tube") and spring latched. These balls were adjusted to have enough horizontal space for only one interposer to enter at a time. (Mechanisms much like this were used in keyboards for teleprinters before World War II.) If a typist pressed two keys simultaneously both interposers were blocked from entering the tube. Pressing two keys several milliseconds apart allows the first interposer to enter the tube, tripping a clutch which rotated a fluted shaft driving the interposer horizontally and out of the tube. The powered horizontal motion of the interposer selected the appropriate rotate and tilt of the printhead for character selection, but also made way for the second interposer to enter the tube some milliseconds later, well before the first character had been printed. While a full print cycle was 65 milliseconds this filtering and storage feature allowed the typist to depress keys in a more random fashion and still print the characters in the sequence entered.

https://en.wikipedia.org/wiki/IBM_Selectric_typewriter
It seems to be an endothelial disease. And it causes blood to clot in small vessels all over the body. This may be a mechanism by which is damages the lungs (as well as broken off clots lodging there).
True that. After looking through the script in more details, I wouldn't recommend running without checking. I thought it was doing just basic ssh + firewall, but it does a lot more things, so probably better to run piecemeal even for non-experts.

Maybe this could be turned into some interactive script that explains a little (in beginner-friendly language) what each step does? It would be also nice to have a log of which steps were performed, and instructions for the undo-step in case users want to go back... wishlist.append( ^ ).
Hopefully Microsoft starts porting some of the code over to Rust soon. That should help.