skysight-inc/HackerNews huggingface dataset:
> "This ignores the basic fact that the universe is expanding at an accelerating rate."

And that ignores the basic fact that information about those parts of the Universe didn't have time to arrive yet (that is where relativity is violated). You are mixing the concept of "observable universe" with "observed universe". At a given time, given the expansion rate of the universe you have an "observable universe" (those ~90E9 ly), but it will only be fully observable somewhere in the future, in the present you only get to observe ~14E9 ly). In a nutshell what you are proposing is that we are observing particles with infinite redshift. Or perhaps in a simpler way: You can be observing today parts of the universe that are (for instance) 25E9 ly away today, but you are observing particles of light that left that part of the universe a long time ago so that the c x t condition was never violated.

> "This is a good description of only our observable universe. There's no reason not to think that point wasn't part of an infinitely large manifold. This would point to an infinitely large universe."

Based on the theory of the Big Bang which is the de facto theory accepted by Cosmology. It is true that you could have an infinitely large manifold and that is a very interesting theory. But I was answering inside the actual theory that is the accepted one now-a-days the Big Bang (and I actually referred that in the answer). Also, even inside the manifold theory theory, our universe that is what is being discussed here, would still not have an infinite diameter.
I've worked on high frequency trading software infrastructure, including having been involved in serious bugs which lead to a lot of broken trades and lost money, and would have said with anything like proper architecture and governance you can't lose $400 million in 30 minutes.

But Knight Capital did manage to lose $440 million in 45 minutes, due in large part to what I would call improper architecture and governance. So there you go. https://dougseven.com/2014/04/17/knightmare-a-devops-caution...
There are several non apple products for years with way better battery life. My 6yo T420 easily makes 12-14 hours on Wifi. More if i disable stuff.
if it runs on the GPU it will have to take its own power draw into account
"Accidental" mutability in gems tends to cause pain - spotted this one in Rails, for example.

https://github.com/rails/rails/pull/25735
Maybe it'll be a special collector's piece, like the Twentieth Anniversary Macintosh.
Keeping the power of determining where the money goes is in itself selfish, so I don't buy the argument.

More to the point, why are we optimizing for altruism and forward thinking? Are those end goals, or merely means to an end goal?
Can you explain why the empty interface would be a subtype of [] int and not the other way around? Intuitively, I think it's the other way around, as every type implements interface{}.
Nokia sues Apple for infringing patents, industry back on war footing
The link is too friendly to give the juicy details. I tried to find another source with Google Search. Perhaps this link is biased, but it's easy to understand the drama: https://plus.google.com/+GuillaumeLesniak/posts/L8FJkrcahPs
Hi cocktailpeanuts,

Can I share with you some of the things I learned through reading his books?

You say he did this for scientists to share a common ground, but there is a more practical reason too. He's a practicing psychiatrist who has written books to help the general population with their mental health and relationships.

That is how I found him - through exploring attachment theory, of which he discusses a great deal.

What does this have to do with the idea of the mind as a self-emerging process, or a healthy mind as integrated?

It's this idea that is leveraged in his books to help teach people how to develop their mental health. It gives them a clear and concrete path to follow. The idea of integration is not just for intellectual beauty - it is a teaching tool.

He used an analogy of a choir to teach attachment theory. Anxious attachment: multiple people singing the same, prolonged, single note - connected, not differentiated. Avoidant attachment: everyone singing a different song - differentiated, not connected. A choir of people singing the same song, connected, and in harmony with a variety of pitches, differentiated, represents secure attachment and integration.

There is a visceral experience of something wonderful emerging when you hear the secure choir vs insecure, and likewise the well-being and health that comes from a secure attachment relationship (or an integrated mind) is viscerally wonderful too.

If you are happy to look at his ideas for their teaching applications, I encourage further investigation of his books and talks. They have been an anchor for my healing from trauma and I am deeply thankful.
Maybe the most plausible third options is that we are theoretically not alone in the universe and complex life is abundant, but the universe is so big that there are no way we can contact with any of the intelligent life forms. We're just underestimating the size of the universe.

