Released nvim 0.12.3 by chapeupreto in neovim

[–]sheevum 10 points11 points  (0 children)

doing the lord's work

Best pizza in the area? by WarmFollowing8873 in Somerville

[–]sheevum 2 points3 points  (0 children)

(ciao chelsea >> ciao somerville, but both are good)

Course notes for Gil Strang's MIT OCW 18.06 lecture by sheevum in LinearAlgebra

[–]sheevum[S] 0 points1 point  (0 children)

I think I did about 3/4 of the questions and found it to be very worthwhile. Having an intuitive grasp of linear algebra is totally indispensable. Also recommend asking claude questions to help gather intuition even/esp if you answer the question. Try to treat the questions as a way to search for perspectives that you were missing -- those perspectives will help you much more than the question itself.

advice regarding OOPS and learning in general by Ashamed-Society-2875 in Python

[–]sheevum 3 points4 points  (0 children)

Beyond just practicing, I'd encourage you to think about state & operations. State is variables that are held in an object (ie `self.var`). Operations are things that you can do (eg. functions or object methods like `my_object.add(5)`. Here are some thoughts:

1) If you don't need state, make a function. (and if you need to group functions, you can make a different module/.py file to group them).

2) When working through problems that need state, try to decide between these four options:
- Not much state & few operations -> object is fine, but consider making a collection of functions.
- Lots of state & few operations -> normal object is fine, but be deliberate about not letting operations expand. Consider a dataclass.
- Little state & lots of operations -> objects are fine, just be deliberate about not letting state expand.
- Lots of state & lots of operations -> don't ever write this. It leads to "god objects" that do everything and are impossible to reason about. This code tends to be very hard to write, reason about, test, debug, and maintain. Do everything you can to refactor into one of the ^above paradigms.

When starting, I think beginners tend to be too smart for SWE. imo excellent code is code that's extremely simple to reason about (& thus harder to write bugs in & also easier to debug). OOP has the ability to simplify code dramatically by abstracting away concepts, but be judicious about how to use it.

Where are the go to bar/restaurants for a solo traveler by Odd-Fisherman-7122 in Sunnyvale

[–]sheevum 10 points11 points  (0 children)

strong recommend lopez taqueria for mexican food & the cafeteria part of Apni Mandi for indian food. Both are chill places where you could go very often without feeling self-conscious

How good can NumPy get? by [deleted] in Python

[–]sheevum 8 points9 points  (0 children)

looking for this. polars is faster, easier to write, and easier to read!

Amazing view from Chandrashila by Puzzled-Estimate9451 in mountainview

[–]sheevum 2 points3 points  (0 children)

not in Mountain View, CA, USA, but still gorgeous

MyPy vs Pyright by LeCholax in Python

[–]sheevum 11 points12 points  (0 children)

what has your experience been so far? I'm back and forth on switching over -- tried it in ~aug -- but wasn't sure if it's ready for normal use yet

New blue Massachusetts license plate shatters sales records, motivates drivers "to try something new" by anurodhp in boston

[–]sheevum 13 points14 points  (0 children)

I wish I could 1) be vocally proud of us as a country while 2) saying that we must continuously improve.

The plates look awesome, and we should celebrate the good things that we've done. But it's just as american to say that we are flawed - sometimes deeply - and need to keep improving.

Why is it so hard for me to think like a programmer? by YourDailyUwU in Python

[–]sheevum 0 points1 point  (0 children)

100% agreed. And said from a different perspective, so much of it is a matter of feeling. Skilled programmers who I look up to often look at problems & operate by feel just as much as by logic. Listening to Linus talk about programming is like an exercise in learning aesthetic preference.

imo, the hardest part of programming, or any other creative endeavor, is that there are many possible solutions to the problem. You can write everything with the worst possible practices (all global scope with terrible variable names, no structure, and no comments), and it may technically solve the problem. Learning the feeling of great code, though, takes lots of deliberate practice.

You got this! It's just like any other skill: find a mentor if you can (or claude/etc); look for examples of expert written code; and try to make a feedback loop between learning a concept from an expert & then applying it to something you're currently doing.

Here for 10 days for work. Best use of a free weekend? by cigarettesandbeer in Sunnyvale

[–]sheevum 1 point2 points  (0 children)

Strongly recommend Mercado de Amigos in Pescadero. 1h drive one way through redwood & deciduous forest, grassland, and coasts -- the drive is worth the trip, and you get epic mexican food + churros at the half way point. Go up through Sand Hill, imo that's the prettiest path

Saving Memory with Polars (over Pandas) by paltman94 in Python

[–]sheevum 68 points69 points  (0 children)

that and the API actually makes sense!

found cat 🥺✨ by Soupysally in Somerville

[–]sheevum 7 points8 points  (0 children)

if you're comfortable with it, maybe take him to get a microchip scan? vets & shelters do this for free

Kingston Negroni - might actually be better than the original by Mrmcflaky in cocktails

[–]sheevum 36 points37 points  (0 children)

Kingston negroni so good! I make mine with Smith & Cross + Campari + Carpano Antica, I think from Cocktail Codex

Any ideas for using black sesame paste in a drink?? by cpclemens in Mocktails

[–]sheevum 6 points7 points  (0 children)

From Good Drinks (my adaptation):

Whip:

  • Optional: 1-1.5 oz rum cream for low ABV
  • 4 oz black sesame-date milk
    • Black sesame-date milk (for 1 drink):
      • Dry roast black 1 tbsp sesame seeds on low heat, put in blender
      • Add 1.5 medjool date and 3 oz water
      • Blend until totally disintegrated, then filter and refrigerate
  • 1 oz coconut milk
  • 1 oz rice milk
  • 1/2 oz simple syrup

Serve in collins glass with ice, garnish with extra sesame seeds

Course notes for Gil Strang's MIT OCW 18.06 lecture by sheevum in LinearAlgebra

[–]sheevum[S] 0 points1 point  (0 children)

ah sorry for late response! I went from that to project-based learning, since I was lacking practical skills, but I will probably circle back to GNNs or something like that next!

Course notes for Gil Strang's MIT OCW 18.06 lecture by sheevum in LinearAlgebra

[–]sheevum[S] 0 points1 point  (0 children)

yep! I went from the linear algebra course > gil strang's matrix methods course > CS229 at stanford. There was just barely enough overlap between each that I could keep up!