Fixed 404 bug

This seems to fix the bug where if you do not put in a registered route (including index) then it keeps reloading. I commented out one line because It broke when I left it in there and I'm not entirely sure what it does, but I cannot get it to break now.

We actually want that behavior.
Reason being so that clicking on links that belong to the same origin, but not contained in the SPA, you can navigate away. The router should act as a finite-state machine ootb.
You can define a custom 404 component by adding a route as such to the bottom of your top-level router's routes.
{     '*': '404' }


Remove “Browser” pattern

I’m suggesting that we remove the “Browser” pattern.
It’s not best-practice to create visual graphic via empty div’s and CSS. SVG would be a much better route.
Also, Will’s new “Foundry” has an SVG browser.

@tysongach is there a good way to use SVG and incorporate an image? For instance if I want to put a screenshot in one of the iPad SVG's on Will's site.

You can embed images inside SVG’s: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_Image_Tag
@whmii might have a little more context?

Maybe it'd be good to update this pattern to an SVG version? It'd be nice to have a generic SVG graphic with an image in it. I could see a few good use cases for that.
Or do you want to just get rid of it?

I'd be more for just getting rid of this one. It's specific to such a degree that I feel it's difficult to call it a 'pattern'

I agree with removing it from Refills. Let’s focus on the other patterns and components first. Maybe down the road we'll see how this can better be incorporated.

Removing it!

@Magnus-G I don’t think the PR above was every submitted.

Sorry: https://github.com/thoughtbot/refills/pull/224

Closed by #224


Setup Instructions For Only Ubuntu?

# Install our database & reverse proxy, if not already installed.
sudo apt install mysql-server nginx build-essential

This instruction is only valid for some Ubuntu versions (i.e 18.04). You should exactly provide the exact packages/dependencies it (gulag) needs along with their versions (if necessary). Which would make it easier for others if they want to deploy/test it on other systems rather than being limited to/by Ubuntu only.

A script detecting the OS and pulling proper packages would be great.

Will add something like that eventually, probably closer to "release" (might pick up some more dependencies along the way)..


yii2-sphinx: can't clear schema cache

So in my opinions it's schema cache, but i'm not really sure about it.
So i have installed sphinx, configured indexes and sources. It works right way. Now i install yii2-sphinx and config component. On search it answers me with correct result.
Then i changed sphinx index and added some new sql_attr_uint to it. And yii for now not receive new one to me.
Im using 'enableSchemaCache' => true, for my db component, not for sphinx, but i flushed cache by console command ./yii cache/flush-all. In console application i have config for cache providers.
In addiction i've done reindex for sphinx new cache schema and in console search -q "string" sphinx answers me with all needed attributes.
Im making sphinx query by this code:
$query = new Query;
            $rows = $query
                ->from(['topicsIndex'])
                ->match($q)
                ->all();

p.s. i fetch from more then one index table, if it helps

Problem is about fetching data from more then one index not about schema cache.
Some attributes was removed from result cause they are not equal for index tables, my fault.


Update webhook doc

Webhook doc has been changed a bit so I tried to update it with what i received from the webhook events

Thank you so much for this!


Unable to read SystemAppearance.car

The app can't read SystemAppearance.car because it thinks it's an asset catalog file, when it's actually a theme store. The check:
if (!self.catalog.allImageNames.count || ![self.catalog respondsToSelector:@selector(imageWithName:scaleFactor:)]) {
    // CAR is a theme file not an asset catalog
    return [self readThemeStoreWithCompletionHandler:callback progressHandler:progressCallback];
}

fails, because catalog.allImageNames contains a single "_UIKitNewLetterpressStyle" item. Maybe it should check if catalog._themeStore is non-nil?

Turns out this distinction between catalogs and theme stores is not really necessary, but with the current implementation, opening regular catalogs (from apps) through the theme store interpreter makes the file names not as concise. The solution I've found to this is to add preferences to the app so the user can choose whether the reader should treat the stores differently. I've also added a preference to ignore ZZPackedAsset files which are present in some catalogs.


Eclipse classpath should handle test fixture dependencies properly

When importing a multiproject gradle build into eclipse that contains test fixture dependencies, these test fixture dependencies are not visible by the dependent project.
This worked with Gradle 6.6.1 but stopped working with 6.7. It's broken for using the java-test-fixtures plugin as well as when declaring testArtifacts manually

Expected Behavior
Declared test artefacts / test fixtures should be available in a dependent project (works with Gradle 6.7)
Current Behavior
Test fixtures are not seen and project dependencies show without_test_code. Out of the box the eclipse plugin should detect usage of the java-test-fixtures plugin and provide an opt out for manually created test artifacts.
@donat provided a workaround for now:
import org.gradle.plugins.ide.eclipse.model.ProjectDependency
plugins {
    id 'eclipse'
}
eclipse.classpath.file.whenMerged {
    entries.findAll { it instanceof ProjectDependency }.each { it.entryAttributes.remove('without_test_code') }
}

Context

started failing with Gradle 6.7

Steps to Reproduce
Here's an example project demoing the problem.
eclipse-test-artifacts.zip

Fixed in #15198

I can also reproduce this in 7.5.1

@jjohannes hi, given that some of us are still reproducing the undesired behaviour described in this issue, would it be possible to reopen the issue?

ok, will try to isolate and reproduce, and will open a new one if it makes sense.
thanks!


SNI CONNECT intercept

There is a fork of your code by abourget that implements SNI capturing. His example looks like this:
    proxy.HandleConnectFunc(func(ctx *goproxy.ProxyCtx) goproxy.Next {
        if ctx.SNIHost() == "google.com" {
            ctx.SetDestinationHost("www.bing.com:443")
            // so that Bing receives the right `Host:` header
            ctx.Req.Host = "www.bing.com"
        }
        return goproxy.MITM
    })

Does your library support something similar. I would rather be able to return responses/Requests for these situations, however I can't see in yours how to handle a CONNECT and to get the SNIHost out.

Hi,
It currently doesn't handle this case.
It definitely should, and I'm thinking what's the best way to do that.
In the mean time - do use abourget's fork. We hope to merge the code bases
after a solution is found.
On Sat, May 23, 2015 at 3:37 PM, Alex Walker<EMAIL_ADDRESS>wrote:

There is a fork of your code by abourget that implements SNI capturing.
His example looks like this:
proxy.HandleConnectFunc(func(ctx *goproxy.ProxyCtx) goproxy.Next {
    if ctx.SNIHost() == "google.com" {
        ctx.SetDestinationHost("www.bing.com:443")
        // so that Bing receives the right `Host:` header
        ctx.Req.Host = "www.bing.com"
    }
    return goproxy.MITM
})

Does your library support something similar. I would rather be able to
return responses/Requests for these situations, however I can't see in
yours how to handle a CONNECT and to get the SNIHost out.
—
Reply to this email directly or view it on GitHub
https://github.com/elazarl/goproxy/issues/105.

I've realised I don't need to handle the SNI as that has already started the TLS handshake, and I need to cut it off before then. In abourget's fork, there is a method
if ctx.Method == "CONNECT" {
}

in otherwords I can get the Method of CONNECT. How can I handle this in the your library? The problem I am having with abourget's fork is being able to return a custom response:
	proxy.HandleConnectFunc(func(ctx *goproxy.ProxyCtx) ... {
		if ctx.Method == "CONNECT" {
			log.Println("Connecting: ", ctx.Req.Host)
			//return a custom response here
		}
	})

How do I pick up the HandleConnect in your library - the above is the abourget method, if I want to catch the connect and check the method is connect, does that exist in your version?
Alex


failed storing token

Error: failed storing token: failed storing token into keyring: failed to unlock correct collection '/org/freedesktop/secrets/aliases/default'
The cause seems to be that gnome-keyring doesn't work on my system.
Looking at https://github.com/nmrshll/gphotos-uploader-cli/issues/15 there appears to be some work on using a different keystore if dbus isn't running.  dbus is running here, so maybe some way to force that might be the answer?
Otherwise, it looks like https://github.com/99designs/keyring supports more backends, including encrypted files, and might be more flexible?  Also may resolve https://github.com/nmrshll/gphotos-uploader-cli/issues/51 given that it also supports wincred.

Hi @chris-y
Can you test if it's working? PR #71 should have fixed it
Paco

Hello
I'm slightly scuppered by the fact that without https://github.com/nmrshll/oauth2-noserver/pull/4 I can't complete the authentication, and I'm not sure how to re-add my patch under the new buildsystem.
(Frankly I'm amazed that anybody can pass the token part currently as the browser being open blocks the server that it is trying to connect to, so it shouldn't work for anybody!)
Any chance you can get that patch merged in?  I can give it another go then and hopefully get this issue closed too.
Chris

