skysight-inc/HackerNews huggingface dataset:
Re 2: Yes, but most of the language is geared towards 1-based indexing, e.g. ranges like a:b being inclusive at the right. Hence, using a zero-based variant of array makes only sense if your code really really profits from zero-indexing.

Btw, the question should not be "is zero-based slower"; I know that julia has zero-cost abstractions. The question is whether is is faster, because of the avoided decrement instructions for the underlying pointer arithmetic: say, M=Matrix{Int64}(4,N), then @inbounds x=M[i,j] corresponds to x=unsafe_load(pointer(M), i + (j-1)*4). And the internal C code needs an extra decrement on i, because array data pointers use the C convention of pointing to the first element.

Re 4: This is a problem with discoverability and dependencies. Say, my code needs a heap-queue.

Sure, heaps exist, e.g. in datastructures.jl. But there is no canonical documentation / default choice in the base language, like e.g. heapq in python.

And if you want to figure out how to use custom orderings for your heap you end up reading the source code of all 2-3 heap implementations in datastructures.jl (which use different incompatible APIs), because the documentation fails at providing examples. Older julia versions came with heaps included.

Re 3: The REPL is not everything. By all means, define a global name mangling scheme that (with default options) symbol-names should be latex-displayed in the REPL or ijulia. I mean, when using a mono-spaced font you don't want to see a greek sigma in latex either! You want the code, i.e. \sigma, and you want someone (not yourself) to write a word-processor that inline-displays weird characters for your grandma.

Don't understand me wrong, I like julia; it is just that every single "mostly inconsequential" / matter-of-taste design decision pisses me off, whereas the really important parts are awesome.

Re 1: Maybe I haven't written enough fortran in my life, but both python-significant-whitespace and C/java-style curly braces make a lot of sense and are very easy to parse and highlight (for text editors). But sure, I understand that this is matter of taste, and very cosmetic.

Bonus problem: By default, multidimensional arrays access is such that the first index is fast for iterations. This is different from C layout, and means that A[i,j] corresponds to A[j][i] if you switch out Matrix and Vector{Vector}. I know that fortran did it that way, and I think this was a mistake in fortran already.
Yep exactly - an awful candidate with an awful campaign. The lack of campaigning in key states like Wisconsin. The nauseating cult of personality around her. Dismissing the Bernie Sanders voters as "Bernie Bros" (despite the large number of young women who supported him). The tone-deaf "America is already great" slogan which existed in complete ignorance of the poor. Her awkward inability to appear like a human being (google "I'm just chillin' in cedar rapids!" and cringe). Her inability to come out in favour of a $15 minimum wage. The fact that the Clinton family are scandal-ridden even before the emails, and so obviously in the pocket of big business. We could go on all day. In my opinion Trump is far worse, but it seems that many Democrat voters didn't "defect" and vote Republican (GOP votes were pretty steady from '08, '12 and '16) ... they just didn't turn out for Hillary. I don't blame them. What an awful choice to be forced to make - Trump or Hillary.
In addition to both sites correctly showing my full name, phone number, mailing address, and e-mail address, (and the Danal site showing my T-mobile phone plan info) the Payfone site shows this ominous description:

https://i.imgur.com/WkPj5Gb.png

I've had someone tell me they visited a shopping site once and without giving the company any information, they got an e-mail from that company a day later. I told them it wasn't really possible (from just the browser's perspective) and that they must have been tracked through some 3rd party cookies.

Apparently that was false and it's totally possible for a site to use one of these APIs and instantly get your full name, phone number, e-mail address, and physical address just by looking up your IP, and then track you across "switching carriers, changing phone numbers, upgrading devices, and replacing lost devices". Scary shit.
I did also address that point in my post you're replying to
Also worth checking: minimodem http://www.whence.com/minimodem/ (and an audio cable if your laptop has a line-in minijack!)
> This is scary that anyone can access this just a site visit.

Well, anyone using your phone on LTE.
Humans get weird when emotion becomes involved. Technical discussions usually have binary, definite solutions, while political opinions stem from culture and emotion, and usually don't have a definite solution. Then when people get stressed or feel attacked, they retreat into a tribal us-vs-them mentality that amplifies itself on the internet.

Plus I do highly suspect that there is significant astroturfing with political issues as well, but because that line of thinking accomplishes nothing but makes me ignore opposing political opinions(which is bad!) I try to avoid that mode of thinking.
>> If you’re offered a seat on a rocket ship, don’t ask what seat. Just get on.

I believe this is from Eric Schmidt. It's probably the single most important principle that you have to follow if you want to have a successful career. Especially if you're an engineer.

Most fast growing tech companies are founded by random dumb kids in their garages. Don't try to build the rocket yourself (that's a gamble that practically never ends well); let someone else do it and try to hitch a ride. That is the safest way by far.

It's much easier to identify a good rocket ship than to build it yourself.
That’s a list of poor engineer attributes, which need to be addressed via conversations. Not impose a process in the hope that’ll fix them.
Won't help. It gets the information from the telco provider, and does not require GPS or any other fancy hardware.
> Let computers do the boring parts

It's hard to overstate the positive changes having good test coverage can make on your code reviews. You get to switch from discussing potential mistakes to discussing strategy, almost wholesale.

> Never say "you"

Do use "you" when complimenting someone. Think twice when critiquing them.

There was a fabulous article that passed HN once on how to communicate with optimism. https://news.ycombinator.com/item?id=12298898

The main point I took away from it was to use specific, personal and permanent language when complimenting someone. Use general, impersonal, and temporary language when criticizing someone. Positives are things people get personal credit for, negatives are forgivable temporary behaviors that can change and everyone is prone to.

> Tie notes to principles, not opinions

Like most programmers, I automatically enjoy discussing principles. But, most often principles are opinions. I try to keep them out code reviews when I can (which is perhaps the majority of the time, but definitely not always). I like to focus solely on what works and what needs to be done, if I can. Being too "principled", in my experience, often leads to not looking for, and not understanding situation specific reasons to go against a given principle, or to prioritize one principle over another. Plus, almost everyone is applying their principles when they code, it's just frequently not the same principles you think of when you review the code.
You left the name of MEGABANK in your second paragraph
Grafana supports LDAP out of the box.
Once I started this, I didn't stop until I'd finished the game. It's a very good incremental game, especially if you're into AI lore. I loved it.
There's an alternative: time/effort is a privilege. If I'm broke, I don't have any time to put in the effort to learn a new skill. I need to make ends meet now.

If I'm privileged I have the means to take risks. I can spend the time learning a new skill that other people can't.

The broke person might be able to learn just as quickly and just as much as the privileged person, they have the merit.
DragonflyBSD v5.0 released
“Hello world” example of Futures in Java 8
Impressive; it managed to pull my phone number, my current address, my previous address, all without any info at all (I didn’t provide any info in the first link, just in case that was somehow priming the second one).
Indeed. And of course, T-Mobile do have the rest of my details to sell, and I’ve no idea what’s available.
Exactly, like most conspiracy theories they will continue to retrofit the narrative to match the evidence, no matter how weak the connection, then they'll just fill in the gaps with imagination.

Takes about 10 seconds for any digital marketer to look at the spend and reach and call bs. Unless of course they have some ominous fantasy of this 'only being the tip of the iceberg'
https://gist.github.com/nikcub/3833406
...I read the article in Safaris Reader mode. The font is too big for mobile.

But this is a great article.
Not able to read without paying, unfortunately!

What I was able to read and the title itself has always interested me, as someone who drinks a lot of coffee to get through the day efficiently. I can easily correlate coffee intake with quality of sleep, and it does worry me.

