skysight-inc/HackerNews huggingface dataset:
These are not "Guerilla bike lanes". These are guerilla traffic cones. The lane was there. The only non-permitted part are the improved markers. I doubt many driver really care. Most probably appreciate them as they keep the bikes away from the non-bike areas. If people want to spent their own money installing such devices, more power to them.

Going out and painting new lanes, that is stepping things up a notch. That will get police involved. That will create liabilities should any accident occur due to your new lane designations.
With exception of Canadians, "foreign born" in New York means "born at least 2000 miles away" (and thus usually having a different native language and culture). In London, it's "born at least 200 miles away"; usually already speaks English and/or has some ancestry from Britain.
The z3t4 comment said "First".

I take that as: learn how it should be done, hire the pro, but with the ability to question/review what they have done. Sounds like sage advice to me.

Same goes for the mechanic or doctor...

Assuming you have the time of course.
There are many scenarios (e.g. Cruz or Rubio might have stayed in), but I'm curious about one where it would be rational to rank your preferred candidate as #2 or #3 or beyond to help them win.
It seems likely that the NSA is running a large fraction of tor nodes, and doing exactly what you suggest. It would cost a trivial fraction of their budget, and yield huge amounts of relevant information.
Nothing, we just had to pick a quick way to install it and Openshift looked nice. All the features are intended to work with all Kubernetes installations down the road.
Teens seeking snow-shoveling jobs told to stop by Bound Brook police
If we can have a Jetsons mode.
Is there a more recent version of that guide (e.g. for Sierra)?
You mean having conflicts of interest?

Don't want to make a straw man, but whatever you meant we ran in to this problem (black markets) precisely because we kept thinking we should make all kinds of things illegal.

To solve this problem, make fewer things illegal not more.
It's a minor blemish compared to Henry Kissinger winning one.
This happened a couple days ago, noticed when spinning up a new RDS instance.

I'm super excited about it. It's great to have more modern managed services on AWS especially since this brings Postgres out of the Stone Age. Lots of good JSON support added in 9.5 and 9.6.

Previously only 9.4 was available.
me too, i saw it on amazon broken. i updated my chromium and all good.
Yes, but how do you stop people from becoming junkies in the first place? Opiate addicts already have access to methedone and some countries are looking into giving pharma grade heroin replacement, but these types of addicts are essential lost causes and will always be addicts.

I believe sentencing laws/guidelines needs to be reformed, but you have to see it from the governments perceptive. How do you stop people from becoming drug addicts? Legalize the drugs your trying people not to use?
They couldn't stick anything on Reagan either.
> AR = The Greatest Thinker Of Our Lifetime, And Indeed, One of The Greatest Thinkers In The History Of Man

Don't forget Aristotle! Everything we have now including science, technology, medicine, math, freedom and even Ayn Rand we owe to him for discovering the laws of deductive logic. But deductive logic was not validated till Rand identified the principle behind concept formation.
Yep. Right as soon as they start blowing things up, killing people who disagree with them, and their supposed leaders don't take hard stances against it.

Until then, I'd just call them "people with ideas different from yours."
I'm fairly impressed by RDS's turn around time. 9.6 dropped in late September and they're already supporting it in just over a month. I wish Google Cloud SQL supported Postgres at all. Sad that there's limited competition in managed postgres space (most notable competitor being Heroku).
That sounds interesting. Are the recorded videos up anywhere?
Also most mocking libraries require that tested/mocked classes must be derived from an interface, when an interface is not required this adds overhead just for the purpose of testing, this is bad.

Correction: googletest/googlemock (in c++) can create mocks of non virtual classes, they use scripts to generate the mock code. Still you need a special test build to link with the mocked classes, in java/.net you dont have this problem because of reflection.
As a person who co-owns a company named Test Double, you'll never guess, dear reader, where I come down on this issue.

Here is a GitHub wiki where I break them down a decent amount: https://github.com/testdouble/contributing-tests/wiki/Test-D...

I've also written a JavaScript library called testdouble.js that has pretty detailed docs on their background purpose: https://github.com/testdouble/testdouble.js/blob/master/docs...

For what it's worth, Gerard Meszaros coined the term "test double" in his fantastic book (which most of you have never heard of, much less read) called xUnit Patterns. This is relevant to Gary's point, because like most things that require expertise specific terms only become useful as you grow close to the work. Most people don't use test doubles to facilitate isolated test-driven development, so most people won't come across the terms (or their sources).

I can't claim to be an expert in much, but—for reasons that evade my understanding—I do claim to be one in test double science™. What I can say is it can be tiresome when an expert has to constantly engage with relative novices who lack a curiosity with really engaging on the topic. Over the years, I've grown comfortable with the fact that most people—by which I mean, almost _all_ people—who want to talk about test doubles actually just want to fake something out in a test that's causing them pain. This is a perfectly fine thing to want to do, but it's orthogonal to why nuanced test double types & subtypes and jargon was ever necessary, which is mostly steeped in very rigorous schools of test-driven development.

There's no wrong way to do it. If you only write relatively "integrated" tests, nomenclature like "mock that out" won't cause you much harm but for the occasional eyeroll from people like me. But if you're interested in using tests as a sounding board to improve the design of your systems, they're one toolset for one style of approach (of many) that can help you in that endeavor—and which require the kind of specificity that Gary described above.
How do you test your code that interacts with external components, like sending emails to a mail server or making an external API call without using some sort of test fake or stub? (using the definition of them from the article)

I'm new to TDD and refactoring legacy code for testability. With the code architecture I have it looks and feels like I need either a mock, fake, or stub.

I'm using an IExternalComponent interface as a parameter and for the concrete implementation I can either pass the real thing (it's non deterministic, this works if the service is up) or I can pass a test double that allows me to throw exceptions at will and force failure conditions to be tested.

Is there another way of doing this that I am missing?
Does BackboneJS still have a place, or has React dominated?
I don't follow your logic here. Why would they need to drive more "junk miles" than taxis? It seems to me that there would be quite a bit more opportunities for optimization. How does the bottom line end up about the same as current car sharing services when you have removed one of the largest costs? Availability also seems easier to manage than with a fleet of people driving...
While the Liberals (conversatives in Australia) have the lower house, they don't have the majority in the upper house, making it more of a house of review than a rubber stamp.

