News for hackers. Stuff that matters.

FreeFull

Re:State of Text Rendering 2024 on Friday July 12, 2024 @08:35AM (#40944955)
If you click the Google Docs link at the top of the document, you can then export it to html/txt/pdf.
In case anyone is looking for alternatives, there's a well-maintained fork of neofetch called hyfetch. There's also a neofetch clone written in C called fastfetch.
Re:Show HN: Collaborative ASCII Drawing with Telnet on Wednesday June 12, 2024 @11:16AM (#40659074)
Using shift for erase isn't a great choice. In many terminals, holding shift prevents mouse input from going to the running program, and instead allows you to use the terminal's text selection functionality.
Re:Forested wetlands are missing from maps on Saturday June 08, 2024 @09:29AM (#40617425)
The problem is that the Sun is significantly brighter now than it used to be back then, so the amount of heating from the same amount of methane/co2 is proportionally more now too
On the other hand, HF is great at dissolving glass (silicon dioxide), which is something that most other acids won't do.
I guess accidentally getting tardigrades inside your mouth isn't anywhere near as bad as getting concentrated sulphuric acid in your mouth.
The increase of temperature also causes the release of methane, which is a much stronger greenhouse gas than CO2.. Things aren't looking great
Re:X.org on NetBSD โ€“ The State of Things on Monday May 06, 2024 @06:08AM (#40272962)
There's nothing that forces a Wayland compositor to be written in C. I've seen ones written in C++, Zig, and Rust, but you could really use any language as long as you can still call the appropriate system/kernel APIs
Re:Losing My Hands on Friday May 03, 2024 @07:54AM (#40246621)
I strongly doubt that it'd be purely psychosomatic.. Spending 14 hours a day hammering away at a keyboard will physically damage your wrists.
Re:Hyprland Crash Course on Saturday March 23, 2024 @07:09PM (#39803688)
That's possible with Niri, with its center-focused-column and default-column-width settings. It's not a traditional tiling WM, though
You can easily hit a similar problem in other languages too. For example, in Rust, std::fs::File isn't buffered, so reading single bytes from it will also be rather slow.
Re:Thoughts on the Future of Software Development on Monday March 18, 2024 @10:01AM (#39744682)
Presumably, the AI would have access to just do all the git and web server stuff for you.. The bigger problem I see would be if the AI just refuses to give you what you ask for.

Person: I want A

AI: Here's B

Person: No, I wanted A

AI: I'm sorry. Let me correct that... Here's B

.. ad nauseum.

Or alternatively:

Person: <reasonable request>

AI: I'm sorry, I can't do that

Re:GIMP 2.99.18: The last development preview before 3.0 on Thursday February 22, 2024 @07:24AM (#39466094)
How would that work for having a layer larger than the image?
Re:Useful Uses of Cat on Wednesday February 21, 2024 @08:31PM (#39461996)
That doesn't work for the first step though, where you want to print the file to stdout without processing it in any way
You could still offer the mocked APIs, but have them be opt-in. Also, having the compiler throw an error doesn't mean that an older, already compiled executable won't work.
As far as alternatives to what the article suggested go, I think the ideal solution would be to have a compile-time error, so the developers never even get as far as having their printing code try to run on the Xbox. And since it's a compile-time error, there doesn't need to be any kind of runtime error handling or cost either.
Re:Too Dangerous for C++ on Friday February 09, 2024 @07:17PM (#39322129)
Not every program that's written will even be multithreaded, and there's a significant cost to using atomic operations when you don't need them. What is the disadvantage of having non-atomic Rc be available?
Re:Slint GUI Toolkit on Friday February 02, 2024 @06:20AM (#39227445)
The Qt licensing model is actually a bit less restrictive, since Qt is distributed under the LGPL, and Slint is full-fat GPLv3
Re:Damn Small Linux 2024 on Thursday February 01, 2024 @12:18PM (#39218409)
It would be rather difficult to fit any newer linux kernel onto a floppy, together with all the other software.
Re:Too much serendipity on Monday January 22, 2024 @04:10PM (#39095496)
Lead(II) acetate specifically is sweet.
Re:Learn Datalog Today on Sunday January 21, 2024 @12:25PM (#39080451)
It's a shame that there doesn't seem to be any decent open-source implementation of Datalog. If you go for full Prolog instead of Datalog, there are several (Scryer Prolog being my personal favourite).
Re:Second Teleportation on Thursday January 18, 2024 @08:52PM (#39050673)
Yet another example of how HN's automated title modification screws things up
The TenaciousD?
Re:Scientists discover enzyme that makes urine yellow on Friday January 05, 2024 @10:42AM (#38880208)
Vitamin B2 (Riboflavin) is yellow, and when you consume it, the excess ends up going into your urine, making it more yellow (and fluorescent).
Re:Optical Media Durability (2020) on Monday December 25, 2023 @12:58PM (#38764597)
DVDs have the optical layer sandwiched between two layers of plastic, while a CD is only one layer of plastic with the optical layer coating the other side.. So a sharpie should be fine on a DVD, but might be problematic on a CD
Re:2023: Slint in Review on Thursday December 21, 2023 @09:11AM (#38720580)
https://slint.dev/blog/slint-1.1-released mentions that there is AccessKit integration.

Older ยป