skysight-inc/HackerNews huggingface dataset:
Show HN: express-debug dev tool for expressjs
To be clear, I don't actually think it's worth trying to influence what is or isn't the legal interpretation that we might desire.

We can't blame power for establishing systems of control, just as we can't blame a tiger for mauling a zoo keeper: it's the nature of the thing. It's what we should expect, no matter how much time we spend coaxing or training it.

I'd much rather invest energy into developing solutions that allow us to communicate securely, rather than investing energy into asking those with power not to monitor our insecure communication.
8-10 hours.

Anything less than 7 and I get "brain fog." And my day is essentially ruined. Hard to be productive when your mind is mush.

Cannot tell if I am the strange exception or if only the exceptional cases (e.g. 5 hrs etc) are posting here. Kind of like asking people their height, only the people who are the extreme end of the spectrum give an answer and the whole thing looks warped.
5-7 hours on weekdays, and 6-9 hours on weekends. It varies a lot, but my Jawbone UP helps keep track - actually pretty awesome after their API came out.
I spent years sleep deprived. Sleeping around 6 hours per night. Sometimes working 36 hours non-stop. Deciding to get a solid 8 hours every single night was probably the smartest thing I've ever done for my productivity and sanity.
I sleep once between 4am and 7 am, then again between 11am and 1.30pm. I now cant sleep for more than 3 hrs in one go.
In terms of your fraction problem, given that
this is HackerNews I'm surprised that no one
claimed that the answer should be zero. :)

$ python
>>> 12/13 + 7/8
0
no i haven't, because driving an electric car does not appeal to me in the slightest.

have you test driven a BMW M5 or AMG E63? or does driving a giant, turbocharged, gas guzzling V8 not interest you?

well that's what interests me. not a battery pack.
Replying to parent to address a few different subthreads here.
I moved from Boston to Myrtle Beach, SC 6 months ago.

Boston living costs are crazy: 3-6x here - I can have such a longer runway in Myrtle Beach, and as noted by the article: get lots of media attention, as we have for events out of our coworking space: www.coworkmyr.com

We've created a tech community around the space, and we're building an investor community out of the rich retirees in the area, and those that choose to come visit.

I've made deeper friendships faster here in 6 months than 6 years in Boston, and I believe the smaller community of tech professionals empowers people to know one another's skills and interests better - to create more fulfilling opportunities when they do arise.

I'm sure there will be challenges, like finding talent, but that's still a challenge in Boston, just for a different reason!

I'd love to hear more from smaller cities that are creating tech communities: with the right combination of elements, you can go far with your startup, maybe even farther & easier than in Boston or SF.
Prosecutors in the states are known to withhold exculpatory evidence. It's not about knowing, it's not even about what you can prove, it's about what they can pin on you - what they can get people to believe about you.

"If you give me six lines written by the hand of the most honest of men, I will find something in them which will hang him."

- attributed to Richelieu, Cardinal De

That's the fear - (or a large part of it anyway.)

You don't even have to cross them for them to do it - not in any significant way. Maybe you slight a cop and he decides to screw you if he can. Maybe you're just a figure on someone's KPIs. You don't have to cross someone - not really - for your desires to conflict.
The sweet spot of productivity
As I read the question, I was prepared to work it out the hard way, and when I got to the part about not choosing the exact answer but only the closest, I was really dismayed because I thought I'd also have to work out how close each choice was to the actual value. Then I saw the possible answers and I thought, "Oh, 2."
I wish this was open source. I'd love to make it animated. It'd be real neat to have something that changes from one aesthetically pleasing shape to another.

Edit: Or having the various parameters put to different aspects of music would be awesome as well.
No doubt that intelligent processing on that scale will be feasible in time, and most likely soon. Opinion surveillance at the scale of a nation is too strategically important.