So far I've felt OK about sacrificing weekday sleep quality by making up deep sleep on the weekends. Not sure if the article talks about this or not, but it helps me.. "sleep at night" so to speak :-)
I assume this is the "secret sauce"[0] that gained Cambridge Analytica it's infamy?
[0] https://www.google.com/amp/s/mobile.nytimes.com/2017/03/06/u...
Sure but would people when asked "is the car from Knight Rider a robot?" they'd probably answer yes though they think of it as a car first.

I think it's a case that will be reinforced with the first viable self driven car.
The "left" being the centre right Democratic party?
> Long term, this will happen no matter what.

"letting jobs freely flow to the cheapest place in the world, and products to flow tariff free across borders" will happen, no matter what? Does the free will of human beings to choose and pursue their own destiny have something to do with it?

> There is no way to have wages in US 5-10 times bigger than in other countries only because politicians can do such a thing (if they would).

Not higher than everyone of course, but this assumption that everything is going to even out across all countries perfectly evenly seems like a rather extraordinary belief that at least ignores the ability and willingness of humans to go collectively insane periodically.

Does the human nature/culture aspect of this situation not bother you at all? For example, I hope we can agree that certain cultures are better than others at certain things, for whatever reason. For example, the US at innovation, the Japanese at perfecting things, the Chinese at mass production and working incredibly hard (so far, what's next we shall see). Do you think it is absolutely not possible at all that some cultures on earth might lack certain strengths required to compete on a tariff-free global marketplace, or the social cohesion to govern society successfully under these new conditions?
Explain homeschooling to your kids
The whole narrative about the Russian hacking is so strange. Someone from Russia, government or citizens, bought 100K worth of advertising; meanwhile the candidate spent upwards of 1.3 Billion on their campaign. Yet those 100K were what got one of the most disliked persons in the world elected. It's just silly.
Well this is scary. We should see more concentration on privacy/security at the mediocre tech companies (because engineer pay is a decent indicator of privacy standards and security strength), ISPs, health care companies and financial companies. They have very personal data and many of them actually sell the data (and apparently even unanonymized data).

I feel that all the talk of privacy at the big tech companies like Google, FB, etc. is unwarranted compared to the threat. They have solid security and don't actually sell data. Letting advertisers target viewers based on demographic data is different from providing anonymized data to people and they have policies that make sure that advertisers can't get too narrow with their targeting.
One more thought: some code review comments are basically feature requests. E.g. they are improvement on functionality that were not required by original requirements (but may be still good ideas). It is often the case that reviewer found another solution wants it even more configurable or something of the sort.

The best way to treat these is to open new issue in whatever tracker you use instead of blocking already done features and forcing long live branch. This way they can be prioritized properly, pm or analyst gets to have say on whether they are in line with what customer needs and most importantly are not endangering next release. We promised X to customer and while X+Y might be better, holding needed X as hostage to just proposed Y is not a good process.
I was at Stanford when Prof Knuth developed his TeX system in the 1980s. It was wonderful to watchthe user group meetings develop these systems. For themost TeX semed to spring in a fully developed fashion like Athena born from the head of Zeus.

At the same time as TEX Knuth developed literate programming. It was a method of writing code and documentation simultaneously with empathsis on the latter.

The main disappointment with TeX is that it postponed Knuth finishing his algorithms magus opus The Art of Computer Programming by a decade or so. And perhaps unfinished in his lifetime.
It's true, though, in my experience. But it's also ageist: I've seen plenty of people who are old enough to be on the second half of their life engage in this chasing the new shiny behavior. I refer to them as kids because they act like it.
You still have a whole variety of environments to discover, I believe :-)

In none of the situations I've been working, updates as frequent as 2 weeks have been a request. It would have been either a nightmare to do that (you end up spending 50-80% of your time delivering under pressure), or just impossible (in cases where testing, verification, delivery takes 1 to 3 months), and in every case simply unwanted.
What makes this go into Nature rather than a regular medical journal?
Sorry, what I mean is that your comment is quite in the right place. "Orthogonal" isn't true.
You guys are the ones telling us it has to normalize, it's been quite some time now and there's still a massive gap, isn't this an impossible outcome?
Why do they care? They are selling access to your information.
Maybe your dialect doesn't, but mine certainly does.
You can just select the button with tab and hold enter.
I think the focus on "fake news" is in part a deflection from the mainstream media's own poor coverage of the 2016 race. For instance, all of the coverage the week before the election was about how Comey's bombshell letter upended the race - yet in the end, that letter turned out to be nothing.

It's a little unsettling to see the media do a terrible job, scream "look over their!", and then try to present themselves as the great defenders of American democracy.
'For political leverage' is the answer that does not require a conspiracy theory to explain it.
I don't know the answer to your question, but I'm a very regular sleep walker. I also have no recollection of my dreams (except a few).

I've been known to rip out electric outlets (in my sleep, I was convinced my blankie was stuck in the wall), scratch plaster walls until my fingers were bleeding (I was looking for a hidden door), conduct hour-long conversations about topics that my conscious self knows nothing about, or throw all the bed linen out the window into the swimming pool (this is related to a recurring night terror where I think a spider has fallen on the bed). That last one sounds funny, but it gets annoying for the hotel clerks after the second or third night in a row.

There's also the issue of having intimate relations with people who happen to be in the same bed/room/house, without me knowing about it.

Happy to answer questions if you have any.
Re unicode:

When writing latex, you don't want to encounter unicode greek sigma. You want \sigma, as 6 7bit-ascii chars. Same in julia; sure, define a display mode that translates certain things into unicode for people like you, but keep compatibility with code-editors/people/tools who do not understand unicode. In short: I want to it to be possible to use a dumb text-editor, not an IDE/word-processor. (ok, the text editor will need to understand UTF8, because unicode string literals are really important; but please never go beyond a small white-listed subset of 7bit-ascii for language tokens).
The fact that you only see this but don't see anything wrong with Obama's presidency proves the GP's point.
That is an unacceptably big change set for a proper review process.
I know a person in a telecom company in Analytics (Digital and CVM). They have the ability to see the phone number (only encrypted) browsing their current website. This information is part of clickstream but it is not shared with any third party because it's a confidential information that if shared without customer consent will bring loads of issues to company. The recent GDPR is one thing that keeps companies on their toes.
I've never seen such a passionate article arguing to recruit for mediocrity. To argue that the person pulling in 8 hour days, who clocks in at 9 and clocks out at 5, is just as valuable as the person who spends another several hours per day learning new frameworks, languages, architecture patterns and techniques, technologies, etc...is ridiculous. I would hope that no one would dismiss the "non-passionate" engineer outright, but to dismiss the passionate engineer's extracurricular work is worse.

Our field is unlike other fields in that it moves at a blistering page. Compared to say, carpentry or brick laying, software engineers have to keep abreast. Software companies that ignore new trends in technology are at risk of becoming obsolete.
Ask HN: How does the emailing system works?
How does the emailing system works? and how does the emailing services make sure that email enters the inbox only not spam, not promotion but inbox.
They'll all continue. Who wants one bubble when you can have three? The last fork resulted in people doubling their coin holdings. Another fork means another doubling and people will buy/sell on that chain, too. Once again, the current market participants will by extracting wealth from new market participants.
If one works for AT&T, Verizon, Comcast, Spectrum (ex Time Warner / Charter), pretty sure they don't have a soul.

I know network tech is technically difficult and interesting, but the consumer businesses built around it seem completely devoid of ethics.
I first came to know about Grafana via the Wikipedia’s webpage performance management page: https://twitter.com/mediawiki/status/630865572654264320

Interesting talk from the Wikipedia folks here: https://www.youtube.com/watch?v=UlL6UoRUQAM
I hear you. Though what I try to do lately is: recognize when a partisan / wedge issue / kind of argument is being used. Then ask myself why.

