News for hackers. Stuff that matters.

duckqlz

Re:The Agent SDK on Wednesday October 28, 2026 @04:33PM (#50280492)
Pi can utilize Claude or GPT subscriptions and they work wonderfully. You can have both subscriptions logged in and write your own tools to route to the model that works best in every scenario. I have access to both pro level subscriptions for work and a large credit count for api calls for Claude. I use all 3 with JEV as my router with a local model for context management and compaction. my token usage has gone down to a point where I rarely even use api calls. I would recommend oh-mi-pi for anyone who wants to get started with using an open source harness as it has very good memory and context management tools that ship with it and are extremely easy to set up.
Re:Type Server Protocol on Tuesday October 27, 2026 @03:22AM (#50255646)
… Home Edition
The staggering losses anthropic is facing are mostly due to their valuation increasing to just shy of 1T at the beginning of this year. That valuation increase caused the value of what they owe on future stock to triple which is shown as a massive loss on paper but doesn’t represent actual cash leaving their hands. The rules are being rewritten by frontier companies whose revenue growth and proposed spending are outpacing any thing we have seen in the past. Anthropic has committed to spending over 500B over the next 10 years on cloud infrastructure which might be what you are quoting but many project their revenue growth to outpace the 50B a year in spending so that may not even equate to any loss but will certainly be less than 50B/yr. The whole thing is bonkers but and it’s easy to get overwhelmed by the breathtaking numbers on their balance sheet.
Re:Arena Allocators in C on Wednesday October 14, 2026 @06:16AM (#50085214)
“Types.c” is dangerous code to bring to every project.

f32/64 makes assumptions about the platform.

Worse yet, the macros at the bottom are all functionally incorrect. Macros like MIN/MAX need to be contained in parentheses to avoid precedence errors.

For example, we take `Min(x,y)` from the code. Consider what happens if I write `ans = 2 * Min(3,4)` because of the way Min is defined that will expand to `ans = 2 * 3 < 4 ? 3 : 4` and while you may expect ans to be 3 it will infact resolve to 4.

Subtle bugs like these can creep into code and cause really hard to debug errors.

Finally, while u32 is a little faster to type than `uint33_t` it makes the project harder to read forcing the reader to learn the author’s personal c dialect. While it is a stylistic choice, I can’t see why anyone would want to sacrifice code highlighting and expressiveness for slightly less verbosity

Re:How to keep enjoying programming in a world of LLMs on Saturday September 26, 2026 @06:32AM (#49855162)
This comment literally forced coffee through my nasal passageway as laughter erupted from my mouth.

Thank you.

Re:It's Not the End of Programming on Wednesday August 26, 2026 @07:57AM (#49447447)
I’m confused by your example. Prior to the printing press, hand written books (or any reading material) would not have been accessible to the masses; hence the low literacy rates.

Furthermore, while no one was saying “I’m going to go buy WinZip now”, many were lining up to buy WinRAR?

Finally, the issue with “high quality hand crafted software” is that software and similar projects are made possible through engineering not through artistry.

Simply put:

"Engineering is achieving function while avoiding failure." — Henry Petroski

Embiggen is a perfectly cromulent word!
Re:WiFi without internet on a Southwest flight on Friday September 29, 2023 @08:39AM (#37703097)
If any lawyers or FAA employees are reading this I’m genuinely interested in what, if any, legal implications there would be for running nmap mid flight on an airline. Surely once you have spoofed the MAC address and IP of another passenger to gain unauthorized access to the planes LAN you have committed a crime but what about passively scanning?
Re:Fancy Parking on Thursday August 10, 2023 @06:48AM (#37074398)
Op was talking about the front wheels pivoting. Rear wheels do not pivot. Furthermore, the quality is sometimes better on rear tires in a rear wheel drive car if the owner is trying to be frugal and save money when changing their tires. Similarly with front wheel drive drive train, owners will often opt to replace only their front tires as they will wear quicker. This is all due to the traction needed to start the car moving. Now, back to the crux of the question, why fancy park? Reversing and turning creates a wider turn radius, reduced control and greatly increases the size of the cars “blind spot”. A driver can opt to have their driving ability impacted while they safely enter an empty spot by reversing in or deal with the hustle and bustle of reversing into a busy parking lot. Despite the efficiency and obvious gains from “fancy parking” some people have parked forward their entire life and have honed their spacial sense around a certain car or truck making the switch impractical, at least until the purchase of their next vehicle!
Re:Paris to bring back swimming in Seine after 100 years on Thursday July 27, 2023 @06:29AM (#36891515)
€6000 to look inside of your walls for bats?!

Quitting my job today to move to the Netherlands to start a bat inspection business.

Re:LazyVim on Monday July 17, 2023 @09:07AM (#36757809)
I vehemently disagree with this. I find managing vs code extensions a nightmare and having to download them based on rating alone when there are 300 extensions for every query is untenable in a production environment.

Furthermore if you want to customize a vsc extension to do something unique for your set up you have a whole new set of issues like finding the settings, documentation etc.

Now if you can get over all of that it’s still a bulky, slow and cluttered IDE that is constantly sending telemetry data and other nonsense around the web

While I haven’t tried LazyVim I would strongly recommend LunarVim to anyone new to the vim ecosystem. It installs fast, needs minimal set up and packages can be installed with a single line in the config or through packer. Most things work out if the box. But if they don’t vim is so mature you can just ask chatGPT.

Seems like ease of use is also the aim of lazyvim so I would not discourage anyone from trying this flavour as well.

In the end it is whatever works for you.

Re:Matrices and Graph on Saturday July 15, 2023 @07:52AM (#36735730)
Does anyone know how the graph illustrations were created? I have driven myself mad with tikz and dot .
Re:The Simpsons Hit and Run leaked source code on Thursday July 13, 2023 @06:23AM (#36707063)
I love how the comments in the code keep the same tone as the game and the Simpson itself.

“”” // Synopsis: Blahblahblah “””

I want to work in a place that allows this or encourages it.

Re:Can a Rubik's Cube be brute-forced? on Sunday July 09, 2023 @11:56AM (#36655581)
What an amazing project. I will be copying or becoming a customer in the coming weeks. Lots of comments about the high price, I do wish large e-ink displays would come down in price the but for ~$3k this will look good on my office wall , how could I resist. It’s art it is not just tech.
In the quote the author is speaking about students handing in an assignment and using ChatGPT to write it. He says:

> This may not count as plagiarism, but it won’t produce anything new.

First, it is plagiarism by definition. Any time one presents work as their own which they did not create themselves is plagiarism .

Second, and vastly more importantly going forward, students were never handing in “new” ideas on an assignment. Using an LLM to generate a “pastiche” that is then read by the student (hopefully) before being handed in is still a win in my book. Having students ask their questions to an LLM can be an amazing tool to further learning but when students and educators are terrified of this new tool they will hide their usage of it and then it becomes a tool for copying rather than learning and plagiarism is the only consequence.

“Professor Jochen Brocks inspecting the 1.6-billion-year-old rocks in Australia’s Northern Territory. The rocks contained a primordial chemical structure that hinted at the existence of the Protosterol Biota.”

Not sure where this sentiment is coming from… Considering it’s fat traces of a primordial species that is a common ancestor of all complex life on earth, which went extinct over 800 million years ago, and is found in ancient rocks around waterways literally all over the world; I think we are fine to touch it.

Re:A new line drawing method for the cycle savvy on Sunday June 04, 2023 @09:05AM (#36185303)
This was my first introduction to the “demoscene”. I would really like to get into this type of programming, it is so beautiful. The efficiency and creativeness of the programmers who make these c64 demos is jaw dropping when looking at any of the top submissions.

I will be investigating further but to anyone else interested in this specific rabbit hole:

https://csdb.dk/event/?id=3187

From the first chapter:

“The first two chapters of this book are friendly non-technical intro- ductions to key topics and skills. For readers curious to learn more about behind-the-scenes details, chapters 3 and 4 contain conceptual non-mathematical explanations of Monero's privacy features and blockchain. Later chapters dive into complex technical details for understanding, developing, and integrating Monero.”

Actually it was shipped. “Microsoft disabled the AARD code for the final release of Windows 3.1, but did not remove it, so that it could have become reactivated later by the change of a single byte in an installed system.” [1]

[1] Schulman, Andrew; Brown, Ralf D.; Maxey, David; Michels, Raymond J.; Kyle, Jim (1994) [November 1993]. Undocumented DOS: A programmer's guide to reserved MS-DOS functions and data structures - expanded to include MS-DOS 6, Novell DOS and Windows 3.1 (2 ed.). Addison Wesley. ISBN 0-201-63287-X.

Re:Rooms.xyz on Saturday May 20, 2023 @08:28AM (#36011354)
Really interesting concept. The most intriguing part is the ability to add LLM functionality directly in your code. From the documentation:

```

local PRIMER =

  "You are a sushi chef in a sushi restaurant. " ..

  "You are kind and cheerful and excited about offering " ..
  
  "different kinds of sushi to the customer."
function onClick()

  aiCharacter(PRIMER)
end

```

This opens up a world of possibilities for a casual game developer and there are many other interesting features. I would love to read more about how they are controlling cost on their api searches with the LLM. I look forward to seeing more from rooms.xyz.

[1] - https://rooms.xyz/docs#aiCharacter

From the first line of the README:

"Simply put it's a fancy wrapper around podman or docker to create and start containers highly integrated with the hosts"

I absolutely agree. If it were a ‘.html’ extension that opened a self extracting zip we would have an issue but I struggle to see the danger with this. If someone, technical or not, is already accepting the risk of opening a ‘.zip’ file from an unknown source the attack vector doesn’t grow by opening a webpage unexpectedly. Furthermore I can rename a malware.exe to malware.zip and send it out by email and the implications are obvious. Maybe the .zip TLD will dissuade technical users from accessing the domain but I hardly see it as a new danger that could be described as “evil” or “malicious” on googles part. I could be wrong and would love to hear a clever person think of a feasible attack but imo this does not warrant any panic.
Re:Unrelated Words Puzzle on Friday May 12, 2023 @10:30AM (#35916893)
Comparing the first example against a similar guess based on intuition:

zuckerberg => investor(21%), mark(20%)

cuban => investor(3%), mark(%4)

Using google as a general guide to how often these words appear together

mark cuban => About 40,500,000 results on google

"mark cuban" => About 13,200,000 results on google

"mark" "cuban" => About 33,500,000 results on google

investor cuban => About 80,800,000 results on google

"investor cuban" => About 945 results on google

"investor" "cuban" => About 9,810,000 results on google

mark zuckerberg => About 41,700,000 results on google

"mark zuckerberg" => About 29,400,000 results on google

"mark" "zuckerberg" => About 35,700,000 results on google

investor zuckerberg => About 11,100,000 results on google

"investor zuckerberg" => About 479 results on google

"investor" "zuckerberg" => About 3,160,000 results on google

Considering the above results of how often the base words appear together and the added knowledge that Mark Cuban is more recognized for his investment activity than Zuckerberg I wonder how the relational scores are calculated by the game.

(Note: I realize this is nit-picking in an extreme sense but I found myself very interested in the underlying tech behind the game and this was part of my exploration so I thought I would share it with everyone else. Feel free to tear apart my methods I am still very interested in how the OP coded their solution)

Your assumption that you need to develop or even use malware to commit these attacks is incorrect. As the article eludes to, most "script kiddies" would be using simple reflection attacks like those utilized by anonymous. This would equate to changing a few lines in a TCP or UDP packet and mass spamming 3rd party site to elicit a flood of responses. This is pretty simple for any 13+ year old with visual basic and some time. Large bot nets rented out for attacks are clearly more dangerous and I would assume (hope) the FBI does target the malware creators and distributors.
Re:New Playground: Integer.exposed on Saturday May 06, 2023 @06:56PM (#35846114)
I'm confused by what you are saying?

111..11111 = -1 (for Nbit) 100..00000 = -2147483648 (for 32bit)

Therefore 11...1 is smaller than 100...01? Maybe I am dumb and missing something? Can anyone help?

Re:New C features in GCC 13 on Thursday May 04, 2023 @08:58AM (#35814544)
Everyone is so angry in the comments about c adopting c++ traits. I do not see it that way. This is not the language standard this is just GCC. Clang and GCC have always had compiler specific features which could only be described as wizardry to a regular c user. GCC has always kept the c standard at arms length, clang is a bit better but using compiler specific features has always been reserved for mavericks. Conversely, C23 has some great additions, none that remind me of C++? [1]. I don't think the standards enthusiasts that hang out on #c in freenode would be happy to think this many people see c going in the direction of C++.

[1] https://open-std.org/JTC1/SC22/WG14/www/docs/n3054.pdf

Very creative game. Pretty basic sql but that’s probably good anything heavier would be enraging. really wonderful production putting it all together. I enjoyed it.

FWI On iOS you must refresh, or click the show/ hide the answer input section whenever the keyboard disappears. This usually happens if you use a suggestion rather than typing it out.

Re:A Love Letter to Make on Thursday April 20, 2023 @06:53AM (#35638302)
I am guessing this was written by ChatGPT. As far as I know, No one likes make. Imagine having a choice between make and cargo and still picking make. ridiculous.

Older »