skysight-inc/HackerNews huggingface dataset:
US politians are routinely bought for numbers similar to the UK ones.

They will often vote in a way that their constituents do not want for ~10k in campaign contributions.

They didn't have to worry about the voters finding out about it (this is changing with alternative media) beacuse the same people bought ads on the major networks.
Undiagnosed Disease – Democratic Republic of the Congo
You're removing a lot more than filler with this kind of tool. It's sort of like taking a journey but not bothering to enjoy the trip.
Have you been in the last few years? We thought the same, but they've gotten a lot better since COVID. Still overpriced, but at least edible (at least if you get the stuffed crust).
I think you haven’t considered the luxury goods aspect of higher-end phones. The majority of people buying new phones every year or two don’t carefully study specs, and don’t need to use a PC or laptop at all, or only need a “real” computer for work or specific tasks. Already smartphones serve as the primary internet access device for a majority of internet users.

Sales of new phone models have a lot more to do with perceived status and obsolescence (real or imagined). Actual performance improvements remain largely incremental and irrelevant for the majority of phone users, but perception and fear of obsolescence drive sales anyway. The same goes for camera quality: actually important to a small percentage of users, but perceived as important by a lot more users even if they only post low-quality snapshots online.

Most people don’t need to “upgrade” their purse, sneakers, watch, car, etc. as often as they do. Smartphones have turned into Veblen goods for some, and status display for many more. Spend some time with teenagers. Their fears of not having the newest phone derive entirely from perceived status and fitting in, not from number of USB ports or processor speed.

The number of smartphone users actually interested in using their phone as a PC — with external monitor, keyboard, pointing device — describes a small niche of the smartphone market. Solutions have existed for some time (Samsung Dex and Motorola Ready For, for example). Consumers by and large ignore those offerings and buy for status and FOMO reasons.

The phone manufacturers have so far succeeded in selling disposable and un-repairable devices and feeding the constant upgrade cycle. I have heard many people say they will replace their phone when the screen cracks or it gets too many scratches — the same way they would justify discarding a pair of shoes rather than getting them repaired.
> The whole reason JSON rules the world is because it's brutally simple.

I don't think that's the primary reason. JSON is pervasive because it started out being trivially parseable by JavaScript going back to when people just evaluated it, even before browsers had ridiculously high-perfomance safe JSON parsers. All the other formats are still harder to work with from JavaScript.

If not for that, personally I'd advocate TOML, which is incredibly simple.
Yes, that is where the name comes from.
Um, it’s beef. It can be eaten raw. Ever heard of carpaccio?!?

Only two reasons to ever cook beef: (1) taste (2) quality
You can use IKEA trådfri with Philips Hue. It’s a bit annoying to pair but once that’s done it just works, at least it has for me.
That doesn't seem consistent with this source: https://www.apricitas.io/p/americas-productivity-boom
When I work on some ad hoc configuration format I usually end up with quite a family of different comment types. Disabled values and prose about values are are the core set, but there might also be different prose types to separate the intention for a certain value (authored by the one setting the value) from documentation about the purpose of the field (authored by the one introducing the option). Also a type for key value pairs that have not been consumed (perhaps because of a typo in the key), and another for pairs that are applied as default, but should not be explicitly in the config if you want to go with the new default of they change in a software update.

Yes, this is for situations where the config is two way, e.g. when a GUI can be used to set some values. But I find some of those features so useful that I might sometimes be tempted to write out a processed version of the file parsed even when there isn't anything like a configuration UI.
I believe this is the type of book that I'd like to skim to see what it has to offer rather than just blindly buy it. This is how interpret some of those points:

* As simple as possible, but no simpler -> Don't get into fancy stuff like e.g: design patterns just because you learnt or know them? Same for other techniques depending your language and facilities? Don't use things just for using them.

* Let your code tell its own story -> Use verbs for functions and methods, nouns for variables and classes so code is understood with minimum effort as is being read?

* Generalization takes three examples -> Sure, first you write a solution, then copy paste it if needed elsewhere as you didn't expect to be reused, third time make an abstraction (function(s), method(s), etc) as it popped up once again?

* A good name is the best documentation -> Picking reasonably good names for all kind of identifiers will make code self-document and understand?

* Sometimes you just need to hammer the nails -> Sometimes you need to be pragmatic and get a thing done, maybe not in the best possible way?

* Code that isn't running doesn't work -> Remove all commented/dead code from a codebase as not only running but might also generate confusion to other people?

I do not want to diminish the content of the book in any way nor sound arrogant, but in the past I've seen similar titles and they weren't offering that much to what I already knew at the time.
People Will Tell You Their Problems
Indeed, I think you know exactly where I'm going with this question...
Have you looked at CUE? I haven't looked back since discovering it. CUE is a proper language for configuration that two-way integrates with many other config and schema formats. All JSON is valid CUE too

https://cuelang.org | https://cuetorials.com
Hennessy – Semantics of Programming Languages (1990) [pdf]
Unfortunately you're probably right. When "oats" may refer to those sugar packs it kinda shows how bad our food habits and norms have fallen.
Yeah. But I think the goal was here to sugar the syntax while keeping semantics intact.
> The only thing that JSON is really missing are comments and trailing commas. I use JSONC for that.

YAML[0] supports JSON formatted resources and octothorpe ('#') comments as well. I didn't see anything in the spec specifically allowing for trailing commas however.

Here is an exemplar using the Ruby YAML module:

#!/usr/bin/ruby

require 'yaml'

puts YAML.load(
%/
# YAML is a strict superset of JSON, which
# means supporting octothorpe end-of-line
# comments is supported in JSON formatted
# YAML if and only if the content is multi-line
# formatted as well (like this example).
{
# This is valid YAML!
"foo" : "bar"
}
/
)

0 - https://yaml.org/spec/1.2.2/
Show HN: CheckWriter, A GTK4 app to simplify the process of writing checks
It started as a weekend project to help me write checks. Sharing with the internet for code review and design ideas.
Oh! Format preserving editing too, very nice... https://github.com/hjson/hjson-js?tab=readme-ov-file#modify-...
So "hacker" is someone who is allergic to using a mouse. We've come a long way from what it used to mean..
> a privatized "FDA" which can independently evaluate the science that this enterprise produces

Why privatized? The general experience with privatized healthcare is pretty awful. The reason there's an FDA in the first place is that corporations couldn't be honest in the face of profits.
You probably want to link to this rather than mastodon.social's "external link confirmation"

https://hey.hagelb.org/@technomancy/statuses/01JEKS1B4Q5NS34...
Years ago at uni, one group chose as their control systems term project to take a known bad speaker (2 inch from transistor radio), measure its response, then build an inverse function to make it perfect using an analog computer. Don't know what the result was but they did have fun.
Oh, it's my today :( (infra)
Need to do something with all the savings over the current system.
Former Intel CEO asks people to pray and fast for employees
Isn't lady gaga catholic? Any random catholic who wants to be there is a better choice than these neoaristocratic freaks.
The culture is not changing. They just don't know on what specific day they will be able to observe the moon some months.
Scan (Company)
Scan builds products and services related to 'scannable' items such as QR codes.[4]
Right now, not in Google, Meta, Amazon

They went to OpenAI, claude and others

but I would say the brightest are working by themselves, making millions with low effort and enjoying life
Grove is, in fact, mostly responsible for the current problems at Intel.

Because of Grove's management style, information is ammunition--you do not share it. This is anathema to problems that need heavy R&D to solve.

The corollary to this is that if you know someone is making a mistake, you let them as it improves your political position.
uv is its own thing, but direnv + `source .venv/bin/activate` is straightforward nowadays.

