|
Oooh! Ruriko (a Japanese girlfriend I lived with for a while in the 90's) made lovely Tempura Prawns ... light, crisp batter, even vegetables were good when she did them that way ... I remember them even now.
"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!
|
|
|
|
|
|
resin -> gum
boiling (anagram)
in pot
spirit (def) gumption
|
|
|
|
|
And you are up tomorrow!
"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!
|
|
|
|
|
Anticipating pxfox, it wasn't very Ximenean, was it?!
|
|
|
|
|
You know me ... just say what you see!
"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!
|
|
|
|
|
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Yes, one of CodeProject's legends [^] is going to lead us to the promised-land where the dreck of untyped EcmaScript (aka JavaScript) cannot go.
Thanks, Pete !
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
You're welcome Bill. I'm having a great time writing them. It's no secret that I love TypeScript; I thought I'd write a series to try and inspire that same love in others. It's funny that this series is where I am having the most engagement from people, it must be something they have wanted.
|
|
|
|
|
Pete O'Hanlon wrote: I thought I'd write a series to try and inspire that same love in others. Don't be so unrealistic. It is already a big success if you manage to take the aversion for it from some devs...
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.
|
|
|
|
|
Nifty - I shall make sure to read, as I'm just starting Typescript, with a view to type-ifying some old Javascript I wrote, as I'm pretty sure it's buggy as anything...
I've already found one or two... 'anomalies', shall we say, as I've started to add type annotations...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
With the endless proliferation of JS frameworks out there, I've never really been interested in trying to commit to something that risks being unsupported next week or next month.
That being said, if TypeScript is useful with what would otherwise be vanilla JS, then that has some appeal to me. I'm looking forward to go over Pete's series (presuming I find the time).
|
|
|
|
|
It has been late nights trying to make Reggie pass tests. Until the other night I took the wrecking ball and leveled it to the foundation.
Too much maintenance trying to target SQL and C# (and Python and Java and C++ and Rust and Mind$%_@ and whatever else the way I was doing it) It's too easy to make one off code that does the wrong thing under the right circumstances.
I'm creating a legolike way to write the code, to where I describe the machine and various targets can render it like
PROCEDURE_MATCH
MATCH_DECLARATIONS
WHILE_CHARLOOP
MARK_LOCATION
MARK_STATE
STATE_TRANSITIONS
DO_STATE_BLOCK_END
DO_ACCEPT_OR_ERROR
END_WHILE_CHARLOOP
END_PROCEDURE_MATCH
Something like that, and then that invokes the templates for the given render target to render each of those elements in the target language at the given indent level
The whole app uses asp like templates now. Even the CLI "using screen" is rendered using an asp template.
So you want to be a carpenter, do you?
Well it takes more than a hammer, boy
You're gonna need blueprints and a will to build, and...
Straighten your cap! you look like you've been through a war
Wipe that grin off your mug, you got a sturdy frame?
Sluggish posture just won't cut it
You're gonna need schooling, and, and, and take notes!
And god if I catch you yawning again you're gonna regret ever asking for my help
And dammit you gotta hustle, this is a slacker-free zone
And, where's my pencil? Go get your hard-hat
Here's a nickel, go get us a ruler and a saw and a drill and lots of graph paper...
Yo..
I used to have a rope ladder but tattered were the rungs
I strung it from the highest willow, trying to hug the sun
The seventh level buckled and I tumbled from the summit
Now I'm back to re-climb and this time light my cigarette from it - Aesop Rock
How to Be a Carpenter - Aesop Rock, from the album Float[^]
Real programmers use butterflies
|
|
|
|
|
|
AAAAAARGH!
I can barely get ASP to format my using screen correctly, i don't even want to try to mess with that using tags. Besides, in the end the idea is to save me typing, and XML is very verbose. meh.
Real programmers use butterflies
|
|
|
|
|
xsl:variable - assign once, you can never change the value.
How much time did I waste on trying to vary the value?
|
|
|
|
|
Ah, one of the tools I've got to know well... It's a shame that a) XML has such an 'enterprise' stigma to it, and b) things used instead of XML (JSON, mainly) don't have similar tooling as integrated as they are with XML.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
honey the codewitch wrote: How to be a carpenter Wood, saw, hammer and nails?
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.
|
|
|
|
|
Don't forget the glue
GCS 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
|
|
|
|
|
That reminded me of COBOL {shudder}
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Grandpa Was A Carpenter
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
The clipboard on the computer I use to access all remote systems I constantly work with is broken. It works again after a reboot, but for a rather short period of time only; it stops working again within minutes.
As in, type in a few plain-text characters anywhere (like Notepad), highlight a few characters, Copy, and then Paste. Nothing gets pasted, as if nothing ever got copied in the first place. Doesn't matter what app it is, or whether it's plain text or a file or an image.
I've come across numerous articles with titles along the lines of "8 ways to get the Windows clipboard working again"...and all 8 methods fail to solve the problem. Other machines (accessed over RPD) can copy things "locally", but as soon as it needs to cross boundaries and bring something over on the local system, it's broken.
I use the clipboard dozens of times an hour, day in, day out. Having it not working is seriously impeding productivity, to the point where I'm thinking reinstalling the whole damned OS might be the only solution. This is insane.
Anyone got a 9th way to try to solve this?
|
|
|
|
|
I know a bit about the clipboard because I've struggled with automating it.
I have a few suggestions that I will try to work you through but they will entail using my web site / web app (password manager -- known as C'YaPass).
It's a browser app that generates passwords for you and copies them to your clipboard.
I'm active here and a real person here on CP so hopefully you'll try this out. (ie - I'm not a nefarious hacker).
1. Go to C'YaPass : Never type a password again[^]
2. follow the steps as if you're creating a password. a) add a new site key b) draw a pattern
3. When you draw a pattern you'll see a password autogenerate in the lower right text box.
When that password is generated it is copied to your clipboard.
Try pasting it somewhere (text editor or something.
4. If that doesn't work, click the [clipboard icon] button (next to the [Delete] button).
I had to implement that special button for Mac platform. It wouldn't do the auto-clipboard thing.
After all that, report back here and let me know what you find.
FOSS -- All the source is Fully Open Source Software
All the code to my C'YaPass app (in various forms - C#, Java, Kotlin, Swift, HTML5/JS, etc.) is all OPEN SOURCE and I will guide you to the source code of what it is doing to copy to the clipboard if you like.
Good luck.
|
|
|
|
|
At step 3 - when trying to paste the content of the clipboard in Notepad - nothing happens. Clicking the clipboard icon and pasting again does nothing. Changing the pattern further (and thus getting a new value copied to the clipboard, presumably) also subsequently does not paste anything.
|
|
|
|
|
That is interesting. So, does it not copy/paste even on the same system? Or, does it not copy/paste across to / from a remote system?
If it doesn't work on the same system, I'm guessing that something about the local system has its clipboard functionality turned off or something.
|
|
|
|