skysight-inc/HackerNews huggingface dataset:
People keep confusing program configuration files and program stdin and are surprised that TOML is not a good fit for it.

If you are provisioning servers from a TOML files, you're doing it wrong. That's your program main input, not config.

If you have deeply nested values, chances are you are again confusing configuration vs main input.

JSON and CSV are great main input formats.

TOML is a great configuration format.

YAML and XML try to do both, and end up doing average on either, but being abused for all of them (looking at you Ansible and Solr).

So you should use each format for the correct purpose, as usual.

A config file looks like ~/.ssh/config or /etc/nginx/nginx.conf, not like ~/.ssh/authorized_keys or /etc/nginx/site-available/default.conf.

Just because we love to put a lot of data input in config folders (.config and /etc are full of input data) and call that configuration doesn't make it so.

How to know if something is configuration and something is input?

Conf data is usually only manually edited (authorized_keys changes with the life cycle of the program) and doesn't contain logic (default.conf if full of logic). Conf is also how the program is going to behave when performing its main task, the boostraping state, not the data used for it's main task (so not ip for provisioning servers, which is not meta, but the main course, or default.conf, which nginx uses to perform the main task). Conf rarely changes, main input often does. Conf is not piped or redirected to stdin.
And of course you can select an arbitrary region to stage if you like.
I'm in the InfoSec field, and bug bounties are a huge thing now (well, for years but it seems to keep gaining steam) for app security. There are people who make a living, or at least generate secondary income off it, or others do bug hunting as a hobby and to help out and don't mind a little bit of reward when it's there.

Maybe it's because I'm not big into the development side of things, but I cannot recall any programs that'd be similar to bug bounties but focus on someone building code or fixing the bugs and submitting that in a freelance type capacity.

Granted, my limited knowledge of development may just mean I don't see obvious reasons it's not done or widely known about, and there would be a few different things thatd need to happen vs how bug hunting works, but its similar to your idea to attract more talent to work on small bits, without going out and hiring full time developers.
How can it be for the same reason? Google allows side-loading and third-party app stores.
Nope, windows. And if you update a file it sometimes doesn't update the info that changed in the file (even if the file is in a buffer), which is frustrating.
Codenames is easyfor an all-computer team; it's simply a word vector problem. There are already AIs published.

Pictionary might be harder.
Interesting, I've built a similar project that generates GraphQL API based on your database schema - https://okdb.io
Kids might. Or at least did. Packing tubes were magic, and Pringle’s cans are musical.
> Also, can you clearly articulate what exactly I'm losing here with a single App Store? So far I just see more cons than pros.

No. My whole point is that you're clearly happy in your benevolent dictatorship.

But it really doesn't suite me. I just told you the reason I'm not happy, and you handily dismissed it as "not compelling". Which is fine. For you it probably isn't. For me, not having root on a device I own intended for general purpose computing is literally a no-go on every front. It's not just insulting, it's a literal threat to my source of income. I find it just as crazy as if Volvo told me I could only drive on Volvo certified roads. They may be great roads (the best roads, which will never damage the car, guaranteed!) but I don't give a shit. I bought the car to drive where I want to drive. I buy a computing device to run the software I want to run.

So that said, my real problem here is that both major mobile operating systems currently operate under this model. Google is marginally better (by the barest of margins).

So you claim that a new product will arise when Apple decides that you don't fit in their dictatorship, but watching what's happening with Google and search right now... Well, I'll quote you - "I just don't find this compelling"

Google is still the only player in search. Youtube is still the only player in video. New products are at best fringe products that don't gain traction, because there's a clear monopoly effect in play here.
If they learned it, it's clearly something that they're capable of.

The fact that they're showing different behavior in different circumstances shows some basic idea of quantity, and what is the expected quantity, and at least the difference between 1, 2, n-1, and indefinite quantity.
That sounds hauntingly familiar. How bad is your PTSD? haha
What to Watch on the Weekend as a Designer
The fact we don't have massive phone botnets definitely can't be directly attributed to Apple's App Store
that was they author's point. some engineers would use it, if it existed.
I live somewhere where "pen" == "pin" in pronunciation, so it's, "You get what you get and you don't throw a fit."
"Documentation" used to be a hot buzzword before it was replaced by "information science".

See the first page of "Libraries and Documentation" by Godet (1939) at https://www.journals.uchicago.edu/doi/abs/10.1086/614452?jou... .

> Exactly what is the meaning of this word "documentation" which is used in so many different senses? ... Messrs. Lafontaine and Otlet took possession of the word, and at the beginning of the century gave it a wider meaning when they advocated "the systemic organization of information and of documentation."

To read Otlet in the original French, see «Traité de documentation: le livre sur le livre, theéorie et pratique» (1034) https://archive.org/details/OtletTraitDocumentationUgent or http://user.textus.io/examples/trait%C3%A9-de-documentation.... .

As part of this excitement, in the 1930s a number of people interested in microfilm as a form of documentation preservation and dissemination, started American Documentation Institute, with the journal "The Journal of Documentary Reproduction" and after WWII "American Documentation".

The explosion of different types of "documentation" lead to new journals, like the "Journal of Chemical Documentation" in 1961.

However, "documentation" as a term became passé. The ADI renamed itself in 1968 to "American Society for Information Science", its journal to "The Journal of the American Society for Information Science", and J. Chem. Doc. became first the Journal of Chemical Information (in 1975) and Computer Sciences and then Journal of Chemical Information and Modeling (in 2005).

As another example of its former hotness, see Taube's Documentation, Inc. ( https://en.wikipedia.org/wiki/Mortimer_Taube#Documentation%2.... ) which did the documentation management for NASA.
Which is to say, salty opinions, presented intelligently and politely, seem to do just fine for the most part.

I've found that to be true for the most part. It's not quite the case though, that all opinions will be treated fairly even when presented intelligently and politely. In my own experience, I've found that certain comments will be downvoted more or less no matter what.
I once heard the advice "Consider buying gear once you're productive. Don't buy gear to become productive." Once one has the bare essentials it's very solid advice. Having a dozen well-understood parameters to play with is often more useful than a hundred poorly understood ones, which can quickly become paralyzing.

I feel like the older model of accumulating physical gear helped put some limits on how complexity grew in small studios, but that has all been upended by software. There is definitely a balance to be struck between the capabilities of the setup and what will actually result in the best creative output. Creativity often thrives within constraints, and it can paradoxically become harder to work with objectively better equipment.
While that's correct, it doesn't alleviate any of the fears. Virus->Something transfer isn't relevant unless Anything->Virus transfer is also common (which doesn't appear to be the case?). Plant->Plant or Bacteria->Plant transfer are really the ones relevant to GMOs, and neither seem to be common. So we really can't say that genetic modification is just like what nature does, except for uncommon edge cases.
That's real easy to say when you work in an air conditioned office and shop at whole foods. Sure the demographics most represented here could absorb the cost but these demographics are a minority in the first word and a tiny minority globally.

Economic stability is what permits people to have the free time to care about abstract things like "the environment". Raise the cost of food, raise the cost of fuel, "internalize the externalities" or whatever the doublespeak of the day is, and you're gonna have a hell of a lot more people living on the edge and those people are gonna care a hell of a lot more about their immediate needs than about the environment (and they'll vote accordingly). These changes might look small at a micro level but at a macro level anything that decreases standard of living makes people prioritize their short term needs over the long term.
We can do that.

https://xn--80abdhdaex8bfbbgpe2c.xn--j1amh/ (HN has translated it, but a forum for Ukrainian speakers wouldn't.)

That's what this system is for.
Definitely heard this a ton in the US Army. Specifically around reloading your weapon.
Family motto is:

Good times, bad times, all times change.
Doesn't really matter. If you're a required crew member in a small plane, gotta keep it comfy, though most planes with 2 pilots would be big enough for a lav.
> I’m always fascinated to read outside descriptions of Americans on the Internet because they so often don’t resemble life here at all. Then again, whenever I read Reddit and Twitter it feels like many Americans are describing exaggerated versions of cherry-picked edge cases as if they were normal life here, so I can see how it happens.

This is one of the reasons I like the non-technical threads on HN that much (myself being uber technical): you have often well-balanced people providing a reasonable (and often sourced) perspective on topics I have a faint idea about.

This is also why I am trying to push my teen children to read HN, so that they get a really unique perspective from a dynamic source, where they can quickly select the points interesting to them (as opposed to, say, tech or sociological magazines where you need to have a interest to read longer articles). It sometimes work :)

Without sounding like HN marketing dept, it is actually sad that it is not advertised more in these circles (teenagers) who could benefit from the discussions. My children go to very good schools and exactly nobody there ever heard of HN (not one single person)
But a canning funnel can turn those into a good food saving option. Soup, pasta sauce, anything really that isn’t a firm shape.
if you mean self-host by that, then the author has also mention webflow which is not self-host afaik
Linus Torvalds:

> I am not a visionary. I'm an engineer. I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in.

Apollo 11 engineers:

> ok boomer.
They're also sold in paper sacks in the US. You do have to be quite careful with the sack to avoid puffing flour out of pinholes when you set it down.

I'm rather fond of the packaging on Wasa crackers, which appears to be waxed paper... but of course with Wasa crackers, how would you even know if they had gone stale? ;)
You need to check the projected size of national economies by 2050. India and China overtake US.

People with more money generally can afford more bullets. I wouldn't rely on them.

"live by the sword, die by the sword"
toml really is best for mostly flat data. when your config grows more complex than that, i recommended you break it into multiple files and use directory structures or filenames to convey their relationship. or, of course, switch to a configuration format that is more well suited to deeply-nested data.

your comparison to yaml or ini is apt; toml's strength over yaml is syntax simplicity and toml is more-or-less a superset of ini (which itself is poorly-defined).
What you are describing is simply a bottle recycling program as it already exists in a number of European countries. But the OP was talking about the need for alternatives to bottle-recycling programs.
Getting MacOS style hotkeys working in GNU/Linux
I think it's like this because topic is difficult and everyone is guilty so there is attempt to marginalize it and just think "I did my part, I placed bottle in correct container". This part is easy and there is the problem - it's too easy and not enough to make a real difference.

Problem with waste stems also from wild consumptionism - for example: most phones, notebooks, displays produced nowadays are perfectly fine to last and be usable 5 years and more, cars - 20 years and more, but I doubt that majority of hn visitors are using their devices this long.

Recently I read here comment from someone who is using his Samsung phone for 10 years! I'm seriously admiring his dedication - it is hard to fight off desire, urge and social pressure to buy a new shiny toy.

Another topic is poverty and incredible amount of waste thrown into the rivers and oceans in some parts of Africa and Asia- when people are poor and they don't have sufficient living conditions then they don't care, waste management and environment is the last thing they think of. I remember how it was in 90s in central europe and how it changed over course of time.
This analogy implies that when you buy a thousand dollars phone, you don't actually own it. Which is kinda true and it's depressing.
They're not as good. They're fine, but not as good. Every time the new Oink gets destroyed, the replacement is a little bit worse. I think it's because most long-term users have all the music they want and have lost interest in restocking (or heavily participating in) new trackers. Also, the audiophile number-maxing flac people dominate, driving out the casuals.

People who are very invested in hearing the latest music are well-served by the streaming services. Other than the OCD datahoarders, they're not going to be saving the tracker ecosystem, either.
Pringles hold up well in lunchboxes, and the can could go a week per child even if they prefer one flavor. I think people underestimate the packing density of Pringle’s. There is a lot of (mashed) potato in that can.
Another from the Marines, although not quite a full fledged motto, it still sees a fair bit of play in my house: "If you can't be smart, you're going to be strong."
Who cares about some cycles?
Yes. I started out using a cassette 4-track. I made music all the time. Then I upgraded to a roland 8-track that used zip discs! Still made music all the time. Eventually I was creating with Cool Edit Pro.

Before getting into software, I worked as a recording engineer for 7 years. Got to use many large format consoles, 2inch tape, great rooms and mics.

Over 20+ years I collected a decent amount of gear myself. But creating has slowed way down. It’s not just computers, I was deep into making electroacoustic/computer music composition in college.

There is paradox of choice, but also how we live as a society now, and the damage being connected to information has done to my attention.

So my current solution to this has been meditation, and consistently sitting down at night to get a little more music done.

To get songs finished, I use a combination of a notebook to sketch out structure, concepts and forms. Then sometimes trello, and sometimes org-mode.
>Also, can you clearly articulate what exactly I'm losing here with a single App Store?

The ability to shop based on price. The 30% fee is non-negotiable which guarantees a certain level of price gouging.

Apple is also known for implementing various anti-patterns and tracking, mostly related to promoting their own apps and cloud services over their competitors, so you lose any leverage you would have in getting them to stop that.
You would have a better argument in favor of an app store monopoly if there wasn't a huge conflict of interest with them producing the hardware and selling these other services.
That tweet really blowing things out of proportion. Migrating one project, out of presumably many thousands, is not “going all in”. It’s still interesting though.
1. A factory ships a product to the seller in a durable container. Puts $1 into a smart contract to resolve on that container's return.

2. I buy $5 worth of product in durable container from seller and pay $7.

3. Seller gets $5, remaining $2 goes into smart contract from step 1.

So now there's three incentives to get the container back to the factory (each is $1 in this example, but would be a parameter in reality).

4. If the container shows up at the factory at all, whoever delivers it gets $1 for facilitating the delivery and the factory gets their $1 back because they didn't contribute to litter.

5. If it arrives back at the factory clean and in good condition, I get $1 back for not contributing to litter and for doing my part to ensure that the container is reusable rather than merely recyclable.

If you find a durable container in the wild that doesn't have a bounty on it, it's proof that the factory is cheating and the government gives you a $1 for it, and takes that $1 out of the factory's taxes.

If you find a bottle with the factory's bounty but not the consumer's bounty, it's evidence that the seller or buyer is cheating. The government gives you $2 for it and collaborates with the factory to take $2 out of the seller's taxes.

If you find a container with both bounties on it, it's evidence that I was too lazy to take it back to the factory, so you give it to the factory and get the $1 reward.

