skysight-inc/HackerNews huggingface dataset:
> If I want the stream flushed I'll configure it to behave as such or I'll call flush explicitly. Any other mindset belongs in Python, Java or some other higher level language.

This is a bit unfair to HLLs, IMO. Flushing to disk can add unacceptable overhead even for, say, Python. (Particularly on spinning rust, but...).

The short and long of it is that "endl" should probably be deprecated in the standard and a good replacement created.

("std::newline"? Maybe we could just specify it as "\n" and get rid of the whole text/binary distinction that another poster on this topic was rightly complaining about.)
Do you like meetings? If not use this to Improve meetings in your company
The Best Foam Mattresses You Can Buy Online: Leesa
I'm hunting for a python job in NC/SC right now, and yeah, it's all C#, Java, JS.
"While Heroku charges a small premium over other hosting services, our small team size and high traffic makes the tradeoff really beneficial since we save big on DevOps costs (a topic we’ll save for another post)."

A small premium?

Like the author says "could it be done cheaper, whatever"... sure - valid point.

I just had to amuse myself at Heroku's hosting charges being "a small premium".
I did enjoy long hours playing Nethack.

But you know, Rogue was win-able.
This seems to be a recurring topic: If you're writing an application, why bother hardcoding a path to a git version with a known RCE? You're already running on the machine.

Hell, if you want to hide your fault, bundle a random tool or lib that you know have an issue and exploit that. It'll be much more stable than relying on a local binary.
Will be interesting when Windows comes (well via an update) with a later version of bash than OS X!
If only it was only them. It's not like, for instance, Nokia and Siemens happily sold deep packet inspection hardware to Iran.
Game Industry Veteran's Horrifying Article in Defense of Poor Working Conditions
You've picked a poor example, I think. And you're probably coding in an inefficient way.

Here's the OpenCV way for a pair of 2048x2048 images:

import cv2
import time

t = time.clock()

a = cv2.imread("./image_1.tiff", cv2.IMREAD_GRAYSCALE);
b = cv2.imread("./image_0.tiff", cv2.IMREAD_GRAYSCALE);

c = a-b

cv2.imwrite("out.tiff", c);

print time.clock()-t

Takes about 0.2 CPU seconds on average for me (note using time.clock, not time.time on UNIX).

#include <opencv2/opencv.hpp>
#include <ctime>

using namespace cv;
using namespace std;

int main(void){

clock_t begin = clock();

Mat a = imread("./image_1.tiff", IMREAD_GRAYSCALE);
Mat b = imread("./image_0.tiff", IMREAD_GRAYSCALE);

Mat c = a - b;

imwrite("out.tiff", c);

clock_t end = clock();
double elapsed_secs = double(end - begin) / CLOCKS_PER_SEC;
cout << elapsed_secs << endl;
}

Again, about 0.2 seconds. The difference is negligible if you use the right libraries. Python should not be your bottleneck for high performance code.
Never heard of it. Looks interesting, feels a bit clunky, but I'll give it a go.
We're all potential enemies of this "state", so somewhat effective.

I'm hoping for an entertaining populist civil disobedience campaign over this.
Ah yes, the "if only we voted in the right politicians". My Dad likes to make this argument till he's blue in the face, and those people never get elected (and it's a different set of people for every individual, I bet you'd disagree with most of his choices).

Of course it would fix things if all the right people got elected. But this is the real world, and that reality almost never, ever happens. It's much easier to get specific protections passed, especially ones that benefit one or more corporations, than it is to make sure "no one gets elected whose vote can be bought and believes in things different from me!"

The main reason I don't hold out much hope for my solution either is because most corporations don't believe they'd have much to gain from limited copyright, focusing too much on what they'd lose, rather than what they'd gain, from being able to use so many newer IP without paying licensing fees.
Lotto Winner for New York Lottery
Isn't that just a matter of expanding the feedback loop to include other things than just the music?

I.e. aren't the mechanics there and is primarily limited by the the size of the feedback loop?

I am genuinely interested in the answer.
BTW, for the curious, I just realized that you can easily disable the bundled git on OS X:

sudo chmod a-x /Applications/Xcode.app/Developer/usr/bin/git

Done. Running /usr/bin/git will now proxy you a permission denied error.
Is it time to stop password expiration?
> That's about right. That's about where Unladen Swallow maxed out. To get beyond that point, you have to do more global analysis and JIT compilation and recompilation, as PyPy does.

Unladen Swallow did JIT compilation and recompilation, despite not doing better.
I thought the wording was a little bit strange. You could be right. What would be the implications for me as a developer to receive a grant?
My heart bleeds. The question is, how hard is it for a company like that to get an individual license if they have a cozy relationship with law enforcement, which wouldn't be very surprising in their case?
The parent poster stated the advantages, but just in case: The CRLF vs. LF is essentially technical debt that millions of developers pay -- as long as Windows remains an interesting target for developers (or Microsoft fixes the CRLF thing). It's basically a continual downside vs., say, 10-20 years of compatibility problems.

(I don't buy the "decades" bit, but I'll accept it just for argument's sake.)
One thing that comes to mind is that, to me, it sounds like all of the notes' velocities are equal. It would sound a lot more natural if volume differences were incorporated
Yeah, this is just trying a bunch of different package managers to see which one will work first.

When you run into a name collisions.

If someone wanted to really make some sort of macro package manager (or package manager to end all package managers), that's one thing, but this script is just a mistake waiting to happen)
"Investors are concerned with stock option grants".

reads more to me as "investors are reluctant to pay market rates for engineers, but worried about losing control through dilution - want to find an easy answer that doesn't cost them either"
I know some people who drive as a side-job and only get on during surge pricing.
So you're saying if someone somewhere knows where a thing is hidden, it's not hidden?
“Tinder for Friends” Is a Bad Idea
If the goal is to get as cheap a European vacation as possible, you can almost certainly get to New York for less than $100.
Would the funds still be held if he was sending the money to reimburse a fiend to one of the many businesses with "Isis", in its name?

http://www.businessinsider.com/companies-with-the-name-isis-...
The "We like it when bots also work in >inline mode<" link is missing the p in https.
Parallel Test Runs on Android and iOS (Using Appium)
Adidas wants to be the coolest gym teacher ever
Drupal Seven to Zero – NJI Media
I think flags shouldn't work after submission's score gets past some threshold. Real flagworthy crap doesn't receive hundreds of votes.
I've noticed bots seem to be quite popular for telegram. Is there any way to provide the same to signal users?
This sounds really fun - obviously Twitch's Bob Ross stream was an incredible experience. (I work at Twitch)

Do you think that youtube will provide enough engaging content for people to start getting into the platform?
How could you go about getting 'real' popular content onto the platform, and if this works how can you compete with Twitch?
The Perils of Being a Black Philosopher
To me it kind of makes sense. Heroku is in effect taking the place of a number of developers and/or sysadmins, they've already thought about the problems and solved them in one particular way.

Sure they could re-write things and move to their own servers or amazon s3 or google computer or wherever but they'd have to go through the process of finding, training and hiring people to do it, plus all the difficulties that come with that.

I would imagine they're thinking about changing many things about their setup but for something of their size I can see why the money tradeoff makes more sense at the current time
I respect the criticism of people who love and listen to jazz quite a bit.

As someone who maybe is not as sophisticated in his taste for jazz, this sounds good enough for me. Especially this can be passed as elevator music.

On the other hand, it would be more valuable if there were more than a single file used for seeding. This way this is a theme that is listenable but will always have the same style of it's seed.

I intend to play with it and see if I can get more interesting melodies.
Has anybody beat the game without patching the source or running it in the debugger?
> One year at GenCon (even better than "at Band Camp") a cop at my table mentioned that criminal behavior for games was almost unmeasurable compared to the general population.

Unclear probably because I'm tired - Do you mean the criminal behavior of gamers when they are not playing games? As opposed to their (imaginary) criminal acts in the game?
Interestingly, I had the exact same experience; opened Uber, got a ride estimate. Opened Lyft, got a ride estimate. Opened Uber again, and was presented with a promotion.
License number and VIN?
Intel Said to Be Planning Major Layoff
Hopefully they face greater scrutiny from employees as well. It's annoying to be compensated in stock. I don't want to deal with complex wash sale chains just so I can dump my shares as soon as they vest. Just give me cash and let me choose if I want to buy shares in the market like anyone else. If they must give me golden handcuffs then do so in the form of cash bonuses at set dates.
I couldn't tell either. Poe's law in full effect.
Just so it's clear, I think this guy is out to lunch:

> "Don’t be in the game industry if you can’t love all 80 hours/week of it — you’re taking a job from somebody who would really value it."
If they have $1M to invest, why don't they focus on securing their protocol (i.e. switching to authenticated encryption) and turning encryption on by default?

See http://cs.au.dk/~jakjak/master-thesis.pdf for more on why Telegram isn't secure and you shouldn't trust it (as it is today) for anything requiring privacy.
The major difference is that it may force the current scam which seems to rely partially on getting people to download and click the last page and partially on a scammer network to do this for each other to move entirely to scamming real people to click the last page.

That said, that's not a good reason in my mind, since we shouldn't be afraid of stopping abuse just because we are afraid it will shift to another area, as it's still progress. I retract that specific example (but I think the others are worth thinking about).
Unexpected discovery leads to a better battery
:( !!!
That gets into cost vs benefit. Arguably, these things are best as part of the standard package from the manufacturer, but being able to remotely track everyone is going to throw up lot's of red flags for people.

Also, it's easy to drive a car into a truck with a Faraday cage making these things almost useless if they did become common.
Actually it backgrounds /them all/; as the comic states in the caption text, failures can generally be ignored since one will have success.
People like Richard Stallman have been warning about this sort of thing for decades.

Any GNU/GNU, GNU/Linux, or GNU/anything system could do exactly the same thing without violating any terms of the GPL. Requiring a reboot into a special "I know I'm messing with the system" mode in order to mess with important core binaries is not an unreasonable way protect the user from malware, and does not in any way abridge any of the core freedoms Stallman promotes.

(and yes, you literally can run a command and reboot your Mac to be able to make changes to the protected stuff, and the process to do this is well-documented)
The article doesn't discuss the potential advantages of POWER8/9 over x86 processors. Can anyone provide any background on why Google is moving in this direction? I assume some of it is based on the cost of Intel processors.
nit: GCE is Google Compute Engine, which is a raw VM product most analogous to EC2 in AWS. Google Container Engine is "GKE", which I guess is a clever resolution strategy since it's a hosted Kubernetes service (http://kubernetes.io/). GKE is another compute-based offering, but helps you deploy autoscaling services on Docker.
IBM is quietly telling employees in the Watson division they have 30 days to find a new job.

https://www.reddit.com/r/IBM/comments/4fbsm9/anyone_else_tol...
It does match one effect, but it doesn't match the most important effect (flushes the output stream). And so a lot of people get the wrong idea. (I had multiple experienced professors teach me that std::endl was the "C++ way" as opposed to "\n" being the "C way").

You always want to follow the Principle of Least Astonishment. Suppose a hypothetical programming language has two DSLs for interfacing with SQL databases. Which of these is immediately understandable without having to consult the docs? Which one are you more likely to "learn" in a way that litters your codebase with subtle bugs?

// Returns the SQL query as a string
DB.table("users").where("id").in($args).toSQL()

// Returns the results of the query
DB.table("users").where("id").in($args)

// Locks the DB connection and returns the results of the query
DB.conn.lock() { DB.table("users").where("id").in($args) }

vs.

// Returns the SQL query as a string
DB.query.find("users", ["id", sqlSafe($args)])

// Returns the results of the query
DB.query.find("users", ["id", sqlSafe($args)]).run()

// Locks the DB connection and returns the results of the query
DB.query.find("users", ["id", sqlSafe($args)]).exec()
This story appears very similar to one done by the Australian edition of 60 Minutes last year:

http://www.9jumpin.com.au/show/60minutes/stories/2015/august...
> Feasibility studies take years.

They don't really. Just ask China how it's done.
Some think it's very appropriate for high performance networking: https://github.com/google/stenographer

Granted, that uses pfring pretty substantially, but still...
Probably this is at CYA ("Cover Your Ass") security [1] in action. Everybody knows these terms are not very useful on these lists, but also want to make sure they don't end up having to explain why all other names were listed, but the something as obvious as this was left out.

[1] https://www.schneier.com/blog/archives/2007/02/cya_security_...
MarkMaker – prototype logo generator
I like this. Currently sending e-gift certificates is the closest thing.

Would be nice if you could engrave the products as well. Like if a business wanted to send swag they could.
No different from being detained and banned from boarding if you joke about a bomb at an airport.

There isn't much incentive for TSA or OFAC agents to apply common sense or attempt to detect irony. Because (1) that requires mental effort, (2) if you get it wrong and decide someone is serious when they were joking, it doesn't hurt you any other than needing to waste some time on paperwork, and (3) if you get it wrong and decide someone is joking when they were serious, then you've put people's lives in jeopardy, terminated your career, and perhaps opened yourself up for legal liability.
Thanks. Does anything come to mind that you should have done more of (or instead)?
What is the cool trick to implementing BER?
GET LAMP: text adventure documentary
Sweden wants to become the first fossil fuel-free country in the world
Sarcasm detector is also failing.

But even compiling to C would not magically solve the issues.
I can't imagine the incredible stupidity that led to this regulation. As if terrorists are actually going to use the acronym ISIS. They don't even use that acronym when talking about themselves. In fact, I don't think anyone outside the US uses that acronym. Even if they did, I doubt they would be that stupid to use it in an actual money transfer. They are not as stupid as the people making these regulations.

But I disagree with the author. Sounds like the moral of the story is to not send money online whenever possible and when not possible, to always use a benign description, even if it's a lie.
This is why we don't editorialize headlines. Also, this was discussed pretty extensively already: https://news.ycombinator.com/item?id=11468446 https://news.ycombinator.com/item?id=11440179
That's the joke. That's why it was an xkcd strip.
> I hate to be that guy

Then don't be that guy. Easy.

I like to read news about things that happen to the organisations I care about, and evidently at least 123 other visitors of this website like that too.
Captain401 is growing fast and hiring engineer #3 – React, Node.js, Go
BBS: The Documentary (BBS, FidoNet, ASCIIart, )
Node.js is a LIAR Sometimes
Cognitive function decreases in over-40s working more than 25 hours per week [pdf]
Interactive Fiction Archive
I've just been reading about the foundations of NetHack and other roguelikes, which is quite interesting: http://www.amazon.com/Dungeon-Hacks-NetHack-Angband-Roguelik...
Yes, it was a deliberate non-link ;)

(Oblig. http://xkcd.com/609 )
> We will spend a huge amount of the world's money, resources and time to do our best to fix it, and all that is wasted because it could have been used to move forward sustainably rather than make a few people obscenely rich at the expense of most life on Earth.

You and I wouldn't be here if it weren't for petrochemicals. It didn't just make a few people rich, it made modern life possible.
I have been using cython, as presented here [0] with huge speedups. Prototype in python and then make a few changes to produce python code.

https://spacy.io/blog/writing-c-in-cython
Ah, OK, when/2 -cheers :)
It depends on if it's you or your company.

For academics, when you get a fellowship or grant that must be recorded on the 1099-misc in the united states. And you pay full taxes as an independent contractor.

I am not a lawyer nor am I an accountant. This is not legal or tax advice :)
> There isn't much incentive for TSA or OFAC agents to apply common sense or attempt to detect irony

