skysight-inc/HackerNews huggingface dataset:
> but I do have a feeling that every time I see safety issues in C++ (or C) they can almost always be addressed by using an already existing safe alternative,

I mean, the almost-simplest abstraction possible the std::vector has potential UB right in its [] operator. Sure, you could theoretically always do "at(...)", but good luck convincing anybody else on to use this safer, yet more verbose and "slower" alternative to [].

There are lots of these things in the STL. (For trickier things, see iterator invalidation, etc.)

A lot of the unsafety is also baked into basic language primitives, e.g. dangling references/pointers because of confusion around lifetime, etc., etc.

There's just sooooo much that you have to get 100% right as a programmer and adding abstractions (while a definite improvement in many cases, e.g. smart pointers) hasn't proven to be nearly enough.
How long is it going to be before it gets better?
Funny enough, walking on uneven terrain takes a lot of concentration for me - again the CP. But running on pavement a few miles allows me to zone out.
I bonds are subsidized by the US Treasury (this is why there’s a purchase limit), which has never defaulted on its debt.
I hear you. There’s a war in Ukraine.

Did our understanding help?

Futile, is why I write.

The writers pen is always powerlessness.

Here, take it.
You could just open the path again?
Ruby 3.2.0 preview 3 released
Notable addition since preview 2 not mentioned here: `Data.define` can be used to define stricter, immutable Struct-like classes.
There are a couple of headsets that allow you to adjust the diopter of the lenses so you don't need to wear glasses, e.g. Vive Flow or HuaweiVR. Both of them however have numerous other big issues, so I really would not recommend them.
PanasonicVR/MeganeX is an upcoming one that has the same ability and that might be a descent headset otherwise, however it's going to be expensive (~$1300 for the full kit).

The cheaper alternative are prescription lens inserts, they get put on top of the existing lenses and replace the glasses.
All the Air Combat Developments Out of China's Air Show
Less than 10K unique visitors. Much lower than what I expected on HN front page.
I'm just trying to explain what cryptocurrency is and how that is different from cryptocurrency exchanges.

Cryptocurrency speculation on centralized exchanges literally does not use cryptocurrency and it's a shame that people think that's what it is.

What cryptocurrency actually is is a secure and auditable way to do transactions and record keeping in a very large group of people. That's what I and many other people use it for. Completely unrelated to day trading, and using the actual chains.
I don't know enough about when various laws were passed to say whether the introduction of the laws have had an impact. In 2021 the Office for National Statistics published a reasarch breifing on the topic with some top level numbers [1]. I can say I don't walk around expecting people to have a weapon on them, even in some of the higher crime areas of my city (Bristol). But that's just anecdotal and it'll greatly depend on where you live.

[1] https://commonslibrary.parliament.uk/research-briefings/sn04...
how do you pronounce your alias? is it jesus-script, or jez-yew-script?

Hmm, I wonder if there are any religions based around the worship of a programming language

They could cite their lore as StringUtil.xjs:Slice:1-23
I think I'm, in a way, OP-who-took-this-advice. I could have written his post, and I'm mid-journey on your advice.

I sort-of naturally fell into it. I'm just not as interested in HN or Reddit anymore. The whole internet feels like it's arguing, not discussing, and that rubs me wrong. So I feel very bored by the internet right now, which is something I never thought I'd say.

It's allowed me to really focus up on some other things like my fitness and some real-world projects, but I wouldn't say the struggle is over. The dopamine cycle is legit.
Mind-body dualism is an older position than Descartes, but cartesian dualism is distinct from the Aristotelian hylemorphic theories that were popular for a long time before, and still profoundly shapes the way we think in ways that may be difficult to even realize because the world view completely permeates all modern western thought.

It does however become very apparent when you read pre-cartesian authors that their views on the soul are off.

If you equate the soul with consciousness, it's obvious that a potted plant does not have a soul.

