Readit News logoReadit News
jeff_tyrrill commented on Most RESTful APIs aren't really RESTful   florian-kraemer.net//soft... · Posted by u/BerislavLopac
s_ting765 · 2 months ago
The DELETE verb exists, there's no reason not to use it.
jeff_tyrrill · 2 months ago
There's a great reason: I'm using HTTP only as a transport layer, not a semantic layer.
jeff_tyrrill commented on Achieving Great Privacy with Safari   matanabudy.com/achieving-... · Posted by u/matanabudy
botanical · 5 months ago
If I'm not mistaken, all Firefox tabs are cookie isolated:

https://support.mozilla.org/en-US/kb/introducing-total-cooki...

Containers are no longer necessary unless you're logging into the same site with multiple accounts.

jeff_tyrrill · 5 months ago
They're isolated by website but the tabs are not isolated from each other, like in Safari (in private browsing).

This distinction matters, if you primarily use private browsing, and have lots of tabs open from a site (say, Wikipedia, or Reddit, or pick a social networking service you don't want to track you by cookie[1]) - that particular website will know all the different tabs are from the same user potentially over a long stretch of time if at least one of those tabs remains open.

[1] Ad networks also track by IP address, so you need to take measures there too.

jeff_tyrrill commented on Achieving Great Privacy with Safari   matanabudy.com/achieving-... · Posted by u/matanabudy
b5 · 5 months ago
Private browsing tabs and windows are preserved across restarts. (This is optional and can be configured to forget them upon restart.)

I am totally stumped – how do you enable this on the Mac? I can’t find the option at all, and Google is no help.

jeff_tyrrill · 5 months ago
In Settings, on the General tab, for "Safari opens with", select either "All windows from last session" or "All non-private windows from last session".
jeff_tyrrill commented on Achieving Great Privacy with Safari   matanabudy.com/achieving-... · Posted by u/matanabudy
jeff_tyrrill · 5 months ago
Two little-appreciated privacy features in Safari not mentioned in the article:

Each private browsing tab has its own cookie / data bucket[1]; and

Private browsing tabs and windows are preserved across restarts. (This is optional and can be configured to forget them upon restart.)

These make it practical to use private browsing for nearly all browsing, which isn't really the case in other browsers, where private browsing is clearly designed as an occasional-use thing. (And of course if you use private browsing for most things, you can still open regular windows for sites where you want to stay logged in.)

[1] If a link or script in a tab opens a new tab or window, then they share the same cookie bucket. This preserves compatibility with sites that require such a flow.

jeff_tyrrill commented on HTTrack Website Copier   httrack.com/... · Posted by u/rzk
jeff_tyrrill · 5 months ago
I've been using HTTrack for almost two decades to create static archives of a yearly website for an annual event.

It doesn't do the job 100% but it's a start. In particular, HTTrack does not support srcset, so only the default (1x) pixel-density images were archived (though I manually edited the archives to inject the high pixel-density images, as well as numerous other necessary fix-ups).

The benefit of the tool is fine control over the crawling process as well as which files are included. Included files have their URLs rewritten in the archived HTML (and CSS) to account for querystrings, absolute vs. relative URLs, external paths, etc.; non-included files also have their URLs rewritten to change relative to absolute links; thus, you can browse the static archive, and non-included assets still function if they are online at their original URL, even if the static archive is on local storage or hosted at a different domain than the original site.

It was more work each year as the website gradually used script in more places, leading to more and more places I would need to manually touch-up the archive to make it browsable. The website was not itself an SPA, but contained SPAs on certain pages; my goal was to capture the snapshot of the initial HTML paint of these SPAs but not to have them functional beyond that. This was (expectedly) beyond HTTrack's capabilities.

At least one other team member wanted to investigate https://github.com/Y2Z/monolith as a potential modern alternative.

jeff_tyrrill commented on After years of leniency, ULA cracks down on hobbyist photographers   arstechnica.com/space/202... · Posted by u/notamy
tzs · a year ago
> As such, as a taxpayer I prefer having photographers not make free money off of the taxes I paid because that's not what I agreed to pay taxes for

I don't recall the US tax system ever asking individual taxpayers to agree to individual items of government spending. I've only ever seen it presented as "you owe this amount and are legally required to pay it".

jeff_tyrrill · a year ago
(nitpick to the overall thread but interesting)

There is at least one exception: On form 1040, you have a yes/no option to redirect $3 to the presidential election campaign fund. This does not affect the amount of your taxes; it's a personal funding choice.

jeff_tyrrill commented on AT&T says criminals stole phone records of 'nearly all' customers in data breach   techcrunch.com/2024/07/12... · Posted by u/impish9208
kjellsbells · a year ago
I find it interesting that in your typical BigCo breach, they are at pains to point out that credit card details were not stolen. I infer from this that something about credit cards, and how they are secured, has real teeth and BigCo's lawyers are trying to stop them biting. Is this PCI-DSS? Maybe someone can comment.

As far as this breach goes, I think it just confirms my gut feel that Snowflake are heading to the wood chipper.

jeff_tyrrill · a year ago
I think it's a desperate attempt to downplay the severity in any way plausible, taking advantage of the fact that credit card numbers and social security numbers have been mythologized in the American consciousness as nearly-mystical totems of identity and security, as part of the "identity theft" meme, even though they play little role in actual information security or privacy.
jeff_tyrrill commented on AT&T says criminals stole phone records of 'nearly all' customers in data breach   techcrunch.com/2024/07/12... · Posted by u/impish9208
nashashmi · a year ago
Not their fault. Snowflake was breached. And the data was with Snowflake.
jeff_tyrrill · a year ago
Your contractor being breached means you were breached.
jeff_tyrrill commented on The American West is figuring out how to keep cool   bbc.com/future/article/20... · Posted by u/pseudolus
tzs · a year ago
> Internal combustion engine vehicles themselves turn 100% of the energy from gasoline into heat, localized to the roads they are driving on.

Let's consider a thought experiment.

We have an ICE car at the bottom of a hill. The car has a trailer attached and there is a weight on the trailer. The mass of the trailer and the weight combined is 500 kg.

The car is started, drives to the top of the hill which is an elevation gain of 100 m, drops off the trailer and weight, and drives back down to the bottom of the hill and is shut off.

The trailer and weight has gained 9.8 m/s^2 x 500 kg x 100 m = 490 000 J of gravitational potential energy, which is not heat.

If all of the energy from the car's gasoline became heat where did that 490 000 J of non-heat energy that the car gave the trailer and weight come from?

jeff_tyrrill · a year ago
100% of the energy becomes heat eventually. For a typical trip, this happens by the trip conclusion. (And also each time the car pauses, such as a stoplight.)

For the trailer-on-hill example, it concludes when the trailer (eventually) is towed or rolls down the hill and comes to a rest from friction.

The weighted trailer is being used like a battery and modifies the situation in the same way as if it were a hybrid car (non-plug-in battery that recharges through regenerative braking and/or directly from the ICE).

u/jeff_tyrrill

KarmaCake day340May 16, 2011View Original