skysight-inc/HackerNews huggingface dataset:
4pcb is $33 each min 4 total $132 for 60 sq inches per board times 4 = 240 sq inches or 1548 sq cm for $132

dirtypcbs is $14 for qty 10 of 25 sq cm boards or 250 sq cm total. So 1500 sq cm of boards from dirtypcbs would cost about $14 times 6 or $84.

Note that ethically, outsourcing to China is the modern version of handing syphillis blankets to indians. "Well, they're warm blankets, and they did ask for it, and anything is morally acceptable if the victim is tricked into accepting it, if you're really screwed up ethically". It only costs $50 more not to participate in something as ethically distasteful as Chinese manufacturing and you get the product in a day not a week without trashing the environment and while treating human beings like humans, even if they are not white.

Also, if you live on the west coast, you and your kids are breathing the airborne pollution from those Chinese plants for the rest of us.
With an equal-tempered n-tone scale, two pitches that are x units apart have a frequency ratio of 2^(x/n).

"Nice-sounding" intervals have small integer frequency ratios.

It so happens that 3/2 = 1.5 is very close to 2^(7/12) = 1.498, 4/3 = 1.333 is very close to 2^(5/12) = 1.335, and 5/4 = 1.25 is very close to 2^(4/12) = 1.260. So 12 works very well as the number of pitches to divide an octave into.

The fact that 12 is highly divisible is handy for certain aspects of music composition. For example, if you have a diminished seventh chord, which consists of every third pitch, due to its symmetry you can think of it as being in any of four different keys. So it is easy to use it to pivot from one key to another. But none of that has to do with the reasons that it sounds good.
But what they mean is, 'This should never happen unless there's a serious problem upstream' and so these sorts of Asserts and Throws are actually very useful. Its all about 'Fail Fast'
Late sleepers are tired of being discriminated against
Was he under oath at the time? Not that it matters, since no one (certainly not a high level government official) gets charged with lying under oath. To Congress. I guess even Congress doesn't value themselves that much to be worth not lying to.
The poor and those in the third-world already blame the west for many of their problems. This changes nothing.
> I feel MS is forcefully getting into OSS ground and may damage the freedom we have enjoyed.

And how exactly are they going to do that? The last I checked, I could download a distro that was completely independent of anything related to Microsoft. I could even get something like gNewSense and not deal with any nonfree software. Hell, if I was REALLY dedicated to .NET, I could just fork Rosyln. It's Apache 2.0 license after all.

Seriously, I don't think Microsoft is going to make Windows free and join the FSF anytime, but I think they've recognized that they do need to increase their support on Linux if they want to remain relevant going forward. This is a strategic business decision based on industry trend.

People need to exercise some critical thinking skills here. Microsoft is reacting and responding to industry trends to ensure it remains profitable. Just like every other business out there.
Newbie question: Would this Terracuda system be the easiest way to get started with GPU/CUDA programming for someone who hasn't done it before or are there easier approaches out there for running code in parallel on the GPU?

(I have worked with Lua for personal gamedev projects before)
Also in the top % of repositories overall. Nothing to see here.
Introducing Rack [pdf]
A preview of what's in store if the U.S. somehow manages to elect Trump.
Maryland hospital group hit by ransomware launched from within
It's a sub-pattern of "ain't got time for dat". Developer knows that condition should never happen, but is not inclined to prove it (as represented by coding type checking or other handling) yet realizes it shouldn't be ignored outright (if only to document the unproven condition in code, or to shut the compiler up about incompleteness warnings).
Too bad they didn't do this years ago and adopt the Adblock plus revenue model. They might still be a standalone company.
The "race" of Europe, if you could categorize it into such broad terms, would be better suited as "Western", "Eastern", and "Mediterranean", but even that isn't apt.

