skysight-inc/HackerNews huggingface dataset:
> There's a difference between what a program should accept as input and what it should generate as output.

I’m a Windows developer. In my world, a program should generate its output in whatever format user wants it to be.

When I press “File/Save as” in visual studio and click on the down arrow icon, I see a choice of more than 100 different encodings (including all flavors of Unicode with and without the BOM), and independent choice of 3 line endings (Window, mac, Unix).

> BOM for UTF-8 text files seems to be a Microsoft thing

Practically — maybe, most Microsoft apps tend to understand those BOMs, and most *nix tools don’t, even on input.

Officially — definitely no, we both saw the spec on unicode.org.
> Google Apps in the enterprise

Google Apps for business are so bad though, I genuinely don't know why a company would pick it over 365. I could maybe see an SMB, but 365 is so robust in its offerings and just so much better all around.

My former employer was on 365, my new employer is on Google Apps. It's like I've been thrown back into the stone age. (Went from a large corporation to a start-up.)

I feel like an SMB is not likely to do volume purchases of Chromebooks, but a large corporation is...which Google just fails at in their offering in the office space, imo.
`select * from utxos where address =?` should not take 300ms no matter the size or type of database (assuming there is an index on address).
Yeah, I've seen multiple folks putting off reserved instance commitments and continuing to pay on-demand costs since they don't want to get locked in for a year. Its a serious commitment for smaller companies.

The No-Upfront reservation options that AWS last year helped narrow the difference quite a bit - but Google automatic discounts for sustained use are so much better and less complicated for users.
I Used an Assault Rifle in the Army. I Don’t Think Civilians Should Own Them
50% infants in India are undernourished/starving/dying;
http://www.nytimes.com/2015/06/28/opinion/sunday/saving-the-...
> You obviously don't deserve prison time, but you didn't get it either.

Because they decided not to press charges, not because the CFAA makes any sense.

> But do you think the person/IT responsible for the website was not harmed? You get they are human and 'possibly' went under an amazing amount of stress?

There is a difference between inconvenience and harm. The vast majority of the "harm" caused in cases like this is a result of ridiculous overreactions to anything that involves a computer.

Imagine the analog version of this case. Some kid sitting in the main office sees the teacher enter the combination to the filing cabinet and then the kid unlocks it and sticks in a picture of Rick Astley. If that happened, would we still be hearing about a "post mortem" (as if serious level = human fatality) and the harm and stress the kid caused? Does a law allowing that kid to be prosecuted for a felony really make any sense?
I'd contribute to that. Especially it was operating on a source tree that was heavily abstracted already.
Why won't the app report every tiny detail on the driver it knows best... You? This seems like a sure fire way to invite yourself to higher insurance rates and a big presence in every law enforcement database that tracks peoples' movements.

There'd have to be a very big reward for me voluntarily becoming Big Brother, and especially for tattling on myself.
A request to those suggesting "why not X" or "consider X" : If you could mention a reason or two favoring X over Y, that'll help OP & future visitors.
Sounds like the "I love you" worm. Would copy itself to all kinds of places and mimic names like that.
http://xmlrpc-c.sourceforge.net/ is a real world implementation
A command economy, a denial of economic fundamentals, and years of completely failing to take advantage of a commodity boom while it lasted. And populist ideology that led to those.
The more one centralizes power, the more opportunity there is for graft, corruption, and mismanagement to do a lot of harm.

Let's avoid a stupid "definition of terms" fight and just talk about why the USSR was such a complete disaster for a few minutes, whatever you want to call their system.

That system was one that centralized a lot of power. What jobs people did, what prices things sold at, where people could love, how much of what they would try to make or grow, and also who could say what, what ideologies were allowed, what kind of media people could see, what foreign ideas were allowed in.

It turns out that that's a pretty rich field for graft. All the graft opportunities that were available in other countries, plus a big slice of economic control, plus a big slice of ideology control made for some powerful government officials, and they could use corruption to turn that power into personal gain.
Locate Android devices offline
Even more fun. Data gets corrupted, and backups pick it up, and start overwriting good backups with it eventually.
Or maybe, the US doesn't want a new Zimbabwe in the backyard?
>If they gave me the stick, I'd set interest rates at 3% and hold the line through a recession or depression. Far better that then coming to the end of the line, having no options and no way out.

It's a good thing you don't have the stick. I'd liken such a policy to the Taylor Rule, which can produce ridiculous results, but even that relies on macroeconomic data at all times. If your policy is such that 3% is the new lower bound, you have just created the lower bound you seek to avoid.

At present, there is no lower bound. Many countries are employing negative interest rates to attempt to stimulate their respective economies. A notable exception is Switzerland, which maintains negative rates primarily to devalue its currency (of course the magnitude of the exception is debatable). While negative interest rates are not well understood, they are utilized.

Central banks have additional tools at their disposal as well, like ON RRP, which means that talking about a single 3% rate is poorly specified. Ultimately though, we are encountering the limits of monetary policy and governments should be considering a fiscal approach, especially with such low interest rates. At a fixed 3%, fiscal policy is less appealing even when absolutely necessary.
Maybe he thinks his best considering not only his sister, but also the people his sister is affecting.
Since all other systems have standardized on code points this would lead to subtle incompatibilities. For example, checking for length prior to inserting in a database must be done in code points.

What i find more frustrating is how the documentation for many systems describes the basic unit of text as a character, without specifying whether a code point or grapheme is meant, and without leading people to an explanation of the difference. There is still a lot of software that processes unicode text incorrectly, not because it is difficult to do so, but because nobody told the developer how things should be done.
No similar provision exists for unauthorized access to property. Opening an unlocked window (or door, or curtain) and climbing through it is an offense with a name: breaking and entering.
You are reaching. We can easily observe Vehezuelan policy decisions and their effect was easily predictable in advance. We don't need imaginary nefarious actors to explain this
I will go even that almost 100% will be tagged soon or later.

What we should be interested in is the top one percent.
The failure mode of hardware is not all or nothing. A single sector in an HDD or a single page in an SSD can fail and the rest can be fine for years; both HDDs and SSDs have many spares for this expected condition.
The gist if this article is that in 2006 some C compilers would produce less efficient machine code than some other language compilers in certain specific type of problems.
haha kilroy, you can't say "No offense" and then proceed with "you don't know what the fuck you are talking about" obviously offense was intended, literally how could you express the idea that someone hasn't considered all possibilities in a more offensive way?
You will have to trust us in the beginning only
Share button is the biggest threat to the human capacity to think
Ah, well I imagined at some point we'd have to type letters of the alphabet. Although, now that I think about it, I suppose dictation could help, but it's not likely to be as accurate, especially for the purposes of, for example, coding.
Two things:

Firstly hams equipped for emergency communications keep backup radios (disconnected from antennas) for this very reason.

And if their gear was damaged by EMP, the hams would have the knowledge to effect repairs, or at least build simple valve based gear by scavenging old TVs, etc.

Again, this is a popular activity at fields days: A race to see which team can first make contact by means of a simple Transceiver built from scavenged junk.
For most people Chrome Book's have everything you need since most Apps are available as a Web App, that's super simple since it hides the complexity of managing a Desktop OS, has instant startup, is automatically synced + backed-up, secure by default which is essentially impervious to viruses and lets you get access to all your work from any PC by just signing in to your gmail account.

Because of this I've replaced my parents virus-ridden Windows laptop with a Chrome Book, it's the only Desktop OS I feel safe leaving them with knowing that all their work/photos are backed up, and they're not going to be able to accidentally install any viruses.

Whilst they still spend most of their time on their iPads (which really hits the sweet spot for content consumption) they use Chrome Book for their few remaining productivity tasks.

It's easy to forget how daunting full-featured Desktop OS's are for non-technical people, hiding its complexity and centering all UX around Web Apps ends up increasing people's confidence since there's very little they need to understand in order to do what they need to do, which is generally just clicking the App they want to run - with all the remedial tasks are managed for them behind the scenes.

If I wasn't a developer I would likely just take a Chrome OS when traveling and as each year progresses Chrome OS becomes more appealing with there being less and less you need a Desktop OS for. IMO it's already the best option for running a company, e.g. most companies would save a lot of IT Admin costs if they switched to Google Docs + Chrome Books.
It really depends what you are attempting to accomplish, and what you wish to detect in the images.

As you mentioned faces:

Are you looking for face detection or recognition? Face detection has been robustly solved before the advent of DL with HAARs/ face models. Now being pushed a bit further with DL.

