News for hackers. Stuff that matters.

protopete

Re:Linux: Make the Kernel Cute on Monday September 22, 2025 @06:41PM (#45340508)
There's a time and place for anime catgirls and it's

EVERY TIME I OPEN A DAMN WEBPAGE BECAUSE OF AI CRAWLERS

Re:HTML, the Programming Language on Monday December 04, 2023 @02:01PM (#38521516)
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"

Re:Knowledge is like a house of cards on Thursday May 05, 2022 @05:03PM (#31278385)
Check the "font-feature-settings" in the body style CSS. The "case" 1 when changed to 0 makes the text normal on Firefox.
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
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.
Re:Online flag waver on Tuesday March 20, 2018 @04:16PM (#16632143)
Why would I want Amazon charging their drones from my car?
Re:Tesla “Camper Mode” (2016) on Wednesday October 18, 2017 @08:00PM (#15504369)
> Perhaps we need a Model W the Westfalia edition :-).

http://cafeelectric.com/stretchla/

And that the floods lasted exactly 420 seconds and 666 seconds, those script kiddies are pretty creative when choosing numbers.
Re:Show HN: Build a robot with the $9 C.H.I.P. Computer on Wednesday November 23, 2016 @01:28PM (#13024623)
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...

Re:Alan Kay has agreed to do an AMA today on Monday June 20, 2016 @06:42PM (#11942177)
Re:Removing support for Emacs unexec from Glibc on Saturday January 30, 2016 @12:32PM (#11002767)
I logged in to say the same thing. More info here: http://perldoc.perl.org/functions/dump.html
Re:Sct – set color temperature on Monday November 16, 2015 @03:11PM (#10576822)
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>
Re:Things Rust shipped without on Friday July 03, 2015 @07:34PM (#9828479)
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.

Re:Livecoding.tv (YC S15) Is Twitch.tv for Coding on Monday June 29, 2015 @06:18PM (#9801545)
HTML5 video doesn't work with live video unfortunately, while flash RTMP streaming does. Alternatives include MPEG DASH and Apple HTTP Live Streaming, but not all browsers support them.
Re:Magic on Sunday February 22, 2015 @11:24AM (#9089839)
Yet another technology lifted straight out of an anime: Eden of the East [http://en.wikipedia.org/wiki/Eden_of_the_East] where contestants compete to win a reality game with access to a concierge by phone backed by a staggering sum of money.
Re:Go Escape Analysis Flaws on Thursday February 12, 2015 @08:27PM (#9042378)
Still, s/Go/Golang/ would help clear up any confusion.
Re:Higgs JavaScript Virtual Machine on Sunday November 16, 2014 @10:08AM (#8614333)
AOT: ahead of time

JIT: just in time

Compiler applies to both of them.

Re:Prime number patterns on Tuesday November 11, 2014 @12:16PM (#8590923)
2310
Re:Who wrote the text for the Ctrl+Alt+Del dialog in Windows 3.1? on Tuesday September 02, 2014 @05:22PM (#8260236)
I was confused too, until I clicked all the links in the article and it was referring to this one: http://blogs.msdn.com/b/oldnewthing/archive/2009/10/21/99102...
Re:Sugar: the evolution of a forbidden fruit on Monday August 11, 2014 @05:46PM (#8165503)
HFCS is metabolized primarily by the liver, unlike sugar.

http://ajcn.nutrition.org/content/86/4/895.full

Re:Extracting audio from visual information on Monday August 04, 2014 @06:00PM (#8134299)
I think it unlikely that pre-existing footage can be used, because HD video is almost always compressed, thus masking the minute vibrations in the pixels. The algorithm described in the article work best for uncompressed video directly from the image sensor, and they can run it in real-time without needing to store the video.
Re:Twitter's GIF hack on Thursday June 19, 2014 @02:29PM (#7917551)
Thanks, updated.
Re:Twitter's GIF hack on Thursday June 19, 2014 @02:24PM (#7917523)
Unfortunately the MP4 looks worse than the GIF, due to chroma compression in the YUV 420 colorspace. While each pixels luminance value is kept, the color information for a 4-pixel square is stored as a single CrCb pair, which is really obvious when you look at how the orange hat has artifacts against the blue background. Increasing the bitrate won't solve this either, since it's a limitation of the colorspace.
Re:Control-R, my favorite Unix shell command on Sunday May 18, 2014 @08:17PM (#7765030)
You can also use "rlwrap" with any program to enable readline features.
Re:Three Optimization Tips for C++ on Wednesday May 07, 2014 @06:47PM (#7713053)
The language is currently without raw pointers, suitable for an object system like Python/Ruby/JS.
Re:Three Optimization Tips for C++ on Wednesday May 07, 2014 @05:30PM (#7712764)
Pointers don't have to be the exception. I'm working on a programming language runtime where objects are stored as a 32-bit value, with 3/4 of the range representing an integer, and 1/4 of the range (30 bits) representing a pointer. Given the constraint that pointer objects are aligned to 8 bytes, the 30-bits multiplied by 8 results in an 8GB addressable memory space. Pages within that space can be allocated using mmap with MAP_FIXED flag. Smaller memory usage results in more things in cache, resulting in higher performance.
Re:The cost of Linux's page fault handling on Thursday May 01, 2014 @01:08PM (#7681105)
To count the number of page faults during execution, use:

  perf stat <executable>
Page faults occur after anonymous pages are mmap'ed for the heap, either mapping a common zero page, then faulted again for a memory write. Prefaulting the page with MAP_POPULATE flag to mmap can help reduce the number of page faults.

Shared libraries are also mmap'ed and faulted in, and doing it this way saves memory for things that aren't used. But if paying the penalty for faulting the pages when used outweighs the memory savings, it might be better to use MAP_POPULATE here too. It might worth trying to add an LD_LIBRARY_XXX option to tell the loader to use MAP_POPULATE. Statically linking the executable will also reduce the number of faults (sections are combined, etc.)

Older »