skysight-inc/HackerNews huggingface dataset:
After some work with go, I wouldn't call it simplicity that much. Simplicity has too many implications and expectations and by now, I'd call simplicity context dependent. In the right context, spring boot can simplify backend code, in the right context, libraries like panda can simplify data crunching algorithms in python. And even as this thread shows, "simplicity" immediately blows up into discussions between the different kinds of simplicity.

I rather tend to call what go does regularity and the language design of go does promote said regularity. Regularity in this context means: Go codebases and lots of go code tends to follow very similar patterns.

And this in turn makes it simple to digest even complex code bases, at least to me. A go codebase might just contain more code, but chasing some listener on the result of another listener through multiple annotations and config files in a java codebase... yeh.

And on top of that, this kind of regularity, as well as the kinda small set of libraries to do something makes it easier to get started with the language in my experience, especially for people who aren't seasoned developers.
"making your work easy to understand and explain to others"

This is the hallmark of a professional (very likely mature and senior) team member. Nothing to prove and interested in a maintainable project.

There are times for clever, no doubt. Every rule has an exception.

Bill (William) Kennedy at Ardan Labs has a line he uses in his talks: the bottom level developers need to grow and come up and the top level developers need to avoid cleverness and come down and everyone meet in the middle.
Bad analogy. The music on a CD doesn't change after you purchase it. Windows is in constant evolution.
It doesn't matter for the court case, but this thread is a court of public opinion, not a legal one.
How the Blockchain Technology Will Impact Mobile Application Development
Time will tell, but as a machine learning engineer, when you see results this good it's more probable that a mistake was made. They could be reporting the training error on an overfit model or data leakage could be occuring due to an improper train-test spilt of the data.

Also, it is definitely appropriate to use the term AI in this case. AI is not a technical term so it's really in the eye of the beholder, but I think it's safe to say that ML is a subset of AI. Perhaps people are conflating AI with AGI?
Work proceeds on natural intelligence system for predicting seizures:
https://www.nature.com/articles/s41598-019-40721-4
> And at least the way I figured out how to do it, it involves a cleartext password sitting on my filesystem

git credential allows for programs to query it for credentials based on the server you're connecting to and store it for a configurable period of time in memory. So you don't have to store your password in the config file. You would enter it on the command line when you invoke git send-email and if you run the same command within the configured time period, you won't have to re-enter your password.
A computer-generated proof that nobody understands – Xena
Define ‘overrated.’ He did get awarded a prestigious prize, didn’t he? (On the other hand, there may be little that’s left to be discovered in mathematics which one could call groundbreaking and which the human mind could comprehend without a life-time effort...)
> Future Work

> Design a processor for which this library is relevant.

Putting the cart in front of the horse ;)
In my experience working with and having relationships with many practical/pragmatic/realist people, i would say yes - but...

Im too much of a dreamer/imaginary-driven, and i need these types to keep me focused.
Elon Musk Rips Boeing’s $90M Space Trips as Cost Tops SpaceX’s
Typescript's goal is to represent the complexity of a dynamically typed language with type annotations so you can run static type analysis and verification. Typescript shouldn't learn anything from Go, because their goals are completely different.

The great thing with Typescript is that you don't have to use all its spec to benefit from it, so no user has to know the entire spec.

But you can't complain that Typescript does exactly what it was invented for. Blame Javascript.
>Devil's advocate: What about the developmental and psychological damage inflicted by some (Not all) school environments?

Since everybody gets that, that's the same as the "developmental and psychological damage inflicted" by society, or life in general.

In other words, a necessary evil. And perhaps not even evil, just something to make people stronger for the real world, which is not all roses and love.

Children might be incredibly cruel to each other, but the stakes are much lower. In adult life adults can be cruel to each other in much higher stakes (cheating on you, taking advantage of you, stealing from you, abusing you, beating you, looking down on you, and tons of other ways). And that doesn't stop in a few years, like school does. Those cruelties can go on till one dies...
Without digging too much into syntax, issue of GC there is a simple ani-feature in go:

I can not create and control native threads. While Goroutines are nice and needed feature some of my software simply can not function without the native threads. Hence Go is no go for me.
T-Mobile’s Legere Isn’t Taking WeWork Job, Relieving Investors
Superconducting Quantum Interference Device
I think you’re over simplifying auto repair work. Sure, sometimes it’s an oil change, which is short, well scoped, etc... But a lot of times it’s “Sometimes, when I’m turning left, the car makes this noise... you know, like a whining grinding popping noise. It’s not doing it today though.” And you don’t know if it’s a 5 minute fix or a 5 day investigation and replacement of major drivetrain parts...
> Literally there's a green download box on the front page, up and to the right.