And when it will start happening, it will also apply to today's data.
The other night I fell asleep at 6pm, woke up 4 hours later (10pm) then done some work until about 4:30am and caught 3 hours sleep and I felt great the next day. It was really weird, felt like I was up all night but wasn't tired at all the next day until late evening.

Anyway, I usually get 6 hours on weekdays and feel crap for an hour before brushing my teeth etc.
7-9 hours, consistent on weekdays and weekends(Dogs don't care about weekend. :)
If you say something like this you also need to quantify your personal experience. Does it consist of a 3 person department? Or one school with a pretty big bio informatics department? Or do you contract out to many different schools?

In my experience as a global contractor, there are at least big players who use Perl exclusively, and in Perl irc channels i see bio informatics people very regularly.
It would be interesting to try and link these numbers to some form of productivity / successfulness metric.
> thinking cheat sheets are only for interviews is limited

I never even used the word "interview", are you sure you're responding to the correct comment?
I'll keep that in mind in the future. I thought the HN audience didn't only include knowledgeable developers.
At least 16 hours a day lately. :-/ (No joke.)
As an LA motorcyclist, I can tell you that almost no one would want to bike 10-15 ft. from the edge of the freeway. It's extremely loud and unpleasant, and there's a significant amount of debris that would need frequent removal.
You probably aren't charging enough. I have been through this so feel free to email me iain@workingsoftware.com.au if you'd like to discuss it.
1) What if all you needed to do was snap a photo and maybe write a brief description of the donation and select an 'expiration day and time'?

2) Imagine you are a college student and this food is coming from on-campus sources and events -- would that change anything?
Probably about 5-6 hours a night. People tell me that you can't have make up sleep... but during the weekends I'll hit the bed at 2am and wake up somewhere in the middle of the next afternoon and feel perfectly refreshed.

My problem stems mostly from the 7 years I spent working a night shift at a grocery store. It completely flipped my sleep cycle script and I'm about 400% more efficient/focused between 10pm and 4am than I am at any other time during the day/night.
For making frequent backups without shutting down Windows, nothing I've tried compares to ShadowProtect Desktop [1]. It makes a complete incremental backup of my C: drive every 15 minutes. Those backups often take only a few seconds, and they don't interrupt my work at all.

I used Acronis before that and it worked fine, but the incremental backups took many minutes with a lot of disk activity - even if I'd only touched a few files. Running a backup every 15 minutes wouldn't be in the cards. So I'd run an incremental manually when I felt worried enough to do so - if I remembered to do it!

It's a real stress-reducer to know that everything is backed up every 15 minutes and I can read files or restore the system from any of those 15-minute checkpoints.

ShadowProtect does this by making sector-by-sector backups with a limited amount of filesystem knowledge: it skips free space and pagefile.sys/hiberfil.sys, and that's about it. It has a driver that keeps track of disk writes while Windows is running, so it doesn't have to scan the disk or filesystem for changes.

If that tracking data becomes invalid (e.g. because of a bluescreen or forced power-off) it falls back to a full disk scan for the next incremental backup. It still makes the same small incremental that it would have made otherwise, it just takes longer - about as long as a full backup.

Because the backup is sector-by-sector, if you change just part of a large file, only the changed sectors need to be backed up. If you move or rename a large file, it takes hardly any time at all to back it up, because it only has to back up the filesystem metadata and not the file data itself.

You can mount a backup volume and open the files in any Windows app, or you can use their restore CD to do a bare metal restore, including a hardware independent restore. Of course other backup programs have those features too, they just don't have the crazy fast incrementals.

I've used the full restore many times and only had a problem once, when I migrated a Windows 8 installation from a ThinkPad X220 Tablet to a ThinkPad W520. It wouldn't boot at first, but I ran the automatic repair from the Windows 8 DVD and that fixed it right up.

One limitation with ShadowProtect is that you can't do a restore onto a hard drive smaller than the original one, only the same or larger. This is a consequence of the backup image being a full disk image and not a set of files. (You can of course mount a backup image on a running system and copy files from it regardless of disk or partition size.)

