Better HN
topnewbestaskshowjobs
Log inSign up

pfg_

252 karma · joined Aug 29, 2020 (6y ago) · 102 submissions

Submissions

comment 1w ago · link · parent

Pixel art is generally made out of well-defined pixels that are all on the same grid in the same scale. When you zoom in, the pixels look sharp. Pixel art usually rarely has anti-aliased lines, whereas every line in Isometric SF is anti-aliased.

Comparison of how lines look with vs without anti-aliasing:

- https://media.geeksforgeeks.org/wp-content/uploads/202307201...

Examples of "real" pixel art:

- https://www.slynyrd.com/blog/2022/11/28/pixelblog-41-isometr...

- https://www.behance.net/gallery/18524751/Pixel-Art-City

- https://platform.theverge.com/wp-content/uploads/sites/2/cho... (this may look blurry if you zoom in or have a monitor display scale other than 1x, but when viewed properly the pixels are sharp)

- https://retrodiffusion.ai/explore/5818 (AI generated, but the output was constrained to make it have pixels, instead of having downscaled smooth lines that look anti-aliased)

Examples of "fake" pixel art:

- https://media.easy-peasy.ai/61515f6c-78d2-4786-95ec-ccada6e5... (the pixels vary in size and shape, and are blurry)

- https://media.easy-peasy.ai/c558c867-167c-4f11-afed-c9f85f2a... (same issue)

- https://easy-peasy.ai/ai-image-generator/images/pixel-art-of... (you can see at the very bottom of the apple, the pixels are half the height they are supposed to be)

- https://www.reddit.com/r/midjourney/comments/1ifcul5/pixel_a...

- https://pixelartvillage.com/images/fuji_demo.webp (the original image is downscaled and has a limited palette, but the pixels are placed randomly)

comment 2w ago · link · parent

You select the points involved in the chair and move them and then you fix the holes in the floor. Gaussian splats are just 3D point clouds with a bunch of extra values per point.

comment 1mo ago · link · parent

Because you can't prove that the optimized version is the same as the original version

comment 2mo ago · link · parent

When I first switched to Android, I was shocked to see Google's Photos app send me an ad for buying printed printed framed photos. After turning that off, I haven't noticed many ads.

comment 2mo ago · link · parent

The issue with splitting up Bun's Zig module is that Rust is designed for multiple crates compiling separate objects and linking them together in the end, but for Zig you would need to manually export and import C abi functions and you can't make use of language features like slices, generics, non-extern structs, and others anymore. In Zig, every module is compiled in the same compilation unit. Even the standard library is compiled in the same unit as your app.

comment 4mo ago · link · parent

Snapshots do let you upgrade worlds to future releases and you don't need to do any NBT editing, just upgrade the game and load the world.

comment 4mo ago · link · parent

Steam fixes this by having a footer, and putting more content under the footer. Google search also did this on mobile for a little while.

comment 4mo ago · link · parent

You're not stuck, the board only removes letters and connections that are not used by any other word (probably excluding "bonus words"). So the word(s) you're missing are still on the board.

No hint feathre though, the hints are the letters going away. You'll probably have to use a scrabble search or something.

comment 7mo ago · link · parent

The fixed position background made it look like I had dust on my phone screen

comment 7mo ago · link · parent

Elite Beat Agents lives on as osu! which can be played using a mouse or drawing tablet

comment 7mo ago · link · parent

Usually when I see this from non-spam sites, it's not even pushstate, it's just some page that redirects as soon as it loads. So you press back twice and it goes back -> forwards -> back -> forwards. Disabling pushstate doesn't fix that, it just makes pushstate equivalent to a redirect.

comment 7mo ago · link · parent

MV3 still allows you to run content scripts, which can inject any javascript into any webpage. From there, you can do anything you want. You can steal passwords, tokens, show popups, redirect, ... etc. Preventing extensions from dynamically modifying network requests doesn't change that.

comment 7mo ago · link · parent

This is the first human-learnable weak solution for connect 4. Surely it can be improved.

comment 7mo ago · link · parent

Firefox has this ability by default and I find it very useful. And it will never get sold to some random person to be replaced with adware.

comment 7mo ago · link · parent

This only applies to sleeper car routes. You're on the traib for 2-3 days, mostly with no cell service. If you eat in the restaurant car, they will seat you with strangers. If you sit in the observation car, there's a bunch of other people sitting there too.

comment 8mo ago · link · parent

I tried p4merge a while ago and it didn't do it ubfortunately, still stuck copying the base and ours to seperate files and diffing them.

comment 8mo ago · link · parent

Mac is good at managing low memory conditions. Linux is not. When I was on Linux, if I hit 16gb ram used the entire system would freeze for minutes. I would have to go in TTY2 to kill something to get it responsive again.

comment 9mo ago · link · parent

Speed bumps suck for both the driver and passangers of the car and generate road noise.

comment 10mo ago · link · parent

Probably gemini on aistudio.google.com, you can configure if it is allowed to access code execution / web search / others

comment 10mo ago · link · parent

They're saying one example of a reason someone could fake a video is so it would get found out and discredit the position it showed. I read it as them saying that producing the fake video of a cop being racist could have been done to discredit the idea of cops being racist.

comment 1y ago · link · parent

fish lets you cd to a folder without 'cd' although you still need the slashes. I use it all the time.

    c $> pwd
    /a/b/c
    c $> dir1
    dir1 $> ..
    c $> ../..
    / $>

comment 1y ago · link · parent

I wouldn't consider having good default configs and being feature-rich at odds with eachother. Ghostty is feature-rich but needs no config. There's no reason yabai needs to be so highly composable that it doesn't even have a hotkey listener by default and and instead points you to another piece of software that only translates hotkeys to shell commands and is no longer being maintained. i3 at least has a pretty usable default config.

comment 1y ago · link · parent

The reason to care about compile time is because it affects your iteration speed. You can iterate much faster on a program that takes 1 second to compile vs 1 minute.

Time complexity may be O(lines), but a compiler can be faster or slower based on how long it takes. And for incremental updates, compilers can do significantly better than O(lines).

In debug mode, zig uses llvm with no optimization passes. On linux x86_64, it uses its own native backend. This backend can be significantly faster to compile (2x or more) than llvm.

Zig's own native backend is designed for incremental compilation. This means, after the initial build, there will be very little work that has to be done for the next emit. It needs to rebuild the affected function, potentially rebuild other functions which depend on it, and then directly update the one part of the output binary that changed. This will be significantly faster than O(n) for edits.

comment 1y ago · link · parent

How is it real if it only exists as a spec in a book? Is there a compiler? Is there an editor?

comment 1y ago · link · parent

> If there was a service that detected "here's a word from our sponsors" parts of the video and removed them, that would be altering Content

This exists and it's called SponsorBlock. It automatically skips past sponsored segments. Debatable if that is altering content though

comment 1y ago · link · parent

Youtube creators get access to watchtime stats which show a dip for sponsored segments. My understanding is that sponsor contracts typically don't ask to get access to that data though, instead they look at views and refferals

comment 1y ago · link · parent

I tried this four times, every time it recognized it as nonsense.

comment 1y ago · link · parent

But it's not just good enough, it's optimal. It is equivalent to picking a random deck from the set of all possible decks assuming your random source is good. More random than a real shuffle.

comment 1y ago · link · parent

Whenever I use chrome, I'm missing the style editor and multi-line repl mode from firefox. When I switched to firefox from chrome, I didn't miss anything. There might be new features chrome has added since that I would want if I knew about them

comment 1y ago · link · parent

The whole comment is spoilered, so you need to click on it to reveal that text. Presumably it could also appear in a comment that you need to scroll on the page to see.

It's clear to a moderator who sees the comment, but the user asking for a summary could easily have not seen it.

1234