skysight-inc/HackerNews huggingface dataset:
Is It Time to Refactor?
> Do you really believe that with a reasonable research effort we won't understand how to reprocess nuclear waste and/or accident debris within 50 years? We couldn't even fly until a little more than 100 years ago.

This probably requires a new kind of physics to be discovered and eventually applied. It's absolutely not clear how this should work.

Fluid Dynamics is Newtonian physics, Bernoulli equation already exists since the 17th century.
You don't need React, Redux, and other such libs, true.
But you're missing the point of them. It's to prevent the problems that cropped up after years of jQuery development.
Too many side-effects and poor state management lead to very hard to find bugs.

When you follow the redux (or whatever state lib) flow you prevent a lot of these issues.
Show HN: Creating mock back end with GraphQL
YouTube is a modern marvel. If you can use YouTube and can get your hands on the right tools you can fix almost anything.
I simply prefer them because I think their architecture is simpler than some frontend/backend mixed HTML stuff.

JAM-stack etc. just create static html/css/js and deliver it over a CDN of your choice, then hook into the services as you need them...
I pretty exclusively use .NET backends with VueJS frontends. You get all the power of the MS devtools for the backend, near total separation of backend and frontend logic, and then you get all the SPA benefits in the frontend. I absolutely love using SPA tools for frontend development (you just have to spend a year or so with them and really get comfortable, so maybe it's stockholm syndrome), but I can't imagine switching to a dynamic language for backend development.

I may switch things up once WASM is further along. I would love to be using C# on both sides. I would still want very clear backend/frontend separation though.
I haven't, but I have used Butterflow quite a bit and it tends to really break down for frame rates below 24 as well as fast motion, though sometimes it pulls through with the right circumstance. Some clips from really old cartoons might work, but probably not the entire cartoon itself without a lot of trial, error, and editing. Even then, one might be SOL for some parts of it.

One success I had with Butterflow was upping the frame rate on the Apollo moon landing videos. It looked like a home video! lol Unfortunately I left the results on my work computer before I left the company, but with the Docker image of Butterflow and youtube-dl to get the footage, you can experiment yourself.
My one hour exam final prompt was “Networking is useful, but explain the ethics involved in networking.” I answered with an essay about conflicts of interest in business while my friend wrote about file-sharing.
Review of the Code Book
https://www.elizabethblog.com.ng/2019/02/two-people-were-kil...
I just finished tuning up a White sewing machine and it blew me away how well built the thing was. Very well used but still works like a charm. 99.9% metal and made in Japan.
Once you know how to use the tools (Webpack with Hot Module Reloading, React/Vue/Whatever, Storybook, TypeScript), it is hard to work without them.

They offer a ton of advantages, especially speed of development if you have a clear separation of frontend & backend logic. If you can mock your backend & develop the front end all by itself without any other code needed, you can go at crazy fast speed. You are also able to focus on UX/UI without needing to think at all about the backend. I feel there is a ton of value in this, whether or not your app is a SPA or not.

I think tools like Gatsby will make building actual SPAs easier down the road. They offer huge speed advantages the longer someone is on the site. Though one could gain a lot of these with just preloading content & HTTP/2 as well. As the article said "It all comes down to tradeoffs". I would also argue what resources you have available & the value of speed on your site.
right, and that keyboard has a weird shift to try and accommodate the arrow. I wish it didn't. If I could pick row by row, I might spend more upfront due to cost of components, but not having to solder, and getting the "perfect" layout, I think it'd take off as long as it was stable.

It's one of those "I wish someone else solved this so I could spend my money on it vs. my time"

Thanks for the suggestions tho!
Wow, that the majority is Windows is a bit unexpected to me. Really shows how powerful and omnipresent Windows actually still is - something that is often forgotten when living in certain tech bubbles.

Linux with 11% is quite high, I like that. What seems lower then expected are the Mac numbers to me.

Thanks for sharing.
The solution is really easy. You just need to pay people for each dead python that they bring in.

And problem solved.
He's failing to factor in the cost of parts and remote hands hourly labour in his colo TCO.
Most of recent Firefox performance come from parelelization in servo.

Mozilla research said rush enabled them doing safe multuthreading.
If we're giving in to the whole 'Let's build lethal killer drones' thing, it seems appropriate that it happens in the USA from someone's hacky python project.
Yes, among a host of other things. Churchill said the world must be made safe for democracy while denying freedom to India. Great power is very corrupting.
Publish or perish is gone. The NIH is no longer the funding source of choice, now it is pharma or private donors. These people want large impressive datasets, not publications. You can rent out data to pharma without having to publish anything. These don't even have to be useful datasets, mere size is enough to make them valuable to greedy prospectors with lots of cash. Then they can plumb them for bunk results ad infinitum.
.NET is not that simple either, you are just used to it. Beginners will think it is confusing with .NET, .NET Core, .NET standard for example.

There are many options in the front end sure but when you just pick something and learn it then it is not very difficult to get started.

Just start with for example just React or Vue and don't add any state management. Create the apps with their CLI and follow the tutorials on their homepages.
He was saying that renewables + batteries are cheaper than building new nuclear powerplants. This doesn't imply new renewables + batteries would be cheaper than continuing to operate existing power plants (most of which are not nuclear, and all of which have their capital cost sunk so it shouldn't be counted), which would be required for your inference of "rapidly displacing all energy production in the US".
On the one hand, site like https://dev.to/ that are built in Rails and rival the speed and performance of any _static site_ support the argument that you can just use the tools you know.

