skysight-inc/HackerNews huggingface dataset:
Yeah, I also think people index too hard on the language itself, when the runtime, tooling, and ecosystem are all much more important. Moreover, I think "mediocre" is a good thing so long as it means "fewer features" or "simple". I'm kind of glad Go is a mediocre language in this sense, because it gets out of the way. And Go's runtime is similarly "mediocre"--it's fast enough for 99% of applications, it doesn't use a ton of memory by default, the default GC is low latency, goroutines far easier to use than async/await, all it needs is a Linux kernel (no userland dependencies), and it's all small enough to fit in a static binary. Go also has a pretty good standard library too; no need to pull in dependencies just to marshal JSON or make HTTP requests, and everything compiles to static binaries by default so distributing CLI tools internally is a breeze.

Go isn't the best at anything, but it gets 80-90% of the way there on everything whereas other languages aim for 100% in one dimension (e.g., performance, static analysis) at the expense of all other considerations (e.g., usability).
Maybe this could foster a more sceptical outlook on technology. Whether that is good or bad, I don’t know.

Perhaps less

“computer says No”

but more

“computer is wrong, but computer is Science, therefore Science is wrong”
At least according to the UN human rights, this is effectively a human rights violation.

> While blocking and filtering measures deny users access to specific content on the Internet, States have also taken measures to cut off access to the Internet entirely. The Special Rapporteur considers cutting off users from Internet access, regardless of the justification provided, including on the grounds of violating intellectual property rights law, to be disproportionate and thus a violation of article 19, paragraph 3, of the International Covenant on Civil and Political Rights. [1]

[1]https://en.m.wikipedia.org/wiki/Right_to_Internet_access#:~:...

They have no business justification etc for blocking starlink. I know Elon can't/won't go against it, and I know the UN is effectively a dog without teeth, but I'm surprised more human rights activists (and people who support the open internet) aren't angrier.
Ironically, we had more advanced languages than Go in the 70s.
The court just ordered the agency to hand over the license plates to Tesla within a week.

https://www.svt.se/nyheter/inrikes/domstol-teslas-registreri...
I'd rather have a strict line length limit, than having my coworker creating objects in lines 150 or 180 chars long.

So we'd end up discussing what is the best choice. I bet I'd also end up discussing those things with Anthony Fu. If the limit is 80, then the limit is 80, not 81.

Come Prettier. No more discussions. I definitely buy the tiny amount of "noise" it brings, in exchange for freeing me from an immense amount of actual noise when having to discuss these things with other people.

EDIT: This comes from a backend dev (C/C++, sometimes Go, recently did some stuff with TypeScript). Prettier was a refreshing discovery, and other languages like Python are able to express the rule very sensibly (albeit I round it and go for 80 or 100):

https://peps.python.org/pep-0008/#maximum-line-length
This HN post w.r.t TCS has aged like wine:
https://news.ycombinator.com/item?id=2628318
In case anyone was wondering, JavaScript per se isn't replaced at all. All mentioned examples still use event listeners, querySelectorAll, ES modules, and what not. Most importantly, you need to subclass HTMLElement and register your custom element using JavaScript in the first place eg:

class MyElement
extends HTMLElement {
}

window.customElements
.register('my-element',
MyElement)

(the hyphen in the name is idiosyncratically required by the custom element spec).

As such, "HTML web components" (aka custom elements, which have be around for many years) are targeted at developers not hypothetical web users/authors. Then what is the point? When you're relying on JavaScript anyway, you have already much greater freedoms - syntactically and otherwise.

Custom element declarations and custom vocabularies can make sense as a means to organize and isolate authoring concerns when you're creating hypertext documents. The fact alone that you have to use JavaScript for registering custom elements make them a non-starter though (ie consider an authoring tool which surely doesn't want to execute arbitrary JavaScript in client docs).

It's not that there's no precedent either. SGML has a mechanism for parametric macro expansion where your element is syntactically replaced into an arbitrary markup fragment, with type-checked arguments (= attributes at the call site, just as with custom elements), and with type-checking the resultant expansion in context (ie. checking whether the expansion adheres to the content model at the expansion site), also having of course the capability to include JavaScript. Moreover, SGML actually can serialize/re-parse such markup whereas HTML's preliminary APIs for fragment parsing won't deal with contextual tag inference at all.
... and everybody will just think it's normal for "StackOverflow, Reddit, Github, Twitter" to sell access to content that other people created and own...

If something is truly proprietary, then the compensation should go to its owner, not to some random Git server operator or whatever. And the owner, not the server operator, should be setting the price and terms. If the server needs to make money, it can charge for the basic service itself.

On the other hand, if somebody created something to give it away, on a platform that at that time provided a channel effective for giving things away and advertised itself as suitable for giving things away, then the platform changing the rules midstream is morally piracy of that person's work.

Probably a very large fraction of the material on those platforms would never have been put there in the first place if the actual owners had expected random restrictions and arbitrary access charges.

If they want to radically rewrite the rules like that, then they need to not sell access to any preexisting content unless the original creator explicitly opts in. But we had Reddit, for instance, actively reinstating posts that had been mass-deleted by their authors specifically to prevent that kind of abuse.
I don't feel like web components and React should compete for most people. Web components feel pretty good at making leaf components, especially when they will be used with multiple technologies. I tried using React to only make a single component for use within a larger React app and within a Django site, and it was not as smooth as a web component. Also, I tried to make a web component app and there was way more friction and less tooling than a React app. As it stands now, I wouldn't use React for single component nor web components for an entire app.
Organizer invents fake women speakers for DevTernity and JDKon conferences
> At some point people need to be responsible for their own decisions.

You're asking this of a group that largely can't vote, sign contracts, and which America doesn't trust to drink.

I can get worked up about Meta targeting children in ways which they don't have the experience, or knowledge to know about let alone to avoid. Children should be protected from bad actors like Meta and let me be clear, any company taking advantage of kids is a bad actor.
The court just ordered the transport agency to hand over the license plates to Tesla within a week.

https://www.svt.se/nyheter/inrikes/domstol-teslas-registreri...
Brainfuck is also super easy to read, and all codebases look the same. That's not a good thing. A language optimized for reading wouldn't clutter most of a screen with "if err != nil". Something like Rust's `?` would be a far better option.

Agree that the limited formatting options is nice, though.
Sure. The rules on firearm damage by caliber aren't relevant in a Cave Man RPG. The super powers can't be used in a setting without super powers. Ignore the magic systems in a cyberpunk game. GURPS is pure mechanics without assuming a setting so of course it's rare you'd use all of the mechanics in the same game. GURPS gives you everything but the setting. It's a toolkit for building role playing games with very different flavors, but does this by giving you mechanics to leverage in these scenarios. Whether it's the tactical shooting or high fantasy martial arts or alien device granting super powers. There are rules and mechanics designed for it in a generic and easily expandable way.

I think we're probably in agreement and I just misread your original statement. GURPS is very much a mechanics heavy game whereas D&D married their world setting to their game mechanics and abstracted it to a degree to which they are difficult and often not worth separating. That's why it feels weird to say D&D is more mechanics based than GURPS when GURPS has mechanics for everything you could want to do regardless of setting. I'd go so far as to say GURPS is JUST mechanics, and you've got to bring everything else to make it work.
It was sloppy coding on the project I took over, but it still made me wish for explicit style interfaces. Cleaning up frequently broke the project in non-local ways, because someone would break an interface without meaning to.
> Make a convincing argument that a different design pattern is better.

Simple Model-View-Controller pattern works well for JavaScript, just as it does for ASP.NET Core, JSP and JSF, Ruby on Rails, Django and so on.

Want proof? Browse this code:

https://github.com/wisercoder/eureka/tree/master/webapp/Clie...

This is the application: https://github.com/wisercoder/eureka
A little skepticism never hurt anyone... or did it?
Yes to all of the above? Advertising is a nasty industry and should be tightly controlled.
Most of the states are too big to be economical. I think the biggest disappointment with US rail is that it doesn't get enough trucks off the highway. There should be no reason for trucks to venture more than a couple hundred miles from the nearest rail terminal. Not only is it wasteful, but it's more dangerous having trucks driving across the entire country.
UK and US lead international efforts to raise AI security standards
I think back in the Amiga days the major groups were Trilogy and Paradox late 80s-92
Clearly performative?

The court just ordered the agency to hand over the license plates to Tesla within a week.

https://www.svt.se/nyheter/inrikes/domstol-teslas-registreri...
Just avoid the 'FPGA reimplementation v actual hardware' religious wars and you'll be fine.
It is possible with React to write an application where components have no internal state, every component is "read only," and all UI changes are state transitions in (something like) a redux store.

This is rarely done, because there are pragmatic reasons (e.g., animations) not to, but it is possible.

The other mistake alternatives make is to try to make components having internal state "easier." It should not be easier! Every single useX() is a statement that "I am violating the proper design pattern of this application," and it's a feature not a bug of React that you have to be obvious and intentional about it.
> MatthewSt reports that he has a fix

Let’s see the instructions on that link.

> 2. Install an old version of Google Drive (there's a version 82/83 floating around on the internet).

This is awful advice. If you have a link, share it. Considering the number of people this is affecting, chances are increasing that the version you find “floating around on the internet” is malware.
> I will spell it out for you: Almost every language in the world has some sort of template-based autocomplete for common boilerplate that is often used, from class definition templates to if statements.

Which is very conceptually simple. `sout` in Intellij creating Java `println(...)` is very simple. Completely straightforward. Unlike LLMs.

- Go is simple!

- Great, but it takes a while for me to produce code in Go.

- No problem, just use an LLM to help you write it!

I felt that there was a 20% chance that you were being satirical.
Even a very reasonable CPU temperature under load like 60C, you can only touch a surface that hot for about 5 seconds before being burned.
Go is verbose, a million plus LOC doesn't go as far as it would otherwise.
And the same applies to attractive men with unattractive women. It's not necessarily a women vs men issue.
Show HN: Monkey See, Monkey Do
monkey do, monkey see
Worker's death from blunt force injuries resulted in $7k fine for Amazon
Can you rephrase your question?

Why would someone consider the reals to be bigger than what, Aleph_1? I'd say the majority of mathematicians consider the reals to be bigger than Aleph_1, including both Kurt Godel (believed it to be equal to Aleph_2) and Paul Cohen.

Paul Cohen gave a talk where he said he believes the continuum is something unimaginably large, in fact if we take C to be the size of the continuum, then Cohen believes C = Aleph_C.

There are a variety of motivations for these reasons, but they mostly boil down to believing that the continuum is something that is unreachable and non-constructible.
Funny, that's the one thing I complain about gofmt. I can cope with the occasional diff noise but avoid kilometer-long lines. This is especially noticeable for function names that get long quite quickly.

Also, this means that there is more than one way to format the code, which stands pretty weird given the philosophy of Go.
I hate everything that runs on the jvm, only use kotlin for Android stuff. I dont think I am the only one. Simplicity=python, performance=go.

Memory usage is absurd and when you cap it, the performance is worse than Scratch.
Wrong. The longer it takes the better for Tesla because they just won an interim decision in court.

https://www.svt.se/nyheter/inrikes/domstol-teslas-registreri...
Because you don't control what the autopilot system does. Tesla does, and as the manufacturer of the product, is the party in place to minimize the risks it creates. Most especially in this sort of context where they have prior warnings as to the product's failings, and neglect to provide warnings or to fix the problem.
If anyone would like a free PostgresML T-shirt, we just did our first run. Feel free to email me with your shipping info and size. It'd also be nice to get to know you a bit if your email address isn't obvious.
So this isn't replacing the main implementation? They just funded a new project written in Rust that is compatible?
US Government UFO cover up
Some things overlooked in that blog post for others to take into consideration:

- eslint only works on javascript + typescript (eslint + typescript needs _more_ configuration than eslint + prettier), while prettier works on https://github.com/prettier/prettier/blob/03ebc7869dc9e8f2fc...

- eslint + prettier doesn't need lots of configuration from the user. You add eslint-plugin-prettier and say `"extends": ["plugin:prettier/recommended"]`
Firefox for Android, unfortunately, is plagued with UX issues, which makes switching much more difficult.

I cannot even render HN well.
That's true but it's a separate matter. Yes, vegetable and seed oils can be unhealthy if they are processed into trans fats, but otherwise they can be healthy.

Whole Foods, for example, banned trans fats 20 years ago, but they sell many products with vegetable and seed oils, and those are generally healthy.
The definable numbers, no matter if you use the constructible, algebraic, or computable numbers are countable infinities, or aleph naught.

Any segment of the real line, no matter how small you make it is aleph_1 or an uncountable infinity.

I realize that those concepts are difficult to build intuitions around, but what I said was correct.

definable,algebraic, and computable numbers have such a tiny percentage of the real line that added together their infinity of representations are still countable and equal in size to the natural numbers.

You could map them all 1 to 1 to natural numbers and they would be the same size as the natural numbers, which is tiny compared to the reals.

The reals being uncomputable 'almost everywhere' is well proven at this point.

Cantor diagonalization being the typical way of showing it.

'Almost everywhere' as used above has a formal definition:

A property of X is said to hold almost everywhere if the set of points in X where this property fails is contained in a set that has measure zero.

The reals are uncomputable 'almost everywhere', the reals are not constructable 'almost everywhere' etc...
I say quit it all And LEARN a new ontology. ;) Perhaps the (1972ACSP) Srimad-Purana or Gitoupanisad will assist? You want that year or previous. Anything after '72 is garbage.
>I don't know how you could see "mongoDB" and not think it is tech

Depends on the age. MongoDB may not have been such a common name back when the tshirt came out. I have a couple of Palantir t-shirts (american apparel, 100% cotton I think) that have held up over a decade and are really comfortable. One of them says, "Save the shire" and Palantir. I don't think people would have known that it's a tech tshirt back then.
> At some point people need to be responsible for their own decisions.

We already do that. When they turn 18, we expect people to be responsible for their own decisions.
Looking at https://fortranwiki.org/fortran/show/elemental, it doesn't discuss how to fuse elementals with out elemental operations, their behavior on different dimensional inputs, or how to make any operation elemental (for example the use case demonstrated in the blog post of `string.([:hi,:bye])` where a built-in operation for turning something into a strong is transformed into an array operation on-demand by the caller).
CAD is a stronger example (once you get to any practical complexity, naming the entities becomes intractable (and you need names to form text sentences about them), spacial selection is much more effective, even with hierarchical grouping of parts.)

Though even for text-based development, it's worth looking at Bret Victor's "inventing on principle" talks - it's more about the discrete vs continuous boundary (and that more things are honestly continuous than you might assume.)
I mean it's not like MATLAB where a company put in millions of dollars to make these libraries - the entire ecosystem was developed by open source contributors because they liked something about Python - sure, it's probably not as sophisticated as some of the other languages, but it has a low barrier of entry, it has users, and people developed libraries - in some cases because that's where users are and in many cases because it's the language they know!

You're thinking about the programmer effort put into making certain libraries efficient, but think about the users who are reaping the benefits of low barrier to entry! More people are coding, getting comfortable with the idea of programming, and we should welcome them!
Ok that's totally fair. What's the Go name for it? In my mind Go interfaces are duck typed.
‘Niche money for nerds’ doesn’t sound like a world changing concept.
You are mistaken if you think that the abundant use of interfaces etc. is motivated by anything along those lines. As someone who often puts basically everything behind an interface and abstracts everything in sight, it's not because it has anything to do with being smart, quite the opposite; it's the only way I can keep any meaningful portion of the code in my head. Give me a 5000-line straightforward / unabstracted implementation of something and I'll struggle, but give me thingDoer.doThing(), behind an interface so I don't even have to know how to construct one, and I'll be happy and able to focus on the task at hand. This applies even if I'm the one who wrote the ThingDoer interface and its implementation(s), and even if it was only 30 minutes ago.
> Then you won't ever see line-width changes mixed in with functional changes.

You will - every time you extend a line which now exceeds the limit.
Is Our Passion for Remote Work Negatively Impacting Our Mental Health?
What do you do that doesn't require authentication?
Yet another reminder that nobody should be storing anything only in the cloud. If you must use the cloud, always keep your own copy of all data you put there.
> It's not illegal to target user's vulnerabilities in order to get the user to spend more time or money on their platform.

Perhaps it should be illegal to target children in such ways? I'm tired of this argument that companies should be able to do whatever they wish in the name of profit, they need to be reigned with strong regulations.
No NJ Transit trains?
Go as a language is pretty darn good. Go as a runtime is a never-ending pile of problems mostly stemming from the authors' determination to fight the operating system for concurrency.
Quickly stopping the flow of water in a pipe can cause wear (damage) to joints in the system. Ideally, the solenoid opens and closes just one time for a fill cycle.
Do grocery stores “capitalize on vulnerability” when they ... place junk food at the checkout line to capitalize on your impulsiveness when you're least able to defend against it?

Yes.

You can be expected to make responsible decisions as an adult. That doesn't mean that there aren't bad actors trying to take advantage of you, and that this behaviour isn't borderline unethical.
I can understand people wanting to share rare local stuff which would be otherwise harder to find. In New Zealand even though tvnz has streaming, all the older material still hasn't been digitised.
As with all things, the answer is:

For some people, yes. For other people, no.
They try, but not successfully. It is called the healthy user effect. If something is already considered unhealthy by conventional wisdom then people trying to be healthy dont do that thing. And it's extremely difficult to account for because the differences between those people and everyone else are very large and difficult to lock down, since they will tend to do lots and lots of things that you are supposed to do for good health, but most people dont.
Oh neat, I guess I missed the "_piped" arg when I looked. That does make it a lot better.

> And of course, you don't actually need to shell out to sort/uniq either:

Yeah, it's a contrived example. Imagine something more important happening there. :)
my guess would be that they move an absolutely tiny amount of air, and pressure is force * area. They explained that since air is a very poor conductor of heat, most of the heat tends to pile up in a thin boundary layer next to the fins, and just exhausting that will get you most of the cooling performance.
I’m loooooooong past warranty here. Lots of suggestions of engine thermonuclear destructions of the country (on internet for putting lower octane than “required”), but so far so good.
(OP here). In practice my stress level about this (for me and my family) is about zero. Eight year olds are quite smart; he knows exactly what is going on here and finds it entertaining. Real dad’s presence isn’t going anywhere. It’s largely a fun gimmick and treated as such. And if it started getting weird, I’d just turn it off.

Now, as the tech improves I think this line of thinking is going to be a legitimate concern - I don’t think you are being a wet blanket. But at its current level, it’s pretty transparently a half-baked computer program, and treated as such by my kid.
If the chassis were a heat sink, it would be a serious burn risk.
The lack of true exceptions are annoying, but what kind of environment are you writing in that it's so expressly prohibitive to quit after a day? I've written error matching functions (and now there's errors.Is()) that mostly achieve the same things exceptions do, so I'm struggling to match being so overwhelmed by textual errors that you ignore every other improvement with the language over others.