I think the goal of some people is to intentionally cause feelings of hopelessness, thus reducing civic involvement and rates of voting. You have to fight that!
That still requires to specify what is a "working software".
Fed's Yellen says watching inflation closely but economy is strong
It helps in the sense that it's difficult/impossible to browse the web on dumbphones, so they won't get your IP in the first place.
I have never seen bugs caught in code review. I did see plenty of bugs go through code review just fine. I'm sure bugs might be caught occasionally, but I doubt code reviews are an effective tool for this.
There was plenty wrong with Obama's presidency. The difference is that absolutely zero people had reason to believe that they were less than human due to his presidency. Ignoring that is asinine.
In Germany, this would be illegal without a very explicit opt-in. While the German data protection laws are stricter than the EU ones, this still surprises me to hear.
Assuming f1() has side effects, those two blocks of code may be very different.
Agreed. The alternative is a dreary place to work that you can't wait to leave each day.
I'm trying to edit this but failing. Psuedo-PM leaves the company, MBA coworker is let go, project is transferred from my manager to someone reasonable.
Yeah, so like, we passed this bill this year:

https://www.usatoday.com/story/tech/news/2017/04/04/isps-can...

And Trump signed it:

https://www.nbcnews.com/news/us-news/trump-signs-measure-let...

Hey Republicans in the audience, can you at least acknowledge that on this issue, the GOP may have gotten things wrong?
Then you haven't been an Amazon supplier dangling at the end of a rope as Bezos tries to wring blood from a stone.
Yeah, I've been asked to make an implementation worse before because it didn't look like the reviewer's code. I used a static pure function to implement some basic functionality and made that function public so that it could be unit tested. The reviewer asked me to make the pure function impure and protected and then use the friend keyword to couple the class to the unit tests. When I asked him about it all of his responses were on the principle that we shouldn't use too many techniques from the language, and we're already using friend to do what I was doing with the static function.

Needless to say since this was a favor for the reviewer and his feedback was basically "completely reimplement the solution for a totally arbitrary reason," the pull request languishes to this day.
I'm using Cricket Wireless and also see Joe Consumer. The second link returned a blank white page to me.
How would you rebuild software from the ground up?
I often see people saying things like:
"If you want a secure OS, you'd need to be thinking about security from the beginning."
"The HTML/CSS/JS stack is a mess, we need to rebuild it from the ground up."

And Alan Kay certainly seems to want to start everything over.

Are there visions for an entirely reimagined OS, web, programming, etc, that are interesting to you?

If you had infinite time and manpower, how would you do it?

What's intractable today that could be easy, if software were fundamentally redesigned?

However unlikely, do you think there's a plausible path to success for any floor-to-ceiling change like this?
Of hash? No. That happened a month or two after I took it.
I really hope that the EU slashes these companies once its 2018.
The future is in empowering local communities and decentralizing power, via:

solar power generation

mesh networking

local social networks

identity that you control on your own phone

hopefully the phone hardware and security will be commoditized and auditable.

Here is what I'm talking about https://www.youtube.com/watch?v=WzMm7-j7yIY

Edit: why the downvotes? I am genuinely curious. Can people who feel this way explain?
Conspiracy theory? How so? We know that Russia spent some amount >= $100,000 on campaign ads, and guessing the actual amount comes down to how good you think Facebook is at resolving accounts to people who don't want to be found. I don't think it's completely unreasonably to think that the actual amount of Russian spending was on the order of $1-10 million.
> They all have some grievance, real or made up

Well sure, which was my point. Well, the point is that (I believe) a lot of Islamic terrorists share the same grievances, and it is an educated, correct grievance, whereas the vast majority of Westerners, due to their government's mainstream media propaganda machines, believe their grievance is some sort of a made up delusion.

> Columbine, tons of kids get bullied, very few decide to take maximum revenge.

No different than Islamic people in my mind.
I don’t know if it’s quite the same blue shift. It certainly isn’t on ios.