It's like living on a Pacific island 5000 years ago. There are definitely other people in the world but there is no way you can contact them.
I think it's poor taste to judge art by how much money someone else is willing to pay for it. It's like judging software by how much money it can to extract from its users, or by how many people know the name of its authors. Both measures ignore the actual value that is provided.
Obviously, functional and imperative languages are equivalent in terms of theoretical expressive power. That being said, functional languages often make it easier to build useful abstractions that are more correct. Okasaki's implementation of Red Black trees are an excellent example of this...
Have they fixed the issue that batteries dont stop charging once they are full? Otherwise those 9 hours wont be 9 houra for long ether.
> "you made certain statements like the fact that you think the Universe being ~90 billion light years in diameter violates relativity"

I was the one explaining to the OP of the thread that the universe is 90E9 ly in diameter (and also, just to clarify for the future so that it doesn't get mixed up yet again, that this is just an approach based on what we know about the history of the universe), it is therefore ridiculous that I also said that it violates relativity. So, sorry if I'm "overly defensive" about you mixing everything up and me having to use my time to answer you so that you don't twist everything I said on the thread.
Look at the index as given by the hash?
I would also settle for a battery pack which charges the MacBook at full speed over USB. I know the latest one charges from battery packs, but they can usually provide 15-20W, so it's a bit from the charger's 65 or 85W.
> This algorithm can, without modification, be done in a functional language. For example, consider the following Haskell:

The OP clearly stated the iterative version is cleaner, and you seem to confirm his pint.
FWIW, I'd highly recommend 'Waking Up' podcast by Sam Harris. He has this rare combination of eloquence and substance. The specific episodes I liked are with the following guests:

David Deutsch[1][2]; Paul Bloom[3] -- he has two other episodes, too; Stuart Russell[4]; David Chalmers[5]; William MacAskill[6]; and Douglas Murray[7].

[1] https://soundcloud.com/samharrisorg/surviving-the-cosmos

[2] https://soundcloud.com/samharrisorg/52-finding-our-way-in-th...

[3] https://soundcloud.com/samharrisorg/56-abusing-dolores-a-con...

[4] https://soundcloud.com/samharrisorg/the-dawn-of-artificial-
intelligence

[5] https://soundcloud.com/samharrisorg/david-chalmers

[6] https://soundcloud.com/samharrisorg/being-good-and-doing-goo...

[7] https://soundcloud.com/samharrisorg/on-the-maintenance-of-ci...
What have we learned? Does LISP feel antiquated to you as well? How about Java?
Nukes don't require that much maintenance. The cores are definitely stable if not exposed to moisture. Explosives are cheap to remanufacture if necessary. The large problem would be materials that they don't have the know-how to make, like happened to us with FOGBANK.
Merry Christmas to the HN community :)
Was this an issue in the recent 2016 model? All major laptops by all manufacturers have prevented overcharging in batteries for years. It has always been safe to leave a Macbook plugged in long after the battery was full.
Ask HN: Should I invest time on mastering the command line or the Jetbrains IDE?
Hi! I was a self-taught, beginner, developer. Now I'm studying computer science/computer engineering. Currently I code on Ubuntu using Sublime Text, and I know a few bash tricks to compile, diff and so on. I know that, apart from learning programming and algorithms, I should invest time on mastering some programming tools in order to boost my productivity, because I'm damn slow.

I reckon that I have two options:
-Try to master the Unix command line and a terminal based editor (Vim or Emacs).
-Try to master the Jetbrains IDEs (all of them are equal, so if you know Intellij tricks, you know how to use PyCharm).

Please don't tell me other options because I'm already overwhelmed with having to choose between these two :P

And I think that both are excellent options, and there is no univesal answer but...

Could you, as master developers, give me a piece of advice? I've been coding for 2 years now, but I'm still uber noob.

Maybe Vim is a thing of the past? Maybe Vim is more useful to learn because it will always remain (it will always be installed on any Unix OS)?

Thank you very much! I have been reading HN for years (specially the comments), I really appreciate your opinion. I have just signed up to ask this question.
Oh, so as you iterate the array, look up the value in the hash and if it's not there skip it?

The downside is you end up accumulating dead values.
This video of a Super Mario playing AI was pretty neat:

https://www.youtube.com/watch?v=qv6UVOQ0F44

It may, or may not be on a useful path to solving harder AI problems. I don't know. But it's a good way of demonstrating value (and publishing papers).
Show HN: JavaScript AST parser
Merry Christmas everybody. :)
Merry Christmas from Africa. It is 15:07hrs as I type this. Family napping and I am on HN :-).
With respect to "drinking normally" when the cup is filled below the siphoning point: if you drink by tipping the cup towards the drain pipe, wouldn't that engage the siphon?
Add on the dongles/peripherals you'll need to buy.
Don't forget the lack of MagSafe/USB/etc..

I bought a 2nd-hand (from a specialist 2nd store, who test everything) immaculate MacBook Pro 11,5 (Mid-2015) 2.5GHz i7 - 512Gb SSD - 16Gb RAM for £1200 (~ $1500) and saved nearly £1000 on the same spec new.

Also, last night, if I'd had a new 2016 model, it would have flown across the floor onto the hard kitchen floor as someone accidentally tripped on my power cord.

Never been more thankful for MagSafe.

Buyer Beware.
I am sure someone said this already. But in case if not. That is basically unreadable with that light gray font
No offence, but you forgot that it was an 'interesting' year for the filipinos too.

edit: although highlighting every sad/meaningful event would require more than what the comment box can hold.
I was hinting more to the assumption that the internet is the only way to expose such systems.
And an happy Saturnalia!
Which makes me wonder if the year wasn't just as interesting for (example) our Chinese friends, but that we just don't focus on their news?

But yeah, European me feels like we've had quite the spectacle this year.

Merry christmas to all my fellow tech-enthousiasts, here's to pushing the world to an even crazier ride in 2017!
I just wish they'd show figures for a use case that matters to me. If you keep 10 hours of "wireless web" mostly by optimizing your web browser, that's great for people who spend their time browsing Facebook, but if that means I lose 2 hours of my usage, I wish they had some number that showed that as well. Of course, I get that if they show a "heavy productivity - 3 hours" then pundits will latch onto that and compare it to other makers' web browsing numbers... It's a crap situation.

You have a point that many PC manufacturers have fantasy numbers - I don't want Apple to venture into that realm. ("10 hours... as long as literally the only process you have open is Safari")

Phrasing it another way... I hope Apple doesn't optimize their batteries for their own benchmark, to the detriment of real-world use cases.
For your fears, yes. Overall? No.
Yes you did, and that was the whole point of the thread?

>> At the end of the day, there are interactions that are seen in Nature and interactions that aren't.

> That's provably false. Every reaction occurs in nature, even the vanishingly improbable ones, just at an extremely low reaction coefficient. They're still there, just at a probability of 10^-14 or whatever.

To the best of our knowledge, not every reaction occurs in Nature, and chemical equilibrium has nothing to do with it. The patterns we observe as to which can occur and which can't, we call conservation laws. You might want to accept that or not; doesn't change what the experiments output. And of course if there was proof of the contrary you'd be onto something very very big.
BBC Radio Four has a bunch.

In Our Time : http://www.bbc.co.uk/programmes/b006qykl

The A-Z of topics shows how broad it is: http://www.bbc.co.uk/programmes/b006qykl/topics

Inside the Ethics Committee: http://www.bbc.co.uk/programmes/b007xbtd

> Joan Bakewell is joined by a panel of experts to wrestle with the ethics arising from a real-life medical case.

In Business : http://www.bbc.co.uk/programmes/b006s609

> Series of programmes about the whole world of work, public and private, from vast corporations to modest volunteers

The Bottom Line : http://www.bbc.co.uk/programmes/b006sz6t

They take a bunch of people in business and have a group chat about stuff.

The Reunion :
http://www.bbc.co.uk/programmes/b007x9vc

