skysight-inc/HackerNews huggingface dataset:
Just take a look at the link to the third talk I gave a few days ago about jor1k.

https://github.com/s-macke/jor1k/wiki/Technical-details

This talk give a few details about time frames and what someone has to do to emulate such a machine. If it is just about booting Linux you can do it in around 2000 lines (first commit of jor1k) if you take an easy architecture such as OpenRISC. Take a look at slide no. 10 and you might get an idea about the complexity of the other architectures. Slight 15 and 16 give you an idea why OpenRISC can be emulated much faster than any other architecture.
A downside of such an non-mainstream CPU is less support. Indeed as Benjamin said, at least 50% of the time went into bugfixing and enhancing the toolchain.
In the end the MIPS architecture might be optimal for a fast emulation and a well maintained toolchain.
Manpages are not a format to write the documentation, but to display it.

You can `make mandocs` in the linux tree, then `make installmandocs` to make them easily accessible with the man command, i.e. `man struct_sk_buff` will display the definition of an sk_buff.
And with "compete monopoly" I was referring to Microsoft who has abused its position on the market multiple times to thwart competition.

You have to understand that "Linux" differs greatly from Microsoft Windows(R) because of its philosophical underpinnings of being "free as in freedom" software.

BTW I've heard the market share of Linux on the desktop has steadily been rising for the past few years... just give it some time ;)
We have a few models and they all seem to work fine.
> They're all so stretched for time that they have to cut corners to meet their targets...

> For Amazon they need to find a means of setting humane targets and then finding a way to accurately measure performance of staff...

Yeah, my suspicion is that this is the root cause of my troubles with them. I live in an apartment building, but I have a street-accessible front door, so I have a sign clearly saying to leave packages with the apartment manager in the office. Half the time they just dump the packages at my door anyway, the other half of the time they just dump them at the office's street-accessible door, because they got there when it was closed.

I don't know what's so hard about noting a delivery exception and attempting again the next day. All the other carriers seem to be able to handle that. A few of the drivers have called me for instructions, but it's kind of pointless: the next day's driver is just going ignore all the instructions and dump the package anyway.

It wouldn't be so bad if I could have all Amazon Delivery packages redirected to one of their nearby drop boxes, like I do with UPS. The problem is if I set things up to use an Amazon drop box, ALL my stuff will go there, not just the Amazon delivery orders, and they don't support 2-day shipping. I still want the USPS orders to go to my mailbox, since that's the most convenient option.

They really need to allow users to enter shipping preferences, since not all carriers are the same for everyone. For me USPS and UPS are the best, Fedex and Amazon Logistics are the worst.
This is wonderful. Though I was wish i could just specify columns that I need and download those. Or limit number of rows. 1.5 TB is quite a bit. Regardless, this is wonderful.

Would I be violating any law, copyright if I formatted it and put it on my server for that kind of consumption or via JSON?
Principal.com asked me a question about which car I've owned, and gave me a list of cars with year, make, model, and trim level. I've owned at least a dozen cars, and can't remember them all, much less in that detail. Needless to say, I failed that one.
Not ranked so highly here: http://www.doingbusiness.org/rankings

They get big dings for 'starting a business' and 'protecting minority shareholders'.
Erm, this does not actually seem to work on Centos7, running systemd-219-19.el7_2.13. Even tried it as root inside of a sandbox - nothing.
Interesting. How many people do they snap up from there though?
Systemd is winning because they showed up and basically nobody else did.

Systemd is "winning" because Red Hat are throwing money at it as a way to control the ecosystem.
Negotiation Tactics Around the World
If Google/Tesla/Apple/$company_working_on_self_driving_vehicles offered to defray/pay your insurance bill and operational expenses, would you let them kit out your car(s) with a gajillion sensors and recording equipment, and send all that information to them? Or if someone said if you did it for X years, you get $Y towards a brand-new car, where Y is 50K+ USD. You still drive manually like you normally do, but everything possible about your driving is recorded, and fed into their trainers. If they could get an orders of magnitude larger training corpus, I wonder if they will start to cover more edge cases.
The code output is really clean; I wouldn't call it obfuscated. Especially when source mapping works just about everywhere.

