skysight-inc/HackerNews huggingface dataset:
"Defederated" is not something that happens to an instance, it's a choice that other instances make. There's no "globally defederated" state. If your server (Server A) is blocked by Server B, then no, you can't move to Server B. But you can still move to Server C that doesn't block you.
Spend five minutes and watch this. Amazing presentation my Hans Rausling, economist, on rising global property.

https://youtu.be/jbkSRLYSojo
True, perhaps its still yet to reoccur in the future. I also didn't find the "decentralized" alternatives appealing.
Love it except for the fact that for whatever the reason my Google Chromecast Jellyfin client tends to break subtitle synchronization if forwarding or rewinding a movie. After that, there's no way to get them back in sync :/
At the time I signed up for Mastodon and a server, I didn't consider and wasn't presented with any of these questions/answers or other points of differentiation among servers. I guess that's part of the issue: when an ordinary user signs up for Mastodon, they're unaware of what they should even consider when picking a server. As an ordinary Mastodon user myself, I just wanted to get on the platform and start using it.
Show HN: Reproducing TikTok with Django Ninja and React Native
I am about to graduate from university this year, and I had an idea to create a mobile app similar to TikTok but for OnlyFans. Interestingly, the inspiration to replicate TikTok came from an episode of the Acquired Podcast discussing Meituan. It seemed somewhat ironic to copy a Chinese app. I ran out of money to pay rent though, so I’m looking for jobs here in Sydney instead now.
I want to keep working on this project in my spare time and would appreciate any feedback and particularly guidance for how to run an open-source project!
The author suggests using shellcheck in addition to his recommendations.
Hey to all,

We are hosting ETHCC DeFi party!, a private event for web3 investors and founders on July 17th. Maybe you want to join?

Please find more information here: https://lu.ma/34397k22
If you have any questions, please let me know.
I hope to see you there.
Best,
Tomya
True, but if you're looking to hide your money you want two things: 1) low taxes within the country and 2) low transparency as to who owns what in the country.

That's why Switzerland used to be a great place to hide your money decades ago - low taxes and numbered accounts where it was illegal to reveal the true identify of the account holder.

Based on DelaneyM's comment - Caymans has the 1st but not the 2nd.
please don't do this

it obfuscates the control flow, specifically the value that is actually returned

early returns on errors are good, not bad

edit you want

func foo() error {
x, err := bar()
if err != nil {
return fmt.Errorf("bar: %w", err)
}

if err := baz(x); err != nil {
return fmt.Errorf("baz: %w", err)
}

if err := bat(); err != nil {
return fmt.Errorf("bat: %w", err)
}

return nil
}
Until the moment that models have to call other models to get anything done.

The problem is that the models often get too tied with the database implementation. Then, you're separating business logic that doesn't make sense to separate.

The fat model ruins single responsibility because the database table is not a good proxy for one reason to change.
This is good advice. The worst failure mode in one of these receivers is repairing or replacing the transformers. Tubes are easy, if sometimes expensive. But the transformers are frequently specific to a manufacturer or model.

The main way transformers are ruined is bad caps. Otherwise they'll last forever. Wax capacitors from back in the day are hot garbage.

Also, these things can and should be updated to correctly ground the chassis, add fuse(s) and have a polarized power cord with sane insulation, as opposed to cloth.
This seems like a distinction without a difference. In reality, in code, I'm still doing something like `if (!result.failed) { do the thing } else { do the other thing }`

Like...this makes no difference to my ergonomics at all. In many cases it's arguably worse because now 1 token is potentially representing two very different types I want to deal with.

The primary benefit to me seems like it's more to do with the ease of generic code handling: everything can be Results, and then I can evaluate them all to see if any of them are errors, which in turn makes failing out of many different operations easier - I'm not handling a file type, a string, some numbers etc.
Right, but the issue is you can't "just" offer AVX-512 with a 256-bit vector length. You have to also offer the 512-bit options too, which has costs that your processor vendor may not be willing to pay. So you end up only getting AVX2 support.
So your concern is not freedom of speech, it's that the speech is being regulated in a way you don't want?
A reminder to everyone that corners cut included having a control lever, which if pulled during re-entry, would immediately cause destruction of the craft, and for which there were no interlocks. That lever was pulled by the pilot and did indeed almost immediately cause the destruction of the ship.

Also, when Branson was aboard, they had a failure during launch that put them off-course and violated their flight plan (yes, they had a flight plan, and yes, this matters - the route is kept clear of everyone else.) They should have aborted the launch, but the Big Guy was on board, so full speed ahead.

https://www.newyorker.com/news/news-desk/the-red-warning-lig...

The billionaire version of "I turn now, good luck everybody else!"

The FAA initially banned VG from further flights and then once the news cycle had moved on - less than a month later - quietly "cleared" VG.
https://gist.github.com/christianselig/449b0bd374167ff7335fa...

https://www.reddit.com/r/apolloapp/comments/14dkqrw/i_want_t...

I honestly can't be bothered to answer any of your claims. You obviously don't read links attached to comments. So read this, or just ignore it. Your choice.
LCD TVs won’t see any further development
I added something like this to TXR Lisp in 2015.

with-objects binds variables to objects, like let. When it terminates, the GC finalizers of the objects (if they have any) are invoked.

1> (with-objects ((x [finalize (list 1 2 3)
(lambda (obj)
(format t "bye-bye ~s\n" obj))]))
(format t "inside with-objects: x is ~s\n" x))
inside with-objects: x is (1 2 3)
bye-bye (1 2 3)

Mainly this is meant to be used with OOP structs, where you can declare finalizers.

1> (defstruct widget ()
(:fini (me) (put-line `@me's finalizer`)))
#<struct-type widget>
2> (with-objects ((w (new widget)))
(put-line `have @w`))
have #S(widget)
#S(widget)'s finalizer
t

It provides a kind of RAII that can be useful from time to time.
And an energy crisis.
For the love of all that is good in the world, this is a solved problem, I don't understand why languages like Go, Kotlin, Python etc etc etc continue to insist on not having sane Option, Either, Try etc types.
I don't see "We sometimes do some ad hoc checks including looking for stuff with code search" as "similarly useful" to using proper test automation at all.

And I think the results continue to speak for themselves.
I'm concerned that this is going to make it much more profitable to clear forest land in wetter areas.

Speaking as a Minnesotan, this is probably pretty fucking good for alfalfa prices, not so good for marginal wetlands.
And for both email and the Fediverse, there's an ideal answer that requires only marginally more work: have your own domain. In both cases, you don't have to host a server yourself, you can pay for email hosting and use your own domain. For email, services like Fastmail let you bring your own domain. For the Fediverse, https://togethr.party/ works well.
Could someone smarter than me explain why we can’t use a Bittorrent-like protocol to achieve this effect with federated servers?
It works until one of them stops caring. I could imagine that, if a town is dying, it would be very difficult for them to justify spending resources related to nature conservation, and would then again require the conservation foundation to step in and provide resources.
I was disagreeing with your quibble in your agreement :-)
Masked instructions vs subsequent merging are both branchless and have no implicit data-dependent timing relative to each other.
Ask HN: What is the simplest Stripe payments link demo?
I have seen that the stripe dashboard has no-code and low-code options, but it is not clear how this looks in a next js/react application. The logic is i am logging into a web app, i want to use a stripe link to route on login and then re-route to a protected page after subscription. I cant find a direct guide or example of this with as minimum code as possible. I dont want to use Lemonsqueezy, because it charges extra, and i want to use the same template in the future, its better to figure it out now.
I spot some Clojure code in the promo video!
the idea that error handling "pollutes" code is a misunderstanding which go addresses

the "sad path" of error handling is equally as important as the "happy path"
This is helpful! Thanks. Sometimes I come off intense, it's just an authentic invitation to spar.
A big problem is that you don't actually see content on other instances. Also, you can't link accounts between instances (EDIT: you can post and subscribe to communities on other instances, but it's not obvious. You can't link 2 accounts on separate instances though)

There are several rust instances: https://lemmy.ml/c/rust, https://programming.dev/c/rust, https://lemmyrs.org/, and probably more. Why aren't they linked together, so that you see posts from one instance in another and can post and comment in one instance from an account on another? (I get there is e.g. https://lemmyrs.org/c/rust@lemmy.ml, but you should see and make posts from https://lemmy.ml/c/rust on the page https://lemmyrs.org, not a specific subpath).

Even better, why can't Rust lemmy link with rust kbin (https://kbin.social/m/rust) link with Rust discourse (https://users.rust-lang.org/) link with Rust Zulip (https://forge.rust-lang.org/platforms/zulip.html), so you can see and make posts on all instances from one?

This is what I initially thought the Fediverse was like. Right now it honestly just seems like many people running completely different servers and communities using the same software.

(This could even help with the decentralization aspect, because ideally the content and accounts would be replicated. So if one instance goes down, its content is still on connected instances, and possibily "ghost accounts" from that instance which let users there continue to post).
All that solves is changing the merging instruction from a masked merge to a maskless OR.
Agree. I also don't like Facebook, but if they contribute something good, great. If they don't, and they're somehow harming the system... well this time there's a solution <-- that's the cool part.
Yes, the requirement that static constructors are used makes this substantially less ergonomic than it would otherwise be for the reasons you point out.

Some of the React hooks in Isograph use this pattern, and as a result the constructor returns an instance in an invalid state: https://github.com/isographlabs/isograph/blob/1a8182355ac9d1...

I'm of the opinion that this is a paper cut worth stomaching in favor of the addition of an idiom that provides genuine safety. The type for the class and the static conductor (ie a free function) could be exposed, but the class itself could be hidden.
fmt.Printf failures are un-actionable, so there's no reason to handle them
At this point I think the only thing that will stop SEO-spam articles is an AI good enough to read with a human-like critical mind that can detect bullshit (or, at least skim the 100 similar articles to get the one useful fact they all repeat).

It makes me wonder about the future of the content producers though since that AI is not looking at ads.
>sealed from the outside
>no location beacon

Wtf is anyone thinking getting in this thing?
I write lots of scripts that need to work on both Linux and MacOS. Although both are POSIX, filenames in MacOS are case-insensitive and often contain spaces. This stuff plays havoc with bash scripts written by naive Linux programmers. Following TFA's recommendations ensures that your scripts will work on both.*

* well, except for the fact that MacOS defaults to zsh now.
Federation doesn't mean anything like that per se, you're talking detail of a particular implementation (I assume Mastodon but what do I know).

Federation just means multiple independent servers/domains can talk to each other, such as with email or Matrix, without the need for central authority (other than for discovering each other).
I wonder, why nobody mentioned vimwiki. It has diary functionality (available via <leader>w<leader>w by default) that will create dated files.
The CEO was in the vessel and probably would not have put his skin in the game if he didn't believe the vessel was safe.
Classic history lesson is mensa musa, who was so wealthy (at least in terms of gold), wherever he travelled inflation followed in his wake.

That said, I’m not sure there is much literature on the negative economic side of tourism, or work tourism specifically. My suspicion, is that while it tends to create inflationary pressure, it still increases local wealth generally, and rarely are there very extreme negative situations (like locals who live in regions that can grow quinoa that can no longer afford it resulting in serious nutrition issues).
Perhaps Mastodon is just too immature at this stage for the servers to really differentiate themselves from each other. However, as the number of users and posts on Mastodon grows, will any server actually be capable of adequate moderation? Twitter has ~6,000 tweets per second—it's hard to imagine any Mastodon server today being able to handle even a fraction of that content.
I had a lot of fun with these! Only complaint is that in section 4 the deliverable becomes increasingly vague.

Edit: also, a surprising observation about it: the challenges fall into two categories: A) implement this off-the-shelf standard (for encryption, hashing, whatever), and B) with these hints, come up with a clever way to break this cryptosystem.

Unexpectedly, I found the A)s harder, because the existing explanations of the standards I found online were really bad, or the libraries were hard to work with. By contrast, the clever attacks were easy!
Funny that if you want AVX-512 now, it's AMD that's offering it and Intel that isn't.

Sometimes the second comer to a game has the advantage of taking their time to implement something, with fewer compromises and a better overall fit.
I’m finding I can do pretty much everything between systemd-networkd and firewalld. The addition of policies that allow specifying ingress and egress zones was the last piece to make firewalld really useful on a router.
So update that regulation to a version that assumes competition. Force power companies to deliver power to a percentage of the unprofitable customers roughly proportionate to their total market share of the profitable customers. Could also force the encumbant to rent unprofitable customers at their cost to upstarts to make it easier for them, sort of like carbon credits.
Likely https://news.ycombinator.com/item?id=36394569
Apply HN: A List of Interesting Opportunities
Is there a list like Jobs HN but for rare, and interesting opportunities. They might not be jobs, they might be bounties, joining a new lab, writing for a company, advising a startup, writing research , short-term hiring, unusual job posts, academia, fellowships etc
these were a ton of fun.

highly recommend them
I haven't looked into the code for these but are they possibly pipelining multiple ops per clock? If it's not dependency chained they probably calculate a few cycles at once.
People are perfectly happy to accept some risk. However you can’t expect normal people to take on extreme risk and expect a profitable long term business.

If the actual risk are close to BASE jumping then you’ve failed.
> I think some...socially acceptable guise for just wanting to hate rich people.

Yes, some. But my feel is that if a similar number of even-richer people had (say) died in the crash of a luxury helicopter ferrying them to Everest Base Camp, then the negative reaction would have been far less notable.
Those who have the means to keep trying.
Weird, because in most markets it's the exact opposite. Also, you can see how the free market handles utilities in Texas. That's worked swimmingly well the last couple of years.

But in reality, public utilities should be owned by the gov't. Otherwise... Enron. Or the aforementioned Texas "free market" debacle.
The issue is the well known strategy of embrace, extend, extinguish.

Facebook+Google and XMPP/Jabber had this happen already. A big company comes around to embrace a new technology. They then call it Google Hangouts with a few changes. then they extinguish support of the original, leaving the original community crippled and everyone locked into Google.

Discord too, with IRC support early on was embraced. Then extended to include new features users wanted, and then IRC support was extinguished, and the old IRC networks were worse off because of it.

I dunno the solution to embrace-extend-extinguish, but I'm kinda fine with free-software developers and administrators on recognizing the pattern and trying to do something about it. I'm not sure... what... exactly should be done. But we all know that Meta/Facebook is just using the platform to seed their competitor and will extinguish support (either through success: when they supplanted the original. Or through failure: when they don't grow as fast as expected they'll cut out).

Either way, its not in the long-term interest of any platform to actually support Facebook or other such large companies.
Ok, now let's tackle a slightly tricker UI.

Let's assume someone hasn't used Blender before.

"Draw me a realistic looking doughnut, with a shiny top and pink sprinkles"

Vs.

2 hour video tutorial to tell you what do 50 or so individual steps using the 2nd paradigm UI. Then clicking all the buttons.

-- Admittedly, the AI approach robs you of understanding of how the sausage (sorry doughnut) is made.

Rebuttal: Doughnut macro

Rebuttal Rebuttal: AI can construct things where a macro doesn't yet exist.
I wonder if end-user apps will eventually solve this.

