News for hackers. Stuff that matters.

adito

Re:Space Cadet Pinball on Linux on Sunday May 10, 2026 @08:37AM (#48083505)
I was wondering why newer OS doesn't bundle games with their default installation anymore? Even on smartphone. I remember on old dumb phone (nokia I think), you can play snake and some racing game. It even has multiplayer via bluetooth.
From reading the linked paper[0], It explains closed interval only. "An interval union is a set of closed and disjoint intervals where the bounds of the extreme interval can be ±∞".

[0]: https://www.ime.usp.br/~montanhe/unions.pdf

Thanks for making this, fun game, but the contrast is too low for my old eyes. I can't see the orbit most of the time. Maybe add options to make the orbit more visible?
Re:Optimal Strategy for Connect 4 on Saturday April 11, 2026 @10:14AM (#47730811)
From 350gb compressed to 12kb is pretty impressive. What makes that particular strong solution needs so much space? It's from one of the paper mentioned right?

Edit: oh, found it, it's from this repository: https://github.com/sidneycadot/connect4/blob/main/7x6/README...

What got me really mad is searching your own history. There's this "search watch history" on the https://www.youtube.com/feed/history

I remember watching video that contains certain word in the title. A minecraft contraption from a small channel (4 videos, 93 subs). I searched that word in the title. But youtube can't find it. Fortunately, I saved the world download that listed in the video with the name of the channel. So I searched the channel name + the word, it still can't find it.

So I searched only the channel name instead, in the search page. It works, and checking their videos, youtube mark one of them as watched. With the exact same title I searched. But it didn't show me in the history search. WTF youtube.

Re:Death to Scroll Fade on Wednesday March 18, 2026 @01:59PM (#47429050)
Oh. This. Tho I solved that with userstyles.
I don't know why you just handpicked the covid trutherism without quoting the full thing, here the full quote from the link above:

> Additionally, in recent years it has become increasingly clear that Jon’s beliefs/priorities and mine are not aligned. He’s adversarial to people talking about privilege and representation, is dismissive of diversity efforts, has dabbled in covid trutherism, and is pro-MAGA.

Here the post after just for a full picture

> I believe Trump is a self serving authoritarian who's dismantling democracy, trying to make trans people illegal, and wanting to set up concentration camps for immigrants - whereas Jon in February called him "the best President we have had in my entire life".

Re:S&box is now an open source game engine on Wednesday November 26, 2025 @05:21PM (#46063031)
Oh, you mean Rust (the game[1]), not Rust (programming language[2]).

[1]: https://store.steampowered.com/app/252490/Rust/

[2]: https://rust-lang.org/

Re:Jujutsu for Everyone on Sunday August 31, 2025 @05:10PM (#45087124)
Yeah, I don't get GP either, maybe their setup is different and more complex?
That doesn't sound right.

"2024-07-14 9:04 am BST" - "2013-02-14 10:24 pm BST"

equals 11 years, 149 days, 18 hours, 43 minutes

(it is 100,018 hours as mentioned in the article)

Re:Failing to Learn Zig via Advent of Code on Monday January 17, 2022 @08:58AM (#29966574)
I beg to disagree with you. I'm newbie and I still found that zig standard library still daunting to read. When people said it's very accessible, I'm curious what people mean by that? What makes it very accessible?
Re:Zig's New Relationship with LLVM on Monday September 28, 2020 @12:00PM (#24618068)
> ... has never been attempted before. It is revolutionary.

Have you seen http://terralang.org/

Re:Firefox Voice on Sunday August 09, 2020 @04:53AM (#24098285)
That's first time I heard that, not to mean that I didn't believe you, but what's the exact text you sent that is made them censor and banned you?
Re:How x86_64 Addresses Memory on Saturday June 13, 2020 @08:40PM (#23514117)
You can append #page=N directive in the url to link directly into the relevant page. Section 2.1.5 would be in this url[1].

[1] https://www.intel.com/content/dam/www/public/us/en/documents...

Re:SmileBASIC 4 for Nintendo Switch on Saturday April 25, 2020 @05:20AM (#22976830)
Uploading, probably no. Downloading in other hand; since it says unlimited, there's possibility that someone would download gigabytes of code.
Re:Disabling Snaps in Ubuntu 20.04 on Friday April 24, 2020 @05:11PM (#22972950)
I think ubuntu also has similar stuff via PPA repository?
Agree with you. Said in another word, "Their statement is correct but misses the point"[1]

[1]: https://news.ycombinator.com/item?id=22854475

Re:Sorting 1M 8-digit numbers in 1 MB of RAM (2012) on Sunday March 29, 2020 @10:22PM (#22724647)
> My personal favorite variant of this is sorting 1M 32-bit integers using 2MiB of RAM. This is possible and I coded it up for fun a few years ago.

Is it possible for you to share the code? Still don't quite get how that encoding related/helps in sorting the numbers.

Re:Learn Rust with entirely too many linked lists (2019) on Sunday February 23, 2020 @01:38AM (#22395492)
> This solution will be SIGNIFICANTLY slower on any modern CPU. By a wide margin!

I'm not an expert and would know more. Can you point out on any benchmark demonstrating those claim? Would love to see the actual number.

Re:In-Memory-Only ELF Execution Without Tmpfs on Thursday October 03, 2019 @12:35PM (#21148881)
But the readme says:

The payload executable is extracted to a temporary file. When running as root, this is done by mounting a tmpfs file system and lazily unmounting it before the extraction.

Re:KDE is adopting GitLab on Monday September 30, 2019 @05:25AM (#21113184)
On the social side, that would be starring/watching cool project on the platform.
Re:Memory Layout of a Program in C on Friday September 06, 2019 @06:35AM (#20894478)
Thanks. It's been bugging me for a while.
Re:Memory Layout of a Program in C on Thursday September 05, 2019 @10:18PM (#20892480)
A noob question here.

As it turns out, the first 8 pages on our hydra machines are void. This means that trying to read to or write from any address from 0 to 0xffff will result in a segmentation violation.

I have similar issue. I was following "A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux"[0]. And decided to put the start of .text section at virtual address 0x0:

    ; tiny.asm
    BITS 32

    org     0x0
    
    ;
    ; (the same as the one in the teensy elf tutorial)
    ;
It results in segmentation fault when ran as normal user. But fine when ran as super user. Changing the code to use address 0x10000 fix the problem.

My question: Is my issue because I create an elf that has .text section inside that void region? Is this void region documented somewhere? What purpose does it serve?

[0]: https://www.muppetlabs.com/~breadbox/software/tiny/teensy.ht...

Re:Why All of Our Games Look Like Crap on Thursday August 22, 2019 @07:14AM (#20766768)
Honest question, where does one learn that skill? If it doesn't take that much time, how long it usually takes? I have no clue about art, design, and stuff. Where does I even start?
Re:The Cloud on Wednesday August 07, 2019 @10:57PM (#20641439)
> Completely worthless advice from a text file written by... I'm sorry who is this person and what authority do they have?

I know you hate their opinion, but also attacking the character is kinda unnecessary. Can we just not?

The video from the author, "Turning Earth Into a Telescope | The Terrascope" https://www.youtube.com/watch?v=jgOTZe07eHA
Re:What's Coming in Python 3.8 on Wednesday July 17, 2019 @07:43PM (#20465198)
I wonder if the controversial Go's error check function "try" proposal[0] will also be similar to this situation.

[0]: https://github.com/golang/go/issues/32437

Well, even for Edge that use chromium, this situation can happen.

https://www.reddit.com/r/windows/comments/btz1lc/youtube_mat...

Re:How I Run a Company with ADHD on Sunday May 12, 2019 @09:33PM (#19895813)
> If you don't know much about ADHD , it's not what you think it is.

Honest question, I don't know much about ADHD. What's ADHD actually is?

Older »