skysight-inc/HackerNews huggingface dataset:
Okay, we're talking about the same thing. As the documentation points out:

> If items(), keys(), values(), iteritems(), iterkeys(), and itervalues() are called with no intervening modifications to the dictionary, the lists will directly correspond.

If you restart Python, you have broken the correspondence.

You'll note that either the documentation is incomplete or your interpretation is incorrect, as the most recent versions of 2.6 and 2.7 will use a randomized hash table when the -R flag is enabled:

% ~/Python-2.7.10/python.exe -R x.py
{'M': 77, 'L': 76, 'O': 79, 'N': 78, 'I': 73, 'H': 72,
'K': 75, 'J': 74, 'E': 69, 'D': 68, 'G': 71, 'F': 70,
'A': 65, 'C': 67, 'B': 66, 'Y': 89, 'X': 88, 'Z': 90,
'U': 85, 'T': 84, 'W': 87, 'V': 86, 'Q': 81, 'P': 80,
'S': 83, 'R': 82}
% ~/Python-2.7.10/python.exe -R x.py
{'Z': 90, 'Y': 89, 'X': 88, 'W': 87, 'V': 86, 'U': 85,
'T': 84, 'S': 83, 'R': 82, 'Q': 81, 'P': 80, 'O': 79,
'N': 78, 'M': 77, 'L': 76, 'K': 75, 'J': 74, 'I': 73,
'H': 72, 'G': 71, 'F': 70, 'E': 69, 'D': 68, 'C': 67,
'B': 66, 'A': 65}

I can totally understand how people expect an invariant order. As I pointed out, our regression code broke in the 2.x series because we relied on consistent ordering, and CPython never made that promise. But what I quoted above is the only guarantee about dictionary order. Everything else is an implementation accident.

Nor is it the only such implementation-specific behavior that people sometimes depend on.

>>> for c in "This is a test":
... if c is "i": print "Got one!"
...
Got one!
Got one!

That's under CPython, where single character strings with chr(c)<256 use an intern table. Pypy doesn't print anything because it doesn't use that mechanism.

Note that 'is' testing is also faster:

% python -mtimeit -s 's="testing 1, 2, 3."*1000' 'sum(1 for c in s if c is "t")'
1000 loops, best of 3: 893 usec per loop
% python -mtimeit -s 's="testing 1, 2, 3."*1000' 'sum(1 for c in s if c == "t")'
1000 loops, best of 3: 1.01 msec per loop

This extra 10% is sometimes attractive.
This is a common and frustrating sentiment when people try to counter sexism/classism/racism. The real question is this: Is it really true that rich white males are generally more competent?

If they aren't, what can we do to remove that bias and get what you ask for?

If they are, what's preventing other groups from gaining competence?
Man, car theft is a really dick thing to do. It's like your simultaneously maximizing inconvenience to the former owner and the odds that you're going to get caught. Wouldn't it make sense to put your effort into items that are easier to transport, conceal, and fence?
> treating things too generously

That's a risk I don't think HN is in much danger of, but the Principle of Charity addresses this case as well as the other.
what about the common? i think that was the gist of the comment...do the ESOPs pay out in preferred?

edit: below comment mentions using comp rsus
White house to veto bill halting Syrian refugees
America's Richest Self-Made Entrepreneurs in Their 20s
Did you look at the linked book? The first two examples are of a coffee product and a GPS location. Of course real-world code often is bigger than textbook examples, but this complaint is hardly applicable here.
Ask HN: Startup idea – have capital but no relationships. Advice?
My background is investing and not technical. I am interested in doing a startup for an idea of mine. Capital isn't my problem...I don't know the right people. My whole network is mostly investment geeks, and I really don't have the foggiest idea how to find the right programmers (initially I am looking for a couple ETL experts) or how to evaluate them even if I found them. Any thoughts? Heck, this is practically a job posting in some sense. Thanks
Having traffic encrypted with illegal algorithms pass through the Internet would make you a target.
Keep this in mind when police or politicians push any legislation to give them more power over you, do more surveillance, or have less accountability. Especially as they push it over the "threat" of ISIS. Remember that they do more financial damage and kill more people than any terrorist outfit outside one-hit-wonders like 9/11.

