Hacker Newsnew | past | comments | ask | show | jobs | submit | wildzzz's commentslogin

Most people don't care about mechanical keyboards, they just use whatever their employer provides, comes free with the PC, or is just the best deal on Amazon.

Wouldn't each sample be just an amplitude(say, 16bit), not a since function? You can't recover frequency data without a significant number of pulses but that's what the low pass filter is for. Digital audio is cool but PCM is just a collection of analog samples. There's no reason why it couldnt be an energy signal.

This is the sampling theorem. You start with a continuous band-limited signal (e.g. sound pressure [0], low-pass filtered such that there is essentially no content above 20kHz [1]). You then sample it by measuring and recording the pressure, f_s times per second (e.g. 48 kHz). The result is called PCM (Pulse Code Modulation).

Now you could play it back wrong by emitting a sharp pulse f_s times per second with the indicated level. This will have a lot of frequency content above 20kHz and, in fact, above f_s/2. It will sounds all kinds of nasty. In fact, it’s what you get by multiplying the time-domain signal by a pulse train, which is equivalent to convolving the frequency-domain signal with some sort of comb, and the result is not pretty.

Or you do what the sampling theorem says and emit a sinc-shaped pulse for each sample, and you get exactly the original signal. Except that sinc pulses are infinitely long in both directions.

[0] Energy is proportional to pressure squared. You’re sampling pressure, not energy.

[1] This is necessary to prevent aliasing. If you feed this algorithm a signal at f_s/2 + 5kHz, it would come back out at f_s - 5kHz, which may be audible.


> Now you could play it back wrong by emitting a sharp pulse f_s times per second with the indicated level. This will have a lot of frequency content above 20kHz and, in fact, above f_s/2. It will sounds all kinds of nasty.

Wouldn’t the additional frequencies be inaudible with the original frequencies still present? Why would that sound nasty?


Because the rest of the system is not necessarily designed to tolerate high frequency content gracefully. Any nonlinearities can easily cause that high frequency junk to turn back into audible junk.

This is like the issues xiphmont talks about with trying to reproduce sound above 20kHz, but worse, as this would be (trying to) play back high energy signals that weren’t even present in the original recording.


That would mean that higher sampling rates (which add more inaudible frequencies) could cause similar problems. OK xiphmont actually mentions that, sorry, I had only watched the video when I replied.

If I were designing a live audio workflow from scratch, my intuition would be to sample at a somewhat high frequency (at least 48kHz but maybe 96kHz), do the math to figure out the actual latency / data rate tradeoff, but to also filter the data as needed to minimize high frequency content (again, being careful with latency and fidelity tradeoffs).

But I have never done this and don't have any plans to do so, so I'll let other people worry about it. But maybe some day I'll carry out my evil plot to write an alternative to brutefir that gets good asymptotic complexity without adding latency. :)


Use a DNS that has porn filtering along with any custom sites you don't want them accessing via the browser. You can even create your own MDM profile to prevent a kid from disabling the private DNS. There are sites that will set this up for you too. Furthermore, use parental controls to prevent installing apps without your permission, use the built-in features to limit screen time, and use tools offered by social media apps to limit usage. A super smart IT wizz kid may eventually figure it out but this will keep most kids from accessing inappropriate stuff.

People think that if they refuse to talk, they'll look guilty. An innocent person would want to clear their name so they'll sit for the interview. If the person really is guilty, they'll probably get tripped up somehow during the questioning and get cornered. Of course they can still leave at any time but they think that as long as they keep talking, eventually they'll convince the investigators that they are innocent.

Loss prevention isn't like the cops, they actually want to catch the thief because if they don't, the thief continues to operate. Cops just need someone to pin it on. Crime continues regardless of whether or not someone was wrongly convicted so what does it matter that one guy got away as long as the public thinks you're doing a good job? LP looks bad if theft continues, no one is applauding them for doing their job.


> An innocent person would want to clear their name so they'll sit for the interview.

I can see that. I think they're misguided, but I can understand the impulse.

> Loss prevention isn't like the cops, they actually want to catch the thief because if they don't, the thief continues to operate.

I'm deeply skeptical. Probably because of my own experience with this. When I was a teen, I was wrongly accused of stealing in the workplace, was subjected to interrogation, declared guilty and fired. I wanted to clear my name so badly that I went to the trouble of taking a lie detector test and sending them the result.

I learned to never cooperate if I'm ever in that situation again. There's no point. Just quit and move on with your life.


Tom Segura has a standup bit in one of his specials about cop reality shows, and how people think talking to the cops is going to work out great for them. "Lawyer up. You can't handle that s**. Everybody's like, 'I'm gonna talk to the cops, and straighten this whole thing out.' You're gonna do 25 to life. Have fun with that, man."

Personally I don't care that much if a developer uses generative AI. There's a lot of single person studios out there that could greatly benefit from pushing some of the tedious tasks onto AI so they can get back to actually making the game run well. I think it's pretty obvious when a developer leans too hard into AI and makes a game that either just looks like slop or is indistinguishable from other cheaply made games in the genre.

I'm playing Trepang2 right now. They used AI to write some of the messages found on papers and devices in the game. Finding them, or even reading them, has no bearing on the gameplay. They just help contribute to the lore and offer better insight into the world. I think there's some fun unlockables for finding them all. They found a way to add value to the game without drawing too much developer focus away from critical tasks (adding new levels and fixing bugs).

Same with marketing materials. As long as the marketing doesn't misrepresent the game, I don't think it's a big deal that they used AI to make a 2D pixel art drawing in the poster for a 3D game. It's something else entirely if they used AI generated 3D characters in marketing materials for a 2D pixel art game. I think developers need to be careful when using AI, they have to ask themselves if the generated content either misrepresents the game or dilutes the creativity.


My perspective is similar:

I don't mind AI, as long as the game is good and fun.

If your game is unfun and/or looks like crap (though this is subjective), then I want nothing to do with it whether you used AI or not.


To me it's a funding issue.

If you have the $$$ to afford art for something you'll be selling that is art-dependent, then you don't have an excuse to not pay artists.

If you don't have the money, especially during the prototyping phase, then feel free. You weren't going to be paying artists anyway.

But, as you approach releasing the product, or once you're selling it and making money, you should strive to do everything you can to hire and pay artists appropriately, if for no other reason than you'll likely get a better quality product that is more cohesive across the board.

AI assets are a gapfiller, not an end goal.


But if noone bothered to write it why shoul I read it?

Unrelated but I still use rif daily. You can patch the apk using Revanced to use your own API key rather than the original developer's key. With the rise of AI, I've block a bunch of subreddits that have become infected with obvious engagement bait posts all with similar structures, writing styles, and tropes.

"Am I the asshole for leaving my spouse because they pushed me down the stairs and murdered my dog? He's also a member of an ultra-nationalist terror organization and doesn't put his cart away at the grocery store.

My friends and family have chimed in with mixed sentiments on social media. Some are praising me and others are telling me I'm wrong."

The account will of course be brand new and all of the top comments will be accounts that solely respond to similar bait posts on similar subreddits. It reminds me of subreddit simulator, it's bots talking to bots. My personal conspiracy theory is that reddit encourages this AI bait slop because it drives engagement and gets people to see more ads. The stories are like the soap operas I sometimes watched with my mom growing up.


What! You can still use rif like that? That's interesting. I completely stopped browsing Reddit on my phone after it went away (though maybe that's for the best...)

I'm not the person you replied to, but yes, I've been using RiF since the API changes ...with a small 4-month l break last year when I was automatically flagged as bot API traffic and instantly permabanned with no warning. Reddit's built-in appeals went unanswered and ignored. Luckily I live in the EU, I appealed under DSA and they unbanned me after actual human review right before the 1-month deadline.

Could have I created a new account instead? Maybe. Did I want to check if DSA actually works in practice and can get me back my u/Tenemo nickname that I use everywhere, not just on Reddit? I sure did! Turns out Reddit cannot legally ban me from their platform without a valid reason, no matter what is in the ToS. Pretty cool!

Back to using RiF with a fresh API key after that and haven't had any issues since.


Oh, that's actually even cooler. I had no idea that was a thing we could do under the DSA. Where would one go in case their rights were being violated? (Because it's all nice on paper, but if nobody actually enforces it ...)

I switched to RedReader, which Reddit decided to still allow.

I rarely play Powerball Mega millions but when I do, it's fun thinking about how you'd spend (and protect) your winnings. "First I'll pay off that old debt, then I'll buy a new car, then I'll buy that cute house I've been driving past everyday. Then I'll call my boss and tell him to suck a fat one".

If my law firm can't afford the $20/month for a copy of Acrobat Pro, I'd be very concerned what else they are cutting corners on.


Law firms are notoriously behind in tech. I’ve seen some shit. A small firm running on the owner’s personal Dropbox account with client matter files stored alongside his porn collection, ancient, unsupported software, unpatched systems, basically zero information security, servers in a bathroom and network switches in a shower, a literal hoarder with garbage and shit in the office, etc. The Dropbox guy was basically a giant in his practice area. Very successful. You have no idea how bad things are behind the scenes.


I think it's usually a bit more complicated, i.e. the people who were expected to do processes don't and someone else shows the people asking for access that there's a faster, cheaper, cooler tool.


Basically saying that because the administration isn't cooperating with judicial reviews or even bothering to comment (let alone display a difference in opinions), the story should be shelved. So as long as the government is united in its desire to commit horrible acts and stall justice, I guess we shouldn't bother reporting them? Not sure where the logic is there. And I guess since it's possible some bad apples exist, then we should just take the word of the government that everyone there is a gang member? I wouldn't ever call 60 Minutes cutting edge journalism, it's quality for sure but they are never the first on the scene. Who cares if other media companies have covered CECOT? 60 Minutes got first hand interviews with detainees that have good backgrounds. That's important, it lets viewers empathize with "good" immigrants just trying to create a better life for their families. This letter is weak.


> Basically saying that because the administration isn't cooperating with judicial reviews or even bothering to comment (let alone display a difference in opinions), the story should be shelved.

Which is ironic, considering the actual video that Canadian broadcasters manage to send, it ends with basically "We requested a comment from US officials, but they referred us to speak with El Salvador instead", so even the finish video that got broadcast, acknowledges this basic fact that you need to carry on even if both sides don't want to be interviewed on camera.


It would be a large effort to stand up a department that solely focuses on Linux development just like it would be to shift game developers to writing Linux code. Much easier to just pay a company to do the hard stuff for you. I'm sure the steam deck hardware was the same, Valve did the overall design and requirements but another company did the actual hardware development.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: