News for hackers. Stuff that matters.

ileitch

Re:Ask HN: What's You Life's Work? on Wednesday December 14, 2022 @10:54AM (#33985270)
While I’m unsure I’ll be using Swift for the rest of my life, I’ll continue to work on my little tool to detect unused code for as long as I can. It’s my most popular open-source contribution, and it brings me joy knowing others find it useful.

https://github.com/peripheryapp/periphery

Re:Mozilla pulls Bypass Paywalls from Firefox add-ons store on Friday November 30, 2018 @04:37AM (#18567888)
I believe this is the idea behind the Brave browser and their Basic Attention Token https://basicattentiontoken.org
Re:The Case for More Traffic Roundabouts on Friday September 18, 2015 @05:47PM (#10242249)
One some larger roundabouts in the UK (and no doubt other European countries), they have traffic lights on the roundabout, between exits (I'm not talking about the entry lights). If one exit is totally blocked, these lights can allow traffic to continue out of other exits.
Re:The Case for More Traffic Roundabouts on Friday September 18, 2015 @05:42PM (#10242228)
I hear the argument "Americans don't understand roundabouts, therefore we wont build any" quite often in these kinds of articles. If you survey people about something they've never comes across before, of course you're going to get negative results.

If Americans can drive and talk on their cell phones, they can handle a roundabout.

Re:Easel Acquired by GitHub on Thursday January 09, 2014 @03:24AM (#7029396)
My initial reaction was acquihire. Though given their recent improvements to Pages [1], this acquisition could mean a push into the Easel market space.

1: http://pages.github.com/

EDIT: Just to point out why this is a big deal - What percentage of new sites are mostly static, presentational? Probably a slim minority. Whilst Github can't code your site for you (yet?), giving you the tools to develop your app layer and frontend - with some as-of-yet seen integration tools? - those are some very large slices of the pie. Don't forget Github pages is currently free too, perhaps there'll be a paid tier for dynamic sites.

I haven't tried Netflix, but I love that I can now see all the films in my queue that are available on iTunes.
Re:Comparing taste in films using pairwise vector comparisons on Thursday April 26, 2012 @12:13AM (#3892365)
Another thought is that there may be some ratio between quality and rewatability that signifies the first-time (but not repeated) watchability of a film.

For example, 5 stars for quality and 0 for rewatachability doesn't tell me I should watch the film if I haven't already. But maybe 2 stars for rewatability/subjective enjoyment is enough justification to watch it to appreciate the quality?

Re:Comparing taste in films using pairwise vector comparisons on Thursday April 26, 2012 @12:05AM (#3892342)
It'd be interesting to see the overall variance on quality vs. rewatachability. That could give some clue on the objectivebess of users' answers to quality. Perhaps quality is just one of those things that is more universally objective than it is subjective?
Re:Comparing taste in films using pairwise vector comparisons on Wednesday April 25, 2012 @10:02PM (#3892021)
Also, if you avoid the normalisation step you could easily factor in the degree at which user A liked the quality vs. user B, instead of just a 'more' or 'less' question.

If you factor your vector weights by the scale of your quality rating (0 - 10?) then if user A liked the quality film X vs. film Y +6 more points than user B's +1, this would give you a more accurate correlation.

Anyway, food for thought. A very fun problem to be working on!

Re:Comparing taste in films using pairwise vector comparisons on Wednesday April 25, 2012 @09:56PM (#3892006)
I think the weightings I describe above would give you that.

Say we start at 0 and user A likes the next move in both directions (+4) and user B only likes it more in one direction and the same in the other (+2) then you're still going to get a positive correlation, just a slightly lower one than if both users liked it in both directions.

R([0, 4, 4], [0, 4, 4]) = 1.0

R([0, 4, 4], [0, 2, 4]) = 0.852

R([0, 4, 4], [0, -4, -4]) = -0.9

Re:Comparing taste in films using pairwise vector comparisons on Wednesday April 25, 2012 @09:24PM (#3891930)
I assume each vector has its own weight? So better in "Better in both respects" is a stronger sign of similarity than just "Higher quality but same rewatchability."

So say.. "Same in both dimensions" = 0 "Same quality but more rewatchable." = +1 "Same quality but less rewatchable." = -1 "Higher quality but less rewatchable." = +2 "Higher quality but same rewatchability." = +3 "Better in both respects." = +4 etc..

Then you could pass those to a coefficient like Pearson's R.

x = [0, 1, 2, -1, -3, 4, -4] y = [0, 1, 1, 2, -1, -2, 0]

It'd be an interesting experiment to see what results that gives vs. your current algorithm.

Re:Comparing taste in films using pairwise vector comparisons on Wednesday April 25, 2012 @08:35PM (#3891817)
Interesting read. Vector Victor sounds like a linear correlation algorithm. I wonder what coefficient they're using under the hood...
Re:IRB session to existing ruby process. on Wednesday January 25, 2012 @10:49AM (#3510129)
Can be used to diagnose memory bloat issues by inspecting ObjectSpace.
Re:IRB session to existing ruby process. on Wednesday January 25, 2012 @09:51AM (#3509876)
I've not worked on Hijack in a while. Seeing as there is still interest for it, I'll give it some love soon (I think it needs some updates for 1.9.3).