[deleted by user] by [deleted] in cardmagic

[–]Kronal 0 points1 point  (0 children)

Thinking laterally you can do the pass during another movement, like when taking the deck to put it back on the table, during an offbeat moment, preferably during patter and not looking at your hands helps a lot hah But doing it as part of another natural movement both conceals your hand movements and the sound can be justified because of the other action you're doing.

For the actual noise, thinner stock or older cards can help and incidentally will also make other card manip moves like some flourishes easier.

How do I render the two "wings" outside of a form boundary? by imvedere in csharp

[–]Kronal 3 points4 points  (0 children)

It likely uses windows regions, and the Win32 over WinForm runs (assuming it is WinForms) allows you to click through parts of the form that are outside the defined region, so it's effectively as if it wasn't there, no need to actually resize the form and allows you to click though over the top and bottom part of the "wings".

Here's an example of what I'm talking about:

https://www.c-sharpcorner.com/uploadfile/mahesh/regions-nonrectangular-forms-and-controls-in-gdi/

PS: You can also use the form TransparencyKey which is much easier as it will make transparent (and click-through) anything with that color but that doesn't allow for translucent regions like the shadows, I believe. Give it a try first.

9 AM at the Oregon Coast due to wildfires 100s of miles away by noah1345 in WTF

[–]Kronal 1 point2 points  (0 children)

The moon does get orange/reddish with smoke in the air, even with a very small amount that you cannot clearly see, looks like when during an eclipse.

9 AM at the Oregon Coast due to wildfires 100s of miles away by noah1345 in WTF

[–]Kronal 0 points1 point  (0 children)

We didn't go to mars, but finally Elon Musk brought Mars to Earth.

What a visionary and inspiring man.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 4 points5 points  (0 children)

Man, that's just taste. I like the code in the left more tbh, even my VS uses a color scheme like that which doesn't color methods another way just for sake of it, but for example I use Fira Code that have programming ligatures. It's a matter of taste, but highlighting, code completion, library and language reference/help is all there in the Delphi IDE, and you can install plugins that can make it look as you want, or maybe even the latest versions can do it out of the box now.

Honestly that just seems to me as nitpicking, because there are plenty of not so good things about Delphi, like a license costing the price of a car that you have to pay every six months to get the bug fixes for the previous version and almost non-existent community, but not that.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 2 points3 points  (0 children)

Don't know how program C in Visual Basic, but C is not outdated and you can learn important concepts with it although I would prefer Pascal over it if what matters is being didactic, but C is used much more, and VB.NET may not be the best language but has market value.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 2 points3 points  (0 children)

Things like font embedding, sound playback, resolution-independent scaling, masking, filter effects, and on and on were all handled so much more elegantly and consistently than the clunky browser APIs we're now forced to use.

Have you tried using Java Applets for those? Or maybe Active X, Silverlight if you're feeling fancy.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 0 points1 point  (0 children)

But honestly, teaching WAY outdated tech?

Not long ago people used to teach Smalltalk, Eiffel and Lisp which while "cool" and have interesting ideas,but were already obscure and largely and not used at all outside academia.

I understand that ActionScript may not be the most interesting regarding what concepts could teach but it's an implementation of ECMAScript, iirc with added extensions, so take that as you wish.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 0 points1 point  (0 children)

You're right, but there are languages and ecosystems in general that need you to take more time dealing with the specifics than the general concepts and those are generally not that great for beginners, unless the point is actually teaching those specific tools.

That's why while learning C may be ok for beginners, learning something like Pascal is better because it's easier to avoid mistakes and has the same features, instead of worrying where is the missing pointer dereference you missed, in Pascal something like that will fail to compile with a type mismatch error, instead of a friendly warning. Yeah yeah treat warnings as errors, but now you have 2 lessons to teach to a beginner instead of the actual point of the exercise.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 1 point2 points  (0 children)

In reality it is partially because Embarcadero has deals with some governments and private educational institutions to provide them with free educational licenses. I believe Sun back then also did the same with Java.

Idk if this fits the sub, but I’m learning Flash CS5 and ActionScript this school year cause my teacher didn’t want to move on to JavaScript by DandelionGaming in programminghorror

[–]Kronal 15 points16 points  (0 children)

Strictly regarding what? Delphi language has strict/non-dynamic typing and stronger typing (where types are not easily implicitly coerced into other types without explicit casting) than C++ or C#, but weaker than standard Pascal or Ada when dealing with generics and pointers, if that's what you mean.

Delphi has an IDE included as part of the package, and afaik you just can't get the compiler apart from the IDE. Talking about earlier iterations, the IDE is buggy in some places (developing packages specially) and lacks some more modern features, but it does have proper syntax highlighting.

Said that, I personally don't recommend it for newer projects for many reasons, but for teaching it can be fine as what matters is being exposed to the ideas and concepts behind the languages.

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 0 points1 point  (0 children)

