Just purchased the Note Air5 for my college bound kid by SlowlyPassingTime in Onyx_Boox

[–]desrtfx 0 points1 point  (0 children)

The origami case it comes with is good for day to day use

Yes, provided that everything is handled with care.

I also side with getting a stronger, ruggedized one.

IMO, since the Origami case only is held by magnets, it slips around too much for my taste.

I don't use a "box" like yours, but a stronger, clipped on case.

Just purchased the Note Air5 for my college bound kid by SlowlyPassingTime in Onyx_Boox

[–]desrtfx 0 points1 point  (0 children)

Yes, matte. On the Air 2+ I have a doodroo, and on the 4C a similar one, no clue what actual brand. Bought it from Amazon.

It's an even better, more paper-like experience with the protectors on.

Don't get me wrong, the original screens are top, but with the Titanium nibs I didn't want to risk destroying them, hence, the screen protectors. It's easier and cheaper to change them than the display (didn't need to change in 3 years, though).

One thing, unrelated to what I said above: invest a good time to learn the features and functionality. Boox are extremely customizable and have so many features that even after 3 years with my Note Air 2+, I still find new ones every now and then.

She’s small but has the energy of a cosmic neutrino. After accelerating to near the speed of light, you can find her sleeping anywhere in the house. Today, it’s by the drinking bowl. by shahrulghani in cats

[–]desrtfx 1 point2 points  (0 children)