On the other hand, to get your Rails site to function that well takes a lot of work - it is by no means the starting point.

Systems like Next.js and Gatsby.js and others are attractive in that A) they offer the ability to use both server-rendered and client-rendered React, and B) exceptional performance is the starting point. It's up to you to slow it down, not speed it up.
React, Redux and other such libs solve the problem while overcomplicating the programming model. My point is that 99% of applications don't need the complexity introduced by surgically making the smallest possible change in the DOM to refresh the page. There are simpler libs out there that eliminate 99% of the complexity of React, Redux etc while providing 99% of the benefits.
Agree with the article. I find server views to be substantially easier to work with.

But more importantly, I also find server view rendering to be a faster, better UI experience. It's really frustrating having to wait several seconds for a SPA to load, or to have unexpected behavior when clicking the browser back button, or failing completely because some random hunk of JS garbage errored out, and it's one of the big contributors to why I don't really like using Facebook or Twitter anymore. They murder my browser with megabytes worth of slow SPA crap to give me less than a few kilobytes of meaningful data (and/or people screaming at each other). Gmail now takes 10-20 seconds for me to load at this point, on my high end laptop. I just want to switch to HTML mode by default.

I definitely get edge cases like Slack, but honestly don't think SPA has been a positive development, overall. I think the web was better as a document/HTML oriented design.
A Hall sensor is 10¢, you’ve overpaid 100x for a brand name part :)
I know. I'm not debating the merits of it, I'm just saying it wasn't a popular diet for the average Joe until recently.
But configuring webpack is usually just an initial set-up cost. I've never had to go back and rejigger webpack once it's set up. You might have to touch it again if you make major changes to how you serve assets or something, but these one-time costs are part of development.

> Going the hybrid approach is choosing to deal with the problems from both worlds.

This is true of any technology. Every framework, language, library, etc. comes with a cost in setup, design, maintenance, etc. For us, the cost of dealing with problems from both worlds is much, much lower than trying to shoehorn a SSR app with SPA-like functionality. By limiting the size and scope of the SPA, you avoid a lot of the really hairy state management problems that can arise when an SPA is trying to keep track of too much state.
Most come from concurrency.
Rust make them easier.
To be fair, "IR" isn't a universally agreed acronym for International Relations. I for one hadn't heard it either.
To add some use cases where an SPA would be the favorable choice:

- Web-tech front-end for an embedded device. The device, which often has very limited CPU cycles, is not burdened by rendering.

- Apps that are intended to be running locally and on multiple platforms (e.g. via Electron), as well as in browser.
Did he have to drop $2000 in cash to buy it, or did he finance it (either directly or indirectly)? He may have said "Huh, $65/month; I can afford that!"

I'm not picking on your friend specifically, just pointing out one factor that can reduce the immediate friction of people buying new stuff, instead of trying to fix the old.
I'm not sure I understand why browsers getting closer to native apps ruins anything for anyone else. You're still able to hammer your nails however you want.
If it's literally killing people I wonder if over a long enough time natural selection would start kicking in and people with less need for others would survive.

The future is tiny psychopaths everywhere!
that's what I understand the law to be in my country.
You don't get much simpler than Redux.

And React by itself is very simple, you don't even have to use JSX. It's a great templating library, with great documentation and a huge community.
I take your point: the trashed refrigerator may be a heavier environmental cost than the plastic bags.

It is best if we both recycle and fix the refrigerator. But doing either is better than doing nothing. In other words, arguing that one good is more effective than another good doesn't mean that it isn't admirable to do only the smaller good.

Many of us up here on Hacker News are good at fixing things. But some of us might be less skilled in other areas, such as organizing political campaigns or working in the medical field. It's easy to criticize someone for not doing something we find easy, but it is harder to see how they might be skilled in areas where we struggle.
Dave from EEVblog does that a lot, found a new fancy 4k TV in the trash, managed to fix it by reflowing a single chip, works like a charm now.
Yeah, the user experience with current ad blockers is that browsing is way faster then without an adblocker. So anything Google states here is dodgy at best.
Interesting move.
https://en.m.wikipedia.org/wiki/Cobra_effect
I did not know. Thank you for clarifying. Your second sentence is quite impolite. Clearly I have an opinion on international relations. It might be misinformed, poorly stated, foolish even but it’s clear I have an opinion.

