skysight-inc/HackerNews huggingface dataset:
Fundamentally, I think it's a fuzzy matter of degrees. I go to the gym regularly but I am not an athlete. To me, an athlete is someone who dedicates themselves to the study, improvement, and mastery over their body, usually in a particular discipline. While everyone specializes, athletes also have general skills that the average person lacks. How do we define someone who is dedicated enough? I don't know. There's mountains of arguments about it across the internet but often the criteria is engaging in competition.

To apply the same system to programming, one is a programmer if they dedicate themselves to the study and mastery over their computer, usually in a particular discipline. The disciplines of programming may be defined around the abstraction level. While everyone specializes, programmers also have general skills that the average person lacks. I would argue that the most important of those general skills is understanding the relationship between instructions, execution time, and memory usage as well using that knowledge to weigh different approaches. How do we separate a hobby programmer from someone who regurgitates AI responses with no understanding? I don't know. Maybe their ability to derive new answers if the AI didn't give them a correct answer.

Words do have meaning and we should be careful not to degrade the meaning down to anyone who is capable of asking an AI questions but I doubt we'll ever have a non-fuzzy definition of programmer
There is also a fun regulatory hack in bluetooth.
As it is frequency hopping, FCC considers it spread spectrum, but only if it hops across a large enough set of channels.
This matters because spread spectrum radios can run significantly more power.

Bluetooths frequency hopping system avoids interference to it and from it by dropping channels with interfernce or other users from the hop set.

So with enough interference, even monentary interference and the hop set reduces and regulatory limits require dropping power from 100-200mW to 25mW.
This usually cuts the connection.
For the sheer number of surveillance cameras and phones around today, we should be getting far more UFO pictures.

Mandatory XKCD.[1]

There are, however, some very high performance jet powered model aircraft.[2]
Amazing what thrust vectoring can do when you don't have a pilot to worry about.

[1] https://imgs.xkcd.com/comics/settled_2x.png

[2] https://www.youtube.com/watch?v=9sIeM5lBIag
Beats me
That’s the whole controversy of the cosmological constant that this paper brings up. The math squares up in theory but observational data is way off.

The universe being small and it’s expansion just a mirage is one attempt to square the data and theory.

I’m not an expert so I don’t have any answers or anything. I just went into this rabbit hole recently when I got sick recently.
Comparing the two: I have a hard time understanding how one could write FE code using classes (Stimulus) in 2023, when simple functions with inputs and outputs are there for the taking. It's just asking for trouble and hidden complexity. Choose wisely!
It's not a binary thing. It's just a signal to algo. I think in the background it maps over what that signal means, whether you are disliking whole top-level category or a sub-category towards the leaf. I used to get NFL videos, I disliked few times, still received those videos, I disliked them again, now its gone altogether. Also the algo might have exponentially decaying memory. So your signal is not permanent. You can always watch a Mr. Beast video again and it will come back to your feed.
One, it seems reasonable to assume that an entity willing to pay $1+ million for a zero-day will generally want to buy another one not too far in the future. The recourse would be no longer selling to them.

Two, there wouldn't be much recourse against any entity in the market for $1+ million zero days, just look at Pegasus' customers.
> if you're looking to hire frontend engineers, the candidate pool for React is a few orders or magnitude bigger

Can't these candidates quickly learn Hotwire? Seems like its much simpler than React (less moving parts)
I got "The American television debut of Bob Hope, Dinah Shore, Elvis, and the Beatles was on ..."

