News for hackers. Stuff that matters.

joseluis

Re:DaVinci Resolve releases Photo Editor on Tuesday April 14, 2026 @03:57AM (#47762644)
Even the paid version doesn't include aac support in Linux so you have to transcode the audio from videos recorded from your phone, with ffmpeg for example, prior to opening them with resolve. That's the biggest inconvenience it has for me in Linux. And plugins can't solve that either, because apparently can only add codecs for encoding, not for decoding.

Show HN: ctk-applet – run Cut-the-Knot Java applets locally

https://github.com/joseluis/ctk-applet

This is a small helper for running Cut-the-Knot Java applets locally.It handles the published classes archive and lets you work directly from the original Cut-the-Knot page URLs with appletviewer.I ended up making it after trying to use the applets myself and realizing the old workflow was still more cumbersome than it needed to be.

( Read More... | no comments | on HN )
Re:Using Uninitialized Memory for Fun and Profit on Wednesday July 23, 2025 @07:35PM (#44665212)
Just a nitpick. Rust's char is really a 21 bit unicode scalar value (a code point without surrogates) using a 32-bit representation and indeed there are a lot of invalid char values in a 32-bit space. Utf-8 is a different encoding format for code points using variable width (1-4 bytes per).
Re:The Centrality of Stupidity in Mathematics on Tuesday September 17, 2024 @04:18PM (#41572259)
I agree in that the meaning of prove in that context is "put it to the test" but for me it doesn't go as far as finding the rule incorrect, because it's a general rule, not an absolute rule. A lot more exceptions would be necessary to make the rule incorrect for the general case.
Re:Terence Tao on O1 on Saturday September 14, 2024 @03:55PM (#41542362)
The key difference is that this is a multidisciplinary conversational interface, and a tool in itself for interrelating structured meaning and reshaping it coherently enough so that it can be of great value both in the specific domain of the dialog, and in the potential to take it on any tangent in any way that can be expressed.

Of course it has limitations and you can't be sleep at the wheel, but that's true of any tool or task.

Re:WTH Is Cerebrolysin, Actually? on Saturday August 17, 2024 @11:02AM (#41275040)
That's exactly how I see coffee, and I keep stopping taking it and then coming back every few months...
You can do a handy struct wrapper over a private Nonzero that xors the given value with the prohibited value (max in this case) at the new constructor. And like so for the get method. Xoring is very cheap. That's my favorite way of storing indices/links for nodes, since you can wrap them in Option for free.
Re:A small Rust binary indeed (2022) on Sunday February 18, 2024 @07:11PM (#39424885)
I found that the stripping of the libc made impossible for me to manage signals that didn't exit the program. E.g. Sigint worked fine as long as the callback didnt return to the caller but e.g. trying to use Sigwinch or sigcontinue segfaulted and I never found a way to make that work from scratch in this type of binaries without linking to libc... I wonder if that's even possible.
Re:We need to talk about parentheses on Tuesday February 13, 2024 @09:21AM (#39357843)
Rust macros can be used like that:

let hello = dbg!{ dbg![ dbg!("world") ] };

And I'm sure they also did crazy useful complex things with rope, strings, fibers, textiles and skins.
I was thinking Spain, it describes the situation here perfectly.
Re:A truly incredible fact about the number 37 on Monday November 13, 2023 @05:02AM (#38248663)
Very pretty. And to relate it somewhat to the topic: 1/27 = 0.037 repeating 037 and 1/37 = 0.027 repeating 027 :)
Re:XFCE Wayland Development Roadmap on Thursday September 14, 2023 @07:51AM (#37507687)
My favorite combination is Mint + Xfce + openbox as the window manager which leaves the CPU at 0% when not doing anything, and is very responsive and versatile. I had to setup separate dark themes for each one but now it looks good.

The only thing I don't like is thunar freezing often when doing long blocking IO operations...

Re:ZeroVer: 0-Based Versioning on Saturday July 08, 2023 @02:48AM (#36641986)
> exceeds v10-15

What do you think about internet browsers like Firefox and Chromium?

Re:Tiny Binaries (2021) on Friday June 16, 2023 @03:44AM (#36352920)
That must be without stripping. Also there are ways to reduce binary size. See e.g. [min-sized-rust](https://github.com/johnthagen/min-sized-rust). I've gotten stripped binaries of small cli utils less than 400KiB without doing anything special, less than 150 KiB by customizing profile settings and compressing with upx, and less than 30 KiB by replacing the std with the libc as the link shows. Haven't tried with fltk though...
Re:Single-file scripts that download their dependencies on Sunday January 15, 2023 @06:18PM (#34394761)
You can add Rust to the list https://crates.io/crates/rust-script
Re:Rust 1.64.0 on Thursday September 22, 2022 @01:22PM (#32941932)
Having both approaches available would be better IMHO. Builder pattern is very nice but I frequently miss having named arguments too. Even if macros can partially fullfill that need, it's not the same and introduces more quirks and complexity...
Re:RStudio Is Becoming Posit on Wednesday July 27, 2022 @11:05AM (#32251361)
Hmm... I wonder if it will be possible some day to use posits in Posit:

- https://posithub.org/

- https://en.wikipedia.org/wiki/Unum_(number_format)#Posit

Apart from many good and very well known channels already shared:

- math videos https://www.youtube.com/c/TheMathSorcerer

- math videos https://www.youtube.com/c/brightsideofmaths

- math videos https://www.youtube.com/user/standupmaths

- mainly physics, plus chemistry, astronomy, math, and mechanical engineering videos https://www.youtube.com/c/MichelvanBiezen

- chemistry & physics https://www.youtube.com/c/AdvancedTinkering

- machine learning papers https://www.youtube.com/c/K%C3%A1rolyZsolnai

- painting & composition https://www.youtube.com/c/IanRobertsMasteringComposition

- medicine https://www.youtube.com/c/NinjaNerdScience

- medicine https://www.youtube.com/channel/UCFPvnkCZbHfBvV8ApBBE0vA

- therapy https://www.youtube.com/channel/UCbWvYupGqq3aMJ6LsG4q-Yg

- perspectives on physics and cosmology https://www.youtube.com/c/SeethePattern

- analysis of materials impacted by high energy phenomena https://www.youtube.com/c/MartinFleischmannMemorialProject

- perspectives on physics https://www.youtube.com/user/TheMachian/

- anatomy https://www.youtube.com/c/InstituteofHumanAnatomy

- signal processing https://www.youtube.com/user/allsignalprocessing

- solving complex sudoku-derived puzzles https://www.youtube.com/c/CrackingTheCryptic

- the art of listening: music albums gems https://www.youtube.com/channel/UC7shUDSkHjuQNegPhGdANQQ

Re:Did the W-boson just “break the standard model”? on Saturday April 30, 2022 @01:52PM (#31217791)
I really think this paper should be more widely known, because it's eye opening: https://physicsdetective.com/something-is-rotten-in-the-stat...

It made me realize QED is the equivalent of a million lines spaghetti codebase that's been continually built upon, fudge after fudge since the 40s, while being sold as the best thing ever, the ultimate model of reality, etc. While it really started as a temporary solution like a bash script that should've been replaced by something more elegant... many decades ago. And now we are in this mess.

it reminds me of some adage for surgeons in training: see one, botch one, nail one.
we don't even need to be able to calculate everything, we just need to fool you! The Truman's show meets the Matrix.
Re:717 Gigapixel Image of Rembrandt's Nightwatch on Tuesday January 25, 2022 @04:56AM (#30070122)
I'd love to see a dynamic raytracing of a high resolution 3d scan of this picture or another masterpiece. I doubt nobody has attempted to do this before.
Re:Upgrading the soldered-on RAM of a Dell XPS13 7390 laptop on Saturday November 20, 2021 @10:18PM (#29293903)
another crappy experience with a Dell xps15 9575... the feeling of a laptop built to quickly auto desintegrate, with crappy components, bad BT/wifi module, very unreliable touchpad, butter screws... everything sucked ass. I remember also not being able to use the laptop 90 degrees on its side to see a movie for example because the keyboard would stop working and the fan would start to run at max speed. that was the worst laptop I've ever had and the most expensive too. never again dell for me.

after that I bought a custom 14 inch laptop in pcspecialist back when they still had amd ryzen models (Ryzen 7 4800H 8 cores, 64 Gb ram, no preinstalled OS...) which is the best laptop I've ever had in my entire life. It's been complete opposite experience in terms of enjoyment and reliability, with very few issues using Linux (my only complain the inability to put to sleep, because it messes up the video after waking up even with the latest kernel).

Re:I Am Not Satoshi Nakamoto on Saturday September 25, 2021 @03:51AM (#28651348)
this will become more obvious as time passes, specially after November, but for whomever is ready now to explore beyond the intoxicating veil of pervasive propaganda and censorship in the space, this article will prove itself useful for connecting crucial pieces of information and perspectives that can tear apart many preconceptions and falsehoods: https://www.linkedin.com/pulse/why-i-believe-craig-wright-mo...
... in Spain too, were called disquetes.
icequare
Re:Chronofold: A data structure for versioned text (2020) on Monday August 02, 2021 @06:57AM (#28035079)
that's wonderful news! I'm hoping to be able to use this data structure in the near future using rust, so this helps a lot. thank you so much
Re:Chronofold: A data structure for versioned text (2020) on Monday August 02, 2021 @03:18AM (#28033786)
then would you mind opening an issue in the first repository so that it can have a chance to be fixed?

Older »