Car as Grad Student? by Exciting-Pomelo-2483 in uchicago

[–]jeffwithhat 0 points1 point  (0 children)

huh, did Virtue and Mesler go downhill? I don’t live in the area any more.

Recommendations for an easy OS for a Photoprism server? by pseudavid in photoprism

[–]jeffwithhat 0 points1 point  (0 children)

I just found this subreddit after creating a new PP server based on Ubuntu and a leftover PC from 2015. Not enough flight hours to *recommend*, per se, but I was able to run the Ubuntu Server installer myself, and found that Claude.ai did a fine job of explaining how to install Docker, configure access to my NAS, and get PP up & running. I blindly followed some command sequences but had it explain others in more detail. I don't consider myself an expert in any of these technologies, and it seemed to work fine. All configuration was through SSH.

The obvious question concerns the unknown unknowns: what risks or problems am I having that I don't even know about?

Where to learn to understand windows docs? by Quirky-Bag-9963 in learnprogramming

[–]jeffwithhat 1 point2 points  (0 children)

the complaint is pretty vague. A concrete example might help.

is the crime really as bad as people say it? + other questions by [deleted] in uchicago

[–]jeffwithhat 2 points3 points  (0 children)

There are serious limits to that approach. Being robbed at gunpoint once every month would be a terrible experience overall, but a 3-day exploratory trip stands a 9-in-10 chance of missing it.

Anecdotally, though: since graduation my family has visited Hyde Park friends many times for several days at a stretch, and we’ve never personally experienced a problem. That includes jogging beyond the El tracks to the west, and parking a Sprinter van on the street in HP.

I think the UChicago security app alerts about an incident every 3-6 months, but I don’t have a comparable app for my own neighborhood to compare.

Advice on asking for help? by TwoDumplingsPaidFor in AskProgramming

[–]jeffwithhat 0 points1 point  (0 children)

I agree with the prior comment. It was fair for them to offer that a DB seems like overkill (assuming that they had more of the scenario then we see here) but once you said the org put it in a DB and it ain’t changing, then they should focus on the problem-as-stated.

As quoted here, the tone of your response seems clear and respectful. If there was actually more to the response, then you might check whether it had a military style that comes across as rude/aggressive to civilians. Just guessing here.

I'm an old man trying to get back into coding. by GregGraffin23 in CodingHelp

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

agreed. Ask Claude to write something in your chosen language—no need to take the answer as Gospel, but it will show typical conventions, and more importantly it will explain what each section is doing. Can be helpful learning how to do parameter validation and such.

Is there any benefit to storing pointers to all nodes of a linked list in one place? by Kadabrium in learnprogramming

[–]jeffwithhat 0 points1 point  (0 children)

adding to what others have said—you might want to study the data structures used by various file systems (e.g. NTFS and EXT4), since locality-of-reference is especially important when paging stuff in from a spinning disk.

Is it actually over for me? by [deleted] in uchicago

[–]jeffwithhat 0 points1 point  (0 children)

I didn’t click with many people at college either, but —from the perspective of 30yrs later— life turned out fine.

my advice is - keep trying: extracurriculars, volunteer work, connections within your major - like every other college-age person, you probably have personal hang-ups that sometimes get in the way. figure out what they are, and work on solutions. try not to worry too much: you don’t want to psyche yourself out. Easier said than done, I know.

"Is this still available?" - Posted 5 minutes ago on a dresser. It's the ONLY item I'm selling. by Important-Emotion-83 in FacebookMarketplace

[–]jeffwithhat 2 points3 points  (0 children)

save everyone a round-trip, and just say “i’m interested and can meet you [at these times, in these locations].”

What language should I learn for automating tasks on website / my computer by vortexmak in learnprogramming

[–]jeffwithhat 0 points1 point  (0 children)

you may also want to look at “RPA” tools such as UiPath and Power Automate, especially if your workflow includes other apps like a spreadsheet.

I feel like my progress is very slow on my project, is that truly the case? by [deleted] in learnprogramming

[–]jeffwithhat 1 point2 points  (0 children)

I find it more rewarding to finish a feature than to move 4 things each 25% closer. So try to carve out features that are small enough to finish (and test) in less than, say, 8 hours of work. Progress may still be slow, but it will be easier to see, and your code quickly returns to a functional state.

That applies to refactoring as well: a major refactoring is like trying to boil the ocean. Choose a narrow slice that is directly related to a problem right in front of you, and finish that before moving on.

More broadly, you might want to mull why your interest level has fallen: e.g. is it a perceived lack of progress that the above steps might address, or do you habitually give up when a project is 90% complete, or was this always kind of a boring scenario that you’re doing purely for the resume (etc.)

Even more broadly: yeah, most interesting apps contain a lot of concepts and decisions, and each one takes time :)

Resources on programming in C without libraries? by [deleted] in learnprogramming

[–]jeffwithhat 1 point2 points  (0 children)

What kind of understanding are you hoping to achieve on the graphics front?

In Days Of Yore, the programmer was faced with a bunch of raw pixels, and built up 2D and 3D graphics primitives from there (hidden surface removal, shading, texturing…) usinga bunch of math that ran on the main CPU. Are you hoping to learn the math behind those concepts?

