Is this guy Tom Segura’s cousin, the inventor?
Is this guy Tom Segura’s cousin, the inventor?
Serving multiple data streams
200: “I gotchu, bro. Here you go. Have a good day.”
401: “You’re not on the list. Get lost.”
402: “Pay me or get lost.”
403: “Everyone get lost.”
404: “You are lost.”
500: “Ooopsss.”
501: “Knew I forgot something…”
504: “I can’t do this shit all day.”
I am a software engineer and I also have a PC with RGB vomit. But not because I’m a software engineer. Because I’m also a dork, and the icy blue color keeps my cpu cold.
A bit in Freedom units is 2 metric bits because it wouldn’t be freedom units without unnecessary confusion. A metric bit is equivalent to a freedom unit lil’bit, because it’s smaller than a bit. A bite (no relation to a byte) is 25 lil’bits because saying 25 ones and zeros outload is a mouthful. A hot dog is 4.2 bites or 105 lil’bits because that’s how many bites it takes me to eat a hot dog. A hamburger is 6.4 bites because it takes more bites to eat. A double with cheese is 7.8 bites. A whole hog is 233 hot dogs. A stampede is 23146 hamburgers.
10+ years ago, it was very common to get an upgrade to your phone ever two years (or less). And at the time, there was a lot more variability in phones. And I mean in more than just battery life, storage capacity, camera quality, processor, etc. There used to be a variety of form factors to consider, sizes, genuinely different features and functionalities. The iPhone came about in 2009, and other smart phones soon followed, but even then there were still phones with physical keyboards, digital keyboards with stylus typing, flip phones, etc. Once smart phones completely dominated the market and all the manufacturers started just copying each other’s features and designs, eventually we got to the status quo of today where they’re all essentially the same. The only major difference now is the OS, and that’s largely just down to iOS vs Android.
squirms in discomfort
Stand with your knees on the floor? I guess just lay prone on your stomach? PLANK FOR THE PATRIOTISM CROSS!
May cause visions, ancestral possession, the ennui brought on by the relentless deterministic passage of time, and the massacre of billions via trans-galactic jihad. Do not mix with alcohol.
I saw you already solved your own issue. Just want to make sure you understand what the actual issue was and why.
In order to use a class/function, such as Light(), the interpreter running your script needs to know what that class/function does. To do that, either you need to have defined it in your code (like you did with your main function) or you need to have imported it from from a another source like lifxlan where it is defined. In your original script, you imported the class LifxLAN, though as you discovered, you forgot to import the class Light as well. I’m assuming those are classes, btw, from both context and the fact that they follow the python naming convention (functions and variables are all_lower_case, Classes are CapitalizedWords, and CONSTANTS are ALL_CAPS)
Additionally, instead of importing each class, you could have also imported the entirety of the lifxlan library by changing your import statement to import lifxlan
. I’m not recommending you do that. It’s not best practice to import more than you need and it can cause issues if what you’re importing is not just a library but also executes code. But, if you did import the whole library, that would have imported all of the classes and functions in lifxlan including both LifexLAN and Light. You could then create objects of those classes or call those functions by prefixing the library name to their name. For example, lifxlan.Light().
On your chest. Much more macho.
Now do '0000: 0000: 0000: 0000: 0000: 0000: 0000: 0001" across both knuckles like the classic “LOVE HATE” tat.
I was hired with the official title “software engineer,” then I was noted in all unofficial org charts as a “SE/DE” (software engineer/data engineer), and recently my boss announced that I have had my title officially changed to “data engineer”. My job functions have not changed the entire time I’ve been here. I write Python, SQL, KQL and Pyspark scripts and have to fuck around with Azure architecture sometimes. So there’s not always clear delineation between these terms, anyway.
angry domino logic programmer noises
I’m in tech and “computer programmer” has always sounded to me like a grandma phrase. Like how all gaming consoles are referred to as “the Nintendo” or “the game station”.
And label the text box “username” when it only accepts email address.
My Scrum Master is nice, but her role seems to mostly revolve around enforcing documentation standards, coordinating refinements and retrospectives, tracking metrics on task completion, and maintaining our Jira board. She doesn’t have a lot of involvement with the specifics of development, delegation, or how we execute our tasks.
If your leadership doesn’t review productivity, sure…
I took a principles of programming languages course a while back and got to touch on a lot of these old languages. My professor had huge hard-on for Lisp. Don’t get me wrong. The simplicity of the language is admirable. But reading and parsing that shit gave me headaches. No me gusta.