skysight-inc/HackerNews huggingface dataset:
The problem is realism in foreign policy. Even the nicest kid entering Harvard for a polisci degree is going to have to reconcile information asymmetry / anarchy in international relations with democracy and civil society. It's harder than you think. I once asked a foreign policy friend of mine if ethics entered foreign policy decisions. He sat and thought for about 2 or 3 mins before saying "sometimes, sure, if the stakes aren't too high". On his own this guy wouldn't hurt a fly, and in general he accepts that liberalism and US soft power is sometimes effective, but at his core he's a realist, and realists tap the internet and throw revolutions in the Ukraine.
Yea, sorry for the dumb comment - I thought raw was an autocorrelation or something and was meant to read red meat. My mistake.
Go Ask Alice – What Really Went on in Wonderland
https://news.ycombinator.com/item?id=8731296
Agree to disagree. Starving yourself should never be an option.
I tried out Atom a few weeks ago. I loved the UI! Absolutely fantastic, beautiful, nothing but praise there.

But I had so many issues with stability, and really missed small but important features that were present in my other editors. I also found that most of the plugins worked either poorly or sporadically.

In the end, I decided that it was not worth either using Atom or spending time contributing to it when I have some "pretty close" solutions today. Definitely looking forward to the 1.0 version though, and hats off to all those spending their time contributing to it. I'm sure it's going to become something great!
But then they simply wouldn't do it because the risk is too large. This gives them hard data on traction before they've even talked to distributors. So it works out well for people. Unlike a traditional pre-sale, these contributors should understand that the game might not ever be released.
This is certainly an interesting idea. A quick Google search gave me this toy example: [1][2]

Of course making it work for all cases would be very hard due to the excessive dynamism of Python, but for simple arithmetic operations it could be made to work fairly well.

[1] http://tomforb.es/automatically-inline-python-function-calls

[2] https://github.com/orf/inliner
It's still much slower than, for example, Sublime Text. A search for a single letter [1] in a ~5,000 line file occurs instantly in ST, but takes about 1 second in Atom. It's not much, but it's very significant from a UI point of view.

[1] I know such a search is ridiculous, but both editors perform search-as-you-type, although atom does attempt to delay that if you type quickly enough. Anyway, it's just an example to demonstrate the speed difference.
You can't show Googlebot one thing (the article) and real people another (the paywall) without being penalized and losing your free search traffic. That's why visits referred from Google see the full article. It's not because someone at NYT decided they don't want people from certain sites to become paid customers; if they could paywall Google-referred traffic without losing that traffic they would.
Well, the decryption code is open source. And they have the ciphertext. So what does a timing attack give the attacker?

If keeppass removes the possible timing attack, the attacker could just add it back in and use their own client, if they have a copy of your database.
And I pity the cows.
Ask HN: Starting a company while raising a family?
Hi,

Raising a family while trying to build a business is a tall order given the amount of work and responsibility on both sides of the equation. I'm just curious how many folks on HN are in the same boat? Would love to connect and get a community going.

Cheers!
Interesting read, thanks!

However I would not characterize that as "Poettering completely misunderstanding a perfectly valid use of su".

It seems a quite complex issue about a workflow that is only half-working even without systemd. A systemd patch has been committed that fixes the most blatant error, but of course it doesn't solve all problems since most of them existed before systemd.
I'm curious how you haven't seen any miracle articles of the kids who just learn iOS programming in a week, spend a few hours on a game, and make serious cash. For the longest time those were coming out weekly, which always made my boss say "Why can't we do that?"
A note to other 1Password users like myself, per the linked PDF 1Password does not use HMAC.
Hackers.tv – Domain Name for Sale on Flippa
It looks like its mainly used for storing site login/passwords. I like to store other things too in password files like credit card numbers, notes ,etc.
Do you want to learn my secret technique for dealing with overconfident people?
Interesting presentation showing java to assembly and back again. When can the optimiser kick in and when does it need to back off.

