|
Unrelated to that... After the recent discussions of C/C++, I began a bit of C refreshing today. I had forgotten so much over the past twenty years of using C#.
|
|
|
|
|
Yeah man, it's fun to dust off the cobwebs every now and again. Not gonna lie, I still love C and can't swear I'll never use it again. It is fun trying new stuff though. Or, in your case old new stuff.
Jeremy Falcon
|
|
|
|
|
In case you're wondering why my sudden interest in systems coding again, for the application I'm working on I need extreme performance. So, time to get raaaaawwwwww. Muwahahahah
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: for the application I'm working on I need extreme performance Usual PCs or RT one? if interaction with the physical / electric world needed, current PLCs might get cycles around 100 us with a noticiable load of code (if that's fast enough for you)
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.
|
|
|
|
|
Nelek wrote: Usual PCs or RT one? Usual PC.
Nelek wrote: if interaction with the physical / electric world needed, current PLCs might get cycles around 100 us with a noticiable load of code (if that's fast enough for you) Nothing like that, nor embedded. It's a financial app. I just want it running faster than my JavaScript version... because I can.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: I just want it ... because I can. That's the root of all crappy IoT devices and many other depicable actions... vade retro
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.
|
|
|
|
|
I dunno what vade retro means, but don't take my toys away Nelek. I need my toys.
Jeremy Falcon
|
|
|
|
|
The quotation is from a film: "vade retro satanas" (I think is latin).
"Vade retro" is like "step back", "walk away"
Jeremy Falcon wrote: I need my toys. mmmm not sure if you were a good boy this year... I'll need to ask Santa for a report
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.
|
|
|
|
|
Nelek wrote: "step back", "walk away"
Nelek wrote: I'll need to ask Santa for a report Good luck, I paid Santa off so he could make his sleigh electric.
Jeremy Falcon
|
|
|
|
|
Iwas converting a AVR C++ to ARM C and found I was trying to make it C++.
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
|
I wonder, is this gonna be something originally filmed in 4:3 but released at 16:9 (because that's how everything is made today), and by doing so, do things such as exposing parts of the set that were never intended to be included in the frame? Or by zooming into the picture and then cutting out parts of the top and bottom...?
Or are they gonna get ballsy and release it as it was filmed, and have to explain to those who don't know any better why they have black bars on either side of their screens...
I like the widescreen aspect ratio, but not if it means the picture no longer respects how it was originally intended to be seen.
|
|
|
|
|
Good questions. They say it’s remastered, but not if includes changing the aspect ratio. The video looks like they’re going with the “black bars on the sides” choice though.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: The video looks like they’re going with the “black bars on the sides” choice though.
So, as it was originally recorded/broadcast. Good. That means nothing gets arbitrarily removed.
|
|
|
|
|
|
really weird but strangely entertaining
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I just jumped through bits and pieces of this. Some no-budget sci-fi set, some singing (including My Way), Vulcan wigs bought at a discount store, a chick with big boobs, a laugh track, and I even saw some footage of the Enterprise from the original Star Trek series doing a fly-by.
WTF did I just watch?
|
|
|
|
|
The Belgian comedian "Kamagurka" known for his absurd style of humor is behind all this, haven't seen much of him lately, but he may still be making cartoons. It seems the times have changed and there is no place for such experiments on TV anymore ...
|
|
|
|
|
RickZeeland wrote: there is no place for such experiments on TV anymore ...
Air time is at a premium, considering the competition. Can you really blame the broadcasters?
Today something like that might find success on YouTube. But I wonder[*] if they'd make back enough to cover whatever production costs (ahem) were involved.
[*] Not really, I think I already know the answer to that.
|
|
|
|
|
I always enjoyed the early series, but once Blake left it sort of lost its mojo a bit.
|
|
|
|
|
Halp! I'm lost in rectangles! (not actually a request for help, just a rant)
I've got this
draw::image(destination,destination_rectangle,source_image,source_rectangle,&clip_rectangle);
template<typename Destination>
gfx_result image_draw_cb(const image_data& data, void* state) {
image_cb_state<Destination>& s=*(image_cb_state<Destination>*)state;
if(data.is_fill) {
srect16 sr = *data.fill.bounds;
if(sr.intersects(s.src_rect)) {
if(s.clip!=nullptr) {
sr=sr.crop(s.clip);
}
return draw::filled_rectangle(*s.dst,sr,data.fill.color);
}
}
return draw::bitmap(*s.dst,data.bitmap.region->bounds().offset(data.bitmap.location),*data.bitmap.region,data.bitmap.region->bounds());
}
which is the starting point of what i need but not accurate.
Basically i've got several locations and bounds that have to offset and crop each other in order to make image drawing work, and I can't wrap my head around it.
I will eventually - I've dealt with worse - a dirty rectangle system in my UI library, but it just frustrates me that thinking in shapes is like a hole in my intellectual abilities. It slows me down, trips me up and makes me struggle.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I was playing with XNA a long time ago and was doing a space thing where multiple transparent images of stars would be stacked to do parallax.
The images were screen sized. They would wrap the screen so if the focal point (player) went a pixel left, the far right column of pixels would wrap to the left. This gets more complicated on diagonals.
I had to grab a ruler and mark up a physical sheet of paper to work out the code for how to cut the rectangles and glue them back together in real time so that one image could be infinitely scrolled any direction.
|
|
|
|
|
We're all getting older here. I'm 65, my parents have passed, my MIL is 86 and is mentally gone. My FIL (88) is hanging in there, and thank God, he's starting to get some sleep - MIL broke her hip 3 weeks ago. We've had time to pull him back from the brink, but he's showing his age. Hopefully sleep will help him over time.
This is pure hell, and I'm just the son in law. I'm just tossing this out here since we have some real veterans here, and maybe you are dealing with this as well. If so, hang in there.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Sorry to hear that man. Wish I could relate, but my thoughts are with you.
Jeremy Falcon
|
|
|
|
|
Charlie, I've been where you are. My mother was diagnosed with dementia. I spent the next eight months living with and caring for her. Moments spent laughing over shared memories and watching the Little League World Series were balanced by nights trying and failing to soothe her hallucinations. Incontinence and its indignities. Days when she slept for 20 hours straight and days when she didn't sleep at all. Explaining to 911 first responders for the third time in two weeks why they'd received hysterical calls from her house (they were very understanding and kind) when my mother forgot I was there and I had fallen asleep on a couch. It finally ended when she had a stroke and passed ten days later.
The saving graces during this time were my mother's neighbors who were always there to help and my boss who let me work from my mother's home when I could.
Please take care, and I hope for the best for your wife and yourself as you navigate this .
Software Zen: delete this;
|
|
|
|