skysight-inc/HackerNews huggingface dataset:
There one commit referencing my favorite data structure [1], the discriminated union (DU) / tagged union / enums with values:

> kmparser: implement id generator

> That is the first step to implement Unions/Interfaces, it's also useful to
know what is the expected message type to decode.

I don't see any other mention or plan about DU's in the repo or metadata. I'm curious what their position is on it.

[1]: https://github.com/inkeliz/karmem/commit/626e6d3b380eb5236c9...
It seems your autocorrect is replacing "alloy" with "allow".
This seems to be a spam account, same post on each open source project.
Thanks. You summarized the paper better than the article this discussion thread is about. On closer reading, CSAIL had people write the articles and used natural language processing to detect “linguistic fingerprints of the Wikipedia articles that they’d created”.
Let me tell the truth that I think. I'm k8s newbie and I'm delighted by it and terrified by it at the same time.

I really like k8s architecture. It's just miracle architecture that I'd never come with myself. It's very extendable. I'm very inspired by it and I hope to apply it to my own projects some time.

But UI is terrible.

scopeSelector:
matchExpressions:
- scopeName: PriorityClass
operator: In
values:
- middle

Like really? I thought parsing problem was solved like 50 years ago. Why not `scopeSelector: "priorityClass in [middle]"`. It seems that we forced to write YAML AST instead of proper programming language. It really seems like some intermediate form that's supposed to be output from a proper frontend language but we've stuck with it.

Also I'm not sure that I like all this modular nature of k8s. Sometimes it makes sense, for example for CSI. But why should I choose between CNI implementations? I just want best one and that's about it. I want it to be from Google. I don't need to choose between kube-apiserver implementations or kube-scheduler implementations, thanks god.

Also the whole kubeadm story seems half-baked. It works, but far from ideal. I guess it'll get better with time.

But those are small complains. Like I think that it has a good potential to improve. But there's nothing to replace it. Even if someone will build some lambda swarm which is better than k8s, nobody's going to migrate to it, because k8s is offered by so many cloud providers which made investments and are not going to move to other solutions in the foreseeable time.
What are the groundwater resources like in the areas that are otherwise proposed for the water to be delivered to? Since we’re talking nation-scale projects here, then I’m talking about at depths from 1km to 3km.

https://www.thedriller.com/articles/89083-oregon-irrigation-...
Replacement-cost aside, I have wondered if there is a health benefit to using copper pipes over plastic pipes, namely in avoiding micro-plastics.

It seems a hard question to get an answer for, as most research I have found is clearly sponsored by the PVC industry.
That is a neat tool but your comment gives off strong growth-hacking vibes.
Ooo this is a new good one, I had not heard off before! Thanks
Is a concrete block any more dangerous than an RV that's up on blocks because the tires have been flat for weeks?
After since I posted this, last night before sleeping, I went to internet and came up with a plan to cover every topic I have ever wanted to learn with computer basics. Its starting to feel less overwhelming.
We aren't magically born with knowledge and we all learn in a different pace.
My new schedule is slow, but It has everything I have ever wanted to do. !
thanks for the links, will check them out.
In general, the documented precedent cases are used to develop a consensus by legal crowds. In many places "jury nullification" can theoretically supersede the courts judgement, but will likely get you kicked from the pool if you know such things exist. This is also why many punitive laws survive, simply by settling out of court via plea deals to avoid direct community/jury input. Citizens are still in charge, but decades of media often convinced people due process was somehow a bad thing (Socrates would be disappointed).

As a side note, if you are not using a legal rep, than expect people to make a bureaucracy more painful. Talk to a lawyer before you try to talk with anyone else, as you may be initially innocent.. but say/do something contradictory that still lands you in trouble. I also advise against doing your own dentistry as well. ;-)

It would be cool to have a law database effort which focuses on building something accessible that makes lawyers lives easier, and provides a tax free donation link to a nonprofit organization. Perhaps some sort of curated wiki style journal site with a validated legal comment section.

