skysight-inc/HackerNews huggingface dataset:
Is there some reason the assumptions in the cited paper aren't insane?

After a quick skim, they seem to be saying that if we only move a bunch of people from places Sheboygan to New York City, increasing the population of the latter from 8.4 to 15 million, then those former Sheboygan slackers will suddenly be as productive as the current New Yorkers.

There are a host of reasons I find that unpersuasive.
Search questions, code, topics, definitions across services
Population of SF = 837,000
Size of SF = 239 sq mi

Population of NYC = 8,400,000
Size of NYC = 469 sq mi

10x the people on 2x the land.

SF looks more like a suburbs in many places than a city. The reality is, the city has two choices:

1) Build up, change the city skyline and look
2) Keep SF's "look" frozen, and watch as limited supply continues to drive prices sky high
>In your example of transactions, you didn't shown that macro-based solutions are more elegant than non-macro based solutions; you merely showed that Java before version 8 wasn't very good...

I think it wasn't clear what I was referring to. I was talking about not Java, but a Lisp-style solution. Here it is with macros:

(transaction (do-stuff)
(do-stuff-if-commit-successful)
(do-stuff-if-rollback))

Here's the version without macros:

(transaction (lambda () (do-stuff))
(lambda () (do-stuff-if-commit-successful))
(lambda () (do-stuff-if-rollback)))

The macro-based solution -- which doesn't mention Java -- is more elegant. You don't need the lambdas if you use macros (why? Well, you don't always want to rollback, right?)

>...when someone replied "but we can do better with Java 8!" you basically replied "ok, but how do you know Java 8 is enough for some other unspecified problem?"

That's the point -- a language with macros is extensible in a way that languages without macros aren't. So unless you believe that your language happens to be perfect, having macros would make the language more powerful.

>Re: your second example with assign and the = macro. I admit I don't understand it yet; I'll have to think some more about it.

Feel free to contact me if there's anything else I can explain -- I'm probably going to forget to check this thread soon.

>...we've acknowledged macros cannot solve everything; after all, there are new releases and multiple implementations of Lisp languages.

I'm not sure why new Lisp releases show that macros are not useful. You could write anything in assembly, but other languages are still released. And design is important -- which sets of functions, and macros should be provided with a language? Does having a release of Scala that includes functions mean that there's no need for user-defined functions?

>Second, that macros let you do some (admittedly cool!) things doesn't automatically show that these same things cannot be accomplished in reasonably elegant ways in other languages. One thing doesn't imply the other!

It doesn't mean that, no. However, I don't see elegant ways to do this kind of thing in other ways. If you can show me some, I'd be interested.
Regarding the first point, I had that happen. Just deleted the lock file and it worked great.

I agree on the second point, but what is wrong with ppas?
Wouldn't it actually encourage people to relocate outside of NYC/SF, which would be good for the economy, according to the article? The drastic difference in house prices would mean that you could sell your house here, and move to an equivalent house with many hundreds of thousands of dollars in your bank account.
bloat always does have some reason. but it's still bloat.

Good engineering makes good tradeoffs, rather than throwing in everything anyone wants.

(Not that I think this effort in go is "awesome". For one, it's probably bigger executables than even statically linked coreutils. The suckless sbase/ubase have some real potential though.)
The one of those is velocity and one of those is present position.
It isn't clear to me that technology would have affected anything that they would have picked up:

"Harmonic topics, of which there were eight, captured classes of chord change, or their absence (eg, “dominant 7th-chord changes” and “major chords without changes”). Timbral topics, of which there were also eight, were things like “drums, aggressive, percussive” and “female voice, melodic, vocal”."

I also immediately mentally leaped to "electronic" music, but it doesn't seem to me that they were looking for that sort of thing.
Thought experiment: If alien landed on NYC and SF, then decided to abduct everyone in the two cities and wipe out the cities, how much of a reduction in US GDP it would be for the next year?
I'm working on that as well. I just fixed cat to crash and log on error, and I'll be fixing the other commands soon.

By the way, I'm wondering how I should go through the file line by line with a reader.

I think the most efficient way may be to scan byte by byte from the start (head) or the end (tail), and count until reaching n amount of newlines (or stop if at the end of the file), then print the bytes between the start/end and the nth newline.

How does this sound?
To be fair, from a packagers perspective, it's hell.

https://wiki.debian.org/IntroDebianPackaging

http://www.debian.org/doc/manuals/maint-guide/index.en.html

Compare that to gentoo / archlinux / BSD ports.

If they actually simplified* their system and made it permissively licensed and POSIX portable, maybe people would bite.

But GPLv3 is just a way to make suckers develop for Canonical for free - at the end of the day - you have no rights over your own contributions and they have 100% ownership.
Note: this comment is being written after the correction above concerning the mixup of /dev/random and /dev/urandom.

/dev/urandom is not a mere PRNG. It is a CSPRNG. Once it has been seeded with a good amount of entropy, say, 256 bits, it is safe to use for essentially all cryptographic purposes. That includes making long term SSH, SSL, and OpenPGP keys, and of course also includes making session cookies.

Yes, I know the Linux man page for /dev/random says otherwise. As Dan Bernstein notes, this is "superstitious nonsense" [1]:

Cryptographers are certainly not responsible for
this superstitious nonsense. Think about this for a
moment: whoever wrote the /dev/random manual page
seems to simultaneously believe that

(1) we can't figure out how to deterministically
expand one 256-bit /dev/random output into an
endless stream of unpredictable keys (this is what
we need from urandom), but

(2) we _can_ figure out how to use a single key to
safely encrypt many messages (this is what we need
from SSL, PGP, etc.).

For a cryptographer this doesn't even pass the laugh
test.

There is almost never a good reason for anyone other then the people who wrote the init scripts for your distribution to read /dev/random on a Linux system. They should read it to get entropy to initialize /dev/urandom, and to periodically reseed /dev/urandom.

[1] http://www.mail-archive.com/cryptography@randombit.net/msg04...
Anyone else blown away by Zenefits' valuation? It is 45x the company's projected 2015 revenue. Even more surprising, the company is no where near profitable, has a number of regulatory challenges ahead, and is only 2 years old.

This reeks of a bubble. I guess funding consumer-focused apps is old news, and it's all about funding enterprise startups (i.e. Slack).
Having lived in SF 15 years, I think that advantage is steadily declining.

When I moved here, people came here because this was the place where all the interesting technology happened. It was hard to keep up. But now, the number one reason to move here isn't the technology. It's access to capital.

Since Bubble 1.0, the Internet has become an excellent distributor of technology. But VCs still aren't interested in getting on planes.
GPLv3 makes no such impact. Now, if they had a CLA (which Canonical's projects infamously often do), you could make that argument.
We have years. They're passing whether we like it or not. In the meantime you can choose whichever implementation of the Unix tools that you want. In the future there may be more options that fit the bill, developed in a safe language without the kinds of buffer overflows and things that exist in C tools today.
Arizona town mounts dozens of new license plate readers in fake cactuses
Everyone needs at least a portion of a home, not exactly one home.

Families and roommates are obvious examples where housing units and people are not 1:1.
Why Privacy Is Under Attack
All of the above. Look over transactions, check balance, check trends. Honestly I do it as just something to do at times.
> The same cannot be said for aerial surveillance of the sort in the OP

Which is nice, but aerial surveillance of that sort can be done by the local TV news station, or a local resident getting their general aviation training.

Arguing the police should not have extra surveillance powers certainly makes sense, but arguing the police cannot do something that anyone else in the public can do is where you start to lose the plot.
Snowden warnt vor Industriespionage durch Geheimdienste
We need Hyperloop so that you can live in LA and work in SF!
Snowden says that NSA analysts underlie no oversight. They can search after what they want, without any oversight or assesment. He says that industrial espionage from NSA is a reality.
http://uselessd.darknedgy.net
San Francisco's population density is 7,000 people per square kilometer. There are many beautiful, beloved cities throughout the world that manage to accommodate far greater density numbers:

* Barcelona: 16,000

* Buenos Aires: 14,000

* Central London: 13,000

* Manhattan: 25,846

* New York City (overall): 10,100

* Singapore: 7,600

* Paris: 22,000

* Central Tokyo: 14,500

Here's a map of the zoning ceilings throughout San Francisco: http://i.imgur.com/Tn7CSTX.jpg

Every yellow block in that picture is zoned 40-X, which means that buildings taller than four stories are not welcome. If we raised that to six stories (as is the norm, e.g., throughout most of Paris), we could easily accommodate hundreds of thousands of new residents.
Or my rewrite of GNU's coreutils in Go: https://github.com/EricLagerg/go-coreutils

It's not complete yet, but I couldn't pass up this thread :-)
That would make NYC 5x as dense as SF. But your numbers are wrong. San Francisco's land area is 46.9 square miles. New York's land area is 304 square miles. New York's density is about 50% higher.

But it's not clear that New York shows any a path forward. They did build up, and prices are still high. Maybe that's a sign that blindly increasing housing supply doesn't actually solve the problem.
If you have good investment opportunities, you should not sit on cash. If good investment opportunities are coming soon, you should sit on cash. The trouble is that many forms of wasteful consumption are disguised as investment, in politics.
San Francisco is only 46.9 square miles. It is dense (17,246 people/sq.mile) but not as dense as NYC (27,016 people/sq.mile).

http://en.wikipedia.org/wiki/List_of_United_States_cities_by...
Yeah but deleting a lock file is a deal breaker for any user-facing system.

Also there's nothing stopping me (or anyone) from doing bad things in a PPA, since the packaging system runs as root. In a snappy system apps are sandboxed.

Also, the fact that PPAs need to exist at all ... with snappy we can just have the latest user apps available in the default store without people having to add repositories by hand.
Colin's comment touched a few different topics but in the end he talked about the effort of converting existing Debian packages to Snaps, and even mentioned Alien, which is an old converter of packages formats. This deb2snap is still WIP but it works fine.
GPLv3 makes no such impact. Now, if they had a CLA (which Canonical's projects infamously often do), you could make that argument.

http://www.canonical.com/projects/directory

The following projects are covered by Canonical’s contributor agreement. If you want to contribute to any of the projects below, please contact the project contacts listed in the third column.

Sanppy:: (sic), snappy
I wouldn't call that class warfare, and it is certainly not instigated by the politicians. There have been anti-gentrification protests in SF long before David Campos was in office, and they will be happening long after.
Ok so I don't mean to be a hater but that demo looks like I'm supposed to be impressed by stuff that apple had in os x in 2001, as well as recent iOS additions in 2007. It's 2015 and this is just beginning development now.

Diff priorities, diff resources, blahblahblah. But come on -- there ARE quite a bit of man hours since 2001 in gnome, kde, X11, Mir, compviz, Maemo, etc. Enough that recognizing Apple started doing things right so long ago that a unified response to at least copy let alone improved would have yielded significant results at least by 2010.

</hate>
Austin and Toronto are 250 square miles. Every time I go back to Austin, everyone is whining about how expensive it is and how bad the music scene has gotten, while half of them want to turn 6th Street into a kid friendly zone.

SF is maybe 35 square miles, once you take out the parks.

Why don't we build new housing in Palo Alto? Or better yet, rezone Stanford or Atherton?

I guess affluent monocultures must be protected.
That's not the case anymore; it was changed via ballot proposition several years ago, and now the top two vote-getters face off, regardless of party. That's why last year's big David Campos vs David Chiu battle happened twice: once on primary day (registered Democrats only, and just for practice), and then once again on Election Day (all voters, and this time it counts).
So how will they push security fixes to the bundled dependencies?
This looks to be a package manager that will have the concept of an "app store"[1]. Has anyone found how someone can build and namespace their own app store?

From a brief read-through of the docs it looks like the namespace of applications is "owned" by Ubuntu which means it is difficult to add external sources. For example it is `snappy install vim` instead of `snappy install ubuntu.com/vim`

[1] https://developer.ubuntu.com/en/snappy/guides/packaging-form...
That's the #1 hard part about a new job search website.

If you have no jobs, why would the candidates search there?

If you have no candidates, why would anyone post their jobs?

Surprisingly, I only get decent interviews from Craigslist. I tried a couple of others with zero conversion rate.
I couldn't agree more. The most magical neighborhoods I've ever seen have had narrow streets that cater to pedestrians first and cars, like, fourth.

http://www.venere.com/blog/images/positano-streets-amalfi-co...

http://www.china-tour.cn/images/Lijiang/Lijiang-Nightlife.jp...

https://c2.staticflickr.com/6/5159/5889050432_4f8d86e07f_b.j...
>You can never build enough housing in a high-demand city without destroying the city;

Out of all the places and times and people who've talked of building more housing as destroying the city, most of them were just rich, white landowners who didn't want immigrants, minorities, and jobseekers ruining their views.

I'm not saying you're any such person, but your position is objectively furthering the interests of rent-seeking landowners as the expense of the marginalized and the exploited. Real equality can proceed only when housing is available as close to construction cost as possible, or better yet, cheap as free.
I don't agree with this mindset at all. People should build things they want to build. I agree—I wouldn't hand my bank credentials over to this service (or really any unknown third party), but I don't think we should say that the OP should have spent their time on something else.
I wonder if this could be made into a 'blaster' like in science fiction stories, here on Earth.
I'm living in Tokyo right now and I own a home in Seattle. In terms of housing and job market, Dallas, Texas is hard to beat. In Dallas the pay was good (the average engineer will make a lot more money in Dallas than in Tokyo, and not really much difference between Seattle and Dallas) and the home prices in the Dallas area were amazing. Build a new home that's 2 to 3 times the size of a 40 year old home in Seattle and half (or more) of the price. Tokyo is out of the question - The quality of life here stinks. I'm paying $3,100 for a 700 sqft apartment in Shinjuku surrounded by an ocean of concrete (there are other good things here though). There are big downsides to Dallas which make it not ideal for living. In the end I'd pick Seattle as the best quality of life based on home pricing, pay, the natural environment, and low crime.

An interesting note between Seattle and Dallas was the speed at which things are built. I've talked to builders who built in both areas and the amount of bureaucracy in Seattle is absurd compared to Dallas. One builder who's building fast food restaurants said he'd build out a store in Dallas before he could get bast the bureaucracy in the Seattle area -- I wonder how that compares to SFO and NYC?
the amount of engineering at this scale is just insane. kudos to facebook engineering.
Good luck. The vocal majority on HN are still opposed to the findings of climate science.

As to the article: I fear I'm getting a bit burned out on political topics (which it mostly is). It seems impossible for me, personally, to change any of it for the better, and so much of political news is disappointing, especially when it involves science. As you correctly pointed out in the other thread, it's just as bad on left-leaning sites with regard to GMO topics.

The U.S. has held a position of technological and economic prominence through most of the 19th and 20th centuries, but we are far, far behind now on education -- a problem which will be punishing us for the rest of the century at least -- and funding for scientific research, which drives technological advancement, has been under assault from so many directions for decades now. Switzerland won the biggest discovery in physics so far this century, but it could have been done years ago in Texas (http://www.texasmonthly.com/story/how-texas-lost-worlds-larg...). Our most realistic hopes and dreams for space exploration now rest on a single company. Other countries are starting to take their first steps towards space (http://www.thewire.com/technology/2014/07/uae-plans-to-fly-s...) while NASA still tries to do the best they can with shamefully little funding. (I'm not yet willing to give them even odds of getting there on time though.) Germany's leading the world in development of renewable energy (https://en.wikipedia.org/wiki/Renewable_energy_in_Germany), France has the best nuclear reactors in the world (https://en.wikipedia.org/wiki/Nuclear_power_in_France), Canada has some of the best health care in the world (https://en.wikipedia.org/wiki/Health_care_in_Canada) ... all things the U.S. has the resources to compete in, but doesn't because of politics.

So there are political groups that are strangling our future for the sake of present interests. There doesn't seem to be much that can be done about it because they represent the desires of a large number of people. Maybe the enormous wealth and other remaining advantages in the U.S. will keep things on a more or less even keel for a long time to come; maybe the U.S. will slide behind the rest of the world and there will be another diaspora of science and technology to other countries. Who knows.
Well in theory yes, but who knows. I still have a roth and 457 IRA just in case. My state has repeatedly declined cost of living increases for retired state workers for several years now. The gains in the pension system have steadily been above 10% but that has not stopped the state from putting its hands in its pension funds (I am in Louisiana).
I know Cydia for iOS does the "app store" thing, paid apps and all. Don't really know how that's implemented, but other than that, it's APT based.
+1 javascript.
I meant functionally illiterate.

Reading level of US adults at a proficient level is only 13% http://www.statisticbrain.com/number-of-american-adults-who-...
If I am understanding correctly GaN mainly used in power components since it can handle larger voltages. Is it possible that with GaN getting cheaper that it might start moving towards other component areas that Si dominates? Or is GaN's usefulness primarily in handling power?
I worked at a startup that used angular. That was my impression also. It was taking them 3x-5x longer to implement features than what I thought was reasonable.

The CTO picked angular because he wanted to pad his resume with angular experience. The other programmers were to junior to notice they were running around in circles.

That's actually a common anti-pattern for startup failure. The CTO makes a technology choice based on padding his resume, instead of technical merit. He's looking out for his future career at the expense of his current startup.

There also were all sorts of weird performance issues with their website. If I left it running for an hour, it would crash. There were all sorts of weird "$digest in progress" errors in the console.

I'm pretty sure they weren't using angular correctly. However, if a team of average programmers aren't using angular correctly, do you blame them or blame angular?

Also, they were using angular 1.0, which means they're stuck now.

I don't mention angular on my resume, because I don't want to work with angular.
React JS Best Practices
Not everyone likes the ping-pong ball model of modern employment. A stable job, where I show up five days a week, the company takes care of me, and I get to form stable working relationships with my coworkers, is valuable to me and many others.
You can make a lot of connections at university. Along with job offers. Along with special consideration from banks for graduates and even enrolled students.

Will a change be immediate? No. But I've seen the affects in other countries over 10 year period.

It's never a single thing which helps people in society. It's many things at once. Of course if the students need to work to support their families or even to feed themselves, then a free education is going to help far less people. But if those same students don't need to pay for their education, then many more will be able to do so.
If you want to preprocess your document, or aggregate different parts of it with different labels and weights, it can be helpful to store it in a separate column.

Of course you can always just index your preprocessing/aggregating function and call it every time you want to search, but depending on how expensive that is, it might be in your interest to do it upfront and make your searches a bit quicker.
40 key computer science terms explained in ways your boss can understand
I don't see what all the hate is about. The developer documentation[1] looks really interesting.

1. https://developer.ubuntu.com/en/snappy/guides/packaging-form...
That's interesting. I wasn't 100% when I posted, it was from memory. On a little checking, it seems we're both right -- tannic acid is a subset of tannins. In any case, milk seems to help, whatever the mechanism.
Are you referring to nextstep ideas like the app bundle?

This quote in particular sounds like an app bundle:

Creating snappy Ubuntu apps is much easier than traditional packaging,
simply bundle all the files you need in a single package and publish, then
users can download it instantly. Snappy packages can be statically linked
and include their own copies of any file they need.
Interview with Elena Conacel of Creative Tim
I've used the MAX881 for some lower power GaAs, but it's limited to a few mA gate current. TI has an opamp I used that can drive capacitive loads with +/- 30 mA, so it makes a good gate driver, whilst allowing a decent amount of gate bypass capacitance. For temp comp I have found once you get the temp vs IDS curve, it's identical for devices within a lot, and only need to offset for pinchoff, which varies device to device within the same lot.