I suggest it would have been better to say, “You know, that topic you are posting about in a rather misinformed way.”. And then gone on to state how it was misinformed. As it is your post comes across as angry/bitter. Like you have an ax to grind so to speak. You sound extremist and I get the impression that you think I think of Trump as some benevolent leader.
Hardware hack I know
I happened to watch a conference talk on YouTube by the director of infrastructure at Netflix. He closed it out by saying, yes we open source everything, and yes this solution works for us. But just because we do it doesn't mean you should. Do what works for you.

But in reality...I only need it because people on the other side of the interview table expects every engineer to have 3-5 years experience of x,y, z.
Thanks to the Internet everyone thinks engineering and manufacturing is all about "planned obsolescence". Consumers want to blame the maker for the cheap product they bought instead of blaming themselves for only wanting cheap products.
I don’t think this is about edge cases but SPA have been abused. Imagine using google docs as a server rendered experience. Or any of the apps in iCloud.com. There are use cases where it makes sense and use cases where it doesn’t.

Most of your complaints are about poor implementation but if a large percentage of people poorly implement SPA then it still looks bad. I used to say you could make a very native experience with a hybrid web app for mobile. While this is absolutely true, most people don’t pull it off so I get the critism.
... or inline all in one html on server side and send it down at once?
Performance is the reason for blacklist size limit.

The reason for not allowing intercept the connection was security: the current API allow the extension do many kinds of mitm
The other side of the coin is seeing someone identify an "easy fix," have to spend hours reading about it, buying tools to accomplish it and having to do it several times and maybe never get it quite right.

I've seen this many times.

Sometimes the right answer is: get an expert to look at it. You don't need a $2000 fridge, but you may need a $200 repair job to get it done fast and right.
Chrome is the new IE. I work at a well known tech company where majority of internal sites don't work with anything but Chrome.

Its so frustrating.
I believe the standard for restaurant food is that the food itself should be 1/3 of the purchase price. Which looks to be right on target, since I think a burrito at least around here is usually about $7.50
I think dev.to is an SPA. But not built with a framework.
Feel free to reach out to me if you want to chat. I've explored a lot to deal with depression I had throughout my life, and some novel, not mainstream practices/therapies helped significantly - matt@engn.com
The article addresses this, you should read it.
>You don't get much simpler than Redux.

Not true. With Redux you write reams of actions and reducers and other such unnecessary crap in the name of state management, when in fact most client apps don't have state, all they do is fetch data from the server, display it, send updates back to the server.

React used to be a simple lib, now it is getting more and more complicated. Look at the libs I mentioned they are way simpler.

>you don't even have to use JSX

But JSX is the good part of React. You get compile-time checking of your expressions if you use TypeScript and you get syntax coloring, intellisense etc for both HTML and JavaScript.
Some of the points are true specifically the last part but you are wrong about the fact that people who write these software doesn't understand what patterns are being found. We can clearly see in ML and Deep models why the decision was made by the hypothesis using various libraries such as eli5, Tensorboard and others. Deep Learning models are in general harder to debug but still possible.

Therefore we know why hypothesis produces wrong results but sometimes it not possible to mend the model due to outliers, rare events, lack of data and/or randomness that surrounds our world. Just as you point out that statistical analysis is done by people who don’t really understand the math, these false result can be due to scientists using ML without understanding its advantages and limitations.
How to use Spaces, Apple's mostly ignored MacOS productivity feature (2018)
>So, rather than protecting people by hiding the truth behind the processes that are behind the food they eat, we should be more transparent.

I agree, but in order to be transparent the ingredients and processes would need to be disclosed (ideally on the packaging) and this news seems a step further in the opposite direction.
Surely there could be a content blocker script that simply can’t send messages anywhere. It gets access to web requests and to IndexedDB or something similar. It can receive messages from other extension scripts for updates, perhaps.
And isn't it great that we have figured out ways to efficiently use more of the resources we have available?

The alternative is we just throw it away and raise more cows, using far more resources.
I misread this post as having 1843 points and was very puzzled for a few minutes...
> Coming from the .NET toolchain and expecting a lightweight, easy to start with approach I was yet again totally shocked.

> I stopped working when my node modules directory topped 60mb and I still hadn't made a data layer.

This is cute.

I have a 40gb virtual machine with Windows + VS Enterprise and SQL Server, that I have to use to work on a single .NET project that can't be migrated to .NET Core yet.

