Is it possible to control the webojiCanvas (weboji) externally?

Hi,
We are trying to control the webojiCanvas (weboji) externally by separating the JEEFACETRANSFERAPI face-detection logic and the control of weboji.
Our idea is to send the face-detection data remotely through the net and control the weboji in the other side.
However, we found that the control of the weboji is deep down in the JEEFACETRANSFERAPI.
We want to ask if there is any way we can achieve what we want through this library, please?
If not, can you suggest what kind of tools, libraries or tutorials we should look for, please?
Thanks for your helps!

Hi,
This is doable currently.
The Three.js helper
https://github.com/jeeliz/jeelizWeboji/blob/master/helpers/threejs/ThreeJeelizHelper.js
get the rotation value with:
rotation=JEEFACETRANSFERAPI.get_rotationStabilized();

and the morph coefficients with:
var morphTargetInfluencesDst=JEEFACETRANSFERAPI.get_morphTargetInfluencesStabilized();

These are the whole detection data.
Instead of drawing directly the THREE.JS animated mesh, you have to send these values through websockets and handle the rendering on the other side.
It is not easy to do, but doable :).
Best,
Xavier

@xavierjs Thanks :)
Just one more question, is it possible to have multiple JEEFACETRANSFERAPI running at the same time with different video sources?
Cheers
Eric

Hi,
It would be doable, but not advisable.
This lib is still quite computationnally intensive. If you process 2 different video sources, then you will have 2 times less computing power for each source. So it will process 2 times less detection per seconds for each source, and the result may be less responsive, or more noisy.
Best,
Xavier

Thanks for answering :D


support for vue 2.0?

vue 2.0 has just been release officially. hoping for an upgrade soon~

Yeah I will be doing that for sure. Just need to find some time to do the
update
On Tue, Oct 4, 2016 at 4:40 PM Beep LIN<EMAIL_ADDRESS>wrote:

vue 2.0 has just been release officially. hoping for an upgrade soon~
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/james2doyle/vue-drag-and-drop/issues/15, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABW_mGgtXe8Y_8JV8OKdS9-poRaAj0M4ks5qwuP4gaJpZM4KORtc
.

