Better HN
topnewbestaskshowjobs
Log inSign up

wiredfool

6,558 karma · joined Jul 6, 2009 (17y ago) · 2,467 submissions

eric@wiredfool.com
Submissions

comment 3y ago · link · parent

I see “if is evil if used in a location context” (sorry, iOS, can’t copy).

Coupled with the nginx.com domain, I know exactly what the page is and why it’s linked here.

comment 3y ago · link · parent

I hit the old limit of 512 in eMacs after a month or so.

comment 3y ago · link · parent

Wind blown sand isn't good for construction, since it's too round or the wrong size.

comment 3y ago · link · parent

It's probably not replacing the cement though -- it's almost certainly an additive in the concrete mixture, like flyash. And even if it does make the mixture stronger, there are lots of variables for that, like aggregate strength, water/cement ratio, curing times, temperatures, additives and admixtures.

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

Lime isn't really all that different from cement -- it's made by baking the CO2 out of limestone, historically using charcoal kilns (also not very CO2 friendly).

comment 3y ago · link · parent

Otoh, if your house was built by a developer, the plans on file may have only a vague relation to the as built.

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

Huh, I hadn't seen the -L before. Looks pretty similar.

comment 3y ago · link · parent

Most of them? A page and a half, and only a couple that look like what I'd flag.

comment 3y ago · link · parent

Xargs is a nearly drop in replacement and probably already installed by default in most distros. You may need the -n 1 (one file per) and -P to parallelize.

  xargs -n 1 -P 8

comment 3y ago · link · parent

I’ve had a couple of hetzner storage boxes- generally they’re ok.

Though just this weekend there was some screwiness with sub accounts and ssh keys not working that did resolve itself after 24-48 hours. I didn’t notice anything communicated about it.

comment 3y ago · link · parent

I’ve got an auto credit card setup on one of my hetzner accounts.

comment 3y ago · link · parent

Is spelling part of science?

comment 3y ago · link · parent

I've been using duckdb's json import and parsing to deal with a O(50k) item scrape of an API into newline delimited json to convert it into something more usable and found it quite nice to use.

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

At my bank, they will then send you to the online banking, or the phone (with it's 20 min plus waits).

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

How often do yubikeys break?

I’ve got one of the original ones (15 years old?) the must have been through the wash a dozen times and it still works.

comment 3y ago · link · parent

For a while, google was blocking linode's ipv6 block in Frankfurt.

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

Cool, when I read it it was pdf or $300 used copies.

comment 3y ago · link · parent

That’s a very interesting book if you have a passing knowledge of chemistry. Findable on the web in pdf form.

comment 3y ago · link · parent

The three that are not wheels are distributed as source tarballs only -- one is AWS Sagemaker that looks like it uses a bunch of native code, one is Apache Spark, and one is futures.

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

Rpms, apks, debs, msi, exe, tarballs, zips, jars, wars...

comment 3y ago · link · parent

Many foresters will warn you that if you have an over grown lot, harvesters will come in and harvest the big ones, leaving you the crap trees.

Or at least the was the case in rural Wa ca 15 years ago.

comment 3y ago · link · parent

It’s been on osx since it saw called osx and not MacOS.

comment 3y ago · link · parent

I think you're both in violent agreement using different terms.

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

Pretty sure he did, but I don't have r.b.t. archives. He was definitely a proponent of them, preferred a specific brand/style, and would have easily been able to do the experiment.

comment 3y ago · link · parent

There's a lot more creep early on, which is compensated for by a staged tensioning over the course of a few days. They may require the spoke holes in the hub to be radiused, which can be a warranty issue between you and the hub manufacturer. Windup is controlled by a flat on the small bit of spoke used for threads.

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

Foo@bar.com here. Sometimes I run into places where it’s already registered, and hopefully the pw is baz.

comment 3y ago · link · parent

Ok, I’ll dig a bit more to get some good test cases with the local data that I’m familiar with, and make sure that it’s not something that I’m doing wrong.

comment 3y ago · link · parent

This dialogue is reminiscent of rec.bycycles.tech arguments with Jobst, ca 1993.

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

Yes, that's what I was using for my basemaps, it's quite fast for Ireland on a relatively fast machine (minutes), but Europe as a whole was hours. (hetzner quad core 8 thread ~3yr old intel machine with 64G ram)

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

It shouldn’t be required if the range requests are right and you have a compatible renderer in the client.

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.

1
151617
83