skysight-inc/HackerNews huggingface dataset:
Ya, I sort of made those terms up, sorry. What I mean roughly is:

* unprincipled metaprogramming: any metaprogramming facility whereby module-level elements (e.g. delcarations, code, modules themselves) may partake in Turing-complete transformations (hence precluding complete analysis), may generate unsound code (i.e. what would be a compile-time error), or may modify code at run-time (i.e. through dynamic scope or global mutation).

* principled metaprogramming: not the above; i.e., all code transformations terminate (allowing automatic analysis), all generated code is syntactically sound (mostly this means not having to worry about escaping stuff), and code transformations don't modify existing code.

There are probably other things and some exceptions, but that's the jist of it.

eval(), C++ templates, C macros, and prototypes are all examples of unprincipled metaprogramming.

Parametric modules (OCaml), hygienic macros (Racket), and multistage programming (MetaOCaml almost) are all examples of principled metaprogramming. (I say "almost" for MetaOCaml because code generation expressions may not terminate; but this is neither required nor encouraged, and it is easy to guard against.)
Agreed that its not a huge risk, but you can't spend HN karma. Litecoins can be converted to cash though, so there's at least some difference between the two.
Google is already in talks with Warby Parker (the Zappos of glasses) to design more stylish frames. I'm sure they have a plan for affordable prescriptions, and Warby's frames/lenses come to less than $100 already. Actually, if I could get Google (prescription) Glass for < $400 and it wasn't very noticeable I have a computer on my head, I'd certainly buy a pair since I already wear glasses.

But there's no way in hell I'm going to use this if I always need a cell phone (I rarely have one), and I'm not paying any of the major cell companies for a Glass plan because they all rip you off. If they teamed up with Metro/Boost/Cricket type companies or went the original Kindle path of free data, I'd be happy.
Don't use just one ORM and then declare "ORM's are stupid". The "object = None" / "object_id = None" issue illustrated here is certainly not a mistake every ORM makes.
> its very hard to be objective when you're examining yourself and once you begin to notice something, you tend to 'fix' the evidence in your mind.

That's the first time I hear a reasonable argument that I can't diagnosis myself.
Do you have an example of an ORM which is not in some fundamental way "stupid"? I haven't found one yet, but I'd love to know one existed somewhere.
FUCUSHIMA OUT OF CONTROL,
Further down he writes the rationale is to prevent fragmentation of the community; from what I have seen it prevents developers who otherwise might from joining the community.

It's not like e.g. Python or Haskell have a fragmentation problem despite permissible licenses. Scheme has fragmentation problems but that seems to be a symptom of simple implementation and lack of a common set of libraries.

I think Shen is interesting, but if I used it I'd only be mining it for ideas to apply in other languages. It would make far more sense to me if he allowed derivatives iff they did not use the name.
Your Facebook Like Is Worth $174.17
Bumping into ORM limitations + moving to Jinja for templates --> one word: Flask

...really, what advantage does Django provide at this point in this project anymore?
> I feel like I could have written this post myself.

Everyone does. It's like reading the horoscope. He's just describing normal human behavior.
Rails 4 UUID primary keys with PostgreSQL
a. We seem to have pretty bad (or at least predictable) taste in movies.

b. The list is missing the two most important movies to HN: The Shawshank Redemption, which is about how you're never going to close funding until you give up on ever closing funding, and Ghostbusters, the greatest startup movie of all time.
Until we've attained AI, all software can be said to be "stupid". Google is stupid. Relational databases are stupid, SQL is stupid. None of it works without human intelligence actively directing it to do work for us. Why single out ORMs?
you mean the exchange rate? it wouldn't need to know the exchange rate, just what volume of bitcoin is changing hands at any given point in time which is part of the blockchain.
Spot on. I was scratching my head on this.
> Could be anything you would pay money for!

As explained here --

http://arachnoid.com/Sangean_ATS-909X/index.html

