skysight-inc/HackerNews huggingface dataset:
Are there performance comparisons with stock CPython and PyPy anywhere?
Arm chair theory: pilot wanted to commit suicide in an elaborate way without tarnishing his name.

I feel like that's the simplest explanation, though I am curious about other theories.
That does not seem correct to me. It’s not a “story telling phenomenon” that DHH and Jason Fried are perceived as industry thought leaders, it’s the result of both repeated actions on their part, plus some luck. Those two didn’t accidentally end up in the public conversation, they wrote five books about working, plus god knows how many blog posts, talks, and more.

That is explicitly attention seeking behavior, and it’s a hard prerequisite to becoming a “thought leader” or even just famous enough that a three letter initial is enough to identify yourself.
Rails is ultimately just a collection of libraries + some glue code, tooling etc., so you can, of course, build a well-architected Rails app with some discipline.

What I'm criticising is that a lot of the official guides (and/or DHH himself) often lead to problems down the road. For example, it is encouraged to do things through model callbacks. Except, once you have your send_email logic in a after_create callback and you figure out that you actually need to create users in different contexts too - e.g. in bulk updates if you need to import some data, where you don't want to always send an email - it will be painful to rewrite your code since you have no abstraction where that code should reside. Even DHH recognised this problem, when he pushed through ActiveRecord::Base.suppress [1] which was consided problematic by most everyone else (including the Rails core team). A better architecture would have a "service" or "concern" layer that would handle such things, but "the Rails way" doesn't advocate for anything outside of models, views and controllers. Though, to be fair, many real-world codebases do include such a service layer - but it's done differently everywhere.

There is also no abstraction for request validations. You're supposed to do all your validations in the model layer. But what if you have multiple requests mapping to the same model layer? Maybe the validations you want to run if an admin user updates a table are very distinct from the validations that should be run for a regular user. Again, while you can use ActiveModel objects for that, Rails doesn't particularly encourage this design and you can end up with a lot of coupling between your persistence layer and something which is essentially part of the business layer, and that can be hard to unentangle later.

Another famous problem IMHO is (by default) every single test loading the whole Rails context. This makes fast unit tests basically impossible and therefore TDD painful (which, IMHO, is particularly bad in a dynamically and heavily monkeypatched language - if you don't have static guarantees, you at least want to be able to test your changes quickly).

All of these are things that in other ecosystems - for example Spring - are handled much better. Now, I have criticisms about Spring too (slow boot times, excessive use of reflection, Hibernate is a mess, etc.) but at least it gives you some good tools to cleanly separate different layers of your application. For example, validation is generally done at DTO level, long before any of your data ever hits the database.

[1] https://medium.com/spritle-software/rails-5-activerecord-sup...
Thank you very much. :)

I know it took you a while to type that out but it will make a big difference in my life.
Dehumanization is a key element in tolerating mistreatment of others. Inflicting atrocities carries a psychological toll that can be lessened if the victims are seen as less deserving of compassion. Name calling is an early step in this process.
How are people not building in Terraform for an easy ‘destroy’ at the end?

I know it’s rhetorical and a lesson learned myself, but yeah… I would expect folks to learn to use this tool to help manage costs this way.
And the joy of booting your XP and 7 systems in Linux by attaching your partitions to a VM.
Yes, it was the best of slashdot trolls who decided to form a special club and truly hone their craft. The results were .. amazing.
Oracle - of all businesses - got this right. I know, I'm in shock too.

In Oracle Cloud Infrastructure, after your credit is exhausted, you have to explicitly opt in to billing or else they stop all paid services for you.

Moreover, you can choose to keep billing disabled and use their free services without fear of unknown costs.

AWS have just decided to run with a policy of offering refunds when people make mistakes. Unfortunately, some people are ignorant of this, or too timid to ask for their money back.
Programming DSLs in Kotlin Full Pragmatic Programmers Book on Medium
> Wouldn't everyone be copying all the best ideas from everyone else? Wouldn't that be a good thing? Both in general and for innovation?

No because this incentivizes copying over innovation. There is little reason to invest in R&D when anyone can copy your idea. Consider the COVID vaccines. Each cost billions in R&D. If they could be copied then a company that specializes in production could invest all its money into that and spend nothing on R&D. Eventually no one will be willing to invest in innovation until someone comes up with the idea of protecting IP again.
Next level: seeing that process is clearly inefficient but still following and defending it with iron-clad "because this is our process" justification.
I want to point out that I just tried to access my AWS Educate Account today to explore the panels and found:

"ALERT-1:
Session time behavior and instance types in your Starter Account will be changing on May 11th, 2021. After this date:
1. When your session ends, your resources will be “stopped.” You will be required to re-start your resources when you start a new session.
2. Updates will be made to available instance types. We recommend you to complete currently running work in your Starter Account by May 10th, 2021 as work using instance types that are no longer supported will be lost after that date."

Im still thinking about what can I do with 3 hours (duration of a session) of EC2 computing power...
I don't think so, unless there is a significant amount of carbon released due to the way the fish's food grows. It's certainly not the same as running all of the machinery required to process and transport livestock feed. There has been some interesting back-and-forth about the role of the fish themselves as a natural carbon sink[1][2]. I don't pretend to understand the science or math involved in these calculations though.

[1] https://advances.sciencemag.org/content/6/44/eabb4848
[2] https://sustainablefisheries-uw.org/big-fish-sink-blue-carbo...
My middle school had 48 minute blocks like this. 7 per day, if my memory serves, with 3 minutes between periods to change classes and I don't remember exactly how lunch worked.

My high school had four 90-minute blocks. 7 minutes between. 3rd period was actually 2 hours, and you'd have one of four half-hour lunches (so, sometimes 90-30 and sometimes 60-30-30, and each of those reversed).

