skysight-inc/HackerNews huggingface dataset:
> the employer knows the budget, probably knows the market better and knows the cost of fringe benefits that you do not

In my experience, the employer have little clue about the market. He's tainted by the organizational culture. For instance, a $XX-YY band for everyone your age or a habit to import cheap worker from A Mexican city.
Oh I grok it just fine, it just sucks horribly.

I may be missing something "pythonic" but casting between byte strings and ascii strings - a null operation - is by far my greatest cause of runtime bugs.

To make it worse, the obvious cast is broken beyond all belief. What do we get from str(b'hello world')? Literally "b'hello world'" - a __repr__ of the object. Of course, adding an encoding changes the actual functionality of the cast ... str(b'hello world', 'ascii') gives 'hello world'. So, so broken.
Yeah, sadly that doesn't mean it has the fully same UI. But at least in my Mazda (which uses HERE as the nav driver), the UI is noticably better designed for driving than the phone interfaces are. Minor details mostly, but noticable.
A couple of months ago I released Jasonette with a Show HN: https://news.ycombinator.com/item?id=12879179

We've made a lot of progress since I open sourced it, so I thought I would share my experience.

This is my first blog post to share my experience working on Jasonette.

Would appreciate feedback!
I'm not sure I get this distinction. What definition of "supernatural" do you refer to?
This guy should his talents to help stop cops from shoopting black people instead of helping feed his own ego. He's intellectually correct but what a waste of resources.
I find it highly unlikely that Jessica was referring to being unable to say publically that evolution is a real thing.

Additionally, I said that, having already formed my opinion X, if I get that response, I can predict certain things. This is very different from your 'exploit' which requires the reverse process.

I'm afraid you've provided cogent and valid criticisms of a completely different set of statements than I actually made.
The first iPhone cost $600 after subsidy, you had to wait for pages to load forever over EDGE, and it had literally no software. Seems like a decent analogy of current VR.

Before the iPhone, nobody had any idea what improvement on the smartphone would be required to get them in the hands of everyone. All anyone could say was "a smartphone isn't for everyone". With VR, just in this thread half the people are saying "I just hated the resolution, lack of portability and software", similarly specific objections like people had with the initial iPhone.

I actually had the opposite experience to you. The first iPhone wasn't very special to me. "So what, it accomplishes everything my current phone does, only with pinch zoom". My first Oculus dev kit experience, terrible 720p display and all was captivating.
I'm doing ML in Python 2 and I can't see a single reason to move to Python 3. Every article is about strings, but in fact I needed to work with Unicode once (mostly doing computer vision tasks, but once trained a RNN on a book in my native language just for fun) - and I don't remember ANY problem with it in Python 2.

So, why should I bother migrating? I moved to C# 7 instantly and never looked back, for example, because it has tons of stuff. But the only thing I hear about Python 3 is "it's so much better!!!111" and "strings, you need it".
"...after the first minute I started feeling more and more immersed..."

VR = immersion.

The gear, resolution, tech is all details.

Given my loose definition, we've had VR for years. Dr Dan Bricklin once asked me (rhetorically): where are you during a (deep) phone conversation? Here? There? Both?

AR is when the gear matters as much as than the story.

Source: Gadfly during the first VR hype cycle.
AFAIU antitrust lawsuit triggers when you break an implicit agreement with customers i.e. breaking trust. But thats not what happened here. App Store is sole distributor of apps. Customers knows this. Customers may even rely on it.

So what gives ? Specifically what can a business in general do to avoid such fate ?
> A wage negotiation is adversarial. More money for one side means less for the other.

Incorrect. More money for you means the manager get more budget for this years and the next and he can write "hire X people for $Y". More money mean you both got more.
After taking a lot of medical courses just for fun, and a lot of neuroscience, I took a course "Introduction to Clinical Neurology" offered on Coursera that had some stringent exam conditions so that it would even count towards having taken an official course for practicing doctors as part of continuing education. I also took one on the same platform actually taught by African doctors about various parasites common in Africa, leishmaniasis was in it too. (Note: Can't link, after the reorg. of Coursera those free courses are not even available in archived form.)

So anyway, especially the neurology course was kind of depressing. Basically, apart from watching and treating a few symptoms, and maybe delaying symptoms (the main example being Parkinson's and brain implants), there is nothing that can be done.

Looking at the state of medicine I'm reminded of the movie "City of Ember" (http://www.imdb.com/title/tt0970411/), where survivors of the nuclear apocalypse were placed in an underground city, and the movie starts a few hundred years later when their (1960s level) technology and especially their power plant starts falling apart after many, many repairs. The engineers there, with no access to make anything new, only the supply they were given at the beginning, are like doctors, and the machinery like human bodies. You start with what you are given and it all goes downhill from there, with more or less horrible kludges and hacks around arising problems along the way.
It's probably that if he answered no there was no way for MacLeod to refute it. So that answer is on record.
Webpack/React/Angular?

It's Vue.js these days.
The judicial branch is meant to be neutral judges - but police and prosecutors are not part of the judicial branch. In the case of prosecutors, their job is explicitly to not be neutral.

However, the 5th amendment applies there as well - they can't force you to self-incriminate, you are free to remain silent in police interrogation. However, there's nothing in the 5th amendment saying the police or courts can't ask clever questions - if you incriminate yourself because a police asked a sneaky question in interrogation, that's on you.
> The UK doesn't have a constitution.

The UK doesn't have a written constitution.
Lincoln: "It was only with his death that Lincoln's popularity soared. Lincoln was slain on Good Friday, and pastors who had for four years criticized Lincoln from their pulpits rewrote their Easter Sunday sermons to remember him as an American Moses who brought his people out of slavery but was not allowed to cross over into the Promised Land"

From: http://www.civilwar.org/hallowed-ground-magazine/unpopular-m...
You think if someone goes hunting with my gun and commits murder instead, I'm an accessory to murder?
It's very important to enable the homeless to take cashless payments. But I don't like this particular scheme at all.

It is horribly patronising to tell people what to spend their money on or what jacket to wear.
Show HN: Iconify – Turn ugly hashes into beautiful icons
It's really an additional set of services being added to Office 365 targeting small and medium businesses. It also looks like the price is now lower than Google Docs on top of it.

This doesn't seem short-sighted at all, in fact even if I were running a business that didn't have a lot of computers, I would consider this. Most people (with jobs), at least in the U.S. at this point have at least a smart phone that could access email, scheduling, etc.

Even larger companies (such as fast food chains) could absolutely use this.
You don't grok it. Bytes are not ASCII strings. They are NUMBERS between 0 and 255. Strings are strings. DECODING bytes with ASCII encoding into TEXT is not "casting", it's DECODING.
A trust is a monopoly and has nothing to do with consumer trust.
I'm with you, but i believe we will see more and more huge user data sets being stored on clouds. So maybe the future will be a hybrid model between SSD local drives (for day to day files) and cloud for mass user storage (like photos, videos, backups, and so on).
I know people believe this but the UK does have a constitution, it's the sum of laws, treaties, conventions and the Common Law as interpreted by the judiciary over hundreds of years.

It is no less real than the American Constitution. What it doesn't have is a single written document (with amendments).
Used to be, called LibreSignal. They ran into legal issues.

https://github.com/LibreSignal/LibreSignal

There is a bounty for modifying the signal app source to drop play services.

https://www.bountysource.com/issues/35722527-create-proper-p...
I'm curious what do you think about AMP. Do you think it is a good solution for this? (not implying that AMP solved this problem, but rather some company as intermediary to serve you the page correctly, instead of relying on the website's owner)
Not really embrace or extinguish... they're embracing the SaaS model, but in a lot of way's that's even more portable and able to move, provided sufficient tooling.

It seems to me that they're offering a compelling competing product to what Google Docs has, and expanding upon it far more/better than where Google has. At least in terms of servicing business. This is actually pretty great. Leveraging a windows monopoly to encroach on other areas and using unpublished APIs for competitive advantage is quite different than this.

I wish MS all the best with this one.
I love the evergreen content advice!
"Imagine people saying this about Doom when it was released."

Nope. We were blown away.

Even knowing full well we'd eventually have real-time photorealistically rendered worlds to explore, surgery to perform, molecules to inspect... The early advances were exciting.

"Everything you mention are very (very) simple technical limitations on what are basically proof-of-concept devices."

VR has some thorny non-gear problems to solve. Human physiology ain't simple.
The "right way" in every single language is to follow the encoding sniffing algorithm: https://html.spec.whatwg.org/multipage/syntax.html#encoding-....

You may want to note the following:

1. implementing the entire encoding-sniffing algorithm for a basic example is a bit extreme

2. the very first step of the encoding-sniffing algorithm is "if the use has explicitly provided an encoding, use it", which is essentially what the example does

> To me it looks like by insisting on lossy byte/string conversion of all I/O the language painted itself into a corner

That makes literally no sense. If you want to "fetch an URL with text content into a string" — emphasis on string, not bag of bytes, if you want a bag of bytes you can skip the whole decoding thing in Python it's not necessary — there's no other way than to decode it, which means you need to assert or discover its encoding, for all you know the document could be in Big5.
I remember the first time my wife and kids made a game unplayable and resulted in a loss for my team. It feels like I perpetually need a faster connection. And it wasn't long after that they forced me into getting a wireless router that supported N because they were saturating the g one we had.
If you are not using strings then very few things are different between Python 3 and 2 so the cost of change to a more maintained interpreter is even smaller for you. The only real problem you might have is having some library that doesn't have Python 3 support. Also since you are dealing with ml I must warn you that the developers already committed to not support Python 2 in the future, not sure about numpy though.
Why do you want the video of journalists being murdered in cold blood to be kept a secret?

(link https://en.wikipedia.org/wiki/July_12,_2007_Baghdad_airstrik... )
High Spirits: Lost in Japan
Obama is the worst president for whistleblowers and leakers in american history, by far, having prosecuted more of them for espionage than all presidents before him combined. So this would be quite a surprise.
In Python 2.7.12

>>>s = u'おはようございます'

>>>print s[::-1]

すまいざごうよはお

The only problem with Python 2.7 strings is that the author of the article doesn't grok them. Just use u'' instead of ''. There is also "from __future__ import unicode_literals".
Just to clarify on mtreis76's bountysource link, that work has already been completed and submitted by 8bitkid, and we're just waiting for it to be merged into Signal. Discussion on this here: https://github.com/WhisperSystems/Signal-Android/pull/5962
I didn't even know Allwinner supported secure boot, and it's certainly not widely used as far as I know. Running your own code in EL3 is pretty standard there because it's the mode when the ROM bootloader hands over control to the user-provided bootloader. You sure you haven't confused them with one of the other manufacturers?
> One of the main ingredients of a successful negotiation is to be likeable.

LOL.

The only ingredient of a successful negotiation is leverage.

You don't need and you shouldn't use anything else.
A look at the new plugin package coming in Go 1.8
Hack services for hire
I am Andrew Alan a hacker who has built a very good reputation and undeniably one of the best hackers you can come across.i have got access to hack into any account and also get to generate passwords for accounts like Facebook,Instagram,Twitter,gmail,yahoo mail,whats-app,we-chat,etc..I also have logins for bank like BOA,welsfargo,chase,credit union,capital one, and many other different banks for transfers and credit card top ups,Retrieving hacked social media accounts,clearing criminal records,increase credit scores,CC hack,hacking computer systems,Website hack,Catch hacker scammers,Phishing emails, that's to mention a few ... You can contact me on.......... andrewalanhacks@gmail.com
So..., it does not have a constitution then?
In aggregate, over a large number of subscribers, insurance should be predictable as well.
I thought it was a slight attempt at humor, e.g. "I ate the one cookie you're never supposed to eat - the last one." but am now curious as well.
Generating Icons with Pixel Sorting
I fought so hard for this at one of my current customers. But, no, we have Mbyte+ image maps for our pricing plan selection pages.
He saw his eleventy-first birthday? That's a rather curious number and a very respectable age for a human.
Hmm. Civil asset forfeiture? The same procedure used, without much supervision by judiciary, to grab assets from persons suspected of crimes? The proceeds are used to pay for, well, more police to do more civil asset forfeiture work.

http://www.newyorker.com/magazine/2013/08/12/taken
Organization with noone over 3X years old => They pay too poorly and/or have terrible life balance to get any interest from experienced people.
Yes, that is the story actually going on.

Can't believe how many people fall for this BS, even on HN..
Who say's he "stranded" in Russia? It may have been Snowden's plan all along.

And he didn't have any importance to the world at all, before he fled to Hongkong and Russia. How should "ties to Russia" emerge before? Wouldn't it be more reasonable, if those ties existed, to hide them?

Sorry, I know a lot of people don't like hearing it, but Snowden having been recruited by Russia before his defection is just as plausible as him having pure democratic motives and seeking the help of China and Russia.

There is absolutely zero reliable information on Snowden's motives.
A lot depends on the market power. So for the Mac store it is a different story than for the iOS store as in the latter Apple has a very high market share.

There are also other considerations. A company may get away with demanding certain exclusivity rules for a few years but now we are getting to the point of 10 years so courts will look at the situation differently.
One way the US could look to Europe is by not forcing a single one-size-fits-all solution on every state, but rather leave health care to the individual states, which allows for more experimentation, variety, and competition. This would require congress repeal ACA and replace it with no federal health care law, just like is done with Europe's central government.

https://mises.org/blog/how-us-states-compare-foreign-countri...
Burnout – a teacher's story
What is text content? You have to either know, find from the metadata or blindly assume an encoding from the byte string HTTP gives you. In the "simplest" case Python3 only forces you to explicitly write that assumption in your code, Python2 just made one for you.
FIFA: Is the Nintendo-Switch porting the old consoles version?
It makes a whole lot of sense if you consider that the goal of Snowden's defection isn't just to bring secret information to Russia, but rather to undermine Trust in western democracy - a well documented goal of Russia's intelligence services.

You still don't get the point that Snowden may be flat out lying over certain things, like his reasons to go to Hongkong or to "choose" Russian exile.
Yes, I'm using Tree Style Tabs.
A thing I've found to help people about that is to override __repr__ on bytestrings in python3 and bytes in python3.

If you make it not print strings as "ascii" but as hex, people grasp the difference easier.
But the judge isn't free to make their own investigations, and the police are part of the prosecuting apparatus. So they evidence presented is biased, and the system is adversarial not inquisitorial.

Sneaky questions versus outright lying? From what I've read, that's common practice for US police officers in suspect interviews.
> in K&R string constants could be modified

Every compiler has a writable strings flag for backwards compatibility.

Everything else you cited is backwards compatible. You are confusing forward compatibility with backwards compatibility.
You are doing it wrong. Don't mix bytes and str. "Cast" is C lingo -- you don't "cast" completely distinct types like str and bytes.

(Note: Personally I would love to have str always represented internally in UTF-8. If it were like this, I would say "cast" was acceptable vocabulary. But it's not like this).

> str(b'hello world', 'ascii') gives 'hello world'. So, so broken.

https://docs.python.org/3/library/stdtypes.html#str

It's all documented and actually quite simple.

By the way, I never needed this. str() is just a convenience function, it's not meant for reliability. As you surely know there is complex interplay with __str__ and __repr__. I use str() for debugging, error messages etc. But not for anything that I expect to be able to process further.

How do you decode a bytes object to str object? Simple and intuitive, use .decode('utf-8')
The way I think of it is "keep this in your mind". Though, I'm native English, with 9 years of classes over 20 years ago living in Western Canada. So take that with a gran of salt.
Lock yourself in the basement, throw away the keys. It's the only way to be safe.

> You still have to trust the hardware though.

Yes, exactly. And, realistically, how would this work? For a start, everyone running his own lil' chip foundry in the garden shed?

This is all BS. Paranoid BS, and fake news Guardian is stoking the flames. Good job..
Finally! The site defacement can cease.
In both of those cases, you're no longer using a Python 2 string, in that it's not a bytes-like object. For example, you can't write a Unicode object across a socket- it has to be converted to bytes first.
SEEKING WORK - Istanbul, Turkey / REMOTE

Hi, I'm a computer scientist doing mostly web development work. Looking for a workload of ~20 hours / week. I would gladly help your business make software that eats the world.

- MSc in CompSci

- 8 years of experience

+ PHP (Laravel, WordPress, Symfony)

+ JS (React, MobX, Vanilla ES5+)

+ HTML5 (Offline Apps), CSS (Sass, CSS Modules)

+ Python (Data Wrangling, NLP, Scrapy)
Conversion Optimization, UX, App Performance, Solr, Selenium, RDBMS (PostgreSQL, MySQL), NoSQL, Software Architecture, Docker, Rancher, DevOps

Email: gasoved [at] gmail
Just as annectdote, your blog site is kind of broken on smaller screens (tablet). The useless right sidebar covers almost half of the screen, and overlaps the content (only a bit more than half of it is visible).

And then there are many many users world wide who use a smartphone (small screen) and connect over GPRS or Edge (slow as modem). Bonus points when overblown sites with dozends of ads and trackers crash your browser on a mobile device, because it ate all your RAM for lunch. Every additional JS file is a pain. Tip: Keep the total JS file size below 300KB.
The Fact Behind Big Beautiful Dating and Why BBW Should Consider It
Deep Dive into Python's VM: Story of LOAD_CONST Bug (2014)
> leave your vehicle without the hand brake, the vehicle moves and kills somebody, then it's your fault,

true. It's also true if the brake fails, whether or not you maintained it correctly.

> and it's a crime

false. It's a tort -- a misdeed against the victims, for which they or their heirs can sue you to recover damages. The legal theory is "strict liability." It applies also to farmers whose bulls escape into the village and wreak havoc, and to factories whose molasses tanks collapse and flood streets. The victim need not prove negligence to collect actual damages.

To collect punitive damages the victim does need to prove negligence.
Management is not easy as it sounds. Leading people and setting strategy needs a lot of experience. The culture of the company to take calculated risks should gel with your thought process when you are higher-up. You are also responsible for the people who report into you and need to make sure that all are 'taken care of'.

Being in Management has nothing to do with Coding; you should be a good manager of time/tasks, so that you can afford to code atleast a few hours every week, if you dig such.
Are you suggesting collective punishment? How do you know who to revoke access to the car if they don't admit it?

Also how do they if they actually were the one that was speeding if more than one used the car on the same road.
Home treadmills are a billion-dollar market in the US alone.

And a VR headset is considerably more interesting, convenient, and flexible than a treadmill.
Show HN: Online Software Testing Video Courses
I was with the author until reading this unfortunate quote:

> Traffic camera laws are popular in part because they appeal to a law-and-order impulse. If we are going to stop those nefarious evildoers who jeopardize the health of the republic by sliding through yellow lights when no one else is around and driving through empty streets at thirty miles per hour in twenty-five zones, then we need a way around such pesky impediments as a lack of eyewitnesses.

This is an unfair rhetorical attack that trivializes the motivations for necessary enforcement of traffic laws. Whether or not you are a fan of traffic cameras, traffic violations are in fact serious and should not be brushed off. The problem is, one day you make it easy for people to think it's ok to do 30 in a 25, then the next day they're doing 35, then 45 the next.

I honestly do think people should be ticketed for 30 in a 25. It's not a trivial laughing matter. It always dismays me to see people downplaying speeding. 30 vs 25 will increase your stopping distance more than enough to kill a child. Yet, we nonchalantly think it's cool as a society to blow through red lights and everyone speeds. The author clearly separates "the slightly more respectable offense of owning a speeding vehicle" from "armed robbery, drug dealing, and other misdeeds". Would the author feel that speeding is any more respectable than armed robbery if a speeding driver killed their kids?

I agree that traffic cameras are a poor way to enforce these laws, but I want to point out that they really do need enforcing and shouldn't be trivialized.