skysight-inc/HackerNews huggingface dataset:
> Having written and read lots and lots of C++, RAII being "hidden" is hugely overblown by the diehard C crowd.

I work on low level projects which use both at the same time.

> If a given type cannot be safely cleaned up in a given context, then it probably also wasn't safe to get in that context in the first place.

Not true. As a quick example, the destructor might try to take some statistics, which might not be safe in an interrupt context, or when a thread is (internally) in an intermediate state. There might also be multiple ways to get rid of the type. This was an "obvious" example, the ones that bite you are the non-obvious ones of course.

And yes, I have anticipated both the "but you still call functions in C" and the "functions may change" comment. True, but you call those functions explicitly, at a very explicit point (which you can also surround with other code), and anyone who works on a cleanup/destructor-like function can very easily figure out all call sites.

My point is precisely that you tend to run into these icky issues when deep in the bowels of a system, not when writing a smartphone app.

> And second it goes so so far in preventing resource leak bugs, which is also something kernels and low level code care a lot about.

Kernels do care about that, true. But if you exchange resource leak bugs for invalid state, which translates much more happily into security bugs, you are definitely worse off.
You asked what it meant, I answered. It's not me adopting a position or even my position and I'm not arguing against you. No-one's saying the war is going well for Russia, we're giving you examples of the pro-Ukraine spin a lot of stories were taking. Especially in the early days when most professional observers were afraid Russia would turn it around, but Western governments needed a lot of public support to spend a lot of money.

One can still hope and wish for a free Ukraine while doing it with our eyes open. You can read the news while being aware of the bias in the media.

In future, just don't ask the question if you don't want to hear the truth. The only mental gymnastics going on is you reading far too much into people attempting to answer your question.
I see multiple Korg Monologues or Minilogues and a Teenage Engineering Modular 400 hiding in plain sight, but I don't recognize any other synthesizers.

I wonder how much of this is functional, and to what extent electronics were modified or reverse engineered to get them to work in unintended ways. At any rate, it's impressive work.
> And since Bitcoin isn’t hooked up to a doomsday device like Luna and UST was, it can’t destroy itself.

I think you undersell that point: Bitcoin has proven itself. A lot of currencies have come and crashed, had backdoors, hacks, hard forks etc.; Bitcoin is simple-ish and stable. It also the longest surviving crypto currency. So it wields a lot of trust and market power.
Sounds exactly like my current job.
Or when it's cold outside, presumably.
Barter's been around longer than money. Each party in the trade has something the other party wants. No middleman.

For scarcer, non-local trades, maybe there's a long-distance bartering protocol waiting to be invented. Tell what you have and what you want, and wait. Optimizing trade chains might minimize shipping/handling (but take longer).

Expect bankers not to like this.
I think they're pretty justified to block additional uploads for any over their stated (but poorly enforced) quota, and give a window for users to get back under quota then just delete it for the obvious bad actors.
Dutch Intelligence start large-scale data mining despite negative referendum
I am on GSuite's Legacy plan because of this one https://news.ycombinator.com/item?id=17689404 and I was very disappointed with them transitioning to paid. I believe their turnaround has something to do with EU/USA government going after big tech?
There are general bots available for anyone that will repost any deleted or differences in edited messages in (usually) admin only channels. I once got banned (by a server/group/guild admin) for mass deleting messages because I was “spamming their admin log channel”.

Needless to say the deletes only highlighted my activity and put all messages into view again… for less people but still. Part of me things maybe those types of bots should be forbidden? I’m not sure though. I come from the IRC era where everyone logged everything and there was no edit or delete.
Fiat currency does not actually have the backing of a government. What could the UK do when the pound peg broke? Nothing but lose enormous amounts of money trying to hold it.
I just gave it a try myself. My mic isn't as nice (Logitech C920) but my keyboard is also pretty loud (Das Keyboard Prime 13). I gave it two tries and it didn't even get within an order of magnitude on the number of keystrokes, let alone what the keystrokes are.

I'm not dunking on them. This is a really really hard problem. My comment is more that I'm not worried about this as a viable threat just yet.
If you want to kill a beach, treat it like it's dead.

Things like barrier islands should be considered living structures. The moment you stake them down you've given them a death sentence. Tearing up the grasses and building objects on them begins the slow process where they are not able to replenish their sands. In addition the move with time. The head of the beach will get ate away and the tail will grow. But when we start putting up walls and dredging the ocean, we change those currents that feed them and put them at much higher risk of dissolution when strong storms hit.

"The beach, if you love it, let it go"
Uncharitably, "did" implies a box-ticking mindset: when you've "done" Barcelona, you've seen all that's worth seeing and can move onto the next. Even if all you actually did was eat tapas at some tourist trap on Las Ramblas and queue up for Sagrada Familia.

One thing you realize about travel as you get older is that you cannot, in fact, "do" a place: the rustic fishing village on the beach in Thailand you went to 20 years ago is now a rat warren of concrete hotels and package tours that bears no resemblance to what you once saw and experienced, and what's more, your experience now is quite different if you have a wife and kids in tow.
I am a daily user of Inkscape and I love this software. Thank you for that version, snapping and multiple pages are incredibly helpful. Earlier in the day, I was about to download a suspicious add-on to batch export images, what a pleasure to find this option in this new version!
`benchmark {...}` is just some shorthand because the actual code is boilerplate-filled. It's not valid Go.

Optimization-defeating: go infers when to move things the heap vs keep it on the stack, and does somewhat aggressive in-function optimizations and inlining that it does not do cross-function. One common, very simple, and reasonably effective way to prevent some of that is to erase type information by passing a value through an interface{}. Even if you immediately unpack it and reuse the reference, Go has no jit, so it gets the job done alright. There are some other things that don't survive cross-package analysis, last I looked, so using multiple packages can also help make your benchmarks more realistic. It takes a lot more effort to be truly realistic in even one benchmark, much less the 9 various flavors that I tried.

And the String() piece is because I had it return a string because why not. Variable-sized data is extremely common so it's realistic enough, and using the correctly-typed reflection funcs usually avoids some reflection and boxing and allocation costs that I didn't feel like trying to address in more detail.

None of which was written out explicitly because there are tons of caveats regardless of the care I tried to take, so I just mentioned that they existed and moved on because I couldn't spend more time at that time.
That’s just gaming a different algorithm.
I think the debate boils down to

The other side: The ruble is up. This is indeed strange, and no one really foresaw this result. Explanations range from Putin has chosen to prop it up at the expense of other indicators to gaz trades are still high, and availability on foreign markets of rubles has dropped sharply.

Your side: Putin has shown economic muscle that no one expected he would have. There are definitely eggs on the face of the western analysts.

I don't see how both points are incompatible.
That really depends a lot on the language. You could have a language which guarantees all finalizers are run so long as the process terminates normally (i.e. not by a power outage).
Heh, it's at #120 on the iOS Top Charts for Paid Entertainment. I just bought it, so it checks out - the HN effect is real.
I think the middle ground, pseudonymity, would be way better than the true form of either end. I think there was some research done that shows how it's also a bit less toxic than the other two.

At some point most accounts reveal enough bits to identify someone. To actually keep anonymity is difficult and also comes with the abuse being discussed.

Unfortunately I'm not aware of a zero-knowledge real person mapping system. But that would work to a reasonable extent. Any person (no info who) could pick one (active) username on a website. It could curb abuse and doxxing both.
They can't force owners to remove the houses directly, but they could potentially make owners liable for expected clean up. That could indirectly get owners to take the situation more seriously.
Last year I drove up I5 and counted at least 20 triples!
Try :) Take a video and quantize it.

From my experience: very true.
This argument (rescued whales, could have rescued the coin) is just naive people failing to face they were scammed.

There's no way they could've saved it.

