skysight-inc/HackerNews huggingface dataset:
>How would the two encodings be used? How would they be used in a message consisting of both monetary and datetime?

Full month names would be encoded in encA. Currency symbols in encB. Is it a good idea? No.

>Should the setting not be one for encoding (selected from a range of encodings), then settings for formatting and messages (selected from ranges of locales), then finally a setting for collation which is both a locale and an encoding?

I would argue an encoding setting should not be there to begin with or at most be application specific because that really doesn't depend on system locale (as long as the signs used by the system locale can be represented in the encoding used by the application).

I was just explaining why LC_* should exist even on a strictly UTF-8 everywhere system. I never said storing the encoding in the locale was a good idea (nor is it part of the official locale specification - it's a posix-ism)
A Simple Website in Node.js – 2016 Edition
FTP (and SFTP) is very heavily used in enterprise software, especially when two pieces of software are being integrated.

(S)FTP support has been baked into huge ERP systems like Oracle and SAP for years (I would be very surprised if BitTorrent was even on a list of development features), and when you're working with a company who has a $100mm SAP installation, you transfer files using (S)FTP.

I just finished a large integration with SAP where all of the data was transferred using files over SFTP. We have a modern REST API they could use as well, but that would've added a lot longer time to the integration as it wasn't already baked into SAP (plus, moving large files over HTTP is not ideal).
Most dedicated clients do, but not all. Critically, not the built-in FTP clients of major desktop OSes. Windows Explorer only supports FTP, not SFTP, and AFAIK it's the same with OSX' Finder.
Why your Ethereum project will most likely fail
As I recall -- and I don't have the book in front of me -- the Robot's presence was explained as being a reasonable proxy for having a person present. The in-story thinking was that if the robot survived with no positronic damage, a person would likely survive too as the positronic and biological brains were of equivalent complexity and sensitivity.
> > Give it ten years and […]

> I find this overly optimistic

exDM69 never said it's not gonna happen, he just said that it's not going to happen in ten years, and I agree with him. Revolutions never occurs that quickly. To achieve that we don't just need an improvement of the current state of the art, we need a massive change and we don't even know what it's going to look like yet ! This kind of revolution may occur one day but not in ten year.

And it could even never happen, remember that we don't have flying cars yet ;)
Its just an abstraction though. And it falls apart and becomes full of implementation details when the actual fact that its running on a warmed up or cold server causes issues
Assuming it is actually true and not some kind of sensor anomaly.
Even SCP easily saturates a GBit line with negligible overhead, where is FTP significantly faster?
I don't know if it ever was a "kernel up" development process. Gnome (and KDE) both had their own, pretty complex stack, even before Freedesktop.org came up (e.g. KDE had DCOP and a bunch of other services). And they weren't exactly bug-free, either -- but at least they covered a lot less surface.

I don't think it's a simple problem, and I don't think all the blame should be laid on Freedesktop.org, where a lot of good projects originated. I do think a lot could be solved by developers being a little more modest.
No More Nookie for Blighty as Barnes and Noble Pulls Out
15 Content Marketing Tips to Boost Traffic and Engagement on Your Website
It probably has little to do with anti-China propaganda. Financial news has always reported junk like this with clickbait headlines and a few cherry picked numbers to make a story from nothing.
if you have one more invite, i've sent you an email with request :) thx
Faster for what kind of transfer? Surely for retrieval it won't be noticeably faster than HTTP, and may be significantly slower? FTP has the advantage of no metadata (possibly significantly less overhead on a small file) that's traded for way more round trips, no transparent compression, no persistent connections and limited to no pipelining.

And if you want to push files SFTP, SCP or rsync over ssh will do that just fine. If you don't care about security and you can't saturate your network connection by default you can just use RC4.
Show HN: StoryGrill – Your personalized newspaper
Hi everyone,
we are a startup with a new concept for delivering the best news to you. The site is called StoryGrill, and it keeps you updated with the most recent news from your favorite newspapers.

You need to choose your favorite newspapers/magazine/sites, and then relax: the site will update in real-time whenever there are updated news from your favourite newspapers.

We have many ideas how to improve this(personalization, notification, etc..) but we prefer to stay lean and get feedback from actual users. We would love to hear what you think about that. Be brutally honest, we can handle it ;)

