skysight-inc/HackerNews huggingface dataset:
How is code like below "easily auditable"?

keydir = *++argv; if (!keydir) die_usage();

or

if (*x == 'v') { if (flagverbose >= 2) flagverbose = 3; else flagverbose = 2; continue; }

why put multiple statements on the same line if you have nothing to hide?[1]

[1] https://www.kernel.org/doc/Documentation/CodingStyle
Which ssh clients can connect to this? For example, can putty connect to this?
I get the feeling that the reporter could not be bothered to understand people can be complex, and that is may not be easy to understand people in a couple of days, so he is just jumping from one stereotype to another, assembling the quick-and-dirty caricature of Mike from an ample set of templates of "hacker types" provided to us by movies and previous reporting of the same quality. I just ignore such writing now, there is very little they tell us anything about real Mike.
> Simple rule: include files should never include include files. If instead they state (in comments or implicitly) what files they need to have included first, the problem of deciding which files to include is pushed to the user (programmer) but in a way that's easy to handle and that, by construction, avoids multiple inclusions. Multiple inclusions are a bane of systems programming. It's not rare to have files included five or more times to compile a single C source file. The Unix /usr/include/sys stuff is terrible this way.

> There's a little dance involving #ifdef's that can prevent a file being read twice, but it's usually done wrong in practice - the #ifdef's are in the file itself, not the file that includes it. The result is often thousands of needless lines of code passing through the lexical analyzer, which is (in good compilers) the most expensive phase.

> Just follow the simple rule.

This is a ridiculous stance, in my opinion.

Part of the appeal of libraries is abstracting away implementation details. I want to be able to have foo.h #include a hash table, or a binary search tree, depending on #ifdef's or its internal implementation. The user of foo.h shouldn't even have to know about it.

Compilers can easily memoize the position and parsed content of preprocessor directives, and do a very quick skip of an #include file, as a much better way to resolve the problem.

Rob's resolution is an instance of worse-is-better: Instead of slightly complicating the lower-level tool (in this case, the preprocessor), let's complicate all user code in existence.
I'm suspicious of this technology. While I concede that it probably has some statistical and even empirical merit, those in HR will always do everything they can to make sure that "troublemakers and journeymen" get kept out.
But unfortunately, most people who have had the same job for a long time are either just trying to pay their mortgage and smiling through gritted teeth long enough to see their kids alright or have no imagination/ambition and those who switch jobs regularly are often simply tired of taking shit from people. I think you'll find that "troublemakers" usually have tried to alert their line managers to the real flaws in the company's systems and been told to shut up. Look at the businesses this data is being taken from, Law Companies, Corporate Banks etc. It is obviously yet another toy to allow rich kids to recognise their own. What has this got to do with those who do the vast majority of the actual work?
Thread on Quora http://www.quora.com/Quora-company/Why-did-Quora-join-the-20...
Pluggy Lock – Twist and GO For all smartphones and tablets
It enables you to anchor your device easily wherever you want thanks to the headphone hole. For all smartphones and tablets.
When I think ATM I picture a machine that spits out cash turning a sum that's available on a bank account into tangible currency. Money input is not even possible here in Europe, and you need a different machine that accepts cash.
So, my doubt here is: why are they calling this machine a bitcoin-ATM if the only telling it does is a mere dollars-to -bitcoin conversion?
Hundreds attend China's first Bitcoin meet, defy government warning
A lot of prosecutors would gladly go after him - they are regularly going for people for self-defense, "crimes" that hurt nobody, and so on, and so forth. And they can very well succeed in selecting a jury that would know nothing except the letter of the law was violated, so the must convict.
The Low Quality of Scientific Code
>Seems a reasonable title to me

To you it might, but to any linguist this is as ridiculous of a title as saying "English people originated in Africa". You will imediatelly think "wait, but the actual ethnogenesis happened nowhere close to Africa, so why would one say 'English people'? it's not useful to reference it".

It's the same with this title. It's as useful as saying that Farsi originated in Turkey. Or any language descended from PIE, for that matter.

