Are you thinking about a specific library? You aren't the only person who commented this way. But, the truth is that root, sin and so on don't "work" with floats either. In fact, there are common ways to implement these functions by either using tables (which are approximate) or algebraic approximations (that give you... drum roll: rationals!)
But, really, there isn't any way (except symbolically) to represent transcendental functions in computers. It doesn't matter what kind of number you choose to do it.
- often you use decimal fraction on output and input anyway
- it's slower, even slower with bigint
- no square root, sin, and so on with rationals
<meta content='Our university deployed a mail filter that rewrites URLs in emails to redirect them via a service that checks for bad websites. Somebody clever worked out that PGP-signed emails are exempt from the rewrite rule, so now people are starting their emails with "BEGIN PGP MESSAGE" even though they haven't used PGP at all, just to fool the filter
Anybody sending malware links has probably also worked out that trick by now, thereby rendering the entire filter pointless' name='description'>
head {display:block; background:Canvas; color:CanvasText;}
meta[content] {display:block; padding-bottom:1em;}
meta[content]::after{content:attr(content); display:block;}And no, I'm not rebuilding my computer for linux, you would not be the first person to point out that I should replace my Nvidia GPU with an AMD one.
I will note though that GNOME is one of the nicest DEs I've ever used, at least back when graphics acceleration worked. Trackpads finally seem to be a first-class citizen, something Apple has already been doing for almost two decades (and, in fact, it's an Apple trackpad that works quite well with it).
I always enjoyed macOS (at least pre-Catalina) because it's Unix but without the requirement to constantly hack on the OS and userland like you have to do with Linux. That means I have all the development tools I appreciate but I can focus on what I actually want to do instead of fixing system-level bugs.
When Catalina came out I stopped updating so I can't speak for how the OS is nowadays.
I mean, with our societies sedentary life style, surely exacerbated by programmers sitting for 10+ hours a day, I'm a bit doubtful that moving even less is the answer. What about doing a few simple exercises regularly in breaks and evaluate? Obviously the standard Apple keyboard has terrible ergonomics, but something slightly more reasonable could already do the trick..
It's queue-sort. You put the elements into a priority queue, then remove them in property order and put them into a list.
Here you just use the inherent queue of a timer system, which wastes time between extracting the next element. That's silly and inefficient, and disingenuous in trying to hide the queue.
I don't know if 20% is correct, but I feel it's very close to it. I also think a lot of internet arguments happen as a direct result of miscommunication. Emojis are great, but they get abused to the point that HN filters them out. Perhaps allow readers to toggle if they want to see emojis or not?