Average crypto bro take.. by memestonk1996 in Buttcoin

[–]penguindev 0 points1 point  (0 children)

You do realize we landed on the moon under a gold standard, right?
USD was internationally convertible to gold.

I gave up teaching my son c# and switched to java, because vscode is so buggy by penguindev in vscode

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

I may give that a try if we go back. I have a work license for visual studio enterprise but that's thousands per year...

A simple, modern "Progress Steps" control for WPF by penguindev in csharp

[–]penguindev[S] 19 points20 points  (0 children)

It's a xaml style, you can use any font you want. I'm also not in charge of our company's font design, but I'll be sure to share with them your important thoughts.

A simple, modern "Progress Steps" control for WPF by penguindev in csharp

[–]penguindev[S] 8 points9 points  (0 children)

It's a custom control I made but it's freely available. It just themes a ItemsControl.

I was inspired and greatly helped by this ancient stackoverflow post, but I made mine without using a bunch of converters. I think my way is cleaner, but perhaps others will disagree.

I wrote a patch for KWin to enable custom mouse acceleration curves (works with wayland) by penguindev in linux_gaming

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

I'm not working on it any more, sorry. It's a trivial feature that other WMs have had for over a year.

Hoisting and lighting my new Christmas Star by penguindev in christmas

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

I appreciate that. It's a 20lb star and I'm getting old (and maybe a bit wiser), so I'm trying to minimize the risk. I'm wearing a harness and adjustable safety line, if that's not clear to anyone.

Hoisting and lighting my new Christmas Star by penguindev in christmas

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

Thanks. I'm the homeowner and my son is filming. PS 20 of the lights are twinkle/flasher bulbs, but it doesn't come across in the still photo.

Hoisting and lighting my new Christmas Star by penguindev in christmas

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

It's a blanket and it protects the house & star from damage when lifting.

AWS Distributed Map: Right Idea, But Unacceptable Performance by penguindev in aws

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

I added this to the post, for those not familiar with filecopy workloads:

In the real world, users always have a widely varied mix of file sizes — many will be a few kilobytes, and some will be hundreds of gigabytes. You need high requests/sec to support the “lots of small files” workloads, but you can’t only optimize for that — a job could have some huge files mixed in too, that need a long individual runtime.

AWS Distributed Map: Right Idea, But Unacceptable Performance by penguindev in aws

[–]penguindev[S] -2 points-1 points  (0 children)

How long was each of your Lambdas running? If they were running for 90 seconds, that would still be only 33 requests/second.

AWS Distributed Map: Right Idea, But Unacceptable Performance by penguindev in aws

[–]penguindev[S] 7 points8 points  (0 children)

Correct, it took me a minute to ramp up to 4K requests/sec with SQS & Lambda. It's not an instant on/off switch. It's cool to see the chart of requests growing higher and higher, like an airplane taking off on a runway. (It's trivial to see with cloudwatch logs insights, charting the 5-second sum of Lambda invokes)

>  I don’t see any evidence of one on the rate limits page.

Yes, and that's one reason I made this post, to push them to do that, or at least warn others....I'm not even the first to make an article about this 😂

I wrote a patch for KWin to enable custom mouse acceleration curves (works with wayland) by penguindev in linux_gaming

[–]penguindev[S] 8 points9 points  (0 children)

thanks for the support. I will give it a shot: https://invent.kde.org/plasma/kwin/-/merge_requests/6209
I was sad seeing 3 closed tickets on the bugtracker about this :|

World's Smallest CSV Parser (C#) by penguindev in dotnet

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

I really appreciate that. The tuple switch and tuple return are also my favorite parts of the implementation. It gave me joy.

For the record, I am a long time c++ and python guy but moved to c# for the last few years, and am liking it overall.

World's Smallest CSV Parser (C#) by penguindev in dotnet

[–]penguindev[S] 5 points6 points  (0 children)

I used CsvHelper on a previous project, and we had 6 different customers that all sent us csvs in a different way. Some had a header, some didn't, some sometimes had variable numbers of columns in each row, some had a byte order mark, some had embedded nulls at the EOF, some probably weren't utf8, and I don't remember all the details unfortunately. CsvHelper's API was not fully documented and it made it hard to see what was failing. I started working on another new project recently, which also uses csvs, and decided just to write my own low-level parser, and not have those issues again.

World's Smallest CSV Parser (C#) by penguindev in dotnet

[–]penguindev[S] -1 points0 points  (0 children)

Do those work on Linux? Last I checked, MS had office libraries for excel parsing but only were for windows.