skysight-inc/HackerNews huggingface dataset:
People who implement these policies know very well what they're really doing.

What do you expect? Let 3B people in China and India fend for themselves? That just leads to an enormous war, probably the end of the world. You can't be that grumpy, rich old man living on the hill nearby the village. The village is going to storm your mansion.
>this is not a problem with redis but a configuration/ops problem instead.

Default system wide failure is a redis problem. Any modern daemon should come with configuration files that a) don't allow the application to run as root unless uncommented by user action, and b) bind to localhost. Further configuration should be necessary to break the system as thoroughly as this user did.
Google director Aparna Chennapragada discusses the future of smartphones
> you don't have to do object recognition on the point cloud

This is true, as long as you're willing to treat everything your LiDAR sees equally. The problem with this is that you're treating, say, a patch of grass (which you might as well drive over), a rock (which you'd rather drive around) and a pedestrian (which you might rather stop for, as a moving obstacle) the same way. Object recognition is still a good idea with LiDAR. And I'm not even getting into noisy returns or "negative" obstacles (i.e. holes).

Disclaimer: has done research in object recognition with LiDAR ;)
You posted a tutorial describing how to use your software to exploit servers, and you're surprised that people used it? I really hope this was a one time lapse in judgement and not indicative of how the redis team thinks about security.
The issue at hand matters far less than the issue that the issue at hand is part of, which is the CA system itself. With the CA system, you have a two tier threat model where the mighty and powerful can have all seeing eyes and the consumer is told that all their https communication is secure and private. Certificate Transparency and other proposals may help fix this, but the first thing to do is to acknowledge that there is a problem, and so far the major players have yet to acknowledge the fundamental problems of the current CA system. LetsEncrypt makes it worse by promoting the wider adoption of this flawed system. Certainly won't help keep us secure against the Chinese or anyone with big resource.
Update: Stating that there is no solution without any knowledge of the existing solutions is itself part of the problem. Let's start with this: https://github.com/okTurtles/dnschain
You quote a government source on the deaths cause by said government?

"And the only source for deaths on the trail of tears is the US government"

No, they are not the only source. "Cherokee Population Losses during the Trail of Tears: A New Perspective and a New Estimate" gives the loses as double. Not counting the subsequent increase in loses where they ended up.

I doubt we would take German official's word at numbers during WWII, so I'm not sure why the US's word is valid in this instance. The US couldn't even keep the land ownership and payments straight for the tribes and lost a massive lawsuit because of it.
> Every normal customer is, every normal business is. Old institutions do not count because they are in a privileged position nobody else on the web is.

WHAT?

I am at a tiny German ISP, got a new contract one year ago, and have a publicly routable IP.

I’ve never seen an ISP that doesn’t provide at least one publicly routable IP per customer, some, like mine, even provide additional ones for a few euros each.
Would be amazing if Apple did something like OmniSharp (or OmniSwift) so great Swift experience would be easier in Atom, Emacs, Sublime ... even VS Code.
Here's one: https://youtu.be/Oi3dmSMpjsU?t=3m46s . Pretty great sound for the simple components.
Well, it would be very easy to make a realtime 4chan-like thing with Nchan, but it's far from the only use case. It's a general-purpose server and pubsub proxy.

The name is a play on nginx and channels. I got tired of saying "nginx http push module" all the time and renamed it.
New software watches for license plates, turning you into Little Brother
GP didn't suggest avoiding all plastics. Using plastic bottles for consumables is different than buying a plastic stepstool is different than having plastic components in some of your devices.

Lots of people eschew plastic containers in favor of metal or glass for a variety of reasons, including recyclability and reuse.
Tay Zonday's response is hilarious. "It is hard to create Derrida’s fracture in the repetition of power structures when the loins of civil society log every person’s digital utterance."
Unfortunately the bags themselves can’t be recycled—they are too dirty, so they will end up in a landfill

I think at some time in the future they should also be excavated and reprocessed, because plastic is a petroleum product and the natural sources are known to be very finite. There is plenty of plastic in landfills that we just don't know how to effectively reprocess, or we would. That's also why I think the biodegradable stuff is not a good idea in the long term; sure it "disappears back into the environment", but overall a lot more energy needs to be spent in producing it --- really, extracting it from the environment --- than just reusing or recycling plastic that has already been extracted and gone through most of the production stages.
In a real-time system at work, we originally used Redis as a locking mechanism to avoid resource contention. However, it turned out the better long-term solution was to better use our reliable message broker and make tasks finer grain.

So, rather than lock large resources, we would break the processing into tiny tasks, each completely contained in a message object. Each message specified a new message to launch on completion. This way the messaging protocol is preventing resource contention rather than a lock.

