Nobody shares knowledge better than this
-
@SpectateSwamp said in Nobody shares knowledge better than this:
The friend that gave me the music files asked if it could be interrupted so data changes could be made
Your friend is an enabler.
-
@ScholRLEA that link and overall that code reminds me of Asterisk and most people working in it so much... For example, these days I'd write this:
context SSDS { _X. => { switch(${EXTEN:0:1}) { case 0: Dial(SIP/zero); break; case 1: for(i = 0; ${i} < 3; i=${i}+1) { Dial(10${EXTEN:0:1}); } break; default: Playback(MOTD); } Hangup(); } }
Ok, this is stupidly written because I wanted to abuse constructs, and syntax is still pretty ugly because Asterisk, but whatever, you can kinda follow along regardless.
But that gets converted to:
devserver*CLI> dialplan show SSDS [ Context 'SSDS' created by 'pbx_ael' ] 'sw_486_' => 10. Goto(sw_486_.,10) [pbx_ael] 'sw_486_0' => 10. Dial(SIP/zero) [pbx_ael] 11. Goto(_X.,3) [pbx_ael] 'sw_486_1' => 10. MSet(i=$[ 0]) [pbx_ael] 11. GotoIf($[ ${i} < 3]?12:15) [pbx_ael] 12. Dial(10${~~EXTEN~~:0:1}) [pbx_ael] 13. MSet(i=$[${i}+1]) [pbx_ael] 14. Goto(11) [pbx_ael] 15. NoOp(Finish for_sw_SSDS_1_486_487) [pbx_ael] 16. Goto(_X.,3) [pbx_ael] '_sw_486_.' => 10. Playback(MOTD) [pbx_ael] 11. Goto(_X.,3) [pbx_ael] '_X.' => 1. MSet(~~EXTEN~~=${EXTEN}) [pbx_ael] 2. Goto(sw_486_${~~EXTEN~~:0:1},10) [pbx_ael] 3. NoOp(Finish switch_SSDS_486) [pbx_ael] 4. Hangup() [pbx_ael] -= 5 extensions (16 priorities) in 1 context. =-
There, tell me that doesn't look like I pulled it out from SDSS. The sad thing is, most people I know that even write dialplans write it like that... And all major GUIs hide code that looks like that in the bowels of the system... Ugh!
Filed under: Yes those are indeed "line numbers" out of order. Yes, they are duplicated. Yes, that works.
-
@Onyx Well, that's the thing: I don't have a problem with a code generator doing that. Everything that produces assembly or machine code produces code like that. The problem lies in the readability of the code.
Swampy is pretty much alone in the world in saying that this sort of code is easier to read than structured code; even David Brin, who thinks traditional BASIC would be easier for children to learn than Python, agrees that it was terrible for writing major programs in. Even in the 1960s, everyone agreed on that, they only argued that unstructured code was more efficient - which was easily shown to be false - and that there were cases where structure got in the way.
Most programmers today have never used an explicit
GoTo
, hell, most have never used a language that has a functioningGoTo
(some languages, including Java, have agoto
keyword but only to trap it in ported code so that the compiler can raise an error on it). It's not just a dead question, for most people today it is an unknown one.
-
@ScholRLEA You don't get it... the generated code is the "language" most people still use to this day. And all you get is
Goto
,GotoIf
,GotoIfTime
(yes, really) andGoSub
(GoSubIf
? Maybe? I repressed it). Literally 99% of forum questions and answers use it when I look for something, so it seems that the C-ish syntax I used above is the outlier.Blows my mind. Then again, most people dealing with this stuff aren't programmers, or at least that's the impression I'm getting from them.
-
@Onyx said in Nobody shares knowledge better than this:
There, tell me that doesn't look like I pulled it out from SDSS.
Maybe that's actually what he did...? What if he's got the actual (maybe actually readable-ish?) source code on his own machine, and runs it through a pre-compiler/code generator/optimizer or something in order to get this type of code, which he then puts on his website for other people to peruse?
-
@djls45 I don't know, it seems to be liberally sprinkled by crazy comments and whatnots... Also, I'm not sure that it's optimized in the least.
-
@Onyx said in Nobody shares knowledge better than this:
There, tell me that doesn't look like I pulled it out from SDSS.
It's pretty close. You just need to have more repeated letters in your variable names, and a few more date comments.
@Onyx said in Nobody shares knowledge better than this:
Also, I'm not sure that it's optimized in the least.
No, no it is not. Although the variable reuse does remind me of the sorts of things compilers will do when they see you've finished with an entry on your stack frame.
-
Knowledge not shared is LOST...
Start sharing People or everything you know will pass with you.
Start with family albums, emails, notes, video, audio...
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Knowledge not shared is LOST...
Start sharing People or everything you know will pass with you.
Start with family albums, emails, notes, video, audio...
Are you resharing every single thing that gets shared to you, or are you trying to start some kind of sharing pyramid scheme?
-
@CreatedToDislikeThis
Ponzi SSDS?
-
@ScholRLEA said in Nobody shares knowledge better than this:
Most programmers today have never used an explicit GoTo, hell, most have never used a language that has a functioning GoTo (some languages, including Java, have a goto keyword but only to trap it in ported code so that the compiler can raise an error on it). It's not just a dead question, for most people today it is an unknown one.
GoTo considered harmful!!!11!!!. Proper programming language should be line numbered:
10 PRINT 'WORLD' 20 REPEAT 5 PRINT 'HELLO'
See mom! no GoTo
-
@dse That reminds me of the Blogger account I created but never really used, entitled "Considered Harmful".
<obSmugLispWeenie mode="in denial of flaws"> But really, who needs `Go-To` when I have continuations? </obSmugLispWeenie>Filed under: I wonder if Swampy ever considered programming in INTERCAL...
-
@ScholRLEA I think
COMEFROM
could come quite handy if you want to add hooks to some function.
The only (?) problem is if there are multipleCOMEFROM Label
in the same process, but no worries I can imagine Python'sawait
can handle even that case, that would be perfect for forking too!! and the possibilities are endless :--)
-
@dse said in Nobody shares knowledge better than this:
multiple COMEFROM Label in the same process,
-
-
@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,
Hmm, great minds and all :--D
Synchronisation is achieved using new DO ... ONCE and DO ... AGAIN tags.
synchronization
-
Knowledge not shared is usually criminal...
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Knowledge not shared is usually criminal...
I don't share the length of my toes. Is that criminal?
-
@Tsaukpaetra SSDS: Foot Fetishist Edition
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Knowledge not shared is usually criminal...
Alternatively, since I have never bothered measuring the length of my toes and, therefore, have no such knowledge to share, I do not share my knowledge of my employer's unannounced future products. Not sharing that information might be criminal (in your fantasy world), but in the real world, sharing it would most certainly be a breach of contract. I'll take the risk of violating your imagined criminality to avoid a very real tort.
-
@SpectateSwamp, I'm going to be blunt: you are barking up the wrong tree by posting here. We aren't users, we're developers - and specifically, a group of developers in a web forum dedicated to the subject of dissecting and mocking poorly written programs, and the consensus here is that yours is among the worst.
Honestly, we are the one group of people who you should be avoiding. We don't need your product, don't respect your programming skill, and don't care about anything else you have to say. Unlike almost anyone else on Earth, we are more concerned about the code of your program than we are about how well it performs it's functions. WE ARE NOT YOUR TARGET MARKET.
TL;DR - Why the fuck are you posting here, of all places, rather than trying to get your product out to people who actually might want it?
-
@ScholRLEA said in Nobody shares knowledge better than this:
TL;DR - Why the fuck are you posting here, of all places
Mostly because we haven't banned him, I believe.
-
@mott555 said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
TL;DR - Why the fuck are you posting here, of all places
Mostly because we haven't banned him, I believe.
And he's not been banned because he provides a continual source for our "considerations".
-
@mott555 said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
TL;DR - Why the fuck are you posting here, of all places
Mostly because we haven't banned him, I believe.
Well as the anecdote goes, he didn't participate when we were in Discourse, so we could always... Switch... Nope, can't get myself to say it!
-
@SpectateSwamp said in Nobody shares knowledge better than this:
Knowledge not shared is usually criminal...
Did you provide IT support to Hillary?
-
@ScholRLEA He's been doing it for 7 years in this topic/thread. I think he have noticed, that's probably how his sense of humor works or something.
-
@ScholRLEA said in Nobody shares knowledge better than this:
people who actually might want it
It's extremely unlikely that anyone other than Swampy would want it. The interface is almost as impenetrable and confusing as the code, and the functionality is mostly comprised of (a) really poor versions of what any media player would consider basic functionality, and (b) really bizarre features that nobody other than Swampy seems to think would be useful for any purpose ever.
In all his discussions of how great it is, there has been one (1) niche feature that I would use if it was available on other media players, because there's a good use case for it with classical music.
-
@ScholRLEA said in Nobody shares knowledge better than this:
TL;DR - Why the fuck are you posting here, of all places, rather than trying to get your product out to people who actually might want it?
I was under the assumption that he wasn't here to actually sell anything, but rather to like the rest of us.
-
@Scarlet_Manuka said in Nobody shares knowledge better than this:
In all his discussions of how great it is, there has been one (1) niche feature that I would use if it was available on other media players, because there's a good use case for it with classical music.
You have my attention.
-
@Scarlet_Manuka said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
people who actually might want it
It's extremely unlikely that anyone other than Swampy would want it.
I agree, but it is clear that Swampy thinks someone else will want it. Since it should be dead obvious that the people here don't, and never will, it makes no sense even from his perspective to post here, if his goal is to get people to try it.
What I am really trying to ask is why he posts here anyway. My personal theory is that he isn't looking for users so much as disciples, proselytes, and sycophants, but that makes even less sense given the people here.
-
@ScholRLEA said in Nobody shares knowledge better than this:
that makes even less sense
We're talking about Swampy; regardless of his overall goal (assuming he even has one), making sense isn't exactly high on his priority list.
-
@ScholRLEA said in Nobody shares knowledge better than this:
@Scarlet_Manuka said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
people who actually might want it
It's extremely unlikely that anyone other than Swampy would want it.
I agree, but it is clear that Swampy thinks someone else will want it. Since it should be dead obvious that the people here don't, and never will, it makes no sense even from his perspective to post here, if his goal is to get people to try it.
What I am really trying to ask is why he posts here anyway. My personal theory is that he isn't looking for users so much as disciples, proselytes, and sycophants, but that makes even less sense given the people here.
But he thinks he's converted some of us just by posting here. Despite the fact that to the most casual observer, the nicest reaction to his program is sorrow for its creator, he seems to think some of us actually think it's useful.
-
@ScholRLEA maybe it's just a dev blog?
-
@sloosecannon said in Nobody shares knowledge better than this:
But he thinks he's converted some of us just by posting here.
He does seem to ignore the criticism; any discussion is seen as praise.
-
@HardwareGeek said in Nobody shares knowledge better than this:
@Scarlet_Manuka said in Nobody shares knowledge better than this:
In all his discussions of how great it is, there has been one (1) niche feature that I would use if it was available on other media players, because there's a good use case for it with classical music.
You have my attention.
This was to have a playlist which you could set up with certain entries grouped, so that when you play it in random order, it treats each group as a single entity for the randomisation. So if you had a playlist with 20 concerti, for instance, you could play them in a random order but keep each concerto together, rather than starting off with mvt. 3 of one followed by mvt. 2 of another.
As far as I know no general purpose media player has this ability. Of course, I haven't exactly tried every single one.
@HardwareGeek said in Nobody shares knowledge better than this:
He does seem to ignore the criticism; any discussion is seen as praise.
Any criticism is clearly baseless and unfounded (after all SSDS is the "best program ever"), so there's no point in dignifying it with a response.
-
@ScholRLEA said in Nobody shares knowledge better than this:
What I am really trying to ask is why he posts here anyway.
I think someone upthread nailed it when they noted that we haven't banned him. Pretty sure that happened at a few places before he started posting here. And I suspect we're actually less hostile to him than his neighbors, if his town council meeting videos are anything to go by.
-
@Scarlet_Manuka said in Nobody shares knowledge better than this:
have a playlist which you could set up with certain entries grouped, so that when you play it in random order, it treats each group as a single entity for the randomisation.
It is very surprising that there is anything useful in SSDS, but yes, that would be, indeed. I shudder to think how insane the SSDS implementation of it must be, though.
-
@Scarlet_Manuka said in Nobody shares knowledge better than this:
This was to have a playlist which you could set up with certain entries grouped, so that when you play it in random order, it treats each group as a single entity for the randomisation. So if you had a playlist with 20 concerti, for instance, you could play them in a random order but keep each concerto together, rather than starting off with mvt. 3 of one followed by mvt. 2 of another.
I developed a playlist format along those lines once, but only used it for a in-game music system. But yeah I hear you, it'd be a really nice feature to have in a player that actually works for everything else too.
-
@pydsigner said in Nobody shares knowledge better than this:
@Scarlet_Manuka said in Nobody shares knowledge better than this:
This was to have a playlist which you could set up with certain entries grouped, so that when you play it in random order, it treats each group as a single entity for the randomisation. So if you had a playlist with 20 concerti, for instance, you could play them in a random order but keep each concerto together, rather than starting off with mvt. 3 of one followed by mvt. 2 of another.
I developed a playlist format along those lines once, but only used it for a in-game music system. But yeah I hear you, it'd be a really nice feature to have in a player that actually works for everything else too.
SSDS is great for random groupings of text audio pictures and video.
Being that the app sequentially reads through the text file. If in random mode it displays / plays everything between the previous "break" record and the one that follows the match.
Great for language training or as an educational tool.
-
@boomzilla said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
What I am really trying to ask is why he posts here anyway.
I think someone upthread nailed it when they noted that we haven't banned him. Pretty sure that happened at a few places before he started posting here. And I suspect we're actually less hostile to him than his neighbors, if his town council meeting videos are anything to go by.
Yup some people don't like what I say now and again.
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...
-
@Scarlet_Manuka said in Nobody shares knowledge better than this:
@ScholRLEA said in Nobody shares knowledge better than this:
people who actually might want it
It's extremely unlikely that anyone other than Swampy would want it. The interface is almost as impenetrable and confusing as the code, and the functionality is mostly comprised of (a) really poor versions of what any media player would consider basic functionality, and (b) really bizarre features that nobody other than Swampy seems to think would be useful for any purpose ever.
In all his discussions of how great it is, there has been one (1) niche feature that I would use if it was available on other media players, because there's a good use case for it with classical music.
I can't wait to load all my video from the past.... onto my 3 terabyte.
Then then the fast forward option will allow me to blast through it at 8 or 10 times normal speed. Can your media player do that... I don't think so.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
8 or 10 times normal speed. Can your media player do that
Yes.
-
@HardwareGeek said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
8 or 10 times normal speed. Can your media player do that
Yes.
For every video file you have?
-
@SpectateSwamp You still haven't answered my question about why you are posting in this forum when you know that the reactions to your posts will be negative, rather than posting in groups with people who might actually be interested in SSDS.
-
We treat this too seriously, more seriously than its author.
Given that the program has no website or even download link and exists mostly in this thread, it looks like a joke played on TDWTF community.@SpectateSwamp However, if you are really interested in video/image indexing/search, you could do some really interesting things combining machine-learning concepts like neural netwoks or topic models.
-
@ScholRLEA said in Nobody shares knowledge better than this:
@SpectateSwamp You still haven't answered my question about why you are posting in this forum when you know that the reactions to your posts will be negative, rather than posting in groups with people who might actually be interested in SSDS.
@ScholRLEA said in Nobody shares knowledge better than this:
@SpectateSwamp You still haven't answered my question about why you are posting in this forum when you know that the reactions to your posts will be negative, rather than posting in groups with people who might actually be interested in SSDS.
@ScholRLEA said in Nobody shares knowledge better than this:
@SpectateSwamp You still haven't answered my question about why you are posting in this forum when you know that the reactions to your posts will be negative, rather than posting in groups with people who might actually be interested in SSDS.
I find negative responses useful some times.
I often take those replies to heart and FIX the problem.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
I often take those replies to heart and FIX the problem.
Evidence/Citation needed.
-
@Tsaukpaetra said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
I often take those replies to heart and FIX the problem.
Evidence/Citation needed.
I did a fix to check the app name for "Random" "Sequential" "Mix" "Catmydrive" so it doesn't need any prompts.
-
@SpectateSwamp said in Nobody shares knowledge better than this:
@Tsaukpaetra said in Nobody shares knowledge better than this:
@SpectateSwamp said in Nobody shares knowledge better than this:
I often take those replies to heart and FIX the problem.
Evidence/Citation needed.
I did a fix to check the app name for "Random" "Sequential" "Mix" "Catmydrive" so it doesn't need any prompts.
Ahm. Wut.
-
@ScholRLEA do we need a reason to post here though? I think he just like to talk about his program