That is both US-centric and time-period-limited.
I use Bats which is TAP-compliant (https://github.com/bats-core/bats-core) at work to test CIS Benchmark at servers, it's amazing.
Ah, yeah the old problem of death. Happened with my first pair of siblings but I added three from piggies from the animal shelter and though it took a while for them to settle in, it worked. Just like with us humans, it becomes easier to fit in with a larger group.
TL;DR use React because everyone uses React?

> if you're looking to hire frontend engineers, the candidate pool for React

While this is true, I think you will also need less people to achieve the same, the amount of work is incredibly less. So maybe finding one or two developers with an open enough mind and a good salary will provide even more value than a full team of backend devs + a full team of frontend devs + all the coordination efforts.

> - it's getting harder and harder to find vanilla JS packages that you can wrap in Stimulus controllers for common tasks, compared to finding React packages

Any example of this? I don’t find this to be the case, given that any “vanilla” library will work out of the box and many of the react packages are there to solve react creates problems.

> Stimulus doesn't really offer a way to write unit tests for your controllers. With React, you can use jest and react-test-renderer like

This might be controversial, but I don’t find testing UI with unit tests useful at all. Tools such as cypress provide a lot more value for the effort it takes to write and maintain, and those tools work with any underlying implementation. Mocking browser APIs is not fun at all.

Regarding typescript, I honestly just don’t get the drama. It’s just a tool. If it solves a problem for you use it, if you don’t, don’t use it. And you can’t force others to use the tool you like the most.

Also, given how these tools work (mostly with data attributes and in the fly generated methods from those data attributes) I’m not convinced typescript or not will make any noticeable difference as the user of the library.

At the end of the day it’s all trade offs. But something I can guarantee is that going the React way is a ton more work, decisions, maintenance, people and headaches. If your app/project really requires react then you’ll have to bite the bullet and go for it. What’s sad to me is going with react just because everyone uses it.
At first I thought the article was going to be about human-led misinformation but I wonder whether with both hallucinations and human-fed misinformation (AI-helped or not!) whether we can use AI to fact/self check results (both AI generated and human ones) and prompt us about potential misinformation and link to relevant sources? That way AI could actually help solve the trust issue.
Yet various government agencies sidestep the GFW and use banned social media. Bizarre
Full article appears to be behind a paywall (or at least a login wall). Any alternative sources?
Mastodon runs as a rails api with a react frontend. Last time I discussed this people mentioned it was the worst of both worlds and I get the argument.

But doing things that way means nearly every fronted dev can work with their favourite patterns and frameworks. I love that they can debate replacing create-react-app and i do not have to care beyond saying "as long you meet the openapi spec". Moreover, everything you've described along with most of what has changed recently in the ecosystem goes away. I don't have to care what is happening to hotwire, or the asset pipeline in general or around scss gems being deprecated.
I haven't used Slim before, but looking at the examples shown on the repo's README, it immediately brought to mind the thought experiment: 'what if Haml but Yaml?'

n.b., I've been building Rails apps since 2007. I was a diehard Haml user up until about 2021 when I made an all-in bet on Tailwind and had to switch back to ERB because Haml with Tailwind felt too obtuse.
Asset pipeline is a hot mess: https://fly.io/ruby-dispatch/making-sense-of-rails-assets/

Propshaft should bring sanity back to it, but its going to be a while before that's mainstream.
Google services sure come with binding conditions on what they can do with android and in particular what they can't do with the search bar (get rid of it, put another search engine etc.)

The EU is after them on it, but I don't remember a clear result yet: https://ec.europa.eu/commission/presscorner/detail/en/IP_16_...

[edit] Google was found guilty and made some promises in 2019, but I'm not sure we've seen any change in substance ?

https://en.m.wikipedia.org/wiki/Antitrust_cases_against_Goog...
I hope to see the Hotwire dependency dropped one day. I love Rails and Hotwire, but I wish the latter were also a community tool. When TypeScript support was discontinued, DHH commented:

> This project has been founded, funded, and maintained predominantly by the resources and investment of 37signals. We will set the direction as we see fit...

With TensorFlow recently discontinuing support for Windows, it's very concerning to me that one day one person or organization decides that "we will set the direction".

They don't even try to use nicer language. Don't get me wrong, I respect the work and effort. But 37signals are no saints. There was a scandal, and employee exodus not so long ago.

Hotwire is so deeply integrated into Rails, so Rails is even more 37signals' tool than ever before. Before we had webpack, and JavaScript libraries that sometimes were not easy to use. Now things are easier, but instead of JS libraries we've gotten 37signals dependency, which is VERY concerning.
Which ones? Never saw another one which comes with the same comfort of batteries included like rails. For example having database migrations built in etc.
You'd be surprised how many candidates would prefer to just take another job. If for no other reason than resume building with the word react.
Isn't the syscall overhead solved by GSO and GRO?
Show HN: A minimalist expense tracker app for Android
What happened? I missed the drama.
My money is on living in a simulation with lazy evaluation and constraints like maximum speed to prevent us from consuming too many resources. Intelligent species seem to love making simulations, so what are the chances we happen to be the first one outside of any?
https://youtu.be/I0UMG3iVYZI?si=JztMr1sIkBzppkmn

The PS3 issue described in the video was more specific to it, but similar in it's nature.

TLDR from my very imperfect memory:
The whole board-solder-chip sandwich expands at different rates due to heat, so internal stress and cracks develop in solder joints, which makes them fail. Baking PCB in an oven does something like making the crack close a bit, so that the solder joint works again.

Problem is, neither the crack, nor the internal stress that has been built up is gone, so the solution actually doesn't last.
One of the fixes for the red ring of death on Xbox 360 was to wrap it in a towel so it would get hot enough to reflow bad solder joints.
China has a thriving hardware industry. Partially built on not enforcing restrictions.

The rest of their tech sector is so-so. They do have a big internal market and a population eager for technology. It would be interesting to tease apart how much the restrictions hinder in some places, and perhaps help in a few others.
To name a few:

Chinese Foreign Ministry https://twitter.com/foreignchinese?lang=en

Xi's Moments (official news of Xi Jinping and China) https://twitter.com/XisMoments
Would anyone start a new project with Rails today?

If someone suggested using Rails for a new project to me today, I would show them the door.

There are so many more mature frameworks in more robust and performant languages.

IMO the only reason to use Rails today is if you’re too uncurious to learn something better.
I didn't mean that 0 people had 1 leg, if 45% have each 0 and 2 legs, and the remaining 10% have 1, then the median is 1. I meant it just as a hypothetical adjustment to the real world, instead of almost 0 with 0, almost 0 with 1, almost everyone with 2; what if it were almost 50% with 0, almost 0 with 1, almost 50% with 2.
Ok, now I understand. There was a European consortium working on this a few years ago for product development in the automotive and aviation industry. I think Barco had the lead on that.
It's important to keep into perspective that China is a 1.4Bn people's country and highly decentralized (much to the chagrin of the pro-US). This happened under the "Chengde" administration. There might be many reasons for this: Chengde is over-zealous, The police has a particular issue with a particular individual, the central state wants some examples, the local state wants to show its toughness on VPN, the local state needs some tax money and is pillaging, etc..
I picked up a colour laser Brother MFC for $100 three years ago, with 600 DPI scanner / copier. Wifi printing from our phones works with no additional setup than having the printer connected to wifi.

It needed new drums and toners, and continues to function like new to this day.

Not quite $50, but $100 Australian, so not far off.
That’s what a lot of people do. The value is still about convention over configuration IMO. If we are building a REST API, typical CRUD, you can go a long way with using Rails there and using something else when you need the performance or a certain feature.
Your phone will be a brick for the entirety of your stay. A vpn is the only way to access google services in china.
Please name a few with the same comfort of having most things built-in. One example: database migrations. In the JS world it is knex all over and it is much less comfortable than ActiveRecord.
It's nice to have this possibility on Linux now. It wasn't much more complicated on macOS before:

brew install ollama
brew services start ollama
ollama run llama2

Works great on my M1 MacBook Air, although it's definitely not as good as ChatGPT.
Canon Pixma series with built-in toner tanks that you can refill yourself with cheap ink. Using it for years, print everyday, sometime I print full color books. So far I spent like $15 on ink.
Yes, I really appreciate this, and its configurability, a lot. I have a work profile, a home profile, and a “demo account” profile (for a certain work resource that I have a dummy account in addition to my real account). Each has a distinctive theme for easy identification, and my computer always opens links into the right one!
From the article:

"One Twitter user raises an important perspective on the incident, highlighting that there are legitimate pathways with private VPNs, including obtaining internet access permits and operating licenses, for information to flow from terminals to networks."
I understand. I did the same when (I guess) I was your age. I do not think I was being cynical. By nature if people have great utility or satisfaction from something, they do not want it to change. Is that bad of them?
Thanks, but I feel that you didn’t finish your thought. Why is that important to consider it in this context?
And if you try to write the 20x faster version, your coworkers will think you are over-complicating and not being a team player.
Creator here. Thank you for sharing!
What's a 'normal' Linux distro for comparison?

Do you mean one that ships binaries, or perhaps one that also enables a GUI by default?
Then you feed the AI those components?
These things are rather subjective don't you think? Where does the center end and the North start? I guess it depends what you are used to. Similarly with East-Central-West. Whenever people use terms like "Central Europe" they may refer to a geographic center (Poland, Czech Republic, I put the Baltics in the same category because they are in the same region - what do I mean? For example there is a sea between the Baltics and the Nordic countries,however culturally I'm told the Baltics have much more in common with the Nordics), they may refer to the EU, the center being probably around Austria, or I even heard people consider Center to be West part of Germany, because Europe they know ended at an Iron Curtain in Berlin.
Bromite's ad-blocking is very basic, the worst of the bunch. But it's a decent choice nonetheless.
1 hour of driving isn't a lot of driving, or a lot of anything really. There are heaps of individual things that happen maybe once or twice in a lifetime that we're already somewhat equipped to deal with based on our other lived experiences - for example, seeing a ball bouncing towards the road and a child or dog chasing after it, I'm already starting to brake before they even approach the edge of the sidewalk. Or seeing a fast-moving wheel bouncing down the road - I know from watching dashcam footage on youtube that you'd want to keep WELL clear of a 30+kg obstacle with a whole bunch of angular momentum, because it will fuck up anything in its path. Good luck to an AI to figure out what's going on, or what the path of a single fast-rolling wheel is going to look like.
Apple, Microsoft, Google, Meta? Not good for the planet?
Another happy HL-L2350DW user. So happy in fact, I've bought one for my mom and one for her aunt and they too have zero issues and I've never had to hear about it again after setting it up. This is how printers should be.
Yeah exactly. All that boilerplate stuff is such a pain to write or maintain long term.
The junior experiences work this way
The senior wants dog walks and more pay
> The post is still accurate, but in 2011 C and C++ added atomics, which are a more portable alternative to uses of volatile for atomicity.