If you view it as the animating principle, it's equally ridiculous to say a potted plant doesn't have a soul, since it's so clearly growing.
In my country the first creditor that gets their money in case of a bankruptcy is the tax man.

And a lot of bankrupt companies owe the government a lot of money in due taxes...
> Plenty of people have this ability - the vast majority of people in my personal & professional life take responsibility for their mistakes, own up to them, and try to make them right. Even my four year old occasionally does it.

Most people are able to do it sometimes, but can the people you mention do it always, or even remotely close to that?

> But this would require that everyone "trust but verify", and that they do (or at least believe) independent research into the performance of their leaders.

This would require a trustworthy independent research body. I know of no such body that would reach my standards of trust. I can't think of an organization that even tries to do so in a serious manner.
even funnier, that liveark site seems to have a dev tools detection script. when i try opening web dev tools, it reloads to some minecraft song youtube video...?
It's just normal Qt with a bunch of features removed. Modifying one of the existing Python Qt bindings to build against this should be relatively straightforward.
Standards can fix this stuff: https://spritely.institute/

Spritely is an effort to fix the problems that remain with ActivityPub.
Plan 9's file system was called Fossil, and it had snapshot feature. Fossil was backed by Venti, a content-addressable storage.
I had a friend of mine who was a jock played in varsity athletes and was quite strong. He also happened to a be 100% average student in the STEM field. His professors were always shocked when he was the too student in the class - significant amount of disbelief.
I don’t have a magic formula and I’m often wrong. Meta dropped 20% in one day and I saw an opportunity.

https://www.bbc.com/news/business-63406803.amp

The stock did continue lower and I certainly didn’t get the bottom.

All I’m saying is take the emotion out of it and try to be open minded. Hating on a company has little value. At P/E of 9 there’s a safer margin

Also, I didn’t say Buffett would buy META. He’s not really a tech investor.
”Chief moral officer” – is this some kind of weird in-joke or meant verbatim as stated? I don’t get it.
https://en.wikipedia.org/wiki/Trust,_but_verify

It effectively means "don't trust; verify."
One is a chaumian cash system, the other is cryptocurrency with sender-obfuscation by ring-signatures.

The technical differences are too many for me to enumerate here. They are completely different technologies that make different efficiency-privacy-decentralization tradeoffs.