And having ES2015 features (+async/await) is very useful: var should be deprecated, arrow functions should be standard, etc.

Tiny projects? Sure, do whatever you want. But I've started switching even my one-file, 2-3 screens of code Node servers over to TypeScript, and it's not only useful, it accelerates development by 100% simply because you don't need to run your code to know that you've got the types correct.

I stand by "best practice."
"Once you've inserted crap into the DB, it's hard to fix it."

Agreed, it is hard to fix. NoSQL databases can be really hard to fix when they are full of crap, too.
3. Pick a language that already supports it and is stable, standardized, without having to whip out some specialized version just for your codebase.
The problem with that approach is that you are limiting yourself to fundamentally primitive documentation (and by primitive I mean non-interactive). Granted, for a kernel it might be less important, but it's great when there is a good architecture diagram/image instead of 7 paragraphs.
The physics is that exercise burns so few calories it's not worthwhile from a weight loss point of view.
Walgreens or Walmart, yes. But there are plenty of tiny shops around town that have handmade stuff or quality merchandise that you can't get on Amazon. I know I wouldn't buy a solid-wood antique furniture set from Amazon, for example.
Putting these countries in difficult situations is why the deal with Iran was so valuable.
I wouldn't be so certain that "all interstates in the US" are uniformly easy to drive. A specific counterexample: the BQE (Brooklyn Queens Expressway) is technically signed as I-278, but poor maintenance, frequent and shortened ramps and interchanges, and idiosyncratic local driving culture would IMHO make it quite a bit more challenging for automated driving than the proverbial four lane interstate through a midwestern cornfield in the middle of nowhere that you probably were thinking of...
You're comparing great old people with shitty young people. I know plenty of very shitty old people and a lot of great young people that would invalidate what you said above. And in my experience there aren't very many great old people that are current with technology, that can code quickly, etc. most just want to keep doing what they're doing and earn a paycheck which is fine but then they shouldn't complain when they get replaced by younger faster models.
Bart becomes chief justice of the Supreme Court in the episode "Itchy & Scratchy: The Movie".
The Unix philosophy is most applicable in user space. It's a philosophy not a law. I didn't say Systemd was bad just that it doesn't observe the Unix philosophy.

Crashing an init process is a very bad thing, is it not? Wouldn't less surface area be a better approach?
It sounds to me like Fight Club just repurposed the Ford Pinto lawsuit.
TypeScript gives you the benefits of dynamic typing without the drawbacks of a C++/Java restrictive-typing system.

It just makes the dynamic typing safer. It absolutely should be considered a best practice; anything that can accelerate development by 100% or more should be.
I've had Amazon couriers lie on the tracking system on more than one occasion. Last week it was "Delivered to resident <name>" at a time I knew everyone was out of the house (I later found the item behind my bin).

I get a month extra Prime each time, but I likely won't be renewing when it runs out.
Anyway, it seems like a mystery to me why tech firms like Google set up shop in small expensive Zurich instead of say cheaper, bigger Barcelona or Vienna, for example.

The reason is simple: tax-evation and the like.
Unfortunately, our current agreement with the security company we hired prevents us from sharing the details unless under NDA. We may revisit those terms so that we can publish it now that Teleport is garnering more interest.

Edit: tried to add more clarification to address jtchang's question.
Well, in Google's case, there's ETH Zurich. Just today, I saw in the newspaper (WSJ university rankings[1]) that ETH was rated top of the pops globally in computer science. (On a related note, I remember vaguely that Disney built a research lab here in Zurich just because of one professor and his team.[2])

Also, in the good old times (= before the rise of right-wing populism and the referendum) Google could attract good people from all over Europe here because in terms of living standard and salary, it could be considered a step up from almost anywhere else in Europe.

Plus the central location and the infrastructure.

I think in the grand scheme of things, Zurich/Switzerland has a lot to offer. I've always felt that people who argue against Switzerland only on the basis of the high salaries and cost of living are a bit like people who argue against Apple on the basis of "speeds and feeds". There's a lot more to being business-friendly than being cheap.

But yeah, who knows, all this may change now, as indeed the report warns. Openness is a pretty big deal for a small, open economy like Switzerland.

______________

[1] EDIT: Just checked again, it was the Times Higher Education World University Ranking, as reported in the WSJ today. Direct link to table here: https://www.timeshighereducation.com/world-university-rankin...

[2] EDIT: Got curious from writing this and landed on their homepage. Their first sentence starts with: "Our lab in Zürich is perfectly placed for easy access to the Swiss Federal Institute of Technology Zürich (ETH)…" That kind of drives the point home, doesn't it? ;-) Source: https://www.disneyresearch.com/research-labs/disney-research...
Why Pressure Can Be Good
Considering that HP tells in its instructions that you must use HP cartridges, there's no way they'd accept the premise that not using HP-branded cartridges is a defect. That's the point of the exercise.
That's pretty much exactly my point. These can only exist as comparisons. They are meaningless on their own, e.g. they are not objective attributes.
> This is a high school student, not a college intern.

I know. My comment was addressing high school interns like the student in the article.

> during the school year there were incredibly tight restrictions on any job I could have, including limited hours per week, review and oversight by the school, and lots of extra paperwork for the company

I'm curious if we are even talking about the same thing. When/where I grew up, the school had no say in how much or where a student worked as long as it wasn't during the school day, nor did a company have to do any extra paperwork if their employee was a student.
That seems like a controlled environment without much interaction with other vehicles to me.
At this point in time my biggest frustration is that even compared to upstart writing concise and clear config files for network services is just really hard, and there isn't great documentation or a short book around that covers all the edge cases other than TIAS. I feel like I've wasted more time trying to get a tidy systemd configuration than I ever had even with upstart or some of the other ones.
>>> Our number is closer to 1,700 now, but yes this means 1,700 distinct applications. Each application has many instances, some have thousands of instances.

Time to forbid adding more stuff and start cleaning.

(12) [...] perfection has been reached not when there
is nothing left to add, but when there is nothing
left to take away.

https://tools.ietf.org/html/rfc1925
The thing is though - their code is already written. Systemd is entirely unnecessary for 99% of people, probably everything except some of it's LXC features has clear and popular alternatives. LXC is the only thing making me eye systemd with interest, but I'll come back to it in a few years once all the weird stuff is worked out.
The 60-80$ range US Oil only lasts for a few years at US consumption rates, but that's plenty to influence OPEC. The real issue is Expensive Oil has a lot of competition but Cheap Oil does not. Further, it takes years for substitutes to get onto the market. So, OPEC is better off with large price swings than a steady state which causes long term demand to fall off a cliff or uses up their supply at very low prices.

On top of that, politics can make price swings a useful weapon. Cheap Oil makes Russia for example far weaker.

PS: IMO, small scale Russian aggression actually fits as a 'wag the dog' distraction from how bad things are going for them.
Not only are you correct, you allowed me to find an equivalent feature in CommonMark! If there is an empty line between some content and its wrapping HTML tags then that content will be interpreted as markdown. So

<td>

```js
console.log("Hello, world!");
```

</td>

will work as expected. http://spec.commonmark.org/0.26/#example-118 and further discussion at http://spec.commonmark.org/0.26/#example-153

VSCode's markdown preview renderer ( https://github.com/markdown-it/markdown-it ) implements CommonMark, so I'm very happy right now :)
> I hold no animus towards the systemd project's goals or aspirations, but I have yet to hear a compelling reason for systemd to be shipping in it's current state.

I am, in a way, reminded reminded of PulseAudio. I kept PA of my desktop and laptop for years, having heard about PA being a complex nightmare to configure and make work that caused audio to break. Eventually, there was an application I needed to use that had a hard dependency on PA, so I bit the bullet and installed it. And everything magically Just Worked. My only complaint at the moment is that the pactl command seems more fiddly and verbose than it might need to be.

