skysight-inc/HackerNews huggingface dataset:
I left Netflix years ago, so I don't know their current culture. Netflix's culture demands very strong leadership and probably works only when the company is small enough. From CEO and down, leaders in every level need to know how to set context for their teams, give enough freedom to their teams, while making sure failures are manageable and success rate are maximized. That is, Netflix assumed that people would make mistakes and fail, but the trick was to ensure that failures do not hinder overall success of the teams and the company.
SPA web-apps still have long-lived sessions
OP would presume they covered that in their last OR branch:

> or I'm actually stupid and about to see my business model crash and burn

In other words, they wouldn't be able to reach their long term goals because one of the 20 other people are going to eat their lunch. (And all will in fact attempt to monopolize their lunch.)
FWIW, you don't need to use database roles if you want to use RLS. You can instead have some other context indicating the current "application user" and use that in your RLS policies.
Nothing left to vary -> no variance -> no co/contravariance.

So... first-class functions with no covariance, contravariance?
I perhaps shouldn't have said "bad," as my opinions sadly aren't universal truths ;)

However, my reasoning is the same as noted in echelon's reply. There are often far better ways to move around as described in ":h text-objects" and ":h motion.txt" more generally.
I've followed the covid lab leak origins saga a bit and the incentive structures definitely do not encourage most scientists to speak out there. They'd probably be shunned and lose funding. One of the only scientist who is outspoken is Richard Ebright and he can get away with it because he has tenure and is high up in his hierarchy but most would have problems.
You might find this interesting:

Metaobject Protocols for Julia
https://drops.dagstuhl.de/opus/volltexte/2022/16759/pdf/OASI...
I’d frame it more as describing inherent nature versus a minor attribute.
our problem with tRPC is that we don't have an easy to way to test the endpoint in say, curl or postman.

there is a “REST Wrapper” project out there, but learning that was even needed was … fun

I don't mind it, we found other ways to test

Out of curiosity, how do you add a memcache to tRPC if you dont want to write directly to the prisma database
Isn't the tragedy of the commons how developing technology consumes our attention spans?

Human attention span is a finite resource (we can only do so much in one life), and tech startups can consume a lot of that for relatively little payoff. Building a successful startup is like solving the bitcoin hash on your first few cycles. The barrier for entry is low, but you can hit it big (and consume a lot of cheap, finite* power too).

The payoff is worth the risk since our communication technology is nascent and underexplored. We have an abundance of time right now because of what tech has done for us, but the cultural and environmental costs of growing tech are not well understood.

Use of attention span is difficult to measure right now, but that could change in the coming decades. That said, parent comment seems to use "tragedy of the commons" as a stand in for "human nature."
I wonder if having that sort of "safe concurrency" causes developers to overuse concurrency and introduce coordination costs.

Do we know that tokio's concurrency strategy is optimal for database access?
> One of the points that has rather surprised me is that we devs have not more broadly explored what we could do with our metaobject protocols. We havent had a boom in metaprogramming, we haven't seen a largescale return of AOP; we've been letting objects stay dumb unextended objects for a long time now.

The other day I showed some newer devs how they could replace a good 10+ lines of for/index/loop/conditional code whose purpose was to find either the next or previous elements following an element that matched a condition with wrap around semantics. I did it using a zip and a filter. Good old “functional” approach. That’s cool they said, and then got rid of me as quick as they could. They had been close to pushing their changes. And indeed did.

It used to be the case that a sizable number of my peers were interested in furthering their craft. Those that “just ship it, it works, ok?” We’re tolerated. Now it seems that enthusiast peers that are interested in “exploration” and “discovery” are few and far between. I’m surrounded by people that do their hours and clock out tickets.

