News for hackers. Stuff that matters.
Re:Hostile Volume – A game about adjusting volume with inten... by jonathanlydall on Saturday March 14, 2026 @04:13PM (#47380695)
My favourite bad volume control was in Real Player around 1997 where changing the volume in the application actually changed the global volume of Windows.
Re:Hostile Volume – A game about adjusting volume with inten... by whycome on Saturday March 14, 2026 @04:33PM (#47380879)
That was a hardware/software thing as far as I remember. If it was using something like DirectSound it would adjust the audio independently. Other media players did the same thing.
Re:Hostile Volume – A game about adjusting volume with inten... by jonathanlydall on Sunday March 15, 2026 @04:27AM (#47385379)
It was definitely noteworthy that it did this since I was used to other programs not doing so, for example Winamp, I would also have thought Windows' Media Player did not do this, but I can't remember for certain.
Re:Hostile Volume – A game about adjusting volume with inten... by anyfoo on Saturday March 14, 2026 @04:39PM (#47380931)
I feel like that was super common. Apart from changing the volumes of entire channels (e.g. changing the level of Line In vs. digital sound), volume was a relatively “global” thing.

And I’m not sure if that was still the case in 1997, but most likely changing the volume of digital sound meant the CPU having to process the samples in realtime. Now on one hand, that’s probably dwarfed by what the CPU had to do for decompressing the video. On the other hand, if you’re already starved for CPU time…

Re:Hostile Volume – A game about adjusting volume with inten... by jonathanlydall on Sunday March 15, 2026 @04:29AM (#47385388)
I mentioned this in another thread now, but it was definitely noteworthy to me that it did this since I was used to other programs not doing so, for example Winamp, I would also have thought Windows' Media Player did not do this, but I can't remember for certain.
Re:Hostile Volume – A game about adjusting volume with inten... by anyfoo on Monday March 16, 2026 @04:36AM (#47396422)
Winamp had a software equalizer with a preamp, which was noteworthy. Are you sure changing the volume did not mean changing the preamp level in Winamp?

If you turned off the preamp (could be directly done in the EQ window I think), what did the volume control actually do?

Re:Hostile Volume – A game about adjusting volume with inten... by jonathanlydall on Monday March 16, 2026 @05:01AM (#47396577)
Maybe we're not understanding each other correctly here.

It's 30 years ago now, but my recollection is that Winamp did not change Windows' global volume.

I am less certain, but I thought Windows' own Media Player similarly also did not change Windows' global volume.

What I definitely recall correctly is being surprised that Real Player would change the Windows' global volume and this would not have been so noteworthy to me unless it was unusual compared to other applications I typically used.

Re:Hostile Volume – A game about adjusting volume with inten... by anyfoo on Monday March 16, 2026 @08:53PM (#47407216)
No, I get you. I'm stating that Winamp might have been "special" because it had a software equalizer, and its volume control might have actually changed the preamp level. This would be fairly unusual for other app of its time, and I also wondered what would happen if you turned the Preamp off with its big shiny button, and whether that would let the volume control control the global volume instead, or whether it maybe would disable the volume control entirely.

What I'm saying is: I still feel (perhaps wrongly, quite possibly so) that in 1997, changing the global volume was more common, and that even being able to change app-specific volumes required some non-trivial features from the app who can do so.

Re:Hostile Volume – A game about adjusting volume with inten... by Waterluvian on Saturday March 14, 2026 @05:17PM (#47381264)
I was so confused by the CD drives of that era. They all had a volume wheel and a headphone jack, but never once did I experience those working. The audio CDs were always “owned” by the OS, which piped the audio through the normal channels out my speakers or the PC headphone jack.

I imagine the existence of those means that CD drives had their own DAC and other logic. I guess there was an idea of wanting to play CD audio without it being a PC concern? Or on PCs without audio capability?

Re:Hostile Volume – A game about adjusting volume with inten... by spicyjpeg on Saturday March 14, 2026 @06:03PM (#47381737)
Almost all IDE and SCSI CD-ROM drives were indeed capable of playing audio CDs fully autonomously, with the host PC basically only sending them the command to start playing; many drives took it one step further and provided a play button in addition to the usual eject button, which worked even if the drive wasn't plugged at all into a machine. The audio was typically output both to the front panel headphone jack and to a 4-pin connector on the back of the drive, which you were supposed to connect to one of your sound card's aux inputs so that it would get mixed into the system audio output.

Unfortunately, a decent number of machines were not fitted with the relevant cable. Combined with the low-quality DACs that most drives used, the compatibility issues that plagued ATAPI implementations and the dramatic increase in CPU power and sound card quality throughout the mid-to-late 90s, this led media player software to quickly move on from drive based playback to so-called "digital audio extraction", where the CD is basically ripped in real time and streamed to your sound card's own DAC. Thus, unless you played older games that relied on hardware CD-DA playback [1], it's somewhat unlikely you ever experienced it under, say, Windows 98 or XP.

[1] As offloading playback to the drive had no CPU overhead, games often stored their music as additional tracks on the game disc and played it that way. Incidentally, basically all CD-ROM-based game consoles and arcade systems relied heavily on hardware accelerated playback as well, with some going even further and allowing for compressed (ADPCM) CD audio streaming with no CPU intervention.

Re:Hostile Volume – A game about adjusting volume with inten... by acomjean on Sunday March 15, 2026 @12:00AM (#47384208)
Had a 3x NEC external scsi cd drive. It had play/ ff and rewind buttons and a little lcd that showed the track #. With the headphone jack it made a decent cd player.

https://recycledgoods.com/nec-cdr-400-3x-scsi-external-plus-...

Re:Hostile Volume – A game about adjusting volume with inten... by kibibu on Saturday March 14, 2026 @05:51PM (#47381616)
They absolutely had a DAC. The earlier commercial CD-ROM drives used an internal audio cable connected to a dedicated input on the sound card pcb for cd-audio. It was years before audio players used digital audio streams.
Re:Hostile Volume – A game about adjusting volume with inten... by wizzwizz4 on Saturday March 14, 2026 @05:22PM (#47381320)
Did you ever try using the drive with the computer switched off?
Re:Hostile Volume – A game about adjusting volume with inten... by hyperman1 on Sunday March 15, 2026 @01:44PM (#47389801)
When a computer crashed, cd audio continued to play. My PC just kept playing trough a hard reset/reboot, in fact. It would only stop playing when DOS booted far enough that it loaded mscdex, a step I could skip with a startup menu. I've always wondered why it managed to survive a reset pulse on the wire.
Re:Hostile Volume – A game about adjusting volume with inten... by Zardoz84 on Saturday March 14, 2026 @06:01PM (#47381704)
I remember my father powering one of these old cd ROM drives, without a computer and using it to play music CDs using these jack connecter
Re:Hostile Volume – A game about adjusting volume with inten... by darknavi on Saturday March 14, 2026 @05:52PM (#47381624)
It's funny because Microsoft Teams does this today, in 2026.
Re:Hostile Volume – A game about adjusting volume with inten... by Insanity on Saturday March 14, 2026 @06:15PM (#47381845)
Happy I never had to use Teams so far. Only heard bad things about it lol.
Re:Hostile Volume – A game about adjusting volume with inten... by drfloyd51 on Saturday March 14, 2026 @07:22PM (#47382395)
Then you knowall there is to say about it.
Re:Hostile Volume – A game about adjusting volume with inten... by Ylpertnodi on Sunday March 15, 2026 @08:58AM (#47386979)
I'm writing this, rather than use teams.
Re:Hostile Volume – A game about adjusting volume with inten... by jonathanlydall on Sunday March 15, 2026 @04:23AM (#47385355)
I almost didn't believe this, but I just tested and you're absolutely right.

I've never noticed because I use a Steel Series headset which presents as two output sound devices to Windows, the idea being that you can independently control the volume of your "game" and your "chat" application. Turns out it's useful for Teams as well.

Re:Hostile Volume – A game about adjusting volume with inten... by arnitdo on Sunday March 15, 2026 @08:23AM (#47386721)
Good solution that works is setting up something like voicemeeter, passing audio through a virtual device and then muting it in vb panel
Re:Hostile Volume – A game about adjusting volume with inten... by malnourish on Sunday March 15, 2026 @07:36PM (#47393250)
Until you invariably end up dealing with sampling rate disparities and other bugs that lead you to hear crackling or make you sound like a robot.
Re:Hostile Volume – A game about adjusting volume with inten... by efilife on Wednesday March 18, 2026 @09:14AM (#47425410)
Too many programs do this. MPV and VLC too
Re:Hostile Volume – A game about adjusting volume with inten... by SkySkimmer on Sunday March 15, 2026 @06:08AM (#47385891)
For some time this was the default in pulseaudio on linux https://200ok.ch/posts/2019-05-20_disable_flatvolume_for_pul...

The debian bug linked there implies it started 2012 or earlier, and ended in 2019.

Re:Hostile Volume – A game about adjusting volume with inten... by graypegg on Saturday March 14, 2026 @03:43PM (#47380371)
This is not an issue at all, but when ever I come across something like it, I like to poke at the frontend in dev tools a bit. You can pass most levels with `setVolume(25)` in the web console, since that function is just sitting in the document object. That feels like the ultimate volume UI puzzle heh.
[dead]
Re:Hostile Volume – A game about adjusting volume with inten... by wizzwizz4 on Saturday March 14, 2026 @05:23PM (#47381341)
I had to use it for #19, since YouTube doesn't load on my machine. Patching it would make the game unplayable past level 19.
Re:Hostile Volume – A game about adjusting volume with inten... by diacritical on Saturday March 14, 2026 @06:29PM (#47381974)
Please don't. The game was fun, but level 22 didn't work on Tor Browser due to CORS errors. At first I thought the "NETWORK ERROR. TRY AGAIN" was part of the game until I saw the actual network tab. I wouldn't have made it past level 22 if not for the console command. Plus, if someone wants to cheat, why not?
Re:Hostile Volume – A game about adjusting volume with inten... by anwar_nairi on Saturday March 14, 2026 @03:56PM (#47380511)
Had a lot of fun cool idea! Make it a PWA so I can list it on https://korru.app
Re:Hostile Volume – A game about adjusting volume with inten... by xnx on Saturday March 14, 2026 @03:42PM (#47380356)
The worst volume control UI in the world (2017): https://news.ycombinator.com/item?id=27819384
Re:Hostile Volume – A game about adjusting volume with inten... by TheLNL on Saturday March 14, 2026 @03:40PM (#47380342)
Finished the game. It was fun to play. I got stuck for a while on the opposite level where the display doesn't update, but was able to go through the rest just fine
Re:Hostile Volume – A game about adjusting volume with inten... by macromagnon on Saturday March 14, 2026 @05:01PM (#47381128)
I could tell in edge that right side was muted based on the icon next to the address bar and noticed you could use arrows to move one by one so just pressed left 25 times.
Re:Hostile Volume – A game about adjusting volume with inten... by apublicfrog on Saturday March 14, 2026 @06:39PM (#47382058)
Much harder on a mobile device!
Re:Hostile Volume – A game about adjusting volume with inten... by jimkleiber on Saturday March 14, 2026 @03:22PM (#47380164)
Got an error on Level 17, just a heads up.

Love the game, btw.

[dead]
Re:Hostile Volume – A game about adjusting volume with inten... by deanCommie on Saturday March 14, 2026 @07:04PM (#47382228)
ok but i manually used arrow keys to set it to by clicking right 25 times, and that didn't work, so i gave up.
Re:Hostile Volume – A game about adjusting volume with inten... by chaps on Saturday March 14, 2026 @05:09PM (#47381193)
Yeah, I took that to mean to refresh the game and so I did.... and then lost my progress :(. I really want to play the rest but I don't want to go through the rest of the levels.
Re:Hostile Volume – A game about adjusting volume with inten... by tenderfault on Saturday March 14, 2026 @05:16PM (#47381256)
that’s not an error
Re:Hostile Volume – A game about adjusting volume with inten... by Retr0id on Saturday March 14, 2026 @03:11PM (#47380062)
There are two types of volume slider I've encountered thus far, "too logarithmic", and "not logarithmic enough".
Re:Hostile Volume – A game about adjusting volume with inten... by embedding-shape on Saturday March 14, 2026 @03:38PM (#47380325)
That's because one ear is logarithmic-based and the other is exponential-based. Which one differs per person.
Re:Hostile Volume – A game about adjusting volume with inten... by JulianWasTaken on Saturday March 14, 2026 @03:43PM (#47380373)
Do you have a source, that seems unlikely at face value to me, though I've never gone and looked for perception studies myself.
Re:Hostile Volume – A game about adjusting volume with inten... by graypegg on Saturday March 14, 2026 @03:50PM (#47380448)
I think they're joking, this is on a thread about silly volume control UX
Re:Hostile Volume – A game about adjusting volume with inten... by KolmogorovComp on Saturday March 14, 2026 @03:48PM (#47380432)
It’s satire.
Re:Hostile Volume – A game about adjusting volume with inten... by JulianWasTaken on Saturday March 14, 2026 @03:51PM (#47380467)
Always hard to tell.
Re:Hostile Volume – A game about adjusting volume with inten... by ErroneousBosh on Saturday March 14, 2026 @06:25PM (#47381939)
It's actually possible to turn a linear pot into an approximation of a log pot by wiring a resistor in parallel with the wiper and one end. The volume pot is a voltage divider so the amount it "scales" by is given by Scale = Rbottom / (Rtop + Rbottom).

But, if you put a resistor in parallel, you need to work out that:

R = 1 / ((1 / R1) + (1 / R2)) or Rbottom = 1 / ((1 / Rbottom) + (1 / Rfixed)) where Rfixed is the amount you're "bending" it by.

So you could make the amount of "logness" be adjustable by having another (linear) control to vary Rfixed.

You'd work out, for a pot rotation Vol from 0 to 1:

Rbottom = 1 / ((1 / Vol) + (1 / Rfixed)) Rtop = 1 - Vol Scale = Rbottom / (Rbottom + Rtop)

Now for those better at arithmetic than me, how can you reverse this? Imagine you've got a pot in a piece of equipment with a resistor between the wiper and ground giving a log curve, and you've got to read that with an ADC and turn it back into the linear position of the wiper.

It ought to be possible but I've always sucked at arithmetic.

Re:Hostile Volume – A game about adjusting volume with inten... by jupin on Saturday March 14, 2026 @03:06PM (#47380011)
Laughed out loud but gave up at level 5
Re:Hostile Volume – A game about adjusting volume with inten... by DrSiemer on Saturday March 14, 2026 @03:50PM (#47380450)
Plenty of annoyance in here for sure. Looks like 17 cannot be finished on mobile though. Switching to desktop view resets progress.
Re:Hostile Volume – A game about adjusting volume with inten... by RRRA on Saturday March 14, 2026 @04:30PM (#47380848)
Not sure how on desktop either, I've inspected the value and set it to 25 to no avail :P

edit: ok... somehow my approach didn't work the first time, but got to 18!

Re:Hostile Volume – A game about adjusting volume with inten... by apublicfrog on Saturday March 14, 2026 @06:41PM (#47382069)
Look where the slider sits initially at 75%, not the same as earlier levels ;)
Re:Hostile Volume – A game about adjusting volume with inten... by tobr on Saturday March 14, 2026 @03:21PM (#47380147)
Meanwhile, iPhone is still using this design https://xkcd.com/1884/
Re:Hostile Volume – A game about adjusting volume with inten... by Findecanor on Saturday March 14, 2026 @03:03PM (#47379974)
When clicking on this topic, I had anticipated it to be about GTK 3.x's messed up sliders.

This was more fun, in a dystopian kind of way. I have sure encountered the rate-limited spinner and the self-resizing slider in real UIs. Perhaps GTK's behaviour is on a level that I have not reached.

[dead]
Re:Hostile Volume – A game about adjusting volume with inten... by apublicfrog on Saturday March 14, 2026 @06:40PM (#47382065)
Yes, this took me a very long time to work out.
Re:Hostile Volume – A game about adjusting volume with inten... by washadjeffmad on Saturday March 14, 2026 @09:55PM (#47383468)
I still like to pretend that everyone played flash games growing up
Re:Hostile Volume – A game about adjusting volume with inten... by danjl on Saturday March 14, 2026 @04:31PM (#47380854)
...and, of course, there's really no need for a volume control in any app, since there's already a system volume...
Re:Hostile Volume – A game about adjusting volume with inten... by f1shy on Saturday March 14, 2026 @04:41PM (#47380951)
There are cases where you want to have 2 applications running and playing sound, and want to set the relative volume of each...
Re:Hostile Volume – A game about adjusting volume with inten... by XorNot on Saturday March 14, 2026 @05:44PM (#47381555)
I mean technically that is a system level feature...and there's nothing really wrong with an application adjusting it's own volume as defined by a system level volume setting for that app.
Re:Hostile Volume – A game about adjusting volume with inten... by hdgvhicv on Sunday March 15, 2026 @08:44AM (#47386878)
That’s what your system volume app does - each process outputting sound has its own slider and you can mix them at various levels.
Re:Hostile Volume – A game about adjusting volume with inten... by watwut on Monday March 16, 2026 @04:26AM (#47396377)
Please dont. I do not want to do that much clicking to mute your app. Have own slider and have it easily instantly accessible.
Re:Hostile Volume – A game about adjusting volume with inten... by Pipe94 on Saturday March 14, 2026 @04:49PM (#47381017)
somehow i'm amazed and annoyed at the same time
Re:Hostile Volume – A game about adjusting volume with inten... by wild_pointer on Saturday March 14, 2026 @05:24PM (#47381343)
Hilarious, some of them are easy with the keyboard
Re:Hostile Volume – A game about adjusting volume with inten... by LoganDark on Saturday March 14, 2026 @05:42PM (#47381539)
These mostly seem to be variations of "takes a long time / is tedious" rather than "annoying/fiddly / takes skill / is creatively bad", which is a little disappointing.
Re:Hostile Volume – A game about adjusting volume with inten... by pimlottc on Saturday March 14, 2026 @06:21PM (#47381897)
This works for almost all levels:

   for (i = 0; i < 50; i++) { document.querySelector("#l3-down").click(); }
Re:Hostile Volume – A game about adjusting volume with inten... by burgerone on Saturday March 14, 2026 @06:22PM (#47381914)
Prwtty neat. Unfortunately wasn't able to solve the UI desync one :/
Re:Hostile Volume – A game about adjusting volume with inten... by cue_the_strings on Saturday March 14, 2026 @06:36PM (#47382033)
It's inverted, 100 == 0, 75 == 25
Re:Hostile Volume – A game about adjusting volume with inten... by mdx97 on Saturday March 14, 2026 @06:28PM (#47381966)
Level 27 is not possible.
Re:Hostile Volume – A game about adjusting volume with inten... by croes on Monday March 16, 2026 @09:23AM (#47398705)
It was actually one of the easier ones
Re:Hostile Volume – A game about adjusting volume with inten... by apublicfrog on Saturday March 14, 2026 @06:42PM (#47382086)
Great fun, well done to the horrible person who made it. Apparently my RSS reader leaves the browswr live in the background, as the audio is still playing. Horrible to do on a mobile device. Worst level by far was 17.
Re:Hostile Volume – A game about adjusting volume with inten... by susam on Saturday March 14, 2026 @07:50PM (#47382603)
I often write small userscripts to neutralise hostile or annoying UI patterns. I played the 'Hostile Volume' game for a while. Nice game! After a while, I wondered: if this were a real hostile website, could I write a userscript to make each level happy? Here is the script:

  // ==UserScript==
  // @name  Hostile Volume Winner
  // @match https://hostilevolume.com/
  // ==/UserScript==
  (function () {
    const s = document.createElement('script')
    s.textContent = `
      (function () {
        function visible (id) {
          return !document.getElementById(id).classList.contains('hidden')
        }
        function win () {
          if (visible('victory-screen')) return
          if (visible('instructions-modal')) {
            document.getElementById('start-btn').click()
            setTimeout(win, 2000)
            return
          }
          setTimeout(function () {
            document.getElementById('l13-age-input').value = '01011970'
            window.cancelAnimationFrame(levels[currentLevelIndex].frame)
          }, 100)
          window.setVolume(25)
          setTimeout(win, 3500)
        }
        win()
      })()
    `
    document.body.appendChild(s)
  })()
If you don't have a userscript manager, you can just copy the script between the two backticks and paste it to the web browser's Developer Tools console.
Re:Hostile Volume – A game about adjusting volume with inten... by ua709 on Saturday March 14, 2026 @08:55PM (#47383093)
I am familiar with this game. I play a variant of it on iOS everyday, sometimes multiple times a day, with my AirPods and iPhone. I'm not very good though. Somehow iOS always wins and finds a hostile volume to initiate playback with regardless of what I do with the UI.
Re:Hostile Volume – A game about adjusting volume with inten... by mort96 on Sunday March 15, 2026 @07:26AM (#47386341)
iOS is great! I especially like how they tied the "alarm through speakers" volume to the "notifications through earbuds" volume so that you can choose between "loud enough to wake you up in the morning and also burst your ear drums when you receive a notification with earbuds in" and "quiet enough to make notifications comfortable and also not wake you up in the morning". Truly genius parody of hostile UX.
Re:Hostile Volume – A game about adjusting volume with inten... by ikekkdcjkfke on Sunday March 15, 2026 @08:41AM (#47386854)
Their audio router (if any) needs a rewrite
Re:Hostile Volume – A game about adjusting volume with inten... by MereInterest on Sunday March 15, 2026 @08:57AM (#47386976)
I particularly love how they will periodically choose to only use the selected Bluetooth device for audio output, and will instead switch back to the builtin microphone. The builtin microphone may be in my pocket or across the room, and so the only indication I get is when the person on the other end of the line says that I’ve dropped off.

Nothing changes in the UI to indicate this, nor could I find any setting to change this. Sometimes swapping the audio away from the headset and back to it helps, but it it at best a temporary fix.

Re:Hostile Volume – A game about adjusting volume with inten... by sourcegrift on Saturday March 14, 2026 @09:18PM (#47383244)
Im just happy theres someone out there who cares for masochists.
Re:Hostile Volume – A game about adjusting volume with inten... by Culonavirus on Sunday March 15, 2026 @05:18AM (#47385640)
Ended on the wheel of misfortune. Ain't nobody got time for dat!
Re:Hostile Volume – A game about adjusting volume with inten... by zeknife on Sunday March 15, 2026 @03:01PM (#47390658)
It's a bit of misdirection, since you actually have more options than just clicking the button.
Re:Hostile Volume – A game about adjusting volume with inten... by croes on Monday March 16, 2026 @09:23AM (#47398698)
Thanks for the tip
Re:Hostile Volume – A game about adjusting volume with inten... by hsuduebc2 on Sunday March 15, 2026 @07:50AM (#47386509)
That was terrible. Thank you.
Re:Hostile Volume – A game about adjusting volume with inten... by VerifyID on Sunday March 15, 2026 @08:33AM (#47386801)
level 19, after watching the video a wonderful 4 times it doesnt unlock anything to change the volume. the only saving grace setVolume(25) has been patched :(
Re:Hostile Volume – A game about adjusting volume with inten... by ahme on Sunday March 15, 2026 @08:48AM (#47386911)
Unbearable. 9/10
Re:Hostile Volume – A game about adjusting volume with inten... by ironcow on Sunday March 15, 2026 @10:24AM (#47387662)
Very interesting idea! Was happy when It was over haha good work!
Re:Hostile Volume – A game about adjusting volume with inten... by Leomuck on Sunday March 15, 2026 @01:02PM (#47389310)
What the hell. I got so annoyed at level 5 I had to quit :D But I love the idea. It can actually teach you a lot of things about UI design.
Re:Hostile Volume – A game about adjusting volume with inten... by croes on Monday March 16, 2026 @09:24AM (#47398714)
Are you playing on mobile? It's easier on desktop
Re:Hostile Volume – A game about adjusting volume with inten... by LocalH on Sunday March 15, 2026 @01:56PM (#47389919)
14m45s. 1,042 victims before me.

Diabolical villainy in this game