Crypto is supposed to be an anti central bank currency.

This is the worst central bank any type of currency could ever have.
Google Drive as a first line of defence. It's been solid for a really long time. However, Google Accounts get shut down without warning sometimes.

I also run hourly rsync backups to my home server, and propagate them to a Hetzner file storage server. This is done by my timeline thing [0]. The timeline thing backs up files from multiple devices, but also geolocation, social media posts, and other data I consider valuable. It's extensible, so I can add new inputs/outputs as needed.

Whatever your backup strategy is, consider the following threats:

- Your files are held hostage by ransomware, and the damage spreads to your backup

- Your house is destroyed by fire

- You lose your 2FA device

- You are locked out of your Google/Apple/Microsoft account

- You are incapacitated, and someone needs to take over

I have 4 of those factors covered. I am working on the last point.

[0] https://github.com/nicbou/timeline
5% is an insanely low auctioneer's fee. Is that for really high-ticket items only? The place I usually buy from in the US, it's 22%, and while that's on the high end, I don't think I've ever seen less than 15%. These are largely items in the $500-$5000 range, with a few in the $5-20k range and occasional big-ticket items going for a bit over $100k.
Full-genome screening for newborn babies is now on the cards
Big, big fan of Inkscape. The latest release was horribly broken on my M1 Mac (every keyboard shortcut didn’t need the modifier so typing a Z was Undo, etc) I’ll download this and try it out.
Thanks for writing this! Am I correct in understanding that VSS requires writer support and that support is not widespread in desktop applications, eg web browsers?
These little scenes are incredible.
Yeah hopefully a multi page Illustrator file opens as multiple pages now. That would be huge.
My cat definitely has different sounds for different behaviors -- the most interesting one is when I leave the house and he didn't see me leave, I will get a notification from my nest cam that it thought it heard someone speaking, which will be my cat making a guttural sound that sounds eerily like "hello?" - he will sometimes do this if he can't find me in the house.

A second distinct meow he makes is when he is able to sneak past the baby gate to run down the stairs to the front door -- I call this his "see ya, sucker" meow.
Yes! When you catch him off guard or wake him, he'll coo like that. It's similar to his whimper when approaching.

He's sweetest when he wakes up, so it turns into more of a coo than whimper since he's purring a bit.

Seems to be his hello/greeting call.
25% isn't really good enough to bring it in line with other FAANG tier companies. MS is still significantly underpaying at pretty much every level.

The only benefit to choosing MS is for better work-life balance than Amazon or Meta, which are notoriously competitive environments.
I'd say his word is more convincing than the exact opposite position as similarly-baselessly-claimed claimed by Elon, who similarly has a conflict of interest incentivizing him to be dishonest, as well as a vindictive personality driving him towards the same
If COVID killed 7 year olds at the same rate as 77 year olds the response here would have likely been much different.
> Please explain the mechanism by which a "bank" is able to transfer to you an amount of BTC that they do not have wallet control over?

They change a number in their database. All they have to do is edit the entry that records how many BTC you have in your account.

Whether you can actually withdraw those funds is a completely different matter. They're totally available for trading though.

> the almost always correct assumption that most people won't want to convert that database entry into cash at the same time

> This is not possible with bitcoin

It is. Most people do not withdraw bitcoin either.
Cyberdecks are more about the freedom of selecting exactly the hardware components you want (in the same way you can when you build a desktop computer)[0] so I don't think an average laptop would do the job.

For example, this cyberdeck has a mechanical keyboard which is quite rare on laptops.

Yesterday I was browsing a forum that shows cyberdecks built by users, and one had a circular screen! [1] You would definitely have a hard time finding a laptop with that! :-D

[0] https://cyberdeck.cafe/faq

[1] https://libredd.it/r/cyberDeck/comments/ulvl19/a_terminal_po...
You can't rely on Google. This is your shot across the bow, use the extra time to prepare for the inevitable.
It's decent. It's easy to use but it's getting a little old. And they still don't support line wrapping.
I clicked expecting an informational article but turns out it's mainly just dabbin' on Russia again. Journalistic standards are in the shitter but then again it's The Guardian.
So for that bitcoin fee, I get fraud protection too? So as a consumer I can challenge a fraudulent charge? And the money, it doesn’t leave my account until I say so? Oh wait no? I get none of those guarantees? Just a “good luck! Buyer beware!”

No thank you. I’ll stick with my credit card. If I want to pay for something semi anonymously I’ll use cash.
and if his unsubstantiated pretext to back out of the deal remains unsubstantiated, he cannot
fair enough! I guess I was thinking of the specific context of the rust cranelift backend, which I believe is still experimental?
Watch this without the audio, which is annoying:

https://www.tiktok.com/@danil_chernyy/video/7096930280765721...
The other way to look at it, is that if the company starts to give up a product-first market to an enterprise market it is because they are loosing or struggling to keep their customers in their first market and so they dont have the best product.

So as a customer if you want the best product then you have to switch
What did you transition to? I recently made an exploratory protonmail account to move my personal domain to but found that their handling of arbitrary mailboxes like the +suffixes is not useful since you have to register each one, are limited in number, and can’t send from them.
Or word embeddings
Well, that's a pretty big "only benefit". I'd love to work for Microsoft but would never in a million years consider working for Amazon or Meta, even if you literally offered me a million dollars a year. I'd much rather take something like a third of that and enjoy my life; I've already got fuck loads of money (by my, and most "normal" people standards)
Well that's fine, really – they should make decisions about what tools to buy based on how much it makes them, not how much it makes me, just the same as I don't base my decisions on what tools I buy based on a hypothetical Estonian contractor's salary.

I'm not really "forgetting" anything so much as I was making a statement about myself – you'll notice the prominent "I" and "me" in "Eh, for how much use I get out of a merge tool, $150 is pretty meaningless for the right tool" and "Ok, but I’m a software developer and this is a professional tool with which I do a job that makes me several hundred thousand dollars a year." – which for some reason has prompted a bunch of "well, whatabout median American income making non-developers" and "well, whatabout underpaid European developers". I am neither of these things. Wasn't talking about them. North American saws probably aren't priced affordably for Estonian carpenters either, when it comes down to it.
Probably a new open source project built on top of syncthing.

Might be a good SaaS.
yup. protip:

Put this in your ~/.gitconfig

[merge]
tool = opendiff

then next time you get a merge conflict, just do:

`git mergetool`

it will open xcode's FileMerge.app, which is the best mergetool I've ever used.
Which crypto? Where?

Crypto is a multi billion dollar market, why hasn't a single solution for micropayments managed to achieve commercial uptake? Everyone would benefit if such a solution existed and was cheaper than Visa/MC.

Crypto having low transaction costs at anything resembling commercial scale TPS seems to be a myth. There's always some giant gaping caveat that goes unmentioned, like "lightning network Bitcoin" or "eth 2.0 with PoS will solve this".
>This seems very unlikely

That's what I thought given that it does have a good rep.

Haven't given up on it yet, but definitely less trusting - 3 different drives in 3 different ways wasn't expected.

That said - all consumer class gear in janky environments so there may very well be other factors lurking.
Sounds like the Americans' "Sunny Delight", a childhood staple but also kind of.. not quite juice.
Google bot spots spreading starfish 20 times better than humans
I mean, yeah. That's the deal. Managers are salary and the margins are razer thin.

You used to pick up a lot of extra part timers - people who would only schedule 15-20 hours a week so that you could have extra capacity for sick days, vacations, etc. But people generally only want full time work these days so that makes it even leaner than it was.
You don't need to get in actual contact with support. It's not clear from the linked page, but when you go to the (?) icon on your admin page there's an automated click-through flow to revert to legacy - I just did it for my account.
Interesting project. We have a similar set of various cross-platform helpers for various C structures and tasks during all these years within Rizin - RzUtil[1][2]. They are more tightly coupled with each other though and is LGPLv3-licensed.