So no, I am no longer surprised by this lack of meta programming interest. Or any other “higher level” linguistic pursuits.
This may be true, but as someone who contributed to a Terraform provider - HashiCorp did a vast amount of legwork to build impressive tooling and process to make contributing easy and get contributions merged quickly. No easy feat if you ask me. When I made contributions it was a matter of days before they were merged and released.
On top of that, it's pretty affordable luxury. A decent jacuzzi is like 2-3k, unless you go in-ground.

I'm not sure refrigerators with ice dispensers are that much of a luxury item too. What's next, hating on toasters?
SillycoValley
Yes, but my point is there's a difference between "just deploy their software" and "combine their software with your software and deploy the result".
What is <g>? My first thought was https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g but that cant be right
You can encode halting of a program P as a comparison of a computable real number Q with a fixed number R by defining Q as 0.111..1 where each step of P adds one digit of 1 to Q’s expansion. P will halt iff Q is less than R=0.111…

Any subset of reals is ordered as it inherits the usual order from reals. The existence of well ordering (related to AOC) is difficult issue).

But the trichotomy of A>=<B does fail for a different but useful logic - remove the law of contradiction. There is a number e which is neither equal nor not equal to 0, with e^2=0. This leads to simplifications of concepts and proofs - you can define derivatives without limits for instance. This topic is studied in synthetic differential geometry.

But the real response to the comment ‘everything is just a word game’ is ‘just’ is not apt. You are free to fix rules of the game, once done you face questions which are possibly beyond your ability to answer. A person could run a program checking id Fermat equations had solutions in 1950’s. Only In 1990’s we know after great advances (like discovering a route between mountain ranges) that this program wont halt (or ZFC is inconsistent which would be even more surprising).
Rumor: Nvidia RTX 50 “GB20X” GPU lineup to feature GB205 GPU, but no X04 part
The last tweet is a little confusing. Teacher's unions? Really?
Dumb terminals weren't exactly cheap. The vt220 released in 1983 was about $4000 USD (adjusted for inflation to today).

Source: https://en.wikipedia.org/wiki/VT220
Both of those are coupled to React/JSX unless I'm mistaken.

The reason we've chosen DaisyUI (which seems similar to Hyper) is that its framework independent and just uses CSS (no JS) as our team uses Svelte/SvelteKit.

In my experience this gives you more flexibility while still giving you a lot of the common UI boilerplate you need to scaffold apps quickly.

Being able to use a single component library across UI frameworks is a huge advantage.
or is that an opportunity?...
Thank you, yes I think you're right - an unfortunate choice of word on my part it seems.
Another “when I worked at Tesla” anecdote
Earth's early atmosphere is estimated to have had several hundred times as much CO2 as it does now, which would have dissolved in the ocean, and then you can get a whole host of simple organic molecules - alchols, hydrocarbons, aldehydes and so on - via reactions catalyzed by volcanic particles. Space carbonic acid not required (and it forms from CO2 in water anyway). See for example

Synthesis of prebiotic organics from CO2 by catalysis with meteoritic and volcanic particles (2023)

https://pubmed.ncbi.nlm.nih.gov/37231067/
Ahh small town Kansas. I love you and also hate ya. This kind of bs is one of the reasons why I can’t live there. (Grew up in KS)
I think that should be it.
I made the Spanish version available today! Please check https://ai.rails-guide.com/es/
On 8MB, it was the minimal usable in mid late 90's for minimal systems such as today's 1GB systems with some light X environment.

There was even a Howto for 4MB laptops.

