HNHacker News
TopNewBestAskShowJobs

2c2c2c

195 karma · joined July 19, 2021

submissionscomments
2c2c2c··on Burning Man death rates – A short lesson in statistics
a good hint is someone whining about the woke mind virus at an event that is 60/40 dem/repub with a median age of 45 by census
2c2c2c··on California farmers are struggling to sell grapes as demand for wine drops
NA guinness tastes the same
2c2c2c··on Rewrite Bun in Rust has been merged
notably anthropic on a multibillion revenue product
2c2c2c··on ADHD drug treatment and risk of negative events and outcomes
Curious if anyone has gone through the process of an adult adhd diagnosis at Kaiser SF.

Through my attempts, I've been told they don't really do adult adhd diagnoses without documentation of issues as a kid. I was recommended Wellbutrin to deal with symptoms in 2017. Got onto adderall when I moved health insurance in 2021. Back to Kaiser in 2024, I was routed to the same psychiatrist who once again wouldn't budge on adderall and once again recommended Welbutrin.

I used an online clinic to get my assessment (which I understand isn't taken seriously) which is what she cited. I asked what aspect of the assessment documentation did she think left me unqualified and she cited marijuana use in 2016. I asked her how she squares the fact that I'm an adult professional that makes comparable money to her, I have experience using both wellbutrin and adderall and see the former doing nothing and the latter helping, there's hundreds of times more evidence for adderall efficacy vs the flakey data on wellbutrin... She responded with something like: "I believe in my heart of hearts that what I am doing is right".

I thought the entire situation was kind of insane. Further research into the person makes me think they're a bit of a loon.

2c2c2c··on Women dating safety app 'Tea' breached, users' IDs posted to 4chan
this app is replicating a set of women only facebook groups. there's one for every major US city. it's sort of an if you know you know situation.

the vast majority of posts are speculation on someone being douchey or a cheater. women in their twenties seem to really enjoy browsing through the gossip.

2c2c2c··on Denuvo Analysis
>"The wrong game"? What about the game they want to play..? the fleeting circumstances that impact a user's ability to play a particular title don't outweigh the hundreds of thousands of dollars of theft. your examples don't even make sense

>Or what if they want to play the game they bought on different computers they own? this is not an issue with steam/denuvo

>Or what if they're troubleshooting something? what?

>What about when I wanna play the game again in 10 years and your activation servers are down? denuvo style drm isn't intended to be permanently used on a game. eventually the cost of licensing per year exceeds the extra revenue (usually after one year). You don't even understand what you're talking about

2c2c2c··on Denuvo Analysis
I love that the only example of inconvenience presented in this thread is that a person might open the wrong game while on a steam deck while possibly not having internet while on a plane. The agony!

I was right there with you with this opinion back in the day. Distribution was terrible, people didn't have near 24-7 access to internet. The times have changed. You're also not 11 years old anymore. You can afford to pay your peers in your industry.

2c2c2c··on Denuvo Analysis
Can't say I was sold with the target market mostly because the sales problem becomes orders of magnitude harder

My thought regarding indie games were successful ones though. Something like Celeste or Balatro.

2c2c2c··on Denuvo Analysis
years ago, a friend of mine built something functionally equivalent to Denuvo in his spare time over the span of a few years. I think his original idea was "DRM for the little guy", recognizing that indie games probably lose massive revenue from initial release piracy.

He had no idea how to sell it. After it sitting around for awhile, I tried pitching the technology to few friends in VC, who had absolutely no idea what I was talking about.

It bothered me for a long time to see such a culmination of talent and effort get 0 reward for it. I've wondered if such technology would be interesting to some large publisher to just buy outright, bringing their anti-piracy in-house rather than relying on Denuvo. Any ideas/help appreciated :)

2c2c2c··on Spaced repetition systems have gotten better
> Algorithms and data structures.

how do you frame these cards? I've always assumed something like this would be too information dense to be useful

2c2c2c··on Retro Boy: simple Game Boy emulator written in Rust, can be played on the web
i combed through quite a few hobbyist gb emulators while writing mine and found audio to be pretty rarely finished or finished without issues. not sure if it's the same for NES
2c2c2c··on MacBook Air M4
I thought this too but I think the amd mobile series chips have mostly caught up
2c2c2c··on Tariffs result in 10% laptop price hike in U.S. says Acer CEO
so the case? maybe the fans?
2c2c2c··on Learning fast and accurate absolute pitch judgment in adulthood
i had media queries set up and they seemed to show up as working in devtools simulator. but trying on my actual iphone14 pro max doesnt seem to work. devtools seems to imply that an iphones resolution is much lower than the actual resolution

the layout is also tough to reconcile on phone. if you enable a large note range and keep a true piano layout it will not fit on phone. my plan was to break each octave into a row. not very satisfying visually

2c2c2c··on Learning fast and accurate absolute pitch judgment in adulthood
I am using midi and open source instrument packages, so this is all handleable. There's a few instrument options to choose from in the top right settings.

Will probably add a "randomize instrument used per round" setting or something to really dial it in. I added a randomize velocity option but didn't test it much

2c2c2c··on Learning fast and accurate absolute pitch judgment in adulthood
i made https://perfectpitch.study a week or so ago. i am old and musically untrained and wanted to see if rote practice makes a difference (it clearly does).

most of the sites of this type i found annoying as you can't just use a midi keyboard, so you just get RSI clicking around for 10 minutes.

I tried getting adsense on it, but they seem to have vague content requirements. Apparently tools don't count as real websites :-(. I couldn't even fool it with fake content. what's the best banner ad company to use in this situation?

2c2c2c··on Fruit of the Poisonous Llama? (2023)
look into how it works for music production. nonsense top down
2c2c2c··on Spaced repetition can allow for infinite recall (2022)
it's doable I guess. I think it's more productive to learn a concept and be able to derive everything about the concept from first principles instead though
2c2c2c··on Fruit of the Poisonous Llama? (2023)
watching society 180 and start simping for copyright law is so depressing
2c2c2c··on Meta’s Hyperscale Infrastructure: Overview and Insights
incumbent networks don't really lose. they saw potential blood in the water at the time with the rumblings of a mass exodus and made an excellent attempt at capitalizing though.

threads as a product was DOA when that didn't work. you need a network of interesting important people for it to be useful. when the migration didn't happen, you ended up with a bunch of instagram meme influencers reposting their content across two apps instead

I think their strategy combined with an open offer exclusivity bonus could have given them the stickiness. up front 5k, 10k, 15k, etc to a twitter user that matches their follower of at least 25k, 50k, 75k, etc count on threads and agrees to exclusively post there for a year. people weren't getting paid on twitter so this would have been alluring

2c2c2c··on Zig Guide
problem is that the language started hitting its stride and getting attention while the core team is on a 2 year side quest of rewriting the compiler + incremental compilation
2c2c2c··on Spaced repetition can allow for infinite recall (2022)
it's a pretty narrow set of people that want or need to be able to memorize and recall a bunch of facts as efficiently as possible. mostly med school students and language learners, where this stuff obviously works.
2c2c2c··on In Zig, what's a writer?
iirc there's multiple idioms that are used in different cases. i recall a nice github that laid them all out with use cases but I can't find it
2c2c2c··on In Zig, what's a writer?
somethign like this I think. i only dabble in zig/systems stuff so there might be better/more idiomatic ways to write parts

  const std = @import("std");
  
  // base struct
  const Animal = struct {
      // points to the derived struct
      ctx: *anyopaque,
      // points to the vtable of the concrete type
      vtable: *const VTable,
  
      // the vtable interface derived struct must implement
      const VTable = struct {
          make_noise: *const fn (ctx: *anyopaque, loudness: u32) anyerror!void,
      };
  
      // call the derived struct's implementation
      pub fn make_noise(animal: Animal, loudness: u32) anyerror!void {
          return animal.vtable.make_noise(animal.ctx, loudness);
      }
  };
  
  const Dog = struct {
      // extra data
      weight: u32,
  
      // implement the interface
      const vtable = Animal.VTable{
          .make_noise = &make_noise,
      };
  
      pub fn make_noise(ctx: *anyopaque, loudness: u32) anyerror!void {
          const dog: *Dog = @alignCast(@ptrCast(ctx));
          std.debug.print("woof {} {}\n", .{ dog.weight, loudness });
      }
  
      // helper to convert to the base struct
      pub fn _animal(self: *Dog) Animal {
          return Animal{
              .ctx = @ptrCast(self),
              .vtable = &vtable,
          };
      }
  };
  
  const Cat = struct {
      weight: u32,
  
      const vtable = Animal.VTable{
          .make_noise = &make_noise,
      };
  
      pub fn _animal(self: *Cat) Animal {
          return Animal{
              .ctx = @ptrCast(self),
              .vtable = &vtable,
          };
      }
  
      pub fn make_noise(ctx: *anyopaque, loudness: u32) anyerror!void {
          const cat: *Cat = @alignCast(@ptrCast(ctx));
          std.debug.print("meow {} {}\n", .{ cat.weight, loudness });
      }
  };
  
  pub fn main() !void {
      var gpa = std.heap.GeneralPurposeAllocator(.{}){};
      const alloc = gpa.allocator();
  
      // list of base structs
      var animal_list = std.ArrayList(Animal).init(alloc);
      defer {
          for (animal_list.items) |animal| {
              if (animal.vtable == &Dog.vtable) {
                  const dog: *Dog = @alignCast(@ptrCast(animal.ctx));
                  alloc.destroy(dog);
              } else if (animal.vtable == &Cat.vtable) {
                  const cat: *Cat = @alignCast(@ptrCast(animal.ctx));
                  alloc.destroy(cat);
              }
          }
          animal_list.deinit();
      }
  
      for (0..20) |i| {
          if (i % 2 == 0) {
              var dog = try alloc.create(Dog);
              dog.* = Dog{ .weight = @intCast(i) };
              try animal_list.append(dog._animal());
          } else {
              var cat = try alloc.create(Cat);
              cat.* = Cat{ .weight = @intCast(i) };
              try animal_list.append(cat._animal());
          }
      }
  
      // meows and woofs here
      for (animal_list.items) |animal| {
          try animal.make_noise(10);
      }
  }
ive written a couple and still find them mindbendy
2c2c2c··on Vim Roadmap 2025
humble request to make marks for the number key registers global marks

they're global marks in vim. no one uses them there because those registers are reused for clipboard history

the vscode extension doesn't implement registers this way so they're safe to use. i imagine zed's implementation is similar

2c2c2c··on C++ main function doesn't need return but has int return type
no idea why it was done, but iirc people still wrote it until gurus started emphasizing that you shouldn't around c++11. around that time there was a strong push to differentiate code from looking like "C with classes"
2c2c2c··on Reverse engineering Call of Duty anti-cheat
would make sense to reuse warden for Activision IP post merge
2c2c2c··on TikTok set to be banned in the US after losing appeal
> But Instagram also actively censors criticism of Israel

I have friends working for nonprofits in this space, and I can assure you the 25 stories a day they blast out are not being censored

2c2c2c··on Intel gets up to $7.9B award for U.S. chip-plant construction
there's an obvious national security angle to this
2c2c2c··on SICP: The only computer science book worth reading twice? (2010)
i thought berkeley was using a modified version of the book using python a few years back
Page 1 of 4Next →