skysight-inc/HackerNews huggingface dataset:
>building a truly local-first anything is significantly more complicated than the alternative of "always online"

Wow. That is so incredibly wrong. People have been building local-first software twice as long as the internet has even been publicly accessible at all.

The tools to build local native apps, the UI for them, and the libraries that they can use, are all still decades ahead of the web-first tools.

I say this as someone who has spent the last 15 years building web apps. We haven't even reached parity with 1995-era desktop apps yet. We're only barely beginning to approach that level of usability and functionality now. And with radically more complexity to do so. (And worse performance.)

Building native desktop software without having any dependence on being online all the time and dependence on having high bandwidth and dependence on a good signal is worlds simpler than developing software that depends on all that extra stuff. All that stuff that is out of your control.
Everything in java is a class, not sure what you mean.

Personally, it's nice from an operations perspective. Makes debugging performance problems a lot easier.
There's a difference between having a net worth of a million dollars, ten million dollars and a hundred million dollars. There's also a world of a difference between having a million dollars and making millions of dollars every year.

If you own your house, you can easily be a "millionaire" based on the total cost of ownership but that doesn't mean you have anywhere near the disposable income or institutional power as an exec making upwards of 5 million dollars per year.
Just to play the devil's advocate here, you can argue that ChatGPT is not really intelligent. It is one hugely complex probability distribution, true, but importantly, a static one. Human intelligence stretches the similar distribution into the temporal dimension as our brain processing data influences the shape of the distribution real-time. In this manner, human brains are not Chinese Rooms due to their continuous online learning, but ChatGPT is, since the weights could be written to stone and the output would not be any different.
How to Use Export in Dart to Seamlessly Migrate Classes
Just when you thought you knew everything about Dart's import and export, this blog brings a different use case to use export in Dart.
Meh, looks like just another contrived configuration DSL to me. Doesn’t seem particularly innovative. Maybe needs some more complicated examples, but I bet 99% of the rules people will write look basically like the examples in the article.

Seems like a missed opportunity to invest in, say, OPA or something in the community to me. Probably was some dude’s L7 promo project in AWS.
Just like there are different C compilers there are different JDK/JREs.
> and you should use those instead of just a sequentially consistent atomic.

Ehhh... sometimes the best solution to the "bank account parallelism" problem is just:

atomic_int bobs_bank_account_balance;

// Thread#1
bobs_bank_account_balance += 100; // Depositing $100 in a sequentially consistent way.

// In Thread#2
bobs_bank_account_balance -= 100; // Withdrawing $100 in a sequentially consistent way.

No reason to bring in acquire vs release barriers or anything more complex. Just... atomically add and atomically subtract as needed. Not all cases are this simple, but many cases are. So you might as well try this and see if it is good enough.

If not, then yeah, you move onto more complex paradigms. But always try the dumb and simple solutions first, before trying the harder stuff.

----------

This case is super common, that its even optimized in GPU programming. I've seen atomics like this become optimized into a prefix-sum routine by the compiler.

Yes, this means you can have thousands of GPU-threads / shaders performing atomic adds / subtracts in GPU-space, and the atomic will be surprisingly efficient.

The problem is that this paradigm doesn't always work. It takes skill to know when paradigms fail or succeed, and its sometimes very subtle. (That's why I say: try this, but... speak with an expert when doing so). There might be a subtle race condition. But in the cases where this works, absolutely program in this way.
Wouldn't you just have a process per core and avoid context switches that way? Or does it require a process pool with more processes than that because everything is I/O bound?
I started a webring back in 2020, the official announcement to the world was actually here on HN (the only announcement I ever made) https://news.ycombinator.com/item?id=23549471

It's around 250 sites now, and I enjoy visiting a few interesting submissions every once in a while, I usually get at least one or two submissions per week, and it's always great fun interacting with the people who chose to submit their site.

brisray.com is actually site number 243 on my ring :D