If you wanted to run X confortabily, even with FVWM and RXVT, you needed 16MB.
Sure it can, you can use https://github.com/prosepilot/trpc-openapi
Importantly, this requires mature engineers and managers. Nothing worse (from personal experience) than working at a place that hires experienced engineering talent and then has a bunch of junior "leadership" telling them what to do. That's how you end up inundated with meetings and frameworks and blablabla. Obviously you need experienced developers to get stuff done without handholding, but you need managers that can "manage" - I say coordinate, without handholding.
You're right, of course - that is not my intent.
The managers have that power, not the workers. That’s the key.
What is your replacement for “Stuff The Internet Says On Scalability”
Last article is from December 2022 - almost 9 months ago and I always enjoyed reading this series and I was wondering if there is a similar thing out there that I am not aware of.
Ask HN: Any Vim users who are sticking with Vim over Neovim?
Do you have any particular reasons to do so?
And that's probably what bothers me most about the fediverse in general. I want to be able to see everything, be it appropriate or not, misinformation or harassment, but the only servers that allow that are those that are suspended everywhere themselves. Unfortunately, those are also the kinds of servers crawling with people that I wouldn't want to be associated with.
> It's been an issue in some fields though - renewable energy development in the USA is lagging far behind China because China invested a lot of money in R & D in the sector, resulting in engineering victories like mastering monocrystalline silicon ingot production at scale.

The US is so busy with two political parties trying to destroy each other that we can't even build a train. And we are going to save the planet? Have we gone insane?

> Also, there are dozens of practical studies pointing to the ability to eliminate fossil fuels from the energy mix while maintaining and expanding overall energy production on a global basis.

Reducing and, on a very long time scale, eliminating fossil fuel usage is a worthy objective. Nothing wrong with that. However, pretending that this is going to save the planet is just fantasy. It isn't. Not even close. We can't control things at a planetary scale (other than make things worse).

Destroying an economy in support of something that is, at best, laughable, isn't good for anyone other than those using it to make money and gain power.
Absolutely. If you have a software company, literally 100% of your company valuation goes home after 6PM.

If a key engineer leaves, you lose a _lot_ more than 2-300k.

In opportunity cost, you lose tens of millions, possibly.
Web apps can still have the problem of the server and client getting out of sync.

1. Plenty of people deploy their frontend and their backend separately.
2. Even if frontend and backend are deployed at the same time, there's still the case where the user has the old version of the client loaded in their browser as a new backend gets deployed. I've seen some web apps tackle this by periodically checking if a new version is available and either refreshing the page or prompting the user to refresh the page.
My hears are perpendicular from my head
More like Cold War 2.0. But this time, literally, because it will be a "mini War" in the Arctic for resources. Mainly gas related, but water related, too.
> You could handily exceed the M2 Ultra bandwidth if you ran 4 channels of IB ...

Hmmm, that doesn't seem to be the case?

Those adapters are 400Gb/s "total bandwidth" each. Not 400Gb/s "each way". And you can't get 8 of those adapters into a server (with x32 links anyway).

Where's my calculation going wrong? :)
Doesn't encrypting your data before insertion make your data unable to be indexed/searched easily?
Indeed it's probably good to practice coding without Copilot or Stack Exchange completing all your thoughts for you.

Actually, I would recommend, once in a while, trying to code the traditional way -- with pen and paper. That still has its place with high-level design and when toying around with algorithms. Sometimes it's helpful to strip away all the distractions, and instant-access documentation and compiler feedback are a kind of potential distraction, really. YMMV.
Dming you on twitter, to find “The Thing”
> The incentive structures in science encourage novelty

Former academic here. This may be superficially true, but it's always been "novelty within the established orthodoxy". Kuhn documents this quite well, but it's become even more true since the funding motivated push for peer review that started in the 1970s.

Academic publishing today strongly demands conformity for survival. Geoffrey Hinton has a great quote, that I can't seem to dig up, about having any truly ground breaking work dismissed by juniors who have no idea what you're talking about being a major problem in moving science forward.

The bigger issue is that we have very little space for actual dissidenters. For example there is lots to legitimately question about mainstream medicine, but it's hard to walk too far down that path without immediately getting thrown in with "vaccines cause autism!!!".
Australia has ranked choice voting and it has not resulted in Australia making better decisions. I'd argue that in muddling the level of preference between options by overquantizing things, it biases elections towards the status quo and a complete lack of change, and motivates the two main parties to minimize (or eliminate) their differences.

It can be better to pick the one you like most rather than to sort a bunch of candidates, some of which will be inauthentic and strategic, evenly along a continuum. In a field of nine, that transforms the number one candidate from being preferred over the number nine candidate to being nine times better than the number one candidate.

I think there's a reason that Australia requires that you rank all choices. If you don't, it spoils your vote. If you intentionally spoil your vote, that's actually a crime in Australia (don't listen to people who tell you that the least Australia requires is that you turn in a blank ballot; Australia disagrees.) You're not even allowed to ask people not to rank certain candidates. It is a jailable offense:

> In 1986 Albert Langer wrote a conference paper entitled Don't Vote, examining possible electoral strategy for the left, aiming to bring down the Labor government and to target ALP candidates in marginal seats. In 1987 and 1990 there were instances where Victorian voters were urged to take advantage of section 270 of the Commonwealth Electoral Act and give less preferred parties equal last preferences (now known as a Langer vote), so as not to express a choice for either major party.

> As a result of his imprisonment, Amnesty International declared him the first Australian prisoner of conscience for over 20 years.

https://en.wikipedia.org/wiki/Albert_Langer

Ranked choice (and obligatory) voting inflates the support for status quo parties. It's also a way to make that pesky 40% who don't vote because they hate both parties disappear.
Oh there's a whole lying taxonomy and nomenclature. Be assured of it. But only the members of the inner house are allowed to see it. It is restricted technology.
Someone in the age bracket where many of their peers are already smoking needs to learn some valuable skills in how to present their case. At 16-17, they are not exactly "a child".

That said, it can be incredibly frustrating to talk to people (e.g. parents) whose style of thinking is to guess based on very limited information and then sincerely believe and stick to that guess as if it was brought down by Moses on clay tablets. I know such people, and it's not even just personal topics, but discussing any story in the news or any rumor they overheard, they immediately paint some picture in their head, fill in the blanks based on a guess, follow a chain of reasoning absurdly far without proper evidence, working themselves up in the process, and then they are utterly unreceptive to any alternative explanations. So yes, I agree this is bad and we should try to listen till the end, defer judgment, be comfortable with "I don't know the details, so I don't have a well-founded opinion here" etc. But such meta-cognition and reflection on one's own beliefs don't come naturally to all, and they may have been punished for it in the past, it being seen as a kind of indecisive unconfident weakness, so they cultivate a persona that must always know, must always have an opinion and a definite view on everything.

This may not always rise to the level of actual "abuse" and indeed your knee-jerk pattern-matching response to label it as such is ironically itself an example of imagining all the details and condemning a person in the story you know nothing about. Maybe OP should have frontloaded a bunch of disclaimers like "I'm on great terms with my parents and we love each other, but there are some frustrating aspects in our communications, but we are doing our best to meet in the middle. That said, here's a story:", so that you don't jump to conclusions.
I don't think this literally means each user of your app gets their own DB user, rather that you create different db users for different aspects of your app.

What you're describing is what RLS (row-level security) is for, where you log into a generic global "app_user" user with certain permissions that don't include things like admin tables etc, and then define the specific user that is using the session via session variables.
Using ‘recycled plastic’ in construction materials may not be a great idea
>Music streaming is just the latest convenience since everyone has an Internet connected device in their pocket and their "library" is just every song in the service's catalog.

Yeah, mobile probably played a role as well. Even if you have a few TB of music reasonably cataloged on a USB drive at home, that doesn't do you a huge amount of good when you're somewhere where you only have access to your phone or want to have a listen to some newly-released album.

We're also in a situation where if you know someone with vaguely similar music tastes, they could clone that few TB in less than an hour but I honestly don't know how much even that goes on these days. My sense is that most people aren't interested in spending much time to catalog their media.
Or even "I am OK, but I need a ride home."
the US just invested more than $1B in carbon removal
several countries in asia have done this for decades— it’s basic safety and politeness
You're completely ignoring Thomas Kuhn's points.

