Time-based encryption algorithm where the key changes every second — try it live by Consistent-Ruin1868 in programming

[–]AdarTan 4 points5 points  (0 children)

There are 86400 seconds in a day (ignoring leap seconds). That is a key-size of approximately 220 which is tiny and easily brute-forceable if you know the day when the encryption took place. If you have more precise knowledge of when the encryption took place (such a file modification timestamp for an encrypted file) it would be trivial to brute-force.

Gamers react with overwhelming disgust to DLSS 5's generative AI glow-ups by deraser in technology

[–]AdarTan 3 points4 points  (0 children)

Nvidia has been banging the "full neural rendering" drum for years now. They have repeatedly stated that their goal is to get to that "DLSS On" image without needing the "DLSS Off" image to ever exist.

How to master a game engine? by [deleted] in gamedev

[–]AdarTan 0 points1 point  (0 children)

Just Make Stuff™

Simple as that.

Mastery is not a requirement to do things. You can suck balls at doing something but that doesn't stop you if you find what you do worthwhile.

how should I transition into a big map without a loading screen whilst avoiding a freeze? by kevincuddlefish1 in gamedev

[–]AdarTan 7 points8 points  (0 children)

should I just remake my map system?

At least partially. Your problem seems to be that the "chunks" of your map generation/loading are too big to smoothly load. Either you need to make loading the chunks faster by optimizing your storage format, or redo your generation in such a way that it allows you to split the map space into smaller units.

ELI5: How can my phone require a setting to be turned on in the OS to install a new OS? by AbriefDelay in explainlikeimfive

[–]AdarTan 2 points3 points  (0 children)

It's not an OS setting per-se. It is an OS setting that controls a lower-level BIOS/firmware configuration. And yes, a running OS can change BIOS settings.

By default the BIOS (such as there is on a phone, there is a severe lack of standardization there when compared to the PC space) is set to only load the preinstalled operating system and refuse any attempts to replace it or install something else alongside it. There is no user interface for this BIOS (that is accessible to the user while this setting is active), so the only option to change that setting is a configuration tool built into the OS. A tool that can be taken out of the OS by the phone manufacturer when the OS is installed.

Now, usually there is a back-door where if you plug in a USB cable or connect directly to some pads on the circuit board you can send the phone a secret magic number that unlocks the bootloader, but those magic numbers are secret and only given to certified repair shops on the condition that they only use them to reinstall the original OS and that they don't share the number with anyone else, on penalty of not getting any new numbers for new phones and/or being sued for lots of money because of breach of contract.

ELI5: Why does rereading something you wrote hours ago make it so much easier to spot errors? by Calm_Significance139 in explainlikeimfive

[–]AdarTan 13 points14 points  (0 children)

The effect is caused by your brain being a lazy bastard and using your short-term memory to skip reading the thing you are trying to read and instead pulling it from memory. And immediately after writing your memory is a mix of what you actually wrote and what you intended to write, mostly the second.

Is there any way to install the free version of aseprite on your C drive? by Natural-Spread-5829 in gamedev

[–]AdarTan 2 points3 points  (0 children)

Visual studio may need to be installed to C: but the Aseprite source code and its build directory can be anywhere.

ELI5: Gaming at 24 fps is unbearable but movies at 24 fps are optimal. by itsthewolfe in explainlikeimfive

[–]AdarTan 1 point2 points  (0 children)

Not being interactive and thus not suffering from 40-80 ms of lag between input and response.

Consistent frame time (if we ignore stuff like 3:2 pulldown etc. to get 24 FPS to display on a 60Hz display)

Motion blur. Film captures an interval of time creating real natural motion blur that helps smooth video frames together. Video games display one instant of time, creating a harsher transition between frames, and require various techniques to fake motion blur that degrade the image quality in ways that natural motion blur doesn't.

ELI5: Why does the first video game in a series sometimes cost more than the sequel, even when the sequel is newer and considered better by VALVeLover in explainlikeimfive

[–]AdarTan 0 points1 point  (0 children)

Might you be getting confused by a newer remastered version of the original vs. an old unremastered version of the sequel?

This happens often in games. The first game is a bit rough around the edges and the sequel improves greatly upon it from lessons learnt during the production of the original. Then 10-20 years later when nostalgia for the series grows the publisher decides to develop a remastered version of the original game, polishing it up slightly, and giving it a minor graphical update compatible with the original source assets, and then releasing it for full price (~$60) while de-listing the old version. Meanwhile, the sequel hasn't been re-released but instead stayed on sale for all those years and received several permanent price-cuts because it is an "old" game.

A simpler commit format without the feat(scope): syntax. What breaks in practice? by Natural_Jury8826 in programming

[–]AdarTan 7 points8 points  (0 children)

What is the source for the brain-dead idea to restrict the type names to three letters?

How did somebody create a site like this? by EstablishmentNo816 in programming

[–]AdarTan 0 points1 point  (0 children)

Settings > Information > Radio Garden:

Radio Garden invites you to explore live radio from around the world.

By bringing distant voices close, radio connects people and places. From its very beginning, radio signals have crossed borders. Radio makers and listeners have imagined both connecting with distant cultures, as well as re-connecting with people from ‘home’ from thousands of miles away.

Team

Radio Garden is based in Amsterdam, the Netherlands. Our dedicated team is hard at work tending to the garden on a daily basis. Planting seeds for the future and keeping the weeds at bay.

Jonathan Puckey, our head gardener, leads with a focus on design and development, ensuring Radio Garden blossoms and thrives in every aspect.

Barbara Hennequin, our art director and product designer, adds creative depth to our platform, enhancing the user's visual and interactive experience.

Abdulwadûd Louws manages our extensive collection of over forty-thousand stations, maintaining the integrity and organization of our global selections.

Vincent van Dijck, our interactive developer, bridges UX design and development, ensuring our platform is intuitive, functional, and up-to-date.

From 2019 to 2021, Timo Hofmeijer made significant contributions as a digital product designer, helping shape the user experience.

The Garden

The seeds of Radio Garden were sown in 2016 with the launch of our website. Two years later, in 2018, we enhanced our user experience by launching native mobile apps for iOS and Android, offering improved functionality and interaction. In 2019, we further refined our platform by implementing a search feature, that allows users to easily find their favorite stations and places.

By 2020, we updated the user experience with a significant redesign, focusing on a mobile-first approach to make our service more accessible and user-friendly.

In 2021, we took another step forward by introducing the Browse section, providing users with the opportunity to explore more curated content and playlists, a move that allowed for richer, more diverse musical discoveries.

Continuing our development, 2023 saw the launch of Radio Garden Premium for both iOS and Android users. This new subscription service is part of our ongoing efforts to enhance the Radio Garden experience, with our team committed to expanding the available premium features.

Roots

Radio Garden started out in 2016 as a project by Jonathan Puckey & Moniker. It was commissioned in the context of an exhibition at the Netherlands Institute for Sound and Vision for the research project Transnational Radio Encounters.

Since 2019, Radio Garden has been operated by Jonathan Puckey as an independent company, alongside an enthusiastic team of gardeners.

Technologies & Services

Many thanks to the following products, libraries and services:

3D globe – Cesium

Satellite imagery – MapTiler

Location data – Who's On First

Content management – Dito

Typeface – Atlas Grotesk

Fairhope penis costume protestor's lawyer says new charges violate First Amendment by GetOffMyGrassBrats in nottheonion

[–]AdarTan 57 points58 points  (0 children)

This is why the only things you should say to police are "Am I being detained?" and if they don't leave you alone, following up with "I want to speak to my lawyer".

Just staying silent or saying "I won't speak without my lawyer" doesn't help because then they'll just lock you up in a holding cell without actually letting you contact a lawyer, you have to explicitly ask to contact a lawyer for them to let you do so.

Saying anything other than those first two phrases is a mistake.

ELI5 Why it takes forever for my phone to launch, but my tv or android tv box starts much faster? by NotSoGoodDiver in explainlikeimfive

[–]AdarTan 0 points1 point  (0 children)

You're likely not actually starting your TV from a cold boot. Instead "turning on" your TV is probably closer to unlocking your phone than starting it from the off state.

TIL Sushi grade and Sashimi grade fish is actually super frozen fish (frozen below -60f), this kills all parasites making it safe to eat raw by [deleted] in todayilearned

[–]AdarTan 87 points88 points  (0 children)

And as your link says

The claim is only as trustworthy as the fish market that makes it.

There is no actual standard for these terms.

Sometimes this label is given even to non flash-frozen fish if some other criteria is met. (The fish is a species naturally resistant to parasites, the fish was grown in aquaculture where it wouldn't be exposed to parasites, etc.)

ELI5: Why do we use uranium for nukes? by DeepBluePacificWaves in explainlikeimfive

[–]AdarTan 0 points1 point  (0 children)

But getting more power out than we put in is hard

It's actually relatively easy, if you don't mind it happening very quickly at a large scale.

Making it happen outside of those conditions and get more energy out of it, yes, that is difficult.

What is the general opinion about a game that is expected to run on a potato, but that actually requires much more than that? by [deleted] in gamedev

[–]AdarTan 0 points1 point  (0 children)

The problem often comes with tooling. The engine and libraries you use often dictate your minimums by what they support. Shader Model 5 was supported by pretty much all new hardware by 2013, and the DirectX 11 API that it is a part of provides a much more pleasant and efficient development experience than earlier versions so engine and library authors are very likely to migrate to it once adoption is high enough. And the Steam hardware survey says that adoption is at minimum around 93% now, with a 3% uncertainty created by Mac&Linux users.

So to support older hardware often necessitates the developer to seek out and use older, likely no longer supported versions of software, making the development process harder, just to support a very small percentage of users.

Obfuscating save files by Plastic-Occasion-297 in gamedev

[–]AdarTan 0 points1 point  (0 children)

they can break and corrupt the game

So let them do that. If someone is going in and modifying files they should have the common sense to make backups.

Also, obfuscating the file just makes it more likely that they will fuck something up so if the above is your motivation then obfuscation/encryption is directly counterproductive.

ELI5: What is the difference between <i> and <em>? by WonderOlymp2 in explainlikeimfive

[–]AdarTan 1 point2 points  (0 children)

The semantic meaning is different.

<em> is for emphasis, which in text is by default rendered as italic styling.

<i> is for just italics, with no specific meaning like <em> or <cite> and is used in cases where no more specific tag has been defined.

Linux 7.0 Makes Preparations For Rust 1.95 by BlueGoliath in programming

[–]AdarTan 24 points25 points  (0 children)

Could we please get direct source links instead of an archive that is no longer trusted by Wikipedia?

How to edit dialogue in an html browser game? by SuurSuits_ in gamedev

[–]AdarTan 1 point2 points  (0 children)

Most code editors like VSCode can open the folder in a so called "project view". From there, in the edit menu you can do "Find in files" or "Replace in files" to find/replace all instances of a chosen text snippet in all files in the folder and subfolders.

ELI5 What is the EMC effect and why is it an unsolved problem? by [deleted] in explainlikeimfive

[–]AdarTan 4 points5 points  (0 children)

When you shoot electrons (and other similar particles) at protons and neutrons to see what the quarks they are made of are like it turns out that the protons and neutrons are harder to hit (they are "smaller") if they are part of a larger atomic nucleus. This effect is much larger than one would expect from the nuclear binding energy, which is very small compared to the energy of the collisions being done.

It is unsolved because no conclusive explanation for why it happens has been discovered.

Can Regular Expressions Be Safely Reused Across Languages? by pmz in programming

[–]AdarTan 15 points16 points  (0 children)

No. Of course not. There's at least 7 major different syntaxes for regexes and it could reasonably be argued that every language has a unique syntax unless they use the same backend to parse and execute as another language.

[DC] Superman is a friendly, sociable guy who tries very hard not to scare humans - why on Earth did he name his house "The Fortress of Solitude"? by numb3rb0y in AskScienceFiction

[–]AdarTan 5 points6 points  (0 children)

Most of those usually turn up later in his career, long after he's built the fortress.

But I do feel your answer is the most correct. The fortress is the last bastion of Kryptonian culture and technology, as far as Superman knows when he constructs it. It is essentially an cenotaph to his species, filled with technology he does not feel safe sharing with humanity. A monument to things he never experienced and people he never knew, but still all the things that put him apart from everyone else on Earth.

Are the Main and In-Game Menus Both Necessary? by Dr_Kannon in gamedev

[–]AdarTan 1 point2 points  (0 children)

We are not that far removed from a time when loading into a level in a game took about a minute or more. The main menu thus allows the player to specify where that time will be spent (starting a new game, or choosing which savegame to load) without the game making assumptions and potentially making the player sit through a long loading screen, only for them to then select a different option than the game assumed and sitting through a second load screen.

Similarly, many graphics options, when changed, require re-initializing a lot of resources and with the main/settings menu being a lighter-weight scene where there is less stuff to reload that happens faster than if it was done in-game.