skysight-inc/HackerNews huggingface dataset:
The total memory overhead of manual memory management can be virtually zero if you're careful enough to avoid fragmentation (and you can because it is manual, so you control a lot of details). There is for example no constant header for each allocated chunk. In Java you pay additional 16B for each allocated object and you can't get away from that overhead.
> When I say (255, 0, 0), I expect the display to show me its best approximation of red.

Which red? There isn't a single, true "red". And different materials produce different reds (my work's Sony BVM-X300's reddest red is going to look way different than your monitor's red). Not all displays use only RGB color primaries, too. For example, at Dolby's office in San Francisco they have a projector in their theater that uses 5 (IIRC) color primaries, not 3. 6-primary projectors exist. And other non-RGB displays.

> When I say (255, 255, 255), I expect the display to show me something as close to white as possible

Which white? D50? D55? D60? D65? D67? Something else? And yes, these different white points (and many others) are actually used in practice.

> (and at the brightest possible setting).

100 nits looks way, way different than 4,000 nits. Some monitors can do 10,000 nits.

> When I say (0, 0, 0), I expect the display to show me something that looks as close to black as possible. It's up to the display technology to decide whether this means just turn off that pixel on the screen or disengage the backlight or do whatever, but at the end of the day it's just trying to approximate black.

Which black? This might sound dumb, because we can agree that there is an objective "absolute black" (i.e. zero photons). But when an artist creates an image, the monitor they use has some version of black. If you don't account for that, the image may be distorted. Blacks can be crushed, for example.

An absolute color space exists. It's called XYZ. We could use it. Some image formats support it.
I was just thinking the same thing. I was looking into [Gemini Dollar](https://www.gemini.com/dollar) yesterday. It's a stable coin that gives the patina of being FDIC secured. Their website says, "Gemini is a U.S. company regulated by the New York Department of Financial Services. GUSD reserves are eligible for FDIC insurance up to $250,000 per user while custodied with State Street Bank and Trust.¹" Furthermore, Gemini offers 8% interest deposits of their Gemini Dollar. This sounds like a safe bet to an unassuming person. Easy 8% returns with no risk since your initial deposit is FDIC insured, so it's just like any other savings account. BUT ITS NOT. The fine print reads, "FDIC insurance applies only to the USD reserve funds. GUSD exist as ERC-20 tokens on the Ethereum blockchain; tokens are under the user’s self-custody, and are not insured through Gemini."

And this is coming from a reputable backer, relative to other stable coins. Then you have Tether which is a ponzi scheme tire fire years in the making and done almost entirely in the open with no consequences. Given that stablecoins like these are used to underpin a lot of the crypto markets, if one of these were to falter I don't see how it couldn't trigger knock on effects bringing down the others and the entire crypto market with it.
I find the author is missing the forest for the trees.

The magic of their experience was created by automatic environment configuration. It's the magic that let them start working without spending a day preparing an environment to start working within.

It's something that VSCode does quite well, not perfectly, but well. It installs a decent environment automatically for most popular languages and toolkits.

Emacs has _finally_ caught on, and lsp-mode will attempt to automatically install language servers for you.
> > the graph you link shows deaths below all the past waves

> and rising, which is what you said you didn't see

"Death rates". How explicit do I have to be? "Death rate" is the total amount of deaths (which you linked) DIVIDED BY the total amount of COVID cases. Linking "total deaths" and implying it is "death rate" is absurd.

> There are more vaccinated people in the EU now than at any earlier time, and yet the death rate has already climbed halfway back from to the November 2020 peak

And this is even more absurd. You must be able to ARGUE IN NUMBERS if you will argue that numbers are increasing; using half-baked logic and ignoring the unvaccinated population who is probably fueling most of that death spike is like me making a performance benchmark for performance-per-core and then measuring how many instructions were executed without providing a time measurement and saying "the higher instruction count is better", which is to say if someone was to do it they would be laughed out of the room.

Perhaps this is your cue to exit.
> Any application that could be done on a blockchain could be better done on a centralized database. Except crime.

Actually, you can have private digital currency without a blockchain that would be perfectly usable for crime. You'd need a server coordinating a scheme like that of https://www.chaum.com/publications/Chaum-blind-signatures.PD..., preferably accessed through Tor for additional privacy.
These displays are very popular with Raspberry Pi-based systems, e.g. the Lisperati (usually in horizontal orientation):

https://www.cnx-software.com/2021/02/08/lisperati1000-lisp-p...

The display alone can be found on aliexpress for about $80:

https://simpaul.com/ultra-wide-monitor-for-a-pi/
We all get heavily sold the “American dream” which is a lie to keep the lower classes constantly working hard.
That still doesn't make it a good thing.
Literally any tech company paying US engineering salaries? Try to calculate what a bay area engineer makes hourly sometimes, then go ahead and flip that AWS cross-region data replication checkbox (and maybe make your S3 bucket immutable too, storage is cheap), then tell your boss that you just saved the company a whole bunch of money compared to your team cobbling together some janky bespoke backup solution that nobody will remember how or if it works 12 months from now.
Yep. I've replaced the title with something more neutral now. Unfortunately I actually had to write something new (this is almost never necessary— https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...).
The decentralized exchanges are essentially just automated market makers, but in a different sense than existing automated market makers like Citadel. The contract deals more with balancing pools than a traditional market maker who just forwards orders to an exchange or matches it themselves.
https://archive.md/fcoYT
Most of my stuff is ZWave which is 100% local (big Zooz fan, and I hear that Inovelli is just as good). I have a bunch of Lutron switches too, and a couple Hue bulbs. Both of those will technically phone home, but you can cut off their WAN access and they still work just fine. I control everything with an old Mac Mini running Home Assistant.

The trick is, before you buy anything, look it up on Home Assistant. If its "class" is "local push", you're golden:

https://www.home-assistant.io/blog/2016/02/12/classifying-th...
They paid Pfizer a lot more per dose than other countries. There were also reports that they were willing to share data on outcomes more freely (or less bureaucracy) than normal.
Thank you Cloudflare!
Well the OP said he becomes more confident in GCP, that's why I said this... My personal experience working at Amazon and Google told me that Google's engineering culture and practice are setup to a slightly different scenario than AWS. So if we assure cloud is more of an AWS defined business, than GCP seems are catching up, but not as fast as I would have hoped for.
> If you read the study and not just the abstract

I'd have to purchase the PDF for that.

> it puts the general lowest age for 60yo men at around 45 for purely sexual fantasy partners

I find it really really high and hard to believe. I'm not sure about the methodology employed, but if people can just lie, I wouldn't trust the results of that study.
Most programmers use PHP, Python, Ruby, Node.js which are all GC bytecode VMs.

What language are you imagining as an argument here?
First you buy a house and get established, then you start family. In Asian culture it is not even possible to get married without that.
My dependencies can't keep up.
> I think it’s mostly jealousy and a feeling that they missed the boat, so they want to see it sink.

If crypto and defi live up to their promise, no one is going to "miss the boat". People at large will start getting paid in cryptocurrencies and they will start using them in transactions. If there are only a limited number of boats for this thing, that means it's a bubble and it's going to pop.

Personally, I struggle to see any real uses for cryptocurrency that are not at odds with it being deflationary. So, paradoxically, for as long as it keeps going up, I don't trust it will hold its value. Once the curve flattens and adoption picks up, then sure, I'll consider it, but at that point it doesn't matter if you get in early or not.
The problem lies with all of the little ways a dysfunctional democracy fails to take care of it's people. I don't think it makes any sense to suggest dissatisfaction causes these policies.

Politics is the culprit only in the sense that many otherwise straightforwardly practical issues have become politicized to the point that objectively poorer and often dangerously irresponsible choices are preferable to any choice that is associated with one's political opponents.

Looking at it this way, it is clearly the political situation that is causing dissatisfaction.
>Cities grow around something. In the past, that "something" has generally been a point-specific natural resource that can be exploited. Natural harbors, confluences of rivers, mines, etc. Sometimes cities grow around point-specific artificial resources like crossroads.

They can also grow around political and religious motivations like the Massachusetts Bay Colony, Las Vegas, Salt Lake City, the utopian experiment of New Harmony, Indiana, etc.
Remembering the core syntax and api's are like magic for productivity, you no longer think in words or variables, you think in data structures and how different endpoints and functions interact, your hands type the code via muscle memory.

Only problem is that the code can sometimes become a bit terse if you do not have an autocomplete, a dumb autocomplete is often enough though.
Yes I would have been happy with the word deviation. The discussion here has shown that many people misunderstand the use of the word anomaly.

I don't know what you mean by "it is not chance that there is an actual anomaly".

As for "straining the point" - well I made the point, people responded, and I responded again.
What do you mean by that? $5000 isn't a fine, it's the amount stolen that moves the offense into a higher category. How does that translate into making the rich able to commit crimes?
My point is that as a Brazilian, you don’t need a Portuguese passport before you go to a rich EU country. It’s trivial to get a German working visa in tech.
If you want syntax highlighting, the AST is enough to generate pretty colours for the source code. If you want semantic highlighting… sure, that's another story entirely. And even then you don't necessarily have to do as much work as the compiler itself.

And don't even try to be smart with dynamically typed languages, it cannot possibly be reliable, short of actually executing the program. If your program are short enough you won't need it, and if you do need such static analysis… consider switching to a statically typed language instead.
So, can you name one single successful application of blockchain in the real world? Apart from crime.

I believe this is exactly the point of the author - there's lots of handwavy bubblebabble about this technology, but we're now well into the second decade of blockchain/distributed ledgers, and yet to see one single non-criminal real world application.
Thank you for recommending this, I started reading few pages and I love it! The book is very easy to read and understandable
Prometheus… though you may not like what you find.
This just stops them from easily charging you. It doesn't change your liability.
HYPE-based debit cards!
You are sitting there thinking it's ridiculous on Tesla. Are you thinking it's ridiculous on Google? Or Apple?

Don't give yourself a hard time :) I think the Tesla stock price is ridiculous. It's not a jealousy thing. I don't think Google or Apple share prices are ridiculous, and more people made more money out of those two.

If someone makes money in a ridiculous way, it's ok to think it's ridiculous.
> What is stated without evidence can be dismissed without evidence.

Lol, there is no evidence in this article, it's pure conjecture.
>dreams for onshoring chip supply chain

Depends on what the dream is. Bulk onshoring? Probably not while the geopolitical situation stays on the status quo.

But I don't think that's the attempt we're seeing here anyway. I think what we're seeing is the foundations built for the capability to bootstrap more robust manufacturing in the West if/when China decides that Taiwan really should stop claiming independence, and perhaps at the same time exerts its local power over that entire region of the world and thus South Korea as well.
How hard is it to imagine that an hn user is not based in the us?
> See, now you have 3 files, the .h/.c file pair of the library, and your own implementation source file with the configuration which includes a .c file.

The third source file is what the library authors suggested; I'd just create a seperate Makefile target for the implementation, which is then linked into the binary. (Yes, that's an extra target, but that costs very little and allows you to avoid unnecessary rebuilds.)

Why don't you give me a concrete counterexample where the single-header-setup makes things simpler? If it's so obviously beneficial it shouldn't be so hard to come up with a concrete example.

> #define IMPLEMENTATION
> #include "base_library.h"
> #include "extension_library.h"

Thanks for explaining, but that doesn't really motivate having a single file, since you could just as easily do:

#include "base_library.c"
#include "extension_library.c"

And you've saved a line (and removed the need for obscure preprocessor macros).

> ... without having to add a separate 'private but actually public API'.

Personally, I'd say this is exactly the right way to model this, but even if you disagree: it sounds like this simplifies things mainly for the library/extension authors, and not the library users, because if the extension author forward-declares the implementation details they depend on, there is no additional file to manage for the users either.
Not sure of the exact short story he's referring to, but it must take place in his Laundry Files series

https://en.m.wikipedia.org/wiki/The_Laundry_Files

He also has another series which he just finished that is very good as well about a family with the ability to step between diffrent timelines that's an interesting deconstruction of the trope.

https://en.m.wikipedia.org/wiki/The_Merchant_Princes

********Spoilers*******

.

.

.

While it starts as starts as a fantasy series, it eventually comes out their magic abilities are remnants of advanced nanotech from an interdimensional empire. Apparently a publisher he didn't like working with had the rights to his next Scifi series, so he had to start it as fantasy to get around the contract.
Does this make building a large NAS with an RPI doable?
> What I contest is that they make the original suggestion that "only weakened immune responses will receive the booster" with no implication the policy will change with new data. Now it is a "major shift", and not an "predicted outcome acted upon with sufficient data". This is a consistent problem in public messaging throughout the pandemic; people feel uncertain and like the government is as clueless as them.

I think it's really hard to give such a nuanced message. Here in the US, there was broad speculation about the requirements for boosters for all eventually-- including by policymakers -- but the boosters were initially only recommended for those with risk factors (either occupational or health).

In a few years, there's going to be a recommended coronavirus vaccine dose schedule, and it's going to look nothing like what we do now. It's all going to evolve. The public messaging is going to be focused, though, on what we want people to do now.
Okay, so I may have left out a key detail that these "companies" were large ISP's and had massive networks of their own with hundreds of thousands of devices, let alone customer devices on that same network that needed to be managed.

When every set top box, cable modem, customer wifi gateway, and all of your routers/management interfaces need RFC1918 space it goes real quick, real fast.

It gets even worse when you are have to have a lab where you can setup infrastructure that looks/feels exactly like production and thus needs similar setups, now do that for testing/staging... and there's doubling of your required IP space already.
check out https://www.home-assistant.io/ Open source. You can be as fiddly or stable as you have tolerance for.
Emacs NG – A new approach to Emacs
No expectation of future returns. People who hold cash expect to lose money.
That's exactly what it is. I make a point to use the term cannabis, as marijuana is simply slang with racist connotations attached due to the propaganda of the war on drugs
Even with the ability to renumber RFC1918 is just not that large, and when you need to summarize routes/BGP you can't easily re-use empty space from one location in another because it'll blow up your routing tables.
I wonder how much this has to do with language barriers? I doubt these terms have the exact same meaning in every language as they are very abstract.
> after falling ill with the second shot I'm not participating in this charade anymore

