skysight-inc/HackerNews huggingface dataset:
I have a list of widgets and a button to create a new widget. I don’t want a full page reload when I create a new widget.

What are some elegant strategies for handling this with SSR?

I’ve used turbo links and found it rather clunky. Haven’t seen a solution that lets me elegantly reuse server side components in JavaScript without going SPA.
Yes. I've found it an uncommon answer, even with first-tier physical sciences and astronomy graduate students. US cultural convention is yellow, and apparently red in Japan. Lots of orange answers. Astronomy misconception is yellow (the the white point for naming is blueish), plus assorted "and orange"-like noise. Non-astronomy physical science grads are... creative, with misconceptions of light and color a common mode. A nicely disruptive follow-up question is "And what color is sunlight?", setting up a "white" (dominating answer) vs whatever-they-just-said-for-Sun conflict - juxtaposing two rote-memorized bits that they've perhaps not rubbed together before.
Tor, Bittorrent, Bitcoin and IDA Pro are all fascinating technology. Guns are also fascinating technology. The world has gun control, but not software control. I agree with your parent comment that we need to stop letting dangerous knowledge and (even worse) ready-to-use tools be spread openly.

As far as I know, at least Hex-Rays screens customers very carefully before selling IDA Pro.
Awesome - thank you! That link didn't work for me, but this works: https://github.com/GhostText/GhostText
Reminds me of the United State's lockdown of Middle Easterners, and the surveillance police state that got legally empowered by post-9/11 doctrine.
I use vimium on Chrome. Love it - can barely use a browser without it these days. It's worth using alone just for the ability to easily click links without ever touching the mouse.
They don't need to show you ads in their apps. They just use them to collect your data, like where you are every moment of every day and use that data to better target ads.
For sure. I was pointing it out more for interest's sake than as a serious point of comparison for fixing your washing machine. Still, even there I'd probably be relatively careful, because flooding your kitchen isn't so much fun (bitter experience speaking there, although fortunately the kitchen is at ground level and has a concrete floor under the lino so no serious damage done).
Erlang has an explicit concept of processes and supervisors,and communication by message passing. When a worker process dies, the supervisor is made aware of it, and upon receipt of the message, can decide what to do. In some cases that means restarting the worker to some known good state (turn it off and on), in others just restarting a generic worker (a web server, for example), and others, the supervisor cannot recover on its own so it crashes itself and lets its own supervisor do the same exercise. It also has a notion of hot code reloading, which can go and change process state to satisfy the new software requirements of the new app version (think upgrading a telephone pole remotely).
Seems like you're just looking through the nostalgia filter.

We're in a lot better place than we were a decade, let alone 2, decades ago.
I'd genuinely love to hear your analysis of the American surveillance state.
re: environmentalism & "fast fashion"

There's an opportunity in there somewhere.

What if clothing were made to order locally?

I've been pitching the idea to any one who will listen. Many makerspaces already have stuff for textiles. Kids these are really into cosplay, crafts, homemade. Outside of a few STEM hubs, there's excess warehouse space AND untapped labor.

Etc.

The pendulum swings back.
You probably don't need a single-page app, right up to the point where it's a business requirement and you have to translate a GB worth of convoluted JSPs into one because the client likes smoothness in their flows, continuous saving, and all those nicely choreographed state transitions you just cannot get without having a framework hijack the History and File APIs from the browser's paws.

Yes, a nice state machine-like flow with each thing happening only once at a given time is great, right until you get asked to make it so that clicking on a thing shouldn't reset all user input, and progress of a task should be communicated live, maybe while we also we want this app to just not show a blank screen like, ever, just comes and happens to you and that's what you kind of have to do now.
One of the biggest reasons I reach straight for React is that I then have only one UI language. Instead of templating on the server in python or c# and then doing any UI updates in javascript on the client, I only have to write templating code in React and it runs on client and server.
The iMac isn't even that great for aesthetics, at least if you VESA mount it and have a decent amount of external gear connected. I have the VESA-mount model of the 2017 27" iMac, and I end up having a bunch of cables hanging down that I wouldn't with regular displays. Additionally, I find it difficult to rotate the display into portrait mode because of all the cables attached, so I don't bother even though I'd occasionally like to.