A closer look at the complaints about PA showed that many of them were older. This gives me the impression that PA was in fact a steaming pile that broke audio at one point, but eventually matured into something functional and useful.

And I think this is where systemd is at present: perhaps a good idea, but its implementation is not yet production ready, and should not be the default on production systems. And the project's continued scope creep is working against it in that regard.
Mostly irrelevant. I would be surprised if more than 10% of the Zurich-based Google engineers are Swiss or products of the Swiss education system.
A couple months ago I took the letters off the keys on my iPhone (my keyboard looks like a grid of white squares, jailbreak required). I can confirm touch typing on a touch screen is definitely possible and actually very convenient. I don't even miss the lettering anymore. Besides the fact that blank keys just look cool, I've seen a notable increase in my typing speed.
It's not a scam, it's "cryptohustle".
It's probably because all the features they need are already met by existing tools. In that case, there's no need to write more code.
Almost certainly proximity to EPFL and ETH.
Heroku is cool, but there are other options too for managed Kafka. Check out https://aiven.io/kafka and https://www.cloudkafka.com/ for two providers starting at 3 brokers/90GB at $200/mo and 1 broker/20GB at $99/mo respectively.
I'm arguing that just like gold pre-1971 "stabilized" the price of the US dollar, post 1971, oil is serving the same stabilization function: setting a "real world value" for the US dollar.

> Since the agreements of 1971 and 1973, OPEC oil is exclusively quoted in US dollars. This created a permanent demand for dollars on the international exchange markets.[0]

[0] https://en.wikipedia.org/wiki/Petrocurrency
bitcoin was accused of being a ponzi scheme:

https://www.washingtonpost.com/news/wonk/wp/2015/06/08/bitco...

Not sure you can get around a P2P network that posts Plagiarized material.
My point is that 72^8 and 72^22 is an invalid comparison to determine the relative strength of those passwords.

B5s9z-Qx is 72^8

SophisticatedpwsRock!! is something like number_of_common_words^2 + 26^3 + 10^2. In other words, two common words, three lowercase letters and two symbols.

You can put each of these passwords in Dropbox's zxcvbn (https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.ht...) to see this more clearly.

They give a guesses_log10 of 8 for "B5s9z-Qx" and 12.76155 for "SophisticatedpwsRock!!". In other words, the latter is stronger, but it's not 72^14 times stronger. That's where the article messes up.

An attacker isn't going to crack "SophisticatedpwsRock!!" by trying 72^22 options. Just like an attacker isn't going to crack "password" by trying 72^8 or even 26^8 options. They're going to try 1000 or so options of super common passwords for "password" and some combination of dictionary words, abbreviations, symbols, common transformations, etc for "SophisticatedpwsRock!!". This makes the search space much, MUCH smaller than 72^22.
Warren Buffet agrees with you [1], even though I think Otto is trying to automate the rail-to-warehouse segment, not long distance trucking. Kind of like "last-mile" for freight.

[1] http://www.bloomberg.com/news/articles/2014-11-10/buffetts-1...
So glad I registered to vote in Colorado. Ohioans please don't let me down! I don't want my grandchildren fighting over water.
Totally agree. Droid 4 (and Psion 5) have awesome keyboards.

My understanding is that there are several patents in this space that need to be licensed, coupled with everyone wants to copycat the best selling phones, and don't want to design a "niche" product that looks old fashioned.

Google's Andy Rubin has a patent on one design!

https://www.google.com/patents/US8488778

It's also difficult to design a slider with a large screen and not have the phone be unwieldy.

http://www.theverge.com/2013/11/15/5104704/i-come-not-to-pra...

"And that's where you run into trouble with physical keyboards, according to Motorola's Rick Osterloh. Keyboards "make it so you have to cut the screen size down, or have a slider form factor which adds a considerable amount of cost, thickness, and weight to the product."
One query on a table is the exact same thing as a HTTP GET call on a service.
Apparently that customer focus hasn't translated into competence in running a residential package delivery service.
Ask HN: Which technologies to use for web-based physics simulator?
Hi all,

