News for hackers. Stuff that matters.

leddt

Re:RegEx Crossword on Sunday November 02, 2025 @11:30AM (#45791462)
That was pretty hard! It took me a bit over 2 hours. It took me a long time to get started, it felt impossible. But I found a lot of satisfying "ah ah!" moments that kept me going.

Really well done, but now I don't ever want to do one of these again.

Re:I Don't Have Spotify on Tuesday November 12, 2024 @07:53AM (#42115114)
Absolutely!
Re:I Don't Have Spotify on Monday November 11, 2024 @10:16PM (#42112467)
Exactly! Their docs are here: https://linktree.notion.site/API-d0ebe08a5e304a55928405eb682...

It has a 10 request per minute rate limit, but no api key needed, so each user runs their own queries.

Re:I Don't Have Spotify on Monday November 11, 2024 @10:15PM (#42112458)
No, sorry. The code should be pretty easy to port, if you want to give it a go.

https://github.com/leddt/music-link

Re:I Don't Have Spotify on Monday November 11, 2024 @07:41PM (#42111790)
I made a very simple chrome extension that automatically redirects you to your preferred music service when visiting another service. In my case I have it set to YouTube Music, so if I click a Spotify (or other) link in Slack, I'll be redirected to YouTube Music.

https://chromewebstore.google.com/detail/music-link/gnhphofp...

Re:Amazon.com product pages are down on Sunday July 11, 2021 @11:49PM (#27806805)
More likely millions per hour. But even then it's not like all those sales will be lost. Most people will probably just come back later to make their purchase.
Looks like the benchmark was cpu bound, so I doubt going to an even lower resolution would help much.
You can see on the photo at the top that they were running at 1280x720. As for graphics settings I would guess minimum.

Edit: seems mobile and desktop have a different crop of that image. Here is the image that shows 720: https://images.ctfassets.net/rporu91m20dc/1XYHhlYZzNI1NxRRJl...

Re:Factorio 1.0 on Friday August 14, 2020 @09:53AM (#24157949)
Having played both, my opinion is that they are very different games. Satisfactory is much simpler in its mechanics.

Factorio is built on a custom engine and heavily optimized. I doubt you can build a factorio-style mega base in satisfactory and keep things performant.

Factorio has procedural map generation, enemies that build bases and attack you, blueprints, construction and logistics robots, logic circuits, incredible mod support, and you can play with dozens of people in multiplayer and things stay performant and enjoyable.

In the the two games chose a very different development cycle. Factorio released early and often and listened to their community by adding and changing what players were asking for. Satisfactory first released a game that was pretty close to finished, and released, so far, very few updates.

I will say that I enjoy both games, but for different reasons.

Actually, I'm pretty sure those are generated by a neural net. There are clear artifacts on the images that give it away. Maybe the author experimented with different source material before going for abstract paintings.
Re:Bootstrap 5 alpha on Tuesday June 16, 2020 @05:10PM (#23544153)
That's one definition. Another valid definition of a framework would be something that is a fundamental part of your project, or something you build upon, whereas a library would be something that you use to enhance a particular part of a project. Bootstrap would seem to fit that definition in most cases.
The difference with PCs is that since the hardware is standard, developers can now create gameplay that depends on those capabilities.

Until all (or most) PCs are equiped with high performance NVMe SSDs, those kind of features won't be possible other than on consoles.

Also, the PS5's architecture is optimized end-to-end for faster loading times, it's more than just faster storage.

Re:Godot Editor running in a web browser on Friday May 29, 2020 @05:00PM (#23355499)
Depends on what packages you install, but my VS 2019 install folder is 2.5GB.
Re:Pointermove event latency in web browsers on Sunday April 26, 2020 @09:32AM (#22987015)
I have had a similar experience when first using a 144hz display. I was amazed how responsive the mouse was. How "in control" I felt.

Then, going back to a 60hz display, I couldn't NOT see the gaps left by the cursor's movement. I had never before seen this as a problem, but seeing something better ruined 60hz for me.

I'm French Canadian and I usually avoid the space before those characters because they have a tendency to wrap on a new line by themselves. You are supposed to use non breaking spaces but most tools won't do it automatically, and they are not trivial to type.
Re:Understand JWT in 3 Minutes on Monday November 25, 2019 @01:16PM (#21631042)
Since the refresh-token is single-use, the user will be logged out when trying to refresh their own token, and will presumably then login again, which should invalidate the attacker's refresh token.

But I agree it's not a perfect system. This is meant to specifically address the problems of long-lived tokens, since JWTs are hard to revoke without checking a blacklist on the server-side.

The main problem is that localStorage is more vulnerable to some classes of attacks than secure, http-only cookies.

Re:Understand JWT in 3 Minutes on Monday November 25, 2019 @12:31PM (#21630517)
In our app the JWTs have a 5m lifetime. When a JWT is generated we also generate a single-use refresh token.

When a client tries to use an expired JWT the request fails, and the client will then exchange the refresh token for a new JWT/refresh token pair, and finally retry the request with the new token.

The refresh operation can reject the request if the user has been deactivated (it's basically a new login request, using the expired JWT as the username and the single-use token as the password).

Re:Amazon EKS Windows Container Support Now Generally Available on Wednesday October 09, 2019 @12:42PM (#21204913)
Windows Server (Standard and Datacenter editions) licenses include permissions to run unlimited windows containers on top of them. So you would only need to pay for the licenses of your hosts.

https://www.microsoft.com/en-us/licensing/product-licensing/...

Re:Is this Paypal experience customary? on Friday July 05, 2019 @11:23AM (#20363197)
A passphrase can easily exceed 20 characters and be memorable. They are usually considered a good security practice for people not familiar with (or not willing to use) password managers.
Re:Ray Tracing with Metal [video] on Sunday June 16, 2019 @10:49AM (#20195718)
Vulkan runs on Windows.
Re:Gaming worth more than video and music combined on Thursday January 03, 2019 @01:00PM (#18817305)
I have not played the game, so this is only from what I've read [0], but it is my understanding that they designed a progression system that strongly pushes people to pay. Also, while not strictly "loot boxes", you are still able to indirectly pay for random items because the drops are linked to level progression, which can be sped up with micro-transactions.

[0] https://kotaku.com/the-free-gear-in-black-ops-4-is-an-unforg...

Re:Gaming worth more than video and music combined on Thursday January 03, 2019 @12:42PM (#18817098)
Aren't many consoles sold at or near (or even below) cost, on the assumption that software sales will make up for it? Also, how would a console sold by Sony or Microsoft subsidize in any way a game sold by a third party publisher?
Re:Facebook’s GraphQL gets its own open-source foundation on Tuesday November 06, 2018 @08:16PM (#18396412)
DataLoader
Re:Facebook Network Breach Impacts Up to 50M Users on Friday September 28, 2018 @02:42PM (#18095895)
I'm guessing they invalidated all access tokens for accounts that have been used as "View As" targets since the issue was introduced.

They also disabled "View As" which is the actual fix for the time being.

Looks like the code for IsPassword [1] checks for the presence of a number + a special character. If the text contains a space, or is longer than 16 characters, it is not considered a password.

[1] https://github.com/oormicreations/ClipboardPlus/blob/master/...

Re:Keybase Exploding Messages on Wednesday June 20, 2018 @02:55PM (#17358532)
Did you see the hidden message? I'm not sure what it means. (Treasure at the root of esabyeK)
Re:Behind the Tech with John Carmack: 5k Immersive Video on Tuesday June 19, 2018 @01:58PM (#17348886)
Buying a 144Hz display was both a great and horrible decision for me. Great because games at 144Hz feel extremely smooth. Horrible because now I can't enjoy 60Hz.
I love the morning brew but it has gone down in quality over the years. There used to be a short summary of every link but these days it is just a list of links.

I still check it every day but I find that I click through less and less of the links.

You gotta respect Chris though for keeping it going for over 11 years now!!

Do you happen to know if watching the movie with a VR setup on a virtual big screen could replicate that experience?
Re:The dots do matter: how to scam a Gmail user on Saturday April 07, 2018 @04:44PM (#16782844)
I don't see the scam here. If you have to go through password reset to get into the account and update the CC number, then the would be scammer does not have access to that account anymore (assuming Netflix logs you out of other devices when you change your password).

Sure, you end up paying for an account you don't use, but nobody gains from that (other than netflix). It certainly is an issue that can easily be fixed by netflix validating email addresses, but I don't see any incentive for scammers abusing it.

Older »