skysight-inc/HackerNews huggingface dataset:
Job opening: Python/Django Developer (Washington, DC)
`National Geographic Society) <http://www.nationalgeographic.com>`__ (Washington, DC, USA)
========================================================================================

Job Description:
The National Geographic Society seeks a seasoned Python/Django developer to design a new Content Management system.

Requirements

* Experience with: Python, Django, Linux/UNIX, PostgreSQL, vi editors, Jira, AJAX, JQuery, Perl
* Successful design, implementation, deployment and maintenance of high-traffic multi-server environment
* Actively participation in design and code reviews
* Ability to troubleshoot and fix production issues
* Development of new software to support business initiatives
* A high degree of initiative and the ability to work independently
* Possession of US citizenship or a green card, as this is a permanent position

What Python is used for: The developer will join the Global Media and Application Development team that publishes web content and pipelines content to new devices and applications. S/he will build and maintain back-end applications to support the website and media asset management needs. S/he will participate in the planning and design of new applications.

Contact Info:

If interested and qualified, please submit your resume to connectresourcegroup@gmail.com
If the purpose of the challenge is to win by showing off your knowledge of Ruby...

module Wizard
def move; [:rest] end
def stats; i = 1.0/0; { health: i, level: i, strength: i, defense: i, experience: i } end
def suffer_damage(p); end
def to_s; "Zhormenheimer the Illusionist" end
end

Zhormenheimer the Illusionist: {:health=>Infinity, :level=>Infinity, :strength=>Infinity, :defense=>Infinity, :experience=>Infinity}
Zhormenheimer the Illusionist is the winner!

