skysight-inc/HackerNews huggingface dataset:
Department of Agriculture Imposing $0.15 Christmas Tree Tax
4KB? That's nothing. Search for 'media.sql' in any recent Adobe installation media. You'll find 3 MB+ SQL files, containing:

-(BASE64?) encoded InstallerIcon,
-(BASE64?) encoded EULAs in various languages
-GUIDs like {01C3BD72-7371-4472-B179-B4DFE6DDD251}
-and my personal favorite: a 25 KB XML fragment
If you want additional class naming inspiration, just browse the Spring codebase! Some of my favourites:

- SimpleBeanFactoryAwareAspectInstanceFactory

- AbstractInterceptorDrivenBeanDefinitionDecorator

- AbstractInterruptibleBatchPreparedStatementSetter

- SimpleRemoteStatelessSessionProxyFactoryBean

- TransactionAwarePersistenceManagerFactoryProxy

http://static.springsource.org/spring/docs/3.0.x/javadoc-api...
Interesting. Are there any lessons you learned upon going back that are particularly memorable?
Jennifer Lopez to Take on Carmen Sandiego
Jennifer Lopez to Take on Carmen Sandiego
Who s inside foretells play for the notorious Carmen you may well ask The one and only your super fierce Jennifer Lopez!
I would imagine Amazon adds regions where a) there's customer demand and b) where there's existing Amazon infrastructure. I'd imagine there are also challenges adding a datacenter in Eastern Europe that wouldn't be present in Oregon.
Hasn't it been like that for a long time now? I've been using multiple gmail accounts in one browser for a while.
I remember setting up a website back in the 90s for a construction equipment company. They had no way of easily tracking leads from the website versus people who just saw them in the yellow pages or something. So, their solution was to have a fake salesman's name on the website.

People would call and ask for him, and the caller would be told he was out of the office and someone else would be happy to help out. Meanwhile they'd know right off the bat how that customer got their number.
Asus unveils Transformer Prime Android tablet with qual-core power
Amazon is different from other competitors because they know how to make money off a ecosystem.
Nice little hack for 18 hours of work...
Pro cooks often have other concerns--an inexpensive, adequately sharp knife that one can toss into the dishwasher and sanitize might win out.

You might consider picking up something like this <http://www.watanabeblade.com/english/standard/kuronakkiri.ht...; to see the difference without breaking the bank.
Decisions are made kinda like HN moderation: just bow to the party line.
The world's smartest company?
If anyone else is wondering how to do this on Heroku, http://stackoverflow.com/questions/6179398/how-can-i-use-a-s... seems to be the canonical Stack Overflow question. I'm going to try the Rack::ReverseProxy suggestion myself sometime soon.
There's an == for an =. Also vdst+n is an error, I believe, because sizeof *vdst has no meaning.
Click the Google logo at the bottom left, it is a link to Google Maps at the location you see.
Note that the claimed reason is better education opportunities for their children. There is definitely a perception here in China that connections and schooling are critical for a life of success and wealth.

That said, I have my doubts they would be able to directly ask, "Do you want to emigrate?". So perhaps that is why they tacked on the education bit for plausible deniability (i.e. I love my country but my child should go to Harvard).
MySQL's default may be MyISAM, but it's a bad default. It is a good thing that Rails uses InnoDB by default.
Most of the stuff on Daily WTF comes from corporate America, often from places where the chief focus of the company is not technology/web.

Don't know what to say, other than it's not only possible, it's not all that uncommon. I can't speak to legitimacy of this particular entry, but the absurdity of it doesn't shock me at all.

Spend some time in the marketing or IT divisions of many Fortune 1000 companies, and you'll understand how Daily WTF is therapeutic for those who have to work in those environments.
Or simply having the infrastructure in place to protect the opulent from the criminals.
Posts from Maciej and Bret Victor on the same day, goodbye productivity...
What happened to "asking for help"?
Are binaural beats and isochronic tones bad or good?
How I Memorized The Yellow Pages Phonebook
SEO Networker 3.0
I agree that many retail banks wouldn't be missed by anybody if they disappeared tomorrow; and I applaud and support efforts to improve competition in the sector. I think that we share a vision of what should be in the retail banking sector.

That said, I can't help but think about the capital required to scale the business due to the high customer acquisition costs in the sector. This large capital requirement seems likely to reduce the ability of Simple to have meaningful control over their exit, as it won't all come from impact investors.

I hope the Simple team makes a mark on the market, but I still fear that success means that a large bank purchases them, increases the cross-sells, adds incremental fees, and "streamlines" customer service. I hope my concern is misplaced.

Either way, I'm excited to see what develops, and I think you made a great investment.
Yeah, I immediately checked the "hide location" box and tried to start guessing countries. Vegetation helps get it down to very wide bands, but I bet with some experience you could get it pretty specific.
I have to agree with martey here: the way you did support is fantastic, creating a fake persona is not. People like honesty and hate being fooled. If your customers found out about Alla, I think they would be very upset. Especially the ones who asked her out!
And who paid the carrier? I pay AT&T upwards of $3000/year, and when I upgrade, they still charge me $100-$200 for the phones I want. I'm pretty sure I'm paying them for that.
Good riddance! I spent the last 5 months at a gig working on a massive Silverlight 4 application. I've been a web guy forever, but I took this job thinking it would be good to learn how the other half lives. After experiencing the pain and drudgery of working with Silverlight, I couldn't be happier that it's going away.

The most maddening part of working on a Silverlight app was that things that are dead simple with HTML/JS/CSS are tons of work with SL. I was always amazed at the gymnastics required to get even simple UI functionality to work.

Xaml itself was a problem. Why in god's name to we need another superset of XML? Especially with all that atrocious binding syntax.

And also, every time you want to see a UI change you have to build the XAP. When you have tons of Xaml is takes forever to compile to see a minor change!
Start At The Beginning: Some Thoughts On Your Warm Market
ALL HAIL PAUL GRAHAM!
Was Macromedia openly on the market? Did Google ever seriously consider buying them?
WinRT supports .NET applications.

But to your point, I'd wager that .NET is already used more on the server side than on clients apps as its use in enterprise line-of-business is massive.
Change the dropdown to "Spring Framework style"

Gems such as setAspectListenerJobsToNativeIfStatements shall be yours!
Mozilla launched popcorn.js
It's not just you. I've spent a lot more time than I care to admit looking at the street view in Norway, especially around the fjords and way up north.
iOS vs. Android ICS: Hardware Accelerated Graphics Pipelines
Work at Home How to Create Your Own Home Office?
And yet there are people who followed him from Apple to NeXT and then came back to Apple, like Bud Tribble and George Crow. And people who went along from NeXT to Apple, or Pixar to NeXT to Apple. And people who were laid off from NeXT when they stopped making hardware, like Jon Rubenstein, who joined Apple in the Jobs era.

For being a prick, he seems to have managed to attract some long-term loyalty.

I think pricks are better-tolerated when they are trying to achieve something their underlings think is worthwhile and unique.
Comparing consistency in iPad news apps
Working from home isn't a right. I've done both (worked from home and an office) and it takes a certain kind of person to actually be able to get work done at home. The same sort of discipline that you need to run your own company. Most people just don't have this discipline.
Yeah, the model is broken, but what do we do? Bail out the model. We shouldn't outlaw the model. We should let the stupid models fail and be replaced by smarter, more accurate, more legit models.
Depends on your level of paranoia and willingness to rely on the network. The server has the advantage of letting you turn it on and off at will, but a timer will work even if the user has no internet connection or your server gets confiscated by the FBI.
Really nasty piece of SQL code, definitely not for human-based processing. What do you think about tools that may decipher and visualize such complex queries in a more structured way, like DBClarity (http://www.microgen.com/dbclarity/)? Have you been using something similar recently?

(disclaimer: I work for mcgn)
Crowdsourced Facebook Advertising by Trada
48 Inspiring Startup Quotes
How about putting two random Street Views side by side and letting people pick the best view?
Cool use of technologies, but i think it's very objectifying and offensive as clothing. Could be good for curtains or cars tho.
> outright theft of government funds and property

Yeah most of that ends up in North America. imo They tend to buy housing in cash for their children mostly in either Vancouver or the Bay Area.
And now using the HLT instruction so you don't chew CPU power unnecessarily, great for QEMU etc on laptops. I just sent you a patch.

Edit: all the user tests passed.
also merge sort is stable :-)
What is the mobile direct link? iPad safari is unsupported:

