24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 3y ago · link · parent
Reaction videos, eating things, hanging out and making jokes, making a stupid contest, trying some new experience...
It's like there is an entire part of the children/teen population that have such a bland life they feel good while watching somebody else living it.
Just read my comment and realized how "old man yells at cloud" it sounds, but hey, maybe someone will have something interesting to answer.
comment 3y ago · link · parent
The problem is it's not guarantee, and it's way more expensive and hard.
Hence electron being so popular.
comment 3y ago · link · parent
GPT can learn do to that: not providing true randomness, but the illusion of it to serve the game.
comment 3y ago · link · parent
But on the other hand, just like open world was a terrible curse with hundred of games feeling empty, I'm afraid we will see a wave of games with a lot of generated but eventually uninteresting content because this is so easy to do.
After all, good content is coherent, and filtered. It's not just about producing a lot, it's what you don't put in the game, and what you do to glue things together.
I sure GPT will eventually be better at it than humans, but for now, having a human veto is necessary to have a good noise/signal ratio and because GPT is "good enough", being lazy is tempting.
But yeah, I can confirm GPT4 is already quite good at it and will only improve from this point.
This is going to be very interesting years.
Edit: I just made it write a full video game scenario, using BG as a competitor for basis. At first it was average, but with directions, it refined it and became quite good. Some kind of steam punk guild called the Navigators reading the wind, living in floating islands and a girl rediscovering the earth bellow the clouds and rebuilding old aliances with lost civilizations, plus a politician leader trying to prevent that and even a mentor to help her. Not bad.
I would play this, and even read it.
You can see the inspiration from "The Pillars of the Earth", "Gunnm", "Baldur's Gate" and "nausica" proving again it's mostly assembling known stuff.
But a cake is mostly assembling known stuff and it's still good. The "last of us" is just a good take on something that has been done a thousand times.
So why not?
2147.
PEP 603 – Adding a frozenmap type to collections(peps.python.org ↗)
3 points · by BiteCode_dev · 3y ago · discuss
comment 3y ago · link · parent
I know a government agency storing their entire list of all credentials for every one of their IT services and servers in an .ods file.
I introduced them to password managers, but it was too hard for them. SSH keys? Too hard.
I managed to make they bite the bullet of using keypass.
Then they lost their master password.
And went back to the .ods file.
So I can buy it.
comment 3y ago · link · parent
I never have a hard time to write things with words for the average stuff, which is what the AI is good at. It's always faster for me to type it. And for the hard stuff, AI cannot help (yet).
For programming having help for the average stuff saves me time. But for words? That's my natural way of expressing thoughts, why would I need speed up with the most natural thing in the world?
But then I saw some of my friends use it, and I understood.
Most people suck at writing.
In fact, they suck at communicating in words in general. I started to pay attention, and realized that most of the discussion is not even proper French or complete sentences most of the time. The tone, the gestures, grunts and context are all used by every day people to express essential basic ideas.
And we rarely express anything beyond basic idea in days to days activity, no matter how smart we think we are, life is mostly mundane stuff.
And unlike me, they didn't have to write a ton of paperwork in their life, or articles, they have no training.
They struggle with the medium like a fish trying to climb a tree.
For them, GPT is a savior for any formal writing task.
comment 3y ago · link · parent
This uses Keychain on macOS, Freedesktop Secret Service/KWallet on linux and Windows Credential Locker on Windows. So decrypting is managed by the OS usually it's done when the user log in or at first access, and is transparent to your program.
This avoids a pitfall I see too often where people hard code their password in their script because it's the simple thing to do.
Keyring is nice because it's only an inch more effort than that. It's the best ratio "ease of use" / "security" there is. You manipulate it like a key-value store, don't bother about encryption, prompting the user for decryption or anything. And you don't risk committing your secret or letting linger at the wrong place. Plus you benefit from your OS security team effort.
You can also use "os.environ" to read the key from env vars in production and only use keyring if it's not there.
2153.
Python Keyring Library(pypi.org ↗)
2 points · by BiteCode_dev · 3y ago · 1 comment
comment 3y ago · link · parent
It's a compiler for python code that can create stand alone executables, and up to 4 times the speed of the initial code.
Best of all, it's extremely reliable, with a high level of support of event the tricky things like the scientic and gui stacks.