- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 5K
- Posts with Upvotes
- 4K
- Upvoting Members
- 889
- Downvotes Received
- 226
- Posts with Downvotes
- 213
- Downvoting Members
- 110
Comp Sci degree 1976. Medical research for 2.5 years and 29 years at Manitoba Hydro (electric utility) AGC/SCADA (real-time programming/process control) system. Programmed in PL/1, FORTRAN, APL, VB.net, Python and various assembler.
- Interests
- Computers and programming (duh), reading, and being retired..
- PC Specs
- Lenovo ThinkPad P1 Gen 7 Windows 11 Pro
5,213 Posted Topics
>At least it still exists to be read You mean like CodeProject which went read only for a time, then just disappeared?
That would be back in 1971. It was something very short written in BASIC on an ancient teletype (the clackety clack one with the round keys). It was so long ago I've forgotten what it was.
Why use a def with a yield? The following code does the same thing but is much cleaner mylist = [x for x in range(-5,6) if x != 0] or more idiomatically mylist = [x for x in range(-5,6) if x] The main use of yield is to create a …
In response to the Jesus stickers... "I have a personal relationship with reality"
My first suggestion would be to make the splash image the same size as the display screen. If that's not what you intend then you will have to explain in more detail.
Been that way for years. When I decided to leave my first programming job I told my boss that I should be present at the interviews. Being an engineer he assumed he knew enough to do it himself. He was wrong. Not only did the replacment not have a programming …
Content that isn't buried in a shitty interface or under a pile of pop-up ads.
I'd say the IDE. All through university there was no such thing as an IDE. You entered code on punch cards or using a CRT/Decwriter/Selectric with a text editor. No interactive debugging. No breakpoints. No inspecting of variables while paused. I think things got much better for software development once …
I'd tell you a UDP joke but you might not get it.
I use vscode on Windows and there is an official port to linux as well. You can download it [here](https://code.visualstudio.com/download?_exp_download=fb315fc982).
Haven't really used Python to play with numbers, however, I have done a lot of playing around (although not recently) in [APL](https://tryapl.org/). I used APL extensively back in my university days (the 70s). It was fun then and fun now. In fact, Python list comprehensions have their roots in APL.
I'm retired so the only software I develop is for myself, family, and friends. Since I program only in Python I only follow frameworks and tools for that language. Even using just the one language I see new frameworks, libraries, plugins, tools, IDEs released literally weekly. Separating the diamonds from …
Be yourself. The people who matter won't mind and those who mind don't matter. - Bernard Baruch
I tried 1, 2, and 3. Then I gave up. I also tried logging in with admin/passwor
>Doctor. I have a pain. What could it be? If you want a useful answer you have to provide useful information.
The arguments about which programming language is best are mostly pointless. There are some languages that are generally agreed to be awful, but for the rest, asking which language is best is like asking if a shovel is a better tool than a hammer. It depends on whether you are …
That would be web programming. For me it's not a matter of time. Being retired I have plenty of that. It's a matter of developing a skill that would be of no use. Like learning French or Spanish that I would never get to use.
Python first because of the low overhead. In my opinion it is the best first language for developing core skills.
Season 4 left such a bad taste in my mouth I don't want to join in.
>Hey, my reputation is now almost zero! What do you mean? I see you have 27 upvotes and zero downvotes. You have +5 rep and you've only been posting since August 12.
Please stop calling it SI. Are you also using Lake America, New America, and Gulf of America? I thought you were part of the resistance.
Please demonstrate exactly how your code handles square roots and trig functions, or anything else actually.
Coexistence or no existence. - Piet Hein (grooks)
Curious as well. As for IDEs, I use idle for quick and dirty but vscode for serious stuff. It runs on Windows, Mac, and Linux.
You can't directly but you can modify the window type later. Note that "Title" must be unique. import cv2 import csv import pandas import math import turtle import pandas import ctypes def RemoveTitleBar(title): hwnd = ctypes.windll.user32.FindWindowW(None, title) GWL_STYLE = -16 WS_OVERLAPPEDWINDOW = 0x00CF0000 style = ctypes.windll.user32.GetWindowLongW(hwnd, GWL_STYLE) style &= ~WS_OVERLAPPEDWINDOW …
I'm sure I could easily have made it a top ten list but I'll keep it to just five for brevity. My list is going to be heavily skewed to older shows. Because modern shows are so ad heavy most themes have been cut to just a few seconds. Older …
>Welp, she is a Californian dog Probably gluten sensitive as well then ;-) I seem to recall reading recently that if you used Pantone colours and you don't sign up for the Adobe monthly ransom then all of your old images using Pantone will render those colours in black.
Why would you have to cut down **millions** of trees for one data centre? I'd question the reliability of the source.
I've tried loinux several times over the years on spare computers, virtual machines, and a Raspberry Pi. I gave up on all of them because it was too difficult to maintain. Now all I use it for is Live USB recovery tools.
I have never had any success dealing with a chatbot so the first thing I type is "speak to an agent".
> I don't know what religious idea scares me more, eternal torment in Hell or eternal boredom in Heaven. > - Isaac Asimov I'm with Isaac. Count me out.
Managers should have an appreciation for the technology and should trust the technical people to have the skills to do their jobs. My manager was an electrical engineer with *some* programming experience (a dangerous combination). He did not want me using command line tools to do admin tasks (net.exe type …
I have dozens of python scripts I've developed over the years as well, a number of them that use wxPython for the gui elements. I've posted several of the larger ones on Daniweb as tutorials if you are interested. One, for example, embeds vlc media player in two side-by-side panels …
what version of Python is required? I'm running 3.13.3 (so I can run wxPython). When I run your code I get Traceback (most recent call last): File "D:\apps\lispy3-main\lispy3.py", line 10, in <module> Atom: TypeAlias = Symbol | Number | 'String' TypeError: unsupported operand type(s) for |: 'types.UnionType' and 'str'
A mix of junk food and good food. The good food we make mostly from scratch. We use very little processed stuff. We make our own salad dressings and sauces from scratch. We cure our own bacon (no nitrates) and smoke it ourselves using lean pork loin instead of pork …
I prefer them. When a site asks, I just put my thumb on my power button.
The problem with the technology changing so quickly is that it becomes hard to decide what platform to commit to. Do you go with something that has been around a while (and may become obsolete) or do you commit to a relatively new technology that will be abandoned when something …
First app is Macrium Reflect so I can take an image of the fresh install. Then I repartition to C/D, move my user folders (documents, pictures, etc.) to D. Then I take another image. After that I begin installing my base apps before imaging one more time.
Welcome back. I'm sure you've seen a lot of changes.
>According to me Mozilla Firefox (google chrome) is best for SEO. A response like that is completely useless without supporting info to back it up.
Why limit to just those two? I prefer measles to smallpox but I don't particularly care for either.
I use a $5 app I bought on the Microsoft Store. It is called Air Receiver (Softmedia). Running this on my laptop I can cast to it wirelessly from my Android phone as well as my Oculus Quest. The cast option on your phone may be in different places depending …
**1) If it ain't broke, don't fix it.** The code base we got from Westinghouse back in 1983 was: 1. Horribly written (never refactored) 2. Horribly formatted (no whitespace, incorrect or missing indentation) 3. Poorly named variables and constants I had to make a minor change to the code in …
The End.