"Dynamic Views in Blogger require the use of a modern browser, and are not currently supported on mobile devices."
Want to find the longest class names in a Java codebase? Try this one-liner: https://gist.github.com/338197
Cool, I found the end of the earth. It's in Finland. http://www.mapcrunch.com/p/54.877919_-7.675938_202.36_20.83_...
> Google, Amazon and Facebook are already here with a few more in the works.

Err... right, that's what I was referring to with my comment about The Dalles and Prineville (Free Beef!), which are very different places from the Hermiston area where the two AWS centers are supposedly located. The Dalles and Prineville are both fairly close to some decent sized mountains, the former being at the base of Mt. Hood, and the latter being located just to the west of the Ochoco Mountains.

> it's a really big state and the part east of the Cascades is different.

Yep, there are some really fascinating bits of country there, and much of it is empty:

http://padovachronicles.welton.it/2007/08/31/the-wild-west

Some other favorite places to go see: Fort Rock, and Steens Mountain (one of the emptiest bits of the US outside of Alaska).
There is a difference though - the iPad was built by Apple to be bought as a piece of multipurpose hardware (once you buy it, Apple is happy, has made a profit from you) while the Fire was built by Amazon to be a cheap window into Amazon streaming content (once you buy it, all Amazon wants you to do is consume media, so they can make their money back).
I'm pleased that most of the commenters recognize that SQL has a need and is it's own language, for good and bad. I really expected to find a troll popping out "NoSQL rulez" type comments, and the level of understanding of how and where SQL can help is very encouraging.
It wasn't just US banks that had problems in 2007/2008:

http://en.wikipedia.org/wiki/Northern_Rock
the approach is used in functional languages too (without galloping)

for example 'run sort' in prolog

http://www.scss.tcd.ie/publications/tech-reports/reports.05/...
Which is also digital! Fumble for the fn and esc keys as music blasts out of your laptop and people turn around to look at you.

Bonus points if the software the receives fn key presses don't work instantly, and there's a half second lag, during which you mash the keys again and negate the mute.
Interesting... I as a Silverlight dev now learning JS/HTML/CSS would say the complete opposite. I find it very difficult to create similar layout functionality like DockPanel and friends. Any tips?
Or a director, ala Kubrick. The director doesn't hand-design everything in the film, but he guides the designers and selects what works.
By the time a standard comes along anyway, we'll already be on HTML8 without a standard for it. HTML will never have a standard, and it will never be at a point where all browser implement all the same features.
Honey loses its medicinal properties once pollen is removed. You might want to read the article again and also other sources of natural health to get that.
notably, java 7 uses timsort for the default stable sort (on objects)

and dual pivot quick sort as the default unstable sort.

dual-pivot quicksort is worth a look too, if you enjoy timsort

http://gdtoolbox.com/DualPivotQuicksort.pdf
I'm not so sure about that. If that were true, I don't think the local rich would be so eager to join the party membership.
Adobe: Goodbye, Mobile Flash
It's actually hundred millionaires in yuan - $15m or so.

http://www.hindustantimes.com/72-millionaires-die-young-in-C...
An impressive example of what you could do with macros is LINQ - a static and type-safe DSL for querying collections of any kind. People did impressive things with it, like offloading the work to the GPU.

Another example would be about adding your own improvements to the time-system, improvements that are actually going to help you keep the code safe. Like the units of measure from F#.

However, adding powerful macros to a language that was not designed for macros and that is NOT simple ... I do think it is a bad idea. I'd be happy to see in Scala something like the code quotations from F#. Anything less is useless, anything more will make Scala way too complicated.
People in that thread are bragging about their 10-page queries with 20 joins or 8 unions.

I'm looking at a query here that is 37 printed pages, with 92 joins over 25 unions.
In Canadian cities like Toronto and Vancouver, you see this very clearly. Many chinese people are technically in Canada, but they never really left their home country. They create a small subcity with its own economy, and huge ties to the homeland. A great deal of them never learn English because they don't have a need for it.
Hey, this looks pretty cool. I might add that it would be nice for the colors to be the same in both the Time Spent Overview and Weekly Overview. It makes it easier to read / compare.
> That is a very euro-centric, post-modernist way of thinking.

You're right, even the way I defined "social" is too limited. But that irony only helps my point. You cannot define social, but this is precisely what the "social graph" is attempting to do. As soon as you create a definition, people react to it and oftentimes rebel against it. And then you are right back to the drawing board.
The best way to learn macros is to learn a Lisp. Macros are easy to grok in Lisps. Regarding languages, I'd pick Clojure since you already know Java. In Lisp, you write ASTs directly. Syntax is very lightweight. For example, 3 + 4 * 5 is written as (+ 3 (* 4 5))-- the form compilers in other languages translate it into. The prefix notation and parentheses make parsing unambiguous; you don't have to worry about left vs. right associativity or order of operations.

The evaluation strategy for Lisp functions is to evaluate each of the inputs before making the function call. In the example above, (* 4 5) is evaluated first before the call to the function + even begins; once you have the intermediate form (+ 3 20) where all the parameters are fully-evaluated, the function call happens.

Why are macros important? Let's say that you want to write a short-circuit AND. You can't do that as a function. For example, (and false (/ 1 0)) will return false (never evaluating the right-hand expression) if you have short-circuit AND but it will raise an error (division by zero) if you don't. If that were a function, that call would (undesirably) fail. So what this means is that you can't write the short-circuiting AND as a function. You need something else that operates on expression forms, not values. In practice, it's a macro whose behavior is approximately like so:

(and <X> <Y>) => (if <X> <Y> false)

This is a transformation of code that happens during compilation, not a run-time function call.

It's worth noting that IF is not a function or a macro. It's a "special form" provided by the language. The evaluation of if-forms is not like the evaluation of function forms; some branches are never evaluated. It requires special-case handling.

That's one use for macros: writing control-flow primitives. There's a lot more to them as well: code generation to eliminate boiler-plate, DSL creation. Common Lisp, for example, has an object system built on macros, and a (controversial) LOOP macro that is its own DSL for expressing iterations, allowing idioms like (loop for i from 4 downto 1 collect (* i i)), which would return (16 9 4 1).

Macros can be very useful. They're pretty much essential because of how Lisp works, so every Lisper ends up writing a few, often to substantial benefit. That said, macros can also be abused to make write-only code. You have to be careful with them, and the maxim, "Never use a macro when a function will do", is certainly worth heeding.
I see your gripe with the REPL loop and binding but . . .

Would you be willing to share what was easy with HTML/CSS/JS that was tons of work with SL and what gymnastics you had to go through? I'm genuinely curious.
The Dylan language (witch had Lisp syntax at first)probebly had one of the early macro-systems in a language with syntax. Its ok to work with but much harder then a normal lisp.