Direnv has saved me so much pain nowadays
I can kinda understand the motive for carpet bombing an issue tracker with AI slop hoping for a hit, but then to whine about unprofessional responses is really too much. Time to unplug the chatbot.
Putting your money into an index fund is the exact opposite of what is being advertised, e.g. trading platforms optimized for day trading, complete with blinkenlighten and "learn to trade" mini courses teaching technical indicators and other voodoo nonsense.
gold. thank you for this. as regards ratpoison, have you looked at stumpwm?
JSON5 is from ECMAScript 5.1, which is called ES5.

As an (unfortunate) JavaScript developer, it was clear to me the intent was to "update" JSON with ES5 features, and not say ES4 or ES6.

Why ES5? ES5 is when trailing commas were introduced. Commas are one of defining features of JSON5. Other languages, like Go, also made this a priority.
I don’t know that projects ever fail.

Doing them and learning and growing from them is the point.

They shed a light on your path and also what you are able to see as possible.
Have gone this route and exposed a variety of manufacturers devices to HomeKit through HA. Been surprised by the reliability. 3 years in.
Fwiw I sincerely appreciate the gift link!
Business needs profit
Wow, in the future we will point to this bogosity and say it is why we can't have good things.
I’ve been using mise at work to manage go versions, it’s been good although a little confusing and undocumented at times. I’ve never used asdf or similar before so there’s probably just a bit of learning curve but this thread is encouraging me to try it more.
I heard on a podcast that he’s very religious and posted religious tweets on Sundays. That doesn’t help anything.
You, as an individual, can still play the adverts to your children. The regulation is targeting the advertisers.
That’s still wrong, whether or not it’s violent. What is your aim here?
Is there a preview of the content beyond a short synopsis of each chapter?
Why is it not? My understanding is that it is a valid ES5 and forward object.
Yes. We also don’t admit when we’re wrong.
This isn't solvable. Each loudspeaker and microphone has its own frequency response and will always measure the product of any two of them. This does not result in a unique solution for any single frequency response, even when you know the clean source signal. There is always a degree of freedom of how much each device in a pairing contributes to the final response.
Duolingo is a pretty bad tool for learning a language, it's good to make you feel like you're learning though.
'Shame on Google for Their Description of Google Messages's Encryption Support'
I feel like they can easily make the stuff you get from these things at least marginally worth it and still make a ton of money. It'd at least make the adults feel a bit better, but somehow it always seems to be the first thing they try to save on.

Then again, I find that I'm often the only one that has issues exchanging $20 for fifteen minutes of fun and a $0.1 toy.
Probably. But, if I look at Apple's advertising, takes better photos and video seems to be a pretty big part of what they're selling. (OK, AI on the new models.)
UK never had freedom of speech the way we think of it in the US.

https://en.wikipedia.org/wiki/Censorship_in_the_United_Kingd... I highlighted the explicit loophole here:

“Article 10 – Freedom of expression

Everyone has the right to freedom of expression. This right shall include freedom to hold opinions and to receive and impart information and ideas without interference by public authority and regardless of frontiers. This article shall not prevent States from requiring the licensing of broadcasting, television or cinema enterprises.

The exercise of these freedoms, since it carries with it duties and responsibilities, may be subject to such formalities, conditions, restrictions or penalties as are prescribed by law and are necessary in a democratic society, in the interests of national security, territorial integrity or public safety, for the prevention of disorder or crime, for the protection of health or morals, for the protection of the reputation or rights of others, for preventing the disclosure of information received in confidence, or for maintaining the authority and impartiality of the judiciary.”
If you're on meth or fentanyl, it doesn't matter what the price of rent is--you can't afford it when you're using those drugs. I'm sure high rents don't help but pretending that homelessness is a housing issue is wrong--it's very clearly a mental illness and drug problem.
Is it legal in the US to directly market cigarettes to children? Why not?
I wonder how many punk bands will bid on the robots.
Whilst YAML is an option, if the choice is between having the unnecessary extra features of JSON5 or YAML, JSON5 seems like the clear winner.

Allowing multiple types of quotes may be an unnecessary feature but it is a clear lesser evil compared to the mountain of footguns that YAML brings with it.
Trump just promoted David Sacks to the position of Crypto/AI Czar. You can't make this up.

I will give Trump credit for putting AI and Crypto in the same department though.
The name may have a logical reason for being what it is. But it is still misleading. I have seen people implicicly assume that JSON5 is what they should be using instead of JSON, just because of the name.
It’s definitely hard when they have British-specific terms, but I do guess them somewhat often, even before the players sometimes. A few times I got the 5 points for guessing the first clue which was satisfying (I’ve seen most of the episodes)
Invest it and finance a fleet of soup kitchens for the homeless
He ran the health insurance company that holds the record in denied claims in the US. I think that's why hardly anyone sheds a tear. Right now, the culturally transgressive thing to do is, say, make youtube videos about how shocking it is for the public to have no love for this CEO, and then getting ratio'd, everywhere, all the time.

What do find troubling is the glorification of the killer. We know nothing about his motives, might be a paid hit, whatever. But I attribute part of that to being basically drunk on the fact that people really enjoy that this CEO -- as a faceless representative of a whole class of people -- got killed. And they genuinely do enjoy he did, not necessarily for noble reasons, but it's not "really about something else".

The problem boils down to the abuser reacting in shock at backlash, instead of realizing they've abused people into genuinely hating them this much.
This is OK, but Zigbee is better. It runs offline, the devices can't access the internet so no data issues, and it's a standard protocol that's trivial to interface with over the MQTT bridge.
No murderer of any sort was killed in this incident. That's an absurd statement people are feeding you to get you the little dopamine kick of thinking exciting things are happening.
Hey, I heard you liked JSON?
I agree, this is the way. If you do this, remember to install the devices on their final location and only then attempt to pair, so the device pairs to the closest appropriate router.
Children are the people least able to destroy their own lives through spending, so that feels pretty backwards. I think it's generally accepted that people who grow up around e.g. alcohol tend to have a healthier relationship with it than people who are suddenly exposed to it as an adult.
I wish json had a simple version/convention like elixir sigils so I could pass datetimes around as first class entities instead of always having to [de]stringify them.
I wonder about an alternative history where the default feature set is much smaller and much safer, and everything else is opt-in behind a flag, and the flags are prefixed with "unsafe_" or something. That would hopefully encourage people to look up the "unsafe_allow_foobar" docs before using it.
VictoriaLogs author here

Both Loki and VictoriaLogs are open source and free to use. But they have non-zero costs for the hardware they use and non-zero maintenance and operational costs.

VictoriaLogs is much easier to configure and run properly than Grafana Loki. VictoriaLogs runs smoothly with default configuration. It consists of a single small executable, which stores the ingested logs to the local filesystem. It doesn't break during upgrades because of good backwards compatibility.

Loki, on the other side, requires non-trivial configuration and tuning to run properly. This configuration breaks frequently during upgrades. Loki consists of many microservices, which aren't easy to configure and orchestrate. It stores data to S3 (or any other S3-compatible object storage). This brings an additional dependency, which isn't needed in most practical setups.

While S3 storage is usually cheaper than block storage, the price difference isn't so big (2x) when using HDD-based block storage (VictoriaLogs is optimized for HDD). Also, IO operations at S3 usually requires additional costs, which are frequently overlooked when comparing S3 costs to block storage costs.

Also, VictoriaLogs runs typical queries over logs at much faster speed than Grafana Loki. This is clearly shown in the linked article.

See also https://docs.victoriametrics.com/victorialogs/faq/#what-is-t...
As other commenters have said, a better solution needs to be something that is prohibitively difficult for bots to mint.