Our MVP can be found at http://www.storygrill.com

We are also inviting users to try our mobile version of the app.
If you like to try it, get an invitation here: bit.ly/1LcGf3c

Looking forward to hear all your feedback!

The StoryGrill Team
>not to mention some obsolete Faildows encodings like CP1251 still widely used here in lots of tech-slowpoke organizations.

as we're talking encodings: The worst file I ever had to deal with combined, within one file, UTF-8, cp437 and cp850.

I guess they had DOS and Unix machines bot no Windows boxes touching that file.

This is a problem that won't go away. Many developers are not aware of how character encoding, let alone Unicode, actually works and, what's the worst about this mess, many times, they can get away without knowing.
If WebDAV worked as reliably as FTP more people would use it. Which is actually bad since the tech is rather weak in my opinion. :) So good for the internet that it never really "just worked."
You can choose how many months you pay for (1-12), and sometime before that runs out they email you. Either you pay for some more months or the server goes away.
> - standardized file listings, delete, mkdir, etc

Isn't one of the rant's point specifically that these are not standardised (in a de-jure sense)?

> It's better to compare FTP to WebDAV.

SFTP exists, has none of FTP or WebDAV's issues and (as far as I can tell) ticks all your boxes. Even extensions: http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#sect...
If a client orders SFTP providing off-band fingerprints is a trivial step.
I use FTP to transfer files from my scanner to my PC. Doing that, I don't have to run any vendor written software on my PC. For me that matters. And for such use cases, the limitations in the FTP protocol is of little or no concern.
When there's a computer that can beat the world champion at both go and chess with no modifications, then I'll be scared.
Flickr takes a big step backwards by making its photo upload tool a paid feature
I don't know about this one, but I don't think many scientists believed in faster-than-light particles, at the time it felt to me like only the media did.
Standards documents are created by people with a need. They then implement the feature and seek feedback, hence the term RFC.

Ideally rather than being negative, how about discussing how it could be improved in the form of an RFC document.

Also the section on comparing an FTP session to a HTTP GET is just misleading. One is an authenticated long running session where as the other is just a fetch with a connection left hanging (resources on the server are tied up).
Clickable - http://www.storygrill.com/

For your next Show HN, remember to link directly to your website. You can then enter the text as a new comment.
The FTP protocol designers understood the need for something like ASCII mode back in 1985.
Something the SFTP people had to re-discover in 2005.

Abhay Bhushan, Postel, Reynolds etc did an awesome job!

edit: wrong rfc
Many security groups in corporations inspect network traffic for malicious activity. Encryption prevents this, so policies or technical measures may be introduced to ban or limit its use.

As a side note, several years ago, I had a friend who worked for a small research company that had a ban on encryption software. Installing or using PGP on a company computer would be cause for termination.

I expect to see these ideas become more mainstream. In future, companies may only allow certain encryption technologies on their networks/nodes (ones which they hold keys for).
Problem with that us the buyer could be FB Sec. Now they have a targeted account to watch and find the vuln. themselves. Better option is to find a random famous person and do the sane thing.
How we built Facebook Lite for every Android phone and network
Sorry to be so petty but it seems very anti-intellectual to downvote such a carefully posed question.

It's on topic, the answer would be interesting, and it's stimulated good responses.
>a signal that a particular industry is morally unappealing to a society, so much so that it's days are numbered.

So what you are saying that if Gates foundation stops investing in McDonalds, then in the long run people will stop eating fast food?

Because the idea that Gates foundation starting some kind of "movement of divestment" would have to be executed in secrecy form all of the "evil" investors who currently operate in the market. Otherwise these "evil" guys will reap profits of the obviously devalued stock and grow. And then they have bigger market share of all investment.
The truth about Unix: The user interface is horrid (1981) [pdf]
After Xamarin, the Enterprise Is Ready for a New Mobile App Development Stack
How do you count examples? The computer can generate its own examples by playing against itself. So in theory it needs 0 examples. This is not a useful metric at all.
I'd love to see the statistics on which numbers get guessed right/wrong.
This is an important point. Marginal income increases for the already wealthy does little to support domestic consumption. In economic parlance, the rich have a low marginal propensity to consume. In China's case specifically, the rich are more likely to see any additional income as capital they need to get out of the country (hence China's progressive tightening of capital controls).

On the upside, it means the Chinese government have an obvious demographic to target with a stimulus package: the poor. They have a very high MPC because they need to spend every additional dollar on things like... food.

EDIT: Just to give you a sense of how crafty the rich and corrupt are when it comes to capital flight from China, again from HSBC:

Meanwhile, imports from Hong Kong surged by 88% in February, but we think this was because of base effects again rather than increased over-invoicing activities compared with previous months – the level of imports from Hong Kong is actually down in Jan-Feb compared with in Nov-Dec 2015.

Now read this: http://www.bloomberg.com/news/articles/2016-03-08/phantom-go...
Our BigV service has done this since 2012, on more traditional KVM-based virtualisation - up to 8 SSD or spinning discs which you can add & remove (as well as RAM & cores). We think vertical scaling has been pretty underserved...
It's unadopted, but this does not mean it is bad. GNU/Linux is the worst of all and survives only because it's widely adopted, and better-marketed. Many who turn to Unix world first encounter GNU/Linux. GNU/Linux is, quality-wise, inferior to both Plan9 and BSDs, it's a big hack, but it came before, and got adopted first.

Now I downvoted all your comments in this thread for they are unconstructive both in the negative and the positive directions. This is a fanboy-like attitude, where you ignore the fact I explained above, and attack other comments. You take quantity over quality.

BSDs and other systems have their user bases. Those may be small, but they exist. Both GNU/Linux and BSDs are inferior to the ideal system where most legacy cruft shall be gone, but in order to reach that ideal system we should develop the research projects, the ones with little-to-no use. E.g. Plan9. Or microkernels. The all-utf8 approach is perfect, but it can't easily propagate to the mainline if it is not tested for long in research projects, and the ecosystem adapts in this timeframe. So we'd rather not attack them, but let them happen. They'll always be better than mainline, but lesser-adopted, but when they die, the good parts of them will propagate to GNU/Linux, BSD, etc. Take ZFS for example, it was developed on a Sun system, it's not widely adopted, but its now on FreeBSD and Linux (i.e. btrfs, the same concept), for you to enjoy. Or the research in functional languages. Many of those are not adopted, but many features are now propagating to mainline languages.
How does the CPU performance of Avoton compare to a Pi 2? How do they perform on single threaded encryption, eg for a Tor relay?
As a new father, I really love this; thank you for your effort. My wife and I have been gathering lots of books to read to our baby and this will be an awesome addition!
I live in New Orleans and really div there tech scene. The cost of living is great. The best thing is probably the culture. It's not like any other place I've ever lived and you'll never lack for festivals or parades.
NexDock: The World’s Most Affordable Laptop – 119$
3 articles every startup should read every week
What's that supposed to mean?
But it suffers from other problems like compatibility. I never managed to get the filezilla ftp client to connect to a secure IIS ftp server. And visual studio for instance can't deploy to sftp.
It's not just load time, browsers generally suck at rendering because the CSS/DOM is hardly an optimized spec with plenty of legacy/complexity, and most of the implementations have decades old roots and legacy design decisions as well. Even VSCode which is miles ahead of Atom has rendering performance issues on my laptop - I can see it drops frames when scrolling and stuff like that. Servo is showing how much you can do if you start from scratch on that front, but if you just forgo the entire web stack you can do much better still simply by not having to implement DOM/CSS

