@nedbat@hachyderm.io
@nedbat@hachyderm.io avatar

nedbat

@nedbat@hachyderm.io

Python, software, coverage.py, typography, juggling, Boston, autism (dad). Laughing at the world doesn't mean I don't take it seriously. He/him.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nedbat, to random
@nedbat@hachyderm.io avatar

Anyone else find it impossible to understand editor mechanics by watching animated gifs? I don't understand what this does...

https://hachyderm.io/@VimLinks/112116019103697854

jonafato, to random
@jonafato@mastodon.social avatar

What's the best remote desktop software out there from the context of family computer support? Most of these tools seem pretty geared toward business use. Google has one that works decently well. If Signal's screen sharing supported remote desktop / keyboard and mouse control, I'd probably land on that just from a "not yet another app" standpoint. Some options I'm aware of but haven't evaluated deeply: TeamViewer, AnyDesk, RustDesk, Parsec. Thoughts / opinions?

nedbat,
@nedbat@hachyderm.io avatar

@jonafato I've been using TeamViewer with my mom and it works great. I have it set so that I can jump onto her screen without her taking any action at all.

nedbat,
@nedbat@hachyderm.io avatar

@hugovk @jonafato TeamViewer has to be running on the target machine, with permissions granted to the viewer to get in without confirmation. Is that what you are asking?

nedbat, to python
@nedbat@hachyderm.io avatar

The integer type in is arbitrary precision, limited only by your RAM.

Well, not really true: there's a limit on how big they can get. They can only go up to about 2.08*10^19 decimal digits, so you'd need 8 billion gigabytes of RAM before you reached it!

nedbat,
@nedbat@hachyderm.io avatar

If you want to reach the limit:

import math
x = 1
for i in range(10):
print(f"{i}: {math.ceil(math.log10(x)):d} digits: {x}")
x <<= x

0: 0 digits: 1
1: 1 digits: 2
2: 1 digits: 8
3: 4 digits: 2048
4: 620 digits: 6618...3488
Traceback (most recent call last):
File "/tmp/maxdigits.py", line 6, in <module>
x <<= x
OverflowError: too many digits in integer

nedbat,
@nedbat@hachyderm.io avatar

@UtilityNerd I don't know about that bug, but it wouldn't have been about Python 2 ints, they also were basically limited by available RAM.

nedbat,
@nedbat@hachyderm.io avatar

@UtilityNerd That is a good theory!

nedbat,
@nedbat@hachyderm.io avatar

@UtilityNerd
>>> datetime.datetime.now() + datetime.timedelta(days=10000000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: date value out of range

nedbat, to random
@nedbat@hachyderm.io avatar

I have lots of computer and software books that most book donation services don't want ("Text books more then five years old"). Is there someplace that would want them?

nedbat, to random
@nedbat@hachyderm.io avatar

Why does Zoom have a nice option to superimpose my face onto a shared screen, but then doesn't show that in the recording? My face is off to the side! Am I missing something?

nedbat, to random
@nedbat@hachyderm.io avatar

4th generation iPod Nanos are obsolete, but they sure were pretty, especially in purple:

nedbat,
@nedbat@hachyderm.io avatar

@cnx In reality it is definitely purple. I agree it looks blue in the photo.

nedbat, to random
@nedbat@hachyderm.io avatar

I get it, you don't have to say it over and over!

nedbat, to random
@nedbat@hachyderm.io avatar

Holy cow: https://oldweb.today/

Emulated old operating systems running emulated old browsers displaying archived old web content!

nedbat, to python
@nedbat@hachyderm.io avatar

Blog post: Does have pointers? https://nedbatchelder.com/blog/202403/does_python_have_pointers.html

tl;dr: it depends what you mean by "pointer"...

nedbat,
@nedbat@hachyderm.io avatar

@webology nope, you are right!

nedbat, to random
@nedbat@hachyderm.io avatar

Typo of the day: gitbuh

nerdsitu, to python
@nerdsitu@datasci.social avatar

We created a template to start a github repo for new research projects: https://github.com/NERDSITU/research-template

Includes folder structure, gitignore, precommit hooks, linting+formatting, environment file, etc.
Feel free to use - happy for feedback!

nedbat,
@nedbat@hachyderm.io avatar

@nerdsitu Nice! I left a suggestion.

nedbat, to random
@nedbat@hachyderm.io avatar

I get it that cloud services are designed to scale up to thousands of machines, etc, but can't there be a Baby's First Machine mode where I don't have to create a resource group arena, a network collection menagerie, a security envelope bundle, and a user population demographic first? I just want one machine. Default everything for me!

nedbat,
@nedbat@hachyderm.io avatar

@webology I didn't get into the details in my rant-post, but I need a temporary Windows machine for debugging a coverage.py issue.

Lana, to random
@Lana@beige.party avatar

Red delicious is the worst apple and yes I am willing to die on this hill.

nedbat,
@nedbat@hachyderm.io avatar

@Lana TBH, I'll be surprised if you can find anyone who disagrees.

luis_in_brief, to Futurology
@luis_in_brief@social.coop avatar

Am at the first applications conference, with another 200+ water folks. Won't be live-tooting too much, but a few bits will trickle out because I'm excited to support this great community focused on using open to meet the deep challenge of climate adaptation.

nedbat,
@nedbat@hachyderm.io avatar

@luis_in_brief "trickle": I see what you did there :)

dweinberger, to random
@dweinberger@mastodon.social avatar

I received an invitation from ISONAET to speak at its Summit on Applied Science, Engineering & Technology at a cost of a mere $800. The invite email explains: "We were impressed with your work and the way you are so impressed at that thing you do and would be so excited if you would join us."

I don't mean to brag, but who wouldn't be impressed by that thing that I do!

Seriously, has anyone heard of this group and its overwhelmingly male roster of speakers? https://scitechglobalmeets.com/2024/applied-science/

nedbat,
@nedbat@hachyderm.io avatar

@dweinberger How can the "1st international etc" have a list of "Previous participants"!?

letterror, to random
@letterror@typo.social avatar

“It is only coding if it uses a Turing complete language.”

nedbat,
@nedbat@hachyderm.io avatar

@letterror I'm not sure if you are saying it, or if you are quoting someone else, and if so, if you agree or not. I think it depends on why we are trying to classify the activity as "coding." There are many important conceptual hurdles to using computer languages like HTML, CSS, even Markdown. We shouldn't look down on people learning those things.

meejah, to python
@meejah@mastodon.social avatar

Hey what other information would you like to see in a CLI coverage tool?
(This shown inside a github action log)

nedbat,
@nedbat@hachyderm.io avatar

@orsinium @meejah Cool, it's not often you see people using the trace stdlib module!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines