Daniel
About
- Username
- Daniel
- Joined
- Visits
- 669
- Last Active
- Roles
- Member, Administrator, Moderator
Comments
-
Hi @jeboydirk , The scripting functionalities of osweb are still very limited, but we are working hard to improve and extend them. We added an inline_javascript item already, which allows you to specify some basic instructions in javascript (such a…
-
Hi @Sana_2 First of all, what version of osweb (or OpenSesame) are you using? The incorrect behavior regarding spacebar presses was a bug that has recently been fixed, so it may be possible you are using an older version of OpenSesame. Second, alth…
-
Hi @CSC, If it works locally in OpenSesame, but not in osweb, then it is likely a bug in osweb that still needs to be resolved. I checked your experiment and it all looks ok what you did. I remember there still being some problems with break_if sta…
-
Hi @CSC, This looks all good. It is not entirely clear to me if you have solved the problems you were facing or are you still struggling with some aspects (that you are describing in a different post?). Is there anything specifically you still need …
-
That's exactly the reason. Each logger writes to the same logfile but does it in its own way, resulting in more messy log files
-
Hi @ellie, There indeed is a (hard to solve) bug that causes problems when you used multiple instances of the same logger in osweb. This is solved by using different logger items as you did, but is not ideal. We hope to find a solution for this in t…
-
I also recently discovered pythonic, which brings a lot of common python functions to javascript with similar signatures. Also, have a read through https://dev.to/massa142/javascript-is-almost-pythonic-3f8 to see how python and javascript have becom…
-
Hi @Carolina Sadly we can give no indication when wwe will work on the coroutines feature again. Osweb is a side project and without proper funding we can only work on it in our spare time when there are no other paid projects pressing our time. Re…
-
Hi @veskerm, Osweb downloads all stimuli at the start of the experiment. You can see the progress bar after you have clicked on osweb's canvas that starts the experiment. So when a trial starts, all assets should already be present on the user's mac…
-
Hi Ali, If you have placed a logger at the end of the sequence that you loop over, than the values of your variables will be nicely logged for each iteration. They will be overwritten in OpenSesame internally at the next iteration, but not in your l…
-
Hi @DK86 The form items also allow showing images: https://osdoc.cogsci.nl/3.3/manual/forms/widgets/ in that sense, you can compose a form that shows an image in the upper half (or larger space if desired) and a text field at the bottom half of the…
-
Great! We hope to issue a fix for this in the near future, but I am glad you can move forward with your studies for now.
-
Hi @CSC It seems quite feasible to translate your code from python to javascript. You don't do anything in Python that you wouldn't be possible in osweb javascript. The only challenging part would be the random functions (shuffle, choice, etc) whic…
-
Hi @nmeiran It is true that each browser has its own latency characteristics and some browsers do a lot better than others. But to shortly answer your question: no, we have never benchmarked osweb in that sense and have no idea how it performs. It i…
-
Hi @Gazelle_M Glad I could help!
-
Hi G. Regarding the counterbalancing problem: in the counterbalancing inline_javascript, you could add console.log(vars.subject_parity) console.log(vars.condition1) console.log(vars.condition2) below your code. This prints these values to the brows…
-
Hi Tanya, You are right that both the form_base and inline_script items are not yet supported in osweb. To convert and inline_script item into javascript, you first have to replace these items with inline_javascript items, and convert your code fr…
-
Hi Carolyn, This is a bug that we still need to tackle. I don't know why osweb has difficulties displaying words with unicode characters and handles sentences differently. Is your problem solved for now by specifying the words in variables as you su…
-
Hi @Gazelle_M Your logic looks right. The first thing that I am wondering is: how do you set a subject number? If you specify the subject number in the allowed subject number field, then osweb randomly samples a number from this field. Furthermore:…
-
Small note: Most shuffle functions don't return a shuffled object, but only None. So first shuffle, and once you shuffled assign the shuffled list to vars.list Actually, in Javascript there is no native shuffle function 😮. I usually revert to lodash…
-
Hi @TomD There are some other people on the forum who have attempted this and have posted example code. If you do a search on the forum in the osweb category for audio or sound recording, you are bound to bump into it. Good luck!
-
Hi @NathaciaRibeiro OpenSesame uses its own DSL (domain specific language) to describe an experiment. You can view this by going to the main experiment item and clicking the button with `General script` at the bottom.
-
Ah yes, the referenced/linked item are an issue that is hard to quickly solve due to the way that osweb is currently built up. I hope you have managed to work around this now...
-
Hi @hulya, Just some minor additions from my side: You can pass along any subject_nr you desire along with the url to Jatos by adding it as a query parameter to the url, for example: https://jatos.cogsci.nl/publix/57/start?batchId=72&generalMult…
-
Hi Hulya. I'm sorry but it is really difficult to follow your question or understand what you are trying to achieve, so apologies if my reconstruction if incorrect: You want to make sure that the subject number predetermines which list one sees in b…
-
Hi @Tam From https://forum.cogsci.nl/uploads/084/ZLMK3VQHSFN9.png it looks like there is no more logger after keyboard_response_provjera . If you want the response to this item to be logged, you need to have a logger underneath the item in the expe…
-
Hi @Jelle, The source map errors are harmless and are probably not the reason your experiment is not working. As a sidenote, I ran your experiment and also experience problems if I run it in OpenSesame (as in, I only see the arrow on the second inst…
-
Hi Deiniol. The easiest way nowadays for running Jatos on Windows is just by using Docker. This works really well on Windows now too. You can install Docker Desktop, and then download and run the docker image from Jatos. I don't know if this possibi…
-
No I haven't! It may be due to the data in memory grows too large and the browser needs to do some memory management to keep it in within limits of what is allowed by a browser. OpenSesame also stores the data of each trial in an array on the client…
-
It is indeed a problem many a struggling with: https://www.reddit.com/r/webdev/comments/71nkym/safari_11_has_a_major_change_to_web_audio_api/ I suggest advising users to steer clear from using Safari for experiments for now (which is recommendable a…