@Tsaukpaetra Does this link help? https://thomaslevesque.com/2013/11/30/uploading-data-with-httpclient-using-a-push-model/. For your scenario maybe derive from HttpContent
yourself and override SerializeToStreamAsync
?
Best posts made by robo2
-
RE: Too many pumps
-
RE: Buying a car, tell me what's wrong with me.
@Polygeekery said in Buying a car, tell me what's wrong with me.:
@PleegWat said in Buying a car, tell me what's wrong with me.:
I'm not sure you can just do that here since you'll almost certainly have signed a purchase contract.
Yeah, but a contract is only worth what you can collect on it if they break it minus the trouble it would take to collect. Sadly, it just isn't worth it most of the time.
From my direct family with a @Gąska great choice :) ">dealership of asian cars here in NL I haven't heard about customers not being able to pay, or trying to get out of their contract agreement with any regular frequency. Downpayments are also not required. Still there is a push (of course) to sell the car that is in stock (best for the discount you get from the importer company) or from stock from other dealerships or the importer company, before the build-to-order is done (but that mainly because money now is better than the same money in 3 months).
The few times I got to order myself a new (lease) car I just picked the colors and options I liked. And waited 3 months for the assembly line to build according to those specs. No questions were asked, nor any push/suggestion to choose an in-stock model, although that may be a different between serving customers that pay with their own money vs customers that pay with their employers money...
-
RE: Sample Code Reviews....
I'd definitely use the After, as the Before gives an IndexOutOfRangeException at every use (when
i == src.Count
)
But aside: this is another reason for me to prefer the simpler construct. -
RE: AMD Hype!
Does Windows 10 default to UTF-8 yet?
Nope, the winapi convention hasn't changed, and internally it is all still ucs2, afaik.
Or do you mean in the console? Also nope -
RE: Qt: What's it all about? Is it good, or is it whack?
@dcon why? As :@topspin said, Qt with its LGPL is fine to link against. PyQt on the other hand, with its GPL license, I wouldn't want to touch with a 10foot pole...
-
RE: Screen recording software
@masonwheeler yes. Or should I have added "as the only attendee"? Or is it about the actual mechanics (for extra wtf-ery I plan a meeting in Outlook, make it a Live-meeting, lick the generated link, which open SfB/Lync, and voila, you have a private meeting for yourself to enjoy).
-
RE: I, ChatGPT
@loopback0 that sounds like a missed opportunity. Did you read the regmojex spec correctly? I thought that was used instead of
-
, which would make the regmojexpression much poopier. -
RE: Intentional subversion of network security
@Mason_Wheeler YMMV. I've seen and read Fiddler on the Windows way more often than Fiddler on the Roof. So
-
RE: Help me name a data structurish thing
NaglingBuffer after the TCP's Nagle algorithm which seems to kinda match what you're doing.
-
RE: Releasing dotnet and sql packages
@Bulb I've been looking at https://gitversion.net/ together with the auto generated assembly info attributes performed in .net sdk style projects, with the basic version information set in a Directory.Build.props in the root of the src tree. In the end I kept the D.B.p file, but updated it through scripts. It was a bit hard to use gitversion if you're not using git (yet)...
-
RE: The one where Apple upset Facebook
@Applied-Mediocrity it's not just @Atazhaia, I have it as well. And I am sure I am not the KayKehKee.
Apparently there is a dark theme that isn't crap. But I am too to go find it... -
RE: Is OAuth 1 a problem or not?
See https://www.synopsys.com/blogs/software-security/oauth-2-0-vs-oauth-1-0/
The client secret is needed anyway, but I don't think anybody considers the client secret a key that needs real protection. As far as I know the client id also defines which url the user is redirected to, so there isn't much an attacker can do with that client id/secret anyway (in the web flow that is, the mobile/desktop flow could be another matter). -
RE: US / EU Level
@PleegWat said in US / EU Level:
when checking into the campsite
That doesn't say much. I once used the school library card as "id" on a campsite. And the card didn't even have a name or photo on it
-
RE: Buying a car, tell me what's wrong with me.
@remi said in Buying a car, tell me what's wrong with me.:
Which is why every safety feature matters.
It does, but not as much as you would hope. Every active safety feature (ABS, AWD, Adaptive steering) causes drivers to take more risks, greatly reducing the net effects of those features.
-
RE: 13” laptop recommendations
@Unperverted-Vixen maybe they designed the site after lenovo and hp. I'm looking at something similar (although 15" probably), but those vendor sites are utter crap.
-
RE: Split string at second occurrence of "-" (Java)
@JBert said in Split string at second occurrence of "-" (Java):
@robo2 Don't forget about this part of the OP's post
That advice clearly came too late...
-
RE: Email flagged as spam
@Vault_Dweller and you may want to redact that alias some more.
-
RE: Does anybody actually use this site on mobile :fire:
What's driving me nuts lately is are the menus pulling in left and right. It seems to occur especially when it takes a while loading the page.
@julianlam How hard would it be to rip out the "detect a swipe" and replace it by "tap the icon"? As a nodebb-plugin or as an option in core? I just don't ever want a swipe give me the menu/chat on mobile. (Note that it probably also requires a "close" button on the panel, i'd like to get rid of the fiddly "close it by swiping, but don't swipe too much else you'll go back/forward, so swipe three times closing it a little each time" as well).
I've never done any nodejs dev, but with a bit of direction where to start I wouldn't mind trying... -
RE: New lab PC
@Captain certainly. And when I still ran parallel fluid analysis workloads the xeon came in handy. Nowadays that all runs "in the cloud", so my local workloads are much reduced. For lighter workloads the newer processors are just better. Or at least, I hope so. Maybe I just want to believe technology has profressed in this area, please let me keep my delusions...
-
RE: CodeSOD collection
@dkf said in CodeSOD collection:
But does it produce the minimal representation? It's minimality that's difficult.
I don't know of the top of my head, and the is too strong in me, else I would have dug up the issue/pr on the dotnet github repo where they discussed the algorithm used...
-
RE: CodeSOD collection
@Bulb dotnet core is doing the same thing as python3 with
format(..., '.99g')
, so if python is doing it right (quoting @dkf), then apparently dotnet core is doing it right as well.
All I actually care about is that with dotnet there is a difference based on the dotnet runtime, which is very annoying if you need support both... -
RE: The Belt Onion club
@PleegWat said in The Belt Onion club:
especially if you do not care about accuracy in the text.
QFT, the automatic translations on amazon.nl are horrible.
-
RE: Fun with maps
@da-Doctah said in Fun with maps:
splitting the state in three parts the other direction. So from north to south, you'd have Northern California, California, Southern California, Baja California, and finally Baja California Sur
-
RE: Shorting Gamestop
@LaoC yes, true. I meant the time where they stopped being an option at all as the banks stopped providing the facility to process them. They hadn't been in regular use for quite a while already, so it was not considered a big loss in service really.
-
RE: Shorting Gamestop
@SlackerD said in Shorting Gamestop:
Kind reminder that it is usually boomers that do that.
Kind reminder that in saner countries kids born when cheques were abandoned are now allowed to vote, drink and get married.
-
RE: Miscellaneous Tweets
@Arantor said in Miscellaneous Tweets:
cost of living varies from country to country.
And even between regions within a country. (even within a country as small as )