|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
I use it more and more and for me it is much more efficient then to google for a specific (programming) question.
The strange thing is:
I feel something pressed to say 'thank you' after I got a usefull answer.
So I'm asking myself: Do you will really say thanks to a machine,?
In my mind I solved it, that I say 'thanks' to the builders of ChatGTP.

|
|
|
|
|
I don't thank it but I let it know when it's correct so it learns the right things. Approach it like a child in that regard and give positive reinforcement. Also, it is probably best to give it negative reinforcement when it is wrong so that is not propagated either.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
This is my code, i am using XAMARIN FORM.
I can conect to the API using GET, the API is running, but when i try to do a POST to call the postTransacciones, i got the following error: NetWork Subsystem is down.
<pre>
var data = new[]
{
new KeyValuePair<string, string>("fechaGasto", Fecha),
new KeyValuePair<string, string>("tipogasto", TipoGastoData),
new KeyValuePair<string, string>("RNC", txtRNCSuplidor.ToString()),
new KeyValuePair<string, string>("NCF",txNCF.ToString()),
new KeyValuePair<string, string>("URL", sUrl),
new KeyValuePair<string, string>("Monto",txtMonto.ToString()),
new KeyValuePair<string, string>("TipoTransaccion",TipoTransaccion),
new KeyValuePair<string, string>("email", EmailUser),
};
#if DEBUG
HttpClientHandler insecureHandler = DependencyService.Get<IHttpClientHandlerService>().GetInsecureHandler();
HttpClient client = new HttpClient(insecureHandler);
#else
HttpClient client = new HttpClient();
#endif
string url = "https://localhost:7254/api/GetData/postTransacciones";
var json =JsonConvert.SerializeObject(data);
client.BaseAddress = new Uri(url);
var stringContent = new StringContent(json, Encoding.UTF8,"application/json");
try
{
HttpResponseMessage response = await client.PostAsync(url, stringContent);
Thanks in advanced.
|
|
|
|
|
Sort of like: "the power is off".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Wrong forum. Read the message at the top and click the link that says "Got a programming question?".
|
|
|
|
|
Check the port number of the "Access Point" and see if it's different from "7254".
|
|
|
|
|
For anyone is doing any Universal Cross-Platform Apps...
I'm considering either .Net MAUI or Flutter and I'd like to get some insight into these two before I make a decision.
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
This is from the CodeProject insider. Probably most interesting for those that are old enough to be even close to remembering some of this
Building a DOS ChatGPT client in 2023 - YKM's Corner on the Web[^]
Now I didn't actually consider the software in the article much of a challenge. I can see the lack of threads as a bit of problem but back then Windows 3.1 ran on an event loop so one just needs to be careful about blocking for too long.
But what really amazed me was that there was a network card that would work.
Also kind of amusing at the end though where the author asks ChatGPT to write the code for this project and it says it can't. Guess it won't be replacing programmers yet.
|
|
|
|
|
jschell wrote: But what really amazed me was that there was a network card that would work.
Doom was a DOS game, and worked over LANs. It should come as no surprise that some NICs worked under DOS.
|
|
|
|
|
It's Bacon, Lettuce, and Tomato.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I knew someone would have made the roll pun. I just knew it.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Argh! It's way over there under the sink!
|
|
|
|
|
I was thinking more along the lines of a Danish.
|
|
|
|
|
|
From tomorrow on I'll be system architect (together with a colleague), trying to bring order into the chaos of non existant processes and a lot of different solutions for similar problems in our division, and on the same time trying to reduce complexity, make everything a bit more robust and less "manual" while bringing us into the future.
Whish me luck
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Best of luck!
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Don't try and do everything all at once. One bite at a time.
Pick some low-hanging fruit to start to
- get some quick successes and impress the higher ups
- test and fine tune YOUR processes
Involve the people that will be using your solutions.
If you can steer them to the 'correct' solution and make them think it was their idea, you will get buy-in a lot faster.
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
Chris is reading, you know?
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
He knows. He calls it "Managing Up"
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
|
|
Preferably, other people's
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Microservices are the silver bullet that will make all your problems go away!

|
|
|
|
|
I hope you like drawing pictures; I don't know how you pull it off otherwise.
(Mine were used to outsource me in the end ... no problem, got paid a bonus to stick around for the extra 6 months to educate the replacements).
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|