In fact, there is literally a small white rectangle with light green text that is difficult to read. The rectangle is only filled green if the user happens to mouse over it. Also the box floats well outside the center view of the page-- i.e., the user has to use time and energy to move their eye outside the main text flow to that area. Compare to the Ubuntu front page where the download link is in the flow of the main block of text.

Again, to be literal:

default: unobtrusive box with small text and an icon that has an arrow outlined in a gray-on-a-white-bg so light I can barely see it on my wide LCD screen.

mouseover: box becomes more prominent and text becomes readable

That's the opposite of the style you described.

> You could also press / and type "download" and it's the first hit.

It's funny because the design you are defending is one of the few that breaks the discoverability of Firefox's wonderful realtime search.

FF search is so helpful because a) the text gets highlighted in realtime as the user types and b) FF will jump to a scroll position that brings the current highlighted text into view. Because Debian's unobtrusive download box is outside the main text flow and at the top of the page, the user is unlikely to notice the realtime selection and they don't get the benefit of a scroll jump.

So yes, FF "/" is awesome, but Debian's website somehow finds the way to make it the least effective at revealing that download link to the user.
Ask HN: Have you tried teaching coding by starting with a functional language?
When I write in Go I spend almost all my energy thinking about the thing I am writing, not the language. It's a breath of fresh air, like modern C with a safety lock on the footgun.

I learned how to code "thin" low abstraction C++ and un-clever dynamic code in languages like Ruby and JS as I matured as a programmer, but it takes discipline. When I was younger I fell like so many others into the trap of showing off my command of languages instead of showing off my command of algorithms and ability to solve problems elegantly.

I don't find Go that ugly, especially with standard 'gofmt' formatting. It's so simple the brain learns to parse it as effortlessly as the compiler.

The brilliance of a program is its results / its complexity, with the greatest code ever written being simultaneously the simplest and most impactful.

Go makes that maturity natural and easy. I think it's a great influence on the programming zeitgeist as well as a nice language.

Haven't tried Rust yet but my impression is that its somewhere between C++ and Go. Can anyone comment on Rust's cognitive load?
What is this meant to inspire? The researchers featured have become arguably as neurotic you might imagine:

>Kaur still finds her own habits influenced by her nanoparticle research, over a decade later. “My friends find it hilarious that I’m hugging the building side when I walk along a pavement!” she laughs. “Wherever possible I cut through the park or I take the side roads.”

>In Edinburgh, Raftis goes a step further. “I stopped burning candles in my house. I don’t use or have a log burner at home, even though I like them... I always have the extraction on when I cook food. I don’t go for runs along roads, I always run in a park. I don’t drive and don’t think I consciously could do unless it was an electric car.”

If an article whose message is basically "Toxic particles are everywhere, unavoidable, pragmatically undetectable, and they're killing you" isn't fear mongering, then I don't know what is. I'm just surprised I don't see any ads for air purification systems on the page.

>She cycles, despite the proximity to high particle counts, because “even if you cycle in heavy traffic you are offsetting the exposure to air pollution with exercise.”

Someone correct me if I'm wrong, but you can't "offset" pollution with exercise. If toxic nanoparticles in your blood stream is killing your cells, then strengthening your cardiovascular system isn't "cancelling" it out. The content and motivation of this article is very questionable.
Agree with this. There are couple of observations I'd make, though.

Firstly, "enums" using iota should always be defined as either

const (
Red Colour = iota + 1
Blue
Green
)

or

const (
Unknown Colour = iota
Red
Green
Blue
)

to avoid the zero value problem.

Secondly, and this is a personal preference, I've really enjoyed not having to work with sum types. In practice other programmers seem to use them when a public interface would have been sufficient, and it's convenient to be able to do:

// original package
type Position struct {
X, Y int
Rot Rotation
}

type Action interface {
Apply(Position)
}

type MoveForward struct {
Steps int
}
func (m MoveForward) Apply(p Position) {
switch p.Rot {
case Up:
p.Y += m.Steps
...
}
}

// second package wrapping the first
type WarpToPoint struct {
X, Y int
}
func (w WarpToPoint) Apply(p movement.Position) {
p.X, p.Y = w.X, w.Y
}
Cheapskate. How about getting Hawking’s body or Galois’ short life.
This explains so much!

I was recently working on an infrastructure deployment with a team in Sweden and those of us from the US could not understand why everything took a commitee to do anything outside the norm.

Like, no individual would just do a task or make a command decision unless a broader team was engaged.

The work got done but, yeesh.
How does this become a treatment, assuming the results actually hold up? Is it possible to prevent seizures with a timely dose of a powerful epilepsy medication? Are there portable EEG rigs that can produce sufficiently powerful readings?
Show HN: Reader Mode – A fully cuztomizable “Reader Mode” with dyslexia support
Hello HN! I made this.

