skysight-inc/HackerNews huggingface dataset:
I'm no hotel policy expert, but I have stayed at a Holiday Inn Express before. If I owned this motel and actually wanted to reduce some of these problems here are some steps I would take:

1) Don't rent rooms by the hour: this reduced prostitution.

2) Only allow registered guests to enter the hotel further than the lobby: good bye "drug stores"

3) Work with other local businesses, the police, and community members to clean up the streets. Drugs and crime should be bad for business. Elect and work with politicians that will put more police on the streets. Maybe institute a curfew. Improve the schools. Create after school programs.

If I was being proactive at fighting the blight throughout my 30 years (and my fathers previous 29) then the government would not be taking away my Model... if anything I would be getting in trouble for what I would be doing to whoever attempted to run a meth lab out of my place of business and my home (Those things explode!)
Someone wants to know about linked lists, and your comment is to use some other data structure that has a different purpose?
Why do we wear shoes?
I hope you will be making it publicly available! Citation tools are sadly still lacking.
Ok, just my guess, not sure if that's what they do.

They can store the encrypted key on their server and send the encrypted key to the client whenever the client requests it. The client decrypts the key locally and use the decrypted key to decrypt the data.

With this scheme, the user can use a client on any machine to download his encrypted key and use it locally.
Ugh. I still have a couple NeXT magneto-optical disks that haven't been used in 20+ years. Maybe I should donate them to a time capsule.
The Danger of iPads in Schools
The guy in the article is a rather well known SaaS marketing specialist. I came across his work on the Linkedin group "SaaS" (just navigate to the upper right hand corner and there are 2 main SaaS group).

There are are some serious folks there who ask really thought-provoking questions ;)
$10.69/year for .com without a coupon. It's a fair price for working with a good company that's stood up for its customers in court, whereas a certain top-selling budget registrar frequently does the opposite.

http://www.namecheap.com/domains/domain-pricing.aspx
Here is the link to the site
https://mega.co.nz/
I think you would just be providing a table of data for the positioning of the solar cells during an orbit.
They don't prioritize finding historical data, which is why the permalink URL is all the more important. There are (or at least were) third-party services dedicated solely to finding older Twitter data.

Again, this is no different than any web resource. We even have an HTTP header specifically to indicate content has been deleted.
You can have that with any provider: just don't delete the data after you've uploaded it.
Ruby: Singletons, Threads, and Flexibility
You apparently don't know very much about how the criminal justice system in this country works: All indictments come from "secret" grand juries where only the prosecutor presents a case.
If they can get solutions at that price, why pay more? Besides, having that on your resume pretty much guarantees future consulting $.
I'm building a product around it, actually. http://getnotedapp.com

It's intended for schools and will be a pay-for service, but the core citation-creating tool is going to be available as a RubyGem. http://github.com/noted/scholar

It's nice that people are interested!
Are you complaining about Hacker News fonts or Dave Winer's fonts? Because if your beef is with Dave Winer's fonts, you better email him or rant on his site directly. No one on Hacker News is responsible.
On a related note, the more I would play Smash Brothers, the worse off I would be against people who had never played before and just picked up the controller and smashed buttons.
Hold control when you click to open a link in a new tab. You can also middle-click if you have a mouse. Hold shift and click to open in a new window. Where a link opens is in your control, as it should be.
How did they collect this data without someone raising privacy flags? Releasing this data is almost certainly a bad idea, since it will likely reveal who the people are who made those requests. Anonymized data usually isn't.
Is it appropriate for Hacker News though? It fits better on http://www.reddit.com/r/learnprogramming
I've read a few bits and they're all great one way or the other, primarily because chapters on specific projects are written by their primary authors. A couple of good ones

Nginx: http://www.aosabook.org/en/nginx.html
LLVM: http://www.aosabook.org/en/llvm.html
Sendmail: http://www.aosabook.org/en/sendmail.html

Although this means there's no consistent style across chapters, it's really something else to hear about the architectural and design decisions that the author made, and how they look back at those decisions now (esp. in the Sendmail article).
What I can't understand is that you seem to think that it is simultaneously true that law enforcement can fully investigate these kinds of criminal activity without at least the tacit awareness of the owners, and that the owners can somehow convince the crime lords that they would have had nothing to do with law enforcement's later arrests (especially given the coffeehouse you mention).

So sure, criminals are dangerous. I completely agree. But it is not incumbent on the rest of society to "sit there and take it" because the building owner is in a difficult spot. No matter what gets done to advance the situation from there the building owner will have tough problems to face.

But in this particular situation everyone knew there was crime going on there, so this is one of the very few owners who'd be able to say with a straight face that it's not like he tipped the cops off if he wanted to work them.