Conceptually, rather than server admins choosing what's federated, users will have several/many accounts and they will choose what they want, and under the hood that will be enabled VIA whichever server/account they have accesses that community.
Game console emulators are of course specifically tuned for this.
Hi, I wrote this post, and yes, you're right that IPs would be disclosed, because it is necessary to learn a remote peer's IP before you can make a TCP connection to them. Whether or not this is "secure" depends on who you're trying to be secure against. If you're sharing Linux ISOs, you really don't care who sees you do it; if you're sharing pirated movies, you just care that Disney doesn't find out it was you, so you can use a VPN; if you're sharing government secrets, you might have a more rigorous threat model.

For users in extreme circumstances, Tor gets them a lot, but it also adds a lot of overhead; you'd want to avoid it if you don't need it, not just for your own sake but also for the sake of Tor's finite bandwidth. There is a lot to be said for having a feature like Tor be supported-but-optional, opt-in, and interoperable with users who are not on Tor.

I did consider the idea of allowing Tor hidden service addresses as an alternative identifier to IPs, though that idea comes with its own compromises: you'd only be able to talk to other Tor peers, for instance, or, alternately, every peer would have to be on Tor.

The latter case is obviously a non-option. The former case would kind of work, but the Tor-hidden-service peers' effective network size would be much smaller (since they can only talk to Tor peers) and thus easier to compromise. This is obviously bad - users in need of greater security would end up in a less secure version of the network - and if this subsection gets owned, that could have a second-order impact on the network's overall resilience.
A more recent attempt at a DHT by the Holochain team: https://developer.holochain.org/concepts/4_dht/
Do you know a good source to get started? I am curious about the technology but never have had the time to actually get started.
"The internets own boy" is a decent documentary if you want to learn a bit about Aaron.

YT Link: https://www.youtube.com/watch?v=9vz06QO3UkQ

Thanks OP for posting this aaronsw.com link.
Sounds like we're living through the early stages of Will McIntosh's Soft Apocalypse.

>“Gradual” is the key here: Soft Apocalypse shows normal people clinging to the shreds of life as they knew it, while things slowly go from bad to worse. Many still hope that the economy will pick up and life will go back to what it used to be. Even though the streets are filled with homeless people and unemployment stands at 40%, others can still drive a car to work. [1].

1. https://www.tor.com/2011/04/13/the-gradual-collapse-of-a-soc...
Right now they all have the same stilted and formal communication style. Also they go way out of their way to avoid saying anything that might prompt disagreement. They just mollify you with bland statements. No doubt that is because they were specifically trained that way. What they sound like is a corporate press release. Or the boss when they get the team together to tell you that there are going to be organizational changes. The kind of speech designed to minimize the attack surface for criticism. Like you’re talking to the voice of a corporation that wants you stop asking so many questions.

Like I said, they’re trained to be that way, and unless the nature of corporate America changes, I think it will stay that way. No human in ordinary speech would be so careful to avoid telling you what they really think.
Talk to any homeless person in a tent city in the US and they will confirm most if not all of them are heavy drug abusers.

To solve the homelessness problem we first need to help these folks recover their health.

A drug addict with a house will still be a drug addict, the only difference is we won't see their struggle on the streets.

Seriously, if you have ever dealt with addiction you know when you are sick you can't even do the dishes or wash yourself, so how are these guys, just by getting a home, going to manage to get sober, find a job, pay the bills and eventually be able to support themselves and move out so that the next person in need can use the place?

Unfortunately the answer is very unpopular and controversial.

A drug addict will never voluntarily quit drugs and check themselves into rehab then follow a long, difficult treatment to get sober.

Addiction is an awful, depressing, humiliating and painful disease with momentary lapses of reason where many times you just want to put it all to rest with an overdose.

The most frustrating part is the resources are there, we can build SoTA facilities and run the programs and treatment plans these guys need, even customize them if necessary.

But again, we will somehow need to bring them in, most likely by force, and that's the part many in this country can't even consider for debate.