skysight-inc/HackerNews huggingface dataset:
Or maybe the junior engineers grew up with JavaScript, loved it, and have been driving the actual seniors who grew up with strict typing and predictable behavior insane.

I would not be surprised if JavaScript gets the reputation of 2012 PHP in a decade.
What happens to your brain when you go on a diet
I think “make redundant” in this context means “fire”.
I feel like contacting Louis rossman from YouTube for an interview on right to repair etc would be great!
A small number of 10x engineers can make world-beating software. Meanwhile, for most other engineering and manufacturing fields, you need a large number of skilled (but not genius-level) workers working in careful coordination and giving it 110% over a sustained period of time.
Isn’t crosstalk an issue ? Just wondering
The comment is questioning whether the interactive internet, where webpages can be computer programs instead of just documents, is a good idea. That’s a pretty broad claim! Complaining about modern JS is a different story, and it’s a pretty popular discussion point on HN :)
Anecdotally I wear a watch and the ski mountain is one place where it's a lot more
convenient to glance at the clocks the bottom of the lifts.
No kids and my job is running/programming SMT production lines, so when the process is stable I get to supervise the machines and read technical documents as training.
An idea: the advantage of the inattentiveness is better quality of rest time. however, that requires acceptance of these periods.

according to Yuval Noah, the time requirement for hunting would be roughly 2 days a week.
Serious question: why is inline JavaScript like that a bad idea?

It's easy to find the code that does something, easy to understand what it does and easy to modify it to do something else.

Sure, I wouldn't want to maintain an app with thousands of lines of HTML and JavaScript that works like that, but for a single simple feature on a page that isn't doing anything else I don't see the problem.
The claim was made that LLMs just parrot back what they've seen in the training data. They clearly go far beyond this and generate completely novel ideas that are not in the training data. I can give ChatGPT extremely specific and weird prompts that have 0% chance of being in its training data, and it will answer intelligently.

> The actual construction of a neural network llm refutes your assertions.

I don't see how. There's a common view that I see expressed in these discussions, that if the workings of an LLM can be explained in a technical manner, then it doesn't understand. "It just uses temperature induced randomness, etc. etc." Once we understand how the human brain works, it will then be possible to argue, in the exact same way, that humans do not understand. "You see, the brain is just mechanically doing XYZ, leading to the vocal cords moving in this particular pattern."
This is personal branding designed to awe and audience with little actionable advice.

Like everything in the like, there are some truths: mindset based around path with incremental improvement fares better that holistic-first approaches. The abstract concepts with false depth doesn't help on the key subject.

I would paraphrase the entire article by saying that the only way to ship fast and good is to in depth on designed simple reusables, build your product around an integration of those simple reusables, take measure of the complexity of the result, and then go on understanding how to improve while keeping and eye on overall complexity.
There's no reason to insult people - programming languages, on the other hand, can not feel emotions. The opinion that JS is "not a proper language" is a little glib, but thoroughly subjective, and taking either stance can be reasonably argued. It depends on the semantics of the word "proper", of course, but JS does obviously have glaring issues compared to some languages designed from the ground up in the 21st century (or even some languages at a comparable level of abstraction born in the 20th century).
This is a very small minded take. I personally also find religious beliefs to be unpalatable to myself personally, and when I see people talking about it as settled fact I find it a bit cringy and silly, but I have to remind myself that people believe what they believe and religion says very little if anything about intelligence and problem solving skill. Faith is just faith, you don't know something is true for a fact, you just accept it as so, it's standing on a branch and being sure it won't break. People do it and it's fine.

Lots of very technical people are very religious. I'm not sure why, but it is very common. Doctors are the most prominent one, most doctors are very religious. You can ask, how can someone see the inner workings of the body, understand evolution, all the scientific rigor that goes into understanding that and still believe some guy was born of a virgin and died and was resurrected? I don't get it either, but they know why, and it's their life, and accepting that humans do this and leaving them alone, respecting their autonomy, not picking on people about their religious beliefs is how I think we should behave. There's merit in the conduct a lot of it brings out of people if nothing else.