> If it wasn't then this motel would be the only one, instead it is one of a series, and they all have the same issues.

And the same solutions, one would imagine. I'm not at all saying it's an easy problem to fix, I just don't see how "do nothing" is a valid member of the "possible solution" set.
Some simple suggestions:

1. Please align the asterisks properly. It hurts eyes.

2. Access by index?

3. Iterator (callback on each element)

4. use 'init' instead of 'initialize'. Extra typing hurts fingers.
Dammit, MLA, you had one job...

This is a terrible citation format. It should cite the URL and/or the name of the publishing company (Twitter).
This was an eye opening article.

It's a strange question, almost science fiction, "What's it like to be in a country that is entirely brainwashed?" It's also a philosophical and ethical question, "Are we morally required to intervene"?

The most interesting piece of the article was noting that computer science students have access to our internet, beyond their closed off version. That means A TON. Their minds won't be closed forever. The idealist says, "They won't be closed forever" and there is a realization there. I think it could take longer than people think - their poverty will be a large cause. What will hurt more is the well educated opening their minds.

It was a very well written article. And the Eric Schmidt political cartoon was great on many levels.

(And yes, every website should be readable on Chrome. It's no longer a one-off browser)
What the heck. Forcing plea bargains on 96% percent of accused is just so we can be "expedient" for the other 4%? How does that make sense?

How is the prison industry to lobby for more prison-building if our current prisons aren't filled past capacity? If the accused are allowed their Constitutional right to a trial, we'll have to double the spending on courts just like we've doubled the spending on everything else!

Oh, wait...

http://bjs.ojp.usdoj.gov/content/glance/exptyp.cfm
So many trash comments on the site about how NASA should be "offering more money" or how this is a way for them to "save money" and it is all a scam.

Seriously? Any decent hacker attempting this is probably doing it for props. The money is great and provides a good monetary incentive but when it comes down to it I'd wager people would do this for free. Hell a personal tour of NASA and maybe their name in the code might but just as good.
I still have a domain or two on GoDaddy that I keep meaning to move. This is the impetus I needed, I think.
If you want to help the reader as little as possible, imitate Krantz's hypothetical example of a minimalistic bibliography entry: ``Machedon, 1988.''

Readers may complain. In response, point out that the reader can easily find the cited work given a tiny amount of information, in this age of Google and CiteSeer and MathSciNet and the Collection of Computer Science Bibliographies. For example, those of us with MathSciNet access can do a search for machedon and 1988 and find details of two papers by Machedon in 1988; presumably the reader of Krantz's hypothetical citation can figure out which paper is the right one.

(Bernstein, 2004)
That's why it's called civil forfeiture: the government seizes your property, without charging you with a crime. They don't charge you because you haven't committed a crime. They just don't like you (literally) and retaliate by stealing your stuff. Sometimes, they just want your stuff: when the police seize your property, they get to sell it and keep the proceeds.

The requirements to "win" a civil forfeiture case is incredibly low - much lower than, for instance, proving a crime was committed. Innocent victims (i.e. the rare cases where a forfeiture is overturned) always have their things seized immediately to begin with, because the standard of "proof" is so unbelievably low. It's just as easy to seize from the innocent as it is from the guilty.

When people first learn about civil forfeiture, the disbelief, the cognitive dissonance that such a thing even exists is amazing. In any other context, we'd call it what it is: theft, without due process. The whole legal basis is evil, wrong, and a direct result of the War on Drugs. It has thoroughly corrupted our police and judicial systems.

Once enough people become aware of it, it'll be overturned, but not before ruining countless lives. The legal basis for civil forfeiture cannot survive even the tiniest amount of light.
Given my screen name, one would suspect that I like this article. :-)

Math should be a joy. I wish I had heard of this book sooner. I certainly added it to my wish list in Amazon. http://www.amazon.com/The-Joy-Guided-Tour-Infinity/dp/054751...
It seems like all of our personal communications should be encrypted so that only the intended receiver(s) would be able to read the message or file.

Sometimes I wonder why services like Gmail don't bake encryption into their product and I can only assume that is because of the need to power contextual ads and to service government inquiries.

Perhaps Mega will change the standard and make more people think "why isn't my email sent and stored in an encrypted fashion out-of-box?"
This isn't how I'd do a linked list in C. Having to malloc separate storage for the next/prev pointers imposes a big cost in terms of performance (it's hardly O(1)) and robustness. Your linked list operations can all fail now - sooner or later, that's going to put you in a very tight spot.

I prefer to store next/prev pointers with the data itself, and to use offsetof/containerof to find a pointer to the data struct which contains a given set of next/prev pointers.

One example of such an scheme is the list used in the Linux kernel:

http://lxr.linux.no/#linux+v3.7.3/include/linux/list.h

http://lwn.net/Articles/336255/
If it's so easy for 'policy changes' to react to the lawlessness, why can't the police, with all their customary non-forfeiture tools (that are not available to a private actor), just crack down on this problem spot with due-cause searches and arrests? It's a honeypot!

I don't want innkeepers to be direct reporting agents of law enforcement agencies, or subject to a 100% asset tax when they don't meet law enforcement's demands (plus appear to be an easy profitable high-equity target).
This contest is not meant for Ferengi such as yourself, but the noble hackers of the Federation. And Vulcans.
See, thats more constructive! :) I figured it belonged here, especially since a lot of people are probably still interested in learning things like this, I was not aware of a reddit for this.
A lot of people would jump on this kind of thing for free. Don't like the money? Don't enter the contest.
I will fix, I hadn't realized! Thankyou!
Optimization problems like that are fascinating. We can treat them generically without having to teach our program about the specific problem it's trying to solve. All we have to do is come up with proposed solutions and pare them down.

For starters, we need a "cost function" so we can see which solutions are better than others. That's the easy part: render the model on 3D hardware, lighting it with a distant point light source. The "cost" (the value we're trying to minimize) is 1 - Σ(face_brightness); modern hardware can easily handle precise geometric shadowing using a stencil buffer or similar well-known technique. Handle the thermal constraints by setting the "cost" to 1 when the space station disintegrates.

Now we just need to find some ways of coming up with proposed solutions and pruning all but the best solutions. This problem has path dependencies, so we can't just apply a greedy algorithm. That is, solar panel actuators take time to move, so the best solution for time [T_1, T_3] isn't necessarily the concatenations of the best individual solutions for intervals [T_1, T_2] and [T2, T_3].

What you're left with is actually a graph search problem, where our graph nodes are actuator inputs at specific (quantized) times; I feel like something like the veneralbe A* algorihm would be a good place to start looking for paths through this graph.
[Nobody][Ever]
It's a fun, hard, puzzle. Some people enjoy fun hard puzzles. This puzzle gives those people a small chance of winning some cash as well as giving them a fun hard puzzle to work on.
Boeing 787 Dreamliner Uses the Most Flammable Battery on the Market
Also, there's a civil forfeiture case against a mom & pop motel (Motel Caswell). The city and the feds want to seize the motel as it has no mortgage and is worth approx. 1 millon USD.
Please please allow for printing of clips. You'll have one up on Evernote if you do & people are desperate for it!
It takes some twisted logic to think thats a valid analogy. Dropbox is a perfectly valid filehosting service because they take reasonable measures to prevent copyright infringement. Megaupload(and mega) is not, because it's run by a person who has no real interest in preventing copyright infringement, and has shown that he's more than willing to profit off it, while he pretends that he doesn't know it's occurring or can't prevent it.
My turn to nitpick!

RGB to grayscale: V = r x g x b/3 (one line).

The Sobel operation is at most 4 nested loops (really only 3) for a total of ~7 lines of code, depending on how you like your white space.

Fold the summation into your Sobel function without requiring another line.

