skysight-inc/HackerNews huggingface dataset:
Well, the simplest form of copy-paste on the command line is piping output from one command into another, just a single character '|'. But I was mainly talking about iPad-style single-window touch-control environments vs. keyboard/mouse multi-window desktops.
What's the point of rules if you don't follow them? So what if some one feels "insanely" exagerates it. Its the journalists opinion that it is insanely easy. That should be the title. I don't care if an hn moderator feels it is insanely easy or just easy to hack a hospital.

IF he has an opinion on the difficulty to hack topic there is a comment section. The op is not a comment section for mods
First 'Call of Duty: Advanced Warfare' trailer stars a menacing Kevin Spacey
You could just use Epic instead, which would be like using Linux or Mac without an antivirus:

https://www.epicbrowser.com/
You worked on a Sigma 5 in 1969? Where were you? I was in Phoenix, at my first programming job. Summer of '69, Transdata in Phoenix hired me as the night operator. The best part was that they didn't offer their timesharing service at night, so basically I had the computer to myself.

We didn't have anything like electrocardiograms, but the neat thing was to see what kind of program you could write on a single card. Did you have any of the bird chirp cards that would toggle the front panel speaker and put out a whole flurry of bird sounds?

My favorite (or at least most useful) one-card program was when I found the print card: Put this card first in the card reader ahead of a stack of other cards, and it would print out the whole deck!

Only problem was that the print card was single buffered. It would read a card, then print it. Then read the next card, then print it. And on and on, with the card reader waiting while you print, and the printer waiting while you read the next card.

So I figured out a way to double-buffer the print routine: It read the next line while printing the one before, so it was much faster than before.

And it still fit on a single card!

80 columns should be enough for anyone.
All programming teams are constructed by and of crazy people
Microsoft Fixes Nasty IE Bug, Even for Windows XP
Hi. I'd like to run NixOS on kimsufi as well. Do the servers work well? Is the cpu what they say on the page? Do they provide kvm?
> Not at all true, the language of balanced parens is not regular and cannot be matched by a FSM no matter how much memory you have.

But this is not what the grandparent was saying. They said that the language of balanced parentheses with some depth limit d can be matched with a FSM, for any finite d. Similarly, a "Turing machine" with a bounded tape can only recognize a bounded version of the balanced parentheses language.
How do founders with kids make it work?
Is this bassicaly just adblock with just the anti tracking list enabled?
Z80 embedded system debug session. Two flipping days working out why an NMI wasn't being captured by the kernel interrupt handler in a communications controller I was working on. The NMI handler religiously stopped working after ten minutes. Turned out some chump had bent the CPU _NMI pin in the socket of the device at the manufacturer and it wasn't contacting the socket reliably so when it warmed up it started floating. However, you couldn't see it with visual inspection. I assumed it was my fault and spent hours with the assembler and Z80 and vendor docs trying to work out why it wasn't working. Got miffed, plugged in a logic analyser which caused it to work perfectly.

Eventually I assumed the CPU was duff, gave a finger to the rules which involved not changing the hardware, yanked it and found the inverted pin. Grr!

Bear in mind this was MILSPEC and had gone through QC, soak and thermal testing.
From the source: "I had to spend some time with google to find the right spelling."

Apparently time not well spent.

'Hugelkultur' is not a German word. 'Hügelkultur' is. Or you can write it out as 'Huegelkultur'. ü->ue.
Privacy is not a goal of Google chrome.
The whole thing looks very nice but the fact that the resulting sites must be deployed on their servers is a deal-breaker for me.
Yes, in general you can't say "what version of X am I using?". You have to ask: "what version of X, the derivation Y is using?".
You can see the contents of package X on your system, there's no index provided online for that. Also "contents of package X" is too general for nix, it's "contents of package X built with inputs Y", you may have the same package X built in different ways in your nix store.
It's not impossible, there's the need of a service that provides information on what packages provide a certain file.
25 Dead Cats Found Hanging in Yonkers Trees
You lost me at .pl ..
For using with nix-env, there's still -I, or -f. E.g. nix-env -f ~/nixpkgs -iA thepackage.
This is a lol beginning of something big - imagine a hardware startup making $50 radio dongles that create encrypted p2p mesh network. It would be slow, but with 20+km range, it could be really useful really fast and almost worldwide.

Big part of this would need to be software stack that would replace DNS (centralized, single source of truth) with something distributed (every P2P mesh can have it's own 'domains' - let's just assume there is no way to coordinate globally except each subnet having different random prefix).

Combine with encrypted tunnels over the old compromised internet to link the cities together.

Fck ISPs, fck mobile operators and their builtin surveillance. Impossible to turn off, government-proof, apocalypse-proof...
a long term investment is a short term investment that failed
Eye-Tracking study on online ads
Oddly, this resource is blocked in Russia, so I was not able to read the article from my ipad. WTF with this country. Anyone knows if I can penetrate Great Russian Firewall on ios?
Also, is it Open Source? It’s interesting to me that they can sell with a explanation that’s wildly technical, while not mentioning the license…
The amount of evals in the code is troubling too...

eval{$penis = $cgi->param('postfield')};
eval{$penispenis = $cgi->param('postfield')};
The pilot was a glider pilot, the first officer was an air cadet, and the field was already turned into a race track.
Joyent co-founder: Why AWS will win, OpenStack will flatline...
Yes, Smalltalk and Lisp do overlap quite a bit.
Negative connotations
Getting a Leg Up: Toe-Operated Mouse Works Like Flip Flop
Watch SpaceX's reusable rocket hover at 3,280 feet before gently landing
In Germany part of the training in many schools involves getting to the nearest autobahn and going at least 120mph to teach you driving at such speeds. Yes,there are training courses which don't do that, but it's not uncommon.
I read it as a "Now listen here", not a "Now they have the internet on phones you know".
Yeah when I had finally peeled back the layers all the way to asm I had this moment of enlightenment. Personally I think the time it took me to peel back those layers was wasted and I wish I had started with asm rather than a HLL. I think it would be much better for students to move on to HLLs once they see the need for automating certain things. Knuth was right to use a synthetic assembly language rather than a HLL for the The Art of Computer Programming.
All for one and one for all
> A bad architecture and bad code structure can be achieved without TDD.

Of course. But TDD seems to be applied instead of good architecture. The latter is way, way more important than some tests.

> I don't think well thought out design precludes unit testing.

It doesn't, but the latter is often applied without the former, resulting in claims "it has many tests, so it must be good code".
More importantly, the TIME_WAIT state only happens for the socket that initiated the close (active close). In the case of a HTTP keep-alive, the active close is usually done by the client instead of the server (avoiding a TIME_WAIT on the server side).

A general rule when designing a network protocol : do your best to make the client-side closes the connection when possible.
Or in other words "Humans are really bad at random."
I can't speak for Netherlanders but over here in the US, all forms of encryption on the amateur radio bands are illegal. (Of course if you're trying to topple your government, arab spring style, I guess that doesn't matter so much.)

Be careful kids, you're playing with fire.
> Can I self-host Webhook
> No, but we get this question a lot and obviously want to provide it. Honest truth? We'd like to hire another engineer first. That way we can dedicate a resource to making it as good as our hosted solution. It's just not as simple as pushing to an S3 bucket.

This is a deal breaker for me and I suggest most dev shops working for clients.
Hold your own keys yourself, possibly with the addition of multi-sig service(s) to make this safer and more convenient. That is undoubtedly the long-term vision of bitcoin, and it's quite different from banks/USD.
Could you elaborate. I'm curious why interactive programming isn't more popular.
OpenBSD will tests its implementation; it probably won't test ports to other OSs. So unless you use OpenBSD yourself, it won't be of much help.
I like the idea of building your own CMS but the idea of hosting on their servers might be the deal breaker.

Although i think this can be a very nice open source project and change the idea of CMS which is been set by projects like wordpress/drupal etc.
Trusting signature based products is hard
Ok fair point re it being contrived!

Although (having just re-read it), the original post's complaint was actually that:

> the compiler (afaik) doesn't prevent you from setting an Optional field to null

ie

scala> val option: Option[Any] = null
option: Option[Any] = null
Note that some dialects have their problems with the u-umlau, in which case you'll actually hear "Hugl". As the article is referencing someone from such an ü-challenged area (Mr. Holzer), maybe the writer just heard it that way.
IBM unveils a computer that can argue
Languages that come with batteries are great, as the OS becomes largely irrelevant for most tasks.

As for the runtime size, the Truffle AOT compiler might help if it ever gets added to the reference JVM. Which is dependent on Graal replacing Hotspot I guess.

Another thing is the modularization, that will hopefully finally come with Java 9.
You can always over think it...

"The battle of wits has begun. It ends when you decide and we both drink, and find out who is right...and who is dead."
{Meetup} Hacker News Meetup in SF?
Hey everyone!

Going to SF today to check our some apartments for the summer.

Anyone down to meet around the SoMa/nearby SF area?
Can you work from home a day or two per week? It works well for me when I'm doing creative work.
That's a block eval, not a string eval. Block evals are the equivalent of a catch block in Java or the like, so this is perfectly safe (modulo correct exception checking and such, of course..
Worth the read!
You know the biggest reason for Steve Job's success was his ability to call stupid things stupid.
Great tool, fun for music discovery.

A graph style approach for this is https://soundcloud-explore.appspot.com/
Face Off and On: iPad Faces Explore Feelings of Anonymity
Eldritch – Parallel Programming Constructs DSL for Ruby.
I think that excuse is valid. Why support two very different type of support requests in the early days.

I'm not sure I like the idea of another CMS but the idea of using kickstarter to build an initial client base is a good one.
Learn Advanced Rake in 7 Episodes.
How much would you pay for an independent, non-ad supported, privacy-focused browser?
USE flags are just different inputs to the functions that build stuff in nix, which is most probably even more flexible in nix.
Nix is mixed binary and source compilation when there's no cache.
Although imperial measurements are used in the UK in legal situations (mph/yards to next junction etc), they're actually almost never used in engineering fields. In fact, I'd say that Canadian engineers use imperial measurements far more than UK ones do. The influence of the US?
There is no such thing as "the x86 ABI". You're probably referring to the GCC ABI or something. For x86-64 there is the AMD64/System V ABI but, again, it's not "the x86-64 ABI". Linux uses these, I don't know about other OSes. For ARM there are a few different ones in use, namely soft and hard float ABIs.

Personally I would say x86-64 is easier than x86 because of extra registers. The System V ABI is a bit more complicated because arguments are passed in registers, which is great if they all fit, but makes it more complicated if they don't (it does encourage you to try to make them fit, though). The ARM ABIs are very similar in this respect, though.
They also found surgery robots connected to internal networks. Although the robots generally have software firewalls to block connections to them, Erven and his team found that simply running an off-the-shelf vulnerability scanner against the firewall caused it to turn off and fail open.

Wow, just wow.

If someone ever hacks an active surgery robot it's going to be Saw meets Snow Crash, and not in a good way.
Alimay Sports
Interesting how the pattern "rock-paper-scissors" is followed. If this is because of the name, Swedish people, for example, would follow another patterns as they call the game "rock-scissors-paper" (Sten-sax-påse).
Kim Dotcom: On the road with Hollywood's biggest enemy
Do I Need an Identity API
RailsConf 2014 Recap: Day 4 with Aaron Patterson
I didn't mean that threaded servers don't exist, that's pretty obvious. I meant, as my comment stated, that there aren't threaded servers popping up and demonstrating this fantastic performance/scalability. Hell, Apache moved away from threads.

Twitter and WhatsApp could be good examples, but no-one outside the company can really say that each server there scales well. How many servers does Twitter run? Who knows? So who knows if they are each 'scaling to 100,000 threads and achieving excellent performance', as per the paper's claims?

As for which model is harder or not, I guess that is an arguable matter of opinion. When the paper is claiming that one model is a 'more natural' programming style then it's clearly moving beyond objective reasoning.
Ultima Online private servers, it is/was an obsession

