skysight-inc/HackerNews huggingface dataset:
I started my career with Rails, then some frontend, and now work a full-time job in Node. Agree with most or all of these points - full-stack javascript is kind of a mess and hasn't really progressed despite individual tools having done so. I think https://sailsjs.com set out to solve a lot of these issues many years ago, by trying to be a JavaScript version of Rails. I'm not sure if they ever reached "feature-parity" though.
Restricting kids from the mobile games is like restricting kids from drinking vodka you have in your bar. Everyone should do it. Those things are not games they are whale seeking mind fucking drugs that no child should have to try and deal with.

Anyway school my kids are in uses older version of the inventor, librarian runs a class with that twice a week both my 8 and 6 year old LOVE IT. Meaning that is their topic of conversation and they remember which days they have it during the week.

Couple days ago 8year olds class had a bring your parent to school day so I did a presentation mentioning a game I hacked with a debugger as an ice breaker. Forget what I actually do for next 20 minutes all I was asked is how to hack Minecraft, how to hack some online game I don't know :o and not get caught. Blew my mind, teacher was looking sideways at me :)

Now I promised to compile a set or resource about modding Minecraft for the class. I am also thinking about setting up a website that kids can mess with using developer tool in the browser(super simple html with hidden "password" etc)
What problems did an enum cause you, and how was the enum responsible for the problem?
Saudi Aramco Looks to Sell $50B Stake in Fresh Share Listing
Argument Screens Off Authority (2007)
tl;dr: DMA + bus float. I'm undecided whether this was a deliberate anti-emulation technique, or a clever trick to sync CPU execution with the DMA position. I remember seeing a similar type of thing in the protection of a very old PC game.
For me, material reality is tied to the notion that the world is consistent and conducive to analytical reasoning, that it functions like a machine. It has components which relate to each other in consistent ways that we can model and understand. The fact that these components are best described by field equations rather than newtonian mechanics is incidental.

The main alternative viewpoint to materialism, dualism, posits some further 'external' influence that acts on the world to account for phenomena we poorly understand like consciousness, and for some people psychic or religious phenomena. I think that's just fuzzy thinking, and I don't even really know what they mean. How can something not 'of the world' interact with the world? Surely 'the world' is everything that can act on or influence each other, right? I'm not sure how else to define it.
I wound up causing a major outage of my services and destroying my home dir
I bought one of these for my kid. He’s not quite old enough for it yet. Key challenge: what software do I put on it?

My main ideas are:

(1) touch typing instruction game

(2) some way to interact with a very controlled group of people… maybe a mastodon or matrix server I run in the homelab and limit to our immediate friends.
That only applies if the bad employees are uniformly distributed amongst all teams in the company. Otherwise it makes more sense to chop the worst 10% teams.
That’s why you hire to fire. Then your shortest tenure employee is the one you know you’ll be terminating and minimal knowledge is lost. The only downside is that it’s disgusting, soulless behaviour.
Take any decent computer and point the browser at scratch.mit.edu. It’s got fun, easy ways for kids to learn programming concepts.

And more importantly (to the kids), it’s got tons of fun content that other kids have made using those tools. This helps spread ideas and inspiration. They can see something cool and then “look inside it” to see how it was built.

Kids want to be doing what other kids today are doing. Hearing “I loved this as a kid” from a parent can doom something right from the start. Kids want their own experiences, especially as they get older. The technologies you have fond memories of were contemporary at the time you enjoyed them. Your kids also want contemporary experiences.

But most importantly, kids are unique, and often different from their parents. They might not like the same things we did as kids, even if we could exactly recreate them.
Ancient weights helped create Europe's first free market over 3000 years ago
https://web.archive.org/web/20220204140224/https://conscious...
But I have no control over the leak part. I have no option to pay more to close the leak. In fact, most consumers don't even know about the leak. So I'm entirely unable to make a choice. It's irrational to expect that anyone would prefer to go vegan over just fixing these leaks.

This problem will remain till we have a proper carbon tax globally.
Feature requests like this is precisely the place when saying "it's open source, just do it yourself" is a valid remark.
I definitely want to run my own bank. But I'm not all people.
Could YouTube automatically omit video stream when the tab is in the background? DOM has visibilitychange/pagehide events.
As amw-zero pointed out though, a user could accidentally create the int type and it would only fail if you have runtime checking (which requires you to build it, either via a custom enum constructor that returns `error` or an `IsValid` function, which then require you to maintain the ValidEnums list).

Int types also don't give you any guards when deserializing.
> you should go vegan

Don't force anybody please. As for moral ethics, those are really different depending on where you come from, your current outlook on life, etc. Ethics are not universal. I'm personally 98% vegetarian due to the lesser ecologic impact. It's also healthier, not killing animals, and has a lot of side-benefits. But don't assume the reason you specifically picked will work for everyone.
As the commenters pointed out, Express.js doesn't try to solve the same problems as Rails. Trying to use one for the other's use case doesn't make any sense.
niche players can’t exist

This is where the world has gone astray. We would be much better off with a thousand three comma companies taking the place of a single four comma company.

Also, niches used to be considered socially acceptable. What has taken all the air out of the room?
Hardware failure is extremely relevant if that hardware is the drive you store your private key on,at which point the wallet is gone forever. One could say "don't do that, have elaborate backup strategies" but that brings us back to UX. Even professionals who should know better tend to be awful at this.
I don't get it, can somebody explain it?
I think the author went too deep into details here, as this crowd is full of people who are going to be able to rip pieces of this article to shreds. But doing so both misses the larger point and in the process proves it - Rails gave them a set of answers that are good enough so they don't need to delve deeper and can just focus on their app.

Rails is not the only choice that does so. And people with broader skill sets can assemble their own solutions and might not want that anyway. But this author just wanted to pick a platform and move on, and yep, Rails works for that.
While the problem wasn’t unique, the hostile takeover of the project was. The honorable and legal course of action would be to fork.

The owner had built the distro single-handed over ten years, and GitHub and Freenode helped to eject him from his own project, over his eventual strenuous objections.

https://www.michaelwashere.net/post/2018-11-28-enobdfl/

Even that link doesn’t give a balanced story. You have to track down the founder’s posts to hear his side and to understand why he had stopped contributing for awhile.
same difference. he's been adamant about just using vision and it doesn't seem to be working out.
Scott's Search
My man, not even the wildest Bitcoin maxi is calling for a world where you are required to buy milk with bitcoin lol. People just want their savings accounts to match inflation. (and the option to spend from that savings account for some transactions).

Give them that and Bitcoin will go back to being a niche investment vehicle where 99% of the people don't care about it.
Nice work! If I recall correctly, I used these when I was studying C in high school.
> Schemes like that are not easily possible with physical assets or fiat currency.

Of course they are. It's called last will and testament.

You can easily set this up, choose a lawyer to hold it and your friends don't even need to know.

If you have substantial assets it's even much safer that way, because using your method you'd actually put them in danger as criminals might pay them a visit one by one whether you're still alive or not. Not to mention the fact that your friends could also just get together and cash out early...
My Top Resources to Grok NFTs
Thanks, yes, I understand the theory of VR. What I'm talking about is the reality of VR. You're like a guy explaining the theory of why 3D movies are better even though most people clearly do not care very much, and many actively don't like it. Data trumps theory.

Immersion is not addiction, sure. But I feel plenty immersed when playing Minecraft. I lose track of the outside world. Or watch the way people move physically when they play an action video game on a screen; if they're into it they will move their heads and bodies to dodge. They'll physically jump back at a surprise or a scare. Immersion happens just fine on 2D screens.

Does Facehugger VR feel immersive? Definitely. Does it it feel more immersive at first? It did for me, although that feeling wore off over time. Does that matter enough to get people to stop using flat screens and game only in VR? Not for me or my family, and that appears to be the general reaction.

I'm going to say one last time that you do not appear to be getting with or grappling with my main points. If all you have is more argumentative nitpicking, this will probably be my last reply, as it looks to me like you're in the grip of the exact problem I'm describing.
I think the author is trying to compare what it takes to create an MVP web-app with all modern features versus creating it in the JS ecosystem.

Also, Rails is well known to have Convention over Configuration. That helps to set up and maintain a project since everybody has to follow the same pattern. The cons is that you lose flexibility from the architecture perspective. But in Rails, you have ways to overcome that easily.

I think Rails lost popularity when the front-end JS framework movement started. Rails didn't have a response to that; people had to create the Rails app, remove the Views and use a JS framework to create the one-page app experience.

Now, if you are already spending that much time using JS for the front-end, why not use JS for the backend? But then things got too complex in the JS due to the lack of conventions.
If a disease is in an animal reservoir you keep away from that animal, it's basic public health. Everybody knows to stay away from raccons, foxes and bats because they carry rabies, and everyone keeps out mice, because mice carry all kinds of disease, including hantavirus and plague. This is basic public health.
But if the vast majority of people want the convenient feature-rich centralised version, why pay for the immense inefficiencies that a decentralised infrastructure incurs?

Just one example: If everyone on earth used Bitcoin, there'd just be enough capacity for everyone to get in around one or two transactions in their lifetime.

Decentralization at the core is a massive waste, while providing almost no benefit except to a very few.
I agree with you in general that you should be learning interesting things. But I also agree with ammmir about the productivity of Go. I think there (or should be) two worlds of programming in everyones life. There is the business side, where you aim for quick (and quality) output and productivity, and for the business sake, you aim for high development trajectory so that others can work to improve your code.

I believe this is why PHP was/is so successful and also why Go is so successful. The documentation is solid, contains real world examples, and the environment is easy to get started in (php example.php, go run main.go). The syntax is also very straight forward and easy to make sense of.

And then theres the other world. The things you do outside of business to educate yourself so if the time comes you are prepared. Learning more complex things like Rust, and how ASM works, and the inner workings of the Linux kernel. This is great to learn on your own, and nice to have in your back pocket in the business world if it's required. But for the sake of business growth I think tinkering with these more complex to learn things should be mostly left at home.

I guess it really depends on what type of business you want to run (small team with great talent or large team of decent devs), but at the end of the day I want the code I read at work to be so simple that it's almost boring to look at.

TL,DR: If you do complex things at work, you'll likely be the one getting calls at midnight about it crashing.
You mean this?

https://crypto.stackexchange.com/questions/42982/safety-of-r...

I personally prefer the SIV modes, but using a sequential nonce within a session is pretty much always better due to birthday attack stuff.

Cryptography does advance over time. When GCM was introduced it was when everyone realized that you must always have authentication and they wanted a faster auth mode than HMAC.

Makes me wonder what new understandings might be coming down the road other than the obvious quantum computing factor. The most recent one I remember is the risk of combining compression with crypto if the attacker can influence anything in the compressed data.
> Now HIV rising up

"for decades"
Well, right, banks generally work as intended. It's just they blow up sometimes. The oldest bank up until the 80's was Baring Brothers and they were so respectable, just so respectable, and then they collapsed by doing fishy things. The worse thing is, conditions can change very rapidly and you may no longer be able to withdraw your money for a few months while the currency is being devalued (like Argentina), or all the banks might start blowing up at the same time (United States, Chile in the 80s), or you might get invaded (will the bank's security save the day?), or the bankers might not be cut out to be bankers (I know a bank with 4-digit passwords).
There are two huge differences in the Japanese internment issue. One, it's more recent and many of the victims are still alive. Two and most important, reparations for direct victims wouldn't be based on race, it would be based on if they were actually in an internment camp. Not all Japanese Americans were placed in these camps, so those who were not would not need reimbursement for what FDR and the Democrat Administration did to them in the 1940's.

That last part is key. CRT makes no difference between abolitionist and slaveowner, it simply judges based on skin color. That is racist.
The Philosopher’s Zombie
mmm, reading the parent comment again. I seems to have miss-understood it...
I agree, and even with the most sophisticated ways of tracking incoming overhead phenomena, worst case they'd still have only a small window of time to hide everything under the bed. And, you know, press the button that makes all the foundations flip to hide the buildings underground and reveal painted images of the desert and huge burning piles of alien corpses.

Also, it's "lose" x2 (sorry, the wrong word makes it hard to read). I'll remove this line if you could fix please.
And as a nice side effect you begin to collect exactly the types of people willing to fire 10% of their workforce every year.
I agree that we should have larger financial incentives/pressure on these companies, but I don't know how good of a solution it is to tax at the emitter like this considering how hard it is to track those leaks still.

The size of the images taken from GHGSAT's satellites could never cover a whole region reliably and they still require a lot of processing to allow for the detection of smaller leaks. I think that would create a situation where companies would underreport those leaks and the government wouldn't have a reliable way to check if they did.

I think it'd be much more efficient to tax consumers in general for the oil they purchase and "let the free market do its thing". The transition or rather, letting the polluters pay their fair share, needs to happen much quicker than what we're seeing today and half-assed measures aren't getting us there anytime soon.
There’s no gaslighting going on here; at worst, one of us misunderstands the paper and obviously I think that’s you.

Read the author describing her work in her own words:

https://www.barrons.com/amp/articles/how-much-the-financial-...

“My analysis imposes the discipline of a fair-value approach, which incorporates the uncertainty about the size of eventual losses at the time assistance was extended and the cost of that risk. By contrast, popular accounts simply add up realized cash flows or tally total risk exposures.”

As we look back, there is no uncertainty. We know what happened. The bailout was successful (within its parameters) and was more than repaid. You don't need to do any counter-factual analysis to show that, you can just go look at the reports to Congress from the Department of the Treasury.

To understand that paper, take an analogy from gambling.

Say I plan to play roulette; I'm the U.S. government, the bet is the bailout. Let's just assume I'm going to bet $1 on red.

I want to understand the cost of the bet at the time I place it; this is the fair value of the wager (bailout). The odds against winning a bet on red with an American roulette wheel are 1 1/9:1 and the payout is 1 to 1 - so the expected (fair) value of the bet is -$0.053. The author attempts to do the same for the bailout, bearing in mind the uncertainties, and comes up with -$500bn.

Now, at the roulette wheel, the expectation that I'm going to lose out $0.053 needs to be balanced against the excitement and pleasure of the wager. In the bailout case, the fair value of the bailout needs to be balanced against the anticipated broader economic results of the intervention like containment of the credit crisis and the shoring up of the mortgage system.

We spin the wheel and it's 32, red. We're lucky and so we win back our stake plus another $1. In the case of the bailout, the intervention was successful, the economy recovered, and the bailout money was more than repaid.

The popular account that the author alludes to corresponds to looking at this bet and saying "betting on red was obviously the right thing to do because I made 200% of my money back and I had fun gambling". The author isn't disputing that the bailout was more than repaid (she stipulates that in the abstract of the paper!), or that the economy rebounded. She is absolutely right that this is the wrong way to look at the expected cost of a bailout in the future.

Fundamentally, from a finance/economics perspective, there is no incompatibility between saying "the fair-value cost of the bailout was $500bn" and "the government made billions of dollars on the bailout". That's because the definition of a cost requires an analysis of the expected return. You do agree with this, right?
See also https://www.buildlog.net/blog/2019/10/ I use Bart's controllers all the time.
There's an element of having shot themselves in the foot. FB moviled from content driven purely by your friends and what they post to content that FB have decided to feed you.

That worked great in a lot of senses. You never run out of content. FB have a lot more options for their optimisation efforts. It also made them more of a general media company.

But... it also devalued the social network/friends aspect. Now it's just about content and holding user attention. Well... that means competition is everything again. Anyone can post anywhere, or consume content anywhere.
What? Banks are already subject to competition from other banks. And a blockchain is inefficient by design, any bank using that would have to charge more, not less.
TBH for me it is the principle than the time savings.

If I have to call and cancel, that is basically a guarantee I will never use you again and will warn everyone to not use you.

If I have to jump through a bunch of screens, I will be mildly upset but will probably forget about it.

I just don't want to support that behavior, so these companies basically being forced to do so on "my" (really apple's but I am making a choice to use them) terms is worth some financial cost to me.

