Hacker Newsnew | past | comments | ask | show | jobs | submit | chenning's commentslogin

This isn't punishment. This is negative reinforcement. This applies to an ongoing unwanted behavior.


When you say "terminal" I think what you really mean is a "shell" which runs within the Terminal. Googling for "bash", "shell scripting", "beginner" and "hello world" are likely to lead you to more useful content.

Also, as much as it's helpful to write code, it's also helpful to read code and try to understand what it's doing. Ask lots of questions.


Well this was like learning aliens exist.


They're using Matlab because it's well known within the target community. Also, Psychtoolbox has been around for a long time and has been subject to studies that look specifically at precision.


Sure, but when you use a high-level language for low-level functionality you're always going to be vulnerable to changes in how the OS interacts with the run-time library of the language. I'm amazed that Psychtoolbox's use of Matlab has worked for this long, but, like Flash's obsolescence, maybe it's time to use a different language. In any case the problem is not OSX but the implementation choices made by Mathworks in Matlab for OSX.


Interesting. I'm wondering if the PsychoPy devs have noticed this.


They did- https://psychopy.org/general/timing/millisecondPrecision.htm...

> The stimulus presentation on MacOS used to be very good, up until version 10.12. In MacOS 10.13 something changed and it appears that a form of triple buffering has been added and, to date, none of the major experiment generators have managed to turn this off. As a result, since MacOS 10.13 stimuli appear always to be presented a screen refresh period later than expected, resulting in a delay of 16.66 ms in the apparent response times to visual stimuli.


It's about preventing deaths and making people feel safe traveling.


I wonder if anyone has looked into the relationship between time-of-day and battery level? Could it be the case that phone batteries are typically lower across the board at certain times of day? If most people aren't charging their phone during business hours, perhaps it's likely that batteries are typically lower around rush (surge) hour. A correlation doesn't imply causality sort of thing.


Working from home definitely has advantages, but I've been absorbing costs e.g., heating, cooling, electricity just to name a few. I think if given the option I would prefer a majority WFH situation, but these other costs do affect one's total compensation.


"Just say it's the warm air and the cold air and bending light and stuff. They'll buy it."


That settles it. We're living in a simulation.


Your perception of the ship position is definitely more similar to "a simulation" than to "the absolute truth about where the ship is", so if you want to understand it like that then yeah. If by this statement you mean that the ship or we are all some kind of software construct programmed by some other beings that can simulate things then I think you should leave religion out of the dicussion.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: