• 0 Posts
  • 58 Comments
Joined 1Y ago
cake
Cake day: Jun 28, 2023

help-circle
rss

I prefer the multi thread problems that can be solved using queues.


Rational Rose etc. could generate code from UML diagrams, then you “only” needed architects.

In reality it only gave a little help during the design phase, as soon as someone touches the generated code, you have to manually merge changes to UML.


They look like some teenager were too eager with the slider during character creation.



That’s easy you just use the huge number of test cases to ensure against introducing new bugs.

/S


I was looking into learning COBOL some years ago, because i found that verbosity interesting.

And it seemed like there’s not many libs and toolboxes out there, compared to the major languages that has libs for everything, so I couldn’t really use it for small projects.


I hope it’s patented so we can just avoid Logitech.


They want the best con artists.

40 years in the field you say, and how old are you?


Editing grub.cfg from an emergency console, or running grub-update from a chroot is a close second.

Adding the right Modeline to xorg.conf seemed more like magic when it worked. 🧙🏼



Could be I was not clear when I wrote performance, I am talking about High Performance Computing, where you want to spend all CPU cycles on solving your problem. While taking Amdal’s Law into account. https://en.wikipedia.org/wiki/Amdahl’s_law


🤦🏽‍♀️ Thanks for explaining, my brain must have corrected the race condition.

Regarding threads: I have had good experience with using thread safe queues everywhere to exchange data between threads, it’s the right tool in many cases, but I doubt queues to be useful when coding for performance.



If the AI can design and build a bridge in two days, the AI should also be able to secure the finances in a day!


Until they find out that the way to descriptive variables or functions needs to be extended with new business logic requiring renaming of functions again and again.

I think maintaining code with this level of verbose naming, will be a pain over time. If they don’t let the naming slip, and then they could as well use cryptic 3 letter names.


Ah I see now that I mixed it up with classless functions in a header.


Yep, first thing that comes to mind is that header only classes need to use inline functions.


Then you open the core file with GDB and hope the stack is not smashed.



All those closings and new launches also helps with reducing that pesky user base, get burnt a few times by Google and Microsoft looks much better.


First of all if you solve problems that means you know enough of the subject to reason out the solution, it may not be perfect but very few solutions are.

I have been working on legacy code and maintaining old c++ code for a decade (200.000 loc) and most of the time I had to spend days debugging and reading code just to understand enough to get a possible solution, and then I still end up writing a solution that breaks in a different corner case that I never could have imagined.

So yes most of the time you feel like you don’t know anything, but over time you end up knowing a lot of how that codebase works. And after two years you must have picked up something about what you are working on.

Then you have those programming language genius colleagues, that know all the tips and tricks of a language, I use them to get ideas on solutions, because they always have an opinion on what is the “right” way of doing stuff.

That’s just my 2 cents.


Reminds me of my lottery number randomizer in VB 3.0 I calculated 10 rows and checked each input box against the others without any loops, and then each row was just copy pasted. 🤦


I meant to write 3.5" floppy drives, and yes the 3.5" and 2.5" form factors are still going strong, even if the NVMe’s probably will reduce the use of 2.5"


They sadly don’t have 3.5" [floppy] drives anymore, and both the ISA and PCI busses are nowhere to be found 😔

I used pcpartpicker for my latest build it’s a good help when assembling and can help avoid those incompatible parts.


When it’s like that I’m happy we only have the cheapest netflix, and then 🏴‍☠️ when they eventually remove what you were watching.

They even removed One Punch Man 🙄



I worked a lot with PHP3 and 4, they work by the “Here is a flat C style API and here’s all the functions to use.” principle, and a lot of the work was finding the needed function, and how to use it.

I know PHP5 did a lot of redesign especially with classes, but have never used it, hope PHP5+ feels more like Pythons toolbox.

If I should write a web application today, I would start looking at Python based frameworks: Django (I have used it before)/Flask/Etc. as I am not sure I would like to work with JavaScript, or have to re-learn PHP.


I think they refer to the truth table of Implies.

A | B | A => B
T   T      T
T   F      F
F   T      T
F   F      T

A homeopathic software company, I like the idea. You pay me $100 a month, and I make sure all the 1’s in your phone have good karma, and the 0’s are grounded. 🧚🏽


Serverless and no code? So they base everything on “free” platforms like Facebook?

Or send a usb stick with some pictures in the mail?

Now i know it’s a magazine!



Code a bit, think a lot, code some more, sleep on it, get a really good idea in the shower…


Sometimes I get this when I have unsaved changes to the file or the binary is not in sync with the code PEBKAC, and sometimes its the compiler 🙄


I couldn’t find a simple plug and play solution, so it took several tries to find the right guides, especially because raspbian have changed their Bluetooth/audio setup, so the old guides don’t work.

The solution I found uses a script/daemon that sets up the speaker and waits for Bluetooth connections.

I’ll look for the script…

Edit: found it https://github.com/fdanis-oss/pw_wp_bluetooth_rpi_speaker

I added a systemd service running as root.


Yep that’s also how I set it up, it boots up in RetroPi and then you can start Kodi from there, but now I mostly boot up on the MPD SD card instead. I have also configured it to be a Bluetooth speaker, so I can attach the phone.


The first one is a Kodi player.

The second one was originally intended for RetroPi, but now it’s a mp3 player running MPD, and connected to my sleep headphones.


Yes, but we keep hoping something better will show up, it’s just taking way too long.

I think something like Reddit/Lemmy needs to happen to YouTube, the content creators are just not at that point yet.


Use unitys model and charge per view, “Your post got 200k views, start paying up! 1 cent per view”


It never happened and if it did it was not on my computer. And if Linux refuses to boot after I edited grub.cfg it was not my fault!

/S