Atomics and volatile solve different problems, though. Atomics ensure a read or write completes uninterrupted. Volatile ensures that a read or write is never optimised away.

I think C11 atomics can be optimised away (for example, reading a value twice in a row might result in only a single actual read).

Happy to be corrected, though.
20+ years of experience here, I happily reach for loosely typed languages in most circumstances.
It doesn’t have to be a trusted infrastructure, just a trusted package (Google-OIDC-keys) that can be updated or keys published to an existing Key Server and cross signed by OpenPubKey.
> Just the TCP handshake packets themselves (3 * 1460) can hold almost as much data as it takes to get a standard SPA.

I have no idea in what reality you live where you encounter SPAs of a few Kbs. Don’t even know what to say if that’s your experience.

> That said the problem with rants like GP's comment is that they don't serve to illuminate but serve to push on us, the readers, the author's agitated emotional state.

You are absolutely right there. I will try to refrain from these “frustration posts” in the future. Sorry about that.
Don't get me wrong, I love Rails, and have been using it off and on since Rails 2.

It's a really good framework, and for someone like me who needs to stand up a website from time to time it really is the path of least resistance.

What bugs me is the pain of setting up a new laptop to run Rails. I need node, which means npm. I'm a backend guy, I don't understand how to set up node, what order to do things in, etc. I do it rarely enough that it always seems a fight. Eventually I get it done, but I'm never sure why it finally all comes together.