We need to fight civil forfeiture and all legislation like it.
Banking doesn't strike me as a use-case that the government needs to worry about, since a mandate already exists to report financial information and suspicious banking activity to law enforcement. A backdoor would be more convenient for them, but encryption of your communications between you and the bank does not mean the bank is encrypting your financial and demographic information in such a way that they themselves will not be able to retrieve it.

What's being discussed here is the Apple strategy, where the service provider can provide a service to the public without the ability to retrieve information generated by the service.

The desire for companies to provide such services was likely spurred by the government's insistence that they provide private encryption keys, even in the event that they provide access to encrypted information not limited to the direct subject of a warrant, and the federal courts' repeated confirmation of the government's power to enforce such requests. See the demise of Lavabit [1].

There are numerous technical workarounds to this problem; for example, a private-key infrastructure that generates one key pair per message, or per customer. However, none of those workarounds allow a service provider to market products that are end-to-end secure from eavesdropping or the later revelation of the customer's information to empowered third parties.

So in essence, the argument I'm making is that it doesn't matter if there is a fundamental difference between banking and a chat application, because in either case the government either already has or is actively seeking the power to obtain the information you generate.

As it's hard to imagine a world where malicious parties would not be able to obtain encrypted communication mechanisms (unless you ban open-source, computers, pens, and the human brain), it's difficult to reconcile the above with the proposed effect this law would have, and it's very difficult to imagine the government restricting the application of these new powers to terrorist organizations only. See the history of the Patriot Act, for example [2].

[1] https://en.wikipedia.org/wiki/Lavabit

[2] https://www.washingtonpost.com/news/the-watch/wp/2014/10/29/...
I really don't see why you'd want PNGs of text. I get that you don't want people to copy, but it is readable text. Don't show people code if you don't want them to have the exact same code. And anyone willing to copy/paste has already committed to wasting their time.

Also, this kind of thing already exists:

http://www.free-ocr.com/
The Senior Senator from Arizona needs to just retire and enjoy his twilight years. There was a time where I found him interesting, engaging, and worth voting for. It's been several years since that was the case.
http://www.primotoys.com/ looks like the direct site.

I thought $180 seemed like a lot but it does look like you get a lot of stuff (including a simple robot).

A toy lawn mower, a wooden toy train set, a toy truck, and maybe another one or two toys is already pushing $100, most of which end up in a bin to be barely played with after the first day.
"$" is a modifier, not a word. Otherwise you'd be reading it as "9 dollar sign", not "9 dollars".
Bitbucket integration now comes with CI tool of your choice
"Indescriminately(sic) bombing?" "conducting terrorism?"

I led a platoon in Iraq, and we did nothing of the sort.

I'm fine with opposition to U.S. foreign policy; this is just lazy slander, and it shows a very shallow understanding of what actually happened.
> I would no sooner put a anti-gov politician in charge than hire a manager who's opposed to the existence of the team he's managing.

That is how you get ever expanding bureaucracy, regulatory overreach, kingdom building and information silos. Those who can see beyond their own team and work to make their department irrelevant are exactly the kind of people you want as managers in your company.
The DMCA's anti-circumvention language constitutes a delegation of congressional power to private manufacturers, who can create schemes at will to criminalize uses of their products which they consider to be harmful to their business.
Not in this case.
Europe is not that bad. Yes it is nice to earn $120k in Silicon Valley, but life is extremely expensive with $3500/m rent for a 1br apt. Get a job in my home town Amsterdam, earn $80k and spend only $1000 on an apartment. Uber moved its mobile engineering team there for a reason.

In general, the entrepreneurial scene is much smaller, but if you want to concentrate on SE Europe is fine.
Now that we have crispr:

China: the birthplace of the next eugenics revolution.

Mark my words.
It's a bad fit for most of the things I need to do. Especially for systems that have a lot of background processing, but need a web front-end (because enterprise, and dashboards!), it is a drag to have everything go down because IIS has decided to recycle your app pool due to 20 minutes of front-end inactivity. Yes, you can change the settings to disable that, or architect things differently to separate the UI from the background service, but it is extra complexity that is a pain. Building a Windows service that has a light-weight webserver built into it is much easier.

IIS also has too many knobs that can get fiddled and frig things up. Before we switched, I'd always be on support calls to help a customer fix one of our products after their sysadmin tweaked something in a way to break us, or installed some other piece of software that stomped on us.

IIS also has a very conservative set of defaults if you naively install it. Seriously, I've seen a lot of instances where customers install IIS, and CSS doesn't get served - you have to install an additional Static Content module. People don't read instructions, or bother to run required setup scripts. So you have to do a bunch of additional work with less-than-friendly installer authoring programs to make sure that features that any self-respecting web server ought to have out of the box are available.
I think the UI is cleaner and more Mac-like; Pixelmator felt a little too comfortable throwing consistency and OS X UI standards out the window. It's been a while since I tried Pixelmator, though, so maybe this comparison is no longer fair.

Also, though it probably won't matter for most people, Acorn's file format is pretty ingenious: http://shapeof.com/archives/2013/4/we_need_a_standard_layere...
Informatica ETL Tutorials for Beginners
so by the same logic, iOS should only be available in one language and should not allow deletion of any data, ever?
Thanks,
I was hoping this might be it and just checked, but those settings are already disabled in my account.
I would report it as a bug if I knew what caused it or had a way to reproduce it directly, but it's just a stock error message without any kind of additional information that occurs maybe once every 1-2hs.
Police seizing it, people trying to sue me over it.. Finally released my book
Pigeons as Trainable Observers of Pathology and Radiology Breast Cancer Images
I don't have a reference, but bytearray concatenation with some more bytes is amortized O(1) w.r.t. original bytearray size, but for bytes it is O(n) where n is the length of the byte string, because bytes are immutable and they are copied to a new byte string on each concatenation.

In python2 strings/bytes are also immutable but concatenation is O(1) w.r.t. original string.
Not sure about internal implementation differences.

so basically whenever you see code like:

some_bstr = b''
for something in get_something():
some_bstr += something

And if you have to do it this way, make sure that some_bstr is a bytearray or make it a list that you later join.
Resumable file transfers in JS is really cool.

But why a totally new protocol? Why not use bittorrent, rsync, or even ftp? A lot of effort has gone into making those reliable in the face of network congestion. Trying to shove a lot of bits down a single TCP connection with no traffic shaping is just asking for bufferbloat to strike.
Actually I'm just a typical user - albeit with some coding and product design experience, which most users don't have - but with opinions ahared by a significant percentage of other typical users.

Consider:

The Win 10 keylogger/spyware issue
Win 10 forced upgrades.
The nonsensical "one OS for all devices" strategy.
The Nokia acquisition.
Silverlight.
Kin.
Zune.
IE6, and the disastrous effect it had on the web design industry.
Win 8, and the disastrous effect it had on the PC hardware industry. (Never mind the fact that MS took a perfectly usable and popular OS - Win 7 - and broke it almost beyond all imagination.)

That list is nowhere close to being comprehensive. (How many people remember that MS tried to create a library services and publishing division?)

In what sense were these strategic successes?

Now, a lot of smart people work at MS, and every so often they produce something that could be a game changer - like the Courier project.

Somehow the game changers never ship. What does ship is - too rarely great.

Where does that disconnect come from, if not in strategic direction and management?
Chrome Mac renders it correctly.
The Insecurity of Security Vendors
Basically what swhipple says. I work on long running servers and it's fantastic to run them in a shell terminal and be able to use emacs' incremental search to look through the server output for interesting log output. I have no need for curses support generally, but when I do I use a different shell, though I can't say I find them nearly as useful.
Please let us try it without authenticating.
The Eureka Moment
Strike prices on common are almost always far far below what investors are paying for preferred shares.
Save Money on Medical Bills
civil asset forfeiture is getting there, though. What good is access to courts, if a conviction in that court is not needed to confiscate your property? After all, the Soviet block had courts too...
Node v5.1.0
Darth Sinous ooOOOOooooooOOO
Is it really "truth"? Some call it mental disorder, but really, it's just another position on the bell curve and could just as well be labelled as another aspect of personality. When 11 percent of population have ADHD I can't say it's a disorder with a straight face.
Great thoughts. I was really impressed with how sharp your thinking was in your original document, just disagreed with its direction. Interesting to hear that you've thus revised things. Want to do a skype or something on this stuff? Shoot me an email mark@gunDB.io .
Chances of being caught are actually not as high as you'd think - stolen cars are often not sold as a whole, but rather fenced to shady mechanics who will strip it down and sell the parts individually, without association with the original license plate or VIN.
Southampton expand academy to US
Bing for iPhone
I read the previous comment not as saying that this explanation was wrong, but that it's just unlikely to be truly enlightening to someone who didn't already know the subject reasonably well. I'm on the fence about whether I agree: the cognitive load of interpreting the odd phrasing certainly does compound the cognitive load of understanding the deeply non-intuitive physics.