Not even the separation into IE families like Germanic, Balto-Slavic, etc. happened at that time. Not even Anatolian had separated from IE. Yet the title references the ''English'' language.

>Obviously other languages originated there

No, the thing is, they didn't. Nor did English.

What originated there is an ancestor of a group of languages.
This article seems to be talking about using quantum effects for random number generation.

The devices you point to use the semiconductor avalanche effect (http://en.wikipedia.org/wiki/Avalanche_breakdown) which is a thermal effect.
Technically they resemble vending machines. But they are easier to relate to as an ATM.
It still refers to the same latin word so not sure what you're arguing about.
Ask HN: Why don't big companies use bootstrap/foundation?
I've looked at many good products and websites but i don't see a trace of a css framework, everything is build in-house.
A journalistic and literary trope I increasingly despise: creating an elaborate and evocative metaphorical description of something without naming what it actually is, often with the side-effect of making a rather mundane technicality sound all gee-wiz and confusing rather than enlightening the reader. E.g., Mike's booting up a copy of Windows in a VM:

His first step is defensive: the creation of a software shield that will hide his identity. He boots up a computer containing a version of Windows that’s cut off from the rest of the machine. It’s a digital Russian doll, a computer within a computer.

Yeah, OK, we get it. Windows running in VirtualBox or Parallels or VMWare or whatever. Yeah, it's a security measure. But if a guy's engaged in laboriously sculpting mother earth with an implement of ancient design comprised of planar forged ores fastened to the end of a sylvan shaft, just call a fucking spade a spade and tell us he's digging a hole in dirt.

The language doesn't serve to inform, it conceals. And in this case, the security isn't necessary to protect the identity of the VM, unlike the elaborate description of Mike's apartment silo.
coincidentally the first one i saw was crooked.ceo for 19.90$
The Intel Haswell Refresh Review: Core i7-4790, i5-4690 and i3-4360 Tested
I wonder why not just use stdint.h, it's got what you need.
..
Considering what Steam or Apple provide, I don't think 30% is a rip-off.

You get hosting for both your page and downloads, update mechanism, statistics, a DRM that users don't hate, payment mechanism that users trust and already have their credit card registered...

All that costs money if you want to do it own your own, and you also get some exposure.
First, because I made it on my own.(not important)

Second, if you examine the algorithm of http://www.hckrnews.com/, you will see that, the "TOP 10" only shows 10 news per day, "TOP 20" only shows 20 news per day. "Homepage" means those news currently on the homepage. "All" means to show all the historical news (mixed the good with the bad).

Is that what users what? No.

I, a user, want to read all those top 30 news which used to be on the front page over the last 12 hours while I was not able to access the Internet. You may notice that HN uses a new rank algorithm, the front page changes frequently. Some excellent news cannot stay long. I don't want to miss them. So, the cron can help me to preserve those items. Remove duplicates, list out the latest 100 news (or even 1000 news). You can add cookie to show the "last read" <hr> line.

I am also curious about what are the best ranks of those news. Then, I added that feature.

My code meets all my needs, the user's needs. Therefore, It is better.
Someone who has been participating in algorithm competitions like TopCoder or Codeforces would know this - compiler optimizers can have bugs pretty often.

Usually on algorithmic programming competitions the tasks are very hard to come up with a good asymptotic solution but are fairly easy to implement and the code can be rather short (usually 70-300 LOC written in <1h).

Given the average ratio of program complexity / size of the program, competitive programming community manages to find bugs in GCC optimizer several times a year.

Sometimes compilers do have bugs :) Not very often though.

http://codeforces.ru/blog/entry/1059?locale=en

http://codeforces.ru/blog/entry/11450?locale=en

http://codeforces.ru/blog/entry/2068?locale=en

http://codeforces.ru/blog/entry/1993#comment-40700

http://codeforces.ru/blog/entry/1840?locale=en

http://codeforces.ru/blog/entry/3742