“Falling ill” means your body had a strong, visible immune response to the vaccine. The whole point of the vaccine is to trigger your body into an immune response which creates antibodies against the vaccine, thereby giving you protection against the real thing.

> communities with almost 100% seeing no improvement

You’re just wrong about this. In cities like Seattle and Portland, life is pretty much “back to normal.” As a result, people are interacting with each other and “spreading germs” around like they used to be. Without a vaccine, this kind of behavior would have caused a huge spike in severe cases. And while changed behavior has caused an uptick in cases, the number of severe cases has not. Unvaccinated people in King county near Seattle, for example, are 38x more likely to be hospitalized with covid.

The better explanation to your comment is that an imperfect world is hard to predict and that there are reasonable explanations to most things, rather than some sort of superstitious reference to it being a “charade.”
The blame is clearly on the shoulders of politicians and those who keep voting for them. Most of the political class are pushing globalization, and thus align tax incentives towards outsourcing. Imagine if the politicians in charge practiced what they preach and refused to buy or import goods that were produced by countries who don’t meet US labor law or emissions standards. The problem would practically solve itself.
I believe on a PDP-11 at Clarkson college in New York state.
You're assigning a color profile to the image in your model - the color profile of the display. Hence no color conversion needed, as source and target match.

What "red" and "green" are has changed quite dramatically with different display technologies. A display designed to meet Rec.2020 can show colors that other displays literally cannot produce and the deviation between the primaries is so big that everything looks like garbage if you don't do a color space conversion. Take some sRGB content and display it on a DCI P3 display. Looks like shit. Humans look like crabs.

> On monitors and displays, sure, those vary, but why allow people to specify a color profile on an image

The sole reason why we have device profiles defining device color spaces is so that we can convert from the image's color space to the device's color space. If images don't have a profile assigned to them, you don't need a device profile.

So you either have both image and device profile, or neither. Just one doesn't make sense.
Missing "How" from title

Pretty cool article. I've been dealing with JS for years without ever thinking too hard about how it all works
Except that those are the old rules that USA failed to meaningfully change in their campaign of using up and ditching some equipment, so they can justify taking more of the taxpayers money to buy new equipment and skim a part of that money for themselves.

Did America do anything positive there? Or did they just pause natural development of that country by 20 years, to organize their little vacation from Taliban?

Rarely anything postive is achieved by going somewhere and breaking some shit and killing some folks for some time. Last few decades of USA foreign policy show it more clearly than any reasonable person should require.
Well, we would actually have to rein in the oligarchs and puncture the asset bubbles to do that, and I think we have 0 stomach for either.

Our public transit woes also demonstrate how little US politics cares about details, and how much they stomp all over the independence of a civil service that would.
This is only if the end user allows seizure. If I have only a 12-word seed in my memory and not a single private key written down anywhere in my house and no bitcoin wallet installed on any computer, you have absolutely no way of confiscating anything. It's something that a lot of outsiders do not even realize. Bitcoin is actually entirely un-confiscatable. If someone commits private keys to memory or entirely encrypts and off-sites private keys, exactly how can the money be confiscated? It cannot be confiscated. Any human in the world can move freely about the globe at this point in time with billions of asset value solely residing inside their brain. Import that memory into any mobile or desktop client wallet anywhere in the world, or recite the key secretly to someone else they trust anywhere in the world.
Miserable Things to Be Thankful For
#12. Telemarketing calls. Leslie Jones, Jerry Seinfeld, Vin Diesel, Jennifer Aniston, and Johnny Depp, among others, tried to railroad you into questionable purchases over the phone. Maybe you should have picked up?
No you totally missed my point. Places I was giving example as are places where you as a politician literally have to do nothing and you would still be winning elections. So my point was if millennials and GenZ are the victims of the policies or lack thereof and want these politicians to do something, why do they keep voting for them when these same politicians have fueled the price growth and continues to do nothing? The example I gave was SF which happens to be left (much like most of the HCOL cities) but the same would be applicable to right as well.

My point is the moment politicians realize they don’t actually have to make any efforts to improve the quality of life for their constituents, and can rather keep them busy driving culture war outrage and making them single issue voters is the moment people as a whole lose. For example I don’t like Joe Manchin or Kristin Synema. But they are hell of a better choice for the people they are serving than Nancy Pelosi or Ted Cruz. Knowing your action can cost you elections is how democracy is supposed to work.

> If we followed the logic in your comment, a millennial in a southern red city would reject the right, and choose the left

If it means that the right is virtually winning every election cycle and not doing anything to improve their quality of life and major pressing issues, then yes they should. Democracy is all about keeping people in power in check so when it comes to re-election we can vote them
Out if they didn’t do a good job. at least in my book.