skysight-inc/HackerNews huggingface dataset:
I think the point isn't the 'non-trivial' 'got himself/herself hooked on drugs' crimes, but the basic ones for those who don't have any money (homelessness, begging, loitering, working in illegal conditions cause thats all you can get, petty theft etc.). Not every poor person is crazy hooked on drugs and committing major crimes. Most of them are just normal people who have to make difficult choices.
Vim for everything (C, Python, JS/HTML/CSS, etc etc) except Android development, I use Android Studio for that.
Facebook Aims to Drive Down Tech Prices to Expand Its Reach
So... Wisconsin... The Cranberry State? TIL!
>> I don't see why any of those desires should be in conflict with my progressive ideals

> This is precisely the origin of the problem.

And, WHY, exactly is this the origin of the problem? The poster said they'd be willing to pay drastically higher taxes to fund the programs that should benefit many people forced onto the streets and also wants a city appropriately staffed to handle criminals and those still on the street causing problems (i.e. mentally ill).

The parent comment didn't suggest rounding them up and getting rid of them or to act in any way that was discompassionate. How's this conflict with progressive ideals?

It's not progressive to have a shit filled city that's so poorly staffed it can't keep its streets cleaned and safe to an acceptable level.

Since you seem to know where the problem starts, what's your solution?
Show HN: Command line multiselect prompt
I bet the genetic component starts to dominate over long time periods, mediated by access to top quality medical care. That in turn is probably further mediated by the fact that (see Michael Jackson) buying a doctor is not always in your best interest.
Vox Media to Start a “classic Gadget Blog”, Circuit Breaker
Thank you. I agree that this is close enough to be relevant.

But as a counterpoint:

> In the cigarette racket, for example, predatory price-cutting was common around the turn of the century, when the Tobacco Trust, composed of the American Tobacco Company and several allied firms, cornered 95 percent of the market, typically by selling its products at a loss in a given area until local competitors went bankrupt or sold out. In 1911 the Supreme Court ordered the trust broken up into 16 successor companies (many of which are still around today). Since then the companies have mostly been content to compete on the basis of largely imaginary differences in quality, which they promote through extensive advertising. National ad campaigns are quite expensive, of course, which discourages new firms from entering the market, and as a result the existing manufacturers have the field pretty much to themselves [in 1981].

> This all sounds pretty snaky, I suppose, but it's worth pointing out that oligopolies can't just set any old price they want to. In 1931, for instance, all the major tobacco companies followed Reynolds's lead in raising cigarette prices, despite the fact that the price of tobacco leaf had fallen to a 25-year low. This stupid move permitted several small manufacturers to introduce 10-cent brands to compete with existing brands, which were going for 13 cents a pack. By 1932, the 10-cent brands accounted for 23 percent of the market, setting off a price war in which wholesale prices were slashed 20 percent. Despite this, several relatively small companies, such as Philip Morris, were able to gain a foothold in the market and eventually overtook some of their previously impregnable competitors.

http://www.straightdope.com/columns/read/179/why-do-all-bran...
Despite being in the tech industry, the only people I know that live in San Francisco fall firmly in the "Have-nots" category, and it has been illuminating watching their resentment turn to anger to full on (as in actually violent) class warfare. 15 years ago, those that moved there seemed genuinely happy and peaceful. Now they are on standby to riot.

Being able to see both sides is an interesting perspective and unfortunately it doesn't give me much hope. The rhetoric on one side is dismissive and bordering on authoritarian, the rhetoric on the other side is growing hateful and violent. Whereas living in Stockton (where I am from, as well as those I know living there) could be compared to living in Cleveland or Detroit, the only parallel I see in San Francisco is Paris circa the 1780s. Which is kinda scary.
I would highly recommend basscss

Small, light-weight, and gets out of your way for the most part. It also supports flexbox if you choose to go down that route.
In San Francisco, if you leave anything worth more than a couple hundred dollars in your car, it's as good as gone.

I'd go further than that. If you leave anything in your car, you can count on it being broken into. A jacket on the floor is enough for them to smash a window to see if there is anything valuable hiding underneath.
The draw of SF used to be that it was a free-wheeling, anything goes type of place. But that was decades ago. Now there is hardly a reason to go there unless it's something business related.
>That is the whole point of wikipedia...it parrots the sources without trying to determine what the truth is. If you accept that limitation, wikipedia works very well.

I thought that the goal was to represent "the sum of all human knowledge"?

I will agree that if you accept Wikipedia as a summary of contemporary news reports, then it's probably not that bad (but many articles will need to be dumbed down significantly to meet this standard). That's not my understanding of what an encyclopedia is supposed to be.

>Wikipedia specifically does NOT attempt to get to the truth

