News for hackers. Stuff that matters.

ilius2

Using Qt6 and Go.

Shows prices of:

- Cryptocurrencies

- Gold and silver

- Fiat currency rates

- Stocks

Re:When 'Perfect' Code Fails on Tuesday October 28, 2025 @01:07AM (#45729363)
This does not conflict with Andrew Kelly's point! The software is not your js code!! Your js code is s tiny fraction of the software. The rest of it (including node) has serious design issues. JavaScript is an messy interpreted dynamically-typed language with a week type system that was designed for browser 30 years ago and even its creator discourages you from using it now.
This is fascinating, but for some reason I don't care enough to read it all. So I just save it to a pdf file for later maybe!
Re:<dialog>: The Dialog Element on Saturday December 07, 2024 @01:37PM (#42351772)
So it's industry's management problem, not a tech problem.
Re:1/0 = 0 (2018) on Sunday December 01, 2024 @11:08PM (#42293018)
Same. Unless you want to differentiate -0 and +0 (which make it more complicated), you can not distinguish infinity from negative infinity.
Re:1/0 = 0 (2018) on Sunday December 01, 2024 @11:05PM (#42293005)
Yes, I meant when the result gets bigger. You get the idea.
Re:1/0 = 0 (2018) on Sunday December 01, 2024 @04:53PM (#42291008)
If you were to define a/0 the most logical choice would be a new special value "Infinity". The second best choice would be the maximum supported value of the type of a (int, int64 etc). Anything else would be stupid.
Re:1/0 = 0 (2018) on Sunday December 01, 2024 @04:49PM (#42290983)
That's nonsense. a/b is float in Python 3, and even in other languages a/b gets closer to it's actual value as a and b get bigger (the "limit", which is the basis of Algebra). So four operations in programming generally do agree with foundations of Algebra. But a/0=0 is %100 against Algebra. And it's very unintuitive. It's basically saying zero is the same as infinity, and therefore all numbers are the same, so why bother having any numbers at all?
Re:Show HN: ZQDGR a Script Runner for Golang on Saturday November 16, 2024 @09:50AM (#42156710)
Who is Zoe if not you?!
Re:Clip leads made with fake wire [video] on Wednesday November 06, 2024 @02:29PM (#42067904)
Checking the resistance of some cheap Chinese clip leads I bought. The way these are crimped often doesn't make great contact. But even after soldering them, the resistance was still high. The wires were really thin, but it turns out, the resistance was still high considering that. It turns out, the wires, though they look like copper, are made of iron and coated with copper!
Re:GPL Question on Monday October 07, 2024 @07:29AM (#41764944)
If you don't give the binary or source to anyone else, no. If you do, you have to give them the rights to use the source code under GPL.
I installed FreeBSD on my old laptop a few days ago. With WiFi, desktop and everything. Pretty much everything worked except for HDMI-connected monitor. And my Linux is not listed in boot menu.
EuRho Vital. Didn't find any research on it, but many doctors/dietitians I follow on YouTube said cod liver oil is better than pills. What do you use?
All omega-3 supplements are probably somewhat rancid and possibly harmful, specially in solid / pill form! I personally take cod liver oil (liquid) from a reputable brand, but I still don't %100 trust it to be healthy. It's much better to eat fatty fish or actual cod liver.
Dr. Chris Knobbe is a physician, researcher, ophthalmologist, public health advocate, and Associate Clinical Professor Emeritus, formerly of the University of Texas Southwestern Medical Center in Dallas, Texas. He is known primarily for his research, publications, and presentations connecting Westernised diets and highly polyunsaturated vegetable oils to numerous chronic diseases, including coronary heart disease, hypertension, stroke, cancers, type 2 diabetes, metabolic syndrome, obesity, Alzheimer’s disease, autoimmune diseases, and age-related macular degeneration (AMD).
Re: on Monday August 12, 2024 @08:38AM (#41223708)
In this video, you may be shocked at the research that Dr. Knobbe shares regarding the actual cause of obesity, diabetes, and chronic diseases. In at least five countries, including the U.S., U.K., Australia, Israel, and Japan, as well as the entire world, Knobbe shows indisputable evidence that, while consumption of either sugars, carbohydrates, or total calories, or even all three, decline, that overweight, obesity, and diabetes all skyrocket. But what is always climbing? Vegetable oils.
I'm pretty sure it's almost %100 because I have never seen or heard one that does not use vegetable oil, which is poison by itself, but much more when they use it to fry food - over and over - and it keeps producing more and more trans fat!
"For as long as we’re able (and assuming the cooperation of the extension authors), Brave will continue to support some privacy-relevant MV2 extensions—specifically AdGuard, NoScript, uBlock Origin, and uMatrix"

"As of now, the MV2 extensions we plan to explicitly support are AdGuard AdBlocker, NoScript, uBlock Origin, and uMatrix. This feature will be best-effort: we might have to modify support based on either Google’s plans or what extension authors ultimately decide to do. If extensions become stale or obsolete, we may remove support for them rather than offer our users an out-of-date (potentially even unsafe) experience."

Mentioned so many distros, but not NixOS, or Nix package manager that can be installed on any distro and even Mac. Nix has the most elegant design IMO, with many similarities to git.
Re:Bored? Go ahead, press the Bored Button on Monday July 29, 2024 @05:13AM (#41099046)
geokitten.com just uses your IP to "guess" where you are! Can confirm by using a VPN!
I have gone keto (no sugar / starch) for a couple of weeks, so I'm looking out for a safe sugar-free chewing gum, with no success finding one so far! I don't care if it's not sweet, as long as it does not taste / feel terrible.
Good point. Now try "Linux download", and the first result is https://www.opera.com/download. While DuckDuckGo gives you https://www.linux.org/pages/download/

My point still stands (even more).

Older »