HNHacker News
TopNewBestAskShowJobs

JuanPosadas

93 karma · joined May 20, 2022

submissionscomments
JuanPosadas··on An Uneasy Propaganda Alliance
> The left used to march to stop nuclear war

#NotAllLeftists

JuanPosadas··on The Future of Computer Wargaming (1981)
Battleship lacks most other elements that make a good war game interesting.
JuanPosadas··on Linux interop is maturing fast thanks to a games console
I feel like if there was some way to backport whatever useful things are in windows 11 (and/or windows 8/10/11+ exclusive games somehow detect their expected OS via polyfills) it would be something I might actually pay for.

Or at least someone should upload a no-BS win11 ISO somewhere.

JuanPosadas··on F-35A has flown from a highway for the first time
> Never trust a Russian officer

Doesn't seem like a good story to backup this "lesson". What would happen if you showed a US Officer a (possibly missing) US Fighter jet in a hanger? Never trust a US Officer?

JuanPosadas··on The elderly are becoming homeless at a rate not seen since the Great Depression
> Yes, the "secret capitalists hiding in the woodpile" theory of why communism sucks.

Are you saying the United States is secretly ran by communists, and that there is a conspiracy theory that those secret communists are secretly ran by secret capitalists?

JuanPosadas··on TypeScript NPM Packages Done Right
> enums flawed

I like Typescript enums generally, my only complaint is that they are kept in the final build as big objects, especially in the scenario where you don't enumerate them. I use a replace function with terser to replace them with inlined constants to make my fine build smaller.

JuanPosadas··on The AI revolution is rotten to the core [video]
Not if AI steals your job, then your backup job, then everyone's plan C has 1000x more applicants than openings, then rent doubles again, you can't afford art supplies, but you can watch YouTube videos of other people doing art (with ads) and ChatGPT can tell anything you want about art supplies you'll never be able to afford again.
JuanPosadas··on Ethereum founder on U.S. crypto crackdown
None of those are usecases, they're just random products that use "crypto" for no discernable reason.
JuanPosadas··on Article reply “Godot is not the new Unity” from Juan Linietsky (BDFL of Godot)
> raycasts getting fired every frame

Also don't need to do this every frame, do X% each tick (not frames literally), rotating which objects get their checks.

JuanPosadas··on ‘Game of Thrones’ creator and other authors sue ChatGPT-maker OpenAI
I don't think it scales when 99% of us get laid off and we all have the same plan B.
JuanPosadas··on Show HN: Booklet – Async forums as an alternative to chat
I guess endless frustration and wandering is engagement.
JuanPosadas··on Svelte 5: Runes
I have a sapper (pre-sveltekit) project from 2019 that doesn't build. I needed to make a tiny update and neither my current computer nor my previously configured netlify autodeploy can produce a build that works. I have no idea, my first guess was that one of the sapper people didn't pin the version of an important dependency, but the project was simple enough that I just wrote a new one from scratch.
JuanPosadas··on OSS Game Engines are increasing their stars on GitHub due to Unity's missteps
GDScript is much faster in Godot 4.
JuanPosadas··on Bard can now connect to your Google Apps and services
There already available in GCP under Vertex AI, there are a lot of APIs/models.
JuanPosadas··on Xi’s Security Obsession Turns Ordinary Citizens into Spy Hunters
> Are things like this happening in the West?

Isn't there something about abortion snitching in Texas?

JuanPosadas··on Demo of megatextures running on n64 hardware
For the disk limit, what about procedurally generated textures?
JuanPosadas··on Bernie Sanders: workers should reap AI benefits in form of ‘lowering workweek'
You can already work 100 hrs of you want, then you can 10 big holidays. He didn't propose to illegalize overtime.
JuanPosadas··on Bernie Sanders: workers should reap AI benefits in form of ‘lowering workweek'
The American would be the hare in this story.
JuanPosadas··on Unity's Trap
Extremely valid question. Most devs should not attempt making their own engine. But 2 caveats:

- learning is also fun

- Most engines (by force or by available tutorials and docs) railroad the end user into some specific genres (in my experience: side scroller, FPS). If you wander too far away and understand the risk/complexity, it might be worth considering.

JuanPosadas··on iPhone 15 on the big screen (via USB-C DisplayPort)
Is this feature competitive with Samsung Dex/Android Desktop?
JuanPosadas··on Lodash just declared issue bankruptcy and closed every issue and open PR
I think it would be cool if any user could add bounties to any issues and the maintainers could sort by highest bounty and then complete those first.
JuanPosadas··on Lodash just declared issue bankruptcy and closed every issue and open PR
I wish some of you-might-not-need-lodash websites would include the approximate file size savings with each featured function. Some of them can be 5kb for a single function.
JuanPosadas··on Lodash just declared issue bankruptcy and closed every issue and open PR
IME there was a fad (that thankfully never picked up) where people were talking about making giant unreable piles of curry functions and calling it finally, some good functional js.

They looked like write-only code to me and at high-risk of assaulting the GC (aka slower than lodash).

JuanPosadas··on Lodash just declared issue bankruptcy and closed every issue and open PR
Why don't they just use the maintainer-never-looks-at-bugs + autoclose-for-inactivity-30-days like all the civilized repos?
JuanPosadas··on Lodash just declared issue bankruptcy and closed every issue and open PR
I'm probably on the mild side of abusing it, I've never seen another developer on my team use it, but I also include self-describing variables for the values. If the reducer function itself is non-trivial, I've give it a name so the final product may look like:

    const idNameMap = itemList.reduce(toIdNameMap)
It should be intuitive that itemList is a list of objects familiar to the context of the code, and the result will be like:

    [{"id1":"Billy"}, etc.
JuanPosadas··on Unity’s new pricing: A wake-up call on the importance of open source
IANAL. In US contract law, a contract that includes a clause allowing one party to unilaterally change the terms at any time may still be enforceable, but there are limitations. Such clauses are often subject to scrutiny and may be challenged if they are deemed unfair, unconscionable, or against public policy. Courts may consider factors like the balance of power between the parties, the clarity of the clause, and whether there was mutual assent to the changes.

I'm not familiar with the specifics of Unity's usual contracts, but this is the kind of thing that a court might not take Unity's side on.

JuanPosadas··on Webhook Failure Scenarios
FWIW I wrote a program that used webhooks and RSS feeds and needed to prefix both with their direction, I ended up choosing inbound/outbound.
JuanPosadas··on Webhook Failure Scenarios
Simple: cron job, one per minute, check for recently created (and/or updated) entries.
JuanPosadas··on Carrefour puts ‘shrinkflation’ price warnings on food to shame brands
They could go by whichever the product itself shows most prominently, or require both units if 2 units are shown.
JuanPosadas··on Carrefour puts ‘shrinkflation’ price warnings on food to shame brands
At my Kroger, almost half the times I try to compare unit price bergen two products, the units are different (e.g. $/oz or $/lb or $/g). And these are always products right next to each other on the shelf.
Page 1 of 5Next →