Reader Mode is a Chrome extension that removes clutter and ads from any article, so you can enjoy reading in a clean, distraction-free “Reader Mode”.

It comes with features for people with dyslexia. The features include Dyslexia Fonts, Dyslexia Ruler and Text-to-Speech feature with 40+ natural voices.

Here’s the quick highlights of what it has and can do:
- Distraction-free and ad-free "Reader Mode"
- Theme customization
- Custom CSS
- Print pages
- Fullscreen mode
- Auto-run ability
- Deletion of unwanted elements
- Save edited pages
- Share To Twitter
- Dyslexia Fonts
- Dyslexia Ruler
- Text To Speech
- Outlines
- Text annotating and highlighting
- Note List
- Auto-scroll functionality
- Dark Panel Mode
- Google Search
- Google Translate

SPECIAL DISCOUNT : There’s an exclusive 25% discount off the PRO version today for all HN mates. To use it, just enter “hackernews25” code at checkout.

Happy to answer any questions! :)
Most people are thinking of gos simplicity vs. javas over abstraction of oop. I personally prefer the ugliness of go to the over abstraction of java.

However go is missing fundamental concepts of algebraic data types that in itself is causing problems. In their effort to create a language that moved away from the flaws of OOP they failed to have knowledge about type theory and created a language that in removing the flaws of OOP they have also accidentally removed fundamental language concepts. My guess is that they didn't know about the theoretical concept of sum types at all because sum types exist in Java as inheritance.

The two biggest being parametric polymorphism and sum types and it is these two things and the consequences of these two things that are causing the ugliness in go. Everything from default zeros, functions that return both errors and values and repeated code.
If so, what were the results? How did people react when you showed them non-functional languages later?
The third party doctrine was always a disgusting mess. Sharing my information with entity A does not even remotely imply I'm okay with sharing it with B, and even less that A may be compelled to reveal my information against my and their desire. So often we hear that "corporations are people" - so can people be compelled to inform on others, without a warrant? They're a third party, after all!
Things like vcgencmd that allow you to read and write values to the GPU OS that actually controls the physical hardware.
We Compiled a Golang Database in the Browser Using WebAssembly
The problem is you’re delighted by the code but everyone who comes after you can’t stand it.
While I agree with what you say, the dependency tree becomes more complex, I’ve found the alternative much, much worse. You can also “mimic” the old behavior by just forcing all the libraries to compile against a specific version of a library, thereby simplifying your dependency free again.

In other words, Nix’ approach gives you the choice, while the current approach forces you into a certain direction.
He's the only other CEO with that much hair I thought it was satire
> Take joy in doing these things with precision and efficiency, and making your work easy to understand and explain to others.

If you think this is different than what the parent is describing then you’re doing it wrong
yes - https://www.sciencedaily.com/releases/2017/11/171116090136.h...
Regardless of the interpretation it's not a false premise. The uniqueness of the answer is just an assumption that we don't need.

Suppose the question was instead: "What is the unique real number x for which x^3 = 8?" We can guess and verify that x = 2 is a solution. And if we're allowed to assume that this equation has a unique solution, then that's enough. But if we work a little harder, then we don't actually need that assumption: we can prove that x = 2 is the unique solution.

Similarly, in the original problem we could guess and verify that FFFFTF is a solution. And if we're allowed to assume that the solution is unique, then we're done. But again, if we work a little harder, then we don't need that assumption: we can prove that FFFFTF really is the only solution.
LWN has an article on drgn that might be useful:

https://lwn.net/Articles/789641/
Not sure what's that supposed to be. What's this "Max" class?

In any case, that's not some counter-argument, even if it points to a real wart.

It's "let me throw a random Java wart, as if it means something, and as if other languages don't have their own warts".
Hand and Wrist Exercises for Computer Users
Relative to Earth’s size, sure, but all the giant planets in the solar system have several large spherical moons, hundreds or thousands of km in diameter. These two rocks are small by any planet’s standards.
This topic is more complicated than “for loops good, iterators bad.” I absolutely agree there’s a time and place for both; that’s why we included both in the language. But sometimes, iterators have less bounds checks than for loops do, so they can be more performant than a loop. Sometimes they’re the same. Depending on what you’re looking for, the details of what you’re doing, and your literacy with various combinations, different ways of expressing the same idea can be good. It all just dependents.

(Also, rust’s for loops are implemented in terms of iterators; they’re actually the more primitive construction in a language sense; a while loop with the Iterator library API.)
they hijack other people's images and when you click you are taken to a pinterest page which is obviously fake (not curated by a human). If that isn't spam , what is, really?
I don't know if it's the best way, but the way I've been managing kubernetes at work is with a custom typescript library to interface with kubernetes. That library has two frontends, a website and a CLI. Whenever I add some new feature to the cloud I prototype it in YAML first and then when I get it working I integrate it into the program.

It works mostly pretty well. It's a lot more organized and powerful than having a bunch of YAML. It does feel a bit "heavy" though. There's also parts of the kubernetes api that are hard to deal with (log streaming for instance..)

I don't put everything in the tool though. Anything that's a one-off I just check in YAML for. But anything that you might do repeatedly I add to the CLI, and the website is for more general non-ops use
About the only IP this trial hasn't covered is trademarks, so I'm not sure how the Microsoft decision applies.
Status update on that bug: https://www.cnx-software.com/2019/11/04/raspberry-pi-4-4gb-m...
Not quite -- orbital mechanics are Hamiltonian, which means they conserve energy, phase space volume, and often a bunch of other things. Dynamical systems that conserve phase space volume cannot have "strange" attractors (attractors with zero volume) like the ones described in the article.
I think there are some pretty good arguments for why Altair (which is just Python bindings for Vega Lite) should be people's first choice. I've written about this here https://medium.com/@robin.linacre/why-im-backing-vega-lite-a....

In my mind, ggplot2 is actually more comparable to matplotlib in that it's more expressive, but less intuitive. It's interesting that the 'successor' to ggplot2,ggvis (which is on ice) , used Vega as a backend.
they are objectively worse, because they are a single entity , unlike those 1000s of tiny blogs.
It's worse: it's reality TV.
As per the person you quoted, you can't equivocate a good night's sleep with "worsening someone's health" just because said person might alleviate depressive symptoms with deprivation therapy. Those are not the same things. Add to that, said restriction is not intended to be perpetual.

There are good points in your analysis but shall we discount yours entirely as well for faults such as these?
Interesting read.
My explanation. There are a lot more people that are B class scientists than A class. They are more likely to stumble on new ideas, but they might be unable to articulate them or they may not have the audience that will listen. It takes an A class scientist to bring those ideas forward.
Can you be a little more specific about what WalterBright said that changed your mind? Because the only thing I see that could possibly be considered a mitigating factor is this:

> Both the LA and EA did make the adjustments within 10 seconds. They then did NOT throw the cutoff switches

(Emphasis added, because I missed this the first time I read it.)

If I squint hard enough I guess I can see a tiny hint of merit in the argument that the fault for the two crashes lies at least in part with the pilots because they failed to throw the cutoff switches. But that seems like a mighty thin reed to me. Have I missed something?
Navy UFO mystery deepens amid disclosure
> A bug fix applied to the most recent version doesn't automatically affect packages depending on it, so all of them need to be updated too now.

This is untrue. Everytime that a package is updated, thanks to NixOS declarative build system, all packages that depend on it are also rebuild/updated. Unless you're pinning your derivations, it works even on custom packages created by you.
Ok, point taken, books can have quality issues too. But especially in Amazon's early days it was pretty easy to deal with - just buy from reputable publishers. They've pretty much destroyed that too.
> and there are no adverse effects

Who gets to define what counts as an "adverse effect"?

> if there are they are overridden by the benefits

Benefit to who? You? Society in general (by what definition of "society")? The doctor that defiantly isn't getting free lunches and other "gifts" from the company selling the treatment? The person receiving the treatment?

How are you judging the magnitude of the beneficial and harmful effects? Who gets to define what type of arguments are allowed to be considered when making that judgment?
Good for you. For many Americans who were born into families living in high growth areas (California, New York, etc.) a mortgage is often times the only way to stay in the area close to family, while scraping together some semblance of financial stability.

I'm curious as to why you think the "whole system is a lie". This sort of blanket statement seems to discount the fact that banks do in fact serve a purpose in our society, specifically by providing liquitity.
I remember immediately after Deepwater Horizon, RIG dropped something like 50% to $40 a share or so. I invested heavily in it, proud of my own savviness and cynicism.

That worked out well.
I'm glad this exists. However what I'd look for in a social contract is something about the level of technical support the users should expect.

When the issue of free software support comes up, too often I see the usual "OUR COMMUNITY IS NOT YOUR FREE TECHNICAL SUPPORT WE OWE YOU NOTHING"... o..okay, fair enough. I can't waltz into your community and demand your time for free... But you _do_ want me to use your system, right? You _do_ think that Free Software is a viable alternative to proprietary software, where the creators literally _owe me_ support for their software because I paid them for it?

That's why it would be nice if they laid out exactly what it is that they are committing themselves to. Not just writing code and putting the thing together, but a certain (of course not unlimited) amount of assistance, so I know I won't be totally left hanging. Maybe some OSes are too much of a hobby or experiment and they don't want to offer that level of support. Totally fine. We should expect that sort of thing in the social contract, so users know what they're getting themselves into, and so that we can all step back and evaluate whether Free Software is a viable alternative to propriety yet.
I wish there was a blockchain filter on HN