... because they avoid responsibility for the damages of their willfully negligent actions.
I like this because I don't like jazz.
This blog is getting paid for these links. I'd take the reviews with a grain of salt. It's actually illegal in the US to do this without a disclaimer, but enforcement seems to be pretty lax.

I've found this same problem with every mattress review site.
So telegram is a non-profit. And they splurge 1M USD? What am I missing?

Edit: to clarify, what I meant is that I expected non-profits to make good use of their money and not give away large sums of money in prize competitions. Certainly, no NGO or non-profit I know of does this. Raises a red flag for me.
My conclusion is: as long as you don't do anything new, Python is fast enough.
Save them, real 1n34 diodes are hard to find. Most of the ones from HK or China are fakes and lack the sensitivity for crystal sets.
Like everything else, crime has moved online.
As someone who is unfamiliar with this ss7 vulnerability, does anyone have a more in-depth technical overview?
Agreed. But like most things opensource, it just becomes better over time if someone did a good start :-) .
It looks like the demo they do with the reporter leaves out a the part where the "landing page" for the wifi prompts the user to install a new root certificate on the device so that his proxy can listen in on all of the traffic.

This is the smartphone version of fake pirated media that asks you to download a special desktop "media player" that ends up just being malware. The average user will just accept whatever prompts they are given for free access to wifi. Certificate pinning will be much more important once this becomes mainstream.
An alternative explanation for sudden drops is the "flame war detector", which demotes stories that are attracting more than a certain ratio of "discussion" to upvotes (and possibly other factors).

With more comments than upvotes, that might be the case here: http://hnrankings.info/11519205/
Mathematical Matchmaker Michael Atiyah Dreams of a Quantum Union
If high-frequency trading were limited or abolished, would Lucera's advantage over AWS disappear?
Tomb Raider for Linux – system requirements revealed
I think this is a super important topic, that doesn't get a lot of discussion in the infosec community.
What? Like they look at your session while your logged in? Ha Ha fuck that shit. When do they have time to hand out hall passes?

No my boss doesn't have a remote desktop client. The default install blocks the port inbound. If you need IT help you walk your ass down to IT. If your boss needs to see what you are doing, HR and Legal talk it over then take your laptop and send you home then send the machine to a real forensic examiner who will preserve chain of custody and not miss anything.

Boss snooping is just bad for everyone. If you're not getting your work done that should be all the evidence she needs to help or fire you.
Thanks for posting this, It's very cool.

I don't like the first one very much, it resembles me improvising some times; randomly repeating patterns without any direction or structure and without going anywhere.

The second one is better, it has some good moments, but still has the same problem, it lacks general structure, and just seems to go from pattern to pattern.

I like the third one, it may help that the form is very formulaic. Some rhythms that it makes are weird but in a good interesting way. The structure is better and seems to be going somewhere but unfortunately it doesn't finish.

