dcraw: 9.27.0 -> 9.28.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/dcraw/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0/bin/dcraw had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 9.28.0 with grep in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0
directory tree listing: https://gist.github.com/6f620f3965b3cc4522f8f02eaf1115da
du listing: https://gist.github.com/835f683cdb46fe5ac50f063aeb7d0226

meta.description for dcraw is: '"Decoder for many camera raw picture formats"'.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 80fed289fb93c5cd7c218a081d000e73feb81b1c && nix-shell --pure -I nixpkgs=. -p dcraw

Success on x86_64-linux (full log)
Attempted: dcraw
Partial log (click to expand)
make: Nothing to be done for 'install'.
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0
shrinking /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0/bin/dcraw
gzipping man pages under /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0/share/man/
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0/bin
patching script interpreter paths in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0
checking for references to /build in /nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0...
/nix/store/i7qixx7ll7p7hamiq04sjn73v2f58fjj-dcraw-9.28.0

Success on x86_64-darwin (full log)
Attempted: dcraw
Partial log (click to expand)
install: line 27: iconv: command not found
installing
install flags: install
make: Nothing to be done for 'install'.
post-installation fixup
gzipping man pages under /nix/store/qdbyhmc0bhk7ndswf085kbzbmaz3j0wd-dcraw-9.28.0/share/man/
strip is /nix/store/yyak5sjv68n9vdgnkd2cb5djk1l9sqj5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/qdbyhmc0bhk7ndswf085kbzbmaz3j0wd-dcraw-9.28.0/bin
patching script interpreter paths in /nix/store/qdbyhmc0bhk7ndswf085kbzbmaz3j0wd-dcraw-9.28.0
/nix/store/qdbyhmc0bhk7ndswf085kbzbmaz3j0wd-dcraw-9.28.0

Success on aarch64-linux (full log)
Attempted: dcraw
Partial log (click to expand)
make: Nothing to be done for 'install'.
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0
shrinking /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0/bin/dcraw
gzipping man pages under /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0/share/man/
strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0/bin
patching script interpreter paths in /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0
checking for references to /build in /nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0...
/nix/store/gvnmxqrw8lsimsaf57p7zdlxy7haj81v-dcraw-9.28.0


Not Able To Install Lexer

I found this module useful and tried to install it but then got this error:- ( I installed in via yarn, command - yarn add lexer )

yarn add v1.6.0
(node:4055) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info No lockfile found.
[1/4] Resolving packages...
warning lexer ><EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "~v0.4.11".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Please help solve this problem.

This seems to be a problem with yarn. Try yarn --ignore-engines or update your version of node.


Fields of type array render empty HTML documentation

Steps to reproduce

Create a simple AsycnAPI specification with a field of type array:

asyncapi: '2.0.0-rc1'
id: 'urn:hello-world-app'
info:
  title: Hello world application
  version: '0.1.0'
channels:
  hello:
    subscribe:
      message:
        payload:
          type: array
          items:
            type: string
            pattern: '^hello .+$'

Generate HTML documentation from this spec

docker run --rm -it -v $PWD:/app -w /app asyncapi/generator ag hello.yaml html

Expected result
The HTML documentation is generated correctly, showing the new field.
Actual result
The HTML page generated is as good as empty (no error in the terminal during generation):
null

Markdown generation does seem to work with array properties (although the representation could be more clear).

I see it was closed at #110, but it still doesn't work for me.

Sorry, forgot to push Docker image. It's now on Docker Hub. Let me know if it works.


Remove obsolete code

heap->pages_free_medium no longer exists.

Thanks so much! I applied it directly as dev diverged so much. Thanks again


hydra_unstable: 2024-03-08 -> 2024-07-09, modernize, nix 2.22

Description of changes
Updates hydra to the latest greatest version,
which supports nix 2.22 and contains various small fixes and improvements.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/
[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Diff: https://github.com/NixOS/hydra/compare/8f56209bd6f3b9ec53d50a23812a800dee7a1969...d7986226f0666d5aa0032fdcdb9f38eef6a91dd3

@ofborg test hydra

For reference:
Failure executing slapadd -F /build/yath-3457-SGFBje/tmp/UcRXsv/KLfkPBTHfz/slap.d -b dc=example -l /build/yath-3457-SGFBje/tmp/UcRXsv/KLfkPBTHfz/load.ldif.
( STDERR )  job 28    c-enabled. ...)
( STDERR )  job 28            STDOUT:
( STDERR )  job 28            d. ...)
( STDERR )  job 28    c-enabled. ...)
( STDERR )  job 28            STDERR:
( STDERR )  job 28            timeout
( STDERR )  job 28    c-enabled. ...)
(  DIAG  )  job 28    Seeded srand with seed '20240723' from local date.
( FAILED )  job 28    Hydra/Controller/User/ldap.t
< REASON >  job 28    Test script returned error (Err: 4)
< REASON >  job 28    No plan was declared, and no assertions were made.

Wonder if we should disable that too or if there's an easy way to fix it.

Maybe next time.


include support for wasm backend

include support for wasm backend

implemented via https://github.com/vladmandic/human/commit/b4cccc3c76716c84db593134ea073cf5ab2b1e2e


Demo site navigation not working.

Noticed that clicking on the side menu items does not direct to the page.
I had to manually modify the address to see the other pages.
Firefox 39.0:   Not working
IE 11:              Not working
Chrome 44.x:  Working

Hi @Bodom78
Thank you for the bug report!
It now works on Firefox
Can you let me know if it works on IE11? I only have Edge here and the developer tools emulation are not working

I can confirm that it's working in Firefox now.
IE11 menu now works but noticed a couple more issues.
The alert and toast buttons do not work.
Vertical alignment of menu items not centered.
Here is an image which shows the styling issue and the console error when clicking on the alert button.

Hmm it seems like an upstream issue (Angular Material) with IE11..
Can you visit the following and let me know if they work for you:
Toast: https://material.angularjs.org/latest/#/demo/material.components.toast
Dialog: https://material.angularjs.org/latest/#/demo/material.components.dialog
List: https://material.angularjs.org/latest/#/demo/material.components.list

Toast, Dialog and List demos all worked fine in IE11 on the Angular Material site with the 0.10.0 release.

Okay, I'm looking into it!

Since I have updated to Windows 10, it's impossible to install IE11 or even enable it in Developer Tools Emulation.
Would you be able to help me a bit on this? I have a few ideas in mind that I wanted to try.

Can you try replacing  with  in sidebar.html inside md-list-item and see if it works on IE11?

Can you try removing the "use strict"; from landing.js and check if toasts and dialogs work..

Thanks!

I'll have to try on Monday on my work PC.
On my laptop I've tried for about 5 hours to install the npm dependencies but they always fail with varying errors that I just cannot resolve.

Okay thanks!
You can try clearing NPM's cache. This has worked several times for me when I was faced with random errors

Clearing the NPM cache was something I tried. It fixed the tar errors but now I have a heap of new ones that look like they are releated to the elixir npm dependencies.
What version of Node and NPM are you using? I will try the same on my machine.

hmm I'm not sure if that would be related..
$ node -v
v0.12.2
$ npm -v
2.7.4

OK, I just set the site up on my wamp and worked on the already compiled files for the sake of testing.
Removing use strict from the landing module did not work. The error is actually coming from the vendor.js so I did a find and replace to remove all instances of it.
This did stop the error however the alert and toast buttons still no not work. No new errors show up.
What did you want replaced in sidebar.html?, the instructions in your post looks like it's missing from the first part.

Hi @Bodom78, thanks a lot for helping on this issue. I'm going to create a new issue specifically for the sidebar and we'll keep this for the toast and dialog.js. I don't have an update on the toast and dialogs yet but I'm working on a new service for toasts and dialogs.

So now everything is working on Firefox.. we still have the IE11 issue for taosts and dialogs

It turned out to be an issue in Angular Material #3943
So this should work now.. Let me know!

Nice, I can confirm alerts and toasts are now working in IE11.


[CT-497] rpc silently rounds numeric results >16 digits

Describe the bug
The rpc server stores numeric results in exponential notation to the precision of 16 decimals. That has the effect of silently rounding large numbers (>16 digits).
Steps To Reproduce
Type the following into the dbt Cloud IDE:
select<PHONE_NUMBER>1111111 as id

Or send the following RPC request:
{
    "jsonrpc": "2.0",
    "method": "run_sql",
    "id": "2db9a2fe-9a39-41ef-828c-25e04dd6b07d",
    "params": {
        "timeout": 60,
        "sql": "c2VsZWN0IDExMTExMTExMTExMTExMTExMSBhcyBpZAo=",
        "name": "return_int17"
    }
}

And see the result:
...
                "raw_sql": "select<PHONE_NUMBER>1111111 as id\n",
                "compiled_sql": "select<PHONE_NUMBER>1111111 as id\n",
...
                "table": {
                    "column_names": [
                        "id"
                    ],
                    "rows": [
                        [
                            1.1111111111111112e+16
                        ]
                    ]
                }
...

Expected behavior
I did not expect my integer to be rounded. At the very least, I expected a clearer warning that it was happening.
System information
I believe this is database-agnostic.
The output of dbt --version:
$ dbt --version
installed version: 0.18.1
   latest version: 0.18.1

This came up again recently. I still don't think we have a simple path toward working around this, given the JSON type conversions that are so deeply baked into how dbt-rpc works, but it's at least worth removing stale for now.

@jtcohen6 Where else did this come up so we can reference it?

@iknox-fa TRIAGE-54 in Jira

Per team discussions thee isn't a "good" way to do this that doesn't involve an extremely high engineering lift.  Closing ticket.


Event Handler Inside Motion Tag Is Getting Ignored

Hi, everyone!
I'm trying to re-create a sliding menu using React Motion. You can see my non-working example here: http://codepen.io/kirupa/pen/BQVzvQ (click on the blue circle to display the menu or to hide it)
Here is my problem. The menu should disappear when you click anywhere inside of the yellow region. A working non-ReactMotion example is here: https://www.kirupa.com/html5/examples/slidingmenu.htm
Getting back to React. For whatever reason, my event handler attached to the menu element inside the Motion tag is getting ignored. The relevant snippet looks as follows:
      <Motion style={
        {
          x: spring(this.state.visible ? 0 : -100)
        }
      }>
        {
          function({x}) {
            return (

Home

About

Contact

Search

            );
          }
        }
      </Motion>