Functionally, Taler (and other forms of chaumian cash) are payment systems and not currencies. It requires a bank to implement it, in this sense it is less de-centralized, but likely much more efficient as there is no need for network consensus (because it depends on a central entity's blind signatures, etc. anyway). It has different (possibly better) privacy charichteristics than monero. They are both free and open source projects.
haha yep. I knew this would happen. I would definately be on the more careless side though, and I'm sure that 99% of people would not be as careless as me when uploading their files.
Crypto is life-changing in the sense that you will probably lose all your money as (1) a complete speculation or (2) in a hack or (3) due to fraud.
The best exploration game of it's era. I can still remember christmas morning when I played this 20 years ago. Hooked me right from the title screen with that ominous music.
On the flip side, it’s much easier to propagandize the masses now
And suddenly a well-timed "hack" and 600M disappear...
In medieval Europa monasteries were required since Pope Gregor to grow a number of medicinal plants to ensure that the population has access to medicine.
While i am not an opponent of modern medicine, it is kind of sad how little modern humans use the remedies nature provides.

Search for monastery medicine for more info.
I can recite you, yes.
Bankman-Fried is in Argentina now. https://twitter.com/flightradar24/status/1591348369271971841

I doubt he's coming back.
Recruiters know that layoffs are often an opportunity to purge the lower-performing employees.
But again, despite lots of people "believing in the core technology", nearly everyone who holds crypto is doing so for speculation - they want to get rich by greater fool theory.

Even people/groups using it for putatively useful purposes, those purposes often tend to be 10x more complicated or risky than standard financial mechanisms (or, they are using crypto specifically for various forms of money laundering).
You can avoid Arc in rust the same way you avoid mutexes in go - use channels instead. I find programming rust with channels between tasks feels quite ergonomic. Also, at least to me, it seems like it's a no brainier to pick a language with a GC if your target runtime environment allows for it.
Taler is superior to bitcoin because it implements sender-privacy.
(without having read the article) after-update filesystem rollback sounds like what Suse has offered for about 10 years: https://www.suse.com/c/introduction-system-rollbacks-btrfs-a...

There just hasn't been much demand for it. There are a bunch of other mechanisms used instead, like redundant systems and gradual rollouts, working with full system images (or container images) instead, etc.

For personal-ish systems, things are reliable enough, and if there is a problem you can't just stop updating, you'll need to fix it soon anyway. I've been updating a debian install on my home fileserver for 3 major debian releases, 5+ years ...
He doesn’t really understand the law very well.
Google invents JPEG XL. Google doesn't adopt JPEG XL. Oh, well...
On dealing with others: Don’t spend time around these people if you can help it. It will likely not be healthy for you in the long run. These types of people rarely meaningfully change and when they do it’s very slow and they must truly want to. If you cannot do that then make sure you have a social group you can spend time with who does take responsibility for their actions.

If you have been in that sort of environment too long make sure you are measuring your worth and happiness on internal rather than external markers of success or value. Mindfulness meditation can help here as well.
>" FTX appeared to be valuable because smarter firms were attracted to the exchange by the opportunity to take money from Alameda."

>"The more Alameda lost, the more smarter people showed up to take their money, and the faster FTX had to shovel funds into the hole."

I am not following this. How exactly did "smarter firms" take Alameda's money by using FTX's exchange?
URLScan [1] shows the site hosted on DDoS-Guard which is a Russian company. Only ESET [2] detects as "suspicious" so the scam site is doing a good job hiding. Their javascript resources are hosted in OVH. It also appears they have many different domains on the same IP with ark in the name. [3] It seems only their DNS is hosted on CloudFlare.

[1] - https://urlscan.io/result/610d159a-1c1b-46fb-b999-d957f801ef...

[2] - https://www.virustotal.com/old-browsers/url/9b54144ea2a3413e...

[3] - https://urlscan.io/result/610d159a-1c1b-46fb-b999-d957f801ef...
A measuring stick that is of different lengths depending on who wields it is not a good measuring stick.

Different people may use the same list to arrive at contradictory conclusions about the same code.

You, following your preferences and customs, may look at your code and think it is great.

I, having different aesthetic preferences and being accustomed to different paradigms, may look at it and think it is the worst code.
Some more infos, it seems:

https://twitter.com/gurgavin/status/1591434645295730689
At the risk of sounding to newage-y, I experience the benefits of exercising as energy balancing.

Solving problems, learning and building new things all day can be very mentally exhausting. Cardio, sports, lifting; helps re-balance the physical with the mental. I am sure there are more scientific words and biological descriptions that I lack the vocabulary for. If I get too mentally focused on a project/job/problem and go days without matching it with vigorous physical activity, I end up not sleeping as well, am less tolerant, more scattered and brain fog tends to start rolling in. If I counter it with the physical exercise or physical energy expenditure the mental clarity comes back, I sleep better, and don't have hair-triggered verbal impulse control issues. Otherwise, if I let it go for too long, lethargy sets in - which I attribute to the body/physical and mind/mental trying to rebalance itself. I dont think it cares that it makes me feel like crap overall, more that it's neutral in just wanting a balance however that comes about.

I often refer to exercise as me taking care of my mental health - as opposed to being physically fit. That could be seen as "exercise [being] the best cognitive exercise". Looking at it that way, exercise creates a mental-out imbalance, which causes the stored energy in the mind to be stimulated and need more output creating the mental sharpness. Obviously I have nothing to back up the claims other than decades of experiencing this to be true for me time and time again; though I do believe there are better biological explanations than energy.
Do you ever improvise or play from lead sheets? I feel like it's a different feeling from reading sheet music and many people find it more enjoyable. Personally I'm a fan of playing along with stuff here https://chordu.com/. It definitely isn't perfect but it works.
Hm interesting. I'm in europe on 50 Hz, none of my apple power adapters are grounded, not even the mac mini power cord is, and i've never noticed any issue.

However the electrical wiring for my apartment is only about 20 years old...
You seem to be bringing in piles of other things here: technical debt, complexity, cruft, etc. My post is about none of those things. You also note that the prevalence of those things is because no one will listen to engineers “with some deep skills & knowledge”. At some point, you also have to assign some responsibility for failure to communicate effectively, and not just a failure to listen. Or maybe they are not listening also, and not understanding the full context? I’m not doubting that poor decisions happen, but I’m not sure it’s useful to assign unilateral blame to management based on a failure to listen to the engineers you’ve deemed special here.
That's what I would have done, but I can understand the reticence. Being denied entry -- especially due to security concerns -- can turn into a Big Deal with lots of downstream effects.
You get treated decently with strong unions because strong unions have power. It’s not a matter of the corporation, which has no feelings because it is not a person, loving you back.

We should recognize the incentives of all the groups at the negotiating table and act accordingly.
You can win by taking responsibility if the organization you're in is healthy and not cruel and dysfunctional.
Svix – Webhooks as a Service
Except, again, his legal insight isn’t very profound. There’s an extradition treaty with Argentina.
> Not Alan Key 10kSLOC for the entire universe good.

if this was enough that's what we'd use though, no ?

While I like this project, I don't use half of the features it mentions in the supported features, and I use half of the features with no support planned so it's not an option for me ; i'd wager anyone not making todo apps has different set of requirements which leads to something like Qt which comes with everything. Simple example: no scripting support means pretty much that it's unuseable for any technical app e.g. in CAD/CAM or similar. No SQL means that it's unuseable for any kind of enterprisey CRUD client app.
yeah this seems like a really good idea! I always create new separate repos for official projects so that's always good.
Which ones do you object to? What would you prefer?
Ha, smart move on his part. The movie that gets made from this is going to be incredible.
I tried various projects like this (including iodine) back in the days when airport wifi was expensive and hard to pay for. They were all slow to the point of being effectively unusable. Interesting as a proof of concept but only useful for very terse data exchanges.
> Let’s take a break from all these principles and architectures, and remember that CSS is ultimately about implementing visual designs.

I enjoyed the overview (though the web component/shadow Dom bits others noted here would have been nice) but I feel like there's a missing realization lurking at the center of this history: the separation of concerns in the web stack was designed for documents, not layouts or visual designs.

Much of the struggling we've seen over the decades is because the separations aren't aligned with how we're using them. It makes sense for documents to have separate stylesheets. It doesn't make sense to fragment the implementation of a layout across several files and complexly-interacting languages.

This isn't really a fault of the article. I only just realized this in the past year myself and I've been writing html since the all caps era. I took a first swing at writing about this recently in: https://t-ravis.com/post/doc/what_color_is_your_markup/
Swimming as well is good for a deeper state of thoughtfulness. Just you and the water, watching the lane marker, approach the T, make the turn, repeat
Where are these leaked emails?
It serves the opposite effect to me. We've always known they can get away with it, and this just makes it more brazen.
Pointing out that subjectivity _can_ be wrong is unhelpful and uninteresting. What about the actual list they posted? Do you think it is wrong? Then criticize it in substance, not in principle.
This seems like an unfair retort to me. The point of the website analogy was not to suggest that the percentage of malicious websites is comparable to the number of malicious coins. It was to draw an analogy to another distributed system with low barriers to entry and where people dabble semi-seriously.

I think that the parent makes a fair point. I'm willing to go so far as to agree that suddenly yanking support for a coin you created and put up for sale on a public marketplace can be described as pulling the rug on that coin. I don't think I would assume, though, that doing so necessarily constitutes a deliberate attempt to scam people.

Is it irresponsible? Perhaps. Though that's a somewhat subjective judgment, and I recognize that the crypto community's culture around these things runs in sharp contrast to how I think about public marketplaces, so perhaps it wouldn't be fair of me to make a value judgment.

Is it worrying? I suppose I can appreciate arguments that the kinds of regulation necessary to prevent such behavior are themselves harmful, and that this sort of thing is acceptable or even desirable insofar as it indicates the market's level of freedom. I can't bring myself to agree, though. I personally would not want to participate in a securities exchange where such behavior is rampant.

But not all worrying or irresponsible behavior is a scam.
Yes banks have fidelity bonds called bankers blanket bonds (BBB) which cover losses from fraud, theft, etc. The FDIC doesn’t ensure against robbery, identity theft(banking fraud), etc. so this is an important protection for banks to provide.
It's the complete opposite. Taler wants to make decentralized transactions while keeping accountability and transparency. The idea of Taler is to have a system where buyers and sellers can have their data report to the authorities (at least what is needed for tax/compliance reasons) completely automatically.
Got to admit, thought this was trolling at first… but then realized the absolute genius of your comment!

Had me rolling in the floor with stitches! Bravo
Might you or someone else have link to those leaked emails?
Lol yup - I think the differences are "start off rich" and "use capitalism instead of casino"
Starting a startup did wonders for me in terms of taking responsibility for my own state of being, regardless of who else was involved or what they did. I’m not entirely sure where I got it from. I had started thinking that way somewhat, but I also started reading some ‘how to be a founder’ type material at the time that suggests leveling up your responsibility. Either way, I adopted a stance that when bad things happen, even if someone intentionally does something to harm me, it’s still my fault because I put myself in the situation. I decided I would take full responsibility for the state of the company no matter what. The helpful part of that isn’t so much that I accept blame, the most helpful part is that it empowers me to always do something about it. Accepting blame is tangibly helpful though in confrontations and communications.

I don’t know if “we” deal with this, it might be something where you can only practice yourself, and model such behavior for others. At some level, deflection and blame is part of the human nature of fear, but you can reject that within your own sphere at least. The key to getting it to catch on might be to demonstrate the value and personal benefits of this mentality to others, and also to reject blame narratives with a very compassionate and forgiving touch. Being aggressive about telling someone what not to do, e.g. smacking someone else in the head, rarely ever works. The head smack that works is the one that comes from within, and might only stick when surrounded by people you trust.
Is anyone really buying SBF's excuse that they "accidentally" used the funds because the accounts were labeled incorrectly. I mean, come on. Of course they did it willingly. You don't just trade to the tune of $5-10B without knowing where the money came from.

He also assured everyone on Twitter that FTX US was fully solvent and then filed for bankruptcy hours later.
Ultima Online (unofficial servers)
Show HN: A crossword puzzle generator written in Scala.js
Open-sourcing a crossword puzzle generator that creates dense puzzles, written in Scala.js.
Good article. I would have liked to see the article sternly advise against all CSS naming schemes like OOCSS. All CSS classes go into the global namespace, the solution is obviously not hand written naming conventions, it’s getting rid of the global namespace itself. OOCSS is like saying “we have to put our entire program in index.js at the top level, how do we name things to avoid conflicts?”

CSS is a fully solved problem: CSS modules combined with global utility classes. You probably want sass too, but the important thing is you’re writing CSS, and font have to figure out the DSL, translation, and plugins needed to use CSS features.
FreeCAD has no problem doing fillets

We had an earlier comment outlining the problems with fillets, and the author of the article had problems as well. Do you think those are real, or could they be worked around with more experience in FreeCAD?

https://news.ycombinator.com/item?id=33573318