etc
Thinkpads are truly awesome - but the problem is that lenovo is buying into the macbook hype machine without putting thought around it's design process.

for example, I recently bought a T430S as opposed to one of the newer T440 ranges. the touchpad is an abomination - and plus they soldered one of the RAMs to the motherboard. Seriously ? One of the biggest differentiators that thinkpads have is their upgradability.

I can easily upgrade the CPU of a T430 series [1] and bump up the ram to 16 gb. the newer thinkpads lose both those abilities.
The Thinkpad designers have not been able to make up their minds on what they want to build - which is why we see lines like T430/T430s/T430u/T430e and T440/T440s/T440p.

[1] http://forum.notebookreview.com/lenovo/684625-t430-upgrade.h...
Good one. I fully agree. Microsoft biggest mistake was not to implement the silence auto-update from IE8 or even earlier (IE6?), as Google did since their very first Chrome version. Imagine what whould happen if there was no auto-update in all Chrome/Firefox browsers! it was a disaster! we (developers) would have to check our code under 50-60 browsers! Now said "thank you Google", forget about it, and think what would happend if Explorer 6 (and above) had this little feature... Wow!!
Thank you for using AT&T.

(deep link: http://www.art.net/~hopkins/Don/unix-haters/25.html )

;)
Complexity – The Inner Workings of the Human Consciousness – Must See in 3D
The feeling of everything is under control...
It is true that the audience has no taste, though. We haven't made any concerted effort, as an industry, to help them cultivate taste. Games are still too new and too generally mediocre/same-y for the typical player to develop anything resembling taste - they very rarely encounter an example of a game that's truly worthy of respect or enthusiasm.

If the only games you've ever played are shitty clones at the top of the free list on iOS, how would you possibly know enough to spot a high quality game at a glance? It's not a failing of the players, it's a failing of the industry.

Companies operating storefronts have a responsibility to do better, by offering more useful data that's less vulnerable to these issues. For example, instead of basing recommendations on the masses, prioritize recommendations from what your friends play, so that people can benefit from each others' experiences with the few less-popular games they play. Prioritize games with overall low sales that have high average ratings, are played by a large number of your friends, or are in the same genre as many of the games you play. Randomly show them games that don't match in any sense (or only match in one or two categories), and gather that data to identify 'hidden gems' that you can push up the rankings.

These are all random ideas that might help bring low-ranking games up towards the top, increasing variety in the top lists and increasing engagement (not to mention revenue). It's embarassing that all 3 major store operators (Apple, Google, and Valve) have an utterly lazy approach to discovery, where they literally just do a sort based on one or two values and dump a list onto your screen.
For many years I ran my own mail server, for a while I ran it on my home broadband using a miniserver then I moved it to dedicated hosting (incidentally on Bytemark who are fantastic). I expanded to support my fathers company, my brothers' domains and ended up with probably 10 different domains being run from my server? I had that for a few years running postgres, mailscanner, dovecot, mysql, etc.

Then fairly recently I gave up, I am not an ISP, I am just a nerd with a job and a family. The system was generally hands off and ran itself, but I had to be careful: I had thousands of hack attempts every day (I even had a fun script that added firewall filters dynamically based on security probes), I had users who complained about mail deliver, I had logs to monitor and tidy and the worst part was a failure while I was on holiday requiring me to SSH in via my phone.

In the end the final straw was when the dedicated host had a disk failure, Bytemark were fantastic in helping me migrate, oddly the RAID did corrupt some users and I spent ages fixing things and everyone accepted the disruption because they were getting something for nothing (I never charged my family, even if I should have).

But at the end of the day I don't care enough that GCHQ or the NSA want to read my emails, yes it is a violation of my privacy and I am not that bothered. I know that if they really do escalate into a dystopia that I have the skills and knowledge to hide anything I want, but as a reason to go through the grief of running a host? No thanks.

I've now moved most of my services to dreamhost, got my family to make their own provisions and I just have to worry about passwords (mine are really complex). A 10 year experiment with hosting resulted in me realising that it probably isn't worth the hassle, even if things are made easier, when they go wrong this is Linux land and you still have to dive in deep to fix the problems.

Glad I did it, might do it again one day, but my life is easier now that I don't.
Modafinil is great
Modafinil is an analeptic drug manufactured by Cephalon, for the treatment of narcolepsy, shift work sleep disorder, and excessive daytime sleepiness associated with obstructive sleep apnea. is an analeptic drug manufactured by Cephalon, for the treatment of narcolepsy, shift work sleep disorder, and excessive daytime sleepiness associated with obstructive sleep apnea.
The supreme quality of brain drugs
Safety, how do you know the car is safe, what do you do if it has a leak, etc etc. A single unit that can be tested and properly maintained is a far better idea.

You also then require car ownership, with very specialised cars that only a few would be able to afford.

City design in Europe also seems for the most part to be trying to push cars out of cities. If I was going for a business meeting in London I would prefer not to have a car. Taxi and expenses would be far easier.
And how many do succeed in the end?

The main reason I ended up in boring IT world instead of gaming, even though I do know a few people in the industry, is a consequence how the whole industry works.

More so in Europe where not so many games make a hit. For each Crysis and Killzone there are lots of 1 game closed studios.
Stool Transplant
Valve's cut was never smaller compared to competitors. There's a reason why they insisted on all the terms of their deals (and sales numbers) being secret; they are still really brutal about not being able to share contract terms or revenue numbers.

Hell, I shipped a fucking game on Steam and I don't know what the % we gave them was (though I could probably figure it out by doing enough math on the sales numbers...)

One thing I do know (second-hand information, but from an expert) is that they even demand a huge cut from F2P games, despite the fact that F2P games have their own download, patching and payment infrastructure. They literally charge as much as they can possibly get away with, even when they offer near-zero service.

The quality of the services Valve offers for your money is also fairly low. The Steam API breaks constantly (usually because they are haphazard about changes and have near-zero automated or manual testing), is poorly documented, and is infrequently maintained. Valve can and will ship a Steamworks update that breaks a core part of your game, and leave it broken for weeks no matter how often you complain - unless you happen to have the phone number of someone at the company, or send them numerous emails. The APIs that do work are slow and limited. It's better than nothing, certainly, but not so magnificent that it's worth 30%, especially if you compare it with something like GAE or EC2.
Well, I can see the point.
What do they leave to be desired? Style is a personal preference, of course - but merit? Every single djb implementation I've seen (a lot of them) is fast, efficient, secure, and clear, once you get his style.
> Compilers can easily memoize the position and parsed content of preprocessor directives, and do a very quick skip of an #include file, as a much better way to resolve the problem.

There are reasons why actual C/C++ compilers don't do this. Additionally, recursive includes is a major reason why C++ compilers are slow.

For more on this, see http://clang.llvm.org/docs/Modules.html
The usual problem with DJB's implementations is not that they're incorrect or slow or insecure -- far from it! -- but that they're awkward to integrate with the rest of the world, may require weird build configurations, and are hard for anybody else to modify. Well, TweetNaCl is really easy to integrate with the rest of the world, since it's just a single portable .c file, and the speed is surprisingly good, and its functionality and API are stable enough that you probably don't need to modify it.

So, I don't see the problem here. If these guys had tried to cobble together a replacement for NaCl out of pieces like the curve25519-donna code, that would be a problem, because there's more potential to screw that up.
Also saturate the sensor, then you don't get noise.
doodle.pics could be your startup name right there.
Sometimes you need to rebuild.
The niche for fast HWRNGs actually exists in the stochastic simulation business (physics, statistics, machine learning, finance, to some extent CG); "real" randomness helps in scaling over tons of cores and specialised hardware must be in principle faster than general hardware executing software PRNG.

The bar is set high, though; the dream is about 1GB/s, RDRAND achieves 500-700MB/s.
I do not know one person who is happy at amazon
Analysis of some hardware RNGs shows that some of them are not very good. Here's a bunch of links I made earlier.

