skysight-inc/HackerNews huggingface dataset:
This is underdiscussed IMHO. I refer to the render function calls as "the way down" and then after everything is mounted when React starts calling the useEffect callbacks "the way up".

Many applications suffer from the waterfall rendering problem but even for those that don't, if they are large, they will absolutely want to kick off network calls on "the way down". You can easily add a ton of time to LCP by waiting to kick network calls off until the tree has mounted.

I actually go a little out of my way to make sure as much of the tree as possible can render and mount with missing data. This way the work is occurring while data is fetching in parallel, and then a minimized number of components need to be updated once the data has arrived.
They do it to make money without having to pay tax. Which is not quite a middle finger to the state, but it's certainly middle-finger-to-the-state adjacent.
Totally understandable, Chat GPT Plus is the most expensive subscription I ever had.
There is no such thing as "saving money in cloud".
It is all about convenience and it always costs more than a smart team could achieve elsewhere.

I tend to hear an argument that it is cheaper since you do not have to pay people to maintain those services, but in reality you still need that person to set up and maintain your particular cloud setup. And the services themselves are much much more expensive than maintaining your own servers in a data center.

In my opinion cloud hosting and services are more meant for large corporations where no one wants to take responsibility and is scared of doing anything. Cloud is a nice way to shift the blame if/when things go bad - "but cloud is industry standard, everyone does it".
It's good that they chose to continue support for code-davinci-002 (https://twitter.com/sama/status/1638576434485825536?s=20) but it'd much better if they open-source it sooner or later as even OpenAI didn't expect that their model is being widely used.
Counter Strike isn't trying to create a cinematic or spooky atmosphere. It is a multiplayer FPS first and foremost, and being able to quickly identify players is the most important priority of level designers. A lot of tweaks over the years have been done in the name of readability.

CS2 seems much better on this aspect than CS:GO.
The Moscow metro is not just for vanity - the nomenklatura don't take the metro, the people in squalor do...

Besides it is irrelevant for the topic - say you are right, then you are still admitting that even a corrupt country that constructs public transport only for vanity can do it at 10x the speed and 0.1x the costs as we can...
There are two main ways to implement a programming language:

A compiler transforms the source code into another language. This is usually executable machine code, but it can be another language for which an implementation already exists.

An interpreter is a program that reads source code and evaluates it. Interpreters are typically simpler to implement than compilers, but there is some overhead involved with re-reading the source every time the program is executed.

Many languages adopt a hybrid of these two - for example, Python code is compiled to Python bytecode which is then interpreted. Some languages have both interpreters and compilers available for them.
I think I disagree, or at least we might disagree on what operations are common in React.

When I have seen useEffect used, it's most often uneccesary. People are using it to create dependent state (ie. when x changes, then recalculate y) or to handle the result of an event.

It's really only needed in components that handle fetch responses, which IME is much fewer than 99.9%.
Is this good PR for the VPN company? Aren't they admitting they snoop on what userd are doing? Isn't that undesirable in a VPN?

"Use our vpn! We record when you're watching porn!"
Would’ve been nice to say what Zapier is.
SEC Plans Lawsuit Against Coinbase
It absolutely is. But the article and the comments above mention that it’s more useful to have the mental model of synchronizing side effects with state.

It’s good advice, because it addresses a major stumbling block people struggle with. After that the code and the way useEffect is used becomes simpler.
I would believe it… UWP APIs can be really complicated and over-designed sometimes.
And the UK.
World Online Ranking of Best Computer Scientists – 2023 Report
Gambling is easier to understand than investments. That being said I agree there should be more regulation. You should be required to state excatly what expected value and variance is when you offer gambling games. Same with fees. "This slot machine pays off 45% of your bet on average and here is how often you win X, Y, Z" or "organizer of this poker game earns about 90% of deposited money in rake and other fees while the remaining 10% is cashed out by the winners".

It would be a better world if we had regulation forcing such disclosure but it doesn't mean that if we still don't have it for gambling we shouldn't have it for things advertised as investments.
I'm using radio silence for years and it is awesome :)

https://radiosilenceapp.com
> The difference is SF has amazing weather, some of the best in the world.

Did you mean the Bay Area, or SF?

Most of the Bay Area has fairly nice weather year-round. San Francisco though, has pretty terrible weather. Foggy and cold most of the time.
In Germany, private health insurance is the norm above a certain salary level (it's not actually mandatory but when you read about it online, makes it seem so). There is a hybrid private-public insurance option below that level.

It's common for employers to subsidise the private insurance at least.

And no, it's not messed up like in the US, although it's a large expense by European standards/cheap by US standards (the insurance companies raise the rates every year, and are protected by legislation in doing so, a bit like a utility company).
Water Hole (Radio)
What if someone's else profit is due to economies of scale?
Unfortunately, if you're on a multi-user computer, MacOS networking (as far as I know) prevents Little Snitch to pass the "wife acceptance factor". Every rule/block I set in LS, applies to all users on the computer.
New LHC experiments enter uncharted territory
Boost Supply Chain Transparency with “Software Health Indicator” – Free for FOSS
He's lost his ambassadorship (at the request of the US govt) recently. It was quite obvious that pressuring Grenada to drop their protection was the precursor to filing charges.
I have done declouding. I have been preaching not to lock in for years. If your need is a number (as in money) for next month or quarter the reality is that servers, no matter how expensive or miss used run your business, people should be growing it.

I also survived the bubble. I'll be candid, a lot of people got laid off, many left the Bay Area. The folks that were left were survivors. They were willing to work hard because they loved what they did! Not only were they passionate they were smart (mostly).

If you aren't passionate about what you do, if you don't love it, you might be out on the street. Your boss is gonna sit down with a spread sheet with a list of names, and a number beside each (your salary). They are going to have to find a number that has a lot of zeros on the end of it (million or more)

The person who stayed late, did more, who brought solutions, do you think they are going to get cut?

If your product isn't making money do you know what is going to happen? Your whole department might get the axe. If your bosses boss (etc) knows your name you might get spared!

If you are passionate, and jobless then I highly recommend spending one or two days a week doing side work, or developing your own app. Any income is going to be better than none when your unemployment runs out.
> If you want innovation to continue in the USA you can't expect companies to wait decades until the government has decided what is allowed and what isn't, they're just going to setup in other countries instead.

Innovation like South Korea's Terra Luna, Bahama's FTX, and (region unspecified)'s Binance? What would the US do without such "innovation", the horrors!

> The USA was founded on freedom and the ability for people to innovate and create.

Including creative legal solutions that circumvent laws, I assume? I have been involved in an early crypto project in the past, and the way the "token"s are created is by first making them as digital securities, and then adding enough "utility" to give it plausible deniability under the Ethereum defense (something with enough utility may not be a security.) This process generally takes multiple rounds of back-and-forth between the "devs" and the lawyers. However, these tokens act like securities, people buy them as if they're securities, and they are dumped on the market by early investors and devs like they are securities. Unfortunately, it's not fooling people anymore, and SEC can actually take steps on it.

> Coinbase points out in the post that it's been much easier to operate in every other country than the USA.

"Much easier to dump fake securities on the public elsewhere" is probably a feature of the USA and not a bug. I'm glad it is the case.
> It Wasn’t Just Credit Suisse. Switzerland Itself Needed Rescuing

Haha, and the rescue commes from US ?

Fear the Greeks...
I've always been fascinated with DHH. On top of his programming skills, and CTO of Basecamp, he drives the prototype class in the World Endurance Championship. Absolute beast.
Here is a snippet of code from the Verse screencast (linked elsewhere in thread) that demonstrates a new idea (or at least a new variant) with new power. Basically, you set up a bunch of constraints for the do clause, and if any of the constraints fail for any reason (including array index of out bounds), then the do clause is simply not invoked for that parameter space.

It's pretty elegant.

for:
Y->CellRow:Cells
X->Cell:CellRow
AdjacentX:=X-1..X+1
AdjacentY:=Y-1..Y+1
AdjacentCell := Cells[AdjacentY][AdjacentX]
Cell<>AdjacentCell
AdjacentCell.Mined?
do:
set Cell.AdjacentMines += 1
As noted elsewhere in the discussion, the EU tends to come down heavily on companies who violate the spirit of the law like that. Not to say it won't happen, but high profile examples will be clamped down on like Apple with the USB-C trickery.
Any lefties wanna chime in?

Love the charm of a fountain pen, convinced my left-handedness would hamper the experience greatly.
If you have a business which pays fortnightly and the average employee makes $250K, then just payroll for 26 employees will reach your limit.
We're also getting out of the 2008/Xbox era of FPS design where everyone was going for a gritty, brownish Desert War realistic look. Think early CS:GO or Gears of War.

Finally we can return to having some colours on ours screens other than dark yellow and brown.
[allow shooting yourself in the foot] in a good way
I really think you strawman to the extreme with this. I’ve never met one of these people, but on the internet they get made up because they need to exist in order for posters to feel so justified and unarguably right in their political opinions.
I trust my tab manager because I wrote it myself.

https://addons.mozilla.org/en-US/firefox/addon/grasshopper-u...
I am amused that they call the Monotile an "einstein" ... because that is German for "one stone".
> People commuting into cities spend money at businesses within the city.

People working from home are spending money where they live. I do not think it is somehow superior when all business is concentrated in one place rather then scattered around.
Their GitHub is active, and they have a Discord. I don’t do Discord, but if you do, you could probably follow their progress on there.

As of 2020, graphical app support appeared to be basic but somewhat functional: https://github.com/darlinghq/darling/issues/657

I agree that GUI apps are the real use case here. Honestly, reversing and recreating the MacOS APIs is such a mammoth effort though, I can understand why progress would be slow. Wine faced a similar struggle, but also had an urgent need driving it: we needed Win apps to work to make Linux viable for most people. That’s less the case for Mac apps, so Darling is by necessity more of a passion project.
You logic is hard to follow. Can you explain why Ukraine suddenly invaded Ukraine, annexed Crimea, started to bomb Ukrainian cities and how Russia was involved into all that?
Its not a problem, because putting a small number at a low end will hurt the ad itself
Might be that hacker news isn't the intended audience, but the blog's readers are.
Yeah, that does not seem like an important issue.
> Never include any user-input text in welcome emails, or any other type of emails triggered by submitting publicly accessible forms, where the receiver’s email address is part of the submitted data.

Isn't it better to validate input data? If you don't do it you can have bigger problems then sending spam, regardless if you use user input data into welcome emails or not.

It amazes me to see the kind of code at some startups. Such code would never pass manual testing when working for a software company. But likely it won't reach testing phase because it won't pass code reviews.
There is also a new client on the way that ditch electron completely.
> Because if people wouldn't be willing to spend to pay the cost of an airplane ticket in perfect market conditions, then them not buying a ticket is the optimal allocation of resources.

Sorry, you've lost me. How do you define perfect market conditions?
This is a competitive post par excellence, for politeness, accuracy and still doing a great job of demonstrating fly.io's key competitive points vs MRSK.

I'd love it if all 'vs' and competitive marketing was this good.
This is why we need a lawsuit against them. They’ve harvested everyone’s data unlawfully to train their model and now they’re cutting off access to starve the competition.
The CRC is at the end, sorry if my explanation did not make it clear. It comes after all of the payload bytes.

https://en.wikipedia.org/wiki/Ethernet_frame
> The lack of worker solidarity in tech is really astounding.

It's because those that are overpaid relative to others in the industry are very aware of the situation.
Sometimes these types of routes are very inconvenient and/or cars are already using them to try to avoid the main blocked roads.
> (along with the cost of the money you used to pay for them, which is very cheap for most large banks)

Why should depositors leave more money than they need for short-term working capital in the SVB at 0% when a Treasury bill pays 4% with less risk? When all rates were roughly zero, it was easy to just lazily leave everything in the bank; but when rates increased, the reward for leaving and the risk of staying (because the bank is now mark-to-market insolvent, and thus particularly vulnerable to a run) both increased.

When interest rates increased, the NPV of the SVB's assets decreased. Someone had to take that loss. Their managers and shareholders presumably hoped that would be the depositors, by leaving their money in a risky bank earning interest below the risk-free rate, slowly accepting the loss over time. The depositors had no economic incentive to do that though, and they didn't.

For emphasis, the SVB's problem isn't that their bonds are trading at irrationally low prices due to liquidity problems (i.e., a "fire sale"). The market price for their bonds has behaved exactly like a textbook NPV model, and similar assets trade with normal tight spreads; the price is just lower than they wanted. Hold-to-maturity accounting allowed them to ignore that for regulatory purposes, but accounting doesn't change reality.
If you came here after only reading the headline, you missed what the complaint is actually about:

It's not that GPT-4 is closed source. It's that access to `codex` model was pulled with only three days notice, and the model itself was not open-sourced. Since apparently a large number of researchers were writing papers which used that particular model, that means all of those research papers are now non-reproducible.

An obvious thing to do would be to either open-source older models (including the weights) when retiring them; or possibly transfer them to an institution who see their role specifically as serving as an archive / reference for this type of purpose. Open-sourcing older models shouldn't result in too much of a risk, either from an "AI Safety" perspective, or from a competitive perspective.
While that looks like a very nice chip, it still doesn't have ethernet or non-volatile storage, so it doesn't help with remote access or logging.
Can you imagine supporting Symbian S60 device today? With the security updates, vulnerabilities patched, etc.
Maximum entropy, maximum resolve.

That is also a brief description of warfare. That and perhaps “maximum attrition”.
Yes, I've seen this behaviour on quite a few sites recently, like they're running a bitcoin miner or something. Here's another example: https://zed.dev/
I have no idea what they're doing to slow my machine down to a halt.
MKV Optimizer: remove unnecessary audio tracks/subtitles from MKV files in bulk
This is the same article, rehosted under a different author name.
> so many WeWork clones

I'm in SV, not SF, but similar experience. When pandemic started was looking for remote office space and all these WeWork clones had outlandish pricing. Ended up renting from an individual office building owner, twice the space for 1/4th of the cost. Still there.
> Employees being termed "dependents" of the company is a big tell on Italy's work culture

In german there's a funny situation as well: The employer is called the "work provider", while the employee is the "work receiver". Thank you, company, for providing me with work.
Has SF really built much in the past 20 years? Comparing what I saw there with old movies it didn’t seem like it.
I think my gripe here is the casual use of “you might not need…”. It’s inspired by the “you might not need redux” article by Dan Abramov, but the difference here is that while you might not need Redux, you most likely will need useEffect. They’re just not same in that regard.

Maybe I’m just being pedantic here, but I think how you use words matters, and in this instance a better title would be “avoid unnecessary useEffect calls” or something like that. “You might not need an effect” is just poor (sloppy?) wording, because it’s usually objectively wrong.

The reason it matters in this instance is that with the current title I’m going into the article thinking I’ll learn some new way to do effects which is better than useEffect. But the article offers no alternative to useEffect. You will need useEffect.
I doubt if that's the norm.

It's their choice, perhaps they enjoy raising children.
Yep. IntelliJ's stuff is the only one that actually competes with VSCode - and the playing field is surprisingly even if you add the VSCode plugin ecosystem to it.

For C# Rider is still the gold standard in my book, but for Go I still prefer VSCode to GoLand.
In the past, we funded our work through consulting projects, but looking ahead, we’re going to offer a managed version for enterprises and charge per deployment or federation.

Interesting.

Flower seems to fit well for people who are sensitive about their data and don't want to hand it over to a third party, but this seems to move towards a model where they have to hand that sensitive data over to a third party.

Perhaps that still works for the bulk of users, especially commercial rather than government. It's difficult to pursue both a managed solution and simultaneously maintain an open source offering without one departing from the other.
> It's also weird, for someone not at all familiar with the problem, that the concept of a "tile" includes non-connected shapes

The base concept here isn't the idea of a "tile". It's the idea of "tiling the plane", where "tile" is a verb. You tile the plane with a shape by repeating the shape over it and covering the whole space without leaving any holes or causing any overlaps.

Once you've defined the problem as "tiling", it's a natural step to call whatever shapes you happen to be using in your tiling scheme "tiles".
I have this (totally unprofessional and mostly unverified) theory about liquidity in general: that it's a conduit and amplifier for many things, but chief amongst them is exploitation.

Highly liquid markets mean that value of one kind can be translated into value of another kind easily. Every time money changes hands, there's an almost unavoidable difference in the pricing each party does for the transaction (an example is the company of migrant workers offering to mow your lawn; each dollar is likely worth more to them than to you, so you can play with the margins to save a buck and they'll probably still take it). This leads to an asymmetry that creates an imbalanced power dynamic.