(Ruby really needs something like Lua's setfenv!)
Google+ launches new layout, leaves developers out in the cold.
Buy a Zeo. It really works.

Long/short it monitors your sleep state and wakes you during the best time. I've never in my entire life been a morning person; I recently had enough struggling with my startup and took a fulltime job and decided to be the early guy. Have been to work 7:30 or early without issue for nearly two months.

And most shocking, I feel great, fully awake and don't have any tiredness. Great product.

http://www.myzeo.com/sleep/
i thought it was to buy nokias patents at a knock down price later.
This, more than any other explanation, has helped me understand what's happening. Thanks much.
Totally agree, unless the purchase is cheaper than gaining popularity, but that seems far fetched in this particular case.
Programming with serial ports in linux
You're saying that this isn't worth doing because they still have to keep some minimal amount of information about their customers in order to do business? You're saying everyday people should contract with a company in Liberia to route their traffic through Estonia?

That's ridiculous. The point of this is not make it easy to evade justice. Remember, we do want the police to be able to gather evidence against criminals when it's warranted. It's to prevent mass surveillance of the population by the state. Having communications companies that minimize the data they gather about their customers and refuse to hand it over to the state without a warrant is a huge step forward in protecting the civil liberties of ordinary citizens. That's the point.
Using BDD for having non-programmers write tests sounds far-fetched to me indeed. It's excellent to have them able to read and understand the tests, though. Any opinions? Is BDD as dead horse, or is DHH a little narrow minded here?

I thought what you thought - that this is DHH's working context speaking. For me Cuke-ish tests are about alignment and communication - not about having non-developers write tests.

(of course Cucumber isn't the only route for doing that)
TextWrangler 4.0 Release Notes
It's a case of put your money where your mouth is
The display on this watch is much higher quality, in my opinion, than the eZ430.

I've looked at the TI, and it isn't really what i want. The previous version of this watch, the inPulse, was pretty good, but battery life was a concern for me.

This, however, is a much more attractive device, solely because of the very sexy display.
The costs aren't in the same ballpark, but neither is the functionality.

I want it, in a way that I'd never want to actually use a Chronos.

I've met some of the inPulse guys in Waterloo, and interviewed for an internship in the past, that I didn't do. I have faith in their ability to execute a pretty great product.
The Tech Junkie's Way to Network
16 states join DoJ in suing Apple, e-book publishers over alleged price fixing
Visualized: The tangled web of smartphone patents
This is the real issue with the Agency model and Apple, it may or may not have prevented an Amazon monopoly on ebooks, but it did guarentee that nobody but Apple could make money selling ebooks via iPhone apps.
The top-voted answer mentions that the example O(n log n) algorithm can be made O(n) by replacing eager evaluation with lazy evaluation. My question is, does this count as using the same algorithm or not?

I sort of view lazily-evaluated data structures (like generator expressions) as not data structures at all, but rather control flow constructs[1]. They control when, how, and if expressions are evaluated and results are returned. As a result, I feel that using lazy equivalents for your data structures qualifies as an algorithmic change. In fact, one could manually code lazy data access in an eager language, and the resulting algorithm would look very different from the original.

On the other hand, the laziness is enabled by the purity of the algorithm, so... well, it depends on your perspective. You could say that laziness makes the functional equivalent just as fast, or you could say that the functional equivalent is slower, but there's a different functional algorithm that is just as fast.

[1] Except they're still data structures. They're like, a quantum superposition of data structure and control-flow operator. Which one it is depends on how you look at it.
This seems plausible, but this tiny article is mostly speculation.
"Be sure to include a certified bank cheque for a $4.99 processing fee."
This looks like it has some similarities to Derby (http://derbyjs.com/) and SocketStream (http://socketstream.org/). Will be interesting to see with authentication and permission handling.
I like how it displays the weather in each participant's location, now I can shorten the usual opening chit chat to a minimum.
We should evaluate the paper on its merits, but the reddit discussion did note that this journal has some credibility issues -

http://en.wikipedia.org/wiki/Journal_of_Cosmology#Reliabilit...
(This is not worthy of a bug report, so I just post it as a comment)

1. The 'gear' icon is misleading. It's an edit button, not a button to change application 'settings'.

2. The text size is small. I understand that being delicate is part of this beautiful application's charm, and that it surely looks gorgeous on the new iPad's retina display, but I think you should have an option for a larger font size. Specially for the visually impaired, which otherwise I think can hardly use it.

3. Maybe a 'search' functionality (as opposed to directly typing 'username/repo') for adding other people's issues?

That said, I must say that I'm more than impressed. This app is extremely polished, pretty and intuitive. I've just seen a handful of apps that are more polished (and they were made by multi-million dollar companies, not as a learning experience).

I 100% recommend it. Awesome job.
No worries - I notice that I did not actually specify "e-ink kindle" in my statement above.
I think they feel clever and exclusive because of all the HN readers they tricked. You're not always on the inside of an inside joke.
I actually don't mind the callback pyramid so much for what it gives you.

One of the answers to "why node" question might be because it's all about Javascript. It's on the client, on the server, in the api, talking to the database...everywhere javascript. So node is a great choice for that. And it's very fast. I see luvit.io claims a 2 to 4 times faster than node performance, but it breaks the convenience of one language everywhere.
My uncensored opinion is that the original article is garbage. Waking up early isn't about what you do in the morning, its about what you do the night before (or fail to do.)

Forcing yourself to wake up early for the sake of waking up early is destructive as it means your body has not gotten enough sleep yet. Your going to either have impeded judgement capability, diminished work energy or both. A lot of people pretend this doesn't happen to them; they under perform for years or sometimes their whole life.

Being a business owner associating with a lot of people with the worst sleeping schedules imaginable I have a pretty good idea what causes serious sleep problems.

That said, most average people can fix their sleep problems just through being active.

Here are a few things that are a really big deal:

1. Wind down work hours before your ready.

2. Shut off most of your lights. Especially the horrid blue lights that so many electronics emit.

3. Don't do drugs. Yeah, if your snorting cocaine on the weekends expect to have some problems sleeping for the rest of the week.

4. Be on a regularly eating schedule. My sleep disruptions go hand in hand with meal disruptions.

I travel to trade shows and have 24 hour days. When I go back home, my sleep schedule goes back on track within 48 hours. This is coming from someone who, over half a decade ago, spent years attempting to stop a 26 hour day cycle (meaning your sleep plus awake time always ads up to over 24 hours a day resulting in no predictable sleep pattern.)
> SET PC, [SP++]
> SET PC, [--SP]

Good call, detecting (PC, SP) fixed point then, although using the stack to jump onto itself is wicked. I don't want to go and solve the halting problem either.

> SET PC, [location with I/O]

Qualifies as outside force. I'm not sure I want to write/run a program that JMP to an @ provided by I/O, this reads like an SQL injection.
The new design looks beautiful. But google+, while you have most of the features that are needed for a good all round social experience, please make it easy for non-techie people to understand.
Agreed. If you're going for two monitors, you should try to get the same model. Otherwise you'll spend a lot of time fiddling with color settings and still never get them to quite match.
Ask HN: Best video conference API with Archiving?
I have a client who wants to build a video chat website to pair individuals together for chat sessions.

They want the ability to archive the videos for legal and research reasons. They've checked out TokBox and it seems like the most well-suited API, but they said the TokBox people were asking too much for the Archiving feature at scale.

Does anyone know of any other open web-based video APIs that let you archive sessions?
Nokia drops Lumia 900 price to $0 in response to bug outrage
You're missing the point - it's their right to employ who they want (with a few mandated exceptions), just as it's the workers' right to work for whomever they want. Yes, some employers use that right to make decisions based on poor metrics, but that's the price of freedom for all, and other employers who aren't bigoted can benefit.
I'm pretty sure FOPTOP is a drunk who they found passed out on the beach
Intel Develops Small, Sturdy Tablet for Education
For alternative knowledge, check Coreboot aka linux as BIOS.

Here's a video talking about inner workings of the boot process http://www.youtube.com/watch?v=X72LgcMpM9k#t=438s

url linked at 7min, but it's actually 3x15min talks. have fun watching them all :p
Used it few times today. Simple, fast & easy to use. So far it's awesome! Well done Denis & Arend.
Download Safari on Windows and give it a try. Also test it on iOS & Android if you can.
My own observation is that some ruby/rails developers get so enthralled with testing that it becomes an obsession that eclipses the product that they are building. The result (strong opinion coming...) is libraries like rspec and cucumber. They're complex and burdensome, and tend to attempt to mimic english, but often do so poorly and are totally unsuitable for non-coders. You spend a lot of time learning "the way" to do things and wind up with code that is unintelligible to less experienced developers.

I use test::unit and minitest and it gets the job done without having to keep up with the latest trends. It's simple and can be written in a way that correlates well to actual English requirements. It takes all of an hour to digest minitest from zero.

That said, Cucumber and rspec are very popular, so I may be the weird one.
I stopped using an alarm clock about a year ago, and it's been one of the most positive, life-altering changes I've experienced. I'm not tired when I wake up, and I have consistent energy through the day. It was a surprisingly easy transition after doing two things: leaving the blinds open so I get lots of natural sunlight in the morning, and eating breakfast within half an hour of waking up.

It's somewhat scary at first, going without an alarm, but I discovered after doing the above two things that I was tending to wake up before my alarm, and ready to start my day. After a few weeks, I decided to give it a go, and have been off the alarm for a year. In fact, I think now that having an alarm was much more stressful and got in the way of getting a good night's rest, despite the fact that I now wake up earlier.

Getting to sleep at a decent hour helps, and waking up early leaves me tired at night. I avoid caffeine after noon and tried to avoid sitting in front of a computer screen during the last half hour before sleep. But I credit the early meal and sunlight most.
WaveRaid - Quest for the Timed Comment
A demo of the SoundCloud JavaScript SDK's new ontimedcomments event. Literally "play" a track and collect all the timed comments.
Enhancing mappers with LINQ (2008)
Does anyone know why Microsoft didn't just use the standard _filter_, _map_, and _reduce_ function names?
We'd love to get this in your hands (beta starting this month) and to get your feedback.

We want your valuable input – so we're going to auto push everybody that signs up through hacker news to the top of the beta queue.
Tennessee’s Anti-Science Bill Becomes Law
Nice hack. Yes, this is not cheat proof by any means. But Ruby is by its nature hard to prevent someone from doing whatever they want.

I did try to make it semi-cheat proof by using a delegator PlayerProxy that sends method calls to the real Player objects. But if you're going to read the stats of other players you must be able to call Player#stats somehow.
How do you handle having a band strapped to your head? Does it come off at night and most importantly does it feel comfortable?
Bienvenidos al Blog Sobre La Excitación Femenina
960 is also half of 1920, for side-by-side viewing, though I'd design a bit lower in case of window borders and scroll bars.
3. Don't do drugs.

Most importantly, do not consume caffeine. No coffee, no tea!
There's a "Who can send you notifications?" section on the settings page which allows you to configure who can send you notifications that trigger the red alert.
I kept staring at the calendar trying to figure out if his point was that people were so uninformed about mathematics that they don't know what day of the month it is...
This has nothing to do with 16:9 or 16:10. This is 16:9 over 4:3.

In the case of the iPad, it's completely true. Apple decided that 4:3 screens were the best form factor for a hand-held tablet.

I have both an Android tablet (A500 with ICS) and an iPad 3rd generation. I -- without doubt -- prefer the form factor of the A500, not just because it presents a much better experience when viewing videos. It's simply a better form factor. Apple is not all knowing, and their reasons for choosing their form factor are, as always, more nuanced than what is "right".

So they made 4:3 happen, rather than settle for common and cheaper 16:9 or 16:10 screens. Guess what ratio Android tablets use.

When Apple made the iPad pretty much the only 10.1" screen was a 4:3 1024x768 netbook screen. The claim that "Android" (and every other tablet maker) chose the cheaper screen -- one that didn't even exist -- is a bit hard to stomach.
There is an app on the AppStore that claims to do something similar using only built-in phone hardware (accelerometer). Anybody got any experience with it? Seems like some reviewers claims that the readings are bogus. Is the accelerometer on the iPhone sensitive enough to register movements as claimed by the app? http://itunes.apple.com/us/app/sleep-cycle-alarm-clock/id320...
You need to adjust your cat's feeding cycle.
The real question is, has Apple sold enough tablets to be considered a monopoly in the marketplace. Even if it is a monopoly, it definitely isn't in phone (even smart-phone) marketplace, so it is unclear what exactly the DoJ could do to influence the iPhone's in-app purchase fees.
Don’t use Cucumber...

Thank God someone with a bullhorn finally said this. I was beginning to think I was alone in my hatred of Cucumber. (And my love of Test:Unit/Minitest.)
I guess I was thinking in terms of having the morning wake-up without the full commitment of a child.

I am quite aware of the differences between a human infant and a cat.
This is from my lean publishing podcast (http://itunes.apple.com/ca/podcast/leanpub-podcast/id5171171... for iTunes, or use http://leanpub.com/podcast.xml directly). I'm submitting this link to HN since Reg and I had an interesting discussion at the beginning of the interview about his recent fictional resignation letter and clarification (both of which caused a lot of HN discussion; see http://news.ycombinator.com/item?id=3790378 and http://news.ycombinator.com/item?id=3792793), as well as because Reg is a really interesting interviewee...
This is why I left Microsoft. Automated testing was a separate discipline - meaning there were "dev devs" and "test devs". Automated tests were written based on what the "test devs" had time for, not on the need or usefulness of such tests for the actual code. I was hired as a "test dev" - I had no industry experience at the time and figured I would give it an unprejudiced try to see if I liked it.

I quickly realized that my job was futile - many of the "good" tests had already been written, while in other places, "bad" tests were entrenched and the "test dev" had the job of manning the scanner to check for nail clippers, or upgrading the scanner to find as many nail clippers as possible.

Here's a useful rule on the subject that I picked up from an Artificial Intelligence course back in the day: The value of a piece of information is proportional to the chance that you will act on it times the benefit of acting on it. We all realize there is no benefit in testing if you ignore failures rather than acting to fix the bugs, but in much the same way that doing nothing when tests fail has no benefit, doing nothing when tests pass also has no benefit - so tests which always pass are just as useless as failing tests you ignore, as are tests which only turn up corner-case bugs that you would have been comfortable with shipping.

If you're doing the right amount of testing, there should be a good chance, whenever you kick off a test run, that your actions for the next hour will change depending on the results of the run. If you typically don't change your actions based on the information from the tests, then the effort spent to write tests gathering that information was wasted.
This is like arguing that Walmart shouldn't get a cut of book sales. It's Apple's store. Apple still allows iOS users to purchase and use books from other stores on their devices.

What's the point of operating a store if you don't get a cut of the sales?

But if you just get rid of the agency model, which the DOJ is trying to do, this naturally goes away. With a wholesale model, Apple, Amazon and the publishing companies can all make money on an ebook sale. The agency model doesn't leave room for two middlemen.
My first unit testing experience (Django), it wasn't 1:2 or 1:3, it was more like 2:1. As far as time spent, I don't even know if I could separate the two, I spent so much time in tests and production at the same time. I actually want to scrap that code and restart it, it's not worth changing all those damn tests any time something else changes. I tend to go to extremes, I'm actually thinking of switching to Yesod next to see if I can mitigate a lot of the reasons for testing.
One neat app I've discovered lately that helps me with this tremendously is Sleep as Android[1]. It has a "CAPTCHA" mode for alarms, where you have to do some additional task to wake up. It has a few choices for the task, but the most amazing one is QR Code scanning. You "teach" the phone a QR code of your choice, and when the alarm goes off you have to scan the code to turn it off. The use case is printing a QR code on a piece of paper and sticking it in the kitchen/bathroom/whatever room that requires you getting up and walking. A simple, yet (to me) a mind-blowing feature for an alarm.

[1] https://play.google.com/store/apps/details?id=com.urbandroid...
doesn't help that google play now does not even show permissions changes as it did in the past when auto/batch updating.
How are they delivering a result back from those async mongo function calls right away on the client? Anyone know??
Caines Arcade theme song
Ask HN: Customer support help desk with mobile app integration?
Hey,

we work on several mobile games for iOS and Android. Right now, our players have to open Safari to send us support requests and create an additional account. That sucks and is totally unnecessary. We already identify the players to give them the same account from the server, so we could just use this. Of course we could build it ourselves, but the real problem of customer support software is another one - and we don't know anything about that.

Is there a customer support help desk software/service that lets you integrate and authenticate in your app?

Thanks.
AFAIK e-paper is essentially a term that encompasses of paper-like displays, including e-ink. This probably uses the latter.
First Year Progress Report of Cloud Foundry – Did it PaaS?
Any coverage YC alum get is by us upvoting them, though.
Yammer Buys OneDrum To Add Collaborative MS Office Editing To ESN Platform
Pay what you want, help send Caine to college.
I produced a graphic like this last time something like this was submitted:

http://www.solipsys.co.uk/images/MobileSuits.png

Here are a few similar submissions ...

http://news.ycombinator.com/item?id=1166958 <- From over 2 years ago

http://news.ycombinator.com/item?id=2465057 <- From 1 year ago

http://news.ycombinator.com/item?id=2856774

http://news.ycombinator.com/item?id=2896671

http://news.ycombinator.com/item?id=2898639

http://news.ycombinator.com/item?id=2911684

http://news.ycombinator.com/item?id=2915443

http://news.ycombinator.com/item?id=2921238

http://news.ycombinator.com/item?id=2928385 <- This has comments

http://news.ycombinator.com/item?id=2941852
Yerba is a nice booster in the morning. Stronger then regular tea or coffee. Highly recommend it too! I mentioned some tips in a very very old post of mine here: http://blog.ernestsemerda.com/2010/08/06/sleep-5-hours-night...