skysight-inc/HackerNews huggingface dataset:
The title doesn't represen the problem properly. It would better be 10 Things every Programmer should _learn_. Now, if you are in the beginning of developing, obviously there is more, but from a universal point of view, you should really want to advance to these points, but not everyone has to agree with that, since before learning that, the question is what you wanted to build using information technology. So are you arguing about a True Scotsman? The term Computer Science is very specific, as you might be thinking of, in contrast to Engineering or Design. Programmer isn't.

Many technical schools do teach a combination of design/engineering and computer science however to bridge the gaps from either side, where the focus is less on science than it's application. Therefore the Master Classes are more focused as well and it might just so happen you never get in touch with distributed computing more than once. Although, that might become an outdated assumption.
I don't think this improvement is really fair though. Everybody heard the same thing as you did : arraylist are ok performance wise. The optimisation of using arrays and static global variables and remove use of any object isn't something that leads to readable code in the long run, nor is it the code your regularely see in everyday software.

You should include both your old java code with the new one. Call your version "enterprise java" and the other "optimized java". If anything, that could be useful to people coding in java and having performance issue ( otherwise they'll have to look for it in git history, which they'd have no reason to).
Ask HN: What to learn to get hired as Android developer?
I have experience with backend and frontend development(Java, Ruby, CSS, some PHP and JS). Currenty I am trying to make it as Android developer. I have build some apps as a freelancer.

I am from western Europe and I would like to get hired by company in US.

What is the most important skill to learn(beside Java and Android api), to be valuable Andorid developer? Or what can be bigest dealbreaker for company to hire someone from EU?
Show HN: Making a better calorie counter app than Myfitnesspal
Are there any practical examples of Telegram's protocol being broken?
I understand what you mean. Consider though, not everyone here is writing code that needs to scale.
Thanks :)

That matches well what I had in mind with my "a." suggestion.

Now, why cannot we expect "b. Better performance thanks to enforced type letting the compiler do a better job"? Are the semantics of what's being discuss insufficient to provide such benefits? I'm asking that question because I read often that dynamic typing is the #1 performance hit of Python (e.g. [1]). Now that this PEP lets developers provide and enforce type, what's still in the way of reaching the level of performance of statically-typed languages?

[1] Alex Gaynor - Fast Python, Slow Python: https://www.youtube.com/watch?v=7eeEf_rAJds
Not sure why the downvote as that was my request for clarification.

Point being, if you want to benchmark language backends, it doesn't make a lot of sense to cross chips without making mulch-dimensional benchmark (i.e adding in clock or power vectors).

After rereading closely, the intent of the article is saying "50% slowdown for backend X on x86, 70% slowdown for backend X on ARM." The subtle difference is that you are keeping comparisons of slowdown in the family and only making analogy to the other arch by slowdown percentage.

It's still susceptible to ISA implementation (for instance an in order Atom might fare a lot worse for typical backends), but mildly interesting.
"...what are we paying them for..."

This is an argument that frustrates me. I don't mean to directly imply that parent feels this way, but there is this idea that our government can provide true assurances of our safety. But in a free society (or any) that's just not true.

This idea isn't helped at all by the government pushing that they can, if we just hand over one more freedom, or give up one more bit of privacy.

There is nothing that can guarantee safety from violence. Nothing. The FBI, NSA, etc., when not spying on us for no reason do seem to keep us safer than we might be without a degree of diligence. Police forces do seem to, in general, care for public safety. But of course the FBI can't guarantee that tens of thousands of theaters are completely safe from violence - and to think otherwise is to be permanently afraid, and to always be looking to Big Brother to assail your fear.

http://www.vice.com/read/fearing-fear-itself-666
New, Easy to Use Social Media Management Tool
> Postgres9.4 has JsonB, Json, Hstore and Array fields. Rails4.2 fixes the dirty-tracking for JsonB/Json/Hstore.

Oh, I hadn't caught that, awesome! Can you link to docs and/or commit?

