Questions tagged [fiddle]

Fiddle is an extension to translate a foreign function interface (FFI) with ruby.

52 questions
0
votes
0 answers

Ruby sketchup cant load Dll file with Fiddle (tried user made 32bit dll and 64 bit dll)

I am working with Ruby in sketchup 2017 in windows. The following code gives me error. the ruby version in sketchup 2017 is 2.2.4. Earlier with older sketchup I was using DL and there I dont get a problem, it is only when I have to use fiddle with…
0
votes
0 answers

Remove repeating mnemonic in XSLT

Below is my XML:
0
votes
1 answer

Ruby Fiddle - Cannot find function in WIndows MSYS2

I am trying to use Ruby Fiddle to access a C function I have developed. The C code is: #include #include #include double *linalg_positive_matrix(double *mat_a, int rows_a, int cols_a); int main(void) { } double…
Rojj
  • 1,170
  • 1
  • 12
  • 32
0
votes
0 answers

Why do i receive en error message when i open a dll library with ruby, using fiddle?

On windows 10, i am using ruby 2.7.0. Using 'fiddle', I try to open a dll in my ruby script but i receive an error message on line "Fiddle.dlopen". There is my ruby code : require 'fiddle' filename = File.join(__dir__, "Circle.dll") circle =…
chaudard
  • 1
  • 2
0
votes
1 answer

Why SQL Fiddle doesn't work during "Building schema" and "Run SQL" functions?

I'm practicing learning MySQL code with SQL Fiddle, it worked sometimes but now I get errors all the time when I use the "Build schema" or "Run SQL" functions. After a while, the error printed is "Unable to get host connection: Connections could not…
Alessandro
  • 11
  • 4
0
votes
2 answers

Postgres. FORMAT doesn't replace type argument with provided value

Honestly, I have no much experience with postgres and sql at all. I'm Trying to make function with dynamic table and column names using EXECUTE FORMAT(...) query. But whatever I tried FORMAT doesn't consider values provided for type arguments such…
Emchenko Mikhail
  • 179
  • 1
  • 2
  • 11
0
votes
1 answer

How to get execution time on DB Fiddle?

Hi I have query built on DB Fiddle, MySql 8.0 and I want to see the execution time. I am not sure how to do this on this tool. Can someone help for the query below? select a.e_id from ( select *, DENSE_RANK() OVER(PARTITION by e_id ORDER BY…
cocoo84hh
  • 311
  • 3
  • 11
0
votes
2 answers

why does jsFiddle not like this loop?

There seems to be some serious problems with the difference between the fiddles and the kind of javascript statements that actually work when ran on servers. Can you guys help me solve this? I've run into this countless times in last few months. …
0
votes
0 answers

getElementsByTagName undefined return - is this a bug?

I googled my heart out on this one and looked at most of the AI suggestions after typing in the question, but did not find the answer. I have this: