• 4 Posts
  • 83 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2024

help-circle

  • True enlightenment is realizing that variables don’t exist, it’s all just a sequence of bits in RAM that we assign meaning to as desired.

    Ascension is realizing that bits don’t exist, it’s all just trapped electrons in transistors which we imagine to be bits.

    Transcendence is realizing that transistors or code doesn’t exist, and it’s just some quarks and electrons attracted and repulsed by weird forces, vibrating and convulsing in a soup with entropy constantly rising until the heat death of the universe, of which we make futile attempts to make sense or purpose.


  • While 3D geometry is more difficult for me than 2D, I could almost immediately tell that the answer is no, there are infinitely many points H that satisfy this. The reason it’s unintuitive is that our intuition about what “perpendicular” means comes from 2D and poorly translates to 3D.

    The most intuitive explanation I can muster is this: imagine all possible planes that pass through both A and P. It should be obvious that there are infinitely many of them (I visualize it as a plane “rotating” around the AP axis). Each of these planes intersects the given plane since it passes through A. Think of the intersection line. It never passes through P (unless P is on the plane), so it is always possible to draw a perpendicular line from P to that intersection line. With one exception (when the perpendicular line falls on the A point), the point where the perpendicular falls satisfies the conditions for H. (I think all such points actually form a circle with AP’ as the diameter, where P’ is the parallel projection of P to the given plane, but I’m not 100% sure)






  • Looks great! But don’t gatekeep your own previous work as “not real photography”. You can shoot amazing pictures on your phone. Or on a digital point&shoot from the 90s. Or on a friggin gameboy camera. The “real” photography is the photons we’ve captured along the way.









  • the third is only a problem if you’re already looking for a problem.

    “Is vacation 28 days” should not be a question, it should be the minimum mandated by law. “Will you work weekends” should rarely be a question, it should be heavily regulated and only allowed for positions where it’s truly required (and never to compensate for management fuckups).

    Feels like they are both made up scenarios for rage-bait.

    Actually for both of them, the conclusion is correct. “The second they’ll get a better offer they’ll vanish” - no shit, this is how it works under capitalism. Want to keep them? Make a better offer. “The second they find someone to do the same for less pay, they’ll fire you” - no shit, this is how it works under capitalism. Want to make that harder to do? Join or organize a union, and otherwise fight for your labor rights.


  • Not least because there’s no such thing as a “compiled” or “interpreted” language.

    I’d say there is (but the line is a bit blurry). IMHO the main distinction is the presence (and prevalence) of eval semantics in the language; if it is present, then any “compiler” would have to embed itself into the generated code, thus de-facto turning it into a bundled interpreter.

    That said, the argument that interpreted languages are somehow not programming languages is stupid.


  • a mobile OS that basically eschews backwards compatibility

    I have an app built for Android 4 running on my Android 15 device. It looks ugly but it works. Of course other apps will not be so lucky, but some backwards compat is absolutely there.

    a desktop OS that can still run 30 year old applications

    Not really, Microsoft is steadily breaking old stuff. For example lot of 10-15 year old software that was doing something hardware-related would be broken now due to driver signing changes/restrictions (e.g. WinRing0 things).



  • Good for the environment? I recycle everything I can. I don’t use plastic bags or single-use cups. I avoid using heating in the winter to save on CO2 emissions (used it for 2 days this winter when my gf was sick). I stave off aircon in the summer for as long as I can to save electricity. I’m vegan (mostly because of ethical concerns but also because meat is awful for the planet in general). I avoid using my car when there’s an alternative (cycling/public transit).

    Good for me? I do at least some exercise (stretching, workout, jogging, cycling) every workday and hike on the weekend. I brush my teeth twice a day, floss weekly, and get a full dental cleaning annually, and because of this (and genetic luck I suppose) I never had any issues with my teeth (don’t have even a single filling). I don’t drink alcohol or smoke at all. I avoid caffeine and sugars when possible.

    I feel privileged to be able to form those habits, and also often blame myself that I don’t do better. I’m addicted to fat and carbohydrate-heavy foods, can’t bring myself to clean the apartment with any regularity beyond the most necessary, and can’t form a habit of regularly reading books. Sometimes I wonder how other adults manage when they have a 9-5 office job with commute times, kids, etc.




  • That’s not what I want though. I really enjoy jumping around the actual syntax tree of the code, e.g. “select the entire function body” or “select the next list element”, stuff like this. It becomes the natural way of traversing the code after a short while. Also, Emacs is still single-threaded and thus quite laggy and slow at times; however I do like it a lot and have used it for a number of years (with evil-mode), before finally jumping to my own editor and then helix.


  • Nah. I was so annoyed by how primitive editors are that I started writing my own one, that would allow me to seamlessly traverse the AST of the code, rather than being stuck on the low abstraction levels of characters, words and paragraphs. After a bunch of misery making tree-sitter work with Haskell, and using it for a while, I stumbled upon Helix. It is pretty much my idea but faster and working well.


OSZAR »