I’m sure there are a few contenders in the space but one I’m aware of is [worldcoin](https://world.org/)
I think your view on this imagined scenario says a lot more about yourself than how vegetarians reacting to plant suffering would about themselves.
Props for sharing what's probably a ubiquitously hated opinion on HN.

Here are two of my own, just to join in:

1. Social credit score system. We should all be able to point our phone at antisocial behavior and damage their score. Until then there's pretty much zero recourse against people who have hostile social behaviors that don't commit a crime (like arguing with the McDonalds employee or causing a scene when someone asks them to turn down their music on the bus). People hate on "Karens" but they're actually our last remaining line of defense against these people.

2. As soon as you get on a public road, the government should have dystopian-level control over your car. You can't speed. You can't run a red light (or it will be video recorded and you'll be insta-billed). When there's a wreck, the camera feed in all nearby vehicles is auto-uploaded to the net so all parties can see what happened, no fuss. Break the rules a few times? That's fine, you get your government issued tiny zip car for a year and we'll see if you can respect the shared roads after that. And, of course, alcohol breath analysis to drive.
This hits hard man! Beautiful writing, beautiful sentiment. Resonates with me, I too was a naive person learning guitar so I could express my feelings and views in the form of song! Know what I mean, yeah yeah
> It's worth noting that Ted Nelson's visionary Xanadu project had actually addressed this issue decades ago. In the original design of Project Xanadu, rule 9 states "Every document can contain a royalty mechanism at any desired degree of granularity to ensure payment on any portion accessed, including virtual copies ('transclusions') of all or part of the document."

It's easy to address every possible issue when your project is vaporware and you can just write "royalty mechanism" rather than having to actually implement one.
Yeah I went to one last year for a friend’s kid’s birthday - the giant playground maze and ball pit is gone, the animatronic stage is gone, it’s a big dance floor and more arcade games and even a tiny carousel for toddlers
Why did you keep them around?
That doesn't actually change the fact that Intel is now significantly relying on TSMC for several important product lines, nor does it change the fact that even if TSMC were destroyed in a war, Intel would still be struggling with a shortage of competence.
>I went to a session where he promoted asynchronous Javascript as the "one true way."

Note that your question didn't challenge this point (Async javascript is the "one true way", given that blocking in browser context always degrades the user experience).
There's a book like these for a bunch of modern languages; I think "Black Hat Python" started the trend, like 10-15 years ago.
as a student experimenting with millions of records of data, its pretty nice!
I feel like a view that sentience requires something to be motile is pretty narrow-minded. A plant is honestly a better human in the sense that it gets all day to sit and think about things, something which only some Hacker News commenters can compare to :)
> I'm sure you know but for others reading, 12v ws2811 are grouped in threes, so not individually addressable. 5v is, and when you're working at scale power injection isn't a huge deal as you'll be doing it anyway.

I haven't found this to be the case. All my lights use WS2811 chips, and are individually addressable. The 12v does have to be regulated down to 5v, but that's happening on the node anyway.

> Coro props (corrugated plastic, corflute) are a cheap and effective way to stand out from the crowd.

I'll add to this that if you have a 3D-Printer, you can do some neat stuff if you're up to designing it. I am in the middle of adding 16" snowflake props to my setup this year. It took a couple of revisions, but I've got them all setup and I'm just finishing the controller to drive them now.

It is a super fun hobby, and as averageRoyalty mentioned - it can be spendy.
JSON is the universal format for structured logs. It is supported by all the popular log collectors and shippers. It is natively supported by VictoriaLogs [1] together with other popular data ingestion formats for logs [2].

[1] https://docs.victoriametrics.com/victorialogs/keyconcepts/#d...

[2] https://docs.victoriametrics.com/victorialogs/data-ingestion...
If everyone is using the same low quality Chinese internal mechanism, why would customers pay top dollar for a boutique device when you can get an equivalent unit for $30?

It brings to mind Tom Hanks on SNL in the 90s as the Israeli shopkeeper saying his knockoff products all have 'Sony guts'.
Feel free to connect. I am also looking for artist, writers and musicians. I’m building Kushty buck records as a digital record store. More hang out in the local record store than we trying to sell records!
No. Giving people money (or food) increases their negotiating power, which lets them ask for better wages from whoever else is paying them. Uber is especially weak to negotiation because you can just drive less or switch to Lyft.

You're actually arguing that welfare is bad - if giving people welfare allowed Uber to lower their wages that means people would be better off without it.