skysight-inc/HackerNews huggingface dataset:
Does anybody have an equally short summary of any differences today?

By the way, there are links below the text, here's the one to the HN discussion of 2016: https://news.ycombinator.com/item?id=10885727
Using different delimiters in sed (2010)
OT: I visited a Chinese company last year in Beijing and what impressed me most was the richness of open source solutions there. To mention a few tools they were using that I haven't heard before: jstorm[1] (storm inspired stream processor) , dubbo [2] (grpc like for Java), codis [3] (redis clustering/sharding solution), canal [4] (mysql to Kafka forwarder).

Most of the code base of this company was java, go and PHP. And the comments were on Chinese and they were doing a task force to translate to English.

[1] https://github.com/alibaba/jstorm
[2] https://dubbo.incubator.apache.org/en-us/
[3] https://github.com/CodisLabs/codis
[4] https://github.com/alibaba/canal
> if you run GNU Tar with --sparse and a file shrinks while tar is reading it, tar fails to properly handle the resulting earlier than expected end of file.

Is that a bug? Yes. It's different than changing the data of file but still.
It's important to note that jazz musicians tend to think as much in terms of relative harmonic and melodic movement as absolute pitch. I have a decent repertoire of standards, but I honestly couldn't tell you what key any of those tunes were written in.

https://en.wikipedia.org/wiki/Roman_numeral_analysis

You're possibly being a bit harsh, but only a bit - being able to transpose on the fly is a fundamental skill in jazz, akin to sight-reading in classical music. I can't sight-read particularly well and would embarrass myself in a classical rehearsal, but I can instantly transpose a lead sheet into any key and I would expect the same of anyone who expects to be called a jazz musician rather than a jazz student.
When I started Vue I was somewhat disappointed that Vue components aren't first-class HTML.

I looked at W3C web components instead and I liked the concept better. For example why not define control flow elements like, for example <c-if> or <c-loop>? However I didn't gain enough practical experience to be able to recommend them. Perhaps there are problems lurking behind them.

So this left me wondering why web components aren't as popular, even including accompanying frameworks like Polymer. I suspect that in a few years Vue will maybe again being overtaken by another framework basing on W3C web components, just because web components feel more natural than Vue components.
> Other companies are boycotting Apple, which is battling with Huawei for second place among the world's smartphone producers.

> A machinery maker in Shenzhen, where Huawei is based, threatened to confiscate Apple devices from employees and fire those who did not comply. Menpad, a Shenzhen-based tech company, said it would punish employees who buy Apple products. Finally, Shenzhen Yidaheng Technology said it would fine staffers who bought iPhones the equivalent amount of their device, while other companies threaten to withhold bonuses.
Although not all faults can be attributed to the current mayor, the current one is IMO the worst the city could have: elected because she was "honest" and green (as in inexperienced).

It turns out that real or perceived morality without any semblance of skill is not enough to handle a city, even more so a large city like Rome.
I think he's using a measure-theoretic meaning of a measure. Suppose I asked you what the difference in intelligence is between person A and person B. The problems with that would start pretty rapidly.
I think he should have reported this but writing it up as a fairly detailed blog entry.
GuardRails.io anyone?
I had inherited my big brothers C64, along with a couple of paper notes on how to start games. I was very young, around 6 years old.

This article finally revealed to me that weird helicopter game I had played on the C64. The memory of flying over an ocean with a helicopter had stuck with me but not the title. I can't believe I played that title, and it was the inspiration to Sim City! Which I later in life played a lot of.
Which means you find programmers with no passion or love of their craft.

The vast, vast majority of programmers in the entire world work 9-5 then go home and don't think about work, same as the vast majority of accountants, lawyers, dentists, bricklayers, retail workers and everyone else in every other profession. HN, SO, GH are all tiny niches really, but if you're inside them they look like the whole world.
Source? Don't believe that's true.
It's a mess in the same sense that Vim and Emacs are a mess. Traditional notation is designed to be maximally efficient for expert users at the expense of being more difficult to learn.
That may mean sleep deprivation. If you have sleep deprivation, you will sleep longer for some days.

Afaik, 6 hours a day is not enough for optimal performance for most people. It is minimum where people can function with somewhat, but also one where your cognitive capabilities are affected measurably.
> getting abused does not influence intelligence

No, but short of severe head trauma, nobody claims that it does. This almost reads like an argument invented for the purpose of gaslighting abuse.

Abuse could severely impact a person's emotional development, though, and therefore how they treat people later in life, or allow themselves to be treated, with potentially dire consequences.
I'd argue that the apparent lack of ethics and safety concerns are what make Silicon Valley more effective in this arena. There's no upside for government agencies (or, more specifically, the bureaucrats that greenlight research proposals) to take on high-risk projects like these, and plenty of downside. SV-types have a ton of potential upside that they weigh against ethics and safety. Their calculus is different, and makes them far more aggressive in advancing their agenda. Imagine a government-sponsored version of Uber, for a moment. How fast would they have grown? Would they even have gotten off the ground or just folded at the first sign of resistance from current stakeholders (taxis and limos). Not to say that SV-types shouldn't be held accountable, and they're certainly capable of wasting money, but man do they get stuff done in a hurry (for better or worse ...)
>For those outside the USA

USA did not invent Christmas, even if you are right with your statement about 'Christmas eggs', I don't see the point of remarking that you are American as if that will make you some sort of Christmas authority.
Be more conscientious about planning my days--and therefore my weeks, months, and years. I have been out of school for five years now and I noticed recently that time feels like it slipped through my fingers like water. I hardly know where it went. Of course I know logically where it went--I was living them, after all--but in some respect it feels like somebody else was living them because I lived without aim or purpose or direction, simply taking things day by day.

I deal with a lot of uncertainty and over-intellectualizing things and over-analyzing things, and I've realized that none of that has actually helped me move in my life, whether forwards or backwards. I've sort of stood in place, but you never really stand in place because things move whether you want them to or not, so in some way I've stagnated.

I want 2019 to be the year that I put an end to living like this, and instead give myself some direction to go in, whether I can see the end or not. I've been paralyzed by my inability to make decisions, and I want to put an end to that by forcing myself to make some decisions--things related to my career, side projects, health, etc.

Anyway, I'll quit rambling. I just don't want to keep living on autopilot as I am right now.
I had actually listened to this song recently on his channel. Hot tip: It's fun, check it out.
The reason is simple. They don't 'care'. They don't get rewarded for writing great code.

No, it's that an outsourcing company makes money on billable hours. If you can bill the client for fixing bugs, then why would you care about introducing them in the first place?
janet:0:> (lambda (x) x)
compile error in repl: unknown symbol "lambda" at (1:14)

How is it a Lisp VM?
Fascinating but is that actually true? As far as I have been able to search their implementation seems to have been called pdtar.
I believe you’re making a good point that others are misinterpreting or outright dismissing:

Many gifted children come from upper middle class to upper class families. I’d wager majority of the people on this site are from those sorts of families and look around them and say “hey, none of us are geniuses! So, environment alone is not sufficient!” This is dismissive and misses the point (while ignoring most of these people went to good colleges and have good jobs, which typically is associated to “smart people” accomplishments).

What I think you’re getting at, is that you can be gifted and raised in an environment where your parents are uneducated and you lack a support systems to nurture your intellectual growth. You can be gifted and raised in an environment where you aren’t taking college level courses in high school and don’t have what it takes (on paper) to enter a good college and then potentially get held back from what your potential would otherwise allow you to achieve.

Even a kid that has a 160 IQ but went to a school where the highest math course they took is Calculus, will be behind a kid that took Calculus I-III, Differential Equarions, Linear Algebra, Abstract Algebra, Real Analysis and Number theory at a STEM magnet school. Even if they are equally smart as them. The latter kid would likely get into top colleges, while the former kid may get into a State school. The latter kid will be seen as traditionally intelligent, while the former kid may be viewed as average given their high school accomplishments.

I think the demographics of people on this site assume everyone is from the same upper middle to upper class backgrounds and equally have the same educational opportunities like the latter kid.

What they don’t all realize is you can be really smart in a very bad environment and not achieve anywhere near what you’d otherwise be capable of.

Environment plays a big factor along with genetics.
Mine is same as your ex-coworker's, 1.25-1.50 hours one way, around 2.5 hours for commute.
The profile says they work for Alibaba in NanJing. I'm pretty sure that's not in America.
BuiltWithDot.Net – share your .NET projects
I'm currently visiting Rome and am shocked by the volume of garbage (and dog shit) on the street. It's everywhere and quite strange to see juxtaposed with all the fancy marble. I just don't get it. In comparison, my region in the USA is very clean. Additionally, I just came from Russia, which has a littering problem. But even even Russia is a clean paradise compared to the trash heap that Rome has become...
It is actually very close to how it works. Evolution works by mate selection, and that’ll be heavily affected by group selection, since that alters the available choices of mates.
This is a good advice, but I feel to add a few points of mine:

1. the author says "premature optmization", and it has the right context, however I prefer to use "premature abstraction" or even "speculative generalization".

2. YAGNI and DRY can be counter-principles because at times "you aint gonna need that level of abstraction/genericity".

3. Inadequately abstract and generic code hurts simplicity and readability.
Give him a couple days! You're responding to the PPS so take the entire PPS into account.
Yeah, that's a good point - the filter has definitely changed for me over time as well. The don't-care bucket is filling up, and I like it.
Yes, this is showing the problematic aspects of large centralized corporate control on our capability to continue engaging in enlightenment thinking and a healthy democracy.
Buyer’s Guide: The Ins and Outs of Buying a Headphone
Unfortunately, where I live that means I would get 16 hours of sleep in the winter and 6 hours in the summer.
Samsung isn't listed on the Android Enterprise Recommended [1] (ie the pretty pretty please just don't buy all your employes iphones because Apple actually update them) list...

[1] https://www.android.com/enterprise/recommended/
Trump approves Fed US stocks to plunge before Christmas Eve
It is a mystery to me how these press releases end up on HN. Why this press release about a mildly interesting paper, with no methodological novelty, of likely no significance? There are any number of more important, more interesting abd more novel papers coming out every week.

The RNASeq analysis they did isn’t even that up to scratch, they use an outdated unit (FPKM) which isn’t consistent across different samples, and don’t seem to check for batch effects or carry out any normalisation.
It's a mess. The relevant badness is that the interval from one line to the next is not constant. This makes transposition far more difficult than it needs to be.

If the 12 notes of the octave were on 6 lines and 6 spaces, perhaps with a distinct (dotted, wavey, thick, missing, etc.) line to aid in not getting lost, the situation would be far better. There wouldn't need to be a key signature at all, or any accidentals. Stack as many octaves as needed for the part.

Probably we'll never transition to something sane. We can't even manage to get grand staves with middle C in a unique (shared, central) position, which is what you want when hand distinction isn't required.
https://news.ycombinator.com/newsguidelines.html

Don't be snarky. Comments should get more civil and substantive, not less, as a topic gets more divisive.

Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.
I think the guy just wants to enjoy the break. Talking and responding to an email/bug thread is bit more involved than just shouting text to your blog.
Python Software Foundation News: Upcoming PyPI Improvements for 2019
Try doing that with a Eb instrument like an Alto sax and tell me how you like the fingering :)

Also, as the article says, this allows players of an instrument that has different versions with different tunings (e.g. saxophones which can be in Eb or Bb depending on the type of saxophone) to learn one set of fingerings and being able to reproduce it on all tunings.

So, for example, a written C is done by pressing all but the last button (iirc). By doing this you'll play a Bb on a tenor sax and an Eb on an alto, but with the score being transposed you'll know that when you see a note one line below the staff you'll have to put your fingers in that position regardless of the sax you're playing.
Dont know what gave you that impression. I read the whole article. Here are the first paragraphs you refer to. Where does it tell the chinese cars are in any way superior to Tesla technically?

"At this year’s Beijing Auto Show, a retired Chinese bureaucrat bent down to run his hands over the hood of a sleek sports coupe billed as the world’s fastest battery-powered car, and he smiled like a proud father.

In a way, that’s exactly what he was. Two decades earlier, Wan Gang persuaded China’s State Council to throw its vast power behind the risky, unproven technology of electric cars. He advocated using government money, including subsidies, to help create a world champion industry that would surpass Western automakers. That coupe he was admiring at the April auto show? It was built by homegrown NIO Inc.

Elon Musk made a name for himself promoting new-energy vehicles, but when the history of the electric car is finally written, Wan may loom larger. Chinese drivers buy one of every two EVs sold, and the global auto industry is pivoting to adjust. It’s a revolution fomented by Wan, a former minister of science and technology whose achievements are even more extraordinary when you consider that he never joined the Chinese Communist Party.
"
True, but it is feeble and misleading. Software Easter eggs have to be searched for but this one seems to be just there.
If you are working out and have friends, you're probably not living a mediocre life, comparatively speaking. Hang in, friend.
Seems to me that they’ve lost credibility by injecting these sort of ‘joke’ into open-source software used in prod in many companies. How would I use it for a new project now?
> Sorry, but if you deploy a random chunk of third-party code into your production environment without knowing exactly what it does, you deserve to be sacked.

Have you reviewed all of Linux, glibc, nginx/Apache, bash, all several thousand node dependencies, and so on? Do you do such a review each time you have to update a package?

Don't get me wrong, I think there's a serious problem with the micro-dependency insanity, but every single person on the planet depends on others. "We stand on the shoulders of giants" is more of a truism today than it has ever been. It's not a sacking offense to trust people (because you wouldn't be able to do your job if you spent all of it reviewing other people's work).

Most people have a reasonable expectation that maintainers of a project are reasonable people -- which is why the micro-package insanity is particularly problematic. I trust most kernel maintainers and so I don't check each Linux release to see whether a backdoor was added (I only check if I've noticed a problem). The blame should be on the maintainers here -- it isn't acceptable to add Easter eggs like this to a library used by many people (especially if it's being used for Serious Business™).

Would you blame every glibc user (which is all Linux users) if they decided to make all math functions return 25 on Christmas? Of course you wouldn't -- you'd blame the maintainers for having lost their minds.
Exactly. You emulate every WHILE instruction with a GOTO insturction.
> a terminal emulator written in Rust

Is this the headline feature? That it is written in Rust? Can someone explain why this would be a compelling reason to install this?
Show HN: A minimal FFT code
You're right that freeway underpasses are particularly egregious but I found almost of SF to be pretty dirty compared to German (or Japanese!) standards. The incredible number of homeless people is also really shocking for visitors.
Ask HN: What has Haskell ever done for us?
The latest cycle of hype around FP/Haskell, which started around 2013, seems to have died down.

What was your experience with FP/Haskell in the last 5 years?

How did your projects go?

Are you using it in production today?
The FSF references this in a news article [1]. Stating that pdtar is what GNU tar was based on.

[1] https://www.fsf.org/news/2009-free-software-awards
These seem cool but definitely not what I'm looking for. These all look like programming puzzles whereas I just wanted more of this kind of logic/deduction puzzle.
Visual Studio Code provides an actual terminal and allows the user to choose between different terminal implementations such as Bash and Powershell. It also comes with some well thought-out keybindings for switching focus between the integrated terminal and the editor.

On Windows NetBeans does not provide a working terminal out of the box, see https://stackoverflow.com/questions/32959347/netbeans-termin.... Also, while not strictly related to the terminal, the output window can not be used with System.console(), see https://stackoverflow.com/questions/26078106/system-console-....

Fixing either of these two issues would go a long way for improving the workflow when developing interactive command-line applications.

Edit: Oh, and also https://issues.apache.org/jira/browse/NETBEANS-1783. ;-)
Between Scala & Kotlin, I'd pick the latter.
The words are defined using Signed Distance Field functions -- a function that determines the distance to object's surface. It is quite simple to write down an SDF for primitive objects like cube and sphere, cylinder, torus, then using negation and min/max you can create unions, intersections and differences of shapes defined by SDFs.

Inigo Quilez has in-depth explanations and plenty of examples for these: https://iquilezles.org/www/articles/distfunctions/distfuncti...
Except the Bay Area has literally the worst-maintained roads of any metropolitan area in the country.
It's a link to the github repo, submitted to a fairly developer-centric website. It's not a reason to install this, it is why readers here might be interested in looking at the source/the project in detail.
Sony mostly only commits for 2 years from launch for security updates. I only know because I'm looking for an Android that gets at least 3 years of security updates which seems reasonable for $800 phones, and I'd prefer it not to be a Pixel...

https://www.androidpit.com/sony-xperia-official-android-upda...
Given that you would have to fall into the extreme tail end of the normal distribution you ipso facto need fortunate conditions to become one to have a genius level IQ. And geniuses themselves are likely normally distributed as to their contributions to the world. So you multiply two very slim possibilities that you first have a very high IQ and that you then go on to do something noteworthy.

I'm not sure that's a very helpful thing to think about though. You don't have any reasonable expectation of controlling that.

I think one thing to consider is your scenario is personal choices made by the individual. If they have genius level IQ at least one of their parents has to have a significantly above average IQ and is, on the balance of probabilities, likely interested in educating their child.

But let's take the hypothetical that the home environment isn't encouraging at all. When you raise kids you don't spend every waking moment with them, there is plenty of time you leave them to their own devices and they choose what they do based on what's available to them and what interests them. Kids pester their parents pretty damn hard to get what they want. Let's assume there are pretty cold and uncaring parents. Well you will probably be in daycare, so you're not at home all the time and the chance you also go to a wretched daycare is not that high, so assume you are exploring and developing your intellect there. Then you go to school and that continue s. Maybe you are too far ahead and get bored and are diagnosed with a learning disability. As you get older you gain more freedom. Perhaps you discover the library and it makes you feel wonderful that you can learn so much and you don't get such good feelings anywhere else, so you spend more and more of your time there reading and nurturing yourself. Maybe, just maybe, you nurture yourself into a genius still.
Question: how relevant is this with the serverless?
Don't cloud providers provide also these kind of tools?
Netbeans is free, stable, great integration with Maven, git, JavaSE and JavaEE. Why would you choose another IDE for Java development?
So it sounds like you're happy if she becomes a "healthy fat". Has it really come to this?
Are you implying there haven’t been absolutely massive gains in computer vision, nlg, nlp, etc?

The implication is that the massive gains haven't been the result of any algorithmic breakthroughs, but rather have been due to the application of massive amounts of computational resources, which weren't available when current ML algorithms were invented. So far as I can tell, that's a true accusation. If you look at the papers coming out of Google and Facebook, they talk about throwing thousands of hours of specialized GPU (or even more specialized and expensive TPU) time at some of the problems. The advances have more to do with Moore's Law making brute force feasible than they have to do with algorithmic breakthroughs.
China to slash EV subsidies 30% next year
How to Absorb Knowledge Like Elon Musk (Super-Quickly)