We all have faith in something. We are all members of some type of cult, with or without the negative connotations that come with that word, most of us that would classify ourselves as atheist would never admit that many of our beliefs are faith, that we go with the flow of social expectations, that we are probably wrong about most of what we believe, it's as real to us as anything, and we would do well to look at ourselves rather than heckle people we don't understand.
Why’d you think that?
The opposite view on that state, is that spying is effective, because many technologies require huge amounts of work by the developer, yet can be stolen relatively easily with a document overview theft.

The same reason there's all those jokes in "Silicon Valley" (the TV show) about the "brain rape" episodes and End Frame of Season 2, where all they do is lure Richard into a meeting and then get him to put the whole algorithm up on the board.

[2] https://en.wikipedia.org/wiki/Silicon_Valley_(season_2)#Epis... ("Runaway Devaluation")
Hm i have a wall clock in the living room, one in my home office and one of those alarm clocks that project the time on the ceiling in the bedroom. Mind, the wall clocks are mostly decoration, it's only the bedroom one that really gets any use.

Even you probably have a clock on the microwave and the coffee machine in the kitchen :)
`parseInt(c.innerHTML)` and we're hacked... :D seriously though, I know HTMJS is tongue in cheek but don't ever do this if you are a JS dev. innerHTML isn't safe, sanitized, or what you expect it to contain. To the author, thanks for the laugh.
I've worked in industrial GNSS products. Electronics shrink all the time. A ruggedized module needing only antenna(s), SIM (for remote access), and power probably should or does already exist. The main barrier is the lack of harmonization and consistency in the CFR mandating it.
>but there are other traits, such as inattentiveness, that I fail to understand how that would be a competitive advantage in hunting

Well, inattentiveness refers to modern life, and is manifested more with its overly complex demands, often also based on precise time constraints.

In hunting it might not be that much of an issue. Especially if hunting is your hyper-focus subject.
> I think what's even more interesting to note is the support for modals with regular HTML and other such features, so that one can depend less and less on JavaScript. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...)

From that link: "JavaScript should be used to display the <dialog> element."
So "pick the training data carefully," and show me what I'm asking for, given that it is "trivial."
You’re not alone.

A couple weeks ago I played around with a piece of software for my personal usage, and I certainly won’t release anything at all.

Not worth the trouble with the law, I’m not underage anymore and a day job gets in the way of keeping the required mental state/context for RE.

Ah, the simpler times at the University when I had the time and energy.
named is the BIND daemon.
My finest C64/128 setup so far
Hmm, I think the real advantage is more that you get an advanced cross-platform environment to run it in “for free” – excellent debugger, various ways to do UI, graphics, getting input from the user, etc. For lots of recommended ‘beginner’ languages, this isn’t the case.
Yep. Whenever I'm leading a project, I try to leave myself something to actually do, so I can spend time doing the thing I actually enjoy doing.
Well with that sort of thinking, why not sit back while I kill this mosquito with a nuclear weapon?

There must always be a floor of reasonability and articulability before legislation is the answer. Especially where Federal legislation is concerned.
Porn has not distorted sexual behaviours. If anything it allowed people to experiment and not feel shame for wanting to experiment. Most sexual encounters out there are as vanilla as it gets. If you feel the need to compete with someone that has sex on screen for a living you are going to have a bad time.
He’s talking about analytics. https://docs.brew.sh/Analytics
In this case I think it's OK to insult people, because when they imply JavaScript isn't "a proper language" they're insulting several million other people already.
True, but Instagram did the same thing, you used to be able to browse photos without an account using a web browser, but they changed that.

Instagram also ruined a bunch of other things in the past couple years. For example photos no longer get shown to all of even your own voluntary followers, the platform uses some "AI" to decide if they think it's worthy of your friends' attention or whether it should be censored away from them.

There's basically no good social media app now.
You’re being downvoted because this is a hot take that isn’t supported by evidence.

I just tried exactly that with dalle-3 and it worked well.

More to the point, it’s pretty clear LLMs do form a model of the world, that’s exactly how they reason about things. There was some good experiments on this a while back - check out the Othello experiment.

https://thegradient.pub/othello/
Renewable energy if both cheap and abundant. Energy is not the problem. We just need to replace two centuries of fossil infrastructure in the next two decades
America has always been famous for the fact that everything is extremely cheap. But now I'm seeing videos of people at Costco/Walmart showing the prices of stuff (often while finding an old price label and showing there's been a 50-100% increase over the last year) and it's actually way more expensive than what I pay in the UK.
Perhaps it will inspire someone to invent a cheap realtime TDR that can alert authorities when the wires get broken.
Historical Markers Near You
In my experience, this is backwards, though not always.
What did you mean by “that’s all it takes”?
That doesn't even compile in English.
Added me on LinkedIn
Or it might be just like insomnia - a syndrome that can have multiple different causes many of which don’t have a genetic origin.
While not ideal, you could always relegate Windows to a virtual machine and allow it GPU pass through.
I hope no one is impressed with their chip advancements. Just Google “China IP theft”. Their government has stolen countless corporate secrets to build their chip sector. They’re in a league of their own compared to any other country when it comes to corporate espionage.
The other side of this is that it is exhausting having to constantly tell most people on the team what to do.
I mean yes but the article fundamentally misrepresents ADHD and “disorders” in general. A “disorder” is a set of symptoms or traits that cause the person or their loved ones distress or trouble taking care of themselves in their daily lives. So it’s possible to “have ADHD” without it being a “disorder”.

It’s also the case that humans have a wide variety of behavioral and personality traits many of which are influenced by genes. All of those have a potential evolutionary impact. Whether they constitute a “disorder” depends on how they impact the individual in their given environment.

A person living in an entirely different world (eg a hunter gatherer society) than we inhabit today may be disordered for that world but would thrive in our world and vice versa—some traits that are a problem in the modern world would suit the ancient lifestyle well.

In the end, ADHD and lots of other psychological disorders are wildly misunderstood by doctors, reporters, and the patients themselves. But it all comes down to the question: do these traits negatively impact your life or the life of those around you? If they cause distress in daily living then it’s a “disorder”. If those same traits are not a problem for someone else, then it isn’t.
You’re off by an order of magnitude in the value of wholesale electricity.

Wholesale rates for non-dispatchable electricity are under $.02 / kWh.
Because suffering is a facet, perhaps even the salient quality, of sapience. Awareness of one’s ephemeral existence, awareness of absurdity, particularly that of pain’s pointless pangs, are attendant to any sufficient self-awareness. Ignorance is bliss, and who are we to deprive another class of being of its succor?

That said I doubt we’ll be able to breed canine buddhists for at least another millennium. We may (probably) leave aside such qualms until then.
> Just look at religion.

This is bit off-topic but what I see as one of driving force behind existence of religions is need for personification. It seems easier for human to interact with the world and its elements by communicating with it as it was familiar parson-like entity.

Now when we talk about LLMs and AI in general, there is often personification as well.
I suspect a lot of this is a product of environment. When I had less experience, I saw all these flaws but could not affect them.

Now I'm constantly worried what I'm looking at is not an actual flaw even if I think it is, but when I can convince myself, I can usually also recruit help from upper management to fix it. That is very relieving and much less frustrating.

(This was not the case at my previous employer. They didn't listen to anyone internal regardless of experience.)
#1 item that should be there and is missing is:

"My first job will promote me and raise my salary when I "become" a senior dev"
The Work of Substack: Let us speak of things to come
A lot of those regulations also boil down to individualism and inability to balance social needs against individual desires. In the US, major infrastructure project that could serve hundreds of thousands of people can be held up by a handful of individuals whose property might be affected by the project. This sort of individual consideration is baked into most of our regulatory frameworks.
It most definitely has distorted sexual expectations from those who view it.

This, in turn, MAY have distorted behavior.
Seniority means thinking about the bigger picture and influence. And at some MAAMG shops, it also includes steamrolling over and tearing apart others' ideas to get credit for your own ideas, initiatives, and impact.
I will try to be more concrete than I was (though I did link to some Nim/shell that "does it all" the 2nd way I mentioned).

j.py:

import multiprocessing as mp, contextlib as cl, time
def f(x):
name = mp.current_process()._name
with open("o." + name, 'a+') as f:
with cl.redirect_stdout(f):
print(x * x)
time.sleep(2)
mp.Pool().map(f, range(36))

Then

shell$ python3 j.py & sleep 1; multitail o.*

On Unix that should create $(nproc)-panes (i.e. screen areas) of output in your terminal, each pane logging any output each worker process did. (EDIT: For fancier progress, multitail -cT may help; See the man page.)

Some Py MP expert could perhaps show how to do this with only one `open` or a nicer `name`. As a bonus - the log/status outputs are not erased but left in "o.Stuff". The cost of that is having log files to clean up.

Separate files means no contention at all and any stray prints from any libraries go into the log file. It's a separate exercise for the reader to extend this to stderr capture (either in e.* or also in o.*).

And, really, as popular as Python and MP are, all of this is probably written up somewhere.

Someone else should outline imitating `multitail o.*` in tmux, I think, as it is more involved, but a pointer to get started is here: https://github.com/tmux/tmux/wiki/Advanced-Use (That's all I have time for today. Sorry.)
Take a look at the invasion of Iraq during Desert Storm and realize this isn't as big of a deal as one might think.
I keep a Mac around for this sort of thing honestly. Otherwise I am on Linux and never looking back unless Microsoft makes a flavor of Windows for people who dont want a zillion telemetry and invasive features. Just not gonna happen any time soon.
> stolen relatively easily with a document overview theft

Nope.

There are too many moving parts to make this realistic. You'd have to steal the IP of hundreds of vendors across an entire supply chain AND THEN finance.

It's a hurculean and unrealistic task.
what's awful is that often, people argue that closing loopholes and improving things are not good, they will use a fallacy of nature or say it's idealistic and impossible to fix because of human nature.

cynicism is a drug for some people.
Las Vegas used to be a lot more strict about no cellphones (camera phones). As you were not allowed to take photos or video inside a casino. At some point the tsunami of every phone has a camera, and the Japanese tourists who take pictures and video everything sort of took over.

I always figured it was partly to avoid the clocks and keep you in the fantasy.
Elon: "Google senior executive said it would take a few months to fix Gemini"
Why would you actually want to use Gemma. It's horrible
Using "synchronized" by itself and calling anything has the potential thread starvation or deadlocks. Virtual threads only makes it worse.

Kotlin has mutexes that presumably are compatible with coroutines:

kotlinx.coroutines.sync.Mutex

Until Java sorts this out, it could be its "Rust async" watershed moment.
This is a wonderful piece of writing. Clear, interesting asides, a complex subject covered in detail, internal sub-dramas with actual suspense. In the SEO and LLM text age, when so much writing is just a thinly disguised marketing attempt, this is so delightful. More like this, please!
There are a fair few books ("Chip War") on this topic that make the case the US was relatively successful at keeping some critical advanced semi-conductor tech out of China and other less agreeable States for decades between the 70s and early 2000s. The commonly cited examples are America's "smart" weapons/bombs etc having a significant edge for a long time, see the ease with which US warplanes took out huge swaths of Iraqi infrastructure in Gulf War 1 in the early 90s, again largely thanks to superior precision weapons and stealth etc, which in many cases were the products of superior semi-conductor technologies.

"Chip War" to some extent makes the argument it's in the more recent times we've seen US legislators lack of maintaining as much interest in export controls that has lead to the erosion of this advantage, not that controls don't work at all per se.

The export controls work in some cases not because the facts or design of the tech is unknown; the issue is that many cutting edge technologies need an entire complex ecosystem of businesses, people, production and supply lines to be present to work too - it's often this part that becomes very hard to simply replicate - see Taiwan's huge lead in chip manufacturing despite being in a hugely politically unstable geographic location. It's taking the USA decades to try and bring that kind of manufacturing capability at the cutting edge back to the US, and the US still can't compete with the scale Taiwan can produce the latest chips at.

> https://a.co/d/guYgEsG
Design tools often have controls on how you can scale a box by locking expansion in different directions and anchoring elements to specific side. Its results in the same thing as flexbox and alignment but is was more intuitive.

The real issue with CSS is the eternal question of, do I fill my parent or expand to fit children? You have to trace multiple levels and rules, and even then it might be a guessing game. This is because the rules that govern this can change at each level, and that changes how you answer the question.

I have been using CSS for 20 years. It’s too difficult for what it primarily does.
The two aren't mutually exclusive (responsive design and GUIs). Winforms was responsive long before HTML. Dreamweaver was OK at responsive layout shifts in real time. Figma handles it OK too. Even the browser inspector with hot module reload can do the job.

But not having easy drag and drop at the component level, and having instead to cut and paste chunks of code, makes it slower and more error prone in my experience.
You seriously think the main reason to have a lunar program is bread and circuses? The ESA launched a lunar probe in 2006 but haven't since. I guess they only needed the distraction that one time? I guess each of the 22 ESA members needed a little "consent of the governed" boost?
for devops, datascience and ml stuff Python is a good contender
Last I’d heard it was still open if P != NP. And most questions I’ve seen hallucinations on are not NP-Complete.
After working with new age frameworks (SwiftUI, Compose, Flutter), I’m rediscovering web development (last time I’ve touched it was more than 10 years ago).

I can’t believe how far modern web jumped. Development process, modern ES features, reliable CSS, amount of learning resources.

I will never understand why would you sacrifice all of this for something like Compose/Flutter, with their janky web performance, clunky, baroque toolchains and nonexistent (compared to pool of JS developers) mindshare.

To start with Compose you need to:

Install Java

Install Intellij

Somehow generate working project

Wrestle for half a day with Gradle

Search for ever changing APIs or updates

Find a way to reference html and CSS

Somehow connect all of this together and finally launch in the browser

After that - good luck debugging black box generated by Kotlin compiler

And now compare this to JS/CSS/HTML:

Most likely you already have modern enough browser

Create file wherever

python3 -m http.server

Done.
People were refusing to take JavaScript seriously twenty years ago! Here's something I wrote about that back in 2005: https://www.sitepoint.com/2005-the-year-of-the-dom/
Oh I don't know, way back in 2005 and 2007 when I did internships in Europe, the cords at the local store always cost a lot. Even an RJ-45 cable for DSL cost 20 SF (about USD15 at the time) at the local electronics store.
The inspoken assumption there is that all work is only spawned out of economic interest.

That is not the case. Sometimes, there is just a job to be done.
So it's mostly "a virtual machine managed as a Dockerfile", which you can then use to run a virtual machine that runs Windows but it could run any OS.
I never said you weren’t allowed. I said if it bothers you so much you can choose not to attend.

My father in law stopped watching sports during the period where it became popular to kneel or not stand during the national anthem to protest or bring to light various social causes. In his view, those things don’t belong in sports. That was his choice, it’s not mine, but he didn’t make a big stink about it, he just chose to stop consuming that form of entertainment.

At some point you either conform, choose not to conform and deal with the consequences, or simply avoid these events. The rest of the populace doesn’t have to change their behavior just because you don’t like it.

Collectively we have become a society of intolerant crybabies. We don’t have to agree with everyone, but we do have to tolerate the common social norms unless we want to be that guy that gets unwanted attention.