Readit News logoReadit News
PokestarFan commented on The Therac-25 Incident (2021)   thedailywtf.com/articles/... · Posted by u/lemper
SirMaster · 2 days ago
The question I have is why was the hardware capable of delivering a fatal dose like this. Is that actually ever even a usable output for some legitimate reason?

If not, why not hardware limit the power input to the machine, so even if the software completely failed, it would not be physically capable of delivering a fatal dose like this?

PokestarFan · 2 days ago
I believe that for X-ray mode, the radiation was indirect, so it needed a lot more power. Furthermore, older revisions had hardware locks, and the intent of the Therac-25 was to make it cheaper.
PokestarFan commented on Mark Zuckerberg freezes AI hiring amid bubble fears   telegraph.co.uk/business/... · Posted by u/pera
qeternity · 8 days ago
FAANG has been replaced by Mag7: Alphabet, Amazon, Apple, Broadcom, Meta, Microsoft, and Nvidia.
PokestarFan · 7 days ago
Does Broadcom do anything but get hate for their shitty decisions? They are becoming, if they aren't already, the new Oracle.
PokestarFan commented on FFmpeg 8.0   ffmpeg.org/index.html#pr8... · Posted by u/gyan
yieldcrv · 7 days ago
And also pirated releases are super weird and all over the place with subtitles and video player compatibility

This could streamline things

PokestarFan · 7 days ago
This is because blurays ship their subtitles as a bunch of text images. So pirates have 3 options:

1. Just copy them over from the Bluray. This lacks support in most client players, so you'll either need to download a player that does, or use something like Plex/Jellyfin, which will run FFMpeg to transcode and burn the picture subtitles in before sending it to the client.

2. Run OCR on the Bluray subtitles. Not perfect.

3. Steal subtitles from a streaming service release (or multiple) if it exists.

PokestarFan commented on FFmpeg 8.0   ffmpeg.org/index.html#pr8... · Posted by u/gyan
larodi · 7 days ago
Is anyone else on the opinion that ffmpeg now ranks 4th as the most used lib after ssl, zlib, and sqlite... given video is like omnipresent in 2025?
PokestarFan · 7 days ago
FFMpeg is probably not as up high since video processing only needs to be done on the servers that receive media. I doubt most phones are running FFMpeg on video.
PokestarFan commented on Crimes with Python's Pattern Matching (2022)   hillelwayne.com/post/pyth... · Posted by u/agluszak
zahlman · 8 days ago
I don't think I've written a match-case yet. Aside from not having a lot of use cases for it personally, I find that it's very strange-feeling syntax. It tries too hard to look right, with the consequence that it's sometimes quite hard to reason about.
PokestarFan · 8 days ago
I just use match case as a traditional switch statement.
PokestarFan commented on Crimes with Python's Pattern Matching (2022)   hillelwayne.com/post/pyth... · Posted by u/agluszak
jbmchuck · 8 days ago
Should be easily doable with a semgrep rule, e.g.:

    ~> cat semgrep.yaml
    rules:
      - id: no-pattern-matching
        pattern: |
          match ...:
        message: |
          I'm not a fan of the pattern matching in Python
        severity: ERROR
        languages:
          - python
...

    ~> cat test.py
    #!/usr/bin/env python3

    foo = 1
    match foo:
      case 1:
        print("one")
...

    ~> semgrep --config semgrep.yaml test.py   


     no-pattern-matching
          I'm not a fan of the pattern matching in Python
                                                         
            4┆ match foo:
            5┆   case 1:
            6┆     print("one")
(exits non-0)

PokestarFan · 8 days ago
You need to make that exclude match = ... since match can also be a variable name. This is because people used to write code like match = re.search(...)
PokestarFan commented on Ubiquiti launches UniFi OS Server for self-hosting   lazyadmin.nl/home-network... · Posted by u/speckx
Spooky23 · a month ago
I love my ubiquity kit, but they annoy me with half finished stuff.

I upgraded my venerable USG with the new UXG as I have gig service now. The gear is great, even supports IPv6, and uses much less power. But… no internal DNS is enabled. So now, I ended up buying a thin client on eBay to roll my own DHCP/DNS. Not fun. It is baffling to me because there’s lots of complex new features in the Unifi stack, and they already had an interface to configure static names in dnsmasq.

I went the Eufy route for cameras as the batteries were a big draw for me.

PokestarFan · a month ago
Wait the UXG doesn't do DHCP/DNS? The UCGs all do those which is a weird design choice.
PokestarFan commented on Visa and Mastercard: The global payment duopoly (2024)   quartr.com/insights/edge/... · Posted by u/bilekas
michaelmior · a month ago
Sure, but for those of us in North America, it's still a draw. That said, I can see that the consumer would potentially be better off if fees went down, prices dropped, and rewards went away. But that's probably not a realistic future.
PokestarFan · a month ago
The unfortunate reality is that even if fees disappeared tomorrow, most merchants would just keep the current price and pocket all the extra money as profit.
PokestarFan commented on A media company demanded a license fee for an Open Graph image I used   alistairshepherd.uk/writi... · Posted by u/cheeaun
chemmail · a month ago
Why not just remove that one link/image?
PokestarFan · a month ago
The email said that removing the image was "not enough".
PokestarFan commented on The Steam Deck is software-freedom friendly   isomorphism.xyz/blog/2024... · Posted by u/todsacerdoti
ziddoap · 5 months ago
>If you're a game dev, small or big it doesn't matter, and your game isn't on Steam, it might as well not exist

That's an exaggeration.

World of Warcraft, COD, League of Legends, all exist just fine. For brand new games, The Bazaar is doing very well and they're using their own launcher.

(Slightly off-topic, but The Bazaar is really good, for anyone who likes card-based auto-battler games! Highly recommend.)

PokestarFan · 5 months ago
Also so far Riot's games don't require upfront purchases so that changes the equation a bit.

u/PokestarFan

KarmaCake day57December 8, 2016View Original