skysight-inc/HackerNews huggingface dataset:
Thats is fair question.Does not all of 50,000 get paid. some of them get. some of them really deceived and believe US is evil.(that's one of main point of my main comment,which by bombing we give them a real reason , Obama policy was effective ,I can see in my real life , Obama was far effective than any other US president could have done)

For that 50,000 you (as west) should show the true nature of Iran's regime without giving them real reason (what Obama have exactly done in recent years).
And remember this point , If someone get paid by regime , he have family and close friend.by a simple math you can estimate number of paid people.(maybe 5000-10000)which is reasonable amount.

UPDATE : We are taking this wrong way , this is not about number , this is about money & corruption , and what's going on under the hood.
I can assure you majority of participant just want regime money.They don't care about Israel and US.most of them don't care about Iran either.They just want money.

But yes . We all should admit , Iran have Shia version of Al Qaida.(mostly government keeping them in silence, but they are major threat and resistance against reform)

At the end : the only solution for Iran (at least from my point of view) is the following support "civil society" and make people stronger , Iranian himself can handle these small fraction.Facilitate Iranian and world communication.People in Iran really have wish to integrate to world economy.
> Mr. Pichette cited Google’s decision to end sales of the initial version of its Glass Internet-connected eyewear, as an example of its discipline.

So it's not all bad news...
Design Circuits in a Flash with Web-Based Circuit Simulator
Thanks so much for this. I've been using gevent 1.1a2 to support Python 3.4. Does this mean we are out of Alpha? __init__.py shows 1.1a3 tho!
That likely was unintentional. https://en.m.wikipedia.org/wiki/Attack_on_Pearl_Harbor#Japan...:

"The attack took place before any formal declaration of war was made by Japan, but this was not Admiral Yamamoto's intention. He originally stipulated that the attack should not commence until thirty minutes after Japan had informed the United States that peace negotiations were at an end.[citation needed] The Japanese tried to uphold the conventions of war while still achieving surprise, but the attack began before the notice could be delivered."

on the other hand, making the schedule that tight increases the risk that your message doesn't get delivered in time.
s/fine/crappy. Alas, all I can say is maybe. Because this emulator doesn't have some of the components that, say, an Arduino UNO might have, it doesn't support the entire AVR instruction set. For example, there is no UART support. I did write a bit that listens on a port where I could send the emulator keystrokes to mock up a UART (mostly just because I was stuck on something else and needed a distraction), but I didn't need IO, so there really is none, currently.

Uploading machine code -might- break something. But in a fun way, I think.
I'd argue its an omission or mistake with the spec then. Being able to passively collect sensor data without connecting to a device is very handy as it allows many devices to read data from many local sensors. If they all have to connect to each sensor then there's contention over the connection (only one device can connect to a sensor at a time) and it wastes power to setup and tear down the connection constantly (negating the whole point of BLE).

If advertising isn't for putting data then arguably iBeacon, URI Beacon, Eddystone, etc. go against the spirit of the BLE spec.
Atom is slow but that's okay
Anyone fancy translating this to C#?
I have a Galaxy Nexus with the battery at least 4 times the size it should be. Its in my garage, I will take a photo of it when I get home.
Some people in Vermont find that to be Working As Intended. Luckily if you want to build, there's a state next door that it's easier to do so in.
> For a long time I've been looking for a guide to functional programming, applied to common real-world web examples, but still can't find one.

http://realworldhaskell.org/ (sometimes code is too old to compile)

also good: https://nikita-volkov.github.io/a-taste-of-state-parsers-are...

> database queries

https://www.fpcomplete.com/school/advanced-haskell/persisten...

> performing business logic

Give a more specific example. Preferably with code, and I'll respond with a Haskell/FP equivalent.

> calls to memcached,

import qualified Database.Memcache.Client as M

mc <- M.newClient [M.ServerSpec "localhost" 11211 M.NoAuth] M.defaultOptions
M.set mc "key" "value" 0 0
v <- M.get mc "key"

More on memcache here: http://hackage.haskell.org/package/memcache

> handling error cases/messages,

http://book.realworldhaskell.org/read/error-handling.html

> validating input

Give an example on input. Depending on complexity I'd most likely use attoparsec or maybe just stuff from the text library.

> outputting data in various formats (JSON, HTML templates, etc.)

JSON: http://hackage.haskell.org/package/aeson

HTML: Not sure about outputting html from a data type's structure, but this might be what you are looking for: http://hackage.haskell.org/package/blaze-html

> how/where does FP help with that?

First I need to know what your definition of FP is. I think it's safe for me to say without knowing your definition that it doesn't help with those specifically as much as it does with tying them all together and having a greater handle on what their behavior/interaction with eachother will be.

> Is FP more a paradigm for computationally intensive programming? Back-end web programming? Front-end?

General purpose.

> I come across "FP is good" all the time, but I've never found any kind of resource to help me understand the tradeoffs between FP and non-FP, where it makes sense to use it and where it doesn't.

That's a shame and I couldn't find really good ones either. To be fair though, such a comparison wouldn't be the easiest to create. I'll add it to my "attempt to blog about" list and we'll see what happens.

In the meantime this might help:

http://phaazon.blogspot.com/2014/02/regular-imperative-state...

> Or any kind of FP tutorial on how to build, for example, a basic web CRUD app.

https://www.fpcomplete.com/school/advanced-haskell/building-...

http://adit.io/posts/2013-04-15-making-a-website-with-haskel...

https://vimeo.com/59109358

https://github.com/ryantrinkle/memoise

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

I'm also in the middle of creating a Haskell version of the Django polls tutorial:

https://docs.djangoproject.com/en/1.8/intro/tutorial01/
look up Hydroxyprogesterone Caproate. $1500 a dose to keep a baby in the womb.
Indeed, font parsing has been a focal point for browser security for awhile too; Chris and John (both of whom worked at Matasano, #shameless) have been hunting for bugs in them for years. It's good of Yahoo to pay them to do it publicly like this.
Thats in the same line as the pejorative comments on startup tech being essentially simple CRUD Webapps.
I'm still disappointed none of them were named "Acheron".
It seems like a classic economies of scale problem. You want an aggregator to be exposed to the best stuff, but the guardian at that gate is a moneyed interest.
Google has seen Q/Q declines in revenue and net income recently which is a huge cry from it's explosive growth before. YoY growth is still steady, but slowing.
Is MIPS still getting new design wins? I know that existing MIPS SoCs are still being used all over the place (eg. wireless routers) but is anyone actually working to put a MIPS core on a 20nm or smaller chip?
Of course, don't let me get in the way of a better description, and more
importantly, thanks for posting so many papers. I appreciate it.

The HN mods/admins seem to hate long titles almost as much as they hate
link-bait titles, so the typically long and boring "official" titles of
academic papers can be a pain. Worse yet, the "official" paper titles
can occasionally be nearly as misleading as link-bait. Here's a perfect
recent example:

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

I shortened the title but the original was even worse, "Effect of
monthly vitamin D3 supplementation in healthy adults on adverse effects
of earthquakes: randomised controlled trial". In spite of its whimsical
title, it's a great paper on some creative science.
Huh, but if light takes 2.5 million years to get to Andromeda, how does it take us a few decades? You're saying that from the point of view of the photon, it takes much less time?
You are correct, I can't fix the typo now. Too much time has passed, I guess.
I suppose that depends entirely on what you consider to be 'the right thing to do'.
Good point. You can bet that popped into my mind when I was reading it: some of my own friends who saw it coming lost everything because they pulled their clients out of the bad investments. Which got bailed out and became the good investments. (sighs)
There really is a great movie waiting to be made about the Manhattan Project and its ultimate "success".

In the meantime, Richard Rhodes' The Making of the Atomic Bomb[1] is both epic and quite readable.

[1] http://www.goodreads.com/book/show/16884.The_Making_of_the_A...
sounds like the bean counters are taking over.
It would certainly help separability to observe the data in a higher dimensional space, however when you're taking automated action against the results its sometimes pertinent to know which specific metric is causing the server to be an outlier.

For example if network tcp retransmits are throwing it off we probably just want the system to kill it and let the autoscaling group bring up another server. If its memory usage we probably want to page someone.
Show HN: AnyAPI – Over 100 High-Quality APIs
Hm. So tempting.
Ask HN: How do you handle test data and retroactively testing with Django?
Currently I am part of a startup with a large django-rest-framework based api and an issue that has been glaring is that the way we've handled test data is not working anymore...

When I joined the project there existed a huge testdata script that essentially did a ton of manual model creation etc into set of data that is used in conjunction with fixtures for testing. The status quo since then has been to wipe the database and run migrate/testdata script.

At some point we moved too far ahead and the testdata broke but because of the business leadership we didn't have time to stop and fix it.

Now it's at a point where we have live customers and we are running into a bunch of problems when we migrate various live servers and the data from users breaks something we hadn't discovered because we both don't have proper testdata AND our test coverage is 0%.

I would like to gather feedback on strategies to avoid total disaster and implement better development strategy going forward, as well as any advice on retroactively implementing a testing framework.

At some point does it even make sense to have a testdata type script or should we just be going off database snapshots that we discard/restore?

Any info appreciated!
Comebacks
I am interested in what makes some individuals fight and comeback from near defeat and failure to success while others succumb to defeat. Is there a hidden power inside all of us, that only few people know how to use? Any ideas please?
http://ayietim.wordpress.com
Would be interesting to try and fit a distribution to error rates (some type of counting process) and then monitor the probability of having the occurred number of errors (with in some period of time). Then low probability events might indicate an outlier.
So are countless other companies (Mozilla, Segment, Facebook, Netflix) and individual developers open sourcing their code the right way unlike Google which seems to be using that as either to gather community consensus or to attract businesses (Hey! You're not tied to us, just roll your own Google Play Store equivalent, and replicate Google Play Services, and you're done, its all too easy, and if you don't trust us, fork the project, its all open source! But you know what... if you don't sign the OHA we'd not provide any support, and if you do sign the OHA, then you must install our closed source apps).

If you worked with AOSP, you'd rather be more frustrated than grateful. Google is getting a lot of the bugs fixed for free! And its model has none of the downsides. Mind you, Google doesn't develop AOSP in the open. It releases source drops every other month or so, I think. There's a rumour that their internal branch and one that's open sourced isn't the same. If you'd recall, Google refused to release code for Android for Tablets (honeycomb) at all. So that's there too.
Bloated batteries are pretty unsafe, I hope you took proper storage precautions.[0] A garage can be mighty flammable.

[0]: http://www.tekrevue.com/swollen-battery/
It shouldn't have anything to do with the required technology. It might allow a considerable reduction in leakage, though.
It's only the solar system, but it's still a long walk to Pluto: http://www.jeffreybennett.com/model-solar-systems/colorado-s...

Models like that get across the incredible amounts of space in space.
That's overstating the claim. Specifically it makes the point that nobody will let kids have something this valuable (which seems obvious) and the violence is specific to the setting:

> Getting talismans compounds how easy it is to get more talismans. In a low-tech low-institutional-trust world, this looks like warfare, religion, theft. No matter what, institutions and norms appear to justify and encode these practices.

Distribution of valuable commodities today is also highly inequitable, despite it being through less violent means.
For those keeping track, we now have San Francisco, London, Washington DC, and Singapore. SF and London are bursting at the seams and will be physically moving to new offices in the same cities (fairly nearby) later this year.
I didn't read his comment that way and I agree that prolonged cardio, sustained and focused breathing, and sweating out toxins over a longer period of time is more conducive to affecting a negative mood than aggressively knocking out high weight/low rep sets. With it comes, also, the added benefit of a repetitive "zone" where you can do some greaaaat thinking and get used to having your body functioning on a higher level. Energy begets more energy.

Thriptic, you didn't bring to the table any thought that isn't criticism... which is fine but you also don't back it up which is what you are criticising this fellow for.

FYI the above is my opinion.
Ahahah, that might be true :) Although because those concepts comes from category theory, i.e. https://en.wikipedia.org/wiki/Functor and there's more to it than just "it defines" map, keeping the "academic" name seems fair enough.
Yep, which is great if you knew about this policy when you were choosing where to live.

My suspicion is that most homeowners had/have no idea.
Yes, a lot of them are compelling. The problem, from my point of view, is that these aren't blind spots, especially authentication. Lots of people and companies have tried, lots of people and companies are still trying. I was hoping to gain insight into problems I didn't already know about when I clicked the link. This article is not really adding value. It's just complaining. That's not a particularly useful thing to hear.
This was bad. Really bad. The word "economics" is used, but with such disdain for anyone who has ever picked up a book on the subject that was not Das Kapital.
I've heard this as an explanation for the US's perceived lack of "manufacturing" jobs -- if a factory employs its own maintenance people / janitors / whatever, those are manufacturing jobs, but if the factory contracts with another company to send people to do the same work, those are service jobs.
Swagger 2.0 API models supplied by APIs Guru:
https://github.com/APIs-guru/api-models

Any feedback appreciated!
>> People who buy Android phones are generally not the audience that advertisers want to hit

You do know there are people outside US right?
I really don't understand the classification. Most of Manhattan appears to be predominantly green. And while there's plenty of government/education/healthcare workers here, I don't think that's a reasonable classification for most of the companies with big offices in NYC. Something is off.
Referrals... I had a friend at another company who needed help with databases and web servers, back in the late '90s. That got me started. I them got introduced to some other smaller web / advertising agencies that refer me backend work. I also cold emailed some people, got some work that way.
This isn't just an Apple thing. iCloud was designed for mobile, and one thing I've observed about mobile OSes is that (so far) they treat user data with an indifference that is approaching contempt.

Mobile devices/OSes are for consuming and messaging or accessing remote systems as a glorified ultra-portable dumb terminal. They're not designed for creating or handling/storing important data.
>https://en.wikipedia.org/wiki/2015_%C3%8Ele-de-France_attack....
>It must all be my imagination.

That was a terrorist attack, not racism. I'd never say that in the US there is a rampant racism just because a teenager went to a church full of black people and opened fire on them. That would add insult to injury. The whole France has been victim of that terrorist attack, just as the whole USA was victim of the Charleston shooting.
As a guess: with a plugged-in device, the manufacturer doesn't care about power consumption, and the thing already needs to be be able to supply enough air for the peak flow while you're inhaling, so it doesn't really matter if it leaks.

If they cared about power consumption, they could presumably make it less leaky and use check valves to prevent issues with stale air or inability to breathe if the fan stops working.

I've used snorkels with separate in and out tubes and check valves to route the air correctly. It solves stale air problems (which are irrelevant for snorkling because the total air volume is much less than the amount of air you breathe in per breath) and causes serious suckage (because you really want your exhaled air to displace water that comes in the intake, and check valves prevent that), but for CPAP it might make sense.
We have another component of the same outlier detection system that does this type of fitting, identifying low probability events using a Bayesian model + Markov Chain Monte Carlo. It hasn't gained nearly as much traction internally (yet) as the clustering approach here.
Yes photons do not experience time, it's all the same instant for them
Also recommended, 7 part video series (link is video 1):

https://www.youtube.com/watch?v=bxe2T-V8XRs
So what's the state of apprenticeships in Silicon Valley? Certainly, there are internships galore, though how often do they actually provide training for the intern, as opposed to expecting that the intern already know everything aside from the specifics of the firm's codebase? And you normally are only an intern if you're a student, so.
Yup! Even with the slow movement, I think apprenticeship can be a great deal. So long as the job is something that's general enough.

I'm talking plumbers, electricians, etc. There will always be broken toilets and bad wiring.

I'd be more concerned about apprenticeship in the ship foundry that the article mentions. That seems like a much more specialized market.
Turing's Cathedral covers von Neumann's wartime work, the IAS machine and the purpose for which it was built, and many other aspects of his life.

http://www.amazon.com/Turings-Cathedral-Origins-Digital-Univ...?
Pretty trivial if you have a math library, I don't see anything here that is special. Why not give it a shot yourself?
Yes, that's how relativity works.
Interesting. And people think Swift is easy to learn. Not all of it though.
Sure. There are loads of things to cover but I'll outline the ones I found most useful.
Some of them are common sense but sometimes that ain't so common ;)

Avoid procrastination
1 - Set aside time to study a little and often rather than trying to do huge sessions. Cramming doesn't work, your brain doesn't like it.
2 - Turn off your phone, shut down those facebook/email/reddit/imgur tabs so they're not tempting you.
3 - Don't get disheartened by thinking about the whole topic at once. How do you eat an elephant? One little bite at a time.
4 - Just get started, even for a few mins. You'll get into the flow after just a few mins.

Take your breaks
1 - Recall is greatly improved by taking a short breaks to let your brain digest the material you're learning.
2 - Try the pomodoro technique. Focussed work with zero distractions for 25 mins, then a 5 min break, repeat. For coding I prefer a longer work period to load the problem into my noggin but YMMV.

As part of the course we had to do up a few small blog entries explaining the material. Another good point: re-explaining the subject cements your understanding of it.
Feel free to take a look at mine, I go into a bit more detail on the above items
http://learnsmarternotharder.blogspot.ie/2015/01/so-much-to-...
I'm only speaking for my personal preferences here.

My two problems with undefined behavior is that 1) it is not always obvious that your program is guilty of undefined behavior and 2) when a C program contains undefined behavior the compiler can generate surprising machine code.

