skysight-inc/HackerNews huggingface dataset:
There are legitimate reasons to extend the trusted root certificates (notably: corporate deployments). Admitted, I cannot come up with a reason that has anything to do with Pokemon, but - in general I think this should be possible.

Plus: Who do you want to protect and from whom? The only person able to make Pokemon Go (locally, on their phone) accept another certificate is by having full access to the phone in the first place. It's the user, 'hacking' his own device.

If this leads to exploits on the Pokemon Go server for some reason, than _those_ are the problems. The communication between app and Pokemon Go server uses TLS, even if I spoof a certificate for my very own device.

For me this is one of the examples of Raymond Chen's "If you're already on the other side of the hatch it isn't a security exploit", but I might absolutely fail to understand the risks of course.
"...so I've never had the need to pull off complicated networks."

In other words, you haven't run into one of the main problems Erlang and Elixir aim to solve. So it makes sense you don't see the appeal.

Just keep it in the back of your mind, when you someday do need to pull off a complicated network, Erlang and Elixir are excellent tools for solving that problem.
The bitter tone of this guy's post bothers me. I get it, you think you built something amazing for the raspberry pi. And maybe you did? But I don't know because I can't see it.

I wrote this person multiple times since they posted this /a year ago/

--

Drop me a line if you are interested
Interested meaning, commercially interested -

a) interested in licensing 3 amazing-sounding, ultra-efficient soft synth engines, destruction tested on a Raspberry Pi model 1

--

Never heard anything about a price point. Never saw a release for money. Never saw a preview of the synths (other than a tiny one). Never heard anything about the possibility of open-sourcing it (so therefore not maintaining it himself) etc.

--

This just seems like so many sour grapes. I mean, maybe the synths stink and that's why no one wants to buy them. Maybe not. But how would anyone know when he refers to interested people as "tyre kickers" and never releases a price or donation model for the software??

--

In the meantime, Sonic Pi is turning into a pretty damn capable music package for the Pi. (And Processing runs on the Pi now as well). It's gone from what I would consider a tool that uses music and the instantaneous feedback loop of creating sounds to teach coding to being a full fledged piece of music software with a lot of capability. If it can go headless soon and output/input midi it will be even more fantastic. I'm happy to support it on Patreon.

https://www.patreon.com/samaaron
GitHub is not good enough… but so close
Western civilization went through lots of changes before 'liberalism' was accepted by the society. It was not done via executive fiat like we are trying to do everywhere in the world.

Society gets the culture it deserves.
The source http://imgur.com/DrEinPB states the problem using "256" not "2^8". I'm not sure if the tweeter is trying to be clever, but he isn't saving any characters by using the exponential notation.

If you're trying to save characters in a tweet, you don't have any savings in using exponential over decimal for base two until 2^14.
The July 2016 "Who is Hiring?" thread is at https://news.ycombinator.com/item?id=12016568
False.

> An estimated 14.0 percent of American households were food insecure at least some time during the year in 2014, meaning they lacked access to enough food for an active, healthy life for all household members. The change from 14.3 percent in 2013 was not statistically significant. The prevalence of very low food security was unchanged at 5.6 percent.

> Economic Research Report No. (ERR-194) 43 pp, September 2015

http://www.ers.usda.gov/publications/err-economic-research-r...
Doom Vulkan Patch Released
Amsterdam is in Europe and in the top 20..
And this is related to Hacker News how??

edit: I have been corrected.
The Samsung 850 EVO 4TB SSD Review
Again, here we go.. the invisible hand, the warrior without face.. and my comment being downvoted...

Do people really read 1k+ comment threads? Isn't this supposed to work as a community? If people would upvote comments they agree with wouldn't the most voted ones be on top?

So what's wrong with what I just said?
Neat; thanks for sharing... now, we need a Big Data Analytics / Tone Analyzer package run over it :=D
Odd to see "PSK" on the possible future feature list, with "client authentication" on the "never" list.

Other than that, looks like a nice and sane subset they've picked.

Real shame if they end up avoiding cert-based authentication, though. All other options for authentication are strictly worse, from a security perspective - and leaves more room for implementors to shoot themselves in the foot. For passwords that are intended for human users, for example, you really need some form of rate-limiting. Not to mention the problem of setting up a session first, and then later binding to a user (if authentication succeeds) rather than the simpler "only valid client can connect".
My observation this month happens to be UK/London job availability on "Who is Hiring" is increasing while the jobs for SV (mainly SF) is decreasing.
"Reflections on Trusting Trust", Ken Thompson.

https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp...
Well, you make a fair point that miners are ultimately interested in mining on the fork with the largest economic activity. But just as with Bitcoin (where exchanges have lobbied for a blocksize increase for a long time already with zero success) I would argue the number of parties that affect overall economic activity is hard to pin down and includes a larger segment of the community than you suggest.
A single wagon probably has an even number of axles, so 255 and 257 is probably impossible. But yes, those axle counters are extremely reliable, a miscount produces quite a bit of work because then a human has to confirm that the train left the track protected by the counters.
The problem with France isn't RSA, it's dirigisme. Regulation kills business and productivity far more than taxation and government spending ever do. If UBI were combined with a repeal of all but the most essential labor regulations so anybody can be hired and/or fired at any time for any reason, then we will see all its advantages without the disadvantages evident in France.
What are the best tech hubs in Europe right now for a remote worker?
The idea looks great!
The background on your website is not :D My eyes are bleeding, and I'm going color blind.
Thnx
Thanks, currently I'm working on the MS SQL integration, so it will be my next task!
Reminds me a lot of that Silicon Valley episode where Richard broke up with his girl-friend because he preferred tabs whereas she preferred spaces.
On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.
https://en.wikipedia.org/wiki/Axle_counter#Track_vacancy_det...
London is in Europe but Berlin in Germany? seems pretty ironic given recent news
There's a contradiction here. If the machine money is taxed and redistributed, but the cost of the items produced by the machines is exponentially going to zero... Your revenue source for UBI is going away unless they artificially keep the price of those goods up. If you just let the price of machine produced goods approach zero, then everyone benefits from the lower cost of stuff. I have yet to see a mathematical analysis of UBI, just hand waving.
Hello world
this is a test
Ever Use Someone Else’s Password? Go to Jail, Says the Ninth Circuit
> Especially in a web app like something you'd make in Rails, which already handles exceptions pretty well and rarely require concurrency.

That's interesting considering the reason Phoenix was made is because the author was having a lot of trouble doing concurrency in Ruby.
> Plus, having reliability and coming back up if it goes down doesn't solve the root problem, which is that there's a bug in the code, or some sort of unhandled edge case. 99.9999999% uptime doesn't help if your code doesn't work right.

Yeah but you don't have to wake up at 4am in the morning to fix the problem if the system stays up and still works (even if a bit slower or some feature is degraded). I've seen systems that had parts crashing and restarting for a weeks and months. Yeah it is bad nobody noticed, but it was secondary service that didn't affect most users. Having the backend with an exception or segfault because if it would not make sense.

> Don't we have modern frameworks and systems now that can tolerate individual failures instead of completely dying just because someone tried to POST some bad data?

Yeah we do. Nothing Elixir does is magic or absolutely impossible with other systems. You can spawn an OS process to handle a request. Can have a load balancer or something to check the health of backend nodes, and redirect. Or wrap everything in exceptions and try to restart and so on. It is kind of doable. But now there are multiple libraries, frameworks, services to also maintain and look after, maybe that thread just crashed made a mess on the heap and now maybe restarting don't really fix the problem. So doable, but more awkward.

> Plus, having reliability and coming back up if it goes down doesn't solve the root problem,

