HN user

thesystemis

344 karma

developer of openframeworks (openframeworks.cc) and artist (daily code sketches: http://instagram.com/zach.lieberman)

twitter.com/zachlieberman

Posts7
Comments62
View on HN

last year I made a resolution to do daily code sketches for fun:

https://www.instagram.com/zach.lieberman/

I have learned a great deal from the act of daily coding and treating code like a creative medium without any pressure on what I make or why. I found myself tackling hard challenges so I wouldn't get bored and learning a variety of new tricks to help make the sketching easier. I wrote about the process here:

https://medium.com/@zachlieberman/daily-sketches-2016-28586d...

I think daily activities are the best for growing -- short, concentrated, and limited in scope and can fit with the rest of your life.

Land Lines 10 years ago

sorry! this is a bug based on how many events the mouse is firing and I've open an issue for it -- I will take a look at the app with a gaming mouse and work on a fix.

Land Lines 10 years ago

thanks -- do you know what graphics card that is? also you can try enabling "Override software rendering list" in chrome://flags/ -- I don't have a great handle on what gpus are blacklisted, but I know there are some that are.

putting this in the address bar can give you a lot of info as well "chrome://gpu"

Land Lines 10 years ago

I'm not on the data arts team (I collaborated with them on this) but I'll ping them to answer.

This was a passion project, they approached me with a set of data -- satellite images, and we discussed different ways of visualizing them, etc.

Land Lines 10 years ago

thanks! I am using a metric from the dollar gesture recognizer

http://depts.washington.edu/madlab/proj/dollar/index.html

which gives a value for how close to polylines are (it normalizes them and does some distance calculations)

the way the vp tree works is you provide a set of data and a metric for distance (in my case, the data was the polylines and the metric was from dollar) and it computes the structure. As long as the metric observes some basic principles (I think it's called triangle inequality) the spatial division will work and you can do a fast search for nearest neighbors.

Land Lines 10 years ago

no it's a really good question! I think this just has to do with the line detection algorithm and it tending to find more curves than sharp angle lines -- this is what the matches look like when you draw a Z:

http://imgur.com/a/YErmM

they are not as good as when you draw a curve and I think it's just trimming based on general poor matches. I've found if I round the Z or make the angle less extreme I can get better results.

Land Lines 10 years ago

the matching is based on the input (lines from the line detection) and we do some tricks to try to get better matches if the results aren't great. One trick is for matches that aren't super great, we start to trim the line slight from the start so if the first pass is a bad match, we try 95% of the line (ie, the last 95%) then trim is some more, etc.

another thing to note is that the app progressively loads data in the background so you get better results after the first minute or so once all the data is loaded -- the app launches with only 20% of the overall data.

Land Lines 10 years ago

sorry to hear that! can you provide more info about your platform? this app uses webgl and we check for webgl support when the page loads.

Land Lines 10 years ago

also another tip -- you can click on the city name in the left corner to load the same view in google earth (if you are curious about what you are looking at!)

Land Lines 10 years ago

the line is limited to a certain lengths since simpler lines (curves, etc) provide better matches

Land Lines 10 years ago

I helped make this (with the google data arts team), happy to answer any questions about it.

I don't think it's wrong to argue that point, ie, "I wish this reporter would understand how we work to create a safer environment, look at the stats, etc" but I think it's far out of line to go beyond that and assign "personal responsibility" to someone who is arguing against your product, especially around these sort of crimes. To me, that seems like taking the argument to a really personal place and also, trivializing what should be a serious discussion.

sorry I respectfully disagree -- here a SVP of a company is essentially saying, "by recommending people to not use my product, you are responsible if they get assaulted" -- it's essentially shifting the blame around a sex crime in a way that to my eyes really minimizes who is responsible for such crimes, the perpetrators. It's also such a flippant remark that it seems to me to show a callous indifference to what it means to be a victim of such a crime.

ps, agree with scarmig's point -- he's not "blaming the victim" but it does feel like shifting the blame, which minimizes what these crimes mean.

I don't think he's pissed off because she's a woman, he's pissed about because she's critical. Still, when he says someone will be "personally" responsible for someone's sexual assault, he's essentially trivializing sexual assault. It's like saying that a rape victim is "partially at fault", it's wrong, indefensible and misogynistic.

I am surprised not to see the word misogynist on this page. Here, a SVP is not only threatening a reporter and her family (which is truly repugnant) and reporters generally, he's also discussing sexual assault in such a trivializing way:

"He said that he thought Lacy should be held “personally responsible” for any woman who followed her lead in deleting Uber and was then sexually assaulted."

The top comment on this page talks about a "visceral" feeling, I had the same one. I had the same feeling I had when I heard things like Todd Akin (a politican in the US) talking about "legitimate rape." Do we really want people like this shaping our future?

note that this book has some significant bugs (I remember specifically a faulty quadratic equation that I was stuck on), but I don't think you use this book for the code, which is pretty outdated. This book is useful as a reminder that things like photoshop are driven by algorithms, many of which are not rocket science but rather, fit in your pocket.

One thing I particularly like about this book is that the author used photographs of his child that look super unhappy. After applying filters to them, she looks even more unhappy. It gives the book a dark and foreboding feeling.

Anyway, I always show this book to my students (along with processes like saving a raw image and opening it in audacity as a sound file, the custom tool in photoshop) as a means of demystifying image processing.