I hated the middle school setup, in which settling down took the first 15 minutes and the last 10 were spent packing up (since the time between was so short, you had to be packed when the bell rang). High school was so much better... but my brother hated it, because focusing on the same topic for 90 minutes straight with no breaks was difficult. (And it made scheduling difficult, but that's tangential here).

So I think the moral of the story is that there's no silver bullet, and breaks are important, even if you don't change topics.
There does not seem to be any evidence of this. If there is, please provide it.
What kind of activism are you referring to?
If I go to billing I can see an itemized breakdown of every service I'm using. What is wrong with that?
I use:

Mikrotik router rules for specific IPs shutting down internet at specific times (advanced setup with schedules and firewall rules)

Android FamilyLink for phones and tablets with set daily limits

Windows Family for w10 with set daily limits

Adult accounts are password/pin protected
y'all are training some universal paperclips ai
is code signing not a thing on EFI or something?
Thats sort of my point. The book outlining the practices used at a company with 130k employees doesn’t translate directly to a company with 100 employees, and yet here we are.
The discussion was about the need for referrals. But isn’t that what I just said?

No I couldn’t pass any DS&A tech screen without a lot of preparation.
*Lunix
Python interview questions. Part III. Senior
This is all a huge leap from what I said, which is that given action A, you can only either do it or not do it. That does not mean doing nothing at all and not thinking of other options, and that is why framing the disagreement as nothing more than binary thinking is shallow and lazy and wrong. People may ultimately be divided between for and against, but people who are against one thing may be for some other solution to the problem.

You may think it’s narrow, but whenever you can decide between yes or no on an action all arguments considered, that could just mean that the action itself is clear and specific, as in this case.
I agree about trying not to say things that are hurtful, but surely you understand the difference in making a defamatory remark about a minority or oppressed group vs a similar remark about a majority group that holds most of the wealth and power?
> Gates’ fortune came at the expense of the rest of us

This is the essential truth about Gates and Microsoft. Microsoft did not advance computing; it suffocated it and made it into a grey, boring, feudal kingdom, at least through the 90s, driven by Gates ruthless mindset of monopolisation and 'embrace, extend, extinguish'. And even now we still have to pay the 'Microsoft tax' on every personal computer we buy, even if, like many here on HN do, we immediately replace Windows with a Free Software operating system (usually some variant of GNU/Linux).

Whatever the argument about Gates' philanthropy (and personally, I remain highly sceptical around that) it can't be denied that the way he made his money made the world poorer, to his personal profit.
Even CDK sucks though because if you’re still kinda new to it all, you want to login and make sure that it’s all hooked together correctly. And you’re back using their shitty UI.

Why you can’t look at the load balancer, look at the listener and then show what’s in the target groups is beyond me.
Fascinating! I'd never noticed this before. Normal television is dominated by those free-to-play gambling sites, and as you mentioned overwhelmingly they seem to use .net. I always wondered how they made money.
Easiest way to beat a Disney circle is to go to 192.168.1.1 in your browser, find its IP and ban it.
I also work at AWS (nowhere near billing), so the usual disclaimers apply, but:

I actually have no idea if billing is real-time or not? I think it's mostly batch, but the records aren't necessarily, though they may be aggregated a bit.

The general point in this thread certainly holds: our systems provide service first, bill second, and that by throwing a record over the wall to some other internal system. It's not unthinkable they could tally up your costs as you go, but the expense has fundamentally already happened, and that's the disconnect.

It would be hard to react ahead of time. Small, cheap things like "a single DynamoDB query" or "a byte of bandwidth" are often also high-volume, and you don't want to introduce billing checks to critical paths for reliability / latency / cost reasons. Expensive big-bang on/off things, probably simpler, though I can think of a few sticking points.

It would be hard to react after the fact, too. Where does a bill come from? My own team is deeply internal, several layers removed from anything you're recognize on an invoice, but we're the one generating and measuring costs. Precise attribution would be a problem in and of itself- cutting off service means traversing those layers in reverse, then figuring out what "cut off" means in our specific context. That's new systems and new code all around, repeat for all of AWS- there's a huge organizational problem here on top of the technical one.

I could see some individual teams doing something like this for just their services, but AWS-wide would be a big undertaking.

I wish we had it- I'd sleep a little better at night, myself- but from my limited perspective, it sure looks like we're fundamentally not designed for this.
I agree, having set up serverless and lambda for an api/app that was to be used a few times per day, the billing made no sense at all, it would increase even though the services were used less and was difficult to find what the costs were or whether they could be reduced, eventually I had to shut it down and create a non-lambda solution somewhere else because I had little control of the cost.
Have you looked into the new hpy API? https://hpyproject.org/
This is not white supremacy, if anything I would say they believe in "black inferiority on average" since they don't direct this sentiment to other non white races and they don't direct it at black individuals who seems worthy in their eyes.

You can argue such a sentiment is racist if those people thought that blacks will not be able to lift themselves up from the situation they are in, on average. But if they do think personal agency could change it, then what is the racial issue here? They are just pointing the current situation in this specific time, not an inherent problem with the black race.

You could argue their solution of personal agency and responsibility is not going to work, but that is not a race question, it is a general social policy question how to lift people from a dire situation, which I agree, developing personal agency is difficult when you don't even know what you don't know.

In my eyes it is more of a class problem and those calls for personal agency will be directed to anybody who is in a bad situation, not necessarly to blacks. It is because it is very hard for people to imagine the lack of mental ability and skills some people have when they are not brought up in a certain culture or class for that matter.
Good catch, yeah that is pretty terrible.

It just seems silly that I'm building some PoC, and 3 years later all the assumptions I applied initially become something I need to actively design around, or just refactor my data schema. How many layers of abstraction would I need to add to create a kind of more flexible types that just know to expand if I add more significant figures, or contract (on a row basis) depending on the entry.

Like I was building a django app 2 weeks ago, and pulled in django-money to deal with currencies without reinventing the wheel, and then with another field on a model (meant to simulate a crypto asset), I had to arbitrarily decide what level of precision and what the "max digits" were for a class of potential instances of this model. I get that this might be overoptimization, but really - this is silly. By specifically asserting a max length for some field, aren't you wasting space? If not, then my entire point is moot.

Not super quantitative, but just thinking out loud a bit.
This is a bizarre argument to make in a world where every 1st world nation is on the cusp of negative population growth. The biggest problem we have is we have is that not enough people have access to a western lifestyle, which has been extremely effective at reducing birthrates to or below replacement levels.

Population-based sustainability arguments are a deflection from the actual hard work, which is reducing CO2 emissions and preserving ecosystems. Because they have nothing to say and no knowledge to contribute about actual sustainability, and reliably go nowhere.
There was no “confusion”. The only purpose of a referral is to get the interview. If an internal recruiter reached out to you, a referral isn’t necessary.

Either way you still have to go through the same loop.

Yes, I “work for a FAANG” like many others do here.
An english version of this would be fantastic!
There’s something about the fact that the stone on the ring spent millions of years being made and lying in the ground before being found.
My cube is actually a high tungsten carbide. I do happen to have a 1kg elemental tungsten cylinder though. I like to imagine dropping it from space on things that would be greatly improved by becoming a crater.

At some point I’d like to obtain matching gold and uranium cylinders.
Higharc | Senior/Junior Backend, Frontend, Graphics/CAD, Full-Stack, EM, VPE | US, REMOTE | https://higharc.com

We’re building a complete home building web platform. Our system, built with TypeScript, C++, and WebGL, produces permit-ready plan sets, bills of materials, and beautiful, realtime product configurators with realtime estimates/BOMs. We just raised a $21m Series A and are hiring across a wide range of engineering roles and seniorities.

We are a remote-first team (w/ offices in Durham, NC, SF, and Atlanta).

Roles:

- Frontend engineers (next.js, React, pure TypeScript)

- Backend engineers (node.js, PostgreSQL, terraform, AWS)

- Computational geometry, graphics, and CAD engineers (Unreal Engine, WebGL, three.js)

- Engineering managers (Modeling/CAD, Web)

Our careers page is at https://higharc.com/careers. Say you came from Hacker News.
People on HN are uniquely able to focus on making more money instead of saving money. But due to limiting beliefs, many don't.
In many cultures, marriage was traditionally a more convoluted affair, involving both families and there's a strong preference to marriage with a family that your family knows and trusts. The socio-economic status of prospective mates and their families are considered. There's a solemn ritual in a religious setting where all members of the community are invited to witness an oath. And thus the expensive shiny thing isn't _as_ necessary, although often expensive gifts are exchanged anyway.

These days people get married with somebody they met on Tinder for a month because "true love". The weight of a promise from a person you met for a couple weeks and from a family you've known for decades is different, which accounts for the modern inventions you despise as compensation.

I mean, I'm not saying this expensive ring thing is a desirable game to play, and I don't disagree that there are vain people out there, but the ring serves a particular purpose in the mating game of modern society, not just to satisfy some people's vanity.

(btw, if you think about it, an engagement ring isn't inherently that great for showing off. Most people put it away in a little box and wear a less conspicuous ring anyway.)
Until the ones who gain profit from nuclear power would also pay for an insurance that covers for the worst possible accident, I think you will have a hard time to argue for nuclear energy.
Marc had always been easy going and neutral. That didn't matter until Adolf came over.
It's just that in the Netherlands significant amount of political discourse has been surrounding "Muslims" and "Islamification" in the last 15 years, so it makes sense for me personally. Anything could work really, "Arabs", "gays", "women", "gingers", or whatever else makes sense for you. The point is better understanding how the message is perceived, and is mostly an emotional thing. Exact accuracy regarding ethnicity and such doesn't really matter here.
So as a white male, you were in the minority at this company?
I think it'll get optimized. We went from GWT apps needing like 250k to render a HelloWorld, to J2CL + Closure Compiler being able to do the same thing with a 1 line output.

Compose has an elegant, theoretically pleasant way of modeling reactive frameworks as pure functions with memoized state, and an explicit call stack.

But right now you're paying a giant tax for all this since you bring in the entire Kotlin runtime, coroutines, collections, etc plus the Compose runtime, plus the Widget library. Since Compose is only beta right now, this is clearly unoptimized.

It's definitely not eliminating all the dead code or metadata it could, there's a ton of code like this:

```
function(e, t) {
e.exports = function(e) {
return {
name: "Inform 7",
aliases: ["i7"],
case_insensitive: !0,
keywords: {
keyword: "thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"
},
contains: [{
className: "string",
begin: '"',
end: '"',
relevance: 0,
contains: [{
className: "subst",
begin: "\\[",
end: "\\]"
}]
}, {
className: "section",
begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/,
end: "$"
}, {
begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,
end: ":",
contains: [{
begin: "\\(This",
end: "\\)"
}]
}, {
className: "comment",
begin: "\\[",
end: "\\]",
contains: ["self"]
}]
}
}
}

```

Which looks like some kind of parser embedded in it.
> We all can be sick sometimes, certainly would be better to it in some other way, but maybe he was just that sick?

He was busy hitting Twitter pretty hard during the day, throwing some shade at Apple. No mention of company, employees, anything.

That's bad optics, regardless of how you're feeling. If you're sick, you're sick. If you're too sick to deal with the most pressing issue your company is facing, you should consider yourself too sick to devote chunks of time to Twitter feuds.
I remember having read this back then. I can't believe 20 years have passed...
Here’s a far less biased overview: https://www.americanbar.org/groups/crsj/publications/human_r...
Any time I haven't bothered to start the windowing system and am instead using tmux from a kernel TTY.
So what? Just wait until you get banned / censored soon by either Facebook or Twitter then I'll see you complaining on your own blog why this 'accident' happened.

Like those who already either left or got banished from the big platforms, at least the answer this time is to 'self-host'. Even if it is 'a blog'.

Social media managed by the big tech overlords is actually the big scam for everyone. Doesn't matter if you're a former president or an average john or jane doe.

I'll be waiting for the next famous person to complain how big tech permanently thrown them into the lost and banned. This isn't the last of this.
The policy they put in place is just not hiring those who would want to actively participate in political discussion at work. I think there are plenty of people in the world who see that as a net positive. Not everyone wants political discussion and to further mankind’s ideological philosophies; far more direct ways to impact society include just being nice to those around you.
That's why I use cloud providers that accept bitcoin. Credit cards are evil.
Right at the top: "With its current status Technology Preview, Compose for Web is not production-ready, and should only be used in experiments. We are hard at work to bring you great learning materials, tutorials, and documentation, and optimize the performance of Compose for Web in the future!"

And yet people already rushing to conclusions about code size.
What you’ve just detailed here is exactly why there was an elevated level of concern during a particular 4-year window, and a general sigh of relief once that time had passed.
The quote in the article? And the fact that the author gave Singer a chance to respond, and Singer did so in some depth, and did not deny or rebut the claim that he said that?
Because it isn't for type checking, it is for validating data and producing a list of validation errors (not stopping at first error)

Those are two things that type checking won't give you.
The issue here is really Billing... AWS Budgets allows you to set a budget as far down as $1 USD... however because billing is done piecemeal, it is possible to have up to 24 hour delay for charges...

You can spend $500,000 on AWS in 24 hours, it's not difficult, it's not easy but you totally can blow past your "budget" because it's not a hard cap.
Alex Kearns died thinking he owed thousands for stock market losses on Robinhood