skysight-inc/HackerNews huggingface dataset:
In other words the correct choice of algorithm and data structure can dramatically simplify a problem and the amount of code and time needed to solve it.

It also means that having tools where you can quickly apply different techniques, ahem, composable functions, that you can search for more efficient solutions with a lot less effort. That doesn't solve the smartness problem but it makes it a lot more tractable.
hey, I'm Didier from LocomotiveCMS.

From a person outside the project, I understand that you may have been under the impression that the CMS did not evolve quicly enough. But believe me, we were working just as hard on it.

Actually, you cannot have a clear look at the project activity just based on the Engine github repository because LocomotiveCMS is relatively a big project, made of many different components (Wagon, CustomFields, Engine).
Besides, I even don't include the documentation site which has been greatly improved recently and it takes a long time to write documentation.
A lot of work for a very small team :-)

I've been working on this project for years and for free and no project is sustainable in those conditions. That's why I decided to grow the business and to develop the commercial side of LocomotiveCMS. So we launched LocomotiveHosting this summer. And it goes well beyond hosting. It also gives you access to free upgrades and premium support.
Moreover, the hosting solution relies on the same version of the engine. The slight difference is that we add maintenance functionalities like site backup on the fly.

LocomotiveHosting is an option. You can still host your sites on your servers, so this should not deter you from using our CMS. But we really appreciate it when our users sign up to LocomotiveHosting because this helps fund the development of new features.

We also provide consultancy for our CMS :-)
Database error.
Google cache: http://webcache.googleusercontent.com/search?hl=de&source=an...
I think the point 15 is wrong - raw BEEF mince is often eaten, usually with raw egg, onions, pickles, pepper and salt - it's called the Tatar(and is absolutely delicious). I've never heard of anyone eating pork mince raw.
Yeah, I think he's just confusing the economy of LoC with productivity. I might actually be 2-3X faster with Clojure over Java, but I'm sure I could crank out a CRUD web app in Rails 2-3X faster than in Clojure at the moment..
Mobile User Acquisition Hacks
Word "google" is apparently not searchable at all.
what if I have to create strings with non ASCII chars?

Calling ASCII "machine only" is totally wrong. I agree that encoding/decoding is a pain, but we have different string encodings for a reason.
Also, if you're selling stuff on the Internet, you can finally accept payments from countries that didn't receive Visa's "blessing".
Maybe it could just be a JSON file with the xpath of all important elements?

Also maybe it doesn't really have to be a service. It could just be a file on github, where anyone could issue a pull request if gets broken broken. That way way you would essentially crowd source it.
hi,

i added this line in sputnik\app\helpers\net.js after line 10... and it worked...

options.proxy = 'http://username:password@proxy.domain.com:8080/';
Meme: It must be true, I saw this in porn
Imagine that there is a performance bottleneck there and substring is, like 500x faster than engaging a proper XML parser; what would you do?

Obviously it is likely an effect of a global design flaw, but such things are very hard to fix.
> Similarly, why would you ever need to take a substring of someone’s name

In my experience, you need to do this any time you're displaying someone's name, a place name, an article title, or whatever. Often the display area just isn't that wide, and shifting around other content may not be an option. You need to display enough to let people know what's there, but eventually it needs to be cut off.
If you want to know a bit more about actual project 3301 "winners" from 2012 were working on check logs in this post
http://forums.unfiction.com/forums/viewtopic.php?p=1015448#1...

But dont post this anywhere else since it is supposed to insider info and if it became too public project might be endangered. It is bad enough that this escaped into the wild.

Although when 3301 was asked what is their opinion on documenting every step of puzzle and wiki pages, supposedly their answer was that this kind of organization of players is expected.

Dont forget: 3301 will never claim anything as they "dont exist"
This is not just because of algorithm and data structure though, it's also very well implemented
This applies very well to optimization, too. There are only really two ways to optimize code:

1) make it do less

2) make it do more at a time.

The first corresponds to using more efficient algorithms and data structures. The second is parallelism.
> by the guy WHO ORIGINALLY WROTE GREP

Just a pedantic remark: He (Mike Haertel) originally wrote GNU grep. Grep, on the other hand, was originally written by Ken Thompson.
Just when you want to read up on stereotypes, the database goes down :/

Some things really made me laugh:

>Germans struggle enormously with the concept of ‘naked feet’. It is better feet be clothed at all times.

>Germans, largely, are always exceptionally well groomed.

Obviously this guy has never been in Berlin, but only in well-to-do parts of Bavaria.
Reuse and Simplicity: A difference of approach between Python and C#
A year ago I had the chance to give a training course on web service
development, REST based, using Python. The course was requested by a company
that had been using C# for a long time and had decided (top-down) to migrate
some services to Python. So the developer team attending the course was people
with a wide experience working in C#, but very low experience or none at all
in Python.
The Enfield Thunderbolt: An electric car before its time
String typing, or stringly typed interfaces (parody of strong typing) is a phrase in common use.

HTTP is a good example of something normally using string typing; most web servers treat headers, for example, as text, rather than as data, and so you end up with a lot of invalid stuff because of misunderstandings about what the values actually are or how they should be interpreted or written.

That's a trap that I'm dodging in rust-http; in there, (known) headers are data, serialised to text only for transmission, not text. (I'll freely admit, however, that this is an approach I would never take in Python; I'm confident it would lead to more errors than the alternative.)
He is referring to "Mettbrötchen". Fucking delicious.
Agreed, eating raw pork can cause trichinosis.
Won't the blue in the spectrum from these disrupt people's sleep even further? http://www.health.harvard.edu/newsletters/Harvard_Health_Let...
The main problem with cryptocurrencies, as I see it today, is that there is no motivation to spend it. Inflation actually has a very important purpose - it keeps the currency liquid, if you hoard money you lose money. From the Average Joe's inflation might seem like a bad thing but the truth is what worth is a currency is nobody is willing to exchange it? "Money" is a lay-mans term that isn't really used by professionals within the economic industries; in nearly all cases it is referred to as "liquid". Liquids are supposed to flow and it is a very important feature of currency.

The current hyperdeflation is encouraging people to hoard their bitcoins; which means that they are behaving a lot more like a commodity - and there-in lies the problem: they are deluding people. Not only do they have the word "coin" in their name but they also fall under the category of "cryptocurrency".

The problem is that people are so firm in their belief that inflation is one way for a government to screw them; that they will change their argument (no, it's a commodity vs. no, it's a currency) depending on which argument you present to them.

What we need a cryptocurrency that penalizes hoarding; or at the very least in some way encourages spending (or exchanging).

Let's say that hypothetically I don't know what I am talking about; and that hypothetically bitcoin becomes a universal currency as many would have it (all other currencies are abolished). Now consider the hypothetical scenario where you are selling property and have a family to feed at home. You spend your day showing people properties and nobody buys - why? Because their currency will be worth a lot more tomorrow than the fixed asset you are offering. The economy will collapse.
Can't you just google mysearchterm site:reddit.com to get the best of both worlds?
Or NSIS, which I've worked in a lot—the string is the only type. Integer operations will parse it as a number, perform the operation and turn it back into a decimal once more for storage in the string.
That's why the meat is constantly inspected.
Apple Black Friday Sale Started (Australia)
Sorry to say, that's shocking.

People actually pay for these things ?
HackerTray: Hacker News in your system tray (Linux)
Not just the meat that gets regularly inspected. Hence the "poo shelf" on many German toilets.
Symplifing microcontroller code using python
COMS (hellbanned) wrote the following:

He was involved with Crown Bar and Winston's, two "trendy" expensive LA bars that were popular many years ago.
From his website (KAGLEW.COM), about trademarks- http://ale811.wix.com/restaurantgroupla#!Trademark-Considera....
"The name must not be descriptive"
"Stay out of the dictionary. If your prospective mark can be found in a dictionary, it has meaning and will be a poor candidate for a trademark."
That's cut and pasted from a document on http://patentax.com/ which also advocates bar owners patenting designs of chairs, shelves and dinnerware.
No, for once, Go doesn't have casting, it has type conversions, but they are type safe. With void * you can do anything, with interface{} you can only use the dynamic types inside the interface.

That being said, using interface{} for unions is extremely unfortunate. The bright side is that after 4 years of using Go almost exclusively, I only had to abuse interface{} only once, with compiler parsers (like the parent says). Every other time there was a better design which did not require using interface{}.
You're right, I've never heard of it. I would love to try though!
The programmers' Sefirot
What I find amusing about this is the fact there willing to turn these things on in an unshielded environment demonstrates they know it will fail. 1MW of the cleanest fusion we know about would still kill everyone in a large room before you could blink.

PS: If it's enough power to heat a cup of coffee you needed serious shielding.
two comments from a German:
1) Most of this applies to Bavaria, not to the rest of Germany. The US isn't just Texas, you know ;)
2) All - I repeat - ALL generalizations are wrong :-)
This is inspired from the Hacker Bar app, which launched a few days ago for Mac. (https://news.ycombinator.com/item?id=6801388).
And that has been always the case which is sadly amplified by lack of longer attention span and willingness to move beyond sensationalism.
Historically extensions for Gmail have often been problematic. A lot of people install them and then forget about them, and if something changes, they blame Gmail and there's errors that can't be reproduced. Plus there's the whole security issue of giving third party code access to your mails.
I say leave it. Don't reduce your chance of getting paid work just because some smug clown on the internet wanted to score a psuedo-zinger by yelling at his television screen.

If anything, change 'probably' to 'might'. Confidence is good, but some people could take 'probably' as an imputation on their ability to comprehend the subject matter. I'd always aim at "That was just the beginning. Whip out your chequebook and then you'll REALLY see what I have to offer" rather than "You sound like you're in trouble."
> Make it do less.

Yes, but less in a particular way. It's important to skip processing stuff that can't matter in the end. In this example, skipping over bytes that can't matter because the end doesn't match. In DBMS, it's important to skip over records/columns/values that can't contribute to the answer.

The surprising realization in optimization is that procrastination is a virtue. Lazy beats eager.
Yes, but functionality that is about dealing with text for human consumption is properly the function of a library, not the core language, or even a single type in the standard library.

Human language and culture is too complex, fuzzy, and variable to hardwire its rules into a programming language specification. Character boundaries and character transformations are really only the beginning of it.

Consider finding the end of an English word. Is an apostrophe at the end an actual apostrophe denoting the possessive case (of a plural word) or meant as a closing single quote (even where there are different symbols, they are often mixed up when doing data entry)? How do you pluralize words? You have to consider exceptions to the usual rules (e.g., a dictionary), words that only exist in the plural, languages that don't have the concept of plural words, etc.
"someone passing by the rubbish bin will very quickly pull the bottle out and take it to the recycling automat themselves"

I wonder what if this happens during Quiet Time, when you are not allowed to recycle. Seems like an evil way to hang a German's internal rule-processing engine :-)
Good point. AFter all, our most popular meal in Germany is the "Currywurst". http://en.wikipedia.org/wiki/Currywurst
Dead easy date and time input with timezone
Visualization of Github development in D3.js
Amazing time-lapse visualization of code commits and contributors on Github!
I'm trying to contribute to the Chromium project and believe me, when you're waiting over an hour to compile 1 day's worth of patches, you begin to dream of faster compile speeds :-)

I think having some sort of optional 'really fast compile' vs. 'optimal performance' build is the ideal - fast cycle development, then on deploy build something fast. I think gc go vs. gccgo is potentially a model for this :-)
I was referencing an article from the other day where someone was arrested for the first time in Ohio for the relatively new law prohibiting (makes a felony) after-market modifications to vehicles, where the modification creates a "secret" or secure stash space. I think the condition on the law was that it was only illegal if it was used or kept "knowingly and with the intent" to transport contraband.

From the article, the car reeked of raw marijuana, but they didn't find any in the compartment. The police said it was a good thing they were able to get him, under the illegal modification law, because he probably was transporting. In the context I hope you can see why I made the reference! :)

A written plan to discredit is evidence of intent, but those NSA creeps won't get any jail time. But by the time any lab gets around to analyzing the Ohio arrested person's car for smells, there's a good chance all of the evidence will have "wafted away." And in the case of NSA, it's just like your analogy, only porn instead of bank vault (and internet instead of guard.)
So what? Make a new polymer.

ORLY? Sorry to sound condescending but your glib comment shows an utter lack of awareness about discovering or designing novel drugs. It is never as simple as changing a line of code to get a new molecule that will kill the now resistant bugs and have no new adverse effects on the host.

Drug resistance is a huge problem today and threatens to grow bigger, where pathogens become resistant to drugs (known to be generally safe) and the arsenal of medicines is empty or has investigational drugs of unknown safety.

And what's the alternative? Don't attack the cells?

No. The alternative, in the short term, is to avoid indiscriminate use of drugs that still work, by testing the infecting bugs for pre-existing resistance markers and then using drugs that are orthogonal to co-evolving resistance mutations.

In the longer term, discovering wholly new classes of drugs, like this polymer, but testing for safety and adverse side-effects, is going to be our best hope. Again, the caveat against indiscriminate use applies.
This is really going to be an amazing decade.
Great, so now that he explained to us how to use strings for human readable text, the last missing bit is a blogpost telling the author how to choose the colors for letters & background.
What's the sense in optimizing string usage when half of the audience can't read the lightgray text on slightly-lighter-gray background ?
You need a designer if you ever plan to internationalize. What you're doing won't work - you'll make nonsense phrases.
XML is like violence, if it doesn't work, use more.
I've found that the notion of the "Ideal Customer" is only useful when I'm able to line up the expectations of that customer with what our product can actually deliver. When I've been able to refer to that customer during the product design process, the results have been good - i.e. I've been able to market successfully to other customers that match the profile of the Ideal Customer. However, when I've tried to use the notion of The Ideal Customer to create marketing positioning that didn't necessarily line up with the product, its been a dismal failure - i.e. the customers I managed to attract eventually discovered where I had "spun" the story and they either passed on the product or didn't turn into long term customers.

Over time I've realized that the easiest way to make sure people are buying product from me is to make sure that what we're selling is what we've built and to make sure that those Ideal Customers have been taken into account every step of the way.
FWIW, I did my own research about 2 years ago on this mysterious e-cat device, and I found out there is a surprisingly rich history of unexplained effects in nickel-hydrogen systems: heat that cannot be explained by theory. I am almost convinced Rossi and the few other (competing) scientists who are studying this effect are onto something HUGE. See my post: http://blog.zorinaq.com/?e=61

Unfortunately the scientific community is very hesitant to review/reproduce the experiments because the words "cold fusion" have had an extremely bad connotation since the Pons and Fleischmann 1989 fiasco.
mabye they use the localstorage for incremental updates
"66. Germans seem to really enjoy watching (dubbed) How I Met Your Mother, Two and a Half Men and The Big Bang Theory."

haha, that's true. These TV series run in an infinite loop. And of course everything in TV is dubbed ;)
The author argues that when string processing becomes complicated, it does not matter and incorrect results are usually OK.

Everybody knows about Bobby Tables? How about Mr. เจ้าพระยาบดินทรเดชา Unicode?

What if somebody told you that if certain exotic names are entered into the system by certain input method, government officials can't find those people in their searches, including full text search to a police report?
I dont know i somehow ended up submitting it twice.
We agree! I'm not arguing with you. I'm just trying to provide a bit more context for people who are trying to understand the purpose of all this. Judging by the vast majority of remarks on the article, there's a lot of misunderstanding of how this stuff works.
You're assuming that:

1. The contract will be honoured and

