HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Sidnicious

no profile record

comments

Sidnicious
·22 gün önce·discuss
This issue was related to an old macOS optimization called "detached mode" or FSLP (fullscreen low power). There were related bugs in Chrome and Firefox:

- https://issues.chromium.org/issues/41359717

- https://bugzilla.mozilla.org/show_bug.cgi?id=1747999

macOS skipped compositing when only a single fullscreen surface with a black background was being rendered, but there were many ways for that render path to misbehave.

It only ever affected integrated graphics on dual GPU Macs, as far as I can remember.
Sidnicious
·8 ay önce·discuss
Not suggesting an alternative model here, but I think that Google et. al (based on my own time working on Chrome) don't take that responsibility quite as seriously as they should. Being responsible may be an accident, but being dominant in any given area is not. The forces inside Google which take over parts of the world do so without really caring about the long term commitment.

It is so possible to preserve XSLT and other web features e.g. by wrapping them in built-in (potentially even standardized) polyfills, but that kind of work isn't incentivized over new features and big flashy refactors.
Sidnicious
·geçen yıl·discuss
This one is ever so slightly smaller at 3.25 x 8.55 x 0.85mm: https://www.mouser.com/ProductDetail/TAIYO-YUDEN/EYSHSNZWZ?q...

Six of them fit on the face of a dime, which is wild.
Sidnicious
·geçen yıl·discuss
Generally speaking yes, they are different. One pattern is that you do something to create a source of audio, and the layer below you starts handing you buffers to fill. With each buffer you send back you can indicate if you want to keep getting called with fresh buffers — if not, the calls stop until you poke something to resume them.

Another pattern is that you push buffers to the layer below you and there’s backpressure to keep you sending at the same rate they’re being played out. In that case you can just stop sending buffers when you have nothing to play.

Your reasons are correct. There are so many layers between an app (or web page) and the physical layer of sound which all burn power; phones and earbuds owe quite a bit of their battery life to shutting down bits of hardware when unused.

EDIT: this reminds me of a WWDC many years ago — Apple got really excited about timer coalescing and added parameters to all the low level timer APIs which let you indicate how much slop you want to allow for each individual timer. Ideally then the OS can keep the CPU asleep for longer and wake it up to do work in batches. Code that deals with real time sound has tight timing requirements and can’t be delayed as easily, so in a timer-coalesced world distinguishing between playing silence and playing nothing has an even bigger power impact.
Sidnicious
·2 yıl önce·discuss
Would it be possible to let you run local models without an account?
Sidnicious
·2 yıl önce·discuss
I've had an issue with my phone for the past few months that could be solved by erasing it and restoring from backup, but I use Signal a bunch and I'm not currently feeling risky or motivated enough to migrate my whole Signal state to a spare phone and do it.

Lack of backups is not a retention/deletion policy. Signal chats can, in fact, have a deletion policy set. Instead it directly ties retention to "how long can I last without losing or erasing my phone", which is not a useful proxy.

Anyone sufficiently motivated to keep messages forever can (a) set up the desktop client and back up its data store or (b) set up signal-cli and save everything that comes out of it.

No backups doesn't defeat this, it just makes life harder for everyone who relies on scrollback. Imagine if email worked this way.
Sidnicious
·4 yıl önce·discuss
Plus, successful couples are great advocates for the website that introduced them. You lose two customers in the immediate term but gain more as time goes on. (Also OkCupid, 2012-2015.)
Sidnicious
·4 yıl önce·discuss
A PDF doesn’t represent a responsive/resizable version of the page so it will look awkward on most screen sizes even if the original would have handled it.

A PDF doesn’t capture scrolling behavior, so a nested scrolling element will lose most of its content, and a page with a chat prompt or cookie notice might have part of its content covered.

A PDF won’t capture even simple interactive elements like image carousels, lightboxes, and collapsible sections, so content may be lost (“oops, I saved it on the second slide of the image carousel, but I really wanted the first one”).

As far as I know, a PDF won’t include embedded audio/video.

Many PDF exporters chunk the document into paper-sized pages (but, to be fair, some don’t).

Not sure if this tool nails all of those cases, but those are reasons why I’ve saved local copies of pages in the past.
Sidnicious
·4 yıl önce·discuss
Not exactly the raw data, but Twilio has a cheap and easy-to-use API for this: https://www.twilio.com/docs/lookup.
Sidnicious
·4 yıl önce·discuss
The top-level comment you replied to doesn’t mention malware.

In any case, both hardware and software keyloggers exist which would be thwarted by an onscreen keyboard. If I recall correctly, mouse keyboards became popular when keyloggers started being more known, and the following generation of malware took screenshots every time you clicked.

It’s a very obsolete security measure but did make sense briefly.
Sidnicious
·4 yıl önce·discuss
FYI: I believe this works because it saves the string "false", which is truth-y. You can also use:

    defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool YES
Sidnicious
·4 yıl önce·discuss
Not the OP, but this is super cool as a way to measure extensions' performance impact (in a super limited way, admittedly). For me…

  Chrome 99.0.4844.51:
  - 1Password + µBlock Origin: 277 ± 2.9
  - No extensions:             303 ± 5.1 (9% faster)

  Safari 15.3:
  - 1Password:     251   ± 2.6
  - No extensions: 280.5 ± 2.6 (11% faster)
Sidnicious
·4 yıl önce·discuss
I think what the author's getting at is that the function you pass to JavaScript .sort() just returns a number — not special sentinel values — which represents the relative order of two items in the array. By calling that function strategically from a loop, .sort() can sort the array.

Similarly, an SDF returns a number that represents how far a point in 3D space is from an object's surface. And, by calling that function strategically from a loop, you can draw a 3D scene using only that function.
Sidnicious
·5 yıl önce·discuss
You can, but note that as a user you have to open System Preferences and check a checkbox to allow said malware to do this. (Apple locked down the accessibility APIs that let apps easily manipulate each other a few years ago.)
Sidnicious
·5 yıl önce·discuss
Yes, exactly. I'm sure there are more elegant answers — plus watching events so that it can hide the window right away instead of running in a loop — but I haven't used the accessibility APIs much lately and this is the first working approach I found.
Sidnicious
·5 yıl önce·discuss
I made a very quick hack to deal with this; it should hide the dot. Improvements welcome:

https://github.com/s4y/undot

EDIT: As far as I know, the best long-term answer here is for apps that present visuals full screen to "capture" the external display for exclusive use using an API (https://developer.apple.com/documentation/coregraphics/14562...), but that's not super common right now.
Sidnicious
·8 yıl önce·discuss
For another example, I have a couple of these which are a bit bigger but have an ARM SoC and onboard Bluetooth (with antenna):

https://www.digikey.com/en/product-highlight/t/taiyo-yuden/e...