If I keep the container and repurpose it, the factory doesn't get their $1 back, but whatever I'm using it for hopefully counts as good advertising for them. Also, I can always just return it much later when it's done with the reuse purpose.

If you find a damaged container in the wild, recycle it with society's thanks and know that whoever let that happen paid $1 for their crime.
and thus lose the best thing that happens in most people's lives? great thinking
Do you use a computer with MacOS, Linux, or Windows? Are you using any application not natively installed on your machine on install or not offered through the officially designating app store on your OS?

There is your list.
I used to race motorcycles, and there were plenty of instances of "you have to go slow to go fast".

For example two linked turns and a straight.

If you went fast through the first one, you might have to go slow through the second one and the speed onto the straight would be slow.

But if you slowed way down for the first turn and then accelerated from there through the second turn, your speed entering the straight would be much greater and then speed over distance would lower your lap time.
Regulation doesn't make the social change. Software does.
Ah, well, about a four percent change and you no longer can produce carbon during regular fusion. You need atoms capable of making at least three bonds to produce structure more complex than a chain. Carbon can do four, is lovely, otherwise you would have to make do with boron and nitrogen.

Crank the value up to .1 and you get no fusion at all. This one is super-interesting, because no fusion means no photonic pressure keeping silly large accumulations of gases up and so you will crank your way to neutron stars and black holes much faster, as well as resulting in a universe whose only light is the remaining cosmic background radiation. No more supernovae creating shockwaves and the like.

In the other direction and you have a different problem -- molecules won't molecule and you will just have a bunch of disconnected atoms incapable of covalent bonds.
It's quite sad, since there's no reason for pringles to exist in the first place. They're not good for you, they have no nutritional value, and they come with tons of waste. All this mess just because a few people with poor impulse control wanted to be a bit more comfortable.
Netlify allows you to drag and drop a folder only using a browser. It works great for the output directory of static site generators or a set of hand-coded HTML files. No CLI required.
> add comments to JSON easily

Simple, write comments in Morse code using spaces and tabs.
Config is data. Data is input.
No, I am not sure about the delay. But the app informed me a few times about things that were happening (fires, bomb disposals) that I would otherwise not have know about.

And it looks like the delay yesterday was actually caused by the bavarians (http://blog.fefe.de/?ts=a1a4ef27). But that something like this is even possible in this system is ridiculous of course -.-
its a rather expensive operation, so restricting for anonymous users is a sensible trade off.
From the job posting[0]:

> We interface directly to low-level Linux kernel interfaces, using asynchronous I/O and threads to distribute workload. Following a very successful first foray into Rust we are migrating an established codebase from C to Rust, and building new functionality primarily in Rust.

However, the team specifically works on the cloud services:

> We develop and deploy software which forms the foundation for some of Apple's most important services, including iCloud, Maps, iTunes, and more.

So no rust-based software is going into MacOS or iOS quite yet.

0: https://jobs.apple.com/en-us/details/200170723/software-engi...
Start low, and slowly raise your offer if a solution doesn't present itself. This prevents overpaying.
Just to be clear, this is from the article linked on the phrase "enormous farms":

"Through twitter, Sweeney said that when the land was put up for sale, many were concerned that the state wouldn't be able to buy it quick enough.

"He said he will own the farm to protect the land's rare oak and pine ecosystem until a permanent conservation home is arranged, which would take two to three years.

"According to the Wall Street Journal, Sweeney has spent hundreds of millions of dollars to preserve more than 45,000 acres of forest throughout North Carolina."

https://wset.com/news/local/fortnite-ceo-buys-7000-acre-farm...

Not defending Sweeney on anything else, just clarifying this specific point about owning huge farmlands.
IMO, the problem with Arduino in production is not necessarily one of quality, but the fact that is geared towards getting the first prototype up and running as fast as possible, but is difficult to use for production where eg. real-time and safety concerns require mechanisms that aren't present or impossible to implement because the software libraries can't support them.

Scheduling, real-time characteristics, safety and watchdog mechanisms, and resource management pose hard engineering problems, and are often a very unique mix for each application, and again the Arduino libraries are not typically considerate of such concerns.

Add to that the usual pressures of keeping per-unit hardware costs low, to the tune of shaving a few cents off the BOM by choosing extremely constrained microcontrollers, and bending Arduino to fit those constraints becomes an unfavorable proposition.

The biggest benefit of Arduino as I see it is in reducing the barrier to entry for starting a hardware project because you can just wire software and hardware modules together for a proof-of-concept, but it doesn't do much for production.
Incorrect. Dr Gupta and others had known all along that masks are useful. They were contradicting themselves when they were telling us "don't use masks, they are useless, we need them for the healthcare personnel". Why did they need them for the healthcare workers if they were useless? They simply decided to lie to us.