https://news.ycombinator.com/item?id=6060636

Obviously computers are much faster now than they were in 1997; and as you say we only need a small amount for entropy.
That's objdump's default format when outputting relocations together with the disassembly. As you have already found out, the code is compiled with dummy values for the actual addresses being accessed or jumped to, and the reloacation table instructs the linker to overwrite these dummy values with the actual addresses, once they are known.

R_X86_64_GOTPCREL is a constant defined in /usr/include/elf.h (I think it's from libbdf, the library dealing with the different file formats binutils understand).

#define R_X86_64_GOTPC32 26 /* 32 bit signed pc relative
offset to GOT */

Here's another example, with the invocation of objdump:

$ cat hackernews.c
int
doit(int a)
{
return blah(a);
}
$ cc -Os -c hackernews.c
$ objdump -r -S hackernews.o
hackernews.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <doit>:
0: 31 c0 xor %eax,%eax
2: e9 00 00 00 00 jmpq 7 <doit+0x7>
3: R_X86_64_PC32 blah-0x4

on ARM (raspberry pi, the relocation looks a little bit different)

$ objdump -r -S hackernews.o
hackernews.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <doit>:
0: eafffffe b 0 <blah>
0: R_ARM_JUMP24 blah

#define R_ARM_JUMP24 29 /* PC relative 24 bit
(B, BL<cond>). */

To only see the relocation table, use "objdump --relocs":

hackernews.o: file format elf32-littlearm
RELOCATION RECORDS FOR [.text]:
OFFSET TYPE VALUE
00000000 R_ARM_JUMP24 blah
https://twitter.com/Lumonade/status/289171814444331008

"@DEVOPS_BORAT got heavy duty @dev ops gig available in San Mateo,ca and Seattle area! $130-$140+k doe email me Ryan.Lum@greythorn.com"

does this mean it works?
Global service should have at least 3 teams (Asia, Europe, America). 4 teams would be better. They can take shifts: Asia team joins the standup meeting of Europe, then goes home. And so on.

It might not be affordable for daily works, but perfect for critical issues.
> Starting a business with little capital has little downside risk, especially if you are already unemployed.

You're confusing (A) labor-focused self-employment with (B) get-rich-eventually entrepreneurship.

Not everyone has significant savings, family nearby who they can crash with if they got evicted, or the confidence that grandma won't have to start skipping her medication to keep the power on, etc.
Don't school the guy on the line. Write the CEO.

Seriously.

It'll get passed on to the appropriate dept., but that's one of the jobs of the office of the CEO. Point out the problem with their procedures.

And if they don't fix it, move to a bank with a clue (or a credit union).

True story: as the housing bubble was building to its inevitable bust, I started hearing home loan ads from my financial institution on the radio (they generally don't advertise a whole lot). I wrote off a concerned but stern letter asking what the hell they were doing pitching for more housing loans in what was obviously a massively overheated market. No idea if my contact had any impact, but the ads stopped very shortly afterward. The crash not much longer thence.
I dont think the seach space is necessary. As long as you can attack their advertising income you would have them by the balls. Without search you might run into trouble serving up your ads.

I think the most likely point of failure for them and pretty much all american tech businesses is the developing world markets especially those which run in different languages. Whatsapp pointed this out and now alibaba has confirmed it.
Those CSS frameworks only enable startups to rapidly prototype an MVP without an in-house design team. It allows them to work on what they enjoy and on what makes sense considering their skillets. It would be harder if those frameworks wouldn't exist.

On the other end, when a company grows towards maturity, it makes sense to have a design team for all their products that can experiment and design specific elements that are consistent not only between themselves but also with their branding, mission and strategy.
It's easy, and requires no modification to TinySSH. See here:

http://0pointer.de/blog/projects/inetd.html
It is actually "the Anatolian hypothesis". The thing with Turkey is that it has its own language which is not related to this, so the title can be confused for "English comes from Turkish"
Armed Russian robocops to defend missile bases