HNHacker News
TopNewBestAskShowJobs

brianshaler

795 karma · joined January 23, 2009

submissionscomments
brianshaler··on Ask HN: Tips to get started on my own server
> host something small on your home network

I came to suggest the same thing. Another comment raised a good point about rpi vs a tiny x86—ARM may introduce some extra hurdles.

At the end of the day, especially when dealing with network configuration and security, you're going to make mistakes and get locked out. Having physical keyboard access can be a lifesaver and is how many of us "retro" people got started with linux administration

brianshaler··on More than 4% of all Bitcoin supply is now in ETFs
Isn't this the opposite side of the trade? That sounds like how much money is invested in ETFs representing other stuff and not how many dollars are locked up in ETFs as the underlying asset.
brianshaler··on More than 4% of all Bitcoin supply is now in ETFs
Are you asking, of the global monetary supply of USD, how much is parked in financial vehicles that people then trade shares on to speculate its change in value rather than interest yield or dividends? Does that even exist for an inflationary currency?
brianshaler··on Ask HN: What laptop are you using to daily drive Linux?
Suspend works and everything? I've ditched ubuntu due to stuff like snapd and installed debian instead. It seems whenever the GPU gets put into low power mode (suspend) it gets into an invalid state that not even a reboot can resolve. I have to power down, wait, and then turn the laptop back on.

I'm sure I messed something up when I installed everything and probably added a workaround that isn't meant for my driver version (systemd/persistenced scripts)

brianshaler··on Starlink terminal revision 4: overview and tests
As a new Starlink customer, they didn't do a great job of communicating the REV3 -> REV4 transition. While they primarily displayed the kickstand version (plus alternative mount options) it was vague enough that I was surprised to open the box and not see the tripod everyone else's dish seemed to have come with. To get to the order page, you first put in a delivery address and from there they simply hid mentions to the REV3/articulated option which is still shown for non-U.S. delivery addresses.

In a way, it's great not to have the extra moving parts and complications that come with articulation. Performance-wise, REV4 seems to work fine even when the app complains about misalignment. On anchor, a boat can easily swing +/- 20° within a minute while bobbing around a few degrees, which means any increase in range and power helps considerably.

My only disappointment is the power consumption that is likely inevitable with the wider-range static terminal. The possibility of cutting power draw by 30-50% makes me wonder if I should downgrade to a secondhand REV3.

brianshaler··on Google search drops cache link from search results
They already are, with content platforms clamping down on public access, with more and more content locked away behind exorbitantly expensive APIs (mostly thinking reddit and twitter here)
brianshaler··on Online used car seller Vroom collapses as sales fall, losses mount
And how did that turn out?
brianshaler··on Ask HN: Would you fly on a Boeing 737 MAX?
Just make sure not to look up annual deaths per passenger mile traveled by rail.

You're right statistics don't predict the future. They can be informative when trying to understand the effect of a sudden increase in fatalities (referring to MAX8/MCAS here and not MAX9/bolts, of course) and how the result can still be a mode of transportation that is orders of magnitude safer than alternative.

brianshaler··on Ask HN: Would you fly on a Boeing 737 MAX?
I think this is an excellent point. Don't do things that cause you anxiety, whether or not the worries are grounded in reality.
brianshaler··on Ask HN: Would you fly on a Boeing 737 MAX?
How many attributed to the model currently in the news? I'm not aware of any fatalities with the 737 MAX 9.

Of course if you want to find some deaths you could broaden your selection to include other 737 MAX variants, any 737, any Boeing airplane, or perhaps even airplanes in general. Hopefully you consider the corresponding safety records in terms of flights or miles flown, perhaps even adjusted for time (modern planes are safer than 1960s planes; the first years of service for a model may be measurably, albeit typically negligibly, less safe than later years)

brianshaler··on Ask HN: Would you fly on a Boeing 737 MAX?
> Perhaps I'm behaving irrationally due to fear

From a probability perspective, it's absolutely irrational. However that doesn't make your fear any less real to you.

After I went skydiving, the instructor came over to give me a pep talk in order to calm my nerves for what I was about to do—the most dangerous thing I may do all day—drive home. There are plenty of reasons to instinctually fear certain activities, but with rigorous preparation, inspection, and guidelines they can actually be safer than every day activities we grow complacent of.