> Series which reunites a group of people intimately involved in a moment of modern history
Try emergent coding
Shouldn't we try to get outside that arc as soon as possible and set up the means to corroborate this? We might need several satellites it seems like.
Well, because of recent cultural changes you have several options here, but none are elegant/natural. You can put "he or she" everywhere, or use "they" instead, even though you mean a single person. Many modern writers explicitly use "her" consistently whenever a gender-neutral singular pronoun is needed. I upvoted you, but I perfectly understand why others would react differently - in today's world you can hardly do anything without touching politics, and we're just fed up with that.
Exactly. It's like a car manufacturer saying how many miles to the gallon you're going to get, without knowing that you're a terrible driver who never gets out of 2nd gear ;)
The shooter and the farmer
(Reference: The Three Body Problem)
Merry Christmas and Happy Hanukkah!
This was ether introduced in 2014 or 2015 models. My 2015 MBP did suffer from it. Mostly used in a office environment it lost at least 10-20% of battery volume within a year.

Yes i also never heard of any other brand still having that issue.

On my phone on a bus right now. But there is a thread somewhere in a mac support forum that suggests to put tape over (i think) the 2 middle connectors on the charger which somehow fixes the issue.

Edit:// i dont use apple anymore so take that with a grain of salt. I mostly remember because the all mac company i worked for then was in rage. Thought about switching to thinkpads. And already replaced a few of those faulty things in mid 2016. I did not really care because it knew i just get a new one. I did however confirm it myself, it did not wait even 1% to charge again. Next to my battery dying faster than anything i've seen before.
Interesting, you think there is something at FB to detect an event like that?

It's true we all knew our host but it was one of those worlds collide parties where he had invited friends, neighbors, old friends from high school, some work friends, etc.
To nitpick, OpenSSH does offer a CA-based approach as well. Perhaps not as commonly used as regular host and client keys, though.
Merry Christmas :)
It's a bit of a mindfuck coming from mainstream OO languages that none of Go's built-in types have any methods†

I guess there's a certain cleanliness whereby all methods exist on one side of the language/library dividing line.

† The sole exception perhaps being "error", which is a pre-declared interface comprising 1 method.

---

In a similar vein, this takes some getting used to:

x.append(y) # No!
append(x, y) # Probably Not!
x = append(x, y) # Yes! (but this is not Lisp - despite appearances, the collection is mutable)
It's not, but I see no reason to think that Windows XP is going to be more vulnerable to other kinds of attacks than any other OS.
No, _l4jh said it was interesting generally, and especially for Brits/Europeans and Americans. You're free to disagree, of course.
> Their consumer OS's require manual cleanup and yearly full reinstalls.

I don't think this has really been true since the bad old days of Windows ME. Maybe even XP.

I've never done a Windows reinstall for myself or for friends since the early 2000s.

> I had about two BSOD's a year until I switched to Linux.

BSODs too are largely a thing of the past unless you have some kind of hardware/driver issue, in which case you'd of course also have kernel panics, though at least if you have a bad Linux driver you can hope it's open source and fix it yourself.

> I've had software updates break my drivers,

I don't doubt it, but I can't tell you how often a software update broke sound and/or WiFi in Ubuntu. :) That said, I quit running it on bare metal and ever since I haven't had any issues with updates I can recall.

All in all, my experience with hundreds of installations of both, is that enterprisey Linux and both consumer/enterprise Windows are on the same level of reliability, although if you want Windows for reliability purposes you're probably going to spend more time in configuration. I really don't see any issue with running Windows in mission-critical systems.
Interesting. The article is from 2015 though.
Nevermind. Just read the docs of the `get_func` function:

'''return function of [0,1]^2 -> intensity \in [0, 1]^c'''

... so yes.
tl;dr Greed + the backstabbing of a good partner in order to get a potentially "better" (bigger) partner.
Too many questions, let yourself learn what you like! if you learn one the other will come easier. Start building your style by trial and error. There s no time lost in following your passion
all non-fiction mostly geopolitics and history:

Prisoners of Geography, Tim Marshall
From the ruins of Empire, Pankay Mishra (best read of the year)
Capitalism: A short history, Jürgen Kocka
The Great Transformation, Karl Polanyi
The Second World War, Churchill

Not from this year but still resonating:
Postmodern Imperialism, Eric Walberg (should not be read uncritically)
The Rich don't always win, Sam Pizzigati
Does this 'wisdom' contradict basic game theory?
My experience was after a Primus show. I had to ask someone why they were selling balloons.
Also the news today reports "Apple Working with Consumer Reports on Macbook Pro Battery Issue" [1]

Reading between the lines:

"Apple Pressures Consumer Reports to Change its Story"

You don't need to "work with" Consumer Reports to fix the issue. Just fix it.

Why "work with"? Does Consumer Reports have engineers that will help Apple understand the problem? Is Consumer Reports an isolated incident that just needs some tech support to help them understand the computer? Smacks of whitewashing to me.

[1] https://www.cnet.com/news/apple-working-with-consumer-report...
do notation is not cheating - I would not avoid it. IMO its important to share awareness that Haskell can do procedural, imperative code just fine and even has nice sugar for it.
Show HN: ThreadTone – Halftone images made of thread
When someone repeatedly misunderstands what you're trying to say maybe the problem is with your communication.
"Quite good"? LOL

From a can it's always UHT so tastes, for want of a better word, industrial. Though I'd just call it horrible and would be offended if served it. Let's be clear, no one is going to mistake it for real cream.

Real whipping cream and a couple of mins with balloon whisk is the only way to go.
> It's also mostly straightforward to implement a fast Quicksort using mutable arrays in Haskell.

Do you know of one? All the fast array-based quicksorts I have seen in Haskell have been very awkward compared to implementations in imperative languages with good array support (and they have been quite slow as well).

I don't feel like this is much of an indictment against Haskell. Sure, a functional language isn't a good fit for a very imperative algorithm, but that's not really its target domain.
If they are organized like human civilization, they will have a scientific and artist caste, discussing how human civilization should be protected and how tragic its demise is, while a capital caste mines human civilisation for exotic materials and protein. After 99 % of humanity is gone, the survivors are taken to a galactic zoo and are allowed to speak on "Never again" dinner galas.
Merry Christmas! My holiday message of hope (repost from http://www.generalstore.co/hope.html).

As I look around my little Bay Area town, and especially my Facebook and Instashrams, I am struck by how fortunate we all are.

We do live and 'like' in our own snow globe of good tidings ~where everyone is warm, everyone is well fed, and the love of friends and family flows as easily as the wine.
So today, my wish and message of hope, is for all of us to pause.
...
While we celebrate, let's pause to reflect, to consider and to act. Let's all extend an extra hand this Christmas, Hanukkah and into the New Year.

Whether it's a hand, a dollar, an ear or a smile, what you are truly giving is hope~ a star in the east to follow.
Wishing you and yours every happiness and good fortune. Peace and peace of mind and God's blessing..

Feliz Navidad
Prospero Año y Felicidad
Happy Hanukkah
Merry Christmas!

Happy Holidays,

-sthommes
Founder & CEO at Rainbow

"More and more I come to value charity and love of one's fellow being above everything else...All our lauded technological progress-our very civilization-is like the axe in the hand of the pathological criminal.” -Einstein
There certainly are a lot of people who do not earn how much they should earn as a developer. A part of that is the whole master vs management discussion that occurs on HN a lot - not many companies have the maturity, foresight or need to pay a developer $300k+.

There are a lot of developers who do not know all the technologies. Sure you do need to know A LOT to be able to operate in a startup, but if you are a .NET engineer at big co generally the job description will be to know 3 or 4 technologies. For example my last role was Python, SQL and basic front end development.

I've found that jobs aren't fair, I feel that tech guys build this resentment a lot towards analysts or coordinators who they feel don't pull the weight.

If you want to maximize your income (given you are a high performer), banking/law would be the best career choice over programming.
Santa’s naughty and nice list hacked in massive data breach
happy holidays and a better 2017
I'm skeptical he made up any definitions since it hews quite close to existing ideas. With developments in AI, neuroscience and even physics, this stuff is starting to enter into science proper. The errors of the piece are no worse than your average pop piece (mostly in placing too much emphasis on chaos given how theoretical, compared to even the rest, that viewpoint is).
Merry Christmas, everyone!
They don't need to, Windows is already broken on his own.
>> Imagine if SUV were showing an estimation of mileage dropping sharply when you make a big acceleration?

That's how it works with any vehicle that has a real-time MPG readout