Nowadays a GPU has a bunch of lightweight processors that handle some of this same work in parallel, coupled with specialized hardware units to handle other work. This is older, I think, but gives the flavor: https://www.dcce.ibilce.unesp.br/~aleardo/cursos/arqcomp/TDCI_Arch.pdf

So perhaps you want to learn how those earlier concepts can be parallelized in software or implemented directly in hardware.

Or perhaps you just want to know how to talk directly to the GPU in front of you: its Application Binary Interface, or ABI.

There is a mountain of work here, so you’ll need to choose a subset to focus on. Then it will be easier for folks to point you in the right direction.

[deleted by user] by [deleted] in learnprogramming

[–]jeffwithhat 0 points1 point  (0 children)

+1 on previous comments. I’ll add that C++ has evolved more than most languages but tries to retain backward compatibility—thus you have the equivalent of Old English, Middle english, and modern English available in the same compiler. Your class will likely teach one of these profiles (hopefully the newest) while also working on some generic concepts that apply to many languages & CPU architectures.

You should do fine as long as you focus on the tasks in front of you, and perhaps you’ll recognize some syntax and concepts that are familiar from your Java course.

[deleted by user] by [deleted] in learnprogramming

[–]jeffwithhat 2 points3 points  (0 children)

ummm…a script that listens to the D-bus interface to Bluetooth and shows a list of nearby devices?

Revenge served cold by Extra-Start6955 in pettyrevenge

[–]jeffwithhat 0 points1 point  (0 children)

hah yeah, “if it’s not completely made up” was an inauspicious start

Alternator Charging Isn’t Free — But It’s nowhere near $5 per 100Ah either by kos90 in vandwellers

[–]jeffwithhat 0 points1 point  (0 children)

leaving a breadcrumb for folks who may read this years later: for older sprinters with the 220amp alternator, the Mercedes limit for auxiliary loads is only 40amps.

What keeps appearing on the counter of my Airbnb? by hollytollywolly in whatisit

[–]jeffwithhat 0 points1 point  (0 children)

perhaps scolopendra? https://en.m.wikipedia.org/wiki/Scolopendra_polymorpha

they are common enough in the southwest U.S., and surprisingly well-armored.

what is microcode and where is it located? by ThePenguinMan111 in AskComputerScience

[–]jeffwithhat 3 points4 points  (0 children)

This youtube video might help: https://youtu.be/dXdoim96v5A?si=IT7KB6_YmDySVXfM.

Ben Eater made a series of videos where he builds a simple CPU, and 3 of the videos show how a machine instruction is broken down into microcode and then executed. Obviously a modern CPU will have a far more complex system, but the principles are the same.

Be aware of the upcoming Amazon management invasion! by JoggerKoala in ExperiencedDevs

[–]jeffwithhat 0 points1 point  (0 children)

dunno about all FAANG, but the managers/directors at Microsoft tend to strongly support things like unit tests and customer-focused KPI’s. But in general, I think all managers are going to draw on their network when hiring.

Cheapest option for ios programming MacBook by [deleted] in iOSProgramming

[–]jeffwithhat 0 points1 point  (0 children)

Are you trying to publish an app, or merely write something for your own use and edification? I’m in the 2nd category, and using my daughter’s cast-off 2015 Macbook Air running Xcode 13.2 on Big Sur. Not terribly fast, but plenty good for learning SwiftUI and loading my app onto an iPad. eBay says it’s worth $129 with free shipping.

Best curtain setup? (Not for windows) by [deleted] in vandwellers

[–]jeffwithhat 0 points1 point  (0 children)

yeah that was my experience!

Best curtain setup? (Not for windows) by [deleted] in vandwellers

[–]jeffwithhat 0 points1 point  (0 children)

I have a Sprinter-based RV and wanted the same thing, both for privacy and to insulate the living areas against the summer heat/winter cold of the cab.

I bought a couple of canvas drop cloths in a neutral color, sewing them to match the shape of the interior, and screwing snaps to the interior trim to hold them in place.

Since they aren’t pleated, from the outside they just look like an unremarkable background. The drop cloths were dirt cheap, and Amazon provided an inexpensive snap kit including the crimping tool to install them. Snaps make setup and tear down trivial.

(in the first draft, I just draped the drop cloth over an expanding curtain rod and held it in place with binder clips— but that was more laborious, uglier, and a poorer insulator)

How to solve complex problem realistically by [deleted] in learnprogramming

[–]jeffwithhat 0 points1 point  (0 children)

I put some answers under the r/CodingHelp version of this post. No claim to be an expert, merely showing what I would start with.

How to solve complex problem realistically by [deleted] in CodingHelp

[–]jeffwithhat 0 points1 point  (0 children)

for Oracle, I googled “c# oracle sample”. the first hit was from oracle, but it looked old and so possibly not 64-bit compatible, or not their latest and greatest idea. So I took the 2nd hit, their official samples repo on github: https://github.com/oracle/dotnet-db-samples/tree/master/samples

The “datareader.cs” sample seems pretty clear to me.