Saturday, August 11, 2018

Digest for comp.lang.c++@googlegroups.com - 4 updates in 2 topics

woodbrian77@gmail.com: Aug 10 05:54PM -0700

On Wednesday, August 8, 2018 at 3:00:15 PM UTC-5, Lynn McGuire wrote:
> Getting us old programmers (I am 58 and building Windows apps in C++ and
> Fortran) to work on cloud apps is tough. Of course, we grew up in the
> cloud but we called it mainframes back then.
 
I think distributed apps are easier to work on than
alternatives, because they are more structured. In
1990 I worked on my first client/server application.
I was amazed by how well organized it was compared
to the other stuff we were working on.
 
 
Brian
Ebenezer Enterprises
http://webEbenezer.net
"Ev. Drikos" <drikosev@gmail.com>: Aug 12 01:19AM +0300

On 09/08/2018 02:03, Lynn McGuire wrote:
> 2. the spreadsheet does its magic using the data
> 3. the calculation engine grabs the results from the spreadsheet
 
> Text files do not work for this.
 
Have you tried saving a tab delimited file with the extension ".xls"?
 
Here is an oversimplified solution that works in MS Office for Mac (11):
1. Export a tab delimited file with the extension "xls", ie "calc.xls".
2. A user can open this file with a mouse click and then edit it. Each
time you save thought, a dialog box asks you to continue or not.
3. Import the tab delimited file "calc.xls" to your application.
 
Such a file is displayable with Gedit in Linux or TextEdit in MacOS. Is
there a particular Excel functionality you want but is disabled then?
 
 
Regards,
Ev. Drikos
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 11 08:19AM -0400

On 8/10/2018 7:09 PM, fir wrote:
> still it obviously dont resolves 2 mentioned main problems (i mean rendering font into my private array
> with no blits, and get rid of code tearing)
 
If you want to continue this thread on another forum, I'll reply to
you after this post.
 
Windows sends messages to the WndProc() with a RECT indicating what
part of the window needs to be updated. This occurs when things on
the desktop happen (a window closes, is moved, a dialog goes away,
etc). Windows is always maintaining which portions of the screen are
"dirty" and need to be re-painted. It sends the WM_PAINT message to
your WndProc() function (the one registered with your class and HWND),
so you can re-paint it.
 
Typically one of two things happens there: (1) everything that's on-
screen is re-painted manually, or (2) a single BitBlt() line is used
to blit the buffer you've maintained off-screen manually onto the
actual screen.
 
You may want to simply maintain your off-screen buffer and BitBlt()
it when required. Or, even setup a timer and only update the screen
on your fixed interval of 20x per second, or whatever.
 
There are lots of algorithms. GDI was never designed for high-
performance. If you want high-performance, go OpenGL or DirectX,
both of which leverage the massive parallel compute of the graphics
card far better than GDI is capable.
 
I know you don't feel well, and are struggling in various areas, but
we are not your personal blog or source of entertainment. You have
to step up and do some of the things necessary to learn on your own.
Or, you need to leave the group because if you look over your many
posts over the pasts weeks, not many replies, and those people who
even tried to reply to you with some helpful information, you attack
them, call them names, berate them, make them want to not help you
in the slightest. And that's just not doing anybody any good.
 
You've called me all manner of names in the past, but look at the
effect you have on this group, fir. You harm everyone by your hate
on display continually, your rudeness, your posts that are truly
off-topic for a C group, and you don't care about how you just roll
over everyone like a bulldozer. You're not doing it to serve God,
you're not doing it to teach people, you're just doing it because
you're bored to tears, not feeling well, and want others to share
in your misery.
 
We've tried to help lift you up, and I would even argue we've done
so beyond the measure of what's reasonable on average because of
the way you've replied to us repeatedly. You're to the point where
something needs to change. You need to shape up, straighten up and
fly right, or you need to leave.
 