@chris-y I can not merge the PR (I don't have rights) but I can use the current code to auth my client. Can you do it?

No, because the process handing the callback is the same as the one launching the browser, so it never listens until the browser is closed, which is too late.

As this is now in it's own organisation, maybe https://github.com/nmrshll/oauth2-noserver can be forked here?  There are lots of pull requests which could be merged in then.

Hi @chris-y
I'm thinking to do it, there are a lot of issues related with it... but... the current version v0.6.0 should work. Please test it, I've been testing it and it works fine... If something it's not working I'd like to know it to improve the testing system.

Same unfortunately.  Browser just sits waiting for a connection that doesn't exist until it is shut down:

The console shows the blue text whilst the browser is open, and the text below after it is shut down:

@chris-y Check my last answer on #123

As far as I'm aware my settings are correct.

@chris-y The logs that you are showing in the previous image are not shown in the last version of the client.
Are you using a binary or a compiled one?

Self-compiled.  I've updated again, deleted and recreated the application as per the documentation, and everything is now working. Yay!  Thank you!


Static reader node replication

Place replicas in separate domains, including when there is only 1 replica. Place these domains round robin on separate workers. (migrate/mod.rs)
Support for removing all reader replicas along with a view. (controller/inner.rs)
Obtain views to replicas round robin. CLI options to set replicas and reader threads.
Benchmarks: 16 client threads and cores, 4 Noria servers with 1 core per server, 1 write every 100 on the vote benchmark. As number of replicas increases, Noria can handle a greater number of ops/s before falling behind.
Tests: Same as before, with updated node counts to account for additional replicas. One new test to check that view actually returns different replicas, and that writes are reflected in these replicas.

Going to simplify commit() and clarify the language surrounding replicas to address the remaining comments. It seems like sharding followed the convention where None meant 1 shard. For replication, i think it makes sense to think of the replication parameter as the "replication factor" rather than the number of replicas in addition to the original reader --> so replication factor of 1 = 1 reader.

Given 232453f9bbd94383af312d432f5a41766f10f725, I'd particularly like @fintelia to take a look at this.

Where did we end up with this? I vaguely remember discussing the outstanding issues with @fintelia before the holidays.


Threaded collection download with model dependencies causes errors

Environment

OS Version: Ubuntu 18.04
Source and binary.

Description
There is a race condition with threaded collection download that can cause console errors. The condition occurs when a collection contains multiple models that all depend on the same upstream model. If the -j N command line option is used, where N > 1, with collection download then the downstream models can simultaneously download and unzip the same upstream model. The result are errors like:
[Err] [Zip.cc:161] Error opening: materials/textures/Chainlink_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Chainlink_Transparency.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Door_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Entrance.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/GroundDirt_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Light_Plastic_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Light_Plastic_Emissive.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Pipes_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Rails_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/RockWall_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/RustyMetal_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/Wood_Albedo.jpg
[Err] [Zip.cc:161] Error opening: materials/textures/YellowPlastic_Albedo.jpg
[Err] [Zip.cc:161] Error opening: meshes/
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_01.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_02.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_03.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_04.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_05.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_06.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_07.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_08.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_09.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_Section_10.DAE
[Err] [Zip.cc:161] Error opening: meshes/Edgar_StartingArea.DAE
[Err] [Zip.cc:161] Error opening: model.config
[Err] [Zip.cc:161] Error opening: model.sdf
[Err] [Zip.cc:161] Error opening: thumbnails/
[Err] [Zip.cc:161] Error opening: thumbnails/1.jpg
[Err] [Zip.cc:161] Error opening: thumbnails/2.jpg
[Err] [Zip.cc:161] Error opening: thumbnails/3.jpg
[Err] [Zip.cc:161] Error opening: thumbnails/4.jpg
[Err] [Zip.cc:161] Error opening: thumbnails/5.jpg
[Err] [Zip.cc:118] Source archive does not exist: /home/maspence/.ignition/fuel/fuel.ignitionrobotics.org/openrobotics/models/edgar mine virtual stix/12/edgar mine virtual stix.zip
[Err] [LocalCache.cc:415] Unable to unzip [/home/maspence/.ignition/fuel/fuel.ignitionrobotics.org/openrobotics/models/edgar mine virtual stix/12/edgar mine virtual stix.zip]

Steps to reproduce
These errors can be seen using ign fuel download -v 4 -j 8 -u "https://fuel.ignitionrobotics.org/openrobotics/collections/SubT Tech Repo".

Closed by #199


How can I run it on OSX?

Hi,
I would like to use this software but i don't know how to run it on OSX.
Can anyone help me please?
Thank you :)

Hi,
i'm sorry , i'm not a OSX user... but all you need is java installed on your OS.
i think you can launch mtg-desktop-companion.sh to execute the app

Hi,
i'm sorry , i'm not a OSX user... but all you need is java installed on your OS.
i think you can launch mtg-desktop-companion.sh to execute the app

Thank you!
I have tried to start it but this error occurs:
Unrecognized VM option '+UseStringDeduplication'
Could not create the Java virtual machine.
Also I have tried to start it in a Windows virtual machine but this error occurs:

you can remove it with a text editor at line 120 :
change
exec "$JAVACMD" $JAVA_OPTS -XX:+UseStringDeduplication -XX:+UseG1GC -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" \
by
exec "$JAVACMD" $JAVA_OPTS -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" \

Thank you but now this error occurs:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/magic/api/main/MtgDesktopCompanion : Unsupported major.minor version 54.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

I have to update to the latest version:
Java SE Development Kit 12
and now works!
Thank you! 👍

can you send me file log files in /%user%/.magicDeskCompanion/logs

Here it is.
Thank you.

too bad... the file is empty :/
i'm really a newbie on OSX. do you have a command prompt with some log or something else ?

Here the log.

ok, i see : there is an error with JXSearchField component with OSX  :
java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT
i'm looking on similar error on internet. i keep the ticket open.
Can you tell me your OSX version ?

HI,
OSX 10.14.4 (18E226)
MacBook Pro (15-inch, 2018)
Thank you.

can you try last version 2.4 ?

Thank you, now it works!
imgur
The new logo is awesome! :D
The web version throw this error:
2019-04-14 07:35:32 ERROR org.magic.servers.impl.WebManagerServer 63  - couldn't write js rest file jar:file:/Users/pozzy/Downloads/mtg-desktop-companion-2.4/lib/magic-api-2.4.jar!/web-ui/dist/js/rest-server.js
java.lang.IllegalArgumentException: URI is not hierarchical
at java.base/java.io.File.(File.java:418)
at org.magic.servers.impl.WebManagerServer.start(WebManagerServer.java:61)
at org.magic.api.main.WebUIServerLauncher.main(WebUIServerLauncher.java:19)

ok Good News !
bugfix in 56e21da4e8985e78e33bf0ce0ff98f29bfe07b50
i'm creating a new issue for website server


[Portal] Fix reference page static generation

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on enhancing the type definitions in the PageLayout.tsx file for better clarity and type safety in TypeScript.
Detailed summary

Changed type PageProps to export type PageProps for broader accessibility.
Modified the return type of generateStaticParams to Promise<Awaited<PageProps["params"]>[]> for improved type handling.
Simplified the return statement in generateStaticParams by removing unnecessary wrapping of promises.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5484  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


av library issue...

every time it is required to install the library manually using pip install av , please look into this. if we dont install it we are facing issues while running manage.py file.

@azhavoro Could you please look at the issue?

@KALALRANJITHKUMAR Hi,
Please don't ignore the issue template, please provide error messages and exact steps to reproduce. av is one of the many CVAT dependencies, and currently I can't figure out why you need to reinstall if this package is already installed.

I will close the issue, because there is not a response from your side. Please, do not hesitate to reopen it if you still have questions and ready to provide more details.


v1 yaml must set name

When converting to v1 yaml, name must be set at the root level.
We should make sure that each supported provider converts to v1 yaml with at least a default value, for example:
name: default

@jimsheldon : https://github.com/drone/go-convert/pull/114


The EVP_PKEY_derive() does not returns  maximum size of the output buffer for ECDH with X963KDF

I am implementing the ECDH operation with OSSL_EXCHANGE_PARAM_KDF_TYPE set to OSSL_KDF_NAME_X963KDF. When I set the secret length with OSSL_EXCHANGE_PARAM_KDF_OUTLEN the operation successfully finishes.
But when I do not, its internal state variable kdf_outlen left initialized to 0, which is returned as the max. length of the output buffer (when called with NULL key). Calling again the function with the NULL buffer fails in ossl_ecdh_kdf_X9_63() (did not dig deeper).
Reproducer:
#include <openssl/evp.h>
#include <openssl/params.h>
#include <openssl/core_names.h>
#include <openssl/ec.h>

void main()
{
    EVP_PKEY_CTX *ctx;
    unsigned char *skey;
    size_t skeylen;
    EVP_PKEY *pkey, *peerkey;
    OSSL_PARAM params[3];

    params[0] = OSSL_PARAM_construct_utf8_string(OSSL_PKEY_PARAM_GROUP_NAME, "P-256", 0);
    params[1] = OSSL_PARAM_construct_end();

    /* generate key */
    ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL);
    if (!ctx)
        exit(1);
    if (EVP_PKEY_keygen_init(ctx) <= 0)
        exit(2);
    if (EVP_PKEY_CTX_set_params(ctx, params) != 1)
        exit(3);
    /* Generate key */
    if (EVP_PKEY_keygen(ctx, &pkey) <= 0)
        exit(4);

    EVP_PKEY_CTX_free(ctx);

    /* generate peer key */
    ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_EC, NULL);
    if (!ctx)
        exit(5);
    if (EVP_PKEY_keygen_init(ctx) <= 0)
        exit(6);
    if (EVP_PKEY_CTX_set_params(ctx, params) != 1)
        exit(7);
    /* Generate key */
    if (EVP_PKEY_keygen(ctx, &peerkey) <= 0)
        exit(8);

    EVP_PKEY_CTX_free(ctx);

    ctx = EVP_PKEY_CTX_new(pkey, NULL);
    if (!ctx)
        exit(9);

    //
    params[0] = OSSL_PARAM_construct_utf8_string(OSSL_EXCHANGE_PARAM_KDF_TYPE, "X963KDF", 0);
    params[1] = OSSL_PARAM_construct_utf8_string(OSSL_EXCHANGE_PARAM_KDF_DIGEST, "SHA1", 0);
    params[2] = OSSL_PARAM_construct_end();
    if (EVP_PKEY_derive_init_ex(ctx, params) <= 0)
        exit(10);
    //
    // if (EVP_PKEY_derive_init(ctx) <= 0)
    //     exit(10);
    if (EVP_PKEY_derive_set_peer(ctx, peerkey) <= 0)
        exit(11);

    /* Determine buffer length */
    if (EVP_PKEY_derive(ctx, NULL, &skeylen) <= 0)
        exit(12);

    printf("skeylen = %zu\n", skeylen);
    skey = OPENSSL_malloc(skeylen);

    if (!skey)
        exit(13);

    if (EVP_PKEY_derive(ctx, skey, &skeylen) <= 0)
        exit(14);

    /* Shared secret is skey bytes written to buffer skey */
    exit(0);
}

built with
gcc -lcrypto reproducer.c -o reproducer

Results:
$ ./reproducer
skeylen = 0

Removing the parameters (replacing the EVP_PKEY_derive_init_ex()  with the function not setting the params), works as expected, returning skeylen = 32.
Tested with:
openssl-3.1.1-4.fc39.x86_64
openssl-3.2.1-2.fc40.x86_64

Another workaround to make this work is to set
    params[2] = OSSL_PARAM_construct_uint(OSSL_EXCHANGE_PARAM_KDF_OUTLEN, 32);
    params[3] = OSSL_PARAM_construct_end();

IMO this is just a documentation issue and what you describe as the workaround is actually the right way how to use this algorithm.
The default KDF_OUTLEN is 0 and that is what's returned by the call with NULL secret.

I don't have the ANSI specification, but is the 0-length secret useful for something? Indeed, if this is how it is defined, I am good with the fix in documentation, but its at least confusing that the NONE/NIST  kdf has default length, which works as expected with this mechanism of querying for the expected length.

From my brief scan of X9.63 I don't see a default length specified.
I agree with @t8m. This looks like a documentation issue.

