skysight-inc/HackerNews huggingface dataset:
The poor compilers do the best with what they have. And by "what they have", I mean the things they can't make assumptions about. Which turns out to be a crapload. Until that happens, very highly-tuned assembly will continue to outperform the best compilers.

Of course, a more typical scenario is hand-tuning a few loops where 99% of the clock cycles occur and letting the compiler take care of the rest.

(Also, I was attempting to send a Morse code message by flashing the vote counter between up and down, but I don't think anyone got it :( )
Thats really not an answer.

Just because people in both countries can now face a new angle of attack doesn't mean that there is something to not be spooked about. People in both countries should be equally spooked.

The USA has more to lose in this battle - for a nation moving away from manufacturing and aiming to keep a tech lead for its economy - China's actions eventually would mean check mate.
It isn't that most of the people in the program are or are not rich, it is that most of the rich in the country are in the program. In other words -- anyone who is (a) likely to be annoyed by the inconvenience AND (b) powerful enough to do something about the inconvenience has been co-opted by PreCheck.
But what is a gigacorp to do? Make all their employees never use Windows/email/internet again during work hours, and run around the office building carrying USBs?

Also, how can you be sure that Ubuntu is secure? It seems to me that there is a general problem with all *NIX systems with regards of how they (mis)manage permissions (either file permissions or OS permissions), and I'm very sad that not even the newly-developed OSes (Android) have not fixed that!
Study: No Two Web Pages Separated by More Than 19 Clicks
Italian Style Amaretto, Kahlua Coffee Recipe
Obviously not everyone works in games.
As someone who is working on a project where the CTO demands more LOC, this makes me warm inside.
Am I the only one just enjoying watching the upvotes rocketing up on SO?
i think perhaps some people just don't see the world in a hierarchical way, so in their frame of mind, the problem is intractable.
Thanks For The 15-Minute Break, WordPress
Groundwork - A Responsive HTML5, CSS and JavaScript Framework
It takes a really good developer with vast knowledge to do optimizations such as using "inline assembly" for stuff like SIMD. And even though there are enough good developers able to do this, the mother of all problems when developing software is managing complexity.

Yes, you can take a subroutine and apply local optimizations on it. Building complex software in assembly that on the whole is better optimized than what a compiler can do is next to impossible.

Speaking of SIMD and stuff like it, there are already optimizations that LLVM is doing, but such optimizations are hard to apply ahead of time because (1) if you want to distribute those binaries easily, then you need to compile for the common denominator (which is less of an issue with LLVM) and (2) your programming language sucks. It's not the compiler's fault, but rather your own fault that you're using a programming language so confusing that inferring intent from your code is next to impossible. How can the compiler know that you're sorting freaking numbers if you're specifying exactly how bits move around in memory while doing so?

If you're speaking about virtual machines though, there are projects out there for .NET or Scala for instance that can recompile/retarget code at runtime to run with SIMD instructions or on your GPUs if you have any. All you need is a virtual machine that runs bytecode and a programming language (slash compiler) that lets you access at runtime the syntax trees of the routines that you want to optimize and that lets you generate new bytecode. So you can easily shove this kind of optimizations in libraries for special-purpose and descriptive DSLs (e.g. LINQ).

Of course, it gets tricky and doing stuff like this at runtime has overhead, but it's better than what 99.99% of developers can do, not to mention that good developers first and foremost ship.
That's funny because when I saw the title of this thread, my gut said "San Luis Obispo, surely!" I've only visited a few times but the people seem so genuinely pleasant and the big things all seem just right (enough so that the property prices are through the roof, naturally.. so maybe it's not perfect ;-))
As a tip - Also backup your staging database and have all backups using something like Rsnapshot or maybe even in a version control system, something which does point in time backups.

I learnt this after I inherited a project which had been written by some Romanians and it was pretty horrible. There was no MVC framework, it was a hacked together mess.

Somehow the live site started using the staging database instead of the production database, both were on the same server.
Every time we (the devs) pushed to staging a script would grab the latest version of the live database and overwrite (drop tables) the staging database. The assumption being that the staging database is a bit like a demo server, changes made to it are temporary and just for testing, but that it should look as similar to the main website (but updated) as possible.
The production database was backed up in about 5 different ways, but the staging database wasn't backed up at all.

After about a week of vanishing books, books which authors had uploaded to the self publishing portable with descriptions and other information, we realised what was wrong. Their files stayed but their accounts and book details were wiped.

In another epic fail on the same server I later moved the root folders by running the following as root (I'd probably have been stupid and run the same command if not as root but I'd have put sudo in front of it).
> cd /home/<username>/public_html/public_html
> mv /* ../

I was meant to mv ./* (files from the current directory into one below cause they'd been copied across into the wrong folder. Needless to say moving the root folders such as /etc and especially /lib and /bin is a BAD idea. Although is fixable, but that's another story.
I saw the flashing vote counter, and was just thinking that SO was getting funky.
From exhaust systems to Y Combinator: meet Slovenia’s startup scene
Internet Activists Deliver 300,000 Anti-CISPA Signatures to Congress
The CD/DVD optical drive is a nice touch, if it were 2005. Seriously, why would anyone ever need an optical drive on a laptop? You can bundle an external one for much lover price if you want and save the space for something better: battery, better dimensions/weight, 2nd hard drive, cooling, whatever.. just not this device straight from the 90s.

(It does not say anywhere that I can replace it with battery or hard drive bay as I can on Lenovo/Dell notebooks).
previously submitted 2 days ago and instakilled, why?

http://bgr.com/2013/02/15/google-stores-retail-2013-328565/
http://news.ycombinator.com/item?id=5232023
This is the first time I see the vote count grow by 10 in real time. Impressive stuff.
That is extremely helpful, thanks a million for the pointer! :)
We’re not crushing it
Windows Live Messenger Will Be “Upgraded” To Skype Starting On April 8
or, do it on a branch, then merge it into the production branch.
They don't work, its the same situation as the beta.
User interfaces are the classic examples, but I'm going to bring this to compilers in my next paper. It turns out you can easily generate a programmer-observable output for most programs by putting a lot of print statements in your code (barring some device drivers).
As a Scot, I find the attempt at correlating unhappiness with profanity confusing but funny
Everyone does. But due to users being told to love wide displays (and they are good for movies) these are the only one in production. If they were to put 4:3 in it, it would probably get really expensive.

PS: wide is not a problem on big screens, but for 13", 14" or even 15" it just doesn't make much sense (except for watching movies).
English is a dominant language for historical reasons, but it would be hard to choose a worse one on linguistic grounds.

Strongly disagree. Flexibility in a language leads to flexibility of the mind. The English language's incredible variety, massive vocabulary, and huge range of idioms is of great benefit to those that speak it (while also making it difficult to learn). Subtlety in a language is a virtue, not a vice.

For maximum linguistic impact, people should also learn languages that read right-to-left.

If you really want a more-or-less linguistically "simple" language, Spanish is a decent choice (and is also the second most widely used language, after Mandarin).
> And no one does inline assembly for that, they use intrinsics

Depends on your architecture. With ARM, compilers will often not set the alignment bits in vector loads and stores, and this can be a big performance hit depending on the microarchitecture. In general, compilers sometimes deal poorly with instructions that have particularly strange register constraints, or loads/stores with address writeback.
Manoliu Ioana Alexandra has joined Hieroglifs Translations Romania
Manoliu Ioana Alexandra has joined Hieroglifs Translations Romania team as an intern. She will get valuable experience that wil be able to use in her future career.<p>http://language-translation-project-management.com/2013/02/18/hieroglifs-translations-welcoming-new-intern-manoliu-ioana-alexandra/
The PS4 to feature cloud-based backwards compatibility - report
Rage4 launches new Irish PoP
I'm currently writing a blogpost about how to spawn up a simple Rails stack. I've got a broken instance in a boot-stop-terminate-boot loop. It's very beta.
How To Stay Private on Facebook in One Easy Step
I will meet you at said coordinates and bring the pineapple you've requested.
Are they pushing those realtime vote counts with websockets? Pretty slick. Beats polling by far.

Looks like IE is holding it back as usual:

https://developer.mozilla.org/en-US/docs/WebSockets#Browser_...
Yes, from that comment I think I can infer what CTO means in this context

You can easily go creative on this
The lack of micro instance is a real shame. I suspect that's because the time taken to do a full chef install run on a micro might be vast.
I was hoping to do the same (albeit much easier to follow than their own walkthrough), but I'm going to sit back for a while and see what develops.
These could be early teething problems, so I'm not going to judge them so soon.

That said, I'm surprised by what's not included in the main interface (VPC, ELB, to start with).
Ask Bain Capital Ventures’ Ajay Agarwal On How Much Capital Startups..
Don't you have a dev db somewhere that you can replicate the live db to? Time spent setting that up will be more than repaid by the time and stress saved when you have to do a quick fix - you can simply run your changes, check it all works on your replicated site, and then make the changes on your live db (preferably with some sort of migration tool which applies the same sql and backs up first). If you have a regular backup process you could tie into that to populate the dev database.

Even if you can't replicate the entire live db, if you can automate backup, deployment of changes and test first elsewhere it makes the entire process far less fraught.
I program with an IBM Model M keyboard so I can here every keystroke. If you type fast enough, the programmer won't notice intermediate feedback going through 1 10 100. You could even put in a delay but I would hope its not necessary.

As for liveness, I think we disagree on what should be live. I only really care about the feedback loop between the executing program and the programmer editing that program. I don't expect anything else to be live, and actually, it might not even be useful in some cases (e.g., if the program is executing in real-time and is interactive or animated, I have nothing steady to shoot at).
Is this your code? I would like to contribute (I'm not so proficient with JavaScript though, but a huge fan of diablo. (usually re-install it every two years)
How do beanstalk and opsworks relate to each other?
Facebook Says Hackers Breached Its Computers
"any language other than Korean has very limited reception in Korea"

That's not about being self-sufficient. It's just lack of knowledge.
Diablo was a Windows game - it didn't run on MS-DOS.
IMHO certainly bigger than Vista dont know about RRD. Vista was not THAT bad and SP1 fixed most of the issue. W8 is wrong at a fundamental level, its an OS for a tablet scotchtaped onto a desktop OS. What made my mind up is trying to help a woman in the shop the other week who had unknowlingly bought a new PC with Win8 on and was totally confused. I tried to help her and even I was lost... its a mess.
Is there an even better, more modern networking guide that's free (or not)? Does anyone have a list of networking reference/tutorial/introduction material?
The "Systemic Computer repairs itself"
Physicists May Have Found Dark Matter, The Invisible Scaffolding Of Our Universe
I just found someone who has over $50000 coming to them. Unusual name, so they were easy to locate on LinkedIn and Facebook.
At Babelverse, we first used Tropo's APIs to hack together a crisis-response tool - literally overnight - post-Japan earthquake & tsunami. We've been quite happy with it since then.
Does anyone have pointers to a good comparison between puppet and chef?

It'd pretty interesting to also know why Amazon went with chef first.
Also trying to come up with a simple formula that relates different units of business value can be VERY difficult.

Deciding what you actually want and what tradeoffs you are willing to make can be hard. Then again, if you don't know what you want you are unlikely to achieve it.
If you want to undo your setup and wait for a while for this system to mature a bit, you need to delete the security groups that are auto-created in your account in this order:

AWS-OpsWorks-Monitoring-Master-Server

AWS-OpsWorks-DB-Master-Server

AWS-OpsWorks-MemcacheD-Server

AWS-OpsWorks-Custom-Server

AWS-OpsWorks-Blank-Server

AWS-OpsWorks-PHP-App-Server

AWS-OpsWorks-Default-Server

AWS-OpsWorks-Rails-App-Server

AWS-OpsWorks-nodejs-App-Server

AWS-OpsWorks-Web-Server

AWS-OpsWorks-LB-Server

edit 1 or 2 of these were typed from memory - but it should be clear at a glance which one is which in the EC2 console
Cute. Although I think my compiler has different things to say.

Hello, I'm a C compiler that still can't handle C99. I hope you're wearing waterproof clothing because I'm gonna throw up on you. Also, I've been drinking heavily so your C++ code is going to take a while to compile and when it's done, it's gonna smell funny.
Kim Dotcom's Mega to Expand Into Secure Email, Chat, Video, Mobile
As someone who is more in the second camp than the first (JS is something of a joke disguised as a language), actually, I see asm.js as a great way to eventually kill off Javascript. Whereas I see trying to specify -- and get all browsers to implement -- a whole new VM, as quixotic.
Former Head Of Google China Kicked Off Sina & Tencent Weibo For Three Days
Regulation and mHealth - My experience trying to access a new market.
8 Tips to Help Achieve Your Career Goals
On the other hand, you can trivially remap CapsLock to control, and then why would you care about the bottom-left control when you've got a big one right in the (vertical) center of the left-hand side?
Good Point. Thanks for posting the link.

Sorry, I don't know Lisp and Arc seems to be a dialect of it that I also don't know.
Not closed or locked. In SO, only the questions can closed, answers and questions can locked. But this question is open for everybody, for now..
I think that this consistent misunderstanding that she is "only trying to make money" is itself significantly more worrisome than her specific case.

I think it speaks very poorly of our profession that so many HN readers have a really hard time grasping the concepts involved with this story. It makes me question if this is simply an area of ethics that most tech-heads aren't very experienced with or if it is something more insidious, more along the lines of the Upton Sinclair quote: "It is difficult to get a man to understand something, when his salary depends upon his not understanding it!"
This article was very well written and easy to digest and has some of the most succinct descriptions of the political underpinnings and implications of the cypherpunk movement I've ever seen without the sweeping oratory that tends to go with such things.

That said, this single section;

Fortunately, I don’t think LE is authorized to engage in cyberwar (#1) or mass entrapment & fraud (#2). And who knows, maybe SR could survive both.

Where he discusses the degree to which the state will restrain itself from "bad behaviour" strikes me as a little naive in light of history. I'd be more concerned about attacks along the lines of the liquor poisoning that the state engaged in during alcohol prohibition.

I imagine if someone wanted to cause serious bodily harm to the potential buyers in this marketplace it wouldn't be too difficult to do, and they've proven historically they're prepared to go to this extent. I also imagine it would have quite a high impact on the risk assessment of silk road buyers if people started ending up dead from their purchases.
All you need to do is search for the exact title in google and then copy the link from the result page (the one that uses the google.com redirection to the actual article). Like this:

https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&#...
A New Chance to Organize the E.U. Telecommunications Industry
How to choose a public cloud storage provider
Problem is, they would probably shut themself out if they turned off the power...
Fly Your Flag — Let’s See Some European Country Pavilions At Disrupt In New York
For this community, I would have thought this is a bit like seeing a link to Google.com on the HN front page. Beej's guide is staple internet fodder.
Ironically, it's possible to get a huge gain over purely random load balancing by examining just two queues at random -- essentially, you should always be doing this since the cost is O(1) and the improvement is large.[0] This doesn't require any distributed locking and at least would qualify as "intelligent" routing -- probably the bare minimum needed to justify that marketing label.

Oh, and it also scales incredibly well. Like I said, there's no reason not to use it over purely random load balancing.

[0] http://www.eecs.harvard.edu/~michaelm/postscripts/mythesis.p...
After Elon Musk mentioned his sleeping patterns on a couple of recent interviews (answer: 6 hours a night), I've been curious to learn about the sleeping patterns, diets and work habits of exceptionally productive people.

I wish biographies on the world's most influential people discussed this (or at least I would like to read scientific studies on this)... Warren Buffet and Bill Gates are famously fond of burgers so I'd expect unfortunately diet habits have more to do with where you live than what you accomplish :(
Zephyr 1.6 Tweak Released Brings Three Fingers Pinch
Why doesn’t anybody copy Apple?
Heroku, GAE and Appharbor, brace yourselves
In Theory: why cloud gaming is coming home
How to Prepare Your Windows Store App for International Markets
I used to work on a compiler for an embedded system. One fun trick we used while writing the run-time libraries was to write them in C, then optimise the generated assembly (possibly by rewriting it from scratch), then fix the compiler so it generated that assembly :). Sometimes that did require using (and occasionally adding) new intrinsics.
It's quite funny really, the first time round the comments were all about screen resolution, now it's about "Well I like my keys.."
I also like to use my cat as a rubber duck, but he tends to get distracted and tries to lie on my wrists while I type.
You are right, I was just trying to point out the quality one gets out of so many layers instead of using desktop applications directly.
Visual C++ ? :)
Köpük Sabun Dispenseri
Soap dispensing systems
www.kopuksabun.com.tr
Ubuntu to Unveil Its Operating System for Tablets on Tuesday
www.kopuksabun.com.tr
Show HN: Mercurio, the deployment black box
I built mercurio the deployment black box. It is meant to be easy to assemble, reusable between projects and fun!
Equanimity is one of the effects of Zen practice and also has an effect on daily life.

Wordily life - mental life is a false dichotomy: both are impermanent and inseparable. Is pain in a finger something of matter or something of mind?
Show HN: Where Are You Now?
I'd be sending it back for a hardware replacement, CPU, memory, who knows what, but complete lockups shouldn't be happening.
This is freakin' awesome!
:D iyi deneme.
So I guess I can't talk about the DOM; many functions are just an API for it; and canvas is just an API for drawing accelerated by the CPU; so... Javascript is nothing and nothing can be blamed on it?
A very interesting blog post. The key idea is here: "Programmer and database types will notice one problem immediately - no fuzzy string matching. If your name or address was misspelled on the assets, or munged in the recording process, tracking down any assets belonging to you could become a difficult to impossible process. Given that this database has at most 18 million rows, there's no excuse for such a basic (and important) feature to be missing." A lot of government databases could improve usability enormously by implementing that suggestion.
World of StarCraft MMO mod is now playable but needs your help
So far I have only used salt at home in a lab environment, however it is promising. I especially love that I can dictate my directory structure for configuration by my own standards.
Unless my eyes are strange that page says it's supported on IE.
Hello I am a processor.

I have picked up your clever optimized SIMD and decided it was better to change the execution order, because another unit was bored without nothing to do.

Unfortunately the L2 cache seems to have some issues getting all required data for your instructions due to the way all your threads are manipulating the required addresses from multiple cores.
Isn't Steve Gibson ( http://www.grc.com/stevegibson.htm ) still coding large, complex programs in pure assembly?

His work on spinrite is legendary, for those born before IDE hard drives were invented.
Some of the studies use twins raised in the same household, some use twins adopted by different families. They get very similar results.
Reddit's view on the HN outage
zerg rush is imba (get the joke? ha... sorry)
How stable where those fixes? I.e. if you made slight changes to the C code, did the optimizations still kick in?
Google offers HTML5 dev course on Udacity
Commercial compiler vendors tend to invest more in code generation quality as open source developers.

After all they need to provide reasons why you would buy them.
_So far_ my experience has been btrfs is stable, meaning I haven't had any data corruption and TRIM works great. That being said I have multiple backups and images of the system :)
Shame. Mine is kind of cool.
C++ compiler != C compiler
Legal assault rifles in parliament of Oregon
What did you write your compiler in? Writing compilers in, say, raw C is indeed a complex endeavour. But using, say, OCaml or Haskell (which is secretly a DSL for compiler writing) should make it much easier to not fail silently.
It is funny how people want to believe in tools. In fact, the optimizations compiler does are incomparable with those programmer could do by choosing an appropriate data-structure with corresponding algorithms and by being aware of strengths and weakness of a particular CPU architecture.

JVM, which is nothing but a stack-based byte-code interpreter is the most famous case.) People seems to believe it can do wonders, especially in memory management and data throughput.

It is so strange to see how people are trying to create a whole world inside a JVM. What it is called when people are building models of ships inside a bottle?)

btw, now, it seems, they are trying to build a whole world inside a V8 bottle.)