samus7070

@samus7070@programming.dev
0 Post – 54 Comments
Joined 1 years ago

iOS Swift developer with an unhealthy amount of Android and Flutter thrown in. Cycling enthusiast. Admirer of TTRPGs, sometimes a player, often times a GM.

The real crime is marketing the driver assist capability under the name autopilot when it is anything but that.

49 more...

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.

3 more...

People laughed their assess off at Bill Gates’s epic failed demo of usb on windows 95. Live on stage he plugged in a peripheral and the machine blue screened. No way in hell would Jobs have taken that risk.

In my experience a PIP is just a nice way to say it’s not working out, go ahead and start looking elsewhere, you can stay on a while longer until you do find something else. With all of the tech layoffs over the last 18 months, they might as well just dispense with PIPs too.

10 more...

In Ohio we refer to him as Gym Jordan because of his role in squashing a major sex abuse scandal of OSU athletes. The man was no good even before he jumped on the Trump train.

Claims top 5 and offers zero evidence and very little content beyond what an LLM might write.

The facts are that large companies rarely innovate anything major. They tend to buy up smaller companies that have taken the risk and succeeded. Look at Google and Microsoft and tons of others. It’s a problem with growing big. The forces that make a company a successful scrappy little startup die out in the name of organizational efficiency. If you want to know what Apple innovated you have to look at what they did in the 70s or extend your criteria to companies they have bought.

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.

Find a job you love and you’ll never work another day in your life. I believe that was Churchill.

I enjoy the line of work I’m in. I don’t always enjoy the companies that I do it in. Some are much better than others. It’s fine to like or even love where you work as long as you realize that you’re in what could easily become an abusive relationship at any time. Do your time and do it well but don’t go out of your way to do it. That’s what I strive for.

4 more...

The back gesture is fine until it takes me out of an app. I hate that. Sometimes I trigger it unintentionally because I’m trying to swipe in an app but the system picks it up instead.

There’s a thought that most of them are running for the vp spot. If Trump wins he’ll only be able to serve one term. Whoever is the vp has an advantage in 2028.

5 more...

This may vary by state but generally speaking, the assets and debts of a marriage are divided equally. This includes retirement accounts and pensions. I’m not 100% on what happens to social security benefits. The rest are definitely to be divided equally. Neither spouse can horde it all. Loss of earnings potential due to one spouse raising a family is definitely a reason for alimony. In my state, OH, it isn’t strictly required but is customary based on number of years married. It is a finite time. When I first heard about this practice from a guy in Virginia he told me how his ex wife just lived with another man rather than marrying him because he made a lot of money and marrying the new guy would significantly impact her income.

If you’re following agile it is important for a team to agree on a definition of done for a story. If you don’t have one ask the scrum master to start that conversation or bring it up in a retro. One of the things that everyone can usually agree on is that the tests pass. Throw in a minimal coverage threshold as well. It’s not an indicator of good tests but it will tell you when there isn’t enough.

You mentioned that you’re doing this work for a client and that they will take over the code. Verify with management (in your company) if there are any quality measures specified in the contract. You don’t want your guy not performing up to the client’s expectations and you having to put in a lot of last minute nights and weekends to get there.

The only things JSON has over xml is that it’s easier to write a parser for it and the format is less verbose and less complicated. There are extensions to JSON that can add features that xml has and the JSON spec doesn’t have. Overall the xml spec is bigger and has more features but that also makes it overkill for many of the cases that it would be used in.

Story wise they didn’t leave much room for a sequel. It gets wrapped up nicely at the end. I didn’t play any of the DLC but the impression that I got was that a lot of possible sequel material was covered in them. The game was really good and definitely worth picking up on a sale price. It will give BotW vibes but don’t think of it as a clone. It’s got a good story and a nice little twist at the end. The boss fights were a joy if not painful at times. The puzzles were mostly good and not too obtuse. I think I had to use Google on a few of them. It is annoying with the extra clothing and style purchases that the game tries to get you to spend real money for. It tarnished an otherwise good game.

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.

It was originally meant as a better JavaScript and it was. It failed when none of the other browsers expressed interest in supporting it. It languished for a while and then was taken up by the Flutter team. At the time Flutter took it up it was somewhere around the level of Java 8 in features but not quite on par. Since then it’s seen some massive improvements to the type system and language. It’s completely null sound, not just null safe like Kotlin. It recently got records/tuples and one of the more capable pattern matching syntaxes I’ve ever seen in a functional imperative hybrid language. The next stable version of dart will introduce a compiler macro system that is very promising. The syntax isn’t always the prettiest due to it trying to not totally break old code. I do think that it offers a wide range of modern language features that competes heavily with Swift and Kotlin in the mobile space.

That’s already happening. What’s more is that training an llm on llm generated content degrades the llm for some reason. It’s becoming a mess.

