6,558 karma · joined Jul 6, 2009 (17y ago) · 2,467 submissions
comment 3y ago · link · parent
Glossary for the people here who haven't taken classes from people really particular about it:
* Cement is the 'glue' part
* Concrete is Cement + small aggregate (sand) + large aggregate (gravel)
* Cement doesn't dry, it cures, and the water becomes bound in gels between the cementitious minerals. If it does dry out (due to fire, or prior to curing), it loses its strength.
* The trucks aren't cement mixers, they're concrete mixers.comment 3y ago · link · parent
My first house was a Seattle skinny, garage off the alley. The plans on file were for a garage in front, different upper floor layout, and a different roof shape.
comment 3y ago · link · parent
syntax like:
create table foo as (select * from read_json_auto('foos.jsonl'))
and for a bit that was ... overly nested. create table nested as
select unnest(json) from (
select unnest(arr) as json from (
select json as arr from read_json_auto('nested.jsonl')));
And then exporting that as a fixture for django is as easy as: copy (select uid as pk, 'app.Model' as model, tbl as fields from tbl) to 'tbl.jsonl' (format json, array false);comment 3y ago · link · parent
The Mobile app is required to use the debit card anywhere but card present, because 2fa. The Mobile app is required to do interesting things on the website, because of their 2fa. The iPad can't use their website (because reasons, they think it's mobile) and can't use the mobile app because it's not the configured phone with the account.
Credit cards really aren't a thing in this country, and if they are, they will generally have a phone based mobile app for 2fa/strong auth.
comment 3y ago · link · parent
NBD, except that elastic hosts their client deb repos on google infra, so apt-get update was failing from it.
The solution was to single stack the server, or manually install the clients having downloaded from elsewhere.
comment 3y ago · link · parent
I think the news here is that there are no packages in the top N that are using an alternate packaging system without using wheel as well. (alternates being msi, exe, or egg)
comment 3y ago · link · parent
You're looking at the macro "It's all in tension" (superposition of two states) and hinkley is looking at the "bottom is a compressive change" (dynamic portion of the load).
What I'm not clear of is if you think that the upper spokes change tension between the unloaded case and the plain gravity load case (force on hub down, ground on rim up at the bottom), or if you expect the top half spokes to increase and the bottom half to decrease in tension. I think this is what hinkley thinks you think.
comment 3y ago · link · parent
They're ok (i.e., made it through Tour Divide with no issues), done well they're certainly better than badly done steel spokes, but it's not clear if the best builds are better than the best steel builds.
comment 3y ago · link · parent
A bike wheel is a linear elastic system, that can be thought of as a superposition of a uniformly set of tensioned spokes as one state, and a set of spokes in compression in the loaded zone (bottom of the wheel) as the other state. So long as the superposition of the two states obeys the limiting conditions (i.e. spokes in tension) they can be analysed separately.
The size of the loaded zone is related to the relative stiffness of the spokes (axial) and the rim (bending), and can be calculated using beam on elastic foundation methods. For typical rim/spoke combinations, this is approximately 4 spokes.
Outside of the loaded zone, spoke tensions essentially don’t change.
comment 3y ago · link · parent
I've got a couple of goals, or at least evaluations for goals --
1) Have a stripped down basemap like Carto Light, but with different emphasis for the "bicycling friendly" roads, and selectively higher contrast/emphasis for those minor through roads that discourage car traffic but are perfect for a bike. (e.g. Irish boreens, those 1 lane or double track "paved" L roads that are everywhere outside of the major cities.) I find that I simply can't see the minor roads on apple/google maps when I'm out unless I'm zoomed in to the point that I can barely see a network. (fading eyesight and super low contrast).
2) Another lighter base map, but with transit focused features to compliment some of the open data in Ireland around transit -- the routes and timetables and so on. I'm aiming for a site that can be 100% statically hosted but will show the routes in a more friendly manner than Bus Eireann's site.
3) If it goes well, I might be doing this in a more commercial context for some clients who are currently using mapbox for their basemaps but due to political concerns need to insert in different names/boundaries for disputed areas/features. We'd love to be able to self host, but quality is a major concern there.
The bugs that I'm seeing in the 1 and 2 cases are things like handling the look of freeway interchanges/flyovers at close zooms, consistently getting rivers to show at appropriate zooms because they're into two separate feature types depending on the width, with the narrow bits getting dropped. And the general mismatch between the styling I'm used to from the mapbox converted layer names/feature types and what's coming out of pmtiles/basemaps. The feature bits look like tippecanoe coalesce/drop densest features tuning, but I'm also looking at just dropping out entire feature sets to drop the size of the tiles. That should help the coalesce/dropping behavior as well.
comment 3y ago · link · parent
To expand a bit -- There are adapters for mapbox(gl/libre) and leaflet, and so on that will allow you to use a .pmtiles directly from the client with a range request supporting server, like s3 or nginx.
I've used protomaps basemaps to generate an Ireland and EU basemaps for a project from OSM data. I still haven't quite figured out the tuning for which features should be shown, combined, or excluded yet, and the generated layer names are sort of, but not quite compatible with similar base layers + styles from mapbox (which uses the same base data, but a different, proprietary conversion). This part takes a reasonable skill as a GIS person and some taste in the design of the feature symbology.
The downside of doing this on S3 directly is that you might wind up publishing a link to a 100 gig file that would cost $10 if someone just downloaded it. Lambda invocations seem cheap compared to that risk. OTOH, throwing it on a hetzner box is quite reasonable.