For most Turks, you couldn't tell the difference between them and Iranians, IMO. Nonetheless, you can definitely tell them apart from a Western white European, a Eastern Slavic-Rus European, and a Mediterranean European.
Things You Need to Know About Samsung Galaxy J7 2016
When i ran this on the Django github to create DjangoJS it didn't work, any ideas?
Wasn't that the entire purpose and function (practically) of TrueCrypt's hidden volumes?
Microsoft is also adding adblocking to Edge, which makes you wonder if the sites that rely on ads for finance their operation is designing a "Plan B". Granted it's not the two biggest browsers, and Google isn't likely to add ad blocking to Chrome, but still the it must make some sites rethink their business plan.
The exception list now contains only four websites that offer a very good experience to their users with ads on.

They say that now, but what about a year from now? Look at the scandal around the original Adblock extension. Everyone wants to maintain their own whitelist. I suppose this is the new monetization strategy? Pay us to whitelist you?
My experience with a Chinese fab was different: I got all the PCBs shorted, and because they were quite cheap their customer support was good enough to never admit that the problem was on their side, so I didn't bother because... it was a really cheap one off.

I suspect the problem was with their support of the Gerber files generated by KiCad, but I don't know for sure.

I used OSHPark in other cases and, even not being dirty cheap (they're USA based), they're still quite cheap and so far the quality of the boards have been excellent.
MegaMuzz
MegaMuzz is powerful, multipurpose CRM platform that allows you to run Email Marketing drawings. These fun drawings are great marketing tools designed to capture many new leads, engage subscribers, greatly increase traffic on a website or blog, and drive in more business. MegaMuzz Q-Draw is perfectly geared towards any small to medium sized business, primarily offering a physical product or service. MegaMuzz is fun to use and very easy to set up. Give it a try and see how many new subscribers you can capture!

https://www.megamuzz.com
DevOps Initiative Starter Guide 101
> Anyone who downvotes replies like this is displaying ignorance of Microsoft's pattern of behavior through their entire history.

And you, like many people are overplaying the power Microsoft has in order to play your own game of FUD. They has a lot less power than you realize. How can they even possible extinguish Linux? Even if they somehow make gov't all over the world use Windows server, that won't stop individuals and organizations from using Apache and nginx. Their own compiler for .NET is Apache 2.0 License. What are they going to do? Exercise some copyright law?
No one in the US can hold copyrights to the pure 'facts', especially if one demonstrates they invested enough energy to 'creatively reinterpret' it. Scraping hasn't quite seen a Supreme Court ruling yet (@grellas correct me, please), but I'm sure one could make a reasonable argument that the energy invested in re-collating the data is sufficient enough to pass any barrier. See Feist Publications, Inc., v. Rural Telephone Service Co, 1991. and O'Connors opinion.
> If you're just starting a project out, you have to decided whether it's worth an extra X hours/days/weeks for any given bit of technical improvement

The thing is, PE is all about creating a workable, universal baseline that can be enhanced. It is a Minimum Viable Product. If you don't know if your product is, at its core, fulfilling a need, why spend the extra time making it fancy?

> Where I cut off my robustness work depends on the nature of the project, but every project has some point at which you'd improve user experience more by adding a feature than improving performance. For an early prototype, that point may be quite soon.

A prototype is naturally a quickly assembled thing (often held together by chicken wire and duct tape) that you use to test the viability of an idea. Build prototypes however you want. Of course I'd argue that a bare-bones MVP would be the cheapest way to test an idea, but it doesn't really matter. A prototype should never be your production product unless you know it to be robust though. You should expect to rewrite most of your prototype in order to make it production ready. Unless you follow PE, of course, in which case you should have a solid, usable baseline that you can enhance into your amazing final product.

> I think the author is aware of this, but there are many apps which just don't fit particularly well into a document. It's not clear whether the author really thinks all such apps are trivial (eg detecting your dog's age), but I'd argue there are plenty of substantial apps that don't fit that model well, and benefit substantially from being a full-on js-heavy web app.

I would counter-argue that we naturally gravitate toward doing stuff that's fun for us or gives us the opportunity to show off our skills. We over complicate things because we like challenges. Take the "dog age" example. An MVP would be uploading a photo and having the age guessing take place on the server side. One enhancement would do that via Ajax, another would add tap getUserMedia if it's available. In the end, the product works no matter what. There are very few "apps" that would not work in a PE scenario; it's all in how you look at them. The problems we are solving today on the Web are not new problems.

For a great, brief talk on these topics, watch Adam Silver discuss at EnhanceConf: http://m.youtube.com/watch?v=UlzG6-fI00g
I swear someday someone will write a blog post titled: "Controlled mutation of state variables in a purely functional paradigm: a syntactic approach."

And just after that we will rediscover GOTO.
Products like this are great. Just like those stupid magnetic bracelets, they signal to me that the wearer is impulsive and lacks critical thinking skills.
They need to clean up their menu a little. Why is there the News, History and Speed Dial option in there if I already have them on each new tab?

Otherwise I love this new feature and that they adopted CT, but I think I speak for many people when I say that I'm a little worried about the trustworthiness of their new Chinese owners.

A quick Google search about them doesn't inspire confidence:

http://www.pcworld.com/article/2919554/tencent-qihoo-antimal...

EDIT: Did a few tests on several websites. It seems for those that those that are lighter on ads like WashingtonPost, it can make the loading time 15-30% faster, while for the heavier ones like iMore, TheVerge, BusinessInsider, it's 50-75% (depending on the ads they show at the time, I assume). The heavier ones would even take over 30 seconds to load without ad-blocking. I'd say for most sites you should see a ~50% faster loading with this enabled.

I hope they include tracking-protection option as well in the future, as Firefox did. Then those features need to come to mobile, too. I don't think Firefox has implemented TP on mobile either yet.
Companies Are Falling Short in Meeting Consumer Mobile Expectations
Very cool. You might consider adding a short (a few ms is enough) fade in/out when toggling notes to avoid clickiness.
iOS 9.3 browser bug puts the spotlight on Apple's restrictions
Chances are this does not affect you:

Delayed sleep phase is extreme. Less than 1 percent of the population has it.
I think he means no cash. And in China people usually don't need to call for cab service. It is more like NY style, you stand on the curbside wait for one
I agree that society should become more accepting of late sleepers. This would also have practical advantages, e.g. a more equal distribution of commuter travel. In London, everyone seems to work from 9 to 6pm, with predictable traffic chaos at peak hours.
Seems to be the same way that other countries get people to turn on their own in espionage. First ask for something small and insignificant, then increase the scale and scope of the item bit by bit until "giving away top secret information" is not really seen as a large step.
Dan Price’s underground home, art and philosophy on $5,000/year
> I haven't had a whole heap but had always assumed that it was a two way street.

It absolutely is a two-way street, as you describe. When I go on interviews, I get into the mindset that I should interview them as much as they interview me. It's actually saved me from taking on a couple of bad roles.
Have you ever used DipTrace?
Anyone here use expresspcb.com and their own software? I've tinkered with Eagle and considered KiCAD but I am intrigued by the co with the software built into their design process.
> good battery life

What? The M3800 had terrible battery life under Windows and it was even worse under Linux.
A few days ago someone here said something like "design things to work even when things are broken."

I'm guessing humans have evolved to "work" even when our uniquely intelligent brains combine with our opposable thumbs to fuck things up.

Any intelligent species can make a mistake, but it takes a human to really fuck things up.
Why man has nipples if he does not breast feed?
> Depends what kind of info you're looking for.

Of course. However, the simple-minded truism that you can find obscure technical information in obscure places doesn't make YouTube or Stack Exchange a replacement for the New York Times, which is actually kind of the like the main point, you know? ;-)

> And in gaming... well, the 'professional' journalism is terrible quality to begin with. The only sites that cover anything remotely interesting are fan or volunteer run, and the most interesting sources for gaming related media are indeed social media sites

So Edge was never interesting and Stuart Dredge is wasting his time on the Guardian....
Funny how this seems to be the first thing in the refugee crisis that reunites the right and left-wing bandwagons. Even if the right-wing wagon should support Erdogan but they can't since he's turkish/muslim/whatever.

Böhmermann killed that freedom today with his song though ;)
I'm guessing a better word for this would be "xenophobia".
That's plenty of time to build and launch a new SaaS product and get your first paying customers. You'll learn a lot more doing that than you could from 4 months of reading books.
Using one anecdotal experience as proof is not the exact opposite of a strawman.

Similarly: "That one hour you “saved” by not writing tests will cost you five hours of tracking down a nasty bug in production, and five hours more when your “hotfix” causes a new bug."

These numbers don't line up with any experience I've ever had. In my opinion the value of testing should stand on its own without having to exaggerate.
Building a 360° video live streaming system
Rubio really didn't want to go to Minnesota, either, and yet they picked him.
>Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....

As a feature no, but Python code using that could be easily transpiled to a function taking a dict with the args...
Psst Downloading Isn't Stealing [for Today]
That's exactly how I found him. Now any time I'm in a used bookstore I look for something of his I don't own.
IMO it's a difference worth mentioning when pachinko is a big enough addiction there to make $187B in 2014 (vs US casinos $65.6B) and cause child deaths (while I was there, maybe is better now)

https://news.google.com/newspapers?nid=1370&dat=19960702&id=...

I get a different sense of lucre when I hear "left the pinball industry for better margins" (pocket change gaming) vs left the gambling industry (life savings gaming)
We will really only know if they release what they did. My assumption is that it will not work with iPhone 5S and later.
I remember when they wrote a great URL blocker which was blazingly fast and very easy for the user to edit and came with zero opinions.

It was built in the browser's engine core, had some UI elements to help add or remove things quickly, but at the end of the day was just a text file in your profile.

I remember it because it's what Opera 12 has, which is still my main browser to this day.

Edit:

!!!

As https://news.ycombinator.com/item?id=11397230 points out, this new ad blocker is even worse than anyone could think: It has literally no user interaction, except from adding websites to a whitelist. Other than the whitelist it has exactly two settings: On / Off

If it's blocking something on a website where you don't want it to block, but also want to block ads? Tough luck. If you're on a website where it's failing to block something you want blocked? Tough luck. If you want to block something that's not an ad? Tough luck.

It's depressing how far Opera ASA has fallen.
XAML was reimplemented in C++ and now renders with DirectComposition instead of Milcore. It's much faster now and far more capable.

You can also now use it with both native C++ and C# thanks to WinRT.
Whoops :( you're probably right.
How do you know they didn't crack it with alien technology from Area 51?
Crapturtles all the way down.
I switched from Firefox to Opera on Linux. Opera is faster (especially cold start), has great support for high resolution screens, support for touch input, access to Chrome extensions and built in flash. The best browser for Linux IMHO.
To be fair, the authors of frameworks probably know more about security than your average user of the framework. The first time I heard of CSFR was when I couldn't get my Django forms working and had to read up on why.
Here's the same thing in Haskell, using Parsec

stmt = fmap (++ ";") expr
expr = call <|> lit
call = fmap
(\(fn:args) -> fn ++ "(" ++ intercalate "," args ++ ")")
(between (str "(" >> spaces) (str ")" >> spaces) (many1 expr))
lit = (many1 digit <|> many1 letter) <* spaces
Yep. There's What A Terrible Failure exception in the Android codebase (i.e. "throw wtf"). http://developer.android.com/reference/android/util/Log.html...

My code made the Android OS throw this once. Not a terribly useful error to resolve.

Edit: My mistake. I misremembered. It's a logging function. I should have actually read the link I provided.
I wonder if there is a way to calculate the denominator for each of those? The proportion would be a much more compelling argument.
> Can a Living Creature Be as Big as a Galaxy?

This can be followed up by an even "crazier" question: If so, is our Galaxy a living creature ?

Going in the other direction, are cells in our bodies "living creatures" ? They sure do exhibit all the qualities of the larger organisms. If that's true, then our body is a conglomerate of 100 trillion living beings locked together in a biological ecosystem, each individual cell or collection of cells having probably no concept of the larger system they are part of.

So then we (our bodies and other animals) could also be locked together in a biological ecosystem (The Earth) and we would be oblivious of the fact by default.

Is Earth a "living creature" ? The "overview effect" that astronauts report upon seeing the Earth from orbit seems to be related to exactly this realization - that the planet is one big living organism. There's a fantastic short documentary about this - https://vimeo.com/55073825

We are just beginning to see the complex interconnection of things and beings in the biosphere so there's a lot of circumstantial evidence that the planet might be a huge living organism - not quite fits in our definition of "organism", but then it might mean that our definition is a bit too narrow.

Ancient shamans and the modern day "psychonauts" repot the same "overview effect" after tripping on various psychedelic plants and fungi - that everything is alive, including the planet, the stars and so on.

The idea of a "soul" - as the differentiating property of living things - has been around since .. forever.
And if we touch the idea of soul, then we're entering the realm of the Holy and the idea of God.

If all living beings have "souls" and if the Galaxy is a living being that it results that it too has soul. Interestingly that it's the "soul" that allows us to "grasp" the "being part of" thing.. So if cells have souls, they feel Us with it, if the Planet has soul, we feel it with our souls and so on...

Oh well, this is a infinitely long discussion, so I'll just pause here and contemplate on some C++ code :)
Are they? https://bgr.com/2015/09/17/nintendo-youtube-copyright-takedo...
Touchscreens are a BS feature for laptops. Our hands where not made to be used a pointers held at those angles. Nobody uses their Wintel laptops that way either, even when they have the feature.

Now if you're talking about detachable screens, that could be the case. But there are tablets for that, that are even more convenient and specialized to long term use in that way.
Netpbm: https://en.wikipedia.org/wiki/Netpbm
There are some mathematical reasons.

In particular, the two most consonant (best-sounding) intervals are the octave and the fifth. The frequencies of the two pitches in an octave have a ratio of 2.0, and the frequencies of the two pitches in a pure fifth have a ratio of 1.5.

We would like the pitches we obtain from powers of these two ratios (stacking these intervals on top of each other) to be the same. However, since the integers are a unique factorization domain, they will never be (except for 2^0 = 1 = 1.5^0, of course). [1]

Thus, we pick powers of the two that are 'close enough' and call those the same pitch. The following Python (3) code subtracts the log-base-two of the powers of 1.5 from the integer they round to in order to find the closest ones:

from math import log

fifth = log(3/2, 2.0)

print(0, 0.0)

minDist = 0.08
for i in range(1,100):
pow = i* fifth;
dist = abs(pow - round(pow))
if dist < minDist:
minDist = dist
print(i, pow, dist)

This has output:

0 0.0
5 2.924812503605781 0.07518749639421918
12 7.019550008653875 0.019550008653874684
41 23.983462529567404 0.01653747043259557
53 31.003012538221277 0.003012538221277339

From this, you can see that 12 is the closest that the powers of 2.0 and of 1.5 come being equal until 41. This is a primary reason why we use a chromatic scale with 12 notes.

(As an aside, a scale with 5 notes is also common around the world, called the pentatonic scale [2])

[1] For an explanation of this, see http://blogs.scientificamerican.com/roots-of-unity/the-sadde...

[2] https://en.wikipedia.org/wiki/Pentatonic_scale
no edit button for some reason....