skysight-inc/HackerNews huggingface dataset:
https://github.com/chalet-org/chalet - primary repository

https://github.com/chalet-org - github org w/ example projects

This is a project of mine that has been in the works for a little over a year and a half. The main goal of Chalet is ultimately to streamline C/C++ tooling as much as possible. In practice it's a command-line application for its own project format, much like msbuild or xcodebuild, that can take C/C++ code from various sources and build them using the same compiler toolchain. It can also run your executable applications after the build and handle paths for you. Chalet can also fetch git repositories by branch, tag or commit. It also supports cross-compiling without reconfiguring, and just requires a couple different options at the command-line.

This is the first release, and right now it works with all major compilers. The downside is that there isn't much in the way of IDE integration yet aside from a VS Code extension. This will hopefully change in the future as the application matures and interest grows. VS Code, text editors, and anything that execute command line applications are perfectly suitable otherwise.

The rest of the features and details are explained on the website, but it's worth noting that building C++20 modules with MSVC is also supported.

The docs might be spotty in places, so any feedback is appreciated. I hope this is something others are interested in, and can try out with some of their projects.
Elon waived his right to due diligence. I can’t speak to his motivations for waiving his rights to due diligence.
I don't think you need to own your own platform. It's a trade-off decision between total cost of ownership and your time. You can buy a new server with enough power to be able to serve everybody even during huge spikes but it's expensive, however relatively maintenance-free. You can have and old PC with low upfront costs but old consumer-grade hardware breaks down and you have to maintain it (sometimes we have to speak about "preventive maintenance"). Or you can put your things into a VPS or cloud for the price of electricity and a good internet connection alone (at least in my country, prices really are THAT low).

If you don't vendor-lock yourself in you can then move your things from one VPS/cloud to another. And you don't even have to start with Kubernetes cluster upfront. You can start with "old-school" "bare metal + operating system with root access" server, then move your application behind a load balancer, then to Docker/K8s when it grows. I see so many projects suffocating to death by "thinking big". I even encountered an e-commerce site which didn't even had a proper payment gateways, well, Cash on Delivery services still exist today. Not ideal but it worked (and the goods arrived OK).

But I'm not telling to "own your platform", that's BS nowadays. "Always have a way out" is much better. Start small and right-size often.
He doesn’t need MAE here, he would need to show the company broke a covenant - specifically the one saying they will provide reasonable answers / data to his inquiries. It’s a stretch, though
Thanks. As I expected. You need to have your SIM (to get access into iCloud)

https://support.apple.com/en-us/HT213305

>To recover a keychain, a user must authenticate with their iCloud account and password and respond to an SMS sent to their registered phone number.

In other words. If you lose your iPhone (containing your SIM) you can't get access to iCloud or iCloud keychain until you have a new SIM with the same phone number from your carrier.

If you travel in a foreign country and lose your iPhone you are locked out of "everything Apple".
I understand the desire to reduce e-waste, but this is just silly (and I don't even use any of the Apple devices, and only get devices which do have USB-C charging).

USB-C ports seem flimsy, and half the cables either don't go all the way in or pull out easily: they never instill confidence.

And let's not get started on how do you tell what a particular USB-C cable supports (eg. what levels of PD, what levels of USB, alt-DP or not, TB3 or not...)!

How are we going to get a better port developed if you can't sell it?

Can we just prescribe that chargers can't be included with mobile phones instead?
> I suppose the danger is believing that we are substantively different to people who came before us

genetically no, morally - well perhaps somewhat. Arguably. Maybe. Can you really rule it out?

> or that our current moral beliefs are corrector that our current moral beliefs are correct

We can be better without reaching perfection.

> Our moral judgements may seem correct now but there's a good chance future generations will look back on us unfavourably too.

I quite agree! Still, we can learn from the past and we should. You seem to be disagree that it's possible or meaningful to do so.
I think the readability issue of vectorized numpy if often ignored (while readability is one of the main strength of python in my opinion). I could not resists to write the example of section 2.2 in Julia:

using Random, BenchmarkTools
seq = rand(0:2,10_000); sub = rand(0:2,4);
# translation of the "readable" but slow python code
function_1(seq, sub) = [i for i in 1:(length(seq)-length(sub)) if view(seq,i:i+length(sub)-1) == sub];
@btime function_1(seq, sub);
# 93.858 μs (5 allocations: 1.98 KiB)

Which is more than twice as fast as the vectorized (and quite unreadable) python

%timeit function_2(seq, sub)
215 µs ± 1.94 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

Having a JIT (like julia, numba...) has really a bit potential to improve code readability and reduce the need of vectorized numpy operations. In some cases, it can even be faster due to be better memory utilization and by computing more directly what you need.
Your design makes it in a way that the IOUs are not fungible. Alice can not buy something from Charlie unless she shows that Bob is the one backing her. If it is not fungible, it is not money.

What you want to do is an digital version of Hawala. Hawala works, but there is a reason it is not automated. You can not scale it and it gets very easy to hit liquidity bottlenecks.

I think your ideas are in the right place (if you look at Raiden's off-chain side payment channels, it works somewhat similarly with what you are attempting to design) but can we agree to the fact that if they were feasible to be done without BFT mechanisms, it would have been done already? It is not like people want to use blockchains.
Show HN: Terragen.dev – Automagically Generate Terraform for AWS
The only problem with regex is that people try to parse HTML with it.

And in that sentence, neither 'regex' nor 'HTML' are the root of the problem.

IMHO, ignorance should never be a valid feature request.
UK will not follow in making it mandatory but will get the same chargers and USB-C ports as everyone else...

Note that Northern Ireland will in any case have to follow EU rules so this will be mandatory in that part of the UK.
I had the misfortune to read his Empire when it came out, where an evil Soros-like villain starts a robotic blue-state rebellion against a benevolent George W Bush-like president, but is eventually suppressed. Truly deranged Trump-like worldview a decade and half before.
I disagree, emotional work is work, and « positive energy » sums it up quite well.

Edge cases exist, but when I’m sad, I just stop being sad at work, because it’s been clearly stated, from the first interview, that positivity was a requirement of performance.

One edge case: colleague lost her mother last year, of course we didn’t expect her to perform excruciating emotional work.
Thank you so much for this link. It was a very interesting read.

I especially liked his guidelines and best practices for passwords usage and a kind of early form of 2FA.
In fact, I think I had alt.2600 and alt.hackers mixed up.
Play with TailwindCSS in the Browser
I read on my phone that has 525 dpi and it seems to make a difference (I only found myself comfortable reading all books on my phone on my previous one which had similar dpi without noticing). Your $400 phone likely has half the dpi, worse screen in general and worse camera for a start. Just because you don't benefit from a better phone it doesn't mean nobody does.

And if you are bringing up games, wordle is an odd choice given that it's among the lightest popular games. My counter example is diablo immortal which just came out and I played some to check it out. I'm not convinced it would run well on your phone.
Great quote that managers need to hear, but will ignore:

> It assumes the problem to be solved is attracting the “right” worker, which is the wrong question. Google found that, as a result of its study, it was much easier and more effective to help underperforming managers improve rather than hiring new people. The problem, in other words, is not hiring more loyal workers, but fixing bad leaders.
Give me a break. Just because people point out that something is not good, it isn't invalid because worse things exist. Take off the conspiracy hat.
Strange name “worth everything” or “worth it all”
Public opinion of reasonable people was already against Musk.
Almost exactly a year ago we have launched Digger. Since then thousands of developers started using it, and our mission remains to build the best developer platform ever.

But we are often asked - why so many products that look so similar? After Digger we have also launched Lemon, Alicorn and most recently AWS Bootstrap to name a few. The answer is simple: we want every feature of Digger to be best-in-class. So we are making a product out of it and launch it and perfect it if people need it, or kill the feature if there is not enough demand.

Terraform generation is one of the most powerful features of the platform. Not only your AWS account is taken care of - you also get the underlying code that is fully customisable. So you are not limited by the UI and can literally build whatever you want as long as AWS supports it. It's easy with Terragen:

1. Connect your AWS account

2. Connect a GitHub repository for your infrastructure code

3. Terragen will push generated Terraform there

4. Then you can add more apps and services - and Terraform will get automatically updated!

5. And you can use the digger_overrides folder to add your own custom terraform

We believe that the only way to make a truly great platform is to listen to the users and ship things they need. Tell us what you think!

PS - we have also launched on ProductHunt today: https://www.producthunt.com/posts/terraform-generator-by-dig...
I think Don Giovanni being thrown into hell is a narrative get-out-of-jail-free card being played. Most of the humour in the opera is derived from Giovanni's libido or shamelessness but giving him a comeuppance allows the audience to laugh at him instead of with him.
Same. I ran to the comments to check my understanding.
The regexes are very simple, there's just thousands of them. /x wouldn't help much.
I'm a Swiss Software Engineer fluent in German, but located in Japan. Is european time zone a hard requirement?
Doh... That's why people use Cloudflare.
Because the OP is about Coinbase?
I guess that adding timeouts can significantly decrease the run time efficiency?
Outside of hobbyist circles (may their brains match their guts), car engines in planes have a rocky history.

There was a big push in the 1990s to put "modern car engines" into GA planes, mostly diesel. It ... didn't go well. Turns out these car-derived engines were a lot less reliable than the good old Lycoming IO series, and much more expensive to maintain due to higher complexity (not to mention heavier, which always is a concern with airframes). And then there was the question on how long the manufacturer would provide replacement parts...

There is a push to make car engines happen with some EU-based manufacturers, most notably Diamond Aircraft, today. We'll see how that works.

Add that to the fact that new aircraft are prohibitively expensive, and we'll see manual mixture control-based engines for decades to come.
As an american, I personally find it disgusting
> Duracell Bunny

Energizer Bunny.
> Are there any extant proof-of-stake blockchains that achieve the security guarantees necessary to make a currency viable?

Cardano, Solana, and Polkadot seem to be doing quite alright.
It’s Getting Harder
You can absolutely find cases of companies getting in trouble for serving alcohol to minors. Or selling them cigarettes. Or running a secret casino/gambling business.

You cannot rely on people being responsible with substances and mechanisms that make them behave irresponsibly. That's the whole point of regulating addictive things.
They asked the Hedge Fund to transfer the money back. Citi is a bank but couldn't reverse this mistaken transaction and had to go to court.

If this was done by check, Citi could have simply cancelled the check.
https://www.bbc.com/news/technology-56012952

“Bitcoin consumes 'more electricity than Argentina'”
I think an interesting feature of defences of cryptocurencies is that they are similar in their composition as a block chain. In a block chain you have a cryptographically secure summary of the previous block in your current block - but you don't actually know what's in that previous block. Similarly in the arguments defending cryptocurrencies at the top of the article you have the description of the advantages of cryptocurrencies, but the later blocks of text hold no real understanding of what the previous blocks of text meant. So yes, blockchains are incredible because they solve "trust". No, it's not a problem that we can't reverse transactions because we can just have trusted intermediaries.

Yes, Blockchains inherently get their robustness from an incredibly wasteful algorithm. No it's not a problem they're inefficient because we're actually just going to do everything off-chain. No, it's not a contradiction for my defence of cryptocurrencies to advocate for not using them.

Ok, so I've been a bit snarky here, but the core of what I want to say is this: It is very difficult to read about the compromises made to achieve practical uses of crypto and still have the view that there's any of the original value proposition left.

I think the best cryptocurrency defence is just "We've got a lot of smart people trying new things and maybe something of value will end up being created". That's about as compelling as you can get.
Project scheduling software for IT companies: how to pick it?
As an industrial company, you are responsible for the outcome of people using your products in a reasonable way.

If you are a company building cooking knifes, but sell knifes as sharp as razor blades and people start injuring themselves super badly in their kitchen, saying that "people should be more careful with their kitchen knives" won't get you very far in court and in the public's eyes.
There is no Thiel Capital mentioning no longer. Just Dad. What happened?
This is fundamentally impossible to implement in anything anywhere near as powerful as JavaScript, because of side-channel attacks <https://en.wikipedia.org/wiki/Side-channel_attack>. (In practice, you wouldn’t even get that far, because universal taint checking would certainly be deemed unacceptably expensive. You can get away with such stuff for individual types, like in Trusted Types kinda, but imposing it on the entire language is not going to fly.)
I always love when these stunts are hitting reality, be that legal, regulation or physics. Because it always fun to watch them crumble. It just doesn't happen often enough, ignorance and endless (VC) money go a long in ignoring those limits without consequences.
Here you have Dr. Daniel Rasky, a NASA Senior scientist talking about SpaceX and Elon. Daniel Rasky was involved in specific studies that were comparing operation of NASA and private companies. He also has first hand experience from working at SpaceX and with Elon. He is expert on advanced entry systems and thermal protection materials and he was for example involved in decision to select PICA as a heat shield for Dragon, and he explains how that went with Elon.

https://www.youtube.com/watch?v=MxIiiwD9C0E

Here is Elon answering questions of National Academy of Science members about Starship. He explains in detail why he pushed the team towards steel and away from carbon fibers:

https://youtu.be/da3iF2Np51A?t=951

Here you have another direct conversation with Elon:

https://youtu.be/t705r8ICkRw?t=172

Here is Elon discussing with Sundy Munro mass manufacturing and engineering.

Sandy Munro is a veteran engineer from General Motors supplier and directly at Ford. Sandy Munro is now running a consultancy company that tear downs cars and suggests improvements to wide range of clients from the car industry.

https://youtu.be/YAtLTLiqNwg?t=78
Scale up rapidly and then mass fire the bottom 10-25% of performers. This is a well known tactic.
I feel the same about every project I've worked on: I love engaging with the work, but I am never passionate about the vision/mission of whatever I am doing.

I wonder if I haven't found a vision that I am passionate about yet or I simply don't have the entrepreneur mind.
I agree. I just don’t know why it is so popular with scientific/tech folks, despite the fact that they don’t even support math notation and nice syntax highlighted code blocks.

I am wondering what other “medium” is worth paying attention to? Do twitter threads have the same issue? One difference might be that you could post wrong stuff on medium with impunity, but on twitter there is a sort of implicit crowd sourced review so you have to be thoughtful.
I wish to thank team Xecuter and the whole hacking community working tirelessly under very real threat of physical harm to give us the freedom we deserve. If it weren't for you guys, my childhood would have been much blander and sadder. You are real heroes, thank you.
Create diagrams with code using Graphviz (2020)
> "Paralinguistic"

> I think you mean syncategoremata?

I think this is the most HN thing I've ever read on this site. :D
What issues do you have with Preview? Answering this question might make it easier to help you find an alternative.
Tobacco then?

Pointing those out because in my current country (Australia), laws are being gradually introduced to - eventually - eliminate tobacco consumption.

eg plain paper packaging mandate, banning of smoking in more and more places, and potentially soon there will be banning of tobacco sales to people born before a point in time year (2005 maybe?) so they're never allowed to smoke
In my case, it’s more like “why woodworkers like software engineering?”

Grandfather was a farmer, father a polytechnic teacher, … i have learned to work with wood, metal, cows, roofs, ducks, cars, … and computers.

The last one paid more in our era. I still do the others when they make sense.

I find woodworking quiet and beautiful. Metalworking, not so much :)
Talk about a borked example.

First of all, I'd call airplane/plane an "aircraft" instead, not because that's what aviators and Wikipedia editors do, but because it's super confusing in an article about some other thing called "plane".

And, as an aviator would probably tell you, in order to climb you should care more about the throttle (i.e. increase power) than about them elevators! So, in many cases there is absolutely no such dip.

And, I know of no aircraft capable of achieving that loopy flight path using just elevators. That would require quite a bit of kinetic energy, to say the least.

The bike counter-steering example clicked instantly with me, but I guess not many people have an intuition about that. I rode for decades before learning this and I think most other cyclists are not aware as well. (Most motorbike instructors teach that however.)
>> It leads with the collapse of NFTs, which has little if anything to do with Coinbase or its execs; it complains about infra/tech debt but says nothing about why that's bad, much less the execs' fault;

It has everything to with Coinbase and it's execs. The astronomical compensations at C-suite and leadership is to build strategy and vision around where to invest (e.g. NFTs?), how to differentiate your offering (e.g. vs. Open Sea), and how to minimize risk, and maximize success (e.g. adoption).

Investing too much in new initiatives, while not building the right platforms, and tech infra for it, will lead to even higher tech debt and more chaos - so they seem like logically reasonable complaints. Whether they are true or not I have no idea but the points do not seem vague at all.
If you don't care about the exact white spacing, you can simplify the Raku significantly using the :s adverb:

m:s/ What is your (name | guest | favorite color) '?' /

Especially in natural language parsing applications, this can be a very handy feature :-)