http://www.sphereserver.com/
I wonder if it has less to do with the name and more to do with which hand beats which.

That is, if you lose with a rock, you have lost to a paper, hence a paper might start looking like a better option.
Jekyll 2.0.0.rc1 is out.
Web Design: 8 συμβουλες για ασφαλεια στο WordPress
FreeBSD's jails have had a lot of work done on them over the last couple of versions. Now that 10.0 is out, could be worth another look.
I'm inclined to disagree, simply because the social media reach being talked about has everything to do with people using Twitter and nothing to do with how Twitter will make money...

If you think Google is immediate purchase advertising, facebook is friend recommendation and branding advertising what is the purpose of advertising on twitter at the moment....
RbNaCl 3.0.0: a modern cryptography library for Ruby
I agree! It's a shame that the most common concurrent programming models are a choice between share-nothing (fork) and share-everything (threads). Anything that gives a programmer something between the two extremes is an improvement.
My understanding is that /dev/urandom is perfectly fine for almost all cases, including session keys and such but (if only for the sake of paranoia) for long lived keys it is worth the potential extra time waiting for /dev/random to serve what you need.

The key to remember is that when the pool has sufficient entropy there is no difference between /dev/random and /dev/urandom, and if the pool is low then there is practically no difference between /dev/random and /dev/urandom - the quality of the PRNG means it is practically impossible to tell the difference between the two outputs (take a few thousand bits from each at a time and see if any statistical analysis can reliably tell the difference).

It is increasingly common for CPUs and/or related chipsets to have a built in TRNG so keeping the entropy pool "topped up" is getting easier by feeding the pool from those using rng-tools. The SoC RPi's are based around has an RNG that pushes out more then 500kbit/s for instance.
It's not even open source yet, why exactly would one trust it?
Map Reduce: A simple introduction (2010)
Love the idea but I'm personally not a fan of node mostly due to it's poor package management system.
Privacy Badger
Why are there exactly 12 pentagons and 20 hexagons on a soccer ball?
I agree with you that we should fix problems. But I am not sure about no sharing of resources, no double-checking whether they are stepping on each other's toes. Are you trying to say once we discover a flaw, we just report and have developers to fix it, and don't mention it?

If so, there is zero way to avoid that. In fact, any company that keeps me away from their product updates is not doing a good job :/

And to the "acceptable risk." I find irony when the government says that =. People often say how companies like Ford or Google or Apple are spending millions in Washington trying to get the WhiteHouse and the Congress to do something "better". The fact that the government and many Congressmen believe that national security requires people to keep exploits a secret for national defense is putting the government, the Army, big corporations and everyone else business at risk.
You sound like you're resigned to learning rather than enthused. How old are you ? (although that's rhetorical) I'm 45 and I still read a textbook a month.

There does come a time when young that you can say "finally, no more education!"

What I have found when revisiting topics is that my life experience contributes into the subject for me rather than merely being a set of facts & analogies from someone else.

I only recently read The Annotated Turing by Petzold, that was the kind of eye opener that would have looked far to dry a subject to me years ago. Time has given me the ability to peek through Turing's eyes and imagine the sociological and pedagogical environment he was operating in which really adds to the material.
Will do :) it's ever-tempting to go back and set up there. Cheaper, arguably a lot nicer and more fun than London, but currently the big smoke still has its claws in me.
The fact that "speed" or "good performance" were not options did raise my brow. As well as the fact that the EFF called an internet poll "published research".

The poll in question: https://webwewant.mozilla.org/

Privacy may very well be the top issue on users' minds, but calling this evidence seems a stretch.
TLDR: Players are more likely to pick the move that just won.

To exploit that, the best strategy would probably be to always pick the move that wasn't played. Should give you an edge until your opponent notices your pattern :)
Invested in stock, lost money, invested more money, lost more money, increases holdings once again.
Turkey's Erdogan: One of the World's Most Determined Internet Censors
How could you forget Erlang? It has been avoiding events for years and has done so with high success. Same with Haskell and Standard ML :)
That's what I remember from looking into this a few years back.
Maybe the word your searching for is immature.
This shows how easy it is to keep people busy.

Just make something random, mysterious, use strange name and make it look like a cryptography thing...and enjoy watching the internet goes into a storm.
Ah, that makes sense. It would lead to a lot of rock-rock etc., as the winner stays and the loser moves to the winner hand. I wonder what the players pick then? If both move up one it would lead to an even larger number of same-hand encounters.
Python Data-Structures Are Fast
Ever wanted to be able to rate blogs?
Yes, that would be nice to see.
Ask HN: Best current Linux-compatible laptop?
Aloha HN!

I'm looking for the "best" linux compatible laptop you know about (business). Here are some specs:
- min. 8GB RAM
- SSD
- VGA (for beamer support)
- HDMI / DVI
- MUST work with Ubuntu Linux 14.04 without poking around for weeks just to get the damn W-LAN running or jokes like that
- Shouldn't cost more than 1.3k €urons

I came up with a custom configured Schenker, but maybe you know something better :D!

It'd be awesome to get some recommendations! Thanks in advance for sharing your experience!

./sz0ka
Erlang routinely runs 100,000 processes in the same memory space and scales very well. The reason it is possible to even handle this is that it is not based on shared memory but on message passing.

There are two things at play here: a) Is the solution easy to design/code. b) Is the solution fast enough.

There is far too much focus on (b) and relatively little attention is given to (a). The claim is that writing code in a direct style in a highly concurrent environment (Go, Erlang, Haskell, SML, ...) is easier and achieves roughly the same performance (within a factor of, say, 2).

My experience is that this is true. I have seen fast evented and threaded systems. But I do feel the threaded systems were easier to write.
An opportunity to mention that Go uses the Plan9 ABI which is different to GCC C style ABI. Plan9 did away with previous ABI conventions to make it easier to port code. Portability was built into Plan9 from the outset, rather than "ok, it works for x86, how shall we #ifdef other CPUs into our code"

A simple overview is given in this recent article

http://nelhagedebugsshit.tumblr.com/post/84342207533/things-...
It's 1987. I'd just spent a few months building a small single-floppy bootable OS for the IBM PC. The purpose of this project was to display a small training demonstration for security-related personnel in a protected environment. There were to be no ways to interrupt/interfere with the system running the training program, and it absolutely could not have been done in DOS or CP/M - had to be its own standalone system, 100%. It had absolutely to be something that 'could not be copied in a normal computer', where normal was: any of the DOS-booting machines out there in the final location.

So we built a boot-loader, a small kernel, packed the training-material resources into a tiny VM, wrote a VM to process the bytecode and run the training app, and delivered two bootable - albeit 'uncopyable' - floppies with the app - one for the demo, and one for the final installation. The app worked great, but building the floppy required a fair bit of magic hand-waving, back in those days. I retired after giving the delivery-person their two, very valuable floppies, with only thoughts on my mind that perhaps one day I should automate all that sector-placing hand-waving magic ..

So, I get a call from the remote location at 4am in the morning, saying that the demo floppy had been placed on top of some magnetic thing accidentally, the person had been fired, and how do we make another copy of the floppy for the install at 7am?

Well, indeed. "We'll have to do a sector-copy. Do any of your DOS machines have debug.com installed, by any chance .." A 7-line assembly routine to do block copies, 15 minutes of waiting-on-hold listening to remote floppy copy noises later, and we had our copy. The scant few hours I had in between dreaming of the routine, and then actually having to explain to a non-technical person over the phone how to assemble it into a working program in a way that won't destroy the only working copy .. well, lets just say I learned a lot of things in that project that I'm still trying to un-learn. ;)
You mean Firefox?
Always topic branches yeah. My team puts that kind of information in the pull request, which ends up playing the role that a commit would in SVN or the like. I guess we could squash our merges to achieve the same effect, but we haven't felt the need yet - the pull request is a nicer interface than a git log.
Why so many regular expressions everywhere? 0_o
Can you explain what you mean by "vertically integrated" in this context?