skysight-inc/HackerNews huggingface dataset:
> You can roll your own - if there is no code you do not control that takes a string.

You can roll your own for the standard String too, through the bootstrap class loader.

Although I don't know how many assumptions about the internals of the string class are baked into the JVM. But I think you could replace substring() relatively safely.
Not sure if there are books specific on that. I picked it up as part of Six Sigma training.

The concept is you list all the possible failure modes in one column, then score the severity (1-10, 10 most severe), occurrence probability (1-10, 10 highest probability), and detection probability (1-10, 10=lowest probability) in other columns. Multiply those to rank the risks and then list out ways to improve or fix the risk, etc.

A software angle would be listing ways your application would fail, or go down to lower level components inside the app.

A tricky concept with the scoring is the detection piece. If you don't have a good way to detect the failure then it ends up being really high ranking. I typically used 1,5,10 for the scores since ending up in a debate about is it a 6 or 7 or 8 is a waste of time.

Once you work on improvements for a failure mode, like additional logging for an NullPointerException, then adjust the scores.

If you are doing TDD, this would be a good way to identify areas to build testing coverage.
My company cannot afford benefits at the moment. It may one day, but not today. I very much like its existence.

It should not be a company's job to take care of an employees general welfare. Other developed countries seem to have a more elegant solution to this issue...
I don't use Docker, although I don't have a need for it.

As a solo coder, I love vagrant - the whole nature that you can use a configuration file with a script or two to build out an entire VM has so many benefits. Less time to build the VM, easily destroy the entire VM, easily rebuild the entire VM, save drive space by destroying the VM when you don't need it, keep the VM configuration in a git repo, distribute the configuration to someone else to use, and the best is having all the steps used to configure the VM are documented in the config file and scripts.
But that angle of attack only works if they target you from the moment you first install the app. It would be much easier to just push a modified Google application update to your phone if that is what they wanted.

What it boils down to is that with the Play store, you can be sure that you're not getting malicious updates from some intermediary, as each developer signs their own APKs, and Google doesn't have the keys. Whereas if f-droid is compromised, all applications they build are compromised. That's a much greater risk.
Yazing Beta – Advice Requested
We just released our first MVP of our new platform that enables anyone to easily earn cash rewards on their brand recommendations.

Any and all feedback, advice and suggestions would be appreciated.

Yazing.com

Thanks,

Adam
Parsing usernames in LaTeX could lead to abuse/annoyance. Very cool project.
Looks like they are trying to exhaust all possible bad ideas, before picking the solution that works.

I expect that they don't even know what works yet, because NIH and "it didn't exist in the 1970ies".
Flattening identical versions reduces the size/expense, but it doesn't really help if all libraries have slightly differently versioned dependencies. That is common, in particular if people depend on exact versions.
IMHO since 9/11, the situation is going downwards. just because we have potential for more destruction than there is currently being done, I wouldn't call it a success and happy peaceful times. maybe that's an US view, far removed from all the mess you guys are creating daily
I think you would be surprised to know a lot of the bigger FPGAs work exactly like that

You usually need a serial flash with the data, or load it on device boot (no persistent memory)
Absolutely, my critique was just about recursive vendoring.
On a Mac or Windows machine you're using Docker with Vagrant via Boot2Docker anyway.

A lot of people us both http://docs.vagrantup.com/v2/provisioning/docker.html

That's actually the only thing that got me to hold off on Docker the last 2 times I've evaluated it. I was able to get everything running for a 1 monolith + 7 microservice system that I work with but the local developer workflow felt very clunky even with Fig. That was 6 months ago and it's my understanding there have been a lot of improvements.

That project was for a Ruby team and there are so many Ruby based tools that make the local development workflow a smooth operation that shoehorning Docker in locally would have been a step back, so we held off on it.

It's an area that I think will see major improvement though. Heroku's even gotten in on it.

https://devcenter.heroku.com/articles/introduction-local-dev...

Which is really impressive to me. If anybody in the space can polish out the user experience, it's Heroku.
Indeed. I'm also interested in learning about these mythical non-california places.
It was a conspiracy.

The evidence means it isn't a theory.
Question: What's the most important algorithmic technique?

Answer: Understand the problem domain better.
Is that a setting? I use TextSecure, and when my data cuts out, it simply fails to send the message and tells me. Every message I've ever sent (that I can quickly see) has the padlock icon next to it, which I'm assuming guarantees it was encrypted.
Instead of 30?
No, it typically costs a lot to do one-off pcbs. Even through a batching service (where you share a large panel with other people), they'll still usually make you pay for a few of them.
Also, all of the components are going to cost way more if you just want to buy one of each. Headers are tenths of a cent per pin but from digikey you'll probably have to buy a strip for a dollar or so. Likewise with crystals, vregs and caps.
It's definitely a huge shift, but I think most would agree that the waning of the idea of American exceptionalism comes down to life in the rest of the world getting better, not life in the US getting worse.

The rest of the modern world spent half the past century coming back from the brink after two world wars that left American lands almost entirely untouched. The US had a head start with modern innovation and prosperity but the rest of the world has caught up. Who cares about which arbitrarily defined nation state is "best"? It'sbecoming a great time to be alive in places all over the world, and that's a good thing.

I don't think America is the greatest country in the world, but I don't think any other country truly deserves that title either. It's kind of an antiquated concept really, given how interconnected and global everything has become.
...or the SmartMaker scam by Harold F. Timmis and Dimitri Albino, which kickstarter and indiegogo didn't stop. (1,2)

[1] http://kicksucker2013.blogspot.com/2014/09/be-maker-smartmak...
[2] http://www.mathias-wilhelm.de/arduino/reviews/smartmaker/
> Neither you nor the author explain how patriotism is linked to power

It's linked to the people in power, no? A population that's highly patriotic and supportive of the country they live in are more likely to go along with whatever the leaders of the country do. Like root out people with communist ideas or supposed Japanese spies (and put them in big old camps). Hitler was an expert at stoking the patriotic fires and this helped in immeasurably at the start.

A disenfranchised populous is unlikely to follow their leaders to war and be far more critical (and vocal) about their policies.
> This is the reason I don't watch documentaries on modern "issues". The story presented is all very manipulated and you're certain to get an incorrect set of evidence.

That's true of essentially any source but I don't know that becoming ignorant of anything that happened during your lifetime is the right answer.
Had the joy of running Irix DOOM on a 16-processor Onyx which was, for the time, amazing. Over 180 FPS for software-rendered 3D stretched over 3 monitors was just glorious.
Wow, I did not think that copyright law could get worse than in the United States.

Thinking in US terms, it sounds like the argument that if you take a picture of your kids with a building in the background, the picture is a derivative work of the building's architect. Madness.
Right, but be careful with that line of thinking. In terms of cents of economic damage per km driven, yes, gas cars are better driven in the boonies; but watch out! That isn't where most people are driving. Most people are driving around cities. So this map makes it look like electric cars and gas cars are more toe-to-toe than they are.

And really, most of the dirtiest coal power plants are nearing end of life, so if you look at the trending, even in the USA, which has a very dirty energy grid, electric cars are going to be much less pollutant than gas cars everywhere and very soon.

Also note that the car in question, the Ford Focus, is one of the least pollutant gasoline cars out there. Electric cars scale up better than gasoline ones.
Does Software Foundations assume a less or more advanced background from its readers?
UK to ban WhatsApp under 'snoopers charter' law
Well...

React is just a view layer; it's a way of turning data into DOM nodes. It works fine, and it's a pretty good way of doing so, although it's fairly weak for, say, making a bunch of basic CRUD forms, but very good for making little widgets. Bonus: It's very very composable. And you can make cool things—even those CRUD forms that otherwise seem daunting—by composing components and wrapping it up into a simple <Widget data={data} conf={conf}/> tag.