(http://docs.opencv.org/master/d7/d8b/tutorial_py_face_detect...)

Current cutting edge face recognition systems rely on DL, and the top performing models are one out of Russia (NTechLAB, facenx_large) and one from Google (FaceNet v8). These were the top two performers in the MegaFace challenge - identification with 1M distractors. Truly remarkable results.
http://megaface.cs.washington.edu/results/

As with most DL systems you will need a massive corpus of labeled faces (aka, google or vkontakte - which the NTechLab group used)
Probably because RHEL actually provides support for that money - otherwise, you use CentOS - whereas Ubuntu seems to be demanding money for use of the name while the customer gets nothing in return.
> Either way, we will now have yet another filesystem to contend with, implement in non-Darwin kernels (maybe), and this adds to the overall support overhead of all operating systems that want to be compatible with Apple devices.

On the other hand, if Apple decides to open source the APFS implementation (hard to tell what their plans are from current statements, but I'm holding out hope), it'll probably be under a permissive license that allows porting to Linux. The implementation is in C (not C++) so porting is probably generally feasible. Compare to ZFS, which, even if some distros have finally started shipping it, will never quite be free of licensing issues unless Oracle does a 180.
I don't think there is an easy answer to this. Even just pure RTL text is hard to support: IIRC Android and iOS only recently made all the built-in views support it. This is complicated by the fact that most developer teams don't have nor can afford to hire someone familiar with RTL to implement this kind of stuff.
I don't doubt your personal experience. Statistically, your friends are outliers.
General class isn't hard. Decent equipment can be had for a few hundred bucks.

You're right, it's not good for everyone, but it's good for techies.
>and this adds to the overall support overhead of all operating systems that want to be compatible with Apple devices.

What operating systems describe tremselves as being "compatible with Apple devices"

> Since the older versions of macOS (OSX) don't support APFS, only HFS+, this means Apple and others will also have to continue supporting HFS+.

Who else actually "supports" HFS+ ? Sure there are linux "ports" based on the spec but nobody claims them as being "supported".
Apple would have had to continue supporting HFS+ whether they chose to implement ZFS, btrfs or HAMMER.

>It just seems wasteful of everyone's time to me.

I don't know how Apple writing their own filesystem is wasteful of anybody else's time ( except possibly Apple's and/or Disk utility software for vendors for OS X)

>Also: https://xkcd.com/927/

The standard is the interface ( POSIX / SUS ) and unless APFS breaks that how is this applicable ?
Emails Reveal Bitter Silicon Valley Fight
> I’m a Windows developer. In my world, a program should generate its output in whatever format user wants it to be.

When generating output for a user, letting them choose is a good idea. But for interop with other programs I leave it off unless the program needs it.

> Officially — definitely no, we both saw the spec on unicode.org.

The spec says the BOM is optional. Some Microsoft programs however require it.
This is why Fintech groups are some of the biggest users of strongly typed functional languages (ocaml, Haskell, etc). Your insane-o-meter is working.
But you aren't opening an unlocked window (or door, or curtain). You're asking the property manager to open it for you, and they do.
http://www.sciencealert.com/the-benefits-of-an-intercontinen...
I find this to be a rare case. Of course, YMMV. But I don't see or write tests in dynamic languages that verify behavior when I pass an inappropriate type. I trust that it'll produce an error when it tries to use operations that the type doesn't support.
Sounds like a hybrid plant would be the best approach, with a large molten salt reservoir which is 'charged' while the sun is shining and used to run a steam generator when PV isn't available. Of course, the way battery storage prices are going, I wouldn't be surprised if battery backup becomes more economical than all that messy pipework in the near future anyway.
Haskell was famously designed by committee. They also decided the name of the language by committee, and settled on Curry.

Later (I suspect over beer), two or three people from the committee thought that was too ridiculous and just unilaterally decided to go with Haskell instead.

Edit: Look for "Choosing a Name" in http://haskell.cs.yale.edu/wp-content/uploads/2011/02/histor... if you want the actual story, and not my faulty memory.
Do you need a test to verify that your compiler correctly checks the type signature? (Actually, that could be occasionally useful in the face of implicit conversions)
Firefox uses SQLite
Yes, but startups execute faster than big companies. They also make bigger/riskier bets.
I don't see why Apple couldn't just recommend that their pro users who have need of this sort of data integrity locally run their own server with FreeBSD + ZFS. Apple has really backed off on their attempts to market OS X Server to this crowd. Heck, they're probably using FreeBSD already if they need that much data integrity.
A clarification on your point: specifically socialist economic policies (gov control of enterprise) are to blame. It's not as if the government decided to tax the rich to provide social welfare and then the country went into a downward spiral.

The main issues I think have been rampant government corruption under Chavez's cult of personality and the papering over of economic problems with oil money. There are many stories of Chavez basically buying votes with oil revenues. Having a huge source of essentially free money let the government operate like a sports star fresh out of college, buying expensive houses and cars, until the money dries up and they promptly go broke.
Speed of a MetroCard Swipe
Relevant short story: "When Sysadmins Ruled the Earth"

http://craphound.com/overclocked/Cory_Doctorow_-_Overclocked...
A conversation with Salvatore Sanfilippo, creator of open-source database Redis
I wonder if this points to the vagal nerve as one of the causes for tinnitus. Does anyone know more about this? I looked it up online and just found VNS study completed in 2012 and showed some benefits in a small cohort:

https://www.actiononhearingloss.org.uk/community/blogs/our-g...

Anyone know anything more recent?
Almost all? I think you might be falling victim to selection bias. Not many women cruise over to /r/birthcontrol to talk about how they've been on it for years without any side effects.
Are there still active "worms" out there?
H.R.5181 – Countering Foreign Propaganda and Disinformation Act of 2016
Top Donors Data for Hillary Clinton, 2016 Cycle
Wow I did not know she gave her $150m on the sale of Bebop to charity. That is very very impressive and must be celebrated more.
Funny result; my tinnitus stopped, but now I hear a different, quieter, very high-pitched tinnitus, that I've never heard before. Perhaps this is hearing-damage tinnitus which has always been drowned out by stress-based tinnitus :)
I don't think there should even be a "default" character at all. In some cases, codepoints are the right choice; in others, graphemes are. If we make this explicit - e.g. by forbidding to iterate strings directly, but providing functions/methods to extract codepoints and graphemes as iterable sequences - the programmer has to make a conscious choice every time they iterate.
Where are the successful socialist and Communist societies?
Except what happens in the real world is that people who are used to indexing and slicing ASCII strings however they please don't think "I should use a library for this", instead they just keep indexing and slicing as per usual and don't think anything of it until their Chinese customers start complaining of random program crashes, or missing text - which the developer then has difficulty trying to reproduce because hey, it works for them.

My only gripe with your argument is that I don't think it's easy to avoid corrupted text in modern text processing - which is precisely why there are libraries for it because it's actually really easy to get it wrong - even if you know what you're doing.
Anomalies in X-Ray Engine Source Code
Honestly, I understand his frustration. People will tell you that you're wrong, that you're heartless, etc. when you express that you'd like it if one of your family members went to jail. Like you don't care about them and haven't considered the potential consequences of such a serious thing. I know multiple people who have gotten clean in jail. And I know that for at least a few, they were a serious threat to themselves and others.

Attitudes like the gps are not always right, but are pretty much the only opinions I hear expressed.
GoToMyPC reset all customer passwords
Thanks, sure, this makes sense given the origins of LISP. Cheers.
There are many socialist aspects to our government here in Australia - public healthcare, public schooling, etc. People who bang the 'socialism bad hur dur' drum generally don't observe the working socialist policies already doing well in society. As you said, corruption is the issue at play.
The dirty rich: the people who are avoiding big taxes (in excess of multiples of a year's worth of minimum wage) and/or bending/pressuring the system (through lobbying) to change such that they don't have to pay taxes (with various loopholes set in place).

That's roughly captures the essence of my idea of dirty-rich.

These dirty-rich grab most or all of the strategically important spaces and then make more money off the rents.

I have very good idea of what I am talking and FYI I am not a communist with bias against all rich people. In fact, I am a strong opponent of communism. But I also oppose the dirty-rich in capitalist nations.
> for interop with other programs I leave it off unless the program needs it.

Plain text isn’t exactly a machine-friendly format.

If you want to interop with other programs, the good choice is e.g. XML. That has this encoding problem fixed as a part of the standard.

> The spec says the BOM is optional. Some Microsoft programs however require it.

Could you please name a Microsoft program that you think requires a BOM?

I’m asking because I have completely different experience. For me, Microsoft programs open text files just fine, with or without the BOM. But most *nix and osx programs show me garbage instead of BOM.
"Interstellar-medium-based life has the problem that it must necessarily interact multiple orders of magnitude more slowly than Earth life because all of its components are much more separated and it has the same speed-of-light limits as our biochemistry has.."

When I read about quantum entanglement of two atoms at a distance, I wonder if it could have something to do with serendipity moments, like when you get a phone call from someone you were just thinking of. Interesting to imagine what aspects of life and consciousness might be related to that branch of physics. From my very basic understanding of quantum entanglement, it might not have speed-of-light limits.
QuakeWorld revolutionised online FPS. I believe — and yes I'm biased — that it still has the best netcode of any online FPS game. My fondest memories in front of a computer are of playing QW on a dialup modem, then eventually on LAN, where in Perth we had a pretty big community. New games come and went, but QW stuck around and for us die-hards no FPS has ever lived up to the speed, mechanics and "flow" you can experience in QW. Many things may have been a fluke, and Carmack even posted his dislike for the "bunnyhopping" bug found in QW, which ended up improving the game 100x fold:

"Strafe jumping is an exploitable bug. Just because people have practiced hard to allow themselves to take advantage of it does not justify it's existance. When I tried fixing the code so that it just didn't work, I thought it changed the normal running movement in an unfortunate way." - Carmack

If you're curious to see some gameplay from 2016, there was an "all-star" 4on4 competition recently, on YouTube with commentary here: https://www.youtube.com/watch?v=oN6s1nh6nV0

It might look different to the Quake you remember — after id open-sourced it, some really great community projects sprouted up improving both the clients and servers, but the gameplay stays exactly the same.
And the intersection of these two things. Coming to terms with things you've done to other people is an extremely difficult thing that adds to an addict's sunk cost.
> So many times I see people handing out a root password to edit /etc/password.

Shouldn't user groups give a bit more accountability there?