Obviously, nothing will write the code to fix the problems except the programmer. Is it worth to completely crash the system because some bug in one thread or some unimportant component failed? It is a bit like having a human drop dead the first time they scratched their finger. Yeah they can't write as fast for a while, but they can still largely function.

I mentioned Rust in another comment. Perhaps you'd prefer to have the compiler check correctness, that's very reasonable, something like Rust or Haskell might be what you'd like to use to sort of ensure you have less bugs when the system runs. Higher level of proof of correctness are possible, that is done for avionics software, crypto and other life-critical systems. So it is a continuum there. But there usually dollar signs attached to it.
These are not mutually exclusive. It's possible to both upvote comments you like and downvote comments you think don't add to the conversation.
Ask HN: Should I quit graduate school to avoid a bad advisor?
I am eager to quit but I feel like I might need to be on good relations with him, otherwise, he won't leave a good word in for me for anyone who contacts him as a reference. I don't have many references because, I'm in graduate school. Let's just say quitting in anyway would not be good for our relationship given his personality.

I could suck it up for three more years (granted I graduate in three, he's not the best at science or getting us funding, he's mostly a politician) and it's too late to switch groups without wasting an additional 3 years. Sticking with it seems like my best option right now, unless I am wrong and I do have other options.
Also works well in CS:GO. The skins add nothing to the actual game play, yet people like the value they add. Just a shame that it brings kids into a gambling state of mind. Would've been nicer if you could just buy them outright.
They don't say that this is an upper limit. The number should not _equal_ 256 (or 512, etc), but it can be larger or smaller than that.
Unfortunately, a lack of standards and enforcement removes the ability of consumers to knowledgeably choose their food.

If organic / grass fed / 100% / fish species meant something, then consumers could decide whether they wanted to spend more for quality or save money on alternatives. With a lack of differentiation, race to the bottom prevails.

PS: The shenanigans from international importers are criminal. Trade pacts should include a clause where one-sided tariffs can be legally imposed as punishment for a lack of export policing on the sending country's side.
Previous: https://news.ycombinator.com/item?id=12048709
Or the tweeter is smart enough to realise a likely origin of the limitation and uses that directly.

Considering the tweeter in question, I'd go with the second one.
Here's a couple ways of doing that, packaged as a runnable .exs script that you can mess around with:

https://gist.github.com/tomku/21eab22e98950f31a072a2ac63900b...

The key ingredient is Enum.with_index, which pairs your enumerable with the indices that you'd have in an iterative 'for' loop in another language. I've also changed from Task.start to Task.async so that I can collect the tasks and wait for them at the end of the script.

Edit: The recursive approach jdimov10 explained is really useful too, you'll see that pattern of using a recursive function's arguments to hold state all over the functional programming world.
This. Remote assistance would be huge
It's not that it has to have less than 256 axles, it has to not have exactly 256 axles (or presumably multiples of 256)
Facebook's Pixel Code broken?
A gent in marketing sent me this code to embed in one of our websites (I've redacted the FB ID):

<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js';);

fbq('init', '<!--FB CODE REDACTED-->');
fbq('track', "PageView");</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=<!--FB CODE REDACTED-->&ev=PageView&noscript=1";
/></noscript>
<!-- End Facebook Pixel Code -->

It's causing Chrome to report a syntax error for the rogue semi-colon towards the end of the packed function. Surely this is going to cost someone a lot of money today? I got him to recreate it a couple of times with the same result. Am I missing some cunning trick?
Hard forks don't require any particular adoption percentage (unlike soft forks). The network simply splits in two chains. If one of the chains is obviously weaker, it usually dies quickly, as it's no longer economically viable.

In this case the sentiment among actual ETH holders is ~ 85% in favor of the hard fork. Check http://carbonvote.com/ (it's not a binding vote, just an indication showing which way the wind blows).
Tbh. I'm a bit confused by this reaction. When we had the horse meat scandal in Europe, it was a huge, in the news for weeks. If this article is right, it seems like this sort of scam is almost the norm in the US, and people don't really seem to care. In the countries I'm most familiar with (Western Europe, Japan), if a restaurant turns out to be feeding you a cheap substitution for what they advertise, they are done for. Even big chains like Mac Donalds aren't safe, as they had to painfully recognise in July 2014 [1] following a meat scandal. Their sales went down a third for about a year, resulting in quite a substantial operative loss. If potentially dangerous fake olive oil or Tuna doesn't cause a huge media outcry in the US, what will?

[1] http://www.wsj.com/articles/food-scandals-push-mcdonalds-jap...
UX-App: Phoenix Rising
> A single wagon probably has an even number of axles

Do bogies with uneven number of axles even exist?
If someone says they are specifically reading about history, then that suggests they are reading history books.
Android Developers Support
If you combine SF with Silicon Valley you really ought to combine Cambridge, MA with Boston, MA
To be fair, ethereum is a newer, and more experimental platform- It has many arguable advantages over Bitcoin, but as an etherean I am happy to agree that right now Bitcoin is more established and also may be somewhat more decentralized (given that the ethereum community is giving some deference to the core team at this early stage, in the future this will likely no longer be true)
I think the author was just suggesting this is due to 256 causing an 8 bit unsigned integer to overflow.
> They don't say that this is an upper limit.

It's not, but considering the context going above would mean going through the limit which would be dangerous, during exit the counter would mark a railroad section as unoccupied before underflowing back to occupied. It might also have interesting failure modes during entry.
Exocortex/Clara.io is looking for glsl/WebGL/JavaScript developers to join us in Ottawa, Canada: http://exocortex.com/blog/exocortex_hiring_job_summer_develo...
Yesterday I was browsing pictures of huge groups of players staring at their phones in public areas and thought, wow, what a perfect opportunity for criminals to steal some phones.

I am totally not shocked at this news.
> A single wagon probably has an even number of axles, so 255 and 257 is probably impossible.

Voilà.
>> Generally, upvote the positive rather than downvote the negative.

The exception, at least for me, is top level comments. They have so much power to shape the conversation that even a merely mediocre one should be downvoted.
Agree with you, one of the first thing for me to beat procrastination was to stop wasting time on useless things like checking facebook/twitter every 5 mins and getting rid of the FOMO completely, this is easier said that done, but feels great once achieved. i removed facebook and twitter from my phone, put your phone to Do not disturb and suddenly i have all the time in the world. I use this time to think/plan and create efficient habits/methodologies to beat procrastination.
I don't see any links whatsoever to hard evidence in the article. The only thing close are a book and an article published in Spanish and French, respectively, and seemingly no translation or availability in English bookstores. Yet everyone in the comments here are accepting it as fact, almost as readily as people accepted the tainted oil as fact.

It's funny how human heuristics prevent critical thinking, even after reading an article about the lack of critical thinking.

One of the most obvious pieces of evidence this article could have included is "The Spanish toxic oil syndrome 20 years after its onset: a multidisciplinary review of scientific knowledge." [1]. In the abstract you will find the following:

Attempts to reproduce the condition in laboratory animals have been unsuccessful, and no condition similar to TOS has been reported in the scientific literature.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1240833/
I don't think you understand how WASM works.

I do. And most of this you could already do for a while without Web Assembly, either native using e.g. NaCl or compiled to Javascript/Asm.js (Emscripten). Running Qt in the browser it not some future, it is already possible.

The problem is that if you go that route, you lose a lot of platform integration. Moreover, you throw in another layer for what is practically a solved problem (the Linux kernel has all the necessary bits for sandboxing, which Chrome et al. also use for sandboxing).

it's essentially the app model for desktop with low friction distribution

As someone who distributes a Qt application on Windows, Linux, OS X. I don't need this. I just need to be able to distribute one app bundle that works on all Linux distributions. OS X and Windows are already a walk in the park. And by having a native app, I have proper integration now (e.g. Full Screen, Dock, and file association support on the Mac).

just like you do on your phone.

My phone uses native apps, thank you.

(Though is it is in the process of switching to LLVM bytecode.)
I really would give anything to see this show become a reality. You're a fantastic writer, your stuff on Medium is superb. If there was a way to invest in a pilot I would hand over as much as I could.
The supervisor is what is responsible for restarting the worker or not. If you have a process that saves files to local disk and the disk is full, causing the worker to crash, the supervisor can recognize that reason and conclude that the worker process should not be restarted. Additionally, the supervisor can take other actions like informing the rest of the system and/or potentially even spawning a different worker process that stores files to a slower, more expensive cloud storage option.
A Glimpse into the Apollo Guidance Computer
Considering the context is track vacancy detection, I'd think even going through the counter would be dangerous (as it could temporarily mark a rail section as unoccupied during its occupation before underflowing, a good old race condition) and would thus be operationally avoided as a recipe for disasters.
No, I've not had need to (yet). Services FTW!
Feels like a clever combination of an ad and a CV, masked as a praise for open source.
Thank you, sir. As for the bolding, I use it because many people (including me) at first scan the text looking for important stuff and then decide if it's worth to read the whole article. I'll see what can be improved in that matter :).
Kind of bad for those in low population areas... but from Niantic's perspective they are going after a larger market.
Every time Linus Torvalds' rude behavior comes up on HN, people leap to his defense. Then, people leap on top of those people for leaping to his defense. Personally, I fall strongly in the "he's rude and annoying and should stop it" camp. For the sake of productive discussion, I'd like to list a few things that are not valid defenses to his dickishness:

1) "He's a visionary developer." Yes, but plenty of visionaries are also friendly and polite. You can have a strong opinion and argue it strongly without descending into namecalling.

2) "He's built something millions use." That we live a world where having success allows you to be a jerk is a bug, not a feature. Respect for the Linux kernel would be respecting the people who work on it, which Linus rarely does.

3) "Kernel developers are used to this kind of behavior and can take it." That doesn't meant they ought to have to. And plenty of kernel developers have left. It feels like there's a big to-do about somebody retiring from the kernel once every couple of years, at least.

4) "It's his project and he can do what he wants with it." Maybe. It's largely the world's project now. But even if it were totally his, having the right to do something doesn't mean one ought to do something.

5) "You couldn't do it, so shut up and let Linus do his job." It's not, and has never been, about me.

I hope that by listing these, I can short-circuit some of the repetitive arguments on this topic... or at least confine them to one comment chain.
I was wondering if this could be an actual problem. Assuming a maximum length of 700m, you get 2.73m per axle. So

- 2 axle cars must be longer than 5.76m

- 4 axle cars must be longer than 10.92m

- 6 axle cars must be longer than 16.38m

Found this 6 axle car with a length of 15.0m:
https://de.wikipedia.org/wiki/Flachwagen#S-Wagen_f.C3.BCr_sc...

So yes, this seems to be a real problem, as it is possible to arrange a train with with 256 axles with this type of car that does not violate the maximum length restriction.
Except I doubt it's a bit math bug, or the warning would be very clear about 16, 32, 64 axle trains etc

It's likely that the axle count is stored as a 8-bit unsigned integer.
#2 is a great rule! I've noticed some (what I consider) vindictive voting. Good thinking.

#4 interesting. That is thinking a few steps ahead.
That doesn't seem like a safe assumption: http://d2ydh70d4b5xgv.cloudfront.net/images/a/e/fleischmann-...

(Not Swiss, just the first train car I could find with 3 axels)
Note that Bitcoin Core contributors have been openly hostile to Ethereum in many cases. So this article is a bit like asking Hitler how Hanukkah should be celebrated.
> Except I doubt it's a bit math bug

What are you even talking about?

> It's likely that the axle count is stored as a 8-bit unsigned integer.

Which is exactly the point of writing it as 2^8…