Search results

  1. expl

    pthread basics and contention

    You have to post your code for anyone to point out your mistakes.
  2. expl

    User-space callback for file created, modified, or deleted events

    Kqueue API does support directory monitoring since they can be opened and have regular file descriptors. However it has a drawback, it does not notify what file exactly was deleted/created/modified so you need to implement a comparison mechanics from previous event to know what file changed.
  3. expl

    FreeBSD threads + backtrace

    It is not easy to figure out memory access problems just by looking at the source. You need to compile everything with debugging symbols and then provide a crash dump file or analyze it yourself.
  4. expl

    <cmath> and namespace std

    Well it seems like the overloading function double fabs (T x); was not ported/implemented on our C++11 library, so just use the C version directly.
  5. expl

    Git

    I'm not entirely sure what you are trying to do, but this should do the job: git filter-branch --subdirectory-filter MySubDir -- --all
  6. expl

    Justdelete.me

    The golden rule of the Internet: Once it gets on Internet it stays on Internet forever. Somewhere on someones cache/archive. Deletion is just an illusion :)
  7. expl

    FreeBSD and processors.

    No, thanks! It'd be a nightmare for software developers.
  8. expl

    Adding new executable formats

    In regards to Mach-O, as long as the executable is in x86 I don't think its hard to implement a loader as OSX shares most (if not all, not sure) system calls with FreeBSD. You probably can hack up a CLI (without cocoa) program loader in couple of weeks. There is a Darling project for Linux that...
  9. expl

    Typing Test

    http://10fastfingers.com/speedtests/generate_screenshot_result/361_1803_0_0_346_0_100_1_115119 WPM - 361 Keystrokes - 1803 Position - 1 of 115119 Typing is so '90s... Let the software type for you. (Paste the snippet in your JavaScript console once the page loads.) var _words = $('#row1...
  10. expl

    pifs - store your files in π

    pifs - store your files in π https://github.com/philipl/pifs Who said you need a hard disk to have some storage.
  11. expl

    kvm_t fields

    If you are dealing with tracking definition on regular basis, perhaps using an IDE would be a good solution. Most IDEs support definition tracking and will parse/search headers for you.
  12. expl

    Create array from phrase using Pascal

    The Windows Skype client UI is written in Objective Pascal.
  13. expl

    Ruby is giving me a headache

    It's a crappy app if it does not have any custom tests, should encourage your client/developers to add them if so.
  14. expl

    Parsing JSON structure dynamiclly

    In http://json-lib.sourceforge.net/usage.html look for "Convert to DynaBean:" example. I think this is what you need, no? You parse JSON to an abstract object that you can then parse and do dynamic type casting to Java native types depending on JSON field type.
  15. expl

    Parsing JSON structure dynamiclly

    Check out JSONlib. It can parse the JSON string to an abstract object that you can then analyze programmatically. Should not hate JSON, hate your JSON support :D. I prefer JSON serialization over any other format, because it is quite compact and well supported.
  16. expl

    Spyder IDE

    I think you are referring to tailors. Real programmers have shaky hands from all the coffee and eye sight of a mole. Most experienced programmers are lazy and will avoid 'reinventing the wheel' situations at all cost, so it really depends on what they started off with. Be it an IDE or a bunch...
  17. expl

    Spyder IDE

    I have tried many IDEs for Python and my current choice is PyDev + Eclipse, specially if you are going to mix in other programming and/or markup languages in your projects (other than Python). This works best especially for big projects. But if you are after a minimalistic IDE and have slow...
  18. expl

    Type *.o files. How does one edit?

    Unless you have solid understanding of ELF format and assembler, I would not recommend trying to edit the object files. Unless you have plenty of time to learn reverse engineering, in that case I would recommend starting with some more simple examples and work your way up. Is there no way for...
  19. expl

    Drawing a single pixel (without X)

    No, not really. It is very similar to libvgl at API level as well. You can draw your pixel just in as many lines and there is no need to check maximum color depth and screen resolution as you can safely assume that every console supports all SuperVGA modes as it is no longer 80s :D.
  20. expl

    Drawing a single pixel (without X)

    It is not really low level, quite the opposite. If you want to go with low level you might want to look into source code of the library itself, how it 'talks' to the hardware. Also if you want your code to be portable outside BSD I'd suggest using SVGAlib they are both implemented very similarly.
Back
Top