protopete's comments

protopete | 2 years ago | on: HTML, the Programming Language

Hey I noticed that the division code example is using the "ul" tag instead of the "div" tag. Thanks!

Edit: nevermind, but the comment still says "This ul tag"

protopete | 5 years ago | on: Show HN: Friendly Fire – Open-source, Metroidvania-style game in the browser

Likely a bug. I carried the skull item and got this error when trying to dance:

  Uncaught Error: Frame tag not found: dance-carry
    getTaggedFrameIndex Aseprite.ts:140
    update Player.ts:859
    update GameScene.ts:424
    update Scenes.ts:130
    update Scenes.ts:128
    update Game.ts:107
    gameLoop Game.ts:86
  Aseprite.ts:140:18
    getTaggedFrameIndex Aseprite.ts:140
    update Player.ts:859
    update GameScene.ts:424
    update Scenes.ts:130
    forEach self-hosted:216
    update Scenes.ts:128
    update Game.ts:107
    gameLoop Game.ts:86
    gameLoop self-hosted:1171

protopete | 8 years ago | on: Creator of “Ren and Stimpy” Accused of Preying on Underage Girls

Me too, this feels like another case of better off not knowing. Being a childhood fan of Ren and Stimpy cartoons, and having read the article realizing that Katie Rice worked for Spumco, now I get why I like the art style for Katie's webcomics Skadi and Camp Weedonwantcha. I really hope the content of the article isn't the reason for the current hiatus of the camp comic. I was really struck by her quote at the end about wishing she hadn't gone through it even if would have made her a less skilled artist.

protopete | 9 years ago | on: Show HN: Build a robot with the $9 C.H.I.P. Computer

I got this Arduino bot for $70. Has its own battery for sufficient power. The motor gearing is a bit fast, so it's better to use PWM to slow down the motors, except the default pinout disables PWM on the drive gpios when the servo is enabled. The build quality is ok, except there are no spacers for the bolts between the PCBs and acrylic base, so I worry about damaging the PCB during assembly.

https://www.amazon.com/Elegoo-Four-wheel-Ultrasonic-Intellig...

protopete | 10 years ago | on: Sct – set color temperature

I was able to compile it on Ubuntu after moving the X11 includes to the bottom of the list:

  #include <stdio.h>
  #include <strings.h>
  #include <string.h>
  #include <stdlib.h>
  #include <stdint.h>
  #include <inttypes.h>
  #include <stdarg.h>
  #include <math.h>
  #include <X11/Xlib.h>
  #include <X11/Xlibint.h>
  #include <X11/Xproto.h>
  #include <X11/Xatom.h>
  #include <X11/extensions/Xrandr.h>
  #include <X11/extensions/Xrender.h>

protopete | 10 years ago | on: Things Rust shipped without

Passing a null pointer to free() is perfectly safe, and in this case simplifies the cleanup code.

Although the concern of a memory leak is valid. I would have expected the resources to be free'd regardless of the result.

page 1