I'm wondering if it will do "partial updates" yet -- postgres supports, I think for Json too but definitely for Hstore, a statement that says "just update these keys with these values, leave the other key/values alone".

The reason you'd be interested in this is multi-client concurrency, so one client updating some keys doesn't overwrite changes made at about the same time by another client updating only other keys. Lets you use hstore/json in certain circumstances of multi-process concurrency that otherwise you'd have to use normalized separate rows for.

When I had tried to look at ActiveRecord on my own to figure out if I could get it to do this, it seemed like it oughta be possible (AR is already tracking the original value for dirty tracking, I think) but I never quite could figure it out, how to hook into the SQL-generation to do it.
Did you try logging in directly to the domain with enom? https://access.enom.com/
Wow, perfect timing; this is very close to what my 12yo son is working on but with rust/LLVM (and his own lang).

He has his lexer done and is using a Pratt Parser (TDOP) strategy. This might give him some ideas.
It's much, much easier for them to just write a Wordpress or Blogger blog, hosted in the USA where Russia can't get access to the logs. Or in any other jurisdiction that won't respond to Russian requests for their data.

The big advantage is - anyone can read your blog. Not just people who are willing to download and use the Tor browser.

Most famous cases of dissent in recent times have preferred to play jurisdictional arbitrage rather than use Tor. Snowden is being kept safe by Russia, his information was published by a British newspaper that then shifted reporting to New York to avoid the UK government goons. Apparently for now that's good enough.

This is why I talked about specific examples of hidden services being used in this way and actually getting real traction - I can't think of any.
http://wphomes.soic.indiana.edu/jsiek/what-is-gradual-typing... (linked in an article) explains `Any` a bit better. "Any is consistent with all types" essentially means runtime checked/dynamic, instead of statically checked.
> the nation’s four largest banks ... only loaned 1.9% of their combined assets to small businesses compared to 10.6% for small and medium size banks.

I'm a supporter of local business for social and heterocultural reasons, but this statistic isn't useful in its current form.

Big businesses will necessarily go to large bank for their financing needs. So small and medium banks are cut out of that market (which I'll bet they'd love a part of!).

Also, 1.9% of a very very large number is not necessarily less than 10.6% of a smaller number.

Furthermore, a better question might be: how many local businesses met their financing needs at each class of bank? Big banks have small branches that do regionally appropriate loans.

But the persuasive angle for me is more about reinvestment. All else being equal, I'd prefer that interest on local loans was reinvested locally.
I have looked (or at least paid close attention) and I am unaware of anyone in Ukraine, Turkey or Hong Kong using hidden services for political reasons.

Additionally, Tor gets way less traffic from people trying to evade national firewalls than VPN services do. They aren't the big fish in that space at all.
Your premise is pure fantasy. There was never a ticking time bomb scenario. And torque is NOT an effective means of extracting information. Everyone from Napoleon to Hitler to our own Military generals have aid as much.

Here's a good article on the subject: http://www.theguardian.com/science/the-lay-scientist/2010/no...
This video also has some explanations:
https://www.youtube.com/watch?v=mq10ZvZgxy4

It's part of a course:
https://www.youtube.com/watch?v=55Gjc0RG2y8&list=PLii66kkyf4...
Except a) that torture in the report didn't last for a few minutes and b) that it's less effective than other methods and more likely to obtain false information.

So if I only had a couple hours and actually wanted to save my family, I'd probably try to do something that would actually make a difference.
What has lead you to believe that free speech is any consideration in Sony's dealings? This is the company that has (and still does) push for SOPA and CISPA-like abilities to take down websites with the most minor effort!

It's unclear why the release was canceled. Maybe Sony wants to just put this whole thing behind them. Maybe they want to curtail any further leaks that they feel may be worse. Perhaps the executives feel that being a victim of a foreign nation absolves them of any culpability and they're playing that card to the greatest extent they can. But I highly doubt they're going to make any about face on a policy issue and are still very much against free speech as far as the internet is concerned. If anything this incident will be used to bolster their arguments and to that end maybe it has worked out better for them than "The Interview" ever could.
According to their docs, the server can MITM encrypted chats.

