Programming

I did and the results didn’t jump out at me and gave up

Do you use PyCharm? It has a package manager in it that might work.

Can try that but weird system yo.

1 Like

Sorry dude something came up.

This has happened to me once and it turned out that I had gotten a 32-bit version of Python somehow and it couldn’t talk to the system ssl drivers. But from google it seems that there are a lot of possible causes.

Bad openssl version or something yeah all fixed cool story.

1 Like

One of my close friends (and the guy I did a little contract work with/for last year) quit Google and moved to a small town in Wisconsin. He’s not cash flow negative, but I’m sure it was a huge pay cut. He asked to be demoted at Google. They wanted him to travel and evangelize or whatever the hell goes on in these places and be in the office a lot, but he has little kids and wanted to like do that.

Most normal people can make FAANG money for a few years and then be set up for a long long time - assuming they don’t need to live a SF/NYC/Sili Valley high-flyer lifestyle anymore.

I used to love those show called Radical Sabbatical on the Fine Living channel. It was either a couple or a single person who had made a decent living at something and now wanted to start a wine bar or artisanal sheep cheese farm or w/e. Most of them were ex-techies.

My favorite was the guy who wanted to quit his job to become a pro poker player. The whole plot of the show was if he could raise $10k, by grinding low stakes online, to buy an entry into the WSOP ME. Because that’s definitely how you go about becoming a pro poker player.

I’ve got a question that has bothered me for a while and maybe you programmers would know the answer.

Occasionally when I’m bored at work I pull up the stopwatch on my computer and try to stop it at exactly 1 second then 2 second etc.

But it’s literally impossible to stop it at 1 or 2 seconds on the dot. I’ve tried probably thousands of times. All the other seconds work just fine. Why is this?

Heisenberg

Git repos are based around single directories aren’t they? There isn’t a way to assign multiple directories with different parents to a single repo? I picked up a System76 laptop to keep up my *nix skills and was thinking of putting projects from different chapters of various books I’m working through into one repo and would like to avoid a .gitignore file larger than actual repo…

Submodules?

Was hoping git would follow symlinks but no such luck so I just wrote a shell script to copy the directories with actual stuff in it to the directory the repo is based on. That’s enough to get me started, I’ll worry about cleaning it up if I ever want to use it for anything.

that sounds exactly like what a git submodule does. But I guess you need another repo if you want a submodule.

Thanks! It is pretty close, but I couldn’t find a way to grab a subdirectory from a local distro that doesn’t have a URL. I’ll dig around some more but I think I’m making this too difficult and should start the project files as subdirectories of the repo I want them in instead of the repo with code samples in it I cloned from the publisher’s book site.

Yea no problem, sorry though. I’m not quite picturing what you’re trying to do - I’m sure I could do a better job if I understood better. I’m pretty good at git.

In other news, I’m gonna be tested comprehensively on my knowledge of bash in the next week. I just learned since I’ve been practicing nothing but python I’m suuuuper rusty. Gonna do all the challenges in hackerrank in bash (no easy feat).

The problem with bash is the solutions to problems are super hard to write in a readable way, and there’s 400 ways to skin the same cat. I’ve never really dived deep into the nuts and bolts of the language.

About to find out if my first programming teacher was right - you can master any language in 2 weeks if you have studied programming language fundamentals. Here we go. I’ll document goofy ass things I learn here, if anyone’s interested.

Tonight’s bashism: you can write a one liner to read all of stdin til it reaches EOF by simply writing:

stdin_array=$(cat)

had no fucking idea you could do that. I always used to just write nasty loops with read command.

Mostly, just looking for an excuse to use git…

Just found an interview request in my spam filter, make sure to check for those false positives…

Can’t say I care for this one… :worried:

2 Likes

You should use it as a case study and understand what needs to be done differently to minimize the time to being cash flow positive. First step might be to try and get a better picture of the market for your product to help with your planning.

I’ve started 3 businesses. All made at least some money. 2 had me making around $100k/year after some time (1 year in one case, about 5 years in another) and I lost money the first year in all 3. Ymmv.