The neocities community is going strong.
Is this any different than a layer of syntactic sugar over IAM policies?
Then it's "old Java", not "modern java" ?
Well, from the linked post it seems like you’re paying $12 and you’re still the product. (There is no mention of reduced ads, for example.)

(Though the truth has always been that you’re part customer, part product, of course.)
Some background on the zine's creator:

https://wikipedia.org/wiki/Ninjalicious

https://www.thestar.com/amp/life/2015/08/20/torontos-ninjali...
>the recent work on task-based models, you'll see that you can have literally sequential programs that parallelize automatically

Can you provide some details please? I am not quite clear what you mean.
> "Get direct access to customer support"

They have customer support??? :D

But seriously. What's the value add here? Perhaps it's for influencers who post a lot? For me as a user who only follows there's no point then. I don't use FB anymore anyway, only insta.

I'd pay for social media IF AND ONLY IF they do the following:

- Not datamine me for tracking

- Don't show ads

- Don't use algorithms to control my feed - just let me follow who I want and show everything they post and add zero 'suggested' content

However this is not going to happen of course. They're still going to monetize. So there's no point.
Better than the spam I get, which is either foreign people asking when they can receive their free gift, or people saying positive but completely nonsensical stuff.
Isn't it rate limited?
CSS Tricks was mostly defined by Chris. When he sold it off to Digital Ocean and left, there was a noticeable change in quality. I'm surprised they didn't either shelve it soon after or turn it into a pure marketing vehicle.
I can't, but I've seen it, and have a pet theory that it's encrypted communication. You can't identify the recipient. There may be some communication network running on blogs with weak spam protection.
I see a clear difference between what he does and Shakespeare. People like MrBeast focus on exploiting the human brain simply to get more views with thumbnail design or keep you watching with sophisticated editing. Moreover they focus on exploiting the algos on these sites. In fact they specialise on everything but true and valuable content.
One Docker compose file and ...

Most PaaS type offerings for Web dev separate state and code. I can destroy and redeploy a whole cluster in two commands
Advanced JavaScript Functions to Improve Code Quality
It seems this article is biased towards examples of people considered “positively exceptional”. That could be a bit dangerous.

It would be interesting to also look at biographies of “negatively exceptional” people (mass murders etc.)

If those two groups have things in common in their biographies, some caution would probably be warranted.
I love how all use cases for this is to simply run some command as a user without write permission to anything.

We evolved sysadmin oposing thumbs called virtual machines just to deal with our environment making it cheaper to emulate an entire other computer instead of dealing with having a user without write access, guaranteed, on the FS.
An executive for the Coca Cola company or Marlboro will be paid more than the Mexican line cook as well but they are also actively more destructive. Salary is more of a proxy for impact, less so for value.
Your txt site are really similar to mine: https://wiki.chungn.com/

I found it's really nice to store those text data in txt files instead of a database.
> Assuming 2.5W for a RPi, it takes 1.8kWh a month, costing around $0.25 for electricity.

Note that it's virtually free in winter (or cheaper if you have a heat pump or only heat during off-peak hours) as the energy used by the RPi is that much energy not consumed by heaters
It’s not always easy, things can get confusing when you start sending messages to yourself
I have a similar experience where I live. Taking a scooter only saved me a dollar or two on my trips over a ride share. It even took me longer to scoot over rather than what the ride share would typically take too, so it’s just really not worth it.

Also so many horrendous riders when I’m cycling in the road.
That's odd. HN usually translates a submission with a duplicate url into a vote for the original submission.
millions of John Smith all paying $11.99/month
How to Use the Room Persistence Library with Kotlin Flow
The OED is far from a cherry pick - it's been the dictionary of English longer than any other.

You have the air of that fundamentalist branch that forked off in central north america to worship a prescriptive Elements of (Our) Style by Stunk & Whine.
Its unlikely, but this reminds of this story [1], where hackers used public posts on Twitter to send commands to a botnet.

Kind of genius, as it doesn't matter what the user is, and becomes impossible to track or prevent messages being relayed to some botnet somewhere.

These could be encrypted messages like that... Or it could just be a glitch in a spam bot...

[1] https://www.darkreading.com/endpoint/tool-controls-botnet-wi...
I'm pretty sure the purpose of the essay is to find child rearing ideas making the childhoods of negatively exceptional people irrelevant.
They should fleece the celebs better. Verified celeb (you are the real Tom Cruise not just share his name) pays $10k/m. That would still only be $200m though. Barely a seed round.
I have much doubt that bot could deploy a code capable of executing on this vintage CPU architecture - security through obsolescence.
It would when you manage an IDE that’s updated at least quarterly with it
Some server will still be idle and you'll pay for it. Dedicated hardware utilized close to 100% will be massively cheaper than IaaS.
For me personally, it would be much more useful if I could play with the policies interactively - issue requests with some tagging (a special access key maybe?) and see what permissions they need, what context they have and which of them are allowed/denied by the policies. And what if I edit this part, would it affect the recorded requests?

At the moment, it usually takes me several iterations to tune the policy.
On the main subject of URL shortening services, I think they work well especially if you set up your own. Although mass-marketed URL shortening services like bitly and tinyurl have also been abused by bad actors I still think they are good services to you use both as end/customer user and start/creator(?) user.

On the secondary subject of broken URLs and historical archiving in a sense, I think there is no issue as is. I type this because I think it many cases archiving information on the internet for the sake of strictly keeping historical data and such is a feat in itself that I have yet to see anyone competent and prolific enough to do it, if anything I would advocate for anyone and everyone as an active internet user to partake their own individual archiving of what is worth keeping. Simply put, it is and continues to be a free for all in that sense. I do commend and am a fan of what archive.org and the archive team (two separate entities) are doing but I also don't rely on them wholly. I have my own small setup. On that subject, I'm curious if anyone else here has?
Well, that's off-chain and requires trust. So it's arguably not bitcoin.

(It requires trust, because how do you prevent double spending attacks? Someone can just print out the same paper wallet twice.

You need to move the funds to an address you control to be sure.)
My family has taken up Snapchat for its place. You got stories and family group chats where people send images that expire in 24 hours.

No ads between posts, no "you might like" between posts, no "smart feeds" that ruin the order of posts. Works pretty well overall.
> So they can't [..]

Umm, having seen what happened over the last three years, and (looking further back) what happened after 9/11, my working hypothesis is that if our elected representatives are placed under enough pressure, then if enough of them act in concert they can rewrite any rules they want to.
Self-hosting is weird. I hear a lot of people say it's so much work, but I put like an hour a month into my server at most. I think it's mostly fine from an administrative standpoint, as mentioned elsewhere, not much has actually changed from 2003. You definitely don't need kubernetes. If anything, I think most of what's changed since then is that there's been a flood of bad sysadmin advice making people believe they need cluster management stuff on a single computer. Cattle is plural. What you've got is a pet. Love it and it will love you back.

I host a lot of weird crap on my living room server including a publicly available Internet search engine, and server administration wise it's not a lot of work at all. The search engine requires a fair deal of babysitting, but that's on me for building shitty admin tools.

It's also great to have a beefy always-on computer to run compute jobs flooring all cores of the CPU for 200 hours on and not have to worry about bills later. Like I can't recommend this enough. There's so many cool projects gated behind taking more than a few hours to process.

What does give me a hassle is hosting stuff I didn't build myself though. Like gitea. Got a bunch of bots signing up creating spam profiles. I think as a rule I'd recommend against hosting anything that offers comments or sign ups. Cloudflare helps, but only just.
Try running the input on CyberChef [0]

[0] https://cyberchef.org/
He forgets about violence and control.
China’s FAST telescope reveals unprecedented details of Milky Way (2022)
Shakespeare focuses on exploiting the human brain simply to get more people in to see his plays, by playing on people's emotions, giving them empty feelings not connected to the real world, writing stories whose sole purpose is to keep people engaged until the end to find out what happened, etc.

What's the principled difference except that you like one and don't like the other? Or that society considers one "valuable" and the other less so?

Do I think MrBeast is doing anything as deep and rich as Shakespeare? No, I don't. But I don't think I get to make that choice for other people. I love reading fantasy novels and think they are often every bit as deep as Shakespeare, sometimes more so. Many people in the world look down on that and think they're not as valuable as "real literature". Luckily, I get to decide what's good and what isn't, what's valuable and what isn't.
Chris built it. Geoff was the chief editor and had been with CSS Tricks for half its lifetime (i.e. seven years) when Chris sold it to Digital Ocean and left. Pretending he was just "an employee" is seriously underselling what this layoff means.

Yes, Chris leaving caused more damage to CSS Tricks than Geoff being laid off. But Geoff being laid off is the killing blow to what CSS Tricks used to be. I'm not the first person to say this: https://zellwk.com/blog/spirit-of-css-tricks/
Non-paywall link:

https://archive.is/5u8co
The first thing I do when refactoring spaghetti messes is to remove all useless and counter-productive functions and abstractions, so I can actually get one single, huge function containing all the process.

Only from there it becomes possible to have the broad view, reorganize and (re-)factorize the code again properly.

So if I had to choose between both, I'd take the 5000 lines function any time, since it makes my job easier.
Gain access to other more sensitive machines via your LAN I guess.
It feels like a reskinned Aliexpress, with the pop-up rewards spinner and all. Am I missing something?
Show HN: ProtoCURL, a curl for Protobuf
Okay, give me the steps to reproduce it.

What did you do, what did you get wrong, and why did it need "cleaned up"?
Huh? This feels like a response from a chatbot. I just did cite several data points. This whole thread is about a specific data point that backs up the claim that society is overall hostile to men.
Impersonation or creating fake personas has always been possible. In the security community these are called "sockpuppets". It's just less work now.
Sending emails is hard because of the blocklists, but receiving (and storing) is easy. You can self-host the latter and delegate the former to a company specialized in it.

> Not matter your setup at home, you will never create something as resilient as the major cloud datacenters

That's true for hardware failures, but there are weekly stories on HN about major cloud providers randomly deleting people's accounts; so you need to setup off-site backups yourself either way.
Using unsafe rust to try and write "rust without safety" doesn't work particularly well IMHO. Arguably that's a feature, unsafe rust is meant for implementing things that you couldn't implement in safe rust, not meant for just wholesale avoiding the borrow checker and going on with your life.

The biggest thing that is missing is a `->` operator (or the safe-rust solution of auto dereferencing with `.`, which is disabled for raw ptrs). Having to write (*foo).bar all over the place is not a good experience.

The second biggest thing that is missing is a footgun. Auto casting integer types all over the place. To different integer types. To offsets for pointers. Etc.

Disclaimer: It's been a few years since I really dug into the unsafe side of the language, maybe things have "improved"?
Ask HN: When you create an MVP, do you code the entire back end?
I hear a lot of people saying "I created an MVP in a week". I am a rather inexperienced and backend engineer, but i'm wondering if, for those of you who have done it, if you create your backend from zero, or do you use some tools that speed things up? If so, what do you use?

Specifically, I am working in Node.
> think of it more as science than as a luxury pass time but you're welcome to your opinion

There may be a niche for an open-source error-correcting model. These birds’ orbits are known and can be filtered from public databases. If you’re tracking meteors, you’re collecting enough data to project those orbits onto your field of vision and thus remove them as false positives.

For the luxury of taking beautiful photos, I unfortunately have nothing. (Though again, I find their paths pretty.) For the other, there are workarounds.
Could you send me an email please? I read your comments here on GPT-3 and I’d like to ask you a few things privately, if at all possible. Thanks
> if you wanted a modern equivalent you could just buy a Raptor POWER9