[edit] The context involved some licenses software to which we only owned several instances. The original approach would attempt to grab a lock and run the batch. The final approach just created a queue for jobs and one consumer for each available license. Now, none of our compute is spent waiting on locks either.
Show HN A Django app that automatically reloads your browser when a file changes
You can get a Velodyne "puck", that is light enough for many drones, for around $7k. The problem is that the scan density is not that great, so for many applications (e.g. archaeology) I suspect it's not worth it. Structure from Motion with good imagery can get some pretty good results these days.
I fumble for words when talking to family and friends. Can't imagine the mistakes I'd make on national TV.
What exactly is with the Wikipedia warning at the top of the article? It looks like quite a bit of references at the bottom?
The benefits of protectionism don't come from creating an export economy; they're the result of allowing local industry to develop and become globally competitive without getting smashed before it can even form.

If you look at Brazil, they're a good example of a protectionist but not heavily export driven economy. Capitalism is not a zero sum game: everyone can have protectionist policies and still win.
Discussion: https://news.ycombinator.com/item?id=10684118
That's an interesting point. The last time I was in Japan, I could not read anything. However, I've learned some now, so maybe the ads will be more annoying the next time I visit :-)
I wonder if the .Net/Java approach of "Iterables And Objects" with generic sequence operators either is ListAndHash or is the equivalent in more strongly typed languages. You essentially replace String->Object Hashes with Objects and Lambda lookup functions.
I think I understand your point but actually the two statements are consistent.

Your phrase "competitive as possible" is wrong or at best very misleading. If a district intended to be a "bare win" actually turns out to be competitive then the restricting process has gone wrong from the point of view of the controlling party.

The goal of gerrymandering, often achieved in practice, is to disenfranchise as many voters of the other parties as possible -- to ensure that their vote has no effect on the outcome of the election. So the first statement you quote is accurate.

The second statement you quote just explains how this can be done.
>Because tapes are much less fragile than hard disks,

In 'single serve server' configurations, such as small businesses, tapes work well because administrative rather than technical staff can replace the tapes daily reducing costs. If the tape is ejected then the user knows it safe to put the next tape in. If there is a failure the software itself can notify a systems administrator. With hard drives a non technical user has no idea if the disk is still mounted and live, leading to corruption issues if it is removed.
Let's say some new technology destroys 10000 jobs and in turn creates 20000 jobs. There is no guarantee that these jobs will pay a similar wage or salary. People may even have to work two jobs or now to pay their bills.

Capitalism wins but we still lose.
Cancer drugs in 18 countries: a cross-country price comparison study
The other unintended consequence of not doing any kind of material recognition is that the system will treat a plastic bag or piece of styrofoam the same as it would a large piece of sheet metal. One of those requires evasive maneuvers and the others do not.
Cool. This works pretty well with a Surface pen. The only limitation seems to be that it doesn't recognize the eraser as distinct from the tip; it would be neat if the eraser would draw the transparent color.
Samsø
"I would say building software is very much like building a house."

Yeah, it's good to remind that making anything new and not mass produced is always messy. I would still claim that software only goes more insane from that since there are very little constraints to the work and it's less understandable as a whole. House at least is bound to the basic laws of physics. One cannot mess up the local universe so that walking through any arbitrary door takes one suddenly to the toilet. In software, on the other hand, one needs to design the constraints oneself (I'm generalizing again, of course).
The wealth is also not inherently bound to the operations.

Yes, obviously not. But that characteristic detracts from the suitability of "stagnant" as a descriptor.
Why are the operating system supplied backups so terrible when there are really good examples to build from?

That said, in Windows 8+ the file history (not a full system backup, but a user data backup) seems to work well enough at keeping history and not filling up the backup drive. In general taking one system image from the original install gets you back up and running well enough.
Interesting project. I've up till now used Twisted or Tornado (actually swampdragon.net). My choice would be dependent on scalability and performance.
i'm assuming the eraser only triggers a touch event in the case of a web browser, so i'm not sure if there is anything i can do to change that but i'll look into it!
Wow, excellent! I've been looking for lightweight websockets pubsub and had to create something simple in Node to achieve it but this would've sufficed.

I can't wait to give it a try.
I know you mention that women do better in formal education. That wasn't the case a few decades ago, when I believe there was far less prejudice.

I had lunch with a few female teachers several weeks ago. One of their conversations was around the over-enthusiasm of boys in class. They unanimously agreed that boys needed to "shut up" (literal quote) so girls could answer questions too. This view parallels that of my ex-girlfriend who is (and was then) a teacher who felt boys had some sort of natural advantage that needed to be suppressed.

I also made mention of code.org that had one link only on the main page "why girls should participate in IT" (or very similar words). My young son noticed this and asked if he was welcome.

I would not use today's metrics on boys vs girls in education as a basis for any measurements. If we stopped with the prejudice (which is extremely common today), the picture would look quite different.
I like this. But how would it work in practice? You need a mechanism for keeping these virtual districts balanced.

Also these districts could use ranked voting (single transferable vote) so could avoid most of the negative aspects of the current system.

One way to start with this would be to create "fantasy legislatures" based on this kind of districting / voting. Initially these would be just a hobby but if the process worked it would draw people in and become a way for under-represented groups to get a voice. Maybe it could become a stepping stone to electoral politics and possible even influence reforms to the system.

I'd be happy to work on this if others want to as well. Or possibly it is already underway, if so provide a pointer.
Forensic science is also highly prone to confirmation bias. It's a rather low bar to say something was investigated forensically.

Unfortunately, this means that even valid discoveries funded by someone with a story already in mind can't be given much weight, because there's no way of knowing what discoveries their preexisting bias prevented them from finding or acknowledging.
That one is heartbreaking
http://www.macleans.ca/news/canada/10-years-later-the-star-w...
And even more fragile if still spinning ... yeah, it would never occur to me to have anyone but trusted technical staff physically swapping hard disks around. Whereas I think people, at least us older types who used VHS tapes especially, have an idea for how tough/fragile computer backup tapes are (maybe a little tougher than a VHS tape, but not enough to make a difference in how you handle it).

(We'll ignore for the moment that I never trusted anyone but myself to run the backup system and mount and unmount tapes, with one exception. :-)
No you won't. If you're still learning you're gonna spend a lot of time trying to decipher ads and reap great enjoyment whenever you succeed.
> I’ve never seen an ISP that doesn’t provide at least one publicly routable IP per customer, some, like mine, even provide additional ones for a few euros each.

There are a few ISP's in APNIC and LACNIC regions that hand out RFC1918 addresses to end users. I've seen a few NANOG posts of people trying to greenfield such setups in the US, too. Mostly in the RF/radio space.
Holovect Industries
Show HN: QMe – an app for asking simple questions
I agree VSLAM is good and getting better everyday, but I don't necessarily agree it'll displace LiDAR for autonomous vehicles. The first generations will probably have both. Sure, LiDAR is more expensive, but we're talking about avoiding collisions here -- I believe the extra safety is worth it. I don't think portability is not a big issue for cars (though it is a bigger concern for smaller aerial vehicles). LiDAR will still work in the dark, and potentially with much more range than cameras can. Having worked with vehicles using both technologies, I'd feel far better on the LiDAR-equipped one.
I agree that the initial primary goal of terrorism is fear. There's also anger, because fear and anger are connected. But I'm not so sure that nonviolent resistance is all about fostering guilt/shame/empathy. I think that guilt etc and anger are also connected. And so both can lead to overreaction. And once you've goaded an opponent into overreacting, they will be hurting innocents. And that will foster sympathy, and build general support for your cause.
HAKMEM (1972)
I consider those two and socket.io my main competition. Nchan is built to scale, but of course you'd need some numbers to back that up. I plan on doing benchmarks once I iron out the documentation, although I realize it would be a great selling point to have the numbers ready right away.
You still can leave right star-rating - as I understand it's not visible for the host. Even with bad reviews - you can calmly choose hosts for the future staying and ignore few who don't want to rent listing to you because of bad reviews, why do you need those hosts anyway (it's good filter for bad hosts)? And yes, you should have backup plan - addresses/phone number of hotels/airbnb listings you can use in case of emergency.
I always try to leave truthful review, with specific detail about the listing because I think it's very useful thing in AirBnB.

> As far as I'm concerned the AirBnB refund guarantee is mostly useless.

I used it with success. When one host started ignore some additional questions after booking, I decided to shorten my stay there in advance (and was right about it) - host had flexible return policy and I've got my difference back without problems. AirBnB's support was helpful.

I used AirBnB for more than 10 times now and overall my experience is very positive, you usually get much more for much less money, compared to hotels. I didn't use it in USA though, mostly Europe and Asia.
You can account for this using survey weighting.
It seems like the most immediate way to meet low-cost but high volume is through in vitro meat culture [1]. It will likely take awhile to clear the health and GMO-fear hurdles, but it's coming. Especially places where raising livestock in traditional ways drastically harms the environment (mass pig dumps in rivers, or limited land resources in island nations).

Decentralizing growth of meat and other food, as mentioned in the article, is probably a good thing too, just like decentralizing internet services or electrical generation. However, I don't completely buy the 'decentralize everything' argument that has become popular lately. While it brings us closer to the libertarian dream, some advantages are lost as well. Also, I'm not convinced the innovations that enable decentralized agricultural or electrical generation don't have the same positive impact on the centralized version of the system. Except, in the centralized system you benefit from economies of scale. We'll probably end up with some kind hybrid system.

[1] http://new-harvest.org/wp-content/uploads/2013/03/post_2012_...
Big O for the working programmer
Nope not that: https://code4startup.com/ it was something like this.
Run by BITS Pilani student.
Probabilistic algorithms for fun and pseudorandom profit
Perhaps the words of Lee Kuan Yew can shed some light on the matter for you. He was a prime minister of Singapore for 3 decades and lead the country from extreme poverty to a 1st world economy.

"October, 1985. […] During my official visit, I was given the honour of addressing a joint session of the US Congress. […] I spoke on an issue then at the top of the American agenda - protectionism to safeguard jobs and check growing US trade deficits with newly emerging economies of East Asia. In 20 minutes, I described how the issue of free trade was really the question of war or peace for the world.

Nations wax and wane. I argued that if a nation on the rise, with an excess of energy, was not allowed to export its goods and services, its only alternative would be to expand and capture territory, incorporate the population and integrate it to make for a bigger economic unit.

That was why nations had empire which they controlled as one trading bloc. It was a time-honoured way for growth. The world had moved away from that after the end of World War II in 1945. GATT, the IMF, the World Bank and new rules made possible a prosperous and dynamic Germany in spite of large numbers of Germans returning from the East into a shrunken land area

So also with the Japanese, who had to leave Korea, China, Taiwan and Southeast Asia and be packed into a few Japanese islands. The Germans and the Japanese were able to stay within their boundaries and grow through trade and investments. They cooperated and competed with other nations and were able to prosper and flourish without wars.

But if trade in goods and services was blocked, then China would revert to its historical solution of small warring states conquering one another to gain control of more territory and people until they become one colossal continental empire. This tight, logical exposition may have convinced the legislators intellectually, but many found it emotionally difficult to accept."
I dont remember exact things :(
Thats why I posted this. I had searched once before posting.
> I'm not sure what would constitute a warm and personal experience. They want to have the place all to themselves, but are put off by ... what exactly? A lack family photos? Or more "morbid" art that they also ended up hating?

It's not about having the place all to themselves.

Having stayed in a handful of Airbnbs, I've found the distribution pretty bimodal too.

There's a cold uncomfortableness to the commercial room run purely for business. Pardon my mildly overdramatic digression, but they feel like prison cells.

Especially in contrast to the familiarity and personal touch when staying with a host that actually lives there, wants to have a conversation, and cares about people. While they may appreciate the extra income, I really believe these hosts share their rooms for the greater community experience.
GoDaddy claims support is a selling point. Which, if you've used GoDaddy's support, is hilariously laughable.
Looks like it's more like Datalog than full Prolog. [0] You are probably using something similar to what is called the "semi-naive" evaluation strategy (which despite the disparaging-sounding name is actually pretty good).

[0] https://en.wikipedia.org/wiki/Datalog
> Sounds like Stockholm syndrome. Are there any desirable properties of NAT that can't be duplicated with a firewall?

That they are widely deployed, reasonably predictable and quite transparent to the user. Which means that in the default configuration a user has a secure setup that apps however can partially circumvent to enable incoming traffic on UDP ports. Many computer games or P2P systems exploit this setup quite successfully to set up P2P networks without any user interaction.
Fleshing out my "other point":

"Passing the dictionary as a record" is a pretty common alternative to typeclasses. The way it works is if you have a typeclass:

class Foo a where
foo :: ...
bar :: ...

you instead make a record that looks like:

data Foo = Foo { foo :: ..., bar :: ... }

This works great for a lot of things, and is often preferable to typeclasses when all you're doing is defining an interface. One objection is that things look slightly less tidy, but the main problem with it (where it's a problem at all) is that there's no way of identifying individual implementors of an interface by type anymore. An example where this relevant is Set. We could define the Set operations to take a comparison function, but we couldn't be sure that all comparison functions agree across all interactions with a particular set.

What I mean by "reifying the instance" is indexing typeclasses with a (single constructor) type that identifies the instance, and then passing that around to let us select which instance we care about, even for the same underlying type.

For example:

{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleInstances #-}

import Data.Function (on)

class ParamOrd o a | o -> a where
pcompare :: o -> a -> a -> Ordering

data StringsOverLength = StringsOverLength
data StringsLexicographically = StringsLexicographically

data IntegersInOrder = IntegersInOrder
data IntegersReversed = IntegersReversed

data ReversedOrdering r = ReversedOrdering r

instance ParamOrd IntegersInOrder Integer where
pcompare _ = compare

instance ParamOrd (ReversedOrdering r) Integer where
pcompare o = flip (pcompare o)

instance ParamOrd StringsOverLength String where
pcompare _ = compare `on` length

instance ParamOrd StringsLexicographically String where
pcompare _ = compare

Now we could write a new version of Set, `ParamSet o a` such that we can still enforce agreement while choosing our orderings with an argument rather than a newtype.