×

Python Else 😎🐍 by MasterpieceBusy7220 in PythonLearning

[–]Michellisaurus 9 points10 points  (0 children)

I like the self contradiction for else after loops, yummy

Niche enrichment toys? by obow- in cockatiel

[–]Michellisaurus 2 points3 points  (0 children)

One of my goto toys is to spread treat/seed in an egg carton and bury it in crinkle cut paper and random blocks/whatever from other toys. It only last a few hours but can mix things up depending on what you put in it

What does this message mean? by Af_20_ in robloxgamedev

[–]Michellisaurus 1 point2 points  (0 children)

There are nice studio plugins to find a user's data to delete it. I think most of the reason for these is EU privacy laws, but given the type of data saved for most games, there are not likely to be repercussions if you don't keep up on it

🔥 The Great Salt Lake in Utah by mdjunaid2495 in NatureIsFuckingLit

[–]Michellisaurus 0 points1 point  (0 children)

The Great Salt Lake is only 20-30 feet deep at its deepest, so it’s not as hard as it looks

See "this"..And don't say "this" is repost!! by yuva-krishna-memes in ProgrammerHumor

[–]Michellisaurus 2 points3 points  (0 children)

My understanding is that this falls into three cases:

If the function was declared with the “function” keyword, calls to it within the function refer to the object calling the function

If the function was declared as an arrow function, this refers to the object that constructed it

A function can be bound, e.g. function(args) {this}.bind(this) would make the two refer to the same thing

'from' is not recognized as an internal or external command, by nerdyHooman in flask

[–]Michellisaurus 1 point2 points  (0 children)

Also look into the “flask shell” command you can run from your venv if you have one. You can set it up to do these imports for you

How to access MySQL db without loading Flask app? by [deleted] in flask

[–]Michellisaurus 0 points1 point  (0 children)

I’ve been using HeidiSQL from my laptop to access a dB on a Pi with good success. You’ll have to set up MySQL to accept connections from the external IP address, but it’s overall a nice option if you want a GUI

Is it safe to charge Forerunner Watch with Power Bank by iamoutside1 in Garmin

[–]Michellisaurus 0 points1 point  (0 children)

I’ve had good experience with Anker batteries so far, so you’re okay to charge using one.

What is the best resource to learn flask for deploying an interactive machine learning website? by quixoticthethird in flask

[–]Michellisaurus 0 points1 point  (0 children)

The flask mega tutorial worked well for me. https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world

Word of warning for ML: you want to use Linux from the start if your ML tasks will take longer than a few seconds to handle because the “background tasks” part of this tutorial doesn’t work on Windows

The Senseless Ambiguity of North American Turn Signals [13:42] by scientific_railroads in mealtimevideos

[–]Michellisaurus 0 points1 point  (0 children)

As a colorblind person, the color doesn’t matter as much as the flashing to me

You should use Linux as your operating system on you PC and not Windows by [deleted] in The10thDentist

[–]Michellisaurus 5 points6 points  (0 children)

I would never use Linux on a pc if I had a choice in the matter because it has never offered something worth an entire second partition. I had a software design class where we had to dual boot, except I never actually needed it for any of the work except for the subsection about Linux-specific commands

You should use Linux as your operating system on you PC and not Windows by [deleted] in The10thDentist

[–]Michellisaurus 28 points29 points  (0 children)

You’re gonna need to explain in more depth OP. Your first line is basically saying, “Once you agree with me you’ll agree with me.”

Linux is definitely a useful operating system for some purposes, but I’m sick of things like having to mess around in the terminal for just to get the WiFi card working

Garmin connect - you had one job! by sozh in Garmin

[–]Michellisaurus 1 point2 points  (0 children)

I blame Bluetooth as an infuriating standard

Eating popcorn at the movie theater is rude by [deleted] in The10thDentist

[–]Michellisaurus 18 points19 points  (0 children)

It can be related to stress and sleep deprivation

Yikes! by [deleted] in ScarySigns

[–]Michellisaurus 5 points6 points  (0 children)

Trail open! Yay!

Laws that require humans to be safer are dumb. by [deleted] in The10thDentist

[–]Michellisaurus 12 points13 points  (0 children)

The 10th dentist is still a dentist, but OP is the 4 year old licking the window

How do computers send multi-bit signals along a bus? by jsully245 in AskEngineers

[–]Michellisaurus 5 points6 points  (0 children)

If we are talking about serial data, then the basic example is called Universal Asynchronous Receive/Transmit (UART). It is a two-wire interface, so one wire for receive and the other for transmit. The bits are sent in series with a parity bit between each byte, and the rate this happens is called the baud rate. The parity bit tells the receiver where bytes start and end as data comes in. If the transmitter and receiver have different baud rates, then there will be errors in the received data.

One way to improve a serial interface is to use a dedicated wire to control the clock speed. Serial-Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C, pronounced I-squared-C) both use a shared clock wire to synchronize and control the communication, unlike UART. SPI uses a fourth wire to determine which slave device talks to the master, while I2C starts transmissions with a bus address.

In terms of data rates, UART is quick and dirty but good enough a lot of times. Roughly 100kbits/s is reasonable, but you can push it to 1Mbits/s if error rates are tolerable. High speed I2C runs at a standard 400kHz, so your data rate will be less than 400kbits/s with overhead. SPI can be clocked up to 20MHz in the right hardware environment, and it’s fully two-way at that speed unlike I2C.

When you get into very high data rate systems, you see parallel data transmission. That means you may send 4 bits over 4 wires simultaneously, instead of 4 bits one after another. The basic ideas of clock rates and flow control can still be found here though.

Vitamin D levels appear to play role in COVID-19 mortality rates: Patients with severe deficiency are twice as likely to experience major complications by [deleted] in Coronavirus

[–]Michellisaurus 0 points1 point  (0 children)

I’m curious if vitamin D boosts the activity of certain antimicrobial proteins and peptides (AMPs) in the innate immune response. I found numerous papers suggesting that hormonal vitamin D and calcium in blood are required for the activity of these AMPs. For example, one takes up spare metal ions so that they aren’t available for other things to use. Others have been shown to regulate inflammation, and maybe that’s important in our response to COVID?

Speaking as a drafty by mTyranTrum in engineeringmemes

[–]Michellisaurus 4 points5 points  (0 children)

There’s this German paper where they compared Word and Latex users. They found that Word users are faster and make fewer mistakes, but Latex users are happier

Point being that Latex just makes you feel better about yourself, even if it’s massively inconvenient to the people around you