I'm about to start building a web app based on some research code that I've been writing. The physics kernel is implemented in C++. I'd like to figure out the best way of making use of the low level libraries without having to rewrite.

Currently, I'm thinking of using Django or Flask, so that I can make use of Python's extensive scientific computing ecosystem and either directly call an executable built using the C++ code, or create bindings to execute the kernel functions from within Python. For the frontend, I was thinking of using three.js to allow the user to interact with the simulator seamlessly.

The app needs to be intuitive nd has to enable the user to quickly play around with simulation settings and directly visualize the impact on various performance metrics.

Is this a reasonable stack to get started with? Should I prefer Django or Flask? Should I consider a completely different backend like Node?

Your feedback would be greatly appreciated!
Gavin Andresen: Ethereum Won’t Replace Bitcoin, but It’s More Decentralized
Well, it's never too late to start. :-) As history shows, you can try to suppress truth for a while, but it is usually either unstoppable, or insignificant.
Good point, FizzBuzz should take a couple minutes. AND it's the sort of thing a prepared interviewee should nail. I'd hope the rest of the interview would focus more on real-world considerations.
The platform and OS was good, but by the time BB10 hit, they were so far behind with apps and ecosystem.

Windows 8 was a really good mobile OS, but it had the same issue.
Awakey Lock: The Smart Lock
> I'm curious what functionality other OSes had that Linux did not before systemd came along.

Uniform daemon/service handling. Just look at the scripts in /etc/init.d (or wherever they are located in your particular SysV init setup). It's a total mess.

The rest of what systemd offers I can't comment on because I'm not familiar with it. But it is clear to me that systemd's declarative .service files are a billion times better than shell scripts.
On top of all that, Amazon doesn't have unionized employees. That's a huge advantage when you are trying to reduce costs. Not only are their employees wages probably less, but they also don't have contracts that reduce planning ability, like fixed routes, etc.

There's no realistic way to reduce costs being non-union shop in what is traditionally a unionized business. Either the shop will organize on its own or you run the shop to union standards in an effort to stave off organization.
>Police cannot, and arguably should not have the ability to, monitor drivers 100% of the time.

Police can't catch 100% of any violation or crime, and they don't have to. We can't completely prevent any behaviour, but we can reduce it to the desired level with the right combination of risk of punishment and severity of punishment.

Right now the risk of punishment for non-emergency honking is so close to zero that most drivers seem to have forgotten that it's illegal at all.
I've only had positive experiences. I accidentally screwed up the numbers for the address for a package. UPS and USPS showed up at the address and just returned the package. The Amazon Courier called me to check to see what the real address was.
So what happens if as a non-US citizen which just happens to be around voting day I enter a voting station and ask to vote (and obviously lie about my identity)
How machine learning analytics can accelerate IoT results
To sceptics: John Carmack believes that cloud gaming can be successful. Here's his view on this (2013): https://www.youtube.com/watch?v=Uooh0Y9fC_M&t=26m24s
The inherent greater complexity of designing extensible and cohesive systems turns away a large subset right away and it never gets to a comparative matrix to inform the decision making process. It's been reduced to "monoliths bad, microservices good" level of thinking.

I honestly think that the rise of microservices as "the technical cure for cancer and everything else" is a very interesting surfacing of the various systemic disfunctions of our beloved software industry. The disfunctions have been present from day 1 but the environment has somewhat radically changed.
It could be the "controversial topic" penalty, which is extremely heavy-handed. But I also notice that both anti-systemd and pro-other-init-system posts and comments are barraged with downvotes on all kinds of forums, including HN. It is definitely something that certain people don't want out in the world.
I've switched everything I write to use runit because runit doesn't require any particular init system, you can easily integrate it with sysvinit, freebsd's RC, ubuntu's upstart, systemd, etc. It just runs on top and doesn't need to be the king and it's incredibly simple to write scripts for it. Completely removes the need to worry about this init mess.