If I had thousands of subscriptions, maybe I would be saying something different. But the yearly additional cost in this theoretical situation is minimal and to me it sends a signal. If I actually was given that choice then the company can see those metrics and hopefully see why.
Go's regexp package even exposes a routine for this: https://pkg.go.dev/regexp#Regexp.LiteralPrefix

It's been a while since I've looked at the source code, but it is almost certainly already doing basic prefix literal optimizations.

The more advanced literal optimizations come into play when every match must start with one of a few possible characters or strings. Then you get into things like Aho-Corasick or fancy SIMD algorithms (Teddy).
You can almost always go back to mainframe for inspiration - back in the day they pretty much solved every problem you can think of. It has just taken 40-60 years to be able to do the same thing on consumer class hardware.

Last I checked there was still no mechanism where I could bill back resource usage in a multi-tenant kubernetes cluster so I think there is still work to do.
As I understand the theory here is that humans develop antibodies against the parts that mutate making our immune system ineffective, while a vaccine could teach the immune system a better part to identify against.
Remember this comment when in 10 years there's a bitcoin balance alongside your usd balance in your bank account.
Interesting bit of history of Aldi, the owner of Trader Joe. The grocery chain was founded by two brothers. They could not get along, so they decided to split the world to “Aldi North” and “Aldi South” chains. Both use the same logo.
"the government is after you" is a spectrum. The fact that you're under suspicion for money laundering doesn't mean they'll send seal team six after you. Using crypto raises the barrier for seizing your money, just like having cash on hand means that you can still pay for necessities when your accounts are "caught up in a government mandated anti money laundering investigation".
> 90% of people

no, that varies by communities of people, defined by a graph of their location, hygiene and intimate practices. I can say that a different percentage probability applies to the graph of Orthodox Hasidim in Brooklyn versus the graph of professional basketball players in the USA.
It's the same in the US, 40% of "covid hospitalizations" were hospitalized for other reasons and then tested positive.

https://twitter.com/ggreenwald/status/1480679058488836097

Also note at the end he says "asymptomatic covid", which gets right back to the confusion between sars-cov-2 and covid-19.
I should've been more clearer. This post isn't comparing Rails to any framework out there.

What I was trying to say is that Rails got a lot of things right and it's making me productive, because I don't have to make the same decisions over and over again when making a JS app. Rails made those decisions for me and the only thing left for me is to build my app.

I myself like Next.js and Remix a lot, but they still leave you to spend time making basic decisions, like how to organize your project or how to implement background jobs.

That's why I'd love to see more conventions and less configuration in the JS land.