skysight-inc/HackerNews huggingface dataset:
It should work fine either way. Using standard SQL in BigQuery, though, you can do:

#standardSQL
SELECT pop, repo_name, path
FROM (
SELECT id, repo_name, path
FROM `bigquery-public-data.github_repos.files` AS files
WHERE path LIKE '%pom.xml' AND
EXISTS (
SELECT 1
FROM `bigquery-public-data.github_repos.contents`
WHERE NOT binary AND
content LIKE '%commons-collections<%' AND
content LIKE '%>3.2.1<%' AND
id = files.id
)
)
JOIN (
SELECT
difference.new_sha1 AS id,
ARRAY_LENGTH(repo_name) AS pop
FROM `bigquery-public-data.github_repos.commits`
CROSS JOIN UNNEST(difference) AS difference
)
USING (id)
ORDER BY pop DESC;

Better yet, it runs faster than the legacy SQL query :)

As a disclosure, I work on the project to support standard SQL in BigQuery.
Consume less.
Don't buy useless things.
Don't drive a car.
Don't fly.
Buy your electricity from a sustainable source.
Eat less meat.

Try to get other people to do the same.

I find it's hard to do most of these things, and I don't really have much hope that people will change their habits.

Most people don't even realise that they live in an illusion of reality where "everything is possible, you just have try hard enough".
There's a UK-based service supported by the police that helps with this sort of thing: https://www.bikeregister.com/

I haven't had my bike stolen, but friends who have say this helped.
I don't think this is CSS3, it has been arround for ages ( you will be using this when convert html pages to pdf also ;) )
A LG apresenta seu novo smartphone top na MWC 2017
San Francisco is an odd place. And so is Silicon Valley and the big brands we all know. Most of what startups there do is to solve local problems of San Frnacisco (and there are MANY!).

Taxis suck? -> Uber
Hotels super shit and your rent is super high? -> AirBnB
Restaurants don't deliver -> various delivery services
Wholefood et al doesn't deliver -> various delivery services
No laundry in your $5000 rental apt -> laundry by app

A lot of those problems don't exist in more developed places. (Yet other problems do). But these big startups grow due to it's ecosystem and Marketing/PR focus on the Bay Area.
I think this would be difficult because a lot of school reports already come down to re-formatting textbook ideas in your own words. Could be a tough decision of how different it needs to be to be considered original work.

might be a lot easier to make a plagiarism generator instead - keep the overall meaning of sentences but use synonyms or deliberately off-meaning words.
Interesting... We need more oxygen than reptiles because we are 4 to 6 times less efficient in turning food to energy [0]

[0]http://www.sciencemag.org/news/2005/09/breathing-easier-jura...
The problem with those, the last time i checked, was that most html to pdf solutions don't support them. The only one I could find was Prince ( https://www.princexml.com/ ) , which is commercial and rather pricey.
You're going to have to explain that one a bit. Or perhaps you think Tim Berners-Lee is responsible for popunder ads, and Jon Postel for unsolicited Viagra spam?
Also, the public transportation system in Berlin is much faster and more efficient.

(compared to SF, compared to rest of EU not so much)
Get a bicycle? I can ride 22km (about twice your commute?) in 1 hour in Australia, and that's being overweight and unfit.. sadly can't do it every day but if / when I could do it every day I'd do it much faster too.

Alas I'm driving my own car most days (3-4 days a week) and that's about $20 in toll fees and fuel, not including finance, insurance, reggo and maintenance. It takes from 40-60 minutes each way, so a bit but not significantly faster than riding.

Still if I used uber I'd be looking at $50 each way, easily making car ownership have lower TCO. There's no Lyft in Melbourne, Australia.
They are chop shops presumably because they chop the bike up into its constituent parts, of which only really the frame will have any sort of marking or serial number.
I learned the other day that something similar was happening in the US in the 80s with peoples' social security numbers. Someone was asking why a turntable from the 80s had a big social security number etched into the back; apparently, the initiative was to use it as an identifier in case the item was stolen. Now of course it's rather ludicrous to use your SSN in that way but in principle it seems like a good idea to prove ownership.
You're a year out of date. New ownership.

https://www.reddit.com/r/sysadmin/comments/4n3e1s/the_state_...
> Not faulting the driver for making an uneducated investment, that is unreasonable.

The interesting part happens when you understand that it is impossible to make an educated decision to become a Uber driver without having a relation of trust between Uber and drivers (because otherwise you would need insider information about Uber's business innovations, to get fixed pricing agreement for a given duration, which Uber will never do, etc).

Then, you don't fault Uber for being "flexible to market forces", you may fault them for engaging in deceptive business, just like you would blame a multi level marketing scheme. And when you specifically look at Uber's strategy to mislead potential drivers, there's tons of telling stuff.

In that light, you can still blame the drivers for making bad decisions (discussing the reality of Homo œconomicus would drive us out of scope). But you must also fault Uber for maliciously luring their drivers in a scheme that is not sustainable for them.
Mercury-Redstone 1 – The “Four Inch Flight”
>The NY metro area is much more populous than London, and the LA metro area is very slightly le

Well, 14 million vs 20 million is not such a big difference. And the definition of metropolitan areas is somewhat arbitrary in any case.
> Everyone opts for electron

And I’m just sitting here, using https://github.com/ReactiveX/RxJavaFX
A terrifying and hilarious map of squirrel attacks on the U.S. power grid
This isn't a real downstream task, but one of the researchers at RaRe compared FastText to word2vec/gensim/skipgram word embeddings on the original testsets for the 'semantic' and 'syntactic' analogy tasks from the word2vec papers here:

https://rare-technologies.com/fasttext-and-gensim-word-embed...

The conclusion:

These preliminary results seem to indicate fastText embeddings are
significantly better than word2vec at encoding syntactic information. This is
expected, since most syntactic analogies are morphology based, and the char
n-gram approach of fastText takes such information into account. The original
word2vec model seems to perform better on semantic tasks, since words in
semantic analogies are unrelated to their char n-grams, and the added
information from irrelevant char n-grams worsens the embeddings.

Personally I think those analogy testsets are not very good, because they just test all pairs of relations between a very small number of words from very limited domains (like capital and country names).

One advantage of FastText should be better learning on small amounts of data like Wikipedia.
The constant iteration has definitely led to more production ready UI platforms. But once they are in production they are largely abandoned in favour of "shiny new thing 2.0". The rate of change on the web development side is simply too fast to keep up with especially with regards to tooling.
6. It rewards arbitrary people.

If you go out and eat a fantastic piece of food do you think the person who should be rewarded is:

* The person who actually made the food.

* The person who carried it to your table.
I think we all thought of this XKCD.

However, it has been said, that there are no new stories; they've all be written, and that everything worth inventing has already been invented.

If we actually believed that, there'd be no new books, and stuff like graphene, and CRISPR wouldn't exist.

I say, let everyone re-invent the wheel, one day someone might actually get anti-grav ones working - You never know.
The world is already going through a mass extinction event. By the destruction of habitat and direct hunting, species are going extinct at an alarming rate.
Only two answers possible:

* go see a doctor

* urgently go see a doctor!
Agreed, NaN can be very useful indeed in certain circumstances. If nothing else, a NaN is still a floating point primitive, and can be stored in a large array with other floating point numbers, whereas an exception cannot. If you want an exception, just test Double.isNaN(), and throw one.

NaNs should not be scary.
> Right now you're spoiled with cheap and fast, which will change eventually; I'd recommend planning for this.

I think this is the big picture with Uber right now; Uber subsidizing the costs cannot continue forever, or at least it really doesn't look like they can; if public transit isn't an option for you, then you need to be prepared to accept that your costs right now are not reflective of the actual cost to provide the service.

The Uber/Lyft model is very cool and it does meet an important need for many US cities, but unfortunately what is offered now doesn't represent the full cost of supporting such a service. I really appreciate the difficulty you have with your commute - before I moved abroad, I lived in a smaller US city which had tragically experienced a catastrophe with its public transit that resulted in it being even further underfunded. An 3 hour total commute each day does take it out of you, but it's the cost of cities in the US being underfunded for public transit and for cities being designed around everyone owning a car.

You can continue to live off Uber for as long as it lasts, but if you're going to have the same commute long term, it might be better to start putting your money and effort towards trying to improve the public transit; most cities have public transit boards/committees that are happy to have people join them, and the more people they can get to assist, the more influence they can have on local and state governments to improve the situation. Being reliant on Uber pretty much means you're reliant on public transportation, so your choices are either be ready to start paying the actual cost, or work to improve the cheaper public transit alternatives.
like yosefk I sort of fell into it, worked for a company architecting stuff in pals/fpgas, it came time to build chips, someone else laid gates and I did the high level stuff, next time around it was easier for me to do it in verilog - after that I changed companies and build a bunch of SoCs with a larger team working as a logic designer.

After a decade or so I actually made a concious decision to stop building chips, once the novelty wore off I found I was doing a month's creative work a year and 11 months of timing and DV. As a systems software hack I'd get somthing woprking today, and something else tomorrow - much more of a sense of accomplishment - these days I do a bit of hardware and a bit of software - mostly embedded systems - I definitely enjoy it more
> You can poke fun, but there's a reason everyone opts for things like Electron. It's the most satisfying way to build frontends for a lot of people.

I'm not convinced it's particularly good reasons. I think ignorance of native GUI coding and the old, "When all you have is a hammer, every problem looks like a nail" mentality has a whole lot to do with it.
Crowded cyclists are much denser than crowded cars.

http://www.bikehub.co.uk/wp-content/uploads/2012/09/Munster1...
Most likely PC VR buyers already have at least average computer. The only thing they will lack is GPU and maybe RAM. GPU upgrade would cost them 200$, so total would be 500+200=700$ and only if they don't already have any sufficient GPU for 2D gaming.
This is exactly what I was thinking, though clearly failed to communicate. I already do a number of the things mentioned but I feel like it makes very little, if any difference.

From the comments below I've stared thinking of some things I can do by putting my dev skillset to use:

* contact Ethan Brown of Beyond Meat to see if there's anything he could do with my volunteer hours

* Investigate whether there is an issue with finding locations for windfarms and if that is a real limiting factor in having more. Seems like a simple enough problem to solve
Thanks! I got started few months back. I haven't really talked to them besides asking a question or two. The thing is, express used to be like this but it was then split up; from what I read it was mainly due to unstability in the subpackages, something which I think/hope will be solved by now. Another point is apparently it's easier to maintain since there have been some problems internally.

The main differences (for the initial or a later release) are:

* A lot of functionality out-of-the-box. Just install it and get to work.

* Websockets as first-class citizens: since they are one of the major advantages of Node.js in itself it makes sense they are trivial to use.

* Error handling: intercept some messages from Node.js and provide a more human-readable version.

* Promise-based.

There's also a single parameter for middleware instead of a [err], req, res, next parameters, since Promises work really well with a single parameter. You might think that this comes from http://koajs.com/ , but only the name comes from there, I used to call it inst for instance until I found a better name, which I found in Koa's ctx.

Oh, I talk about all of this in here: https://serverjs.io/about
Wouldn't really say that I am seeing it from the outside. Have done some web frontend projects last couple of years and also used Electron for a project. Starting an Angular 1 project now is comparable to doing Windows desktop applications in MFC, and Angular 1 is what, 6 years old?

And the only satisfying thing about Electron, is hitting package and getting three platform-specific binaries. Otherwise, it is still web frontend development. In contrast, I have had the pleasure of doing desktop development in Qt and WPF, which was quite enjoyable (and the ecosystem has not changed a lot since I left it years ago).

Also, MVC and MVVM were UI paradigms before web frontend development. And I am quite sure I heard about ReactiveExtensions before Facebook React.

Yes, vanilla Android is terrible.
Depending on legislation it's also not legal for lawyers to give specific advice for free. E.g. in Germany lawyering is a rather heavily regulated business - for obvious reasons - and while there's a whole bunch of exceptions (as usual) in general a lawyer cannot give legal consult for free.
Depending on the sports you watch there's other good deals deals. 35x12=420$. All access NFL package (for Europeans, not sure about US prices but iirc. it exists and is in the 250$ range) is about 250€/season. I think NBA/NHL are priced similarly. So you could get about two complete pro leagues for the same price (and these are a lot better than normal live, you get all games archived forever, non-commercial versions the day after, Redzone etc.)

If you want college sports or more variety or something outside of the big stuff (winter sports, cycling etc. etc.) then it's meh.
It seems to be a reasonably competitive SoC for IoT applications. The ARM on a RPi is on the 40 nm range. This should have reasonably better performance and MIPS used to be a nice architecture.
Wow, Microsoft Bob [1] in augmented reality. :)
http://imgur.com/a/eWpG0

