skysight-inc/HackerNews huggingface dataset:
After a quick IRC discussion; you wrote it wrong :D!
Using hy --spy so you can see the equivalent python code:

=> (list-comp (, x y) [x (range 5) y (range 5)] (> 2 x))
from hy.core.language import range
[(x, y) for x in range(5) for y in range(5) if (2 > x)]
[(0, 0), (0, 1), (0, 2), (0, 3), (0, 4), (1, 0), (1, 1) .....]

Can submit a PR and fix the docs so this is better displayed!
Or you sell the exploit to some organized crime ring and are not the one on the hook for the actual attack. Not that I agree with that, however my point is that there are people out there that purchase exploits like this.
Dazzle camoulflage
Can you expand, because I don't know what the advantage is. Other tools can access this information easily, is that you mean?
I can't stick a coal mine on my roof, though.

Panel replacement also seems to be a constant concern in these discussions, implying that mining equipment is free and indestructible, and that coal plants never need retirement or refurb.
Hey, thanks for commenting. I am hoping to add a heat map - I had tried using https://github.com/pa7/heatmap.js and the code is still actually in the application source. Sadly that heat map couldn't handle the massive amounts of rat data NYC has to offer :) I'll check out Leaflet-DVF, thanks for the tip!
Went to school here (WHS 1995). It is a top notch school district and should be embracing these kids. Seems the more things change, the more they stay the same.

I live in Austin TX now and have a 2nd grader. School district is loaded with computer science / tech industry children. His computer science teacher would give him an award if he could get around a firewall - and then have him teach the others.
I know what you are saying, but actually this service is free. Blocking bots effectively is in both the website owner and Google's interests, because bots disrupt the value propositions of both. And you could argue that it is in the website reader's interests too, by extension.

Given their scale and resources, Google are able to provide a far more effective bot detector than any of us could do on our own. I for one am delighted they are providing this very valuable service.
You could probably make a lot more from a government agency and still not go to jail - http://readwrite.com/2012/10/04/the-shadowy-world-of-selling...
Reddit is a site with an incredible amount of diversity. You simultaneously have subreddits like /r/TwoXChromosomes/ and /r/pua (they hate each other) on the same website. Electing moderators plus entryism will kill this diversity - a large subreddit can direct it's members enter a smaller conflicting one and vote for moderators who will kill it.

http://en.wikipedia.org/wiki/Entryism

Exit/competition is a better mechanism. If you don't like /r/atheism you can create /r/atheismplus.
Thanks! I am hoping to add a heat map. And yes the data is from Socrata's Open Data Platform API (https://nycopendata.socrata.com/Social-Services/Rat-Sighting...)
HelloSign (YC W11) Is Hiring DevOps and Senior Front-end Engineers
Then what is Google Analytics?
Transaction support. No work is left midway. A Git repo might get corrupt in case of power failure. (Never experienced that though)
Yes, this is true...and it's something I struggle with. On the one hand, I think it is clear that we need to stop using coal; depending upon a resource which replenishes at a geological time scale is categorically unsustainable, as is the mounting damage we are causing to the environment. On the other hand, I recognize that dropping coal will really hurt workers and their families. "The greater good" is irrelevant to someone who doesn't know how they're going to feed their children.

It would be heartless to just write these people off, but it is also unfair to future generations (and even our future selves) to continue mining and combusting coal as though we aren't aware of the consequences. Perhaps a solution would be to offer employment with the renewable energy industry to coal miners, and to give those who are unable to accept a livable wage constituting a significant portion (if not all) of their coal-era wages. This might require that assistance be provided in relocating, training, etc. Probably not cheap, but this could transition us off coal while treating the miners humanely.

Ultimately we have to get off coal. Denial of this fact tends to stem from one of two viewpoints:

1) Apathy, or the sense that this is a problem for a future generation.
2) The belief that the economy of energy will regulate itself correctly, and usage of coal will decline naturally as renewable energy becomes more economically attractive due to continued technological refinement.

The problem with number 1 is that the stakes are too high. Our health, our livelihood, our economy and our provision of food and water all depend on cheap, abundant energy; it is woven into the fabric of our lives. Even a modest reduction in energy availability due to supply constraints would be devastating. The problem with number 2 is that coal, as a natural resource, is subject to the tragedy of the commons[0]. The true cost of coal is far higher than what is accounted for in a simple economic model, and humans have shown themselves to be remarkably bad at estimating this accurately.

[0]: http://en.wikipedia.org/wiki/Tragedy_of_the_commons
Well, yes, but mainly that fact that you get the ACID guarantees for free: Atomicity, Consistency, Isolation, Durability: http://en.wikipedia.org/wiki/ACID
Not to be rude to a mod, and I am obviously biased for this post but...

https://news.ycombinator.com/newsguidelines.html

"Please don't submit comments complaining that a submission is inappropriate for the site. If you think something is spam or offtopic, flag it by going to its page and clicking on the "flag" link. (Not all users will see this; there is a karma threshold.) If you flag something, please don't also comment that you did."
Python doesn't do anything differently. Your line of code there is accepting the django.core.cache.cache object as the 'cache' parameter to its containing module's global namespace, 'injected' by the module loading system.

Java doesn't have that loading system, so there is a small cottage industry of frameworks that provide its valuable features. None of them can rely on a language-specified import system and global namespace to which things can be added, which is why they get parameterized one way or another.

Breakage from faraway places can happen in either system, as far as I can tell. It's kind of inherent in the abstraction.
You are right, makes it seem like this is for storing config files. Source code management is not enough though since this has built in issue tracker and wiki.
Your blood is boiling because your reading comprehension is low.

We had several positions to fill, and we helped good candidates whom we couldn't hire get in touch with other employers. The chances of an interview were much higher than 1 in 15. In fact, we made eight interview offers.

The weekend was totally voluntary, not cheap for us, and everyone knew exactly what they were getting into. It was one weekend, not 15 weekends.

If you think weekends like that are inefficient, consider the job market as it operates currently. If you can think of a more efficient way for it to work, I would love to hear it.
Recoverable System Upgrades (2013)
Doesn't what you wrote work in a different, slower, way?

I had in mind something analogous to

r = []
for x in range(5):
if 2>x:
for y in range(5):
r.append((x,y))

I think what you wrote probably does:

r = []
for x in range(5):
for y in range(5):
if 2>x:
r.append((x,y))

The first loop completely skips looping over y if the condition on x fails, the second loop repeatedly tests x.
I can understand the frustration of losing a couple of days of work, but wow, that thread does not show Zed Shaw in a good light. This approach of "there was a bug so now I'm throwing all my toys out of the pram" isn't particularly constructive or mature.
Tensor Calculus and the Calculus of Moving Surfaces
This is a point that many people seem to skip when discussing Mathematica. I think it would be great if they open sourced all of the code but I doubt that that alone would bring a surge of new package developers. If anything, I would expect it to bring IPython, Sage, etc. people to pick around for useful bits to reimplement in other projects.
Ask HN: Is the 'check-in' dead?
Or are we moving towards persistent location?
also, it is easy to forget that the steel industry is a major consumer of metallurgical coal (commonly called met coal), not as an energy source but as a raw material (coke). Producers of high quality, low sulphur coal might sell the same product to energy producers as "steam coal" or "thermal coal" as well as to steel producers. When prices for steam coal dip, it often stimulates steel production.

I have experience in coal mining, but I don't know much about the coking process, other than that the coal is partially burned. Presumably as long as we're manufacturing virgin steel some of the coal carbon is released anyhow.
Protocols usually come from successful clients, not the other way around, but you are free to try. When you do, you can be assured that:

"Yet another messaging protocol is what we need said nobody ever" will be the top comment.
Are you referring to the fatigue from eating too much or not having any glucose in your blood stream? People who eat keto meals generally don't feel any food comas. You might be experiencing low blood sugar because the body is not burning fat as it should though. The only real way to get into ketosis is to remove carbs. Personally, I find it easier to just bite the bullet and fast for several days. Trying to ease out of carbs didn't work for me. This is probably a good resource to get started: http://www.ketotic.org/2012/05/keto-adaptation-what-it-is-an...
I'd really love to see a video of the product before signing up.
WebRTC is a monster to implement (and a moving standard at that). It will be quite some time before enough OSS software exists to really replace skype. Besides, it is really hard to displace social networks with new ones, particularly when the new banner is "freedom".
No, FMCW radar range resolution is proportional to RF bandwidth.

You would still need the horn as a feed for the dish, but yes, you would get more gain.
Murphy's law: "If it can happen, it will happen"
Not to be totally grumpy here, but this is classic mathematicians-think-art-is-images-looking-like-famous-art. The expanded "starry night" isn't an interesting painting, of course. And it adds nothing to Mr. V. V. Gogh's work. It just mimics aspects of the extant work, in a spatially naive manner (e.g., what more do we learn except that the new rendition exists on a black mesa surrounded by more village-with-church?).

SIGGRAPH-style research shouldn't validate itself merely because it teaches the computer to adopt a cliched mode of image-making.
It's worse than that - if you ever have a a variable with the static type of the base class but the dynamic type of a derived class, memory will leak, even if you've implemented the destructor in derived classes. For example, this code:

class Base {
public:
Base() {}
~Base() {}
};

class Derived : public Base {
private:
Foo* _foo;
public:
Derived() : _foo(new Foo) {}
~Derived() { delete _foo; }
};

int main() {
std::unique_ptr<Base>(new Derived);
}

The problem here is that if the destructor is not marked virtual, then when unique_ptr<Base> goes to invoke the destructor, it calls ~Base instead of ~Derived. That has no knowledge of Derived's member variables, so any memory that Derived allocated leaks. (Technically, it's undefined behavior and can do whatever it wants, but most implementations in practice will call ~Base.)
hmm, I dont understand.Afaik Ipods were synced with Itunes,seems to me that one could put anything on Itunes,no matter where it came from.So if I synced my Ipod against my Itunes database,all songs should have been on the Ipod.

Did Itunes used to work differently?
Hurm yes indeed. Interesting problem. I'll copypasta this and fix up an issue! Nice catch!
I don't really understand how they differentiated either.

My assumption would be that they somehow determined if a song or album came from another media service through, for example:

- Some file metadata (somehow).
- Or perhaps by looking at what programs you had installed on your PC.
Remote jobs are harder to find, but they do exist.

There are many, many jobs that have a two or three day work from home option.
Wow, Richard Hipp is a class act: http://www.mail-archive.com/fossil-users@lists.fossil-scm.or...