There is a school of thought that break and continue are just goto in disguise. It helps that these two are more limited in scope than goto and can be considered less evil. If you read the book Clean Code by Robert Martin (it should be required reading for all developers), you’ll see that he doesn’t like functions to be very long. I think his rule is no more than 4 lines. I try to keep mine around 10 or less with a hard stop at 20 unless it can’t be avoided because I’m switching over a large enum or something. If you put your loops into functions then you can just use return instead of break.

I did have a discussion with a teacher once about my use of early returns. This was when I had returned to school after many years as a professional programmer. I pointed out that my code has far less indentation than theirs and was simpler because of it and that it is common in the world outside of education. I got all of my points back he has deducted.

You’re going to hear some good and bad advice from your teachers. Once you have a job check out what the good developers are doing and just follow them.

8 more...

Have you ever driven through a small town and seen a police car sitting right where the speed limit drops? Those tickets and the kangaroo mayor’s courts are the only reason some of those towns are still alive.

They tried like hell to keep it off of the ballot in Ohio because they were afraid of what did happen. I can’t say if all of the dirty politics influenced people who were unsure how to vote in the opposite direction the GOP intended. Statistically speaking the final vote wasn’t even close. That is what they fear.

That back gesture on android is a system level gesture. On iOS it is an app level thing. If it doesn’t work it’s because the app developer was lazy when they made their own custom navigation controller. File bugs and leave low rating reviews.

I would argue that Biden can say and do plenty of crazy things as long as he never goes full Trump.

I’ve never been a big fan of transpiled languages. I’ve looked at Nim a few times over the years and while it looks nice, I’ve never found it more compelling than other languages. Chances are there is at least one more not quite mainstream language that does something cool that will fit your usecase more and not be transpiled.

1 more...

That all seems reasonable. Thank you for the mod work.

The answer is always “laid off”. They don’t usually verify because the former employer will only verify that you worked there and your start and end date. They don’t want to open themselves up to slander lawsuits.

More like banking and finance. Many of them have shipped jobs out of New York and elsewhere to cities in the DFW area like Plano.

She’s in her thirties.

2 more...

The Ohio GOP ignores the Ohio Supreme Court at every turn. Our last election was under an unconstitutional gerrymandered district map designed to give them unfettered one party rule. People here speak about the dangers of China but neglect the dangers of the GOP.

True. I’m not an expert here but I always thought that fan fiction could only co-exist with copyrighted material if the author wasn’t benefiting financially from the derivative work. Someone else taking it and selling it seems like more a target for the rights holders of the original work.

Any program written for the .net clr ought to just run out of the box. There’s also an x64 to ARM translation layer that works much like Apple’s Rosetta. It will run the binary through a translation and execute that. I have one of the windows arm dev units. It works relatively well except on some games from my limited experience.

1 more...

Or it is just corporate greed. Samsung would love to position something that is just okay into a premium price tier and not have to pay Intel. Sure they’re going to pay Qualcomm instead but you can bet that Qualcomm is giving some great introductory prices to their early partners.

1 more...

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.

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.

While lua ships a standalone interpreter, it is very much designed to be embedded directly into an application. This is done by invoking some C apis to load the interpreter into the application’s memory space. OP wants to do that rather than invoking another process and reading the output. When embedding into a host, the host can provide its own objects to be manipulated by the user script allowing for a much better extensibility experience.

I’m all for it as long as the federal tax credit for fourteen children outweighs the storage costs. It’ll be nice to still claim that one when I’m in my nineties. /s in case it wasn’t clear.

IMO going from one programming language to another is the same level of abstraction regardless whether the target language is closer to the metal or not. If Nim compiled to assembly or some byte code, that is a lower level. I can’t say that I’ve ever wanted to do anything with the output of a transpiler aside from just send it on to the next stage. I’ve never seen any machine generated source code fit for human consumption. Even typescript produces a lot of boiler plate that would not be pleasant to try and maintain.

The logo is closer to do ith ub. It might summon an orcish demon patron if said with the right spell components.

It’s a highly opinionated book but it is full of good advice that in my opinion goes too far. Using a metaphor here, I think he wanted to get people to the moon but knew that he needed to give guidance to get to mars because people would look at whatever he wrote and think it’s too much.

The book has several chapters discussing the SOLID design principles and showing how to apply them. You’ll be a better programmer for reading it. “Uncle Bob” the person can be a bit problematic so I don’t particularly like telling people to give him money. Try getting the book from the library or a second hand store. There are also videos out there of him speaking at conferences that may give a good taste of the material. He has a blog too.

You should cite some of the other reasons rather than just saying they exist. For example administrative staffing costs have risen dramatically over the last few decades. The upper management of universities now make CEO like wages. Universities are competing on amenities more than they are academics. Nice housing and recreational complexes are the norm while full time professors are all being replaced by adjuncts who aren’t paid a living wage. The economics are broken.

3 more...