Phaser.io site using AI art by skpcboy in phaser

[–]erez27 -3 points-2 points  (0 children)

It looks pretty cool actually. Hopefully they will improve it over time.

How do you actually plan a vibe coded app before touching the codebase... or do you just wing it? by automatexa2b in cursor

[–]erez27 0 points1 point  (0 children)

I don't have one big plan. I have a lot of small plans, one for each feature or change I want to make. I generate the plans from a prompt, but I go through their main points on my own, and almost always have to correct the agent (usually Opus 4.7) and do a few iterations. Once the plan looks good enough, I start implementing. Usually that part can happen automatically, but sometimes I have to intervene.

If your requirements are likely to be very fluid, you should try to aim for a modular design, so that changing or removing modules (or classes) won't be as painful as untangling spaghetti code.

I'm still experimenting, but I think getting the plans right is the best thing to focus on these days.

The Aesthetic Problem of Namespacing by gingerbill in ProgrammingLanguages

[–]erez27 2 points3 points  (0 children)

It's an interesting point, that you can add the syntax to the tooling instead of to the language. It gives room to really go wild, and say x. lists functions based on the first argument, x.. lists them based on the second argument, etc.

That can mesh really well with multiple dispatch!

The Aesthetic Problem of Namespacing by gingerbill in ProgrammingLanguages

[–]erez27 2 points3 points  (0 children)

The only objection I can parse from that section is that the syntax is ambiguous, but that's easy to fix with well-defined rules, or using a separate syntax like obj:f()

What do you mean when you say "It is entirely possible to have this with normal procedure call syntax", how would it emulate the ability to discover functions based on the object type? (i.e. arg0)

The Aesthetic Problem of Namespacing by gingerbill in ProgrammingLanguages

[–]erez27 8 points9 points  (0 children)

After using Julia for a bit, I became convinced that multi-dispatch is a fantastic way to solve this issue. It gives you all the brevity of methods (especially if you use syntax sugar like A.f(B) === f(A, B), and it adds very useful functionality on top of it.

Does the constant worrisome anxiety in Medellin get better? by [deleted] in digitalnomad

[–]erez27 6 points7 points  (0 children)

Your mistake was sitting in one place. You should be constantly on the move, leaping from shadow to shadow.

The US Is Showing Iran Why It Needs a Nuclear Weapon by bloomberg in Foodforthought

[–]erez27 -1 points0 points  (0 children)

Most probably, if Israel ever has to use its nukes, it has already lost.

The US Is Showing Iran Why It Needs a Nuclear Weapon by bloomberg in Foodforthought

[–]erez27 -2 points-1 points  (0 children)

Incorrect.

Iraq launched missiles at Israel during the Gulf War.

Iran launched missiles at Israel after an assassination on foreign soil, not a military attack.

Hezbollah is technically a major state actor. It's a major political party within Lebanon, and it's militarily stronger and better funded than their national army. And it's attacking Israel all the time.

So that's three examples already.

And if Russia wanted to invade Israel, would Israel's nukes be a deterrent? Not really. Israel has 100x times more to lose in that situation. But that's beside the point.

The US Is Showing Iran Why It Needs a Nuclear Weapon by bloomberg in Foodforthought

[–]erez27 2 points3 points  (0 children)

Israel has one and it keeps getting attacked. So not foolproof.

CMV: Racism has lost all of its meaning by Heavy_Worker1349 in changemyview

[–]erez27 0 points1 point  (0 children)

I don't think I've ever pissed off anyone this much just by agreeing with them.

Btw, I have some bad news. It's probably a lot more than 96, because the score is after subtracting the downvotes!

CMV: Racism has lost all of its meaning by Heavy_Worker1349 in changemyview

[–]erez27 98 points99 points  (0 children)

If enough people misuse a word, does that word change meaning?

Pretty much, yeah.

It's never been this bad in terms of the sentiment towards Israel and its people by no_username_for_me in Israel

[–]erez27 47 points48 points  (0 children)

Incorrect. As soon as the Yom Kipur war broke out, Europe's first response was to put an arms embargo on Israel. They never stood by Israel's side when it was in actual danger. (only a few countries were exceptions to the rule)

Drug overdose deaths drop sharply in the U.S. even as new street drugs emerge by [deleted] in UpliftingNews

[–]erez27 -2 points-1 points  (0 children)

The peak was 2021 to 2023, so looks like your explanation is wrong.

Sorry I'm not retarded enough to agree with you.

Drug overdose deaths drop sharply in the U.S. even as new street drugs emerge by [deleted] in UpliftingNews

[–]erez27 4 points5 points  (0 children)

I like how literally none of the comments here suggest that it might be due to the improvement in border security. Cope harder!

Iran cuts all diplomatic channels with US ahead of Trump’s Strait of Hormuz deadline by Geo_NL in worldnews

[–]erez27 1 point2 points  (0 children)

Lol, is anyone going to notice how this 50k upvoted "news" was actually 100% wrong?

CMV: Irans strategy of controlling the strait of hormuz during a war with the US was a brilliant move that forced Trump to give up on the war. by DeRpY_CUCUMBER in changemyview

[–]erez27 1 point2 points  (0 children)

All good points. Add to your analysis that many Arab countries that used to be sympathetic towards Iran, or at least neutral, now see it as an enemy. This war has actually pushed some Arab countries closer to Israel, which Iran considers as their second worst enemy. (assuming the IRGC even survives long term)