> "fossil export | git fast-import" will get your stuff moved over efficiently. Thanks for hanging out with us. I expect you might come back to fossil someday, and if you do you will be welcomed.
That's how I remember it as well. You either had to load your music in via iTunes or buy it on the store. Any other way could wasn't very user friendly. (I'm assuming the suit is about 3rd party software attempting to directly sync with iPods, rather than use iTunes)
"Internet leech" doesn't quite have the same ring to it.
I suppose so. The commonality was the idea of forcing display, which I can really only see being a good idea for objective measures.

The article is talking about objective measures too - the problem it's trying to address is naive customers being taken the long way round. I don't think satisfaction ratings will actually help there.

Secret riders and driver bans might though.
Windows in buildings kill birds far more than just about any other thing we are responsible for. I am yet to see anyone complain about the existence of glass. - http://www.banksgroup.co.uk/wp-content/uploads/2013/08/estim...

And the health concerns of wind farms seem to be more to do with being visited by people who tell you that they will make you ill, rather than just proximity. - http://www.theguardian.com/environment/2013/mar/15/windfarm-...
> Argument's invalid as Rebol and Red are both members of the lisp family.

I was pointing out an approach taken by Rebol that's different from most languages that support macros that might be interesting to people, not making an argument.
Upvoted. In fact while reading the article I was just thinking to myself that the HN comments would be all about Plan 9. Kind of surprised that it has not been mentioned enough.

What I am really keen to find out in the coming years is what MirageOS makes of this. If you are not familiar this article http://queue.acm.org/detail.cfm?id=2566628 explains it way better than I could. I wouldnt claim it is there yet but seems to be sitting right at an envious position full of realizable potential. Its written in OCaml to boot.
Shared on LinkedIn, but, this is particularly concerning to me as a consultant if nothing else. Given that you're an "expert," how do you help teach self awareness?

On the flip side, suppose I'm a terrible consultant and so bad, I can't even recognize my own failure. It's going to be a struggle to learn to accept the input, even from those who care, that I really suck at consulting. Ergo, it's a vicious cycle indeed.

Wouldn't one possible outcome of research like this be that only those dedicated to self improvement will eventually become competent, and all others are doomed to eventual incompetence in any given field where on-going learning is needed?
I think they're referring to this:
https://gigaom.com/2006/10/02/dvd-jon-fairplays-apple/

Apple DID let you sync raw MP3 and other non-DRM files, but only through iTunes.

Apple did not delete those to my knowledge, but it sounds like the allegation is that Apple deleted DRM'd files that were side-loaded through other programs like DVD Jon's Doubletwist.
It's certainly less complete, but it's a little harder to decide what you want to prove statically.

If a function must-overflow the optimizer (hopefully) replaces the entire thing with an abort under ubsan, so you could look for that. But that's probably not sensitive enough.

And if the function is just 'x + 1' that may-overflow, but it's not important.

Maybe you want this:
http://pdos.csail.mit.edu/papers/stack:sosp13.pdf
I'm surprised that no mention was made of the big rewrite. A lot of us early users were lisp/Graham followers and intrigued by the fact that the site was written in lisp. I seem to recall the rewrite being a big deal.
Picture of the Week: Livingstone's Beetles
I don't think zaphar was targeting you specifically.
Have you looked at the other examples?
http://extrapolated-art.com/

Some of these are pretty impressive and do more than just pattern repetition.
I always liked "The 1099 Economy":

http://nymag.com/daily/intelligencer/2014/09/silicon-valleys...
Resume Builder Review: LiveCareer
New FFmpeg Major Release 2.5 “Bohr”
In many cities acrozs the world there is both comprtition and consumer-oriented regulation. London is like this. Uber's business model isn't even novel there.
WATCH Live: NASA Launching 1st Orion Spacecraft  7:04 Am ET
On the other hand, a single machine can get pretty big today, for example http://www.supermicro.com/products/system/2U/6028/SYS-6028U-... is 2u, has 12 drive bays and can have 1.5 tb ram. You could do 24 bays if you are using 2.5" drives (most ssds). A lot of complexity can be avoided by getting many fewer, but bigger machines (doesn't help much if you need massive CPU though, but intels architectures are getting better every cycle)
>Augustin Farrugia testified that Apple did not offer a more detailed explanation because, “We don’t need to give users too much information,” and “We don’t want to confuse users.”

A very revealing statement about the way Apple perceives its users. Shut up, pay, and don't ask questions.
Ask HN: Need help finding the best tool for text mining
After getting frustrated with online search, and seeing tools that require users to "upload" the data - I thought I'd ask HN. What is the best tool to do text mining? The definition of 'best tool' could be a tool that requires minimum coding (or only in python) - and being able to visualize output. I want to do analysis like - more recurring words/phrases and concept extraction - but don't want to upload my data. Big thanks for your help!
Interesting. None of those states would seem high on the list of states with great potential for renewables (too dense for wind, not enough sun or open space for solar). But if you could hack that--for instance, offer clean, less-dangerous aboveground jobs at comparable or better wages--wouldn't the workers flock to them?

The deep-pocketed, lobbying mine owners on the other hand...

Maybe the hack is for those states to get the mine owners established in the manufacturing supporting renewables. Smooth transition, ready workforce.
Surely the decision at that point comes down to time vs money?
Which CMS Are Shark Tank Contestants Using the Most? (Infographic)
You are taxed on your net (Adjusted Gross Income, minus deductions). That's what deductions and exemptiona are for.
This is one of those times when the simplest name is really attention-getting. Good choice.
> ⁎((uint32⁎)3) = ExceptionCode

Is this just a way to force a segfault, or clever sorcery? What is significant about the pointer 3?
A very revealing statement about your biases.

As somebody who has had to do tech support, I fully understand the desire to provide the users with less information. Believe me, most of them confuse easily.
Learning to learn
It's a moot point because negative electricity prices reflect producing more than is necessary, the reason why it's negatively priced is because it's being generated at the wrong time (which is the stupidity of solar, it works best when there's less load)

It's easy to make negative priced electricity with coal, simply shove a tonne of coal in the burner and then try to find someone to take the load before your generators / boilers blow up.

I'm not saying coal is the future, merely that arguments about negatively priced electricity are stupid, which is why companies try to focus on baseload generation because that's where most of the generating capacity needs to be.
And all throughout the land, the name "Viaweb" is on everyone's lips, synonymous with e-commerce, rather than the Blub technology also-rans at Amazon and eBay.
One thing I am wondering is how much of the perceived benefits of an open office are losses as the employees start to push back.

A couple of years ago I had the interesting opportunity to visit a new startups offices frequently. They employs was about 50% developers and 50% sales, where a lot of the sales was done on the phone. During a 1 year period their environment changed dramatically:

* They first started with only laptops and a clean desk policy (at the end of the work day one had to remove everything and take ones laptop home). They also wanted a paperless office.

* Soon one developer started using an active noise cancellation headphone. Some laugh at first, but during the next 3 months everyone got hold of a pair for them self.

* Many then moved away from the active noise cancellation headphones to full earmuffs originally meant for indoors firearms shooting.

* More and more of the developers demanded desktop computers, because thus cannot be easily moved so they would get a de facto fixed seat.

* To remove visual noise, some started wearing sunglasses and turned the brightness of their monitors to maximum, so they could only see their two monitors when they looked around.

* A couple of mount out one got hold of a bookshelf to store some computer parts. He sat in a corner and quickly made a third wall with his new bookshelf. Soon everyone else also demanded their own bookshelf to.

* People then started to erect walls using ad hook materials like plants, empty soda bootless, spear desks and rack servers that had become redundant when stuff got moved to the cloud.

* Some of the sale people started to hang out in small groups in their cars. There they could smoke cigarettes, talk loud on the phones and surround them self with printouts. They looked a lot happier doing so :)

* One developer quit citing all the noise as the only reason he left. Another refuses to come in to the office, and instead suggested that the company should rent an office for him at a startup incubator nearby (I believe they eventually made some kind of compromise where he would work 3 days from home and 2 days at the office).

* Eventually the company was bought by a larger entity, but things deteriorated further, so almost everyone eventually left. The owners had signed a particularly bad earn-out agreement that severely punished them if there were any decrease in revenue, so when everyone left they only got about 20% of what they would have gotten if the company had stayed afloat.

All in all I believe the end result could have been very different if they had had a better office layout. They sure at least did not save anything :)
> Secondly, who cares about "wasted" resources of a whole underutilised server when reliable dedicated servers are so cheap, and in such plentiful supply?

The people bankrolling Google / Facebook / Twitter's electricity bills seem to care quite a bit.

There is another trope that gets repeated often, (and this is not even remotely directed at you, just a digression hopefully somewhat on topic) "performant languages runtimes are an anachronism, a bog slow language in which a programmer can code fast is way more useful than any of the performance bull crap". Typically the person repeating that would a be a webdev. However, in these large scale scenarios core infrastructural code can save orders of magnitude more in money in running costs than saving days in software development. So yeah at the interesting places algorithms and efficiency continue to matter. A reason that Google always managed to be ahead is partly due to how successful it was in minimizing running costs.