So something like Qt or native GUI frameworks are always going to outperform DOM based GUI, and CPUs stopped getting faster so most of these issues aren't going to be solved by hardware improvements (GPU rendering requires a big overhaul of browser stack).
Data vs. Probability
Thanks for saying that. People must have misunderstood my question. I was genuinely interested to know what kind of practical applications these kind of particle discoveries give us.
As the author of a FTP server called warftpd, I agree :)

Another argument in favor of FTP is that the protocol is simple to implement from scratch, well understood and - well it's an established standard. In stead of re-inventing transfer protocols, creative people can cook up new ways to use it.
Workout Mix Wednesday – March 9th, 2016
Trivial path for DDoS amplification attacks found by infosec bods
It's not obviously stupid, as a bounding argument as we approach physical limits.
If that client is a single person, sure. If the client is a 500 person organization where half need access to the server, I can see why people would prefer FTPS with a certificate from their internal CA.
CPU:model name : Intel(R) Atom(TM) CPU C2750 @ 2.40GHz
Network:
root@scw-4e7977:~# ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Free SAS (212.47.234.38)...
Selecting best server based on latency...
Hosted by NEOTELECOMS (Paris) [1.59 km]: 2.652 ms
Testing download speed........................................
Download: 881.83 Mbit/s
Testing upload speed..................................................
Upload: 513.56 Mbit/s
Master of Go Is Walloped by Emotionless Challenger, a Google Computer
What's so cool about OpenVMS? You're not the first person to praise it but nobody ever explained why.
What a strange sentiment. You would only delay the inevitable outcome. Sure, it wouldn't win now, but processing power will become stronger and machines get smaller. What was the point?
"If security of your authentication credentials matters one iota to you, you'll use scp to transfer files, not FTP."

If security maters then use a secure version of the FTP (SFTP or FTPS). FTP has a greater multi-platform support compared to SCP.
I don't know much about go, so it was like a long Go lesson. That was interesting, but in terms of immediate gratification it was pretty dull. One very calm hyper-focused person describing what another very calm hyper-focused person is doing.
Those commands really are standardized. The problem is that the rant didn't bother to look at any of the more modern RFCs, nor at de facto standards supported across lots of servers and clients.

SFTP is fine too, assuming you have support, which is not available on many embedded platforms, and even on Windows requires downloading extra tools.

I'm hardly claiming that FTP is the pinnacle of human achievement. The original standards have many obvious flaws, but those have long been fixed. What we have now is maybe not elegant, but it works and the problems with it are not any of the things outlined in the article.
Because you don't want to give the geniuses who came up with stuff like "Han Unification" a monopoly on encoding.
I've been working with a new set of software that does precisely that.

1. Publicly available, with the link.
2. Immutable data, by definition is read-only.
3. Users can easily view the root directory and every file enclosed
4. Uses nothing more than a web browser, with no addons. Right now, it does greatly speed up if you use the peer software.

http://ipfs.io - Interplanetary File System.

It does everything you asked for. The current way the network works well for people who don't run the client is that ipfs.io is running an IPFS->web gateway, where you go to http://ipfs.io/ipfs/[hash]

For example, I'm preparing to go to a 3d printing convention where the bandwidth is very limited. So I'm hosting a slew of 3d printer files. If you are running the peer software, click the localhost link.

http://127.0.0.1:8080/ipfs/QmRBWNHKvz4AmTGN4QyJ4bQMd4fb5vfTd...

http://ipfs.io/ipfs/QmRBWNHKvz4AmTGN4QyJ4bQMd4fb5vfTdacjkb6P...

So yes, there is a potential download of some software. What does that get you? It allows you to download at the full speed of the network (bittorrent based) and uses DHT for finding local peers. You can also add files in the network, and share by simply copy/pasting the link to whom you want to have the files. Interestingly, it indeed solves this: https://xkcd.com/949/

Ideally, the IPFS team is working on a javascript-only IPFS node, where the webpage itself is self-hosting the IPFS gateway. That would also free up phone clients and more exotic tyes of computers with only browser support.
Ask HN: What should I be aware of when open sourcing code from my company?
I'm trying to get permission to open source some components that are currently in private repositories for the company I work for.

Is there anything we should be aware of beyond simply choosing a licence and putting it up on our company's public github?

What has your experience been doing this?
Regression Testing vs Re-Testing – Know the Difference
We as tester do Retesting and Regression testing all our life, Whether we reach on the top of ladder of this profession or has just started the profession.Since we people are linked with the testing of software, we all would be pretty familiar with the word Regression and Retesting. Since both sound similar and comes in to action just after a bug-fix, so most of the time we people get stuck to the fundamental difference between Retesting and Regression.
Here i am going to note down @ http://bit.ly/1Tsl9Au
Looks nice!

I was a little surprised at the last line in your code:

window.jQuery.prototype.marginotes = window.$.prototype.marginotes = marginotes

Last I checked (one minute ago) jQuery and $ refer to the same object. jQuery === $ unless somebody is using $ to refer to something else in which case thanks you just clobbered $'s prototype. You should follow the jQuery conventions https://learn.jquery.com/plugins/basic-plugin-creation/
Holy sh*t, it's sounds very Orwellian.
So how do you know about it?
Arjun Kapoor and Kareena Kapoor Promotes Their Upcoming Film “Ki and Ka”
I am in the UK and was quite worried about the compulsory religious education (and it was a bit demoralising that when I asked about it at the open day, they assumed that I wanted lots of religious education and were gushing about how much they did!). However, so far it seems to have actually turned my five year old into a staunch atheist because the bible stories seem so implausible to him. Of course children and schools vary and there are plenty of other reasons to home educate, but so far my fears have been proved groundless in that respect.
> This gets us no closer to strong AI than a tic tac toe program.

We don't know that, actually. Maybe GAI isn't one shining simple algo, but cobbling together a bunch of algorithms like this one.
Not parent poster, but the implication was that his card details had been sold.

Geography has nothing to do with it, I'm reliably told that one can cheaply purchase card details on Tor hidden services, paying in BTC.

I've not tried it myself, and the only time I've had my card cloned was the other way around. It was cloned IRL, and was then used online for gambling.
Neural networks have been around for a long time. They basically took two existing concepts of AI and threw some money.
Browsers let you do that. KDE also does, so do other environments. For a quick hack, set your sceen DPI to 50.
Ctrl-Shift-u also works in GIMP, even on Windows. I guess it's a GTK feature.
Tiny does not mean "simple", and this is very true in compilers. There are ways of making a compiler trivial and extremely comprehensible, but it involves somewhat lengthy code. A tiny compiler which fuses multiple transforms into one may be much harder to comprehend than a larger compiler made of a long sequence of much simpler passes.

So your suggestion may be quite intimidating to the beginners. I'd rather recommend to start with the Racket-style language extensions and DSLs first.
Now that you're editing your comment while I'm writing this, it's a bit hard to comment. I agree with you to 100% that we should have anonymity online, and that the media supporting data breaches of personal data is a bad thing.

BUT I think what you write/wrote about "pk media", "mainstream media" and "immigration" is totally irrelevant to this post and HN in general. I have to say, for the non-Swedes here, that your view are _definitely not_ the common view that Swedes have. While the media is biased sometimes I would actually say that it's the people who are against immigration and have ran out of arguments to justify their case, who use this "argument" to deny facts. Sorry to be harsh but please find some real arguments why the media is not objective.
Yes, there are three encryption keys.

I think I know where your confusion is coming from.

This _entire_ box is an encrypted AND gate. http://manishearth.github.io/images/post/and-encr-xor.png .

The input wires outside the box are "encrypted inputs". They get internally decrypted via XOR and stuffed into a regular Joe AND gate. To create an encrypted input, we must encrypt a regular input, by XORing again (due to the inverse thing).

Similarly, the output wire outside the box is an encrypted output. The output of a regular Joe AND gate is encrypted internally (via XOR) to obtain this. To decrypt this encrypted output, we must similarly XOR again.

Does this address your confusion? Let me know if you need more explanation!