skysight-inc/HackerNews huggingface dataset:
I've been using gettext for a long time, and used to think like you. But I'm slowly changing my mind.

The problem with gettext is that, when you change the English text, it also changes the ID of all translations. Moreover, it's often necessary to complete the English text with a short string describing the context, to avoid any confusion between two identical strings in different contexts (for example "open" can have several meaning).

When you use a "technical" ID for each translation, you don't have these problems anymore. You can fix a typo in the English translation without checking translations marked "fuzzy" in other languages. You can also include some context in the ID.

But the main advantage of using "technical" IDs it that you get a clear separation between the programmer and the product designer. The programmer doesn't need to spend too much time choosing the right wording, and can focus on the code. The product designer can work on the wording independently without bothering the designer.

I note that the approach advocated by gettext is very popular among open source projects. It's not a coincidence. Programmers working on open source projects are usually the ones writing the text displayed in the user interface.

I note that Java and .Net mainly advocate the "technical" ID approach. It's not a coincidence either. In most IT projects, the text displayed in the user interface is not written by the programmer, but by some project manager or some product designer.

It's perfectly possible to have a tool that scans your source code and automatically detects the calls to the translation function, even if you use "technical" IDs. Here is an example: http://glebm.github.io/i18n-tasks/
Yes. You only get the MSDN benefits on annual subscriptions. Plus, the benefit comes with $50/mo in Azure credit, so it can pay for itself and then some.
I just did. Her question was: "what does a space doctor checkup"
https://youtu.be/ydyztGZnbNs?t=421
Congress Says Yes to Space Mining, No to Rocket Regulations
Ask HN: Diverse but unspecialized back end dev; how do I specialize?
Throwaway for job reasons.

I am an experienced backend developer, who has been doing mixed freelance and full-time agency work on the backend (writing APIs, managing servers, log analysis, DB management, etc)

I have a variety of experience: I am very good at python, good at nodeJS, and workable in rails. I use Heroku, gitflow & write solid documentation.

However, in doing job applications I feel...unprepared. Companies seem to ask for me to be incredibly diverse AND specialized: e.g. be a wizard at Chef, know how to manage bare metal and cloud, write in C and RoR, etc etc.

I do not feel qualified in those things, but I do experientially _inclined_ to be, i.e. I am familiar enough that I could learn them or are already quite familiar, but am not "there" yet.

Does this mean:
a) I am not qualified for this job and should find another
b) I am not qualified for this job but should interview anyway, to see how far behind I really am (or how top heavy their job description is)
c) I am qualified for this job, and all jobs assume you don't know everything they want you to
d) hit the shed, learn everything
New York Emacs Meetup
I didn't read anything about poverty. His father owned a restaurant, and they were able to relocate on a whim, so that suggests their circumstances were far from dire.
Nope, actually.
It's a "simple" text editor for coders, like atom and stuff
hi its in beta but for now we offer full support like design and hosting and website design for those looking to start their own site yes
Very true. I couldn't think of a better insult on short notice, so I went with the first one that came to mind.
WCF client is already open. That's a great place to engage.

https://github.com/dotnet/wcf
I like the idea of adding second-factor authentication to your Git credentials. But doing this using OAuth to a cloud service just seems like the wrong approach. Use SSH keys, and then either (a) set a good password on your key, or (b) store the key on a hardware token, like a Yubikey. [1]

I think the big problem here is that they're using HTTP(S) as a transport for Git. And there's just not very many options left for layering on extra security if you do that.

[1]: I'm a big fan of Yubikeys for credential storage. You can put them in PGP Smartcard mode, and then use the PGP key with SSH: https://www.esev.com/blog/post/2015-01-pgp-ssh-key-on-yubike...
we are not self serve like other sites you get a fully custom website a custom site on cratejoy is 2,500 we are doing it for half the cost and in 7 days
No, it hasn't, based on download stats of packages. Guido found this out the hard way when he went to work for Dropbox. They run mostly Python 2.7 code, and now he has to maintain it.

Also, PyPy is 2.7 compatible, although there's a 3.x beta.
I think you're right. Thanks for the advice!
At least in California, you can be fired at any time for any reason. You are essentially on contract whether you know it or not. So whether it's 3 month or 1 year, it really doesn't matter. What matters is if you want to have the job, and if you're qualified for it.

I think it's better if there's a new hire that isn't working out, to just give them some severance pay and fire them quickly. Obviously you should be hiring with good intentions and believe that they will do well after due diligence, so 50/50 isn't a good probability to hire someone, it just causes a lot of disruption and lot of bad will.
Spam Campaign Causes “DDoS” by Googlebot
I remember seeing a retweet in my stream a couple months ago where somebody made the suggestion of not dating blog posts so as to make them seem less ephemeral. I think the logic went that if the writing isn't tied to a single moment in time, then it'll become timeless.

It's one of the more irrational and idiotic suggestions I've ever come across. One of, if not _the_ most important piece of metadata for anything that has or will ever exist is its creation date. In particular for writing, putting it in a historical context usually makes the piece more powerful and increases your understanding of the subject. If it's bad writing then it's not going to have a chance anyway. Sorry to say but that may be true of the post in question. I was under the impression that due to poor Python 3 adoption, Python 2.7 would continue to be supported.

I second OP, please date your blog posts.
And if you love Python, Python Tools for Visual Studio is pretty friggin awesome --even if you are debugging python that is running on a Linux box.

https://www.visualstudio.com/en-us/features/python-vs.aspx

https://github.com/Microsoft/PTVS/releases/v2.2
Thanks for the articles Marcus, they gave me some valuable insights!
Manhattan DA demands Congress require mobile phone backdoors
I'm curious why they don't add SSH support to Visual Studio Team Services then. :)

Edit: Apparently they are. But I still think it would've been better to layer two-factor auth on top of SSH keys, since that can be done securely in a 100% offline manner.

Perhaps it's just a cultural difference, since Windows doesn't ship with an SSH client?
As would any reasonable approach.

Total War has not happened in nearly 80 years... during World War II. And without turning the situation into a "Total War", I find it hard to believe that any solution would take less than decades.

One Hospital gets bombed in Afghanistan and everyone gets their panties in a twist. The modern world does not like seeing "mistakes of war", despite the fact that we in WW2 would send Japanese to internment camps and opened up the American office of censorship.

https://en.wikipedia.org/wiki/Office_of_Censorship

ISIS is the biggest threat against the Western World today, but does not draw enough bloodlust among the general population. We are too war weary from Iraq and Afghanistan to really commit to a true fight. And I don't necessarily think that is a bad thing.
This is not yet for those who use SSH. It's for situations where multi-factor authentication is required, including SMS, phone call, etc. SSH support on VSTS Git repos is coming soon: https://visualstudio.uservoice.com/forums/121579-visual-stud...
I get what you are saying, but couldn't it work the other way?

For example, if someone has trouble falling asleep but still needs to get up in the morning and tries to fall asleep early. Only to give up after not being able to adequately sleep and rise early?
An Open Letter to Developers Everywhere (About Cryptography)
You can also throw in the product licenses you get for all of their products as well. Last place I worked let me keep my VS Pro sub and I realized it gave me a TON of licenses with the sub:

http://imgur.com/uQxIeVA
I searched for ".net" (without quotes) in several search engines, some of which I have never used, and the first page is only results for Microsoft .Net.
Corporate America's buyback binge feeds investors, starves innovation
I partially blame the title. Why does it capitalize normal words in addition to the product name?

Had the title been "Visual Studio Code is now open-source" it would've been more readable IMO.

It also helps to be familiar that VSC is a product.
I found flights to Bali (Denpasar) on flychecker
With multiple cursors!
Utilizing the Simplicity of Go for Easy Development – Via Codeship
Hey, I'm the developer for degdb. I'm really glad to see all the interest in this project, even in its very rough initial state.

I'm aware that gorm isn't a great option for graph storage but seemed to be the easiest way of handling data storage initially. A lot of this project was written at a hackathon in ~36 hours but I've been refactoring.

I looked at Cayley (and have it as a dependency in an attempt to borrow the Gremlin parser). However, it doesn't seem to have a great way to store "metadata". How would you recommend adding fields to triples such as language, author, creation date, and cryptographic signature? Serializing and shoving them into Quad.Label seems kinda hacky.
Getting that sinking feeling in tortuous U.N. climate talks
Pebble watchface written in Rust
Your ssh key isn't password protected, I take it?
The lack of apps for windows mobile is a killer feature it's missing.

I think they have tried other avenues, like incentivizing developers ... but they are so far behind, what other options could they pursue to solve that problem?
> The reality is that you're leaving a company that has /no value/

From the sound of it, that's probably not even true...the company actually has negative value. The seed money wasn't given as investment, it was a loan. It doesn't sound like they've been able to create $10k of value to offset the liability of the loan. If the poster is able to walk away without having to pay back their share of that loan, they should probably count themselves lucky.
From the article: "Humanity has never before had to deal with global oceans quite like this."

That's quite an um "extrapolation" given a data set back to 1877.* See, if you want stop people from claiming its all bullshit, then stop writing and saying things that are total bullshit.

*from the article.
I feel you haven't even read my comment. OSX has been getting buggier and buggier after Snow Leopard, I never once said it was more resource hungry.
Emscripten and ClojureScript: Transpiling to Avoid Rolling Your Own Crypto
How does this compare to https://github.com/go-lang-plugin-org/go-lang-idea-plugin ?
UK's Gigaclear launches 5 Gbps fiber broadband service
Wizards and Warriors – part one
True, though Munroe has been quite liberal about word derivations, and '-ment' is a somewhat salient morpheme in English, despite not being very productive.

But still I'm surprised the article didn't pass the updated validator. Perhaps an editor actually made the change?
great! thanx!
100% agree. Trying to do things that are beyond your current experience, making the best stab at it you can, and then looking around for how to do it better: that's a superb way to learn.

I've been employing it all this year to rapidly transition from animation to live-action films. It works very well, not least because after bashing your head off a suboptimal solution to a problem, you're far more likely to remember the best-practise way of doing it.
By the time of the Sony hack, any machine still using XP is a machine that would be using XP even if Microsoft did exactly what you suggest. There's been no lack of opportunities to upgrade and the cost of a Windows license is generally trivial next to the labor expense, training expense, and monetized risk of "my critical software doesn't work" of the upgrade of these systems.
Edit: SSH is coming soon.

These are (roughly) orthogonal issues: regardless of whether we support SSH or not, we are going to support HTTPS access to Git repositories. And if we support HTTPS, we must support two-factor authentication. A lot of organizations require this. (In fact, Microsoft itself requires this internally: our authentication to any internal web site uses 2FA.)

So Visual Studio Team Services must support HTTPS with two-factor authentication. This is awfully painful to use git core on the command-line without a credential manager to assist you.
Pastebin off?
"Duplicate entry '2147483647' for key 'PRIMARY'"

This error appears in any record

e.g. http://pastebin.com/JsxP3Uk0
the truth is, this lesson does not fit those who are bootstrapping their first startup or product, when you have no choice but to work in the trench and do the heavy lift _yourself_, once your first product hits, then come back and read this story for improvements.

99% fails before passing the first product ship.
Floobits was forced to write python 6 ... or 2/3 ... for our Sublime Plugin. The python3 experience has been awful enough to completely dissuade me from using python for any other project. Completely breaking backwards compatibility for small features no one cares about was a complete disaster as evidenced by half? of the community still using 2.7.
> such a core part of what the company has always stood for: music

Ummm, until the iPod (2001) Apple didn't stand for music. Apple's been around since 1976, 39 years; it's been a music-related company for fourteen of those years.

Indeed, Apple Computer had to assure Apple Corps (the Beatles' record label) that it wouldn't enter the music business, which was the subject of lawsuits over the years (c.f. https://en.wikipedia.org/wiki/Apple_Corps_v_Apple_Computer).

Years ago, before I discovered Unix and freedom, I was a huge Apple fan. I loved Macs (understandable, when one compares them to Windows and DOS machines). Apple stood for user-friendliness, for ease of use, even for happiness or pleasure. It never stood for music back then.
Most homes would be hard-pressed to consume data at this rate today, but these speeds will become necessary when over-the-top television services like Netflix and HBO GO become commonplace, television pixel densities grow to 8K (7680p×4320p) at 60 to 120 fps, and the IoT connects every other home device to the internet.
Show HN: Cosmic JS: Api-First Content Management Platform
FYI, it seems that Visual Studio sends a lot of data about your usage back to Microsoft.

"This includes information about how you use the products and services, such as the features you use, the web pages you visit, and the search terms you enter." (among other things such as name & device identifiers https://www.visualstudio.com/en-us/dn948229)

You can disable this...but it requires you to re-disable it on every product update.
https://code.visualstudio.com/Docs/supporting/FAQ#_how-to-di...

Is this now standard practice?
SEO Tripwire: 24 Hour Change Detection for SEO
I think doing both is the way to go for now and this tool helps you do both.
Ask HN: Scraping Facebook – Will this work?
I had an idea for a nice app, which would in part rely on listing Facebook posts from your friends.
I thought this would be easy enough, so I designed it before I prototyped, which is something I never do.

Sure enough, when I had finished the design and finally got to prototyping, I realised that Facebook simply no longer allow access to the read_stream API endpoint, unless you get authorisation from them (seems like no one does).
Info here: https://developers.facebook.com/docs/facebook-login/permissions/v2.5#reference-read_stream

Fuelled by ingenuity, and because I had the design ready, I thought I'd try and simply load the user's news feed on a UIWebView, and read the data I need from elements in the DOM. I'm pretty sure this is against FB's ToS and wouldn't fly for long, but I kind of want to give it a go anyway.

I've gotten to a place where I've proven it works, but not always reliably and it's certainly hacky.

If you want to give it a go, load up https://m.facebook.com on your favourite browser, and then copy/paste + run the JS code in this jsFiddle (https://jsfiddle.net/Letwernb/), to your console.

It'll list whatever posts it finds on your feed, and give you some info on them.
I believe at the moment I'm skipping ads and not so relevant posts, such as "friend shared a link".

I've also got a bit of code that lets me load more posts, until I've reached the 20 I need to display in the app.

I've got some challenges though. Like I said, it's hacky and relies on FB not changing certain class names, and because the date for each post comes as a string ("2 hours ago"), I need to find a way to convert that back to a timestamp so I can re-order the posts.

I thought I'd post here to get some thoughts on this approach, and maybe get some ideas on how to do it better.

Is this something you've tried before, or wanted to try? How would you have done it?

Looking forward to hearing your thoughts.
Thank you for clarifying. I must have been thrown off by your exact words of, "Well, you should not be allowed to vote"
Yeah, like this isn't really how most people feel, he's really just pleasing an audience for views, page hits, and viewership growth.
Free and Freer Monads: Putting Monads Back into Closet
I also started a project on my own; mostly to accommodate my 80k music collection and partly to get better with Python: https://github.com/sphildreth/roadie
First thoughts in my head after seeing the title: "What's CC0? Some C compiler? Why 0? Why are there stock photos of it"...
Cite a source that demonstrates that NSA had full access to Google's network, please.
How about F#? Is it viable through .NET Core on non-Windows platforms?
I've used that occasionally, but have found myself falling back to vi. I'm interested to try the Go plugin and see how useful it is
Introducing New Tools for Nonprofits – Facebook Newsroom
Federal HIPAA Law Lags Behind New Tech
Uber to deliver flu shots on Thursday
Deck Cam: 3D Printed GoPro Mount
I don't understand what your argument is. Untethered jailbreaks on iOS are worth gigantic amounts of money because they are not easy to come by.
Or update to 10 for free too?
I'm on the VS Pro with MSDN track and paying $799/year. I pay every year, and don't need a perpetual license. Is there any reason why I shouldn't switch to the cloud subscription for $539/year?
Is it so hard to do an 'apt-get install build-essential'? It seems a bit silly to stay on only system packages when a 'apt-get install mysql-dev && pip install pymysql' gets you a fresh up to date Python 3 (or 2) package in your virtualenv. Heck, if managing a bunch of virtualenvs is too much install virtualenv wrapper and just use 'mkvirtualenv yourproject'.
ssh-agent solves that problem.
This would be awesome! The one other thing I'd love to see is the docker + python support.
Wait, Did Facebook Just Build a Kickstarter Competitor?
It is. ssh-agent caches it though.
It's working for me. Try again?
You're not sure what the most popular open-source OS has to do with your comment about open source OSes?
This is fantastic news. The main two IDE's I always use are PTVS and PyCharm... This is definitely great to see a full Python environment for VSCode.
Hide Star Wars Spoilers from the Web
Creative Commons?
Full support for airplay from the app (not rerouting the whole OSX sound output to airplay like the Amazon Music App requires)
am I the only one who expected some kind of intelligence surveillance project after reading the title?
To me, this exemplifies the true potential of online education: not to lift the masses, but to enable the geniuses.
Ahh - that makes more sense. Still, this practice wouldn't make much sense for the ML family of languages.
From my experience in most cases what you are being asked at interview will very often have nothing (or close to nothing) in common with day to day job. There are many reasons and one of them is unprepared interviewers who actually have no idea what skills are really needed so they target everything they ever heard about; or even worse - interviewers who want to expose their ego by proving there is something they know you know nothing about.

I'm also far from being specialised and in my opinion it's great positive. Especially when you aim startups - in smaller teams you need to use all skills you have.

When you prepare yourself for corporate job then tweak your CV to make it relevant to job you want to get. That means - do not mention irrelevant skills and write about your achievements in relevant areas.
True. There's even a word for it, "palimpsest".
> In the study, researchers looked at the lifestyles and personality traits of 700 Spanish psychology students from two universities. The subjects ranged in age from 18 to 32 and included slightly more women than men.

This is a big deal - college students are not a representative sample of the general population when it comes to behavior. There are going to be confounding factors galore here; I can only hope the researchers took care to untangle them.
I will. Even assuming Tesla has a street-legal self-driving car (that works outside the interstate), owning and operating cars ($70-80,000 a piece) is a pretty big change in Uber's business model. That's not a unicorn business model, it's a pack mule business model.
Microsoft, after much R&D work, deployed two technologies in Windows 7 that improved the security situation considerably. The first was the Static Driver Verifier.[1] That's the formal proof-of-correctness system that checks the source code for a driver for termination, bad pointers, incorrect API calls, and anything that could result in a kernel crash. It's a symbolic path tracer - it symbolically executes all paths through the code. All drivers must pass that verifier. Before this was deployed, about half of Windows crashes were due to drivers. Now, very few are.

The other technology was a classifier for panic dumps. When Windows crashes and reports data to Microsoft, that data goes into a classifier system which tries to cluster similar crashes together. So, when there's a crash bug, the reports of similar crashes are all looked at by the same person at the same time, which tends to get it fixed.

Linux lacks either technology, which is a problem.

[1] https://msdn.microsoft.com/en-us/library/windows/hardware/ff...
Sounds great. I hope you will take inspiration from Hydrogen (https://github.com/willwhitney/hydrogen) which has been the greatest benefit to my python coding in recent months.
Looks like they use 32-bit signed integers for their primary key column?
Elsevier Says Content-Mining Research Papers 'Could Be Considered' Stealing
Pay attention to this. This is how you do marketing. Product is bog-standard, but fires all on cylinders to become a successful product:

It's targeted and priced smartly between the overly-simplified and the enthusiast. It tries to do nothing new, just to cover its own existing market.

Its page uses bright, clear photographs and confident assertions mixed with a bit of intrigue ("hidden" features) and scarcity (a "limited" edition). It includes values alignment ("independent" and "open-source"), technical specifications, very few links to lead you away from the home page and the opportunity to buy as many as you want from the home page.

It also has incredible rock star recommendations from music magazines.

This is why people staying up all night to design a better mouse trap need to study marketing instead.