Readit News logoReadit News
411111111111111 commented on Apple says it'll remove iMessage and FaceTime in UK rather than break encryption   9to5mac.com/2023/07/20/ap... · Posted by u/samwillis
mouzogu · 3 years ago
i simply prefer not to believe anything that any government or any trillion dollar company says about encryption and privacy.

Apple:

> "We have never heard of PRISM", "We do not provide any government agency with direct access to our servers"

https://web.archive.org/web/20130609061546/https://www.culto...

..some things are just not discussed on public forums.

411111111111111 · 3 years ago
Apple has perfected their virtue signaling game and all the simps love it.

I don't really mind it either anymore, a lot of people have this hero worship fetish and they can't help painting everything in black and white, even though they're all just different shades of gray.

Apple is definitively brighter on that scale then Google or Meta, but they're all corrupt multinational corporations that will do everything they can get away with to increase their bottom line.

411111111111111 commented on Teaching Programming in the Age of ChatGPT   oreilly.com/radar/teachin... · Posted by u/headalgorithm
gnicholas · 3 years ago
> ChatGPT doesn't do much for experienced SWEs, but it demolishes the difficulty curve for newbies.

Interesting, my impression was that ChatGPT helps experienced SWEs by filling out large amounts of boilerplate-ish code. It sounds like that's not your experience, though?

411111111111111 · 3 years ago
I tried that a few times, but by the time I've explained enough for the code to be close to what I want i could've just implemented it myself twice over... And that's ignoring the fact that it's always generating subtly wrong or just poorly performing code.

It might change eventually as ide integrations improve, but for now it's a novelty for me.

Deleted Comment

Deleted Comment

411111111111111 commented on The businessmen broke Hollywood   theatlantic.com/ideas/arc... · Posted by u/fortran77
jollofricepeas · 3 years ago
Actually.

It’s because the market dynamics have changed and we stopped buying DVDs and VHS.

Matt Damon talked about this just a few years ago on Hot Ones.

https://youtu.be/Jx8F5Imd8A8

“So what happened was the DVD was a huge part of our business, of our revenue stream,” Damon said.

“Technology has just made that obsolete, and so the movies that we used to make you could afford to not make all of your money when it played in the theatre because you knew you had the DVD coming behind the release.”

Links:

https://www.ajc.com/life/why-dont-they-make-movies-like-they...

411111111111111 · 3 years ago
If that was true, then why are there movies/series created solely for streaming providers?

It can't be there sole reason, and I sincerely doubt it's even true. Sure, the price of a single DVD would've covered the price of 1-2 months of streaming on Netflix, but people didn't buy a DVD each month. And if they did, they lent it to friends after.

411111111111111 commented on Using XPath in 2023   denizaksimsek.com/2023/xp... · Posted by u/recursivedoubts
ok123456 · 3 years ago
Now do that when you want the 8-th parent in a complex document.
411111111111111 · 3 years ago
I only did depth=1 because the syntax doesnt change, i still don't see a difference to speak of

css:

    div:has( > \* > \* > \* > \* > \* > \* > \* > #the-child)
    (backslashes added by hn because of formatting conflict)
xpath:

    //div[@id="the-child"]/../../../../../../../..

411111111111111 commented on Using XPath in 2023   denizaksimsek.com/2023/xp... · Posted by u/recursivedoubts
ok123456 · 3 years ago
I use XPath on DOM when I want to find the n-th parent from a particular node. This is very easily done with XPath vs. selectors.
411111111111111 · 3 years ago
lets say you have

    <body>
    <div><!-- you want this one -->
      ok
      <div id="the-child"></div>
    </div>
     <div><!-- you dont want this one -->
      nok
      <div id="the-wrong-child"></div>
    </div>
    </body>
css:

    div:has( > #the-child)
xpath:

    //div[@id="the-child"]/..
isnt that kinda the same? I think I'd even consider the css version to be easier to understand at a glance.

If you've got full control over the Dom it'd be much better to just set an id attribute on the element in question though, as getElementById is still the best performing option

Deleted Comment

411111111111111 commented on Using XPath in 2023   denizaksimsek.com/2023/xp... · Posted by u/recursivedoubts
intrasight · 3 years ago
I read the post and also the docs, but still don't understand where or why one would use "hx-on". Can someone clarify?
411111111111111 · 3 years ago
hx-on is the general js API from htmx, it's essentially a wrapper/shortcut for creating a js event handler. The htmx docs provide some examples

https://htmx.org/attributes/hx-on/

411111111111111 commented on Lets-Plot: An open-source plotting library for statistical data   lets-plot.org/... · Posted by u/pkkm
wing-_-nuts · 3 years ago
>However the best thing about this library may be that it is available for Kotlin.

What? How's that? It's written in python. Does kotlin have python interop?

411111111111111 · 3 years ago
It's linked in the description

https://github.com/JetBrains/lets-plot-kotlin

u/411111111111111

KarmaCake day2374February 10, 2020View Original