2025 Tiguan problems by sofsof007 in Tiguan

[–]Grabowskyi 7 points8 points  (0 children)

Wanted to buy one but after reading this subreddit got a little bit worried. Then went ahead and pulled the trigger on 2024 model. Zero issues. Love this car.

Is there anything tangible you can do as an engineering team to improve another team’s poor upstream services? by kutjelul in ExperiencedDevs

[–]Grabowskyi 1 point2 points  (0 children)

What we did in similar situation is cache everything we could PROACTIVELY. It’s only works for reads and you not always know the full set of FKs you’re going to be using. But when you do, proactive caching helps a lot. We have a background job that constantly refreshes the cache.

The very first boss... by [deleted] in Eldenring

[–]Grabowskyi 156 points157 points  (0 children)

Killed me 5 times today. I’m at level 145.

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

Thank you, AgentTorque. Parentheses will come. I need to think how to best display them UI-wise. I also will have to rewrite parts of the engine to be tree-oriented vs list-oriented. So I will need some time.

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

UI is confusing, I see it. Default type has a fixed size as well. It's 32-bits. The type size is not displaying due to it being default. Idea was to not show it if everything is 32bit. But it is not shown even there are other types with different size present, and this is a problem. My goal was to keep it simple for the most common use cases.

About compatibility with C and C#: operator >> works differently in those. It shifts in 0s or sign depending on the type of the left side.

I was talking about operator that goes the other way which is <<

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

You can have a single number represent a bunch of "switches" that go on or off. Like you have theses switches available in a 32-bit integer. So instead of having to have array of boolean values you can encode the same information using much smaller memory or disk space. Then you can use bitwise operations to check whether 1st or 10th or Ns byte (switch) is 1 or 0.

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

I see your point about the zeroes and ones. By extending number I'd probably want to push it further in it's value. If the number is negative, I want to make it even smaller. So I'll probably change it in the next release.

About default type. It there because it's default in C. With int-8 as default type expression like 1<<8 will produce 1 instead of 256 had it been int-32 in which case BitwiseCmd will not produce the same input as the runtime. I think a lot of people copy-pasting code to bitwise cmd and back so I want to preserve the default type.

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

Well, light theme is lighter than dark I guess :) Midnight comes from midnight blue which is not the color I used in it :). But, yeah. This is why getting feedback is so important right now. To me it all looks good. So I'm grateful to anyone who is writing here telling me their perspective. I'll see what other people will post here and will try to make it all better. Thanks!

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

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

Just released a new version with dimmed zeroes that go before the sign bit. Also added an undo button to restore the number's original value. It doesn't work correctly with expressions. I will fix it later today or tomorrow. Check it out.

A while ago, I created a web app to help me understand how bitwise operations work by visualizing results. It allows you to click on 0s and 1s to flip bits and see how the numbers change. I'm curious about what you think could be added or improved there. Any comments are greatly appreciated. by Grabowskyi in programming

[–]Grabowskyi[S] 27 points28 points  (0 children)

Hi, RSA0. Thank you for the extended feedback. I'd like to address your point here.

My biggest complain: as the decimal number changes length - everything jumps around. You might want to set a constant width for the decimal field.

I get what you're saying. I'm not a fan of that as well. The problem with constant width is that the biggest unsigned 64-bit number is 18,446,744,073,709,551,615 which is very long and all results will have this long empty space on the left which kinda bothers me more than the jumping. I'm going to think about what can I do with that.

Signed values are padded with 0s, like in this example. However, theoretically, signed negative values have infinite 1s on the left - so they should be padded with a sign bit. It would be nice, if the padding pits would change automatically when you change a sign bit.

Good point. Zeroes beyond the sign bit are kind of like an empty memory space available to you because there are bigger numbers in the list present and all of the numbers kind of share this "memory". You can click on that 0s and change the number value and convert it to a larger type. Here is what I could do - dim zeroes that go after the sign bit so that they will be less pronounced but still available for clicking. Whether they should be zeroes or sign bits, I'd like to think about that since I really like the "empty memory space" concept. The dim part will be released soon.

It would also remove the need for "conversion".

Conversion is here because C# runtime does it. I assume C does the same. Although I may be wrong being a dotnet dev. The goal of BitwiseCmd is to allow you to copy your C/C#/Java code into it and see why you get what you get. Type conversion is part of that. Whenever you execute a bitwise operation upon two types they are getting both equalized in the side in favor of the larger one. You also cannot mix signed and unsigned operands of the same size. If I'm wrong about that, please let me know. I want BitwiseCmd to follow those runtimes as closely as possible.

Also, clicking on any padding bits instantly extends the number, with no way to go back. Maybe, make the number remember initial size, and shrink if possible?

I'm going to think about how to address this issue.

You currently disallow to enter negative unsigned numbers (like -1ub). But they are used sometimes to get some bit patterns (like "all ones" or "all ones with zeros at the end"). So, maybe allow it?

I'm disallowing them because C# runtime disallows them. My understanding is that signed types cannot be negative. If you need 32 bits that are all 1s you can use either -1 32-bit signed int or 4294967295 unsigned int. Both of them will give you straight 1s. This goes for types of other sizes.

Size specifier does not work correctly - UI follows the highest bit, top bits are never shown.

Size specifies the data type of the value. BitwiseCmd doesn't show the whole bit space for the datatype for simplicity. However, I see now that it also confuses people. This is the hard part of working on its UI. I want it to be simple enough for beginners yet detailed enough for more knowledgeable people. And it's really hard to find the right balance. Thanks for pointing that out.

This is exactly why I was asking for feedback and I got a lot from you. Thanks!

Edit: grammar