skysight-inc/HackerNews huggingface dataset:
I am getting a PhD in mathematics after having programmed since I was 10, basically PhD level CS degree equivalent.

I see Mathematics as somewhat like programming but not exactly like you.

Bijections seem to show information equivalence, like two programs outputting the same information but in different encodings.

Mathematical structures like rings, groups, vector spaces, ideals, etc.. are like object classes, if you can cast your current structure to them -- or prove it is that kind of structure via duck typing or whatnot, you then get a whole slew of new methods, transformations, properties, and casts that you can use on the structure to further manipulate it.

Instead of learning APIs, we learn mathematical objects/structures and their properties (necessary to cast other structures or construct them.)

The casting is really key. Once you cast a bunch of disparate things around using their derives properties and you get an equality, you've got a bijection. Connect the islands. Boom, modular form <-> elliptic curve, etc. Langlands program!

I think programming first helped a lot with having the mindset for information equivalence. That's really the key to so many theorems. Things that appear different and cannot be compared until their representations converge through a lot of wormy structure alchemy. Then you either have equivalence or at least, like structures, so a comparison can be made, and thus a decent theorem.

I really want to study representation theory. I hardly know it but it seems to be a computational/information theoretic subset of mathematics.
I'm posting this one in the hope of discovering few more of such free resources in comments!
Is this on Pro as well? I was tempted to get a dedicated windows laptop but if even Windows 10 Pro contains this nonsense then I may have to reconsider.

Also - I know an OS is different from a webpage, but slamming a company for having "shitty" ads when you've got some obnoxious full-screen ads of your own is pretty funny: http://imgur.com/a/3eJ4H
I hate to sound like the rust evangelist strike force... I really do. But your complaints are exactly what it would solve... Sigh I hate to say this I really do. But here goes...

So have you checked out rust?
We have counters in English too!

Tons of words are uncountable, like water, bread, and so on.

A slice of bread, a loaf of bread, a bread roll (Hey, why did that one come after the 'bread'...)

We even have lots of words that are both countable and uncountable. "I ate some tomato" and "I ate some tomatoes" has quite different meaning.

Overall I think all languages have their foibles, and trying to hold one widely used natural language up as "More regular" or "more difficult" is a pretty fruitless endeavour. Thought it is fun to talk about ;)
Sorry, but that makes no sense. Skyscrapers are a stopgap measure that shortly lowers prices, which only serves to get more people into town if demand stays the same (and creating more demand: everyone needs a hairdresser, a school, a supermarket). In that way, it only increases people density, which is the main fuel of gentrification.

Point in case: Look at the cities with the highest skyscraper density (New York, Tokio, ...) - are they the cheapest cities or the most expensive? Heck, even Frankfurt (nicknamed Mainhattan for its skyline) is more expensive than Berlin.

On top, infrastructure can't keep up with the vertical stacking of people, so you grind to a halt in public transport and on the streets.

Berlin gets it totally right. Prices will increase either way and lead to a nash equilibrium. If I'd want to live in a concrete hellhole, I'd move somewhere else.
Why do you use nemuru as the root?
Mostly I would hear and say neru. So I could not sleep would become nerarenakatta.
> Go is just too different to how I think: when I approach a programming problem, I first think about the types and abstractions that will be useful; I think about statically enforcing behaviour

I see statements like this a lot from Haskellers and I think its overstated. Anecdotally, after going from Python to spending 3-4 years in Haskell then going back to a dynamic language (Elixir) I've come to the conclusion that how you think when programming is very much a learned trait that works for that language. It's neither good or bad, but it's educational nonetheless. Haskell and other languages like it forces you to have a very unique mindset that can overpower previously learned languages not like it. And it's in no way permanent.

After I stopped using Haskell I was like "ugh, I need types! wth!". I wanted to go back to Haskell only out of familiarity, but as I continued after a short while I wasn't even thinking like that anymore. The thought rarely occurred. I stopped thinking in Haskell and started thinking in Elixir.
However, by tweeting it and referencing the tweet, you have created a breadcrumb trail for someone who wants to investigate further. Providing sources isn't just for 'factual proof', it's also for investigation - if someone is interested in a topic, they can go to referenced sources.

