Better HN
topnewbestaskshowjobs
Log inSign up

ye-olde-sysrq

1,221 karma · joined Jan 24, 2023 (3y ago) · 146 submissions

Submissions

comment 3y ago · link · parent

prior to this, bandcamp was owned by Epic and lord only knows why they bought them or what their bigger plan was. i also have no idea how much they staffed up under epic rule since they went from a small business to being owned by the fortnite money man. Entirely possible it's something like:

1. bandcamp is a sustainable normal small-to-medium business growing healthily

2. Epic has tons of fortnitebux and is feuding with apple so they buy bandcamp as some kind of tangential play should they end up as a big alternative store on iOS. so they could have a music store offering (to compare to itunes? not that apple gives a crap about itunes anymore??) in addition to an app store?

3. the money music stops and everyone races for a seat. bandcamp is left hanging.

4. epic sells bandcamp to whoever just to get it off the books so they can focus on fortnite lootboxes

5. songtradr or whatever their name is tells the union to pound sand and cuts bandcamp down to a core team because they're planning to just gut the product and transition all these indie artists over to whatever platform they were running before. This is a music IP company. I don't think they want to handle B2C purchases or provide streaming music. They just wanted to buy a big pot of artists and IP to add to their collection.

comment 3y ago · link · parent

Let's be real, fiat currencies are essentially backed by Uranium 235 and defense industry engineering capabilities. (both as it relates to turning the U235 into large amounts of energy in a small amount of time and producing other things like aircraft carriers)

funnily enough you CAN actually redeem the banknotes for these things but most people don't typically enjoy the experience

comment 3y ago · link · parent

I know you're not posting in good faith but I do want to underline two things, in case anyone else is reading this who is similarly dismissive as OP:

- they did kill her

- she was clearly not a witch, given that they do not exist

And given the dearth of warlock or wizard trials, it is safe to say that this was clearly motivated by sexism - viewing women as far more likely to be agents of Satan, just as Eve handed Adam the apple.

comment 3y ago · link · parent

I've posted something to this effect before but I'll post it again. I'm terrified someone is going to enshittify bandcamp.

I used to be a huge what fan, primarily for discovery. Never would've known I liked atmospheric black metal if not for them.

When they closed, I didn't really have enough "in" in the scene to know where other refugees went, so I just shopped around for anywhere else that would let me get "real" (in the what sense of real - decent encodes from raw source material that have the full spectrum and aren't just FLAC encodes of "high quality" mp3's). I don't pretend to be able to hear the difference, but I like it for archival purposes. I have plexamp transcode the audio anyway when I'm on mobile.

Turns out most people don't give a shit so most places don't offer flacs. Except bandcamp. Plus they pay artists fairly, which ended up being as important to me as the flacs as I came to support indie bands for whom selling on bandcamp was a huge lift. I like seeing CDs literally come from residential addresses in Sweden. I like supporting the random 1 dude making awesome metal out of his basement.

comment 3y ago · link · parent

VC can be a great way to break into markets that just have inherently large moats or barriers to entry. Stripe is an example: you can code all you like but you literally can't move money without going through a ton of very annoying (to devs, anyway) footwork to get cozy with the existing financial institutions. The connections your VCs give you can matter as much as the money.

They can also literally kill your company. VCs have a very specific strategy: they give some money to 1000 companies knowing that 990 of them will return 0% in the hopes that of the remaining ten, 9 of them return %X000 and one returns %X0000. Given this, they are going to have very little interest in finding a company that will return even "good" results. They're going to push you to shoot for huge growth or die trying. And given the choice between "grow modestly and safely" and "grow faster but risk exploding" they will push you to pick the latter, because in their business model they can't even count low enough to measure returns that are just 10x.

comment 3y ago · link · parent

KSP1 was made by a bunch of scrappy lovable indie devs making their first game (iirc Squad's team was a marketing company prior to this?) in a LCOL area funded by dreams and whatever $10 early access sales they made on steam, with no-one to tell them what to do.

KSP2 is made by TTWO, who is a publicly traded AAA studio of notable fame and decades of legacy and domain expertise.

If Squad sold KSP1's IP to TTWO and then went and made "KSP2" under a new name with their squad-sale money, that would be a different story. But even with that goodwill, I would still not be believing in the current KSP2 ever being a success story.

comment 3y ago · link · parent

OpenOffice is a zombie living on the old name alone. LibreOffice is the "new" (it's like over a decade old i think) current one and e.g. ships preinstalled on big ubuntu images, for instance.

comment 3y ago · link · parent

OSRS also moved to oldschool.runescape.wiki and AIUI jagex pays for their hosting and provides some kind of content access to make updating/syncing easier.

Plus they have RuneLite cooperating with crowdsourcing things like droptables and drop rates. (And of course mods often will outright tell them what certain droprates are or how they function).

comment 3y ago · link · parent

KSP2 isn't an enshittification play, imo. It's literally just bad project management.

I'll list their sins from my armchair:

- remaking a beloved, established game that has a prodigious base of features and extremely extensive modding support. you have a HUGE hill to climb just to get to your "MVP" - you have to supplant the existing game plus its modding community, and this is already a niche audience of ["people who find orbital mechanics as a primary gameplay loop to be fun"]. They were always going to need to really fucking knock it out of the park on their first at-bat to make this work.

- doing so on a short time-frame

- trying to be all artsy about it too. not that that's a bad thing, but it does position you to take your time rather than going fast. and like I said, they already had a steep hill to climb.

- standard-issue development hell. it happens.

- special-issue development hell where TTWO did some fucky-wucky stuff where they hired away a ton of the staff from the studio they were contracting with, cancelled the contract, and brought it all in-house with the poached team. Hardly an encouraging sign.

- with all the delays adding up, I suspect they were given the ultimatum to either ship their current state into EA and start recouping money, or get scuttled. People have allegedly looked into the code and found extensive additional systems that were basically hastily commented or hacked out so they could ship some vaguely-functional core.

I was really, really looking forward to KSP2. KSP1 but with good graphics, a non-unity engine (it was always a miracle that squad had gotten such good large-scale physics out of unity), and promises of official support for non-kerbin bases and interstellar travel? Yes please, sign me up!

But honestly, my mental model for how this would be successful was "they'll reimplement the existing base game in a new engine. big task but doable for TTWO's money, it's not indie anymore, and they obviously already understand the product. Then, with the base game ported, people will be willing to buy in EA because they see the promise of 'KSP but more!!!'". And that last bit was going to be critical, they'd need people bought-in if they wanted TTWO to keep funding them / them keep funding themselves.

So when they launched this scrap heap into EA, I knew it was doomed. And look at the, what 8ish months between then and now? They've released a few quaint patches that ignored all the huge issues and done basically nothing else.

I fully expect them to now slowly wind the EA down with a skeleton crew and people will just forget it to an ignoble death. I mean, TTWO can hardly be keen on continuing to pour development funding into this EA, right?

comment 3y ago · link · parent

Look at the reviews for KSP2. This is not even one of the larger problems with the game. They released into EA with terrible, nearly unplayable performance... on an RTX 4090! a $1600-2000 GPU that at the time was difficult to obtain even if you had the cash.

comment 3y ago · link · parent

On the days you don't commute, you could plug your foreman grill into a wall socket and sit in a chair staring at the wall for the same length of time to simulate the same effect.

comment 3y ago · link · parent

>I didn't say it schedules platform threads, but JVM has many other performance issues with its GC/object identity/lock monitoring model, which makes it harder choice for ultra-high performance apps, so virtual thread scheduling may improve your app perf by 5%, where other 95% stuck in other bottlenecks

Switching from async to virtual threads is typically not an improvement to performance in well-factored async code. The primary benefit is a clearer programming model that's significantly easier to get right and less code to implement while still the same performance.

>Also, you can avoid all switching with 20 years old ExecutorService, where you have exactly the same m:n mapping between tasks and machine threads.

You misunderstand the point of virtual threads. There is no need to pool them, as (most) executor service implementations do. And the whole point is that you no longer need to avoid blocking them, which pretty much every currently-existing solution will be doing. There's 0 benefit to switching without also updating your code to take advantage of the new paradigm.

>because virtual threads are not supported in ecosystem well, and it will take another 10 years for it to catch up, before that most API/libs will use old concepts and you take large risks of fragmentation by introducing virtual threads to your app.

What risks? The whole point of virtual threads vs async/await is that they don't color functions in the same way that async does.

Also, pretty much every notable framework already has support for virtual threads (Spring, jetty, helidon, and many others). The API has been the same for a couple years at this point.

comment 3y ago · link · parent

>Also, my belief is that JVM itself adds lots of overhead.

The JVM has ~nothing to do with the scheduling of platform threads

>and there any benchmarks saying it is couple hundred threads, and not 100k threads?..

It depends greatly on your hardware

>couple hundred is about thread per core on modern CPUs..

It depends on the hardware, of course

Overall, yes, you could probably run a lot of concurrent processes on a c7i.48xlarge in 2023. But why would you want to do that when, if you used virtual threads (or async), you could do the same work on an c7i.large? That's the whole point of this. There's no reason to waste CPU and memory on kernel context switching overhead.

comment 3y ago · link · parent

I think the best argument you could make to say steam is a monopoly is to say that their plan is roughly:

1. Make a platform gamers love to use so much that they will still use it even if other stores are literally giving the games away for free

2. Build a brand that your target audience recognizes worldwide and trusts with their entire game collection.

3. "Exploit" the fact that your audience loves your product and brand so fanatically that you can charge the same amount on an open platform (PC/windows/linux) that other app stores need walled gardens (apple/android - literal lockin and literal near-monopolies/duopoly) to be able to charge.

I really struggle to find a way to frame Valve as the bad guy here. It's PC. There's literally nothing stopping you from just installing as many app stores / launcher platforms as you want. And it's not all-or-nothing - people DO use multiple launchers/stores. What gamer doesn't begrudgingly have Origin and at least one of EGS or the Blizzard/battlenet launcher installed alongside steam? And yet people still use steam, and spend the most money there by far.

comment 3y ago · link · parent

Excellent! With virtual threads, all the blocking code I wrote is efficient now :)

Less-joking: I'm so excited for this to start getting adoption. For a pre-release/preview feature, Loom already has SO much traction, with most major frameworks already having support for running app/user code on virtual threads and one notable project (Helidon Nima) replacing netty with their own solution based on blocking IO and virtual threads. Now I want to see the community run with it.

I've always thought async IO was just plain gross.

Python's implementation is so yucky that after using it for one project I decided that I'd rather DIY it with multiprocessing than use async again. (I don't have any more constructive feedback than that, my apologies, it was a while ago so I don't remember the specifics but what has lasted is the sour taste of the sum of all the problems we had with it - perhaps notably that only about 2 people on my dev team of 5 actually understood the async paradigm).

netty did it fine. I've built multiple projects on top of netty and it's fine. I like event-based-async more than async-await-based-async. But it's still a headache and notably I really rather missed the kinds of guarantees you can get (in blocking code) by wrapping the block in try-catch-finally (to e.g. guarantee resources get freed or that two counters, say a requests-in and a requests-out, are guaranteed to match up).

But dang am I excited to not do that anymore. I have one specific project that I'm planning to port from async to blocking+virtualthreads that I expect to greatly simplify the code. It has a lot of requests it makes back and forth (it has to manually resolve DNS queries among other things) so there's good chunks of 50-200 ms where I have to either yield (and has gross async code that yields and resumes all the heck over the place) or block the thread for human-noticeable chunks of time (also very gross of course!).

comment 3y ago · link · parent

>> So maybe building greenfield projects also makes you better at maintaining existing projects?

Only to an extent, i think.

> I've had a lot of problems with people who (seemingly) only have experience maintaining projects.

And similarly I've had problems with people who (seemingly) only have experience with starting a new project and then simultaneously over-engineering and piling on tech debt.

I think "i've never bootstrapped a project before" is easier to cure than "I don't have a good sense of what's expensive vs what's cheap tech debt."

Some tech debt is basically 0% interest. Was this small hack bad? Yeah. Will it need to be fixed, eventually? Yes, for sure. But does it compound every day, or does it just sit there being a little yucky? Very easy to determine in hindsight. Very hard to predict as you write the hack. The end result being the simultaneity in my example. People will over-engineer things that won't end up being problems and under-engineer things that will turn out to require compounding hacks and it would've been cheaper to just get it right the first time.

comment 3y ago · link · parent

I wrote a TUI before for work, entirely of my own volition and for my own near-exclusive consumption (it was theoretically for anyone, but I'm the only person who would've had a reason to look at it - we were a fairly silo'd dev shop).

This is what made me pick TUI over a web UI:

* no web stack, period. no client/server. no js or html. this simplified the problem dramatically. also, no additional services to babysit.

* no browser - no certificates, security, auth, etc. It's just unix permissions and ssh.

* there's something comforting about the constraints of just ASCII/ANSI and curses. No bikeshedding over border widths or radii when it's just you picking among a few characters for the shape. just having less decisions to make speeds things up and helps you focus on what you actually want the UI to be able to do.

Obviously if your app is just calling APIs anyway, that might be negate some of these bullets about no additional services to babysit etc. In this case, it was running an internal infra app that directly connected to a pg db.

And what made me pick it over just having a CLI:

* discoverability - it was a complicated app and while it was all technically exposed via cli flags, having a GUI made it a lot easier to figure out what the right incantation is.

* richer communication medium that's back-and-forth instead of unidirectional. The TUI is able to fetch a list of e.g. valid IDs and let you pick them with a check-list, instead of you having to go query the db yourself and type them in.

I consider it one of my greatest victories that my boss was able to use the TUI to recover from an incident without needing to page me while I was on holiday, and he said he barely had to read the docs and felt confident he was getting it right the first time. "I did it while sipping my coffee."

I used https://github.com/mabe02/lanterna - would recommend. They even have a Swing-based emulation mode for easy development iteration running it from intelliJ.

comment 3y ago · link · parent

I felt like it was okay-ish given he immediately qualified his own, nearby hometown with the same descriptor. I think it changed the effect from discriminatory to almost a term of chagrined endearment which lent weight to his subsequent commentary.

Would I have written it myself? Probably not, especially given who recently popularized the term "shithole". But I think as a rhetorical device it did what he wanted it to in his writing.

comment 3y ago · link · parent

A big problem with computing in space is the radiation environment. To be quite frank, it's absurdly hostile. IIRC the voyagers have very little computing power (so, few things that can malfunction) and even then they run three processors that are already radiation-hardened, and each computation is run in parallel on each processor, and the outcomes are compared among the three to detect and throw away any computations that were altered by radiation-based bit flips.

Such is space. Everything needs to be designed specially for it, especially for trips beyond LEO (where the magnetosphere is still providing you significant protection).

comment 3y ago · link · parent

Sure - I think there's a hair to be split here where we could argue that weaponizing anti-circumvention logic in GPLv2 is generally in the spirit of the GPL as a whole, but then also say they in GPLv3 we decided to remove it because while it's in the spirit, it's too dangerous, and net-better for user freedom if using GPLv3 software doesn't carry the risk of accidentally tripping up anti-circumvention laws.

comment 3y ago · link · parent

RMS even describes the GPL's weaponizing of copyright against itself as a "judo throw" in his writings. The intent there is very explicit.

comment 3y ago · link · parent

I've used ubuntu server for over a decade. I moved servers to debian and enjoyed it. My laptops have always been Arch.

comment 3y ago · link · parent

Yeah this was the comment I was coming to look for. I saw a couple sentences that made me go "hmm" but the one that I copied into my clipboard to post about was:

"Arrays, however, have a property called length, which can be queried to get the number of elements in the specified array."

This is not correct and causes bugs. Length is the length of the array, not the number of elements within it. Maybe the author understands this, but precision of language is important here and as-written this is either ambiguous at best or incorrect at worst.

Also the entire section for "Array size and the concept of arrays of arrays" is terribly confused. Again I'm not sure if this is imprecise use of language or if the author is truly this confused about the topic, but:

"As you can see, what you have is truly three arrays, working together to create the equivalent of a three-dimensional array."

No, in the naive case of "new int[M][N][10]" you have 1 + M + MN arrays. And if you are working with only the type int[][][], just checking arr.length, arr[0].length, and arr[0][0].length will not give the the dimensions of the 3d array - any of the arrays can be of any length (the length of the array is not part of the type system).

And I feel like I'm not nitpicking here - note some algorithms, like DP ones for instance, only use a "diagonal" half of a 2d array and allocating the other half would be wasted space. So it's very possible you'll encounter such non-trivially-shaped 2 and 3D arrays in practice.

"Here’s an interesting question: What would happen in a multidimensional array if one of the dimensions were declared with a size of 0? For example,

strangePoints = new int[3][4][0][2]"

This was a TIL to me though, I'm kind of surprised this doesn't throw at runtime? But also, I suppose, not surprised. It's weird because, is int[3][4][0][2]

really* an int[][][][]? I guess it's not not an int[][][][] but it's also kind of weird that it is. I guarantee this has caused a bug at some point. This would be a cursed interview question.

comment 3y ago · link · parent

If this inflation is the price of liberty for Ukrainians and the price of independence from a dictator for Western Europe, then I am willing to pay that, personally.

I just don't think Ukraine explains that much beyond natural gas prices going up, as far as I'm aware, and even that I suspect is limited to Europe. (I am in the US).

comment 3y ago · link · parent

Yeah, there's definitely counterexamples. I thought of East India too. I really wonder what operating a huge company like that looked like in an era where the fastest way to transport messages was to have fresh horses pre-positioned every X miles and have someone gallop your message non-stop. I assume it was very different from Amazon employees peeing in bottles to avoid getting dinged for metrics.

comment 3y ago · link · parent

> If you are used to supporting the bosses and sysadmins in whatever they do, you might find this idea strange at first.

Should this be that far-fetched though? That employees might not be simple thralls of the capitalist, whose agency extends only as far as his master permits?

It reminds me of something I'd read that one of the reasons modern capitalism is so borked is because the founding fathers weren't conceiving of things like "Amazon" existing, where one entity employs a staggeringly large number of employees. Or that a small number of companies would employ such a large percentage of workers.

Their worldview was that where most people were "self-employed" - and if they weren't, employers were small and had a few or tens of employees at most. Or it was a matter of master and apprentices where both groups were investing heavily in each other in a trade and in the running of a shop.

So, while yes our current system finds it a matter of course that employees are utterly subject to the whims of their employer and the legal and economic system fully supports them in this, does it have to be that way?

(I know you can go be a contractor, but good luck with health insurance and etc etc etc all the other things that being yoked to an employer brings that I wish were just public taxpayer-funded services).

comment 3y ago · link · parent

You could also just use some known, boring technology. I was using Java Swing in 2016. It was rock-solid and unchanging. It will outlive me. Nobody is going to touch it again (all the churn is now in JavaFX). And yet! It even got HiDPI support somewhere around Java 8 or 9 (or at least, whatever they did, Swing apps now respect display scaling when at one point they definitely did not).

comment 3y ago · link · parent

This looks really cool.

In the past I used lanterna (https://github.com/mabe02/lanterna/tree/master) to develop a text UI for a critical process at the trading firm I worked at. It was essentially a process that would take updated market data and handle things that changed between the last trading session and today - like symbol renames (PCLN to BKNG), changes to market cap that make it change what "category" it fell into (they were based on market cap and volatility measures etc). Things of that nature, that the realtime system didn't handle but happened too often or were too hairy for us to just handle manually.

The system had a desktop UI component that was oriented towards use by our trading staff. We didn't really have notion of a "server UI" and the server was headless.

Nobody at our firm was a frontend developer, just backend, systems and data programmers who occasionally dabbled in frontend. So web UIs were very simplistic or highly specific to their use-case, we had no shared tooling.

In 2023 with things like create-react-app and whatever next.js does, I probably would've opted for one of those. I could've made another desktop app but I wanted to be able to easily get to this from a shitty ssh connection over tethered 4g when I was on-call. So X11 forwarding and RDP were out. So i looked around for a TUI-builder in the project's language, Java.

What i really liked about Lanterna was that it had a Swing-based implementation which meant I could easily run it from IntelliJ, and that would let me iterate rapidly, and then in production I could run it in a terminal via SSH directly on the machine the server was on (which had certain advantages).

I'll keep an eye on this to see if I can think of anything neat to build on it. I still generally don't like web apps because they feel like they take a lot of effort to get something compared to a functionally-equivalent product built in something non-browser-based like a TUI or desktop GUI.

comment 3y ago · link · parent

It could be that this is showing drying up of future (or near-term future) possibilities that this is a high-growth company. If investors were predicting they'd be growing at a certain rate (and a higher rate commands an exponentially higher P/E multiple) and now that rate is lower or even flat (or even shrinking), then that's going to be a big drop as a "small" movement on the X axis (of growth rate) produces a much larger movement down the Y-axis since it's an exponential relationship.

TLDR if investors see this as a "party's over" signal and most of the big/easy growth is behind, they're going to flee.

12345