News for hackers. Stuff that matters.

NAR8789

Re:.name Termination on Friday September 04, 2026 @11:23PM (#49572815)
thanks!
Re:.name Termination on Thursday September 03, 2026 @10:31PM (#49559829)
@dang can you update the domain extraction logic for hn titles to include the 3rd level domain for .name domains? It's a little too poetically unfortunate that HN lists the domain on this article as `fraser.name`
Re:Solving the Flat Cube on Tuesday September 01, 2026 @11:28PM (#49531378)
I'm confused... The introduction allows twists of 60 degrees, but the explanation seems to switch to assuming 180 degree twists.

What am I missing?

edit: ah, I missed an "at least" at the beginning. He shows god's number is *at least* 27 (I misread this as meaning exactly 27). And he does this by showing god's number for the uncolored flat cube is 27. The uncolored flat cube happens to be equivalent to the colored cube with 180 degree twists.

Though... given that, the colors like a bit of an unnecessary red herring. Just a literary bridge I suppose? From his amusing introduction about a magic schoolbus running over rubik's cubes?

+1 I use this all the time and can't live without it
Re:How I Over-Engineered My Book on Monday August 17, 2026 @02:49PM (#49335794)
Your own descriptive comment got downvoted and the only other comment I see is bashing you.

It seems you rub people the wrong way, but so far I'm scratching my head as to why you're receiving this degree of hate. Is this common for you? Does someone have a vendetta against you?

Re:Asus Bike Booster on Saturday August 15, 2026 @10:58PM (#49316508)
Re:Asus Bike Booster on Saturday August 15, 2026 @10:57PM (#49316500)
Yes, without a fender my rear wheel throws mud all over my back. This is not the right shape to serve as a mud shield
wait, what was the sound from the industrial metalworking factory like?
Doesn't curl still validate ssl certificates? So long as I'm curling an https url from a trusted domain, don't I still have a chain of trust?
If you're training this on your own timing patterns, do you worry that eventually captchas will pick up on this and you yourself will no longer be able to prove you are a human?
Try from inside the signal app itself instead of iOS system settings? On android Signal has an option at hamburger menu > Settings > Notifications > Notifications (toggle switch)

Oh... hmm, two toggles actually. One at Settings > Notifications > Calls > Notifications toggle, and the other at Settings > Notifications > Messages > Notifications toggle

Re:What if the browser built the UI for you? on Sunday April 05, 2026 @01:28AM (#47646359)
Self-describing API endpoints... is the server side for this basically just HATEOAS?
Re:Bumblebee queens breathe underwater to survive drowning on Saturday March 14, 2026 @09:23PM (#47383277)
> Published in Proceedings of the Royal Society Bee
Oh that makes sense, thanks for explaining! And thanks for sharing your process and result! Interesting to see your process, and looking at the map really tickles my nostalgia
I'm curious why you didn't do something like generate new tiles one at a time, but just expand the input area on the sides with already-generated neighbors. Looks like your infill model doesn't really care about tile sizes, and I doubt it really needs full adjacent tiles to match style. Why 2x2 tile inputs rather than say... generate new tiles one at a time, but add 50px of bordering tile on each side that already has a pixel art neighbor?
I think the core idea in "masking" is to provide adjacent pixel art tiles as part of the input when rendering a new tile from photo reference. So part of the input is literal boundary conditions on the output for the new tile.

Reference image from the article: https://cannoneyed.com/img/projects/isometric-nyc/training_d...

You have to zoom in, but here the inputs on the left are mixed pixel art / photo textures. The outputs on the right are seamless pixel art.

Later on he talks about 2x2 squares of four tiles each as input and having trouble automating input selection to avoid seams. So with his 512x512 tiles, he's actually sending in 1024x1024 inputs. You can avoid seams if every new tile can "see" all its already-generated neighbors.

You get a seam if you generate a new tile next to an old tile but that old tile is not input to the infill agorithm. The new tile can't see that boundary, and the style will probably not match.

Re:California is free of drought for the first time in 25 years on Wednesday January 21, 2026 @02:12AM (#46702122)
I don't know why California's electricity costs so much, but the gas prices are high due to regulation distorting the market. California has special California gas produced only at in-state refineries. It's for a good cause--California's gas, "CARB gas" is cleaner. But the gas market in California is segregated from the wider US market
Re:PawSense: Catproof Your Computer on Tuesday January 13, 2026 @12:08AM (#46597491)
> When cats walk or climb on your keyboard, they can enter random commands and data, damage your files, and even crash your computer.

And they might turn you into the Freakazoid

Re:Round the tree, yes, but not round the squirrel on Friday January 02, 2026 @04:24AM (#46463035)
From the title I thought this was going to be a variation on the bear and swimmer puzzle.

https://www.quantamagazine.org/can-math-help-you-escape-a-hu...

Re:My Truck Desk on Tuesday November 04, 2025 @02:24PM (#45814904)
Import one from Australia or the UK? Someplace where they drive on the left?
Re:RFC 3339 vs. ISO 8601 on Sunday September 07, 2025 @03:06AM (#45156043)
This sounds like a footgun.

At some point some application developer will introduce a bug where they're not sending utc.

Without the time zone, the wrong times will end up in the database, bad data mixed in with good. This will be a nightmare to fix.

With the time zone, I don't think this class of bugs is possible. Most application developers will wrap the time in an object that allows them to do time operations without needing to directly handle time zone in most cases.

Re:Learn touch typing – it's worth it on Saturday May 31, 2025 @02:55AM (#44142406)
Wait, how common is it to not know touch typing?

Honest question, maybe a blind spot of mine. Touch typing is so integrated into my daily experience it feels like driving or riding a bike. I mostly learned to touch type in the 90s just chatting with friends on AOL instant messenger. I think of touch typing as something nearly everyone picks up just as a side effect of living with computers.

Re:A cycling desk / Zwifting with a split keyboard on Thursday November 14, 2024 @12:25AM (#42133361)
I think with proper cycling posture you can take the pressure off of your wrists.

Use your back and shoulder muscles to support your upper body and arms, so that you can ride with elbows bent. If you can bend your elbows, you can avoid pushing on the handlebars for support. That will make for more comfortable wrists with or without a keyboard.

Reference: Sheldon "Ouch!" Brown https://sheldonbrown.com/pain.html#wrists

Re:Put the DVD logo in the corner (2023) on Friday July 05, 2024 @04:59PM (#40885956)
Try on paper originating it from a corner on a rectangle where the initial path is just offset from the diametrical corner.
Re:Riven on Sunday May 19, 2024 @10:02PM (#40411398)
Mystbusted
I once called Sonic on a weekend because my modem kept rebooting. They answered immediately, and the debugging felt like magic.

"My modem keeps rebooting."

"Put the modem to your ear. Is it hissing?"

"Um...? Yes. Yes, it's hissing."

"Bad capacitors. We'll send you a new one."

This was during the Capacitor Plague https://en.wikipedia.org/wiki/Capacitor_plague , so clearly he'd seen this before. Still, fastest support resolution I've ever experienced.

Re:Infinite Craft on Thursday February 01, 2024 @05:31AM (#39214507)
I think you can reduce state. Rather than tracking maxElementReached per-element, maintain a single maxElementReached for the first n elements. March the first n elements forward in lockstep, and grow n by 1 whenever you exhaust all available combinations for that set

  1. Combine the first element with every next element until exhausted.
  2. Catch up the second element to where the first element got to.
  3. Combine the first two elements with every next element, until exhausted.
  4. Catch up the third element.
  5. Combine the first three elements with every next element
  6. etc.
In pseudocode...

  n = 1
  maxElementReached = -1
  
  while(n < totalElements()) {
    while(maxElementReached + 1 < totalElements()) {
      maxElementReached = maxElementReached + 1
      Combine each of the first n elements with element[maxElementReached]
    }

    // we've exhausted all possible combinations for the first n elements.
    // increase n by 1 and catch up the new element to keep going
    Combine element[n] with each element from n to maxElementReached
    n = n + 1
  }

Older »