Live data from Hacker News

Viewing profile — t0mek

t0mek

HN member
Joined
Sat, Feb 27, 2016, 5:00 PM UTC
HN karma
663
Public activity
91 items

About t0mek

Site: tomek.rekawek.eu Blog: blog.rekawek.eu

Recent public activity

  1. comment
    Comment #48049663

    I like the "challenges" part at the end, especially the varying difficulty levels: * A quadratic formula program, which outputs the number of roots and the x-intercepts upon the us…

  2. comment
    Comment #47534604

    Only tangentially related (but hey, it's HN) - I'm so happy about the support/requirements for trailing commas in the modern language syntax: x = [ 123, 456, 789, ]; It makes editi…

  3. story
  4. story
  5. comment
    Comment #44464587

    Not a tutorial per-se, but here are 2 slides describing how I've done it: https://www.slideshare.net/slideshow/emulating-game-boy-in-j... Essentially, there are 4 channels, each pr…

  6. comment
    Comment #43680879

    Famous example from the pop-culture is Burr vs Hamilton: > If you stand for nothing, Burr, what'll you fall for?

  7. comment
    Comment #43381126

    The article doesn't mention the recent development in Amiga extension cards - PiStorm is an easy (and affordable) way to max out the specs of any Amiga, A600 included.

  8. comment
    Comment #43381118

    I've always seen A600 more like a budget version of A1200 rather than a new variant of A500: better graphics chip, IDE port, PCMCIA and new look-and-feel of the Workbench 2.04 (at …

  9. comment
    Comment #42911602

    12 years ago, when we already had Arduino but no ESP32 yet, I built this thing: https://newton-net-pl.translate.goog/2012/01/robot/?_x_tr_sl... It was made of an old HTC Magic phon…

  10. comment
    Comment #42369058

    Yes, the liar have some hats. There are two ways how to conclude this: 1. If they don't have any hats, then any sentence about them would be truth. 2. The negation of the sentence,…

  11. comment
    Comment #41982785

    Programming a chess program was an important challenge for the "first generation of hackers" working on the mainframe machines like TX-0 and PDP-1 in '50 and '60, as described in "…

  12. comment
    Comment #41935478

    I love the slow pace of the video, including a few minutes presentation of all available programs. And indeed, there are programs to test dice and coin bias: * https://youtu.be/bJi…

  13. comment
    Comment #41315930

    We can also assume that the p/q=√2 is already the simplest form of the fraction, since every fraction must have one, as in the first section of the article. Then if we figure out t…

  14. comment
    Comment #40866308

    Similar, but in Haskell: https://github.com/DataKinds/sixty-five-oh-two It's a DSL for writing 6502 assembly.

  15. comment
    Comment #40537125

    A few years ago, I spent a fair share of time trying to copy files from and to a Macintosh Plus. I decided to use a 100 MB ZIP drive (actually two of them, SCSI for the Mac Plus an…

  16. comment
    Comment #39202907

    And if you have even older Mac (128/512/Plus) and want to use an almost modern PS/2 keyboard with it, please check my https://github.com/trekawek/mac-plus-ps2

  17. comment
    Comment #39142967

    Same with Dell P3223QE.

  18. comment
    Comment #38745487

    I remember having similar effects after long sessions of Lemmings. I saw the damn rodents when I was closing my eyes in bed, but it didn’t disturb my sleep (I guess they acted as s…

  19. comment
    Comment #38725986

    Trivia: this one was created by Adrian Zandberg, currently a Polish MP.

  20. comment
    Comment #38488604

    This is similar to Kotlin single-expression functions, which are actually pretty useful: fun double(x: Int) = x * 2 https://kotlinlang.org/docs/functions.html#single-expression... …

  21. comment
    Comment #36420994

    The results are correct, but the explanation is wrong, e.g.: By using our Celsius to Fahrenheit conversion tool, you know that one Celsius is equivalent to 33.8 1000 C = 1000 x 33.…

  22. comment
    Comment #36012908

    Hey, SBC: result = byte1 - byte2 - carry carry = result 0xff return result & 0xff Source - my implementation, passes tests. Look for SBC & ADC in https://github.com/trekawek/coffee…

  23. comment
    Comment #35958762

    Procedural generation was also used to generate levels in the Pitfall game for Atari 2600. A single level was represented with a byte (!) and bits were controlling the number of ro…

  24. comment
    Comment #35826390

    Archived version of the original Mastodon post: https://archive.is/fM06z

  25. comment
    Comment #34556509

    https://aqi.eco/ Open-source, crowd-sourced air quality page. I’m running it for 3 years now. Owners of private air quality detectors can use it to built micro-communities in their…