guydoingthings
u/guydoingthings
Location: Denver, CO
Bug one:
- Size: about a grain of rice
- This guy is was hanging out in full sun on the top of a Thai Chili plant. Didn't really care when I blew on him.
Bug two:
- Size: very very tiny - looked random speck of organic matter until I saw it moving around
- Hanging out on the underside of a basil plant. You can see a hole in the leaf that I suspect this dude ate.
Hi all, I'm working through CTCI and am having difficulty understanding the time complexity of an algorithm I wrote as a solution to problem 3.5.
The problem is: "Write a program to sort a stack such that the smallest items are on top. You may use one additional stack but no other data structures."
The solution I came up with involves comparing the top two nodes of the stack and pushing them to a new temporary stack conditionally. Every time the recursive function is called this condition is reversed. E.g. on pass 1 the greater of the two values is pushed, on pass lesser of the two values.
An example:
| Pass One | Pass Two | Pass Three | Pass Four |
|---|
Hi meal preppers! I hope this doesn't break any community rules (I couldn't find them), but I made a simple online tool to generate salad ideas.
You can view it at https://www.salad-generator.com
I was inspired when I was eating a salad at a restaurant that had a couple of grains, some Mediterranean veggies, and a simple oil and vinegar dressing. I thought to myself, "I could make something that generates salads like this for me." As a meal prepper I find that a lot of the time I'll make the same things every week because it's a whole lot easier than finding recipes that are easy to batch make, etc. And seeing how salad-in-a-jar is such a popular meal I'm
Title. Bought this guy from Microcenter and about once per hour the screen will turn off for a few seconds.
I'm pretty sure the issue isn't my GPU since my secondary monitor stays on and functional. I can still hear sound coming from my applications. Should I return the monitor to the store for a replacement?
Otherwise, if anyone is thinking about picking this monitor up I really like it so far. A little bit of ghosting visible when moving the mouse around, not noticeable while in games though. The thin bevel is nice too.
Hey guys! I recently moved to Denver for a change of pace and am looking for a DnD 5e game. Ideally I would like to find a group that takes the game seriously enough to invest in characters, care about decisions, etc., but also one that isn't afraid to make jokes, laugh, or break the fourth wall.
I'd prefer to start a new game or recently started one instead of jumping into the middle of a campaign, but really I just wanna play some DnD. Hit me up if you've got something going!
Hey guys, I have a dog that has a few issues including barking at random noises, pulling on leash, running out the door, and not paying attention to me even in moderately stimulating environments. I'm having a very stressful time with him recently and have even considered rehoming him as a result. It seems like nothing I try motivates him.
I already tried a trainer once and had terrible results. The trainer encouraged the use of pinch collars, spray bottles, and other punishing techniques that made me uncomfortable. I ended up not finishing all of the sessions that I paid for because of this. Since then I've been lurking here and trying a lot of the resources recommended (When Pigs Fly: tra
I have a "headstrong" dog, about 1.5 years old who just doesn't seem to want to stay next to me on leash.
Following the typical strategy, I click and treat when he is next to me, but after receiving the treat he immediately starts drifting ahead before I have the chance to click again to reinforce the behavior. This leads to me stopping, asking him to come to my side, and then treating when he does. He then stays next to me while we stay still but as soon as I move my foot he immediately starts drifting again.
I have going and sniffing / peeing on things on cue already. If he pulls at all we stop moving until he comes back to my side.
I just can't seem to get a handle on him drifting away
I know that the best practice is to learn what I need to at the moment to complete my current project, but lately I've been feeling overwhelmed just thinking about the amount of knowledge I don't even have yet.
There just aren't enough hours in a day to contribute to open source, work on personal projects, maintain a full time job, advance my career, and keep learning new technologies and paradigms.
How do the people who seem to have endless time and energy do it?
I've been in a huge productivity kick lately and now I've found that the biggest thing holding me back from making the most out of the last few hours of my day is mental fatigue. Like training at the gym, will this fatigue lessen the more I exert myself?

Hey guys! Just wanted to share my story here.
I've been learning web development through FCC since May this year. I was by no means a perfect student. As a matter of fact there were weeks when I didn't code at all. The important thing though is that I kept going even after taking breaks. Even though there was a voice in my head telling me that I would never be good enough to be a professional, I kept learning because becoming a developer was my goal.
After finishing the front end certificate in October I began the back end certificate and learned the basics as well as completed a few of the projects. I was getting tired though, and wanted to actually get myself out there and start trying t