An installer that puts together all the requirements so my rails just works would be great. The rvm installer will set up rails on top of ruby but won't set up the node system underneath it.
Right, but restricting the domain to just the list you're already enumerating makes things easier.
With this line of reasoning, you will have to block TCP as well.
This distinction is frequently emphasized in online discourse, but I've never found it to be super useful. Pretty much everyone can agree that Ruby on Rails is a framework, while underscore.js is a library, but things get really fuzzy in the middle.

The usual explanation is inversion of control—you call into a library, but a framework calls you. But now that pretty much every language has closures, it's a lot harder to use that as a distinction: is React a library since it all starts with createRoot/render (you called it), or is it a framework because from that point on it's calling you? There are tons of people who are highly opinionated in both directions, which suggests that this dichotomy is artificial and doesn't reflect a deeper reality.
Discussion: https://news.ycombinator.com/item?id=36834732 (226 points | 74 days ago | 174 comments)
Disease X: Deadly Deception or Medical Reality?
Learn about Disease X, an enigmatic pathogen with pandemic potential, and why it demands global readiness and scientific scrutiny.
Some context which may be relevant: many local governments in China are in heavy debt, and they need more income: police have been collecting more and more fines, causing some outrages [1]. There are reports that many civil servants are unpaid for months (in Tianjin [2] and other cities [3][4]), in addition to getting heavy wage cuts [3][5].

A penalty of over 1 million yuan (>145K USD) for using VPN is a new development: before this, only VPN service sellers were prosecuted.

[1]: Law-enforcement agencies have been imposing larger and more frequent fines for offenses: https://www.wsj.com/world/china/chinas-local-governments-are... "China’s Police Are the New Earners for Cash-Strapped Governments"

[2]: https://eightify.app/summary/chess/tianjin-government-crisis... "The Tianjin government's financial crisis, with unpaid wages and high debt ratios, reflects a larger problem in China's declining land finance and unsaleable real estate market, raising concerns about the stability of other Chinese cities."

[3]: https://www.youtube.com/watch?v=242pUa9rXgg "Civil Servants go unpaid and Local Government Borrowed From Temples/Protests surge in China"

[4]: https://www.rfa.org/english/news/china/wages-09082023112323.... "Chinese local governments struggle to pay civil servants' wages"

[5]: The government is trimming a combination of bonuses, cash subsidies and base pay for many employees, according to interviews with 10 local civil servants: https://www.bloomberg.com/news/features/2023-09-12/pay-cuts-... "Bankers’ 40% Pay Cuts Show the China Dream Fading in Its Richest Cities"
You definitely are not alone. Even on mobile, not only desktop, if I can do away without an app I'd really do that. We have a movie booking app in our country BookMyShow (the less said about this company and practices is better) and I just book it on its mobile website mostly (though I try to book in the theatre and almost always I have to make a scene to get a print ticket when I refuse to share my number fearing certain spamming).

Twitter, Reddit - as you might know there are no non-official apps and their mobile websites, which are bad, are much better than the apps.
- "The only thing to fit was how much of each to add and what the total flux normalization was."

And the assignment of blackbody temperature (T = 500 K). This is how many free parameters, fit to three points?
It sounds like he's saying this is not an abuse of the central government, but by a local one. I doubt VPNs are illegal in China in general.
> If they didn’t, pipelines wouldn’t be useful.

Pipes would still be a useful way to structure your program. They would just be less useful.
1.Does the pen have actual ink?
2. If so how do you replace the ink?

3.How long does the battery last?

4.Does it work with both android and ios and windows?

5. does it work in browsers too?

5.Is the note book an electronic notebook or a regular notebook?

6.What happens when you fill the entire notebook up?

7. Where do the notes get sent after writing them?

8. How many apps is the pen compatible with?

-yoichi, ( ・ o ・ )
So it doesn't give you the idea that China is clamping down on software developers. Unless there is an on-going trend, this is an independent move by some administration out there.
Docker Releases GenAI Stack
Have you used nvm? It’s pretty painless in my experience.