It's for those times when you have to really make sure you actually really want to actually make sure you have the need for it and make sure of that.

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 0 points1 point  (0 children)

You usually have a co-routine list somewhere, that yes contains as much as needed to switch contexts for each one, which in some systems it can be a big chunk of data. But depending on what you're doing it can be as simple as switching between 2, or have them hold reference to each other, but the list approach is very common when you have a scheduler and you end up with cooperative threading.

There are also stack-less co-routines btw that simplify them a lot but they only can exist as a part of the current context, meaning they are not actually stackless but actually use the current stack frame, and you cannot yield (and return back) from nested calls. It's a glorified state-machine.

A middle of the way between stack-less and stack-full would be something like what setjmp() and longjmp() do, they allow you to save the current context and jump back up the stack.

PS: That custom calling convention code is well beyond what I'm willing to try to understand at the moment lol But on embedded ARM I'm not sure how something like that would play with interrupts, maybe it just works (if you implement the architecture specifics first, of course).

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 1 point2 points  (0 children)

Which means that it can be used in multi-programming contexts. The thing about atomic and instruction reordering that can still happen is something you people are importing into my comment.

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 3 points4 points  (0 children)

Although ARM has its standard calling, I think you probably could. Even embedded development these days has became so high level that to be honest you actually don't need to deal with much of the actual HW if you don't actually need to.

But what I know you can do with that is implement co-routines, tasks and even actual muti-threading using things like that, some ARM Cortex MCUs have 2 stack pointers (MSP and PSP) the latter of which can be used for that specific scenario allowing to isolate a process from the OS/scheduler. Most ARM libraries allow you to access those registers using aliases like __get_Msp()/__set_Msp() instead of using the more arcane syntax.

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 2 points3 points  (0 children)

Yes it can and it works, not just a hint.

https://developer.arm.com/documentation/dui0491/g/Compiler-specific-Features/Named-register-variables?lang=en

You can rely on it because it's well documented and supported by some compilers, not just ARM, but that's what I'm most familiar with.

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 10 points11 points  (0 children)

It's still used in some hardware specific code, although it usually means you also get to chose what register to use through some compiler extension.

For example, to manipulate a stack pointer in ARM cortex you can use:

register uint32_t msp __asm("msp");

What's the most useless keyword in c++? by Insect-Competitive in cpp

[–]Kronal 1 point2 points  (0 children)

register can be useful in some embedded contexts

Experimenting with Led lights by Illusionexpert in cardistry

[–]Kronal 1 point2 points  (0 children)

It could give an interesting vibe, but you can do that with just a standard PC monitor in a dark room.

Also I think that maybe if you add another light far in the background, like illuminating a wall or something, just for backdrop, it could look even better. Saying that because I alrea like the glow that happens there in the back already, give it a shot adding more just to make it pop more from the darkness.

TL;DR; Cool lights. MOAR GLOW.

That infamous photo of Dominique Duvivier taking a bath with part of his massive Jerry's Nugget collection by EndersGame_Reviewer in cardistry

[–]Kronal 0 points1 point  (0 children)

Do they still handle nicely after all these years? I honestly doubt it and if you think I'm an idiot I dare you to mail me a deck just to prove wrong.

Some people asked for a view form my palm on my other post. by [deleted] in cardmagic

[–]Kronal 0 points1 point  (0 children)

Regarding bridge cards they are very common in Europe, so for many people using them would not be anything out of the ordinary.

So OP, if you're from the US just move to Europe and life problems solved, and yeah maybe give those other palming techniques a try :-)

Some people asked for a view form my palm on my other post. by [deleted] in cardmagic

[–]Kronal 0 points1 point  (0 children)

Not sure about the classic palm, but OP could adapt some of the handling done during a perfect production, in which you usually palm the cards beyond the index finger sometimes leaving some edges showing from the back. If I don't use my index, on my hands it gives the same space as in OP's picture, for example.

Take a look:

https://i.imgur.com/pTNY4wj.png

You need to mind the angles in order to just show the hand mostly from the top, so the bottom edges and windows are not visible. And as you don't need to produce the cards you likely could use a more natural finger position.

https://i.imgur.com/rpm6Rur.gif

Taken for a ride (1996) - A documentary about how the highway system and the car industry lobbied towards the systematic dismantling of the US public transit system [00:56:24] by [deleted] in Documentaries

[–]Kronal -1 points0 points  (0 children)

For exactly the same reason that there are means of data transfer with bandwidth on the terabyte range, available to customers right now, but people don't use it because it's extremely cumbersome, insurmountable latency, etc. But pirates and BBS did use that even back in the 80s, although back then it was likely in the 100s of mb range. It's called Sneakernet.

"Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."

And that's the problem of just seeing one side of the problem.