HNHacker News
TopNewBestAskShowJobs

legerdemain

3,333 karma · joined October 10, 2019

i slay at jhu dot edu (without spaces)
submissionscomments
legerdemain··on Palantir says college is no longer a reliable training ground
Tell me when they stop hiring 80% of their devs from the same 5 top CS schools.

Not "FDEs," not solution architects, not SREs, not BD/"Echos," not tech support. I get that it's a consulting org with a "boots on the ground" mentality. Tell me where their devs come from

legerdemain··on OMSCS Open Courseware
Specifically CS7210 is demanding because of its assignments. The assignments come from UW's CSE452, have very little direct connection with the course lectures, and require you to implement a Paxos-like system correctly, basically in one shot, in an environment that is very difficult to debug. So the projects turn into 60-80-hour slogs where students change parameters semi-randomly until something starts working. CS7210 shares that aspect with a number of other courses in the program.
legerdemain··on OMSCS Open Courseware
Has anyone tried the courses in the ML or core CS areas? What'd you think?
legerdemain··on All it takes is for one to work out
My point is that, at least anecdotally, certainty is rare. Most of the time, for most people, the experience is less "yes!" and more "I guess."

More widely applicable advice would be how to deal with compromise, not how to hold out for "the right one."

legerdemain··on All it takes is for one to work out
You've been trying for a long time.

What do you do if the job that makes you an offer doesn't excite you? What if the house that feels like home needs more repairs than you can afford? What if the program that accepts you has crappy funding? What if the person who chooses you has red flags?

Do you say "screw it," cross your fingers, and walk through the door that kind of sucks? Or do you keep looking as long as your resources last you?

legerdemain··on My stages of learning to be a socially normal person
You might think so, but a lot of people can tell when you're ELIZA-ing them to death, and they will learn to avoid you.

There are a lot of people on HN who want a technical manual for how to party, and a lot of them keep telling each other that the art of conversation is about attentive listening. Can you imagine a conversation between two people practicing attentive listening on each other?

legerdemain··on My stages of learning to be a socially normal person
The weird vibe people are picking up from this essay is because half the phases are about customer service.

As in, the author was working as a waiter or a coach at the time.

A waiter's job is to keep your butt in the seat, get you to order some stuff, and then leave a tip. The waiter may or may not give a shit about you as a person, but it's secondary to their job. That simulation is the creepy vibe.

I've probably never eaten at the kinds of stratospherically high-end restaurants the author writes about. I've eaten at restaurants with Michelin stars. I've never had a waiter flirt with me, daydream with me, or offer ad hoc therapy. And if I ever do, I suspect I might find the charade off-putting.

legerdemain··on My stages of learning to be a socially normal person
I eat at Chinese restaurants where my waiter is a QR code. Please pour olive oil in my lap, hold my hands, and tell me I'm special.
legerdemain··on Ask HN: Would you get a CS degree today?
OP's son programs confidently in 6 languages and develops toy compilers and custom hardware on his own. If he is "dreading the intro classes" already, imagine what two years at a typical community college will do to his momentum and enthusiasm, all to save a bit of money.
legerdemain··on Friending
The AWS GenAI Loft is real. The Web3 Soiree is real. I'm not sure which part is satire.
legerdemain··on Friending
Totally! The other day I was at the Web3 + AI soiree at the AWS GenAI Loft and met up with an awesome CTO prospect that I could pitch to a buddy's blockchain startup, we grabbed a few beers, amazing dude!...

...is this really the openness to chance that anyone (other than LinkedIn influencers) has in mind? Friendship is super flipping far from making business connections. We want people who sympathize, care, make themselves available, so we can be the same to them.

legerdemain··on The Art of Multiprocessor Programming 2nd Edition Book Club
To the OP, as a participant in one of your previous reading groups and an organizer of similar groups:

What are your goals for these reading groups? How completely are you meeting them? "Goals" in a broad sense, anywhere from "motivating myself to read more" to "building a community of experts and friends."