-- there is a gap in the shortwave radio market, between the radio the article's about (a reasonably good radio with some limitations) and the high-end Icom radios (superior). While researching the article, I was astonished to discover that there simply aren't any shortwave radios in the gap between an economical but limited radio at one end, and an excellent but pricey radio at the other.

It's an unmet market need -- hard to say how big, but the potential customer base is definitely nonzero.
IOS Safari, Content-Type, and XSS
As someone who can count the number of B's I've gotten in one hand (K-PhD), I have to relate a saying: "grades don't matter ... it's just how we keep score". In the original version of the saying, money comes in the place of grades :-p

But seriously speaking ... at some point, you will stop caring about grades. I stopped grading after I starting grading undergrads as a lecturer. Heh .. I stopped caring about my age after 31. As a former child prodigy, I sometimes do feel I've wasted opportunities and my potential. But then I remember that the battle isn't over yet ... I may yet do something I feel is consequential. It is no longer an achievement in science. Rather, I hope I can create a company that gives a livelihood to many people, treats them well, and does right by the world. Given that I don't even zero entrepreneurial experience at this point in my life, this dream might just wither away. But c'est la vie.
I imagine you won't get much support with that comment, but you're absolutely right.

Everyone responding to you is going to say mothers can't breastfeed. Bullshit. Only perhaps 5% of mothers can't breastfeed because of medical conditions. 71% of babies in China aren't breastfed. Do you see a discrepancy here? Framing it in terms of being physically unable to breastfeed is disingenuous.

Among other reasons, women aren't breastfeeding because they are being misinformed and marketed to by corporations. It really is ridiculous when poor families who have a free way to feed their children are putting in the time and expense to get subpar nutrition from overseas.

>However, Save the Children said in its report that a quarter of mothers in China have received gifts from dairy companies, while 40% were given samples of baby formula from companies including Nestle, Wyeth and Mead Johnson.

>The British group also found that 16 out of 35 food shops in six Chinese cities had promoted breast milk substitutes through salespersons, posters or gifts.

>Save the Children said such marketing has resulted in the percentage of breastfeeding mothers in East Asia and the Pacific to drop from 2006's 45% to 2012's 29%.

http://www.wantchinatimes.com/news-subclass-cnt.aspx?id=2013...

>But even Wolynn, who is also a certified lactation consultant, seemed skeptical when I related Kelly's tale -- usually women struggle because they haven't had enough support in the first few days after giving birth, in his experience. "Very few women really can't breastfeed," he said. "That's very, very, uncommon." It's a "normal mammalian function," he said. Almost everyone can do it.

http://www.cnn.com/2013/01/03/health/medical-breastfeeding
The idempotence monad for adding fault-tolerance to distributed applications
I live half the year in Vietnam, half the year in NYC. I'm mildly frugal, but Vietnam still runs me about $2K a month, $1.2k if I don't leave my apartment. NYC, a frugal month costs me $3.5k.

SE Asia is cheap, but its not as cheap as people think it is.
If you can join a sports club. Be it soccer, martial arts or whatever fits you needs. You learn more and meet new people. If you need more workout you can go running or do body weight exercices.

You also don't need any machines. Body weight exercices should be more than enough. Push-ups and chins can go a long way.
Yes. Not to mention the one commenter that "would like to stalk" her. Flagged that one.
NYC is such a desirable place for people to live that demand will be very strong and supply will be tight for a very long time. Economics 101 suggests that prices will be elevated as a result.
Hey man! This is what my startup is working on. Travel is a ridiculously cluttered industry, yet no one's managed to nail it. (I think because they're so focused on pure monetisation - skimming off bookings etc - they're less focused on the inspirational or emotional design side of things. We're pairing this with kick-*ss functionality). We're not launched yet, but I would love to get your feedback on our demo when it's finalized :)
I know in our community here its easy to jump to try create a technical solution for both identifying and solving our issues. I've found that meditation is the mental tool you might be seeing. The main goal of meditation is to make what is unconscious conscious. And simply by making it conscious it brings it to the level where you can start to address it.

