skysight-inc/HackerNews huggingface dataset:
I think this is where planning and leaving notes for yourself comes into play. If you can spend one hour long span planning out what you're going to work on for the next 6 days of 30 minute sprints, it should lessen the time loss due to context switching. That's what I found worked best during my year of writing code every day. I would sit down on a weekend day and plan out a bunch of bite sized tasks. That way I could look at the list, pick something that could be done in 30 minutes without much thinking and get right to the task of writing code.

(That being said, I didn't restrict myself to 30 minute sprints during that year and there were certainly things I did that either could not be done in 30 minute sprints or would require quite a bit of extra planning to be able to be broken up into subtasks and done in 30 minute sprints.)
"I believe a proper definition of rational thinking involves the ability of having articulate language."

A lot of social animals use complex languages.
Do a mute person think? have feelings?

"The danger here is to project our abilities into a small set of faculties animals have and say, look!, we're no better, we're no different."

I want to argue the opposite. If your pet looks like have feelings and thoughts, if you see how its behaviour is congruent with curiosity for instance.

why do you decide to discard the most obvious hypothesis and decide to create a new category for them?

And whatever your reasons, why not to do the same for your neighbour? After all, how can you be sure that your are not projecting?
It’s expensive (in terms of effort) to design for multiple screens, but often necessary. Responsive design isn’t something that can be transparently solved by technology because it’s a design problem to decide what you want to show on different screens. That said, once you’ve made those decisions, technology can make them easier to implement.

(For example, see ai2html for a simple workflow used by The New York Times to create static graphics at various resolutions: http://ai2html.org/)

For most #content today, it’s probably best to design for mobile first and then think about an enhanced (or “optimized”) display for desktop later. But there are plenty of visualization applications, such as systems monitoring, where you might want to design first (or even only) for a large desktop display.

It’s a lot easier to have rich interactive displays on desktop. Our tiny phones are powerful computers, but there’s only so much you can squeeze out of a tiny display that gets occluded by our fat, meatstick fingers. ;)
Ask HN: Is it viable to enable employees to diversify their stock compensation?
Just a shower thought.

What could be the challenges to the concept of a fund where Start-up employees can pool in their stock compensation?

What I am talking about would work something like this:

Someone who "knows about evaluating startups" would create a club of say 20 Seed/Series A startups, employees of which could trade in their entire/portion of stock compensation for units of a consolidated fund to enable diversification.

I could see several pros and some cons of such an approach but then I have never been involved in a startup for significant scale and am definately not considering everything here.

What are your thoughts on this?
> I absolutely understand where you're coming from. What about measuring LDL cholesterol (should be <75), triglycerides (<150)

It's within the ideal range, as is HDL. My triglycerides were 290mg/dL, so High. The more studying I'm doing in this area points more towards Metabolic Syndrome as well, with T2 diabetes as a result of that syndrome. No proof as of yet, just uncorroborated hypothesis.

> BMI (<25)

38, but I don't look it. I'm 6'5", and I've always been off the growth charts. Now, with my current diet, I've lost 18 lbs down to 298 in 3 weeks. I am working on this. Ideally, I want 220lbs. I've been there before and I look great, lest the BMI be damned.

>fasting glucose (<100)

That's what I have it down to now. 3 weeks ago, it was fasting=161mg/dL . After switching to a highly restrictive carbohydrate diet, it took 6 days for my fasting to drop to 110-120mg/dL. I got sick, which is easily viewable from my data. It also corroborates from fellow Type 2's and 1's I know. Sickness causes blood glucose to get "screwy". Now, my fasting is 100mg/dL

> and blood pressure?

I haven't the money for an automated unit, but it is on my agenda. I do test moderately high (140/80, prior to T2 diagnosis).

> I think those are great biometrics for general health. Note, my posts do not constitute medical advice - I am simply sharing my experience and findings which I'm happy to have challenged.

I agree. I'm looking for even more, as well as writing software to analyze my results. Effectively, I want a system I can tell what food I'm eating, and how much. I want to do these analyses personally for me. Right now, outside of food, food quantity, speed of eating, temp, BP, heart rate, weight, and blood sugar, there isn't many ways I can get that great of data. Lab data is so sparse to be nearly pointless.

I hear allegations about all sorts of foods and supplements. I want proof. I'm willing to work with others, as well as being a guinea pig (to a point). But I want to see real results.

My data: https://mega.nz/#!JwcSEAwC!zPqA1zVhA3zcLwLLZRJucc6AtT9zlHfNY...
Everykey by John McAfee
Fair enough, I don't judge the Surface machines as something bad per se, I simply don't pine for a world were the only decent hardware to run Windows is made by MS (which the too often abysmal quality of other OEMs may lead us to). Maybe I'm being a little paranoid, I guess.

FWIW, I would argue something similar wrt the Apple tv: abusive practices or not, I would not be happy to see one of the world's wealthiest corporation become a key player in yet another market (if anything because of Apple's sketchy history wrt to open formats).
I've never seen the D language before and I have to admit, it looks very elegant and has piqued my interest. Thanks for your post.

I'm wondering why you used D rather than Rust? Was it just that you were curious about the D language or is there something about Rust that you don't like?
"Pretty sure" is something people should confirm before travelling to these places, no?
Call it "creating a local cache in case the service goes down" (and it most definitely will). "Hoarding" is the normal thing you do when dealing with digital stuff.
Hi Mike, nice to see you here. In your opinion, what would be the best way to visualize a bipartie graph where the edges have weights and other properties? More background if you're interested: the graph is some result from an LDA (Latent Dirichlet Allocation) analysis on a set of documents. There are a couple of hundreds topics and a few thousands word/phrases. Thanks!
It clearly doesn't. Many people think in terms of pictures or symbols they have internalized to represent their world.

Animals do this too. They plan, and socialize, etc...

Heck, cows have been demonstrated to have besties!
Bay area tech companies are hardly representative of hiring practises (or of anything really) in the economy at large
I haven’t used React enough to form a strong opinion on right vs. wrong, but one of my objectives in decoupling D3 (see the new modules at https://github.com/d3) is to make it easier for people to use just the parts of D3 they need.
HN is for anything of intellectual interest:
https://news.ycombinator.com/newsguidelines.html.

Many of the comments you've been posting to Hacker News are bilious. Please don't do that—it poisons the discourse, and we're looking for good conversation.
I'm a huge fan of d3, thanks for all of your work on it.

How is d3_scale different the scales included in vanilla d3? What is the motivation? Should I plan on trying to migrate my existing d3 apps to use these new modules?
There are times when I either don't have access to the Internet, or my service is very slow.

During those times, the apps on my phone are still useful, albeit, degraded in some respects. I'd still rather have that than nothing.
Yes. It is, in broad strokes, essentially a retelling of A New Hope.

The only reason the Death Star was destroyed in the first movie was that George Lucas was forced to essentially cram his ideas for the entire trilogy into A New Hope (which is why, absurdly, a second Death Star shows up later.) It wasn't supposed to be destroyed until the third act.

There really is no excuse for the new "Death Star" to wind up destroyed in the The Force Awakens other than fanservice. I honestly would have been more impressed if they'd shown the utter failure of the attempt to destroy it - given how much more massive the new thing was compared to the old, it just stretches even the dubious credibility of the problems with the original Death Star past the breaking point.

But... nope... they set some handheld explosives and blow up the whole planet what good. Just like they did two other times.

And honestly, i'm kind of ok with that. The movie's not terrible, it's just not that original. But after the prequels, I can't really blame anyone for wanting to play it safe - and I understand most modern Star Wars fans have never even seen the original trilogy, so for the target audience, it's possibly not old hat. George Lucas likes to say the Star Wars movies "rhyme," which basically seems to mean using the same themes, basic characters and plot points is intentional.
There is no more contradiction than those who do not believe in violence, but do accept it if its done in order to protect oneself or someone innocent. Anti-violence is not anti-police or anti-government, who uses force/threats to collect taxes and keep the peace.

Copyright law is the application of government violence to apply the will of the author to those who wish to copy, modify or use a copyrighted work. I personally do not like when people use government violence as their business model, through I do not mind if its used to police a agreement to non-violence.
Since this is a technical site, let me point out that if you're down-voting this because you believe that neither we nor our allies have done such things, then you need educate yourself on the modern history and conduct of warfare and counter-insurgency. If this strikes you as an outrageous claim, then your model of the world and of how we wage war is just wrong.

If you're down-voting for other reasons, well, have at it.
Hum...

Fixed size instructions make wide instruction machines possible, they don't have much more use. Variable size instructions do make them nearly impossible, does not matter if it's easy to calculate the size of not. There's no compromise to get here. (If you really want wide instructions is another can of worms.)

32 registers (31+sp) is so old school that I'm wondering if the number isn't just random. Also, zeroing the unused part of a register has its share of problems.

Taking ip out of the generic register set has its share of problems, and it's not hard to know if you are branching. It fixes a not-a-problem.

The article is not well thought-off.
My "that's not going to happen" is an argument that it's imo nearly impossible that people will accept a highly restricted web. That's where I see the discontinuity - consumers will demand a relatively open web, monopoly or not.

Your argument here is something I see often.

The conversation starts with talking about all of this possible content restriction, then it shifts into a discussion about consolidating ISPs and stagnating quality - but I fail to see how Net Neutrality will provide more consumer choice re: quality of service.

I think those are two different conversations.

As a disclaimer, I prefer an internet like the one Net Neutrality proposes, but at the same time I believe there are a lot of good reasons to prioritize traffic differently - and that the leap to content restriction is a big one. Because, why aren't they doing it now? Maybe I'm being naive.
I'm on 7 Ultimate and updated a while back only to find out my year old video card wasn't compatible so I couldn't run dual monitors and went back to 7.

No worries though, they're shipping all the invasive spyware in coming 7 and 8 updates anyways so we'll both be assimilated soon enough.
Microsoft CMO Confirms Development of 'Spiritual Equivalent' of Surface Phone
Yeah that's borderline insider trading. The legal fees needed to ensure this works correctly outweigh the benefit.
> limiting the sizes of paracetamol packets sold over the counter

I hope people aren't trying to kill themselves with paracetamol!

That's one of the nastiest ways to die. It takes about five days between OD and death, and it's exceedingly painful. Doctors can't do anything to save you, you're stuck explaining to your family that you're dying by your own hand, and you almost always change your mind during that time but it's too late. Did I mention the extreme pain?

As far as ways to die go, paracetamol-induced liver failure is one of the most nightmarish. If people are choosing to kill themselves by ODing on heroin instead of on paracetamol, well, at least their death will be less excruciating.
This guy did work though, he did some parts out of your preferred order but by and large he did all of the required effort.

It wasn't dumb luck or short cuts, it was smartly planned strategy. It was Agile if you want to get cute with it.
Is this still looked at?

It would be cool if resubmitted stories had links to the previous versions – it's always nice to see the old comments, as well.
> A consistent pessimism for mankind should involve rejection of authority beyond corporate villains.

I don't follow. Why should I accept corporate villains?

> I am unsure of what you intend by invoking the obesity epidemic (I''m presuming specifically for the USA?)

I was referring to England actually. I don't know enough about the US situation, I'm guessing the obesity rates are similar if not worse. The concensus basically centers around "consumers are making a wrong choice because of the availability of cheap unhealthy alternatives". I used it to illustrate that even when it comes to something basic like sustenance, "the market" fails to produce the desired outcome.
If you want to see what a lexical analyzer looks like in Rust, here's one that I wrote for Lua:

https://github.com/aswyk/oxidation/blob/master/oxidation/src...

Of course, Rust's own lexer is also written in Rust.

ETA: I can't promise my lexer is actually any good... it's really the first non-trivial thing I've written in Rust. But it works ;)
>Your passwords for websites are stored in an encrypted form on an Everykey secure server.

No.
Ask HN: Sorting Tool for music
I didn't know how long to make the title and I haven't been able to find the right keywords for searching on my own.

Is there a tool that can take a list of say 1000 (any number) of songs and create a playlist that is limited by length?

Example: I have 1k songs and I want 5 playlists of 30 minutes length each (non-repeating songs probably).
Is it too complicated? What if other parameters were added (genre, min/max length per song) [thinking on this that would just decrease the pool of available tracks to search so it should make it easier I think]?

It reminds me of https://en.wikipedia.org/wiki/Travelling_salesman_problem but maybe there is a way I'm over-complicating this all.
Its would be a great idea
Ask HN: What project are you working on over Xmas?
Traditionally, Christmas starts on Christmas Eve (and ends quite a lot later, on Epiphany, or thereabouts.)
The Real Value of Data Platform-As-a-Service(dPaas)
Ask HN: What are your favorite Mac hacks?
I'm putting together a new site called Macfoo (macfoo.net) where I'm collecting awesome tweaks to make Mac better.
Hey! Yeah D is a really nice language. I have been poking around in Rust, but I don't feel I'm good enough at it to write a blog series with the language.
I have a Moto G and it's the biggest phone I could imagine wanting. I can hold it in one hand and reach across the screen with my thumb. Ideally I'd like it maybe an inch less "tall."

Ever since I started carrying a mobile phone I stopped wearing a watch. I don't need or want both.
I just opened tcsh and all of "{", '{', and \{ (an option you missed) work.
Authentication Failures in NIST Version of GCM [pdf]
Totally agree with the author. Having worked with Angular and React, I feel that there is just too much upfront configuration and setup. Also with the inclusion of so many libraries, things become complex fast.
Tldr from the website: Elemental is an open-source library for distributed-memory dense and sparse-direct linear algebra and optimization which builds on top of BLAS, LAPACK, and MPI using modern C++ and additionally exposes interfaces to C and Python (with a Julia interface beginning development).

It'll be interesting to see the how the Julia interface behaves and how big the performance penalty is going to be.
I bought an item from Jet once that came with a receipt from GNC for around $10 more than what I paid for it.
Huh, I think HN killed their git server, I started the clone and it's just sitting there doing nothing after 100K. Eventually dies with:

pdos.csail.mit.edu[0: 128.52.129.126]: errno=Connection timed out

Just FYI for anyone else trying. I looked and this seems to be a mirror that contains the branch they mention:

https://github.com/sometimesfood/xv6

and you might need this (I did):

sudo apt-get install libc6-dev-i386

but the stock qemu didn't seem to work, their server is kaput, and no mirror on github :(
I worked at Amazon to see if anything's changed
Kentucky has it where you can find your party by using your name and birthday. It also shows your home address. If you're wondering John Calipari is an Independent while Rick Pitino is a Democrat. What's interesting is that it shows Cal's address but Pinito only shows U of L. https://vrsws.sos.ky.gov/VIC/
Validation and Conversion of Physical Units at Compile Time [pdf]
Yes, but like the parent comment I would not expect a single ship's wood, of which a portion was used to make a 33-foot raft and some must have been lost to sea or be in unreachable locations to be sufficient to keep the fire going for 15 years. I suspect there were other sources, such as the shrubbery, or dried seaweed, or something. That they would have any original wood left to burn at that time to even make it look like they've been using it as a primary source for 15 years seems amazing to me.
A Modern Architecture for FP
Thanks for the link, I will have to look into this more.
The title "Animal minds" of the actual article is sufficient. No need to use this suggestive title, "Animals think, therefore...". The article is actually mostly about the question whether animals think or not; less so about the conclusions we could or should draw from that.
Ask HN: How does Google collect the data to show on 'Popular times'?
When you search for specific business, Google includes popular time for that business. Where does Google get this data from?
I honestly don't know what work is involved, but if you integrate with Github, please do the same for BitBucket. BB gets less visibility because most people use it to keep their repositories private, but it's used by a huge amount of people for real work and personal projects.
I have, quite often. :)

I've always gotten the answer from officials "if you aren't competing with local workers, you're fine". As always, depends on the country. Further down the source I just cited:

"Examples of activities for which a person would not normally be remunerated or which would not compete directly with Canadian citizens or Permanent Residents in the Canadian labour market and which would normally be part-time or incidental to the reason that the person is in Canada include, but are not limited to:

long distance (by telephone or internet) work done by a temporary resident whose employer is outside Canada and who is remunerated from outside Canada;"

It's the definition of "work", whether you're competing with locals, and whether you're being paid by a Canadian company.

Many countries don't have this clearly documented, as until very recently (last 10-15 years), the only real "work" was competitive with local citizens/residents. All work visa documentation is written with this implied definition. Many countries are starting to call this out as an exception (like Canada above, Thailand recently, etc, etc).

Until it's clear for a particular country, it's best to talk to an official.
For a more (leftist) perspective on the motley composition of pirate crews, The Many-Headed Hydra by Linebaugh and Rediker has an entire section on pirating, as well as discussions of other slaving ship wrecks and anti-slavery mutinies.
I know, but at this point it's way too many DTOs and nobody really wants to change that.
Most attempts to create cross-platform abstractions have been a failure because they (necessarily) oversimplify, and you are left with a common-denominator approach that lacks in expressiveness, performance, or both. It’s better to use the standards directly: Canvas, SVG, WebGL.

Also I think people greatly underestimate the synergy that comes from embracing (rather than abstracting) standards, in terms of the available documentation and tooling: the element inspector built-in to your browser, compatibility with external stylesheets, etc. D3’s success is likely due in part to its embracing web standards, for example using selections to manipulate the DOM (and SVG) rather than introducing a new graphical representation.

That said, for higher-level applications it might be desirable to abstract the representation. I just think people jump too quickly to generalize because they overlook the subtle features that make the underlying rendering systems good.
Kim Kardashian’s Buttmoji Owns the App Store
What Would Feminist Data Visualization Look Like?
im interested in the legality argument against this - if it is illegal how do sites like this operate?

https://www.shodan.io/search?query=port%3A27017+country%3AUS...

or even https://scans.io/ which uses something like https://zmap.io/

Not saying you're wrong, wondering where the line is if there is one.
Does USPS still operate at a huge loss?

Its a strange subsidy for the US Govt to operate USPS while major portions of USPS work are paid for or performed by private companies. For examples, Amazon pays USPS to deliver parcels on Sundays. Does USPS make money providing that service? USPS pays FedEx handle overnight airfreight in a massive contract [1]. I'm sure there's others, those are just two from recent memory.

Now Amazon is looking to handle its own inventory load balancing act while handing off to USPS for the last mile, presumably the costliest portion of delivery.

I'm not sure I take issue with it, I just find it interesting.

[1] http://www.bloomberg.com/news/articles/2013-04-23/fedex-to-f...
A web app could be cached locally, so using the browser as a runtime wouldn't preclude working without a connection.
Addepar Cuts Sales Staff, CMO
> They also don't have the faculties to have a nuanced understanding of right and wrong.

Let's not put our year 2015 Western ideas of 'right and wrong' on a pedestal as the objective moral truth. They may not have your understanding of right and wrong, but they do have an understanding of right and wrong.

To quote Nietzsche, morality is just herd instinct in the individual.

It's no coincidence that though human moralities have differed incredibly - you have everything from total pacifism to an obligation to perform ritual sacrifice on other human beings - it pretty much always reflects, to greater or lesser degree, the basic principle of in-group altrusim, which is probably genetically encoded at some level. (Interestingly, in the past few hundred years, Western societies have made the "in-group" increasingly inclusive. Perhaps we will one day include animals more than we do.)

Animals, particularly more social animals, certainly have 'moral' instincts (that is, a herd instinct.)

Instinct and thought are not opposites, they're just gradations on a scale.
Company was okay. That group, not so much . . .
If only Lucas had stuck with Jar Jar being the hidden wizard like he did with Yoda.