Notice the onMouseDown={this.handleMouseDown}. This is the same event attached to the blue circle that displays (and hides) the menu when you click, and that works fine.
What am I doing wrong here? This seems like I'm doing something obviously wrong, but I can't quite figure out what it is.
Thanks,
Kirupa

If somebody has an example where DOM events inside the Motion tag work, that might help me work backwards and see where I am making a mistake :-)

Your problem is a 'this' scoping issue.  Use var self = this; ... self.handleMouseDown. Or better yet, use a lambda function.


add a slot to customize email helper text

Description
Allow overriding the helper text on the email field using a slot, if needed. This allows partners using advanced functionality (show-email="true" and event handlers to facilitate signing up users to their own email list) to customize the email label so it explains what's going on. This could be used in conjunction with customizing the footer as well to further clarify which terms and privacy policy apply.
This is a prototype - seeking feedback to see if this makes sense to others, pending legal input on the approach as well.
Test Plan
I'm running yarn cypress:open and inspecting that the calculator looks reasonable when the last of the new email tests runs. The preview build for this PR should be unchanged from production.
This is a screenshot from the Cypress test:

This is the only approach that immediately comes to mind for me, and it seems generally OK on a technical level.
One potential wrinkle is styling. The way styles apply to a slotted element are very confusing to me, but I tried it out and found that if you put e.g. a link in this slot, it gets a mix of styling from outer and shadow DOMs. The text-xsm etc. Tailwind classes apply, but also the link is blue and underlined as it is in the default user-agent styles — meaning the Tailwind preflight that de-styles <a> tags is not in effect. I don't know what the logic here is, but the point is it could be confusing and/or strange-looking.
I'm not sure what we should tell clients to do, given all that. Maybe we don't need to worry about it until we know what we expect clients to put in there?

Maybe we don't need to worry about it until we know what we expect clients to put in there?

I think we probably should have a minimally supported set of expected markup that goes in here. It seems reasonable to limit it to text with links.
It looks like CSS ::slotted pseudo selector would allow the shadow DOM’s styles to apply to the slot contents provided by the parent document. I think? https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted
Tailwind doesn’t seem to support this pseudoselector out of the box but I think we can add the necessary styles and use Tailwind’s @apply to make the content the same as our other helper text sections. Will try to find a few mins to take a look.

We are clear from a legal perspective to proceed with this approach. If we're comfortable with this as an undocumented "API" for modifying the helper text in the form, I think it's safe to merge. Shifted out of Draft mode for final review @oyamauchi


Aggregation of WRF variables

@matthiasdemuzere ,
thank you for providing the updated version of w2w and the related README.
However, an important part is missing in the README, in my opinion:
we should cite somewhere that the new tool uses the aggregation method, i.e. it takes an average value of geometrical parameters for each cell, starting from the 100-m WUDAPT map. That's a large improvement actually since the previous W2W by Oscar and Alberto took the majority value. I try to add it to the README

I slightly rephrased your section; I believe this is fine now. Thanks!


More factory methods in the CompletionStageFactory

CompletableFuture class has static factory methods like completedFuture, runAsync and supplyAsync which are handy in case you need create a fresh new CompletionStage instance.
Would be nice to have similar method in the CompletionStageFactory class.

Thanks a lot for the pull request. I have taken the liberty to refactor it a bit. (See commit 87760bf46f0f7db6a4437200836415967e284a12). If you have no objections, I will release it.

The methods accepting an executor as argument use the passed executor as default executor in the constructed completion stage.
From my experience, it is common to use the *async methods accepting an executor to specify the thread of execution. For example, it can be an executor submitting the execution to UI thread. Or it can be a single threaded executor used to serialize access to some state.
On the other hand i use the *async methods which use the default executor in case i don't really care which thread is used to execute my code. That is, i prefer to specify some thread-pool executor as default.
More to add. The *async methods accepting an executor don't use the executor used to configure the factory.
That is, I prefer the *async method won't use the passed executor as default:
Executor defaultExecutor = Executors.newCachedThreadPool();
CompletionStage stage = new CompletionStageFactory(defaultExecutor).supplyAsync(() -> "test", Runnable::run);

I see your point. If I underestand you correctly, you want to keep the default executor as, well, the default executor. Can you please check this commit d48bfa2e9a02a368c0b18f4bc766938a23ff78e2 if that's what you meant? Thanks a lot for the feedback.

Yes, this looks fine.
Thanks!


Fixing assertion while creating exception on error condition.

We are setting exception when the runtime already has exception. In that case instead of creating a new
exception we will use the same exception.

fixing #6007

@MikeHolman @pleath @wyrichte  this should be quick review.


WIP: Update to include NC state facts

Issue

https://app.clickup.com/t/3xkt5hd

TODO

[x] Load statewide census data
[ ] Set last reported stop date during import

Local testing

Download and import latest acs-2018.json file:

python manage.py import_census

Visit http://localhost:8000/admin/nc/agency/-1/change/ fill in 0400000US37 for the Census Profile ID. Add Last Reported Stop if empty.

View the state dashboard: http://localhost:8000/agencies/-1

Task linked: CU-3xkt6ny The description on State Wide graphs wrongly indicates data is for a specific department.


Block edge 4.4.32

4.4.32 needs to be disabled:
2 clusters currently failing (15%),  2 gone (15%),and  8 successful (62%), out of 13 who attempted the update over 7d
Currently failing classification:
* Down nodes: 1
* Logging issues: 1
* Node pressure: 1
* SDN issue: 1
* Untriaged: 1

4.4.32 needs to be disabled:
4 clusters currently failing (18%),  4 gone (18%),and 14 successful (64%), out of 22 who attempted the update over 7d
Currently failing classification:
* Down nodes: 4
* Logging issues: 1
* SDN issue: 4
* Version retarget: 1

4.4.32 needs to be disabled:
4 clusters currently failing (18%),  4 gone (18%),and 14 successful (64%), out of 22 who attempted the update over 7d
Currently failing classification:
* Down nodes: 4
* Logging issues: 1
* SDN issue: 4
* Version retarget: 1

4.4.32 can be enabled again:
2 clusters currently failing ( 8%),  4 gone (15%),and 17 successful (65%), out of 26 who attempted the update over 7d
Currently failing classification:
* Down nodes: 2
* Logging issues: 1
* SDN issue: 2
* Version retarget: 1

4.4.32 can be enabled again:
2 clusters currently failing ( 8%),  4 gone (15%),and 17 successful (65%), out of 26 who attempted the update over 7d
Currently failing classification:
* Down nodes: 2
* Logging issues: 1
* SDN issue: 2
* Version retarget: 1


Nav bar increased height

On my 1440 x 900 pixels monitor the menu items in the new nav bar wrap into two lines so that the bar take much more space on the screen:
OLD:

CURRENT:

Is there any chance to get this back into one line?

We have additional elements on the right, which at some point will start wrapping. However, that should not be happening already at 1440 pixels width.
You can remove the #navbar-icon-links{ margin-left: ...} CSS

and see if that already helps.
However, I have the feeling that something else is strange with your layout. Even with wrapping, the matplotlib logo should still be very much on the left.

hm, I tested it on another computer with Windows 10 where I changed the resolution to 1440 x 900 and it indeed looks fine:
Firefox:

Edge:

It obviously depends on the available fonts: on Linux the capital E of "Examples"  is 11 pixels high whereas on Window it's only 10 pixels high. Do you happend to have any advise on how I can fix it (I know this is not a matplotlib issue but maybe you could offhand quickly point me to the right direction)?

On my 14" screen with the window 3/4 wide:

I can confirm that the reason for the issue are the different fonts - it's the only difference in the font properties of the nav bar text:
Windows (no wrapping):

Linux (wrapping):

As a workaround I created a userContent.css file in the <profile>/chrome folder with the following contents
@-moz-document domain(matplotlib.org) {
    #navbar-main-elements .nav-link { font-size: 14px !important; }
}

and set toolkit.legacyUserProfileCustomizations.stylesheets to true.
It feels a bit hacky but it works fine.

It doesn't wrap for me on Linux; it appears to pick Liberation Sans instead. Maybe installing that would be a simpler fix.

Is it possible to reduce the yellow extra space (see red arrow) between the logo and the nav bar links so that the links start a bit further to the left?

Obviously not so many users working with 1440 pixel resolution on a 14" screen anymore.

I don't think this is quite correct - my screen has dpi-doubling (retina), so the screen resolution is quite high (3024 x 1964) and that 3/4 screen image was 2,268 pixels, but the pixel doubling makes css respond as if it is 1,134 pixels.  I think this is very common, and we should look at ways to reduce the width of our top bar, or design expecting this wrap.
I could, of course, change the scaling on my display to make everything smaller, but what I use is the default.

@QuLogic Thank you! This works too (installed ttf-liberation and FF picks Liberation Sans that doesn't wrap at 15 px font size).

we should look at ways to reduce the width of our top bar, or design expecting this wrap.

Agreed.

Is it possible to reduce the yellow extra space

Possibly. However, this is introduced by pydata-sphinx-theme to align the nav element over the content, which makes sense to me on larger screens. So, this would have to adapt depending on the space.
As an alternative solution, I've propsed to move the version switcher next to the logo https://github.com/matplotlib/matplotlib/pull/23142, but that received mixed feedback.
The third option I could imagine is to turn the external links into a single  icon that opens a dropdown with all links. This would have to be responsive when the available size shrinks.
I don't think we want to limit or word-smith our regular nav elements just to become shorter.

I don't mind the wrap on the icons so much, but the wrap on the nav items is hard to read and seems unnecessary (if you shrink much more, the theme switches to remove the nav altogether).
Maybe we should just switch to the narrow screen theme at a wider size before the wrap happens.  However, the wrap is fontsize dependent - not sure how adaptive layout handles that.

Maybe we should just switch to the narrow screen theme at a wider size before the wrap happens. However, the wrap is fontsize dependent - not sure how adaptive layout handles that.

I assume that font size only has a weak effect on wrapping, i.e. can shift it by a few pixels. If we configure the adaptive layout to switch a few pixels earlier than strictly needed by the fonts we have, that should be good enough.

One top-nav issue I have is that Release Notes seems pretty niche.   I would think we are not unduly handicapping anyone by putting that under User docs.  I guess we could check the google stats and see how often this is hit directly.  But if I wanted our release notes I'd type that into a search engine before I'd navigate here.

I often browse to Release notes / Changelog pages to see when they released the last time, and what they changed. 🤷♂

If I edit --pst-font-family-base (in browser) to ask for DejaVu Sans, then the headings wrap regardless of window width. It's just metrically larger than everything else:

Perhaps the theme should explicitly request some of these fonts as well?

I often browse to Release notes / Changelog pages to see when they released the last time, and what they changed. 🤷♂

Sure, or consider rolling the plot styles, tutorials and examples in the user guide.  It feels like we have too many things at the top level nav.

The icons on the right appear relatively big in comparison to the menu text in the nav bar - maybe it would already be enough to make the icons a bit smaller like in numpy or scipy:
Matplotlib:

Numpy:

Scipy:

Could we try to put in for a small dev grant to do a real user study of the the website?

Maybe - but we can at least compare to what others do:
pandas

numpy

So, fewer social, and fewer top-level nav.

What about just shortening Release notes to releases?

Releases or Changelog are both fine by me.
That should fix the space problem for now.

Fixed by #51.


Search in DOM panel broken

STR:

Open the toolbox on www.google.com
Select the DOM panel
Type "URL" (no quotes)
Nothing is selected in the panel -> BUG

Honza

Might be related to issue #287
Honza

This was simpler than I thought...
Honza

Ahaha :)
Florent

$fixed firebug-3.0.0-alpha.8


FIX (FTI) model converter for lightGBM models

Description
Fix failure of FTI-model convertor. Performance or quality metric change isn't expected, since only the converter is changed. The CI failures are not related to the PR content.

PR completeness and readability

[x] I have reviewed my changes thoroughly before submitting this pull request.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
[x] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
[x] I have added a respective label(s) to PR if I have a permission for that.
[x] I have resolved any merge conflicts that might occur with the base branch.

Testing

[x] I have run it locally and tested the changes extensively.
[x] All CI jobs are green or I have provided justification why they aren't.
[x] I have extended testing suite if new functionality was introduced in this PR.

Performance

[x] I have measured performance for affected algorithms using scikit-learn_bench and provided at least summary table with measured data, if performance change is expected.
[x] I have provided justification why performance has changed or why changes are not expected.
[x] I have provided justification why quality metrics have changed or why changes are not expected.
[x] I have extended benchmarking suite and provided corresponding scikit-learn_bench PR if new measurable functionality was introduced in this PR.

/intelci: run

@razdoburdin I trust @ahuber21 on this one (don't know enough on it tbh)

@razdoburdin I trust @ahuber21 on this one (don't know enough on it tbh)

ok. I will merge it as far as tests will pass


fix generated oneof field can not compile with error TS2339 Property 'xxx' does not exist on type '{ oneofKind: undefined; }'

fix generated oneof field can not compile with error TS2339 Property 'xxx' does not exist on type '{ oneofKind: undefined; }'

Hey @comynli, thanks for the PR.
But I think you just have to set strictNullChecks : true in your tsconfig.json. Or simply set strict : true.
This will fix the TS2339.
For example, see this playground. (Based on msg-oneofs.proto.) Note there are no errors.
Then see this playground. strictNullChecks has been turned off in this playground. It has compilation errors.
Strict null checks must be enabled to use the one of representation, see the manual.
Please reopen if I missed anything.

@timostamm
Hey @timostamm thanks for your working.
Can you give some advice that how to integrate this plugin if 3rd lib need set strictNullChecks to false.
Thanks!

I would override the compiler settings with a local tsconfig.json file.
For example:
{
  "extends": "../tsconfig.json",
  "compilerOptions": {
    "strictNullChecks": true
  }
}

Put this tsconfig.json into the output directory of the generated code. And next to the typescript files where you manipulate oneof groups.
If you have a case where this does not work, you have to manually cast and type check. For example (using msg-oneofs.proto):
function getValue(message: OneofScalarMemberMessage): number | undefined {
    let g = message.result as unknown as UnknownOneofGroup;
    if (g.oneofKind === "value") {
        let val = g.value;
        assert(typeof val === "number");
        return val;
    }
    return undefined;
}

function setValue(message: OneofScalarMemberMessage, val: number): void {
    let g: UnknownOneofGroup = {
        oneofKind: "value",
        value: val
    };
    message.result = g as any;
}

You could also write a more generalized version using reflection.

Hi @timostamm
Thanks for your help, i can use oneof type now.


Data Schema for Uber Drivers' SARs

@emmanuel-hestia @pdehaye @wilderino
this  folder contains the results from the SAR of an Uber driver in Geneva. There are three main files (a pdf and two csv files), in addition to a record of the email conversation the driver had with Uber and the original ZIP file.
@wilderino Is the schema we would develop from this redundant with the driver2019 schema?
Also, here  is a link to the consent form we are providing drivers; it's limiting in what Hestia employees can do with raw data from SARs, but my understanding is that developing the schema is within the limits as long as you don't process the data.

Hello, thank you very much for the information. I am studying the files to see how they can integrate with our analysis tools. You input is most helpful, we appreciate it!
On Mon, 11 Jul 2022, at 10:46, Gilligan511 wrote:

@emmanuel-hestia https://github.com/emmanuel-hestia @pdehaye https://github.com/pdehaye
Hi Emmanuel, this  https://drive.infomaniak.com/app/drive/193995/files/173857 folder contains the results from the SAR of an Uber driver in Geneva. There are three main files (a pdf and two csv files), in addition to a record of the email conversation the driver had with Uber and the original ZIP file.
Are you able to use this to create a data schema of the Uber data (if you think this would be useful for hestia tools - thinking that in a near future we want drivers to analyze their data this way).
—
Reply to this email directly, view it on GitHub https://github.com/hestiaAI/data-catalog/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU33BROSX3TC2YVR6MQKRN3VTPNNLANCNFSM53GXFTAA.
You are receiving this because you were mentioned.Message ID: @.***>

@emmanuel-hestia @wilderino
Following up on the issue above - I am attempting to help an Uber driver who has provided us with the results from a Subject Access Request. He recovered the data on September 24, 2020, which I believe is the most up to date driver SAR we have so far (correct me if I am wrong).
When I upload the data zip file here here  for analysis with our tools, it does not work.
The tool is looking for the file names
"1 - Driver Detailed Device Data.csv"
"2 -  Rider Detailed Device Data.csv"
"Trip*.csv".
However, the September 2020 compressed folder received from Uber contains three files:
"Driver Detailed Device.csv"
"[DRIVER NAME] - SAR.pdf"
"Rider Detailed Device.csv"
The pdf file has information not in the other csvs, such as driver rating.
I tried renaming "Driver Detailed Device.csv" and "Rider Detailed Device.csv" to "1 - Driver Detailed Device Data.csv" and "2 -  Rider Detailed Device Data.csv". The experience displayed no results for "1 - Driver Detailed Device.csv" and the map and spreadsheet on the "2 - Rider Detailed Device.csv" tab appeared but the map seemed to be missing any plotted points. "Trip*.csv" was still an error message because it is not in the compressed file.
The uber sample data is based on 2019 or 2018, correct? Can we change the experience so that I can make it usable for the 2020 data?
Below are screenshots from my attempt to upload after I changed the names of the csv files:

Sorry, for that... I didn't know the format/name of the files and I had to do an experience with the sample data-set so it's "normal" that it doesn't work for new SAR requests.
For "Driver Detailed Device.csv" and "Rider Detailed Device.csv" it's weird it doesn't work after the renaming. Could you send me the names of the columns of the files ? For Driver Data could you do "Inspect Element"->"Console" and check if there is an error ?
For the PDF, we can't handle them for now (we have no ways to read the data from the PDF) so the Trips tab won't be usable...

Hello,
I see two CSV files:

'Driver Detailed Device.csv'
'Rider Detailed Device.csv'

The headers are:

'Driver Detailed Device.csv'
date,time,lat,lng,speed,horizontal_accuracy,gps_time,vertical_accuracy,os,os_version,model,language,version,carrier,imei_number,serial_number,carrier_mcc,carrier_mnc,ip_address,battery_level

'Rider Detailed Device.csv'
date,time,lat,lng,speed,horizontal_accuracy,gps_time,vertical_accuracy,os,os_version,model,language,version,carrier,imei_number,serial_number,carrier_mcc,carrier_mnc,pin_location_lat,pin_location_lng,ip_address,battery_level

Compared to what we used to have, the data schemes are as:
Driver                  Rider                   Form (?)
date                    date                    -
time                    time                    -
lat                       lat                       lat
lng                      lng                      lng
speed                 speed                 speed
horizontal_accuracy     horizontal_accuracy     horizontal_accuracy
gps_time              gps_time           -
vertical_accuracy       vertical_accuracy       vertical_accuracy
os                        os                      os
os_version          os_version         os_version
model                  model                model
language             language           language
version                version              version
carrier                 carrier                carrier
imei_number       imei_number     imei_number
serial_number     serial_number   serial_number
carrier_mcc         carrier_mcc       carrier_mcc
carrier_mnc         carrier_mnc       carrier_mnc

                      pin_location_lat        -

                      pin_location_lng        -

ip_address           ip_address        ip_address
battery_level        battery_level      battery_level

                  -                       app_name

                  -                       counter

                  -                       city_name

                  -                       city_name_id

                  -                       battery_status

                  -                       cpu_abi

                  -                       google_advertising_id

                  -                       google_play_services_status

                  -                       google_play_services_version

                  -                       id

                  -                       ios_advertiser_id

                  -                       manufacturer

                  -                       region_iso2

                  -                       rooted

                  -                       voiceover

                  -                       wifi_connected

                  -                       year_class

                  -                       driver_id

                  -                       driver_online

                  -                       driver_status

                  -                       trip_uuids

                  -                       surge

                  -                       trip_id

                  -                       enabled_user_notification_types

                  -                       epoch_ms

                  -                       last_user_action

                  -                       last_user_action_epoch_ms

                  -                       altitude

                  -                       course

                  -                       gps_time_ms

                  -                       session_id

                  -                       session_start_time_ms

                  -                       type

The experience for the 2 csv should be fixed (just need to redeploy the website). @fquellec is trying to see if we can read the pdf.

So we found a solution for the PDF but it's not perfect. In Excel we can import data from a PDF file. Once we imported the trips in the Excel we can convert it to a CSV file that can be used in experience (the name needs to be in the format Trips*.csv). If you want I can send you the CSV directly.

Hi all, hope you had a good holiday weekend.
Last week, Jessica and I sat down with the driver ho received the SAR mentioned above to look at their recovered data in https://digipower.academy/experience/uber-driver
There are two issues they identified.
The first is the most relevant to the Geneva workshop with drivers on Friday. The data in the pdf that became the "Trips.csv" file was returned from Uber without a unit, and it turns out Uber returned the distance for the rides in miles, not kilometers. The driver initially thought that the visualization and the displayed data on Digipower Academy was incorrect because the distance did not match the records in the app, which are in kilometers.
Things become a little complicated, because we have no way of knowing if the next files recovered by a driver from Uber will have distance in miles or kilometers.
I think the solution would be to have the "distance" column in the Trips tab have an option to convert miles to kilometers with this text displayed in a popup or something similar:
"If the distance you recovered from Uber does not match the distance recorded in your phone for any particular trip, it is possible that Uber returned your data in miles instead of kilometers. Click here to convert the data kilometers."
Right now, I don't think there is a better solution than to have drivers be able to manually check against the distance recorded in their apps, which is something that can be facilitated in workshops or done individually.
The second issue is that the timestamps in the "Trips.csv" have an hour added to them when displayed on Digipower Academy. The rest of the row from the csv is displayed correctly, so maybe this is a timezone issue?
Let me know if I can clarify anything.

Adding to this that I figured out the time difference varies sometimes 1 hr, and sometimes 2hr. So, it's probably the difference between Central European Time and Greenwitch.


Potentially entry duplication

The new storage allows for multiple entitries at the same time. While this is needed for medicine intakes, this causes bugs during import (entries get duplicated.
DB cleanup cann be extended with exact match deduplication.

closed in #365


Enable Homu for download.servo.org

r? @metajack @larsbergstrom
This also needs:

[x] Homu webhook configured
[x] Travis enabled for the repo
[ ] .travis.yml file for the repo

This change is

@bors-servo r+

:pushpin: Commit f6fe1db has been approved by larsbergstrom

:hourglass: Testing commit f6fe1db with merge a09ac2a...

:sunny: Test successful - status-travis

This didn't work quite right, see #580.


Create carpool wireframes for android

Currently we have workflow defined in functionality description and even some kind of the implementation of it, which could be presented as view states.
Please create wireframe containing following views:

landing page #45
new trip form
notifications view
"MatchedTrips" - #49 matching trip view (shown after rider gets notification) allows to request a trip
"RequestTrip" - #65
"ShowDrive" - where requests for drive could be accepted / rejected
"ShowPickup" - after trip is confirmed it should show where rider should approach (shows stop and driver on map)
"ShowItinerary" - shows trip with stops for a driver and all riders approaching to those stops

Consult @VaivaK for details on each view

Based on Tue discussion I have updated
https://github.com/vilnius/vilnius-carpool/wiki/Functional-view#wireframe
Vaiva please put comments here - is the picture according our agreements.
Later we will assign this task to Renat asking to draw missing pictures

Implement view as shown in

Hi everyone, Marijus - thank you for putting it together! My comments are below:

Login - can we add also G login? I know, it's an extra, but if it's not too complicated to develop i would go for it. I checked statistics so login with fb takes 46%, login with G 34%. Aim - make the login as fast as possible for most of our users.
Landing - a) we need to add "time" to the search part. b) (from rider perspective, in the offers part) add a button "to join the ride" directly here next to the ride information, for example instead of user icon or somewhere else. The aim - let person to request to join the ride without opening explicit information about it (view 2).
Landing + Your trips and other places that logical - we need to implement an icon showing that you are a driver in an easy way. We were discussing about something like simple little car sign next to information about the trip. It will help to easy divide weather the trip is from driver or rider perspective. Why do we need that? Cause 1 person may create several trips with different perspective and we want to give an opportunity to understand which perspective it is at a one glance to the information (specially on "Your trips" were it will show all your registered trips from one or both perspectives).
Edit trip (View 3) - if there is no matching trips for your request, you push a "+" to add trip. I would also call it "Add trip" instead of "Edit trip" as in the future it could mean different things. @spastai could you change that in your picture? It takes information automatically from the one was putten to the search but you may still edit it and save it. I would use "save" instead of "submit" for simple UX purpose cause people are more used to this word.
Language language. It's more a discussion then a comment. We kind of agreed on doing only one language (Lithuania) in the beginning, am i right @spastai @ArnoldasSid But i really hate Lithuanian expressions for "Save", "Login" etc, cause: 1. many young people are more used to english expressions then lithuanian 2. lithuanian ones usually takes more space, has more letters. What we can do about it? Would it crazy prolong to develop 2 languages?
Your trips (View 4) - as Marijus wrote - it's a list of your submitted (saved) trips from both perspectives - rider and driver (if you have both of them). Here the icon of "Driver" is most important :-) No user icons. But we need an additional icons for: a) driver perspective trip - icon (number or smth) that shows how many accepted passengers you already have. I would think of having one more icon for number of request to join your trip from riders, but i'm not sure if can make it nicely without making a mess. Maybe in the field were now we have user icons make 2 signs that indicates 2 messages - already accepted (busy seats) and pending requests. What do you think @RenatBuga @spastai @ArnoldasSid ?  b) from driver perspective i also see my trip duration (same as rider sees his trip, just there is no walking) and this number will change according to accepted requests from riders (we will add several minutes to the whole trip duration with every accepted request).
We have agreed if you an alert (request, new accept for your request etc the get the the number of alerts on a bell sign and the trip that alerts are connected with on "Your trips" list is bold (like unread email).
Matched trips View 5  - it's from rider perspective.  It's similar to landing page only i would add a button "to join the ride" directly here, for example instead of user icon or somewhere else. The aim - let person to request to join the ride without opening explicit information about it (view 2). Same change should apply for landing page.
Rider requests ride View 2 - all good except i would take out the From To part cause we have the information below.
View 6, 7 and 8 i leave for later. Let me know when you will be coming close to it ;-)

Sorry, few more comments:
11. Rider requests ride View 2 - there is also no + at the bottom.
12. my previous comment no 6, the part "I would think of having one more icon for number of request to join your trip from riders, but i'm not sure if can make it nicely without making a mess. Maybe in the field were now we have user icons make 2 signs that indicates 2 messages - already accepted (busy seats) and pending requests. What do you think @RenatBuga @spastai @ArnoldasSid ?" . Perfectly we would see "waiting for accept" and accepted numbers / icons from driver perspective.
13. My comments 8 - i made a mess. Sorry. There is 2 options how to do it and i would really like your opinion on it @RenatBuga purely from UX side. a) we can do that in "Your trips" you see unique trips list and then, pushed on one trip to go to that particular trip and there you see option of drivers (if there is more then one) that are matching with your request. And then you can request to join the ride directly in this screen or open explicit information and request from there. b)in "Your trips" you see not a unique trips, but list of same trip if there is different activity. I mean if i need a ride at 8 am form akropolis to europa it's a unique ride, i saved the request today in the evening and by tomorrow morning there are 3 drivers that suit my request. SO in this case i see all 3 ride possibilities and i can send request directly from here or go to explicit information and request from there. What is the difference? We just save one screan. How do you think Renat, what is better?

Adding G+ shouldn't be big extra - lets aim for this.
Changed
Adding multilanguage support would save a lot of time in the future
a) Agree

Got few more new screens in the prototype and modified the structure: https://www.flinto.com/p/5567b4e5

Login/Signup screen
Ride offers > All
Ride offers > All > Detail offer
Ride offers > All > Detail offer > Directions
Ride offers > Search results
Ride offers > Search results > Detail offer

Added view New ride offer with corresponding dialog boxes:

New offer
New offer (filled with data)
New offer > Select date and time
New offer > Select days
New offer > Alert dialog on closing

To see it in action tap on ( + ) button in prototype.

@RenatBuga what is the meaning of

Ride offers > All > Detail offer

@ArnoldasSid any progress on #45 ? I think we need need some component for trip search / filtering.
I will start working on #65

@spastai: if you tap on an offer from the list of rides with no search inputs, than you see this screen.
If you make a search query and access the offer from search results, then you will see the Offer details screen that shows the full route including your From/To address.

Was thinking about landing page for already logged in users, maybe it could be something like this? (I think trafi and airbnb use something similar)

Also we need to decide on navigation. Because now we have tabs at bottom and hamburger menu at top. (Shouldn't we go with tabs at top because that's android standard?)

We discussed at meetup the issue of the search against the list of all available rides.
We have a search option, but not imposed as the only door to the proposals. If you force users to use the search you have very little chance of finding good trip matches, as there will be quite a few proposals, at least in the beginning. Otherwise, you risk offering routes where the rider has to walk 2km to the departure point of the ride and another 3km from the driver's destination to his own point of destination.
Why search as the main door is acceptable for the following services:
Airbnb: If you are planning a trip to Vilnius and the search gives you the only accommodation available in Lentvaris, you can still take it. You will be using public transportation and within 30 minutes you are in the city.
Trafi:  The mission of the app is to give you directions to any destination using public transportation.
In most cities, public transport infrastructure is designed so that you will always find a bus stop near your home. Whatever are your points of origin and destination, you will get the most optimal route, where you have to walk as little as possible.
Uber/Lyft: Whatever is your Departure and Destination, the driver will take you from point to point.

I have also updated our "wireframe" - https://github.com/vilnius/vilnius-carpool/wiki/Functional-view#wireframe

Regarding the bottom bar. This is not a stigma for Android applications, which prohibits the use of it. Take as examples Google+ and Dropbox.  The bottom bar provides one-tap access to the main sections of the app.
I would love to see sketches of ideas for better application structure.

@RenatBuga I have updated https://github.com/vilnius/vilnius-carpool/wiki/Functional-view#wireframe according your last wireframes. Few notes:

In my drawing I'm using green color for driver path (green light for your trip) and blue (something out of blue) to mark uncertainty of the rider. Maybe it would be reasonable to change colors in the screens also (now they are opposite - offers are in blue).
In the notifications view 1st notification has buttons Accept / review - wouldn't be reasonable to change "Accept" into "Confirm"
In the notifications view 2nd notification has buttons Accept / review - wouldn't be reasonable to change "Accept" into "Request" ?
Reviewing "Ride request" (https://www.flinto.com/p/5567b4e5)  it would be good to know at least how many passengers you have accepted already

@spastai

Navigation bar colors can be changed easily inside the code. Too much
work for photoshop.
2, 3. Changed
To make things easier for everyone: beta testers, developers, designers,
and get the app launched soon, my suggestion is to limit one passenger per
trip.

On Mon, May 9, 2016 at 3:10 PM, spastai<EMAIL_ADDRESS>wrote:

@RenatBuga https://github.com/RenatBuga I have updated
https://github.com/vilnius/vilnius-carpool/wiki/Functional-view#wireframe
according your last wireframes. Few notes:

In my drawing I'm using green color for driver path (green light
for your trip) and blue (something out of blue) to mark uncertainty of the
rider. Maybe it would be reasonable to change colors in the screens also
(now they are opposite - offers are in blue).
In the notifications view 1st notification has buttons Accept /
review - wouldn't be reasonable to change "Accept" into "Confirm"
In the notifications view 2nd notification has buttons Accept /
review - wouldn't be reasonable to change "Accept" into "Request" ?
Reviewing "Ride request" (https://www.flinto.com/p/5567b4e5) it
would be good to know at least how many passengers you have accepted already

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/vilnius/vilnius-carpool/issues/44#issuecomment-217847215


installation using homebrew, PATH not correct

this is how I install pyenv on my mac:
brew install pyenv

and my zshenv looks like:
........(my other code)
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi

then I found that when I echo $path , only shows:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

but $PYENV_ROOT is valid
why my Path does not change?
and I can not use global command, it won't change my python version:

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33339996-installation-using-homebrew-path-not-correct?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

I just guess you're overriding $PATH somewhere in your zsh configuration. I definitely don't know your configuration, though.


SSH Proxy broken in VSC 1.63.1

Issue Type: Bug
I have a complicated SSH setup using an SSH tunnel to a remote machine. Everything has worked perfectly with this setup up until the VSC version 1.63.1. VSC 1.62.3 and previous versions work without a problem.
My SSH setup uses SecureCRT. I open the SecureCRT terminal and authenticate to a remote SSH server. SecureCRT is then configured with "Port Forwarding" that attaches a listener to my loopback address on a specific port. This localhost port is used to proxy my SSH connections through the SSH bastion host to the final SSH server where my code is located. I am using the Remote-SSH plugin to accomplish this connection, however the plugin is not the problem, because it works fine in VSC 1.62.3.
Here is my .config file for the SSH connection.
Host iebdev22-loop
Hostname <IP_ADDRESS>
Port 2222
User user1
IdentityFile C:\Users\user1\.ssh\private_key_file
VS Code version: Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T08:11:14.551Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.89GB (1.98GB free)

Process Argv
--crash-reporter-id 64039b5a-d3a8-4ff4-91b7-55d4b61b3d07

Screen Reader
no

VM
44%

Item
Value

Remote
SSH: iebdev22-loop

OS
Linux x64 3.10.0-1160.45.1.el7.x86_64

CPUs
Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (32 x 3114)

Memory (System)
125.67GB (15.99GB free)

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

jupyter-keymap
ms-
1.0.0

remote-ssh
ms-
0.66.1

remote-ssh-edit
ms-
0.70.0

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.10.1101450599

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.4

autodocstring
njp
0.5.4

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804cf:30404767
vscop940:30404999
vsrem710:30416614
vscexrecpromp3t2:30407763

@dale-conklin would you also be able to share the logs from the Remote-SSH channel in the Output tab with the failed connection?

Below are the logs from the working version. I'll upgrade and send the logs from the failed version next.
`[13:41:39.138] Log Level: 2
[13:41:39.143]<EMAIL_ADDRESS>[13:41:39.143] win32 x64
[13:41:39.162] SSH Resolver called for "ssh-remote+iebdev22-loop", attempt 1
[13:41:39.163] "remote.SSH.useLocalServer": false
[13:41:39.163] "remote.SSH.showLoginTerminal": false
[13:41:39.163] "remote.SSH.remotePlatform": {"<IP_ADDRESS>":"linux","iebdev22":"linux","iebdev22-loop":"linux"}
[13:41:39.163] "remote.SSH.path": undefined
[13:41:39.163] "remote.SSH.configFile": undefined
[13:41:39.163] "remote.SSH.useFlock": true
[13:41:39.164] "remote.SSH.lockfilesInTmp": false
[13:41:39.164] "remote.SSH.localServerDownload": auto
[13:41:39.164] "remote.SSH.remoteServerListenOnSocket": false
[13:41:39.164] "remote.SSH.showLoginTerminal": false
[13:41:39.164] "remote.SSH.defaultExtensions": []
[13:41:39.164] "remote.SSH.loglevel": 2
[13:41:39.164] SSH Resolver called for host: iebdev22-loop
[13:41:39.164] Setting up SSH remote "iebdev22-loop"
[13:41:39.187] Using commit id "ccbaa2d27e38e5afa3e5c21c1c7bef4657064247" and quality "stable" for server
[13:41:39.190] Install and start server if needed
[13:41:39.194] Checking ssh with "ssh -V"
[13:41:39.234] > OpenSSH_for_Windows_8.1p1,
[13:41:39.235] > LibreSSL 3.
[13:41:39.235] > 0.2
[13:41:39.240] Running script with connection command: ssh -T -D 56313 "iebdev22-loop" bash
[13:41:39.242] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[13:41:39.546] > ]0;C:\WINDOWS\System32\cmd.exe
[13:41:39.546] Got some output, clearing connection timeout
[13:41:39.928] > 4a83122c89d7: running
[13:41:39.966] > Acquiring lock on /home/user1/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/vscode-remote-lock.user1.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
[13:41:39.997] > Found existing installation at /home/user1/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247...
[13:41:40.011] > Checking /home/user1/.vscode-server/.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247.log and /home/user1/.vscode-server/.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247.pid for a running server

Looking for server with pid: 18504
[13:41:40.065] > Found running server...
[13:41:40.087] >
*

Reminder: You may only use this software with Visual Studio family products,
as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)

Checking server status on port 35560 with wget
[13:41:40.094] > 4a83122c89d7: start
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==35560==
osReleaseId==centos==
arch==x86_64==
tmpDir==/run/user/13229==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==11aaaa11-a1aa-1111-a1a1-11aaaa11a11a==
4a83122c89d7: end
[13:41:40.094] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==35560==
osReleaseId==centos==
arch==x86_64==
tmpDir==/run/user/13229==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==11aaaa11-a1aa-1111-a1a1-11aaaa11a11a==

[13:41:40.095] Remote server is listening on 35560
[13:41:40.095] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":35560},"osReleaseId":"centos","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/13229","platform":"linux","connectionToken":"11aaaa11-a1aa-1111-a1a1-11aaaa11a11a"},"installUnpackCode":""}
[13:41:40.100] Starting forwarding server. localPort 56316 -> socksPort 56313 -> remotePort 35560
[13:41:40.103] Forwarding server listening on 56316
[13:41:40.103] Waiting for ssh tunnel to be ready
[13:41:40.105] [Forwarding server 56316] Got connection 0
[13:41:40.106] Tunneled 35560 to local port 56316
[13:41:40.106] Resolved "ssh-remote+iebdev22-loop" to "<IP_ADDRESS>:56316"
[13:41:40.107] >
[13:41:40.117] ------
[13:41:40.139] [Forwarding server 56316] Got connection 1
[13:41:40.198] [Forwarding server 56316] Got connection 2
[13:45:11.527] [Forwarding server 56316] Got connection 3`

What was broken in version 1.63.1 is now fixed in 1.63.2. I updated to version 1.63.2 and everything is working correctly.


FAILURE on trying to startup UAA locally

SECURITY NOTICE: If you have found a security problem in the UAA, please do not file a public github issue. Instead, please send an email to<EMAIL_ADDRESS>Thanks for taking the time to file an issue. You'll minimize back and forth and help us help you more effectively by answering all of the following questions as specifically and completely as you can.
What version of UAA are you running?
we have pulled down commit: 754f2716d3d8f2e227952f74adcfde5378b17b96
What output do you see from curl <YOUR_UAA>/info -H'Accept: application/json'
FAILURE
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew

What did you do?
git clone git://github.com/cloudfoundry/uaa.git
cd uaa
gradlew run
curl -H "Accept: application/json" localhost:8080/uaa/login
What did you expect to see? What goal are you trying to achieve with the UAA?
We expect UAA to startup
What did you see instead?
FAILURE
Please include UAA logs if available.
uaa-server.log

We got past this (it was an issue with configuring the SAML and signing keys incorrectly) by looking at the Readme for 3.9.2 ( https://github.com/cloudfoundry/uaa/releases/tag/3.9.2 ). Documentation could be improved. Please close.

That readme from 3.9.2 isn't very helpful. setting that env variable doesn't help. I checked the source code, and could not find any production code reference to that required_configuration.yml file. But in my uaa.log startup logs, I find this entry:
YamlProcessor: Could not load map from URL [file://C:/Users/srzgob/workspaces/cf-uaa/uaa/./uaa/src/main/resources/required_configuration.yml]: C
Really strange. Any insights appreciated.

I'm sorry for answering to such an old issue, however I just wanted to help anyone out running into the same issue and stumbling onto this issue:
replacing: -DLOGIN_CONFIG_URL=file://" + new File(".").absolutePath + "/uaa/sr... by -DLOGIN_CONFIG_URL=file:///" + new File(".").absolutePath + "/uaa/sr  (tripple ///) fixed the issue for me due to reasons described here: https://stackoverflow.com/questions/2680837/java-net-unknownhostexception-on-file-method
The line to change is located here: https://github.com/cloudfoundry/uaa/blob/85d5c483ceb2d21cfafb3ed982fc011102ac2d62/build.gradle#L310

@BloodWorkXGaming
Same issue.
I replaced in build.gradle file -DLOGIN_CONFIG_URL=file://" by -DLOGIN_CONFIG_URL=file:///"  according to your solution and everything works now
Thanks for your help !

I'm sorry for answering to such an old issue, however I just wanted to help anyone out running into the same issue and stumbling onto this issue:
replacing: -DLOGIN_CONFIG_URL=file://" + new File(".").absolutePath + "/uaa/sr... by -DLOGIN_CONFIG_URL=file:///" + new File(".").absolutePath + "/uaa/sr (tripple ///) fixed the issue for me due to reasons described here: https://stackoverflow.com/questions/2680837/java-net-unknownhostexception-on-file-method
The line to change is located here:
uaa/build.gradle
Line 310 in 85d5c48
jvmArgs = "-javaagent:${jacocoLocation}=output=file,dumponexit=true,append=false,destfile=${integrationTestCoverageExecutionData} -DLOGIN_CONFIG_URL=file://" + new File(".").absolutePath + "/uaa/src/main/resources/required_configuration.yml"

Thanks for saving my day


Is there any problem if I set the batch_size as 64 or 128.

Is there any problem if I set the batch_size as 64 or 128? Because I have two GPU (P100, 16GB), so I want to increase the training speed to save time. But I want to know if this would drop the accuracy. Thanks for your reply.

Hello @jake221, I never try that actually, but I think the original training process is fast enough. If you make the batch_size even larger, it will be very fast and you can basically try everything :D

thanks for your reply. I will try! Best

Hello @jake221, I never try that actually, but I think the original training process is fast enough. If you make the batch_size even larger, it will be very fast and you can basically try everything :D

Hello, @shamangary, I try to load the model I trained myself. However, it report an error
File "demo_fsanet.py", line 67, in model_init
fsa_model = load_fsanet()
File "demo_fsanet.py", line 49, in load_fsanet
model1.load_weights(weight_file1)
File "D:\Users\w00440748\AppData\Local\Continuum\anaconda3\lib\site-packages\keras\engine\network.py", line 1166, in load_weights
f, self.layers, reshape=reshape)
File "D:\Users\w00440748\AppData\Local\Continuum\anaconda3\lib\site-packages\keras\engine\saving.py", line 1030, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 1 layers into a model with 4 layers.

Hello @jake221,
The error shows
ValueError: You are trying to load a weight file containing 1 layers into a model with 4 layers.

There are three models:
model1 = FSA_net_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
model2 = FSA_net_Var_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
model3 = FSA_net_noS_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
Can you check that the loading weight is correctly corresponding to the right model type?
It seems possible that you are loading the weight of FSA_net_noS_Capsule into other two model structure.

Hello @jake221,
The error shows
ValueError: You are trying to load a weight file containing 1 layers into a model with 4 layers.

There are three models:
model1 = FSA_net_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
model2 = FSA_net_Var_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
model3 = FSA_net_noS_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
Can you check that the loading weight is correctly corresponding to the right model type?
It seems possible that you are loading the weight of FSA_net_noS_Capsule into other two model structure.

No, I am pretty sure I didnot make that mistake. I just replace the model I trained myself as the models you provide, it worked. There are some similar errors for Keras. But they didnot work for me.
https://www.jianshu.com/p/e76f56992b65
https://github.com/keras-team/keras/issues/11072

https://github.com/keras-team/keras/issues/10417
It seems that keras 2.2.2 could cause such problem when the model uses InputeLayer.
Can you try to downgrade the keras version? 2.1.0 or 2.0.0?


Global sizes in CSS dimension globals are out of order

Steps to reproduce

Go to /components/vars/css/globals/spectrum-dimensionGlobals.css
3 should come before 4.

This is interesting, I'm not sure why generated output wouldn't be in order here... Maybe we can just sort the keys before dumping them out...

This is fixed now


Odd performance trends in conversion from af.Array to np.ndarray

I've used this code to time conversions from af.Array to np.ndarray and vice-versa.
When I run the code on the GPU, I get the following times:
$ python test.py 32

ArrayFire v3.6.0 (OpenCL, 64-bit Linux, build d9bc8d7)
[0] NVIDIA: Quadro M1000M, 2047 MB
-1- INTEL: Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz, 31993 MB
Conversion from af to np:
Time Elapsed for 100 loops = 10.877396583557129

Conversion from np to af:
Kernel compilation time = 0.08670806884765625
Time Elapsed for 100 loops = 8.28329849243164

Additionally, the peak memory consumption when run on the GPU is at 330MB
However, when I run it on the CPU:
$ AF_OPENCL_DEFAULT_DEVICE_TYPE=CPU python test.py 32

ArrayFire v3.6.0 (OpenCL, 64-bit Linux, build d9bc8d7)
-0- NVIDIA: Quadro M1000M, 2047 MB
[1] INTEL: Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz, 31993 MB
Conversion from af to np:
Time Elapsed for 100 loops = 9.318161487579346

Conversion from np to af:
Kernel compilation time = 0.4476149082183838
Time Elapsed for 100 loops = 41.09346866607666

The memory consumption in this case peaks at 6.5 GB. Is this a driver issue?

@ShyamSS-95 This looks like a driver issue. I tried running the test script on the CPU using both AMDs driver as well as Intels driver. The memory required by Intels driver is about 12 GB while on AMD it was as expected.
homer:arrayfire-python.devel $ AF_OPENCL_DEFAULT_DEVICE=2 python /tmp/test_conversion.py 32
ArrayFire v3.6.0 (OpenCL, 64-bit Linux, build 12cde8db)
-0- AMD: Hawaii, 8163 MB
-1- NVIDIA: GeForce GTX 950, 1995 MB
[2] INTEL: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 15985 MB
-3- AMD: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 15985 MB
Conversion from af to np:
Time Elapsed for 100 loops = 13.246779441833496

Conversion from np to af:
Kernel compilation time = 0.5209839344024658
Time Elapsed for 100 loops = 72.9504280090332
homer:arrayfire-python.devel $ AF_OPENCL_DEFAULT_DEVICE=3 python /tmp/test_conversion.py 32
ArrayFire v3.6.0 (OpenCL, 64-bit Linux, build 12cde8db)
-0- AMD: Hawaii, 8163 MB
-1- NVIDIA: GeForce GTX 950, 1995 MB
-2- INTEL: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 15985 MB
[3] AMD: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz, 15985 MB
Conversion from af to np:
Time Elapsed for 100 loops = 12.959728956222534

Conversion from np to af:
Kernel compilation time = 0.5871903896331787
Time Elapsed for 100 loops = 48.30834913253784

@pavanky Is the slower conversion from np.ndarray to af.Array on the CPU vs GPU an expected trait? Since it's just a conversion, shouldn't the times almost be the same?

@ShyamSS-95 numpy stores data in row major format and arrayfire stores it in column major format. To fix this a af.reorder is performed after the copy.

@ShyamSS-95 You can check notice the difference by copying a 1D array where row major and column major doesn't matter.


Button Box - when 0 as value, default value is applied

I'm using a button box and have values from 0 to 20. When I set 6 as default value for the field and then choose 0 as actual value, the default value is applied.

@olsp Could you please let me know the field you are using?

@olsp Yes its because 0 evaluates to false which then sets the default value. Could you please use letters as values like zero, one and so on.
Many thanks

But does it make sense to have a "false" value in a width field?

Maybe instead of "false" it's "null" if there is nothing set.


diff_drive_controller is not working

When i run the project as described in the Readme, i can't move the robot with teleop_twist_keyboard. Messages are published to the /diff_drive_controller/cmd_vel topic as expected, but there is no diff_drive_controller node in the rqt graph, and it seems like Gazebo doesn't see that topic. Tried adding a bridge as follows:

ros_topic_name: "diff_drive_controller/cmd_vel"
gz_topic_name: "cmd_vel"
ros_type_name: "geometry_msgs/msg/TwistStamped"
gz_type_name: "gz.msgs.TwistStamped"
direction: ROS_TO_GZ

doesn't work either.
@Fastroof

Solved. Installed ros-jazzy-ros2-control package and everything is ok now.

Дуже дякую.

I have added the ros-jazzy-ros2-control package as dapendecy to package.xml.


[Popover] Unreasonable complex selectors with duplicate classes generated

https://github.com/adobe/spectrum-css/blob/3c7de5e07d34ca6ca1ae873ff32f4e7a02d1f0ad/components/popover/index.css#L319-L346
This will generate selectors like .spectrum-Popover--withTip.spectrum-Popover--left.spectrum-Popover--left .spectrum-Popover-tip wherein the spectrum-Popover--left is duplicated.
Can this be smoothed out? It creates additional difficult when processing the output downstream.

Tracking this in Jira via CSS-750


Add javadoc plugin and add deployment steps in CI-CD

Changelog
Added
Add javadoc plugin and add deployment steps in CI-CD

We haven't add Javadoc ;oml onto aristotle-ws.com, right?

Indeed, I should add it to the document.


measuring script: Add ability to use a dummy load

I read a bit about measuring low amounts of power consumption and sometimes it's recommended to add a static dummy load, like an incandescent light bulb. After letting it warm up and stabilize it can be subtracted from the measurements taken which allegedly allows measuring smaller loads more precisely.
The script currently only has the ability to measure multiple bulbs at the same time from the same type, but not to measure a static load first and afterward the standby load (after the user plugs in the device which should be measured).
@nepozs / @bramstroker opinions on that?

@RubenKelevra I think it's a great idea. Would be not that difficult to implement. Do you prefer having that as an additional question in the wizard? Or just an env variable would suffice?

Well, an additional question would be nice: dummy load yes/no?
And at the end of the questions an additional screen would be nice which shows a preview of the load with a 1 second refresh, to see when it has stabilized.
The user should be able to stop it with the press of enter and then asked to plugin the load which should be standby-measured and confirm :)

What do you think of the following procedure?

Ask user "Dummy load yes/no"
Set the light state to off (standby)
When answer on 1 is yes, start showing power each second, and ask the user to press enter when stabilized
After the user pressed enter, use the last reading from step 3 as dummy load.

Each power measurement will be subtracted by the dummy load value of step 4.
With this approach the user don't have to enter the dummy load manually. Less typing and less error prone.

I thought about using dummy load, but main problem with low loads is in reality elsewhere and it is measuring noise.
It is reason why typical smart-plugs are filtering out values lower than typical noise value.

@nepozs We could at least try with a dummy load to see what it does in reality. Next weekend I am at my parents, I think they have some old incandescent bulbs lying around. I will do some testing to see how it goes.

I thought about using dummy load, but main problem with low loads is in reality elsewhere and it is measuring noise.
It is reason why typical smart-plugs are filtering out values lower than typical noise value.

I thought the main reason is, that without a load the internal electronic of a measuring device is interfering too much.
But I mean, if we're measuring 2.25 vs 2.30 Watt in other instances it should work for 0.05 W as well.
Otherwise our tests should remove the noise by reducing the resolution 🤷♂

I did build a wooden board with a few E27 fittings on it, so I am able to put a dummy load in parallel to test it out. My parents have an old incandescent light bulb laying around, will be able to pick this up next week.

@bramstroker cool!
I only have halogen bulbs (these types which look like old incandescent ones but have a small halogen bulb inside). If the incandescent ones work I'll try one of those as well. :)

Unfortunately the incandescent bulb I got from my parents was broken. Found a webshop where I could still order these kind of bulbs. Ordered a 15 watt and 25 watt version. Will be delivered next monday.

Hard times for incandescent bulbs these days :D

I had problems with the incandescent bulb I ordered. It was rated 15 watts, but I got reading approximately 40 watts. And I also have issues with the spare shelly plug I am using, got a lot of disconnections and 0 readings. Need to test/investigate more, but have so little spare time so can't give an ETA.
Also see https://github.com/bramstroker/homeassistant-powercalc/discussions/494 where some user is doing interesting research on the measurement topic.

The incandescent bulb I got from a store had inconsistent power readings (was rated at 15 watts, but my energy meter gave readings from 40.1 to 40.5, and it also broke now. Tried with 4 different power meters (even the Zhurui PR10 which is very accurate). There are a lot of bad reviews for the store in question so I think the sent me some really crappy bulb. On the box it says it is used as a traffic light lol.
I cannot find these incandescent bulbs in other stores because they are banned from european markets.
Anyway I don't think I will be able to continue trying to make this work, because to accurately measure a light when in parallel the bulb itself should have a really consistent power draw.
Best way would be to measure multiple of the same lights in parallel which is already supported by the measure tool.

@bramstroker Is there some reason why the bulb has to be incandescent and can't be for example simple non-dimmable LED bulb?

@bramstroker Is there some reason why the bulb has to be incandescent and can't be for example simple non-dimmable LED bulb?

Well yeah. LEDs introduce noise by their switching mode power supplies. Which reduces the accuracy of the measurement.
Anyway @bramstroker different idea:
Let's just order a load resistor and use this as dummy load.
Five 5 W resistors are like 3 bucks on AliExpress:
https://a.aliexpress.com/_uJw8KL

Two 25 Ohm resistors in series should use 4.8 W (2.4 W each) without heating up that much.

@RubenKelevra
This measurement system should be calibrated using really high load (like 1000W) so best solution is heater or electric kettle (of course measured earlier by reference meter).
The problem with noise exist inside measurement system… so you can't use such a small load.

I don't think having a 1000 W dummy load is sustainable for measurements over something like 24 hours for RGB lamps.
What's the issue with using something like 6-12 W load? 🤔
I mean we currently measure bulbs without any dummy load, so we're usually below 12 W.

Hehe OK, I thought you are trying to calibrate smart-plug "meter".
If you need to shift values it is really sufficient.

@nepozs Wouldn't it reduce the noise when the overal load is increased (by adding these resistors)? Which is the whole point of the idea @RubenKelevra proposed in the first place.
The Shelly Plug S for example is unable to measure power draws lower than 0.3. But when looking at individual measure points I never see fluctuactions more than ~0.05 W.
But I am far from an electrical scientist ;-)

The problem exists inside measurement system (in reality there is measured very low voltage on 0.001ohm resistor), so no - it won't reduce noise, but using dummy load it will be possible to measure values below cut-off (eg. <0.4W for Shelly Plug).
But there is high possibility to have negative power values, so I think every point should be measured meny times and averaged.

@nepozs thanks for sharing your thoughts and knowledge.

For 0.4W it is in reality measured voltage 0.02V in electrical circuit where nominal voltage is ~230V (about 325V in peak).

BTW some phots of hardware multile bulbs - could be used in documentarion
Splitter E27 to 3x E27

Splitter E27 to 2x E27

Converter E27 - > GU10

Converter E27 - > E14

Extender E27

Well, I did that for the Aqara Bulb, which I got 5 times. But even with 5 I was unable to measure the standby power with the Shelly Plug (without the S).
The idea is to just raise the consumption a bit with a consistent load. So using a heater isn't really ideal, as they heat up and thus vary the resistance.
That's why I ordered a 20 W resistor and want to just dump ~6W into it.

I understand your idea (I just thought it is another thread/issue) - it is really good, but we are trying to measure values lower than resolution of measurement system.

@bramstroker so I guess it would be nice to have a question: "Do you use a dummy load? (Y/N)"
If yes:

Instruct user to only connect the dummy load
measure consumption 3 times
Wait 10 Minutes
measure consumption 3 times
if within 1% continue, else repeat the wait and compare.

This gives the dummy load time to heat up and stabilize its temperature.
If it's done with that we instruct the user to connect the device he/she wants to measure. :)

Dummy load does nere to preheat (if is is 10W or 20W resistor).
Problem lies elsewhere.

@bramstroker
BTW some photos of hardware to measure multiple bulbs - could be temporary used in documentation (I have no time to make better photos)
Splitter E27 to 3x E27

Splitter E27 to 2x E27

Converter E27 - > GU10

Converter E27 - > E14

Extender E27 (could be used when splitter does not fit in light bulb socket)

My resistors came last week. So I'll have a look at this :)
Sure, there will be noise, but this was the case with all our measurements. Doing multiple measurements would help here to average them out.
But the issue is just that some of my devices are below the threshold for a lot of the lower brightnesses. So I need to shift the values up until they are measurable.
This is not meant to improve the quality of the measurements itself in accuracy.

@RubenKelevra Did you manage to do some tests already with the resistors? Could this be workable?

@RubenKelevra Did you manage to do some tests already with the resistors? Could this be workable?

I'll give it a shot tomorrow. I was too tired this weekend to play with electricity 😂

@bramstroker the "tomorrow" is today! :D
Works great:

(green stroke marks the time when the lamp was connected and idle / turquoise ring marks the time when the lamp disconnected)
I'll do a measurement with it – we just need a way to let the measure script know that we use a dummy load and subtract that. :)

In absolut values, that's 5.9 W for the dummy load and 7.2 W for the lamp on idle (including the dummy load).
Previously, I wasn't able to measure the lamp for idle and some lower brightness settings with my Shelly Plug (the one without the S).

So using a single 20W capable resistor with 10 kOhm isn't great. As stated before it just consumes about 6 W, but it gets fairly hot.
So I'm now using two of them in series which should be still enough, but they shouldn't get too hot that way since each one will only consume a quarter of the power than a single one consumed

@RubenKelevra That's awesome! I would suggest to finish a measurement session WITH the resistors and a session WITHOUT. Subtract the values on the first CSV with 5.9 and compare the values in the higher brightness levels and verify if they are very similar.
When this is confirmed we can consider this workable and move forward into adding an dummy watt input to the measure tool.

Yeah good idea :)

I'm retesting the Yeelight LED Bulb 1S (https://github.com/bramstroker/homeassistant-powercalc/pull/364) I had to delete before again. :)

Works out perfectly:
Without dummy load (255 brightness, ct 183): 9.13
With dummy load (and subtracted): 9.13

That's awesome! Could you also add some more information in this issue about the exact specs of the resistors, where to order them, and how to wire? Than we can also add this to the WiKi/readme.

Yeah sure.
2 times 10 kOhm with 20 W maximum heat dispersion specification. Wire them in series (to eachother and in parallel to the light bulb. Both behind the measuring plug. I put a switch in front of the socket, to turn the bulb off, to measure the dummy load.
So you end up with
L -> R1 -> R2 -> N
L -> Switch -> Socket (with bulb) -> N
where L and N are the outlets of the measuring device.
The resistors look like this:

I ordered them here (but this shouldn't matter much, as only the specs are important):
https://de.aliexpress.com/item/4001091575111.html

Without dummy load (255 brightness, ct 183): 9.13
With dummy load (and subtracted): 9.13

By the way, the first measurement was done with two bulbs, while this measurement was done with just one.
So the dummy resistor makes it unnecessary to use multiple bulbs.

perfect, thanks for the explanation.

@RubenKelevra For the changes to measure.py to provide a dummy load would adding a DUMMY_LOAD_VALUE suffice to .env? See #774

Well would actually be better if the script would ask if a dummy load is used and then instruct the user to connect only the dummy load.
The dummy load value could be written to a file in export, to avoid remeasuring it every time you use it.
The advantage is, that the user doesn't have to go into HA and get the value (which is also just with 1 decimal place, not two). The Shelly GUI doesn't even offer a decimal place.
So doing this manually would mean we loose a bit of accuracy.

Yes I will see what I can do.
Something like this:

Ask user "Did you connect a dummy load?"
When selected "yes" display the following message: "Only connect your dummy load to your smart plug, not the light! Press enter to start measuring the dummy load.."
start measuring with the configured SLEEP_TIME during 30 seconds. Dummy load will be the average of all these samples.
Write the dummy load value somewhere so it don't need to be measured each time again.
Ask the user to also connect the light and continue the measurement session by pressing "enter".

On subsequent measure session still ask "Did you connect a dummy load?", but take the dummy load value directly from the previously recorded value.
To skip this question in the future the user can add the answer to .env same as the other questions.

Perfect! :)


Load moc file, throw Unknown settings format.

I try to add model from https://github.com/Eikanya/Live2d-model/tree/master/魂器学院 (炼铜学院)/live2d/11310 , download files to local and use like this (only modify the model path.):
import { ref, onMounted } from "vue";
import { Live2DModel } from 'pixi-live2d-display-lipsyncpatch';

const model = ref(null)
const init = async (modelName) => {
  const fileMap = {
    person_1: "/src/assets/live2d/11310/Lead_00.model.json",
  };
  const modelPath = fileMap[modelName]
  const pixi = window.PIXI;
  // const live2d = pixi.live2d;
  const app = new pixi.Application({
    view: document.getElementById("live2dCvs"),
    autoStart: true,
    resizeTo: window,
    backgroundColor: 0x333333,
    opacity: 0,
    transparent: true,
  });

  model.value = await Live2DModel.from(modelPath);
  app.stage.addChild(model.value);

  const scaleX = innerWidth / model.value.width;
  const scaleY = innerHeight / model.value.height;
  // fit the window
  model.value.scale.set(Math.min(scaleX, scaleY));

  model.value.y = (innerHeight - model.value.height) * 0.5;
  model.value.x = (innerWidth - model.value.width) * 0.5;

  console.log(model.value)
};

const speak = (audio_link) => {
  return new Promise((resolve, reject) => {
    var volume = 1; // [Optional arg, can be null or empty] [0.0 - 1.0]
    var expression = 4; // [Optional arg, can be null or empty] [index|name of expression]
    var resetExpression = true; // [Optional arg, can be null or empty] [true|false] [default: true] [if true, expression will be reset to default after animation is over]
    var crossOrigin = "anonymous"; // [Optional arg, to use not same-origin audios] [DEFAULT: null]

    model.value.speak(audio_link, {
      volume: volume, expression:expression, resetExpression:resetExpression, crossOrigin: crossOrigin,
      onFinish: () => resolve('voice finished'),
      onError: (error) => reject(error)
    })

  })
}

when I call init(), it throw the error Unknown settings format.

here is the context.source:

I found this model can loaded from https://guansss.github.io/live2d-viewer-web, and it has a motion that say something while touch. Any idea about why thorw this error?

Interesting, since it works on guansss demo site, I'll check n see if theres any issue on my end. I actually didn't touch the loader and settings api. So can't guarantee I can find a solution. Can you try with the original repo code with same model?

original repo code

You means using this package? https://github.com/guansss/pixi-live2d-display

Yes, this is just a fork of that one. Try and let me know. If doesn't work,
we can send the issue to there (I'll also try to fix)
On Tue, Dec 3, 2024, 8:38 AM Miracle Hao @.***> wrote:

original repo code
You means using this package?
https://github.com/guansss/pixi-live2d-display
—
Reply to this email directly, view it on GitHub
https://github.com/RaSan147/pixi-live2d-display/issues/16#issuecomment-2513419647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIDNL26IMOOG3SEGG543AIL2DUKRTAVCNFSM6AAAAABS3OGP22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJTGQYTSNRUG4
.
You are receiving this because you commented.Message ID:
@.***>

Okay.

@RaSan147 I found how to resolve it, but didn't know why.
The origin model.json file didn't have "version": "Sample 1.0.0". After I added it manually, it can run.
I don't use Live2D a lot, maybe you know the reason for this?

Before

"type": "Live2D Model Setting",
"name": "千竹婚纱",
"model": "Lead_00.moc",
"textures": {
  "11310": ["texture_00.png", "texture_01.png"]
},
... other params

After

"version": "Sample 1.0.0",
"type": "Live2D Model Setting",
"name": "千竹婚纱",
"model": "Lead_00.moc",
"textures": ["textures/texture_00.png", "textures/texture_01.png"],
... other params

Absolutely no idea buddy. Maybe export glitch. All the models json have that.

Anyway, thanks!


SPARK-5529 Backported changes to 1.3

Backporting the bugfix into 1.3

Can one of the admins verify this patch?

This doesn't look like a complete back port of https://github.com/apache/spark/pull/4363 ?

Sorry too quickly pulled the trigger


(suggestion) Benchmarks

I'd be curious what the rough performance characteristics of Pencil compared with Node or Python: just in order to get a rough idea on production worthiness.

No such plan yet.


[Feature Request] Build the Nebula Data Service

As a frontend web developer from Nebula Web Service, I want a REST'able portal that provides me sufficient course, grade, and class scheduling data, per the schema found here

[x] https://github.com/UTDNebula/nebula-api/issues/14
[x] https://github.com/UTDNebula/nebula-api/issues/24

From the issues closed, it appears that this one has also been resolved.


Document how to build a channel.

It's created by a builder so we should link to it. :)

cool, LGTM


Errors when trying to run default example

Hi! I'm getting the following error on OSX when I try to run the default example:
Command: ./the_decay_of_that_colossal_wreck.sh
Error:
--- Iteration 1 ---
Using font:
convert: unable to read font ' @ warning/annotate.c/RenderType/924. convert: unable to read font ' @ error/annotate.c/RenderFreetype/1239.
convert: unable to read font ' @ warning/annotate.c/RenderType/924. convert: unable to read font ' @ error/annotate.c/RenderFreetype/1239.
convert: geometry does not contain image white' @ warning/attribute.c/GetImageBoundingBox/247. convert: unable to load module /usr/local/Cellar/imagemagick/6.9.3-0_2/lib/ImageMagick//modules-Q16/coders/png.la': file not found @ error/module.c/OpenModule/1300.
convert: no encode delegate for this image format `XC' @ error/constitute.c/WriteImage/1167.
Tesseract Open Source OCR Engine v3.05.01 with Leptonica
Error in fopenReadStream: file not found
Error in findFileFormat: image file not found
Error during processing.
rm: ozymandias-1.png: No such file or directory

Sounds like it isn't successfully finding fonts. Can you run convert -list font in the command line and tell me what the output is?

Thanks for your response! In the meantime I tried upgrading imagemagick, and it looks like that did the trick! It's running successfully now.
(Haha, webdings is in the list? That'll be a tricky one)

Yay, glad it's resolved! The script actually omits fonts that start with "W" to avoid Webdings and Wingdins 😂


Twitter Report: CWA show 3/3 certificate as invalid for entry to France, CovPass shows valid

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Device name: Not relevant
iOS version: 15.1.1
App version: 2.14.1

Describe the bug
CovPass shows a 3/3 vaccination certificate as valid for the entry of France, CWA shows it as invalid.

CWA
CovPass

The rule which failed in CWA is:
"With Moderna vaccine, a finished vaccination course is considered protective earliest from 28 days after the date of the last vaccination."
Steps to reproduce the issue

Add a Booster certificate to your CWA and your CovPass
Check the validity for France
See that CWA shows invalid, CovPass shows valid

Note: It seems like this only happens for 6 days after the vaccination in the CWA.
Expected behaviour
CWA and CovPass should show the same result.
Additional context

Link to Twitter: https://twitter.com/diluvium76/status/1467126523618643968?s=20
@vaubaehn & @timokoenig I guess you could be interested in this.

The CWA is here correct.
France has the clear rule independent of 2/2 or 3/3.
The vaccination is valid after 7 days.
The english translation states 28 days but the rule checks for 7 days like the french description
Avec le vaccin BioNTech/Pfizer, un parcours vaccinale terminé est  concideré comme protecteur au plus tôt à partir de 7 jours apres la date de la derniere injection.
https://distribution.dcc-rules.de/rules/FR/4d1ff7f7a52eb59e4f93752c227a09e2d1e6748fcdb32fa67ad1e9c4686f1147
Im not sure why CovPass is not checking correctly maybe it using the 2/2 instead of 3/3

@thomasaugsten
Thanks for your answer!
I see, I will open the issue in the CovPass repo then.

Im not sure why CovPass is not checking correctly maybe it using the 2/2 instead of 3/3

The user removed the 2/2 cert and still got the same valid message, I will raise the issue in the CovPass repo.
FYI @timokoenig

Closing this issue in favour of https://github.com/Digitaler-Impfnachweis/covpass-ios/issues/76.

The CWA is here correct.
France has the clear rule independent of 2/2 or 3/3.
The vaccination is valid after 7 days.

No, this is not the case. The French Government states:
"Le rappel vaccinal est-il obligatoire pour avoir un "pass sanitaire" valide?
[...]
Toutes les personnes qui font leur rappel disposeront d’un nouveau QR Code, qui deviendra valide 7 jours après leur injection s’il s’agit d’une deuxième dose, ou immédiatement s’il s’agit d’une 3e dose ou plus."
In English: "Is the booster vaccination required to have a valid sanitary pass? [...] All people who receive their booster dose will receive a new QR code which is valid 7 days after their injection if it was their second dose, or immediately if it was their third dose at least."
https://solidarites-sante.gouv.fr/grands-dossiers/vaccin-covid-19/je-suis-un-particulier/dose-de-rappel-covid19


Cast padding to int to prevent PHP warning

If the padding is left blank in the settings for an Increment field, then when an entry containing the field is created or edited, the following PHP warning is shown:
str_pad() expects parameter 2 to be long, string given

Casting the padding value to an int removes this warning when it is left empty.

Also should check for ElementType when checking for postDate since only Entry ElementTypes have a postDate. This allows the Increment fieldtype to be used with other ElementTypes, including custom ones.


API to export test results CSV

We’d like to feed the historical test results into the next test cycle in order to adjust the test parameters dynamically based on the past test performance.
The TestResultsAnalyzer plugin page provides a button to export and download the results in a CSV file, but we’d like to do it without human intervention.  Is there a plan to implement an API (preferably in REST) to export the results?  Or if there is a workaround to achieve this, we’d like to know.

Same issue / requirement.. @yamamoo  Please let me know if you had found a solution for the same


Update traffic-analytics-schema.md

Correction of NTANetAnalytics Schema.

accepting approval from @halkazwini as sign-off.


[WIP] Add default policy profiles to new container providers

Depends on: #7966
cc @simon3z

@miq-bot add_label wip, providers/containers, control

@gtanzillo @jrafanie is this an acceptable way to add ootb policy profiles to container providers?

@miq-bot add_label wip

@moolitayer if the only reason for this to be WIP is because it's based on #7966, then please remove the tag. Thanks.

@moolitayer if the only reason for this to be WIP is because it's based on #7966, then please remove the tag. Thanks.

This is what I usually do when I have patch dependencies, is that wrong? Any way I'm removing wip for now and this is still based on #7966 (rebased & verified)
@miq-bot remove_label wip

@miq-bot add_label darga/yes, enhancement


Mitch gerdisch/self hosted support docs

Separated out the Quickstart steps from the main self-hosted page.
Added pages for the other self-hosted installation options:

ECS
EKS
AKS
Local Docker

@MitchellGerdisch thoughts on having an Installation nav item, with all your new pages under that and adjusting the language to use Install instead of Installer. and then a Components nav item, and but the service, API, and so pages under that. with Intallfirst, followed by Components.
so....
Self-Hosted Pulumi Service
    Install
        AKS-Hosted Install
        ECS-Hosted Instal
        EKS-Hosted Install
        Local-Docker Install
    Components
        Pulumi API
        Pulumi SSO
        SAML SSO

@susanev yeah the flat structure isn't great. I'll make the changes as suggested.

theres something wrong here, when navigating to one of the pages in the components section, the parent closes; i can take a closer look tomorrow but sharing just in case you know whats up

fixed the component navigation issue.
didn't realize I needed to put "components" in a subfolder and have an _index.md file.

@MitchellGerdisch, @cnunciato has a pr up to make this available to you but there are a number of links in this pr that would break when it got over to docs. you can see more deets here: https://github.com/pulumi/pulumi-hugo/runs/5368430600?check_suite_focus=true

Closing in favor of #1119.


Orchestration Mediator Service (OMS) project setup

As a software engineer, I would like to have a separate project for the OMS so that I can implement APIs & services for it.
Acceptance Criteria

A VS solution with skeleton projects
A Dockerfile for running the service
A build script to build the the solution and the Docker container
Unit test projects

Closing due to redesign


Search for codelists

Search for codes and try to reconcile as a way of discovering codelists (see Ordnance Survey for inspo)
See https://github.com/etalab/csv-detective

I don't think we're going to get around to doing this.


[1.2.x] Scala 2.13.0 compiler bridge

Backport Scala 2.13.0 compiler bridge support.

To validate this pull request against other sbt modules, please visit this link.