I like my lawyers and commercial accountants, as they were the best investment one could make for a business. =)
Memory exploits in Rust : Yes much less. That's where the world is (hopefully) headed to.

But then a lot of people would disagree on "Lets jump on the <new-hot-language> bandwagon ASAP". Even the transition to parts of Linux kernel components in Rust is slow and cautious. In that sense, C is still a wide choice. Plus there are a lot of people actively working on C. Rust is only but picking up. it's more likely people will write buggy code on a new language than something which has been around for a while.
Cmus, an Ncurses Music Player
And then they till the soil and let most of their money (fertilizer) run off (erosion).
Looks good, sending it over to legal team at my company
I agree with Dyson that the main difference between 'birds' and 'frogs' is that while frogs tend to focus on their particular domain solving problems, birds try to find and bring in connections between areas which can open up a much bigger new area of problems to solve. However to me this way of looking at things is almost dependent on your philosophical outlook on mathematics. Do you view mathematics as fundamentally one big area similar to how fundamental physics has their theory of everything? Or is it just collections of various problem solving strategies grouped by likeness? I find Tim Gowers' equally famous essay on the "Two Cultures" of mathematics[0] quite relevant here. Particularly of relevance is how some areas of mathematics, especially those of the algebraic kind, are more "structural" compared to a subject like combinatorics (on the surface this would make obvious sense because algebra broadly studies structure). I can't speak to being an expert on the past 50 years in mathematics but it would seem to me that these structural areas of mathematics have 'dominated' so to say pure mathematics in that time period. One thing however I would like to point out is going into the future how is the split between so called birds and frogs going to be? Most mathematicians or physicists or even academics more broadly will always be frogs because to be a bird you need to have frog like depth in several areas before you can start making connections between them. However as subjects get more specialized you would expect that slowly the amount of birds will become less and less because the amount of knowledge required will become higher and higher.

[0]: https://www.dpmms.cam.ac.uk/~wtg10/2cultures.pdf
Also worth noting that double or triple glazing costs a fortune as well. Retrofitting insulation is often not a simple option with American homes, I think, also. America is generally not that nice a place to be poor.
Choosing the Right Collection
What is the range of this thing? How dense meshastic devices have to be around us for this to be usable?
You're ascribing basically magical powers to China. I'm very doubtful that their space and solar prediction capabilities are so far advanced that they can predict the weather with the necessary precision weeks in advance
Never happened to me, but every bike I had with hand brakes broke very quickly. The brakes deteriorate because the brake lines get caught in other bikes when you put it in a bike rack, and water/ice screws everything up. Usually after a while you are left with one break that takes a crazy amount of effort to engage.

Sure if you want to use a bike for sport it makes sense to have hand brakes, but for everyday city use, simple is better. A single speed bike with pedal brake is almost indestructible as all the moving parts are usually fully covered. It can go years without any maintenance.
The great lakes watershed can't be touched. In any case, the solution to floods in a flood plain is to not live in a flood plain or build elevated structures.
Americanaffairsjournal.org is fantastic. Some of the best long form media output from a vaguely center-right viewpoint that provides an angle on american politics that frankly has an international feel since it certainly doesn’t feel anything like american media. Other than that, drudge report is still required reading in right wing american circles, so not a publisher exactly but you’ll get a feel for things. All best consumed with RSS (I like feedly, personally).
No one is going to build 10x as many wind turbines as they need to make sure the grid is still up. It's not going to happen unless someone comes up with grid scale storage that can power the entire electric grid for at least 12 hours and in a lot of places 16 hours when the sun/wind isn't available. Nuclear is the only reasonable option we have.
Some nostalgic disappointment on realizing that the title didn't relate to RPG the old programming language.
Have you ever been to Australia? Well into a police state long time ago...
Doesn’t solve the problem, it just pushes it a bit further down the road. It’s better to accept that the land can’t support the current or projected population and start to right size and reexamine land use. With any luck the trend will reverse in a century or two.
Show HN: How to test whether a STUN/TURN server is working properly
A few days ago, I created a simple service for my WebRTC Project: https://github.com/miroslavpejic85/mirotalk to test if the STUN/TURN servers are working properly.

