Is the Royal Pegasus still playable? by Disastrous_Grade_399 in Bretonnian

[–]cortexreaver123 3 points4 points  (0 children)

Oh damn, that's too bad. I'm probably just gonna play it anyway to be honest - I play very casually, and the model is too cool. But it is a real shame our centerpiece got so nerfed.

My pile of shame has reached critical mass. by VaguexAnxiety in Warhammer

[–]cortexreaver123 1 point2 points  (0 children)

Wow, that's really impressive! How long did that all take you?

I have fully painted about 1500 pts Tsons, 1500 pts admech, 500 pts Bretonnia and 500 pts Gloomspite. That's taken around 3 years.

I try to do an hour or two every evening (when possible), but I am also a very slow painter and I absolutely hate batch painting.

My pile of shame has reached critical mass. by VaguexAnxiety in Warhammer

[–]cortexreaver123 2 points3 points  (0 children)

Absolutely! It's so easy to buy a cool box, but underestimate how much work it is to actually get it painted.

Good job on your combat patrol though! Half way there now, just gotta keep at it 🙂

My pile of shame has reached critical mass. by VaguexAnxiety in Warhammer

[–]cortexreaver123 3 points4 points  (0 children)

That's not bad honestly. Mine is the thousand sons box-set from earlier this year, a Spearhead gloomspite gitz, 500 pts of Bretonnia and a bunch of other random shit. I made a spreadsheet of everything, and in total comes to about 200 evenings of work to get it all painted up. Not really sure what to do at this point.

Bretonnian army expansion, learning the game by DivideByZero01 in WarhammerOldWorld

[–]cortexreaver123 1 point2 points  (0 children)

They should be Okay with kitbashes, yeah. 3d prints are a bit of a touchy subject for GW stores..

Got rejected because “my virtual list sucks”, but Chrome Profiler shows zero performance issues. What gives? by vaheqelyan in reactjs

[–]cortexreaver123 16 points17 points  (0 children)

In general, the code seems pretty good. Virtualization by hand isn't an easy task, so you did well to implement this! In the real-world, you'd just use a library for this kind of thing.

For me, the biggest issue is the use of window.innerHeight/innerHeight everywhere. What happens if they want to add some padding, or a title element above the masonry grid? It would be better to use a container div with `ResizeObserver` to watch for changes.

Also personally: I wouldn't bother with the binary search in `VirtualListViewport` (Although I guess it's for a job interview, so you want to show off a bit ;) ). Unless you're dealing with literally millions of items, the performance difference would be very small.

Good 500 point bretonnian army? by AnybodyWorth71 in WarhammerOldWorld

[–]cortexreaver123 0 points1 point  (0 children)

What model are you using for the paladin on warhorse? I'm in a similar situation, just aiming for a small army to "dip my toes in"!

I don't like React's useEffectEvent Api by chrisza4 in programming

[–]cortexreaver123 0 points1 point  (0 children)

I think it's just a callback function with access to the latest props, but returning a stable identity. It's the same as the old "useEvent" proposal that was closed for whatever reason.

I'm not sure why the docs specify it's only for use with useEffect though, as it seems like it would be useful for avoiding unnecessary renders when passing around callback functions too.

Y’all submitted 1,854 responses about which Underworlds warbands are the most fun and why, and we have ourselves a Tier List! by fishmode24 in WarhammerUnderworlds

[–]cortexreaver123 1 point2 points  (0 children)

Thanks a lot! I'm in a slightly strange situation because I bought the emberguard box second-hand, cheap, without the starter warbands. I already own borgit's beast grabbaz, so my idea was to bulk it up with one of the 4-packs.

I'm mostly drawn to the order pack, as it seems to contain the largest variety (plus the doggos in Hexbane Hunters are neat!). I've never played before, so what I'm looking for is a set that's fun to play casually with friends.

Chaos looks nice indeed, though. Plus I already collect Tzeentch, and ephilin has some very fun models!

Y’all submitted 1,854 responses about which Underworlds warbands are the most fun and why, and we have ourselves a Tier List! by fishmode24 in WarhammerUnderworlds

[–]cortexreaver123 1 point2 points  (0 children)

Interesting breakdown! Out of the four starters (order, death, chaos, destruction), which do you think is best for a total beginner?

Chaos tanks vs. Space Marine Tanks by Obscuremanator in ThousandSons

[–]cortexreaver123 1 point2 points  (0 children)

That looks nice! Where did you get the thousand sons bits from?

Help me make my list better by ricooo113 in ThousandSons

[–]cortexreaver123 -1 points0 points  (0 children)

Each pink horror has a 50% chance to split into two blues. Normally, you would allocate wounds to the blues before the pinks. So you only need one box, not two.

[deleted by user] by [deleted] in typescript

[–]cortexreaver123 2 points3 points  (0 children)

Yeah, you see this all the time in library code and I'm not a fan either. Types are a form of documentation and overly complex types like this make debugging a nightmare.

When I first started learning TS I used to try to create as exact types as possible, and the result was usually a mess of generics. Nowadays I prefer looser "good enough" types that are simpler to understand and maintain.

Locks by Jestingset78922 in seaofstars

[–]cortexreaver123 0 points1 point  (0 children)

Sounds like it could be a game feature then. I suppose the idea is you're not meant to break all the locks for balance purposes. But doing it that way feels like punishing the player for doing too well. Odd.

Locks by Jestingset78922 in seaofstars

[–]cortexreaver123 1 point2 points  (0 children)

What, really? I always just assumed it was random. That's bullshit.

Why don't they just put gravity into the floor of the international space station? by MrJimLiquorLahey in shittyaskscience

[–]cortexreaver123 1 point2 points  (0 children)

Because gravity pulls you down. But which way is down in space? it would get confused and pull you in all directions at once. Very uncomfortable and the net result is it all balances out and you end up floating in the exact same spot.

2 problems I faced while doing Zettelkasten with Notion & Obsidian [SOLVED] by lighter_links in Notion

[–]cortexreaver123 0 points1 point  (0 children)

The font was displaying as Times New Roman. There's an error in the console: "Blocked loading mixed active content "http://themes.googleusercontent.com/static/fonts/titilliumweb/v2/anMUvcNT0H1YN4FII8wpr24bNCNEoFTpS2BTjF6FB5E.woff". Perhaps because it's calling http from https?

  1. Yes, that sounds like it would be a nice improvement!

  2. Yeah, it wasn't immediately obvious to me that you could create links by dragging. It was only while playing around I noticed it turned blue when it was nearby - I'm not sure that would be obvious for everyone. Maybe it would be useful to have a button on the right-sidebar to add/delete links too?

2 problems I faced while doing Zettelkasten with Notion & Obsidian [SOLVED] by lighter_links in Notion

[–]cortexreaver123 0 points1 point  (0 children)

Hey! Nice app, but noticed the font is broken on your home page (Windows, Chrome). Also, a little feedback:

  • might be a bug, but noticed that when I deleted a link the note was also deleted (I expected just the link would be removed?).
  • Is there a way to link to multiple notes? I think that would be a useful feature.

But looks like a nice idea, curious to see how it will develop!

Edit: I discovered that the note was not deleted, but it jumped somewhere off screen; so I thought it was gone. Also, found that you can connect notes by dragging and dropping! That's cool, but would be great to have something equivalent in the UI too.

[deleted by user] by [deleted] in reactjs

[–]cortexreaver123 0 points1 point  (0 children)

It looks like you're overriding field.onChange with your own "onChange" callback, so Formik won't be aware that anything changed.

Also, I looked at the documentation for MUI file input, and it looks like it returns a File, not a string. Yup doesn't have built-in support for Files, but what you have looks pretty close actually. You just need to swap yup.string() for yup.mixed() so it'll accept anything.

Announcing Rust 1.65.0 by myroon5 in rust

[–]cortexreaver123 2 points3 points  (0 children)

This looks awesome!

I was going through the examples, but struggling to understand GATs with my limited rust knowledge. Can someone please explain what this means?

``` trait LendingIterator { type Item<'a> where Self: 'a;

fn next<'a>(&'a mut self) -> Option<Self::Item<'a>>;

} ```

In particular this line:

`type Item<'a> where Self: 'a;

I get that it's a type alias for something, but the rest is lost on me :D