@Jakuje are you interested in writing a documentation PR for this?  I'm happy to assign it over to you

Thank you for clarification! This was not clear to me from first couple of reads of the docs.
One more attempt, would it make sense for the operation to fail when there is no OSSL_EXCHANGE_PARAM_KDF_OUTLEN provided (making it mandatory argument) to provide the user explicit failure, rather than assuming the outlen 0 is valid length for the KDF?
Landing on https://www.openssl.org/docs/man3.0/man7/EVP_KEYEXCH-ECDH.html does not provide any information of what is mandatory and what not.

I can certainly have a look into the docs improvements, but not sure when I will be able to get back to that.

One more attempt, would it make sense for the operation to fail when there is no OSSL_EXCHANGE_PARAM_KDF_OUTLEN provided (making it mandatory argument) to provide the user explicit failure, rather than assuming the outlen 0 is valid length for the KDF?

Yeah, that would probably make sense.


autoserializeAs('key') does not work with private attribute

Hi,
I can't change the key name of a private attribute or public.
I reproduce the problem in this plnkr : http://plnkr.co/edit/ncZp38
In every configuration that I tried, the key name is unchanged.
Someone has any clue on this issue ?
Thanks by advance

Sorry, I forgot to use Serialize function to get the json ...
So, this solve the problem :
JSON.stringify(Serialize(this.product))

the plnkr solved : http://plnkr.co/edit/iDtNaF

So you're all set? Should I close this?

Yes, all good ! Thank you

great


Wrapper class for GPS on STM32 version

A wrapper class needs to be written for the STM32 version of the code. The only guideline for this class is that it should loosely follow the Rust implementation, providing the same outputs. The Rust version is written asynchronously, this version does not need to be written as such.

the only library I could find was
https://os.mbed.com/teams/components/code/SerialGPS/
This does not have support for all of the data we need out of the box. It is looking like we will need to manually decode the NMEA messages.
decoding steps can be found on page 18 of
https://cdn-shop.adafruit.com/datasheets/GlobalTop-FGPMMOPA6H-Datasheet-V0A.pdf

The library has been implemented and tested with all of the data we need


Strange Error Related to Color Texture

I have tested different GLTF 2.0 exporter, I kept getting this error:
Traceback (most recent call last):
  File "gltf2usd.py", line 806, in <module>
    convert_to_usd(os.path.expanduser(args.gltf_file), os.path.abspath(os.path.expanduser(args.usd_file)), args.fps, args.scale, args.arkit, args.verbose, args.use_euler_rotation, args.optimize_textures)
  File "gltf2usd.py", line 754, in convert_to_usd
    usd = GLTF2USD(gltf_file=gltf_file, usd_file=usd_file, fps=fps, scale=scale, verbose=verbose, use_euler_rotation=use_euler_rotation, optimize_textures=optimize_textures)
  File "gltf2usd.py", line 74, in __init__
    self.convert()
  File "gltf2usd.py", line 725, in convert
    self.convert_nodes_to_xform()
  File "gltf2usd.py", line 90, in convert_nodes_to_xform
    self._convert_node_to_xform(node, parent_transform)
  File "gltf2usd.py", line 111, in _convert_node_to_xform
    usd_mesh = self._convert_mesh_to_xform(mesh, xformPrim, node)
  File "gltf2usd.py", line 267, in _convert_mesh_to_xform
    self._convert_primitive_to_mesh(primitive, usd_node, gltf_node, gltf_mesh)
  File "gltf2usd.py", line 313, in _convert_primitive_to_mesh
    colors = prim_var.CreatePrimvar('displayColor', Sdf.ValueTypeNames.Color3f, 'vertex').Set(attribute.get_data())
pxr.Tf.ErrorException:
	Error in 'pxrInternal_v0_18__pxrReserved__::UsdStage::_SetValueImpl' at line 1522 in file /tmp/USD/pxr/usd/lib/usd/stage.cpp : 'Type mismatch for </root/Suzanne_0/primitive_0.primvars:displayColor>: expected 'VtArray<GfVec3f>', got '__1::vector<VtValue, __1::allocator<VtValue> >''

There is only one export by Daniel Stokes that seems to work.
Probably this is related to Image Textures RGBA or PBR: Roughness and Metalness should be grayscale? Not sure.

Thanks @enzyme69 for flagging!  I'll take a look at this later today.

If you use Blender 2.8 Beta and their built in GLTF export, we also have same error.

And Google Poly GLTF also giving error:
https://poly.google.com/view/42Yqq-FuGfa

@enzyme69 just merged a fix for this: https://github.com/kcoley/gltf2usd/pull/114
Note that vertex color alpha currently is not supported


fix RequestFactory mentions in README

The builder method is (since 0.12.0) named withRequestFactory, not withClientHttpRequestFactory.
And the default implementation is SimpleRequestFactory, not SimpleClientHttpRequestFactory.

:+1:

Thanks a lot for the contribution @ePaul


coreboot-utils: 4.10 -> 4.11

Motivation for this change
Closes #79210
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build coreboot-utils

Thanks!


starts_at blank causing nil error

Originally created by Tom Smyth at 2018-02-12 09:41, migrated from redmine-#7970

Status changed from New to Closed

By Tom Smyth at 2018-02-12 23:46


data: akintolarichard

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thank you for the clarification @sital002, I assumed that the name of the should be in lower case.

Thank you very much @SaraJaoude, I do appreciate.


Labels and Menu Items not aligned properly

Labels and not being aligned properly
Kitchen Sink-> Components->Forms->SearchField
Kitchen Sink-> Components->Tabs->Change tab in any example- Text is not at center

FIXED


Fix previous slide function

Currently if you click on "prev()" button you just get the 1st and 2nd slide. This is due to a bug in the math function to calculate the previous slide index.

Thanks a lot, @nicolashefti :)


Simplify RFC42 settings declarations using circular programs

Describe the challenge
Dealing with types and format functions separately is slightly cumbersome.
Not much of a challenge really, but let me present a potential solution using laziness / a technique called "circular programming".
Status quo
The relevant bits from the example from Detailed design in RFC 42.
let
  settingsFormat = pkgs.formats.json {};
in
{
  options = {
    settings = lib.mkOption {
      type = lib.types.submodule {

        # Declare that the settings option supports arbitrary format values, json here
        freeformType = settingsFormat.type;
      };
    };
  };
  config = {
    environment.etc."foo.json".source =
      # The formats generator function takes a filename and the Nix value
      # representing the format value and produces a filepath with that value
      # rendered in the format
      settingsFormat.generate "foo-config.json" cfg.settings;
  }
}

New situation
let
  fooConfig = pkgs.fileFormats.json {
    name = "foo-config.json";
    value = cfg.settings;
  };
in
{
  options = {
    settings = lib.mkOption {
      type = lib.types.submodule {

        # Declare that the settings option supports arbitrary format values, json here
        freeformType = fooConfig.type;
      };
    };
  };
  config = {
    environment.etc."foo.json".source = fooConfig;  # using outPath
  }
}

All arguments are specified in one place, which simplifies the api.
This should be possible to implement, thanks to laziness. However, the above formulation does create a dependency from some items in the options tree to pkgs, which is defined in config. This may work, because pkgs itself isn't defined through pkgs.fileFormats, but perhaps there's something I'm not seeing. An alternative may be as follows:
  fooConfig = lib.fileFormats.json {
    inherit pkgs;
    name = "foo-config.json";
    value = cfg.settings;
  };

While it is easier to see that this can be implemented without causing too much strictness, it makes lib depend on the interface of pkgs, which is not desirable.
Proof of concept
I've tested the idea in a single file; see details below.

Note thate builtins.seq was used to simulate depending on a pkgs attribute in an option type.
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix
index cea3d51d3ae..8fd026cbf0c 100644
--- a/nixos/modules/virtualisation/containers.nix
+++ b/nixos/modules/virtualisation/containers.nix
@@ -4,7 +4,30 @@ let

   inherit (lib) literalExpression mkOption types;