See https://docs.raku.org/language/regexes#index-entry-regex_adv...
Twitch is a reasonable argument to the contrary. You can watch Twitch completely for free with 0 impairment whatsoever to your experience (so long as at least have an ad-blocker), yet there are vast numbers of people making a living streaming, with a small chunk even becoming millionaires from it all, largely from people donating a few bucks at a time. Like you're saying there's always a big get bigger type phenomena, but that's an issue everybody has to deal with regardless of the system. And examples like Richard Bachman [1] would suggest its deterministically surmountable.

There are also countless other examples of things like DRM free products selling just fine in spite of the fact you can get a byte identical copy for free in about 2 seconds with a torrent. The point I make with this is that people are willing to part with more than enough money for people to make a living off of, even when they are not coerced into doing so.

[1] - https://en.wikipedia.org/wiki/Richard_Bachman
Over time I have honestly went from "Copyright must be reigned in" to "Copyright must be abolished". Some limited kind of author's rights should remain, but copyright itself seems to have an entirely negative utility.
can't overstate how nice raku is, bit sharper learning curve but still

raku: ^ ( \d+ <?{ $/ <= 255 }> ) ** 4 % '.' $
slow raku: ^ ( @(0..255) ) ** 4 % '.' $
rulex: <% ( :( range '0'-'255' ) '.' ){3} :( range '0'-'255' ) %>
regex: ^(?:(0|1[0-9]{0,2}|2(?:[0-4][0-9]?|5[0-5]?|[6-9])?|[3-9][0-9]?)\.)((0|1[0-9]{0,2}|2(?:[0-4][0-9]?|5[0-5]?|[6-9])?|[3-9][0-9]?))$