I admit I didn’t even know you could just buy a mobo with CPUs and pretty much build it like any regular PC https://www.raptorcs.com/content/TL2B02/intro.html

And you can, more or less, use you PCI GPU too https://wiki.raptorcs.com/wiki/POWER9_Hardware_Compatibility...

There is a prebuilt version too https://www.raptorcs.com/content/TL2WK2/intro.html

On the other hand what’s the use case of a POWER9 desktop system? I’ve only heard about them in supercomputers and mainframes but why would anyone use one as a, daily, desktop PC?
I'm guessing you already know, but just in case (and for any others reading)...

There was an arcade system based on the Dreamcast hardware called the Atomiswave. Instead of GDROMs, it used solid state storage.

Many (20+) of the Atomiswave games have now been converted to the Dreamcast and work great on the MODE etc.

https://www.retrorgb.com/dreamcast-atomiswave-ports.html
Merge conflicts that must be resolved by the user (i.e. when there is no logical way to determine the priority of two offline changes) are still an application specific problem, even with CRDTs. You can build structures that allow storing conflict resolutions in CRDTs, but getting them right is still like half the problem to solve.
So in common parlance finite state automata are Turing complete? That definition doesn't make any sense.
> I thought "modern Java" means classless ?

Nope.

> Why do i need to put some code inside another superficial class here ?

Which class is the superficial class?
I found a recent blog post on what seems to be the same phenomena: https://perishablepress.com/block-random-string-comment-spam...

They didn’t find a motive though for the spam.

To me what’s interesting is that the strings are variable length and the emails appear to be real emails rather than randomly generated ones.
> I've often wondered why 'the market' doesn't understand that if garbage men disappeared, my city would look like a hellscape in a week

Maybe it's because "the market" believes you would be a garbage man if there weren't enough garbage men, because the price of garbage men would exceed what you were willing to pay for it.

That one doesn't trouble me as much as this one:

> Or why my cousin whose team keeps an entire county electrified, makes shit pay compared to me.

Now is it so much easier to hire people to electrify a country than to hire nerds to make cool shit?

Maybe so... Some of these big tech companies have massive headcounts and rarely (if ever) make anything cool after the first thing that made them rich. How big is your cousins' team and how many electricians are there in your country?

But one day, everyone will want to be a programmer... what will happen then?
This has nice air of familiarity in relation to RDF (subject-predicate-object) and Datalog. And of course much more concise and readable than IAM JSON or YAML.

permit(
principal == ?principal,
action == Action::"download",
resource in ?resource
) when {
context.mfa == true
};
I really like a lot of the conclusions the article draws -- 1:1 tutoring, Taking Children Seriously, Access to an Exceptional Milieu, etc.

However, I have always thought that the answer to the question "What happened to all the geniuses?" was somewhat obvious -- we ran out of an abundance of low hanging fruit to discover. The 'ease of discovery' for breakthroughs in science and math are on a some sort of a non-linear curve, and they aren't getting easier.
I know exactly what you mean. I can't put my finger on it, but it feels a bit "always been at war with Eurasia".
> DOjS is pronounces like doge, but ending with an "s".

Doge is pronounced Dough + Je(french). I have no idea how you then make an s sound after that without it sounding quite odd!
Least resistance is of no legitimate value by itself. It's a goal only within the bounds of other constraints. The examples are literally countless.
How exactly the murder of Russian people (civilians) by Ukranians is an irrelevant topic?
Looks like a decent improvement on readability of JSON IAM policy and the templating thing is cool.

I’m a bit unclear on why they needed a new DSL to be able to do “automated reasoning” on policy effects though. It doesn’t seem semantically that different from the existing policy docs we all know and love.
How exactly do you *not* have full control of your system? Because typing in a command expressly designed to modify firewall rules... actually modifies firewall rules?
> Erik Hoel, who has written a series of great essays about why we stopped making Einsteins

Have we stopped though? Not to put living people on a pedestal but people like Terence Tao come to mind.
At least it's not YAML