It looks like that is what you have been doing though without the benefit of an explicit meditation practice, keep it up.

There are lots of guides to beginning meditation out there and I happened to write one myself http://hackerhmb.tumblr.com/post/42240064528/hackers-guide-t...
Basically, the reasons you thought.

* Geographic constraints to adding housing, plus a difficult regulatory and business environment to do new construction in.

* 0.8% of houses are owned as speculative investments, not housing.

* Prices capture access to the world's best public transportation system and all the shops and restaurants connected to it.

* Salaries are higher and so there's less pressure from tenant price ceilings.

I'm not sure I understand why the investment property thing is such a potent force, even though it was given multiple grafs and an chart in the article.
Is copying wrong if it doesn't result in a lost sale?
There are several Micro ORMs for .NET:
http://www.servicestack.net/benchmarks/#dapper-benchmarks

That don't try to handle hidden-magic-state and lets you easily access via Raw SQL if you need to do complex queries. Many don't try to abstract anything and are simply extension methods over the underlying IDbConnection (so you never lose any flexibility), i.e. they simply exist to remove the tedium boilerplate of mapping RDBMS results back into POCOs.
I think that actually makes for a better list in this case, filters out all the things everyone has seen and leaves the ones that people might have missed (I'm certainly going to be trying to hunt a few of these down, thanks!)
Does a code repo got more contrib. when it's from an org. than from a person?
I'm working in a large code project and I would like to receive contributions but something makes me think that I can receive more attention if this is released under an organization instead my personal user.
You're contradicting yourself. Your first comment indicates that it's wrong to label ORMs as "stupid". Yet in this latest comment, you've labeled all software (which includes ORMs, of course) as "stupid".

Like the other commenter requested, can you provide an example of an ORM that isn't "stupid"? Your initial comment makes it sound like you've worked with at least one that isn't. We're curious to learn about which these may be.
Hitchhiking has never been dangerous. Why would you take the word of homeless people you met on a bus over stats you can easily find online?

http://wandrlymagazine.com/article/roadtrips/hitchhiking/

http://www.freakonomics.com/2011/10/10/where-have-all-the-hi...

http://www.socresonline.org.uk/6/3/chesters.html
He isn't living in poverty, not even close. His family's 2012 spending was just under 26k but that doesn't include income taxes, his mortgage is paid off, and he isn't saving in a retirement account any more. For any normal working person those thee things would likely account for nearly 60% of costs. His life style is probably equivalent to a still working person who is making 75k.

http://www.mrmoneymustache.com/2013/01/21/exposed-the-mmm-fa...
Some wouldn't mind their open-source software integrated into high-frequency trading systems and military munitions, and others either object on moral terms or wish to be paid fairly for such lucrative use.

Do you think programmers shouldn't have the choice to decide whether their software may be used to kill people or cause the next flash crash? GPLv3 allows programmers to share their software while making sure big corporations and defense contractors steer clear.
I have no advice, just wanted to say the honesty was appreciated. Its easy for startups to get into the "fake it till you make it" bs. Thank you.

Not currently looking for a job, but if I do find myself looking in the future, 42floors will be near the top of my list.
I found I could follow along with the slides, though some of the icons and messages around third-party tools were lost on me. I'd definitely appreciate a video.

Edit: 9 minutes ago, Nick posted to Twitter: "we have the recording - just need the sound cleaned up. Expect it early next week ;)"
I don't belittle. It is a nice work, but it just does not look more than an excercise in programming languages implementation.
Agreed, I for one was felt feeling rather in the dark for the last few slides especially...
Does anyone know what tool was used to profile the django app? Looks cool.
Thanks for sharing and welcome! Some quick thoughts, which I hope all come off as constructive criticism and I apologize if they do not.

* I've only checked the site on my desktop PC. The look and feel seems optimized for mobile, leaving the desktop experience spartan and somewhat odd looking.

* I am not a graphic designer, so I have no business critiquing graphic design. Still, here are my layperson thoughts on the graphics:

1. Consider using a web font from the likes of Typekit or Google Web Fonts. On my Windows desktop the font is Verdana, which gives off the scent of ten years ago.

2. The logo looks "unapproachable" or "uncomfortable" which strikes me as odd for a photo sharing site.

3. Margins and padding seem to have been forgotten. Take for example the "join album" page where the text input boxes are touching the bottom edge of their container.

* In general the forms look rushed. The album number input box isn't focused; the validation message is "Album number enter only numbers."

* Performance isn't great. It seems some page loads take a lot longer than I'd expect. It takes about a second after submitting the Join Album form.

* The notion of "joining" an album seems a little weird. I guess you use that term because once I'm viewing the album, I am also permitted to contribute.

* I uploaded a sample photo from Windows, the lighthouse. It's only ~500k but it took a good 15 seconds to upload.

* The viewer dims the background to black, which is very nice. But the controls are a little odd. They don't seem to properly reveal themselves when I move the mouse, so in order to close the viewer, I need to click twice at the bottom left. Seems weird.

Is there other functionality to look at?
Rilla Alexander: Without the Doing, Dreaming is Useless
...And people in Belarus think food bought in Poland is better than local.

...And people in Russia think fool imported from Belarus is better than local (probably true)
My favorite moment in this whole saga was when they started giving awards for being marked as pleasant/helpful by other people. Players were pretty religious about being quiet and saying 'gg' for the first couple weeks- they were grinding awards.

It wore off.
Let's modernize the way we transact apartment rentals (NYC)
Choosing Computer Science [video]
Direct link to the paper:

https://research.microsoft.com/pubs/173885/popl38-ramalingam...
IT Does Not Love iPads, and that's a good sign
This could be fairly easily manipulated, though.
Did someone understand the last slides about the differences between transactions in tasks with and without celery ? I'm using celery, and i have been using django in the past, and I really didn't get the point.
Why not just write the SQL?
I like to be a contrarian with these things. The true genius ideas, to me, are those that no one was betting on. (that said, there's some good ideas here!)
That's called arguing for the sake of arguing ...

OP says one ORM is bad so all of them are, you say no some are nicely made (which I agree with), parent ask for a specific example you would recommend and you answer by nitpicking on a single word in his message, one that he even put in quotes himself. And then you finish with a question about something that parent didn't even say or infer.

Either you have an example and you provide it, or you don't and you say so, but your comment was unnecessary and unwanted.

(and so is mine, but I've seen so many of those on HN lately that I just broke and wrote that rant)
some consumer agencies actually agree that products for some countries are lower quality http://www.euractiv.com/consumers/food-products-lower-qualit...
> Until we've attained AI, all software can be said to be "stupid" ... None of it works without human intelligence actively directing it to do work for us.

You've implicitly defined AI as a level of intelligence that doesn't need human oversight to function. That level doesn't exist yet, but that doesn't mean AI doesn't exist -- it just has a different definition than the one you're using.

Consider Watson (the Jeopardy contest computer lately in the news) -- it can beat the best Jeopardy players, but it's completely unable to function if given a different task or deprived of human oversight. Notwithstanding that limitation, most people will claim it's an example of AI.
HN is not a movie community so it seems rather pointless anyways (cue "HN is always negative comments"). Seems like a cheap way to grab amazon affiliate money and I find that unethical.
This always bugged me too. When I had the occasion to create my own, I just did it this way:

Any link like http://example.com/ is converted into a link.

http://example.com|Anchor text| is converted into <a href="http://example>Anchor text</a>

I thought that was as intuitive as I could make it.

I can never remember using markdown whether it's [http:/wwww.example.com](anchor text) or (http://example.com)[anchor text]
How does Elixir/Erlang compare to Go?
> Right now, nearly half of the rental housing stock in New York City over all (as well as in Manhattan specifically) is rent-regulated, meaning the apartments are either rent-controlled or rent-stabilized. Another 17 percent of the rental housing stock across the city is public or subsidized (20 percent in Manhattan specifically).

In other words, almost 2/3 of private-market housing is rent-regulated!

One of the things that's not often mentioned in this connection is that housing regulation has ripple effects through time. It takes time to build up a wide array of housing stock for different price points. Most housing stock in major cities was built in the 1960's-1980's. So New York doesn't just suffer from its rent regulations now, it suffers from the rent regulations that constrained housing construction over the last several decades.

Compare Chicago, which has very affordable housing, and which has never really had rent-control (with the exception of federally-mandated rent control during World War II) and where there is a state-wide ban on rent-control ordinances at the municipal level (since 1996). See also Philadelphia, which also has no rent controls and very affordable housing. Of course, these cities are not built as densely New York, and you'd expect to pay a premium in a place like New York simply by virtue of the lack of space. But had New York allowed the construction of high-density housing to meet demand in the 1970's and 1980's, you'd see far more affordable prices today (and see far less "waste" in the form of vast swaths of low-rise buildings on much of an island that has no business having low-rise buildings).
The word "stupid" here is ambiguous, so can be interpreted as, "stupid", "it's stupid to use them" (I disagree), or "stupid", "they don't necessarily understand your intent" (this applies to all software), "stupid", "simple issues are made more complicated than they should be, to an unreasonable extent" (this is a problem that varies to a significant degree based on the ORM in use and cannot be generalized based on the experience of just one ORM). Without the benefit of the speaker's words here it's hard to tell, though the only backing evidence given in these slides for "ORMs are stupid" is a trivial issue that not every ORM has, so that's IMO not a good argument.

View my profile for further detail.
Software is a tool, ORMs are tools. I don't need a tool to do my work for me, I just need it to work well for whatever job it's for. A "stupid" hammer would be one that is just a rock with a hole in it loosely fitted over a stick that fits in the hole with nothing but friction to hold it on. A "stupid" farm tractor would be one that gets 15 mpg most of the time except when it's used during a full moon between 10am and noon, in which case it gets 1 mpg.

Most ORMs are indeed stupid. They often produce completely surprising results at the least opportune moments. They are high maintenance tools that require constant supervision to ensure that you haven't accidentally made some changes which causes something crazy to happen in the ORM. It's about the principle of least surprise, which ORMs often fail horrifically at.
Spanner: Google’s Globally-Distributed Database [video] (2012)
My advice - have a monetisation plan. Nut out all the potential monetization streams. But it doesn't mean to you have to implement them from the get-go - as you say, there's definitely merit in just building something people want and focusing on attracting and retaining users :)
see my other comment to PommeDeTerre.
Second the join-a-club notion. Having something else except "exercise is good for me", like winning a match, to motivate yourself goes a long way. I started playing rugby last year and find myself actually looking forward to regular practice.
Markets rush to equilibrate. When demand is high, prices go up, which causes suppliers to rush to produce more supply to take advantage of the prices, which has the effect of moderating prices. If the New York housing market were unregulated, you'd see vast swaths of the city bull-dozed and replaced with skyscrapers, increasing supply and bringing down prices. The fact that you don't see particularly much construction in New York, despite skyrocketing prices, is a sign that something is very wrong with the market.

Compare a place like Toronto, which is also a high-demand market and seeing an incredible building boom right now as old buildings are torn down and skyscrapers are put up.
I think you're right here, sorry about that.

The point I should have made instead of comparing it to myself is that I don't think its collegiate difficulty per se that is problematic for a lot of people. Instead I think the problem is large (seemingly too large) tasks, and people like the OP and myself never learned how to deal with them until far too late.

Had I gone to a college that assigned larger homework I don't think I would have done nearly as well, so my chance to attempt a non-trivial sized project until I was out of school.
Your numbers are very skewed. Those are not average. Living on $500/m is going to significantly restrict the places you can go. "Apartment life" doesn't need to cost $2000/m unless you live in a very expensive city. Get roommates, eat at home, use public transportation / bicycle / motorcycle / scooter or an inexpensive car.

Traveling can cost significantly less than most people expect when you use points / miles and avoid hotels.