After installing and configuring a STUN/TURN server, most of the developers that are new to this stuff will ask themselves, how do I know if it's working properly?

So I made a snippet :)

```

<!DOCTYPE html>

<html>

<head>
<title>Test Stun/Turn Servers</title>

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

</head>

<body>
<h1>Test Ice Servers</h1>

<hr />

<pre id='ice' style='overflow: auto'></pre>

<hr />

<p id='ip'></p>
<p id='stun'> The STUN server is NOT reachable!</p>
<p id='turn'> The TURN server is NOT reachable!</p>
<p id='err'></p>

<hr />

<script>
const Ice = document.getElementById('ice');
const IP = document.getElementById('ip');
const Stun = document.getElementById('stun');
const Turn = document.getElementById('turn');
const Err = document.getElementById('err');

const iceServers = [
// Test some STUN server
{
urls: 'stun:stun.l.google.com:19302',
},
// Test some TURN server
{
urls: 'turn:turnUrl',
username: 'turnUsername',
credential: 'turnPassword',
},
];

// Print iceServers config
Ice.innerHTML = JSON.stringify(iceServers, null, 4);

// Test the connections
const pc = new RTCPeerConnection({
iceServers
});

pc.onicecandidate = (e) => {
if (!e.candidate) return;

console.log(e.candidate.candidate);

// If a srflx candidate was found, notify that the STUN server works!
if (e.candidate.type == 'srflx' || e.candidate.candidate.includes('srflx')) {
let ip = /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/;
let address = e.candidate.address
? e.candidate.address
: e.candidate.candidate.match(ip);
IP.innerHTML = ' Your Public IP Address is ' + address;
Stun.innerHTML = ' The STUN server is reachable!';
}

// If a relay candidate was found, notify that the TURN server works!
if (e.candidate.type == 'relay' || e.candidate.candidate.includes('relay')) {
Turn.innerHTML = ' The TURN server is reachable!';
}
};

// handle error
pc.onicecandidateerror = (e) => {
console.error(e);
Err.innerHTML = ' Error: ' + e.errorText;
};

pc.createDataChannel('test');
pc.createOffer().then(offer => pc.setLocalDescription(offer));
</script>

</body>

</html>

```

Alternative to https://webrtc.github.io/samples/src/content/peerconnection/...

Ref: https://www.reddit.com/r/selfhosted/comments/wayiev/how_to_t...

I hope it will be useful to someone.
New Patterns (Web.dev)
Right, and GCP and Azure do it better on GCP and Azure. I've got no attachment to AWS, I just have to use it right now so it was the first one that came to mind.

Somewhere between "I'm small enough that all of the cloud providers are about the same" and "I'm big enough that I can leverage them against each other to get a better deal, but still small enough to not be on metal" there is maybe a sweet spot where I really do need to be mobile across providers in a push-button way. People in e.g. blockchain use k8s to good effect because they want to run a big distributed system with loose-ish central organization, and that's a real thing. It's also a niche.

I never said Kubernetes was useless full stop. I said that places where it's the right call are niche.

My current gig is humble, a usually-raman-profitable type garage band, we're like 5 engineers with Ethernet cables in our living rooms and a bigger AWS bill than feels fair, and if I proposed to any of the ex-FAANG type people involved that we should get serious about Kubernetes they'd laugh themselves pink in the face and resume typing. We can give our machines names and remember them all, there are a few dozen of them, but that's still "pets".

If we're fortunate and hard-working enough to need 1k machines, I'll spin up a ZK instance or something and write a little Nix/bash.

I won't be networking at KubeCon 2023 unless I lose a bet to one of my peers. I've got work to do.
In germany there are courses, that enable you to work as a first responder in an ambulance. They are just a couple of months long. I want do them when I have a few months of free time to get some insight about the field and learn useful skills.