[1] https://github.com/rizinorg/rizin/tree/dev/librz/util

[2] https://github.com/rizinorg/rizin/tree/dev/librz/include/rz_...
It’s easier to evolve a schema to be strictly normalized when you have only a few (<1000) SQL databases running in an environment you control, especially if you also control the deployment of code that talks to those databases. In that kind of setting you can easily manage any kind of migration, and you know when a migration is fully rolled out and you can drop backwards compatibility.

In Notion’s SQLite use-case, we have many millions of instances of this schema running on hardware owned by our users, and those users ultimately control when our app updates & runs migrations on those devices. If I commit a new migration today, it’ll start rolling out tomorrow, but it will take weeks to saturate the install base of our app, and we can never be 100% sure all existing clients have upgraded.

Having JSON catch-all columns means we can evolve our API data types in parallel with that slow SQL schema rollout, instead of needing a strict order of “migrate first, then start writing” for any new bit of data we want to render & cache on the client.
Extended periods of time in a supine position can lead to a number of health problems including venous stasis, pressure ulcers, and respiratory difficulties. The position of the keyboard and screen can put strain on the neck and shoulders. And let's not get started about sleep problems that are just waiting if you do this.

Even hospitals require patients to be up and moving around, even if they are bedridden. In addition to the issues above, t helps the patient to stay mentally alert and to avoid depression and it helps the patient to build up their strength so that they can eventually be discharged from the hospital. If a patient is unable to move around, say hello to our little friend heparin, prevent venous stasis. If doctors feel this strongly about getting up and moving, even when you can barely do so, imagine how they feel about people who choose to do this for any other reason.
It's chalky, which I suppose is what you'd expect by adding calcium, but I don't want chalky orange juice.
I would, on the other hand, NOT assume that, since I have not seen enough data to support such a bold assumption
You mean the instance where he did have a verbal agreement with an able buyer? A buyer who admitted to such in private text messages that came to light in court proceedings, and who later bought a different electric car startup?
I've written more detailed posts here:

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

Accounting tricks, basically. They say you have BTC in your account when in fact your deposit is tied up in investments, loans.
I don't get why you're getting down voted. This seems like a well balanced approach. I feel like so many programmers these days focus on "pretty" code and not readable code. Hidden complexity is hidden complexity. RAII hides complexity, and it is not like a function call as another user tried to say.

RAII implicitly happens at the end of an object's lifetime. In other words, there is no code that shows where or if this happens. Unless you look at the documentation or the code for the object you're using and manually check and see if it actually has a non default destructor. Whereas you can see exactly where a function is called and then inspect the details if you want.

I don't get why programmers so vehemently oppose a mix of good ideas. Why does everything _have_ to be RAII? Or everything _has_ to be OOP? I think we're finally making strides away from this mentality, but more people need to be thinking about the benefits of mixing several different styles. There are pros and cons to RAII and there are pros and cons to defer.

There is no silver bullet. I hope people quit pretending that there is a silver bullet. And instead embrace the good ideas that come out of different styles of coding instead of shoehorning everything into the patterns that we're already used to.
That's why Twitter will be made to provide better information to Musk as this goes along. There are many ways of determining if some account is a bot for sure, Twitter likely tracks all kinds of standard things like mouse position in the window, scrolling behavior, etc. which could easily discern a bot from a human. He's clearly not falling for the 5% number, and he shouldn't. 90% sounds low.
Ye. I mean just cutting out Forex middleman is beneficial.

It would be interesting to know the "real" rate to get the scope of the currency control.
And yet there isn't a single vendor that's succeeded in bringing a solution to market. Why's that? Nobody likes paying Visa and MC fees. If it works, it should be a slam dunk.
Also, if they want a faster Ruby why not invest in Crystal? https://crystal-lang.org/