Code samples showing behaviour in the matching github

https://github.com/dougqh/jvm-mechanics/
Whoa, interesting, thanks!
Does it open files >2mb yet? My terminal vim does.
Is the context "digital" really important here, I hardly believe that publication overall, analog and digital, happens in more than 300 languages, or are there books, newspapers, magazines, roadsigns in 6000+ languages?
When has JavaScript itself (and not the APIs, unless it's a JS-specific problem) last enabled an exploit in a major browser? I can't remember it.

Meanwhile, here's a NaCl sandbox escape exploit from March: https://www.exploit-db.com/exploits/36311/
How does dynamic linking work in a scheme like this? Would any pre-compiled libraries need to be distributed as Bitcode as well?

Due to the concerns above, IMO Bitcode is less about compatibility and more about app thinning. It's pretty easy to go from Bitcode to 4 different variants of ARM; but another entirely to go from Bitcode to x86 and ARM. Currently, developers have to ship binaries compiled for multiple architectures, which increases app sizes. I suspect Apple is just building a workflow that creates a device-specific version of each app, and having developers compile to Bitcode simplifies app submission.
Let's say your CPU is 2.5GHz. The square root of 2,500,000,000 is 50,000...
>>> but there is no such thing as smoking in a healthy way

But there is a way to be overweight in a healthy. Basically everyone at the gym is overweight (officially anyway) because of their muscle mass.

>>> Exercise is great, it's terrific, but not over eating is much more important.

True. But there is a difference between over eating and under eating. I never said we should over eat, I just don't agree with under eating.
Indeed. One thing you can have is a microcontroller inside with a timer, which allows for some final assembly steps. Say you have five minutes to close some panel and tighten some screws, after which, any further movement will trigger the detonator.
What is the data structure used for the text itself? A rope? The markers could be stored as offsets to the substrings themselves.
Macaw Scarlet – Live Design Environment
Glad to hear, bootstrap always felt like a shitty crutch. I also found semantic-ui and fell in love!
http://wayback.archive.org/web/*/fuckedcompany.com
I didn't even know this "native client sandbox" existed! Why the hell should I trust it, or anything executed inside it?

I'm tentatively willing to believe that Chrome is probably not trying to pwn my box, because I don't think Google has a compelling reason to do that which would outweigh the flak they would get if they were caught. Allowing them to run arbitrary compiled executables on my machine, however, would require me to transitively extend trust to everyone using their technology, and to do that I would have to be confident that there are not and never will be any security holes in their sandbox. That is an unlikely proposition to say the least and therefore I want nothing to do with NaCl.
Be sure to 2fa Dropbox too. Excluding hackers getting in to the server, it'll prevent people from being able to login as you.
I'm curious about which features you missed present in your other editors? What are those editors by the way?
Thanks. That's appreciated. Hopefully the author will update the article.
I shot you an email a few minutes ago. If you don't see it, please check your spam folder!
Well, "(1) should be thread-safe since it cannot dictate how it will be used by callers" doesn't hold. For instance most of .NET classes are not thread-safe because thread-safety has a cost. So it's a question of documentation (it's well documented in .NET).

But "(2) the authors clearly intended this library to be thread-safe" means that piece of code is bad. So you have a point here.
The phrase "this doesn't pick my pocket or break my leg" comes to mind.
I think this could be done through an ecosystem of existing technologies - although the BI service (business) model would function more like a "Hortonworks". Have users register for the app through a Gmail account/facebook account - you now have a solid amount of general data on the user (name, town, state, etc). Then, using existing API's, have your app connect to payment apps (Venmo, Paypal, Google Wallet, etc). Using some cloud based data analytics (Azure ML?), absorb the customer information, the vendor information, and amount - use this information to calculate percentiles based on user population - now convert the dollar amounts to some sort of point based system (as to keep people's actual dollar amounts spend private). Now using intervals (defined through some research around consumer spending habits at different vendor types) you can define your users into specific brackets (Top, middle, low)
I think the biggest problem with H-1B visa program is that quota is for entire world. It would be better to have 10k places for Europe Union, 10k places for India, 10k places for China and so on for other big countries and then have another pool for small countries. This would diversify population of US and would yield much better results.

Because currently H-1B is mostly used by Chinese and Indian people.
Customer support makes me a better engineer
Considering your background and experience, do you have a recommendation for personal level password management?
> The terms were clear.

But that's just it. The terms weren't clear when the transaction occurred. To me, temporal order is important. It's basically the concept of "informed consent."

> I have a problem with that consent being part of a deal and you withholding it while still accepting what it was being traded for.

Again, the order of events matters.

> I'm still not understanding your argument that you feel justified in taking something when you know you aren't supposed to have/use it.

I disagree about whether I'm "supposed" to have it. I don't have a problem with acquiring something in a transaction (and agreeing to all terms at the moment of the transaction) and then using it in a way the other party did not intend.

> I may have fruit in my hands at the store while approaching the counter, but they aren't mine until I've paid. If I choose not to pay, it's my responsibility to return ownership to the store (or in the case of a non-tangible good, to not utilize it).

But in your analogy, I bought the fruit at the time. The store teller told me the price, I paid it, and the teller sent me on my way. Then I got home, opened the bag of fruit, and found a note that says "the purchaser of this fruit hereby agrees to not bake this fruit into a pie." My position is that I simply do not care about this note. I acquired the fruit in a transaction which clearly did not involve that term. I will not return the fruit and I'll bake it into a pie if I please.
No this was on-boarded employees using the same passwords at their new job that they had used at the old job. I bet the Cardinals were at least savvy enough to disable Luhnow's old accounts.
This is just blogspam. Link to directly to the video instead. There are a lot of videos worth watching on Ben's channel.
And the U.K quickly descending into a totalitarian state continues.
Set additional security for your Linux server remote login via SSH
Same boat here. For sure it's not easy.
You mean just like Java? The performance overhead of Java versus native code is pretty negligible at this point, and Swift is pretty similar to Java 8. I suspect if Apple wanted to go the intermediate compilation route, they would have just used Java.

I suspect Bitcode is more about helping developers ship a single binary that works across 7 or 8 devices with slightly different ISAs. App thinning is a big push for Apple right now because app sizes are getting out of control with the number of variants that developers are required to compile to. Developers compile to Bitcode, then upload to Apple, who then compiles multiple versions of the machine code, using the App Store to download the correct bundle for the device.
Hi everyone, Ted from Cloudstitch here. Thanks for kicking the tires and giving feedback.

We're particularly interested in hearing what domains you might be interested in using this for. We're going to be building out as many reusable projects as we can in the coming months, and if there is strong interest for some over others, we'd love to hear it!
I'm going to leave this here for those who would like to know more.

http://www.reddit.com/r/edc
Rust Using Visual Studio Code
Visualizing 1500 messages
Nice to meet another die-hard Astros fan on here. There aren't too many of us.
Perhaps just of the ones where [the founder] has their feet still firmly on the ground.
Appreciate the candidness of the team writing about their naive approach. Definitely would have been a simpler fix to just search the currently visible text, but I'm glad they fixed the root issue to make markers more efficient for all.
I use a password manager along with Syncthing[0] which seems to be the compromise you are looking for. This setup works well as long as your devices are decently often on a wifi that allows local device discovery (since syncthing needs either that or static IPs) and it also keeps your password vault offline (i.e no cloud involved).

0: https://syncthing.net/
I've heard all those points mentioned, including by an accountant. Remember it is a points based system, not hard and fast rules.

Agree about scare stories, but it is a scary topic.
Also check out the Menger sponge, which has infinite surface area and zero volume: http://en.m.wikipedia.org/wiki/Menger_sponge
Don't you think that you're probably a special case, rather than a typical example?
I appreciate your transparency about your business model/data, amazing functionality and regular updates of Dash.app, no-bullshit attitude over maintenance of official docsets, and your involvement in the community.

Kudos all around and, while it ain't $2-4k, I hope you appreciate my sincere 'thanks' today.
Me neither, I just tried to explain what the other poster /probably/ meant.
S9core, a toolkit for building dynamic languages [pdf]
The old good ones are heavy, dark, and silky smooth. The new ones are lighter, noisier, have more friction, and erasing leaves more of a mess (in my opinion). Reading online people say that the old slate ones were harder to erase and had glare problems. I agree with the glare, the old style boards do show glare from sunlight coming in from side windows which is annoying.
The phrase, "more effort than it's worth" comes to mind.
The group accuses senior officials within the inspector general’s office – including those with the general counsel’s office – of attempting to water down or change findings in whistleblower investigations because of fear of political controversy.

It's a little hard to tell without a close reading of the article, but the alleged destruction of evidence was done by the Office of Special Counsel and unspecified inspectors general offices, not Thomas Drake or his lawyers. That is, the people in charge of whistleblowing cases did the evidence destruction, probably in response to bad PR.

This is infuriating on several levels. It seems like if Drake hadn't gotten sympathetic press coverage and public support, the DoJ would have tried to railroad him on espionage charges. Future leakers take note: be photogenic and sympathetic! Second, it's the damn prosecutors (I think). If you've got a case, make it in court, fair and square. It's the American Way. Anything else is just cowardly. Third, if any ordinary person (non-Lawyer or Judge or Law Enforcement Officer) had destroyed evidence, there'd be hell to pay. I can't see this as anything more than law enforcement taking care of their own.
Would also like to mention https://www.vettery.com as another option in the full-time, on-site category. There's also https://www.whitetruffle.com too.

Great list of resources, thanks for sharing!

Disclosure: I'm part of the Vettery team.
This isn't proof that the NSA has googles keys, but it outlines how the NSA uses stolen keys to decrypt information. I'd imagine google would be one of their main targets.

http://www.newyorker.com/tech/elements/how-the-n-s-a-cracked...
Vim also has a similar optimization: when a file changes, Vim only runs syntax highlighter on a visible part of the text + some buffer in both directions.
I have a private server in a datacenter that I put together myself. I use sftp to download/upload my keepass file, I also use a keyfile that stays local and a password for auth. What is the attack vector there?
Actually AS/400 byte code has 128 bit pointers. It was originally implemented on a 48 bit processor (weird 70's architectures FTW!).
He didn't imply he isn't - quite contrary - but simply indicating non-factual premises and conclusions of the article.

It's shit article.
The FBI loves it. They think their fingers ought to be in all the pies. Thus grows the State.
NASA Spacecraft finds strange lights on Dwarf Planet
Anybody remember when Singapore had a government mandate out for people to be more "creative"?

Also, pity about the cost of alcohol. At least if alcohol was cheaper non-liberalized tech companies could go there assured of happy workers.
There's still some major algorithmic optimization to be done regarding the time it takes to run the find-and-replace search. The optimizations discussed in this blog post were more focused on the performance of editing the buffer in the presence of large numbers of search results.
The odds of an singleton being called for the first time simultaneously is abysmal. Usually you even call a singleton first in your own initialization code making errors impossible.

I do agree that technically you are correct and you should wear belt and suspenders, especially if it's a library for third-party consumption and labeled as thread-safe... but still... its pretty esoteric, and only used by the author (I assume) who knows its not thread-safe. Locking isn't exactly without its performance implications either and even though that is neglible it feels unecessary if a race condition is de facto near impossible.
Filched from http://www.aldaily.com , which tags it with "The story of Lewis Carroll: 98,721 letters sent or received, 3,000 photographs taken, a revolutionary imagination, an unknowable man..."

As I gather from some biographical readings, it was possible in the London of the late XIX and early XX century to send and receive letters twice (or three times ?) a day, i.e. it would be possible to make dinner arrangements for the same day by mail, which was convenient before there was a widespread telephone system. Which is to say, many of those nearly 100k letters are probably the equivalent of an "want to go out for lunch" email/SMS/whatever.
"Those fancy macs you see everywhere are little more than dedicated facebook machines."

No more than any other Windows machine.
> You would think that if you have an electron microscope and a record player, you’re most of the way there to being able to record close-up footage of a needle traversing the grooves of a long-player record.

Actually if you would have only an electron microscope, you could play the track without even needing the record player.
Show HN: PyCNN – Image Processing in Cellular Neural Networks
As an aside, how does Linus come across as a grouch?

"Reporters" drive clicks by pretending to be outraged. Therefore they have to build up a set of standards and narratives which will make readers find Linus' behavior unacceptable, and dismiss Linus' explanations as just being a grouch. Once readers buy into the narrative, they see the world through that lens.

Side note: multiply this by all the news sites that use snark and moral outrage. That's how you get thin skin and judgmental in society. It's just like how the bigger news organizations exploit and reenforce a sense of fear in their viewers.
I use and like 1Password.
If you read that and concluded they've found the causative link between red meat and cancer I'd implore you to read more about it.
Vice demonstrates Russian soldiers are inside Ukraine via photos
Humans: New Sci-fi drama unsettles, grips and tackles robot relations head on
Can OP sue 4chan?
not built in but if you're on linux you can always overlay ecryptfs on your password safe directory, or just have your passwords in a separate vm entirely that is used only for that
Sure. Are you suggesting this is optimal or desired? It may be necessary due to realities, but that doesn't mean it should be encouraged.
Lot's of companies keep passwords in an unprotected Excel sheet :/
Every app is a special case, yes. I was just saying that the numbers in the article are not real. Redacted (the app) didn't stay in the top grossing rank enough. It just climbed and fell.
I don't think this was mentioned in the article, why would refugees have a better life in England than France? So much better that it's worth risking their lives over.
Yes it does. Currently, syntax-highlighting and soft-wrap are disabled for these files. We're continuing to work on optimizations and structural improvements to the editor that will allow it to support arbitrarily large files with the full feature set.
Wow I thought it was weird when the USA was held responsible for not stopping atrocities in sub-Saharan Africa. TIL we're responsible for Qatari workplace conditions. Maybe I should migrate to Canada; this is just too much pressure.
IntelliJ forks handle pasting large volumes of text much better than vim or sublime text in my opinion. IntelliJ will be able to maintain performant syntax highlighting because it builds an ast and does not use regular expressions.
I think it's easy to start in (some) software, if you pick the right tools. For example, micrososft lightswitch is great for beginners who want to build a CRUD website.The only problem - it's expensive.

Simlarly, nutonian/big-ml is great for machine learning, and gamemaker or ms-spark are great for games, and for websites there are many tools ,be it CMS's or others that help.

But i agree , general website design is far too complex.
Written on a whiteboard?
This has sort of been done with a flatbed scanner: http://www.cs.huji.ac.il/~springer/DigitalNeedle/index.html
No, having muscle doesn't make you overweight, no matter how much of it you have. The word overweight means to have excess fat, specifically.

Im not sure what you mean by under eating, but eating fewer calories than you spend is the only way to lose fat, other than surgery.
In what sense? The question is would anyone pay $20 for an iPhone app and I'd say no, unless there's external value. (Though I did pay $49 or whatever back in the day for the TomTom app when it was the first GPS app available on the iPhone)
NoPhoneZone – Share how long you can last without using your phone
Casper, Warby Parker of mattresses, is making laying down even easier
Strange advice, employment contracts in the UK generally have a minimum of 4 weeks notice, while contracts tend to require you to start in a week or so.
Yet, the onKeyDown handler still takes 50ms. Are you kidding me? You can push a billion tris in that time.
Let’s Encrypt will be launched on 14th September