|
Slacker007 wrote: unless the world gets its news, unfortunately, from CNN too. Probably does based on the way many people feel towards the US.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Loving the fact you’ve never met me but I live rent free inside your head.
|
|
|
|
|
Hello,
I have access control application called db digitus which is used SQL server to storing data and retrieving. once i search for access control even report , i am getting this error "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding". Can anybody help me to fix this issue please?
thank you
|
|
|
|
|
Try posting in the SQL forum.
btw, could be an incorrect connection string.
|
|
|
|
|
The lounge isn't for programming questions. Likely your db-query and/or processing of it is taking too long.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Eddy Vluggen wrote: The lounge isn't for programming questions This might not be a programming question, so I'll try to help a little. However, it would be better if it were in the database forum.
The message you have got is fairly generic for a million and one database issues and does not necessary mean that you have a timeout despite the words in the message. I get the message a lot. Often it is intermittent and can be got around by re-requesting the transaction? If that is the case in your situation, I'm afraid it is one of the "tough - that's life, live with it" problems. If the same transaction always gives the problem then it might be your SQL that is at fault - too complex query, bad indexing (i.e. wrong items being indexed), trying to return too many rows / columns, no caching etc etc - in which case it should be posted on the database forum.
|
|
|
|
|
jsc42 wrote: The message you have got is fairly generic for a million and one database issues and does not necessary mean that you have a timeout despite the words in the message. Doesn't necessary mean that, but often does.
jsc42 wrote: Often it is intermittent and can be got around by re-requesting the transaction? So why the question mark? You unsure?
jsc42 wrote: If that is the case in your situation, I'm afraid it is one of the "tough - that's life, live with it" problems. No, it ain't; and if you encounter it, you pay me for the solution. I've seen and solved it; sometimes it is the query, sometimes it is the processing of the results; and before you even dare to make an offer, make it a fakkin' sweet one, since I aint tempted easily, especially not after a lecture of someone who is swimming in sand.
Get back to your basket, I'm in a foul mood.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Yesterday I asked "Why learn Rust", mostly because I was curious but seeking encouragement while facing the overwhelming existential dread of having to configure my system...
Then I distractedly did it while youtubing and.. well, that was easy!
So... why not do it hey?!
Here is how:
Step 1. Install VS Code (there is a one click installer ask google)
Step 2. Install Rust (rls) extension (click on the 4 cubes icon the left, type rust, click install)
Step 3. As per RustRls extension description, install Rust tool (google it, there is a one click windows installer for it)
=> You now have intellisense and mouse hover tips / documentation!
You are now ready to go, err.. I mean rust!
I had 0 configuration, just run 3 installers!
(might have to restart, I did restart since I was also checking windows update)
Additional optional step, I want to press F5 and debug!
I had to google 2 minute to find out how! (phew)
Step 4. Install the VS Code extensions "C/C++" (by microsoft)
Step 4a. (tricky) I had to find a mysterious hidden setting I can't find again which enable breakpoints everywhere
Step 5 create a debug config in your system, Run > Add Configuration, choose "C++ Windows Launch", then edit the .vscode\launch.json file "program" variable to point to your program
Finally Rust documentation
The Rust Programming Language - The Rust Programming Language
You too can become a Rustacean now!
modified 3-May-20 4:05am.
|
|
|
|
|
|
Ooooo Nice!
|
|
|
|
|
Your question would be valid for each (open source) programming language. Install some Linux distro, go to the app-center and see how many exist (and how many no longer exist).
Languages cobol and go.
So, found an answer to your question, besides curiousity?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
"why not xxx?" is not really a question, at best a rhetorical question, but really a suggestion to do xxx.
Other than that I suppose you mean to ask if I had any ulterior (or posterior ) motive to learn rust?
To that I will say yes. Yes I do.
Based on assumptions yet to be proven though, so time will tell...
If you really want to know, just like Microsoft using the ultimate C++ power to write desktop app, instead of C#, I am trying to see if I could comfortably write ultimate desktop app in Rust.
Tried C++ but that was painful. And I don't just mean the duplication of info (.h, .cpp), but the super slow recompile, some interop issue with arrays (I think it was not easy to pas array into C# and then into DirectX, had to make copies...), trouble working with generic, if I remember right, and I forgot what else...
I hope it might be painfree with Rust!
And also DirectX friendly.. (which C# is not)
And also.. reflection friendly (or a working alternative, such as the new .NET 5 code generator)
In other news I can already see that startup times are faster. While a C# / .NET Core start in a barely perceptible amount of time, a rust console app is already finished before my finger even rise up from enter!
modified 3-May-20 4:40am.
|
|
|
|
|
As someone who switched from C# to Rust as primary a language a couple of years ago, I really enjoy writing Rust and don't see myself switch back. Hope you'll like it too!
|
|
|
|
|
Thanks man!
For the time being it will be for fun for my home project..
We shall see... My home projects are more often than not desktop app... so I hope that the WinRT binding is working well enough! Yet?
|
|
|
|
|
I never found C++ to be particularly painful. The thing about C# is it stores arrays in different memory order than C++ for multidimensional arrays, IIRC so yes, making them work together would require a copy.
A better way to do it (and I'd probably have to see how feasible this is as I haven't tried DirectX coding in years) though would be to let the unmanaged code pass you arrays in different memory order, and in the C# code just account for it. Your indices would need to be translated. Easiest thing i can think of is to just map everything as a 1d "flat" array using interop, and then do the math of of y*totalX+x or vice versa to translate.
Real programmers use butterflies
|
|
|
|
|
compilation is superslow, intellisense doesn't work very well...
when I do C++ these days, I mostly C++/CX or C++/WinRT with a dash of either DirectX or, obviously, WinAPI.
I cant remember very well, it has been a while. But many time I keenly thought to myself, now I am switching to C++. And I always give up. Not because of the syntax, but because the development environment in C++ seems less comfortable than in C#.
Bear in mind that most my toy app at home are GUI app...
Maybe simple console app or service app are fin in C++, but I always found GUI app development in C++ much more tedious than it should...
And also, since I want perfect C# interop, that adds extra tediousness...
|
|
|
|
|
I feel the same way you do about GUI dev in C++. I've learned to hack my way through MFC but it's horrible. WTL is better but has crap for designer support.
Real programmers use butterflies
|
|
|
|
|
That sums up my experience with VS Code.
I feel like a total idiot every time I fire it up and can't work out how to build and launch something stupid simple like a webpage or quick app.
Visual Studio has spoiled me. Though so has XCode. And Android Studio.
It seems I'm truly the only one in the world who gets red in the face swearing at VS Code to just work dammit
cheers
Chris Maunder
|
|
|
|
|
Ha well yes, it doesn't just work...
But it doesn't take too much work to make a surprising amount of dev tools (unsupported by VS) to work as well!
But yeah, every now and then when I start to use VSCode for a few weeks I start with a how is this thing even working?!
|
|
|
|
|
Epic Games is giving "Amnesia: The dark descent" and "Crashlands" for free through May 7th
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.
|
|
|
|
|
|
There are several places that speak very well of it. But a couple of revisions in Steam said it is good only at the beginning, afterwards it reduces all to boring grind. And when you think you have everything... then a new map to start all over again just with other stats that force you continue grinding.
But 95% of people say the story is very funny.
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.
|
|
|
|
|
It's frustrating that job sites allow you to search by job title, but there is no accommodation made for searching by technology.
Does anyone know of a job site that supports this?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
But if you could "search by tags" or similar, you know that most of the jobs will have every single language, framework, stack, etc. ever created tagged anyway. With twenty years' experience required of course.
|
|
|
|
|
I know you are correct. But I'd be willing to give it a shot.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|