-  toml = pkgs.formats.toml { };
+  tomlFile = builtins.seq pkgs.formats ({ value, name ? "config.toml" }:
+    let format = pkgs.formats.toml { };
+    in {
+      type = format.type // { description = "TOML value (${name})"; };
+      inherit (format.generate name value) outPath;
+    });
+
+  containersConf = tomlFile {
+    value = cfg.containersConf.settings;
+    name = "containers.conf";
+  };
+
+  storageSettings = tomlFile {
+    value = cfg.storage.settings;
+    name = "storage.conf";
+  };
+
+  registriesSettings = tomlFile {
+    value = {
+      registries = lib.mapAttrs (n: v: { registries = v; }) cfg.registries;
+    };
+    name = "registries.conf";
+  };
+
 in
 {
   meta = {
@@ -43,7 +66,7 @@ in
     };

     containersConf.settings = mkOption {
-      type = toml.type;
+      inherit (containersConf) type;
       default = { };
       description = "containers.conf configuration";
     };
@@ -66,7 +89,7 @@ in
     };

     storage.settings = mkOption {
-      type = toml.type;
+      inherit (storageSettings) type;
       default = {
         storage = {
           driver = "overlay";
@@ -138,15 +161,11 @@ in
       };
     };

-    environment.etc."containers/containers.conf".source =
-      toml.generate "containers.conf" cfg.containersConf.settings;
+    environment.etc."containers/containers.conf".source = containersConf;

-    environment.etc."containers/storage.conf".source =
-      toml.generate "storage.conf" cfg.storage.settings;
+    environment.etc."containers/storage.conf".source = storageSettings;

-    environment.etc."containers/registries.conf".source = toml.generate "registries.conf" {
-      registries = lib.mapAttrs (n: v: { registries = v; }) cfg.registries;
-    };
+    environment.etc."containers/registries.conf".source = registriesSettings;

     environment.etc."containers/policy.json".source =
       if cfg.policy != {} then pkgs.writeText "policy.json" (builtins.toJSON cfg.policy)

Notify maintainers
@roberth @Infinisil
Metadata
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  - formats   # not really affected, but potentially obsolete
  - lib.generators
# a list of nixos modules affected by the problem
module:

I feel like this is a bit too unintuitive. How about just
let
  settingsFormat = pkgs.formats.json {};
  configFile = settingsFormat.generate "foo-config.json" cfg.settings;
in
{
  options = {
    settings = lib.mkOption {
      type = lib.types.submodule {

        # Declare that the settings option supports arbitrary format values, json here
        freeformType = settingsFormat.type;
      };
    };
  };
  config.environment.etc."foo.json".source = configFile;
}

That's just the "status quo" example and then putting generate in a binding, right?
It's definitely a step in the right direction, but not that much of a difference.
I would argue that putting everything about the file in a single binding is actually more intuitive, but that just goes to show that "intuitive" is a subjective, ill-defined concept.
What I was actually going for is, considering that we now know how these interfaces are used, we could unify things a bit. I was inspired by this newcomer https://github.com/NixOS/nixpkgs/pull/139075#discussion_r739765668.

config.environment.etc."foo.json".source = configFile;

This is nice. We could set outPath on the "file" attrset. I'll update my example and proof of concept (in the details section).

Done. It is a bit radical, I admit.

But radically intuitive, because it's what a newcomer may expect.

Something that can also be done is instead of using .source, .text could be used
let
  config = format.output cfg.settings; # .output would need to be added
in
 {
   environment.etc."bla.json".text = config;
 }

instead of using .source, .text could be used

This would require that the final text can be generated at evaluation time and this is how lib.generators operates. While possible for JSON and some simple formats, this isn't always convenient, because we don't get to use remarshal for example. It also precludes validation using other existing tools.
So while it is a valid thing to do, it doesn't make much sense for formats, which is separate from lib.generators for these reasons.
lib.generators does have a reason to exist besides continuity, which is for working with configuration that contains secrets in tools that can work with values without writing them to the store, such as NixOps and nix-instantiate --read-only.

Another proposal:
let
  settingsFormat = pkgs.formats.json {};
in
  {
    imports=[(mkModuleFiles settingsFormat ["services" "foo" "settings"] "bla.json" config.services.foo.enable)];
}

It could even be shortned to
{
  imports=[(mkSettingsModule settingsFormat ["services" "foo"]  "bla.json")];
}

for the common case of options called enable and settings


FFC Control on Purethermal 2

Hey,
I use the PT2 with the lepton 3.5 on a Mac OS, and I would like to control the shutter.
Does this repository hold the solution to my struggle?
cheers,
jens

Have you seen this? https://github.com/groupgets/purethermal1-firmware/wiki/Lepton-CCI-through-UVC-extension-units
You could take a look at GetThermal, it sends some CCI commands using these extension units. There are also some python examples here https://github.com/groupgets/purethermal1-uvc-capture

Ok, so I have tried to sort this out. I m totally new at this, so I hope you could give me some hints and helps :)
So, as I write in python I have tried to use the purethermal1-uvc-capture repository. In the uvstypes.py I added the following:
def set_manual_ffc(devh):             LEP_SYS_FFC_SHUTTER_MODE_MANUAL = 512 + 60 # LEP_SYS_FFC_SHUTTER_MODE_MANUAL = LEP_CID_SYS_FFC_SHUTTER_MODE_OBJ + 0 = (LEP_SYS_MODULE_BASE + 0x003C ) = 512 + 60              set_extension_unit(devh, SYS_UNIT_ID, LEP_SYS_FFC_SHUTTER_MODE_MANUAL, 16, 32)

Ok, so I have tried to sort this out. I m totally new at this, so I hope you could give me some hints and helps :)
So, as I write in python I have tried to use the purethermal1-uvc-capture repository. In the uvstypes.py I added the following:

Where # LEP_SYS_FFC_SHUTTER_MODE_MANUAL = LEP_CID_SYS_FFC_SHUTTER_MODE_OBJ + 0 = (LEP_SYS_MODULE_BASE + 0x003C ) = 512 + 60
When I add this function in the uvc-deviceinfo.py and run the code, I get the following message:
Kernel died, restarting
Any Idea what I do wrong?

I think you're close.
You're providing libuvc.uvc_set_ctrl with the parameter unit asSYS_UNIT_ID, then you don't need to add that offset to ctrl, which I think you have otherwise correct as 60. The next two parameters are data and len. data is the shutter position, here's the enum from the SDK:
typedef enum LEP_SYS_SHUTTER_POSITION_E_TAG
{
   LEP_SYS_SHUTTER_POSITION_UNKNOWN = -1,
   LEP_SYS_SHUTTER_POSITION_IDLE = 0,
   LEP_SYS_SHUTTER_POSITION_OPEN,
   LEP_SYS_SHUTTER_POSITION_CLOSED,
   LEP_SYS_SHUTTER_POSITION_BRAKE_ON,
   LEP_SYS_SHUTTER_POSITION_END

}LEP_SYS_SHUTTER_POSITION_E,  *LEP_SYS_SHUTTER_POSITION_E_PTR;

So data should be whatever you want from 0 - 3, and len will be in bytes, confusingly enums are all 2 bytes.
Note that if you're running a command, data can be anything, but len will be 1 byte.
I'm going to close this issue because this isn't the right place to discuss this. If you need more help, I suggest posting to the FLIR lepton google group with what you know so far (you should get more help with a better researched question) and I'll try to keep an eye on that group. Once you have the solution, posting up there will be very helpful for others.

Edit from above, from the first the link I sent.

control_id = ((lepton_cci_reg & 0x00ff) >> 2) + 1

So lepton_cci_reg is LEP_CID_SYS_FFC_SHUTTER_MODE_OBJ (LEP_SYS_MODULE_BASE + 0x3c), then your control_id is (0x3c >> 2) + 1 = 0x10

I have same similar issue, I need to disable auto shutter from Python.
def set_manual_ffc(devh):     set_extension_unit(devh, SYS_UNIT_ID, 0x10, 0, 1)
This is the code I use and it is crushing with Fatal Python error: Segmentation fault
@Jens1503 did you manage to fix this ?
Thank you


x/crypto/openpgp: add FlagsAuthenticate, FlagsGroupKey and FlagsSplitKey support to packet.Signature

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
What did you do?
Attempted to set authentication flag (0x20) in a packet.Signature
packet.Signature{
  FlagsValid:        true,
  FlagsAuthenticate: true,
}

What did you expect to see?
No error
What did you see instead?
Error: unknown field 'FlagsAuthenticate' in struct literal of type packet.Signature

Flag is defined in RFC 4880 Section <IP_ADDRESS>

It seems I can't self-assign, but I am working on a patch and will submit via Geritt hopefully today

Two additional flags, FlagGroupKey (0x80) and FlagSplitKey(0x10) are also missing

Relevant Patch: https://go-review.googlesource.com/c/crypto/+/120315

+1 I'd like to see this implemented as well. Thanks!

Per the accepted #44226 proposal and due to lack of maintenance, the golang.org/x/crypto/openpgp package is now frozen and deprecated. No new changes will be accepted except for security fixes. The package will not be removed.
If this is a security issue, please email<EMAIL_ADDRESS>and we will assess it and provide a fix.
If you're looking for alternatives, consider the crypto/ed25519 package for simple signatures, golang.org/x/mod/sumdb/note for inline signatures, or filippo.io/age for encryption. You can read a summary of OpenPGP issues and alternatives here.
If you are required to interoperate with OpenPGP systems and need a maintained package, we suggest considering one of multiple community forks of golang.org/x/crypto/openpgp. We don't endorse any specific one.


Can I set a custom location for storing cookies

I found out that my cookies are being cleared/garbage collected (most likely) by java's internal HttpClient as a result of some of my network code.
Is there a way to set a seperate path/location for storing the cookies?
This is what I have tried until now:
webview.setWebViewClient(new WebViewClient() {
                @Override
                public void onPageFinished(WebView view, String url) {
                    if (getCustomActivity() != null) {
                        CookieSyncManager.createInstance(getCustomActivity()).sync();
                    }
                }
            });
            webview.getSettings().setAppCachePath("/data/data/"+getActivity().getPackageName()+"/webview_cookies/");
            webview.loadUrl(url, true);

Any help will be greatly appreciated. And thanks for a great library btw.

This is not a feature built into this library right now, and there are no plans to add it. Sorry!
You can look into the original WebView API in order to check if this might be possible.

I came up with a solution myself. It's working, but still needs some adjustments etc. You can find it here, if it could be useful to you somehow:
https://stackoverflow.com/questions/45610766/android-webview-cookies-are-cleared-garbage-collected-after-some-time-can-i-se/45631720#45631720
Again, thanks for a great library :)

No problem, thanks for your appreciation and for sharing your solution!


npm package can't be installed with pnpm

Probably some packaging problem because pnpm tries to read some file but it's a directory, steps to reproduce:
❯ pnpm init
Wrote to /private/tmp/123/package.json

