skysight-inc/HackerNews huggingface dataset:
That's exactly how you do it :)

You have one 'Universal Application', and then you have two small entry points:
- server.js is a small (express) server to send a HTTP response to the client (server bootstrapping)
- client.js renders a page and the mounts it onto a DOM node.

To get around the issues of database access, it makes it a lot easier to put all of that into an API that can be accessed by the server and the client.

Here's a very small project I build (and am continuing to build) to learn about this architecture https://github.com/joshhunt/reactapus
Probably not the place to bring this up, but I am having so many issues with Netflix app on xbox 360 lately. I'll hit play on a title, it'll load to about 15%, then stop and take me to the "choose profile" screen. Anyone else seeing this?
Question: Alternative download links for Mac and Windows?
(No Sourcforge)
Standard Treasury Acquired by Silicon Valley Bank
That's what you want: linear costs and geometric profits. It's not sustainable forever, of course, but the longer you can push the flat part of the curve to the right the better. All three flatten. but flattening at 60,000 versus 10,000 is the difference between an article in the local paper and one in the WSJ.
whaaaaaaat - taking a 512-bit hash and truncating it to 256 preserves everything you need about it! That's crazy (surprising). Naively - if you hadn't just told me otherwise - I'd think it's up there with my brilliant new algorithm: in a loop pad your input with 0x00 through 0xFF, take the SHA512 hash of each result, but only use the first bit! You now have a sooper secure 256 bit hash. I call it SHA512/1/1/.../1 (I'd write it all out here, but it looks obnoxious and might break someone's window width.)
Your assumptions about the US and capitalism are wrong. You are not alone, it is the national mythology in the U.S., and increasingly the world. But the rise of capitalism was never truly about a 'free market', but has always been sheparded by the state.
The nice thing about computing is that everyone starts behind, but with a computer with Internet connection and the disposition to learn; You can get ahead.
The Ultimate Guide to WordPress on AWS EC2
http://webcache.googleusercontent.com/search?q=cache:http://...
Radio did the same thing. Now we all use anything but radio.
“Thunderstrike 2” rootkit uses Thunderbolt accessories to infect Mac firmware
There are definitely other programs that are more like farmers being paid to produce goods for which there was no market. Although what's more common in the U.S. is farmers being paid to leave their fields fallow to avoid over-production. The raisin reserve model is unusual, but there are many ways in which the U.S. regulates/manipulates agricultural markets specifically.
How to Cut Down Your App Development Costs by Half and More
The context is startups, not small business...though the same maths apply, a small business will at best vary between the first and second examples.
Artificial blue light does not contain UV light, and does not influence melatonin.
Another resource: https://clarkwp.wordpress.com/2014/08/05/installing-wordpres...
> It's just that you can't have your cake and eat it too.

You can build up instead of out.
Looks like Fosshub has it: http://www.fosshub.com/GIMP.html

(to anyone who knows this: it looks to me like fosshub wants to be the anti-sourceforge, the new home for binary opensource downloads, and that they're non-evil. is this true?)
AngularJS dependency browser
>I don't think this is true. It should be pretty easy to detect if a variable is initialized or not. I can potentially see how a false alarm would arise, but I don't think that matters in practice. (All the situations I'm imagining involve writing bad code)

It's easy to trace the code-paths between a variable's declaration and its usage, as long as those don't involve procedure calls. Then that problem becomes "static-analysis complete".
It could be just me, but the furniture in all pictures very uncomfortable. I can't imagine sitting down and being comfortable on the couches in the very first picture (top of the home page, under "Live your dream" heading).
Yeah but once someone casts a light on your obscurity you're screwed and you probably don't know it.
An unregulated easily leads to price sparks and crashes. This can easily become catastrophic for governments, so they try to keep the prices stable for both the consumers as well as the producers.
An interesting interpretation/rebuttal of that quote:

http://www.linusakesson.net/programming/kernighans-lever/
You're right. This is not the place to bring this up.

EDIT: OK. I guess this is the right place so, my son's XBox hangs when switching between game playing and watching Netflix. Does anyone know how to fix that?
Reserves like this are built to smooth smaller variability in markets to make them less chaotic, I guess. If weather impacts logistics for a short time, if a particular crop is bad in part of the country, etc.

It's not communistic in any definition I can gather, but rather a trust mechanism to keep small hiccups in a market from causing larger effects than they should. Internationally, I suppose, it's a negotiating mechanism to keep trade in an advantageous state.
Flight Over Atlantis Chaos
Including the value of donations of free labor, I suspect Wikipedia is much better funded than Zynga.
Ask HN: Does any good software exist for browsing / organizing digital photos?
These days with everyone having smartphones the number of photos accumulated over time is kind of mind-boggling. Does any software exist for easily browsing, categorizing, and deleting digital photos? It would be nice to just point the application to a directory and be able to browse the photos quickly one-by-one, marking each using predefined and/or custom-defined category buttons including 'mark for deletion'. Maybe I'm describing a program that doesn't exist yet but hopefully I'm not. Anyone know of anything like this?
Uber doesn't have to put taxis out of business, it's growing the market - getting a lot more people using taxi-like services. Both people who aren't willing to shell out how much cabs charge in their artificially restricted markets and people who've had shitty experiences with cabs in the past. Not to mention how poor taxi service is in the vast majority of US cities.

I personally use Uber because I hate calling a cab company, finding out it does or doesn't have a cab to send, figuring out the address I need it to come to, getting a very general estimate of when it'll be there (8-15 minutes), etc. With uber I drop the pin in the exact spot I want it, I know the minute my cab is there. If cab companies had an app like that, they'd have my business.
Microsoft CEO Faces Biggest Test yet as He Charts New Course with Windows 10
why he is not active from more than 2 months ?
This title should only be "news" early on in the design stage. Were they not trying to prevent hackers from commandeering cars before they released them?

Also as others have said, airgap the systems.
This level of central planning is indeed quite rare (though much more common in agriculture, as it's been around for longer than most smart folks realized government-mandated cartels are a bad idea). Fortunately, the more tyrannical aspects of this scheme were recently struck down by the Supreme Court.

That's why it's an interesting story.
A list of the most popular 3D modeling and design software for 3D printing
http://web.archive.org/web/20150316075414/http://download.gi...
It's not a net neutral for most companies. It's a huge benefit for all the companies in that area. Skilled professionals have a choice of region and company to work in. IF they choose one with better terms for them, then that region will have a more skilled pool of workers. This benefits companies in that region. One could argue that the stronger ecosystem and pool of employees creates significant benefits that outweigh any corporate advantage due to restricting employee mobility. That's what the above reference is arguing.
pebble {code} | Lead Creative Technologist | London| Full Time | ONSITE

We're a Technical Innovation Consultancy and we help businesses to innovate like startups and solve the right problems.

More about us here
https://pebblecode.com/

We are looking a Lead Creative Technologist who will work with our clients to fully understand and identify their problems, and design solutions to address those needs. Essentially a problem solving consultant who is also a technology polyglot.

To give a flavour of the work you could get involved with:
- Data-driven competitive intelligence portal, enabling analysts and senior executives access to data they need in a fraction of the time, to adapt to an ever-moving market.
- Crossing the digital and physical worlds with mobile applications using Bluetooth Low Energy.
- Architecting and building online gaming platforms with multiple gaming engines from the bottom up.
- Responsive and gamified ideation platform for over 70,000 global employees.
- Predictive solutions for improving investment fund performance.

You’ll have the opportunity to:
- Be instrumental in the analysis, design and building of stuff that makes people’s lives better.
- Experiment with new new tools and technologies. Speak at conferences.
- Write blogs and books - if you like.
- Work with awesome people (no joke! we have super talented folks
- here).
- Change your title to something else - if you like. Your talent is valued over a role title, so if you want to be called something else, let us know.

If this sounds interesting, more details here: http://careers.stackoverflow.com/jobs/93026/lead-creative-te...
I always thought it was interesting that the Russian word for red is красный (krasnyy) and the words for beautiful are прекрасный (prekrasnyy) and красивый (krasivyj) (though I never understood the difference). So "Red Square" in Moscow is not "Red" as in the color or "Red" as in communism, it's "Beautiful Square".
things like the Prius Dashboard, for example.

even if information required is one way read only by being read it's not airgapped, and thus requires some deliberate consideration in how the information flows and is filtered, because in a car there are physical wires carrying bit arounds
Android faces an improbable challenge
Hmm delicious image http://www.linusakesson.net/programming/kernighans-lever/flo...

Worst times are when you jumping around the flow area.
That story read like something from Adrian Tomine. Check out his graphic novels if you are into that kind of thing. I recommend Sleepwalk and Summer Blonde, I enjoyed them a lot.
Reddit is pretty much a case study of upbringing without effective punishment. In real life kids behave because they have skin in the game—if they misbehave, they are not allowed ice cream. On the contrary, if you are banned from reddit, you can simply reset your browser and create a new account.

I doubt you can fix reddit with a smarter design, because that won’t change the troublemakers. To fix reddit, you would possibly have to profoundly change the way our civilization socializes the young, remove inequality and provide more psychological support. Or you would have to build a better reputation system and use that for sorting, but that’s likely going to be incompatible with anonymity and it won’t be as fun.
There is nothing in the constitution that says we can't sue legal constructs which means that while tort law and contract law might need to be updated (and while not a lawyer I suspect there is already a lot of parallel law for these cases because corporate personhood is a leaky abstraction) it certainly wouldn't be impossible.

And of course this ignores the fact that corporations with personhood are not the only way to organize a company or the only way to limit liability.
I remember stepping through many programs when I started programming as a teenager. It was quite fascinating to see everything in slow-motion.

Over the years, I had less and less use for intense debugging sessions, but I've been reading and writing logs all the time.

Today, I see server side code without logging statements, I immediately ask myself, how do the authors debug this thing?

Related:

> If you want more effective programmers, you will discover that they should not waste their time debugging - they should not introduce the bugs to start with.
The process is the same for those with sleep apnea who aren't overweight. Like me. I weigh 155 and an 6' tall. Born with a small airway and just got lucky it seems. So if your point is that if people just lost some weight they wouldn't have anything to complain about then I'm not sure weight is even relevant here. It's a very lengthy and time consuming process regardless of the cause.
NAND Flash: How It Breaks
Coding for interactive communication correcting insertions and deletions
“They” as a neutral version for singular
Tips for your first live coding talk (2014)
They are good for being faster to debug in completely different ways. Logs do not provide you of exploratory inspection nor interaction with the objects present in a given point of the stack (a specific closure). On the other hand, logs are valuable when you want to see the chronology of what's happening, specially when there are async or parallel things going on
I always said that, in the small businesses I've been involved with, "shit runs downhill". The nicest places to work with have good guy owners. The worst ones have bad guy owners.
Self driving cars aren't coming tomorrow. They are years away. Maybe a decade. How long can uber coast on VC money before that happens? And then how do they guarantee dominance in the self-driving taxi market? Basing their value solely on this shoot-the-moon project is problematic.
EFF unveils proposal for ‘Do Not Track’ compromise
And also https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hosting-...
FWIW cars did have far more reliability problems until electronic control systems became common and engineering practices became sophisticated enough to manage long term quality. Much of the marketing to get a new car at frequent intervals played against the legitimate anxiety of having a car that was rusted out and unreliable after five years.
A superconducting shield for astronauts
Ironically, http://www.nomiddleman.co/products/ameyali-makeup-table, was not a computer rendered item.

You want to take over a thousand dollars from me but can't be bothered to write more than
> Executive Desk Aluminum Alloy Replicated Wood Brown

I'll get to longer descriptions here quickly.
According to Reddit's user agreement, you own content you submit, but you give Reddit a "do whatever you want with it, even to make money off of it" license.

https://www.reddit.com/help/useragreement#p_17
For some reason I can't access the article at the moment but, when I was in radio and TV, years ago, the FCC restricted how many advertising minutes you could run in an hour or per show. I want to say that, in radio, you couldn't go over 13 minutes in any hour but few dared to approach that limit except the kiddie rock-n-roll stations lest they turn away listeners.

iirc, that ruling has been removed.
PG wrote in one of his essays that he used to sleep in the morning, doing stuff involving others (like meetings) in the afternoon and coding in the evening and night to avoid interruption.

Ben Horowitz wrote in his book that the most productive management style is to assign one task only to one person and allow him to make decisions on his own without to force him to discuss everything with a bunch of people.

IMHO the key to productivity is managing your tasks/team in a way avoiding interruptions and reducing communication to the minimum.
What a total waste of ProPublica's time. A recent Mixergy interview[0] of MD Insider[1] paraded useless Yelp interviews of doctors as one of the reasons for starting their company. In one of the cleverest applications of big data I've seen, they process billions of medical billing records to generate the actual performance records of specific doctors for specific procedures. Alas, their business model requires selling to big companies with health plans, instead of allowing access by individuals. So we will all need to identify a friend who has access to MDinsider... :-)

[0] http://mixergy.com/interviews/david-norris-md-insider/

[1] http://mdinsider.com/
Thanks, will work on these items.
Boolean Satisfiability Problem [SAT] in 5 mins (or more)
Over the years I've become more and more convinced that debugging has done a lot to develop my problem solving skills and analytical thinking in general. It's like being a full-time modern times Sherlock Holmes with the crime scene and tools neatly at your disposal.

Usually breakpoints and stepping through code solves things pretty easily but some bugs can be real stumpers.

Here's some of the tools I tend to use:

1. What has changed? What could have caused this bug to appear?

2. Verify fundamentals: Is it actually running the code I think it does. If I change something that should change something, does it change? If I break something does it break?

3. Verify Input: Make sure it's valid

4. Verify output

5. Timing issues?

6. Slowly remove code "around" bug until it works again

7. Or start back at something you know works and add back code until it breaks.

8. Break out the functionality into an isolated environment so you can test it separately so you'll know if the problem is within the feature or a side-effect of something else

9. If your code makes it too complicated to see and find the bug refactor until it isn't.

10. Go to sleep / Go on a walk. Let your subconscious process it

and finally, lot's of bugs are made self evident by well structured and refactored code, so don't get too busy working on the symptoms rather than the root cause.
> You are unlucky then, the immersion I feel is crazy. Each time I remove my headset, I get the same weird feeling of not being at the right place.

What games/demos do you play with it? I'd love to experience more compelling software.
The current value of such a company will still be in future cash flows. Any realistic financial model will project flattening growth at some point. This means that retention dominates the long term -> dominates future cash flows -> dominates present value.

A good financial model captures the scenario you describe. The examples in the article should be seen as illustrative, not exhaustive.
"This is no moon!"
TDD Best Practice
Oh, pornography is still banned in some countries that used to be in the soviet bloc. In Bulgaria for instance, even though the country is part of the EU now, porn is still absolutely banned. Possession of porn, selling of porn, disseminating porn - all illegal with jail time. The only thing you can buy is erotica, like Playboy and others like it featuring naked women, sometimes with naked men, doing naked things. Whether a work is classified porn or erotica is decided on a bribe by bribe, I mean case by case basis. The law is practically not enforced, you are absolutely free to browse the entire internet and can purchase por.. I mean erotica magazines freely.
Thanks. The return policy is designed to get over that.

I'm not sure what to do about fake images. We struggle with that everywhere, mostly because we are dependent to some extent on our vendors for images. Obviously some don't understand why we don't want fakes.
Don't people use GPUs all the time now because of Netflix and movie streaming? My old laptop's GPU would always kick in when I played something in 1080p.
Ask HN: Which JavaScript frameworks do you use?
For my Bachelor Thesis i am doing all little research about the usage of webframeworks. The Thesis is about isomorph JavaScript based frameworks but i am also interested what else do you use.
Please evaluate your framework under the following aspects:
1. Time needed for Learning the Framework (in Hours)
2. Overall Development Speed (0-3 Points, greater better)
3. Maintainability of the Code (0-3 Points, greater better)
4. Why did you choose that Framework?

I know its difficult to define or measure those things but it will get a helpful overview for my thesis. Thanks in advance for your Time! :)
What struck me about this was how huge the moon looks compared to the earth. We are used to seeing this as a small object in the sky (after all, it's 2000 miles across and 200000 miles away).

But when viewed from afar...you're seeing an object with an 8K mi diameter and another with a 2K mi diameter, not that different in size at all.

Which, I guess is another way to say: the earth just ain't that big.
> I mean, what are you arguing here for exactly?

i'm pretty sure he's arguing for people to treat their own apnea by losing weight instead of dealing with clinics and the treatment "racket"
Too bad you can't open a pull request to GitHub.com, no?
thanks, I appreciate that. I'm not sure design wise that is where we want to go, but the filters clearly needs a look based on comments.
I feel like this is just the scientist/engineer debate, where the former is trying to discover objective truth, and the other just wants to build stuff.

It's an elemental disagreement, where the scientist is saying "You don't know everything!" and the engineer is replying "So what?"

But yeah, probably we're not going to learn anything with it.
Building Resilient Services with Go
Optimizing APIs with Ember-Data and EmbeddedRecordsMixin
4.2.2.2: The Story Behind a DNS Legend
You think it's rare? Consider where you actually spend most of your money online. Ecommerce, Uber, Airbnb, Fintech services, etc. Most of these you don't use every single day, as you would with Facebook or Google or a dating website. When weighted by money spent, the picture is very different.

It's not a constructed example. It's my company's exact situation.
A bit OT, but wrt cross-linguistic similarities - I've always imagined this list [1] would be the resource for language origin studies, and I have dug out absolutely no research to that effect. I'm sure there is some - this list was compiled - but not nearly as much as I hoped.

In particular, this could explain many similarities that are usually ascribed to genetics, but are actually only there because of commonalities in environment.

[1] https://en.wikipedia.org/wiki/Cross-linguistic_onomatopoeias
NASA: Earth will experience 15 days of complete darkness in November 2015
Are you taking about a mobile app or a desktop one ?

On desktop (Windows) I'm partial to ACDsee but I didn't test many.

I think Adobe Lightroom could be a good fit too.

I can't say for mobile, I really prefer to use a desktop.
I agree, understanding certainly can't be emphasised enough - I believe that a good programmer must always be able to understand enough to "mentally execute" - manually stepping through code, possibly with pencil and paper or a whiteboard, and making sense of the results at each step.

There are some who argue against this, and their argument is effectively "if the machine can do it for you, why should you need to know how to do it mentally" --- it fails miserably when debugging, precisely the time when the machine can't do it.

I've heard it phrased thus: "If you don't understand precisely what you need to do, what makes you think you can tell a computer how to do it?"
It seems legitimate, and I agree with their stance (if not their tone) in the "Controversy" section of their FAQ.

I'd love to see them put out a tool similar to Ninite, though I don't know if they have the resources to allocate for that.
That is where we are trying to get to. Its all about incremental improvement.
Ah, yes, my machine generated error... I am eternally chasing that gremlin it seems.
sometimes I feel like an alien when I say that I need 8-9 hours sleep to feel awake the whole day. 6h seems to be normal nowadays.

Can I train to sleep (a little bit) less?