[1] https://en.wikipedia.org/wiki/Microsoft_Bob
I like the idea behind your post because it's true for lots of people - when you're so close to it, you don't realise that you're arguing over maybe 10% efficiency in lots of cases.

But i think programming is kind of unique in this respect too.

The tools sometimes let you approach a problem in a different way; sometimes "just getting on with it" means you're wasting a lot of time dealing with stuff that wouldn't be an issue in a better language.

To give you a concrete example, it's like when you do a CRUD application with a properly normalised database and then you need to add auth. And then you realise a transaction made at a certain date has messed up all later transactions. And then you realise you need to add an audit trail. And then you realise that needs to scale its services independently and you have to add micro-services. And then you realise you've got yourself into consistency issues because your services are sharing state through your db, etc etc.

Or you just implement CQRS and all those problems go away (yep you have different problems).

But i'm just saying that tooling matters, and picking the right tools can be worth hundreds of thousands of dollars.

I think the C / C++ argument is a strawman, it's not using all the features of a language that matters, it's picking the right ones.
Perhaps you can write more efficient code? Use HTML instead of JS when you can? Don't force people to buy a new phone/computer every x years?
DesignBids Launches 3D Tool to Let Homeowners Design Their Interiors Virtually
Then you get sued to pay for unnecessary bills.
Test Driven Development with Python and Flask
FreeBASIC is actually still around ... and used ...

... for whatever reason ...
I clearly said not a harasser...

> maybe Twitter isn't a good place for them
could have fooled me because if you built a platform purely for harassment it would resemble twitter closely
Votes only count if the people you vote for can be counted on. Those people are often very thin on the ground, hard to identify (it could be a political masquerade) or are unelectable because the voting majority don't like them.
> In Scala I can use everything from Java and much more, and this is why is better.

You can use everything but it's not always very nice. For instance one of my biggest source of frustration is dealing with XML and SOAP (yes I know...) Scalaxb is good but limited, and using Java libraries means dealing with Java POJOs. I can definitely see Kotlin's potential in the "perfect Java interop" space.

That said, I agree with you, and I enjoy those high-level libraries too much to switch back to a less powerful language.
While the proposed legislation appears to make sense, the lack of bike crime statistics makes it hard to judge if squeezing the distribution part of the crime chain makes sense. The basics: how many 'chop shops' are there? How many bikes do they sell? If the numbers are small, it's just another burden on local police which may have other priorities on their plate, e.g. innercity crime/drugs.

One of the countries that tracks bike theft as a separate category is Sweden[0].

> In 2015, 66,500 bicycle thefts were processed¹.
> Investigation was commenced for 6.5 per cent ... while the majority were dismissed with no investigation.

[0] https://www.bra.se/bra/bra-in-english/home/crime-and-statist...

There are 10 mln people living in Sweden, San Francisco has 1 mln. So there must be like 6K bike thefts annually. How many will be prevented by closing a few chop shops?
> I interact with people I know

I prefer have far less public services for this. Feels like airing dirty laundry to do it on twitter
I just can't see how your explanation of "Maybe his hands are tied" plays out in the real world. It beggars belief that the editorial staff have absolutely no way of controlling advertising on the things that they run. If their advertising department really does have such brutal control, then Snapchat deserves to get a bit of a grubby reputation over it.

I'm also not sure what kind of context would cast opening with 'we are also talking to the NRA about running ads within the story' in a good light. That's presented as a direct quote, not an inference.

If tech.mic is inventing things out of whole cloth here, then Snapchat has grounds for a libel suit.
Can someone explain WHY do word vectors with similar contexts club together and are good? One of the papers suggest that "we don't really know" (Section 4)

[0] https://arxiv.org/abs/1402.3722
What I've learned from interacting with more than 100 AI startups
Not sure if i completely understand, but the example you mentioned would work in Scala. If a mutable variable is referenced in default args, its value at define-time is used.

Example:

scala> var x = 5
x: Int = 5

scala> def func(arg1: Int = (x+1)) = { println(arg1)}
func: (arg1: Int)Unit

scala> func()
6

scala> var x = 7
x: Int = 7

scala> func()
6 //unchanged

For reference vars the closure captures a local copy:

scala> var list = List(1,2,3)
list: List[Int] = List(1, 2, 3)

scala> def printList(arg1: List[Int] = lis) = { println(arg1) }
printList: (arg1: List[Int])Unit

scala> printList()
List(1, 2, 3)

scala> var list = List(4,5,6)
list: List[Int] = List(4, 5, 6)

scala> printList()
List(1, 2, 3)
Exploiting PSoC4 for fun and profit
Ask HN: Feeling bad about potentially leaving a job early
I'm not sure that I'd say my dream career is software development but that is what I'd rather do for a living. I like learning and solving things. Doing new things in general. I currently work for some clients while also working part time at a restaurant.

I don't know it suddenly occurred to me like "Why did I stop looking?" I needed to get hired immediately so I went with dish washing because it's a low-entry barrier job so I got hired within 2 days but the job is a waste of time as far as learning things.

So I've recently started to work here for about a month now, established my "persona" and this week I'm scheduled for 6 days (hahaha) I was fine with 3 days or so because I do contract work (prefer). I can't help but feel bad as I fill out the hired form. At the same time ultimately the truth is I am wasting time, I could be learning/gaining more credentials working for web/tech field.

I will do the 2 weeks notice but yeah I can't help but feel bad.
Whatever you choose for that, if it doesn't throw an exception, then given x = 1/0 (or x = something else NaNish) we really should have x == x. Basic equality really needs to be reflexive, or else you're asking for trouble.
> Racism's staying power comes from its paleolithic, evolutionary roots: other is danger.

Yes, but Americans seem exceptionally racist from an outside perspective, too. Not necessarily in the "people with a different skin color are inferior" sense but definitely in the "race is a meaningful way to group people and talk about interactions between groups of people".

To Americans race matters a lot (probably more so to "non-whites" than "whites"). Elsewhere (though of course not _everywhere_ else) it's just trivia: "Oh, you look different, where are you from originally?".
Also in my neighborhood: Google Express offers home delivery of lots of stuff. Amazon Prime Now offers home delivery of lots of stuff.

But your local stores-that-deliver doesn't argue against Instacart. Isn't it in their interest to outsource that chore to someone instead of paying their own drivers?
vhtml: Render JSX/Hyperscript to HTML Strings, Without VDOM
Please come visit the Netherlands.
Nevertheless, 80/20 (80% solution in 20% time) does wonders with the right set of tools and a rudimentary appreciation of applied maths, 80/20 being often what businesses really need. Unpopular as it may be, the latest tools come pretty good as black boxes, so that creativity is shifted from maths to application domains. No need to scare the OP, then, he is not a direct threat to your job.
> Words with similar vectors have similar meanings.

Can you explain WHY this is the case with word2vec? I have come across a paper which says "we don't know really". Is this true?

https://arxiv.org/abs/1402.3722
That's not entirely fair or accurate to call them out on lack of skill. Many of the drivers I've met along the way over the years have all enjoyed the flexibility. College kids making extra party/food money, stay at home moms who are avoiding being bored. Just the other day I had a driver who was in between jobs and was using the time for interviews.

Any serious driver who is full time will most likely move up to the black cars and get private clients over time.
I was vegetarian for about 6 years but didn't have quite the same experience as you (in the early 2000's). By and large I was met with incredulity or confusion. Top Gear using the word "Vegetarian" as an insult didn't help matters either :p