Boeing's quality control issues have been known and talked about for years, and the initial MCAS problems with the MAX were the consequence of prioritizing certification and pilot training over a more robust redesign. But still, casualties per flight or per mile flown make even the least safe late model commercial airline remarkably reliable. Whenever an issue is discovered, they should ground the affected planes, investigate, resolve, and hopefully improve future quality control and maintenance guidelines.

So to answer your question, I would be comfortable to the extent that I wouldn't give the model of airplane a second thought and will buckle my seatbelt on the taxi ride to the airport next week for my flight. Airplane model unknown.

brianshaler··on Waiting on Tests
Given the mention of git clone from scratch, docker image downloads, and empty go build cache, I'm assuming the author meant "terminate" when saying shutting off, and "creating" when saying spin up or cold start. Using ASG Warm Pools would help quite a bit in the scaling performance, as start/stop is faster than create/terminate and maintains cache state between uses.

If you want to optimize the create/terminate case, perhaps also create periodic snapshots of test instances after a run to populate the caches (or use something like Packer)

brianshaler··on Clang now makes binaries an original Pi B+ can't run
With rare exceptions, the social media website tends to be referred to as "X formerly Twitter" or just "Twitter" for short
brianshaler··on Google pulls Fitbit from almost 30 markets
I just set up the Pixel Watch 2 that came with a discount when buying a Pixel 8 and Google pushed me to reactivate my 12 year dormant fitbit account and migrate it, so of course it's due to ride off into the sunset.
brianshaler··on Farewell EC2-Classic, it’s been swell
Off topic, but I'm confused about the IPv4 notation in this quote:

> When we launched EC2 in 2006, it was one giant network of 10.2.0.0/8.

In my understanding, /8 means the first octet would be fixed (10.0.0.0-10.255.255.255) and I'm having trouble understanding the significance of the 2 here. If the 2 is significant, wouldn't you write it as /16? Given the source and my confidence on this notation, I feel like there must be some meaning an expert can glean from this. If so, I'm curious to learn. If it's just a typo, then that's fine and I apologize if this is nit-picky.

brianshaler··on Farewell EC2-Classic, it’s been swell
For me it's when they stopped showing results that include your keywords and instead a random smattering of anything broadly related to the topic being searched for.
brianshaler··on Farewell EC2-Classic, it’s been swell
It's also worth remembering that infrastructure stuck on EC2 Classic would have been built so long ago it may predate modern cloud tooling and even modern best practices around reproducibility and CI/CD.

(EC2 user since 2010)

brianshaler··on AWS Icon Quiz
Thank you. While they're familiar, I couldn't figure out where to go to see these cuboid icon variants. Spent a few minutes clicking around the Console and the AWS web site / marketing pages, and didn't encounter a single one. When I think AWS icons, I only know the AWS Console favicons and thumbnails in Console search results.

I was perplexed when it offered ELB as an answer when I've only known ELB to exist within EC2 and share its icon.

brianshaler··on Binance sees $2B in outflows as troubles compound
Banking is a requirement for businesses to function. Depositors have no choice but to put their money in some bank. It's debatable whether depositors ought to take a haircut or be made whole if their bank suddenly fails. The greater the perceived risk of deposits being held at a bank being worth less than 100 cents on the dollar, the more flighty deposits will be. Even if depositors got back 90% of their money, the concern with SVB was probably more about how long companies' cash would be inaccessible. Perhaps some of the hubbub the weekend SVB failed could have been avoided if the FDIC was able to have some sort of policy to release immediately not only the insured amount, but perhaps also some "safe" percentage that is expected with some confidence to be recovered, like 50%.

Meanwhile, over in crypto land, choosing to gamble on the volatile price swings of speculative digital assets (aka "magic beans") in a market driven in no small part by people evading laws—whether it's illicit purchases, money laundering, ignoring securities regulations, wash trades, pump-and-dump schemes, etc.—is a completely different matter.

It is still, in a certain light, sad that someone would become unemployed because their crypto startup employer's capital was lost in the collapse of a fraudulent exchange. Or someone lost their life savings. But really, what did you expect would happen?

While one could be less sympathetic of small business employees losing their income due to a bank failure or more sympathetic of a crypto user losing their life savings, they're drastically different circumstances. I don't see how one could expect people to either take a blanket "save all depositors and gamblers" nor "all depositors or gamblers should lose everything."

Keep in mind also that practically no one has argued in favor of shareholders in SVB getting anything but a 100% loss on their equity. If you view crypto people as "investors" then there should also be the expectation that one of risks they are taking by "investing" in magic beans is that whether or not they turn out to be magical, the place that stored them may unexpectedly blink out of existence.

brianshaler··on Video Rendering with Node.js and FFmpeg
Another way to do it on the fly is to feed image data into stdin of ffmpeg. I haven't tried with BMP with that method, so the intermediary encoding might not be spared.
brianshaler··on Video Rendering with Node.js and FFmpeg
> Im guessing this limited to 2d canvas

WebGL/3D works fine, just with some additional dependencies (e.g. mesa drivers) and a little more setup in Nodejs to create the context and copy the framebuffer to node-canvas to do the image encoding.

Here's a little 3D animation I've rendered using a similar technique (plus WebGL) in a docker container:

https://www.carvana.com/shareyourcarvana/MjM2MTc2OTpBbGV4YW5...

The main thing to watch out for is whether you need specific WebGL extensions that might not be supported. Array instancing is the main one I use, which is supported.

brianshaler··on Why Japanese web design is so different (2013)
> Also whatever happened to Kevin whatever from Digg

He went on to become a crypto bro

https://www.axios.com/2023/01/27/kevin-rose-nfts-cyber-crime...

brianshaler··on More than $70B wiped off crypto market in 24 hours as BTC drops 8% below $20K
> People are fleeing stocks (including cryptocurrencies) to hold USD.

This is a really wild thought in a high inflation environment. Not that I disagree. Equities can lose dollar value on top of the dollar itself losing value. Some portion of it has to be going back to risk-off assets that were not worthwhile in a zero-rate environment.

brianshaler··on ChatGPT-Linux-Assistant
I'd be curious if you could intentionally direct it to do something malicious. While not guarantee, if it's not capable of violating your trust intentionally it hopefully reduces the likelihood of something inadvertent happening.

Like, install and run it in a docker container and then ask it to escape the container and write to a temp file on the host.

brianshaler··on ChatGPT-Linux-Assistant
I would wonder what would happen if someone (other than me) tried having it suggest commands for common but inconsistent flags—like version, verbosity, help—for various CLIs pre- and post-2021. Would it confidently say `ffmpeg --version` because it looks like the right flag?
brianshaler··on Meta plans thousands more layoffs as soon as this week
It's easy with the benefit of hindsight to say a bold investment that didn't pan out was a crazy move.

In this case, it was also easy to say it was a dumb idea contemporaneously.

brianshaler··on Ask HN: Who wants to be hired? (February 2023)
Location: US Citizen & Resident

Remote: Yes

Willing to relocate: No

Technologies: Node.js, TypeScript, React, Python/ML, image manipulation (ImageMagick, node-canvas, WebGL, etc), video (ffmpeg), experiential (Electron, Processing), bash, AWS/Azure IaC

Email: hn@brianshaler.com

I generally say I make stuff move with code. Interactivity, programmatic animation, dynamic video, colors, vectors, raster pixels, data visualization. No two projects are alike, from serverless on-the-fly dynamic image (or video) rendering, to experiential marketing projects with lights, cameras, kiosks. I dip into python when I need to, such as for image segmentation, image augmentation, face detection, pose estimation, or speech synthesis. While I'm far from being a preeminant expert in most of the tools I have experience with, I can take on any part of the stack in order to ship a working product.

I've been working remotely while traveling for 15 years, and, lately, sailing around the eastern Caribbean. Contract work has historically been the best fit for me, however I am open to remote FTE as long as there's a focus on async comms rather than telepresence.

brianshaler··on When Discord is open in the background, NVIDIA card will not reach full speed
Sounds like a port issue. I imagine the first thing most people did was list the ports in use when either app was running. Did the investigation end at finding the culprit or did they figure out the actual cause?
brianshaler··on Ruby on Jets: Like Rails but serverless
> granularly tweak resource utilization on a per-operation basis

This is a really good point. Either I took a thorny path learning Lambda or they don't make it terribly obvious that when you pre-allocate larger amounts of RAM (thus more $$$ in GB/s cost) you also gain substantially better CPU performance.

So when you have a compute intensive task with a low memory footprint and want to improve latency, you may actually want to allocate lots of unused RAM.

brianshaler··on Ask HN: Are there any good open source text-to-speech tools?
I've have pretty good luck with flowtron after watching an nvidia screencast on it. CPU only inference performance isn't great though.
← PreviousPage 2 of 7Next →