What is 60mb compared to that?
Good riddance! A project is undertaken to achieve some specified result, not to advance a career or learn some new tool. Don’t get me wrong: those lofty things are welcome when they occur as a byproduct of developing commercial software, but these cannot be the driving factor behind decisions that affect the bottom line.
With gmail: Move your mouse pointer down to the lower right corner of the tab. Do a forced refresh (Ctrl+f5) and you'll see some text pop up while it's loading, one of which is a link to a basic HTML version of the site. Click on it and you're back to what appears to be almost the original gmail interface. Up the top of the page you'll see an option to make it default.

It's super fast. Almost absurdly so, compared to the "full" gmail experience. Added bonus: It gets out of the damn way so you can just do what you came there to do: write and read email.
LAX-adjacent ghost town is now ‘priceless coastal real estate’ for rare owls
I will never die.
e.g. jemalloc is the system allocator for freebsd but commonly used as custom allocator on other platforms

I think they just mean mainlined on a particular platform. If FreeBSD were to switch its system allocator from jemalloc to mesh, for example, I’d count that as mainlining.
I use Zim wiki for notes, with a suitable SOP for making sure things float to the top when needed. I also have a script that crawls over the pages searching for "REMIND" lines, and sets reminders.

So in essence, Zim for notes, and a couple of scripts that reads the underlying pages and takes appropriate actions.

Heavily tailored to be exactly and only what I want, but easily extensible when needed.
It's difficult to see how nuclear can fit in, even if renewables aren't directly covering everything.

Renewables will be intermittent, which means as they build out they will often crash the price of electrical power. Nuclear cannot do well in that environment, since it cannot dispatch economically. Its costs are largely fixed, and it depends on selling power at a good price averaged over the large fraction of time it needs to be operating. But renewables slash the price it can get much of the time, even if they cannot cover everything.

If nuclear is reduced to covering (say) 20% of the time cheap renewables are not available, it's a dead technology. Something else, like using hydrogen produced from renewables during their high output times, will be used instead.
Most of the Norwegians I know take great pride in their 18 months of military service.
If you don't need state, don't include it. That's the beauty of React. But as far as a state management lib goes, Redux is one of the simplest, go look at the source.

I agree JSX is very nice. It's one of the best features of React, and another reason React is a great templating lib. My point was you don't need it. React does a lot of other nice things like browser compatibility, event management. If you want a smaller implementation, use preact or some other template lib.

When dealing with React and Redux you are just dealing with functions. You could do everything in pure functions.
Sounds like a business opportunity
The answer to whether a single-page app is appropriate for a given project needs to consider product requirements, team structure and available resources.

Libraries like React are awesome for breaking down complex (or even not so complex) UIs into story sized chunks that can be tackled by different engineers or even different teams. This is one of the biggest reasons to consider using them, IMO.

Even in the case of relatively unremarkable CRUD application, if the backend is split across multiple services and teams it may be entirely reasonable to choose to build a SPA frontend with a dedicated team.

On the other hand, if you're building a Rails app with a small team, and most engineers are working full-stack out of necessity, a SPA may not be appropriate.

As companies grow, I've found roles tend to become more specialized. Your decision to build a Rails web app early on could be considered legacy cruft (by some) down the road because it can be difficult to break down and deliver a feature across the full stack if you're not accustomed to building web apps that way.

There are tradeoffs to all of these approaches (including the hybrid approach). Ultimately, you need to do what's what right for your product and team(s), and make your technology choices intentional.
They’re just trying to bring some colour to their report.
> Sorry, we are bad at naming projects.

Like they say, "there are only two hard things in Computer Science: cache invalidation, naming things, and off-by-1 errors" ;)

Also, when I read the name I actually came to think of France. I don't know if it's incidental in this case or not but I have noticed that in France you sometimes put words in different order than what is usual in English. For example, United Nations (UN) is called L’Organisation des Nations unies (ONU) in French, the Olympic Games are called Jeux olympiques, and the European Union (EU) is called Union européenne (UE). So I suppose that in French, Analysis Information Leaks might be the natural way to name it?
So, a question coming from a guy who's been doing Java backend processing for a long time and thinking of making a side project. Was going to go the Angular route, but I'd like to have good SEO. I'd also like to get a POC/MVP up and running to build momentum...don't want to waste time on the front end when it's basic form submissions to kick off data processing.

To show how long it's been since I've done front end...My last 'full stack' development had plenty of tables to style the application grin.
Ask HN: Do you have a pet?
As a founder, I’ve found that having a pet has been one of the most amazing stress outlets — and I’m very curious to hear what others’ experiences have been.

My pup, Rusty, is an 11.5 year old miniature poodle, and he is an office dog (comes with me every day).

How about you?