News for hackers. Stuff that matters.

brianm

Re:SOML – A Config Format for Humans on Monday November 02, 2026 @02:33PM (#50342382)
Cue only really exists in go, and has a dependency chain to make maven weep.

I think cue is better thought of as a language you use to generate JSON (or yaml, or, let's be honest, k8s flavored yaml) configs rather than a config language you use in your app.

thought it was million monkeys consistency, so `/dev/urandom`
Re:Warranty Void If Regenerated on Wednesday March 18, 2026 @07:08PM (#47432530)
Huh, I got cottage core, not dystopia!
Re:A board member's perspective of the RubyGems controversy on Monday September 22, 2025 @01:39PM (#45336853)
Not really -- non-profit boards are usually volunteers, even ion the non-profit has revenue used for operations.
Re:Rust library for building no-boilerplate CLI apps on Wednesday December 04, 2024 @11:55AM (#42319393)
I've seen a couple of cli apps recently take the path of "config file is long form arguments, minus the --, separated by newlines, overridden by actual arguments", so if you were doing `dsh` (which doesn't support this) it might look like

    verbose
    show-machine-names
    remoteshell ssh
    forklimit 4
TBH, I quite like it. Less to memorize, easy to know what to override, etc.
Re:Rust library for building no-boilerplate CLI apps on Wednesday December 04, 2024 @10:28AM (#42318381)
I generally use [click](https://click.palletsprojects.com/en/stable/). Need to try typer now :-)
Re:Notes on Taylor and Maclaurin Series on Monday July 29, 2024 @03:28PM (#41103013)
A coworker, once, had a cool idea to use Taylor Series to encode histograms for metrics collection. Basically a digest method akin to sketches or t-digests. We wound up using t-digests as Stripe (iirc) had a good OSS implementation at the time, but using Taylor Series has been lingering in my mind ever since.
I'm not sure how this applies in softwoods (like the hemlock & fir type stuff usually used in construction), but it is not really so obvious that slow growth (tight rings) is better than fast growth (wide rings) in hardwoods. The fast growth wood is usually much less likely to shatter or split under strain -- which for some purposes (anything delicate, or with staked construction such as Windsor chairs, basically stuff which needs to bend some under use) is preferable.

I'd need to break out my [Hoadley](https://www.tauntonstore.com/understanding-wood-2nd-edition-...) to confirm, but my belief is that you are trading modulus of elasticity for modulus of rupture.

Re:Ask HN: How did yall meet your SO? on Monday February 05, 2024 @02:20PM (#39265692)
Introduced by mutual friend
20 years ago I was in a very similar position, but it was perl I was writing instead of python :-) This advice is therefore dated, and exhibits survivor bias, but it is what I know:

1) Shore up your formal learning in at least data structures, databases, and architecture. I took night classes at the local community college, but there may be better ways now.

2) Find something to hack on where you get useful critical feedback both on your design approach and code. Critical feedback on your work hurts, but it is necessary to grow. Open Source can work well for this, as long as it is some project you actually use for something real(ish) so that the contributions you make are driven by your actual usage.

3) Network -- join local user groups, go to meetups, be curious and engage with people there. Folks are usually thrilled to rattle on about the stuff they are interested in, listen, ask questions, care.

If you have a decade of experience in some domain, look for ways to leverage that experience in a transition into tech. My first job in this career was as a technical writer and trainer, because my previous career involved a LOT of writing, and I was good at it. My next job was at a company where I had a lot of domain expertise in their target market, so despite having limited technical experience in the role, I brought a bunch of domain knowledge to the table.

Re:OpenTF Announces Fork of Terraform on Friday August 25, 2023 @12:15PM (#37263417)
Learn both, you will eventually have to anyway, and it won't hurt your learning curve, in fact will probably help to see similar ideas implemented and expressed very differently.
beelink or minisforum have you covered
Re:Ask HN: Could you share your personal blog here? on Tuesday July 04, 2023 @02:06PM (#36590420)
https://skife.org/

Kind of on pause for last few years, but not dead :-)

Re:The long life of Apache httpd 2.4 on Saturday May 20, 2023 @02:03PM (#36014139)
Apache uses [APR Versioning](https://apr.apache.org/versioning.html) which I think had a big influence on semver, fwiw
Re:The Staff Engineer's Path – Book Review on Wednesday May 17, 2023 @12:56PM (#35978103)
Most companies, in my experience, don't actually know how to make use of Staff+ engineers. I spent years at a medium sized public "tech" company just trying to help the company change engineering enough to make use of these folks, and we go to a place where we could... mostly.

FANG and FANG-model (anyone copying FANG engineering/product model) companies do it well and have the bulk of success cases. Look for engineering-lead companies first, product lead companies second.

A key question when interviewing is "how is the roadmap established?" You want answers where senior leadership establishes goals (strategic or metric), product provides their understanding of opportunities, and engineering decides what to actually do. Even then, there will be the common failure model of EMs doing the roadmapping, not senior (staff+) ICs, but you can tease apart how that works, as it is always going to be a mix.

Hah, wave. That is a name (latchkey, not jboss) I have not heard in a very long time :-)

I was thinking of the EJB 1 & 2 era xml wiring of all the things.

This is... EJBs. It is probably less painful to use, but the model is pretty much the same. Fascinating.
Yes, but it mainly has come up when combining libraries and releasing something else as OSS. For example, the ASF has a good examination of the effect of combinations with the AL2: https://www.apache.org/legal/resolved.html
Re:Why do new cars look like “Wet Putty”? on Tuesday December 06, 2022 @12:37PM (#33883952)
glitter
It predates Groupon, was actually started at/around Ning (if anyone remembers them). Groupon hired a bunch of the core folks at the time they decided to adopt it.
Re:Letters about Soap (1997) on Friday September 09, 2022 @02:17PM (#32782949)
Thrift and GRPC fill that niche nicely.
The title is misleading -- one developer (a major one, mind you) is stepping back from offering free community support. This is not "Apache PLC4X" announcing an end of community support, it is one of the core developers announcing he will be doing so.
This looks brilliant, but...

Sending CLI input data, even just the root command, back to Fig is going to be a deal breaker for a lot of companies. Too high a risk :-/

If you don't need that data, don't collect it. I am sure it will lead to interesting analysis, but it will also leak a lot from companies who are unwilling to let that stuff leak.

Re:SSH and User-Mode IP WireGuard on Tuesday March 02, 2021 @12:15PM (#26317623)
The technical heavy lift is rarely the success determinant, so having a company implement half-baked (enough for internal use, but without the edges polished off that are needed to support it with external customers) versions of N related (but not yet mature) technologies is pretty normal (if they are full of good engineers) and getting advantage from it.

Most of the time these implementations are too tightly tied to the rest of the company's infra to be useful standalone. When one of those companies succeeds a common pattern is for engineers to cash out, leave, and build a new startup around one technology from the success story.

I would not be surprised if this is one of the forces that drives the consumer -> infra -> consumer -> infra cycle. A consumer wave leads to inventing lots of interesting but bespoke infra while it is growing like crazy. When it plateaus, folks spin out the interesting infra bits until the next consumer wave (generally larger) starts rising.

Re:VSCode, Dev Containers and Docker on Thursday January 21, 2021 @12:17PM (#25861326)
> can VSCode connect to a remote server and connect to remote docker containers?

Yes, it can. https://code.visualstudio.com/docs/remote/containers-advance... talks about setting it up.

Re:Willscott/go-NFS: Golang NFSv3 server on Wednesday August 26, 2020 @06:38PM (#24288121)
This is cool! At a previous company we got a lot of mileage in debugging and ad-hoc tasks by exposing various things as filesystems. We mostly did webdav, but NFS is way better from a client transparency perspective. For many folks find, ls, and grep very much beat curl and jq.
Re:Minimizing Rust Binary Size on Sunday June 14, 2020 @09:47PM (#23523075)
I doubt it, the dependency chain is pretty big: https://gist.github.com/brianm/066797531d8cc1f1c6c563ea8db7b...
Re:Minimizing Rust Binary Size on Friday June 12, 2020 @12:47PM (#23501055)
I was curious about this, so applied the easy ones for an existing tool (https://github.com/brianm/wsf).

This was not an exhaustive test of optimization combinations, just a single stack, but the results are interesting!

To read the table: default is no changes in the release profile, ie:

  [profile.release]
  # opt-level = 'z'
  # lto = true
  # panic = 'abort'
  # codegen-units = 1
After that each additional line gets uncommented and rebuilt, then sizes recorded before and after cargo-strip, so the final line is all four optimizations applied.

Results:

                       as generated    after cargo-strip
  default              8675776         5069328
  opt-level = 'z'      9023200         4676112
  lto = true           5943312         3586584
  panic = 'abort'      5062456         3135928
  codegen-units = 1    4747000         3013048
Tests run on ubuntu 20.04 (Linux d2836c103a22 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 GNU/Linux) with

  rustc 1.43.1 (8d69840ab 2020-05-04)  
  cargo 1.43.0 (2cbe9048e 2020-05-03)  
  cargo-strip - reduces the size of binaries using the `strip` command 0.2.2  
Fascinatingly, opt-level='z' produced a LARGER binary than the default, before stripping. That was unexpected.

-Brian

Re:What ORMs have taught me: just learn SQL (2014) on Friday September 20, 2019 @07:48PM (#21032447)
I really like this! I particularly like that it is oriented around a useful workflow, rather than for just "small code at rest".

It looks like it parses the schema to find type information (2 minute skim, so please forgive me if I got it wrong!) Hoe does it handle schema changes?

Older »