chaospatterns

joined 1 year ago
[–] chaospatterns 20 points 1 day ago

Monthly active users. A metric to show the number of users who are considered active at least once per month.

[–] chaospatterns 18 points 5 days ago (1 children)

The spec mandating its as a single string isn't that crazy. It's good to have a consistent response format so a basic deserializer can deserialize any error response object and get something out.

If you have different providers. One that returns error: { code: string } and another does something else, you end up with the same problem this post talks about-- Inconsistency.

As far as I can tell, the spec doesn't limit you to just the one field and you can add other optional fields to the top level to the response that the caller can optionally decide to handle. But if you know there's going to be a field called error that is a string. You always get at least something out of that to present.

[–] chaospatterns 14 points 5 days ago (3 children)

It just goes to show the small parts of API design matter just as much as the big parts. I've worked with a lot of engineers who are so eager to draw big boxes and arrow architectural diagrams, but then just rush the details because that's not important.

133
Dear OAuth Providers (pilcrowonpaper.com)
[–] chaospatterns 3 points 2 weeks ago

The hard part is browsers. Cookies and local storage are limited by the origin URL. You need it explicitly set on the domains you intend to visit, but those domains don't know your age. The one that knows the age is the identity provider, but it can't set it for all domains. There are other techniques that you could use, like a smart card combined with a browser extension to do local based user info attestation, but those are difficult to manage at a nation scale and I suspect people will struggle with them, though there are some countries that do have national smart cards (e.g. Estonia.)

[–] chaospatterns 13 points 2 weeks ago* (last edited 2 weeks ago) (7 children)

Its possible to implement something that hides your actual age from a website, but the tricky part is hiding what website you're visiting from an identity provider.

Let's walk through a wrong solution to get some fundamentals. If you're familiar with SSO login, a website makes a request token to login the user and makes claims (these request pieces of user information.) One could simply request "is the user older than 18?" And that hides the actual age and user identity.

The problem is how do you hide what website you're going to from the identity provider? In most SSO style logins, you need to know the web page to redirect back to the original site. Thus leaking information about websites you probably don't want to share.

The problem with proposals that focus on the crypto is that they actually have to be implemented using today's browser and HTTP standards to get people to use them.

[–] chaospatterns 2 points 3 weeks ago* (last edited 3 weeks ago)

True, but even if there's only one supplier, there's still demand-side elasticity of price, which means that price increasing causes some customers to not buy the product. Thus, a company may or may not be able to increase a price 1:1 with the tarriff.

All this is fun economic theory, but I was specifically responding to the claim that tax incentives were better than a tarriff. They both translate into some increase in cost of the goods sold.

[–] chaospatterns 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Batteries are bounded by more predictable chemistry more so than something like the breakdown of a mechanical based trigger waiting for rust or decomposition. Chemistry makes it easier to model and predict. If you've got a 1Ah battery and it consumes x watt hours per hour, then it takes y days to burn through. Tolerances that cause the battery to have slightly more or less capacity or component power consumption will likely be <5%, thus not radically different because nobody is timing this to the minute.

[–] chaospatterns 4 points 3 weeks ago (2 children)

If it becomes more expensive to buy products manufactured in certain countries then customers would naturally change their buying habits to other companies. The price to the customer ultimately acts as an incentive to companies.

[–] chaospatterns 11 points 1 month ago

I could connect a smart plug and disconnect it if below -15, if that would help

If you didn't know already, many smart plugs are not rated for the amount of power that fridges and other compressor based appliances. They can overlosd the plugs and cause failures or fires. Also shutting off a compressor mid cycle increases the wear.

[–] chaospatterns 2 points 1 month ago

This release had a number of performance improvements as documented here.

[–] chaospatterns 9 points 1 month ago* (last edited 1 month ago)

These pictures remind me of YouTube thumbnails with fhe style of over emphasized visuals and it makes me wonder if people got accustomed to that style and that makes it easier to pass the BS test.

[–] chaospatterns 5 points 1 month ago* (last edited 1 month ago)

Just think of all the countries and companies that grab this data, group by email address, then start to identify preferences of people around the world. Its not just for identity theft. The possibilities are endless! And horrifying.

 

Announcement by the creator: https://forum.syncthing.net/t/discontinuing-syncthing-android/23002

Unfortunately I don’t have good news on the state of the android app: I am retiring it. The last release on Github and F-Droid will happen with the December 2024 Syncthing version.

Reason is a combination of Google making Play publishing something between hard and impossible and no active maintenance. The app saw no significant development for a long time and without Play releases I do no longer see enough benefit and/or have enough motivation to keep up the ongoing maintenance an app requires even without doing much, if any, changes.

Thanks a lot to everyone who ever contributed to this app!

 

Watch out for the light rail going north. It's moving slow and the driver actually said to take a bus if you have time sensitive appointments.

1 Line trains are sharing one track from University of Washington Station to Northgate Station until further notice due to a mechanical issue. Please board all trains on the platform to Angle Lake Station.

In effect: Oct. 19, 8:45 a.m.

Routes: 1 Line

 

PCC is returning to the Rainier Square building focusing on lunch foods and a "limited selection of grocery and pantry items."

 

I'm excited to see this as I'm pretty much only use Z-Wave. Also interesting is they are developing their own dongle

 

Summer construction season is coming to an end, but not before we tackle our biggest weekend of construction for the region this year. We're calling it our Monster Weekend. Buckle up (literally) because here's what's going down:

A map depicting full closures of State Route 520, Mercer Street on ramps to I-5, Northbound I-405 in Renton, Southbound SR 167 in Kent, and I-5 OVERNIGHTS ONLY near Fife. The map is covered in cute cartoon monsters.

SR 520 CLOSED - highway and trail

-Where: From I-5 in Seattle to 92nd Ave NE in Clyde Hill
-When: 11 p.m. Friday, Sept. 27, to 5 a.m. Monday, Sept. 30
-What: Working on lighting and the fire suppression system under the new Montlake lid over SR 520.

NB I-405 in Renton CLOSED

-Where: From Sunset Boulevard Northeast/Southport Drive (Exit 5) to Coal Creek Parkway SE
-When: 11 p.m. Friday, Sept. 27, to 4 a.m. Monday, Sept. 30.
-What: Shifting northbound traffic onto a new bridge. A signed detour will be available. This work is weather-dependent and may be rescheduled.

SB SR 167 in Kent CLOSED

-Where: From SR 516 to South 27th Street
-When: 11:59 p.m. Friday, Sept. 27, to 4 a.m. Monday, Sept. 30.
-Why: Paving and striping sections of SB SR 167. This work is weather-dependent and may be rescheduled.

Both directions I-5 CLOSED - overnights only!

-Where: Between SR 18 in Federal Way and 54th Ave E in Fife
-When: Overnight Friday, Sept. 27, and Saturday, Sept. 28. NB lanes will close by 10:30 p.m. and SB lanes by 11 p.m. On Saturday, lanes begin opening at 7 a.m. (fully open by 11 a.m.). On Sunday, lanes begin reopening at 8 a.m. (fully open by noon).
-Why: Setting girders for a new overpass crossing I-5.

Mercer Street on-ramps to I-5 CLOSED

-Where: Mercer Street on-ramps to both NB and SB I-5 in Seattle
-When: 10 p.m. Friday, Sept. 27, and 5 a.m. Monday, Sept. 30.
-Why: Paving the ramp and adjacent shoulders.

Some of these closures have detours, but a warning: Detour routes cannot accommodate normal traffic volumes, so try to travel during off-peak hours or, if possible, delay your trip to help minimize backups.

It's been a long summer of road work. You've been patient, and we're grateful for that. We need to get this work done now before we fully enter The Big Gray.

 

September is National Preparedness Month. Staff members from King County Emergency Management and Washington Emergency Management Division are here to answer your questions about hazards in King County and how you can be better prepared for emergencies.

7
submitted 3 months ago* (last edited 3 months ago) by chaospatterns to c/aws
 

Amazon S3 adds support for conditional writes that can check for the existence of an object before creating it. This capability can help you more easily prevent applications from overwriting any existing objects when uploading data. You can perform conditional writes using PutObject or CompleteMultipartUpload API requests in both general purpose and directory buckets.

Using conditional writes, you can simplify how distributed applications with multiple clients concurrently update data in parallel across shared datasets. Each client can conditionally write objects, making sure that it does not overwrite any objects already written by another client. This means you no longer need to build any client-side consensus mechanisms to coordinate updates or use additional API requests to check for the presence of an object before uploading data. Instead, you can reliably offload such validations to S3, enabling better performance and efficiency for large-scale analytics, distributed machine learning, and other highly parallelized workloads. To use conditional writes, you can add the HTTP if-none-match conditional header along with PutObject and CompleteMultipartUpload API requests.

This feature is available at no additional charge in all AWS Regions, including the AWS GovCloud (US) Regions and the AWS China Regions. You can use the AWS SDK, API, or CLI to perform conditional writes. To learn more about conditional writes, visit the S3 User Guide.

46
submitted 3 months ago* (last edited 3 months ago) by chaospatterns to c/seattle
 

The Lynnwood 1 Line extension is scheduled to open on this Friday, Aug 30th, 2024

 

Original Link

This entire situation has been wild. From Miles' public defender turning to him and telling him to stop talking in courts, to the idea that renaming your Instagram profile gets around court orders, to just loaning your car out to friends.

view more: next ›