If I had a separate monitor, I'd only have at most two or maybe even only one cable running to each display which would be easy to tuck away within the mounting arm. I'd be able to have most of my cables tucked away instead of the exposed mess of cables I have with the iMac.

To make things worse, they don't offer Target Display Mode like they did for a short while, so I can't use the iMac's 5K display with any other machines (e.g. work laptop when I work from home).

If I were buying today, I'd get a Mac Mini (and maybe an eGPU if I ended up unsatisfied with the built-in GPU), and just use my old 30" 2560x1600 monitor or get something like a huge 38" ultra-wide display (the 27" 5K is very nice, but HiDPI isn't a game-changer for me). In 2017, the 27" iMac appeared to be the best desktop Mac option (user-replaceable RAM up to 64GB was a huge factor), and I don't regret purchasing it, but the integrated display with no Target Display Mode is a massive disadvantage.
What’s frightening is that most people agreed with his views, but weren’t willing to commit to them because of practicality. I of course am one of them.

Decades later, I think we are still at a point where following his ideas come at a very steep price in performance and day to day usage.

For instance any dev that touches an iOs app in any way or form (even if it’s just to run in on test devices) is better off with a mac.

There’s ton of prevalent android apps that won’t work without the Play Store, and even rooting the phone is already seen as an hostile act from many vendors.

The list goes on and on, keeping hardware or software free is still an insane move that needs sizeable sacrifices. And it’s scary there’s no indication of the situation to change for the better.
This. SPA for normal website, which required SEO, is pretty much overkill. When SPA actually applicable, SE are not allowed, let alone optimise.
MINAR FACT AND HISTORY
So that's why Dolphin crashes under OpenBSD by not having enough free RAM?
China's population was 1.386 billion in 2017.

Do you mean 10% of the subpopulation pertinent to the region?
Glitch is pretty neat: it’s sits somewhere in between something like Codepen and something like Github, with some nifty VCS features that new programmers don’t have to think about.
Congestion Prediction with Post-Brexit Border Delays (2018)
One of the few places I donate to every year and will continue to do forever. I use it constantly and I'm amazed every time I find some old site that I thought was lost to time. These folks are doing truly important work.
I sincerely hope you can continue as you've been doing, but as you'll see from many testimonials here at HN ageism in tech is a real thing, people's reactions to you will start to change as soon as you "look" old.