My project is on Vue 2 and hardly need such a plugin :( not found a single dnd pugin for vue 2 yet

Yeah I may try to update it this weekend
On Sat, Oct 29, 2016, 11:58 AM Rizwan Aslam<EMAIL_ADDRESS>wrote:

My project is on Vue 2 and hardly need such a plugin :( not found a single
dnd pugin for vue 2 yet
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/james2doyle/vue-drag-and-drop/issues/15#issuecomment-257109377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW_mMnJuwoKFCrSpPVuUTQGp8ewzNH2ks5q45dSgaJpZM4KORtc
.

This is a great news for me ........ i am very very thankful to you for this 👍

Hmm, i also checked the doc of Vue 2.0, it seems that Directive doesn't support receiving props anymore.
We need to implement it in a component way.

@beeplin @RizwanAslam
Hello, just in case you were waiting for an update for Vue JS 2 compatability for this plug-in just like me.
You could check for temporary solution, this was inspired by dnd and mostly this plug-in.
https://github.com/wlachenal/vue-drag-drop

+1

@wlachenal I made a fix to works with NPM and vue-loader:
https://github.com/pierophp/vue-drag-drop/commit/0144a6a8f7680ad9a02347e34236ef1ac69d458b
If you want I can make a Pull Request in your repo.
Basically the change was:
let DragAndDrop = {};
DragAndDrop.install = function (Vue) {
...
}
module.exports = DragAndDrop;
In the main.js:
Vue.use(require('vue-drag-drop'));

@pierophp  your solution make: Cannot set property '_dragSrcEl' of undefined"


testing

Error in initialization, please refer to "https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__INITIALIZE.html" for details on:
I have encountered this error while following the instruction to test if its correctly installed

I'm getting the same error when running cudatest
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

$ go version
go version go1.13.4 linux/amd64

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

$ go install gorgonia.org/cu/cmd/cudatest
$ cudatest
Error in initialization, please refer to "https://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__INITIALIZE.html" for details on:
$

This is using the CUDA 10.1 toolkit. Maybe the initialization flags have changed?

The issue is that there are new error codes. The values for cuResult are sparse and if the error is one that's not defined in cu/result.go, but less than 999, CUDA_ERROR_UNKNOWN, then cuResult.String() returns an empty string.
I tweaked cu/result.go to include the error code in the message and the one I'm getting is 804, CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE . Now that I know what the error is, I'll go from there, but I'll see about opening a PR to return a useful error message when result() encounters a code it doesn't know.

A reboot fixed the 804 error and cudatest runs fine now for me.
@LucaPaterlini Are you still having this issue? If so, take a look at my PR and see if that will give you an error code you can use.


Change interstitial content title

What is the context of this PR?
This adds level 2 heading to 'You will need to know' title element of "content" on interstitial page (interstitial block main title is not affected). The change is described on this Trello.
How to review
Make sure you have loaded latest templates. Check if 'You will need to know' title has a h2 class and that there are no issues with other interstitial pages.

 Interstitial page 'You will need to know' should be a level 2 heading


[UM] Visual discrepancy when buying actives mid-stage

This isn't really an issue that needs fixing, but more of a technical quirk of UM that I think I should bring to your attention.It's perfectly fine if you decide not to fix this and you can close the issue.
In the vanilla game, when you buy an active in the shop, the game automatically makes this your currently selected active. This also happens when you use the Market Manip option to buy an active. However, for some reason, the ANM of your currently selected active card in the bottom-left corner does not get updated when this swap happens. Instead, the stage transition has a routine which checks for and corrects the visual discrepancy. Very ZUN move to add a safeguard to recover from an easy-to-fix bug while leaving a replay breaking glitch in the same part of the code.

When you use the F11 option to open a shop mid-run and buy an active, the stage transition routine isn't there to fix the visual discrepancy. So once you exit the shop, the selected active card UI will still show your previously selected card, but when you press C, the effects of the new card will take place. The issue fixes itself when you press D (in some situations this makes you swap into the card that's already on the UI, which is pretty confusing).

This issue doesn't matter since you're not meant to continue runs after using the F11 option anyway. I just think it's a neat quirk worth sharing.

Instead, the stage transition has a routine which checks for and corrects the visual discrepancy

You seem to have figured this out already, could you tell be where to look for this code?

I resolved the issue in my fork, I'll make a new pull request once I'm done with my last planned change.


Valid Mocha tests are not being parsed

The following Mocha file works when used from the command prompt but does not pass the processing under NTVS. NOTE: the file has dependencies that I cannot publicly include but am willing to share in a controlled fashion..
I get the following error when that file is under 'test' and has the 'Testing Framework' property set to 'Mocha':
------ Discover test started ------
Processing: S:\Dropbox (Personal)\Projects\Fringefy\odie\test\odie.js
 Test discovery error: [Error: Configuration property "odie.url" is not defined] in S:\Dropbox (Personal)\Projects\Fringefy\odie\test\odie.js
Processing finished for framework of Mocha
Discovered 0 testcases.
========== Discover test finished: 0 found (0:00:02.8381624) ==========

The test makes use of the 'config' npm package to load configurations according to environment. The error displayed hints that the configuration was not properly loaded. One reason could be that the NODE_ENV variable was not set in the context of running this script. However, I have this env variable set system wide on my machine so I'm not sure that's the cause here.
In any case, as said, command line invocation works just fine:
S:\Dropbox (Personal)\Projects\Fringefy\odie>mocha test

DB: Initializing mongo connection
DB: Mongo Connection Success.
  Odie API
    V OPTIONS / should return 200

  Odie POIs endpoint
    V PUT /odie/pois should add a POI
    V GET /odie/pois should return a list of POIs

  Herman endpoint
    V GET /odie/pi/hits/:id should return a PI Task
    V PUT /odie/pi/hits/:id with bad params should return 406
    V PUT /odie/pi/hits/:id should return confirm code
    V PUT /odie/pi/hits/:id repeatedly should fail

What are the specific configuration settings you have for these tests?
Wrt NODE_ENV - what happens if you try to print out process.env.NODE_ENV in the context of your test? If that works, I don't see why that might be the issue.

The configurations include the URLs of the endpoint I'm testing and also database URIs etc. The same configuration params we have for the project itself.
I am not sure how to print something during Visual Studio's discovery process. The output attached above is from the 'Tests' output window. No matter where I put a console.log call I do not see it's output in this window (nor in any other window).

@syagev I had a very similar issue, tests running correctly on command line, but could not be detected.
A colleague fixed it, and I just answered my own question on Stackoverflow, perhaps this could help you?
http://stackoverflow.com/questions/34711219/mocha-unit-tests-are-not-found-in-ntvs/34722654#34722654
At any rate the error displayed in the stack trace had no direct relation to the unit test code, but to some external code (code called through your own code, or perhaps some NTVS wrapper code or something, I'm yet to find out).

@bartvanderwal, you helped me resolve the issue although it wasn't exactly identical to yours. So for me, the problem was that VS runs the tests from the directory where the tests reside, instead of the project's root folder (or the working directory in the project properties).
This was causing trouble in finding various config files. Once I understood that, the fix was quite simple.
I'm going to go ahead and close this issue, @bartvanderwal if the issue you described is reproducible and related to the working directory I encourage you to open a separate issue.


Handle find doi

Originally by adeiana (@Osso) on 2012-05-10
Be able to search for find doi 10.1007/BF01053584

@kaplun Can you please have a look what (/if something) needs to be done to make it work with new search engine?

find doi <identifier> should get translated by Invenio Query Parser into doi:<identifier> that Invenio can handle.

This will better be implemented by dedicated DOI field in the data model.


do not support EventSource

From @rocketRobin on January 24, 2017 8:30

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 6.1.7601

Steps to Reproduce:

javascript intellesence do not support EventSource

Copied from original issue: Microsoft/vscode#19117

From @mousetraps on January 24, 2017 23:5
@mjbvz - looks like EventSource is missing from lib.dom.d.ts

As per @mousetraps' comment, a type definition for EventSource should be added to the dom d.ts

I have opened a PR for this issue:
https://github.com/Microsoft/TypeScript/pull/14658

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

For a workaround you can reference EventSource like this:
const sse = new window['EventSource'](url);


Add script and template to generate docs for CloudFormation template

Add ERB template which generates a docs page from the inline CloudFormation template parameter docs.
Fixes #1093

It doesn’t look particularly pretty but the template works 😄
https://docs-review-pr-1167.herokuapp.com/docs/agent/v3/elastic-ci-aws/parameters

Can I hand this off to you @plaindocs to make it look good?

This is great stuff @keithduncan .
Over in the ancient #1002 I started some nudges towards standardization on:

YAML in /data
having a script to generate the data, but leave the page generation to the rails app, do you reckon that would work here? similar to how agent updater works
At some point we could look at automating the pull request when a new agent is released (or whatever would trigger an update here)

Any thoughts?

YAML in /data

:+1:

having a script to generate the data, but leave the page generation to the rails app, do you reckon that would work here? similar to how agent updater works

Do you know whether these go through any precompiling by the assets pipeline? My aim here was to avoid having the docs frontends read, parse and generate that YAML file for each request since we know it isn’t going to change live.

At some point we could look at automating the pull request when a new agent is released (or whatever would trigger an update here)

That’s the dream! 😄 depending on what you think of the doc content itself I did consider support for an 'overrides' file that could overwrite or append to the docs coming in from the template so we can add more detail here while leaving the template quite utilitarian.


A space after icon of sunrise and sunset

It's just a "typo" of missing space after an icon in sunrise and sunset. In a moonrise and moonset the space exists and it looks better.

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

Good catch! Just add a line in the CHANGELOG about it and its good to merge.

@rejas done and commit has been squashed as well.


Adding support for User/Key Throttle from Database

Trying to show a little possible solution for #3 request.
In this case we can add a table for API Users with the username, password/Key and throttle limit.
I am injecting the container into the Constructor for allowing set up the PDO connection and other parameters in a more flexible way. I have modified the Callable for accepting Request, Response and Next callable.
Other table more is used for the API User activity. It has the same function than xrequest table, but only with valid API User requests.
Modifing the SQL installation schema and setting up the proper PDO connection string, i think it is possible to use other database vendors. Like Sqlite, Postgresql, etc...
This is just a quick and dirty proof of concept. I am thinking in improving it in the future.
With my changes, the Middleware tries to detect an Basic auth Http Authorization header. If it finds it, then it tries to throttle looking for a valid user. If this is not possible, it fallback to throttle by IP (Original behavour).
Regards!

mmm .. interesting, but could we leave password outside it?
I mean this user id (FK to a real user table) and throttle limit is fine to be there. but an user table can have many other columns that are not really interesting for a API Rate Limiter.

Well... we need to validate the user/pass extractes from Authlrization header.
One possible option is inject an user repository object in the container and abstract the way that we access to the users in database and wi

Sorry. Wrong button pressed from, phone.
*and which information we get from it.
The same it is possible for xrequest. Injecting an  object implementing Repository pattern can be useful for remove sql code from the middleware. But that is a future posible option.


Change between-skill click location

I didn't see this mentioned in other issues, but I may have missed it. When running a battle script, I see clicks in the upper right of the screen between skill uses, presumably to speed things up (though I'm fairly sure it does not). The problem is it always clicks on any heads up notifications I get, which can really screw things up both for the battle and for the app it opens.
Could we have either a way to disable that click, or to change the location? If it was at the far left or right of the screen's center, it would be much less likely to click on a notification.

This upper right click is there to close the unwanted dialogues that pop up sometimes, like the enemy summary, stun warning or cooldown warning.
Just turn on the "do not disturb" setting on your phone. It will disable notifications.

This upper right click is there to close the unwanted dialogues that pop up sometimes, like the enemy summary, stun warning or cooldown warning.
Just turn on the "do not disturb" setting on your phone. It will disable notifications.


Another test

right

test

test

testing

test 5

this is a comment

must comment moar

test

whoot

sdjna

qwewewq

qew

qwae

eqw

wqasd

qew


Ehcache options

Pull Request (PR) description
Add additional options for configuring the "ehcache" settings in cluster.properties (https://developer.atlassian.com/server/jira/platform/configuring-a-jira-cluster/)
This Pull Request (PR) fixes the following issues
Fixes #245

Hi @nrhtr, thanks for the PR. Can you please have a look at the used email address in the commits? It isn't associated with your github acount.

Hi @bastelfreak. Will fix up the data types shortly. I'm using my work laptop which is why it has a different email configured from my personal Github account. I can commit with my personal email configured if you prefer?

Adding your corp mail address to github would also be fine. The used address just has to have a relation to the github account.

Thanks!


[android] Use PwoMetadata in DiscoveryService

Simplify the code some by using the PwoMetadata class in the
UriBeaconDiscoveryService.

Two minor comments. Otherwise LGTM.

If that's it, I'm going to leave the size parameter and submit.


Step 1 of Moving the gui config parameters out of the JSON files. Thi…

…s update is for the Viewer.
Step 2 will be to clean up the JSON files, but that will be a different PR.

Added a last minute request to log the IP address in the network case.


Update to Java 17

[x] Remove also unnecessary dependencies
[x] Update to Java 17
[x] Make the JAR smaller
[ ] Use records and new features of Java
[ ] Use new libraries for making dev easier (lombok)

#152


rename the Go community

I noticed the ruby-on-rails community is titled "Ruby on Rails" whereas Go is just called golang.
Can the Go community just be called "Go" while maintaining the same url? https://gratipay.com/for/golang/

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4260829-rename-the-go-community?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

Closed until communities (or tags) return.


Removed arbitrary limit on timestamp values.

Now also dates before 1653-02-10 and after 2286-11-20 are supported.
corresponding ES commit: https://github.com/crate/elasticsearch/commit/ae3120e3121035cb2d7ac1eec9755c24520b3dbc
@dobe please

Current coverage is 80.93% (diff: 100%)

Merging #4224 into master will decrease coverage by 0.08%

@@             master      #4224   diff @@
==========================================
  Files          1300       1300
  Lines         44236      44236
  Methods           0          0
  Messages          0          0
  Branches       7057       7057
==========================================
- Hits          35840      35804    -36
- Misses         5748       5779    +31
- Partials       2648       2653     +5

Powered by Codecov. Last update 4364153...fca2776

@dobe added test
also updated changelog to reflect limitation of year value

@dobe please review again


Caching of parsed OpenAPI definitions

This is more a question than anything. Hopefully it is covered somewhere.
So, for every inbound request to an API, the payload needs to be validated against an OpenAPI definition. That definition needs to be parsed/lexed/whatever into some form that can be used to do the validation. That will take time and resources to do.
So, is that parsed form of the OpenAPI definition cached? Can it even be cached? Does the full parsing happen on every API call, maybe it's not as resource intensive as I think it may be (but judging by the speed of client-based OpenAPI editors once a 3.0 definition goes above a few hundred lines, I would assume it is fairly intense).
I haven't tried it yet, but it looks ideal for a project I'm working on now.

Good point! Indeed, performance is important. So this package is based on wonderful https://github.com/cebe/php-openapi by @cebe which does "reading" part. I think it should cache the schema between reads.
I am going to dig deeper into this.

Quick update:

cebe's cebe/php-openapi does not have a caching layer (I did not see one)
symfony/yaml's parser is used for actually reading YAML files. It does not have a caching layer as well.

Given that I am correct with the above, I think I should add a caching layer into the package.

Just out of curiosity, what would actually be cached? For example, PHP scripts are parsed into opcodes at runtime, and the opcodes are cached, so the parsing stage can be skipped. Do these libraries do something similar? Maybe they don't, and there is nothing that can be cached. I can't imagine a hash of the API requests having a particularly high hit-rate (assuming the cached result is a go/no-go result).
If there is an intermediate form for the OpenAPI definition - perhaps a data structure or object that can be serialised - then PSR-6 support would be awesome.

Yo read my mind about psr-6.
Indeed there is an intermediary form. Text is converted to an object \cebe\openapi\spec\OpenApi which contains all parsed values. I believe this is a perfect candidate to be cached. Thus we save CPU cycles on parsing and converting openapi to that representation.

I've done one iteration over this caching thing. See readme: https://github.com/lezhnev74/openapi-psr7-validator#caching-layer--psr-6-support

I'm going to use that awesome word again: awesome.  Thank you @philsturgeon for pointing us here.

👍 Please feel free to post any issues/ideas you encounter with this package.

I've looked up into this implementation and it has flaws for me.
Currently it caches only ready-for-use schema source data, but there is no real feedback about whether it is cached or not, so if your data source is not raw YAML or file (in our case its some doctrine annotations and some php code generating it) - than we should generate schema in order to use cached cebe\Schema at the end, so generation is wasted cpu here

From my point of view half of current Validator class content is something, that should be ValidatorBuilder at the end, and another part are schema utility helpers, which could be used with composition, not inheritance.
So It could be used like this (namings are reference only, just for example)
final class YamlFileSchemaFactory implements CachecableSchemaFactory {
    public function createSchema(): /cebe/Schema { /* */ }

    public function getCacheKeyForSchema(): stirng { return crc32(...) }
}

interface CachecableSchemaFactory extends SchemaFactory {
    public function getCacheKeyForSchema(): string;
}

$schemaFactory = new YamlFileSchemaFactory('/path/to/yaml');

$validator = (new ValidatorBuilder())
    ->setCache($cacheItemPool) // optional
    ->setCacheKey($key) // optional if schema factory is cacheable
    ->setSchemaFactory($factory) // optional, see below
    ->fromYaml($yaml) // sets factory to built-in yaml string factory
    ->fromYamlFile($yamlFile) // sets factory to built-in yaml file factory
    ->fromJson($json) // same here
    ->fromJsonFile($jsonFile) // same here
    ->getServerRequestValidator() // or
    ->getResponseValidator()

builder internally checks given cache with given key (or generates it for cacheable factories) and if schema is not cached - then calls schema factory to obtain it. Predefined helpers could be used for bootstraped usage, like
$validator = (new ValidatorBuilder())
    ->setCache($cacheItemPool)
    ->fromYamlFile($yamlFile)
    ->getServerRequestValidator()

I think it's easy to understand and control

I can try to provide PR with implementation to discuss a bit later

could be used with composition, not inheritance

I love this. Please do a PR, let's discuss later.
Indeed there are different concerns combined in the single Validator object at the moment - caching, building(reading openapi), actual validation. It works as a first iteration on the package but can be improved in many ways.

implemented initial thoughts as #16

Quick update:
* cebe's `cebe/php-openapi` does not have a caching layer (I did not see one)
* `symfony/yaml`'s parser is used for actually reading YAML files. It does not have a caching layer as well.

Given that I am correct about the above, I think I should add a caching layer into the package.

I can confirm there is no caching built into the lower layer packages, which is mainly because the library has no information on how the parsed/read content is going to be used, so there is no information on when to invalidate the cache.
There is one issue with accessing an external URL multiple times while resolving references, which I am going to solve inside of my lib, but all other caching should be done on the higher level, i.e. by openapi-psr7-validator.


Pkg: Implement list-group component

Workflow

[x] Develop
[ ] Design review
[ ] Code review
[ ] Merge to dev

Inputs

See background at #806
See current YasS list-group examples
See 1.5 implementation

Specs

PSD: https://app.box.com/folder/14968986610
Zeplin: https://zpl.io/VxA6xka

Basic block structure (suggested)
The structure here can closely match the input-group where an addon can be put before or after each item.
.tn-list-group
	.tn-list-group__addon?
	.tn-list-group__item+
	.tn-list-group__addon?

Outputs

Base styles for the list and items
Show an icon option after the list item text, e.g., an "X" for deleting the item.
Since this is an enhancement of a Bootstrap component, additional Bootstrap modifications may need to be accounted for.

@LeoT7508 this task is ready for Dev review, could you please review it at the same time from your side? branch is: feature/884-list-group, after running "npm test" navigate to http://localhost:3030/list-group. Thanks

@like-me1
Im not sure if theres supposed to be a hover for the whole row, @joseegm, should the row hover how Uliana built it? Or should it be a static component with only the icon using a hover?

The hover state for the list items should match table row hover state.
http://sap.github.io/techne/table.html

@saadmhybris
Are we sure? I don't think thats how it works now here:
https://techne.yaas.io/components/Lists.html
Its a static list.
@joseegm  Thoughts?

@saadmhybris @LeoT7508 @joseegm There should NOT be hovers on the list-group.

@LeoT7508
For consistency reasons there should be hover effect on the list as well, same as the table and tree.

@joseegm @like-me1
Since we do want a hover then we need to change this hover affect to match what we use for tables, this hover affect is what we use for fields and drop down menus.

@LeoT7508
Yes, is the same hover as tables and the tree, with a background color.
The hover effect on the inputs is different with only an outline.

@LeoT7508 we agreed with Jose on a concept "on the flight" because the solution: "change the background color to the one we have for tables doesn't work when the row has a checkbox". But I kindly ask you guys again, provide the right concept BEFORE the ticket pushed into development. It's clear that different people have different opinions and some investigation needs to be done in advance to make the right concept. But not during the development phase. Let's try to keep it in mind for the Zeplin/PSD sources to provide hover/active/focus/disabled states if applicable. I'll try to keep it in mind before starting the ticket as well.

@like-me1
Id go with whatever Jose feels works best.
About changing this on the fly, thats part of designing components, things are going to change at random times, thats part of iterating and creating design systems. We try our best to have things ironed out early on, but at times things come up later in the process and we all have to adjust accordingly, its part of what we do.

I agree with @LeoT7508 that change is always part of the picture but I also agree with @like-me1 that we need to do better. We are missing some very simple, basic things and leaving too much discovery to the developers.
We can to revisit this. But please, please, please look at https://getbootstrap.com/docs/4.0/components/list-group/ and look at https://sapse.invisionapp.com/d/main#/projects/boards/5484242.
Maybe what we have in Zeplin is all we need to satisfy all of our use cases but it doesn't look that way.


Avoid dereferencing null configuration

Fixes: https://github.com/SirCmpwn/sway/issues/865

Thanks!


Waiting for Docker at unix:///var/run/system-docker.sock

RancherOS Version: (ros os version)
1.4.2
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
baremetal
I am using the rootfs_arm64 image with an self build kernel.
The machine is booting but gets stuck, can someone give me a hint how to find out why docker is not starting ?
[            ] init:info: [1/21] Starting preparefs WITH NIL cfg
[            ] init:info: [2/21] Starting save init cmdline WITH NIL cfg
[            ] init:debug: Cmdline debug = true
[            ] init:debug: [2/21] Done save init cmdline
[            ] init:info: [3/21] Starting mount OEM
[            ] init:debug: Not mounting OEM: Could not resolve device ""
[            ] init:debug: [3/21] Done mount OEM
[            ] init:info: [4/21] Starting debug save cfg
[            ] init:debug: [4/21] Done debug save cfg
[            ] init:info: [5/21] Starting load modules
[            ] init:debug: [5/21] Done load modules
[            ] init:info: [6/21] Starting recovery console
[            ] init:info: Launching recovery console
[            ] init:debug: Mounting devtmpfs /dev devtmpfs
[            ] init:debug: Mounting none /dev/pts devpts
[            ] init:debug: Mounting shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k
[            ] init:debug: Mounting mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime
[            ] init:debug: Mounting none /proc proc
[            ] init:debug: Mounting none /run tmpfs
[            ] init:debug: Mounting none /sys sysfs
[            ] init:debug: Mounting none /sys/fs/cgroup tmpfs
[            ] init:debug: Mounting none /sys/fs/selinux selinuxfs ro
[            ] init:debug: Unable to mount none /sys/fs/selinux selinuxfs ro: mkdir /sys/fs/selinux: operation not permitted
[            ] init:debug: /proc/cgroups: #subsys_name	hierarchy	num_cgroups	enabled
[            ] init:debug: /proc/cgroups: cpuset	7	1	1
[            ] init:debug: /proc/cgroups: cpu	8	1	1
[            ] init:debug: /proc/cgroups: cpuacct	8	1	1
[            ] init:debug: /proc/cgroups: blkio	1	1	1
[            ] init:debug: /proc/cgroups: memory	2	1	1
[            ] init:debug: /proc/cgroups: devices	3	1	1
[            ] init:debug: /proc/cgroups: perf_event	4	1	1
[            ] init:debug: /proc/cgroups: hugetlb	5	1	1
[            ] init:debug: /proc/cgroups: pids	6	1	1
[            ] init:debug: Mounting none /sys/fs/cgroup/cpu,cpuacct cgroup cpu,cpuacct
[            ] init:debug: Mounting none /sys/fs/cgroup/blkio cgroup blkio
[            ] init:debug: Mounting none /sys/fs/cgroup/memory cgroup memory
[            ] init:debug: Mounting none /sys/fs/cgroup/devices cgroup devices
[            ] init:debug: Mounting none /sys/fs/cgroup/perf_event cgroup perf_event
[            ] init:debug: Mounting none /sys/fs/cgroup/hugetlb cgroup hugetlb
[            ] init:debug: Mounting none /sys/fs/cgroup/pids cgroup pids
[            ] init:debug: Mounting none /sys/fs/cgroup/cpuset cgroup cpuset
[            ] init:debug: Done mouting cgroupfs
[            ] init:debug: Creating /var/lib/recovery-docker
[            ] init:debug: Not copying /usr/etc/ssl/certs/ca-certificates.crt => /etc/ssl/certs/ca-certificates.crt already exists
[            ] init:debug: Not copying /usr/etc/passwd, does not exists
[            ] init:debug: Not copying /usr/etc/group, does not exists
[            ] init:debug: Copying folder /etc/docker
[            ] init:debug: Copying folder /etc/selinux
[            ] init:debug: Not copying /usr/etc/selinux/config => /etc/selinux/config already exists
[            ] init:debug: Copying folder /etc/selinux/ros
[            ] init:debug: Copying folder /etc/selinux/ros/contexts
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/failsafe_context => /etc/selinux/ros/contexts/failsafe_context already exists
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/lxc_contexts => /etc/selinux/ros/contexts/lxc_contexts already exists
[            ] init:debug: Copying folder /etc/selinux/ros/policy
[            ] init:debug: Not copying /usr/etc/selinux/ros/policy/policy.29 => /etc/selinux/ros/policy/policy.29 already exists
[            ] init:debug: Not copying /usr/etc/selinux/ros/seusers => /etc/selinux/ros/seusers already exists
[            ] init:debug: Copying folder /etc/selinux/ros
[            ] init:debug: Copying folder /etc/selinux/ros/contexts
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/failsafe_context => /etc/selinux/ros/contexts/failsafe_context already exists
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/lxc_contexts => /etc/selinux/ros/contexts/lxc_contexts already exists
[            ] init:debug: Copying folder /etc/selinux/ros/policy
[            ] init:debug: Not copying /usr/etc/selinux/ros/policy/policy.29 => /etc/selinux/ros/policy/policy.29 already exists
[            ] init:debug: Not copying /usr/etc/selinux/ros/seusers => /etc/selinux/ros/seusers already exists
[            ] init:debug: Copying folder /etc/selinux/ros/policy
[            ] init:debug: Not copying /usr/etc/selinux/ros/policy/policy.29 => /etc/selinux/ros/policy/policy.29 already exists
[            ] init:debug: Copying folder /etc/selinux/ros/contexts
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/failsafe_context => /etc/selinux/ros/contexts/failsafe_context already exists
[            ] init:debug: Not copying /usr/etc/selinux/ros/contexts/lxc_contexts => /etc/selinux/ros/contexts/lxc_contexts already exists
[            ] init:debug: Resolve.conf == [], <nil>
[            ] init:debug: Launching Docker /usr/bin/system-dockerd system-dockerd [--restart=false --userland-proxy=false --storage-driver overlay --group root --bridge none --graph /var/lib/recovery-docker --host unix:///var/run/system-docker.sock]
[            ] init:info: [1/2] Starting loadImages
[            ] init:debug: Looking for images at /usr/share/ros
[            ] init:debug: Found images.tar
[            ] init:info: Waiting for Docker at unix:///var/run/system-docker.sock
[            ] init:info: Waiting for Docker at unix:///var/run/system-docker.sock
[            ] init:info: Waiting for Docker at unix:///var/run/system-docker.sock

Sorry, I can't help you right now, and now I don't have time to support this big feature.
However, our plan is to start working on the arm server support at the end of December.

Is there a way to get more debug information especially from the start of system-dockerd ?

@Siddius You can try this
https://github.com/rancher/os/blob/master/pkg/init/docker/docker.go#L10-L19
func Start(cfg *config.CloudConfig) (chan interface{}, error) {
	launchConfig, args := GetLaunchConfig(cfg, &cfg.Rancher.BootstrapDocker)
	launchConfig.Fork = true
	launchConfig.LogFile = ""
	launchConfig.NoLog = true // remove this line

You should build it on a real ARM host, just run make is ok.

I built it with noLog off and it complained about overlay module being absent. I changed .config in the root of my linux source directory, set CONFIG_OVERLAY_FS=y and compiled again.
After that it got further but complained about not finding modules.dep. I fixed that by running depmod on the modules directory I had compiled as well.
Now system-docker starts and I get some kernel panics but it seems to boot. I get ros-sysinit:info: RancherOS a840016-dirty started but no command prompt.
It is however unrelated to this issue.


Use proper mesh triangulation for large polygons

e.g. https://speckle.xyz/streams/4a8fd0c6b6/commits/067bf723b1

Temp solution: reducing to 5000 vertices https://speckle.xyz/streams/4a8fd0c6b6/commits/ac1cf59921
or to 150 (if with holes): https://speckle.xyz/streams/4a8fd0c6b6/commits/97a0d70499

e.g. scipy.spatial
https://sgillies.net/2012/10/13/the-fading-shape-of-alpha.html

https://github.com/specklesystems/speckle-qgis/commit/cce70c38126cf318144c91bef26f4b6455bd69ba


Return an struct, not a pointer

There's no need to return a new pointer for every clone created. Since the library exports an interface, it's possible to return a single struct value, reducing allocation

Premature optimization


Program for launching common rke2/k3s cluster configurations.

There has been a request to create a "simple" script that can deploy common k3s cluster configurations.
Goals:

Make it really, really easy for developers to test on common k3s/rke2 cluster configurations
Use existing E2E tests so if more advanced options are needed, developers can find them.
Enable developers to bring over their locally built k3s executable for PR testing.

This has been completed by https://github.com/rancher/ecm-distro-tools/pull/116


stage all container images when enabled instead of at startup.

Can you elaborate?

The request is that when we enable a service, they want any images in the service to be downloaded during enabling versus waiting until we reboot.
@ibuildthecloud please let me know if the elaboration is incorrect.

Another option would be to run the new service on enable. But this could be
controlled by a parameter. Say, with --stage just download the images and
start everything on reboot. Without the option, start right away.
On Fri, May 1, 2015, 23:16 Denise<EMAIL_ADDRESS>wrote:

The request is that when we enable a service, they want any images in the
service to be downloaded during enabling versus waiting until we reboot.
@ibuildthecloud https://github.com/ibuildthecloud please let me know if
the elaboration is incorrect.
—
Reply to this email directly or view it on GitHub
https://github.com/rancherio/os/issues/259#issuecomment-98193812.

I think what @imikushin said may be better.  We might be able to just do a "project up" after saving the configuration.

Verified in v0.4.4-rc2.
Please note that if you are still booting from an iso, if you enable a service, your image might take up the entire RAM and not be able to pull the image. You would need to install to disk before attempting.


SQL injections

Ajax.php file contains quite a lot of places, where SQL injections possible. I don't recommend to use this example to no one

Yes, queries need to be properly escaped.
In the current demo it is not mandatory because user's entered data is never shown to other users.
To do: Update this repo with proper escapes so that it can be used in any kind of production environments.

Yes, SQL queries need to be properly prepared if using this code without the PHP framework that has security built in. Also queries need to be escaped to protect the client side from XSS injections.
To do: Secure the SQL queries.

Code is now protected from SQL injections and XSS attacks. Commit: 1aeb20a


Support ESLint 7.x

ESLint v7.0.0 is released 🎉
devDependencies should be compatible with ESLint 7 too before we can merge this one:

[x] eslint-plugin-flowtype

[x]  PR
[x]  Release

[x] eslint-plugin-import

[x]  PR + commit
[x]  Release

[x] eslint-plugin-jsx-a11y

[x]  PR
[x]  Release

[x] eslint-plugin-react

[x]  PR
[x]  Release

[x] eslint-plugin-react-hooks

[x]  PR 1
[x] PR 2
[x]  Release

BREAKING CHANGE: Requires<EMAIL_ADDRESS>|| 12.x
BREAKING CHANGE: Requires<EMAIL_ADDRESS>Closes #8977

Looks like the last blocker was just released :tada:
https://www.npmjs.com/package/eslint-plugin-jsx-a11y

@ianschmitz I've updated all versions in eslint-config-react-app to the ones that started supporting ESLint 7 and did an update to the latest release on all other packages, so I think this one can be merged now 🙂

Thanks for the work, any plan to release a new CRA version?

@yyfearth 4.0 progress can be tracked on https://github.com/facebook/create-react-app/milestone/69

Thanks a lot for this PR. Any plan to release react-scripts I really need to get a hotfix coming from eslint-plugin-import.


Certifi.io broken

http://certifi.io/ -> https://certifiio.readthedocs.io/

Hey @nicktimko, thanks for this! Would you mind rebasing this onto the current master branch?


The extension chnages the url of the webpage

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
TYPO3:

Version [e.g. 22]
Other extensions loaded

Additional context
Add any other context about the problem here.

The Extension is working perfectly, but on clicking on the aacordion-title the url of the page changes.
Here is the Element in use: https://www.oc-erlangen.de/knieendoprothetik#c1977
On clicking on any Element in the accordion the url changes for example to https://www.oc-erlangen.de/#accordion-1977-1
It should actually sax https://www.oc-erlangen.de/knieendoprothetik#accordion-1977-1
Am I missing something in the configuration?? Or is this a bug? How can I change this error??

@netfrei
I'm sorry, I can't reproduce this, neither with hh_accordion 0.6.0 nor with 0.6.1 (TYPO3 12).
Can you give us more information about your config? For example also the siteconfig?


x/telemetry/internal/counter: TestRepeatedNew persistently failing on GOOS=wasip1 GOARCH=wasm GOWASIRUNTIME=wasmtime

From https://build.golang.org/log/8e4e0ca514d9b97b6031241988af5dde617870c9:
2023/06/23 12:28:59 neither $XDG_CONFIG_HOME nor $HOME are defined
--- FAIL: TestRepeatedNew (0.00s)
    counter_test.go:126: GOOS wasip1 GARCH wasm
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x0 addr=0x0 pc=0x0]

goroutine 8 [running]:
testing.tRunner.func1.2({0x1f840, 0x1e3870})
	/workdir/go/src/testing/testing.go:1545 +0x1b
testing.tRunner.func1()
	/workdir/go/src/testing/testing.go:1548 +0x37
panic({0x1f840, 0x1e3870})
	/workdir/go/src/runtime/panic.go:914 +0x2c
golang.org/x/telemetry/internal/counter.close(0x144e280)
	/workdir/gopath/src/golang.org/x/telemetry/internal/counter/counter_test.go:73 +0x8
golang.org/x/telemetry/internal/counter.TestRepeatedNew(0x1401380)
	/workdir/gopath/src/golang.org/x/telemetry/internal/counter/counter_test.go:139 +0x12
testing.tRunner(0x1401380, 0x4ba70)
	/workdir/go/src/testing/testing.go:1595 +0xc
created by testing.(*T).Run in goroutine 1
	/workdir/go/src/testing/testing.go:1648 +0x47
FAIL	golang.org/x/telemetry/internal/counter	2.970s

Notably, this isn't happening on the wazero builder, it's passing.
CC @golang/wasm.

cl/505580 made all tests skip on GOOS=wasip1. The build dashboard shows ok now.
x/telemetry is meant to be used by go tools like go commands and gopls. Currently we don't have a plan to support running these tools there yet.


Reading Neopixel data

Well, I know this is a bit offtopic but since the code of the neopixel class looks so gorgeous I thought I might just give it a try:
I'm desperately looking for a way to read the first 3 RGBW pixels (3x 32 bit) of a Neopixel datastream with the pico using micropython and PIO. I'd love to use the data to drive stepper motors.
Could someone give me a hint if this is even possible?
Thanks a lot in advance :-)

Hello.
This library offers reading of any pixel value using get_pixel function, where you can specify the index. Would that work for you case?

Not in my case unfortunately cause the Neopixel signal is not generated inside the pico but comes in via a GPIO pin.
My idea was to have one state machine look out for the neopixels reset code of the data line being low for 80 microseconds and triggering a second state machine to measure the length of the PIN HIGH condition and send the measured time (in clock cycles) to the main core that saves the first 3x 32 bit in an array for further processing.
But all 96 bits that I need to catch arrive in just 115 microseconds. After that there is plenty of time to process them: 30 milliseconds until it all starts over again.
The second core would then be used to run threads that care of sending the steps to the A4988 stepper driver..
It's a lot of work but in the end it would open up so many possibilities! See here what I'd love to move:
https://github.com/orgs/micropython/discussions/11873

I see.
How come that you can't control the stepper driver by the same controller that sends the signal to leds?
Anyway, I'm not sure I can help you much with implementation of this, but from what I see, you want sort of a signal analyzer?
There is one blog about this, the code is in C though, but can be of some help.

Thanks for the link!
I can't control the stepper driver by the same controller that sends the signal to leds cause it would be too far away from where the motors would need to be.
The installation is around 3m in diameter and the led driver might be another 10m away while beeing busy pumping out thousands of pixels.
My naive idea was to just embed the necessary data for the motors as 3 additional RGBW pixels in the data stream.
But since that's likely too tricky to get them back out I'll need a second cable connection for the motor unit that uses DMX instead. Next to the pixel data there will be a DMX line for classic fixtures anyway.
But the less cables the better...
Do you have an idea where I might find someone who could be interested in providing such a function to the community?
There is so much stuff that could be done with pixel data...

Okay, I understand this thing now. I think that it's certainly possible, but quite tricky to use neopixel protocol for that. I don't really know who could provide this function, but wish you all the best with the project. It looks quite interesting.

thanks!


 Why the plus button in the online demo page not working?

Why I can't click the buttons of Grid, Interactive markers, Occupancy grid and so on under the plus button in the online demo page?

This may be solved once the component's new version including #27 is published.


Add support for Mission and MissionList gql messages

This is more challenging as it requires query parameters.  As we are manually creating the queries, need to determine how to reactively bind/programatically set the query parameters.


Unable to install AL Object Designer on relatively fresh VS Code installation

Hi Developers,
unfortunately I am unable to install the extension via VS Code.
I ran VS Code with elevated privileges as well.
Of course I tried searching the error message, though I don't find it quite helpful.
[2021-03-04 15:28:33.466] [renderer1] [error] EPERM: operation not permitted, rename 'c:\Users\mzw\.vscode\extensions\.martonsagi.al-object-designer-0.2.4' -> 'c:\Users\mzw\.vscode\extensions\martonsagi.al-object-designer-0.2.4': EPERM: EPERM: operation not permitted, rename 'c:\Users\mzw\.vscode\extensions\.martonsagi.al-object-designer-0.2.4' -> 'c:\Users\mzw\.vscode\extensions\martonsagi.al-object-designer-0.2.4'
    at i.rename (file:///C:/Users/mzw/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:49:13840)
    at async i.extractUserExtension (file:///C:/Users/mzw/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:49:11591)
    at async N.extractAndInstall (file:///C:/Users/mzw/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:49:27552)
    at async N.doInstallFromGallery (file:///C:/Users/mzw/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:49:24060)

Would love to hear from you
Malte

Can you check if you can manually create the following folder:
c:\Users\mzw\.vscode\extensions\.martonsagi.al-object-designer-0.2.4
and then manually rename it to:
c:\Users\mzw\.vscode\extensions\martonsagi.al-object-designer-0.2.4

Hi @dannoe,
I was able to install it after I installed the AL Extension Pack by waldo. Maybe there are some dependencies?
Thanks
Malte


Rework Kernel.sleep

Make it spec compliant (except for the Thread stuff), and make the code a bit more generic. This last part should help with #1287.

Fun fact: the method returns the actual amount of time slept, floored down to seconds. MRI returns 1 about half the time I try sleep(0.6), Natalie has a stable return value of 0. So I guess we're more accurate in sleeping than MRI is :partying_face:


Add config value for which plugins to load

What problem does this feature solve?
When using a global package.json file in a mono-repository setup it might contain vue cli plugins that shouldn't be loaded for every project.
Right now the only way to work around this is to have a project local package.json file that specifies a subset of plugins to load. This can be confusing as a project should not be installable on its own.
What does the proposed API look like?
Add a flag to vue-cli-service that allows to specify a subset of discovered plugins to load:
vue-cli-service -p ssr --plugin babel

Can you expand a bit more on how you think this should work? From the description so far, I only have a rough, incomplete picture.

But a typical monorepo do have project local package.jsons…

A typical monorepo using Bazel does not have a project local package.json. Bazel best practice is to just have one set of definitions of all your dependencies in your monorepo. And then Bazel ensures to provide only the right dependencies to the right app.
@LinusBorg on which part would you need more information? If I provide --plugin babel I would expect vue-cli not to look for any package.json file but just try and load @vue/cli-plugin-babel using standard node require mechanisms.


Unemployed Villager not accepting Hydraulic Engineer profession.

Workstation was changed to the item drain a bit ago! Hope you were able to figure that out for yourself.


@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

update vtk to latest

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/smesh-feedstock#23.


Allow sending body within PUT/POST requests

Currently, it's not possible to send a body when performing a PUT/POST request using the requestResource function. This is something that the Fitbit API needs for some requests.

Closed by #9470e68369dda26e5e52942149afb5cbfdabb9df


angular-xeditable dead? alternative?

Hello,
seems there has been no reaction by the author for one year. Is this hub dead?
What is a good alternative to xeditable?

@Akeru: the main thread on reviving maintenance of x-editable is at https://github.com/vitalets/x-editable/issues/610

@eugef I think this can be closed.


Make GTScript Frontend output GTIR

Description
This makes the gtscript frontend directly output gtir, and removes definition IR from everywhere except the frontend itself, which still writes definition IR internally before converting to gtir.

Make gtir contain all the info (sources, externals, api_signature) that definition ir contains.
Remove all references to definition ir except those inside the gtscript frontend.
Moved several Python extension generation classes into gt4py/backend/gtc_backend/base.py to isolate gtc_backend from legacy modules in gt4py.backend, since these will be removed in the next step.

Part of #566.
Resolves #501.
Blocked by #671.

bors try

bors try-
bors try

bors try


Occasionally runs into UnicodeDecodeError, chia crashed

Describe the bug
 log
Traceback (most recent call last):
  File "/home/ubuntu/chia-blockchain/venv/bin/plotman", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/plotman.py", line 145, in main
    wait_reason = manager.maybe_start_new_plot(cfg.directories, cfg.scheduling, cfg.plotting)
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/manager.py", line 76, in maybe_start_new_plot    jobs = job.Job.get_running_jobs(dir_cfg.log)
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/job.py", line 154, in get_running_jobs
    job = Job(
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/job.py", line 223, in __init__
    self.init_from_logfile()
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/job.py", line 267, in init_from_logfile
    self.update_from_logfile()
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/job.py", line 270, in update_from_logfile
    self.set_phase_from_logfile()
  File "/home/ubuntu/chia-blockchain/venv/lib/python3.8/site-packages/plotman/job.py", line 283, in set_phase_from_logfile
    for line in f:
  File "/usr/lib/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 468: invalid start byte

The relevant chia process crashed (during phase 3) as well. Not sure if chia crashed before plotman or the other way. Note: the chiapos being used wasn't a genuine version which might crash.
To Reproduce
No efficient way was found to reproduce, happened only 3 times in 2 days among 7 machines.
Expected behavior
plotman is not expected to be more robust when handling such problems. (e.g. chia process killed unexpectedly, can't decode log, etc)
System setup:

OS: Ubuntu 20.04

Config
 full configuration
user_interface:
        use_stty_size: True

directories:
        log: /chia-logs/
        tmp:
                - /data/plots
        dst:
                - /data/plots

# Plotting scheduling parameters
scheduling:
        tmpdir_stagger_phase_major: 2
        tmpdir_stagger_phase_minor: 1
        # Optional: default is 1
        tmpdir_stagger_phase_limit: 1

        # Don't run more than this many jobs at a time on a single temp dir.
        tmpdir_max_jobs: 3

        # Don't run more than this many jobs at a time in total.
        global_max_jobs: 3

        # Don't run any jobs (across all temp dirs) more often than this, in minutes.
        global_stagger_m: 70

        # How often the daemon wakes to consider starting a new plot job, in seconds.
        polling_time_s: 600

plotting:
        k: 32
        e: False             # Use -e plotting option
        n_threads: 8         # Threads per job
        n_buckets: 128       # Number of buckets to split data into
        job_buffer: 4096     # Per job memory
        # If specified, pass through to the -f and -p options.  See CLI reference.
        farmer_pk: [REDACTED]
        pool_pk: [REDACTED]

Possibly just don't crash it but ignore it when the log is unreadable 😄

Yeah, plotman not crashing out would be a good thing.  I did a simple thing in https://github.com/ericaltendorf/plotman/pull/748.  I'll mull it over and see if I think it's actually good.


Adding back py34

Coverage remained the same at 97.522% when pulling a8cc6eb83613f78d095a5b53a09f27ce3b23e842 on adding_back_py34 into d4c0b32c9fea85165da0a3d57bcfacc6f0137cb2 on master.


Number of fields in CSV file not being counted correctly

Describe the bug
We have CSVs files with header rows that looks like this:
#time(s)       , elapsed_time(hr), enc1(rad), enc2(rad), enc3(rad), enc4(rad), pot1(rad), pot2(rad), pot3(rad), pot4(rad), tcase1(C), tcase2(C), tcase3(C), tcase4(C), trotor1(C), trotor2(C), trotor3(C), trotor4(C), tgrapple(C), cur1(mA), cur2(mA), cur3(mA), cur4(mA), volt1(V), volt2(V), volt3(V), volt4(V), stat  , tool  , x_enc(m), y_enc(m), z_enc(m), th_enc(m), x_pot(m), y_pot(m), z_pot(m), th_pot(m), x_enc_defl(m), y_enc_defl(m), z_enc_defl(m), th_enc_defl(m), x_pot_defl(m), y_pot_defl(m), z_pot_defl(m), th_pot_defl(m), v1(rad/s), v2(rad/s), v3(rad/s), v4(rad/s), tau1(N-m), tau2(N-m), tau3(N-m), tau4(N-m), Fr(N)      , Ft(N)      , Fz(N)      , htr_cur(mA), grapple_phase

Manual inspection, reading the file into standard Python libraries, and our data source all tell us that there are 58 fields. However validate counts 57 fields. If I remove the extra spaces from this row, validate counts 55 fields. If we remove the # at the beginning of the line, it still counts 57 fields.
To Reproduce
Steps to reproduce the behavior:

Open the attached zip which contains the CSV file and its PDS4 label.
examples.zip
Run validate 1.15.3 or 1.15.0 on the attached label.
See error

Expected behavior
The error is not thrown because validate counts 58 fields in the CSV file.
Version of Software Used
1.15.3, 1.15.0
Screenshots

Desktop (please complete the following information):

OS: Occured on Fedora 7.3 and OSX 10.14

@aywaldron looking at this now.
btw, after running with the latest SNAPSHOT of validate, I can tell you the "name" used in the Observing_System_Component for the InSight spacecraft is invalid. The context product for InSight says "InSight", but your label says "InSight Lander". Either the context product or your label should be updated accordingly (note: this is a new feature being added to validate with this next build).

@aywaldron the error is in the offset specified in the label. current offset is set to 700 but this pushes validate to start in the next row, missing the first field. this should really be set to 678. when I change those values, it works like a charm :-)
    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">678</object_length>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
      <description>Column headings</description>
    </Header>
    <Table_Delimited>
      <local_identifier>TABLE</local_identifier>
      <offset unit="byte">678</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <records>147</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>

That being said, we do need a "error message decoder ring" so folks know how to debug these error messages.  I will update our docs and the code to direct people to it now.

Thanks @jordanpadams ! I will make this change and re-try.

Closing per #97 for documentation updates


correctly specify user redirect state

Missed in the upgrade to oidc-client-ts - user-defined state must be passed as a state property to signinRedirect rather than as the first argument itself.

I'll take a look at the unit tests and see if I can test this there - but I have integration tests pending on another branch which will absolutely cover this.


Write container logs before cluster exits

What remains is to log the containers inside the Mesos container (docker-in-docker). Expose the inner Docker daemon port, try to connect and iterate through all executor containers and write their logs to a file.


Application error with unknown api node parameter

Describe the bug
An application error occurs when opening a link like https://explorer.stacks.co/blocks?chain=testnet&api=https://2-1-api.testnet.hiro.so and the network defined in the api parameter is unknown
To Reproduce
Steps to reproduce the behavior:

Go to https://explorer.stacks.co/blocks?chain=testnet&api=https://2-1-api.testnet.hiro.so
See error

Expected behavior
Add the api node to the list of networks, inform the user that a new network was added
Console Ouput
TypeError: c.C(...) is undefined
    m client.ts:96
    W use-search.ts:21
    K use-search.ts:87
    ut search-box.tsx:40
    React 10
    unstable_runWithPriority scheduler.production.min.js:18
    React 6
    ie index.js:467
    ie index.js:603
    e index.js:621
    s runtime.js:45
    _invoke runtime.js:274
    t runtime.js:97
    r _async_to_generator.js:23
    u _async_to_generator.js:12
    Z _async_to_generator.js:17
    Z _async_to_generator.js:9
    ce index.js:639
    ue index.js:612
    e index.js:751
    s runtime.js:45
    _invoke runtime.js:274
    t runtime.js:97
    r _async_to_generator.js:23
    u _async_to_generator.js:12
instrument.js:109:45

Can you help us with another example to troubleshoot it?

The key information is that "the network defined in the api parameter is unknown"


ssd-resnet34 1200x1200 | onnx: TypeError: only size-1 arrays can be converted to Python scalars

Hi all, I am running object detection as ./run_and_time.sh onnxruntime ssd-resnet34 cpu and getting the below errors:
2019-06-26 23:45:06.441716307 [W:onnxruntime:Default, execution_frame.cc:291 AllocateMLValueTensorSelfOwnBufferHelper] For mlvalue with index: 677, block in memory pattern size is: 4608 but the actually size is: 3008, fall back to default allocation behavior
2019-06-26 23:45:06.442116932 [W:onnxruntime:Default, execution_frame.cc:291 AllocateMLValueTensorSelfOwnBufferHelper] For mlvalue with index: 678, block in memory pattern size is: 4608 but the actually size is: 3008, fall back to default allocation behavior
2019-06-26 23:45:06.442507447 [W:onnxruntime:Default, execution_frame.cc:291 AllocateMLValueTensorSelfOwnBufferHelper] For mlvalue with index: 679, block in memory pattern size is: 2304 but the actually size is: 1536, fall back to default allocation behavior
Traceback (most recent call last):
  File "python/main.py", line 527, in <module>
    main()
  File "python/main.py", line 509, in main
    post_proc.finalize(result_dict, ds, output_dir=os.path.dirname(args.output))
  File "/mlperf/python/coco.py", line 173, in finalize
    image_id = int(detection[0])
TypeError: only size-1 arrays can be converted to Python scalars

should be fixed.


Tweak teleop for omptimized wheel-power control

Considered using

[ ] range clipping
[ ] a denominator (or multiplier)
[ ] compare Mark II. (basic mecanum) and Mark III.

Mark III. uses sin, cos, and max with some other fancy math to theoretically optimize

Weights added to frame. doesn't seem to be an issue


Direct URLs show Not Found on Netlify

If you try going to a URL directly it won't load, but if you navigate to it, it'll work fine.
For example: https://new.protect.earth/tags/land-owner
Can somebody who knows how Netlify and Vue interact take a swing at fixing this for the v2 MVP launch?

Can close this issue


Settings tab elements not ready yet?

🐛 Bug Report

[ ] 📁 I've Included a ZIP file containing my librephotos log files
[ x] ❌ I have looked for similar issues (including closed ones)
[ ] 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

📝 Description of issue:
Tapping on "sync all images", "remove backed up images",  "reset local images" does nothing
Tapping on  "server" pops up an "not implemented" message
Tapping on "debug logging" toggle does nothing
Tapping on "log out" and "dark mode" works fine
🔁 How can we reproduce it:
Head to settings tab and try the options there
Please provide additional information:

💻 Operating system:
Android 13,12,11

"sync all images", "remove backed up images", "reset local images" only work if you can see local images. Changing the baseurl for the server is not yet implemented For debugging logging, see https://github.com/LibrePhotos/librephotos-mobile#enable-file-logging


actual problems / Help !

--- Logging error ---
Traceback (most recent call last):
File "C:\Program Files\Python36-32\lib\logging_init_.py", line 989, in emit
stream.write(msg)
File "C:\Program Files\Python36-32\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f525' in position 55: character maps to
Call stack:
File "", line 1, in
File "C:\Program Files\Python36-32\lib\idlelib\run.py", line 142, in main
ret = method(*args, **kwargs)
File "C:\Program Files\Python36-32\lib\idlelib\run.py", line 460, in runcode
exec(code, self.locals)
File "D:\LuckyBot-master\LuckyBot-master\src\luckyBot.py", line 290, in
main()
File "D:\LuckyBot-master\LuckyBot-master\src\luckyBot.py", line 272, in main
newContestTweets = getContestTweets()
File "D:\LuckyBot-master\LuckyBot-master\src\luckyBot.py", line 160, in getContestTweets
logger.info("Added following tweet to list: " + tweet_text)
Unable to print the message and arguments - possible formatting error.
Use the traceback above to help find the error.
the bot works but pulls those errors and ends up pausing only

please, edit your post and format it well using code button. or post a github/gist link to the code.

This is an error with the encoding used by your logger rather than an issue with Tweepy.
Note, the default encoding for open that logging.FileHandler and its variants use to open the relevant file is platform dependent.
One of the Tweets you're processing is using characters that the encoding you're using, CP-1252, doesn't support.
This should easily be resolved by using UTF-8 instead.
For code block usage, see https://help.github.com/articles/creating-and-highlighting-code-blocks/.


Add scipy.linalg.rsf2csf

This adds scipy.linalg.rsf2csf.
I followed the SciPy implementation as closely as I could, although operations such as
T[m-1:m+1, m-1:] = G @ T[m-1:m+1, m-1:]

(where m is variable) were quite fiddly to recreate in lax primitives (though what I have seems to work). Perhaps there's a more idiomatic Jax way I've missed?
For the tests, arrays of shape (50, 50) and larger, I had to set tol=1e-05 to get passing tests. I wasn't 100% sure about how to mimic the dtype promotion that the SciPy implementation uses or how to maximise precision over larger numbers of loop iterations, so please let me know if I should look at improving the PR in this area too.

It looks like there are some test failures:
______________ ScipyLinalgTest.testRsf2csf_shape=float64[100,100] ______________
[gw27] linux -- Python 3.7.13 /usr/bin/python3.7
tests/linalg_test.py:1407: in testRsf2csf
    args_maker, tol=tol)
E   UnboundLocalError: local variable 'tol' referenced before assignment

etc.

@hawkinsp: is there anything further that I can do to help get this PR merged?
I noticed that SciPy handled the (1, 1) shape case which my earlier JAX implementation didn't, so I've added the check
  if N == 1:
    return T, Z

and an additional test case to cover this.

Thanks for the PR!


Fix supplier view of submissions

#113766617
Before this change the supplier view of their submissions (the lot selection page) does not make a lot of sense after the framework is no longer open. In the case of Digital Outcomes and Specialists the lot titles were things like 'Apply for Digital Specialists' and link through to add a service of that type. This doesn't make sense after the framework is no longer open for submissions.
This is a bit of a hack but it solving it more correctly does not seem like a priority right now.
Before

After
Here labs isn't shown because the user didn't create any draft services for it.

:+1:


Calculate and verify hashes in BootstrapDataResponse

This proto message contains various fields in which a hash is calculated. These are not currently populated and are not verified by the client.

Will start working on this. ;)

Verifying images has done, still need more clarification on the hash password logic.


Enable Coverall integration

Proposed Changes
Enable Coveralls integration for coverage instrumentation.
Testing
Once merged the coverage metrics will be published https://coveralls.io/github/Microsoft/botbuilder-tools

@JuanAr  The build isn't passing with this PR. Can you take a look?

@justinwilaby  you are correct! I'm taking care of aggregating all coveralls in a single report on another branch/PR. It seemed that some tests relied on relative path for accessing some files and changing to the root's package.json generated errors. I'll tackle both issues in a single PR based on this one (already merged to master)
Thanks for your feedback!


Paket pack skips files

Description
Starting from 5.0.0-rc009 paket skips duplicate files from the package being created.
Repro steps

Create a Test.template file like this:

type file
id Paket.Test
version 1.0.0
description Paket Test
authors NK
files
    File1.txt ==> tools\Dir1
    File1.txt ==> tools\Dir2

Run .\paket.exe pack output . templatefile .\Test.template

Expected behavior
The resulting package should contain both directories with File1.txt in each of them.
A real-life scenario is when a package contains multiple applications sharing some common libraries.
Actual behavior
The resulting package only contains Dir1.

Known workarounds
None.

I tried to fix it in 5.1.2 but @konste you need to test as well since the relatred bug I fixed for you introduced this issue. So my fix was wrong (tbf it was a shot in the dark) and I'm not sure if now everything is well.

5.1.3 already underway with yet another fix

I will test when 5.1.3 is out.

we're already on 5.1.4
2017-06-19 19:14 GMT+02:00 Konstantin Erman<EMAIL_ADDRESS>
I will test when 5.1.3 is out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2445#issuecomment-309506410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNHeOyI9N1fJezO41QJrxhy2JaL4Iks5sFqyEgaJpZM4N-Z1X
.

Gosh... you are too fast for me! Ok, will test now.

PaketPackRepro3.zip
Attached repro shows that simple bin\Release ==> Tools\ causes EXE and PDB duplication (in the same folder!). At the same time adding  !bin\Release\*.exe causes both copies of EXE to disappear.
Before jumping on fixing it we need to spend a little time designing what the desired behavior should be and how to make it predictable. Most confusion is coming from the fact that list of files to copy is coming from two sources - dependencies Paket found and explicit list in files section. But negative clauses in the files section affect both sources. Let me think for a few minutes...

That's what I feared. The problem is that for some reason we can't detect that the target is the same. We can definitely detect that the source is the same. But that causes trouble

It almost feels like two sources of files should be independent. First source - dependencies and primary output of the current project is one thing - it should go to the output regardless. Files section should work within itself - it adds some files, then may be exclude some files, but exclusion should only affect what it added!
This way primary output will always go where it belongs and if somebody (like me) wants to take everything else he can add bin\Release ==> Tools\ and !bin\Release\*.exe to add everything but EXE.

@konste in any case we are not allowed to add two files into same folder inside zip. but that is what is happening. trying  to fix it

It may sound drastic, but how about we change the logic of taking primary output only to taking everything   in the output folder?

doesn't fix the root cause here. maybe it would fix your issue ;-)

For class libraries it would not change anything - they only have DLL and PDB in the output folder. And for other types of projects it really makes sense to take everything as they probably cannot run without the rest of the files anyway.

The problem with the "files" section is that there is no way to tell which part of the project output is primary output and dependencies and which is everything else. It is impossible to author "files" section properly without knowledge what is already included by default. So the algorithm looks like this:

Calculate the copy list from primary output and dependencies;
Calculate second copy list from the "files" section;
Merge the lists removing duplicates comparing target path!

This way whatever curious user writes to the "files" section he or she would only get single instance of all files in each ZIP folder.

see the issue is casing as I expected. Tools vs. tools.
so it can't dedupe it.

Make comparison case insensitive - what's the problem?

other OSes ;-) but yes I guess we need to do that for win.

ok. so I think both are resolved now


Does the generator support oneOf

I have a requirement where the Json Schema needs to have a choice element.
Is this use case supported? Can it seralize and de-serialize the objects under one-of?

No, not supported in afraid.


Test we.retail with AEM in nosamplecontent mode

We should also test the we.retail code that it runs in an AEM instance in nosamplecontent runmode (https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/configure-runmodes.html#Using samplecontent and nosamplecontent )
A quick test shows - that the we.retail homepage throws an exception.
GET /content/we-retail/language-masters/en.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "getPath" of null (/apps/we-retail/components/content/product-grid/item/item.js#88)

The error you mentioned does not relate to the nosamplecontent run mode. However I've discovered that in nosamplecontent run mode the jQuery version that We.Retail provides cannot be correctly minified by YUI 2.4.8, shipped with AEM 6.2. This is caused by yui/yuicompressor#234.
The solution that I found for now is to downgrade jQuery to 1.12.4, which doesn't use ECMAScript 5+ features.

@raducotescu the YUI issue was supposed to be fixed by #103. any thoughts why that didn't work and downgrading was necessary?

The problem was caused by the base client library [1], which embeds jQuery. It seems that embedded client libraries are concatenated in a writer and only then minified. We can either live with the jQuery downgrade (I didn't notice any issues regarding how components render) or try to apply the GCC processor for all We.Retail client libraries. However I think that the downgrade is the simplest way to move forward.
[1] - https://github.com/Adobe-Marketing-Cloud/aem-sample-we-retail/blob/master/ui.apps/src/main/content/jcr_root/etc/designs/we-retail/clientlib-base/.content.xml


Simply convert README to org-mode format.

How about change plain format README to org-mode format, so github looks better and more comfortable.

What about just adding -*- mode: org -*- to the top of README?

good idea @alezost. i just followed your advice and thinks look good. closing!

Wow, it looks awesome in github README page right know.


Add GPID to documentation

This is in reference to our addition of GPID support in

prebid.js (prebid/Prebid.js#7089)
prebid-server (prebid/prebid-server#1925)

Going to close this as it sounds like there is actually no need to add documentation for GPID support.


Fix typo in editor.md

In the "Auto-size an Editor" section, the link to the EditorAutoSizeOption enum was missing the 'r' in Editor

@lee-m : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Portal bug occurs when authConfig's platform property is not specified

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
Deployment succeeds when not specifying platform in a container app's auth config. This causes a portal bug.
Steps to reproduce

Create a container app (through bicep)
Do not specify the platform configuration
Deployment should succeed
In portal, go to container app > settings > authentication. There will be a notification telling you to enable authentication on the container app, along with a call to action button. Clicking this will trigger an infinite deployment, opening developer console reveals that it can't find the platform attribute.

Expected behavior [What you expected to happen.]
An error should be thrown during deployment or at portal if platform is not required property.
Actual behavior [What actually happened.]
Portal does not expect platform attribute to not be present and causes error. Re-deploying with platform property solves issue
Screenshots

Additional context
bicep used, notice the .properties.platform in comment of the authConfig child resource:
resource paperBackend 'Microsoft.App/containerapps@2023-05-02-preview' = {
  name: '${appName}-server'
  location: location
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    managedEnvironmentId: cappEnvironment.id
    configuration: {
      secrets: [
        {
          name: 'google-client-secret'
          value: googleClientSecret
        }
      ]
      ingress: {
        external: true
        targetPort: 5000
        transport: 'Http'
        traffic: [
          {
            weight: 100
            latestRevision: true
          }
        ]
      }
    }

    template: {
      containers: [
        {
          image: 'robbelouwet/paper-backend:latest'
          name: 'backend-container'
          env: [
            {
              name: 'ST_ACC_CONN_STRING'
              value: connString
            }
            {
              name: 'ST_ACC_RG'
              value: resourceGroup().name
            }
            {
              name: 'CAPP_ENV_NAME'
              value: cappEnvironment.name
            }
            {
              name: 'ST_ACC_NAME'
              value: storageName
            }
          ]
          resources: {
            cpu: json('0.5')
            memory: '1Gi'
          }
          probes: []
        }
      ]
      scale: {
        minReplicas: 0
        maxReplicas: 1
      }
    }
  }
  resource auth 'authConfigs@2023-05-01' = {
    name: 'current'
    properties: {
      globalValidation: {
        unauthenticatedClientAction: 'Return401'
      }
      // platform: {
      //   enabled: true
      // }
      identityProviders: {
        google: {
          enabled: true
          registration: {
            clientId: googleClientId
            clientSecretSettingName: 'google-client-secret'
          }
        }
      }
    }
  }
  dependsOn: [ cappEnvironment ]
}

Thanks for reporting. We're investigating this. (internal bug # 26777500)


Support for mise (previously known as rtx)

Currently, setup-beam supports asdf's .tool-versions file.
A similar tool that is increasing in popularity is mise, previously known as rtx but recently renamed because of the naming conflict with NVIDIA's RTX graphics cards.
mise uses a .mise.toml file which fulfils a similar role to .tool-versions.  Here's an example of what one looks like:
[env]
_.file = '.env'
KERL_BUILD_DOCS="yes"

[tools]
elixir = "1.16.0-otp-26"
erlang = "26.2.1"

I'm happy to write a PR to support mise, but wanted to check in with the maintainers to see that it would be a valuable and accepted contribution first.

👋
Back when we introduced support for .tool-versions our goal was already to try and prepare for future files, which is why you specify version-file - hoping one version file has a given known format, too - like the one you mention.
A pull request to support the [tools] section of that file is welcome 🎉 - within the implemented restrictions (e.g. one version per tool, for example). It does require, though, that we don't break existing consumers, so we need to add a version-file-type input, with asdf being the default (and in case it's not specified we warn about, using GHA's appropriate functions, but don't error out).
So:

change is welcome
it has to be backward compatible
add version-file-type: asdf | mise (asdf being the default)
if version-file-type is not specified we warn about it, so consumers can "fix" their input
update doc. too

I don't mind reviewing a draft pull request to get you going, or continuing the discussion here before you move to it. 👍

Detail: unlike .tool-versions, TOML is a "known" config. format, so it's probably best to look at using an existing JS parser instead of doing it like we did 😄

Thanks @paulo-ferraz-oliveira!  The one question I was going to ask was whether to hand-roll the parsing or using a toml library, and you've already answered it 🚀
I'll give it a bash over the next few days.

Related pull request was closed as state. This issue will be too. If there's further interest we can think about continuing the pull request or re-opening this.


HELP: Get citrus ftpserver files with LIST command

Hi!
I have a citrus ftpClient that connects to a citrus ftpServer (both defined in citrus context):
    ftpClient.getFtpClient().connect(ftpHostname, Integer.valueOf(ftpPort));
    ftpClient.getFtpClient().login(ftpUsername, ftpPassword);
    ftpClient.send(new FtpMessage(FTPCmd.EPRT, "|1|<IP_ADDRESS>|22|"), context);
    ftpClient.send(new FtpMessage(FTPCmd.CWD, ftpDir), context);
    ftpClient.send(new FtpMessage(FTPCmd.LIST, null), context);
    Message response = ftpClient.receive(context);

Here, the connection is successful. and the reply is; SENT: 150 File status okay; about to open data connection.
In the citrus console, i see the files that are in the server, but they are not in the response Message object; where can i find the list?
Thanks in advanced,
Antonela

Ftp client responses are cached and queued so you are actually receiving the response for the first send operation. Please add a receive after each send operation to make sure that no queued responses are on the ftp client component.

Thanks for your answer!
I'm facing this problem now: i'm trying to wait for a FTP file using the following commands:
 final String finalPath = path;
 waitFor().condition(new Condition() {
            @Override
            public String getName () {
                return "Check file uploaded to FTP";
            }

            @Override
            public boolean isSatisfied (TestContext testContext){
                return new File(finalPath).listFiles().length != 0;
            }

            @Override
            public String getSuccessMessage (TestContext testContext){
                return "Files found in FTP!";
            }

            @Override
            public String getErrorMessage (TestContext testContext){
                return "No file was found in FTP";
            }
        }).seconds(seconds).interval(INTERVAL);

And then, i want to connect FTP client to the server and list the files. Citrus is running this in incorrect order: first it tries to connect FTP client and then waits for the file.
How can i resolve this order problem?

FTP client and server have been reimplemented in order to make things more straight forward. Please review the new FTP support and open/reopen a new issue when things are not working out for you.
http://citrusframework.org/citrus/reference/html/index.html#ftp


.navbar-xs .navbar-sm .nav-bar-md for change height of this

Hello, it's possible to make a simple css method for change the height of nav-bar ? Thanks.
Sorry for my english ^^

Use media queries to change height of it based on screen size. Generally though personal support request should be on stack overflow with Twitter-bootstrap-3 tag

My request is for webdesign for office. To have a set menu above (for example) less high than the header .

And still, you should direct your question (about how to customise bootstrap to achieve a specific additional effect or look) to a place such as Stack Overflow. Discussions here are primarily about bugs and detailed feature requests directly relating to core Bootstrap itself.


Support for Visual Studio 2010

Hi all,
I have been trying to use matplotlib-cpp on Windows with VS 2010 but have not been successful. Is it supported at all? Do you have experiences with that?
Best
Klemens

Could you please give a complete description of your system?

Windows Version
VS Version
Python Version
Path Variables

Many thanks
Klemens

My system is Ubuntu 16.04.1 w/ python2.7, I don't use either Windows or Visual Studio. I know other people have used it on windows, but I know nothing about their setup. You probably want to look into the contrib/ folder.


Enable overriding the backend url to enable standalone mode

This PR enables running api gateway with standalone server (apache/incubator-openwhisk#4571).
It also fixes current broken build by updating the opm version
Implementation Details
Api Gateway uses the backend url as computed by makeWebActionBackendUrl in createApi call. This backend url is based on url passed by wsk api command
{"apidoc":{"namespace":"_","gatewayBasePath":"/hello","gatewayPath":"/world","gatewayMethod":"GET","id":"API:_:/hello","action":{"name":"hello","namespace":"_","backendMethod":"GET","backendUrl":"http://localhost:3233/api/v1/web/_/default/hello.http","authkey":"23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP"}}}

With standalone case this url becomes http://localhost:3233 and is used as is by api gateway routing logic. So to enable this flow to work the backendRouting logic now exposes a env variable BACKEND_HOST. If this variable is found to be set then it supersedes the backend url as specified in createApi call

@mrutkows @dgrove-oss The build is failing due to scancode issue reporting lots of trailing whitespace in code from downloaded lua modules. Anyway to fix scancode logic to exclude those files?

@chetanmeh -- we can reorder travis to do the scancode before it installs lua.   Do the scancode in preinstall stage.   Do you want to do it as part of this PR, or do you want me to do a separate PR just for that?

@dgrove-oss Please review the travis and build related changes once

@chetanmeh can you write some tests for this? we need to make sure that this doesn't break production use cases. I'm assuming it does not, but there are no test assertions proving that.

a visual inspection shows all the changes are guarded by if backendOverride ~= nil then whose value is derived from a new environment variable, making this low risk in general.
of course, adding tests ensures this new feature isn't broken in the future.

Positive and negative tests are both needed (proving that both cases work as intended).
While I agree that the code looks correct, I've been bitten plenty of times by code that looked fine visually, but had some nasty side-effect nobody noticed.

@mhamann Added few tests in #350. Please review


python310Packages.pyskyqremote: 0.3.22 -> 0.3.23

Diff: https://github.com/RogerSelwyn/skyq_remote/compare/refs/tags/0.3.22...0.3.23
Changelog: https://github.com/RogerSelwyn/skyq_remote/releases/tag/0.3.23
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 208334 run on x86_64-linux 1

2 packages built:

python310Packages.pyskyqremote
python39Packages.pyskyqremote


Fixed AnimationTrackEditor redraw/deselect timing and some refactoring

Fixed some weird redraw timings and most of errors by key editing.
https://user-images.githubusercontent.com/61938263/187112062-332008a8-6e8d-40a1-b3d8-b8864e319c0f.mp4
In some edit commands, deselection and redraw were missing, causing errors in Undo/Redo during key selection. Also, there were many duplicates of the code for redraw, so it is refactored by making it a function.

Additional fixes:
Follow up #64678, track key times are stored as double values, but if it store double value directly, the baked animation key finding was failing because Animation::track_find_key() comparisons are too strict. Fixed it by making baked keys in real_t time.[^1]
Some little fixes such as following up #64951 (renamed internal variables to more appropriate).
[^1]: Also, it seems to be that the glTF animation times are baked as real_t in GLTFDocument::_serialize_animations(). If you want to store double values directly, we need to use Math::is_equal_approx() in Animation::track_find_key()

Thanks!


How to prevent clearing data in registration form in rails 4

All data cleared, If one of sign up entry is wrong. Any solution to prevent this?

Any idea please

@melsatar the easiest approach for this can be use of client side validations to check for validations like http://jqueryvalidation.org/ for this.

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.


Multiple nested RTCViews in demo app

I just created an new app with the cli but when I inspect the view I see multiple RTCViews. Is this normal behaviour?

Yes, each View produces an RCTView.

But in the demo app that was created there is only 1 view with several text components. Perhaps it is now compiling properly and the actual app running is a different one that was precompiled.

The two extra views are created here: https://github.com/facebook/react-native/blob/master/Libraries/ReactIOS/renderApplication.ios.js#L52. I just verified with a new sample app and see three views as expected.


Import num-traits dependency as no-std

I'm fairly new to the cargo/crate system, so this may be a misunderstanding on my part, but I think there is an issue w/the num-traits dependence import. When used in an embedded arm (thumb) context, it fails to compile (with an error related to std).
I was able to fix this with a local branch by changing the dependency to look like:
num-traits = {version = "0.2.14", default-features=false}

You're totally right.
I must have overlooked this somehow, added it after testing with microcontroller perhaps?!
If you like, you can submit a fix, else I'll do it when I get back home :)

@brandon-powell thanks for reporting! Fixed.


Screen transition problem

On Mac OS, when you switch to Mosaic theme on right-click action and click on Info icon on the right top Navigation bar, the screen of 2 section is not cleared and overlapped.

Thanks, I will fix it.

Since we removed the settings from the context menu this should not be an issue anymore.
Please try our new beta.
More Information here: https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458
If you still have problems, please open a new issue


[21.05] nvidia_x11_beta: 456.27 -> 495.29.05

Motivation for this change
Backport beta bumps to nvidia drivers. Should allow for new gbm backend.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

21.05 is now EOL


Not fully output all reference transcripts with annotation file

Hi,I'm using stringtie to quantify reference transcripts expression with annotation file(UCSC GTF).However,only ~26000 reference transcripts were output(total 99900).I guess,it may be the influence of -c parameter.Confusingly,when I reset "-c 0.0",there is an error "Segmentation fault (core dumped)";when I reset "-c 0.1",there is no any error,but output transcripts remain ~26000,nearly euqal compared to "-c 2.5". I want to obtain all reference transcripts expression values(although 0),can you tell me how to do that using stringtie?and,why presented above  confusing results when adjusted -c parameter?
Thank you very much
Charlin

Sorry, StringTie was devised to report only transcripts that could be assembled from the given evidence (read alignments) - i.e. "expressed" transcripts only. As opposed to Cufflinks, the -G mode does not skip the transcript assembly step just to perform expression estimation for the given transcripts. StringTie always tries to assemble the given read alignments into transcripts (sometimes with the help/guidance of the reference annotation) and only if the resulting assemblies match the reference transcripts it will make a note of that in the output (reference_id attribute).
You are correct about the bug we have in the code for "-c 0.0" option - we should've checked that the value given is always >0.0 and prevent the crash. A value of 0 is actually not allowed for this option.
Even so, the -c option is not doing what you wanted and it's only applied as an initial pre-assembly filter during the bundle coverage assessment (i.e. when overlapping reads are grouped together in genomic regions before assembly). StringTie cannot assemble reads (reliably) if the ratio between the (covered) region length and the number of reads is too high (i.e. coverage too low). The default of 2.5 is quite loose, and by lowering that value one would only force StringTie into processing a few more sparse bundles formed by potentially spurious read alignments.. (which may also come from transcripts with expression so low that they could be practically considered "not expressed").

Thanks,I see.But,I feel confused about another parameter for "-m" option,given explanation(Sets the minimum length allowed for the predicted transcripts. Default: 200) seems ambiguous.I feel that simply means assembed transcripts are greater  than or equal 200 in length.If so,some reference transcripts are seemly ignored and falsly give expression values with 0 in output t_data.ctab file.When I tried to set "-m 1" with annotation file,I found it is not apparently different in numbers for transcripts in output gtf file.Whether that means assembly with annotation file ignored this option compared to de novo assembly or this option don't influence assembly with annotation file and only limited in de novo assembly？However,accoding to your above reply, this option seems have an influence on assembly whatever any condition,yet our trial don't markedly confirm this expectation,why?If so, output t_data.ctab file included all reference transcipts seem falsly gave 0 as expression value for those ignored transcripts?And,why set this option for transcriptome assembly,it is seemly not very meaningful for obtaining all transcripts included those short RNAs?
Thanks a lot again

-m is indeed filtering the output to eliminate short assembled transcripts which might have been assembled from spurious read mappings; stringtie is targeting longer, complex transcripts that are usually hard to assemble from regular RNA-Seq data, instead of short RNAs (e.g. microRNAs) which are sequenced using a different protocol and are usually analyzed using simpler methods.
When -G and -B options are used, some short (potential) transcript assemblies will be quickly filtered out due to their length being shorter than -m value so the corresponding reference transcripts will appear as "not assembled", thus their expression values in t_data.ctab will be set to 0. This might be factually incorrect but it is a (possibly unwanted) consequence of applying such a length filter to the assembly procedure. I will lower that limit a bit (which could also be set by the user, but should never be lower than read length), but we cannot eliminate it completely, as it does serve the purpose of filtering out isolated, likely incorrect read mappings.

For samples that are low-coverage (such as single-cells), is it advised to instead use Cufflinks over Stringtie? The data I'm working with unfortunately also has short reads (25bp).

Sorry, but we did not test StringTie nor Cufflinks on single-cell data.


Dot active window

Add a dot at the right top of the task manager to know which window is active.

I made focus window recognizable.