Also, it doesn't provide disk cloning, only image backup and restore. Here there are more good options; my favorite right now is Drive Copy 12 Professional from Paragon Software [2]. (After you make their CD and boot it, it launches a simplified wizard environment; check the bottom of the screen for the "advanced launcher" where all the good options are.)

[1] http://www.shadowprotect.com/

[2] http://www.paragon-software.com/home/dc-professional/
The question says "board" while the illustration shows more of a rod. I deduce the question to be at least one of inconsistent or incomplete.
You will if they object to something you said.
C99 added the `restrict` keyword http://en.wikipedia.org/wiki/Restrict
The opposite of austerity. I liked this part:

Direct cash payments cut out the many leaks and corrupt intermediaries. Delawa said: “The idea of unconditional income comes from the failure of conditional programmes. As soon as there are conditions, there is erosion. Conditionality means intermediaries, which means power, which means corruption.”

Corruption is the reason aid programs are so inefficient. By giving money directly to those impacted, the poor are empowered to save and concentrate their unconditional small wealth into larger pools and wield power of a sort.
I Can't Code and You Can't Sell Crap [video]
ClojureC, a compiler for Clojure that targets C as a backend
I would guess all climate models and weather prediction models are in Fortran.
Around 7. Very rarely do I sleep more (waking up naturally). I've been getting 2h naps in the evening lately, and I really like it (in the night after such naps I'll sleep 6h or so).
There's a similar old (XVII century) Spanish saying that goes something like "The poor man's dollar goes to the market twice"
Markdown and outliners
This is pretty good, not sure about the lottery thing though, since not everyone is a bitcoin miner.
Coming from the user's chest isn't expected, but imagine a reading chair with the lamp over the user's shoulder, behind the chair. Same direction and a common scenario that I can imagine reproducing in software. How often do people place floor lamps directly in front of their chair?

If Apple's HIG says that the light source should always be directly ahead of you, then you are certainly correct. However, if straight ahead is 0 degrees then you can reproduce the opposite behavior (the effects of pitch and roll get swapped) by having the light source at 90 degrees (reading light beside the chair's right arm). The direction of shine rotation on the knob is reversed by having the light source 180 degrees from its current position (reading light beside the chair's left arm).
I knew someone who slept that much but he was on SSRIs.
3 hours to go 10 miles. It's amazing that people could let it get so bad. I remember watching shows as a kid in the 1970's about how you couldn't get Californians out of their cars. They're not the kind of people who believe in mass transit. They just thought you should make the roads wider.

I guess it still needs to get a little worse.
My teacher used to give me this example when I was a kid: You see one matchstick with one eye. How many will you see with two eyes? :-)

Here's another one that used to confuse high school students in my class: You look at a 10 degrees angle with a lens of 3X magnification. How much would the angle look like? :-)
Average 10. When I'm really tired 12 to 14. I can do with as little as 8, but if I go south of 8 for more than 2 days in a row I will not be productive. The day is kind of foggy.

OTOH I have noticed that in these foggy days, especially in the afternoon, I get very creative insights. I just write them down because I can't use them on that day, but after a good night of sleep these insights come very handy in the next days.

EDIT: that's before I stopped coffee. My sleep pattern has been irregular these last few days. I don't enough data yet, but I seem to need less sleep. I guess my average will go below 10, maybe down to 9h. I'll see in a year.

EDIT2: I'm obviously not counting "crash coding" sessions. I may stay awake for 36h, with serious pain in old injuries past the 24h mark, and hallucinations past that 36h limit. My productivity seems low after 24h, so I don't bother and just go to bed.
Even with organizations like City Harvest, Food Runners, food banks, etc., there are still 263 million pounds of consumable food wasted every day. How can we address this?
I feel the same. Worst for me is afternoon hours where I just get a drop in energy. Best hours for me is anything after 22:00, then I can go on and on until physical exhaustion.

