• 1 Post
  • 622 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle



  • I wrote a little bit of code to tell me if or when my electricity would be cheaper if I used on demand pricing instead of flat rate. Basically anything you might use excel for could be a programming problem.

    For other hobby projects and “why Linux” it’s easier to sew things together than windows, generally speaking.

    Example:

    Every time I sit down at my PC the first thing I usually do is open a terminal: it is both my launcher and my file manager. I have several programs with TUI (terminal user interface) or text based API (which is an applied programming interface) and I keep my notes in plain text. One type of note I keep is an “atomic” note inside my zettelkasten (this is a fancy way of keeping track of ideas and the way they connect together, but you need to revisit them for it to be useful. Kinda like anki / spaced reputation I guess).

    So enough background, here’s the idea and the programming:

    • If I always open a terminal, it’s a good place to put stuff I want to see.

    • There are two things I want to see: twice a day I want to see a note, the rest of the time I want to see the 3 or 4 most important tasks on my todo list

    • I want randomized notes and I want it to be automatic.

    One of the easiest things you can do in a terminal is “echo” text. So I started by, in my terminal “rc” file (the configuration file that tells the terminal what to do when you start it) echoing my todo list as the very last step in the start process. Then it’s refinement. First don’t give me the whole list, use shell tools to show the head of the list. Now make a conditional statement that says “if there’s a file called “temp” in some folder give me the Todo list, otherwise do nothing”. Basically we follow the incremental logic train until you get the final product:

    • If no file exists, print a note (at random) and then make the file
    • If the file exists write part of the todo list
    • Every 6 hours, delete the file automatically with cron

    Neat you just programmed a lame, but useful tool.



  • Hobby 1: Ballroom dancing

    It is surprisingly difficult to get into a good dance position, especially for the standard (waltz, tango, foxtrot, quickstep, Viennese waltz) dances. Two actors walk up to each other and it’s apparent even before they touch that they have no idea WTF they are doing: they aren’t even standing up correctly.

    Hobby 2: Chess

    Smart guy walks over and absolutely beats the pants off of anyone else playing like 30 seconds after they get taught the rules or from glancing over the shoulder of someone else playing the game. It’s all “aha! Mate in 4!”.

    No way dude. It is way, way not that easy. There’s “good at chess” and there’s “GOOD at chess”. Unless you are part of a very large club or are taking lessons from someone at or above the master level, you probably don’t know anybody in the second category. Dr. House is not going to blindfold beat anyone like that.









  • Lol no. You absolutely cannot.

    You can maybe make it look nicer, but your high school diploma and street cred does not an education make.

    The neat thing about it is, if you think this way, it would be impossible to prove to you that you can’t do it yourself just as well. Without DOING it, you just don’t know how much you don’t know compared to a university faculty member. There are people who can go to the library (or Internet) and good will hunting an education, but I can basically guarantee that neither you nor anyone you know or will ever know is one of them.



  • Recipe:

    1 egg

    3/4 cup of your favorite oil

    1 medium banana

    1 pinch lemon zest

    Put oil in pan over medium high heat until oil just smokes, allow to smoke for 15 seconds, then reduce temperature to “egg making temperature”. Add egg. Burn the shit out of that innocent bastard and push it around while repeating “egg slide freely!”. Remove your egg with a crispy, brown bottom and wet, runny whites from the skillet. Reserve oil.

    Into one large coffee mug, pour your oil, add lemon zest.

    Last, throw all this in the trash with your Teflon skillet, and eat the banana.





  • I wish I knew the answer. I know one person who took that path and he is not a super bright guy and I’m not sure what value he brings… but business PhD and then teaching position in the 600k range. I did a rocket science PhD and finally took an industry job after like 6 years running a lab for less than 100k, but my advisor was around 180k with full faculty.

    400k was the salary of the university president, so… you add the rocket science faculty to the president and you get a faculty salary in the business school? It doesn’t make a lot of sense. I suppose maybe because MBA is a high demand degree? If you figure it out let me know, I’d also like to know the answer.



OSZAR »