skysight-inc/HackerNews huggingface dataset:
Ask HN: Why server side rendering is not used anymore
For an internal tool at our company that served a website with register schema of SOC (derived from IPXact XML's) we used an old tool written in perl that was very hard to maintain.

I took it upon myself to contact few software solution companies to rewrite the tool in a modern language and add few features.

All the companies dissmised server side rendering and suggest a server - client scheme based on NodeJS on the server and React / Angular on the client.

After proceeding with one of the companies, the end result was slow, very hard to maintain and every new feature was very highly priced.

We're in a worse situation than we were.

Was is a bad selection of technology for the specific use case ?
Crypto.com laid off 260 employees – then quietly let go of hundreds more
Vague insinuations such as this one always harm the discussion. Why not just communicate clearly?

> the country that was Austro-Hungary, Slovakia

No, Slovakia wasn't Austria-Hungary, rather it was just a small part of Austria-Hungary (of Hungary, to be more precise). Wasn't even a successor de jure of Austria-Hungary.
> Poland is an example

Poland has been around over a thousand years. https://en.wikipedia.org/wiki/Christianization_of_Poland
25 AAA games in 4 years is a lot. Even if they create 2 AAA games per existing AAA IP they control in that 4 year span (which seems optimistic at best), this would still require a pretty significant number of AAA games being made based on either new IP, or IP that was historically not AAA.

Tasking a bunch of their smaller studios with developing brand new AAA IP is always possible, but potentially risky.

Also, at least historically most of the studios under Embracer are not known for doing EA's (especially sport titles) or Activision's historical (Call of Duty) approach of releasing one game in the franchise per year.

Going that route can work, but it does tend to have many releases be uninspired, or rushed, or otherwise clearly harmed by the yearly release deadline.
The Federal Reserve is not the US government. It is a private bank.
I imagine your payments experience is largely as a retail consumer then
Universal Certificate Rotation in the browser? – done using step and WebAssembly
I came here to say this.

'Midlife' is not about how long do you live, it's about how advanced you are in the expectations of the social life script, after 'raving youth' and 'settled elderly'.
In my AP European History class in high school, we had a 25 question quiz the next day every time we were assigned a chapter to read in the textbook (maybe once every week or two). They were intentionally difficult to try to encourage us to read closely, often asking about specific details that were only mentioned once in the chapter, and they were heavily curved, so getting even around half of the questions right generally would get you a decent grade. The teacher had a habit of making the last choice of each question be a combination of two of the earlier choices (e.g. "both A and C"), and these often ended up being the right answer to the point where one of my classmates came up with the idea of choosing the last choice in every single question to try to get an easy passing score. Unfortunately for him, he was a bit too proud of this idea and talked about it enough beforehand that the teacher caught wind of it and purposely made none of the answers on the next quiz have the last choice be correct. Not sure how well that would go over in the Navy, but I'd certainly still be a bit worried that the exam writer might know the rule of thumb people use and have a bit of fun at my expense!
I use Jupyter Notebook with at dash of Python code to ingest, clean, and analyze substantially large CSV files, whose size is limited mostly by the compute. You can also use AWS Athena but, that isn't cheap either.
That paper showed a minimum of 26 states, not a maximum. Later papers have increased this significantly.

[1] for example increased the number 10-fold. Papers like [2] have pushed this complexity per synapse into a much higher level of complexity (so much they don't even put a number on it).

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5247597/

[2] https://www.nature.com/articles/s41598-020-64874-9
It was. The 80s were crammed with doctors & advertisements promoting margarine as the responsible choice and saying that using butter or lard would kill you. That’s because the Nixon administration felt that they needed to do something about the obesity crisis, and they added nutrition to what had previously been a commission about hunger and gave them a deadline for a plan.

Unfortunately, the need to get recommendations out on a political schedule meant that they went ahead of the available evidence. This Washington Post piece from 1977 debating the then-proposed guidelines includes an interesting quote:

> Dr. Mark Hegsted, professor of nutrition at Harvard University and one of the three nutritionists who helped write the report, said: "There will undoubtedly be many people who will say we have not proven our point; we have not demonstrated that the dietary modifications we recommend will yield the dividends expected.

> "The question to be asked therefore, is not why should we change our diet, but why not. "What are the risks associated with eating less meat, less fat, less saturated fat, less cholesterol, less sugar, less salt and more fruits, vegetables, unsaturated fat - and cereal products - especially whole-grain cereals? There are none that can be identified and important benefits can be expected."

That “but why not” line of reasoning is interesting given the mixed status of the recommendations in the next sentence. Eating more fruits, vegetables, whole-grains, etc. and less sugar is still widely accepted as good advice now but the remainder of the guidelines are problematic, particularly now that we have a better understanding of e.g. how fat interacts with satiation or how the food industry scrambled to produce alternate versions of familiar foods without key ingredients.

What we do know now is that millions of people had worse health outcomes due to that rush because even though studies came out only a few years later in the 80s rejecting the theories about salt, fat, specific foods like eggs, etc. the ghost of that Nixon-era rush job hung around until the 2010s and isn’t completely gone yet. You can still see a ton of food loaded with sugar because the recipe was modified decades ago to remove the fat & salt which made it taste good, not to mention how often people pass over vegetables because someone said it was unhealthy to butter or fry them without considering that this made the most likely outcome skipping them entirely.
Absolutely phenomenal.
As an English person, I can assure you that not many people have a full English breakfast regularly. Cereal, porridge, toast, yogurt, or "nothing at all" are far more popular.
FYI multiplayer.dev breaks the browser back button. At least on mobile safari. Is that a glitch in that demo specifically? Or is it a supabase realtime glitch?
Coming soon:

“Your login code is 8kqhc1abw0v6n11kmdi0py5lwy. Do not share this with anyone”
Don't know about Facebook specifically, but for Google and Microsoft, if you let the recruiter know you're actively interviewing and considering other offers, the process speeds up real fast.
From our homepage:

> Supabase is an open source Firebase alternative. Start your project with a Postgres Database, Authentication, instant APIs, Realtime subscriptions and Storage.

Our docs give details about the architecture for each project: https://supabase.com/docs/architecture
OK, to make up some ballpark numbers, assume Amazon make roughly $1/book sold, and 20% of the sales of Chokepoint Capitalism on Amazon will get the anti-Amazon message to someone who hasn't heard it before.

The question then becomes, given how awful Amazon is, is it justifiable to fund Amazon by $5 to get someone new to seriously reconsider their whole future lifetime usage of Amazon, and possibly to join the anti-Amazon crusade? (Basically, it's a trolley problem. https://en.wikipedia.org/wiki/Trolley_problem )

And there are plenty of reasons that the answer might be "No". I think it's reasonable for someone to say that funding Amazon, by any amount, for any reason, no matter the outcome, is inherently immoral and unjustifiable.

Or, someone could reasonably say that it might be moral in some circumstances, but not at that price. Or that my numbers are wrong, my price is way off, and at the actual price of $X/convert (for whatever value of X they come up with) it's wrong.

Or, I think someone could reasonably say, "Yes", at that price, it's worth it.

I even think someone could reasonably say "I can't decide if it's worth it, and I refuse to choose."

I think reasonable people can disagree about where the line is. Your position appears to be pretty firmly on the "Never" side of that line, and while I don't agree with your conclusion, I don't think that part of your position is unreasonable.

However, I think that labelling anyone who doesn't agree with you as "delusional, cognitive dissonance in action" is unreasonable, and lacks a certain amount of empathy. I think it's also unproductive, in that it's unlikely to make anyone who doesn't agree with you to even listen to your counterargument (did you make one?), let alone consider it seriously.

OTOH, if your goal is not actually to convince anyone to listen to you, but to just bathe smugly in the warm feeling of moral superiority, you're doing fine.
It may depend on where in Europe you're planning to study, but I rather doubt your application would be judged on anything other than the formal acceptance critera.

However, some financial assistance may only be available for younger people. E.g. to receive BAföG funding for a master's degree in Germany, you'd usually need to be younger than 35, unless you can prove special hardship.

FWIW, during my undergrad I was in a study group with a 60-year-old who was just passing the time until his official retirement.
What's the difference between Supabase open-source and the paid versions? Is that just around hosting?

EDIT: Googling around yields a somewhat hostile discussion from last year: https://news.ycombinator.com/item?id=26637360

... but it looks like you _can_ self-host? https://supabase.com/docs/guides/hosting/docker
>GDP and GDP PPP both quantify production, not income and living standard metrics.

Purchasing power parity (PPP) allows for economists to compare economic productivity and standards of living between countries.

https://www.investopedia.com/updates/purchasing-power-parity...

>Countries can have cutting edge industries AND still lag behind in development - Brazil (Defense, Aerospace, ONG, Automotive), South Africa (Defense), Turkey (Defense, Automotive, ONG), Mexico (Defense, Automotive, ONG), Russia (ONG, Defense, Aerospace, Automotive), Malaysia (Automotive, ONG, Electronics), etc are all countries that are major innovators and even leaders in STEM/innovtion heavy industries, yet still have significant issues with spreading development across their countries. The PRC is facing a similar issue, and it is a hard nut to crack - I can't think of a single middle income to upper income economy that didn't also

Brazil does not lead in Aerospace, ONG, Automotive. South Africa does not lead in defense. And so on. They do not possess technology that other countries depend on. For example, Embraer's revenue in 2021 was 4.2 billion. Puny compared to Airbus' 52 billion. If Embraer stopped operating tomorrow, the world would not notice.

We're talking about actual innovation and a technology advantage. You mentioned that Mexico leads in automotive. What? Mexico does not have any cutting edge automotive technology that other nations depend on. Mexico is a hub for car manufacturing because it's close to the US and provides cheap labor. They do not produce any car tech that other countries cannot produce.

Real innovation is something like China's CATY new car battery which outcompeted Tesla's 4680 battery. https://medium.com/predict/tesla-is-about-to-lose-its-tech-a...

Before Tump's ban, Huawei was set to provide 5G technology to the UK, a country that could not produce 5G equipment on its own. A true middle-income country could never do this.
obviously, consensus amongst the people worth of asking when reaching consensus :) just teasing.
You just copy-and-paste the relevant input-output and there is your test. There isn't a need for any extra tools when using the REPL to come up with regression tests (obviously a REPL cannot be used to do TDD).
It has nothing to do with competition between platforms, but competition within those platforms.

When a platform reaches a sufficient size (subjective), it must be opened to competition for services provided within that platform.

We're talking about the base operating system for global computing here, not a car's dashboard system
Bootstrap 5.2 Is Out
Hackers are going through lists of hacked password lists and automated test of each entry, causing tons of gmail/outlook/amazon/paypal/ebay/etc emails.

One way to protect yourself is use a different email address, and only for services.
Many email sites allow custom addresses, so you can create specific emails addresses for each service.

And if your cellphone number is also leaked, get a sms service with a different phone number.

https://haveibeenpwned.com and you can do a check on yourself.

I find it sad Google sells titan keys but ignores them on login.
Does such a product exist? I would be surprised if it does.

(I played with Schwab's annuity estimator and it basically refused to give me an estimate)
I guess if you have time for it, you've made it :)
It’s odd that they put a space in between the decimal and dollar amount. Same as in the OP story. Perhaps run by the same operator. No US person would ever put a space there..it stands out for sure. Perhaps gives us a clue as to the origin of the person running this scam.
My sole experience with credit card compromise was almost as good--there was one fraudulent charge, but the bank reversed it, canceled, and issued a new card before I could get a chance to notice it.
Another UK resident here.

I don’t take my wallet out of the house most days. It’s there for if I think I might run out of phone battery and need to be able to pay for something urgently, or be somewhere that only takes cash, but that’s been maybe three times in the last couple of years.
There's another simple way to decrease tracking error for a barn door mount, and that is to use a curved bolt with an appropriate radius of curvature. See Gary Seronik's 2007 article [0].

[0] https://garyseronik.com/a-tracking-platform-for-astrophotogr...
> test coverage gets in the way of the iterative design process. In theory TDD should work as part of that iterative design, but in practice it means a growing collection of broken tests and tests for parts of the program that end up being completely irrelevant.

So much of this is because TDD has become synonymous with unit testing, and specifically solitary unit testing of minimally sized units, even though that was often not the original intent of the ideators of unit testing. These tests are tightly coupled to your unit decomposition. Not the unit implementation (unless they're just bad UTs), but the decomposition of the software into which units/interfaces. Then the decomposition becomes very hard to change because the tests are exactly coupled to them.

If you take a higher view of unit testing, such as what is suggested by Martin Fowler, a lot of these problems go away. Tests can be medium level and that's fine. You don't waste a bunch of time building mocks for abstractions you ultimately don't need. Decompositions are easier to change. Tests may be more flaky, but you can always improve that later once you've understood your requirements better. Tests are quicker to write, and they're more easily aligned with actual user requirements rather than made up unit boundaries. When those requirements change, it's obvious which tests are now useless. Since tests are decoupled from the lowest level implementation details, it's cheap to evolve those details to optimize implementation details when your performance needs change.
First thought was he saw this: https://www.youtube.com/watch?v=uHt01D6rOLI&ab_channel=JomaT...
This makes a lot more sense to me. Source and sink. And I think illuminates why double-entry is confusing to non-business individuals, because we don't tend to think of Accounts Receivable for our persons.
Whichever team of SRE is on rotation hopefully will get some extra cool-off time.
I guess that's the idea I'm trying to explore.

I'm with you that, in theory, I see a value proposition there but in practice it's pretty thin. I remember using delicio.us to find out some interesting links based on some interesting peoples account, but it was very limited and I obviously haven't used that feature in years since delicio.us shut down.

So the "share" feature is useful, but not useful enough to warrant either a centralized entity to make enough money to keep the lights on or create decentralized version for the community?

I have a home-grown note taking/link saving facility that just so happens to be public facing because it's easier for me to keep it public than to worry about logins and such but the audience is very clearly focused on one individual, me.

I do wonder if there are other people that would actually use this type of service for it's community/sharing potential. Is there something adjacent that adds value?
No, this is nonsense. You don't write the test coverage up front!

You think of a small chunk of functionality you are comfident about, write the tests for that (some people say just one test, i am happy with up to three or so), then write the implementation that makes those tests pass. Then you refactor. Then you pick off another chunk and 20 GOTO 10.

If at some point it turns out your belief about the functionality was wrong, fine. Delete the tests for that bit, delete the code for it, make sure no other tests are broken, refactor, and 20 GOTO 10 again.

The process of TDD is precisely about writing code when you don't know how the program is going to work upfront!

On the other hand, implementing a well-defined spec is when TDD is much less useful, because you have a rigid structure to work to in both implementation and testing.

I think the biggest problem with TDD is that completely mistaken ideas about it are so widespread that comments like this get upvoted to the top even on HN.
thanks - fixed: https://github.com/supabase/supabase/pull/8492
Never trust user input. If a user input value will be used on a page or email or other output, it will be abused once this is discovered. You must sanity check.

Edit: this was already pointed out downthread. Missed it before I posted.
> If we assume as true that consciousness/self-awareness requires others to arise in the first place—that your own model of yourself is an outcome of modelling those around you (since that implies modelling their model of you)—then it seems not such a big leap to assume that taking others out of your life, becoming a leaf node in the network so to speak, would lead to various negative effects.

I think this assumption needs further justification given that I'm conscious and self-aware even when I'm isolated from others, and there are autistic children lacking theory-of-mind while ostensibly being conscious and self-aware. I don't see an obvious link between these things.
No, oppression being necessary for development is an observation from history, which is true for the majority of the world's leading national economy.

It's different from a political ideology. Because such observation does not justify the oppression, unlike hitler's case.

But ironically, your own comment is indeed a prime example of your own ridicule: poorly informed individual making shallow derogatory snab without consecutive feedback.
>I've worked with guys who have never written a single test yet ship code that does the job, meets performance specs, and runs in production environments with no issues.

I'm curious to unpack this a bit. I'm curious what other tools people use other than testing programatic testing; programatic testing seems to be the most efficient, especially for a programmer. I'm also maybe a bit stuck on the binary nature of your statement. You know developers who've never let a bug or performance issue enter production(with or without testing)?
> Crompressed hydrogen is way too big and dangerous ..

The linked company appears to be able to handle this. Although there aren't that many installations of their system. (Which is probably due to the system not yet reaching break even soon if at all, because energy is still quite cheap.)

As soon as an ammonia fuel cell is available as mature tech, ammonia will probably be the storage of choice for large scale systems.

But for residential storage hydrogen has the advantage that an electrolyser is comparatively simple mature tech, while ammonia synthesis probably won't be soon if ever.
> There is a constant need of OTP for every transaction. That

Not necessary - My UK bank (Monzo) allows FASTER payments without a OTP (the UK version of this that has been around for about 15 years) via their app.

You just sign into the app, put in the bank account number you are sending it to, sort code and recipients name, it verifies you with Face-ID then sends the cash.
I don’t drive and live in the city. I walk everywhere and have a smart lock - I don’t carry wallet or keys some days. Why would I need a wallet?
> it shouldn’t be hard to randomize the ordering of choices for every question

This article works equally well for guessing A, B or D on every question. The problem isn't randomization.