legerdemain··on Watching o3 model sweat over a Paul Morphy mate-in-2
You are playing white. It's your move. Describe a strategy where on your second move you declare checkmate. Your strategy can have decision branches, but no branch is longer than two moves.
legerdemain··on Intentionally Making Close Friends (2021)
Do you come here often? I haven't seen you here before! I LIKE YOUR SHOES!
legerdemain··on De-Atomization Is the Secret to Happiness (2022)
This is why I never focus on just one thing at a time. When I'm doing a standup with my team, they also see me make a sandwich on Zoom. I never just "meet up" with people. If we're meeting up, it'll be at the gym or at least on a city walk, so I can repark my car. Dinner dates are dull. I take my dates to Macy's to help me pick out shirts. Never miss an opportunity to integrate!
legerdemain··on Locks, leases, fencing tokens, FizzBee
The creator of FizzBee presented it at the most recent meeting of the SF Systems Club. The talk was some kind of meandering hybrid between presentation and tutorial and went far over time, but FizzBee itself sounds rich in features and simple to use. Its creator is pitching it as an easy-to-use verification tool for software teams in industry to document and verify the systems they're building.
legerdemain··on Ask HN: Do the founders you know personally come from wealthy backgrounds?
No, unless by "wealthy" you mean that the average student at Stanford/Berkeley/MIT doesn't come from a poor family.

My experience is primarily with Palantir. Almost all the founders I know worked together at Palantir, went into business to work on problems they first encountered at Palantir, got angel investment from wealthy early Palantir employees, and got connected to institutional funding through those wealthy Palantir investors.

legerdemain··on A UC Santa Cruz professor unearthed the oldest alphabet yet
I almost took an introductory course on archeology with Glenn Schwartz, many years ago, but dropped it after the first class. I remember having very different emotional responses to faculty members as a student. Schwartz struck me as elegant, diffident, blue-blooded, and completely disinterested in teaching a bunch of young morons who were just taking the course as a distribution requirement. I'm glad to see that he and his former students are an influential force in this area of study.
legerdemain··on Why is it so hard to buy things that work well? (2022)
In 2021, my employer was a major customer of Fivetran. Our Postgres syncs routinely broke and required time-consuming resyncs from scratch.

Dan's essay is dated 2022. It is now 2024, so maybe something has changed since then on the code path between Postgres and Fivetran to allow backtracking.

legerdemain··on A reawakening of systems programming meetups
I get that the title of the post is wildly overstated. The author mentions a couple of meetups he has organized or heard of. Calling that a "reawakening" is... well, maybe if the author specifically means the NYC tech scene.

That said, damn I wish the meetup scene came back to South Bay, or even just SF, or anywhere at all within driving distance.

I get that grad students organize a lot of mini-conferences, talk series, and forums with other grad students, but I'm not in grad school.

legerdemain··on Boys Get Everything, Except the Thing That's Most Worth Having
This is yet another editorial that rehashes cliches about "toxic masculinity" and the "loneliness epidemic." Not to say these cliches don't have a basis in reality, but let's remember that this is an editorial whose purpose is to drive sales of the guest author's book.

The author, Ruth Whippman, is a "current affairs" journalist and documentary maker. In other words, she has made a career of picking trending pop-psychology topics and writing fluff commentary on them. Her books have subtitles like "Why are we driving ourselves crazy and how can we stop?"

Having said this, one pattern in how adult men behave emerges very clearly, at least to me, living in a middle-class US suburb. Men don't have a habit of building community. Women do.

For example, my suburb and neighboring ones have subreddit communities. Those subs regularly get posts from new arrivals who have trouble finding friends.

On average, female posters mostly get responses from other women, and most of the responses are about making plans to exchange contacts, get together as a group, and try activities together.

On average, male posters get grouchy responses from other men telling them that they aren't trying hard enough or creatively enough.

Women in my area have built social organizations that reach out to female newcomers and try to pair them up with other women looking for activity partners. Men have not.

legerdemain··on Crazy Charlie's Window
One of my past employers hired the author of the post and put him in charge of our kitchens and facilities. He lasted a couple of years in that job and then quit for greener pastures. I'm not sure why he had accepted the job, and I never noticed any compounding transformative effects of his time with us.
legerdemain··on Functional ownership through fractional uniqueness
I am confused by your responses because the "reborrowing" mechanism in the Rust compiler is pretty widely discussed.

