skysight-inc/HackerNews huggingface dataset:
Our arena allocator does not reuse memory for simplicity (it allocates only forward, like a stack). A lot of the libc malloc complexity comes from the need to manage deallocated pieces of memory.

Which means that using array over this arena would waste more memory (due to array resizing) than linked list. When array is resized, the unused memory from the old array will stay unused until the whole arena is deallocated.
It happens, but not often - I’m struggling to think of an example. I am sure they exist.

It isn’t that surprising that an authoritarian power structure whose sole purpose is to create wealth for the owners of the structure would ally themselves with... an authoritarian power structure whose sole purpose is to create wealth for the owners of the structure.
Is it copyright infringement or breach of license agreement?
Eventually HN would lose (some of) its appeal. And if it would bug enough people a new forum would see a huge influx of people.
The phrase "Banana Republic" is entirely due to Chiquita/United Fruit Company.

God bless America?

(Also, wtf, Banana Republic is now an American fashion brand? Jesus Christ, way to have zero insight)

Once again, really unsure why you're being downvoted for mentioning facts.

Are you perhaps hurting some "invisible hand" idealists feelings? Who knows.
How about H&M and China?
If you have a large amount of memory, are doing decent amounts of IO, and linux OOMs, the system becomes unresponsive for many minutes before killing any process. At which point, ssh sessions timeout endlessly. A serial console stands a chance.

There is then also any case where you're debugging AMI builds and need to fix grub, or the init system without waiting 20 minutes for a new AMI build each time.

Also, the existing console log feature in AWS is insultingly not real time. It doesn't typically update at all unless you're within minutes of boot or trigger a reboot and it only buffers something like 4kb so a reboot can easily fully replace the logs. This really sucks when you're trying to get the debug console output, so this feature finally solves that.
You missing child mortality here and the average poor farmer which will tell a different story.
Yes. An existing ST3 license will work just fine for using ST4. Depending on when the ST3 license was purchased, there may or may not be an upgrade fee (but nothing has been told with regards to it).
As the sibling has said, this is usually used with SecureBoot. The system won't unlock the drives if, for example, you attempt booting an unsigned kernel image, change the boot order or otherwise tamper with the system setup.

Granted, in case of theft, the computer will boot up if nothing is done to it. But in the case of a "user" computer where no services are listening, the risk is relatively low. In order to get access to the decrypted disk contents you'd have to exploit some vulnerability in Linux and / or the login manager.
Google also allows app sideloading which is something that becomes critical during civil unrest in the countries mentioned in the article.
> So your problem is Apple solved the customer problem so well with “an Apple experience” that all other phone OSes were abandoned.

I don't really care how and why those two companies got their monopoly, that's beside the point.

> And as a result Apple should be forced to ruin that experience beloved by their customers, so that the relatively small number of software developers make a little more money?

There's hundreds of thousands of developers on mobile platforms and juste two single companies on the other side with blatant anti-trust issues, that's an easy argument here.

> As an Apple customer, I’m glad your software is being gated from me. I don’t trust your judgement.

I really don't care if you use my software or not either. I'm currently forced to use one of those two mobile platform for my daily use and both choices are terrible in their own way due to anti-trust issues. You have absolutely zero power over Apple which owns your device anyway so I'm not sure why you would say that, it's not like your opinion would matter to them.
Not trying to self-promote myself, but I have something similar (creating an HTTP server from scratch) but in Python [0].

I'm a Professor, I teach web development (to BSc and MSc students), and I always go through the "socket experience" before using any framework at all (usually Django, sometimes Flask). This lab exercise and another one for webservices (basically routing and sending json responses through the socket) are quite elucidative for them regarding web apps.

In the end, the message they get is that the internet is all text going back and forth (plus or minus some details).

[0] https://joaoventura.net/blog/2017/python-webserver/
> For now, I'm not going to talk much about the technical side of SingleStore, as we've been using it less than a month. But if you'd like me to do a one-year review in the future.

I would like to read a one-year review in the future.
Funny enough, they could for a while as part of Amazon's COVID policy, to prevent employees from crowding around timeclocks but that's now being rolled back.

Usually, unless you're a manager you're not allowed to carry a device onto the floor.
I suspect the real problem there is that consumer devices are sold at or below cost and the data they send home makes up for the lost revenue.
The point, I think, isn't that this is currently in Chrome, but rather that there are plans to add it to Chrome in the future.
Adidas, H&M, Nike etc were all signatories to the Better Cotton Initiative which were heavily critical of widespread human right abuses in Xinjiang.

They have been subjected to pretty harsh treatment from China including their online stores being disabled, frozen out of third party stores, supply chain disruptions and lots of critical media stories from government mouthpieces.
I'm keen on your examples from Iran. Was it the time that the British asked the CIA to depose the democratically elected Prime Minister of Iran, and reinstall the Shah, for the benefit of the Anglo-Iranian Oil Company (now a subsidiary of BP)?
> In the current environment, a bootstrapped company should ideally be: (a) niche (and therefore outside the traditional VC market crosshairs) (b) profitable from day one.

The fact that it is bootstrapped prevent it to operate without being profitable. That is tied to the definition of bootstrapped.

On a more nuanced tone. You can be bootstrapped in the note-taking space. Yeah this specific guy did not manage to do it. But he is a specific case (Excluding the fact that he had 10M of cash, who has that ?). He wanted the differentiation point of his company to be the product and only product. This is a pretty risky strategy to follow. Usually you want to differentiate yourself in several areas.

Seriously any company that goes out of business because of another company doesn't tell you the full story. There are very very few areas in which you will go out of business because of another company competing with you, and certainly note-taking, a space populated with thousands of companies
Piper looks amazing, shame its not on a package repo.
ACM Named Alfred Aho and Jeffrey Ullman Recipients of 2020 Turing Award
I didn't imply a solution, but I assume we can come up with one that satisfies your worries and mine
Now play with the thought that your Samsung TV sees no internet, but notices your Samsung phone over BLE. A couple of commands later your TV uses your phone as an entry point to the internet.
wow! never thought it that way! thx
Well, it's worth noting that there are a ton of hugely successful project management platforms launched after Asana - Bitrix24, Monday, Clickup, Notion, Airtable and so on. Asana did not crush other players.
It's very relevant that the plane was flying long enough for the pilots to go through the runaway trim checklist, which, if they went through the procedure, would have probably saved the plane. They didn't go through the checklist, because AFAIK they didn't realize immediately that it's a runaway trim situation, because of imprecise and/or conflicting indications in the cockpit.
US and EU are making up for lost time with sanctions imposed on Chinese companies and individuals.

Pretty much all they can do short of starting a war.
This is great advice IMO, let someone else manage your Kafka at scale. I feel compelled to mention that other Apache Kafka managed services are available, but agree that it makes sense to offload the complexity if possible! Disclosure: work at Aiven, who offer managed Apache Kakfa on whatever cloud you are using.
> courts will find are employees which the company needs to compensate accordingly

Already happened in NL, Deliveroo is appealing.
The alternative is even less practical in the long term.
Trauma Memes Are Dangerous: medical problems require medical solutions
How C and Objective-C declarations are translated to Swift
'Human rights before mining rights': German villagers take on coal firm (2019)
Observation of the optical and spectral characteristics of ball lightning
It's intention is not regime change. It's directly making slave labor unprofitable. Sure it's a whack-a-mole of sorts, but it at least makes things clear for everyone involved.

So usually Joe Rando does not care when he is shopping, but at least he can't and doesn't fund more labor camps indirectly.
Yes I didn't get this either.

My guess is he meant software contracting or something related, making software to order rather than making their own products.

And presumably he could've switched to a SaaS business model without leaping into a completely different market. Instead he should have stuck with some B2B area he was already working in and knew well. That was the high-risk part in my opinion.
Ask HN: FDA/BRCGS approval timelines for packaging materials
Hi all, would anybody happen to know FDA or BRCGS approval timelines around Packaging and Food Contact Substances? We got a question on our YC 21 application around regulatory stringencies and timelines, would be grateful to anyone who has a take on it. Much obliged!
In my country we don't have throwaway SIMs. In such a case, randomizing location beacon tracking might work.

LE stands for Law Enforcement.
Well I have a different personal email account and a different google phone account.
There used to be more android mail apps that allow logging in directly without using the phone’s credentials but its getting more and more rare.
Any Android mail apps suggestionsthat use web login than android are welcome
> If I read you correctly, your definition of "object" excludes each of the different concepts that C++, D, Python, and Abadí and Cardelli's object-calculus call "objects", but includes what Scheme, OCaml, and Kotlin call "functions"?

That's not my intention; I'm trying to match the definition of an "object" in common programming languages. As far as I can see an object (instance) is essentially a bundle of method handles associated with an opaque (possibly empty) bundle of (possibly) mutable state. (In some languages the bundle might also include some visible state, but that doesn't change the essence of the thing, since that can be emulated with method handles - indeed Kotlin does exactly this). In Python's case the opacity of that state is a convention rather than a strict rule, but I think the general consensus would be that it should generally treated that way, and also that Python's objects are somewhat less object-ey than those of other languages. Certainly I'd say this definition is a close fit for C++ and Kotlin; what are you seeing as different there?
The tax authority generally has that data.
The article has a whole section on it.

There have been, again, increased cases of sinusvein thrombosis in younger people, almost all young women, 9 died. Not so in older people.
Going by what they use I'd say the one thing Deliveroo has going for it is the big square bag things. All my Uber Eats and Just Eat deliveries come in a Deliveroo backpack
> Turns out people don't want to do business with you when you make comments like that, unless it’s the music industry

FIFY

I find it weird that Michael Jackson is on the radio so often and Chris Brown is still releasing new music and selling out, yet if they were behind a keyboard rather than microphone, they would have been cancelled long ago
Generate Dynamic Custom Form
In this form there are various textFields like Username, email, Password, etc. it has validations also, if validation passes then user can submit form. If any validation doesn't pass then we are showing the validation using the label. The changes are reactive to the textField changes. User can also edit the form and can view changes.
Edge devices and IoT device management in maritime
What the hell is happening with Android One?
OK, so let's look at the second of those, since the first is consumer level and not really our target market for professional grade networking equipment.

Your original contention was that it's hard to implement a single pane UI without putting a bunch of logic in the cloud. If our hypothetical one admin person with some idea of what they're doing, together with any automatic assistance the relevant devices provide, can set up enough local networking that all of those devices can reliably access the Internet and support cloud-based configuration, then a similar process can set up those devices to support single pane configuration using the LAN only.

At that point, looking back to the four "hard problems" you enumerated a few comments ago, I still don't see a strong argument for needing the cloud dependency.

The risks around network setup and reliability don't seem any worse for LAN-based configuration than cloud-based. In fact, LAN-based clearly has an advantage by not relying on any external infrastructure. It also has the advantage that if you want to get more serious for a larger deployment, you can run independent cabling and create a dedicated management network for control signalling, while most places aren't going to have an independent second Internet connection for management traffic if you accidentally break your configuration so your main data network loses Internet access.

Managing multiple sites is probably a non-issue at this level of the market.

Remote access for IT/support people is easily provided if necessary by having safe and easy VPN setup as part of your user-friendly interface. This has the added advantage that your tech people can also reach any other parts of the network they need, and so you might have required this functionality anyway. And if it's locally configured, you can always quickly shut that VPN access off again in case of any security worries, without needing anyone else's remote systems to be working properly before you can secure your own in an emergency.
Let me avoid the word "extreme" then - it doesn't make any difference to the core of the argument. One will be happy to live in a place with "very high" safety levels instead of "extreme".

I don't agree with your characterization of overall safety based on ranking positions. The US, as a few other countries, has very localized violence and that sharply skews averages. This means that it's quite possible to live in a safe area even within notoriously violent cities (which often have high violence numbers in relatively small areas).

Also, by international standards, the US has very accurate reporting and crime statistics. So while you can see a few countries with surprisingly lower violence numbers, don't assume you are comparing apples to apples in terms of how accurate these countries' statistics are.

So while it's true that in aggregate the US doesn't sit well in safety rankings, this doesn't mean that a clear majority of the country isn't extremely safe - as in the chances of you suffering violent crime being very low by international standards.

By the way - I'm not saying it's okay to have localized violence. However, it's quite possible, and easy, to enjoy very high safety levels in the US even if you are not rich (while this isn't necessarily the case if you are poor due to limitations on where you can live).
I am with you on this. What's magical in Rails? It imports classes for you by name based on their file path, "resources" routes to one of seven methods, templates are expected to be in a directory and named based on controller name and action, it defines methods on models for you based on the column names in the database, it runs files you you put in the initializers directory. All of this stuff is convenient, gets rid of boilerplate, and isn't hard to understand.
Generate them all with:

sox -n dtmf-1.wav synth 0.1 sine 697 sine 1209 channels 1
sox -n dtmf-2.wav synth 0.1 sine 697 sine 1336 channels 1
sox -n dtmf-3.wav synth 0.1 sine 697 sine 1477 channels 1
sox -n dtmf-4.wav synth 0.1 sine 770 sine 1209 channels 1
sox -n dtmf-5.wav synth 0.1 sine 770 sine 1336 channels 1
sox -n dtmf-6.wav synth 0.1 sine 770 sine 1477 channels 1
sox -n dtmf-7.wav synth 0.1 sine 852 sine 1209 channels 1
sox -n dtmf-8.wav synth 0.1 sine 852 sine 1336 channels 1
sox -n dtmf-9.wav synth 0.1 sine 852 sine 1477 channels 1
sox -n dtmf-0.wav synth 0.1 sine 941 sine 1209 channels 1
sox -n dtmf-star.wav synth 0.1 sine 941 sine 1336 channels 1
sox -n dtmf-pound.wav synth 0.1 sine 941 sine 1477 channels 1
sox -n dtmf-A.wav synth 0.1 sine 697 sine 1633 channels 1
sox -n dtmf-B.wav synth 0.1 sine 770 sine 1633 channels 1
sox -n dtmf-C.wav synth 0.1 sine 852 sine 1633 channels 1
sox -n dtmf-D.wav synth 0.1 sine 941 sine 1633 channels 1

sox -n dtmf-us-busy.wav synth 10 sine 480 sine 620 channels 1
sox -n dtmf-rbt-US.wav synth 10 sine 440 sine 480 channels 1
sox -n dtmf-uk-us-dialtone.wav synth 11 sine 350 sine 440 channels 1
sox -n dtmf-uk-busy.wav synth 10 sine 400 channels 1 # needs cadence
sox -n dtmf-uk-ringback synth 10 sine 400 sine 450 channels 1
sox -n dtmf-eur-dialtone.wav synth 10 sine 425 channels 1
sox -n dtmf-eur-busy.wav synth 10 sine 425 channels 1 # needs cadence
sox -n dtmf-eur-ringback.wav synth 10 sine 425 channels 1 # needs cadence
there was a time, in the distant past, where you paid a doctor only as long as you were healthy

This sounds implausible, and even if it were true it would not be very fair: it's usually not the doctor's fault when you've got some medical issue, so why should s/he suffer from that financially?
> have encrypted disks and have a machine boot unassisted.