Put another way, liquidity allows the projection of this power imbalance. For each dollar you have, you can externalize so much of your costs. This is something you almost don't have to decide to do; because markets represent aggregated pricing power, you can take advantage of it simply by buying goods or services.

If you aggregate this projection over a large and highly liquid market, what you have is a massive shifting of externalized costs from the haves to the have nots. Insert picture of a fish eating a fish eating a fish here.

From this perspective, it seems as though the system as a whole is given to a collapsing instability, from first principles. I believe that what we've seen in terms of periodic financial crisis is an expression of this system being propped up by the actors at the "heavy end", despite it's inherent tendency towards catastrophic failure.

Which is why I'm always a little curious when folks start talking about credit collapsing like it would be the worst thing in the world - a global cooling of liquidity could very well be the thing that saves us, by cajoling the system into playing fair at scale.
Apple don't masquerade as a fruit seller. OpenAI started as a charity, took millions in donations, and have now abandoned their 'Open' principles.
Or TLC as the learning channel or History channel (assuming these still exist).

There are also lots of "Open Government" initiatives that end up being about making everything as opaque and confusing as possible. There were (are?) popular in the "big data" era, though funnily enough, if you watch "Yes Minister!" from ~40 years ago, there is a similar gag about "open government" in the first few episodes, so it's not new.

See of course Orwell, "we care about your privacy" banners, etc. People like to lie as blatantly as possible.
This is a footgun I found at a few Amazon internal apps recently. I was able to clear away probably 3/4 uses of useEffect--some of which I was guilty of adding.

Given how common this error is, there is definitely an unmet need. What people want is a listener, ie.:
- recalculate a var whenever a prop changes (this is what useMemo is for)
- trigger a function when a state changes (should be moved to the function that changed the state)
Sometimes we get so focused on the details that we lose sight of the big picture. It's not only easier to manage from an admin standpoint, but also more satisfying for the user. People like to have integration in their products, even if they are not perfect as standalone tools.
> Damodoran called cryptocurrency "currency made by the paranoid for the paranoid." [paraphrase] Let's be honest, cooperating with the government is not high on the crypto nerd's list of priorities. The "cryptocurrency" concept seems to be based on a mistrust of government-issued currency and a mistrust of government more generally.

Given the history of cryptocurrencies, that was indeed the base - Bitcoin really took off once Silk Road crossed the threshold from "only drug nerds know about this" to "everyone and their dog buys research chemicals on SR". Unfortunately, the best days of Silk Road were something like an Eternal September event, as people then discovered that Bitcoin might also be used for speculation...