https://smallcultfollowing.com/babysteps/blog/2013/11/20/par...

https://haibane-tenshi.github.io/rust-reborrowing/

https://stackoverflow.com/questions/62960584/do-mutable-refe...

Meanwhile, you are insisting on reasoning about Rust from first principles and making lists of links to documentation that is, at best, tangentially relevant.

For example, the fact that `&T` implements Deref is not relevant here. Applying Deref::deref to a &T returns a &T. For most intents, it's a no-op.

legerdemain··on Functional ownership through fractional uniqueness
Would it be easier to convince you if I replaced String with a type that doesn't implement Deref or DerefMut? I do wish you had tried it yourself, because I hope your goal is to learn something about Rust and not just to argue down someone on the Internet.

    fn main() {
        #[derive(Debug)]
        struct X(i32);
    
        let mut s = X(1); // create value
      
        let mut1: &mut _ = &mut s; // create a ref mut
        *mut1 = X(2); // write through mut1
        println!("using mut1: {mut1:?}"); // print mut1
      
        let mut2: &mut _ = &mut *mut1; // create a second ref mut
        *mut2 = X(3); // write through mut2
        println!("using mut2: {mut2:?}"); // print mut2
        
        *mut1 = X(4); // write through mut1 again
        println!("using mut1: {mut1:?}"); // print mut1
    }
legerdemain··on Functional ownership through fractional uniqueness
I don't understand what you're saying. Are you saying that "lazy borrowing" is how the compiler works, or that it's just how you mentally model Rust for your own convenience? There is no "lazy borrowing" in the Rust compiler, as far as I know.

You can create a mutable reference `mut1`, mutate through it, create a new mutable reference `mut2`, mutate through it, then mutate through `mut1` again. Here is an example to illustrate:

  fn main() {
    let mut s = String::from("1"); // create value
  
    let mut1: &mut _ = &mut s; // create a ref mut
    *mut1 = String::from("2"); // write through mut1
    println!("using mut1: {mut1}"); // print mut1
  
    let mut2: &mut _ = &mut *mut1; // create a second ref mut
    *mut2 = String::from("3"); // write through mut2
    println!("using mut2: {mut2}"); // print mut2
    
    *mut1 = String::from("4"); // write through mut1 again
    println!("using mut1: {mut1}"); // print mut1
  }
Lifetime analysis can infer shorter lifetimes for unused refs. But creating refs in the wrong order matters even if you never use them, and not all orders are valid Rust programs. Here's a very small example that doesn't compile:

  fn main() {
    let mut s = String::from("1");

    let mut1: &mut _ = &mut s;
    let mut2: &mut _ = &mut s; // never used!
  
    println!("Using mut1: {mut1}");
  }
legerdemain··on Functional ownership through fractional uniqueness
You can 100% have multiple mutable references to the same variable in the same scope, without the first one getting dropped. For example:

   fn main() {
      let mut s = String::from("s");
      let mut1: &mut _ = &mut s;
      let mut2: &mut _ = &mut *mut1;
      *mut2 = String::from("t");
      println!("using mut2: {mut2}");
      println!("using mut1: {mut1}");
   }
Some people use a mental model of reference lifetimes that allows "discontinuous lifetimes" where the valid region has holes. I don't think that's how the compiler models reborrowing, and even under that model, `mut1` is created before `mut2` and gets dropped after `mut2`.
legerdemain··on Show HN: Creating a Snake game clone with Rust/Bevy
Somewhat tangential, but RustConf last year had a talk[1] about a guy picking up Rust to get better times at Battle Snake[2].

[1] https://www.youtube.com/watch?v=-I1BfSpoWM0

[2] https://play.battlesnake.com/

legerdemain··on Andrej Karpathy Departs OpenAI
Bob McGrew from Palantir is OpenAI's research chief? That's one hell of a move up for him!
legerdemain··on ML Engineering Online Book
I see, so it's limited to HPC contexts? I'm just surprised that as a data engineer, I've never seen it in real life.
legerdemain··on ML Engineering Online Book
How widespread is Slurm?
← PreviousPage 2 of 34Next →