I exercise around 2-3am daily, too, so that must contribute to my increased alertness during the night.
http://youtu.be/Um63OQz3bjo

I agree that explaining people (be them 7 or 20 years old) what bitcoins are and what the fuss is all about is quite complicated.

Usually I just send people that video, but this explanation is pretty interesting (maybe not as effective as the video, though).
Just because they ask for access doesn't mean they don't already have it. It just means they haven't collected it in a way that can be used in a court case.
You're not the exception.

The big shot web devs in HN and in blogging forums are the exception -- and, through survivorship bias et al, they make it sound like it was just their "hard work and persistence" that got them there.
You experienced segmented sleep [1]. Some argue that this is the natural way of sleeping, if you remove artificial lights and modern schedules.

[1] http://en.wikipedia.org/wiki/Segmented_sleep
Such a bike lane would be loud and unpleasant, but if separated from the road it would be similar in loudness and unpleasantness to the Williamsburg, Queensboro and Manhattan bridge bike lanes, which are widely used.

That said, it would likely not work because the distances are much further in LA, and following the path of the freeway is not going to be the most direct route on a bicycle.
Even when corruption isn't an issue -- and it always is -- there is a lot of waste when some bureaucrat spends someone else's money. But this is their money, and they know exactly how much they would have to work to get it, so they spend on what they need.

And this money makes the whole economy flow in their previously cash-starved communities. The effect can be astounding.
Watson-ish system is IBM's medical diagnostics system.

and Google Search is basically Watson.
If you look at the quarterly earnings reports, it's typically 20-30% year over year, not quarter over quarter. Keep in mind that the population of internet users is estimated to be growing about 10% year over year alone (though not always in places where Google is dominant), google's usage rate is still increasing in many places outside of the US, and then there's the fact that we all use the internet more every year, etc.

Besides, without any other data or even a clear mechanism of action, you could just as easily say they're just better achieving their stated goal of only showing ads that the people who see them are interested in seeing. That's supposed to be one of the benefits of the auction-based approach of adwords. 20-30% is a lot for that, but who knows?

Really, I think you're seeing a pattern there that you want to see, and I'll second comex's call for real evidence.
Quicksort is O(k*n log n) though since it does O(n log n) comparisons and a comparison is going to be O(k), so radix sort is still asymptotically faster.
The uncanny valet (Or, Notes on the design of robot psychology)
You sorta wish or hope that the intelligence here is a tick higher.
Yes, that seems to be no question - population growth is mostly linear or even sublinear and nobody is able to produce more than 24 hours of speech per day. If computational power keeps growing exponentially and algorithms keep getting better and better, it is only a question of time.
The O(n log n) bound is a worst-case upper bound, which is a tight bound if all elements are distinct. It doesn't apply if there are guaranteed to be a sufficient number of duplicates.

For example, one might implement a variant of InsertionSort that stores a duplicate count for distinct elements, and then an insertion sort on e.g. 32-bit integers would require at most 4294967296 comparisons per insertion -- a constant factor that can be technically ignored in the complexity analysis. (I did warn you that the constant factor would become unwieldy!)

Note that this doesn't require values to be integers -- it suffices for them to be comparable with a lot of duplicates. The variant of InsertionSort described above would require O(k×n) comparisons where `n` is length of the input list and `k` is the number of distinct values, or O(n) whenever `k` is bounded by a constant (as required for radixsort to work in linear time).

That's not to say that radixsort doesn't outperform other sorting algorithms in practice -- it usually does. However, that isn't obvious from a strictly complexity theoretic point of view.
LA is slowly improving its transit situation from what it used to be, though unevenly. A light-rail line from downtown to Pasadena was opened in 2003, and the subway system is finally being extended, it seems, through some of the more densely populated area of the westside: http://en.wikipedia.org/wiki/Purple_Line_Extension

The Metrolink commuter-rail system also runs 500 miles of track, and is now a reasonable option if you commute during typical rush-hours. However, it has very little service outside traditional commute hours, and its overall ridership is not very impressive, especially given the size (it gets less daily ridership than the much smaller subway does).
The room full of piggy bank analogy is IMHO a lot more effective and accurate explanation that this video which barely brushes how Bitcoin works. (I too have been explaining Bitcoin to people since 2010 while being deeply familiar with its internals.)
4 or 8, depends on the crunch. But I feel refreshed at those two points. 6 hours or 10 hours feels incomplete. When working on long projects I can sleep twice for 4 hours per day and am extremely productive as it feels like two mini days in one.
Some kids are smarter than others in a given grade, and would spot the ambiguities nevertheless. This used to be a problem I consistently faced in both school and college.
Perhaps this was the proper thing to do given the large system memory usage for the S4 (and presumably the HTC One).
In the week I do 7.5 hours a night. 9:30 to 5am. I find I wake up feeling best if I get sleep in blocks of 1.5 hours (with a bare minimum of 4.5) so depending on circumstance I do 6 hours some nights (go to bed later) or 9 if I need to catch up some sleep (wake up later).

I find that consistently getting 6 hours is survivable, but if I do it for too long I feel quite sluggish mentally.

On the weekends the strict schedule goes out the window. I go to bed when I get home or if its a night in when I'm tired, and wake up whenever it feels right.
Same here. I used to look for places to use inheritance but now only inherit from abstract classes, seal everything else by default, and mark all of my fields readonly.
You must not be using python 3, then.
Yes, it does normally have a connotation of formal censure. He was trying to score a lazy 'gotcha' point and failed.
Guy makes his own Thor hammer with 80,000-volt tesla coil
Sell the right to immigrate to the US for 50k
If only there were a way to predict that users searching for "taxi" tend to want local results, and users searching for "abortion" don't. You know, like that other search engine does, called, um, Google:

https://www.google.com/search?q=abortion

https://www.google.com/search?q=taxi

Or if you were willing to type more than 2 words into the search box before blaming Google for failing to read your mind, while you simultaneously tell Google to stop trying to read your mind.
Does python have a comparable library/framework to bioperl?
The critical difference is one is a tiger with limited reasoning ability and the other is a human being. So, I can and should be pissed at people in power when they overstep their bounds.
It's useless to try to compare physical goods to creative works. A tailor can't retain a suit while allowing me to have it. A musician can give you a song, but still have that song. These concepts of ownership just aren't compatible.
The fancy array stuff (which honestly isn't anything particularly special these days) was added in F90. I can assure you that there's still F77 code being actively used in the scientific community.

When I was at uni (10 years ago) I worked with libraries written in FORTRAN 4. Those that used F77 were ported only because it was necessary for use with the HP-FORTRAN compiler. The only F90 code in the department was my own.
Well, if a drug has a dose in the ~200mg range, you can't physically fit many of them into one pill.
That was the reason even Milton Friedman, otherwise pretty much the opposite of a socialist, though that a basic income was a good option even in western countries. His view was that just giving people unrestricted cash would cut out much of the corruption, inefficiency, and market distortion that creeps in once you start giving intermediaries the power to put conditions and restrictions on support. For example, with food stamps, he was skeptical that the restrictions requiring people to buy "proper" food with them produced better results overall than just giving people the equivalent amount in cash and letting them decide. For one thing, if individual recipients are choosing their food, rather than picking it from a list of food-stamp-approved choices, it completely removes the whole business of lobbying to be on the approved list, plus the bureaucracy of administering the list.
My undergrad professor in electrical engineering asked us to calculate voltage on a diode as part A of a problem. This came out as 0.7V. The part B was to convert this to percentage! (Don't ask me how and why the answer was 70%).