Strengths of React: declarative, kind of functional-ish, works well with immutable data. If you do it right, your React code is basically just a bunch of pure functions which accept data and turn it into DOM nodes; that makes it easy to reason about, easy to test, east to compose. If you ever look at your app and it looks wrong, troubleshooting it is easy. Put a console.log statement at the top of your render function to print out your props. If it's not run, your render function isn't being called. If it's run with the wrong arguments, a parent is passing in the wrong props. If it's being run with the right props but still looks wrong, you have an error in your render code, fix that.

Even a very, very complex React app boils down to the same reductive approach; start at the top of the tree and follow the data down until you hit the error. Debugging a complex Backbone app, in contrast, can be much more exciting in my experience.

But again, just a view layer. Comparing it to Angular is a bit like comparing Angular to Handlebars. :) You need a lot more to write a real app. Now you can try and hook it up to a Backbone router and Backbone models, but eww, don't do that. Or you can go the Om/Omniscient route with cursors and such. Or, yes, flux.

Flux is a really good pattern too. Redux is probably my choice for top two favourite flux implementations right now, but it's changing fast, still pretty beta, very poorly documented, and definitely aimed at people who already know flux.

I'd actually recommend you look at Marty or Alt. I think Alt might be slightly the better library, but Marty probably has the edge on documentation. Both are very similar and, as a bonus, are in the process of merging. Either would probably be a better choice than Redux if you're new to Flux in general. (I'm using Marty in a project at the moment, and found the documentation pretty helpful.)

I'd also recommend this blog post:
http://www.toptal.com/react/navigating-the-react-ecosystem

The Reactiflux community on Slack is also really helpful.
Nice, in that case, I might advocate for either somefunc or a function in front of it taking somevar, othervar and i as parameters with early return statements before falling through to the work.. returning a boolean for if they passed through...

I've seen far, far, far worse...
> complicated nodejs pipeline in order to make scripts run in the browser now?

Huh? Babel plugs into whatever build pipeline you already have be it webpack, gulp, etc... You also get the benefits of being able to use ES6 today which has tons of great features.
I think a successful kickstarter to trigger funding is better than a fully funded product which has a kickstarter as a launch. The latter isn't really "fundraising" at all and so seems to stray from the KS mission.
The better joke might be that they found them to be ineffective.
Would be nice if an error is thrown when the LaTeX can't be parsed instead of just printing whatever TeX-foo you've written down.

Also, I'd like to see Tikz and pgfplots support :)
Germany moves toward calling the Namibian massacre genocide
I really wish people would explain why they downvoted me on hackernews. Its not that I really care about the points its that I want to know what I did wrong. Like if I accidentally offended someone or it just wasn't an interesting comment or observation or that it is completely wrong statement.

Your response is excellent anatoly and I appreciate it.
Magic cards generated by a deep RNN
You can find lots of people after the Great Depression and the various responses arguing that the economic debates were settled and nobody would ever argue for unfettered investment banks and the like ever again. Meanwhile we got Alan Greenspan.
no need for crystal, 10khz and 48mhz internal oscillator, and I do have some solution for the OTP use. Its a dowside, but it still amazing pastard. And yes AVR core fits nicely, I have done, and will port the old code from ice65 to iceultra. Yes volume pricing is below 1USD, and YES I have done commercial products with microcontroller with wholesale below 3 usd.. cheers Antti
Also, power stations tend to have large stacks that try and direct the pollution into the atmopshere where it can disperse over a wide area. In comparison fossil fuel vehicles tend to have small exhaust pipes that can lead to high levels of localised exposure to toxic/carcinogenic substances.
The optimizations themselves are pretty domain-specific, but the techniques used to instrument and modify the target program are - as you yourself point out in another comment - pretty widely applicable. That's where the real innovation lies.
We do something similar (though Ubuntu not CoreOS). The obvious advantage is you get to leverage all the work you did setting up docker for deployment and you have a development env that much more closely matches production.

The downside is it feels like a lot of layers of abstraction. And I haven't quite figured out the right way to hook up e.g. the PyCharm debugger to a python interpreter running in a container that's running inside a VM.
But it will support 32GB of ECC ram and more than two simultaneous processes. ;-)
This makes no sense to me as an American. Copyright is about the right to publish an original work. And buildings aren't published, they are built! They're standing right there!

Maybe if someone was trying to build an exact duplicate of an original building, this would make sense. But if you're photographing a public place, you're not re-"publishing" the building.
I know you're joking, but the reality is that software has been replacing huge chunks of developers' work for years, whether through optimising compilers, common libraries, CI/CD tools, web APIs, IDEs or whatever.

I've been involved in development for over quarter of a century. Back in the late 80s, we had a dev team dedicated for years building some mapping software. Their entire product could probably be put together in a couple of hours using Google Maps and a bit of JavaScript.

All this automation has happened, yet I see no slowdown in the amount of development that still happens. They can just concentrate on more bespoke, more value-adding work these days.
And what about the article's argument about passing in 0, which is falsey?
I recently switched to using both, docker running in a Vagrant VM. I've had several frustrating issues with boot2docker on OSX, it's generally just been less stable for me than Vagrant.

In terms of using docker, IMO it's the best development experience I've come across once you get everything set up. It can be confusing to get your workflow set up at first, and it seems like everyone does it a little differently, I'm hoping that best practices will standardize a bit as docker continues to mature.

I love having every part of an app (app code, split into a few microservices if you wish, postgres, redis, rabbitmq, etc.) completely isolated, and docker-compose is a great system for linking things together. I also currently don't have any puppet/chef/etc code and love not having to maintain that, in my mind a large part of the need for configuration management tools is dealing with the complexity of diffing two arbitrary states of infrastructure, and with the immuatable approach of docker containers all that complexity disappears.
Codecanyon is down
I feel like its about time Lattice got some attention. Their development environment is way nicer for enthusiasts and it's usually pretty easy to use their stuff in projects. Xilinx by comparison only has free IDE support for some mid range SOCs (Zynq-7000) which tend to cost a lot on their own and the IDE is a living nightmare to use.
I think you might have it backwards.

Legitimately manufactured ketamine is typically in sterile saline solution at a fixed quantity per dose. This is because the usual medical route of administration is intra-muscular or intravenous injection.

For recreational use, (afaik) the majority is insufflated, or snorted. For this you need the dry, crystallised form.

You can either purchase it as crystal from your friendly neighbourhood drug dealer, or they may be able to supply you with vials diverted from veterinary or medical suppliers. To get this to a powder, you boil off the water "Cooking" and are left with a mixture of ketamine and salt.

The 2 biggest problems are trying to either rehydrate crystal powder for injection (because ensuring sterility and consistent dosage is hard), and that crystals are much easier to cut with other ingredients (because the legit. vials usually have tamperproof seals like other legitimate drugs).

The other point is that most people won't be injecting it right from the beginning. Only once they become tolerant and require high doses does the appeal of IM/IV's increased 'efficiency' (bioavailability) tend to override the common wisdom of not sticking needles in oneself.

From what I recall, most of the research has shown that long-term administration of high doses is where the damage is predominantly done, and even very high doses (1000mg would be a plausible dose for 'short term surgical anesthesia (15-25 mins) of an 80kg adult), if given very rarely, are not likely to cause harm.

But injecting that sort of quantity, multiple times a day, for weeks or months, is absolutely going to lead to problems, and even more of them if you're getting impurities or bacteria/spores along due to contamination.
Subjugation is more profitable than total annihilation.
Thanks, this link is much easier to consume, and the original photos have even more resolution.
How would you provision the Vagrant box? I would think you'd want to avoid having some Dockerfiles for setting up production servers and some completely different provisioner for setting up development in Vagrant.
The use of the iCE40 family is exciting because there's a fully open source verilog to bitstream synthesis toolchain for the iCE40HX1K.

https://github.com/cseed/arachne-pnr

http://www.clifford.at/icestorm/
Competition would drive down prices.

I not sure that's true. The equilibrium price could actually be higher than where the market rate is now. Uber, Lyft, etc are subsidising their products with massive amounts of venture money in order to increase their market share - if they were removed from the equation it's entirely possible that drivers would get a higher fare and the cut Uber takes.
All my kittens are dead.
But at least this time they announced it ahead of time?
>american trademarks are on the base of "protect it or lose it" //

Pertinent to the supposed "failure to police" please cite where that is in the USC, thanks.

You have a trademark by virtue of use. You have a registered trademark by virtue of paying for the registration and continued payment of renewal fees.

>To help avoid such adverse consequences, the trademark owner should police its mark by enforcing [...] While some courts have determined that a trademark owner need not necessarily prosecute every infringing third-party use of its mark, such third-party uses can still affect the distinctiveness of the mark in the mind of the public. [...]

Sounds like they think you should rather than they determine that there's an actual "failure to police" clause in the USC.

An additional aspect is that you can offer a license to any user you come across. So if "failure to police" were true you still would not need to prosecute people for infringements in order to retain the mark provided they agreed to your [as liberal as you like] license terms.
Forcing me to click around 3+ times to even find out what this is about makes me regret clicking on the link. I suspect if I were the average user I would have clicked back on the landing page.
Yep. These bacteria are well known for causing measles after a six-decade incubation period.
Seems to work pretty well after messing about on ?HN, lotsa people testing bad LaTeX though.
> "POLICE.arrest(getAddress(badClient))"

If only
And if this is a problem, why aren't other countries taking up the role?
If it's not an iPhone, it's not an iPhone
I remember the first PLD I used had 32 macrocells (in about 1991/1992). I could just about fit a single, simple state machine on it for talking to the VME bus.
tax-loss harvesting is particularly valuable when combined with charitable giving.. the usual harvesting dynamic is that you are trading a deduction now for a larger gain-liability later, but in the case of charitable giving of appreciated stock there is no liability down the road but you get to keep the deduction-now.
Copyrights aren't natural rights, they are limited government monopolies created for the purpose of encouraging creative and commercial activity. They make sense in publishing because it is easy for other publishers to pirate and profit from original work.

But is it actually the case that the copying of architectural designs—that is, the exact reproduction of original buildings—is such a big problem in Europe that this kind of government intervention is necessary?
This is a cool project. Recently, I have had to teach a High School kid some basic science using Whatsapp and found it lacking. Searching on the app stores for a messaging app with Latex support yielded nothing. Already gearing up to roll up my sleeves and build one.
The author is leaving out the fact that the big fish are eating the small fish in acquisitions.
FFS. Any encryption scheme can be applied to imagery. AES is approved by the NSA. Does that mean childporn collectors are thanking the NSA too?
"Growing up in Illinois filled me with such a longing to escape that it's hard to imagine someone wanting to live here. [...] The passengers have the haunted, vacant look of people who have just taken an Illinois road trip. [...]"

Hmm. I heard from another native about the snow pile in the mall parking lot being the tallest hill for many miles around, but he did not seem too fazed by that.

"If you enjoyed this post, send me to Antarctica!"

That seems a bit harsh.

(OK, OK, the funding includes a return trip.)

P.S.
Was puzzled by 'our front passenger points at a row of low hills and says, with a big smile on her face, “Karsty!”. The car shakes with laughter.'; a search found me this: https://en.wikipedia.org/wiki/Karst , which I suppose will have to do.
I use vagrant to run a multi-vm hadoop cluster for testing.
5USD is doable ball-park figure. Doable price even if using our own in-house manufacturing in Germany. Volume production in Asia can be way below of course.
Clickable link http://mlist.io
Great stuff!

Some feature request:
a) allow ignoring users
b) allow UTF-8 in usernames