Most of the ageism applies to FT work at Big Tech Co but IMO it sadly applies to solo, independent devs as well since 50% of it is how you market yourself, and "old" will equate to "out of touch" in too many people's eyes.
Ken Nordine, Chicago creator of ‘word jazz’, dies at 98
I think the definition is a bit murky there. I can do a _lot_ of things on a Reddit page without a refresh: add comments, delete comments, edit, sticky, report as spam, save, hide the post, view the contents of the post (if it's an image), crosspost to other subs, etc. I understand that a true SPA would never require a refresh for anything, but this comes pretty close.
So strange to see this here as the societal role of horsemanship is an area I'm studying as a side interest.

Whether the resolution of this question lets us extrapolate a general principle of technological determinism, whereby an invention topples a global order in place for centuries, it's an interesting anecdote, but I don't think it's a strong foundation for a heuristic we could apply to say, a text editor, cell phone, or a lambda function for that matter. We could use any of these things as the beginning of a post-hoc narrative explanation for a perceived historical change, but causality is weak.

However, if you are really interested in how cavalry works and would like to reason about this question, I recommend former games developer James Kingsley who has some great videos on it. He can actually ride, so his videos are a more serious investigation instead of just the speculation of a talking head on a lark.

https://www.youtube.com/playlist?list=PLEdnpoTDGX7IcHAPCjTs5...

Short article about him: https://www.bbc.com/news/business-39851253
Looks like tribalism so far. Signalling group membership and other kinds of virtue signalling, probably overriding rationalism and evidence.
>Now I'm not sure a professional can keep up, without specializing.

Professionals get maintenance manuals from manufacturers. They tell them how to unmount the broken part, and then say "OK, now buy a new one." No oscilloscopes involved.
I think there is an important distinction. Back then, it was all on the PC, which had several hard-fought battles to keep that platform open. Today's main-stream computing platforms (other than PC) are not as open. Replacing the operating system can be impossible. Installing applications outside the designated channels can be impossible.

Smartphone manufacturers can and do have absolute control over the software you run on your device. That was not true in the 90s.
You can already run whatever commands you want when creating a Docker image, including your own shell scripts. It isn't clear to me why one would want to use this.
And..."On average, hunters spend 12 hours searching for each snake they catch"

So, probably better money than driving an Uber, but not by much.
I believe they were referring to Xinjiang's population (~21.8 million)
[checks the score of other mammals]

LaPorte man arrested, accused of licking toad in restaurant parking lot https://www.wndu.com/home/headlines/LaPorte-man-arrested-acc...
What brand of jeans lasts 15 years? My Levis' jeans don't seem to last more than about 5 years. After that I have to patch them.
I spammed my friends when I tried to copy & paste title from the web page. It seems when I copy I actually get some extra spammy content to my clipboard. In my opinion this is also toxic.
second vimium. It's not quite as hardcore as vimperator, but at the end of the day I don't really find myself missing it too much since switching over. vimium also has (IMO) better defaults (alphabetical vs. numeric link highlighting, bigger distance traveled with hjkl navigation, etc.)
I took the sentence from their website. I will apply if they are open for negotiation. Thanks.
I loved Vimperator and switched to Tridactyl as soon as Firefox forced me to.

It's great, but I am currently missing 2 features. First, in Vimperator you could tab complete URLs with the open command and then edit the URL. Second, you could build lots useful commands with Vimperator. I had one for flipping the proxy to a SOCKS one, and another command to do site-specific searches with tab completion. That is, type s, write and/or tab complete a URL and type the search. I would then submit a query to Google with the appropriate site:url operator.

Are any of these possible in Tridactyl right now? I haven't been able to reproduce any.

It's also annoying that lots of special Firefox pages, like unable to connect, steal the focus from Tridactyl and you need to use actual shortcuts from Firefox to find your way out. It kind of breaks the flow, but I understand this is a limitation imposed by Firefox with their new plugin architecture.
There was a point when Photoshop wasn't well known, and people fell for all sorts of manipulated images all the time. Now, years later, it's common knowledge that photos shouldn't be trusted as evidence. These things are all cyclical.
Not skills. I meant more institutional knowledge, connections, reputation and advancement within a company. With solo dev you restart at 0 with every new contract.

You can definitely acquire skills freelancing. The question is, what is the endgame? What do you do at 50? If there are a lot of 45-65 year old solo devs out there I would LOVE to hear from them, have them share their experiences.

But my sinking suspicion is ageism in tech spans outward to include independent, generalist contractors.
Evaluation of Supposed Contemporary Existence of Carcharodon Megalodon (1998)
I will be sad if I ever need to spend significant amounts of time configuring docker, or any deployment system.
Pac-Man: The Untold Story of How We Played the Game
The State of BioWare: Anthem, Mass Effect, Dragon Age, and the Future
China could probably go much further. In America, you're shut down and surveilled for demanding systemic changes to the system (just try to build a movement in the United States for a change of government; see where that gets you). Much of that surveillance is automatic, and fed into police threat scores and FBI databases based off of online conversations (like this one) and other information (including financials, purchase history, social circle, etc).

Now, in the United States, if you want to disrupt some other kind of corruption (say, farming industry practices around the treatment of animals) - this will get you on terrorist watchlists, and the FBI will infiltrate and seek the arrests of that behavior as well, enforcing the strict relationship that wealthy families have in the enforcement of American societal structure.
Native has downsides too, like having almost zero control over the client and being unable to link other people like you can on the web. Just a bunch of silos by design.

Native is only a trade-off that has great performance at other expenses.
Looks like.
The Atoms with PowerVR were also put into netbooks, i.e. into a class of hardware, where you would want to install some Linux distribution.
Real Madrid boss ‘gives up’ as Chelsea close in on £75M Isco signing
I've been using Tridactyl with ff quantum for quite some time now and I think it works extremely well. I make a few tweaks to the keybindings and I'm off to the races.

I personally like that Tridactyl adds fast vi emulation without making changes to the firefox interface. The only problem is that vi keybindings don't work on some pages, which is why tridactyl includes its own new tab page.
VCS, what performance benchmarks needed to agree to Founder Friendly Standard?
Then you aren't benefiting from React at all. The point of React is DOM diffing, which you trigger using setState method.
> how do you deal with bad estimation?

I think in part it depends on the type of client you're working with and the type of relationship you're building.

Non-tech/software clients (ie a business paying for custom software they're going to use themselves) care a lot about the total cost of $features, and often try to manage risk of cost overrun by treating estimates as part of the contract with the developer (even if it wasn't a fixed bid contract), and will hold you accountable to the project milestones: eg they don't care why things are taking longer - 'you should have considered that risk in the estimate - it's your fault'.

Tech customers (ie a software licensing or sass company) that use contractors to supplement their internal workforce usually understand the variability better, think of the contract more as buying the (expertise and) time of the developer, and they're managing more of the project and risk themselves. When things don't go to plan, they understand that many/most times this isn't the 'fault' of the developer, it's simply the inherent risks in the task being uncovered.

It's much simpler to arrange weekly rate contracts with the second type of customer than the first.
Not one of your downvoters, but some discussion: many countries used to have the concept of a guilty party in divorces and only abandoned it after a considerable buildup of painful experience. Divorces don't get less ugly when you force the judge to pick a winner.
The population of East Germany was 18 million in 1950 and 16 million in 1990. On the same order of magnitude. But I think it would be much easier for China to keep tabs on millions nowadays than the Stasi back then.
90% of the work in LHC physics is estimating the amplitude of backgrounds that look almost exactly like your signal process. Coming up with the "large booster" for classification is only a small part of it. So yes, machine learning is used, but no, we don't use it blindly like you imply.

As for throwing all the data away, the article you link to actually does a good job of explaining how this is done: we look at every collision with thousands of sensors before deciding whether to keep it. At this stage there is absolutely no machine learning anyway (just physics knowledge), so be careful blaming machine learning for any missed discoveries.
> I think ppl in the industry are way too young and have the bad attitude to nod add tools in their belt but keep only the last one that has hype.

The current culture is to only keep a job for ~2 years before moving on, why wouldn't they adopt that attitude?
Behold, the Facebook phishing scam that could dupe even vigilant users
Anyone selling/providing such a guide is probably deluded or, in worst case, a crook.

There could certainly be a guide to “creating a startup”. The “successful” part makes it a bit hairy though.
Even in the UK. Parents don't want to just throw out clothes, with their associated memories, so they try and pass them on.

We bought 6 months of clothes for our son when he was born, and have barely bought anything since, he's 2 and a half now, and has more foot wear than me.
How does this article manage not to mention a single actual example of ML-related misconceptions?? I'm sure they exist, but there is literally nothing here except some assertions and a plug for a vaguely remedial research line.
I look forward to a similar article saying "You probably don't need WebAssembly."

I mean, it's neat and all, but most websites aren't CPU-bound.
No, the number of papers is an okay metric, thr problem is that journals don't like to publish honest negative results
>> flew combat missions as a civilian (which is a bit strange.)

While a civilian, he flew solo missions as a fighter pilot and engaged the enemy. We have a term for this nowadays, "illegal combatant."
Exactly. And presumably the OP is young and healthy but as you get older you'll need a lot of doctor's visits for the entire family and if you want a GOOD plan, not just some garbage one that barely covers anything, it's extremely expensive.

But it gets to my overall point -- a lot of freelance devs like to bandy around big numbers like 250K without subtracting any of the costs or drawbacks.

For some people I'm sure the tradeoff is worth it but on balance a good job at Big Tech Co to me seems like a better long-term prospect than freelancing forever. But it's just my opinion.
The weird world of Chinese romance video games
For editing a URL - press space to fill the command line with a highlighted completion.

Custom commands are possible with `alias`, `js -p`, and `composite`. All are documented with `help [command]`, but there's probably room for improvement.

We haven't bothered to integrate proxy controls but I think it's possible. No-one has asked.
How about build-time rendering?

Server-Side rendering tightly couples your front-end to your application server. Scaling the site means scaling up that application server. A bug in one "page" of the app can cause the whole application server to go down.

If you leverage client-side rendering then it's easier to decouple your front-end from the back meaning you can take advantages of things like segregated micro/serverless services and progressive web apps. You can also re-use those services for multiple applications, making it easier to keep the business logic OUT of your pages and in an API layer where they belong.

I agree that SPAs are not the solution for everything, but I think that server-side rendering is on it's way out.
Wu-Tang Clan’s Bizarre Hip-Hop Fighting Game
And if the engine didn't need rebuilt, the frame was probably rusting out by 50,000 miles if you lived anywhere that it snowed regularly in the winter.

50K miles was about how long my parents' cars lasted. 100K miles was considered exceptional at the time and the owner probably babied the car and didn't drive it in places or seasons where it would be exposed to salt.
Definitely. Remember when the Snowden documents disclosed the Utah facilities keeping ~5 years of every communication record of every person, processed into the most actionable metadata, and the related capabilities to search and correlate the content, interrelationships, and signals implicit across those communications?

This is something that could only be targeted decades ago. Now its cost-admissible to run at scale - and to do so adaptively to improve the methods.
I agree - why criticize? to what end? there is no obvious right or wrong here, and it's a painful story either way.
Can you give a citation about ML being used this way and producing overtreatment? I'm aware of experimental results with e.g. Watson that were first overstated and then rejected, bit that seemed like a situation where an institution experimented with a poor use of ML and successfully rejected it, not where they falsely accepted an ML result.
This is a false equivalence. Your second paragraph is just conspiracy theory. "It's all same" is cynical and unintelligent attitude.
The article strangely seems focused on works written in French, but I think English perhaps have an even richer popular science or 'Natural History' literature from the 19th century. I have heard good things about "Treatise on Natural Philosophy" by William Thompson(Lord Kelvin) and Peter Guthrie Tait.

Another one, Charles Lyell "Principles of Geology".

Gilbert White "Natural History of Selborne" and Izzak Walton "The Compleat Angler" also.
Since programs are only permitted read and or modify addresses within allocations handed out by malloc, they are oblivious to the merge process as pieces of another page are copied to virtual addresses near an existing allocation in a page they are accessing

So long as mprotect() is used to ensure the source page is stable for the duration of the copy and until the mremap() is complete, it should not be possible for the program to observe any difference in behaviour -- except perhaps if it tries to modify an allocation on a page that is currently being merged by malloc() running in another thread (presumably they have some kind of SIGSEGV handler to catch this)
Apple makes more than $10 billion per year on advertising just from one deal with Google alone. Microsoft has $7 billion advertising revenue.
If you were confident about the solution, you could have offered to do it for a fee or ask him to gift it to you. That could have been an easy sale.

Also, a lot of people complain to generate conversation, not for the 2nd opinion they get.
I use the CLI when I use it (mind you; it's largely for CTF style questions most of the time).