It's the whole point of references in academic papers: "To know more, start here".
> You know, starting out with a wild exaggeration,

https://hn.algolia.com/?query=author:lutusp%20psychology&sor...

Over 300 results, all saying pretty much the same thing.
Pulling no punches:

Other than that, I will probably never choose to use Go for anything ever again, unless I’m being paid for it. Go is just too different to how I think: when I approach a programming problem, I first think about the types and abstractions that will be useful; I think about statically enforcing behaviour; and I don’t worry about the cost of intermediary data structures, because that price is almost never paid in full.

Wow.
I don't think this metaphor has legs. "naraba" can mean other things, and there are lots of cases where you'd say "if" in English but "naraba" wouldn't work.

I certainly agree that Japanese grammar is simpler than English, and relatively easy to learn, but I don't think this case (either "naraba", or the "if/then" case generally) illustrates that.
Hopefully. But I wish people wouldn't keep bringing up the Ubuntu example as if to say people are hypocrites for moaning about Microsoft. Most people weren't happy with Canonical either.

Hopefully most people wont use the "well it happened in Ubuntu too" excuse and instead think more along the lines of "people were mad then and it changed things so lets get mad again".
Isn't kratom for musculoskeletal pain ? Would it work for nerve pain ?
I'm fearing more and more that philosophers Sloterdijk and Zizek were right in predicting the ideas of Lee Kuan Yew, the founding father of Singapore, will shape the next century.

>"Could we in fact be seeing the conditions for the further radicalization of capitalism? German philosopher Peter Sloterdijk once told me that, if there is a person alive to whom they will build monuments 100 years from now, it is Lee Kuan Yew, the Singaporean leader who did more than anyone else to promote and implement the marriage of capitalism and authoritarianism -- an arrangement he euphemistically referred to as "Asian values." The virus of this authoritarian capitalism is slowly but surely spreading around the globe, nowhere more so than China."
Are you talking about the universe as in the physical universe in which we live ? Because although maths can be used to find out about our physical universe, its abstractions go beyond what is in our physical universe...

Thinking of the maths involved in certain man made games (eg chess), those maths aren't necessarily truths about the physical universe.

Maths have been useful for clear thinking to help understand and predict behavior in the physical world but they remain distinct from the physical.
The hospital gave me morphine.

This seems to illustrate the US mentality towards opioids: I had a similar accident and the fracture itself didn't really hurt but the muscle tension was indeed very painful and all I got in a Belgian hospital was some Brufen (Advil in the US if I'm not mistaken) - and that did work. In Belgium opioids are generally looked at 'only if it's really necessary'. Belgium does have a severe problem with prescription antibiotics though.
Yeah, we tried hooking an original system to a laser projector at a hack night for the Centre for Computing History back in 2010 and as you say found the galvos just couldn't keep up :/

http://www.computinghistory.org.uk/pages/14439/Hackers-Delig...

A few seconds from 1:42 catches the work: https://www.youtube.com/watch?v=uUEPSuQ6PMs
Is Photojournalism immoral exploitation?
Or just take the privacy hit and use Google maps. You'll get up to date traffic info. Spookily accurate in my experience.
> There is no way to specify a version [of an imported package]

You can do this in your version-control system (e.g. git), via a process called "vendoring". It's ugly but, using one of the popular tools, quite workable.
> How can you do it in gui on windows?

IIS has a UI for pretty much everything

> Why? They're not hard to install if you need it.

Yes but 1. pretty much everyone uses txt commands so configuring these things with a UI would typically not appear in search results when looking for how to do something 2. having a UI is about making the OS self discoverable and intuitive. If it takes to be aware of and install some third party packages then the UI failed its objective.

Another thing that often tripped me in linux is the variety of distributions and tools to do the same thing. I can understand why advanced users appreciate having the choice, but from a beginner point of view, it makes it quite hard as the syntax that will work on one distribution of linux or with one tool will break another.
Melody N-Back: Audioperceptive and memory training
Mathematical truths have nothing to do with the universe.
> I still bump into rough edges now and then when I’m dealing with forms or DOM element coordinates because, when you use setState(), you have to deal with the component lifecycle directly.

Do you have an example of this? Why do you have to deal with the component lifecycle directly because of setState?

Agreed that it's not intuitive from the API signature that setState is an asynchronous operation, and this can trip up new devs the first time. This is a recognized and non-controversial point of confusion. I've never seen this be a substantial issue in real life, though. The article mentions having to frequently hack around setState's behavior, but I don't think I've seen this in any of the codebases I've worked in. I've also seen developers that are new to react get confused by this behavior initially, but never repeatedly after the first time.
I can understand why they do it. But my point is about how hard it is to transition from Windows to Linux.
I feel like some of the criticism is unwarranted, specifically:

> The tooling is bad

I feel like the tooling is really impressive, considering the age of the language. Remember that Haskell is something like 25+ years old. Go has done quite a bit in short time - I can only hope it will get better too.

> Zero values are almost never what you want

I've always felt the defaults to be spot on. Anyway, it's my responsibility to initialise these values, even on struct fields.

> A culture of “backwards compatibility at all costs”

I agree the current (package management) landscape is dire, but this should change, hopefully this year, with godep. As it is now, I have found success using glide for dependency management, so that's what I would recommend for now.

Apart from that, I can agree on a lot of things - I'm specifically annoyed by the whole generics thing, the way I interpret the people involved with the project is "it would be nice to have, but the implementation is awkward, so we won't admit to it being nice to have".
I am sorry to say this but on the contrary... there are no risks of live streaming. There are plenty of risks of being damn stupid though...
100% this. A good portfolio not only helps you stand out, but it has plenty of other benefits as well. I recently wrote about this in more detail:

https://firstdevjob.com/posts/why-build-portfolio
The website is laden with ads too. Could be click bait.
Please don't water down my HN :( I have a separate Reddit addiction for this kind of post.
My Japanese's pretty rusty, so corrections welcome.

IMO you're not "overstating Japanese [verb][0] regularity a very little bit", but severely overstating it. The ichi-dan / go-dan verbs are indeed quite regular, and though there are irregular verbs like the grandparent post's example, IIRC there aren't actually that many (three?). However, that's not the only "axis" one could conjugate Japanese verbs. The complicated stuff are the transitive / intransitive forms, and the compound verbs. While some rules apply, they are more like the "I before E, except after C" English spelling rule.

It would be akin to saying that there are only three verb tenses in English: past, present, and future; simple, right? While it's technically not wrong, it's glossing over the progressive, perfect, and subjunctive forms (maybe there are more, don't remember), and their combinations.

[0] Hopefully from context it's clear we're only talking about grammar pertaining to Japanese verbs, and not Japanese in general. Japanese grammar has plenty of quirks, like how some colors are adjectives (red: akai, blue: aoi) but others are nouns (green: midori, purple: murasaki), or how loan words are usually written in katakana, but tobacco is not, etc.
> The forced restarts on a server are funny too.

If you're already using Windows Server, have it serviced by someone trained in it, and you won't see forced restarts. If i can have 100% control of it on my pro system with only out-of-the-box tools, including selection of which updates i want to install and which not, then so can you on the server version.
Net rental income will remain steady, since landlords will raise the rent to pass along the tax. They may even list it on the lease: "Rent $1000 + UBI tax $400." Everyone will have more money and be able to pay the higher total. The only way the rents can be prevented from rising is instituting price controls.

The percentage of income claimed by landlords will increase slightly ...

before the BI-increase: say $12k rent of $36k income = 33%

after the BI-increase: $17k rent of $41k income = 41%

The only way rents drop is that zoning laws change to allow massive increase in rental space supply, or demand for rental space drops because people are enticed by low rents elsewhere and move. Since zoning laws will change only glacially, if at all, rents less than $(pre-BI rent + new disposal income) will require the Great Universal Basic Income Migration (GUBIM) from urban to exurban and rural areas. The GUBIM is possible, I just think it is vanishingly unlikely.
I'm not worried about Taylor Swift outside of Spotify.

I'm happy to listen to the artists I favour, as much as they get paid little, they do get some revenue from it

https://www.reddit.com/r/Music/comments/5h2lmk/i_am_an_indep...
I like this a lot - always give others the benefit of the doubt!
How about the performance? Big host files AFAIK perform rather bad
Berlin is built on a swamp. It's the reason neighbourhoods with ongoing construction have streets lined with "large pink pipes" [1]. I would imagine this would make building skyscrapers difficult and was apparently one of the factors which condemned the famous Volkshalle to fiction[2].

The airport is a disaster. Are you sure it's fair to attribute the delays to regulation? The problems seems to stem from bad design with the effect of being unable to put out fires [3]. It might not be accurate to call it "ready".

#1: https://viveberlin.files.wordpress.com/2012/07/011.jpg
#2: https://www.wikiwand.com/en/Volkshalle
#3: https://www.thelocal.de/20160427/berlins-new-airport-may-nev...
To share an alternative viewpoint, I read your comment and wondered "what emoji?". I had to go back and skim over the article again -- and reading it in full -- to see what you were referring to.

In other words, I really didn't even notice them. To me, at least, they certainly weren't a distraction at all; in fact, just 30 seconds after closing out that tab I didn't recall seeing them in the first place.
I've never worked in a call centre, but from what I heard about that job, it can be some very emotionally draining work where you have to deal with all sorts of inane and entitled people, and you can easily lose your temper and/or faith in humanity. (Teachers have it worse: they also have to deal with their children.) And Wikipedia can be even worse, with all its perverse incentives and selective enforcement. I'm not surprised that Wikipedians don't bother with politeness. Especially in situations like this, where trolls abound.

> I actually suspect that the basic premise of a universal encyclopaedia staffed by volunteers and run on a non profit basis may be fundamentally flawed.

I agree, but I doubt a change is going to happen. It's just too convenient an arrangement for the WMF and Jimbo Wales: they sit on loads of money they get for basically little more than keeping the servers powered, and he can just present himself as a Philantropist™ by going to conferences and cashing speaking fees, without taking any actual responsibility for the project he ostensibly runs.
At this point all the available desktop OS choices suck. They suck in different ways for different reasons, and they suck by different amounts. But they do - all - suck.

Thank you.

As someone who uses all common OSes on a regular basis I am always surprised, almost intrigued, when seeing the huge confirmation bias causing some users who mainly use 1 OS to bash on the others with reasons which usually come down to 'I actually don't know how to use your OS but once I did and it sucked so yeah my OS is definitely better than yours'.
Luckily they're a state and not part of one. So they can do pretty muchvas they please.
One day, I thought "I should go see Chuck Berry, because he's getting old and I'd like to see him before he dies"

So I did. That was in 1987.

Unlike standard rock concerts, Chuck Berry came on stage at exactly the time printed on the tickets. He played exactly one hour, then he went off again. No encores, no banter.

It was great, though. RIP.
When nearly a whole city fights against the investor kind of world view why do people argue that scaring investors away is a bad thing? It's obviously what the people want and DO achieve. You may not be one of them, but they seem to be extremely successful and should be respected for that.
TL;DR: "Go isn't like Haskell, and that means it's not as good"

I get that we all have favourite languages, but it is not amazingly helpful to try and compare them like this, for me. I'm sure if you're a Haskeller and you're eyeing up Go, being forewarned might be helpful, but here's another idea:

Don't compare. Just use. Take it at face value. Figure out what becomes easy, what becomes hard.

I came at Go from 10+ years of professional Ruby development, and it was a tough punch to the stomach at times. I still think in Ruby more often than I think in Go. But I know the two aren't really comparable for most things.
E.g. Jenkins vs. Hudson
Oh, thanks!

...Wow, the conversations are almost as bad as the article itself...
Agreed. This [0] and the subsequent lessons go onto explain that if clauses change depending on whether something is a fact, whether it is an invitation, whether it is volitional, etc.

I've been studying Japanese for years and I am at a basic intermediate level. I still find grammar hard to read, and even harder to produce naturally. I may just be particularly thick but I think saying "you can master Japanese grammar in a matter of weeks" is pretty misleading.

[0] http://www.learn-japanese-adventure.com/japanese-conditional...
The post I replied to was about hard drives.

You can already fit way too much SSD into a 3.5 inch drive, and nobody will ever buy it because they want more ports and performance per dollar. There's no benefit for either technology to go up to 5.25 inches.
Interesting that "You lack imagination" is apparently not uncivil. FYI, that is the phrase that started the derailment of this thread.

But certain people get away with doing these things on a regular basis for more than 10 years, even though they don't write particularly interesting comments.
Related: just yesterday I saw a system pop-up on my only windows 10 box (connected to my TV) suggesting to switch from Chrome to Edge which would be faster... pretty anticompetitive behavior IMHO.
What are some things you wish you knew when you started programming?
You're somehow comparing 3 verb conjugations in English vs. 186 for "kuru". Well, I hate to break it to you, but there aren't 186 conjugations for "kuru". There are, exactly, 6. 9 if you count the formal/archaic forms[1]. There may be 186 forms you can build with auxiliaries, but then, you'd have to compare to all the variants you can have in english with may, can, shall, etc.

1. https://ja.wikipedia.org/wiki/%E3%82%AB%E8%A1%8C%E5%A4%89%E6...

Edit:

> Past tense, isn't that the same as conjugations? Also your rules don't really work. "tanoshii" => "tanoshiideshita"? Pretty sure that's not a word. The correct past tense is "tanoshikatta [desu]".

'tanishiideshita' is the kind of mistake you make when you're not taught that, in japanese, adjectives conjugate. Sadly, a lot of material glosses over that fact.

Similarly, most material for non-natives like to talk about the -masu form, then describe things as "-masu form without masu" (sigh).

Cumulating "knowledge" from such material, you end up with simplified rules like in GP, which work in some cases, but don't in many others.

Then when you dive more into the language, you either encounter new forms and consider them as such, and are crushed under the sheer number of forms, or have to basically start over, deconstruct what you learned and realize that, in fact, it's all much simpler and structured than what you thought, and what made it all more complex is all the learning material for beginners.

In some ways, it's like maths.

Coming back to the 186 forms for "kuru", I'm sure you only end up with that because of that same learning material "limitations". So you probably end up counting "konai", "konakatta", "konakute", "konakereba", and many other forms as forms of "kuru", when, in fact, they are one form of "kuru" with variants of "nai".

The same material will e.g. also tell you about "-kunai" for the negative form of "-i adjectives", but fail to mention that it's actually "-ku+nai", which explains why you will find forms like "-ku ha nai" or "-ku mo nai". I've never seen those explained in textbooks, but that I'm sure it's not pretty.
Reminds me of a DJ I knew.

He thought he was well know and deserved a wikipedia page. So he created one by himself.

First it got deleted a few times, because of out famous german wikipedia "lösch Nazis" who dont consider anything relevant.

Then, after long discussion they said okay, seems like a few thousand people know this guy, let him have his page, but... We say what's the truth!!

In the end they wrote he mad trance music with hiphop lyrics. Which was technically correct, but he hated both music genres and considered himself more of a Gothic an Aggrotec DJ. Also he had no fans in the mentioned genres.

So he wanted that Article deleted, which took another few months. Don't know how he managed it.
I completely agree. I stopped using Linux on my desktop a few years back (coincidentally, when Windows 7 came out).

On the other hand - I would rather fiddle with Linux drivers than fiddle with Windows ad/telemetry settings. So I suspect I'll be switching back once Microsofts decides to force me off of Win7.