skysight-inc/HackerNews huggingface dataset:
The article noted that people ignore the rules all the time. Even if they didn't, devices would be left on accidentally, and devices in luggage will get left or turned on accidentally.

If there's any measurable risk from consumer electronics, instead of "Please make sure all your electronic devices are turned off," the announcement should be, "Please make sure all your electronic devices are turned off, and pray that everyone else does too, pray that no devices are accidentally turned on or left on, and pray that stray rf bursts from ground transmitters don't cause the plane to crash either."

The mandate for everyone to turn off their electronics (and pray) is the equivalent of the industry and the FAA burying their heads in the sand. It reduces the risk, but if that risk was measurable and unacceptable to begin with, it's still measurable and still unacceptable, and the planes' electronic shielding needs to be improved.
I'm pro-medical pot, and if this makes this guuy nicer to his kids, great. But if you're stressed and broke, maybe stop after one kid? Three? Why?
In the case presented, the code is, in fact, already written: it's in Cocoa. So all the person needs to learn is how to call that code, which will be generally be different for each application. The reusable bit is already written; they're asking for the specific bit, and they should learn to write that.

A library only abstracts the solution the problem; you still have to understand what you want to do to solve the problem at some level, so as to integrate the library into your solution. When someone just asks for code, it is clear that they are not interested in putting in the work to solve the problem; they are interested in getting paid (or getting a good grade, or whatever).

I think that one of the reasons that this rubs us the wrong way is because hackerdom, by definition, loves the process of solving the problem, with getting paid being a pleasant side-effect. The person who asks "can I just have the code" is, in many ways, antithetical to the idea of a "hacker".
I completely agree with you. I only used map as he pointed out in the examples how "easy" it was to call it dynamically.
Tradition, paperwork, the knowledge that you are a beautiful snowflake, and a big bragging press release?
The reporter doesn't -- the article goes on to talk about Fourier transforms, and how they'd been used in previous attempts.

The sophistication alluded to in the article is in the visualisation of the results: the reason previous attempts had got it wrong was because looking at the flat numbers returned had misled them.
I thought there already is android-sdk integration in IntelliJ
Trisquel GNU/Linux: The "most Free" Gnome distro
Http://www.7raka.com/vb/t1007.html
I've seen many people and organizations run into problems like you describe. I don't mean to come off as insulting to you, but the only reason I can see a path like that being taken is out of complete ignorance.

At the beginning of your project, how did you ever think that it'd be a good idea to use JavaScript, Node.js and NoSQL? Yes, there may be a lot of hype around them, but after a brief analysis of them it's clear they're inferior to most other options that are already available.

I can completely understand JavaScript being used for browser-based scripting, where it's basically the only practical option. But why would anyone ever consider it for server-side development, given that so many better options are available?

The same goes for Node.js. Reading a brief introduction to it only serves to make Erlang and Go, among other options, look far more appealing.

And again, the same goes for NoSQL. Cursory investigation reveals that anything that can be done with a typical NoSQL database can be done with any capable relational DBMS, plus you at least get the option of using proper SQL queries if necessary.

So how can a month (or much longer, in some cases I've seen) be wasted on obviously-inferior technologies? Was it really not obvious at the very beginning that the outcome would be disastrous?
Not just on Russian photographs. Dig up your grand-grand-parent photos and have a look - same expressions. It probably stems from the need to pose for photographs in daguerreotype times, back when they sat you in a chair and hold your head with a clamp, all because of an insanely long exposure that was required. Do that for 20-30 years and a somber expression on the photograms becomes a social norm, even if the technology moves forward.
Perhaps, you are working on an important experiment with your qubit. However, you realize that that you need an expensive piece of lab equipment to follow through.

However, you remember that your "friend" has this equipment at his/her lab. You also happen to share an entangled qubit with your friend. And you know that you can call your friend on the phone.

Rather than mail the qubit to your friend's lab which could be in a very remote location, you use quantum teleportation to send its state.

This way your friend receives your qubit without the qubit having traveled through physical space.
"If you write small - medium rails apps"

If you are writing using a MVC like rails, mysql is easier because the M is solely in the rails app rather than some of the M being in the rails and some of the M being in the DB configuration.

Theoretically there's no postgresql issue if you're comfortable splitting design and config stuff into two areas is acceptable IF all the devs are also DBAs, or if you are careful to never use any of the features of postgresql (turning it back into a persistent store), or if you never use any of the model features of rails to enforce data constraints, or if the DBA and the DEVs are on exactly the same page... adding a spinlock like that across functional areas, or maybe even across departments, is rarely a win.
Thanks for your answer but I think that my question was not clear enough.

I was talking about merge conflict detection... in source code. Often detected with a tool like git, mercurial, subversion, etc.
What does jQuery have to do with NPM, which is one of the best designed package managers out there? Are easy_install, gem, cpan for noobs too?
Author here.

Mysql - Model is in your code. PostgreSQL - Model is at least partially in your database.

Also your code can be at least partly in your database which is what makes this possible.

There is a HUGE mistake in the article in the assumption that WRT the model design, that the database always knows best.

I didn't say that. However if you read the entire O/R modelling series you will see in PostgreSQL it is possible to fully define your model in an OO-like way in your database, and if you do that then that model can be re-used across applications written in different development environments. We now have proof of concept PHP classes for integrating with LedgerSMB because of the fact that our model is in our db. This makes it very easy to write classes which interop across different languages.

The fact is you can decide where you want the line to be. PostgreSQL allows you to build interfaces which give you much more intelligent data models at every line.

These tools have complexity costs though. Use where appropriate.

Is it persistent storage or is it a turing complete theorem prover and why most both be in the same executable? Note I'm not claiming a "middleware" of a model is a bad idea, in fact its a great idea, it just doesn't belong in the persistant DB store anymore than it belongs in the filesystem layer.

Mike Stonebraker's example was: Create a db query to tell you what images (in your database) are pictures of sunsets taken within 20 miles of Sacramento.

His argument for code being in the database is that the last thing you want to do is select several thousand images and hand them over to the middleware or client for processing. Instead you need some way of having the database answer this and only send you back the ones you want. He suggests:

select id
from slides P, landmarks L S
where sunset (P.picture) and
contains (P.caption, L.name) and
L.location |20| S.location and
S.name = 'Sacramento';

The point here is that you have two good examples of why this approach can be important here: spacial queries, and filtering out images by content using image recognition algorithms. In this way, you aren't burdening your least scalable tier with transferring MB and MB of information back to a middlware so it can perform the processing and return only a few records to the client.
Are You Responsible for Violence, Even Just As a Witness?
I keep pimping this link but for you it's perfect - http://the-programmers-stone.com/the-original-talks

It's several pages written over time but, it's the deepest thinking about the neuropsychology of programming I've seen. From stress, stress addiction, to the level of light (low is best). Some reading, but for someone writing a book you pretty much (imo) have to read it.
kindle fire is free (as in free beer)?
Its interesting that its the same logic as people claiming premonition type events.

So, you're sat there thinking about some one and the phone rings and its that person. Some people say that is such a huge coincidence that it must prove some sort of premonition. The counter argument is that you don't think of all the times it doesn't happen.

So, the "proof" of a connection between mobile phones and airline systems is very similar to the proof people use for premonition. Same argument to disprove it.
That's interesting, I never thought about that. It must've taken a great deal of willpower to not want to know everything about every new person you would talk to on other end of the line.

I imagine this would've been my first conversation with a random receptionist that's just trying to patch my call through: "Hello! We are speaking on the telephone! How's the weather over there!?"

Following that train of thought, I don't really remember my first time using the telephone, although I'm sure I was yelling the whole time.
I just realised how bad MySQL is.
In this case? Hope you have a record of all your filters, then re-implement them using Python's POP or IMAP library. If they fold after demonstrating significant market interest, I'd be happy to set up a competing service with improved usability and monetization.

It's not something I'd try to launch otherwise. I'd be more about a B2B service which aims to improve issue tracking, response times, and accountability. If that does well, go on to work on knowledge retention and retrieval, which is pretty much a giant black hole you can play in forever.
postgres provides much more capabilities than just "dumb storage of the application's state"
Yes. I'm pretty sure that if you have a perfect organization in your team work, there's no need to have a tool like that.

Personally, I already create a merge conflict... alone :-) But it's because I am (was ? I hope...) not well organized.
This is probably the 4th or 5th link this week that has been barely legible (windows 7/chrome). Note to blog authors who want to use custom webfonts: If you are not testing on non-IE windows, you could be alienating a very large percentage of your potential readerbase.
I think you missed the _reason_ why that matters.

If it's _just_ your app/code that's sending and retrieving data from tha database, you can pretty much do as you please.

If other code, especially other code written by other people needs to interact with that data, then explicit rules and agreements need to be made about exactly what "1890-02-30" means.

The argument in the article is that Postgres (and Oracle) have features that help in the multiple application interfacing with the same database, when compared to the MySQL and NoSQL end of the database spectrum.

It's not so much "the model" that's moved into the database, but the validation of the values stored by your model.

I think it's making a better argument than you imply. If you want to be able to store 30 Feb in your model, you'd better consider what might happen if you try and store that in a date column in your database. I'm pretty sure at least some versions of MySQL will happily let you insert that date, and "magically" return 02 (or 01) March when you query it. Is that the "expected behavior" of your Gravestone app?
+1 This is all standard python, I don't get it
CHAR(10) worst case, or probably something a lot more like rowname.year INT, rowname.month INT, etc. Yes you could do your own homemade date type in that in postgres and your query would look like "SELECT " and then you'd write your own date DBMS routines, but it would be icky. Compare the execution time of "Select from blah order by somedate limit 10" on each design, especially if the DB and webserver are on separate boxes.

It comes down to the fundamental question of who defines bad data, the DEV in his model or the DBA in his table design. Worst case is both, with no coordination, second worst case is both with coordination (wasted effort)
I think the biggest benefit of this is having the template language ported to python so you can use the same templates server side or client side.
No argument there. See my other posts in the Object/Relational modelling series for example.
This article is clearly on the nature side of the "Nurture versus Nature" argument and clearly genetics can play a big part in how your child turns out. But why can't we just say "both" to the nature versus nurture argument? Who hasn't been either negatively or positively impacted by the role of their fathers once born?
Pa Small Business Insurance Options
This reminds me a lot of the server-side procmail [0] and Sieve filters [1]. Perhaps this was even the inspiration for such a project, who knows?

But tray.io looks like it can handle far more advanced rules (or at least those somewhat comparable to procmail, and without having to do a bunch of manual scripting!), but in a more user-friendly, graphical way. And if it can automatically generate machine-learned rule suggestions based on user behavior, that would be even more fantastic.

The only major downside is that you have to be willing to let a third-party have access to your e-mail (and I know that when I've written server-side procmail scripts that have misbehaved, I've managed to unintentionally lose e-mail at least once or twice in my lifetime; of course, I didn't know that I had even lost the mail, since the server silently discarded it due to my malformed rules).

[0] http://www.procmail.org/
[1] http://wiki.dovecot.org/LDA/Sieve
Open Sourcing: the Ultimate Isolation
Just how many answers do you think there are in the computing field that are so straight forward they can be stated without any requirement or need for discussion?

Almost any technology answer usually has an "it depends" in it somewhere and that of course needs a discussion in order to fully explore the answer.
An other option if you use map is `operator.methodcaller`, which is also slightly closer in semantics to underscore's invoke (function name specified by string, ability to specify argument to apply to the method, duck-typed).
Reflecting on a week of interviews exclusively with female founders
I'd do varchar with a table method and a check constraint. Not hard, not a lot of effort. Still allows for conversion.

A more interesting question becomes what happens when you have to store local calendar values which are non-Gregorian, like '1712-02-30' which was a date that existed in Sweden (due to a rare Gregorian to Julian conversion). PostgreSQL treats all dates as Gregorian and so Julian dates and weird pseudo-Julian dates (the double leap day to abort the failed conversion to the Gregorian calendar) have to be handled by conversion.

This is good and consistent. If you are recording dates and you need to know what date they represented you need a consistent calendar. If you want to convert Gregorian to Julian that can be done. but you'd have to code that no matter what db you are working with.

Otherwise you run into weird issues like determining the length of an interval across two calendars where you may not know that because calendars changed at different times in different countries.
A varchar named something like "DateAsEnscribed". With a related date field that you can search on with some well defined policy about what happens when gravestones have invalid dates enscribed them.

The problem is, you probably don't work out ou need that until you've got a million rows stored in a date column, and when you discover it, you then start asking ourself "I wonder how many of our dates have been auto-magically 'corrected' from accurate-but-invalid enscribed dates into valid-but-not-as-enscribed ones."
That's not bad, but with quantum physics you can get better correlations than you possibly could get with classical physics. http://en.wikipedia.org/wiki/Bell_test_experiments
A common theme I saw across the examples, AND A CAR PAYMENT. If you're in debt, then the last thing you should be acquiring is another depreciating asset that costs money. Not only do you have car payments and insurance, but you also have maintenance, and everything else that goes along with a car.

Also, how many of these same people have tv's with cable? Cell phones with data plans? Go out for diners, drinks with friends, and so on?

When I graduated I spent 3-4 years paying down my debt as quickly as possible. I believe I got my first car, and it was for under $1000, when I was in my late 20's. I just couldn't afford one.

I also noticed at least one example of someone also buying a home with a $100,000+ debt. That to me is just a bad financial decision. Anything happens and your in trouble.

Also I did notice a lot of the examples showed degrees where getting a job would be tougher, or that it wouldn't pay that well compared to the cost of the debt. I hate to say this, but not all degrees are created equal, and in today's world you need to evaluate the cost to benefit. Unfortunately for some degrees, you can only really acquire them if you have disposable income because there's no way you can make a profit.

In any case, the most common theme I noticed was that they couldn't afford the debt with their other expenses. But the author rarely discussed what they were. For me a car is a luxury. Tv is a luxury. Anything beyond the most basic $20/mth cell is a luxury. Going out for drinks and suppers is a luxury. Just saying... ;)
> I know that some of these functions maybe have already occurred to Python developers

Some? Pretty much all of them are already either builtins or in the stdlib…
I don't think Haskell will ever enjoy wide-spread adoption (although I wish it would happen). Haskell really does have the best constructs for parallelism. You have sparks, which can map to Haskell threads, which can map to OS threads. Using an evented system would be similar to using Haskell threads except Haskell can utilize more than one CPU core.
I use Labview.

For anything reasonably complex, it is by far the slowest language I've worked in.

It's still 100% worth it for its use case, and 90% of what you'd want it for is not all that complex.
Hi Everyone,

First of all, thank you all for your comments. I have to clarify the purpose of this library. I'm originally a JavaScript developer and I didn't write a single line of python code before this project.

I needed a project to learn python and I choose something I'm already familiar with. Underscore.js has almost everything you want to learn on a new language and it thought me a lot.

When I completed the project I figured I can post it online and other clueless javascript developers like myself can learn python from a familiar place.

I'm fully aware that python already has most of the tools underscore has and this code is not pythonic at all. It was built that way intentionally. I wanted it to be the same as underscore.js.

Now I need your advice to write a better python code and maybe create a useful library after all.

Thank you all.

PS: I wrote this comment from mobile phone so please excuse any errors.
I flew out of Mumbai shortly after the 2011 bombings. They didn't make me take off my shoes or take my water bottle.
I suspect, given a large enough sample of gravestones, you find enscriptions like "Christmas Day 1832" or "The last day of Winter 1906". I suspect the argument for keeping the "30-02-1890" data intact would apply equally to my made-up examples. I'd design this with a "date as enscribed" varchar column, and an "linterpreted date for search/sorting purposes" date column.
Tech’s New Wave, Driven by Data
Ask HN: How did you hack the press when you launched your startup(s)?
How did you get on TC, RWW etc? Did you know your journalist before pitching him/her? How many signups/users/downloads did the post refer? How did it affect the future of your startup?
I know the rules for headline changes, so I won't suggest one, but the real takeaway here is Valve's big move toward wearable computing.
Is there a ban on earplugs or taking sleeping pills?
Did I even mention the people doing the job of deleting stuff? For all I care, it could be done by a bot.

>They aren't the ones creating a great site. Those that ask and answer questions are.

Sure. Look at a site where there is no moderation. http://answers.yahoo.com/

My experience with online communities tells me that the slippery slope in this case is very real. When new and immature folks generate content with back and forth among themselves(voting each others' comments up), the old timers simply pack up and leave since the site doesn't interest them anymore. Happened to Reddit right before my eyes.

So why not use programmers.stackexchange.com for such discussions? The more people use it, the more active it gets. Stackoverflow has already made their opinion clear on this.

http://blog.stackoverflow.com/2011/08/gorilla-vs-shark/

http://news.ycombinator.com/item?id=4413957
Small team (~10) of developers: I rarely encounter merge conflicts due to our method of doling out tasks. We generally try to group tasks together based on similarities, and our codebase is very modular.
To me it seemed like the article was less about nature vs nurture and more about the author's resentment that men aren't held as accountable for their children's health as mothers are:

From the article,

Older mothers no longer need to shoulder all the blame: “It’s the aging man who damages the offspring."... The well-being of the children used to be the sole responsibility of their mothers. Now fathers have to be held accountable, too. Having twice endured the self-scrutiny and second-guessing that goes along with being pregnant, I wish them luck.
We get them regularly, maybe a couple a week. But for the most part you know what you are getting into. It usually comes up in code review that there's going to be a problem.

What I don't get though is how a realtime notification would help me. If my editor started flashing that I was in conflict, what would I do differently?
You're really overstating how "deep in the dirt" PayPal's reputation is, though. Some developers complain very loudly about PayPal, but just about everyone else continues to use the service.

They remain an interesting choice for anyone starting up a business that takes money online -- I have a business that I've partially migrated to Stripe (and I'll finish that up soon), but for about 9 YEARS before Stripe came along, every year I'd evaluate the available options for accepting payments, and come back to PayPal each time.

They certainly have trust and customer service issues -- and I've never allowed more than a few thousand to accumulate in the account for that reason -- but I have to admit I've only had technical problems with maybe 2-3 payments over those 9 years, never had my account locked, and generally just benefited from the flexibility and good rates.

My impression is that overall, they still have a middling to good reputation. Especially if they can fix the glaring problems remaining, I don't think they'll have any trouble staying strong for a long time.