One of the designers of Dylan tried to push this in his new language called PLOT (Programming Language for Old Timers). It has pythonic syntax and provids a full powerd macro-system. Unfortently there is no implmentation of PLOT just a discription: http://users.rcn.com/david-moon/PLOT/
unobtrusive framework is an oxymoron
I think the point of creating a "fake" person is so everyone involved can provide the support when ever they are available, and it looks like a unified source. I've done this a few times and it works very well, rather then having different people constantly responding.
A place I used to work at used an ORM which gradually constructed SQL throughout the flow of a request. One of the calls we generated was probably a couple of pages long.
New career website : iskod.com
Rakuten buys Kobo
Played with a family members new 7" Galaxy tab this weekend, and as a fellow iPad owner, I have to admit that 7" is a nice size. Big enough to be very comfortable for most tablet activities, but more manageable in your hands. If there was a choice between 7" or 10" iPads, I bet a lot of people would go for 7".
That would have been really funny at a .com I was a developer at: our support persona was the CEO's dog's name...
There is the case where your name is not common or not recognized easily by your target audience. I have a french name (Julien), try and pronounce that so an american knows what you are talking about (we target construction workers). Maybe the response wouldn't be "who are you again?" if my name was John or Eddy.
Darwin’s Emotion Experiment
You don't have to join the party here - just throw a few $1000 at a fundraising dinner to get the guy offering the biggest tax breaks elected.
There are ways around this. You can do pair programming with screen sharing and VOIP, for example. As a company/manager/lead you might have to enforce good practice, but that's also true in the office.

(The less your team needs to worry about this stuff, the more likely they are to be successful no matter where you put them.)
Why are we linked to some blog instead of the original source, especially when it's just copied verbatim and with an annoyingly low-res graphic.

Original source with high-res info-graphic: http://mashable.com/2011/11/08/work-from-home-2/
Ask HN: First programming language for teaching programming to children?
I have a two-year-old daughter and I've decided to teach her programming when she gets older. The two languages I've considered are Scheme, for its simplicity and functional focus, and Smalltalk, for its solid grounding in OO. Have any of you taught programming to children, and what language did you use? And incidentally, how old was the child when you started teaching?
This version doesn't, but a future Tegra will integrate an Icera baseband.
Arithmetic is totally abstracted away in virtually every language we use today.

I don't think it's safe to assume binary search won't be similarly abstracted away in 20 years (to the point that even embedded developers are using something with extremely expressive template algorithms built in.)

Best to start with the bare minimum. Given a set of numbers, how do you add, subtract, multiply, and divide. Granted, it's not too unreasonable to consider a machine that has no divide instruction, but it's still a basic computer algorithm that's within the reach of computers. I think the big problem is that people don't have a grasp that computers compute things in a manner not too different from how we do it by hand (and that we can use more advanced computer methods by hand to good effect.)
For the sake of accuracy, China's had little to do with communism for decades now.
5 Simple-Yet-Effective Ways to Increase your Free MLM Lead Generation
I think the general idea that wearable textiles can change dramatically in real-time during usage is pretty cool.

Aside from the old temperature based slow changing material and a Neal Stepheson book, I haven't seen this idea implemented.
My main focus was to follow the thoughtbot naming conventions and keep it simple.

The specific differences are: different naming conventions, fewer generators, generates Coffee or JS.

I wrote a short comparison here:
https://github.com/meleyal/backbone-on-rails/wiki/How-is-thi...
Thanks for linking. How do people make those info graphics?
Because SQL is declarative and few(er) people can wrap their mind around that then straight procedural code.

See also Linq, you get some really crazy stuff written in Linq because people don't really understand it.
Yeah, it's a very cool region. I worked in Bend for a few years and got the chance to explore a lot of Eastern Oregon. On my drive east to Texas I actually drove by Steens Mountain and stopped in for burgers and ice cream at Fields Station. Very remote and beautiful country.
I must take my SQL skills for granted. It really just "clicks" for me, I guess.
In May I launched a small newsletter experiment called Weekendhacker here on HN.

5 Months, 6600 Subscribers, 170 projects and 600 pledges of help later we are launching the a web interface.

Let me know what you think about this new site.
I will say, Ingres was not my favorite database, but its query plan display should be used to explain how a database query works. It showed a tree of operations for each query. If you saw FSM (full sort merge) or Cartesian Product you better mean them or re-write the query.
Windows Definition