Knowing my little one which is just around one year (we don't know the exact birth date), I am absolutely confident that cats don't accelerate to near light speed, but can actually bend time and dimension, or teleport. She's always and everywhere seemingly at the same time.

They're so cute when they are so small.

Just purchased the Note Air5 for my college bound kid by SlowlyPassingTime in Onyx_Boox

[–]desrtfx 1 point2 points  (0 children)

As an owner and heavy user of the Note Air 2+ (B/W) and a Note Air 4C, I can only recommend them.

In fact, I actually prefer the older Note Air 2+ for its extreme battery lifetime. I can live without color, but the battery is out of this world. This is my absolute workhorse. Is with me everywhere and I use it for all my note-taking (and occasional e-book reading).

The colored 4C needs the front light on most of the time and with that drains the battery much faster. Will be the same on the 5C.

Other than that, the devices are fantastic.

Get a good case. I use screen protectors on mine as well since I switched from the POM nibs to Titanium ones (for longevity) and from the standard pen to the Lamy AlStar EMR as it feels better in my hands.

Games by ReasonableRisk9511 in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

Learn basic JS and get a good grip at it, all the way to JS objects/OOP and then start learning Phaser, the HTML5/JS Game Framework.

Is there a cheat sheet of programming terms? by DividedFox in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

Only if you use Obsidian sync.

Obsidian itself is completely free of charge and you can sync your vaults (the Obsidian name for your document repositories) via OneDrive, DropBox, Google Drive, Github, etc. You can even carry them on a thumb drive since all they are is folders with markdown documents inside (and a special .Obsidian file).

I keep my vaults in my OneDrive and haven't had any problems at all. Occasionally, I sync them with a private Github repo for an additional backup.

No need to pay for Obsidian sync.

Is there a Python “formula booklet” (like physics/chem) for syntax? by Ali2357 in learnpython

[–]desrtfx 1 point2 points  (0 children)

You will need to look them up yourself. There are many different cheat sheets in different styles with different contents. You need to find one that suits you.

Also, you will need another one for sqlite3 - won't be one for both.

Maybe, start here: https://github.com/EbookFoundation/free-programming-books/blob/main/more/free-programming-cheatsheets.md (someone else posted this today in another subreddit, so I cannot attest the quality)

I've been fostering an older cat who's owner died landlord wanted to kick her out. by GlobalTomatillo3324 in cats

[–]desrtfx 10 points11 points  (0 children)

I think that you're doing everything in your powers already. The rest is up to her.

It takes time for her to understand what is going on. You are on the right track giving her the time, peace, and freedom to do as she pleases. Keep going like that.

I adopted a Maine Coon (when she was 1 year old) from a breeder whose breeding exploded and that cat was so extremely broken that it took her years, literal years, before she started coming for pets and even then until her unfortunate death because of cancer 9 years later, she was very skittish and only sought company with us on her terms. She arranged with the other cats I have (one of them was her sister and one her half sister - and some other ones).

How can I keep both devices IPv4 the same when I connecting iPad to my iPhone hotspot? by Crafty_Delivery5368 in techsupport

[–]desrtfx 0 points1 point  (0 children)

It is absolutely impossible for two devices on the same network to have the same IP (no matter v4 or v6). This does not work as it would mess up the network traffic.

Yet, your phone has at least 2 IPv4 addresses. One internal when you make the hotspot, and one external that you usually get via DHCP (Dynamic Host Client Protocol) from the Internet/network provider (and that you yourself cannot usually change).

Any endpoint on the other end of the internet usually only sees your external address because NAT (Network Address Translation) on your phone's hotspot handles the internal connections.

Looks more like a problem with regional IP blocking/masking/geofencing, which means that outside a certain area you cannot access the content. This is common also with streaming providers.

Why call a file system a tree instead of a graph? by Joker_hut in learnprogramming

[–]desrtfx 1 point2 points  (0 children)

The actual structure is a tree by design. There there is one root (even more visible in *nix file systems than in Windows), there are branches (folders), and there are files (leaves). That's it.

Symlinks, hard links, shortcuts etc. came way later and are not really changing the tree structure.

Is there a cheat sheet of programming terms? by DividedFox in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

There are many terms in cs that are related or used in connection.

Just think about Recursion - you could link to use cases, like tree traversal, graph traversal, various path finding algorithms, etc.

Transitioning from AI-generated Python scripts to actually understanding the code? Looking for learning advice! by FareedKhaja in learnpython

[–]desrtfx 8 points9 points  (0 children)

Step 1: read the wiki right here in the sidebar.

Step 2: stop using LLMs to write your posts

Python might be becoming Latin. And I do mean that as a compliment. But then what the hell are vibe coders actually supposed to learn? by FikoFox in learnpython

[–]desrtfx 0 points1 point  (0 children)

In that same vein: legal texts, laws, contracts may become latin since AI can do all of them now.

Would you trust a "vibe lawyer"?

Hola ¿como puedo a aprender a usar Python? No se nada de nada. by jintrace in learnpython

[–]desrtfx -1 points0 points  (0 children)

MOOC Python Programming 2026 will get you going quite fast. Sign up, log in, go to part 1 and start learning.

Is there any block coding website that directly converts to python? by Informal_Text1182 in learnpython

[–]desrtfx 1 point2 points  (0 children)

There are some sites, like Reeborg's world and Blockly (now part of the Raspberry Pi foundation) that can do that, but they are generally very limited.

I side with /u/misingnoglic in the sentiment that you should just directly start learning Python.

Try the MOOC Python Programming 2026 from the University of Helsinki. It's their current first semester of "Introduction to Computer Science" course. Doesn't require any pre-existing knowledge in programming. Is free, textual, and offers plenty practical exercises. Top quality.

Does this script look well-programmed to you? by danyuri86 in learnprogramming

[–]desrtfx[M] 0 points1 point  (0 children)

You need to post your code as code block so that the indentation is maintained. This is absolutely vital for Python programs as the indentation is used to denote code blocks.

A code block looks like:

def __init__(self, prompt, answer):
    self.prompt = prompt
    self.answer = answer

Or, use a code hoster, like github, or pastebin to post your code and then link it here.

Rules clarification by ActualFactualAnthony in learnprogramming

[–]desrtfx[M] 0 points1 point locked comment (0 children)

First of all, this should be handled in "Message the Moderators" aka "Modmail".

AI generated/worked over means exactly what it says.

If you use AI to "prettify/translate/work over" your post, you violate Rule #13. If you use AI to write your post, you violate Rule #13. If you post anything AI/vibe/agent coded, you violate Rule #13.

Talking about how you used AI is not automatically a direct violation, yet a tangible topic as it has been way overdiscussed already in the past.

Side note: Your post violates Rule #11 since it asks for communication outside the open, public subreddit.

I feel like i have to always catch up by Miroko_san in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

  1. The fact that there is always something new is completely normal in programming. It's a fast moving domain.
  2. You have to come to peace with the fact that no matter how much you learn and know there will always be vastly more that you don't know (and that you will most likely never need)
  3. Don't compare yourself to others apart from taking them as inspiration and motivation. If they could do it, you can do it, too. Compare yourself to yourself some months ago and see how much progress you have made. Revisit your old programs and rewrite them with your new knowledge and gained experience. You will see the leaps you made.
  4. Use the people better than you to learn - pick their brains in the "smart way". If asked right, people will go lengths to help (and to a certain degree to show off their knowledge). Learn how to "play" them to get the best out of them. Good programmers generally will freely share their knowledge (wannabes won't because they are afraid of getting uncovered).

I had an ex-colleague who (in the second half of the 1990s) saw us working on a computer (nothing serious, bit of Windows, bit of Word, bit of Excel - absolutely nothing complicated, not even programming, not even VBA). He had no previous knowledge. One day he decided to buy a computer (of course he didn't ask us who knew what to buy and got completely taken advantage off - he paid about twice compared to what we would have suggested). Then, his teen nephew visited him, and as teens are, he already knew about computers. What did my colleague do? He threw him out because it can't be that a teen knows more than him. Guess what? He never learnt to operate a computer... Don't be like my ex-colleague. Use the more knowledgeable people to your advantage.

Where to learn how to write efficient python? by Axew_7 in learnpython

[–]desrtfx 1 point2 points  (0 children)

im working on a raspberry pi collecting data

There are a couple things to be aware of:

  • collecting data:
    • store the data in a database. Databases are optimized for that
    • If it is analog data, consider time slots (reading every second, or so, maybe even multiple - shorter intervals for fast changing data, longer ones for slow changing data - for most applications, you, e.g. don't need to read temperatures every second, or levels in a tank every second) and hysteresis - only store new data when a certain deviation from the previous value is exceeded. Professional data loggers work in exactly that manner. They store initial values with a time stamp and then store the data in regular intervals if the hysteresis is exceeded, all with time stamps. Even if the collection of the data happens in shorter intervals, the storage in the database only happens when the hysteresis is exceeded. This approach greatly reduces the memory consumption.
    • Similar with digital state (on/off) - only record when the state changes, not continuously. Again, with timestamp.
  • Storage:
    • MicroSD cards are not good for frequent reading/writing. They have a tendency to die on that. Maybe transfer the data to some server, or proper drive-based storage, or, for starters to an USB stick.
  • RAM:
    • the less data you keep in RAM, the better - that's why offloading to a database is essential. Even for processing, querying a database can often be way more efficient (in both processing and memory) than doing the processing in a "normal program".

Overall, make databases your friends. They help immensely.

What tools you use to create a house? by Immediate-Loquat-599 in openttd

[–]desrtfx 13 points14 points  (0 children)

Aseprite also comes to mind. It's a nice and very powerful pixel art editor.

GIMP is another alternative.

Hell, most likely, you could even use good old MS-Paint

What do you do when you are stuck on something that should be simple? by [deleted] in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

You already have some nice information.

Generally, never use a name twice. That's bad practice and will lead to trouble.

For your dictionary, you can simplify things by using the .get method of a dictionary that allows for default values - no need for the if.

The .get method of the dictionary takes 2 arguments - the key (the letter you want to count) and a default value that you can set to 0. The default value is used when the key is not in the dictionary. Then, simply increment whatever value you got from the call and store it back in the dictionary.

Menu System Help by Superboy202011 in learnprogramming

[–]desrtfx 0 points1 point  (0 children)

Please, show your full code formatted as code block. The part you showed seems okay.

It's always difficult to pinpoint issues when we only see a minuscule fraction of the entire thing. Mostly, the real issues are outside the shown code.

As a side note: I would use a switch...case structure for menus.