skysight-inc/HackerNews huggingface dataset:
Just for fun, I've tried that with the OSX calculator (in El Capitan, in case that matters).

When I paste the number in the article (17281580835365214242) into it, it shows as 9223372036854775807. Typing it by hand does the same, when you enter the last digit it transforms into that number, which is 0x7FFFFFFFFFFFFFFF in hex.

Funnily enough, if I paste the hex value (EFD4823541245822) and transform it to dec, it shows as the correct number, the one you can't paste or type.

So, the OSX calc looks broken too, in an even weirder way.

edit: Forgot to mention this was in programmer's view. As far as I can tell, other modes work fine.
Start by having level-headed discussions about the value of life.

I know a lot of families taking on massive debt to help pay for their parent's old age. Five-Six figures here and there to extend their parent's lives by a decade or two, saddling themselves with debt and leaving the next generation with no assets... Likely after moving the entire family to a decaying suburban city. All so the previous generation can stick around with a much poorer quality of life.

Health care has a far larger impact than the number on the bill. We need to openly talk about life and accept the inevitableness of death.
Tardigrades turn into glass when they dry out
Mind you Apple also completetly fscked up the OSX calculator RPN mode a few version back. Some intern went in an seems to have 'fixed' it to require parenthesis.

Perhaps they 'fixed' it since, but I trashed it anyway, now I use the real HP-16C on the desk.
Not at all -- my goal is simplicity and clarity so a confused (potential) user is a bug report!
And the equivalent Facebook solution to the drug problem would be "Hey, we don't need to do clinical trials, because some medicine is better than no medicine, since there are desperate people who are willing to accept anything right now".
Analyze it to answer what question? Happy to help.
Beautiful Decay of AOL
I can recommend SpeedCrunch. Free and open source, comes in an installer free (USB/portable) version, and as for checking the value of the number in the topic, simply type hex(17281580835365214242). It supports Windows as well as OS X.

https://bitbucket.org/heldercorreia/speedcrunch
Thanks so much for all the info Tom! I'll look into everything shortly. Let me know if you want access to the sql db at any point, everything is being saved ;)
The lead is in the mains, and with most of the apartments in any decent neighborhood approaching 1 million for a two bedroom, it's not like you can purchase a building and replace the plumbing.

The problem is a government that injected a cheaper treatment chemical into the water supply that dissolves that lead, and then lies about it to the public.
Yes, but also no!

"Remember" is a dangerous word to use here. Memory is fragile, fallible, and stored in ambulatory meat, which is inclined to wander off between releases. Store these use cases in automated tests that run automatically on every commit. And make sure the tests clearly express the intent of the requirement, so that when somebody eventually breaks the test, they can quickly get the purpose. (If not, they'll be inclined to just delete the test.)
You don't think losing $200m of someone else's money hits you like a ton of bricks? Being in the industry he is, I think he could handle a $50k personal loss. It wouldn't be fun, but it wouldn't be life-ruining. Presumably, when the magnitude of this loss hit him, he assumed his entire career was over. That's a lot more than $50k in earnings, not to mention the personal and professional humiliation.
Fourteen? Perhaps you should do that math again with bc.
A Pirate’s Life for Me, Part 1: Don’t Copy That Floppy
Teens+Youth+Ministry:+Jesus,+Bible+Story+for+Kids
Sad what was done to this woman too http://nanabkay.blogspot.com/2015/12/heartless-47-year-old-w...
If it's fulfilling to him, then that's not necessarily a bad thing. Some people never find something they are passionate about.
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
2015 - 1991
24
I have. He's a fraud.
I like this response.
I logged in and saw the red and got scared. I thought I was banned for a minute there. But it works.. I like it :)
I'm glad I'm not the only one. It is perhaps more common among linux/mac users, but windows user should just join the python-as-a-calculator club.
+1 for mentioning Fabien's stuff.

Now, if he just had time to do the book he was going to write... I'd seriously pay $100
Yup. In addition to the general purpose safe navigation operator we also have Hash#dig now which helps with those pesky nested params:

params.dig(:user, :address, :city)
Depending how you're measuring it, I believe it could be because urxvt's output is buffered by default whereas xterm's isn't. That may mean 16.7ms (= 1 second / 60Hz) is added to the measured latency, though the extra time would have no effect in practice.

ed: or maybe thats excluded from the measurement but urxvt is double buffered by default?
The NEWS file defines what the pragma actually is,[1], but you'd use it like so:

# frozen_string_literal: true
str = 'foo'
str << 'bar'

This will now produce an error:

# main.rb:3:in `<main>': can't modify frozen String (RuntimeError)

It's equivalent to Ruby 2.1's String#freeze:[2]

str = 'foo'.freeze
str << 'bar'

# main.rb:2:in `<main>': can't modify frozen String (RuntimeError)

Except that it will affect all strings created after the pragma mark.

You can also trigger this behavior globally with the --enable=frozen-string-literal option.

[1]: https://github.com/ruby/ruby/blob/v2_3_0/NEWS#L17-L26

[2]: http://ruby-doc.org/core-2.2.3/Object.html#method-i-freeze
Pre cro-magnon. Give them 50 to 100 thousand years
The biggest surprise to me is why this wasn't caught during testing - especially since testing a relatively simple app like a calculator is often used as an example of how to do testing: try the biggest numbers, smallest numbers, zero, and some values in the middle. There's emphasis on testing the extrema, since that's where bugs (like this one) are most likely to appear.

I should also mention there's another suitable replacement, the free Microsoft Calculator Plus:

https://www.microsoft.com/en-us/download/details.aspx?id=216...

It's got a horrible early-2000s skin but you can turn that off easily; otherwise it works just like the old one with a few extra features (which I personally don't find too useful.) It's strange they didn't just ship Windows with some variation of that. Ever since I was caught by the modality "feature" (decimal points and trig functions don't work in "programmer mode"!?) I've replaced calc.exe with Calculator Plus.
I don't really get why this has been posted? Yup genetic data is a thing that exists... That isn't all species that have been sequenced just the NCBI collection.
I adore SpeedCrunch. I don't have fancy large number requirements but I love the interface. It works on Linux too, though I think it's an old version in the Ubuntu repository so you might prefer to download the source instead.
Nah he's alright. I have my issues with him but he really is good at discussing and digging into the issues with what GP is getting at with his post.
It's not just Windows. I have an enormous investment in iPhoto -- lots of curated albums with comments. iPhoto won't run in newer versions of MacOS, and Photos won't run in older ones. So I'm looking at an event horizon: once I upgrade past Mavericks there's no going back, and as long as I'm on this side of the horizon there is no way for me to know if Photos is going to successfully import my photo albums or not.

This has happened before. When Apple dropped support for Rosetta after Snow Leopard I lost the ability to run a wide variety of useful applications. I still fire up Snow Leopard in a VM now and then just to run one of those apps. (BTW, running Snow Leopard in a VM is a non-trivial thing to do because Apple's license specifically prohibits it, and Parallels enforces that restriction.)
I've always wanted a handheld graphing calculator that ran Python.
Unfortunately, CDN analytics is no alternative to GA so it's either/or kind of choice for us. Hence, full proxy type of CDN means that latency is additive.
After reading the patch that introduced the byte code compilation it seems what I was hoping to use it for are clearly not goals of the project: https://bugs.ruby-lang.org/issues/11788
Amazing. In Berlin, the crows are mostly grey 'hooded crows' (Nebelkraehe in German), they seem to have displaced the pigeons that were common 5 to 10 years ago.
try https://archive.is/YdW7p
I'm fairly sure there is only one solution.
Yet somehow Windows 10's calculator is worse.

- Also won't take in 17281580835365214242.

- Inconsistently slow to load, sometimes "instantly" sometimes seconds.

- Cannot double click to edit a previously entered formula

- History is terrible now (not in-line, instead a different "tab" hiding the data entry controls).

- Copy/paste sucks. Cannot copy out a formula.

I understand programmers being conservative with data types, but in a freaking calculator if you're trying to save memory by not making everything 64 bit or better then you're incompetent.
Workaround for Windows 10 calculator:

1. Switch to Engineering mode.

2. Paste your number

3. Press MS button to save your number

4. Switch to Programming mode

5. Restore your number from memory
Hyde Park visitors tracked via mobile phone data
Simplest explanation: the first Starbucks had enough business to justify a store twice as large but didn't have room to expand. So they opened a second store across the street.
Pretty much any programming language with a repl or similar makes a better calculator than any of these handheld calculator emulators
Oh please. This is a shit time to be alive. Too late to explore the world and too early to explore the universe. Not that we'll ever get to that second part. The world we live in is going to the dogs. Where is a nice total war or apocalyptic event when you want one?
Heh, 1991 seems like fifteen years ago…
> The privacy browser could also identify dangerous topics and pages and send warnings before searching/posting/loading anything. It would actually enforce good data hygiene to make this process much easier for people.

Isn't the point of the whole privacy thing to not be forced in to avoiding discussion of certain topics for fear of being labeled a dissident?
Removing apps it doesn't like, like Windows 10?
Its not deprecated. Its... traditional!
Today is the first day I've looked at the HTML for Hacker News. I feel like I've stepped into a time machine.
Yay. Time for a mass suicide party.
Except anyone can easily produce a perfect replica of a US state ID in their home with an extremely low budget. And the questions the TSA asked this guy seemed like basic CRA questions, if they don't stop fraud they won't stop terrorism.

There's no way ID checks will stop anyone who really wants to get on a plane within the US.
Couldn't you try importing your iPhoto library in a VM or on another machine? I realise the situation you find yourself in is less than ideal, but there are solutions.
Works for me after copying and pasting 17281580835365214242 it shows: 1,72815808353652E19
I thought the same thing!
Well, there's a handful of seconds I will never get back.
Yes, those of you that can should. I wish I could call my mother but I can only visit her grave.
So it just boils down to TPM-protected encrypted storage? That obviously works (because it's how a bunch of devices work today), but it's a lot less exciting... if you can set up a full TPM stack for sealed storage (which we don't have on consumer linux today :( ) then I don't see what attacks this "stateless laptop" defends you against that the TPM doesn't already handle.
It is an El Nino year if I'm not mistaken, so the unusually warm Winter is expected in many areas.

Not to say I think climate change isn't a problem, but I don't think it's responsible for the current weather to the degree others seem to think. Although it would be nice to point to the current weather and say "living proof!", I think it's probably not correct.
I wonder if you'll be so ready to give up your life right around retirement age instead of trying to have it extended 'by a decade or two.'

It's so incredibly easy to say when you're simply throwing others lives away, rarely do people do it with their own.
lol.

Recent college grad, naive + propaganda sponge? Have done 0 research, and know practically nothing on the topic - but watched a few documentaries on Netflix?

Every generation has gone through the same type of existential angst. Sell your house, liquidate your 401K. Buy gold bars, grow your own food, live out of a cabin. The economy is going to crash, the world is going to fall apart - it's different this time.

Nah, probably not. Not in your life time. Most likely, the machine will keep on rolling. Some of the problems we have will be solved. Some will turn out to be less dire than the alarmists anticipated. There has NEVER been a better time to be alive. This was true of the previous generation, too.

But, unfortunately for you, you now live out of a wooden box. But hey, at least you got those gold bars. Surely they will be worth something when the economy melts down (it's just around the corner!).
Yes, of course two machines would "solve" the problem. But that's an awfully expensive solution to what should never have been a problem in the first place.
In the US it's the same exact story, except it's with McDonald's and Burger King.
We seem to put a lot of energy trying to make software calculators having the same limitations of hardware calculators. Why?
I usually use the python repl as a calculator -- easy to see history, bigint support, and I can type a complex expression
This seems like a great start, but it would be far more useful if there was a C/C++ side. I only see Rust examples, which makes me think it is for Rust <-> Rust communication.

Though it's great to see this, because just rewriting in Rust -- while fantastically expensive -- isn't necessarily enough. You need multiple security measures. The grandparent comment was mistaken about this.
Sizeof, memset, memcpy
Google working on AI based messaging app
Poor people are there everywhere in the world. It's just surprising that Facebook decided to help the poor in India before doing anything for the poor in the US. Especially given the fact that the data costs are huge in US.

Facebook can decide to do what it wants,but this type of spending on propaganda trying to change the policy in India is not acceptable and maybe not even legal. Not sure,but would it be allowed for an Indian company to take out full page ads in NYT against the raise in H1B visa fees?
It stopped working once the calculator is switched to Programmer mode (Cmd+3).
UI not usable, list is too big; For example on my 13" retina with browser window full size, only 4 entries is visible.
I guess this should not be too surprising.

People of the same socioeconomic group tend to associate with each other, because of work, similar interests, etc. This is basically a clustering effect.

In terms of living distance from parents, if you live in an area where people tend to flock to (because that's where the jobs are, or other reasons), then it's further likely your friends will be in the same boat as you.

More reasons why anecdotes don't necessarily match the overall population statistics.

* Note: Massive generalizations in my above statements.
WolframAlpha may be a good online option too
Yeah, my wife has a few dozen databases in apple works (she'd been using it since it was Claris works on the old Mac OS). There is no upgrade path from apple, and just got a new macbook this fall; our only option is to export as a TSV, import into bento and recreate all the forms from scratch :(
"CONCLUSIONS:
Vegetarian diet is associated with an elevated risk of mental disorders. However, there was no evidence for a causal role of vegetarian diet in the etiology of mental disorders."
Following up on ...

https://news.ycombinator.com/item?id=10791675

Is there any way I can reply to someone's comment on an item I submitted? Clicking the "Reply" button does nothing.
I can recommend Wolfram Alpha for this use-case.
and its 47MB
The NCBI has a database of annotated genome sequences. For simple organisms, these might be only a couple of MB in size. You can use their search function to look up a genome and then download it from the overview page. No need to use their FTP server.
I seem to recall reading somewhere that pg uses clisp's REPL as his calculator.
It seems that all calculator GUI apps bundled with any OS are in some way broken. I also find many of them inconvenient, for example the OS X calculator doesn't clear when I press the backspace button (I just figured out that the C key does this...).
Now I'm curious about the html op="item" bit.
Getting old is weird. I catch myself thinking of records released in 2005 as "new". (Even though I buy actual new music every week or two, and still remain relatively on top of modern music.)
And I regularly get mocked by my coworkers for having an HP calculator on my desk right next to my notebook. "You know windows has a builtin calculator"
This claims to be a way to unite all of your media to be played anywhere - but if it were true, why can't I play movies I bought on Amazon digitally, movies from Netflix from my 12.99 HD subscription, or movies from Hulu which I pay a similar amount for for no ads. This whole thing is just a racket, let me pay $100-150 for all of the media I consume in a year plz and just distribute it to all of the copyright holders based on plays...the PRO of the future!
I had heard about this a few years ago and I find it fascinating. Entertainment being used for good! Its interesting how effective this particular show has been, so I have to wonder how effective those heavy-handed episodes of Family Matters or Home Improvement were.

I'm sure there are many examples of a TV show heavily impacting stuff that we encounter in our everyday lives, but I also would recommend reading The Power of Habit, as it has a whole chapter about how TV was used to effectively get people to start brushing their teeth before bedtime.
Develop your character by listening to your conscience in the face of ethical dilemmas. Develop your intuition by making mistakes and doing personal post-mortems to ensure you are learning rather than just floating through life. Put yourself out there and don't worry about what others think since this is the only way you'll know yourself. Vulnerability demonstrates courage more than staying in your comfort zone. Use the T-shaped approach to make an impact while still allowing others to respect you. Don't forget to be happy today since it is the journey to your dreams that makes the dreams satisfying and motivating enough to create new ones.
For all their supposed mathematical basis, in reality a lot of these models are based on curve fitting ultimately.

Assumptions are made and treated almost as axioms. Things like "Russia will never default on its debt". Well they did, and so bye bye Long Term Capital and nearly bye bye most of the worlds financial markets.
Reminds me of Damn Vulnerable Web App (http://www.dvwa.co.uk/) which my friend made whilst we were at university.
Pragmatism. I like it.
Ask and ye shall receive, although most questions are about environmental applications: https://www.iuva.org/uv-faqs
I work with mobile dev (among other things).

When you update your iPhone, you can't "unupdate" it, Apple after a while always deletes the certificate of all versions that aren't the current, and the installer always check the certificate before installing (this also means you cannot install iOS without internet).

Xcode, also checks the iOS version, and its own version, some versions of Xcode are tried to specific iOS versions... thus if you keep updating your iOS, you will have to update your Xcode.

For some reason, completely unknown to me, Xcode is ALSO tied to OSX version, For example Xcode 6.3 requires a OSX version more than Xcode 6.2, despite having no huge differentes between the two and Xcode 6.3 don't requiring any new OS capabilities that Xcode 6.2 didn't already used anyway.

But every time you update OSX and Xcode, not only they sometimes explicitly require a new machine model, but they also get increasingly more inefficient, using more and more RAM and CPU to do the same things.

Since right now, I am very low on money, this means I am stuck using Xcode 6.2, and trying to not misclick anything when I plug the testing devices and iTunes nag me to update them... because if I allow them to get updated, I will have to upgrade Xcode, OSX, and the entire machine, and right now sometimes I can't afford even food, affording a entire machine (specially with our currency getting completely broken and being only 25% valuable as it was supposed to when designed, comapred to USD).
Yeah, but it's totally rational, if you look at it another way. The potential upside is that I make $250 M or $2 B dollars and reap some kind of bonus, right? And the downside is that I lose my job and somebody ELSE loses the $250 M.

If you don't care about anything other than yourself, why wouldn't you make that bet?

I don't think a lot of the traders are purposely thinking this, but the incentives are set up so that people who act this way are rewarded and start to dominate the decision making process.
Researchers develop a new transparent metal film for displays
`try` is pretty prevalent in rails dev from what I've seen in the field.
I honestly have never run into problems involving such large numbers or at least numbers of digits, but FWIW, I really like SpeedCrunch when I need a calculator, if only because it maintains a history of inputs and results across sessions.

Still, if that used to work on older versions of calc.exe, and then they went and broke it, that is just plain stupid.
This is not just true in Denmark; the Rhine used to be incredibly polluted back in the 1980s, but now it's pretty clean. The Amsterdam canals are a lot cleaner, though the inner city canals are not used for swimming, but I think that's more an issue of facilities and awareness than of water quality. But in the eastern harbor area, kids love to swim.

The increased water quality is one of the big successes of increased environmental awareness that environmental organizations fought for in the 1980s.
By far the best GUI calculator I used is Qalculate: http://qalculate.sourceforge.net/

It's ridicolously fast and lightweight for the amount of features it contains, and it's also free and open source.
I guess I am typical now, I used to be a state or two away but I am within that limit expressed in the article now. My siblings are on the other side of the country.

What I find more interesting is how many people don't move far from where they are born and even more who never travel outside of their state.
I imagine so. I believe most (if not all) Starbucks are franchise stores. Franchise stores -- where the products are indeed identical and not just similar -- are the perfect-case scenario for this effect.
Frankly, the name was the worst of it It took some effort to kill the UI-theming Persona with fire (and there were very good reasons to do so); anything that even hinted at the possibility that you'd have to resurrect that in order to do something that looked useful wasn't going to fly unless there was a lot of forgetting time in between uses. Yer average user doesn't monitor tech news sites in order to determine whether or not a product of the same name from the same outfit is really something completely different.
ASK OP: is your life significantly improved if they use a proper standards compliant tag for their festive buttons, or did you just think picking a nerd fight on christmas was just an awesome thing to do?
Meanwhile, "M-x calc"is reliable
Yeah, I find that sadly amusing as well.
I think the prevalence of plan B has reduced teen pregnancy