Maybe there is a similar scheme where you live? This could you give you an insight about whether you like it at relatively low stakes.
The HOWO T7H Euro3 used dump truck is a genuinely global vehicle. It was first introduced to the world in 2011, and since then it has been exported all over the globe. Sinotruk manufactures this heavy-duty dump truck for global markets, including Europe and North America.
And that does not even cover the sabotage to storage installation. My brother got solar on the roof of his farm, but is not allowed to use it in the living building, because its a "seperate" household (50 m) away. This years winter, with not enough gas, these companies will cease to be and the state can put an end to those "cornered" market shenanigans.
No need to bring Rust into this talk, Modula-2 from 1978 would already sort out most of C's mistakes, or even JOVIAL from 1958.

C became a forced choice thanks to UNIX's free beer, and like JavaScript with the Web, it tainted us all.
But LA does. Arizona could pay for LA for Lake Mead water at the desalination price.
Before looking at the water source, wouldn't doing the bare minimum to control the water sinks would be in order?

I mean, we have harder regulations on water useage in the alps, and this is a water rich area where only 3% of the a available water is used. The truth is that the water a land will provide is limited. And of course you could expand this water by also taking the water from another land, but maybe pitting a little effort into not wasting water for unnecessary stuff would already do wonders?
This looks great, congratulations to the author. I will be using it.

In case you’ve never read it, this 2014 blog post is an all time favourite of mine. It really opened up my thinking about words and definitions:

You’re probably using the wrong dictionary - http://jsomers.net/blog/dictionary

Ever since reading that, I have tended to use the 1913 Webster’s as my primary dictionary, supplemented by various modern ones where necessary. I found an acceptable iOS app for it - the UI is not good, but at least it has those shimmering definitions.

My dream would be if you could make a version of Wordnote that uses 1913 Webster’s as a dataset.
Not just right-leaning but there is also: https://merionwest.com
The wrong part in GNU make is that it always permit using non-posix extensions regardless of .POSIX special target, while pdpmake does not. This fact makes pdpmake kinda special since it can be used for posix compliance testing, which is crucial part of developing portable application that uses make to build itself.
Paywalled : https://archive.ph/l3knz
When I was young, the thought of a "Constitution" requiring a supermajority to modify seemed arcane. "If it's the will of the people, let it be done." Today, I am forever jealous of America's Constitution. No matter which crazies are elected, they face an extreme uphill battle to remove basic rights. Sadly I do not see the UK/AU/NZ/CAN creating their own Constitutions. Those in power understand it would limit their power to an unacceptable degree.
Mostly nothing, but writing a makefile and only evaluating against it makes it difficult to guarantee that you will see the same behaviour on a non-GNU system (which has become more relevant these days as even systems based on the Linux kernel are no longer guaranteed to run a GNU userland). What makes matters worse is that even if you grab a BSD make implementation (there are several), there are no guarantees there either, although the number of non-POSIX extensions are far far fewer. Thus you are left to committing things to memory and it is not easy to get it right.

With a strict POSIX implementation, you could develop against it and if it works correctly on your system it should also work correctly with pretty much any other make implementation out there.

Personally, I was so frustrated recently about this that I was looking for exactly what pdpmake offers and could not find anything. Thus I am now very thankful that I do not need to write it myself. But there is still plenty of room for strict POSIX tools like this for: awk, sed, m4, etc.
Wilful Blindness by Sam Cooper provides endless evidence that the government is corrupted. “We investigated ourselves and found that we are not corrupt” is not a ringing endorsement. Money is power and in BC the criminal GDP is as valuable as any of our legitimate business sectors, like fishing or forestry.

https://vancouversun.com/opinion/columnists/douglas-todd-sam...

