Scilab csvRead cannot found file - macos

For some reason, I cannot read csv files in Scilab anymore, which weren't written by Scilab itself. First, I thought it might be wrong with my files (although I have previously read them), but I also tried csv files from the internet and still not possible. For example, I used the first csv file listed on this website.
The error message I get is csvRead: XXXX.csv does not exist. One week ago, everything was working just fine with the same files. And I am using Scilab on Mac, in case that makes a difference.
Has anyone a clue how to solve this?

Related

how to download source jar file for org.gradle.kotlin.dsl

Is there any way to download gradle-kotlin-dsl-6.6.1.jar source file by idea or manually with a link?
I wanted to read the source code of the functions in this dependency, I couldn't find the source code also.
I reasoned that, since the plugin is working for me, the code must've been downloaded. What I've found is that (in Android Studio under Linux), if I ctrl-click on a keyword in (anything, I think, but in this case) a build.kts file it takes me to the definition.
Doing this, I can then hover my cursor on the tab name and it shows me where the file is. Mine is way down under /.gradle, but the point is it does tell me where.
So, while I haven't found the jar file itself, I'm thinking that each of the files found like this are part of it. Does that help enough, or at least a bit?

-bash: /wlpfo/sources/build/ant.sh: /bin/ksh^M: bad interpreter: no such file or directory

I have the problem that I get the above message when I run ant.sh. I can use dos2unix ant.sh to solve the problem with this specific file. But I get the same message for every .sh file. And here lies the problem: The company where I work has (of course) a lot of such files and I can't really change all of them. If for nothing else, then because other people don't seem to have the same problem as I have. Also I don't even know which .sh files are used when I do ./ant.sh.
Is there some way to get around this problem?

Pebble Watch Faces

I'm trying to create my own Pebble watch faces. It appears no one has done this yet and there's no SDK.
So far I've figured out that the watch faces are hosted here:
http://pebble-static.s3.amazonaws.com/watchfaces/index.html
Each watch face is a .pbw file which is a zip file. There's 3 files inside: app_resources.pbpack, manifest.json and pebble-app.bin.
The JSON file includes a list of all the parts of the watch face (images), which appears to be an app. The .bin file is probably the executable binary and the .pbpack file is probably a bundle of all the resources. I can't figure out how to extract the .pbpack file. I'm also not sure what to do with .bin file.
I'm trying to post my progress here: http://hackingpebble.tumblr.com
Any thoughts on what to do with the .pback and .bin files?
The SDK is now live. developer.getpebble.com
I've begun looking at the .pbpack and the .bin in a hex editor and it's quite odd. First with the .pbpack I've noticed a few patterns, in between each major chunks of bits, there is a bunch of 0's and then a 45 00 54, which I am guessing is acting like a delimiter. I tried searching the file's hex signature to see if I would get lucky to find out that it was some obscure file format but got nothing. Now with the .bin I figured I wouldn't get anywhere with the hex editing, however we do know what processor it is designed to run on (ARM Cortex-M3), which means we can reasonably assume that using a decompiler designed for arm processor files we can read it. I'm researching into finding one, however it's a bit late at night for me to do too much more work, so I figured I'd give you what I have so far.
I know this is not a great response, but I figured maybe it'll help you with it what you're trying to do.
Since there is no Pebble company anymore, new community project Rebble took over.
It has new SDK on Dev portal.
I think you guys might be looking toward something like Hopper. This should give you some raw data.

Less compiling to empty CSS files

I've been writing less, and using Codekit to compile locally.
Everything compiles to the correct destination as it should.. but
Every time I save a less file, it creates an empty CSS file in the same location on my hard disk. This happens when Codekit is closed, so it doesn't seem to be an issue with the program itself.
I have no idea what is causing this behaviour, I have no other services running.
thanks
For others that get this problem, it's usually a missing or duplicate semicolon on a property or something simple that causes this particular issue. The hard part is tracking down the specific error, so your best bet is to try a couple of different compilers and hope for an error log that tells you at least which .less file is causing the problem. Try node.js with lessc, less.app, winless or whatever else is available to you on your OS. This is a common issues, so it's worthwhile to have another "backup" compiler handy to debug.

Ruby File.exists?(path) lies to me

I've got a Ruby program that keeps telling me that various files do not exist when it runs.
The paths are absolute, and the files do exist at the time the program runs. When the program is runĀ again, everything works fine. There is absolutely nothing special about the code, and it works for thousands of other files at the same time, just not certain files at certain times, apparently.
It's Ruby 1.8.7 on latest stable Cygwin on Windows 2003.
What could possibly be going on here?
If you're on cygwin, maybe you're using the wrong type of slashes? (forward vs. back)
Try something simple to experiment. Make a test file somewhere and try a bunch of ways to get to it.
File.exists?('c:/test.txt')
File.exists?('c:\test.txt')
File.exists?('/test.txt')
File.exists?('\test.txt')
(I don't know windows/cygwin so I don't know what the full space of things to try would be)

Resources