News for hackers. Stuff that matters.

scambier

I recently installed https://www.neverclick.com/ (windows only), which also offers an "intelligent" mode that detects possible clickable zones
Quick request, if it's doable: would you mind making a portable version of this? We're super locked down on our machines (even as developers), and all programs that need to be installed need to be approved. Portable programs fly under the radar, so they're easier to try discreetly, then we can make an official request to get them approved or buy a license.

Edit: oh my, you also made Insomnia, that I used when Postman was on the enshittification path...

Recently released, Moonring and Balatro are both written in Lua, and I think both with LÖVE.
Is the UK still considered "European"?
AI image generation wasn't good enough in early 2022 to generate game assets. Yeah you could probably generate pokemon-like looking stuff, but it wouldn't be usable as-is in a game.

Edit: and even today. Generate textures for blocky assets? Sure. But full pokémon models that wouldn't need a ton of rework? Nope.

Re:Markov chains are funnier than LLMs on Monday August 19, 2024 @05:21AM (#41289331)
It's implied that GPT-4 has so many restrictions that will not argue and just do what is asked. In the context of the joke, an unfiltered LLM will just debate you.
Re:Why my code isn't in TypeScript on Friday February 23, 2024 @09:50AM (#39481213)
I've been writing TypeScript for at least 6 years now, and I couldn't go back to JavaScript. I understand the arguments of those who don't like it, but ultimately they all boil down to either "writing types is tedious" or "I know better than the compiler".

> I spend more time trying to resolve TypeScript complaints than I do adding code

Those complaints from the compiler are the main feature of any statically typed language! In TypeScript, they're here to tell you that something is potentially wrong with your code, and it might break in runtime.

"I spend more time trying to resolve [typing errors] than I do adding code" is something you'll hear from anyone that is not used to statically typed languages. _Any_ language, not just TypeScript. And it's an issue that quickly goes away by itself once you learn the language.

> Our team has lost hours on TypeScript exceptions in staging and production builds (but oddly not offline/local) where some external type was missing or incompatible, another one being that the local environment passes linting but CI doesn't, it shouldn't be so hard

That one is probably a simple configuration issue, not TypeScript's fault.

> Having to rewrite correctly and infallible JavaScript so that it was friendly enough for TypeScript to understand

This one I can get behind, but I'd put it in the same bag as the first point. I'm sometimes tempted to use things like non-null assertions (like in the example with the .filter().map()) but I'd say that 99.9% of the time the compiler is right, and it's safer to right one more line than a `!`. But you don't do it to make TypeScript happy, you do it to rule out a potential edge case, and avoid a runtime crash.

Re:WebGPU – All of the cores, none of the canvas on Monday July 17, 2023 @07:08AM (#36756525)
> (mind putting a publish date on these articles?)

Off-topic, but please PLEASE put the publish date on your (technical) articles. When I'm looking for documentation and open an article without a publish date, I almost always discard it immediately. I'm not going to risk wasting my time learning outdated knowledge.

Re:Bevy 0.11: ECS-driven game engine built in Rust on Sunday July 09, 2023 @04:47PM (#36658717)
I find the bevy-ecs 0.10 already cleaned a lot of cruft and improved DX.
Re:Reddit.com appears to be having an outage on Monday June 12, 2023 @10:48AM (#36294494)
Better to break it entirely than to show the blackout, I guess.
"they have that right because it's in their TOS" == "they have that right because they so"
The answers from SO users on that last thread show how much they lack self-awareness. Nowadays the only way I end up on SO is through a google link, I 100% consider it a read-only site.
Look, someone asked the same question 12 years ago, just install jQuery and copy-paste the answer, ok?
You can't really just scrap the html of a a single-page app, or with a reasonable delay to make your app usable
Re:The UK’s tortured attempt to remake the internet on Friday May 05, 2023 @06:48AM (#35827572)
If beauty was the only metric of attractiveness or likeability, sure. Except that incels are not celibate because they're ugly, they're celibate because they're convinced that women don't want them because of their looks. That thinking makes them entitled people with an overall terrible personality. That's why they can't get laid.
Re:The UK’s tortured attempt to remake the internet on Thursday May 04, 2023 @04:47PM (#35821833)
https://en.wikipedia.org/wiki/Incel

The first paragraph speaks for itself. The whole "involuntary" part of "incel" implies that your celibacy - the fact that people don't want you as a partner - is totally out of your control. Incels are the epitome of "nice guys".

I got mine 2 months ago, and had to send it for RMA this week (one of the speakers is busted).

Though I really like it, the finishes are really not great compared to a Nintendo Switch. The plastic feels cheap, the case creaks a bit, one of the triggers squeaks, the buttons clicks are super loud, and well, a speaker broke. There are also a few small software issues that are definitely not deal-breakers, but quickly add up as annoyances.

I still find it's a good device, it does what I expected it to do (sometimes even better), but for the price, I expected something a bit more robust.

Re:Mastodon Hit 10M Users on Monday March 20, 2023 @10:15AM (#35231809)
Hashtags are the main way to find topics on Mastodon.
Re:Transformers.js on Friday March 17, 2023 @05:50AM (#35195031)
I understand there's reasons the translation is incorrect, but if the very first example you're showing on the page is wrong, most people (who are fluent enough) will just roll their eyes and leave it at that. Maybe showcase an example that works?
You seem knowledgeable about TypeScript, so you certainly very well understand what people mean by "types are not available at runtime". Once your typescript is compiled to javascript, there's nothing left of your user-defined types and interfaces. Type guards are a security that is very much a workaround for the lack of types at runtime.
But, really, the answer to that question is "no". The illusion simply doesn't work if you have two eyes and depth perception. That's why the 3DS needs to have a stereoscopic screen on top of eye tracking, or why VR headsets have 2 screens.
Re:Why 111-1111111 is a valid Windows 95 key on Monday February 27, 2023 @02:54AM (#34954084)
I get why some chars aren't used, but why the N and U?
Re:WebKit Supports Nested CSS on Thursday February 16, 2023 @02:27AM (#34816016)
"For a Linux user, you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem. From Windows or Mac, this FTP account could be accessed through built-in software."
Re:Is TypeScript actually worth It? on Friday January 13, 2023 @04:23AM (#34365596)
> If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it.

I have several frontend side projects and they all use TypeScript. The static types makes it way easier to write & refactor even if you're working alone. I have also more confidence in my code and spend less time following JS trails to track stupid runtime bugs. Older projects are easier to pick up again.

Any project that goes beyond a few trivial files will benefit from Typescript.

Re:Architecture diagrams should be code on Thursday January 12, 2023 @02:36AM (#34350341)
> If you tell someone youre an architect

Context is key, it depends on who that someone is.

Re:Dwarf Fortress has sold half a million copies on Friday January 06, 2023 @03:04PM (#34280221)
Ah I see, that makes sense to build stairs in a shape of, huh, stairs. Thanks for that explanation :)
Re:Dwarf Fortress has sold half a million copies on Friday January 06, 2023 @01:51PM (#34279114)
There are stairs that only go up or down?...
Re:I'm Done with Google on Tuesday December 27, 2022 @03:13AM (#34146472)
"Piracy is a service problem" means that most people pirate because they don't have access (or difficult access) to the product/service they want. They would gladly pay for it, but they can't, or can't be hassled to.

I don't know if it's been backed up by real data, but services like Steam and Spotify tend to confirm this intuition.

That's definitely a bias. Lots of people use Obsidian or other solutions, and most of those people don't write about it.
Re:Atom Was Archived Today on Friday December 16, 2022 @03:28AM (#34012198)
Typescript is compiled away. There are certainly issues with VSCode, but TS isn't one of them.

Older »