Nobody shares knowledge better than this
-
@HardwareGeek said in Nobody shares knowledge better than this:
@bb36e said in Nobody shares knowledge better than this:
@SpectateSwamp you up in northern Ontario by any chance?
British Colombia. He refers to Osoyoos, which is almost on the U.S. border, between the Cascades and Rockies, about the east-west mid-point of the province. I'm not sure if that's where he lives, or he just happened to be there recently. He's mentioned participating in local politics, including running for office, probably including the location, but I don't remember where (other than B.C.), and I don't care to search.
Yup that is where I live. On the nearby Reserve.
Recently one of my Horse friends .. Without bridle or saddle took a local on a ride into the hills. They ran out of apples so Colton shook the rider off and the rider had to walk home...
Next time take more apples...
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Soon there will be a feature if you put "jamit" in the name all doevents that surrender time to the system will be turned off.
So it literally jams your PC, because your entire processing is done in
Form_Initialize()
.That... is evil. And I almost like it.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Change the text color to that of the background (aqua)
That sounds like a very useful feature.
-
@SpectateSwamp ah... no. It's been a standard facet of pretty much every multitasking operating system since the early 1960s; the major exceptions were Oberon, which happened because Wirth got a bug up his ass about system-wide determinism and eliminated all hardware interrupts from the design of the Ceres workstation, and the early versions of Mac Multifinder (before 7.1), which eased into it to give developers time to fix older programs that didn't follow the Apple developers guidelines correctly.
-
@Maciejasjmj said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
Soon there will be a feature if you put "jamit" in the name all doevents that surrender time to the system will be turned off.
So it literally jams your PC, because your entire processing is done in
Form_Initialize()
.That... is evil. And I almost like it.
Except it doesn't actually work because he forgot to check
jjjj1
in one part of an inner loop somewhere.
-
@ScholRLEA said in Nobody shares knowledge better than this:
@SpectateSwamp ah... no. It's been a standard facet of pretty much every multitasking operating system since the early 1960s; the major exceptions were Oberon, which happened because Wirth got a bug up his ass about system-wide determinism and eliminated all hardware interrupts from the design of the Ceres workstation, and the early versions of Mac Multifinder (before 7.1), which eased into it to give developers time to fix older programs that didn't follow the Apple developers guidelines correctly.
What about the folks that have windows 95..
they need speed too.
Digital equipment computers gave users the ability to set process priorities.
I didn't have high enough privilege to increase the settings for users that needed it...
But I could lower the priorities for all the others... A lowertheboom app. Worked very well.
-
@SpectateSwamp so... A really crappy video editor?
-
@Tsaukpaetra said in Nobody shares knowledge better than this:
A really crappy video editor?
Well, it doesn't actually edit videos, it just plays it with some subtitles and control, I think?
More of a really crappy video player.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
What about the folks that have windows 95..
Setting aside the question of whether anyone is still using Windows 95 after
eleventwenty-one years, or if any of those users would have heard of and decided to use SSDS, my statement was inclusive; Win95 used pre-emptive multitasking. To be more specific, from Windows 3.1 on, Windows would always use it on a system that supported 32-bit protected mode. Since Win95 only ran in 32-bit p-mode, it always pre-empted.@SpectateSwamp said in Nobody shares knowledge better than this:
Digital equipment computers gave users the ability to set process priorities.
Under which operating systems, on which hardware? The PDP and VAX range alone had about 25 different models, and ran over a dozen operating systems, including VMS, BATCH-11, ITS, WAITS, TOPS-10, Tenex, RSX, Tripos, and several implementations of Bell Unix, just to name a few.
Mind you, so does Windows, and any Unix derivative I have ever heard of will as well. .
I didn't have high enough privilege to increase the settings for users that needed it...
But I could lower the priorities for all the others... A lowertheboom app. Worked very well.I really doubt that - no OS I am aware of let's one process change a more privileged process's priority, and while most allow a process to request a higher priority, it is up to the system whether the priority gets changed or not (actually, this is also the case if you re-nice your priority downwards, but it is rare for an OS to refuse such a request). So if you didn't have the privilege needed to get your own process's priority raise, I wouldn't expect that you would have the required privileges to reduce other processes' priority. Without knowing the specific OS, I couldn't say.
-
@Maciejasjmj said in Nobody shares knowledge better than this:
@Tsaukpaetra said in Nobody shares knowledge better than this:
A really crappy video editor?
Well, it doesn't actually edit videos, it just plays it with some subtitles and control, I think?
More of a really crappy video player.
Media sequencer then?
-
@ScholRLEA said in Nobody shares knowledge better than this:
using Windows 95 after eleven years
Um, check your math.
-
@Tsaukpaetra said in Nobody shares knowledge better than this:
Media sequencer then?
I'd say "a really shitty wrapper around Windows Media Player with an utterly insane interface and some full-text search capabilities bolted on", but maybe I'm less generous.
-
@HardwareGeek Thank you. I had another dumbass attack, I actually was thinking 21 years and for some reason the signal got mangled between cortex and motor control.
-
@Maciejasjmj said in Nobody shares knowledge better than this:
@Tsaukpaetra said in Nobody shares knowledge better than this:
Media sequencer then?
I'd say "a really shitty wrapper around Windows Media Player with an utterly insane interface and some full-text search capabilities bolted on", but maybe I'm less generous.
SSDS can play the first 10 seconds or so of every video I have FAST FORWARD.
What a great way to check for corrupted clips. I have one that I'll have to find so I can test it out. Video Audio and Pictures do get corrupted over time and need to be found and restored. Nope not many if any CMS apps can do this. Hooray hooray.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
SSDS can play the first 10 seconds or so of every video I have FAST FORWARD.
public partial class Form1 : Form { private MediaElement me; private List<string> files; private int fileIndex = 0; private void MoveToNextFile() { if (fileIndex >= files.Count) { Application.Exit(); return; } me.Stop(); me.Source = new Uri(files[fileIndex]); me.Play(); me.SpeedRatio = 2; fileIndex++; } public Form1() { InitializeComponent(); var host = new ElementHost() { Dock = DockStyle.Fill, Visible = true }; me = new MediaElement() { LoadedBehavior = MediaState.Manual, UnloadedBehavior = MediaState.Manual }; host.Child = me; Controls.Add(host); files = Directory.EnumerateFiles(@"C:\your\video\folder").ToList(); } private void Form1_Load(object sender, EventArgs e) { timer1.Interval = 1; timer1.Enabled = true; } private void timer1_Tick(object sender, EventArgs e) { timer1.Interval = 5000; MoveToNextFile(); } }
Whoa. That took like... 10 minutes. Truly a stunning feature requiring lots of work.
And I'm pretty sure the code can be shortened and organized further, but your 10 minute consultancy is up, Swampy.
-
@HardwareGeek said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
You have to have slow code to make use of the computer power we have today.
It isn't as crazy as it... no, wait, it's exactly as crazy as it sounds, just for different reasons than you probably think he means.
Basically, he's arguing that Windows, Linux, structured programming, OOP, pre-emptive multitasking, and most of what passes for modern software techniques since he first worked in software development (circa 1976, I gather) is a conspiracy to force users to keep buying new hardware. This is also why he is convinced that his 'lean and simple' programming philosophy fell out of favor, and why he can make SSDS faster than anything written in a 'modern' way.
-
@ScholRLEA I read some posts here and have no clue SSDS is, not even the abbreviation stands for.
-
@dse SpectateSwamp Desktop Search
-
@PleegWat don't forget SSRR, SpectateSwamp Random Random.
Praise the VB5 and let all of us be blessed by His Noodly Appendages, for He is surely the one who gaveth us the jamming and the noodles.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
SSDS is poised to make good use of quantum computing.. Bring it on.
OK, I have to ask...how the fuck do you figure?
And, just to ask you a question you might be able to answer:
Also, I have never really done drugs. If I were to start, do you have any tips?
-
@ScholRLEA said in Nobody shares knowledge better than this:
@HardwareGeek Thank you. I had another dumbass attack, I actually was thinking 21 years and for some reason the signal got mangled between cortex and motor control.
@Tsaukpaetra can help you troubleshoot that.
-
@dse said in Nobody shares knowledge better than this:
@ScholRLEA I read some posts here and have no clue SSDS is, not even the abbreviation stands for.
Excellent, 4/5 on Word of Blakey impersonation, would reply again.
-
@Polygeekery said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
@HardwareGeek Thank you. I had another dumbass attack, I actually was thinking 21 years and for some reason the signal got mangled between cortex and motor control.
@Tsaukpaetra can help you troubleshoot that.
Depends. Does he have a standard topography installed? Custom ToMs aren't supported, but if the mapping data is available I might be able to help figure out where there might be inefficiencies in the IO lanes.
-
@Tsaukpaetra said in Nobody shares knowledge better than this:
@Polygeekery said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
@HardwareGeek Thank you. I had another dumbass attack, I actually was thinking 21 years and for some reason the signal got mangled between cortex and motor control.
@Tsaukpaetra can help you troubleshoot that.
Depends. Does he have a standard topography installed? Custom ToMs aren't supported, but if the mapping data is available I might be able to help figure out where there might be inefficiencies in the IO lanes.
TIL about IoT.
-
@ScholRLEA said in Nobody shares knowledge better than this:
@dse said in Nobody shares knowledge better than this:
@ScholRLEA I read some posts here and have no clue SSDS is, not even the abbreviation stands for.
Excellent, 4/5 on Word of Blakey impersonation, would reply again.
I am glad! he is (was?) the single voice of reason here. Solemnly missed.
-
@dse said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
@dse said in Nobody shares knowledge better than this:
@ScholRLEA I read some posts here and have no clue SSDS is, not even the abbreviation stands for.
Excellent, 4/5 on Word of Blakey impersonation, would reply again.
I am glad! he is (was?) the single voice of reason here. Solemnly missed.
Blakey was the voice of reason around here?
You should have waited for those tips on casual drug use. You have went about it all wrong.
-
@Polygeekery said in Nobody shares knowledge better than this:
Blakey was the voice of reason around here?
If so, then it was less a reflection on Precentor Waterly than it was in the rest of the forum.
-
:fa_rat: ...ok? cool story, bro.
-
@Maciejasjmj said in Nobody shares knowledge better than this:
@dse said in Nobody shares knowledge better than this:
multiple COMEFROM Label in the same process,
COMEFROM is just the
catch
in atry
/catch
block.
-
@OffByOne said in Nobody shares knowledge better than this:
@Maciejasjmj said in Nobody shares knowledge better than this:
@dse said in Nobody shares knowledge better than this:
multiple COMEFROM Label in the same process,
COMEFROM is just the
catch
in atry
/catch
block.At least this is more in the spirit of goto/COMEFROM:
But nope, both try/catch and setjmp/longjmp are too controlled. There must be no stack unwinding.
-
@dse said in Nobody shares knowledge better than this:
But nope, both try/catch and setjmp/longjmp are too controlled. There must be no stack unwinding.
A stack? Isn't that much too advanced in this context?
-
@PleegWat said in Nobody shares knowledge better than this:
@dse said in Nobody shares knowledge better than this:
But nope, both try/catch and setjmp/longjmp are too controlled. There must be no stack unwinding.
A stack? Isn't that much too advanced in this context?
you are right:
When a "non-local goto" is executed via setjmp/longjmp, normal "stack unwinding" does not occur.
SJLJ is one implementation method for stack unwinding, but that requires extra logics.
-
BTW, I forgot to ask in the discussion on grep just what string searching algorithm SSDS uses. Boyer-Moore? KMP? Karp-Rabin? FSA-Transition? Bitap? - No, wait, can't be that one, I'm pretty sure VB 5 has no bit-fiddling operators. So, which is it?
Tell us, Swampy, what's the computational time complexity of this mighty string-processing engine you have created? Θ(1)? Θ(m) + Θ((n−m)m) (comparable to worst-case for K-P, including both pre-processing and actual search)? Θ(m) + Θ(n) (KMP)? Θ(m + k) + O(mn) (worst case for B-M)?
Or maybe - just a guess, here - Θ(m × n), which is your basic brute-force comparison on every character of both strings?
Of course, it could also be Θ(2m × 2n). That sounds plausible, given your coding skills.
-
@ScholRLEA said in Nobody shares knowledge better than this:
Of course, it could also be Θ(2m × 2n). That sounds plausible, given your coding skills.
Yup, that is it! It works best with the quantum computing
-
@HardwareGeek said in Nobody shares knowledge better than this:
British Colombia
Is its capital Bougoutá?
-
@Maciejasjmj said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
SSDS can play the first 10 seconds or so of every video I have FAST FORWARD.
public partial class Form1 : Form { private MediaElement me; private List<string> files; private int fileIndex = 0; private void MoveToNextFile() { if (fileIndex >= files.Count) { Application.Exit(); return; } me.Stop(); me.Source = new Uri(files[fileIndex]); me.Play(); me.SpeedRatio = 2; fileIndex++; } public Form1() { InitializeComponent(); var host = new ElementHost() { Dock = DockStyle.Fill, Visible = true }; me = new MediaElement() { LoadedBehavior = MediaState.Manual, UnloadedBehavior = MediaState.Manual }; host.Child = me; Controls.Add(host); files = Directory.EnumerateFiles(@"C:\your\video\folder").ToList(); } private void Form1_Load(object sender, EventArgs e) { timer1.Interval = 1; timer1.Enabled = true; } private void timer1_Tick(object sender, EventArgs e) { timer1.Interval = 5000; MoveToNextFile(); } }
Whoa. That took like... 10 minutes. Truly a stunning feature requiring lots of work.
And I'm pretty sure the code can be shortened and organized further, but your 10 minute consultancy is up, Swampy.
Good start. But can it do RANDOMLY. Or by gendre etc.
-
@ScholRLEA said in Nobody shares knowledge better than this:
@HardwareGeek said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
You have to have slow code to make use of the computer power we have today.
It isn't as crazy as it... no, wait, it's exactly as crazy as it sounds, just for different reasons than you probably think he means.
Basically, he's arguing that Windows, Linux, structured programming, OOP, pre-emptive multitasking, and most of what passes for modern software techniques since he first worked in software development (circa 1976, I gather) is a conspiracy to force users to keep buying new hardware. This is also why he is convinced that his 'lean and simple' programming philosophy fell out of favor, and why he can make SSDS faster than anything written in a 'modern' way.
pretty much. Spaghetti code spawns serendipity not so with structured code. I can jam my code through trial and error and get results. Structured is not so flexible
90% of the greatest programmers coded noodle code.
I'm against anything done in the name of efficiency... unless it makes the code easier to understand.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
@HardwareGeek said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
It was the Husband of a local RCMP that called me outside.
When I found out he was for the Police... I decided to stay inside for the safety of those folks...You stayed inside to protect the people against the husband of a police officer? Um, TDEMSYR.
His Wife the RCMP officer was there along with a group of their supporters. Heckling me.
They all probably had guns or tazers. It would have made for great video if a fight had broke out.Swampy, what you (and most of the other people here, admittedly) fail to grasp is that both politics and religion are mainly about one guy telling a bunch of illiterate/semi-literate yahoos 'if you do what I say, you'll have stars on your belly, which will make you better than everyone who doesn't have stars on theirs'.
Actually, if anything, Dr. Seuss made it sounds even more sophisticated and rational than it really is in practice. It has nothing to do with God, immortality, morality, public good, social justice, or sensible resource management, and everything about a bunch of pricks exploiting the need to belong.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Spaghetti code spawns serendipity not so with structured code.
Translation: It (mis)behaves in ways you don't expect.
Sane people know that in computer programs, this is almost always a Very Bad Thing™. Serendipity is usually undesired behavior.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
I'm against anything done in the name of efficiency... unless it makes the code easier to understand.
You and me both, brah. Rock on.
-
@Polygeekery said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
SSDS is poised to make good use of quantum computing.. Bring it on.
OK, I have to ask...how the fuck do you figure?
And, just to ask you a question you might be able to answer:
Also, I have never really done drugs. If I were to start, do you have any tips?
Most computers share resources.. My jam it feature will hog all those computer cycles.
In doing the mp3 error file checking I found 5 or 10 out of the 24,000 that caused disk I/O to RED line. That along with a couple other computer intensive features to Hog it all.
Those Indexers, Disk Cleaners, Crawlers etc.. that make video pause will find a hard time getting a slice of time.Pot hint. Smoke with your Grandma and not too much. Otherwise the paranoia will scare you away forever. Note. I am an expert at handling paranoia.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
I am an expert at handling paranoia.
I am going to call bullshit on this one.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Most computers share resources.. My jam it feature will hog all those computer cycles.
Gotcha. A feature intended to make my computer thrash and turn it in to a space heater.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Pot hint. Smoke with your Grandma and not too much. Otherwise the paranoia will scare you away forever
QF...uh... something?
-
@Yamikuronue said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
I'm against anything done in the name of efficiency... unless it makes the code easier to understand.
You and me both, brah. Rock on.
Yup the "programmatically corrects" got rid of the line numbers but we can use pseudo line numbers.
When I want to make a change. I don't have to consider what other routines need to be considered. There aren't any.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
that make video pause will find a hard time getting a slice of time.
lol I like how he thinks he can stop multitasking with his single-threaded program on a modern OS.
Protip: Even if you peg a core at 100%, you're gonna have at least one, if not more, additional core. Plus the OS will just kill your program's access to the CPU when it starts misbehaving. Like. It. Should.
-
@SpectateSwamp Don't get me wrong, we disagree on just about every other point you've made, including the idea that your code is easy to read. But I do agree that maintainability is crucial and saving a little bit of performance at the expense of readability is rarely a good tradeoff.
Oooh, another place we agree:
@SpectateSwamp said in Nobody shares knowledge better than this:
When I want to make a change. I don't have to consider what other routines need to be considered. There aren't any.
I don't have other places with the same line of code either... because I cleaned it all up into one reusable method instead of copy-and-pasting.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
pretty much. Spaghetti code spawns serendipity not so with structured code. I can jam my code through trial and error and get results. Structured is not so flexible
How long do you jam your code for before you get results? See, you've got the luxury to work on your pet project at whichever pace you desire. If it takes you a month to fix a simple bug because you have to figure out which square peg your noodle can jam into, then the only person waiting for that is you. In the real world, where most of us are, we have actual stakeholders waiting for shit to get done. If it takes me weeks to complete a task which would have taken 10 minutes in structured code, then I'd be out of a job.
90% of the greatest programmers coded noodle code.
Citation, please.
I'm against anything done in the name of efficiency... unless it makes the code easier to understand.
Ah, but your code ISN'T easy to understand. We've done code reviews of your shit for nearly a decade now, and we've all come to that same conclusion.
@SpectateSwamp said in Nobody shares knowledge better than this:
Most computers share resources..
What, they are communists?
@SpectateSwamp said in Nobody shares knowledge better than this:
My jam it feature will hog all those computer cycles.
So, Alzheimer's research will have to wait because your app doesn't let folding@home do its job? You monster.
In doing the mp3 error file checking I found 5 or 10 out of the 24,000 that caused disk I/O to RED line. That along with a couple other computer intensive features to Hog it all.
Yeah, that's... that's not a good thing.
Pot hint. Smoke with your Grandma and not too much. Otherwise the paranoia will scare you away forever. Note. I am an expert at handling paranoia.
Pot hint: Don't smoke weed. Also, my grandma is dead, thanks for reminding me. Trigger warning your shit.
-
@sloosecannon said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
that make video pause will find a hard time getting a slice of time.
lol I like how he thinks he can stop multitasking with his single-threaded program on a modern OS.
Protip: Even if you peg a core at 100%, you're gonna have at least one, if not more, additional core. Plus the OS will just kill your program's access to the CPU when it starts misbehaving. Like. It. Should.
And I'll be using the task manager to watch for that. Then a quick restart.
Whose computer is it anyway.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Whose computer is it anyway.
TIL if I run SSDS, Spectate takes ownership of my PC. I knew I should have read the terms and conditions!