{
  "name": "123",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

❯ pnpm add cdk-serverless-clamscan

Packages: +1
+
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /Users/user/Library/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
 EISDIR  EISDIR: illegal operation on a directory, read

Progress: resolved 1, reused 0, downloaded 0, added 0

❯ pnpm --version
7.25.0

Do you have more detailed logs for this? I haven't personally used pnpm so logs would be helpful for diagnosing the issue

Sorry I don't have logs but the problem reproduced across several machine so I believe you should be able to reproduce it on your machine too.

I was wondering if you could take another look at this one. I've added my logs from the attempted install using pnpm:
 ~/Workspace/mptest  pnpm i cdk-serverless-clamscan --reporter ndjson                                                                                <aws:dev> <region:us-east-1>
{"time":1708970166656,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:scope","selected":1}
{"time":1708970166665,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:package-manifest","initial":{"name":"mptest","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC"},"prefix":"/Users/workuser/Workspace/mptest"}
{"time":1708970166665,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:context","currentLockfileExists":false,"storeDir":"/Users/workuser/Library/pnpm/store/v3","virtualStoreDir":"/Users/workuser/Workspace/mptest/node_modules/.pnpm"}
{"time":1708970166666,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stage","prefix":"/Users/workuser/Workspace/mptest","stage":"resolution_started"}
{"time":1708970168300,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/cdk-serverless-clamscan/2.6.107","wanted":{"dependentId":".","name":"cdk-serverless-clamscan","rawSpec":"latest"}}
{"time":1708970168301,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/cdk-serverless-clamscan/2.6.107","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970168327,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/cdk-serverless-clamscan/2.6.107","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970168562,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/aws-cdk-lib/2.130.0","wanted":{"dependentId":".","name":"aws-cdk-lib","rawSpec":">=2.11.0 <3.0.0-0"}}
{"time":1708970168562,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/aws-cdk-lib/2.130.0","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970168637,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/aws-cdk-lib/2.130.0","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970169730,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/constructs/10.3.0","wanted":{"dependentId":".","name":"constructs","rawSpec":">=10.0.5 <11.0.0-0"}}
{"time":1708970169730,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/constructs/10.3.0","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970169734,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/constructs/10.3.0","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970169980,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/2.0.1","wanted":{"dependentId":"/aws-cdk-lib/2.130.0","name":"@aws-cdk/asset-node-proxy-agent-v6","rawSpec":"^2.0.1"}}
{"time":1708970169980,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/2.0.1","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970169982,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/2.0.1","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970170285,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/@aws-cdk/asset-kubectl-v20/2.1.2","wanted":{"dependentId":"/aws-cdk-lib/2.130.0","name":"@aws-cdk/asset-kubectl-v20","rawSpec":"^2.1.2"}}
{"time":1708970170286,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-kubectl-v20/2.1.2","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970170287,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-kubectl-v20/2.1.2","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970171569,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:_dependency_resolved","resolution":"registry.npmjs.org/@aws-cdk/asset-awscli-v1/2.2.202","wanted":{"dependentId":"/aws-cdk-lib/2.130.0","name":"@aws-cdk/asset-awscli-v1","rawSpec":"^2.2.202"}}
{"time":1708970171569,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-awscli-v1/2.2.202","requester":"/Users/workuser/Workspace/mptest","status":"resolved"}
{"time":1708970171571,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:package-manifest","prefix":"/Users/workuser/Workspace/mptest","updated":{"name":"mptest","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"cdk-serverless-clamscan":"^2.6.107"}}}
{"time":1708970171571,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:package-manifest","prefix":"/Users/workuser/Workspace/mptest","updated":{"name":"mptest","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","dependencies":{"cdk-serverless-clamscan":"^2.6.107"}}}
{"time":1708970171575,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stage","prefix":"/Users/workuser/Workspace/mptest","stage":"resolution_done"}
{"time":1708970171579,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stats","prefix":"/Users/workuser/Workspace/mptest","removed":0}
{"time":1708970171581,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stage","prefix":"/Users/workuser/Workspace/mptest","stage":"importing_started"}
{"time":1708970171582,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stats","added":6,"prefix":"/Users/workuser/Workspace/mptest"}
{"time":1708970171583,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib@2.130.0_constructs@10.3.0/node_modules/aws-cdk-lib","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/cdk-serverless-clamscan@2.6.107_aws-cdk-lib<EMAIL_ADDRESS>{"time":1708970171584,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/constructs@10.3.0/node_modules/constructs","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/cdk-serverless-clamscan@2.6.107_aws-cdk-lib<EMAIL_ADDRESS>{"time":1708970171584,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-awscli-v1@2.2.202/node_modules/@aws-cdk/asset-awscli-v1","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib@2.130.0_constructs@10.3.0/node_modules/@aws-cdk/asset-awscli-v1"}
{"time":1708970171584,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-kubectl-v20@2.1.2/node_modules/@aws-cdk/asset-kubectl-v20","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib@2.130.0_constructs@10.3.0/node_modules/@aws-cdk/asset-kubectl-v20"}
{"time":1708970171584,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-node-proxy-agent-v6@2.0.1/node_modules/@aws-cdk/asset-node-proxy-agent-v6","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib@2.130.0_constructs@10.3.0/node_modules/@aws-cdk/asset-node-proxy-agent-v6"}
{"time":1708970171584,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/constructs@10.3.0/node_modules/constructs","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib<EMAIL_ADDRESS>{"time":1708970171591,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:progress","packageId":"registry.npmjs.org/@aws-cdk/asset-awscli-v1/2.2.202","requester":"/Users/workuser/Workspace/mptest","status":"found_in_store"}
{"time":1708970171685,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:stage","prefix":"/Users/workuser/Workspace/mptest","stage":"importing_done"}
{"time":1708970171687,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/node_modules/@aws-cdk/asset-kubectl-v20","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-kubectl-v20@2.1.2/node_modules/@aws-cdk/asset-kubectl-v20"}
{"time":1708970171687,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/node_modules/@aws-cdk/asset-awscli-v1","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-awscli-v1@2.2.202/node_modules/@aws-cdk/asset-awscli-v1"}
{"time":1708970171687,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/node_modules/aws-cdk-lib","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/aws-cdk-lib<EMAIL_ADDRESS>{"time":1708970171687,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/node_modules/@aws-cdk/asset-node-proxy-agent-v6","link":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/@aws-cdk+asset-node-proxy-agent-v6@2.0.1/node_modules/@aws-cdk/asset-node-proxy-agent-v6"}
<EMAIL_ADDRESS>{"time":1708970171689,"hostname":"workmachine.local","pid":69717,"level":"debug","name":"pnpm:link","target":"/Users/workuser/Workspace/mptest/node_modules/.pnpm/cdk-serverless-clamscan@2.6.107_aws-cdk-lib@2.130.0_constructs@10.3.0/node_modules/cdk-serverless-clamscan","link":"/Users/workuser/Workspace/mptest/node_modules/cdk-serverless-clamscan"}
{"time":1708970171695,"hostname":"workmachine.local","pid":69717,"level":"error","name":"pnpm","errno":-21,"code":"EISDIR","syscall":"read","name":"pnpm","err":{"name":"pnpm","message":"EISDIR: illegal operation on a directory, read","code":"EISDIR","stack":"pnpm: EISDIR: illegal operation on a directory, read"}}

@pdamra Does it work if you use a hoisted node-linker?

@dontirun No, I'm afraid that didn't work, I also tried prefer-symlinked-executables=false which also did not help.

I have similar issue with combination of yarn v4.2.2 and husky (also nx). It looks like the node_modules/cdk-serverless-clamscan/assets is tried to be preloaded as binary which causes  the above issue. This make sense as in package.json there is:
"bin": {
   "0": "./assets"
},

@dontirun Is there any particular reason for this construct?

I have similar issue with combination of yarn v4.2.2 and husky (also nx). It looks like the node_modules/cdk-serverless-clamscan/assets is tried to be preloaded as binary which causes  the above issue. This make sense as in package.json there is:
"bin": {
   "0": "./assets"
},

@dontirun Is there any particular reason for this construct?

I have similar issue with combination of yarn v4.2.2 and husky (also nx). It looks like the node_modules/cdk-serverless-clamscan/assets is tried to be preloaded as binary which causes  the above issue. This make sense as in package.json there is:
"bin": {
   "0": "./assets"
},

@dontirun Is there any particular reason for this construct?

It's been a while, but I had difficulty bundling the "assets"(lambda functions/dockerfiles) without creating a specific folder for them

This should be resolved in the latest release 2.6.189


Local file not found error - Native notebooks

originally created by @jilljac in https://github.com/microsoft/vscode/issues/106141

VSCode Version: 1.49.0-insider
OS Version: Mac OS Catalina 10.15.6 (19G2021)

Steps to Reproduce:

Load pandas dataframe from local file
Sometimes when loading, file not found. Requires kernel restart to fix

Does this issue occur when all extensions are disabled?: Yes/No

Thanks for filing this issue. I thought we had fixed this. Will double check.

I am now having the same issue but with original notebooks. Does not recognize a file that is in my directory no matter what I do with settings and manually changing the directories.

@rchiodo The message Could NOT open editor for .... seems to be related to some change you made recently (or was planning on making). I recall something about opening some editor (supporting some magic command)

Let me try this at my end.

%%edit

was the command I was talking about. That wouldn't impact this scenario.

@claudiaregio I'm unable to repro this issue.
Please could you do the following:

Open user settings.json & add the following:
"python.logging.level": "debug"
Reload VS Code
Try until u get the issue again
Copy the output from Python & Jupyter output panels & paste them here

@DonJayamanne Python and Jupyter are not dropdown output options when I do that.. it appears as if I don't have the extensions installed but when I check the extensions tab Python is there...


Asserts in plugin_control.c are not helpful

Goal: Keep plugins operating even if they encounter problems
Some of the functions in plugin_control.c use asserts. If the code was changed to handle the unexpected behaviour, the plugin may be able to recover from whatever has happened. If nothing else, it would give us a chance to log some information to help debug the situation.
https://github.com/ellexus/breeze-repo/issues/3972

Fixed in #78


Get basic server info

The web requests could include some basic server information such as server name, and icon.

Given the Discord API is also public, this kind of data could be fetched from their endpoints.  All we need to expose is the Guild ID.


DS-1818: CC license version/jurisdiction option (dspace-4_x branch)

We currently pull core DSpace as dependencies during maven build from DSpace 4x and would like to see this feature approved and merged. Pull request to master will follow.
https://jira.duraspace.org/browse/DS-1818

Closing as this already appears to be resolved.  See associated ticket: https://jira.duraspace.org/browse/DS-1818


Standardize design annotation practice

User story
As a designer within IBM, I need a standardized way to annotate my designs so that my designs can be communicated effectively and efficiently.
Notes

Standardize design annotation methods
Provide design annotation (spec'ing) library

Closing, obsolete.


A very basic install problem

Hi!
i'm trying to install AlaSQL under:
Win10
node v7.0.0
Meteor 1.4.2
but i'm receiving this message back:
C:\radar>meteor add agershun:alasql
 => Errors while adding packages:

While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to
publish it for your platform.

What do i need to install further ?
What binary build does AlaSQL needs?
Can i install/generate/supply that?
Thank you !

From https://github.com/agershun/alasql/wiki/Meteor

To get started import AlaSQL from NPM in your code

import alasql from 'alasql';

>Now you can query directly on Meteor Collections with the alasql function:

Im not expert in the Meteor system, but imagine you have to do a `npm install alasql` before...

Question: how did you find the meteor package? We have withdrawn it from the athmosphere repo since they supported NPM usage

Thank you for fast response.
I found agershun:alasql reference at Atmosphere site, and just typed (copy/paste), the install comand found there:
meteor add agershun:alasql
I installed now alasql on Node with: npm install alasql:
C:\>npm install alasql -g
C:\Users\RicardoMaia\AppData\Roaming\npm\alaserver -> C:\Users\RicardoMaia\AppData\Roaming\npm\node_modules\alasql\bin\alaserver.js
C:\Users\Ricard Maia\AppData\Roaming\npm\alasql -> C:\Users\RicardoMaia\AppData\Roaming\npm\node_modules\alasql\bin\alasql-cli.js
C:\Users\RicardoMaia\AppData\Roaming\npm
`--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>....
....

Well, alasql installation was OK (so it seems), but when i tried (again) to install a dependent module (storeness:meteor-postgres), i got the same problem as before:
C:\radar>meteor add storeness:meteor-postgres
 => Errors while adding packages:

While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.

Since alasql installation (under NodeJS) was ok and with newer version 0.3.3, than required (0.2.9), could this problem is being originated by the installing module (storeness:meteor-postgres) ?
Should it be checking for<EMAIL_ADDRESS>or it should now check only for<EMAIL_ADDRESS> ? (after incorporation to npm).
Perhaps this is an update problem in storeness:meteor-postgres.

Hmm. Its for sure that<EMAIL_ADDRESS>should not be used... version 0.2.9 is a "special" version
I have contacted the repo for storeness:meteor-postgres and let them know to use the npm reference.
Ill keep this issue open to check if any progress was made: https://github.com/storeness/meteor-postgres/issues/16

(no news in the storeness repo)


Add signals to disable and enable interactive item or screen

Enabled =signal=> disabled =signal=> enabled
Disabled item cannot be selected or activated.

This was fixed in #262


Any plans for OutWatch for ReasonML?

Sorry for this totally offtopic question. I was just super curious. You already did it in two languages, which is awesome. Any plans for ReasonML?

I'd love to at some point! But there's already so many things that should be done, so I can't really say if it's realistic right now :)


How to evaluate VOC2007 Datasets

Could I use yolov3.weights (downloads from your's url) convert to ckpt?
When I do this ,there are some problems:
InvalidArgumentError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Assign requires shapes of both tensors to match. lhs shape= [1,1,512,75] rhs shape= [1,1,512,255]
[[node save/Assign_291 (defined at evaluate.py:47) ]]
Could you tell me the  causes of this?
I had seen that the weights are trained from coco?
Thanks!

Did you manage to solve this? I am facing the same issue, with a custom dataset

+1


tf required for LeGO-LOAM

can someone give me an ideal tf tree for LeGO-LOAM. i am using it for a drone-simulation project and I different frames I believe. So do i have to change the camera frame to my own camera frame? I don't know which frame corresponds to camera_init

have you solved the issue? I'm facing something like that as well.

I also encountered this problem. Did you solve it?

I also encountered this problem. Did you solve it?


Addon name included in error message (bug 1119792)

When an error for adding an addon with the same name is raised, the addon name will also be returned in the error message.

Hello @yashmehrotra, did you mean to close the PR straight away? When someone submits the form, he already knows the name, as it's the one being used to submit, right?
Thanks for your interest anyway!

@magopian -
I closed the PR as it failed the build ( I need to make changes in the test files too ). So I plan to make those changes and then send a new PR.
As for the bug, so according to you the bug isn't legit ?

I'm not saying it's not legit, just that it's a bit surprising. I guess it would still make sense to have that extra bit of information.
Thanks for taking the time to work on this! Please let me know if I can help.

I think I got it, apart from the change I made, I have to make the same change in the test files for the tests to pass. Will send a new PR upon completion.
Thanks for the help.


Copyright header needs to be updated.

* Copyright 2014 Frank Asseg

I don't know much about copyright law, but based on internet research, the general consensus is that copyright on source code should be the year that the copyright was obtained or the year that the product was first released.  Therefore, I think that leaving it as 2014 is fine.

@fasseg  thoughts?


Did not update Gefoence via MQTT although position is correct

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I started a drive to my home geofence [2023-01-26 15:36:01.553], but this drive is missing (it seems there has been an issue with TeslaAPI). A few minutes after I finished the drive, the API came back again. So my car was at home (and there are positions in the position table starting at [2023-01-26 16:10:15.802] with the correct GPS coordinates), but the geofence was not updated in MQTT.
Expected Behavior
When the car comes back online and TeslaMate recognizes this, the MQTT geofence should be updated.
 Falling asleep for: 33 min
2023-01-26 16:10:16.089 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (129.680 ms)
2023-01-26 16:10:16.112 car_id=3 [info] Charging / SOC: 33% / Zu Hause
2023-01-26 16:10:16.112 car_id=3 [info] Disconnecting ...
2023-01-26 16:10:24.023 [info] GET /
2023-01-26 16:10:24.026 [info] Sent 200 in 2ms
2023-01-26 16:10:25.418 [info] Adding elevation to 6 positions ...
2023-01-26 16:11:24.020 [info] GET /
2023-01-26 16:11:24.022 [info] Sent 200 in 2ms
2023-01-26 16:12:24.013 [info] GET /
2023-01-26 16:12:24.016 [info] Sent 200 in 2ms
2023-01-26 16:13:24.007 [info] GET /

Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
v1.27.2

Note: I had the same issue today, but the car started charging while TeslaApi was down; then TeslaAPI came up again, and Geofence was not updated, but as I manually stopped the charging process via the Tesla App, the Geofence was updated.


DGESVD slow coparing with intel implementation

Dears, when I run this command on a scilab running on freebsd compiled with openblas I get a time of  37 seconds
A1=rand(1000, 1000); tic();[S, v, D]=svd(A1);toc()
ans  =
37.276

The same command on windows with intel library I get  1 second
A1=rand(1000, 1000); tic();[S, v, D]=svd(A1);toc()
ans  =
1.382

Could you please give me a hint why is so different?

One trivial factor is probably that the OpenBLAS build system did not pass the "-O2" compiler option to the fortran compiler until very recently - as #843 showed this has a noticable impact on calculations at least compared to netlib LAPACK (practically identical code but using -O2 optimization level for the default build). You need to either correct the "override FFLAGS" line in Makefile.system or set the FFLAGS  environment variable accordingly before invoking "make".
Less trivial could be that you are running OpenBLAS multithreaded and with too many threads to be efficient while MKL may be smart enough to use only one or two threads in this case. In that case running with OPENBLAS_NUM_THREADS=1 or 2 - or even building OpenBLAS without thread support may improve the timing.

Are you with OpenBLAS?
R> x<-matrix(rnorm(1e6),1e3,1e3)
R> system.time(r<-svd(x))
   user  system elapsed
  2.516   0.824   1.032

You are not with OpenBLAS by default
https://svnweb.freebsd.org/ports/head/math/scilab/Makefile?view=markup#l48
You have to rebuild scilab to use OpenBLAS, whose port in turn is ""good enough"" i.e likely half-speed of mkl without what @martin-frbg offered.
https://svnweb.freebsd.org/ports/head/math/openblas/Makefile?view=markup#l43

I did a rebuild before open this issue. This is my system status:
[ota@nostromo /usr/ports/math/openblas]$ ldd /usr/local/bin/scilab-bin  | grep blas
libopenblasp.so.0 => /usr/local/lib/libopenblasp.so.0 (0x808a00000)
[ota@nostromo /usr/ports/math/openblas]$ pkg info scilab
scilab-5.5.2_4
Name           : scilab
Version        : 5.5.2_4
Installed on   : Thu Feb  2 15:28:49 2017 BRT
Origin         : math/scilab
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : math java cad
Licenses       :
Maintainer<EMAIL_ADDRESS>WWW            : http://www.scilab.org
Comment        : Scientific software package for numerical computations
Options        :
ATLAS          : off
GUI            : on
NETLIB         : off
OCAML          : on
OPENBLAS       : on
TK             : on
Shared Libs required:
libcurl.so.4
libgcc_s.so.1
libpcre.so.1
libfftw3.so.3
libarpack.so.2
libopenblasp.so.0
libumfpack.so.1
libstdc++.so.6
libxml2.so.2
libmatio.so.4
libcolamd.so.1
libintl.so.8
libtk86.so.1
libpcreposix.so.0
libcholmod.so.1
libtcl86.so.1
libsuitesparseconfig.so.1
libquadmath.so.0
libhdf5_hl.so.100
libamd.so.1
libhdf5.so.100
libgfortran.so.3
libomp.so.0

What is your CPU? Maybe it is not detected by 0.2.18?

i7 3517U
I'm rebuilding openblas without OpenSMP support. I'm getting a feeling that OpenMP is running only two threads.

You can set OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1,1 to disable threading, no need to rebuild.

1 thread A1=rand(1000, 1000);tic(); [S, v, D]=svd(A1); toc() ->  ans  = 46.151
2 thread A1=rand(1000, 1000);tic(); [S, v, D]=svd(A1); toc() ->  ans  = 45.244
3 thread A1=rand(1000, 1000);tic(); [S, v, D]=svd(A1); toc() ->  ans  = 44.917
4 thread A1=rand(1000, 1000);tic(); [S, v, D]=svd(A1); toc() ->  ans  = 45.274
5 thread A1=rand(1000, 1000);tic(); [S, v, D]=svd(A1); toc() ->  ans  = 47.004
This machine is virtualized under virtualbox. Maybe this is related?

Yes, virtualbox filters AVX2 and FMA4 always,  and often AVX and SSE 4 depending on version and luck.

I do not enable AVX2 because my processor do not have this set of instructions, but AVX and SSE 4 are enabled on compilation.

So far you discovered virtualisation overhead,
or impact of fake CPUID by virtual machine,
or simply very recent or very rare CPU that is handled by generic computation kernels.
Also CPUID (from real CPU) is overdue:
$ grep -e Features -e CPU /var/log/dmesg.boot > ~/cpuid.txt
Can you repeat measurement on real CPU?

root@nostromo:~ # grep -e Features -e CPU /var/log/dmesg.today
CPU: Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz (2394.63-MHz K8-class CPU)
Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
Features2=0xdc982203<SSE3,PCLMULQDQ,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,XSAVE,OSXSAVE,AVX,RDRAND,HV>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x1
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0:  on acpi0
cpu1:  on acpi0
SMP: AP CPU #1 Launched!

I have a no virtualized machine, but it is a little old. I'm rebuilding in there to test.
Is this one.
root@squitch:/home/ota # grep -e Features -e CPU /var/log/dmesg.today
CPU: Intel(R) Core(TM)2 CPU         T5300  @ 1.73GHz (1729.04-MHz K8-class CPU)
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
SMP: AP CPU #1 Launched!
cpu0:  on acpi0
cpu1:  on acpi0
coretemp0:  on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
p4tcc0:  on cpu0
coretemp1:  on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
p4tcc1:  on cpu1

The rebuild in the virtualized machine without OpenMP is done. No luck, same behavior. So, it not OpenMP related.

Since your cpu supports no virtualisation - virtualbox completely emulates cpu seen in virtual machine. The more advanced instruction set you use the slower C emulation gets.
You can close the issue as it is just observing truths of life, not any particular software problem.

But the Intel specs for this CPU claims that it supports virtualization:
http://ark.intel.com/pt-BR/products/65714/Intel-Core-i7-3517U-Processor-4M-Cache-up-to-3_00-GHz

Can you get serious and choose the processor for both timing tests and especially confirm on WHICH CPU your initial timings were measured?

I have finished the tests on my old machine. Same behavior. Now are a real machine and a virtualized with the same behavior. This is the real machine results:
[ota@squitch ~]$  OPENBLAS_NUM_THREADS=1; export OPENBLAS_NUM_THREADS;  OMP_NUM_THREADS=1 ; export OMP_NUM_THREADS
[ota@squitch ~]$ scilab-cli
Scilab 5.5.2 (Feb  3 2017, 00:12:09)
-->A1=rand(1000,1000); tic(); [S, v, D]=svd(A1); toc()
ans  =
79.956

-->exit
[ota@squitch ~]$  OPENBLAS_NUM_THREADS=2; export OPENBLAS_NUM_THREADS;  OMP_NUM_THREADS=2 ; export OMP_NUM_THREADS
[ota@squitch ~]$ scilab-cli
Scilab 5.5.2 (Feb  3 2017, 00:12:09)
-->A1=rand(1000,1000); tic(); [S, v, D]=svd(A1); toc()
ans  =
79.429

-->exit
[ota@squitch ~]$  OPENBLAS_NUM_THREADS=3; export OPENBLAS_NUM_THREADS;  OMP_NUM_THREADS=3 ; export OMP_NUM_THREADS
[ota@squitch ~]$ scilab-cli
Scilab 5.5.2 (Feb  3 2017, 00:12:09)
-->A1=rand(1000,1000); tic(); [S, v, D]=svd(A1); toc()
ans  =
79.128

On both installs there is no  libopenblas_cputype.so.
Name           : openblas
Version        : 0.2.19,1
Installed on   : Fri Feb  3 00:05:12 2017 BRT
Origin         : math/openblas
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : math
Licenses       : BSD3CLAUSE
Maintainer<EMAIL_ADDRESS>WWW            : https://github.com/xianyi/OpenBLAS
Comment        : Optimized BLAS library based on GotoBLAS2
Options        :
AVX            : on
AVX2           : off
CBLAS          : on
DYNAMIC_ARCH   : on
INTERFACE64    : off
OPENMP         : on
Shared Libs required:
libquadmath.so.0
libgomp.so.1
libgfortran.so.3
Shared Libs provided:
libopenblas.so.0
libopenblasp.so.0

There is a flag on FreeBSD ports that claims add a support to "multiple CPU type". I'm disabling this flag and rebuilding to test. Maybe this is disabling optimizations.

you have to download OpenBLAS 0.2.18 tarball and type 'make' (having gcc and gfortran available). It should build sandybridge specific code only and confirm it at the end of build in short summary (or barf out with errors if it did not detect CPU)
you can use POSIX script command to record long output.

E5-2697 v2 (a bit bigger cache and more hertz, yours could be 1.5-2x slower)
MKL_NUM_THREADS=2 Rscript dgesvd.R (old Revo version)
1024x1024 :   15915.24 MFlops   0.450000 sec
OPENBLAS_NUM_THREADS=2 Rscript dgesvd.R (pure complete 0.2.19, with pessimal FFLAGS)
1024x1024 :   10440.03 MFlops   0.686000 sec

The only library created are:
-rw-r--r--  1 root  wheel  68136560  3 fev 14:33 work/OpenBLAS-0.2.19/libopenblasp-r0.2.19.a
-rwxr-xr-x  1 root  wheel  39170016  3 fev 14:35 work/OpenBLAS-0.2.19/libopenblasp-r0.2.19.so
lrwxr-xr-x  1 root  wheel        22  3 fev 13:58 work/OpenBLAS-0.2.19/libopenblasp.a -> libopenblasp-r0.2.19.a
lrwxr-xr-x  1 root  wheel        23  3 fev 14:35 work/OpenBLAS-0.2.19/libopenblasp.so -> libopenblasp-r0.2.19.so

i mean not PKG build but independent build in a new directory from source tarball.
i.e
tar xfz OpenBLAS*gz
cd OpenBLAS-0.2.18
script
make
exit
less typescript

Could be that the freebsd source package has the DYNAMIC_ARCH=1 option permanently set in Makefile.rule in addition to providing it as a command line option to "make" ? Possibly you will find the cpu name in the config.h file that is produced as part of the build process.

Here is the config.h
#define OS_FREEBSD	1
#define ARCH_X86_64	1
#define C_GCC	1
#define 64BIT	1
#define PTHREAD_CREATE_FUNC	pthread_create
#define BUNDERSCORE	_
#define NEEDBUNDERSCORE	1
#define SANDYBRIDGE
#define L2_SIZE 262144
#define L2_ASSOCIATIVE 8
#define L2_LINESIZE 64
#define ITB_SIZE 4096
#define ITB_ASSOCIATIVE 4
#define ITB_ENTRIES 64
#define DTB_SIZE 4096
#define DTB_ASSOCIATIVE 4
#define DTB_DEFAULT_ENTRIES 64
#define HAVE_CMOV
#define HAVE_MMX
#define HAVE_SSE
#define HAVE_SSE2
#define HAVE_SSE3
#define HAVE_SSSE3
#define HAVE_SSE4_1
#define HAVE_SSE4_2
#define HAVE_AVX
#define HAVE_CFLUSH
#define NUM_SHAREDCACHE 1
#define NUM_CORES 1
#define CORE_SANDYBRIDGE
#define CHAR_CORENAME "SANDYBRIDGE"
#define SLOCAL_BUFFER_SIZE	24576
#define DLOCAL_BUFFER_SIZE	16384
#define CLOCAL_BUFFER_SIZE	32768
#define ZLOCAL_BUFFER_SIZE	24576
#define GEMM_MULTITHREAD_THRESHOLD	4

Makefile.rule
[ota@nostromo /usr/home/ota/workspace/SOFTWARE_Espelho/ExemploReadFromFile]$ clear ; cat /usr/ports/math/openblas/work/OpenBLAS-0.2.19/Makefile.rule

Beginning of user configuration

This library's version
VERSION = 0.2.19
If you set the suffix, the library name will be libopenblas_$(LIBNAMESUFFIX).a
and libopenblas_$(LIBNAMESUFFIX).so. Meanwhile, the soname in shared library
is libopenblas_$(LIBNAMESUFFIX).so.0.
LIBNAMESUFFIX = omp
You can specify the target architecture, otherwise it's
automatically detected.
TARGET = PENRYN
If you want to support multiple architecture in one binary
DYNAMIC_ARCH = 1
C compiler including binary type(32bit / 64bit). Default is gcc.
Don't use Intel Compiler or PGI, it won't generate right codes as I expect.
CC = gcc49
Fortran compiler. Default is g77.
FC = gfortran49
Even you can specify cross compiler. Meanwhile, please set HOSTCC.
cross compiler for Windows
CC = x86_64-w64-mingw32-gcc
FC = x86_64-w64-mingw32-gfortran
cross compiler for 32bit ARM
CC = arm-linux-gnueabihf-gcc
FC = arm-linux-gnueabihf-gfortran
cross compiler for 64bit ARM
CC = aarch64-linux-gnu-gcc
FC = aarch64-linux-gnu-gfortran
If you use the cross compiler, please set this host compiler.
HOSTCC = gcc
If you need 32bit binary, define BINARY=32, otherwise define BINARY=64
BINARY=64
About threaded BLAS. It will be automatically detected if you don't
specify it.
For force setting for single threaded, specify USE_THREAD = 0
For force setting for multi  threaded, specify USE_THREAD = 1
USE_THREAD = 0
If you're going to use this library with OpenMP, please comment it in.
This flag is always set for POWER8. Don't modify the flag
USE_OPENMP = 1
You can define maximum number of threads. Basically it should be
less than actual number of cores. If you don't specify one, it's
automatically detected by the the script.
NUM_THREADS = 24
if you don't need to install the static library, please comment it in.
NO_STATIC = 1
if you don't need generate the shared library, please comment it in.
NO_SHARED = 1
If you don't need CBLAS interface, please comment it in.
NO_CBLAS = 1
If you only want CBLAS interface without installing Fortran compiler,
please comment it in.
ONLY_CBLAS = 1
If you don't need LAPACK, please comment it in.
If you set NO_LAPACK=1, the library automatically sets NO_LAPACKE=1.
NO_LAPACK = 1
If you don't need LAPACKE (C Interface to LAPACK), please comment it in.
NO_LAPACKE = 1
Build LAPACK Deprecated functions since LAPACK 3.6.0
BUILD_LAPACK_DEPRECATED = 1
If you want to use legacy threaded Level 3 implementation.
USE_SIMPLE_THREADED_LEVEL3 = 1
If you want to drive whole 64bit region by BLAS. Not all Fortran
compiler supports this. It's safe to keep comment it out if you
are not sure(equivalent to "-i8" option).
INTERFACE64 = 1
Unfortunately most of kernel won't give us high quality buffer.
BLAS tries to find the best region before entering main function,
but it will consume time. If you don't like it, you can disable one.
NO_WARMUP = 1
If you want to disable CPU/Memory affinity on Linux.
NO_AFFINITY = 1
if you are compiling for Linux and you have more than 16 numa nodes or more than 256 cpus
BIGNUMA = 1
Don't use AVX kernel on Sandy Bridge. It is compatible with old compilers
and OS. However, the performance is low.
NO_AVX = 1
Don't use Haswell optimizations if binutils is too old (e.g. RHEL6)
NO_AVX2 = 1
Don't use parallel make.
NO_PARALLEL_MAKE = 1
Force number of make jobs. The default is the number of logical CPU of the host.
This is particularly useful when using distcc.
A negative value will disable adding a -j flag to make, allowing to use a parent
make -j value. This is useful to call OpenBLAS make from an other project
makefile
MAKE_NB_JOBS = 2
If you would like to know minute performance report of GotoBLAS.
FUNCTION_PROFILE = 1
Support for IEEE quad precision(it's real REAL*16)( under testing)
QUAD_PRECISION = 1
Theads are still working for a while after finishing BLAS operation
to reduce thread activate/deactivate overhead. You can determine
time out to improve performance. This number should be from 4 to 30
which corresponds to (1 << n) cycles. For example, if you set to 26,
thread will be running for (1 << 26) cycles(about 25ms on 3.0GHz
system). Also you can control this mumber by THREAD_TIMEOUT
CCOMMON_OPT	+= -DTHREAD_TIMEOUT=26
Using special device driver for mapping physically contigous memory
to the user space. If bigphysarea is enabled, it will use it.
DEVICEDRIVER_ALLOCATION = 1
If you need to synchronize FP CSR between threads (for x86/x86_64 only).
CONSISTENT_FPCSR = 1
If any gemm arguement m, n or k is less or equal this threshold, gemm will be execute
with single thread. You can use this flag to avoid the overhead of multi-threading
in small matrix sizes. The default value is 4.
GEMM_MULTITHREAD_THRESHOLD = 4
If you need santy check by comparing reference BLAS. It'll be very
slow (Not implemented yet).
SANITY_CHECK = 1
The installation directory.
PREFIX = /opt/OpenBLAS
Common Optimization Flag;
The default -O2 is enough.
Flags for POWER8 are defined in Makefile.power. Don't modify COMMON_OPT
COMMON_OPT = -O2
gfortran option for LAPACK
enable this flag only on 64bit Linux and if you need a thread safe lapack library
Flags for POWER8 are defined in Makefile.power. Don't modify FCOMMON_OPT
FCOMMON_OPT = -frecursive
Profiling flags
COMMON_PROF = -pg
Build Debug version
DEBUG = 1
Set maximum stack allocation.
The default value is 2048. 0 disable stack allocation a may reduce GER and GEMV
performance. For details, https://github.com/xianyi/OpenBLAS/pull/482

MAX_STACK_ALLOC = 0
Add a prefix or suffix to all exported symbol names in the shared library.
Avoid conflicts with other BLAS libraries, especially when using
64 bit integer interfaces in OpenBLAS.
For details, https://github.com/xianyi/OpenBLAS/pull/459

The same prefix and suffix are also added to the library name,
i.e. you get lib$(SYMBOLPREFIX)openblas$(SYMBOLSUFFIX) rather than libopenblas

SYMBOLPREFIX=
SYMBOLSUFFIX=

End of user configuration

Your CPU is detected as Sandy Bridge, which matches Ivy bridge written in its specifications.
I would trast distribution package and not enter over-engineering trades now.
Will you be able to extract dgesvd_ arguments on FreeBSD using gdb? (break dgesvd_ ; run;  etc etc.)

Thank you - so it seems to have identified your cpu correctly. That leaves the silly issue with the missing -O2 in Makefile.system - could you try adding that to the "override FFLAGS" line there and recompile just again ? (Though I do wonder if that alone could account for a 37-fold speed difference)

@martin-frbg when I'm compiling I see lots of -O2 on command line. Look:
gcc49 -c -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_AVX2 -DNO_WARMUP -DMAX_CPU_NUMBER=1 -DASMNAME=srotmg -DASMFNAME=srotmg_ -DNAME=srotmg_ -DCNAME=srotmg -DCHAR_NAME="srotmg_" -DCHAR_CNAME="srotmg" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX rotmg.c -o srotmg.o
gcc49 -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_AVX2 -DNO_WARMUP -DMAX_CPU_NUMBER=1 -DASMNAME=saxpby -DASMFNAME=saxpby_ -DNAME=saxpby_ -DCNAME=saxpby -DCHAR_NAME="saxpby_" -DCHAR_CNAME="saxpby" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX -c axpby.c -o saxpby.o
gcc49 -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_AVX2 -DNO_WARMUP -DMAX_CPU_NUMBER=1 -DASMNAME=cblas_isamax -DASMFNAME=cblas_isamax_ -DNAME=cblas_isamax_ -DCNAME=cblas_isamax -DCHAR_NAME="cblas_isamax_" -DCHAR_CNAME="cblas_isamax" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX -DCBLAS -c -DUSE_ABS -UUSE_MIN imax.c -o cblas_isamax.o
gcc49 -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_AVX2 -DNO_WARMUP -DMAX_CPU_NUMBER=1 -DASMNAME=cblas_sasum -DASMFNAME=cblas_sasum_ -DNAME=cblas_sasum_ -DCNAME=cblas_sasum -DCHAR_NAME="cblas_sasum_" -DCHAR_CNAME="cblas_sasum" -DNO_AFFINITY -I.. -I. -UDOUBLE  -UCOMPLEX -DCBLAS -c asum.c -o cblas_sasum.o

@brada4 do you need that this be made on scilab or could it be made on a small program example?
Because debug scilab looks a bit trick
[ota@nostromo /usr/home/ota/workspace/SOFTWARE_Espelho/ExemploReadFromFile]$ gdb /usr/local/bin/scilab-cli-bin
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb) break dgesvd_
Function "dgesvd_" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (dgesvd_) pending.
(gdb) run
Starting program: /usr/local/bin/scilab-cli-bin
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc49/libgfortran.so.3]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc49/libquadmath.so.0]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc49/libgcc_s.so.1]
[New LWP 101077]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc49/libgomp.so.1]
Breakpoint 2 at 0x8077430ae
Pending breakpoint "dgesvd_" resolved
SCI environment variable not defined.
Program exited with code 01.
Current language:  auto; currently minimal
(gdb)

Wrong dwarf version means gdb was compiled with different gcc than module examined. It is not a problem per se
Lets try to debug live process instead instead of emulating startup script.
run scilab and type your m code until including tick()
now start blank gdb
attach <pid_of_scilab>
break dgesvd_
break dgeqrf_ # this will be first call that above makes
continue

now type svd()
and in gdb it should be at breakpoint
first press 'c' until scilab prompt returns (continue)
it should be 2 break of each kind
repeat svd in scilab.
run
thread all apply backtrace on breakpoints
now
'detach'
when scilab prompt returns and exit debugger
(wrap debugger with 'script', it is not comfortable to scroll your 3-screen postings, text file with 2 sentence description goes better)

Certainly "lots of -O2" in the output, but note that these are all in the gcc calls used to build the BLAS part - the LAPACK is written in fortran and the gfortran calls do/did not get the -O2

also get 'info shared' i.e which modules are loaded in process...

no need to debug
as it stands in current FreeBSD ports:
scikit is linked to arpack which in turn is linked to netlib (no alternatives)
which in the end means you are just calling netlib blas where you expect openblas.
Regarding OpenMP and compiling - it matches Makefile.rule setting, you dont need it.
It would be best to notify arpack and scikit FreeBSD port maintainers about this mishap and ask to save you (or you learn to add openblas to arpack package and submit diff)
There is nothing that OpenBLAS can do if library loader overrides it with other package.
(freebsd has not changed much, in dozen years /stand/sysinstall became bsdconfig, and pkg_add became pkg install, rest smells so history)

@brada4 ldd linking his scilab binary to libopenblasp.so was in the fifth post, so I do not get what you are ranting about ?

ldd shows just 1st level of imports.

@martin-frbg
I did a rebuild and scan and you are right. The -O2 is not passed to gfortran49. I have added it by hand and is rebuilding now. Attached is the log of the previously build.
typescript.txt

@brada4
I'm using  arpack-ng with Scilab. I did a patch to arpack-ng uses openblas instead gotoblas. The patch is following.
arpack-ng.txt

After adding -O2 the performance is improved.
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  =   20.015
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  = 25.158
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  = 27.053
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  = 25.514
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  = 26.208
-->A1=rand(1000, 1000); tic(); [S, v, D]=svd(A1); toc()
ans  = 26.186

Attached is gdb debug like suggest by @brada4
typescript.txt

It is not only DGESVD (scilab manual is not saying complete story)
octave:3> tic(); [S, v, D]=svd(A1); toc() # SVD+MM?
Elapsed time is 11.6619 seconds.
octave:4> tic(); v=svd(A1); toc() # just SVD like I did in R
Elapsed time is 2.2592 seconds.

About -DMAX_CPU_NUMBER=1, is this correct even for a multicore CPU?

Without -D please

MAX_CPU_NUMBER appears to be used interchangeably with NUM_THREADS nowadays while NUM_CORES in config.h seems to reflect the number of physically separate cpu dies rather than cores.
So for a dualcore x86 capable of hyperthreading a default build would have NUM_CORES=1 in config.h and -DMAX_CPU_NUMBER=4 on the command lines of the compiler. Your -DMAX_CPU_NUMBER would then appear to be for a build with no multithreading support (consistent with the "NUM_THREADS=1 USE_THREAD=0" seen on the line below "Building for openblas-0.2.19,1" in the typescript.txt you posted).
Setting OPENBLAS_NUM_THREADS in the tests above cannot have had any effect then, perhaps your benchmark results would even be closer to the Windows/MKL ones if run with two threads ?

When configuring the number of CPUs to 1 I'm getting a better performance than with number of CPUs of 2. So I suppose that only one thread is working to solve the svd. Testing with procstat looks confirm this. Even when using OPENBLAS_NUM_THREADS=3; export OPENBLAS_NUM_THREADS; OMP_NUM_THREADS=3 ; export OMP_NUM_THREADS I get only a start with three threads but after some small time only one thread looks works, no CPU is 100%. Look:
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                 -1  182 run     -
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  180 run     -
1148 100280 scilab-cli-bin   -                 -1  180 run     -
[ota@nostromo /usr/home/ota]$ procstat -t 1148
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                 -1  181 run     -
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100280 scilab-cli-bin   -                 -1  152 sleep   usem
[ota@nostromo /usr/home/ota]$ procstat -t 1148
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                 -1  184 run     -
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100280 scilab-cli-bin   -                 -1  152 sleep   usem
[ota@nostromo /usr/home/ota]$ procstat -t 1148
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                  0  185 run     -
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100280 scilab-cli-bin   -                 -1  152 sleep   usem
[ota@nostromo /usr/home/ota]$ procstat -t 1148
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                  1  186 run     -
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100280 scilab-cli-bin   -                 -1  152 sleep   usem
[ota@nostromo /usr/home/ota]$ procstat -t 1148
PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN
1148 100273 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100278 scilab-cli-bin   -                 -1  152 sleep   uwait
1148 100279 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100280 scilab-cli-bin   -                 -1  152 sleep   usem
1148 100282 scilab-cli-bin   -                 -1  152 sleep   ttyin
So, for me, looks correct suppose that only one thread is doing the work even on a multicore CPU. So, is correct suppose that this is a Scilab issue or openblas must create the number of threads that matches the number of CPUs?

You can read parameters in Makefile.rule , default build is pthreads, and number and type of CPUs that your msachine has.
It is normal that 1st thread, which is main thread does small matrix operations, other threads will be employed for bigger matrices only.

I wonder if this is relevant and Intel did it already before:
http://hg.savannah.gnu.org/hgweb/octave/rev/750c8b4b7164
I.e. it will not hurt anybody to use extra gigabyte for 5x speedup...