I need some #PHP feedback on a test implementation of jwt token auth:
JWT tokens are valid forever, however we would like to invalidate all tokens when a user changes their password.
We've solved this by saving a random value at the user, and storing this in the token. Whenever the token is used, we check if this is the same. When a password gets changed, we also change this value, which then makes all old tokens invalid because they don't contain this value.
#PHP community. I'm wondering about a very old PHP memory.
When I just started out with PHP (PHP 5.1-5.3 era), I encountered a bug.
When I did some math in PHP, my browser crashed.
I then send the code to a friend, they ran it on their pc, and their browser also crashed.
When I changed the code, it didn't crash.
I've since then always wondered about this. My guess is I used x instead of *, and typed something like 'echo 3x5'. However, that still doesn't explain the crash to me.
Today I was at a themepark and for the first time ever, I rode a rollercoaster without holding my hands to something. I had them in the air! It's kinda funny that only in the recent years I've been going more on rollercoasters than before. Loving them more and more, and I know which ones I absolutely don't like!
Also love that themeparks have so many different styles close to each other. Some pictures attached!
How is #Ubuntu nowadays? Thinking of dual booting to Linux again, but the last time I worked with it, Wayland was new and I couldn't even screenshare windows with it.
Are there any developers who have nailed using the Windows keymap for #PHPStorm on Mac?
I'm used to Windows, but my work laptop is a Mac. I'm using the XWin keymap which fixes some things, but of course all the shortcut hints are still in 'Mac language', so I have no clue what to type when I look one up.
While installing, it said it didn't detect another system. If there was one, select No. Then it asked me to select the drive with the system. Did that, installed.
I rebooted, still booted into Windows. No dualboot screen. Luckily I coul still boot into Windows.
I then checked my bios. In boot order, saw a Windows one + one with the drive name. Selected the one with the drive to check.
Now nothing will start and I can't even get into the bios anymore. Help?
If you used WorldEdit, this will likely replace that for you. It's way better, and it's closer to using 3d design software.
Their description: Axiom is an all-in-one tool for Minecraft editing. It merges the capabilities of 3D software with a sleek interface and an innovative toolset.
Recently I started on a #Vuejs project at my new job. I've only worked with #Angular before.
One thing I didn't like it first, turned out to be an unexpected strength. In Angular, each component has a separate template, typescript & sass file. In Vue.js this is all inside a single file! Ugly and hard to use I thought.
Instead, it's a blessing. When a component reaches 100-150 lines, it already feels like a large component. Any larger? Time to split it up. It helps keep code clean.
In my adventures about Time in Programming, and specifically #PHP, I always thought that timezones were part of the system files, not part of PHP itself.
This was wrong, as I found out while reading the timezone database mailinglist, where @derickr posted the following:
“I have just updated the tzdb for PHP, and one of our tests started failing”
I'm loving how deep the hole of 'time in programming' is.
I just started a plain typescript project, and was too lazy for a docker setup so I just installed Node with apt and went on my way.
I installed Typescript, that went fine, but when trying to use it it gave a vague error.
Quick search fixed it, but... I'm amazed by the cause: Typescript didn't support the version of Node I had installed, which sure.. That's okay. But why didn't NPM tell me this? NPM does not have node version constraints?!?
Build The Lanes, a YouTube channel about Dutch infrastructure, made a video about the worst intersection in The Netherlands: The Keizer Karelplein. The place where I got my driving lessons.
@CommanderRoot
Hey. I'm wondering if you could either help reach a Twitch dev, or maybe know if more people have this.
Friend without Mastodon, MooseRef, has a channel and it's impossible to create clips there for everyone. ( https://www.twitch.tv/mooseref ). It just bugs out everytime. It fetches a 'ClipRawMedia' from the graphql api and that stays stuck on 'CREATING'.
I wonder if you know about this issue, or know how to get this to reach a dev, since regular twitch support isn't great for this.