skysight-inc/HackerNews huggingface dataset:
I live in The Netherlands and it's not functionally a very large low density city. The main part of the country (de randstad [1]), but the rest isn't. And we need to pay to make sure there are facilities there, the government currently is just draining the natural resources and giving nothing in return.

I don't know how a large country functions, but for the Netherlands there is a clear need to invest more in the rest of the country.

[1] https://en.wikipedia.org/wiki/Randstad
The point is that Zig basically circumvents issues surrounding that, by introducing "comptime", where you can just write regular Zig to achieve the same things.

The article showcases a nice example of having this very direct power.

But it really comes up more often than you think as soon as you actually have it.

It's easy in Zig to allocate precisely based on computed values and then have the sizes as part of your types etc. It all falls out of some simple ideas and it's all just regular Zig code.

"Types in Zig are values of the type type" from: https://ziglearn.org/chapter-1/

So instead of making it hard to write incorrect programs, Zig makes it easy to write correct programs.
Good point. Is Tokyo not participating in the bidding war for people's good will? Perhaps it's not allowed to?
> And with 80% less saturated fat [...], they are also hailing PALM-ALT as a significantly healthier option.

Doesn't sound healthy at all.
While there is a spike at buy-out it is still more or less true. Try to buy a company for far less than the stock market price and tell me how that works out for you.
He handles _lots_ of money at his job.
Japan's government seems so functional compared to what I'm used to in the US, that I'm willing to give them the benefit of the doubt. Their governments are building all sorts of things every year while we can't seem to build a railroad track between LA and San Francisco in 20 years. Whatever they're doing over there is clearly working, and we in the US should be focusing on the plank of wood in our own eye and not the speck of sawdust in theirs.

I'll admit that this "hometown tax" system has a certain amount of silliness, but wealth redistribution schemes often do. We're torn between "the weak should perish" and "some help wouldn't be so bad" and twist ourselves into pretzels trying to reconcile between these ideas. Plans like this hometown tax are the result of that, and some of our wealth redistribution efforts in the US probably seem no less strange to outsiders.
This is an interesting allegory, but it's doesn't seem to mesh with reality. After all, in US voting, n is much larger than 3, and 66% represents a super majority...

Can you put into concrete terms? How many times has Philadelphia and Pittsburgh bullied their way into something that the rest of the commonwealth of Pennsylvania was so against? I think you'll find that what usually happens is the rest of the commonwealth gets its way, regardless of what the big cities want (because they have the numbers in the state legislatures).
Libre office does keep a temporary version that allows you to recover, so you're talking crap.
Having written a few toy compilers for C, to me D is the most elegant of the C families of languages.

For example, consider the versatility of the '.' operator. It does pointer dereference, static field access and class/namespace member/method access. In all those cases I want to access "a thing from this other thing". Having 3 operators in a language (., ->, ::) is easier for a compiler writer but it puts more cognitive load on the developer.

Now consider type extensions. As a language designer you could think: "if a developer wishes to add methods to a type Vector that exists in a third party library, then in their project, the developer would use some special syntax" like maybe:

class Vector { void json() { ... } }

and maybe the developer also needs to have it even repeated across a header file and an implementation, but... why? It's an idea, but it's not a law of the Universe. There is a better way.

Instead, the compiler can help you out. Just declare a regular function anywhere like so:

void json(Vector v) { ... }

which is not special in anyway, and then be free to invoke it as:

json(v);

or

v.json();

Why if it isn't our familiar dot operator! It also does type extensions via some syntax sugar? What an elegant solution.

This is just one feature of D, and it's filled with features. Though I don't really use D in my day to day work, it's wonderful to see how the authors thought about hard problems in language design and implemented elegant solutions. I think D deserves more recognition for the things it absolutely hit out of the park as a general purpose programming language.
Urban renewal in New York designed for longer life
> You have to go back further in time and hit the designers of IPv4 on the head for not making it forward compatible.

IPv4 was designed for a handful of research institutions. It is not the fault of the designers that it "escaped" the lab into the 'real world'.
The unapologetic embrace of compile-time metaprogramming in a clean model drives most of my interest in Zig. I use metaprogramming heavily in C++ to dramatically reduce code size and increase type safety. Contrary to popular assumption, in C++20 metaprogramming is relatively concise, tidy, and maintainable, unlike the eldritch horror that was metaprogramming in C++11. But I don't think anyone would describe it as elegant or designed. I haven't had time yet to try porting C++ metaprogramming to Zig in order to see what is possible. Most other systems-y languages have a much weaker metaprogramming story than C++.

Many developers underestimate the importance of metaprogramming in systems languages for ensuring quality and security. Defects scale proportional to the lines of code. Strong metaprogramming facilities can reduce the lines of code required several-fold.
> If you can gift it anywhere, can you gift it back to Tokyo (for example)?

If you live in Tokyo, your residence tax goes to Tokyo by default. You don't need to do anything, you don't need to specifically gift it to Tokyo.
OK thank you! I legit misunderstood, I appreciate the clarification!
Or they could update the TOS to not allow for changes to apply retroactively to games.
Great book indeed. My favourite quote from it is: "The name of the game is not to always be right, but to be right often enough".
Not GP, but I believe the "XML is dead" sentiment stems from the observation that very few greenfield applications are deliberately choosing xml. Sure you have legacy giants like (X)HTML, SVG, office formats, etc, but you'd be hard-pressed to convince developers (especially a younger crowd) to select it as a data format. It's seen as warty, cumbersome, unwieldy, verbose.
I switched to DDG because Google broke literal quotes years ago (then fixed it, and broke it again?). Now its broken on DDG. Considering Kagi.
There's been lots of talk about it over the years: https://www.google.com/search?q=google+%22verbatim%22+site%3...

I think I also mentioned it a couple of times when the same complaint came up.

The problem I think is that "verbatim" is not a word that one thinks of, so nobody searches for that. Plus it's hidden in a generic "Tools" menu. Sometime you get a link to search for the exact phrase at the bottom of results, but that too is subtle.
We can’t staff our fixed routes today, our agency is flush with cash but they can’t hire enough bus drivers with that cash, so they are cutting routes anyways forcing more more people back into cars. So obviously they couldn’t handle wide spread smaller buses with dynamic routing…maybe if they take a big subsidy on para transit, but that’s niche.
False equivalence and other logical fallacies like it lead to all sorts of stupid and abhorrent human behaviors, two of which you just described.
Freedom at Work, always a demand for jobs. What makes a job good? Immanuel Kant
If democracy is 2 wolves and a sheep deciding what's for dinner wouldn't you want more power in the state and elected officials, so they could protect the sheep?

it would be better to give more independence to the sheep so that deciding what's for dinner doesn't need a majority vote of all of them. if we ignore the obvious outcome that the wolves want to eat the sheep, but simply look at the fact that wolves want meat and sheep want grass, it simply doesn't make sense that the majority here gets to dictate what everyone should eat, instead each group should be able to make their own choice.

that means localizing decisions where that makes sense. and not allowing the majority to control resources that a minority depends on. among other things.
Seeking comments on the Data Catalog (DCAT) US standard v3.0
If nothing else, I think we should thank Unity for reminding us to read the license of anything we sign. I too have become accustomed to the "next next next finish" method of installing things, which is a bad habit to fall into. A company can sneak in little clauses like "pay 20 cents per client install" and no one is the wiser.

I don't make games but if I start then I'll probably use Godot or GDevelop. They both use the MIT license and I feel like that one is decidedly non-bullshittey.
> Doesn't scale. Having passwords in a plain text file is not a scalable solution for users directory. Can probably go up to a hundred users, but not much more.

This simply cannot be true. A users directory that is frequently read will be in cache. The file is also fairly simple to parse. Even on old hardware you should be able to parse thousands of users.
This eating proteins seems like a some sort of mind virus these days propelled by clever marketing.
I don't think anyone ever have to worry about how much protein they need
the body tell you when you need to eat more protein
it usually comes with desire or craving certain foods

having the condition that you need to eat certain amount of protein everyday is probably a lot worse for your health than eating to little protein one day
The website itself doesn't really matter, the paper is linked directly:

https://www.mdpi.com/2072-6643/15/4/838

Is "Nutrients" a reputable journal? Do the authors have a good track record? I have no idea, but would love if someone more knowledgeable here can comment.
Yup, networks with a neuron count above a certain threshold (2+T?) will likely be on the IDAR restriction list again.
I missed this until now, I really appreciate you tracking down links and sharing this info! Thank you!

It's wild it's as complex as it is! Though it makes sense it seems way more robust
This one guy touched so many of the cult sf films of the 80s and 90s. Impressive to see his style woven throughout these movies.

Though, even with his design talent, Space Truckers was still a washout.
I wrote a billing system myself, and my first impression was that it couldn't get past 1000 lines of code. However, it had become a ~5000 lines monster and keeps on growing. Never underestimate details and edge cases.
Knowing Google, it's gaslighting you^W^W guessing that you actually meant to type the quotes for that one search.
First two started strong and all downhill from there
There is nonzero overhead for doing so: optimizing for duplicate strings invariably adds cost to handling unique strings.

This sounds like something you could do at the schema and application level.
The point the article makes to me (as a leader) is “keep the billing model simple, honest and stick with it”. The cost of change is high, and the value isn’t to the people getting the work done. My peers would likely see this as “naive” and extoll the need to “sell to the buyer”. I see it as being value focused, and keeping the “business needs” rational, and in line.
That opening picture, with the scroll effect. I don't know if I have ever seen such an image used so effectively. The transition from line art to a real picture was so subtle that I was just stunned to find out it was real. And that had such an immediate impact that it brought a tear to my eye.

I can't remember there ever being a time in my 30+ years of being online that web design caused such a reaction.

Haven't even read the article yet...
They had that clause in their TOS. They removed it recently when no one was looking. Immediate resignations, I say.
This depends on the industry. It's paid just as well as the others in defense, for instance.
Apparently, if you rename a mountain to something other than after a guy who massacred Native Americans after lying to them they'd be safe, you're a "woketard" and a "total fruit". Enlightening stuff.
https://archive.ph/FhtmN
There's a lot of very low volume niche Chinese phones for reasonable prices. So it doesn't need to be so expensive.

You could argue that an iPhone would cost over a billion because you need to develop iOS. But why would you do that instead of modding android for 1/100th of the cost, if you're only gonna make 40?
No, the execs need to be let go. This is what would happen to any non-exec that messed up so egregiously, they need to feel the pain they're used to inflicting.
Ugh...

A few companies back, there was a problem where we were provisioning phone numbers that appeared directly in ads and too few numbers caused problems, but of course it costs money to do the provisioning.

I don't know much about queue theory, but I immediately recognized that this was a queue theory problem, and recommended we figure out the answer as such. I got blank stares and "how about we just provision 10 numbers more than we think we need" or something like that.

Sometimes a quick answer like that is better than wasting a lot of engineering time over optimising, but this was actually fairly critical to their business and they were spending significant amounts on the ads and phone numbers and needed both to work well.
I mean the first one is definitely true (or is an additional reason, especially as people age).

I think when people say "red meat is bad for you" they need to define red meat. Burgers and sausages - probably not great. Steak, chops etc - probably OK.
I think a 3rd option is actually much more likely and (semi) less conspiratorial:

3. NSA realized that "frontal assaults" against encryption were a lot less fruitful than simply finding ways to access info once it has been decrypted.

Would have to search for the quote, but Snowden himself said exactly that, something along the lines of "Encryption works, and the NSA doesn't have some obscure 'Too Many Secrets' encryption breaking machine. But endpoint security is so bad that the NSA has lots of tools that can read messages when you do." And indeed, that's exactly what we saw in things like the Snowden revelations, Pegasus, and I'd argue even things like side-chain attacks.

Plus, I don't even know what "The three letter agencies successfully subverted the entire chain of trust" means. In the case of something like TLS root certificates that makes sense, but there are many, many forms of cryptography (like cryptocurrency) where no keys are any more privileged than any other keys - there is no "chain of trust" to speak about in the first place.
What websites do you think are more reputable?

>Strengthening bone, not muscle, is the reason to lift weights

Resistance training is well known to increase bone density and that's one of (not the only) reason it's often suggested for older folks

>Red meat is not a health risk. New study slams years of shoddy research

Just a clickbait news article about a new study and supports an emerging, shifting consensus on red meat. No issue ?

>What you eat can reprogram your genes

Epigenetics. It's not wrong
In the blog post I mention using RS485 (or CANBUS) instead of the solution we went with, but on a 5 day timeline, and building on a set where I wouldn't be present (initially I was not planning on being there at all during the shoot), I didn't want to put in a solution someone else on staff couldn't at least wrap their mind around.

In hindsight... there's always a lot that can be done different :)

And regarding the debounce—I don't mention this in the video explicitly (for time), but there were three other 'modes' for the buttons that were implemented that were never ultimately used, for games like Simon (press colors to match a pattern), and timing-based games, so the debounce was actually critical to allow varying ages to press buttons sometimes in tandem and sometimes in sequence with certain timings.

Because of the issues we had (not the least of which was a weird bit of a drain on the 3.3v as you held down a button), I recommended against some of the challenge types. In the end, the only things that made it to the final cut of the 1-100 video was the 'yes or no' style votes on a challenge. Which, yes, are incredibly easy to debounce. Lock in the first button press and you're done ;)
Should have put an AirTag on it. I'm kidding. Maybe.
I think believing in this kind of determinism is harmful, mostly to the individual who holds the belief, but also at scale, when many fools hold this belief. It makes you ripe for exploitation and deceives you into being or staying a loser, "oh if only I had that arcane magic ability that he has...". Fortune, grit, and deception [1] make kings, not some kind of magic superhuman sixth sense.