first one running code in the middle of the regex, to see if it matches a mathematical property, the second, running code to generate a [0|1|2|3|...|254|255] equivalent, which also matches as tightly as the rulex/regex code (e.g. no 00 allowed)
I mostly use this for after-purchase evaluation. If I spend $80 on a pair of shoes and at the end of their life they’ve cost $10 per use, I’m not happy. If I spend $500 on a couch and by the end of its life it’s cost $0.25 per day, I’m pleased. I don’t decide beforehand exactly what value I expect to get out of it, but I know it when I see it.
Got arrested. Charged with battery.
Generating true random numbers from bananas
A few more people might get damages from that, so lets hope they are in different countries /s
Fwiw, title editorializing has been enforced pretty lightly for a while, you can find editorialized titles daily which I guess in turn results in more people editorializing theirs. It feels like a lost cause to even bring it up since enforcement is so haphazard.
Additionally, what if all you carry is a swiss army knife? It does everything you need and want it to do. Yet, when you lose or break that SAK, you're left with nothing to do your tasks with.

If my laptop, tablet, Garmin GPS or phone break, I am inconvenienced. As opposed to, completely dead in the water.
It has a varying definition because Leftists lost touch with reality along time ago, and it has spread into every part of the party doctrine.

How can you assert common definitions when Leftists wholly embraces relativism, where you can deny objective facts and substitute your feelings as facts, and use those feelings as justification for literally anything?
The blue Spix’s macaw will be reintroduced after two decades