Better HN
topnewbestaskshowjobs
Log inSign up

RandomBK

1,543 karma · joined Sep 22, 2014 (12y ago) · 319 submissions

Submissions

comment 3y ago · link · parent

BorgBackup has most of what you're looking for, though it doesn't implement CDC and doesn't replicate the files as-is in the backup location (instead using a compressed/deduped/chunked storage format)

comment 4y ago · link · parent

Because there's crypto, and then there's "crypto".

While FTX & co. don't match the technical blockchain-based definition of crypto, they are what people think of when they talk about the crypto ecosystem, and are part of the crypto hype chain.

If we filter the crypto market to only the true not-my-keys-not-my-coin crowd, the market wouldn't be anywhere near as large and influential as it is today.

comment 4y ago · link · parent

7.4% of profit (2/27) versus 50% of profit (2/4) was the factor of ~7 parent was referring to.

Granted these are comparing annual cost versus quarterly figures, but the overall narrative still stands.

comment 4y ago · link · parent

Buying some puts also works.

comment 4y ago · link · parent

Tough to say. Do I need a Toyota? no, but I'd happily buy one for $1K.

Demand elasticity makes any report on the volume of demand irrelevant unless it also covers the pricing of that demand.

comment 4y ago · link · parent

We did weigh the risks. We did study asbestos. And we as a society made an informed decision that the risk of asbestos outweighed the risk of buildings catching on fire.

I don't understand the point you were trying to make here. Why shouldn't we invest effort to research a technology that might mitigate the 2nd leading cause of death in the developed world?

comment 4y ago · link · parent

Having used many different providers (though not all of the ones on your list), be very careful with suspiciously generous or unmetered anything. More often than not, you'll hit a soft limit where your performance will degrade and/or you'll get kicked for ToS violations.

Most apps never hit those limits, but once you get to multi-thousands/mo in cloud bills, there's benefits in pay-as-you-go billing where the provider is incentivized to let you use as much as you want to pay for.

comment 4y ago · link · parent

Can you elaborate? I don't recall EVGA ever making AMD GPUs

comment 4y ago · link · parent

While I'm neither a biologist nor a CS PhD, I want to call out the fallacy that simulating a system to a sufficient degree requires simulating each individual molecule in exacting detail.

We've gotten quite far with ideal gas laws without needing to simulate every particle, we used kerosene to get us to the moon without needing to simulate all the reaction species of kerosene combustion, etc.

comment 4y ago · link · parent

On one hand, I totally get it. Sending the whole team offsite for a full workday of fun and games every 6 months is a little over-the-top considering the current economic environment.

On the other hand, many FAANG have been more than happy to build remote, hybrid onsite/remote, or cross-location teams during the pandemic. This has undoubtedly helped the companies access a deeper pool of talent. The negative consequence of this is that I no longer feel as tight-knit with my team. I've never met most of them before, and my only interaction with some of them have been via chat or sitting on the same calls. This is substantially decreased my overall productivity and sense of team culture.

comment 4y ago · link · parent

I'm quite surprised a new API like this got merged without a clear (public) indication for why it was needed. Given that Linux commits to never breaking user-space, I'd imagine adding this new feature incurs a substantial and near-permanent cost in terms of maintenance, security, etc.

Is the mental model for this to treat it like a device driver (where it's off by default and can be turned on under specific circumstances), or is this thought of as part of the default-available kernel API that every system will have access to from now on? (I guess FUSE itself is a little fuzzy in this respect)

comment 4y ago · link · parent

I once encountered this problem when writing a video game as an never-published side project.

Most in-game items and resources were very simple - largely expressible by a simple <item_type>:<quantity> dictionary. Others however, could support a never-ending variety of custom attributes and logic.

After much thought, I wound up pursuing a solution that turned out to be quite powerful and extendible:

Items would be represented via a <item_type>:<<attr_key>:<attr_value>> datastructure. Any system that needed to interact with an item would call an 'item handler' assigned to that item type, which exposed a standard interface like 'getQuantity', 'useItem', etc.

Most basic items shared a common handler that stored quantity as an attribute field. However, more complex items could implement custom logic. I guess this is somewhat similar to Mixins or Component Based Architecture.

I think this is partially covered under the 'more abstraction' option in the blog, but I've personally found this to be an interesting and valuable tradeoff that can be deployed in a lot of situations.

comment 4y ago · link · parent

One topic I'd like to see more discussion around is how best to set up staging environments for Docker Compose projects.

Ever since the V2 migration, I've been banging my head against multiple bugs in Docker Compose itself, which has severely damaged my trust in it as a production-ready utility. I no longer feel like I can safely update Compose without running extensive testing on each release.

For example, my journey since migrating to V2 has been:

* Originally on 1.29.2

  - Stable and I did not encounter any issues.
* Swapped to 2.3.3.

  - As part of the migration from V1, docker-compose lost track of several networks and started labeling them as external. Not a huge deal.

  - docker-compose stopped updating containers when the underlying image or configuration changed (#9291). This broke prod for a while until I noticed nothing was getting updated.
* Updated to 2.7.0, which was the latest release at the time.

  - This introduced a subtle bug with env_file parsing (#9636), which again broke prod in subtle ways that took a while to figure out.
* Updated to 2.8.0, which was the latest release at the time and before the warning was put up.

  * This broke a lot of things as it renamed containers and generated duplicate services, etc.
* Finally swapped to 2.9.0. No issues yet, but I'm keeping an eye out.

comment 4y ago · link · parent

My scripts aren't particularly fancy or original, but you can look through everything at https://github.com/randombk/randombk-dotfiles.

comment 4y ago · link · parent

Why should taxes subsidize the study of topics that have no economic value?

Most "college should be free" proposals fail under scrutiny because degrees tend to fall into a spectrum of utility:

On one end are degrees that impart skills that are needed and desired by the economy. By and large, graduates of these degrees _already_ enjoy sustainable wages, because the market recognizes and rewards those skills. Government subsidy for these degrees tend to have marginal benefits, because it is already a sound financial choice for students.

On the other extreme are degrees that, like GP identified, were never meant to be economically sound. They focus on intellectual ideas and curiosities, rather than skills actively needed by the economy. Government subsidy here would be little more than subsidizing hobbies and other activity that do not provide economic returns.

There _are_ specific degrees where there's a public policy interest in encouraging the study of topics not adequately compensated by market forces. Most of these are already covered by specific subsidies, such as scientific research grants.

comment 4y ago · link · parent

> No matter if a movie leaves a streaming service or if the digital rights change in the future, a physical disk makes the content permanently available.

Well, isn't that ironic. Sure, the content is "permanently available" in a technical sense, but it'll hinge on the permanent availability of playback devices deemed suitable by the DRM.

comment 4y ago · link · parent

Twitter doesn't say that 5% of all accounts are bots. While I don't have inside knowledge of how Twitter does things, the industry standard is to:

1. Build a classification model to determine whether an account is a bot or not.

2. Measure the precision/recall curve of that model, and pick a threshold where the precision would be >95% (i.e. >95% of what the model labels as "humans" are really humans).

(Higher recall leads to lower precision and vice versa. Higher recall means a higher mDAU, so it's a balancing act between a high number versus a high confidence in that number.)

3. Let the model loose on all accounts.

4. The number the model tags as humans is the "mDAU", though <5% of these might be false positives.

While this model takes a lot of training data to build, verifying its continued precision/recall characteristics can be completed with very little ongoing sampling - easily handled by the "100 a day" figure Musk has claimed.

comment 4y ago · link · parent

I feel that every time we talk about Java, we should clarify between Java the language, Java the programming style, and Java the JVM.

As a language, Java's not too bad. It's a bit wordy, in bad need of some syntax sugar, but it's designed to be fairly straightforward and for the most part it does its job well. I don't need a degree in language theory to get started writing it.

Java the programming style, particularly enterprise, is a horrendous over-engineered mess that schools jam down the throats of students who don't know any better. It's designed to (and fails to) enforce a common style that can be written by armies of mediocre developers plodding along inside giant enterprise codebases, so that no matter who wrote the code, some other developer in another department can figure out how to call it.

Java the JVM is a pretty nifty beast. It's made tradeoffs that means it's not always suited for every use case, but put in its element it really shines. The modern GC algos give developers options based on the program's needs. It's currently struggling to overcome some historical decisions that while good back in the old days are now holding it back.

Personally I'm very biased towards Kotlin, which gives me the benefit of the JVM without the barf that is Java. It's not the fastest-executing language out there, but for me it's a perfect balance between development speed, ecosystem of battle-tested libraries, and competitive execution speed.

139.

Show HN: Steamos-teardown – Exploring SteamOS 3 Internals(github.com ↗)

1 points · by RandomBK · 4y ago · discuss

comment 4y ago · link · parent

IIRC it's mostly incentives for large companies to jump ship

comment 4y ago · link · parent

Obligatory link to the talk from MS where they covered the origins of Pluton on the Xbox: https://www.youtube.com/watch?v=U7VwtOrwceo

The video does a good job of the original threat model for this technology and how it works on Xbox.

comment 4y ago · link · parent

You may need to be careful, as it's possible communicating with the SEC might cause you to be privy to material non-public information.

For example if you know there's a SEC investigation into the company because you're cooperating with their questions, that might bar you from certain market transactions.

comment 4y ago · link · parent

This picture is not the actual image data from JWST, but rather an interpretation of infrared data.

If you're only asking about the details in this picture, my understanding is that JWST is better though not by orders of magnitude.

However the actual answer is that the two telescopes are not easily comparable in this fashion.

comment 4y ago · link · parent

>consistently given boards wide discretion to act as they see fit in their fiduciary duty

That discretion is highly limited in the context of an acquisition, where there's a high risk of conflicts of interest between the Board and Shareholders. Delaware courts have consistently limited the Business Judgement Rule in takeover situations.

comment 4y ago · link · parent

Unfortunately BGP problems make DNS problems look trivial :(

comment 4y ago · link · parent

No, but I also don't wear a mask that covers my face and I don't use a voice changer to scramble my speech.

In meatspace, people use different modes of identification than just a name, so names aren't as important to figuring out who's who.

comment 4y ago · link · parent

It's somewhere in between. You definitely need to enable features that are normally out-of-reach of regular users (i.e. user namespaces, network namespace, unprivileged ping, etc.) However it's still a far cry from full root access, and arguably a smaller surface area than regular run-everything-as-root mode.

comment 4y ago · link · parent

Where did "free digital goods" come from? People have to pay money - sometimes a lot of money - for these loot boxes.

I'm fine with random loot tables, but the moment I need to pay to roll the dice it stops being a "random item drop" and starts looking awfully like a "slot machine".

comment 4y ago · link · parent

There's elements of this also represented in GNU Parallel, a really nifty utility that lets you create a fork-join pool out of one or many systems. IMO it is severely underused these days.

comment 4y ago · link · parent

In my experience, Keycloak is best treated as a "pet" in the "pet v.s. cattle" spectrum. It takes a while to warm up, so you don't want to be constantly restarting it. I deployed it out-of-sync with the main application deployments.

As an open source option, it's quite powerful and full-featured. It's also quite configurable.

If I had one feature ask, it's that it doesn't play well with infrastructure-as-code ideas. While you can load a new realm from a JSON, it's harder to keep changes synced after that.

1
456
11