[1] Deception also prevents the making of kings, as in the case of the man who believes magic is what he'll need to succeed, and it's this magic he doesn't have.
I tried it and it looks like it does nothing but wrap my query in quotes… and then return non-exact results if not found. How is this any different than what people have historically done?
If you watch YouTube replay simulations[0] with ATC (air traffic control) when pilots violate a TFR (temporary flight restriction) for something like The President it's comical how long it takes for the interception fighters to find the target. It turns out the F-* radar is terrible at these kinds of situations. They almost always end up getting vectored in by air traffic control with their much more powerful ground based radar.

Just one example of how this kind of stuff plays out in the real world.

[0] - https://www.youtube.com/watch?v=Onx46fLyncM
> Even the apology misses the most important fact, which is not necessarily the cost of the change itself, but the demonstration that Unity is willing to change terms AFTER you've shipped software using their engine. That's a massive breach of trust as well as a massive risk.

And the obvious fix to that is to put out an announcement saying "Sorry about that, you can trust us, and if you release a game using Unity you can stick with that version of the ToS instead of us being able to foist new terms on you whenever we want forever."

Except.... Unity did that already last time they made company destroying ToS changes, and then just went back on the promise and said they're forcing the new ToS on everyone. So why the hell is anyone supposed to trust whatever apology they put out this time?

https://blog.unity.com/community/updated-terms-of-service-an...

Updated Terms of Service and commitment to being an open platform (2019)

Retroactive TOS changes

When you obtain a version of Unity, and don’t upgrade your project, we think you should be able to stick to that version of the TOS.

In practice, that is only possible if you have access to bug fixes. For this reason, we now allow users to continue to use the TOS for the same major (year-based) version number, including Long Term Stable (LTS) builds that you are using in your project.*

Moving forward, we will host TOS changes on Github to give developers full transparency about what changes are happening, and when. The link is https://github.com/Unity-Technologies/TermsOfService.
I do generally agree that more protein is good, but have you ever had a blood panel to see if you were low on some nutrient(s)? Common sources of protein contain a lot of high doses of other nutrients you may have been low on, causing cravings.
I use an M1 iPad, so even without JIT, I don’t really notice the speed drop. What is very noticeable is missing assets in a web page. Looking at Reddit with and without Lockdown will illustrate this clearly.
I think its necessary to point out that one of the authors is Mary Weiler and Steve Hertzler who work for Abbott - who makes Ensure products and Pediasure products which supplement protein for the old and the young.
if it makes you feel better, major construction projects in Japan can also take years and years and years. The difference being that you don't have federalism throwing a wrench in projects halfway through.

It's hard to look at America and not draw the conclusion that federalism is a major mistake. So many problems downstream from fickle localities.
The mechanism for this is protein increases satiety (feeling full/not hungry) better than carbs or fats.

Eating more white potatoes (very high on the satiety index[0]) would have a similar effect.

[0]http://ernaehrungsdenkwerkstatt.de/fileadmin/user_upload/EDW...
But Poison Oak (same active chemical) is known to grow in wooded and coastal areas. So if global warming leads to more dry desert areas out west, then I'd assume it would decrease the prevalence of it.

(The article references Massachusetts and southern New Hampshire which are very heavy in moisture, both before and after global warming.)
Confronted with different ideas about what is health and your response is to question the reputation of the site?

Why do t you just read the article and make your own decisions based off the information provided.

The most reputable sites get stuff wrong all the time, so even the least reputable can probably get some things right sometimes.

The requirement for infromation to be valued based on who said it vs what is being said will be the downfall of society.
And Beyond All Reason: https://www.beyondallreason.info/
RA taught me almost everything I needed to know about geopolitics. Seriously, I marvel at its applicability.

- Resources

Without resources (eg. Net national income) you cannot support a national defense.

...Limited resources lead to conflict.

...Exploit and defend distant resources to preserve your domestic reserves.

- Capability Evolution & Resiliency

...You must pursue advanced capabilities that surpass or match your adversaries, and if you manage your resources properly this is achievable.

...Your infrastructure must be configured dispersed, redundant and secure.

- Combined Arms

...Combative units need a mix of capabilities to overcome defenses, unless you overwhelm (swarm) your enemy - which carries resource risks.

- Long View

...One can easily win a battle or two and lose the war without a long-term plan.

- Intelligence

...You cannot know how your capabilities measure up against your adversaries without good intel. This often means sacrificing units for a look into your opponent's capabilities.

If RA theory and gameplay were mandatory in Congress the United States would be better positioned to both deter and compete with its global adversaries.
[dupe]
More discussion over here: https://news.ycombinator.com/item?id=37552740
So much so that America's allies are lining up to get them!
I don’t think that’s entirely true. When reading technical articles who the author is matters.

For example, this is the same person who’s working on Asahi Linux for ARM macs. This means that they probably know what their talking about and this is gonna be a good article.