https://core.telegram.org/techfaq#man-in-the-middle-attacks

After that, if both clients trust the server software,
The last update I heard is that the GFW does active probing to detect Tor bridges and relays. That is, there are computers inside China that are triggered by something, which then actually speak the Tor protocol to an IP to check if it's capable of subverting the firewall. If so, it gets blocked.

There isn't really any way around that which scales, which is why Tor is basically a non-entity in China right now. Everyone I know from the west who spends time in China just uses commercial VPN services, not Tor.
I've been looking for a pingdom replacement for the very same reasons GP mentioned. Webmon does look interesting, even though it does appear a bit more expensive. It seems penny-pinching if you consider the cost of downtime, but despite all my complaints about pingdom, it still works and does its job. So I'd need a compelling reason to switch and it's always easy to convince upstream when the price is cheaper or you get something better.

Just a quick question: what's a 'target'? is it the equivalent of a pingdom 'check'? or is this an endpoint IP that we can run several checks over?

Some feedback after a quick glance on the homepage - it's nice and seems to provide the most important info, but I'd appreciate some more in-depth info on some areas (to answer my question about targets and possibly other questions about other stuff: what's a user, what's a dashboard etc)
Why not, what do you mean?

If you buy an Android phone you can use Firefox with adblock [1] and the ads are gone.

[1]: https://addons.mozilla.org/en-US/android/addon/adblock-edge/...
Agreed; an official announcement from Sony to the major news outlets that it would be released on Crackle and nearly as many people would have that installed as iTunes :)
This interview really annoyed me. They gave him a chance to take some ownership over the lax security and he completely side stepped the intent of the question and took blame for being adamant that SPE were going to release the movie and if that has spurred the evil North Korean hackers on then that was his fault.

When he was ranting about no-one stepping up to help distribute the film all I could think was "haven't you ever heard of bittorrent?"

If this guy doesn't lose his job over the whole incident I'll just be stunned.
I don't think the Python VM will use these as actual hints, it's mainly to help refactoring tools and people maintaining large codebases as I understand it. No type is "enforced".
10 Approaches to Handle the Burden of Leadership
Isn't this two not really related events being conflated?

1) Sony gets hacked. A big hack, but just a hack.

2) Sony pulls a movie because it offends a nasty dictator identified by name.

Why are these connected? It's not as if they learned about the movie from the hack? I've seen the ad for that movie a few times, and I'm pretty sure that the spymasters in North Korea can watch the same Seinfeld reruns that I do.

Why is the ridiculousness over Sony pulling the picture (PR stunt or not) at all related to the hack?
Yes, this is the first feature I've seen that makes me think about what it would take to move my team over from 2.x. We have a moderate codebase (around 70k lines, last I checked) and are getting to the point where we'd probably get some benefit from types and a type-checking IDE or tool.
Tanks for the demonstration. Everybody was more or less on hitler's side after Munich until a different something happened to everyone. The U.S. entered the war only after they got attacked themselves (see a pattern here?).