I'm thinking you'll reply with one of your typical insults now, so
as to deflect reality away from you and let your imagined fantasy
world continue to dominate your reasoning and thinking. But I do
ask you to consider this truthfully, fir. Look at the root causes
of the pain you have in your life, and address them. And don't be
so quick to conclude I'm an imbecile with regards to faith and my
teachings on Jesus Christ. Look at the fruit borne by His influ-
ence in my life. Despite your many attacks, for example, I still
try to help you. I try to contribute positively to this group, and
indeed all the groups I'm involved with. I try to be a good "Usenet
citizen" as it were, but I also do have a mandate to teach people
about Jesus Christ because of who He is, who we are, what sin is,
how it affects us, and why we need to be forgiven.
 
If you look at the fruit of my life, and compare it to that of the
scripture, you'll see a man struggling, but a man very much desir-
ing to do the right thing in all cases, and indeed to lead others
to also do the right thing in all cases, and to help put down the
fighting, and bickering, and arguing over trivial matters.
 
We are all amazing creations of God, more complex than anything we
have even conceived of. DNA is revealing the full complexity of
just how complex we are, and it's breathtaking.
 
You are that amazing creation too, fir. Everyone here is. God
really does have a plan for your life. You really are the object
of His affections. He really does love you enough to want to save
you from judgment even though you really have sinned against Him.
 
And I love you as well. I want you to be better, to do more, to
have more, to acquire more knowledge and skill so you can possess
and occupy those things in your life, and then share them in great
abundance with those around you, so that you then also lift them
up and receive the reward from God for so doing.
 
Think about your life, fir. Consider these things with a real
consideration. Don't summarily dismiss them, but ponder them in
your heart. You'll not I'm not asking you for money. I'm not
asking you to join my church. I'm not trying to convince you to
sell your possessions or decrease your life or anything other than
to come to Jesus and let Him guide your life from within by His
teachings and guidance. I'm asking you to let Him teach and in-
struct you on the ways you should go, because He will take all the
twisted, tangled parts and straighten them out, and set your feet
on a solid ground, on a solid path, which leads from where you are
to where you should be. And He puts men and women like me in your
life to help you, and He longs for the day when you are mature
enough to then turn around and help us, because we also need help
in our lives against that same enemy we all face. And God likes
for us to work together as a community, so that He doesn't provide
all of the help directly, but we look to Him, and let Him work
through us, so He helps each of us indirectly by our choices to
go and help others purposefully.
 
I ask you to ponder these things in your heart and see if you can
truly find any fault in this goal of loving one another, helping
one another from within that love, and recognizing that the full
foundations of that love comes solely from our relationship to
Jesus Christ, and the changed life He guides us in where we forsake
our former ways, and begin anew in the ways He will show us?
 
You will not find fault in it. When you truly ponder it, it will
reduce you to tears, crying like the child you haven't been for
so many years. You will see the hurt and pain of this world, and
know on the inside how it can all be undone, through love, and
specifically through the love emanating from, filling us up in,
and proceeding out to everyone else, that is from Jesus Christ.
 
He's not a joke. He's not just a religion. He is alive, and He
has desires for our lives which are /ALL/ beneficial, and not just
for our lives individually, but indeed for all of our lives cor-
porately. He's always working on those communities, but there is
also an active enemy who does not sit idly by on the sidelines,
and that enemy is always trying to destroy everything we begin to
build toward God. He works through us, through sin, through the
very people we're trying to help, influencing them to live in hate
and be mean and say hurtful things... but God is greater, and if
we turn the smallest amount toward God and say in our heart of
hearts, "God, help me to overcome my weaknesses. I don't want to
hurt people, but I want to love and help people," then He will do
the rest.
 
It starts with us and our choice. It proceeds from there, either
in service to God, or in rebellion against Him. There is no middle
ground. We are either fully committed to the Lord, where He takes
us through the process of sanctification so that if you look at a
person's life over time and chart out their life's activities you'll
see an ever-increasing degree of service to the Lord, or you'll see
someone who's stagnated and declining in works against the Lord.
 
Please take the time to read this. If you don't want to read it,
get a text-to-speech converter and let it read to you. These things
I teach are important. They are not my teaching, but come from the
things of the Bible, the very teachings of Jesus Christ recorded in
written form so we would have a reference to go back to so we are
not carried away by persuasive arguments made by others. God has
given us that permanent record in antiquity so we would know what
comes from Him, and what doesn't.
 
Consider these things. Ponder them in your heart. And be honest
before your alone self. Seek the big questions, and require the
true answers. Dig deep and press in, and you too will see, fir.
 
God has great plans for you. And I long to see you being that man
He created you to be, glowing even in His light, shining out for
all to see, not to marvel at you, but to marvel at Him and how He
reached in to your life and changed you into this new lighthouse
beacon of love and help overflowing.
 
Great things are ahead for all who will seek the Lord, turn from
the evil and wicked ways of this world, and seek to influence the
world by His guidance, by His presence, by His teaching, so that
we are not alone, but we are with God, and He with us, in all the
areas we will pursue with our interests and skills, each a part of
that larger body of Christ at work in this world, each a member,
as it is with our own bodies and all the many parts within, so are
we a formed body of service unto the Lord, each one doing our part
for that body.
 
Think on these things. And be sincere in that thinking.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Aug 11 08:41AM -0400

On 8/11/2018 8:30 AM, fir wrote:
>> you after this post.
 
> get off imbeciler (i suggest dont try to confraterate with me.. youre spamer, idiot
> brainwasher, spreader of stupidity.. [i already regret i answered to you crap even if that was just stating question and pointing your answer was full of shit - becouse it makes you false meaning i want to confraterate with imbelices, no i dont,))
 
 
fir, before you go on with your life as you have been ... I simply ask
you to consider these things. Consider them for real. Love, helping
one another, teaching one another, giving to one another. Do you really
find fault with such things?
 
The Bible advises Christians in how to proceed with those who reject
the things of the Lord. It is difficult for us sometimes because we
care so much about people.
 
https://www.biblegateway.com/passage/?search=Proverbs+9%3A8&version=NIV
 
8 Do not rebuke mockers or they will hate you;
rebuke the wise and they will love you.
 
It's hard to know who is only a mocker, and who is a wise person that
has simply surrounded themselves in a mocker's facade.
 
The Bible and its teachings toward goodness in all areas are summed
up here by this introduction to the Proverbs, yet the Bible goes on
to teach us about sin, judgment, salvation, and why we need Jesus,
along with many other teachings on history, archaeology, creation,
etc.:
 
https://www.biblegateway.com/passage/?search=Proverbs+1&version=NIV
 
1 The proverbs of Solomon son of David, king of Israel:
2 for gaining wisdom and instruction;
for understanding words of insight;
3 for receiving instruction in prudent behavior,
doing what is right and just and fair;
4 for giving prudence to those who are simple,[a]
knowledge and discretion to the young—
5 let the wise listen and add to their learning,
and let the discerning get guidance—
6 for understanding proverbs and parables,
the sayings and riddles of the wise.[b]
 
==> 7 The fear of the Lord is the beginning of knowledge,
but fools[c] despise wisdom and instruction.
 
[a] Proverbs 1:4 The Hebrew word rendered simple in Proverbs denotes
a person who is gullible, without moral direction and inclined
to evil.
[b] Proverbs 1:6 Or understanding a proverb, namely, a parable, /
and the sayings of the wise, their riddles
[c] Proverbs 1:7 The Hebrew words rendered fool in Proverbs, and
often elsewhere in the Old Testament, denote a person who is
morally deficient.
 
That word there used for "fear" does not mean terrified, but it is
like how you would hold the principal at your school, or the police
authority, or the judge ... basically any entity that has authority
over you.
 
--
Rick C. Hodgin
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: