Yeah C# gets a bad rap. I spent a decade developing in C++, and Java before switching to C# because of program requirements. Now I never want to go back.
- 0 Posts
- 18 Comments
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•What popular TV show did not do it for you and you quit watching?111·5 days agoSame. Walt is an unlikeable person making bad decisions. I grave up after season 1.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•What is a book that you will gladly read again?1·19 days agoJohn Steakley was a full time ghost writer so he wrote a lot of other books but not under his name.
He was working on a draft of Armor 2 when he died. I think I still have a copy of his first draft of chapter 1 somewhere. It’s to bad it will probably never be finished or published.
Hugin@lemmy.worldto Showerthoughts@lemmy.world•Obama wasn't a hero; he just wasn't terrible4·20 days agoBest president of my life (started with Carter). I’d give him a C- if not grading on a curve.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Do you like the taste of vinegar? Does anyone?4·21 days agoFYI that’s shallow pan frying you are describing. sauté means to jump and the food should be almost constantly moving.
One of the things a sauté does is prevent a fond from forming. That keeps the flavor on the food and a deglaze is not necessary or helpful.
As my chief friend said when you are barefoot at the beach and the sand is hot you sauté to the shade.
https://cookingpro.net/what-is-the-definition-and-type-of-sauteing/
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Do you like the taste of vinegar? Does anyone?4·21 days agoVinegar is a great backup flavor. Sweet, Salty, and Sour add a lot of complexity and when something tastes lacking one of those will probably help.
However they are all easily overused. If the first taste impression of food is one of them it’s over seasoned.
Try a few drops of good vinegar in a gravy to make it pop.
USA, Canada, Mexico, Bahamas, Dominican Republic, England, Norway, Italy, France, Germany, Iceland, India, Dubai.
That’s not counting places like Finland where I was only there for a layover.
Hugin@lemmy.worldto Open Source@lemmy.ml•is there something about rust which precludes copyleft licensing?4·1 month agoAgreed. I wasn’t trying to say they are always better just explain the difference.
I almost exclusivity use Linux and it handles this great. .so libraries are stored with a version number and a link to the latest. So math3.so and math4.so with math.so being a link to math4.so. that way if needed I can set a program to use math3.so and keep everything else on the latest version.
Hugin@lemmy.worldto Open Source@lemmy.ml•is there something about rust which precludes copyleft licensing?8·1 month agoSo the basic purpose of a library is to allow code that does some useful thing to be easily used in multiple programs. Like say math functions beyond what is in the language it self or creating network connections.
When you build a program with multiple source files there are many steps. First each file compiled into an object file. This is machine code but wherever you have calls into other files it just inserted a note that basicly says connect this call to this part of another file. So for example connect this call to SquareRoot function in Math library.
After that has been done to every file needed then the linker steps in. It grabs all the object files combines them into one big file and then looks for all the notes that say connect this call to that function and replaces them with actual calls to the address where it put that function.
That is static linking. All the code ends up in a big executable. Simple but it has two big problems. The first is size. Doing it this way means every program that takes the squareroot of something has a copy of the entire math library. This adds up. Second is if there is an error in the math library every program needs to be rebuilt for the fix to apply.
Enter dynamic linking. With that the linker replaces the note to connect to the SquareRoot function in math library with code that requests the connection be made by the operating system.
Then when the program is run the OS gets a list of the libraries needed by the program, finds them, copies them into the memory reserved for that program, and connects them. These are .so files on Linux and .dll on Windows.
Now the os only needs one copy of math.so and if there is a error in the library a update of math.so can fix all the programs that use it.
For GPL vs LGPL this is an important distinction. The main difference between them is how they treat libraries. (There are other differences and this is not legal advice)
So if math.so is GPL and your code uses it as a static link or a dynamic link you have to providd a copy of the source code for your entire program with any executable and licence it to them under the GPL.
With LGPL it’s different. If math.so is staticly linked it acts similar to the GPL. If it’s dynamicly linked you only have to provide the source to build math.so and licences it under LGPL. So you don’t have to give away all your source code but you do have to provide any changes to the math library you made. So if you added a cubeRoot function to the math library you would need to provide that.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Apparently I've forgotten how to pack in calories. How can I get proper food for a physical labor job?2·2 months agoFor one thing stop the Kratom. It’s highly problematic in general but weight loss is a common side effect. General stimulation without energy reserves is also a common side effect leading to dizziness.
https://www.mayoclinic.org/diseases-conditions/prescription-drug-abuse/in-depth/kratom/art-20402171
For food try a Shooter’s sandwich.
If you have use of an outlet for an hour or so before lunch rice cooker meals can make a great hot lunch that only needs to be plugged in before lunch.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Here's a Valentine's Day question. What's the most complicated specific variant of the "it's complicated" relationship status you've ever seen?51·2 months agoI’m poly but have a friend who it’s VERY poly. Her squigle is huge. I have no idea how they manage.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•What's the longest you've gone without eating?5·3 months agoI’ll do the occasional 72 hour fast. A 24 hour fast once a month. These days I change the 72 hour to a 48 hour then blood test every hour or two until I see a blood sugar rise. That’s when the body starts to cannibalize muscle tissue so I stop.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•What is the oldest age anyone in your family has lived to?5·3 months agoOne grandmother died the day before her 102nd birthday.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Give me some of your hardest riddles? (with solutions in spoilers)6·3 months agoThe everybody is a perfect logician part means no one gets it wrong and no one make a guess.
They also don’t say the color of their eyes when they leave. They can just use logic to figure it out.
There are some other problems with this versions wording though. Usually you need to specify that the speaker doesn’t lie.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•Anyone have solid, tried and true strategies for improving communications with engineers?2·4 months agoAs an engineer you learn to be very careful about what you say to non engineers.
A trivial example.
What if we make change x?
It’ll make some things harder and some things easier.
One week later.
Why are you having problems? You said doing x would make things easier.
More complicated example.
Can this be used for real time control?
Define real time.
Just answer the question.
I can’t it’s a bad question. I need to know what you are trying to control.
Hugin@lemmy.worldto Ask Lemmy@lemmy.world•What’s the craziest or most outrageous (maybe even NSFW) incident that led to someone being fired from your workplace?0·7 months agoWhere I worked we had a very important time sensitive project. The server had to do a lot of calculations on a terrain dataset that covered the entire planet.
The server had a huge amount of RAM and each calculation block took about a week. It could not be saved until the end of the calculation and only that server had the RAM to do the work. So if it went down we could lose almost a weeks work.
Project was due in 6 months and calculation time was estimated to be about 5 1/2 months. So we couldn’t afford any interruptions.
We had bought a huge UPS meant for a whole server rack. For this one server. It could keep the server up for three days. That way even if wet lost power over the weekend it would keep going and we would have time to buy a generator.
One Friday afternoon the building losses power and I go check on the server room. Sure enough the big UPS with a sign saying only for project xyz has a bunch of other servers plugged into it.
I quickly unplug all but ours. I tell my boss and we go home at 5. Latter that day the power comes back on.
On Monday there are a ton of departments bitching that they came in an their servers were unplugged. Lots of people wanted me fired. My boss backed me and nothing happened but it was stressful.
It’s kind of the opposite of eclipse. People who use it like it and people who don’t have experience with it disparage it.