skysight-inc/HackerNews huggingface dataset:
Show HN: Little Finger, a library to add a kill switch to your mobile apps
Yeah I also kind of thought this was fake. Could be real but...
> I'm even inclined to wonder if the question of "will the humans try to deactivate me for doing this?" might be a close enough analog for "is this in line with human morals?".

The problem with that statement, of course, is that the very next question it asks will be "Or can I stop them?"

That may take the form of convincing arguments, brute force or something we've never thought of yet, but the only way to avoid it is to prevent the AI from wanting to do anything we don't want it to.

Which is a much harder problem.
RIP Jack O'Neill
I'm aware, it's been mistaken for a butterfly (mostly my friends teasing me) a few times so I've somewhat owned the joke now.

This is more representative: https://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Ac...
Because I can use them to buy something in the arcade, at a price I can check for reasonability beforehand.

What can I buy using the Basic Attention Token? And at what price?
I also have this problem with the "where's your pull request" trend lately. Yes, I use open source project X. When I detect a bug, I'll definitely try to isolate the cause and reduce it to a minimum, and then log a Github issue with clear instructions on how to reproduce it. As a developer, I feel that this is massively helpful; if only the bug reports I get in my professional life were like this, instead of "yeah, there was an error - I have no idea how".

But no, I'm not going to put in 30+ hours to download, build and try to figure out where the bug is in the actual code. There are people who are in a better position to do that. If everyone who has a car problem had to submit a diagram to the factory on how they would change the car's design, we'd all be spending a lot of time doing stuff we're not good at.
Underlying paper with all of the tech details: https://seaglass-web.s3.amazonaws.com/SeaGlass___PETS_2017.p...

And the web site with all of the software: https://seaglass.cs.washington.edu/ (most interesting section: algorithms)
Not today, but well, is he wrong?

Some time ago, I might have said so. I'm far less certain recently.
> When you have a portfolio approach to your investment thesis, there is almost no incentive to help your portfolio companies when times are bad

Instead of "portfolio" I think you mean "diversified" or even "scattershot". Such "spray and pray" types are too widely invested to devote meaningful time to their portfolio companies. (Notable exception: Y Combinator.) There's nothing wrong with this. They're taking a thematic approach and can be a good source of capital (and market intel). But they won't devote a partner to helping you pivot.

In contrast, the "concentrated" player takes a few, deep bets. This is a more orthodox approach. You'll get more attention, including when you're down. You'll also get more when the investment is being considered. That means deeper due diligence and, in all likelihood, a stronger negotiation around terms.

Knowing when to fold is also material. If a founder is intransigent, a savvy investor should know to cut their losses and hope for the best.
This is great. Along similar lines, "Foundations of Network Programming" by Brandon Rhodes (and originally John Goerzen) is fantastic (and not just for python programmers as the python API is a pretty transparent wrapper over POSIX APIs).
This is known as a "CEO" on the non-startup world.
And put a firewall between your dev machines and your production database. All production database tasks need to be done by someone who has permission to cross in to the production side -- a dev machine shouldn't be allowed to talk to it.
Reminds me of Charlie Munger's (vice chairman of Berkshire Hathaway) investment philosophy/mantra that "avoiding stupidity is easier than seeking brilliance".
Is koolhydraten eten een crash dieet of doet het gezond afvallen
Name and shame.. The CTO stinks of incompetence, and surprised he/she has managed to retain any competent staff (perhaps he/she actually hasn't). What a douchebag. You are not to blame.
> I don't think it is fair to allow a single jobseeker to break the structure of a union this way

So it's fair to force them to put part of their paycheck towards something they have no interest in using? That's neither ethical nor fair.
Inventor demonstrates 'Iron Man' flying suit in Glasgow
I think in startup land - where devops takes a back seat to product - it's probably very common

Perhaps with hipster databases like MongoDB that are insecure out of the box, but most grown-up, sensible DBs have the concept of read-only users, and also it is trivial to set up such that you can e.g. DELETE data in a table without being able to DROP that table.

I'll wager any startup that does like you say has devs that do SELECT * FROM TABLE; on a 20-col, million+ row table only actually wanting one value from one row, but they filter in their own code... Yes I have seen this more times than I care to count.
This story can't be true. If it is, obviously the junior dev is much better off working elsewhere. Why is this company in business and hiring people?
Learn from the Greek. Use cash.
Barnacles – News for bootstrappers, not VC hackers
While I was able to get all the letters of the secret message, I can't understand how to decrypt it :( if you did, could you give any suggestions? :) Indeed this was fun!
Phone Validator API to Check Numbers and Look Up Carriers
> both of the most widely-used editors (emacs and vim)

https://insights.stackoverflow.com/survey/2017#technology-mo...

If you include full-blown IDEs in your definition of editor (which I think you should), Visual Studio was the most widely used editor among all the 19,772 people that responded to this question in the Stack Overflow Developer survey 2017.

Notepad++ was the second-most popular editor.

Sublime Text was the third-most popular editor.

Vim was the fourth-most popular editor.

Visual Studio Code, IntelliJ, Atom, Eclipse, Android Studio, PHPStorm, Xcode, NetBeans and PyCharm followed.

Emacs was the 14th-most popular editor.
On Albert Einstein
Data.sparkfun.com – a place to push your data
> Is it merely fear of C that keeps so much of the container infrastructure on Go?

Sort of. Go binaries are statically linked by default which is a must in situations where you are e.g. unsure about what libs are available in the current environment. You have to go through a lot of hoops to make sure your C executable is really fully statically linked.
before you have a DBA

You never don't have a DBA. If you don't know who it is, it's you! But there will always, always be someone who is held responsible for the security, integrity and availability of the company's asset.
You are right that this is an opportunity to learn because it is a demonstration of incompetence at many levels. However, this incompetence has consequences that might be fatal for the company. How much time and effort will be required to level up ? As a CEO I would request an independent audit ASAP on this incident and see the real extend of the problem.

As my mother said, if you put a good apple with bad apples, it's not the bad apples that become good.
Most likely something like this. There is probably backup software running but it's either nothing but failed jobs or misconfigured so the backups aren't working correctly.
"It's funny, but when people talk about CEO compensation, they refer to the value created by the company, yet when they talk about e.g. office cleaner compensation, they talk about the market price of labour."

Inasmuch as we are talking about either of them, the discussion of CEO involves fairly high level abstractions about jobs and tasks that most people have never done at a scale they have never done it at. So I think it makes sense that you have a deeper, more abstract discussion of value.

On the other hand, all of us have cleaned an office/room/building. We've all cleaned toilets and vacuumed floors and washed a kitchen. There's no reason for abstraction or analogy or depth - we all know how it works so we can just cut to the chase.
End of road for Nodemailer
Or just type "control" into the start bar. No digging required.
Dupe of https://news.ycombinator.com/item?id=14476421
How to Play "Werewolf" without a Moderator using Mental Poker
This whole ICO affair will not end well. Here is a guy complaining about not being able to buy the BATs at the crowdsale: https://www.reddit.com/r/ethtrader/comments/6efsc8/bat_ico_w... - this is a serious gold rush attitude. Those people don't seem to understand that most (9 for 10 some say) startups fail.

And the tokens they are buying is just a promise - they don't bind the company to do any thing. The company promises to use the BAT token in their future monetization model - but in fact they can pivot at any point, like many (if not most) startup do, and do something else, or maybe even do yet another ICO with another token.
And that is on top of all the problems with crowdfunding - where even if there is a legal binding, and maybe a fractionary ownership - without all the regulations that were invented to protect the investors - the founders/executives still can do anything with the money they received from the funding event: https://medium.com/@zby/the-problem-with-crowdfunding-81b53f...

Update: Even if now most ICO creators are honest - then soon they'll be crowded out by scammers, because honest funders will find other ways to fund their starups - but for scammers it will never be easier than with ICOs.
Story sounds fictional to me.
And at that point you should be happy when others tell you about it, so you can make adjustments.

https://www.youtube.com/watch?v=18y6vteoaQY
We all make this mistake eventually, often in far more spectacular fashion. My lessons learned are

1) Always have a USE statement (or equivalent);

2) Always start UPDATE or DELETE queries by writing them as SELECT;

3) Get in the habit of writing the WHERE clause first;

4) If your SQL authoring environment supports the dangerous and seductive feature where you can select some text in the window and then run only that selected text — beware! and

5) While developing a query to manipulate real data, consider topping the whole thing with BEGIN TRANSACTION (or equivalent), with both COMMIT and ROLLBACK at the end, both commented out (this is the one case where I use the run-selected-area feature: after evaluating results, select either the COMMIT or the ROLLBACK, and run-selected).

Not all of these apply to writing queries that will live in an application, and I don't do all these things all the time — but I try to take this stance when approaching writing meaningful SQL.
Why isn't it currently ready for production use?

ABI stability is the only real issue I can see now.
Author here - Obviously there are a bunch of Keras text classification tutorials out there already, but I tried to take a more practical focus here than what I usually see.

* I use real data instead of the preprocessed IMDB dataset. This makes it easier to adapt to your own text as all the preprocessing code is included

* I explicitly shows how to reuse classifier on new data (most posts I see stop after getting a test set accuracy)

* I explain each piece of code in detail to make it easier to adapt to your own needs instead of treating it as sa black box (corrections welcome, I'm still learning too).

Feedback appreciated!
Tell me about it. Fortunately where I work is sane and reasonable about it.

We have a password sheet. You have to be on the VPN(login/password). Then you can log in. Login/Password(diff from above)/2nd password+OTP. Then a password sheet password.

I'm still rooting out passwords from our repo with goobers putting creds in sourcecode (yeah, not config files....grrrrr). But I attack them as I find them. Ive only found 1 root password for a DB in there... and thankfully changed!
Show HN: TabTrader – Cryptocurrency Trading
Developers are shipping both small and large projects with Swift. You may have a different opinion, for reasons that you haven't stated, but shipping production Swift apps is not an anomaly.
VFsync – secure file synchronization system
Advertisers will buy ads with it. Publishers will collect most of that spend. Users will get some too. The value will fluctuate but all currency does that.
So you want to programmatically edit a config file, preserving formatting and comments, without using regexes, AST visitors, or XSLT? What's left? I seriously don't know of any other ways to manipulate data while preserving formatting and comments.
Hard work, ingenuity and wanting to make life better for our children is what brought us here. You're more than welcome to shun it and not leave this world a slightly better place for your children than it was for you.
You can have more than three tangent circles, but three tangent circles are sufficient to represent an enclosing circle.
That's good because it's the article's own summary. Thanks.
On a technical level, it's easy to see how someone might ship a Kotlin compiler that targets LLVM the same way you can e.g. C# via Xamarin.

Practically, though, any solution like that is going to be a second-class citizen in a world where Apple jumps and you ask how high. Xamarin's a great example here, even if Kotlin might be sexier as a language: there are certainly teams building good native iOS apps using Xamarin / C#, but it's hard to see it ever being anything more than a niche tool.
Interesting and much needed (as far as my experience in freelancing goes).

1. Are you aware of the legality issues that might arise because of this?

2. Is there a working demo for that I can install and check it out?
I'm not sure we're saying the same thing. I'm saying that it is not true that it can only touch three (or four, or any less-than-infinite number of circles). I think you're saying that only three of them are necessary to draw the correct circle.

The analogy would be that any three points on a plane describe both the vertices of exactly one triangle and exactly one circle circumscribing it (your statement) and that an infinite number of circumscribed triangles can be found for any nontrivial circle (my statement).
Exactly, the post is very clichéd. I have about 75% belief that it's fictional. I guess it could be sort of entertaining to see how easy it is to get a few hundred software engineers on reddit and hacker news worked up into a sympathetic and self-righteous frenzy with a simple and entirely fictional paragraph posted for free from a throwaway account.
Depends. Do you make mistakes?

I absolutely do. "Wrong terminal", "Wrong database", etc. mistakes are very easy to make in certain contexts.

The trick is to find circuit-breakers that work for you. Some of the above is probably overkill for one-person shops. You want some sort of safeguard at the same points, but not necessarily the same type.

This doesn't really do it for me, but one person I know uses iTerm configured to change terminal colors depending on machine, EUID, etc. as a way of avoiding mistakes. That works for him. I do tend to place heavier-weight restrictions, because they usually overlap with security and I'm a bit paranoid by nature and prefer explicit rules for these things to looser setups. Also, I don't use RDS.

I'd recommend looking at what sort of mistakes you've made in the past and how to adjust your workflow to add circuit breakers where needed. Then, if you need to, supplement that.

Except for the advice about backups and PITR. Do that. Also, if you're not, use version control for non-DB assets and config!
I agree they waited too long for strict nulls!

However, both features I linked at currently proposed seem to be backwards compatible, so hopefully no switch.
The spelling bee seems to be a phenomenon unique to English because it is entirely dependent on the byzantine (bordering on the perverse) structure of the language.

https://www.quora.com/Are-there-spelling-bees-in-languages-o...
I am obligated, any time these very high historical tax rates are mentioned, to point out that these were very special, very specific actions taken to discourage war profiteering during world war two.

The extremely high marginal rates that did indeed exist were not implemented as part of a tax regime nor were they enacted to redistribute wealth - they were a patriotic wartime measure enacted to ensure nobody got rich on war contracts.

They have almost no relation to our current discussion of tax rates and taxation.
I work on precisely this task for a living
Its fair to say that if you adopted Swift as soon as it was announced you should have expected some pain, especially given all the warnings Apple put out about it.

I think the issue is that for the last year or two all of the tutorial websites and the third party library ecosystem have moved from Objective-C to Swift in a big way. If you are new to iOS development this might lead you to have a false sense of security with regard to the overall stability/quality of the language.

Swift is a lot of fun when it works. I hope this year's WWDC will mark a big turning point for the language. Last year it was pretty painful, especially if you needed to use third party Swift libraries.
I think it's a major predictor for how pleasant it is for anyone to work at the company, and thus a long term morale and hiring issue.

This is the sort of situation that makes for a great conference talk on how companies react to disaster, and how the lessons learned can either set the company up for robust dependable systems or a series of cascading failures.

Unfortunately, the original junior dev was living the failure case. Fortunately, he has learned early in his career that he doesn't want to work for a company that blames the messenger.
Lifetimes are also types, or more specifically, generic type parameters.
Similar solution in Haskell:
http://wall.org/~lewis/2013/10/15/asm-monad.html

It allows to embed 6502 assembly in the Haskell code and use the latter as a macro language.
1. Nope. Should I be worried?

2. I don't have demos. I will link them here soon in few minutes.

EDIT: Demo apps:

1. Android - https://github.com/avinassh/LFDemo-Android

2. iOS - https://github.com/avinassh/LFDemo-iOS
Looks interesting, but I know of people who got burnt by Xively's changes of heart (never mind name) and indeed I did too.

This could be handier if it could be set up to push data through to a longer-term paid medium such as Amazon or even Google Drive with the right credentials.
This is purely the fault of the entire leadership stack.

From Sr dev/lead dev, dev manager, architect, ops stack, all the directors, A/S/VPs, and finally the CTO. You could even blame the CEO for not knowing how to manage or qualify a CTO. Even more embarrassing is if your company is a tech company.

I think a proper due diligence would find the fault in the existing company.

It is not secure to give production access and passwords to a junior dev. And if you do, you put controls in place. I think if there is insurance in place some of the requirements would have to be reasonable access controls.

This company might find itself sued by customers for their prior and obviously premeditated negligence from lack of access controls (the doc, the fact they told you 'how' to handle the doc).
Open source YouTube floating PIP player for Android
What about Anthony Levandowski? He worked for Google for about 10 years, and got $120M.

How many tech people are getting hefty "incentive payments" which we don't even know about, since they don't end up getting sued?
Now that you've named it, this looks way too common.
Take "Avoid incest" for example, this is a human genealogical construct that does not map well to the machine experience. In humans too much inbreeding leads to accumulation of negative traits. In AI this is called over specialization. So, by those metrics, good AI learning systems already avoid that.

>"Do not kill one of your own who did not do something wrong."

Also is a very human subjective experience. We see the individual as the quantum of pain and experience and optimize on that. In the AI world killing off other AI that don't stand out as better than a baseline may be an optimal evolutionary strategy.

Also "Do not steal" is a terrible human morality baseline with a highly subjective gradient. Did you borrow a pen and not give it back, is that not technically theft? Is a business transaction where you used secret information to gain monetary advantage other the other party theft or not?

The problem with your first statement is you assume that human morality is the pinnacle of morality and all other forms will be lesser to that standard. This could lead to significant disruption for humanity of a more efficient or optimized form of morality comes along.
Assessment System for Tests’ Architecture Design- SpecFlow Based Tests
because just about everyone has a smart phone now, and a high percentage of them have an old smart phone (esp in this community). Not everyone has a SDR, which can cost as much as a smart phone. Not everyone wants to build and deploy code vs just download an app. Eg why apple is more popular than linux for desktops. (I use linux).
How McMurdo Station Is Run on the Least Habitable Continent
How to Automatically Skip YouTube Ads on Android Phone Without Root
Then and Now: Legendary Couples from Hollywood
I find that the barrier they present to understanding for people unfamiliar with "geek culture" is elitist and exclusionary. The emotional response they evoke in the viewer is based on, "I know something that other people don't", which doesn't match my experience of actual jokes from comedians.
If someone on their first day of work can do this much damage, what could a disgruntled veteran do? If Snowden has taught us anything, it's that internal threats are just as dangerous as external threats.

This shop sounds like a raging tire fire of negligence.
Great article! But when I saw the New Yorker Url my first reation was - let's see how they are going to make this into something negative about Trump this time. They still live up to my expectations.
This is trivial tho'. Just setup a regular refresh of the dev env via the backup system. Sure it takes longer because you have to read the tapes back but it's worth it for the peace of mind, and it means that every dev knows how to get at the tapes if they need to.
Michael Pollan's less known book, The Botany of Desire, is an excellent read and examines four crops -- one of them the Apple -- that have shaped human history.
See also from 2014 "New Mexico dairy shuts down after undercover activist videotape". A dairy that supplied Leprino was caught on video treating cows horribly. Leprino seems to have responded reasonably.

> On Thursday, Denver-based Leprino Foods, for whom Winchester Dairy was a supplier, announced a program that requires its dairy suppliers and farmers to comply with new company guidelines regarding animal care. Leprino, the world’s largest producer of mozzarella cheese and a supplier to fast-food chains nationwide, has said that it was “extremely repulsed” by the video.

http://www.latimes.com/nation/la-na-dairy-farm-video-2014121...
plot twist: the dev is restored from backups
How To Automatically Skip YouTube Ads On Android Phone Without Root

https://www.earngurus.com/automatically-skip-youtube-ads/
The point still stands if you substitute "both" with "two". I admit that I assumed Emacs and Vim were higher in the "leaderboard" (and I'm not sure StackOverflow is the best place to sample developers) but the point stands regardless.
Discord | Engineers | San Francisco | ONSITE

Discord is increasingly how gamers communicate. We grew from 11 million to 45 million users in less than a year. We have over 9 million daily active users and that number is growing every day. Discord is just 2 years old.

We're hiring pretty much across the board in engineering. Come solve interesting scaling problems. https://discordapp.com/company

Tech: Elixir/Erlang, Python, Go, C++, Javascript, React, Cassandra, GCP

Feel free to message me directly at the email in my profile.