Readit News logoReadit News
jgtrosh commented on What brain surgery taught me about the fragile gift of consciousness   bigthink.com/business/bra... · Posted by u/NaOH
libraryofbabel · 3 days ago
> What always amazes me is how there’s absolutely no sense of time having passed once I wake up. For me, general anesthesia is probably the closest thing to experiencing death, except with the difference that you get the chance to resume your existence again.

I have been under general anesthesia three times, and this is the thing that sticks with me too: it’s a dress-rehearsal for death. The conclusions you come to by going through it are obvious in retrospect but nonetheless interesting:

You have no conscious experience or memory of the moment when you go under and your consciousness is severed. There is only the lead-up, usually the anesthesiologist saying they’re about to start putting the drugs into your arm, or asking you to count down. The next conscious event in your life is waking up in the recovery room. It’s obvious to say, but you could die while under anesthesia and you would never know. Your conscious life up to the moment you went under would be the same. I think it was Wittgenstein who said that Death is not an event in life, and after experiencing anesthesia I suppose I get what he meant.

> I've never felt as much peace as I do right before going under anesthesia.

Same, but I don’t place a lot of stock in it - like you say, it’s the drugs. I asked my anesthesiologist what he’d be giving me to relax me before I went under and he said fentanyl.

jgtrosh · 2 days ago
Before Wittgenstein, Epicurius:

> Death, therefore, the most awful of evils, is nothing to us, seeing that, when we are, death is not come, and, when death is come, we are not.

https://en.wikisource.org/wiki/Letter_to_Menoeceus

jgtrosh commented on Python f-string cheat sheets (2022)   fstring.help/cheat/... · Posted by u/shlomo_z
cloudbonsai · 14 days ago
You haven't seen the full depth yet. Suppose that you encountered with this line:

    print(f"{n:.2g}")
What will it print? Here is the official explanation from https://docs.python.org/3.12/library/string.html#formatspec:

    g - General format. For a given precision p >= 1, this rounds the number to p significant digits and then formats the result in either fixed-point format or in scientific notation, depending on its magnitude. A precision of 0 is treated as equivalent to a precision of 1.

    The precise rules are as follows: suppose that the result formatted with presentation type 'e' and precision p-1 would have exponent exp. Then, if m <= exp < p, where m is -4 for floats and -6 for Decimals, the number is formatted with presentation type 'f' and precision p-1-exp. Otherwise, the number is formatted with presentation type 'e' and precision p-1. In both cases insignificant trailing zeros are removed from the significand, and the decimal point is also removed if there are no remaining digits following it, unless the '#' option is used.

    With no precision given, uses a precision of 6 significant digits for float. For Decimal, the coefficient of the result is formed from the coefficient digits of the value; scientific notation is used for values smaller than 1e-6 in absolute value and values where the place value of the least significant digit is larger than 1, and fixed-point notation is used otherwise.

    Positive and negative infinity, positive and negative zero, and nans, are formatted as inf, -inf, 0, -0 and nan respectively, regardless of the precision.
Make sense? You now should be able to see why it's called f-string.

jgtrosh · 14 days ago
Yes, it's a generalisation of `%g` in f-string's ancestor printf(3). This is what people expect to find in formatting templates.
jgtrosh commented on Devstral   mistral.ai/news/devstral... · Posted by u/mfiguiere
dismalaf · 3 months ago
Pretty sure the EU paid for some supercomputers that AI startups can use and Mistral is partner in that program.
jgtrosh · 3 months ago
https://www.datacenterdynamics.com/en/news/french-data-cente... this Eclairion colo currently being built south of Paris, mostly for Mistral has received some public money (incl. 3M€ from the region https://www.iledefrance.fr/toutes-les-actualites/ia-un-super...)
jgtrosh commented on JSLinux   bellard.org/jslinux/... · Posted by u/TechTechTech
roschdal · 5 months ago
JSLinux is too slow to be used for anything.

Where is the complete source code for this?

jgtrosh · 5 months ago
I find it perfect for technical interviews over screen sharing, since we test for some basic degree of ease on remote linux systems.
jgtrosh commented on Quality-of-Life in Tetris Games   jcarlosroldan.com/post/35... · Posted by u/juancroldan
jchw · 5 months ago
I doubt this is going to be a popular opinion, but I honestly think Tetris 1v1 just isn't that interesting of a game. The interaction between players is pretty damn boring. In guideline 1v1 a lot of very high level games are decided by garbage RNG which I think is even less interesting than determining who is 0.1pps faster. I don't think either ruleset is particularly better for either players or people watching. Don't get me wrong, there's definitely a lot of tension in high level game play and so it's not completely boring, but to me it starts to get old once you realize what's happening, and I haven't really watched any high level Tetris stuff in a long time. I have a lot more fun watching Classic Tetris World Championship, because as janky as NES Tetris is, it's fun to watch people absolutely decimate it.

Now if you want a good multiplayer puzzle game with super rich interactions, I think you just simply need a different game entirely, because there's no obvious way to weave some sort of responsive strategy into a Tetris game. Therefore, my pick for the ideal competitive falling blocks puzzle game is Puyo Puyo Tsu.

jgtrosh · 5 months ago
My dream competitive Tetris game is based on the cooperative mode in Tengen Tetris, with two players on the same board and separate scores. However, it's a bit hard to promote cooperation and not suicide as soon as there's any disadvantage. A possible workaround is to have two simultaneous 1v1 games (same seed), and count all four scores independently.
jgtrosh commented on Oxidizing Ubuntu: adopting Rust utilities by default   lwn.net/SubscriberLink/10... · Posted by u/jwilk
blueflow · 5 months ago
The uutils project has the right goals - 1:1 compatibility with GNU coreutils to the extent that any difference in functionality is a bug.

The first comment on LWN is about a bug in the more(1) from uutils. I checked out that code, found some oddities (like doing stat() on a path to check if it exists, right before open()ing it) and went to check against how GNU coreutils does it.

Turns out coreutils does not do it at all, because more(1) is from util-linux. ta-dam.

jgtrosh · 5 months ago
And? How does that do it?
jgtrosh commented on I expect to pass through this world but once   loc.gov/item/rbpe.1340040... · Posted by u/squircle
jgtrosh · 7 months ago
I suppose this is supposed to be seen as ye olde yolo
jgtrosh commented on Garmin's –$40B Pivot   readtrung.com/p/garmins-4... · Posted by u/thibautg
maskull · 7 months ago
I'm amazed apple has got by with a 3/4 day charge for 10 generations while garmin has had products with a 7+ day charge for years.
jgtrosh · 7 months ago
An Apple device would need to bring 9.3x the value of a Garmin device in other ways to compensate the charge gap? I'd say Apple users would agree that it does.
jgtrosh commented on BYD's electric supercar jumps over potholes and spikes   drive.com.au/news/byd-yan... · Posted by u/geox
Hamuko · 8 months ago
I'd be impressed if it managed to jump the speed bumps in school areas. Those are like what, 7 cm to 10 cm in elevation over a long distance?
jgtrosh · 8 months ago
In France, « dos d'ânes » (“donkey's backs”) are supposed to be 10cm high, with other measurements we'll defined, but about 80% are way more “violent” as a defensive tool used by municipalities.

But that's nothing compared with mexican topes.

jgtrosh commented on McKinsey and Company to pay $650M for role in opioid crisis   npr.org/2024/12/13/nx-s1-... · Posted by u/pseudolus
throwaway2037 · 9 months ago

    > blue collar crime
I never saw this term before. Do you mean all crime except white collar crime?

jgtrosh · 9 months ago
I meant white collar crime

u/jgtrosh

KarmaCake day1243April 19, 2017View Original