The most complicated thing used from the OpenCV library (which I'm well aware is C++!) is JPEG decoding. OK, I'm avoiding swirling, but then it isn't needed to solve the CAPTCHA anyway.
Please file a bug, so they can fix it.
"The Click Dataset is large (~2.5 TB), which requires that it be transferred on a physical hard drive." Don't expect it to be hosted online for download any time soon.
I don't think that a prompt is the reason why kids get interested in computer programming. If that was the case, we could call this The Danger of Windows 95 in schools.

If anything, the prolifieration of apps makes a lot of programming more attainable for kids.

Hardward hacking, on the otherhand...
Connect with those that you admire the work of, something that demonstrates skills you don't have. The best business people are still creators & get a lot done - just not with code.
This problem is why you're better off with something like a C++ vector (a variable-length array).
Bulk Downloading, Aaron Swartz, and Terms of Service
Wow, well ain't that some shit. And in year 2013, no less.
Different purpose?
Too bad the theory sometimes is hard to implement...For example, my startup don't have enough money to test our marketing theories, the only thing we can do is forever change our products, but that won't help, when you make mobile apps, you /need/ marketing, otherwise you /will/ fail.
That application has a hilariously bad interface. Imagine how bad their backend is if they can't even add white space between their checkboxes.

http://images.macworld.com/images/article/2012/09/spideroak_...
I saw something different. In the end I don't even care about if "hackers were right". I saw the fact that when enough people get upset enough about what their "representatives" are doing ostensibly on their behalf, they can cause real change, even if that change is just removing a single individual from office.

Those in office, even the appointed ones, really do need to care about what the people they represent think. I find that refreshing.
Ad Hominem.

You might try responding to the statements she made. For a retired judge to step into the public arena like this is quite out of the ordinary and it indicates to me that the behavior she witnessed in Ortiz was so egregious that extraordinary measures were called for.

So much for business as usual, happens all the time, nothing to see here, move along, move along..
How do you plan on advertising this? If I'm looking for a DJ, etc, I wouldn't consider or think of looking for a site like this. I'd just use Google or ask friends for a reference. The network effect is tough to overcome; you've got to have sufficient entertainers and sufficient people who know to look for entertainers. Is this really an area where there is sufficient pain?

I don't mean to be a killjoy; I've run a software business for over 10 years and learned a few things along the way and the key thing I've learned is that I have to be solving a very real problem and I just don't see that here.

Good luck to you, though.
The problem lies not in who's hearing the case, but in the fact that the burden of negating evidence is on the prosecuted rather than the burden of positive evidence on the prosecutor.
so does the footer
there is always alternative marketing solutions including web in person and other. Be alert to the changing demographic in the area. and if it is too hard to user feedback test, go for a leaner product without so much non-tested assumptions. Gud luk bro
I agree that the online resources for freelance developers can be improved. That's exactly why I'm building matchist (http://matchist.com/talent - for US based developers only at the moment).

In our experience, communication is huge. Clients like developers who communicate well and don't take forever to do so. Also being able to explain things in laymans terms is big.
It really does depend on what you need to be doing in order to make the assumption of what data structure is needed. A vector is all well and good for certain tasks, but sometimes, a list is what you need. I will cover vectors too, but for now I am focused on C. not C++. Thanks though.
If the town wants to shut down this business, why not simply revoke their business license or change the zoning. There are numerous ways to shut down a nuisance business. You don't have to steal their property.
There is no legitimate linguistic authority that recognizes a language or dialect called "American". Even the term "General American", used to discuss features shared by most forms of American English requires "scare-quotes" to indicate that it's an abstraction across many different dialects.
Fair enough. I consider that part of the "specialty" kind of service however. I still wouldn't touch their S3 compute stuff though, even if I'd use Amazon's DNS services. I know that you can use Amazon's CDN with other provider's VPSes or your own dedicated boxes somewhere.

And certainly, for the small 2 or 3 server clusters that a small startup uses, Amazon's prices are much significantly higher than other providers.

Anyway, I'd have to check out the latency based routing thing, and how it differs from typical Geo DNS or "Anycast" DNS that is offered by a number of providers. My bet is that its just Amazon marketing speak for GeoDNS or Anycast technology.

EDIT: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Cre... As far as I can tell, Amazon's "Latency based Routing" is just GeoDNS with much better marketing name. Its all about reducing latency, but at the end of the day, it is no different from GeoDNS.

That said, Route53 does seem to be a good DNS service from Amazon. $0.75 per million anycast queries per month + $0.50 per zone is a good price methinks.

So while I'd never use a compute instance at Amazon, I probably definitely keep their Route53 service on my list. Looks pretty nice from what I can tell.
Linked lists are good for adding and removing elements. Variable length arrays are good for allocating a known amount of space at runtime.
He is running his site on an Amazon Micro Instance. He probably should switch over to his Raspberry Pi so that he can handle 50% more load.
You need a list when you have routine insertions somewhere besides the front or the back of the container, and you don't have routine random-access reads. The vector covers more cases and is generally more performant. Use whatever you like, though.
Someone has disagreed with you -- which you anticipated would happen. Therefore he must be angry?

I agree with him. If it's wrapped up in a library and it's distributed by a package manager then it doesn't count towards the total SLOC of your project.
From the official rules: "The tester will be eligible for the final prizes based on his initial submission, but not the tester is eligible for the milestone prizes."

http://community.topcoder.com/tc?module=MatchRules&rd=15...

Was legal outsourced to an eastern european firm, or was this written by an advanced AI?

Also, the bullets look to have an encoding problem.
The "variable" in "variable length" describes the fact that you don't know how much space you need, and insertions to the end of a variable-length array are very fast. I can see why you thought my comment was weird, now.
$10,000 and a line-item on your resume that's pretty hard to beat.
"[...] and the medium of publication (Tweet)."
Agree, most hackers with interest in space, science, etc would dedicate a considerable amount of time and do it for free. 10k is 10k and its really not a game changer amount. Its the fun, the problems significance and bragging rights!
This doesn't seem to preclude a tree that's taller than that, but simply an outlier in its leaf size. Unless I'm misunderstanding something...