If remembering and describing a country's past is only remembering the worst without any nuance, why would anyone remember the U.S. for any positive thing? Or maybe the torture by the CIA or the 100000 deaths in Iraq doesn't erase the helping others in WWII and we have to live in a complex world where nothing is really black or white. just try to remember salient Facts, not rewrite history. And some countries could benefit from learning to say: "we're sorry", more than to say:"we're awesome" (that's valid for the 2 bullies of the other 200 countries).

On the NK situation, crossing the 38th parallel during the counter attack without having the means for a complete military victory and occupation just helped polarize everything. And now we can link the 2: invading Germany and Japan was possible because Russia agreed, invading NK was not possible because russia was against it. And this whole idea of "checking with Russia first" runs contrary to the Cold War mindset.
The world doesn't work like the television show 24.
I think it's easier to read the code:

https://github.com/logicchains/LPATHBench/blob/master/jv.jav...

Instead of a vector of node classes, there's a

static final int[][] nodes;

Which is used in a similar manner to a vector of node classes, but due to containing primitives (ints) is unboxed.
[edit: formatting]

Well, yes. But there are different levels of "doing." In particular, Vedantic metaphysics divides the human being into body, mind, intellect; corresponding with perceptions & actions, emotions & impulses, and rational thought, respectively.

The body finds its impetus to act from either the mind, the intellect, or a combination of both. For an action to be "perfect" (to the best of one's ability), one needs to focus the mind in the moment.

Most new-age analysis ends here, but Vedanta goes further to say that the mind naturally moves into the past (via worries) and the future (via anxieties), and that it is the intellect alone which may focus the mind in the present moment via a "higher" ideal.

"Higher", in this context, simply means that one should have a goal that goes beyond one's selfish, self-centred interest. For example, in the context of an employee, this might mean working for the sake of one's company and its betterment, rather than selfishly working solely for a paycheck.

When working thus, the set of conditions for one's own happiness become broader, and thus the mind is more easily able to focus on the present moment, rendering an action "perfect."

Of course, there's more to it than this. My guru has written entire books on the subject.

Source: Studied Vedanta for three years under A. Parthasarathy at the Vedanta Academy (http://www.vedantaworld.org)
i'm sorry, but this simply flies in face of logic.

it is absolutely morally wrong, but it certainly can be effective and has been used throughout history. usually, things that don't work don't last anywhere near that long.

there are all sorts of reasons to oppose it, which of course I do, but saying it cannot be effective just isn't one of them.
That's somewhat limiting though, you need to export in the subset of SQL (DDL and queries) compatible to all databases and it is very small indeed (I hope you don't have any textual content of more than 8000 bytes encoded).

But if what you want is to load the data into sqlite, chances are you can just export the sqlite content and load it into Postgres directly, since Richard Hipp (and the SQLite team) more or less consider Postgres to be the reference implementation of SQL: https://twitter.com/dchest/status/469597738431434752
That post cheered me up for the day. Things seem to finally move to a (IMHO) great direction for this language. I was thinking about rewriting my latest large project from python to go, but now i think i'll wait a bit to see where this thing leads to.
Heh. I've lived in the Netherlands for 2 years. Firstly, you cannot discuss politics in the Netherlands on the street. You just can't.

Furthermore, if you're looking for specifics, you can start here :

http://www.amnestyusa.org/our-work/countries/europe/netherla...

Works for other countries too. Essentially, the Dutch government had Pakistan torture a terror suspect on it's behalf last year.
Thanks - this is exactly what I was missing. I was trying to figure out the benefit of allowing it in the language, when of course the answer is supporting existing programs.
Many were tortured for years. That fact alone argues against the existence of a ticking time bomb scenario.

Dozens of others were held for no reason at all, later released as having been found innocent.

If the US did torture someone in a scenario where the public was in imminent danger they would likely be exonerated in (at least) the court of public opinion. That's not what happened here, though.
Why is Everett prohibited from going back?
If all it takes is anonymous vague threats on the Internet to stifle free speech, then we may as well just give that right up. We no longer deserve it.
Yeah of course because who cares if people get tortured, mass raped, cluster bombed and starved as long as we get to keep running our little startups, right?

Wars vs more script kiddies and you'd really choose the wars? I'm disgusted.
ISIS WE WILL KILL ALL CHRISTIAN,SHIA,WOMEN CHILDREN ALL?
Linking to the main project page might be more useful for people who don't know it yet, because the currently linked page doesn't mention what ClojureBridge actually is.
What don't you get?

Sony got hacked, the hackers said if you halt release of the film we'll stop releasing your private data.

The release was cancelled, the hackers stop releasing private data.

It doesn't take a data scientist to put those two together.
So, focusing strictly on the business side of things, you have two user groups:

1) Users who have some interest and may purchase your product.

2) Users who "just briefly want to see what all the fuzz is all about" but "don't want to be treated as a customer already."