I don't have any problem with 8/0 being undefined mathematically, but I do have a problem with a C compiler generating code that will delete my hard drive if it ever occurs (an unlikely but theoretically possible for a conforming C compiler).

INT_MAX + 1 is problematic because most people expect wrap around (and in fact they may be using a compiler that does this). It's more problematic because UINT_MAX + 1 does get wrap around. And finally there's a bunch of difficult to remember auto integer conversion rules. Taken together it's not surprising that many people will find it difficult to determine if their integer usage is correct.

One solution is of course to use a safer language than C (where I unfortunately have to end up). But I personally object to the idea that you have to have undefined behavior in order to get the performance of C (waiting to see how the development of languages like Rust goes to determine if I'm right).
What has led you to the conclusion that everyone would agree with that ? I certainly do not agree.
I agree. It defies the common wisdom against putting all your eggs in one basket. Many of the biggest names in industry did the opposite by acquiring companies in both similar and very different industries. The reason is simple: losses in one might be offset by successes in another. Google should be growing big in other markets.

They might also consider acquiring companies that could benefit from using Google technology and infrastructure as a competitive advantage. They get software for free and hardware (esp datacenters) at or right over cost.
wow, I did not know how RGB sensors map to the XYZ color coordinates like this, and that we can record light-induced resistance! I learned a lot from this article.
Hi greenyoda! Thank you for your comment. I really understand your concern about the separate apps and storage. This is not an app for everyone, it's an app for people obsessed with burgers.

Before building this I used to open Yelp or Foursquare (I'm using Yelp API, btw), but this is much faster and comfortable.

I usually don't know where I'm living, so the zip code option is totally discarded :)

Thanks for stopping by!

PS: I'm not looking for any business model, I'm just a burger lover.
Vim mode is pretty much a requirement for me at this point, but I'll check it out.
So if I move a folder out of iCloud before the sync finishes every pending file is lost? Did I understand the article correctly?
No problem, thanks for taking the time to read it! :D
Weekly news for modern marketers
It shows its age. The straight white man is literally at the center of the universe.