That has been possible (without TPM) since about 2009: Shameless plug: https://www.recompile.se/mandos
Currently experiencing this at my current place of work. Instead of picking a popular React component framework (though the smaller ones would probably be considered libraries), i'm now stuck creating basic stuff, like new components for tabs and whatnot. That's even more fun when you have coworkers that enjoy lengthy discussions about the implementation (which isn't necessarily a bad thing) in combination with clients that want things done ASAP (which is a bad combination).

On the other hand, there are certain other projects which use frameworks like AngularJS which were essentially dropped and are now in the process of dying out - maintaining solutions written with AngularJS isn't fun either and also wastes time sometimes, especially when new components or other libraries can't be integrated with it easily (no pre-existing integrations for modern stuff exist and our own ones need to be written).

Of course, that's just in regards to the front end development - when talking about back end development, i'd err on the side of caution. Working without a pre-existing framework would mean having to write your own security code and that's generarlly regarded as a very bad and dangerous decision based on what i've heard:

- https://youtu.be/4qN3JBGd1g8?t=2371

- https://speakerdeck.com/eoinwoods/secure-by-design-security-...
Flask might be better than React, but it's still a framework. The ideal framework is just a library, which nobody is arguing against.
Some handymen tried to double charge me, in cash of course, but that's the only thing I've experienced. The stats say 20% of Germans report having been asked for a bribe at some point in their lives. That's not great, but not terrible either.
Yes. I believe in the long run, food delivery companies will dominate the landscape of casual/fast food consumption.
> targeting a FLoC is going to be like targeting a zip code

No, it's going to be like targeting by zip code when you already can target by other means as well (fingerprinting, IP address). So it's going to make fingerprinting easier.
Saw the ISS last night completely by chance from Schloss Sanssouci.

Are the starlink satellites really visible to the naked eye?
> Since most major distros use systemd by default, it is important that also most of them fix the same fundamental problems the same way; and I really hope this new oomd finally fixes thrashing behavior.

Solving problems in multiple different ways is the only reason we have multiple distros serving different needs. Unification is not always a positive thing.
Flagging is for guideline-breaking content and a sufficient number of flags suppresses visibility except for people who have showdead on.

Whereas upvotes and downvotes control the sort order without silencing anyone, reflecting (albeit noisily) the overall community sentiment. Voting based on agreement is a perfectly valid way to use HN, and it seems to be what the majority is doing. (At least judging from the votes on my own comments, where I can see the count.)
That can't come soon enough for humans. Dentists are... broken, for lack of a better word.
“He says, she says” generally implies disagreement.
The other "official app" ("Corona Warn App") is also not developed by the government or any government-employed developers. That distinction is no distinction.

"Official" means that the government has adopted it and given it a special status.

The federal government and state governments have endorsed the Corona Warn App. No special privileges in lockdown are connected to it. No special use by public health authorities is made of it.

Several state governments and municipal government have endorsed (and bought licenses to!) the Luca app. Special privileges in lockdown are connected with it, not everywhere, but in many places. Public health authorities are directly connected to Luca's servers.

If anything, the Luca app is more official than Corona Warn App where it's in use (several German states), and poised to become more important as more states introduce it.
Because I read this comment before I read the article it also didn't make sense to me.

Then I read the article and it did.

I feel like there should be a tick box, 1. "Have read the article", 2. "Have flicked over it" and 3. "Have not read the article"

[2]
Fix the OS and CSS to make it possible to define "real physical sizes". When you are printing a book, you are not printing a text with font size of 24 pixels. Forget about pixels, pixel density of modern displays is so hight that you rarely see individual pixels anyway and pixels are irrelenevant. But OS and web standards are still broken, frozen in time where XGA 19" CRT with 1024×768 px were common.
So that all the employees and major stakeholders don't dump stock on day 1 and tank the price, often permanently affecting the company's perception in the eyes of investors
Stallman being reinstated?

https://www.theregister.com/2021/03/30/fsf_mass_resignation/....
As long as local politics is so successfully muddied by national chauvinist bigots/populists there's not much chance of a coordinated foreign policy to try to do something about it.

Though the current US-EU sanctions on Xinjiang is quite an unexpected development. (Also might not really mean much.)
It's a very appealing service to the public, and it is quite popular, indeed.

But as a business it's tough because consumers are not willing to pay much for delivery, which is a very low productivity activity (a delivery 'rider' cannot do many deliveries per hour in most cases).
Actions, especially those by public figures, can have consequences that last far longer than 21 years