You can use links if you want:

plaes.org

Entries tagged “hacking”

You cannot compare apples to mozillas

written by plaes, on Oct 7, 2009 8:49:00 AM.

This bug took a month of back-and-forth, but finally it has landed...

2009-10-06  Priit Laes  <plaes--plaes.org>

    Reviewed by Gavin Barraclough.

    Linking fails with "relocation R_X86_64_PC32 against symbol `cti_vm_throw'"
    https://bugs.webkit.org/show_bug.cgi?id=28422

    * jit/JITStubs.cpp:
    Mark cti_vm_throw symbol as PLT-indirect symbol, so it doesn't end up
    in text segment causing relocation errors on amd64 architecture.
    Introduced new define SYMBOL_STRING_RELOCATION for such symbols.

The patch itself can be seen here. Next up is bug 29244 which might take even longer...

25% done...

written by plaes, on Apr 29, 2009 9:01:00 AM.

I have managed to fulfill the requirements for "Models of Industrial Mathematics" and "Practical Course in Electronics", which means that almost 25% of subjects has been successfully completed. :)

Of course things that are left, aren't the easiest courses in the curriculum - Optics + labs, Theoretical Physics I, Mathematical Physics III, Structure of Matter, "Security and Defence Technologies". For all these I have ~3 weeks until GSoC starts...

And something bit different: I managed to cause a new release of libopenraw :)

Zine post preview support

written by plaes, on Apr 23, 2009 5:59:00 PM.

Instead of studying for last optics test I got distracted a bit decided to write some code for Zine - post preview support.

Although this is still half-baked and shouldn't be enabled on live blogs, it works. I just posted it to get some preliminary review.

Edit: I have uploaded a new version of the patch which adding some more error handling plus few usability enchancements (like flash notifications).

Some sympy hacking

written by plaes, on Apr 11, 2009 10:19:00 PM.

I went through my local sympy branches and cleaned up some smaller fixes in order to submit them upstream. I did not push the PDE stuff yet, as I feel it needs some more testing. So only four patches this time:

Added corner case for Bernoulli equation.
Small cleanups to the ODE solver and tests.
Fix typo: s/trascendental/transcendental
Fix path to aboutus.txt url.

And also a small note to myself how to publish and delete remote branch:

git push server local_branch:remote_branch
git push server :remote_branch

Mesa fix for amd64 no-multilib

written by plaes, on Mar 27, 2009 9:14:00 PM.

While testing mesa 7.4_rc2 I ran into a weird build error where some file was requiring a stubs-32.h file. So today, when I was trying out X11 overlay I had already b0rked my system and I did not feel like going back I decided to look into this issue.

Turns out that the culprit was /usr/bin/makedepend which did not know that it was running a 64-bit machine, setting the default __WORDSIZE to 32-bits and well.. causing the include of stubs-32.h instead of the 64-bit one. With gcc it works fine as it defines both __x86_64 and __x86_64__ and therefore right stubs file is included.

You can fetch the fix from here and I can continue fixing the mess left over from libxcb's library removal.

[EDIT]: It seems that the real cause of these build failures were caused by depend files that came with the tarball.

jquery ui coolness

written by plaes, on Mar 21, 2009 7:50:00 PM.

Today I played again a bit with one of my pet-projects - Poker Square and upgraded it to use jquery-1.3.2 and jquery-ui-1.7.1

I wish I could say that the migration was painless, but I run into one small problem caused by my own sloppy javascript skills :P Fortunately fix came quickly and then I decided to take a peek into jquery ui's awesome theming support.

Adding theming support for widgets was easy - I just had to include the required CSS file and then reload the page. It just worked.