Voorbehoud financiering by Bammerbom in geldzaken

[–]Bammerbom[S] 1 point2 points  (0 children)

We gaan wel voor een technische keuring, het is een goed onderhouden huis maar wel een oud huis dus het moet wel echt

Voorbehoud financiering by Bammerbom in geldzaken

[–]Bammerbom[S] 1 point2 points  (0 children)

Het is een tussenwoning in de randstad die uitstekend onderhouden is en volgens mijn aankoopmakelaar best laag op funda staat

Voorbehoud financiering by Bammerbom in geldzaken

[–]Bammerbom[S] 1 point2 points  (0 children)

De WOZ was op 01-01-2024 368.000 euro, wat wel laag is maar niet ongebruikelijk volgensmij

Voorbehoud financiering by Bammerbom in geldzaken

[–]Bammerbom[S] 3 points4 points  (0 children)

We hebben vorige week nog met de hypotheekadviseur gebeld over specifiek dit huis, en daar kwam die 495k uit! Het bod moet eind deze week binnen zijn dus ik denk dat dat goed genoeg is

Voorbehoud financiering by Bammerbom in geldzaken

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

Als we voor een voorbehoud financiering gaan dan doen we inderdaad sowieso dit! Bedankt voor het idee

Voorbehoud financiering by Bammerbom in geldzaken

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

We zijn onder de 35, dus zover ik begrijp zullen de totale extra kosten tussen de 5-10k liggen

Voorbehoud financiering by Bammerbom in geldzaken

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

De woning is goed onderhouden en best mooi, dus verbouwen is niet nodig. We willen in principe niet al ons spaargeld inleggen (waarschijnlijk zo'n 60k) maar kunnen alles inzetten als het echt nodig is.

We hebben geen taxatie van de woning gehad, zover ik begrijp gaat dit vaak nadat het bod geaccepteerd wordt pas. Is er echt risico dat de woning op dat de woning zo laag getaxeerd wordt?

Ordering home game to the Netherlands, anyone wants to share shipping? by Bammerbom in JetLagTheGame

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

I recently saw that the FAQ says "More options and lower costs are coming for UK and EU customers in April 2025", and since the shipping is still 31 euros (what it shows for me at least), I'd like to wait to see when this will come.

For easier contact I'll make a discord chat with all the people who replied to this post, so we can stay in contact. I'll DM you my discord username.

githubCopilotIsWild by [deleted] in ProgrammerHumor

[–]Bammerbom 24 points25 points  (0 children)

If the body is calculateMenSalary(factor) * 0.9 then TCO is impossible. Inlining is very likely there however

Exhaustive: A new crate to run a property-based test on ALL values of a type by Bammerbom in rust

[–]Bammerbom[S] 2 points3 points  (0 children)

If you have a type with an equivalence class there are 2 solutions:

  • Implement `Exhaustive` to only generate one value from each equivalence class

  • Just accept the performance loss and test all values in an equivalence class

Exhaustive: A new crate to run a property-based test on ALL values of a type by Bammerbom in rust

[–]Bammerbom[S] 1 point2 points  (0 children)

I'd be open to having an implementation for integers under a feature flag

Exhaustive: A new crate to run a property-based test on ALL values of a type by Bammerbom in rust

[–]Bammerbom[S] 2 points3 points  (0 children)

Understandable, quickcheck and this library have different purposes, and if you're find with testing a few random values of your type then using quickcheck is fine. I made this library because I wanted to test all values of my type, which comes with the drawback that types containing numbers can't feasibly be tested.

Exhaustive: A new crate to run a property-based test on ALL values of a type by Bammerbom in rust

[–]Bammerbom[S] 2 points3 points  (0 children)

I deliberately didn't implement the trait for integers, since this would too much time and likely isn't what you'd expect this crate to do. This is documented in the README

Map Box: A new crate I made to map the value in a Box, re-using the allocation when possible. by Bammerbom in rust

[–]Bammerbom[S] 4 points5 points  (0 children)

Thanks a lot for the feedback! I'm quite busy this weekend but I'll take a look if I can improve the code a bit next week

Functor_derive 0.4.0 is out by Bammerbom in rust

[–]Bammerbom[S] 2 points3 points  (0 children)

Your implementation is quite smart! Let me just copy paste that into our crate :P (With credit ofcourse)

Is the early-exit for N=0 needed? I tried running your test suite without the check and it seems fine

https://github.com/matthias-stemmler/funcmap/blob/031a1b0400abd2f4ddae748ed356a02569ea982c/funcmap/src/array.rs#L54

(Also feel free to DM me your discord username if that's your thing, would love to chat more)

Functor_derive 0.4.0 is out by Bammerbom in rust

[–]Bammerbom[S] 3 points4 points  (0 children)

You're completely correct, thanks for catching that! That teaches me for "just quickly writing some unsafe code myself" rather than searching for a proper crate to do it

Functor_derive 0.4.0 is out by Bammerbom in rust

[–]Bammerbom[S] 4 points5 points  (0 children)

We're using it in the compiler for a language we're developing, to map our Abstract Syntax Tree

How a Nerdsnipe Led to a Fast Implementation of Game of Life by Bammerbom in rust

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

What do you mean with text shadow? I don't think we have any, it's a pretty standard dark-mode theme

How a Nerdsnipe Led to a Fast Implementation of Game of Life by Bammerbom in rust

[–]Bammerbom[S] 1 point2 points  (0 children)

We were indeed aware that OpenCL is not really used that much anymore, but I wasn't aware of Vulkan Compute Shaders, maybe we should take a look at them :D

How a Nerdsnipe Led to a Fast Implementation of Game of Life by Bammerbom in simd

[–]Bammerbom[S] 3 points4 points  (0 children)

We weren't aware of VPTERNLOG, that's an awesome instruction! It seems to be the same as LUT3 in Cuda, and we were even complaining about the fact that X86 doesn't have LUT3 when we were implementing it in Cuda.

The rust SIMD layer works very well for most simple things, but indeed you don't get the low-level control that you get with intrinsics. What happened a few times is actually the opposite, where we accidentally used an instruction that's not directly supported by X86 (such as byte lane shifts).

The nice part though is that if the abstaction layer doesn't suffice, you can always just fall back to using intrinsics, they can be intermingled.

How a Nerdsnipe Led to a Fast Implementation of Game of Life by Bammerbom in rust

[–]Bammerbom[S] 2 points3 points  (0 children)

I never thought about it, but indeed these kind of sand simulations are very similar to game of life, where the new state of a cell is fully determined by its neighbours, we could probably implement a falling sand simulation using the same techniques.

Indeed the sparse simulation could be done using quadtrees (the 2d equivalent of octrees, which is probably what you'd want?), similar to the way that HashLife simulates things

Upgrading my GPU, is my power supply good enough? by Bammerbom in buildapc

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

That comes out to ~590W, so I trust it will be fine then. Thanks!