This is quite a good presentation of the topic (or, parts of it), but if clarity of understanding were the primary goal you could probably do substantially better by translating it at least partway back into ordinary language. (But then, fewer people might be intrigued or entertained enough to read that version. So I'm not really complaining.)
How would they know, though? For all we know, OpenSSL has been backdoored in some subtle way.
The organization currently targeting the U.S. is largely the result of their unnecessary invasion of Iraq that smashed the country and left plenty of weapons over there. The organization that did it before was funded and trained by the U.S. for proxy war with the Soviets with a lot more alleged in between. Same for Saddam for use against Iran. Iran hit in Mossadegh days to steal their oil and control the area.

And so on and so forth. Vast majority of terrorism against the U.S. is by actors whose activities or capabilities are directly tied to U.S.'s own imperialism abroad. Not our money, democracy, religion, anything. Just doing evil dangerous stuff over there and funding/equipping those that do the same often to rip off resources.

Far from a mere "factor," it's been the single most consistent and driving force behind all terrorism against us. That means... that eliminating that while working to improve the situation over time might eliminate most terrorism against us? Well, let's do that then!
It's an interesting combination. ON would become the predominant manufacturer of discretes. There's still competition at IR, Vishay and Infineon (and ST if you can get past their horrible datasheets). But it doesn't really add to their portfolio, just takes away a competitor.

I haven't done the math but it doesn't seem like a great deal or a good plan.
It is a bit more nuanced than that. Employees are given options for Common shares rather than preferred shares. Since preferred have voting rights and other perks (like liquidation preferences) they are worth more than common. The value of common stock is determined by a 409a evaluation which takes a lot of different factors into account, but it is not unusual for Common shares to be valued at 1/10th the value of preferred shares.
You could bring one hell of a big suitcase bomb. Weight limits would not apply, and size limits only vaguely. Lug in one of those really big roller suitcases filled with high explosives and nails, roll it right into the security line, and... I'm on a list now.
VitaShell updated to v0.2 by TheFlow
Splicing from Batman may one day be real...but in the process lots of things will probably go wrong when you try to play God.
How to Make a PayPal Tip Jar
Since it's a character in Unicode's "private use area," its correct rendering is unspecified. (That code point's "use and interpretation may be determined by private agreement among cooperating users" according to the Unicode standard.)
Gene that makes bacteria immune to last-resort antibiotic can spread
Back when I first tried PC-BSD, I don't think GhostBSD existed yet. I've tried it once or twice since then, though. GhostBSD is definitely more lightweight and simple in what it provides (no graphical package manager, for example), whereas PC-BSD is more kitchen sink; I guess whichever one works for you depends on what you're looking for.

By all means, feel free to give both a try.
Something like 8% of men (~5% of population overall) are colorblind, do you object to calling that a disorder? If not, what's the cutoff: anything over 10%? Myopia is up to 30%, does that make it not a disorder?
Those of us who can work remotely are incredibly lucky. I spent last winter motorcycling and working in Mexico.

The photo of the Macbook by the ocean brought back memories. I had a nice little house on the beach for $500/mo. Unfortunately computer equipment won't last long in the salty air. My keyboard gave out after about a month.
Cool idea, but feels very unpolished:

- it's tough to discover the APIs (codinggame does it by describing all data elements and actions in a simple digest)

- UI should be more descriptive (just add some text to the buttons!). Recognition before recall is very important: http://www.nngroup.com/articles/ten-usability-heuristics/ .

- couldn't complete the tutorial, the game either crashed or froze

Regarding the game elements, I personally hate waiting games with pay to win options. I was curious to discover more, but that made me give up right then.
Calling it a "modifier" implies that it's something more than a convention. Currency symbols are formatted differently in different countries, according to custom.
General-purpose tool-building factory factory factory
Don't give up yet on the F1 - H1B route. The H1B issues can depend on when you graduate. 2 years before I graduated H1B visas were not in short supply. Students graduated and opted to go on OPT first before filing for H1B so they wouldn't have to pay social security tax. The year after that, H1B visa applications were so high they had to do a lottery. This lottery happened for the next 3 years. 2 years after I graduated, the no of H1B applicants dropped back to the normal level that no lottery was required (I read in the papers that lots of foreigners opted to go back home because of the H1B issues and the bad economy). H1B application pool remained at that level for a few years and then went up again last year or the year before that.

So in summary, H1B applicant pool can vary from year to year so don't cross it off your list yet
>>ou want to remove the terrorist impulse from all of humanity forever? That's... ambitious.

No, the goal should be to improve the living conditions, infrastructure, access to education, etc of impoverished regions where terrorist sentiment typically appears and festers.

To give an extreme example, there is a reason the Saudi royalty aren't walking into the middle of a marketplace and blowing themselves up: they already have everything they want/need. I'm not saying we should make everyone royalty, but that there is a clear correlation between standard of living and terrorist sentiment.
Not entirely, it's more of the "that word 'proof'/'proves' doesn't mean what you think it means" argument.

My point is entirely aimed at the linguistic use of "proves" than anything else.
Match Prices Its IPO AT $12 per Share
This is the best of all possible worlds for the late-stage investors. They get double the shares from the ratchet and probably a big valuation pop tomorrow too.
Watergate is the first example that popped into my head.
But his comic _is_ about Saturn V.
Well, I simply highlighted the difference between theory and practice. The average user does not have the money to audit open source software. And even if you get someone to bankroll the cash, you will need to re-do the audit for every single check-in since the audit.

You made a point about Windows being impossible to audit, but in practice you're in pretty much the same boat when it comes to Linux.
For a much larger collection, there's http://kamondb.com. The navbar at the top jumps between categories. e.g. Plant-related kamon: http://kamondb.com/plant.
There isn't a contract with this phone. The total price is $10.
it's a robot for urban tech-focused dual-income families with probably 1 young child, their first (which means everything they buy is top of the line). honestly they probably could have priced it at $199 or more.

witness:

http://www.toysrus.com/products/luxury-strollers.jsp

http://www.thebump.com/a/25-hottest-baby-products

do you know how much these kinds of people spend on their babies? it's astronomical.
Ancient?? I think you don't know the history.

MS Office started in 1990.

Current technologies that are older include...

- Unix and most of its tool system (including emacs, vi, grep, awk, tar, X-windows, etc)

- Most fundamental networking technologies (tcp-ip, ftp, email, etc)

- Several game franchises including Mario, Final Fantasy, Frogger, SimCity, Wolfenstein (you'll be more likely to recognize its descendants Doom and Quake)

- Many popular relational databases. Whether you use MS SQL, PostgreSQL, Oracle, those are built on code bases that have been continuously developed from before 1990. (Albeit with name changes. MS SQL started with Sybase's code, PostgreSQL was developed from Ingress.)

- Around half of the top 20 programming languages in use today, including languages such as C, C++, Python and Objective-C.

There is a LOT more history to the software you use every day than you recognize!
All burglaries are wrongful, but only some unspecified fraction of civil asset forfeitures are wrongful. You need to multiply the first number by that percentage before comparing the two numbers. The comparison in the article is thus nonsense.