https://thetyee.ca/Opinion/2017/04/10/BC-Liberal-Falsehoods-...
But there are so many bookmark managers out there. I use raindrop, but there are many others. Do they not meet your needs?
OSI being in charge of open source is like that Indian tribe that sold Manhattan to the white man for 28 dollars. They are always cited as being idiots but they were selling another tribe's land and were happy to get paid for it. Likewise people like Eric Raymond were only too happy to facilitate the businessification of free software for a little time in the limelight.
They can make permits required to place eco blocks on city streets then inform every cement company and trucking company that failure to get a permit will result in a $10,000 fine and impounding of the delivery vehicle for 14 days at the expense of the trucks owner. Then offer citizens $5000 for proof of companies dropping these blocks off kind of like how they pay citizens part of the fine for recording vehicles idling in New York. There definitely is a way but not sure there is the will to do it.
Everyone keep saying that. But containers are battle-tested for years at this point. I think that all low-hanging vulnerabilities have been fixed. Like you can expect that your container IS secure if your system is up to date. Every container escape is kernel bug which is fixed ASAP. And 0-days can be applied to everything, virtualization will not help you with that, there're 0-days in virtualization layers. Yes, surface of attack is significantly larger with containers and chance of 0-day is larger, but for most companies which don't really run code from attackers in their containers, this danger is over-stated. Container security is good enough for most workloads.
Homework for Dantzig: show that [cryptographic hash] is surjective?
Look who’s stalking: the black leopards of Gloucestershire
Algol-60 didn't actually have the notion of keywords as such in the modern sense. The language grammar treats stuff like "if", "for" etc as fundamental terminal symbols without specifying how they're to be parsed distinctly from identically spelled identifiers. Each representation is supposed to come up with a way to make that distinction; for example, the reference representation uses bolding and/or underlining to distinguish keywords.

So, for hardware representations, which are all linear lists of characters without formatting, they had to use some kind of escape sequence - https://en.wikipedia.org/wiki/Stropping_(syntax). The term itself comes from the most popular syntax for this, which was to put keywords in single quotes / apostrophes, but there were many other variants, including some identical to how we handle keywords today, as seen from this table.

This approach also allowed for Algol programs to be "translated" to a language other than English in a sense that a representation could be defined that used native words for keywords. This was actually used to some extent in Europe, and especially in the USSR.
Not only that, but also a Vectrex! The technology was so impressive in the early 80s in arcade games that used it, my first experience of proper 3d graphics effects (e.g. battlezone and star wars). I'm not sure how the colour support worked on the star wars machine thinking about it...
Nope, simply because I always use that web to get some insights on open source project, especially those attracting more attention.
Balancing that against the future of the planet, I know which one I'll choose; nuclear all day long.
Not Amsterdam, but Utrecht.. But still. I think Utrecht might be more bike friendly than Amsterdam, with a clear network of central bike ways and free secure bike parking throughout the city.

https://m.youtube.com/watch?v=fePpwYCs_JM
One tricky thing is the Mississippi has water, but the majority comes from the Ohio, nowhere near the Colorado. This is a diagram for capacity, not volume, but you get the idea.

https://ian.umces.edu/media-library/flow-capacity-for-the-mi...
I may have conflated your response to the child response that suggested I was a bot.

I apologise
Building code is not a standard by which to judge possible practices, it just formalizes the normal approach to prevent halfassery. (And arguably, to prevent disruption of established businesses in a regulatory capture kinda way.)
Interesting video. Thanks for sharing. I have only the vaguest memory of Max Headroom and seeing that brought back some memories. I think trying to paint him as a stereotypical ideal Aryan is a bit of a stretch, but the rest seemed pretty on the mark.

The connections he makes later in the show from Headroom to modern Twitch streamers and saying "I want to see Max Headroom playing a video game" brought to mind modern vtubers. Certainly the tech is there now for someone to do a "real time" Max Headroom that actually is computer animated, though implementing the glitches would probably take some custom development of some sort.

That said, I think the proper approach for the show would be to do it in a retro-futuristic way and have it look much like the original media's perception of "the future" was. So as little CGI as possible, and all the TVs are still 4:3 tubes with big knobs. I highly doubt they'll take that approach, though; too much effort.