If that policy were followed, it would be fine; we wouldn't hear "oh, well, we can't trust Local County News, they're probably not big enough" or "Well, you can't trust $ARTICLE_SUBJECT to provide an accurate account" because it wouldn't matter. It would only matter that the account could be verified as authentic-ish with reasonable confidence. IMO that's a pretty low bar, but most Wikipedia source nazis seem to insist on a major mainstream publication like the NYT. This works out conveniently if you find yourself philosophically or politically aligned with NYT.

>A single google search informed me that a wiki-PR company had been systematically investigated and then banned.

This is really just intentional ignorance. It's like insisting there is no astroturfing on HN, reddit, or Facebook. WP is actively manipulated as a routine part of brand management and public relations. The first hit for "wikipedia page management" is http://www.prnewsonline.com/topics/pr-insiders/2013/04/16/wh... ; literally a howto on manipulating Wikipedia for brand managers. While this one repeats the rule not to edit directly, other hits on the first page interpret that for us to "never edit directly from your company's IP address", which I'm 100% confident is the method of 95% of WP-aware brand managers out there.
Shit you should never say to a VC in a pitch
Sucks for GP but this is true in any major city. Leaving valuable gear in sight is inviting theft.
SO: really good answer to golang pointer question
I've always imagined relationships as a reciprocity index which sounds similar to what you are describing here.
I agree San Francisco has its problems, but calling it a failed city is grossly overstating the problem. San Francisco continues to have a high degree of social mobility relative to the rest of the United States [0].

[0] http://www.theatlantic.com/business/archive/2014/01/the-geog...
I see you edited it, but you originally wrote:

> Why don't you think about the people who are trying to put a shelter above their heads and not just about the homeless?

Which I think is a more honest representation of your view.

San Francisco has become a dog-eat-dog city because of the new arrivals, because of the massive wealth streaming in to the city.

It has become a very different place than it was in the eras that it welcomed the beatniks, the hippies, the gay community. Those people came to put a roof above their heads. They came to find a home. The newest arrivals have mostly come to line their pockets.
Be observant, think critically.
```
m := make([]Members, 5)
pm := &m

m[:2] // good
pm[:2] // bad
(*pm)[:2] // good
```

makes a lot of sense! I never knew how to do (star pm) before.
https://www.youtube.com/watch?v=9wWUc8BZgWE
Yes, but there are many very poor folks who commit no crimes at all. I'd say probably most of them.

It still comes down to a person's choice to commit those crimes. However, I do agree with your comment about police harassment and then like.
Calling it a legal pseudo-monopoly is probably even going too far, it was just regulatory friction that stopped another company from setting up production of daraprim, there were no exclusive rights involved.
Lived in Capitol Hill neighborhood in Seattle for a couple years, once someone smashed the car window to try to grab stuff in a backpack I had in plain view. It only had empty water bottles in it, but they broke the window I had to have fixed. I learned to never leave anything that could be construed to be worth any amount of money in sight in a car I'm not in.

Then we moved to Bellevue, thought we got away from the problems of the city. My wife leased a new car and the same night someone smashed the rear window out with rocks, apparently just for kicks as nothing was taken from the car.

At trailheads for hiking routes, I often see smashed glass all over the ground. In a city the probability of crime may be higher, but it seems like that kind of stuff could happen anywhere.
> There should be security cameras on every cross street in the TL.

How would you feel if the city wanted to install video cameras all over your neighborhood, keeping track of everyone's comings and goings?
Either the thief is prevented from committing further crimes, or more people will have their property stolen by him.

There is a cost to refusing to press charges, paid by his future victims.
WebGoat: A deliberately insecure Web Application
Great article!

I'm not too familiar with OS as a subject, but is the separation between user and kernel mode similar to high-level language versus assembly; i.e., the approach they took was to emulate the Linux kernel, which is sort of like a virtual machine. But I imagine emulating a kernel is harder, right? Because of all the stuff that goes on?

And in general, would kernel emulation be a performant approach for running userspace of any OS in any other OS?
That's still grossly complex compared to the "read a byte, read a length, read length bytes of data" of TLV, and you haven't even brought up subtleties like case-sensitivity/character encoding and all the "how long can this be?" questions that come with text processing (and the associated opportunities for buffer overflows or DoS'ing.)

Perhaps others mainly think of things like the ASN.1 used in X.509 (and part of TLS) when they hear "binary protocol", which is at the high end of the complexity scale; but binary protocols can be and often are much simpler.
The article does not provide any data/link to the alleged destruction of environment.

Chicken is a lot like fracking - it probably has some external cost - but its a lot better than beef,tuna . . or any other meat out there - in terms of environmental sustainability.

Its also possible to recycle almost all parts of a chicken.

For example people in europe,america like what is know as the "white meat" ( not sure if its a co-incident ) - breast,thigh - and people in asia like "brown meat" - which includes leg,wings.

So what the global food producers do is recycle and even out the demand which is one of the reason why white mean has became so much cheaper in europe.
I just spent the last week in SF (am from a flyover state), and had a difficult time enjoying walking the city without feeling stressed about not knowing if the next block would feel safe or not. It definitely solidified my decision to not move out there.
I think http://kparc.com/lisp.txt would be easier for the HN crowd to digest. Better marketing.

K is like Scheme but with vectors instead of lists.

If you cannot handle the one character APL verbs, you can always sacrafice some resources and wrap them in verbosely named functions.

Look at q/q.k
But the GPS only needs to be active when the bike is a) moving, with b) the BLE phone connection absent. There are ultra low power motion sensor ICs that literally have a GPIO for "motion detected". Put that on the reset pin of your CC2541, and you'll be set for months of battery life.
I wonder how much of this has to do with Prop 47 which resulted in only a citation and no arrest for:
• Commercial burglary (theft under $950)
• Forgery and bad checks (under $950 value)
• Theft of most firearms
• Theft of a vehicle (under $950 value)
• Possession of stolen property (under $950 value)
• Possession of heroin, cocaine, illegal prescriptions, concentrated cannabis, and methamphetamine

It's California-wide, but it would be interesting if an increase in crime happened after it was passed.
Anything which depends on high amplification of an analog signal has potential interference problems. You need a physical phenomenon which produces discrete events, or good shielding. It's not hard to shield against RF and magnetic interference, but it takes some metal and size, which can be a problem for a USB connector sized device. You also have to filter the power going into the shielded area.

It's useful to take the output of the noise generator and run it into a spectrum analyzer while using electric motors and walkie-talkies close to the device. If the noise spectrum change shape when you do that, it's not random.
Lowering your expectations for low-income households and treating people that come from them as if they're too stupid and/or broken to not commit crimes is wrong is offensive. There's a difference between acknowledging the value free education, cheap housing, and money for food and outright turning a blind eye to opportunists and criminals.

>If you're a druggie and need money for a fix.

How is that your or my problem? You get yourself addicted to drugs. If someone mugs my girlfriend and trades her phone for some heroin, I don't understand why I'm supposed to shrug it off, feel sympathy for the criminal, and let that junkie make someone else live in fear so they can get high.

>there a forces that prod some people towards classes of crimes. That goes the other way too, for example considering tax evasion.

Muggings, rapes, and violent crime have drastically different effects on people than the taxman putting a lower number in a ledger. Trying to conflate crimes that happen to a person with financial loopholes is apologetics for violent criminals.

>Or say you're in the country illegally.

Then don't come to the country illegally if you're going to do destructive things against the people that you want to help you.
random and urandom use the same cryptographic components, so if a break in SHA1 breaks urandom, it breaks /dev/random too.
San Francisco has the 2nd highest spending per person of all cities in the US at almost $10K per person. Only DC is higher at $15K and that probably has something to do with the way the district is funded.

It's not a lack of money that causes all of SF's problems, it's how the city is run.
I'm curious exactly what level of visibility is considered "public" in this case. I'm willing to be my definition is very different from their definition.
People may think what they will of my comment, but I visited San Francisco once and probably will never go back. I worked in downtown Seattle, walked to and from work at all hours in the city and saw all kinds of stuff, but in San Francisco I felt alot more unsafe. Seriously sketchy people that didn't just seem like they were harmlessly going about their crazy business. I wish San Francisco and its people the best, but from a distance.
YouTube’s Quest for TV Advertising Dollars
At least at my school, fraternities and sororities are based on sex- they couldn't care less about your gender.
Yep, going into the list it was the first xkcd link I saw and I immediately knew what it was before even seeing the number.
Exactly. I'm failing to see why this story is generating so much interest.

Here's one of the 50 websites where you can see every American citizen registered to vote... includes their DOB, Address, Voter ID etc...

http://www.oklavoters.com/

and while you're there check out the removal request policy page - it's quite humorous.

EDIT: If you are wondering how the website obtained data specifically for Oklahoma please see https://www.ok.gov/elections/Candidate_Info/Voter_List/index...
I live in SF and when I first showed up here, I too was really unaware of how bad the problem was. My car was broken into 6 times, once for only the change in my ashtray! (I can only assume, there was nothing else of value in the 99 corolla!)

Eventually I just sold it.
I've heard advice that if you don't have any valuables in the vehicle, leave the windows rolled down and the lock unlocked so anyone who thinks they can steal something won't do much damage getting in, and the fact that it's open in the first place discourages them from believing there'd be anything valuable inside.

I've seen stores leave tills empty and opened after they close, presumably for the same reason.
Maybe I'm jaded, and please don't take this as victim blaming, but why on earth would you not put that much gear in the trunk rather than leaving in a seat!?
I don't think what you say is wrong. But I don't think it's the ironclad reply you hope.

As Anatole France said, "In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread."

I just had my bike stolen out of my back yard here in the Mission two days ago. I'm still mad. But odds are that it was some homeless addict, and enforcing the law and putting him in jail for a few weeks will be no more effective in solving the problem of petty theft than not enforcing the law.

I would certainly like to see the cops arrest the people up the stolen goods chain, the people who actually have something to lose. Crime shouldn't pay. But the way to stop people stealing to survive is to help them find some more productive way to survive.
I am still doubtful but frankly neither informed nor interested enough to debate it further. Maybe BLE is more impressive than I've been assuming.
That's cute, but the law also forbids the rich, as well as the poor, from committing violent crimes, which is what we're actually talking about.
I wasn't trying to say that private schools are always better, but they do provide an escape hatch if you live in a place with a crappy assigned public school. An escape hatch that is only available if you have the ability to pay, and perhaps pay a lot. I haven't done a lot of shopping for private schools, but BASIS Silicon Valley is $25,000 per student per year. That's a lot. Two kids cost $46,000 per year. That's insane.
There are many people–social scientists and economists among them–who would suggest to you exactly that. The U.S. has spent (i.e. transferred) trillions fighting poverty. The result? Not much.

The good stuff that has happened to poor people since 1945 mostly comes about through private innovation.

The thought that reducing safety nets could result in better outcomes for both their intended beneficiaries and those who fund the government is scary, perhaps. But not at all beyond the realm of civil discussion.
Looking through the list of occupations licensed by NY State[1], most of jobs that have license requirements seem to be reasonable. For example, asbestos handlers, bus drivers, crane operators, hazardous materials transporters, milk testers and waste water treatment plant operators (just to choose a few at random) all have jobs that could have significant impacts on public safety, and would need to be certified to have completed safety training (which may need to be periodically updated).

Another class of jobs, such as insurance agents, insurance adjusters, real estate brokers, real estate appraisers and security guards would need to have a knowledge of the laws and regulations that govern those kinds of work (e.g., it would be a huge legal risk to hire security guards who didn't know under what circumstances they could legally detain someone, what degree of force could be legally used, etc.).

None of the occupations in that list jumped out at me as being something that the state had no business regulating.

[1] https://labor.ny.gov/stats/lstrain.shtm
So my coworker, let's call him "Justin" woke up less than 2 weeks after midnight to two voices and somebody sticking his foot through his open window (lives in tenderloin, with his gf). To me that's a much more pressing fear than overpolicing.
Microsoft burned their bridge with Interix because "NT was going to win, right?" Six months later, when Microsoft figured out that NT still needed a Posix compatibility layer, they had to (sheepishly) rebuild their bridge with Interix.
Plus fullmalls.com -- any idea why?
Well said. I thought this was a brilliant insight.
It works just fine for universities. The experience is perfectly fine on iOS, Android, OSX, and Windows.
Next in line for clickbait titles: "A Mexican recipe for pest control: hurl a mountain-sized space rock into Yucatan."
It is strongly worth nothing that there has been a shift in comment sentiment/quality over the years. In early HN, comments were more hostile and would definitely be killed by the modern mod team. (it's where the HN stereotypes originated)

See my old list of the Top Comments for each month of HN since 2006 and note the difference between the old comments and recent comments: https://docs.google.com/spreadsheets/d/1ZwonVX_KlDYhuhPnAAnV...

At the least, there is no situation nowadays on HN where commenting with http://xkcd.com/386/ would be considered appropriate.
Yes. As I said, the current implementation fails to live up to the distinction.

They should be completely partitioned pools, and collected entropy that goes out random should never be mixed into the urandom pool. Of course it's likely random still wants whitening, likely resulting in the use of a computationally-secure algorithm.

Practically since it's anyone's guess what the random clients expect, it's probably the right thing to `ln -f urandom random`. Bona fide hardware sources can come up with their own device/daemon to administer and/or stir into the kernel P/RNG. I'm just pointing out that there is a worthwhile distinction they were trying for, despite the engineering pitfalls of trying to make it available!
Your ideas too dumb (or too genius) to get funding? Don't let it hold you back
This attitude basically concedes to accepting theft as inevitable, treating this type of crime as something that cannot be avoided.

Crime needs to be punished and deterred. An argument can be made that communities where property crime is rampant are not using effective measures to deter criminals.

Imagine how many fewer bike thefts there would be if, for example, Seattle put in place caning as a punishment, like in Singapore. This could replace long term prison sentences while also being severe enough to scare would be criminals. What's your solution to decreasing rate of thefts, if not prison?
Please add Ruby on Rails on the title...