EDIT:
Conclusion, if the program could incorporate structure in some way it would make for passable music, but I would say the humans are still safe ;)
It breaks the HN guidelines to change titles except whey are misleading or linkbait. Please don't do that when submitting stories here.
Now, try implement that matrix subtraction or something more complex such as blurring or edge detection in Python, and compare results.

Also, are you sure that doesn't measure disk speed?
Wine Release 1.9.6 with Vulkan support
And I'm going to be that that guy and say you didn't have to look at this story, let alone leave a comment. Like I didn't have to read your comment and leave a comment, but I did nonetheless. Are you and I really so different?
non-profit does not necessarily mean the company does not make profit. AFAIK it just requires that the profit made be spent on the company and/or cause rather than used as dividends or given to what would normally have been shareholders.

http://www.investopedia.com/terms/n/non-profitorganization.a...
Profit/non-profit status has nothing to do with how much cash an entity keeps on hand.
It IS possible to ascend without such cheats, but incredibly difficult.

I would say (and this is certainly true in my case) that an ascension without resorting to either spoilers or source-diving belongs in the "not going to happen" category.
Surprisingly, many people have (for a certain definition of many). There are a lot of successful ascensions you can read on RGRN on Usenet [0].
For me, I managed to go about halfway down the dungeon before dying, maybe I'll beat this game sometimes next decade!

[0] https://groups.google.com/forum/#!forum/rec.games.roguelike....
This is really interesting stuff
Demonstrates that context is everything.

Do most of the people reading this thread think it is sexist?
How does one go about visiting such a facility? Do you have to be a customer or can anyone just request a tour?
Android N’s second preview build supports Vulkan and new emoji
Oregon DOJ has a new surveillance tool