2. The cost of litigation is lower than the unpaid $.
Considering it doesn't emit that much radiation, and the one it does is shielded by lead (afaik) it's ok. I've been reading about the Ecat for quite some time...at first I had my doubts...but after being peer reviewed, several tests and running in self-sustain for around 6 months... it is safe to assume it is going to work.
I remember watching the first E-cat "test". This is one of those things that is either an incredible breakthrough or a "the bigger the lie" type scam. The key thing to remember is that Rossi is not doing this to advance some scientific field, but to invent a product for commercial sale. To that end, any tests or data they release is not intended for rigorous scientific review, but to convince potential customers that they've got a viable product.

That being said, it definitely seems that they have some sort of energy breakthrough. Whatever fuel they have in the e-cat outputs more energy per density than any conventional fuel source. What is not clear is if this is a battery (like hydrogen) or genuine fuel source. They have been shown to produce a lot of energy over a period of several hours, but I haven't heard of any week or month long tests being conducted.

http://phys.org/news/2013-05-rossi-e-cat-energy-density-high...
When is Medium going to launch an ad network for authors to monetize?
In case you're interested to see what older HN contributors had to say about this, here are some of the previous submissions, all of which have significant discussion:

https://news.ycombinator.com/item?id=1626305, 1193 days ago, 115 comments

https://news.ycombinator.com/item?id=2393587, 972 days ago, 68 comments

https://news.ycombinator.com/item?id=2860759, 842 days ago, 43 comments

( ionelm also pointed out a previous submission:
https://news.ycombinator.com/item?id=6814153 )

Also worth mentioning is "The Treacherous Optimization" (
http://ridiculousfish.com/blog/posts/old-age-and-treachery.h... ), although previous submissions of that provoked no discussion at all.

https://news.ycombinator.com/item?id=1624402

https://news.ycombinator.com/item?id=5257874

ADDED IN EDIT: More rigorous searching has turned up substantial discussion of the Treacherous Optimization: https://news.ycombinator.com/item?id=1627367
These mini-states sound fun, I bet many more people would understand why they're paying taxes when it's not called "taxes", but instead giving directly to the person that needs help... Especially since you at least vaguely recognize that person because he's one of the 150-200 or so members of your mini-state.
A universal income is not such a silly idea
It's not just make it do less but not to do something until it is really needed.
Imagine how much further forward EV tech would be if this had actually been mass produced back in the 70s.
What you describe is the failing of bitcoin itself. What the author discusses is the failing of all electronic, not-gov-backed currencies. I think as with every new thing we can be sure that bitcoin will go through a lot of trouble and the string b-i-t-c-o-i-n might be unusable in a short future. But pure electronic currencies will still strive when happen what you explain. What the author discusses are problems that will make all electronic currencies fail. So both topics can be discussed, but they are not really the same thread. And you might actually both be correct.
Zibusiso Mkhwanazi, AVATAR digital agency CEO
Zibusiso Mkhwanazi is a South African digital entrepreneur and the CEO of AVATAR digital agency, a black owned full service digital agency based in Johannesburg.
How much does this reactor cost? Can't someone buy and review it, test if it works, etc.?
Coursera founder Ng counters MOOC criticism, aims for corporate education market
Has anything developed resistance to regular household bleach?
Grocery stores (which contain the recycling automats) are not open on Sundays.
I thought the desks were a brilliant touch...
"No matter where you go you will find a clean public toilet."

Hm, I would disagree with that, but maybe it is just my german always-critical attitude?
what is grep?
20. No, no, no, absolutely not true. All our immediate neighbors (dutch, etc.) speak way better English.

26. Depends, and varies extremely between the different regions in Germany.

49. Correction: Germans absorb alcohol. Only nation that will win against them in a drinking contest: Russia

65. Absolutely true. Before they had scanners, they would hammer in the codes of each article, like they were high, and they were at least 20% faster. Now that was an experience!

81. AHAHAHAHAHAHAHAAHAHAHAHA! It's true.

95. There is even a joke about that: If you see someone in the US with a Jack Wolfskin jacket, he IS German.