Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Simple Quiz & Derivatives


  • Please log in to reply
13 replies to this topic

#1 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 09 January 2016 - 06:17 PM

After visiting raw's thread, I was inspired. I decided to make a silly mini quiz of my own, for fun. I say silly, because the only possible outcomes are: Lubuntu, Ubuntu Desktop, Linux Mint Cinnamon, and only 4 questions are asked so it's not exactly thorough.

Simple Quiz 1.0 Stable:
6ldhXTs.png
Simple Quiz is an html file (it also contains CSS and Javascript), that provides a general quiz design that one can modify to create quizzes. No webserver is required, you can open the file using a normal webbrowser. It's published under the same open-source license as my other works, a copy of which is included in the download, as well as an "About.txt" file with more details.

Download Link:
SHA-512:7031f3aca20a95bc1939438d0249e30d77e123dab15f58edfeb135bed18b170aed13c2f061db92f18fd0cb94d66575ecae3bb8a02bd60c9129c71682942757bc

Decide For Me 1.0 Stable:
MG38LIL.png
Decide For Me is a derivative of Simple Quiz that helps users decide which GNU/Linux distro to use. Please note that presently it's more of a joke than a practical tool as there are only 3 possible recommendations, and only 4 questions. I mostly made it because I wanted to demo what Simple Quiz can be made into. It's published under the same open-source license as my other works, a copy of which is included in the download, as well as an "About.txt" file with more details.

To use Decide For Me, download the ZIP, extract the files, and open the HTML file in your browser. Your webbrowser must support HTML5 and have Javascript enabled.

Download Link:
SHA-512:5a3dd6b07fa0b69b9fd31660c43c3fcc91c0d9ce673549b481f1d688468731452ba681678f135db234c1d0f75a9a854825eeab55de16e65a27c0ba7e62c9e0d6

BC AdBot (Login to Remove)

 


#2 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 09 January 2016 - 10:05 PM

Decide For Me 1.1 Testing:
BpQaVWL.png
I've created an expanded quiz and recommendation list, but because the number of possible combinations of user selections is now in the hundreds if not higher, many combinations of selections will yield no recommendation, because that set of combinations hasn't been taken into consideration...yet.

Changes:
- More questions
- More possible recommendations (though still quite limited)

Download Link:
SHA-512:c4ad667f7999787a96c4d95573b6b75deb7f9aa7c8344f34331c4ee5406b82f540fb6ef2d61d4e2528c5c3c02946c97dbf05ef3a9c49df8d20cbf912f50c0206
 



#3 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,834 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia

Posted 10 January 2016 - 03:06 PM

Either you did not answer all the questions, something went wrong, or there is no recommendation based on your choices.



#4 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 10 January 2016 - 03:27 PM

@NickAu

Either you did not answer all the questions, something went wrong, or there is no recommendation based on your choices.

 

As you've discovered, it's not hard to find a combination with no recommendation presently.

 

@all

I'm thinking I might even need to look into using a program or script to generate a list of possible combinations (eg: "aaaaaaaa", "aaaaaaab", etc). This would make it easier for me to avoid duplicate entries, and make the process of typing them in, a bit faster. I did find a program that might work, but forgot to bookmark the page. The program wasn't available in the Ubuntu repos though, so I'd either need to compile it from source, or look for an alternative I can use.



#5 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 11 January 2016 - 12:05 AM

Decide For Me 1.2 Testing:
08RjWEd.png
The recommendations are now being generated using profiles rather than manually creating each and every one, because the number of possible combinations makes it to much work to write out by hand. However in future releases some recommendations may be manually constructed if I think a particular combination would benefit from it.

Changes:
- Supports 1,536 of the 2,592 possible user selection combinations.
- Supports offering multiple recommendations per selections. Note that the order of listing isn't relevant.
- Recommendation list includes: Ubuntu Desktop, Ubuntu Core, Ubuntu Server, Xubuntu, Lubuntu, Kubuntu, Linux Mint Mate, Linux Mint Cinnamon, Debian, Debian LXDE, ElementaryOS.
- Removed ZorinOS Core as a recommendation.

Download Link:
SHA-512:dccb8fa432a4fa0ca340698ba54fcb04c2dcde896ec1bd243909159effc17e3bde2418317c4ee9b2bf82dc74fd5a8d6a61129ffd391d585e1afe08ab772b39f3



#6 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,834 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia

Posted 11 January 2016 - 12:18 AM

Ubuntu Desktop, Ubuntu Server, Ubuntu Core, Debian, ElementaryOS,

 

Guess its right I use Ubuntu.



#7 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 13 January 2016 - 02:03 AM

Decide For Me 1.129 Testing:
Very big changes in this release! I expanded the number of questions from 8 to 10, and generated new recommendations using updated profiles that consider these new questions. I also used some new profiles. However, this resulted in such a large section of javascript code that it refused to run in Palemoon, and the entire page wouldn't even load in Microsoft Edge. It really wasn't that surprising, I'd been expecting to hit a wall with this approach. I realized I would not be able to continue doing this the way I had been. I decided to forget using a Bash script to use profiles to generate hard-coded javascript combos, and try to write the profiles in javascript so it can all be done on-the-fly in the user's browser. Unfortunately javascript doesn't have an equivalent of [a,b]. The closest is (a|B) which isn't viable, so my existing profiles had to be scrapped for ones using the regexp "." which proved viable. The downside is that it takes significatly more javascript profiles to cover the same number of selection combinations that a single Bash profiles can, and figuring out those combinations is hard to visually keep track of. For example, the Ubuntu Server profile I'm working on took 72 profiles in javascript to cover the same ground as a single in Bash (just shows you how powerful Bash is). However, Bash once again to the resuce! Using a Bash script I wrote, I'm able to generate all the possible equivalent "." versions needed to cover what the [a,b] Bash version would have. Of course I still have to manually add those to my javascript and copy/paste the remaining profile code I need to go with it. So, long story short, I'm now using profiles written in javascript, rather than hardcoding in all possible combinations.

 

In this release I only added 2 profiles, and I started adding an Ubuntu Server profile. As such, this release is functional, but due to the limited number of profiles it isn't usable. Most of the time you're just going to get a message saying there's no recommendation. In the next release I hope to add more profiles.

Changes:
- Supports ? of the 31,104 possible user selection combinations. Once I finish adding the Ubuntu Server profile I should have a known number to report. Currently it was too low to bother calculating.
- Updated recommendations using javascript profiles built right into the HMTL file.
- 10 questions instead of 8.

Download Link:
SHA-512:8276e73f87e717f1696342d666e20ddfa9f55a49fb1671a6e66e1c3c23535df9bb4d5ad8e00205a2fa907bbdfa39f85909cecf4b2b920703754bba92880c0b0b



#8 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,834 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:03:11 AM

Posted 13 January 2016 - 02:54 AM

Again it says i should use Ubuntu.

 

Ubuntu Desktop, Ubuntu Core,



#9 DeimosChaos

DeimosChaos

  • BC Advisor
  • 1,445 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States, Delaware

Posted 13 January 2016 - 01:53 PM

Pretty neat, nice work hollowface. I as well got Ubuntu... and guess what, I use Ubuntu!

Though I have been wanting to mess with Arch and expand my skills with installing Linux.


OS - Ubuntu 14.04/16.04 & Windows 10
Custom Desktop PC / Lenovo Y580 / Sager NP8258 / Dell XPS 13 (9350)
_____________________________________________________
Bachelor of Science in Computing Security from Drexel University
Security +


#10 Al1000

Al1000

  • Global Moderator
  • 8,109 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland

Posted 14 January 2016 - 12:14 PM

Very nice! It kept saying "Either you did not answer all the questions, something went wrong, or there is no recommendation based on your choices," but I finally got it to recommend Ubuntu by pretending that my GPU is "Great." :)

#11 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 16 January 2016 - 09:03 PM

Decide For Me 2.0 Stable:
The second stable release. :) I've added several profiles (bringing the total to 12) so now more operating systems are supported, like before the switch to javascript profiles. As promised, I've  listed the supported number of user selections for this release.

Changes:
- Supported operating systems: Ubuntu Desktop, Ubuntu Core, Ubuntu Server, Lubuntu, Xubuntu, Kubuntu, Debian, Debian LXDE, Arch Linux, ElementaryOS, Linux Mint Cinnamon, Linux Mint Mate.
- 24,462 of 31,104 possible user choice selections are supported.

Download Link:
SHA-512:306d61921a5993dfa11d5702d1723cca0c430924b26732d80be4cd22ffb9ac494a0df1c8772ecbc77ba73b3cacb4b5b8c2ccd519b24ac5c286d4a411318ab5b8



#12 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,834 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:03:11 AM

Posted 16 January 2016 - 09:16 PM

Ubuntu Desktop, Ubuntu Core, Xubuntu, Debian, Arch Linux, ElementaryOS,



#13 shadow-warrior

shadow-warrior

  • Members
  • 188 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Nicaragua

Posted 16 January 2016 - 09:41 PM

i got

Ubuntu Core, Xubuntu, Debian, Arch Linux,

 

which is Ok as i do use Arch ....sadly i am using Gentoo...which it didnt list ha ha  and have no love or will to use a Ubuntu distro.....Debian Testing or sid could be a remote possibility


Edited by shadow-warrior, 16 January 2016 - 09:43 PM.


#14 Al1000

Al1000

  • Global Moderator
  • 8,109 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:03:11 AM

Posted 17 January 2016 - 05:06 PM

I got: Lubuntu, Debian LXDE, Linux Mint Mate.

Saying I have no technical or GNU/Linux experience I get Lubuntu and Linux Mint Mate.

This quiz is better than the quiz in the Which Distro Is Right For Me (Redux) thread.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users