samus7070

joined 2 years ago
MODERATOR OF
[–] samus7070@programming.dev 2 points 2 years ago (1 children)

I used to work for a ttrpg company. A dice parser is not a small undertaking. You’re basically writing a calculator with an embedded random number generator. It’s fun but not an easy first project. My advice would be to keep it simple to start with and have your command interface (repl) just accept simple roll commands like roll dex and that handler knows how to make a dex roll. Simple roll commands like roll d6 are also easy to parse out with just a regex. Honestly, I think you would be better off writing a gui app and give it a retro hacker look than going with some type of terminal. Typing on phones is a pain vs tapping buttons.

[–] samus7070@programming.dev 4 points 2 years ago

Breaking change. It’s gone from plain text to a markdown formatted text (possibly). There’s changing an interface (obviously a breaking change) and then there’s changing the semantics of a function. I just dealt with a breaking change where a string error value changed for an account registration api call. Previously it returned EMAIL_IN_USE and now it returns EMAIL_TAKEN. Same data type but it broke the client code. Changing values or formats is a breaking change. In your case the documentation says don’t rely on this function for anything but once the output is in the wild any monkey can start using it for anything and it can’t be certain that some code documentation will be consulted before deciding to depend on it.

[–] samus7070@programming.dev 2 points 2 years ago

Another day and another article that reaffirms my choice to delete my accounts.

[–] samus7070@programming.dev 1 points 2 years ago

It's always fun when someone comes up with a new idea of how to write code and it is something smalltalk did in the 80s.

[–] samus7070@programming.dev 1 points 2 years ago

Didn’t all the people who have deleted their accounts since he took over free up enough storage already?

[–] samus7070@programming.dev 4 points 2 years ago

There was a time when at least once a month on that “other site”’s android channel that you would see a post about someone getting their account permanently banned. Sometimes it was because they made a spammy app while in high school or college but had turned over a new leaf and were using a new Google account. Sometimes it was a company who had employed someone who had been previously banned but only ever signed into the play console under a company email but probably also signed into their personal mail on the work machine. How true are the claims? I can’t say.

[–] samus7070@programming.dev 1 points 2 years ago (3 children)

I am willing to be a mod if needed.

[–] samus7070@programming.dev 1 points 2 years ago (1 children)

I was looking for a community like this when I first joined. I hope it catches on.

[–] samus7070@programming.dev 81 points 2 years ago (5 children)

I wish I could say that Google is better at that. It’s basically the same story but with even less humans to talk to when you’re flagged for doing something wrong or in the case of Google your former college roommate whom you haven’t seen in 10 years did something wrong. It’s the price all mobile devs pay unless they only want to distribute to a small subset of users who have liberated their phones.

[–] samus7070@programming.dev 8 points 2 years ago

The only reason I can think of is for more on device ai. LLMs like ChatGPT are extremely greedy when it comes down to RAM. There are some optimizations that squeeze them into a smaller memory footprint at the expense of accuracy/capability. Even some of the best phones out there today are barely capable of running a stripped down generative ai. When they do, the output is nowhere near as good as when it is run in an uncompressed mode on a server.

[–] samus7070@programming.dev 14 points 2 years ago

Gen Xer here, I’ve never seen a republican led federal government that ever actually acted fiscally conservative. Being fiscally conservative and small government has always meant cut social programs and cut taxes but never cut spending to one of the biggest cost centers in the government, the military. There’s nothing fiscally conservative about cutting taxes and ballooning the deficit. There’s nothing fiscally conservative about starting two wars and essentially putting them on credit cards. The American people only put up with them for so long because the only ones who had to sacrifice for them were those that died or came back maimed. If we had to pay for them with higher taxes instead of passing the bill to the next few generations, those wars would never have even happened.

[–] samus7070@programming.dev 1 points 2 years ago

They’re not technically wrong even if they are grossly misleading. Of course there isn’t anything like that on the November ballot. One day there could be. At least that’s what they want to scare people into believing. The reality is far from their narrative as usual. That doesn’t mean we don’t have a problem with outside money interfering with the political process here in Ohio. Sure, it happens more in the government (see the large recent bribery scandal). It also happens to our ballot initiatives. People collecting signatures for the two upcoming amendments aren’t necessarily volunteers and aren’t even always Ohioans. I found that out first hand when I asked the ones trying to get my signature. I still signed but it opened my eyes.

view more: ‹ prev next ›