HNHacker News
TopNewBestAskShowJobs

ripley12

1,572 karma · joined April 24, 2015

reillywood.com
submissionscomments
ripley12··on When I tell the Windows Terminal team something is simple, I am "misguided"
Not a liar. Casey was being combative, and still is. He keeps mobilizing his entire community against a small team because 1 GitHub issue didn't go the way he wanted. I can't believe this is still going on.
ripley12··on I want off Mr. Golang’s Wild Ride (2020)
> You can take a look at System.Diagnostics.Process for one of the worst offenders.

Yeah, this is one of my least favourite APIs in all of .NET. My understanding is that the .NET team is planning to redo it in the next few years, but if you want something better right now I highly recommend the excellent CliWrap library: https://github.com/Tyrrrz/CliWrap

ripley12··on Fedora 36: A brave new (DRM/KMS only) world
Yeah, the default scaling options are unacceptable. I was able to work around it by installing GNOME Tweaks (absolutely bonkers that this isn't installed by default) and changing the font scaling factor, but until I did that my 4k monitor was really hard to use.
ripley12··on Overhauling Mario 64's code to reach 30 FPS and render 6x faster on N64 [video]
Do you have any favourite dev reaction videos?
ripley12··on Is Rust Web Yet?
Compile times are still pretty bad, I recently upgraded from a pretty-new laptop to a blazing-fast desktop (12900K) just for Rust development. But at least they're acceptable now: using the mold linker, incremental builds take 1-2s on a large (~450 crate) project.

I agree that there's a lot more work to do before Rust development is pleasant on average hardware. Does anyone know if Cranelift is still going anywhere?

ripley12··on A Dotfile History
Public, mostly because it makes cloning my dotfiles to new computers/VMs much easier. But yeah, requires a bit of care to avoid committing secrets.
ripley12··on Vancouver Zoning Map
Probably thinking of Southlands, the technically-zoned-for-agricultural-use mansion district which includes Vancouver's only part of the provincial Agricultural Land Reserve.
ripley12··on Vancouver Zoning Map
> Changing zoning is pretty short sited if you have the goal of having an area that people love to love in.

This is such an odd statement; it's "not even wrong."

Vancouver zones most of its land for low-density suburban houses that accommodate very few people. It also has many examples of zoning districts that accommodate a lot of people in urban neighbourhoods that people love to live in. You can just change one zoning district to another proven one!

ripley12··on Vancouver Zoning Map
The problem with this is that by design, it's a nice place for very few people. Zoning central land for houses on massive lots is effectively a cap on how many people can live there; it's an incredibly regressive policy that benefits a few owners of $10M+ homes at a large cost.
ripley12··on Vancouver Zoning Map
Yes, and it's awful; it's essentially mansion zoning (each lot is required to be massive).

The history of Shaughnessy land use is kinda interesting; it was designed to be an ultra-exclusive enclave from the start, and the province and the city have both used their powers to keep it that way.

In the first half of the 1900s, the province enacted laws mandating single-family homes only in Shaughnessy; they were particularly weird in that the Shaughnessy Heights Property Owners' Association was empowered to enforce them. In (more) recent years the City has done largely the same thing with zoning restrictions.

Some links if you're curious:

https://twitter.com/GRIDSVancouver/status/960183009017135104...

https://web.archive.org/web/20190722191318/vancouver.ca/home...

ripley12··on Vancouver Zoning Map
There are a lot of potential answers to that, but perhaps the shortest one is that cars drive much faster on a highway.
ripley12··on Vancouver Zoning Map
> many of its neighborhoods/dining districts feel really cold/loud/unwalkable due to the high speed 4 lane roads everywhere

Yeah, this is an unfortunate aspect of Vancouver's city planning; our zoning forces nearly all shops and restaurants onto busy, loud, polluted arterial roads. Changing this isn't really on the political landscape right now, and I don't think it's going to change anytime soon.

ripley12··on Vancouver Zoning Map
Yeah, Vancouver's zoning code has pretty awful origins; I wrote about it here a while back: https://www.abundanthousingvancouver.com/vancouvers_first_zo...

In a nutshell, it was intentionally designed to keep apartment buildings and stores out of most of the city.

ripley12··on Vancouver Zoning Map
> Narrow streets (avoids traffic in side streets)

That's an interesting one to me, because I'm generally bothered by how wide Vancouver streets are. IIRC most Vancouver residential streets are 33 feet wide, waaaaaaaay wider than in many European and Asian cities.

ripley12··on Vancouver Zoning Map
I've read way too many Vancouver zoning bylaws and I can tell you that they're generally not very readable and not very interesting :)

But if you do want to read them, here you go: https://vancouver.ca/home-property-development/zoning-and-la...

The "CD-1" zoning is notable in that it's actually 800+ unique zoning districts: https://cd1-bylaws.vancouver.ca/ByCD-1Number.htm

For a variety of depressing reasons, the Vancouver planning department is quite reluctant to use broadly-applicable zoning districts; a lot of new development happens with new unique zoning districts that apply to one lot only.

ripley12··on Vancouver Zoning Map
Depends on the view cone, I think. I agree that view cones aren't public enemy number 1, but some really are bad.

I live near one in East Van that is utterly useless; it's defined as starting in the middle of a road, and the view is blocked by tree foliage most of the year anyway. And yet because of it, multiple proposed apartment buildings have been cut short.

ripley12··on Vancouver Zoning Map
North American zoning shares a lot of the same origins in both Canada and the USA; Vancouver's first zoning code was drafted by Harland Bartholomew who did a lot of American cities' first zoning codes.
ripley12··on Vancouver Zoning Map
It's definitely, definitely not going to happen soon.

The Vancouver Plan needs to be approved, then an Official Development Plan, then neighbourhood plans, then actual rezonings. Expect 10+ years, if it happens at all; Vancouver has a very poor record with these sorts of city-wide plans. From a 1992 article I found in the archives a while back:

"no city council has ever accepted any of the half-dozen attempts at developing a city plan"

https://twitter.com/GRIDSVancouver/status/106689301711663104...

ripley12··on A database for 2022
> SQLite which I mostly see as an embeddable database for applications

This is common but incorrect view of SQLite. It's able to handle many server-side workloads, as long as you're aware of its limitations (and the Tailscale team certainly are).

https://www.sqlite.org/whentouse.html

ripley12··on Postgres wire compatible SQLite proxy
> I would argue that by attempting to "square peg round hole" SQLite into being a network database, you are only opening yourself up for unknown troubles down the road.

It depends a lot on what you're using the remote connectivity for.

I think I have a pretty good understanding of SQLite's strengths+capabilities, enough to understand when it can replace a traditional RDBMS for a back-end service. I wouldn't build a solution where multiple clients are connecting to the DB remotely - but sometimes I want the convenience of connecting to the DB remotely for observability/troubleshooting. This is something that's trivial with traditional RDBMSs, and a bit painful with SQLite.

Exposing the SQLite DB over the network for occasional interactive use seems quite useful to me.

ripley12··on Killed by Microsoft
Yeah, sometimes I wish MS would be a little more aggressive about killing off products. There are a few developer technologies that are in an awkward no man’s land: just barely supported without much of a future, but MS won’t say that so it makes for a lot of confusion if you’re new to the space and wondering what technology to use.
ripley12··on Nushell 0.60 Released
Thanks, I was misunderstanding.
ripley12··on Nushell 0.60 Released
ps is a shell builtin in Nu (and you can check that with `which ps`).

Going from Nu to raw text is currently a little awkward. `str collect (char nl)` will take a Nu list of strings and convert it to raw text with line breaks. I suspect we'll get a more ergnomic way to do this soon.

Going to Nu from raw text is nicer, the built-in `lines` command splits line-break-delimited text into a list of strings. From there you can use lots of Nu tools to operate on each line.

ripley12··on Nushell 0.60 Released
> Powershell suffers from the same problem as .NET: slow startup

This is a popular belief but I don't think it's true that .NET has slow startup. The CLR starts up in milliseconds, the JIT's first-tier compilation is crazy fast, and if you need to it's trivial to ship precompiled code using ReadyToRun. I don't know what makes PowerShell so slow to start up but I wouldn't blame it on .NET without more evidence.

ripley12··on Nushell 0.60 Released
Hi, the `find` command is probably easiest: https://www.nushell.sh/book/commands/find.html

ps | find k9

That will search through every column in the `ps` results. If you want to look through just the name column:

ps | where name =~ k9

ripley12··on Nushell 0.60 Released
What hints are you looking to disable?
ripley12··on Nushell 0.60 Released
> I don't think there is a way to do something like `exec {myvar}>file`

I might be misunderstanding this, but piping to `save` is how you usually redirect to a file in Nu: https://www.nushell.sh/book/commands/save.html

ripley12··on Nushell 0.60 Released
I feel like I'm the main audience for PowerShell (.NET is my primary tech stack) but I could never get into it. Using .NET in PowerShell always felt really awkward+slow (like, the one time I embedded some C# in my profile it made PowerShell startup way slower). Do you have any tips for using .NET from PowerShell?
ripley12··on Nushell 0.60 Released
No. Plugins are just executables that communicate with Nu over stdin/stdout using JSON or Cap’n Proto; they can be written in any language.
ripley12··on Nushell 0.60 Released
I think it's pretty good.

It's easy to pipe text-speaking tools into Nu pipelines, and there's a built-in `lines` command that will split line-break-delimited text into a list of strings. From there you can use lots of tools to operate on each line.

Going from Nu data structures to raw lines of text is a little clumsier (`str collect (char newline)` IIRC) but I think that will get improved soon enough.

There's also a handy `detect columns` command that does a pretty good job of automatically converting text tables from old *nix/Windows tools into Nu tables.

← PreviousPage 9 of 17Next →