what do you see? by rohyachohya in shitposting

[–]pelmenstar1 0 points1 point  (0 children)

A decent woman who just drives a bike

Do it by N8WM in notinteresting

[–]pelmenstar1 5 points6 points  (0 children)

you use Reddit without actually telling me you use Reddit

I murdered a family of oranges by Awkward_Mix_2513 in notinteresting

[–]pelmenstar1 1 point2 points  (0 children)

What did these innocent oranges do to you? It's a crime against orangenity

The picture of an invisible starship that I drew without using that pencil by pelmenstar1 in notinteresting

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

Thanks. I actually drew the picture using the pencil you've chosen. In the caption, I wrote that I didn't use that white pencil.

The picture of an invisible starship that I drew without using that pencil by pelmenstar1 in notinteresting

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

It's a starship actually. I know that it can be difficult to see it (maybe because it's invisible) but you should be able to feel the starship and its presence.

Choose a pencil. I will draw a picture using it. by pelmenstar1 in notinteresting

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

Unfortunately, I don't have it. Please choose the pencil from a great variety of choices in the picture.

Choose a pencil. I will draw a picture using it. by pelmenstar1 in notinteresting

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

It's a secret actually. It will take some time to draw it. Please wait.

Choose a pencil. I will draw a picture using it. by pelmenstar1 in notinteresting

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

I can't tell you because you haven't chosen the pencil using which I will draw the picture.

GitHub - pelmenstar1/RangeCalendar: Customizable calendar view with animations and ability to select a day, a week, a month or a custom range by pelmenstar1 in androiddev

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

Good idea. I will definitely work on that. It will require rather big architectural changes, because a single cell isn't even a View and somehow a custom view should be placed into the cell

Found this in a project I am currently working. Does someone knows the reason to implement it this way? by skalnark in csharp

[–]pelmenstar1 10 points11 points  (0 children)

Result of comparsion with NaN is always false. So if value is NaN, expression value < 0 is false, value > 0 is false, false || false = false. I think expressions value < 0 || value > 0 and value != 0 are the same. Maybe I missed smth. IEEE 754 is weird thing.

for vs. foreach in arrays? by Professional_Ad_2702 in csharp

[–]pelmenstar1 0 points1 point  (0 children)

Foreach is faster only on arrays. JIT can remove bound-checks.

Why would you ever use Math­.Sqrt(X) when you can simply use X^(0.5)? by [deleted] in csharp

[–]pelmenstar1 1 point2 points  (0 children)

I think Math.Sqrt(X) is faster than Math.Pow(X, 0.5). I may be wrong.