HNHacker News
TopNewBestAskShowJobs

legosexmagic

47 karma · joined April 11, 2022

submissionscomments
legosexmagic··on Intel Processor Instability Causing Oodle Decompression Failures
the amount of cooling you get is proportional to the difference of component temperature to ambient temperature. thats why modern chips are engineered to run much hotter.
legosexmagic··on Peredvizhnikov Engine: Lock-free game engine written in C++20
Actors tend to lead to bloated incomprehensible code. Even when you do want game objects to look like independent message passing actors. Faking it is always easier.

Actors are self defeating because they turn everything into a distributed system.

legosexmagic··on Scientists create novel approach to control energy waves in 4D
think of corrugated metal. sound waves and heat will travel slower in the wavy direction than in the straight direction. you can stamp some more complicated pattern onto a piece of metal to control how sound waves travel through it. almost like a sound circuit. (eg. passive sound canceling metal panels. things like that)

you could come up with some material that naturaly has those kinds of properties without being wavy. but mathematically its the same thing.

legosexmagic··on New record anomaly for North Atlantic sea surface temperatures
yes. weather people are aware of the sun. but thanks for pointing it out lol
legosexmagic··on The History of CUDA
integrated gpus do perform "stream computing" tho
legosexmagic··on Blizzard CEO denies culture of harassment and blames unions for company problems
thats a very complicated way to say "i dont like young people"
legosexmagic··on The future of generative AI is niche, not generalized
> Nobody knows how even the current generation of LLMs work (at the plumbing layer, sure, but the high-level behavior is a complete mystery).

i dont think thats fair to say tbh. clearly language has alot of patterns in it. so it should be possible to come up with a network that finds them. if the loss converges to something reasonable and the amount of training data is greater than what the network is able to memorize, then the only possibility is that the network learned whatever general patterns the data happens to have.

legosexmagic··on Show HN: ChatGPT on 2-Dimensional Map
the jacobi identity is [x,[y,z]] - [[x,y],z] = [y,[x,z]] ie. it says the lie (pronounced "lee") bracket is almost associative but you have to add a [y,[x,z]] when you rearrange brackets. it has absolutely nothing to do with disambiguations.

hope that helps lol

legosexmagic··on Why don't we define “imaginary” numbers for every “impossibility”? (2012)
both of these are reasonable. if you have an `x` such that `x + n = x` implies that `n = 0`. (assuming x still has an additive inverse) in other words you just invented modular arithmetic which is a very reasonable thing to invent.

1/0 is maybe a bit trickier and leads you to invent projective spaces.

legosexmagic··on The Fed smothers capitalism in an attempt to save it
is there realy no way to get "bank run insurance" from somewhere other than a central bank?
legosexmagic··on Leveraging Rust and the GPU to render user interfaces at 120 FPS
Your mixing up terms.

immediate mode rendering and immediate mode gui are unrelated. immediate mode gui libraries generally dont use immediate mode rendering because its realy slow.

immediate mode gui tends to be faster in practice because you just naturally end up with less code. also its very easy to write a retained mode ui ontop of an immediate mode gui library.

legosexmagic··on Rendering like it's 1996 – Baby's first pixel
thats how it works. its called a swapchain and its usually more than one texture. to avoid artifacts.
legosexmagic··on Grayscale on 1-bit LCDs (2022)
you can use (abuse?) multiplication to get a nice dither without any tables:

  bool dither(int time, int value) {
    time *= value;
    return (value + time ^ value ^ time) < 0;
  }
where value is in the range 0 ... (int_max/2)
legosexmagic··on Curvature consistency in Apple hardware and software products (2017)
thats pretty much it yes. the reason they dont just say 2nd derivative is that the derivative isnt a geometry property. you can have two curves with the same shape but different derivatives.

curvature only depends on the shape of the object.

legosexmagic··on Nearly all binary searches and mergesorts are broken (2006)
the right solution is to parametrize the search region as (offset, length) instead of (start, end). then the midpoint is just offset+length/2.

you can also remove that unpredictable branch in the loop if you want.

  whatever_t *bisect(whatever_t *offset, size_t length, whatever_t x) {
    while(size_t midpoint = length / 2) {
      bool side = x < offset[midpoint];
      midpoint &= side - 1;
      length >>= side;
      offset += midpoint;
      length -= midpoint;
    }
    return offset;
  }
legosexmagic··on Hubble telescope peeks through 'cosmic keyhole' in photo
congress is funding nasa because voters generally like it when nasa gets funding.
legosexmagic··on Hubble telescope peeks through 'cosmic keyhole' in photo
you are suspicious because the government agency tasked with photographing space is publishing photographs of space?
legosexmagic··on Direct Voxel Grid Optimization
regular photogrammetry usually means searching for common features in a bunch of photos. if you find the same feature in 3 photos you can triangulate its location in 3d space.

the output of this process is a point cloud which you can then process into a triangle mesh. (google structure from motion).

this OTH is differentiable voxel rendering. so basically optimizing the colors of a bunch of cubes to make it look the pictures. using backpropagation just like you would do it for neural networks.