Better HN
topnewbestaskshowjobs
Log inSign up

jakubw

162 karma · joined Oct 13, 2011 (15y ago) · 59 submissions

Jakub Wieczorek

GitHub: https://github.com/fawek

E-mail: [username]@[username].net

Submissions

comment 13y ago · link · parent

bsdiff is not a general purpose binary delta algorithm, it's targeted at executables. When you change a single line in the source code of a program and recompile it, bsdiff produces a small diff, even though a normal binary diff between the old and new executable would be huge due to how even a single extra instruction can cause many more addresses to shift. bsdiff wouldn't be particularly useful here.

comment 14y ago · link · parent

Presenting this screen before you can actually get the OS does not make much sense for new users. They won't know if "hardware support on more PCs" or "performance optimisations" will be any important for them. It'd be more sensible for this to show up as a built-in screen after you've used Ubuntu for a few months.

comment 14y ago · link · parent

Great Britain is the island. Scotland would find it very hard to leave it.

comment 14y ago · link · parent

Relevant: http://thedailywtf.com/Articles/The-Speedup-Loop.aspx

comment 14y ago · link · parent

I've used Qt a lot. In fact, I'm still a big fan and wasn't trying to sound negative about it in any way. I absolutely agree that Qt does a tremendous job at abstracting away the differences but still, it's the little details that matter and no toolkit could address them all. Things like ribbons on Windows. Multi touch support, cover flow and proper OS X-like multiple window management on Mac. Not to mention mobile. For big applications, these glitches add up and in no time you find yourself resorting to way too many native workarounds.

But my main point was to that cross-browser Web toolkits and cross-platform GUI toolkits are apples and oranges. On the Web there are no UI guidelines. It's essentially free for all. The chrome of the Web browser constitutes a clear separation point between the native experience and the Web experience, which makes it possible for things like Gmail not to feel hostile on Mac, Linux, Windows and any other Web-enabled environment. Whether or not that's good for UX is irrelevant, the fact remains is that Web apps have never tried to integrate seamlessly with the look and feel of the host environment and the users have grown accustomed to that.

comment 14y ago · link · parent

The difference is that each environment for non-Web apps - Mac, Windows, KDE etc - has each own somewhat well defined look and feel, that applications should follow in order to feel native. That's not true for Web apps in different Web browsers - they are supposed to look the same. Qt compromises that native experience by letting you target multiple platforms. For Web toolkits, at worst you'll end up with an app that doesn't stand out (e.g. by using Bootstrap) but certainly not with one that won't blend in.

comment 14y ago · link · parent

Direct URL: http://code.google.com/p/collide/

comment 14y ago · link · parent

Some syntax highlighters, such as highlight.js [0], can do language detection and it works reasonably well with short snippets too.

[0] http://softwaremaniacs.org/soft/highlight/en/

comment 14y ago · link · parent

Ruby seems to have fixed it in December, PHP in January and Node was trying to get a fix in for v8 but it's been rejected AFAIR and then they patched their version. Perl hasn't actually been vulnerable for a couple of years.

comment 14y ago · link · parent

I like how it displays the weather in each participant's location, now I can shorten the usual opening chit chat to a minimum.

comment 14y ago · link · parent

http://news.ycombinator.com/item?id=3717754 I don't think you'll get different results 9 days later.

12.

IMDb Data Analysis in Pure SQL(jakubw.net ↗)

9 points · by jakubw · 14y ago · discuss

comment 14y ago · link · parent

Well, mine had falling snowflakes even when it was summer.

14.

Show HN: A super simple Python module for working with URIs(github.com ↗)

2 points · by jakubw · 14y ago · discuss

comment 14y ago · link · parent

If you're really concerned about people not contributing back their changes, I'd first consider whether it'd be due to their unwillingness or maybe a cumbersome process of doing that.

For instance, I can't find anything on the website that would explain how to submit a patch. There's a mailing list and it'd be great by 2002 standards. Hosting this on GitHub (or any other site with a forking workflow that's just as smooth) would probably solve your problem without having to resort to imposing legal restrictions. There still would be a few companies/people unwilling to help but only a considerable minority.

comment 14y ago · link · parent

They bothered with the $5 account because by stealing a wallet, they'd not only acquire its balance but also any future incoming transfers to one of its addresses.

comment 14y ago · link · parent

I couldn't find a link to the source code but it seems to be this project on GitHub: https://github.com/toolness/collusion

comment 14y ago · link · parent

There is a bunch of ways to distinguish important updates from the others. First, prioritize updates from projects I am or have contributed to. Second, updates from people close to me in the social graph (i.e. the people I watch on GitHub or people who belong to the same organization as I do). The frequency and size of updates should matter too - an usually silent project with a big update should have an advantage over noisy projects. Filtering out typical bugs (or commits/PRs fixing them) from the top priority ones should be fairly easy too - all the information is already there (comments, labels). Finally, you can go insane and start analyzing the actual code or even use NLP for commit messages/pull requests/bugs and make decisions based on that (for instance, prioritize projects that use similar tech as I do, changes that mention me or touch the code I've created or touched recently).

No need to turn off anything, just make it smart.

comment 14y ago · link · parent

Here it is: http://abcnews.go.com/GMA/video/frontier-digital-education-1...

comment 14y ago · link · parent

In an interview, David Evans, who teaches the search engine class, said Udacity's business model will be recruiters paying for access to the top students.

comment 14y ago · link · parent

You don't need to look too far for examples. Even on this very site, there are quite a few people who want to make a huge difference with their lives in one way or another before they're 30 or 40. Because they know they probably won't have another shot at it later on. What would that number be if they had an infinite number? Many wouldn't probably ever get around to try.

comment 14y ago · link · parent

This doesn't look like a good framework for GAs. It assumes that the best solution to a given problem is explicitly provided but if it is, then there's no point in running a GA any more. A good framework would only represent the genetic data in the form of a binary string but evaluate the fitness using an external function that actually extracts meaningful information from the string. Shameless plug: here's an example I wrote in Coffee: https://github.com/fawek/distributed-monalisa-evolution/tree.... It also makes it somewhat easy to distribute the evolution to multiple populations which can reside in different processes or machines.

Another problem with GAs that model individuals as arbitrary binary strings is that they unnecessarily create a lot of invalid strings that don't correspond to the solution space of a given problem. Sometimes it's easy to convert the solution space to the entire sequence range of 0 and 1s but sometimes it's not.

comment 14y ago · link · parent

The Python version seems to be using an interpreter that frankly just doesn't work:

    x = [1, 5, 3, 2, 6, 4]
    x.sort()
    print x

    Output: [1, 3, 2, 4, 5, 6]
Not to mention the incomplete standard library. I'm not sure what is the interpreter they're using but it's actually not that hard to sandbox the CPython one and disable certain functions/modules if necessary.

comment 14y ago · link · parent

So this is something I hacked on for the past two days. It's a bit different than the numerous implementations that have been posted on HN before. It shows how Mona Lisa evolves on all the browsers visiting the site and sometimes migrates individuals to a different client in order to boost the local populations with better genetic material, yet at a rate that tries to maintain the diversity at different nodes. Feedback will be very much appreciated!

25.

Show HN: Distributed version of the Mona Lisa evolution with migrations (Node)(jakubw.net ↗)

2 points · by jakubw · 14y ago · 1 comment

comment 14y ago · link · parent

Would it make sense to include the error image in the format to make the compression lossless? As I see it, if the final fitness is high enough, the error image should be highly compressible?

comment 14y ago · link · parent

One way to quickly find code that uses -webkit- only CSS properties is to use the GitHub's code search with queries like: language: css +"-webkit-" -"-moz-".

comment 14y ago · link · parent

You could just use SHA-256. If it does collide then Path's malfunctioning will be the last of our concerns. :-)

comment 14y ago · link · parent

It's not exactly the same thing. To serve targeted ads, you need to associate the information you inferred from e-mails with individual users (and with so much data that goes through your Gmail account, that means building a very accurate profile of the user: their interests, buying habits etc.). To filter out spam, you don't need all that. In fact, you can build a pretty decent spam filter that is entirely contextless i.e. classifies e-mails without knowing who's the recipient.
12