User group 1 may very well respond to your emails because they already have some interest in your product and the benefit it could provide them. These users like to read about ways to help themselves, thus probably don't consider email related to the product they are interested in as spam.

User group 2 is not interested in the product. We know that. Therefore few, if any, are ever going to pay you for it.

So, why as a business owner, would you care about annoying people in User group 2 (who could always just opt-out of the emails) at the expense of accelerating people in User group 1 through the funnel and paying you more?
> my sales rep (who is very, very part-time)

Interesting. I'd definitely like to hear more about how this works.

> Ask me if you’re curious about going into depth on that — I might write an essay about it in the new year.

Yeah! Anything that lets me figure out support and sales better would be extremely welcome. I'd be very grateful if you found the time to write about it.
This is how I program. Whenever I have a difficulty, I'll put it down for a few minutes and wait for the essential insight I need to keep going filter through my subconscious. Once i learned to trust the process, I just let go.

One thing I learned doing this is that projects all seem to take a fixed length of time to emerge from your mind to the machine. You can spend most of that time fighting it or you can spend it doing whatever else you want to do while your subconscious is working on it.

Personally, I divide it between Internet, high-level 10,000 foot view thinking, and socializing around the company. Doesn't matter. Projects still get done on time. And better than if I'd been fighting it, because there's no wasted time going down wrong paths.
North Korea: We Can Prove Hacking Wasn't Us
Ask HN: EU Stripe Ltd. company customers required to connect with social media?
Are there any other EU Stripe users with Ltd. Company accounts?

I was trying to sign up and noticed that I was required to connect with either a Google+, Facebook, AngelList (?) or LinkedIn account to "verify my identity".

After getting in touch with their support to inform them that I didn't have any of these accounts I was told it was a new requirement introduced to "help avoid fraud" and that I wouldn't be able to activate without it.

Am I missing something or is this a totally redundant requirement? I can't fathom how this prevents fraud and I think it's crazy to require business customer to provide these connections when they have access to government documents that would easily verity identity
"Logic" is not what you're using here. People thought the earth was flat for, well, a long time. Things that are false can last quite a while.
Your comment reminds me a bit of the lyrics from the Tool song 'Parabola' (which I personally find a beautiful song):

So familiar and overwhelmingly warm
This one, this form I hold now.
Embracing you, this reality here,
This one, this form I hold now, so
Wide eyed and hopeful.
Wide eyed and hopefully wild.

We barely remember what came before this precious moment,
Choosing to be here right now. Hold on, stay inside...
This body holding me, reminding me that I am not alone in

This body makes me feel eternal. All this pain is an illusion.

Twirling round with this familiar parabol,
Spinning, waving with each new experience
recognize this as our only ?
Celebrate the chance to be
Alive and breathing

One chance to be
Alive and breathing

We barely remember who or what came before this precious moment,
We are choosing to be here right now. Hold on, stay inside
This holy reality, this holy experience.
Choosing to be here in

This body. This body holding me. Be my reminder here that I am not alone in
This body, this body holding me, feeling eternal
All this pain is an illusion.

Alive, I

In this holy reality, in this holy experience. Choosing to be here in

This body. This body holding me. Be my reminder here that I am not alone in
This body, this body holding me, feeling eternal
All this pain is an illusion.

Twirling round with this familiar parabol.
Spinning, weaving round each new experience.
Recognize this as a holy gift and celebrate this chance to be alive and breathing.

This body holding me reminds me of my own mortality.
Embrace this moment. Remember. we are eternal.
all this pain is an illusion.
There is going to be no real war over this hacking that is pure fucking fantasy. This is all just shit threading so we can talk about torture and continue the reddit like circle jerk.
Speaking of Cyrus - are there OSS push IMAP servers these days?
I mean, Zoolander's plot was using male models to assassinate the prime minister of Malaysia and nobody had a problem with that.
Your example is invalid but even so - no I wouldn't, and that's the point.