The PM is elected by the parliament, and often disposed of when they're seen as not doing the job. More turmoil, but avoids a lame duck at the top.
It makes it trivial remark from a British national of no apparent affiliation, and therefore entirely uninteresting, except for the faux outrage being displayed as a result.
Show HN: Marketing Analyst on Demand
What's the performance of Amazon RDS like with Postgres? (Curious, never having used it).
Triplebyte (YC S15) is hiring our first Sales Engineer
I've been hearing from a lot more friends at companies that're spending marketing $s on channels beyond FB / Google / Twitter that they're spending a lot of time aggregating / analyzing data. Want to get feedback on this painpoint and what might make the offering more compelling.
Love the realtime updates. We made a similar tool (http://webhookinbox.com) because others weren't doing that yet. Always good to have options though!
Since you're the author, we put "Show HN" in the title, which is the convention when sharing your work on HN.
it's fine if you can leave with not doing any DBA stuff
It actually is almost nothing like the auto updating feature.

Finch is mainly used for A/B testing. It doesn't push actual updates, all it does it turn existing features (flags) on and off. It's used for quickly A/B testing or incremental rolling new features and is designed to be more agile.
We make things illegal for a reason. Often times, a very good reason. And there will continue to be very good reasons to ban things from society.

But just because we made it illegal once doesn't mean it should stay illegal.
Now they just need to support the Foreign Data Wrapper extension with egress connections. Really wish that was built in because FDW itself is amazing, and AWS RDS is easy to manage.
DroneBase (YC W15) raises from Union Square to pay any pilot for aerial footage
Yep. If you elaborate perhaps I will get exactly what it is you are trying to say. Are you trying to say "Critical thinking is hard and easy to mess up?" If so, then sure, I can see that. I just wish it was more of a thing in our culture...something that regular people regularly talked about.
Not sure, haven't come across it. Here's a pretty paranoid setup, can't totally vouch for it though https://github.com/drduh/macOS-Security-and-Privacy-Guide
I'm going to go out on a limb here, but don't you think Apple made "Emergency" plans leading up to Job's demise? Like 20+ years worth of "Emergency" plans? I wouldn't be surprised if the latest touch bar on the MBP was Job's idea.
IRV scrutiny has been successfully done by hand-counting for many decades before computer-assisted counting was available.
You pay for the underlying instances + storage provisioning, so performance is price-configurable.
I think superoscillation is a better description of the phenomena in E&M/optics.
Ah, I thought you had me there.

Aside from Art, the Tex books, his earlier work on computational complexity and the one on AI, isn't most of the rest of that his bound lecture notes?

His extremely long side rail into typography was mostly what I was talking about. Art was left unfinished that entire time.
It's basically what you get from a well configured EC2 instance.
Wow!!

Reminds me of this - https://youtu.be/L8lA1pNvcz4 go to 2:45

Basically this guy is talking about the "first PC virus" called "Brain." 25 years after the virus first appeared (2011) finds a street address in Pakistan in the source code, goes to that address, and the malware authors are still there.
Well put and spot on. The trouble with OO is it's not a data model. Objects aren't rows of a database table. Programmers mutate data fields of objects and enforce the consistency logic manually. As a thought experiment I've considered how you'd write, say, a window system in a logic language like SQL or Prolog. Which pixels are visible and which hidden by other windows? The answer is a join over entities like Window, Pixel, and maybe a ZOrder... something like that, you get the idea. All state transitions bounded by transactions. No way to throw your program into an inconsistent state.
So, in other words, find a new job if you don't make enough to justify getting paged. Right, OK.

That has nothing to do with this article, though.
The Australian Senate uses this method. One downside is since you only need a "quota" of the vote to get elected hundreds of single issue "micro-parties" contest the senate and you end up with the so called "tablecloth ballot paper". Eg. In this article you can see 394 names on the ballot paper.

http://www.dailytelegraph.com.au/news/nsw-state-election-201...
Just curious to know, what are the other apps in your toolset?
Update actually changes the binary/code of chrome. It pushes new features and content to you.

Finch only turns certain features on/off. It's used for A/B testing and incremental rollouts.

You can see a list of flags in chrome://flags

Mostly experimental stuff that will become full features soon, but until then they are behind a flag.

The two systems fulfill very different roles.
idk, plasma leaves a lot of slag and depending on the application requires substantial finishing work. mill is fine but has a limited work area (like this waterjet), and at least in my shop, cutter lifetimes aren't great. Thats probably because i don't have the best processes. Also holding down sheets well enough is a substantial hassle unless you're set up for a particular run. Metal routers are really noisy and are arguably more of a hassle than mills.

but I totally agree with your last point, its less convenient, but doing small to medium runs though a local water jet shop is pretty cost effective. Its mildly pricy but they will source standard material for you, and you pick up clean parts a day or two later. even ignoring maintenance - dealing with the up front cost, the consumable cost, and renting enough space to keep the thing is a pretty serious commitment. I have free access to a 4x8 cnc plasma gantry and I still send out quite a bit of work to the water jet place.
> Kind of like how neighborhood watch groups can supplement police

Is this a Sarcasm? :)
Sure, there were prisons in ancient times too. I think the 1829 example may be more relevant.
Awesome challenge.

Back when I worked in a C/C++ shop we'd use this as an in-person interview question for senior positions. The candidate was never expected to finish but more as a springboard to talk about the pro/cons and issues they'd seen with performance/etc of various approaches.
> If you have an method for requiring n out of m key parts to use the key, it is fairly easy to see how this can be used to require n out of m characters from a password.

It doesn't sound very easy to me at all. Can you explain in more detail?
Trump's plan to stop hackers
I've never worked with Grails, but used Groovy a lot from about beta-10 to v1.8, though have since moved on to other languages, even trying to bring Groovy-like ideas to those ecosystems, most latterly Go.

I'm positive about Groovy's widespread use for builds and scripts on the JVM, similar to the way Bash is used on Linux. It doesn't get used much for building actual systems, even though some of Groovy's project managers tried to repurpose it for that. I've long had concerns about Groovy's governance, and believe that's the reason for its problems, e.g. Pivotal, OCI.
https://github.com/nagadomi/waifu2x

Here's a previous project that attempted this as well.

https://arxiv.org/abs/1501.00092
Not OP, but here's some unsolicited thoughts.

While it's true that criminals, by definition, will break the law, all laws are not treated equally by individuals. Millions of people litter or speed despite the law, but I imagine not all who speed in a car also rob banks. It's my understanding that psychological, social, and legal thresholds are not the same for all people, nor are they binary (there's some really great research into ethics thresholds if someone knows of a link). Sure, adding an additional law might not deter the truly determined, but what about those who have a lower threshold for criminal activity? Why not call all manslaughter murder? Would those who commit suicide with a firearm (half of American suicides [1]) choose a more difficult and less immediate method?

So the question might be, how does changing a law affect those thresholds? Maybe we don't stop determined criminals or mass shootings, but maybe we can make a dent in the more than 20,000 Americans who choose to shoot themselves every year, or make a difference in urban gun violence.

That said, I personally believe that American society is probably too violent and too committed to gun ownership change anytime in my lifetime. We as a society value arguing about gun ownership over actually taking steps to reduce gun violence, or even gathering data on it. The folks that crack me up the most are the ones who say things like you can take my gun from my cold, dead hands because that'd somehow be a check on government power, despite the fact that the federal government possesses tanks and stealth bombers and whatnot. Bonus points if they also think net neutrality is bad, even though open information is demonstrably better for civic checks and balances.

[1] http://www.cdc.gov/nchs/fastats/suicide.htm
One of the things that programmers do that I find most frustrating is proclaim that the definition of words that they use is the objectively correct definition, and frame their entire discussion as an argument that other people aren't using words correctly. Pick any term and the kind of argument comes to mind - "type," "object," "metaprogramming," "dependency injection," "design pattern," etc.

This article has a lot of good content about testing strategies, as well as an introduction to some of the jargon used in a certain testing discourse, but the argument is framed as telling you that mocks aren't stubs, and you, the reader, have been using these words incorrectly. But the reader has only been using these words differently.

This is a very common pattern of behavior among programmers and I think it is worthwhile to push back against it, separately from acknowledging the useful information in this article. (And the grandparent comment you replied to also did some of this as well, of course!)
Exactly, if that kind of stuff is OK, then I'd like to make a public call to improve Cesar Chavez St for cars, as the last 'improvement' SFMTA did over there actually transformed the street in a parking lot! :)
ETC2Comp: fast texture compression for games and VR
Those who do not move do not notice their chains.
5 years ago I decided to become a Digital Nomad and it worked
As someone told me in college as we watched some Saturday morning cartoons: They don't need to make new cartoons because they keep making new kids.
They certainly invested a ton in their CES presence around the time when they launched. Their booth was rivaling in size other large, long established electronics giants.

Additionally, they bought the naming rights for the famous Chinese Theatre in Hollywood around the same time.
This is not new even if Ars' article is. My 2013 Nissan Leaf has the VSP, Vehicle Sound for Pedestrians. It's the law, passed in the US in 2010.

https://en.wikipedia.org/wiki/Electric_vehicle_warning_sound...

It sounds like an engine winding up. It's supposed to cut out at 18.6 mph, 30 km/h.

This is a good thing; I remember seeing my first EV, the GM EV1, in Noe Valley. I couldn't hear it as I jaywalked aimlessly in a residential neighborhood.
> it probably has more free speech than america

I am genuinely curious about this statement. Can you name something that you can say in Germany that I cannot say in the United States? I'm pretty sure I can come up with some examples going the other way.
The Future Has Already Happened
I fully understand the appeal of VR Goggles; everybody wants to escape. What I don't get at all is Apple's fixation with Augmented Reality instead of VR.

If they can make the augmented areas fully opaque, as opposed to translucent, I might be sold. Otherwise, a lot of use-cases will actually be pretty annoying.

The idea of ghost-like knick-knacks covering my field of view isn't very appealing. It reminds me of pop-up windows, only for real life.
How to identify unicorn employees within your startup
Meanwhile, SQL Server on RDS doesn't support increasing the data allocation. You can't even take a snapshot and restore to a new, larger, RDS instance. Oh and by the way, SQL Server has been "supported" since 2012.

Obviously it's not their focus, but this is a fundamental selling point to cloud DB's.
Worse: Delaware
> Is the angle -90 equal to 270?

> Is the quotient 1/2 equal to 3/6?

I think these are good examples that come up in the real world a lot. The representation structures we use are not sufficient for precise specification. So we have to overspecify (making a superfluous choice in representation, -90, 270, 630?).

My opinion still is that data must be normalized with explicit procedure calls. Doing stuff implicitly is neither beneficient to efficiency nor to comprehensibility. Explicit normalization allows to leverage what the compiler _can_ infer.

The other questions I have to return because it's not even clear to me, "Should they be"?
And is it HIPAA certified yet? Because the lack of that is what made me spend a week porting a project to use RDS/MySQL just a little while ago. We've been told it's coming Real Soon Now since last year.

I wanted to use PostgreSQL for a whole host of reasons, but not so much that we wanted to certify our own instances.
Oh come on, there's always time for fun :)
*self-deprecation

Although IMO self-deprecation is often also self-depreciation, for some liberal interpretation of that word in this context, but I doubt that's what you meant.
You max out at 30,000 IOPS so about 1/3 of consumer grade SSD or 1/10 of a decent PCIE SSD.
I got as far as getting the login/password combination for the admin pages and I tried using those multiple ways, but I am definitely not well-versed enough to go further. An intrusion attempt is detected each time.
On a slightly tangential topic, what is Amazon doing with aurora?
> Despite the rule, however, Police Chief Michael Jannone said the two young businessmen were not arrested or issued a ticket, and that the police’s concern was about them being outside during dangerous conditions, not that they were unlicensed.

So basically everything said before that line was a bold-faced lie.
The police don't protect people against criminals - they only attempt to bring criminals to justice.
Tim explained his reasoning by professing that everything that's meaningful in computing is based on people. With that reasoning VR replaces reality; AR improves it.

Plus it aligns with Apple's message/direction.
Welcome to Earth.

(I wanted to say "America" but then I remembered that things like that happen everywhere, it's just human nature)
You seem to be an employee of a three-letter organization involved in domestic surveillance. Are you not?
It would have hurt to have the USB-A ports because that would have led to slower adoption of USB-C. All USB-C means that device manufacturers can't ignore it for as long, esp. for manufacturers that want to have their products featured in Apple stores.

So it is a bit painful for the end user, but in the long run everyone benefits from quicker adoption.
A bicyclist can get past any inconveniently parked vehicle, with some effort.

Cars, OTOH, just have to stand there and wait, and it doesn't take many minuted for a major gridlock to form.

And that's why I think it's reasonable to block bike lanes over car lanes. Why you have to block anyone is maybe the more important, but much harder question.
Yet AMD cards under linux are complete misery

Driver support going away after a few years, random issues, etc

Every single nVidia card I used under linux just worked TM (ofc I'm not "pure" because I really couldn't care less about open vs closed drivers)
Good call, writing C/C++ without having a grip on memory allocation is a recipe for exactly the kind of disaster we're in right now :)
Every shred of evidence we have is that violent crime is decreasing whether we make guns illegal or not.

Also, in the US, significant gun ownership is for the 2nd Amendment purpose of being a safeguard against a tyrannical government.