https://en.wikipedia.org/wiki/The_Structure_of_Scientific_Re...

Science today rewards novelty within the mainstream paradigm, but does not reward dissent.

Novelty != dissent!
My $0->$100M->$0 in 5 years story
What Caused Maui’s Devastating Wildfires?
Writing BeagleBone internal eMMC from U-Boot, without SD card
It means to grin. Sometimes it shows up as *g* too.
Grin, if I remember rightly.
ǝʌᴉʇɔǝdsɹǝd sᴉ ʇᴉ ʻǝɹǝɥʇ uʍop ǝʅdoǝd ɹoꓞ
Instead of a complete blockade create an allow list. So Stack Overflow and MDN are allowed but general Internet is not. You can also keep offline copies of books, courses and videos.
Could you expand on your other criticisms of the book? How does it conflict with your experience? I'm still learning.
MacOS is Unix, and it’s pretty much the only option if you want to target iOS.
Depends on the scope of the change and the objectives of the company. This is more true in larger organizations than startups, but not all technical problems you’re working on are directly linked to your value prop. I’ve seen good results in many cases where some systems are handed off to be managed by contractors so the FTE devs can focus their attention on improving the product which actually makes them money.

What I haven’t seen work is (which is what I think you’re describing more specifically) bringing on new hires or contractors to a project in flight in an attempt to deliver it more quickly. That’s where we get into Mythical Man Month territory.
Why is it impractical? Seemed like America for a whole
Obviously capital would prefer to pay lower wages, all else being equal, and in this case the Fed backs them up on that to prevent a wage-price spiral. What’s less obvious is how to keep even very-highly-paid employees from deciding they’ve made enough and checking out.
I used to watch Adams' podcast. It would require a lot of context to fully make sense. Suffice to say he thinks teacher's unions are a big component of the problem here and imo the primary value of his comment here could be conveyed if you remove the tail end of that Tweet which puts it on the teacher's unions.
Steve Jobs had a “beer test” he used for job interviews
In the Bay Area, no, an engineer costs an order of magnitude more. (For a round number, think $15-20k/mo including office space, benefits, etc. for a senior engineer; that's perhaps a bit high for the period I'm discussing but it also isn't attempting to price the cost of equity grants. At that time Google was probably spending something like $35-40k/mo (maybe higher, I don't know their office/perk costs) on equivalent talent at SWE5 including the liquid RSU grants.) But of course run the cost/benefit calc for your own cost of labor.

More importantly, it's critical to think in terms of opportunity cost. Like I said, we couldn't hire engineers fast enough at that time, so if I put someone on this work it would be taking them off some other important project. Plausibly for a fast-growing startup that means eschewing work that's worth $1-2m/eng-yr or more (just looking at concrete increases in company valuation, not present value of future gains). So we're talking on the order of $100k/eng-mo opportunity cost.
You started this discussion saying "LIGO, VIRGO, and NANOGrav experiments and observations proved that speed of light in vacuum is NOT constant".
This is completely absurd, as anyone who works in the field will tell you.

I never said you're too stupid to understand. What I said, and maintain, is that you lack a basic understanding of the concepts involved. If you want to have a proper discussion, you need to first properly study general relativity, and refrain from making ridiculous assertions about things you are obviously not an expert on.
It is possible to do those things but they strike me as two positions that cancel each other out.

Perfect is the enemy of the good, but not for the same reason most posit. Why settle for good enough when we can push companies to do better? Why settle for "at least I can repair it" when it's both possible and sustainable to ship quality hardware and software?

Taking babysteps toward acceptability isn't really something I'm willing to budge on. Frogs are boiled incrementally, too.
Not if it's got strong evidence - there is still no strongevidence for the lab leak so it's a moot point.

Do you have something with strong evidence that ruined someones career in the last 50 years?