Enhance security for user data season

Rabbit season

Failed Test
Failure Summary
Logs

Test$1GatewayTimeout
failure$1message: Failedfailure$1text: === RUN   Test$1GatewayTimeout    api$1test.go:67: Gateway timeout error--- FAIL: Test$1GatewayTimeout...
Logs ↗

Flaky Test
Failure Summary
Logs

---
---
---

[chromium] should display user profile information correctly.
The test timed out waiting for the expected text "User Profile" in the page, but it received an empty array instead.
Logs ↗

[chromium] should navigate to the dashboard after login correctly.
The test timed out waiting for the dashboard to be displayed after login.
Logs ↗

[chromium] should show the FAQ page correctly.
The FAQ page was not loaded correctly, and the title and heading were not found.
Logs ↗

[chromium] should return list of users correctly.
The API call to get the list of users failed with a 404 Not Found error.
Logs ↗

... and 3 more

View Full Report ↗ ⋅ Docs


Add Ukrainian, Russian, and Polish translations

More translations for the plugin.

@oandreyev Thank you for your contribution. v2.0.3 was release.


"No command specified" when trying to test a role on Suse

Hi,
I need to test a role on Suse and I get an error message when i do a molecule create:
	Successfully built dcc238ecad79
Finished building molecule_local/opensuse:latest
Creating container zabbix-agent-suse with base image opensuse:latest ...
Creating container zabbix-agent-suse with base image opensuse:latest ...
Traceback (most recent call last):
  File "/usr/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/molecule/cli.py", line 68, in main
    CLI().main()
  File "/usr/lib/python2.7/site-packages/molecule/cli.py", line 64, in main
    util.sysexit(c.execute()[0])
  File "/usr/lib/python2.7/site-packages/molecule/command/create.py", line 55, in execute
    self.molecule.driver.up(no_provision=True)
  File "/usr/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 148, in up
    command=container['command'])
  File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 120, in create_container
    return self.create_container_from_config(config, name)
  File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 131, in create_container_from_config
    return self._result(res, True)
  File "/usr/lib/python2.7/site-packages/docker/client.py", line 178, in _result
    self._raise_for_status(response)
  File "/usr/lib/python2.7/site-packages/docker/client.py", line 174, in _raise_for_status
    raise errors.APIError(e, response, explanation=explanation)
docker.errors.APIError: 400 Client Error: Bad Request ("{"message":"No command specified"}")

My configuration:
molecule.yml
docker:
  containers:
  - name: zabbix-agent-suse
    ansible_groups:
      - group3
    image: opensuse
    image_version: latest
    privileged: True

I've updated locally the file driver/dockerdriver.py by adding the following line (234):
RUN bash -c 'if [ -x "$(command -v zypper)" ]; then zypper install -y python sudo; fi'

So python and sudo are installed in the new molecule container, but don't know yet how to continue. Otherwise I would have created a pr.
_$ molecule --version
1.11.4

Any idea?

docker.errors.APIError: 400 Client Error: Bad Request ("{"message":"No command specified"}")

Hi @dj-wasabi, the error is telling you to specify a command for the container to run.
Some containers are baked with a command to run when the container is executed, others are not.  The opensuse container you are using does not have a command so it exits.
Your molecule.yml should contain a command.

docker:
  containers:
  - name: zabbix-agent-suse
    ansible_groups:
      - group3
    image: opensuse
    image_version: latest
    privileged: True
    command: /bin/bash # arbitrary command

RUN bash -c 'if [ -x "$(command -v zypper)" ]; then zypper install -y python sudo; fi'

This is a valid bug, and would appreciate a PR.


Preview cropped on mobile

First of all, thank you for this plugin as a mobile user.
I noticed this preview issue after app update. I'm currently on 1.7.4(167).
As you can see from the 2nd screenshot, the sides of image in preview are cropped to fill the screen lengthwise. And it can't be zoomed out to fit the screen. This example is in default theme.

masonry-3
preview

The same thing happens to me and I haven't been able to tweak the CSS


fix: es2015.core.d.ts document dots

Fixes #

@0o001 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree

From the Pull Request template:

** Please don't send typo fixes! **
Please don't send a PR solely for the purpose of fixing a typo, unless that typo truly hurts understanding of the text. Each PR represents work for the maintainers, and that work should provide commensurate value.


Invalid DN syntax (34) for user

When I try to connect, when logging with admin and password admin, I get :
Unable to connect to LDAP server ldap-host
--
Error: Invalid DN syntax (34) for user
  | Failed to Authenticate to server
Invalid Username or Password.

version: '2'

services:

  ldap-host:
    image: osixia/openldap:1.1.8
    networks:
      mynet:
    environment:
      - LDAP_ORGANISATION="My Company"
      - LDAP_DOMAIN=my-company.com
      - LDAP_ADMIN_PASSWORD=admin

  ldap-admin:
    image: osixia/phpldapadmin:0.6.12
    networks:
      mynet:
    ports:
      - "6080:80"
    environment:
      - PHPLDAPADMIN_LDAP_HOSTS=ldap-host
      - PHPLDAPADMIN_HTTPS=false

networks:
  mynet:
    driver: bridge
    ipam:
      config:
        - subnet: <IP_ADDRESS>/16
          gateway: <IP_ADDRESS>

I get the exact same error. Did you manage to find out the problem?

yes @deancarr , this is how I managed :
1. Create a network for ensure communication between openldap-mydomain and lam-mydomain
docker network create ldap-network
2. Create the containers
docker run -p <IP_ADDRESS>:389:389 -p <IP_ADDRESS>:636:636 --name openldap-mydomain --net ldap-network --env LDAP_ORGANISATION="mydomain" --env LDAP_DOMAIN="mydomain.com" --env LDAP_TLS=false --restart=always --detach osixia/openldap:1.2.0
docker run -p <IP_ADDRESS>:8080:8080 --name lam-mydomain --net ldap-network  --restart=always --detach computersciencehouse/ldap-account-manager
3. Check if containers are running
docker inspect openldap-mydomain | grep Status
docker inspect lam-mydomain | grep Status
If "Status": "running" is returned, then your docker installation is running
4. Check if the openldap structure is created
docker exec openldap-mydomain ldapsearch -x -H ldap://localhost -b dc=mydomain,dc=com -D "cn=admin,dc=mydomain,dc=com" -w admin | grep result
If result: 0 Success is returned, then the open ldap structure is right.
docker network create ldap-network
2. Create the containers
docker run -p <IP_ADDRESS>:389:389 -p <IP_ADDRESS>:636:636 --name openldap-vpx --net ldap-network --env LDAP_ORGANISATION="VPX" --env LDAP_DOMAIN="valpharmex.com" --env LDAP_TLS=false --restart=always --detach osixia/openldap:1.2.0
docker run -p <IP_ADDRESS>:8080:8080 --name lam-vpx --net ldap-network  --restart=always --detach computersciencehouse/ldap-account-manager
3. Check if containers are running
docker inspect openldap-vpx | grep Status
docker inspect lam-vpx | grep Status
If "Status": "running" is returned, then your docker installation is running
4. Check if the openldap structure is created
docker exec openldap-vpx ldapsearch -x -H ldap://localhost -b dc=valpharmex,dc=com -D "cn=admin,dc=valpharmex,dc=com" -w admin | grep result
If result: 0 Success is returned, then the open ldap structure is right.

@xero88 thanks for the quick reply and detailed explanation.
I am using Kubernetes, and was able to login successfully using the following user;
CN=admin,DC=example,DC=org
The mistake was in taking the credentials to be literally admin/admin, when in fact the user is a LDAP query. Something which I have recently began looking at.
Thanks,
Dean.


Update cats-helper to 3.0.2

Updates com.evolutiongaming:cats-helper from 3.0.1 to 3.0.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "cats-helper" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #145.


move.py - make conditions if md5 sidecar already present

Perhaps do a verify first, rather than create a new manifest?

Destination check is present, and a file count check is present for the source manifest, but an overwrite option should be present for the source manifest.

The more I think about it, any overwriting of source manifest is a terrible idea.

A faulty source manifest check is present, and no re-writing of source manifest was ever implemented.


chore(deps): upgrade jenkins-x/jx3-pipeline-catalog to version 3.2.255

from: https://github.com/jenkins-x/jx

/close


fix Issue 11414 - druntime should run debug unittest

change druntime's makefile structure to match phobos
define ROOT folder as generated/$(OS)/$(BUILD)/$(MODEL)
unittest rule recursively invokes debug/release unittest
factor out common.mak from test/*/Makefile and test debug/release

Issue 11414 – druntime should run debug unittest

requires https://github.com/D-Programming-Language/phobos/pull/3478

Druntime debug tests will fail until Issue 14779 – incorrect addressing of arguments in require/in-contract gets fixed.

This will pass now when the phobos change is merged.
It's a shame that we still can't specify interrepo dependencies of PRs for the auto-tester.

Unfortunately, it looks like this broke the build on FreeBSD:
https://github.com/D-Programming-Language/druntime/pull/1322


Tooltip width decreases on multiple hovers.

If you hover on a tooltip multiple times the width changes and gradually gets smaller and smaller.

the reality of a user doing the above seems absurd, but figured it's worth posting :stuck_out_tongue_closed_eyes:

+1

It looks like https://cdnjs.cloudflare.com/ajax/libs/jquery.tipsy/1.0.2/jquery.tipsy.js includes $tip.css({width: (actualWidth - 10) + 'px'}); but this repository doesn't have that line (and I couldn't find any commits that removed it, not sure where it came from).
I would be best to get a newer version up on https://cdnjs.cloudflare.com

Sorry, is this repo still active?

Nope.  The latest version on Bower is still v1.0.0a.
@jaz303 can we manage to create a new release for this repo? Cause the v1.0.0a uses a gif image to draw the arrow which is really annoying to me.

The most updated version I've found is https://github.com/CloCkWeRX/tipsy. There is some more info at https://github.com/jaz303/tipsy/pull/135


make monorepo

Dependencies should be specified in subpackages, root only needs to have lerna. Also, we need a "lerna build" and "lerna test" scripts in the root that play well with CI, and we also need a "nohoist" exception for the datetime plugin, because safe-factory-wrapper accesses it by path in node_modules.
I went ahead and added the necessary fixes, and also updated polywrap code to 0.7.0.
In the future if we decide to make "safe-factory-wrapper" depend on "safe-contracts-wrapper", we should avoid relative paths like "../safe-contracts-wrapper/build" and instead use yarnWorkspace hoisting by specifying "safe-contracts-wrapper: *" in package.json and


commands: fix typo in rmwatch

Fix typo

self.size is not a member variable of RemoveWatchpointCommand. So, accessing self.size rises a exception every time and rmwatch command doesn't work properly.

/azp run


[NEW FEATURE] Weight Handling

Ngmix requires variance maps (or inverse variance maps, I can't ever remember which) as input.  Theli weights need to be rescaled by the inverse sky variance.  Megapipe weights are mysterious, so non-zero pixels are set to 1 then scaled by the inverse background variance.  This inverse variance is currently calculated per postage stamp.  I think this should be updated to the sextractor value (which should be already present in the psfex run) in the vignet step.  Also, we need to find out what the megapipe weights actually contain.

I found this "The values of a weight map pixel is proportional to the inverse of the variance of that pixel in the main image."  This documentation is for an older version of megapipe when cfht had 36 ccds, but I don't think it would have changed.  Time to email Stephen Gwyn to make sure.

from Stephen Gwyn "The weight images for the individual images are, strictly speaking, masks (0 or 1)"

What ngmix needs are inverse variance weights.
Those maps can almost be created for free with the pipeline as it is. The procedure that is used to get the background can be apply to creates an rms map. Basically by just adding BACKGROUND_RMS to the list of CHECKIMAGE_TYPE. Then just like we do with the background, the pipeline can creates postage stamp with the vignet_maker. Finally there will be a little bit of work in the ngmix_runner to read thos files as input and compute the 1/(BACKGROUND_RMS)^2 which should be very easy to do.
Side note: I just noticed that SExtractor can actually produce a background subtracted image by adding -BACKGROUND to the list of check images. We could consider doing that instead of computing it in the ngmix_runner. Results should be identical though.


LHN -  Changing priority  to #focus mode doesn't reflect the changes in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app and login
Tap on profile icon
Go to preferences > priority mode > change to #focus
Go back to LHN

Expected Result:
User is able to activate #focus mode - only conversations with unread, draft or pinned messages are seen
Actual Result:
Setting #focus mode won't change anything in LHN
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.14-0
Reproducible in staging?: Yes
Reproducible in production?: No
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/140446965-b1e0a8cd-0a45-49b6-af51-fe610206a96c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Triggered auto assignment to @iwiznia (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Could this please be retested on https://github.com/Expensify/App/pull/6084? I believe there is a chance it is already solved there.

@kavimuru can you retest? The fix is already deployed to staging https://github.com/Expensify/App/pull/6240#issuecomment-962035245

I'm still able to reproduce this issue in 1.1.14-1

The should be fixed in 1.1.14-2. Feel free to retest and close the issue if its been resolved.


Is any way to parse a date string base on this year

Default _DateBuilder base on 1970, is any way to change year of _DateBuilder?
final fmt = new DateFormat.MMMd();
  print(fmt.parse('Feb 29'));//1970-03-01 00:00:00.000
  print(fmt.parseStrict('Feb 29'));
// dart_sdk.js:5145 Uncaught Error: FormatException: Error parsing Feb 29,
//invalid day value: 29. Expected value between 1 and 1.
//Date parsed as 1970-03-01 00:00:00.000

I don't think there is a good solution to this - specifying month and day just isn't enough to specify a DateTime, as shown by your example. If you expect a date of the form MMMd, I would append a leap year, for example DateFormat('MMM d yyyy').parse('Feb 29 2016'). Take care of choosing a leap year, which can be determined through an algorithm.
The DateFormat in this package is for locale-specific dates; for simple fixed date parsing and formatting, consider using package:convert instead.


Updated validations.py python script Closes: #1

Updated validations.py python script.
Fixed the behaviour of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Updated validations.py python script.


Infrastructure: Fix MacOS support

Based on discussions in https://github.com/docker/for-mac/issues/7168#issuecomment-1935284120 and https://github.com/kubernetes/minikube/issues/17700 it is clear that systemd is our enemy.
Default behavior of systemd is, for some reason, to perform destructive operations on /proc/sys/fs/binfmt_misc, and we ultimately lose /proc/sys/fs/binfmt_misc/rosetta, which means no more emulation.
This systemd behavior destructively interferes all the way up to the docker vm host. It will literally brick host MacOS docker rosetta support until docker is restarted:
$ docker run --platform linux/amd64 -it --rm --privileged ubuntu:latest bash
exec /usr/bin/bash: exec format error

It is no surprise this also bricks our inner docker support.
Removing the files inside /lib/binfmt.d has the behavior of disabling the binfmt_misc systemd service. This just removes some python3.12 binfmt_misc config, that doesn't seem to have any impact that affects us.

CC @adamdoupe who may be interested in unrelated binfmt_misc infrastructure changes soon. Just want this to be on your radar, probably we can find another solution that works for both.

@ConnorNelson Thank you for looking into this, I'll try building the branch and see if I have any errors.

Progress but still fails at the end. Gets past all the installation steps, and no longer crashes at what I mentioned in #555, however, fails while trying to get information regarding the KVM.
Adding the argument --device /dev/kvm to the run command does not fix the issue, and neither does running as admin both of which were suggested in other issues relating to Docker on MacOS.
Full Command:
docker run     --name dojo     --privileged  --device /dev/kvm   -v "${DOJO_PATH}:/opt/pwn.college"     -v "dojo-data-docker:/data/docker"     -v "${DATA_PATH}:/data:shared"     -p 22:22 -p 80:80 -p 443:443     -d     pwncollege/dojo

I am running on an M3 MacBook Air which should support hardware virtualization and nested virtualization.
Logs:
Sep 05 03:48:11 adfddad8b5eb dojo[13253]:  Container pwncollege-challenge-1  Starting
Sep 05 03:48:11 adfddad8b5eb dojo[13253]:  Container pwncollege-challenge-1  Started
Sep 05 03:48:11 adfddad8b5eb dojo[13253]:  Container sshd  Started
Sep 05 03:48:11 adfddad8b5eb dojo[13253]:  Container nginx-proxy-acme  Started
Sep 05 03:48:11 adfddad8b5eb dojo[13253]: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory
Sep 05 03:48:11 adfddad8b5eb systemd[1]: pwn.college.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 03:48:11 adfddad8b5eb systemd[1]: pwn.college.service: Failed with result 'exit-code'.
Sep 05 03:48:11 adfddad8b5eb systemd[1]: Failed to start pwn.college.service - pwn.college docker compose service.```

I haven't quite had time to investigate why workspace-builder still doesn't correctly finish running with these changes. If you want to investigate you can check out docker logs -f workspace-builder with this commit. For some reason we get IO errors.

I am a little out of my depth trying to diagnose this but tried looking into it, found out that it most likely has something to do with auto-optimise-store = true in the nix conf file.
Taking it out of the file gets rid of the IO errors but that leads to error: creating file '/out/nix/store/lndzdn1x3n06fpjlbabgxqfaml2n6gj2-linux-headers-6.7/include/linux/netfilter/xt_connmark.h': File exists.
The underlying problem that caused the IO errors are likely still there but taking out the optimize store line causes it to either crash before it gets to where the IO errors occurred or it just doesn't try to create the links that caused the IO errors
Most issues in the nix repo about similar errors have either been closed or fixes have been merged so not sure what's going on here.
Theoretically, setting filter-syscalls to false should have fixed what was happening but apparently not.


Two files translated

@khaosdoctor , @danilofuchs , @orta
I just started translating, so more translations coming soon.

@herculesgabriel Thanks a lot for the contribution! Please take a look at #815 and #814 as some files you translated have already been translated by those PRs :)
If possible, check and state which file you'll pickup to begin translation in #233
One last thing, since you're creating a partial PR, can you please convert it back to draft? So we can analyse it once it's done?

Poke @herculesgabriel

I'm so sorry for this huge delay. I got really busy last week. I'm pretty new at this too, so I'll try hard. Thank you for the help.

I'm not being able to convert it back to draft for some reason

I think that's because it's conflicting, can you resolve those, please?


RX100 M4 - On/OFF Issue

When you hit Start - to start the time lapse - The camera switches OFF and ON and no pictures are taken. I believe this issue was reported in the past by someone else - It is doing it again on the latest release. Here's the contents of the log file
[INFO] Hello World
[INFO] onCreate
[INFO] onResume
[INFO] 0
[INFO]   Remaining Time: -177197
[ERROR] java.lang.RuntimeException: burstableTakePicture() failed
at com.sony.scalar.hardware.CameraEx.native_burstableTakePicture(Native Method)
at com.sony.scalar.hardware.CameraEx.burstableTakePicture(CameraEx.java:1033)
at com.jonasjuffinger.timelapse.ShootActivity.J(SourceFile:201)
at com.jonasjuffinger.timelapse.ShootActivity.g(SourceFile:20)
at com.jonasjuffinger.timelapse.ShootActivity$1.run(SourceFile:61)
at android.os.Handler.handleCallback(Handler.java:672)
at android.os.Handler.dispatchMessage(Handler.java:93)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
[INFO] Hello World
[INFO] onCreate
[INFO] onResume
[INFO] 0
[INFO]   Remaining Time: -85407
[ERROR] java.lang.RuntimeException: burstableTakePicture() failed
at com.sony.scalar.hardware.CameraEx.native_burstableTakePicture(Native Method)
at com.sony.scalar.hardware.CameraEx.burstableTakePicture(CameraEx.java:1033)
at com.jonasjuffinger.timelapse.ShootActivity.J(SourceFile:201)
at com.jonasjuffinger.timelapse.ShootActivity.g(SourceFile:20)
at com.jonasjuffinger.timelapse.ShootActivity$1.run(SourceFile:61)
at android.os.Handler.handleCallback(Handler.java:672)
at android.os.Handler.dispatchMessage(Handler.java:93)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
[INFO] Hello World
[INFO] onCreate
[INFO] onResume
[INFO] 0
[INFO]   Remaining Time: -93275
[ERROR] java.lang.RuntimeException: burstableTakePicture() failed
at com.sony.scalar.hardware.CameraEx.native_burstableTakePicture(Native Method)
at com.sony.scalar.hardware.CameraEx.burstableTakePicture(CameraEx.java:1033)
at com.jonasjuffinger.timelapse.ShootActivity.J(SourceFile:201)
at com.jonasjuffinger.timelapse.ShootActivity.g(SourceFile:20)
at com.jonasjuffinger.timelapse.ShootActivity$1.run(SourceFile:61)
at android.os.Handler.handleCallback(Handler.java:672)
at android.os.Handler.dispatchMessage(Handler.java:93)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
[INFO] Hello World
[INFO] onCreate
[INFO] onResume
[INFO] 0
[INFO]   Remaining Time: -107031
[ERROR] java.lang.RuntimeException: burstableTakePicture() failed
at com.sony.scalar.hardware.CameraEx.native_burstableTakePicture(Native Method)
at com.sony.scalar.hardware.CameraEx.burstableTakePicture(CameraEx.java:1033)
at com.jonasjuffinger.timelapse.ShootActivity.J(SourceFile:201)
at com.jonasjuffinger.timelapse.ShootActivity.g(SourceFile:20)
at com.jonasjuffinger.timelapse.ShootActivity$1.run(SourceFile:61)
at android.os.Handler.handleCallback(Handler.java:672)
at android.os.Handler.dispatchMessage(Handler.java:93)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)

Thank you for reporting. I already know of this issue, I was very busy the last month but I hope to find time in the near future to look into it.

What is weird, is that it was working and then I updated to the new v.3.3 and this camera On/Off error started happening. So I went back to the v3.2 and no luck at all. Then I tried basically all versions 3.1, 3.2 and 3.3 and they do the ON/OFF. I really liked your app for it's simplicity and would rather pay you for this app than Sony. I hope you can resolve this.

Ok that is really weird

Here's what I found and kind of resolved the issue
For RX100 M4

The silent shutter needs to be disabled or unchecked in the app - It would be nice if this was on the same tab/page as the rest of the settings
The app will not run if you are set or self time or continous shooting - Only Single shoot will work.

So far it's running ok

Thank you for that finding!
I will try to change this settings directly in the app, so that the user doesn't have to do it.

Jonas,
Thank you for making the app. Here's some recommendations

Update the Readme with this issue - if you are unable to update the app currently
In the future versions
a) Make the silent shutter option on the same page as the time lapse settings - One tab for everything
b) Have it unchecked by default
c) I don't know how to resolve the "If self timer/continous setting is enabled, then deactivate it for TimeLapse app or how to show an error if it is active"

Other than that - Your app is much better than the Sony TimeLapse app for sure - simple and gets the job done without the unnecessary flashy shit


chore: fix storybook build

Not sure why Chromatic fails building this, it works just fine locally. I'll merge anyway.

:tada: This PR is included in version 1.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Feat: Use duckdb as backend instead of sqlite

This PR switches the backend to use duckdb.
Benchmarking:
Running tests using DuckDB backend
pytest  40.40s user 7.76s system 196% cpu 24.544 total
Running tests using Sqlite3
pytest  39.02s user 10.77s system 97% cpu 51.043 total

Resolves issue #59

It looks like duckdb isn't consistent about the ordering even when it's called the same way, I think that's going to cause bugs in peoples code.
I'd suggest that we order the results before returning them.
I also want to discuss scope of this a bit, but will continue that in #58

I'm going to merge this an open an issue to discuss ordering


Indexed fields from superclasses

Hi everyone,
in some of our projects we use redis-om-spring (version 0.6.4) to store our data in a redis stack container. We "converted" those projects from using spring-data-redis. Most of the conversions went fine, but in one project we ran into a problem.
The classes we want to store (which are annotated with "Document") all inherit from one abstract superclass. This superclass contains the "Id"-Field and all "Indexed"-fields. The "RediSearchIndexer" can/does not create the indices "because Fields arguments are missing".
As far as i understand the cause of this problem might be a specific loop in method "createIndexFor": for (java.lang.reflect.Field field : cl.getDeclaredFields())
Since "getDeclaredFields" is used instead of "getFields", fields of superclasses are "excluded" (as far as i understand).
Would you please provide support for Id, Indexed and Searchable fields in superclasses.
Regards
Michael

@zUniQueX so this in on main but will have to be backported to 0.7.x, I have a backlog for backporting.

@bsbodden I don't know, if I understand you correctly here. Shall I backport this change (and maybe my other PRs) or will you do this?

@bsbodden I don't know, if I correctly understand you here. Shall I backport this change (and maybe my other PRs) or will you do this?

If you have the cycles to do so, that'll be great. I have a long list to work off, so any help will be appreciated.

If you have the cycles to do so, that'll be great. I have a long list to work off, so any help will be appreciated.

I've just opened #223.
Looks like one test is flaky. However, it was so before.

If you have the cycles to do so, that'll be great. I have a long list to work off, so any help will be appreciated.

I've just opened #223.
Looks like one test is flaky. However, it was so before.

Which test is it? I had that was flaky but hasn't given me issues lately.

If you have the cycles to do so, that'll be great. I have a long list to work off, so any help will be appreciated.

I've just opened #223.
Looks like one test is flaky. However, it was so before.

Which test is it? I had that was flaky but hasn't given me issues lately.

IIRC there were three unstable test cases in the OpsForSearchTest.


WIP: Fixed notify and config-1.17.php.j2

A notify hander fix in roles/ssp/tasks/configure-common.yml
Fix config-1.17.php.j2 template file.

About `configure-common.yml
ERROR! The requested handler 'restart apache' was not found in either the main handlers list nor in the listening handlers list

About config-1.17.php.j2

 Ansible FAILED
TASK [ssp : Configure SSP] ***************************************************************************
task path: /........../rciam-deploy/roles/ssp/tasks/configure-common.yml:44

<snf-xxXxx.ok-kno.grnetcloud.net> ESTABLISH SSH CONNECTION FOR USER: debian
[...]

fatal: [snf-xxXxx.ok-kno.grnetcloud.net]: FAILED! => {
    "changed": false,
    "msg": "AnsibleUndefinedVariable: list object has no element 1"
}

I think the problem is here devel/roles/ssp/tasks/configure-common.yml.
If I remove this devel/roles/ssp/templates/config/config-1.17.php.j2 from the template:
{% if ssp_memcache_store_servers is defined %}
    'memcache_store.servers' => [
{% for group in ssp_memcache_store_servers %}
        [
{% for host in group %}
            [
                'hostname' => '{{ host }}',
                'timeout' => 1,
            ],
{% endfor %}
        ],
{% endfor %}
    ],
{% endif %}

The role seems to be running smoothly, but we need to better investigate what the problem is here.

config-1.17.php.j2 need at least 2 entries in rciam-deploy-inv/eosc-portal-demo/hosts.ini for example :
[cache]
snf-1.ok-kno.grnetcloud.net
snf-2.ok-kno.grnetcloud.net


Include package variant with optimization for x86-64-v3

Include a variant on linux-64 and win-64 that has optimizations for the x86-64-v3 feature level. This variant includes optimization that use the AVX and AVX2 instructions set. This variant is restricted from being installed on incompatible system via a dependency on the _x86_64-microarch-level >=3 package.

Note that that the _x86_64-microarch-level` package is on output of https://github.com/conda-forge/microarch-level-feedstock.

Can you reopen the PR

Certainty. Is there a preferred branch naming scheme?

Can you reopen the PR

Certainty. Is there a preferred branch naming scheme?

If there is a corresponding jira ticket, we usually add that as a branch name or in the PR description.
But here that's fine.

CLosing in favor of https://github.com/AnacondaRecipes/llama.cpp-feedstock/pull/8


fix: Notification to waiting clients during drop

Following up with @djc's intuition (re: https://github.com/djc/bb8/pull/194) -- I noticed that the final call to spawn_replenishing_approvals(approvals) is incomplete due to empty approvals and returns early after several attempts to put_back keeping 5 connections waiting. Due to this, the call stack doesn't reach pool.notify.notify_one() at the end, and the pool.notify.notify_one() invocation at every connection polling (i.e.) also fails.
However, instead of adding pool.notify.notify_waiters() in put_back() which makes it redundant, replacing pool.notify.notify_one() in PoolInternals::put to pool.notify.notify_waiters() (no permit is stored to be used by the next call to notified().await) solves this. I tested with the same test case (shown below and already included in the main branch) provided by @xortive
#[tokio::test]
async fn test_broken_connections_dont_starve_pool() {
    use std::sync::RwLock;
    use std::{convert::Infallible, time::Duration};

    #[derive(Default)]
    struct ConnectionManager {
        counter: RwLock<u16>,
    }
    #[derive(Debug)]
    struct Connection;

    #[async_trait::async_trait]
    impl bb8::ManageConnection for ConnectionManager {
        type Connection = Connection;
        type Error = Infallible;

        async fn connect(&self) -> Result<Self::Connection, Self::Error> {
            Ok(Connection)
        }

        async fn is_valid(&self, _: &mut Self::Connection) -> Result<(), Self::Error> {
            Ok(())
        }

        fn has_broken(&self, _: &mut Self::Connection) -> bool {
            let mut counter = self.counter.write().unwrap();
            let res = *counter < 5;
            *counter += 1;
            res
        }
    }

    let pool = bb8::Pool::builder()
        .max_size(5)
        .connection_timeout(Duration::from_secs(10))
        .build(ConnectionManager::default())
        .await
        .unwrap();

    let mut futures = Vec::new();

    for _ in 0..10 {
        let pool = pool.clone();
        futures.push(tokio::spawn(async move {
            let conn = pool.get().await.unwrap();
            drop(conn);
        }));
    }

    for future in futures {
        future.await.unwrap();
    }
}

Sorry, I still don't completely understand why this is necessary. Why doesn't my call stack in https://github.com/djc/bb8/pull/194#issuecomment-2041180473 hold? If something is returning an empty approval iter in a state where that is not sufficient, why is that? Pointing at an existing test case doesn't help me because that test already passes today.


Integrate in the Open MCT visualizer the network ping performance

@nunoguedelha commented on Tue Jul 06 2021

@nunoguedelha commented on Thu Aug 12 2021
Ciao @S-Dafarra , how do you usually evaluate the ping performance of the network when running the walking demo for the XPrize, just doing a ping on the yarp server host and averaging the scores or do you use some script?

@S-Dafarra commented on Thu Aug 12 2021

Ciao @S-Dafarra , how do you usually evaluate the ping performance of the network when running the walking demo for the XPrize, just doing a ping on the yarp server host and averaging the scores or do you use some script?

In the dumbest possible way. We simply run ping <IP_ADDRESS>. We are interested in visually keeping track of the connection status of the icub-head when this is connected via Wi-Fi. Because of external events, the communication may start lagging for example. With the ping we simply keep track of it. We use no scripts

@nunoguedelha commented on Thu Aug 12 2021
An averaged set of 10 pings every second could be way to monitor the performance in a graph, looks fine to you? It can also be parameterizable (1: lenght of the set/batch of pings for computing the average; 2: priod between batches), and with a default value.

@S-Dafarra commented on Fri Aug 13 2021
As you find more appropriate

Create an RPC interface for triggering the ping command
The final intent is to enable the ON/OFF toggling of the ping through a button on the web client control console. For security reasons, system commands cannot be run directly from a browser client page. Thus we create in the telemetry server an RPC interface for triggering those system commands, using the available YarpJS bindings.

I actually implemented the ping in a class such that in the future we can easily switch to using node-to-ping instead of spawn('ping') if necessary. It is something we could try, typically if we have portability issues with the command ping.

On the RPC interface for triggering the ping command

Create an RPC server for running system commands.
Handle 'pingON' amd 'pingOFF' command requests.pingON <wait-time> <host-IP-address>
pingOFF

The wait time is the time between emitted ping packets, which default is 1 second. The host target will be typically the Yarp server. The commands are processed in the onRead RPC callback. The incoming string is parsed into the command (cmdArray[0]) and parameters (cmdArray[1..2]), which are processed in the local function startStopPingOnSelectedServer().
startStopPingOnSelectedServer():

Check for errors in the command.
Define the ping process callbacks for the "error" and "close" events, and for the subprocesses "stdout" and "stderr" output stream.
Reply to the incoming RPC message ('<portHandle>.reply()') with eventual errors from the session start/stop procedures.

Create a wrapper class 'PingHandler' which implementation:

invokes the 'spawn' method,
wraps the 'ping' process spawn and kill through the session start/stop methods,
wraps the 'ping' callbacks mentioned earlier.
Uses the 'querystring' packet to parse the 'ping' output (keep only the round trip time).

Notes

'spawn()' returns the started process handle. The process can be killed through
.kill().
!! Special characters like '[]!:' are not properly handled by the 'reply()'
function !!
!! Use a copy of 'this' inside the 'on-close' callback because 'this'
refers to the ping process  !!

Generate asynchronously the Telemetry samples from the returned data

Added 'ping' to the telemetry history buffer and refactored 'generateTelemetry()' prototype to a more generic format.
Call icubtelemetry.generateTelemetry() with the 'ping' returned round trip time data instead of sending the data to the console log.

Realtime and history samples are ready to be sent to the OpenMCT visualizer at request.

Plot the ping measurement on the OpenMCT Visualizer and add the ping ON/OFF button on the console
The steps are listed below:

Add ping measurement to the iCub telemetry dictionary.
Add ping 'toggle ON/OFF' button to the control console.
Handle toggling of ping button.

Further details are added directly to the commits.
Implemented in .

Implementation completed

Moved to "done", just for the board overview during the meeting of tomorrow.


Better website

I'm thinking of using Middleman so they can just be static pages, regenerated at the same time as the charts.

NTS: remove jQuery. Make list items into links to allow no-JS usage.


Add submit claim flow [for discussion]

This PR introduces an alternative 'submit a draft claim' flow.
When a school user clicks on a claim in their claims list, we show the claim details (regardless of status: draft or submitted).
This means:

we always show the same thing to the user
we follow a common pattern - the list > details flow matches claims, mentors and users lists across the school user and the support user interfaces, as well as in the Manage school placements, Publish teacher training courses and Manage teacher training applications services
users don't have to know why one claim page looks different from another
users can decide what to do next - we don't assume intent (submit vs view)

If the claim has the submitted state, we show the claim with no change links.
If the claim is in draft state, we show a ‘Submit claim’ button below the heading, a summary list with change links, and a ‘Remove claim’ link at the bottom.
Selecting ‘Submit claim’ takes the user to a check your answers page, including change links, with the declaration and a ‘Submit claim’ button at the bottom. It serves as a double confirmation.
Once submitted, we show the claim confirmation page. The user can select ‘View claims’ or ‘Claims’ in the primary navigation. We show the most recently submitted claim at the top of the school’s claims list.
The downside of this approach is that we have partly duplicated screens (the summary lists with change links).
A mitigating factor in private beta is that support users do not want to create claims on behalf of schools, and we don't have a paper-based claim process that requires them to do so. Furthermore, schools can't create draft claims or edit submitted claims. This means this flow is not often seen.

 Editing and submitting draft claims


The following actions will be applied when the URL starts with starts.with.this:

Can you add a new feature that lets you change a tab that starts with, for example, www.youtube.com?
When I add a rule to change the tab of "www.TabRuleURL.com" and visit any site and add "www.TabRuleURL.com" at the end, for example, "www.facebook.com/www.TabRuleURL.com" the extension thinks that it's the same site and changes the tab based on the rule I made for "www.TabRuleURL.com"
Thanks in advance

Hi @HatisEm,
This is an expected behavior because www.facebook.com/www.TabRuleURL.com contains www.TabRuleURL.com.
Sometimes you want this behavior so I can't change it.
If it fits your needs, you can set a more accurate URL matcher like http://www.TabRuleURL.com.
Otherwise, there is a feature idea such as: the user may choose the URL matcher type:

Starts with
Contains
Ends with

I keep this feature in mind but I won't change the default behavior "contains" for the moment.
Thank you for your report.
Bests

Finally available in 0.15.0.


compiling instructions ?

I have created my own fork and merged the 3 pull requests to it, I downloaded the code but I find zero instruction to compile it :(
Can someone help please, I'm not a dev

For future reference... it's just a case of loading into Visual Studio and asking it to build <3

Install Visual Studio 2019 Community Edition
Download the project files, or if cloning using Git remember to include sub-modules
Open the solution Larkator.sln in Visual Studio
Right-click the LarkatorGUI project and select "Set as Startup Project"

From this point you can start Larkator with debugging using F5 (or Debug -> Start Debugging menu)...
...or change build configuration from "Debug" to "Release" (in the toolbar) and Ctrl-Shift-B (or Build -> Build Solution) to build ready for sharing. You'll find the output in LarkatorGUI\bin\Release.


Fix pod disruption budget labels

Fix pod disruption budget labels

:+1:

:+1:

Changes Unknown when pulling f865836e8ae3d237b777b3b2272bab3de3d1c4c0 on fix-labels into ** on master**.


Make plots interactive?

Try ggplotly() to make interactive plots from current ggplot2 plots.

plotly is super buggy, it turns out—especially when it comes to ribbon plots with NAs.  Need to explore ggiraph and highcharter as alternatives.

Unfortunately, highcharter does not do ribbon plots.  So, we'd have to think of something else for the daily summary of temperature.


lab of documents

I am using MatchZoo 2.1 to training some models, and I have some questions. When I train the drmm model for document ranking, the label of documents in tutorial is either 0 or 1. I am wondering if I use the cross entropy loss, can I change the value to other value between 0 and 1 to represent different relevance of the document? I added some new documents with a label of 0.75 to wikiqa train set. However, DRMM model still could be trained. Why is this happening?

let me elaterate a little bit:
In Matchzoo, everything is configurable. Which means model could be used for classification (binary) or ranking (relevance degree), it's deppend on the task type.
To be more concrete, let's see DRMM model, line 88
x_out = self._make_output_layer()(flatten_score)

The output is based on the function called _make_output_layer, it's defined in engine/base_model line 508
    def _make_output_layer(self) -> keras.layers.Layer:
        """:return: a correctly shaped keras dense layer for model output."""
        task = self._params['task']
        if isinstance(task, tasks.Classification):
            return keras.layers.Dense(task.num_classes, activation='softmax')
        elif isinstance(task, tasks.Ranking):
            return keras.layers.Dense(1, activation='linear')
        else:
            raise ValueError(f"{task} is not a valid task type."
                             f"Must be in `Ranking` and `Classification`.")


Give user default permissions to .kibana__$(user_name)?

Hi team,
While investigating https://github.com/opendistro/for-elasticsearch-docs/issues/45, the question came up as to whether or not a user should have some default permissions to the .kibana_*_<user-name>* index that gets created when they log in.
Currently, users can log into Kibana the moment they get an account, but after logging in, they can't even create an index pattern due to this lack of permissions.
I'm not clear on whether there are any negative security tradeoffs to increasing the default permissions here, but it seemed like a reasonable conversation to have. Let me know what you think.
@elfisher @hardik-k-shah @shivdoshi

@aetter this is interesting. Are you thinking this basically ensures the user has access to their own tenant? Are you thinking of a seperate role or combining this with the kibana_user role?

Hi @eli, I was actually thinking about combining it with the own_user role (which gets mapped to * in the default configuration).

@aetter  Hi, how is this problem?
And I found a new problem... I created a new account called aaa_bbb, its corresponding kibana index is .kibana_-xxxxxxxxx_aaabbb. This happens even if I give it .kibana_*_$(user_name)* permission...beacause aaabbb != aaa_bbb...

Hi @scf0920, no changes on our end. If that's the case and we can't reliably refer to the name of the index using the variable, we likely want to keep the current behavior.
Maybe the better option is to display a message or banner in Kibana if the user has no permissions to do anything. @elfisher, do you have thoughts here? It's a little unfortunate to let people into Kibana and present them with a UI that they can't do anything with.

@aetter maybe we render a specific screen that says "no permissions configured" or something. @stevensideyliu thoughts?

@aetter @elfisher  I think this is a bug..
The same as the https://github.com/opendistro/for-elasticsearch-docs/issues/45, before the restart kibana, the someone has permission to search .kibana_xxxxxxxxx_someone, of course can also be configured index pattern.

But after the restart kibana, its corresponding kibana index has been migrated:

And this time we can't search .kibana_xxxxxxxxx_someone.

The whole process includes only a restart. I think it should not lead to lost the .kibana_xxxxxxxxx_someone permission.
Thanks.

ping  @aetter  @elfisher

Hi @scf0920, I'm able to reproduce the migration of .kibana_-2029640462_someone to .kibana_-2029640462_someone_1 and .kibana_-2029640462_someone_2, but .kibana_-2029640462_someone_2 gets aliased to .kibana_-2029640462_someone, just like in your screenshot.
So as long as someone has permissions to .kibana_-2029640462_someone (or ?kibana_*_${user_name}, I'm able to run searches on it before/after the restart.
I'm concerned that we're still not fully understanding your issue, so please let me know if I'm just not getting it.
I mean without the permission ?kibana_*_${user_name}, I'm not able to search after restart.
But the same does not have this permission, it can be searched before restarting.
I think there would have been the permission, after the restart, the ?kibana_*_${user_name} has been lost.
The whole process includes only a restart. I think it should not lead to lost the .kibana_xxxxxxxxx_someone permission. So I think this a bug, not you said that the increase of the tip.
And if solved the bug,  the new problem (new account aaa_bbb)will be readily solved.
I can solve the previous problem manually, but I can't solve the new problem manually, and I have the requirement with "_" in the name.
Thanks.

Hi @scf0920, unfortunately, I don't think we're making any progress on trying to reproduce your issue. Can you provide comprehensive, start-to-finish steps with the expected behavior and the actual behavior? I know it's tedious, but I think we need something very thorough to figure out what's going on, something like:
1. Save the following Docker Compose file to disk:

   some file

1. `docker-compose up`
1. Open Kibana
1. Click **Management**
1. Create an index pattern
1. `docker-compose down`
1. `docker-compose up`
1. Open Kibana
1. Click **Dev Tools**

Expected: the Management tab displays.
Actual: The following error message displays: asdf

Hi @scf0920 !
I realize it's been a while, but can you confirm that the main issue reported (https://github.com/opensearch-project/security/issues/31#issue-432642972) is still hindering you in the latest OpenSearch? If so, any additional information would be helpful, such as the reproduction steps @aetter asked for above.
Thanks!


Consider releasing on Bower

Would be helpful for anyone using WSK to add support for versioning.

Has anyone had more thoughts about this? Lets try to move this forward or close the issue since it's been opened for a year :) I guess we have the choice between:

Close and do nothing, people are happy using master directly (living on the bleeding edge) or use the GitHub API to get the latest tag.
Create a stable branch when we release 0.6.0

After thinking this over, I think the first of these options above makes the most sense. We're a boilerplate project meant to be forked and changed with your own versioning. Including our versions out of the box will (unfortunately) result in quite a few folks publishing projects that don't alter this info at all and that's probably not a great idea.
With respect to how other tools get us, I'm in favour of pushing a stable branch for other tools to use (but will strongly encourage them to use tags as that's far more reliable). We'll tackle this along with the 0.6.0 release.


Dependency (did-jwt-vc) loading incorrectly in Browser

Bug severity
3
Describe the bug
tktktk
To Reproduce
Steps to reproduce the behaviour:
tktktk
Observed behaviour
tktktkt
Expected behaviour
tktktk
Details
tktktk
Additional context
tktktk
Versions (please complete the following information):
tktktk

could not reproduce


Support policy for OData libraries

Add support policy document.

Support policy already merged with ODL 8 release notes PR.


Private repo

Is any way to download folder from private repository?

Be a member of the repo. "Private" is there for a reason.

The API being used to access it and build the ZIP is not. You’ll want to fork the project and run an instance yourself on the same repo.
On Sep 30, 2022, at 1:02 AM, bblaszkiewicz @.***> wrote:

But I am member of the repo.
From: UberGuidoZ @.>
Sent: Thursday, September 29, 2022 5:51 PM
To: MinhasKamal/DownGit @.>
Cc: bblaszkiewicz @.>; Author @.>
Subject: Re: [MinhasKamal/DownGit] Private repo (Issue #54)
Be a member of the repo. "Private" is there for a reason.
—
Reply to this email directly, view it on GitHub https://github.com/MinhasKamal/DownGit/issues/54#issuecomment-1262476151 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRL33MW2VBW7Q7MNFBPJ3DWAW3GTANCNFSM6AAAAAAQMD3WDM .
You are receiving this because you authored the thread. https://github.com/notifications/beacon/AJRL33PTWGUN7WJHJJJLICLWAW3GTA5CNFSM6AAAAAAQMD3WDOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSLH7NXO.gif Message ID: @.*** @.***> >
—
Reply to this email directly, view it on GitHubhttps://github.com/MinhasKamal/DownGit/issues/54#issuecomment-1263242597, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANWLT4ZIWGM4KPOGKYDMXMLWA2NCLANCNFSM6AAAAAAQMD3WDM.
You are receiving this because you commented.Message ID: @.***>

No issue here with Private Repos


TypeError: payload.replaceAll is not a function

Hi Steve,
I ran into this problem when I tried to use AI-Shell.

Updating node js up latest version solves the issue


[GoToolV0] Go 1.18 not available

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Bug
Enter Task Name:
GoToolV0
Environment

Server - Azure Pipelines or TFS on-premises?

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
xtp/Development/Pipelines/XTP.TCA.BenchmarkServer/

Agent - Hosted or Private:

If using Hosted agent, provide agent queue name:
Pool: Azure Pipelines
Image: ubuntu-20.04
Agent: Hosted Agent

Issue Description
https://storage.googleapis.com/golang seems to only contains up to go 1.17.4 binaries. Checking the offical page it seems that https://golang.org/dl/ should be used.
Therefore the following task definition is not working.
  - task: GoTool@0
    inputs:
      version: '1.18.0'

Task logs
Starting: GoTool
==============================================================================
Task         : Go tool installer
Description  : Find in cache or download a specific version of Go and add it to the PATH
Version      : 0.180.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/go-tool
==============================================================================
Downloading: https://storage.googleapis.com/golang/go1.18.0.linux-amd64.tar.gz
##[error]Failed to download version 1.18.0. Please verify that the version is valid and resolve any other issues. Error: Unexpected HTTP response: 404
Finishing: GoTool

Troubleshooting
Error logs

(FYI, I'm not on the Azure Pipelines Tasks team, I just also have interest in this build task. 🙂)
I tried out using GoTool@0 to get 1.18, and it worked for me. I think this is the issue:

version: '1.18.0'

If I change my version from 1.18 to 1.18.0, I hit the same failure you do. However, Go doesn't include the trailing .0 in its official toolset versions, and that makes the GoTool@0 task calculate the filename incorrectly. The real file is:
https://storage.googleapis.com/golang/go1.18.linux-amd64.tar.gz (works)
but the task tries to download:
https://storage.googleapis.com/golang/go1.18.0.linux-amd64.tar.gz
The task is pretty simple, using the version string you give it without any processing to find the URL: https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/GoToolV0/gotool.ts

I do think it would be reasonable for GoTool@0 to support 1.18.0 by interpreting it as 1.18 and downloading that, but maybe this will help you work around the problem for now until the Tasks team replies.

Related: https://github.com/microsoft/azure-pipelines-tasks/issues/15825

Because "1.18" sometimes means "latest version of go1.18*, maybe it should actually be handled that way, and 1.18.0 should just be a way to force the old version to be used.

I love the latest ability. And thanks for finding a workaround!


Update render_vis to render.render_vis

Comparing the README text here with the code in the Lucid Tutorial, looks like the README sample code might be out of date?
Arguably you could import lucid.optvis.render as itself or give it any other name. But, the example code also uses objectives.channel, so might as well use render.render_vis to make the examples here consistent with the colab tutorial and with how objectives is being used.
Note - I tested them all in the Lucid Tutorial. All ran except the example that was commented out because it failed to find param.rgb_sigmoid. Not sure what that's supposed to be instead?

Pull Request Test Coverage Report for Build 225

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 63.672%

Totals

Change from base Build 223:
0.0%

Covered Lines:
964

Relevant Lines:
1514

💛  - Coveralls

Naming is hard! ;-)


新版改动有点大，之前的multi_node.sh脚本已经移除，最新版本如何制定多卡进行lora预训练和微调呢

Reminder

[X] I have read the README and searched the existing issues.

System Info
CUDA_VISIBLE_DEVICES=3,7 accelerate launch
--config_file examples/accelerate/master_config.yaml
src/train.py examples/train_lora/llama3_lora_pretrain.yaml
Reproduction

Expected behavior
No response
Others
No response

https://github.com/hiyouga/LLaMA-Factory/tree/main/examples#supervised-fine-tuning-on-multiple-nodes


agrego comando test

@mbt1992 Please avoid submitting your pull requests for testing in the espressif/esp-at project. Instead, we kindly ask that you make them under your own mbt1992/esp-at project.
Thank you for your understanding and cooperation.


Add MongoDB 4.4 repository signing key.

Pull Request (PR) description
This change just add the repository signing key ID for MongoDB 4.4
This Pull Request (PR) fixes the following issues
n/a

Anybody willing to merge this? It's just the MongoDB 4.4 Apt repository key.

Any chance we get this released any time soon?

Any chance this gets released any time soon?

@dhs-rec it's just a matter of someone preparing a release pull request. Here is some info on how to do that: https://voxpupuli.org/docs/releasing_version/


Use URI references for Security Requirements and Tags in 3.2

Resolving component names used in referenced (as opposed to entry) documents is ambiguous, particularly in 3.1 where we advertise the ability to have a components-only document to use as a shared component library.  Historically, component names were resolved from the entry document, as reference targets were extracted from the document in which they were found without regard for the contents of the rest of the document.
In 3.1, whole-document parsing is required to properly implement the Schema Object, and there is a reasonable intuition that component names should be resolved within the document in which they appear.  This is at odds with the historical behavior, and one could argue that for Security Schemes in particular, it makes sense to treat them as part of the "deployment" aspect of things, which is arguably more relevant to the entry document.
For the Discriminator Object, the ambiguity can avoided by using the mapping keyword with unambiguous URI-references (meaning URI-references that are not syntactically valid as component names).  There is no similar workaround for the Security Requirement Object.
Adding a URI-reference mechanism for Security Requirements, whether by allowing $ref somewhere, or just allowing URI-references as keys in place of the current component names, will make it possible to write unambiguous security requirements.

There is a similar issue with tags.  While a tag doesn't need to connect to a Tag Object, it is similarly ambiguos as to which Tag Objects are "in scope", and any choice made makes it impossible to connect to whichever Tag Objects (or Security Scheme Objects) are deemed "out of scope."
I'm going to write a proposal on this to consider a couple of options holistically.

@handrews Security Requirement Objects could definitely use this. I'm actually okay with tags working this way. We could be more explicit that Tag Objects will be resolved in the order that all documents are resolved in the description and may be overwritten upon duplicate declarations. Linting can check for duplicates.

I'm going to take tags out of this, because they have challenges that Security Requirements do not, and (as @kevinswiber notes) are not as much of a problem.  See issue #3853 (Consolidated $ref-to-Some Object feature request) to track further thoughts on URI-references to Tag Objects (among others).


Appending list too many times crashes RustPython

Description:
In test.py, we define a empty list buf, and then we append a piece of code into the list with format i = buf. RustPython crashes.
test.py
def test_oneline_defs():
    buf = []
    for i in range(500):
        buf.append('def i{i}(): return {i}'.format(i=buf))
    buf.append('OK')

test_oneline_defs()

Reproduce:
run " rustpython test.py " and it reports:
memory allocation of 668423534 bytes failed
Aborted (core dumped)

Version: Rust Python 0.1.2 interpreter on Ubuntu 16.04

this code does not work even with cpython, after a while it is killed by the oom killer

I am going to close this by @andrew-ld


dbus: 1.12.20 -> 1.14.0

https://gitlab.freedesktop.org/dbus/dbus/-/blob/dbus-1.14.0/NEWS
the reproducibility patch is no longer needed,  also, it didn't work anymore anyways

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Also need to remove dbus patch from fprintd.

Looks like the catalog paths are broken, see https://github.com/NixOS/nixpkgs/pull/174043


[Bug]: Wood Dupe bug

General Info

[X] I didn't added any mods
[X] I get this issue consistently in single-player
[X] I get this issue consistently in multi-player
[ ] I am crashing and can provide my crash report(s)
[ ] I am using the latest version of the modpack

Your launcher
Curseforge
Modpack version
v3.1.31
Describe your issue
when you are making logs into planks you can get unlimited Cursed planks if you have axe
Steps to reproduce the issue
1.put bone axe in top middle of crafting table with no other item
2.it makes cursed planks untill the bone axe breaks.
3. ?????
4. Profit off unlimited wood.
Additional Information
i don't even have any cursed logs. i have some longs in a bundle that aren't cursed.

uploaded the wrong screen shot.


fix/release-typo

sorry for the pettiness :)

lol didn't even notice even with github diff!

😆

:tada: This PR is included in version 1.4.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Double cursor with Keyboard system

Describe the bug
When the Keyboard System is visible, a cursor appear with it (in addition to the application's cursor by default). When your gaze leave the keyboard, this cursor keep visible but you got the application's one with.
To reproduce
Steps to reproduce the behavior:
1 : Instanciate Keyboard system.
2 : Show the keyboard.
Expected behavior
One cursor at a time.
Screenshots
When you keep your cursor and your gaze on the keyboard :

When your cursor and your gaze leave it (The little white point come from the keyboard and the circle from the application):

Your Setup

Unity Version 2018.3.14f1
MRTK Version RC2.1

Target Platform

HoloLens

Tell me if you need more information !
Thank you

Followed up on this one internally, and it looks like we'll probably need to do some work to hide cursors when the system cursor is showing.
It looks like SpatialPointerPose::IsHeadCapturedBySystem is the way to know this information, so we'll probably need to do some other work here to incorporate this.

This problem continues to occur in HoloLens 2 + MRTK v 2.5.1.

Unity Version 2019.4.14f1
MRTK Version 2.5.1

The cursor appears on both the object and the keyboard when the hand gaze is on it.

It is doubly displayed, even near.

@MaxWang-MS possibly another keyboad bug to take a look at!

Any update on this?

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Switch to Go modules instead of dep?

Hi, first of all, I want to appreciate you for putting this together. I have myself built a website that serves data on the current coronavirus pandemic. So I'm glad there is a native package built in go.
I noticed you are using dep to manage your dependencies. I have not used dep before I only used the built in go modules which solves the same problem.
I was thinking that it might be good to use go modules instead of dep since its built directly into go and it is more like the "official" way to handle dependencies now.
dep was really useful when go modules were not around. But now go modules have come to solve the exact problem natively

sounds like a great idea, I will do that :)
thank you so much for the hint 🙏

Here is a link to an authoritative source on go modules just in case you need it:
https://github.com/golang/go/wiki/Modules

issue resolved :)


loadDataForUserAccount returning nil when restarted

Hi,
I am saving a key-value pair in a closure using Locksmith. Code is like below:

I see that only one key-value pair is being saved. Let's say I save ["last_name": "McDonalds"] first and save ["first_name" : "Ryan"] next. Then, I expect to see two different key-value pairs in Locksmith.loadDataForUserAccount("Account"). But I only see the second pair ("first_name"). And when the app is restarted, it is always empty.
Is this a bug or am I doing something wrong? I see a similar closed issue( #74 ) but it seems like it has been resolved for a user who opened that issue.
@matthewpalmer, it would be great if you can take a quick look!
Thnx.

Only one piece of data is stored under an account, so when you call updateData it will overwrite whatever's currently stored for that account. Re the second issue, if you can provide a reliable way to reproduce the issue then I will take a look :)
Thanks very much
Matt

I also get Locksmith.loadDataForUserAccount() to return nil. I think it happens when there are many processes in the background even without restarting it.

Likewise here – occurring without restarting. I haven't investigated in detail, yet.

Potentially linked: https://forums.developer.apple.com/thread/4743#14441

I was also seeing this on 2.0.6.
I just upgraded to 2.0.8 and it seems to be fixed, but I'm still testing.
Thanks for the link @alexanderedge , I'll look it over

same here (2.0.8)

I agree with @alexanderedge, it might be from Apple.
We can consider a work around - combining with NSUserDefault and KeyChain and request info to Keychain if NSUserDefault doesn't have the info. we can vastly decrease the hit rate of this bug.
We might need to encrypt content saved into NSUserDefault.

Locksmith.loadDataForUserAccount() in iOS 10 returns nil, but in iOS 9.3 return my credentials...
Simone knows what happens?

Locksmith.loadDataForUserAccount() in iOS 10 returns nil
@PawelLukasiak  same here. do you get the solution ?

Hello !
I have solution how to fix that problem in iOS 10.
Chose your target i project, then select Capabilities -> Keychain Sharing
to ON.
xCode will create for you entitlements file.
This is all !
Sorry about my english !
Greetings matthewpalmer
2016-10-22 16:57 GMT+02:00 Rohit Kanade<EMAIL_ADDRESS>
Locksmith.loadDataForUserAccount() in iOS 10 returns nil
@PawelLukasiak https://github.com/PawelLukasiak same here. do you get
the solution ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/matthewpalmer/Locksmith/issues/97#issuecomment-255533156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKZy6J0LVV7sntJzH_dbeaAWg9Tu4_Xnks5q2iRwgaJpZM4G7je8
.

@PawelLukasiak Thank you, this did it for me!

Any ideas on how to accomplish this for a local framework?  The unit tests fail on iOS 10 because the loaded data is always nil, but there is no setting for "Capabilities" on a framework, and probably no concept even of an entitlements file.


Failed send batch of one log have exception.

It`s normal behavior, when one some kind log method raised an exception, is not send a batch to elasticsearch with other logs?
Logger.Log("foo");
Logger.Error(String.Format("{0} {1} {2} {3}", method, result.StatusCode, input.TenderId)); // Wrong! Exception!
Logger.Log("bar");

No it is not. All data is buffered and send as one batch operation. Check with the serilog selflog functionality is there is any issue.

Thanks. In self logs, I have errors one type:
2019-11-12T14:20:24.0582513Z Exception while emitting periodic batch from Serilog.Sinks.Elasticsearch.ElasticsearchSink: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.    at System.ThrowHelper.ThrowKeyNotFoundException()    at System.Collections.Generic.Dictionary2.get_Item(TKey key)
at Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatch(IEnumerable1 events)    at Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink.<EmitBatchAsync>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink.<OnTick>d__16.MoveNext()

It is trying to parse the results of the batch operation. It might be that it cannot handle the return values due to a version mismatch. There has been some recent changes in this code, are you running with the latest package?


x/tools/cmd/gopls: no CheckPackageHandles for file

Compile Go at tip (51504f0a2d65a7f7fcf63c25c2cb306a6863d07d)
Compile x/tools at tip (0bb5a05de81d0029e2aac6a6c97b991de96bbf77). My x/tools lives in $GOPATH/src/golang.org/x/tools but I compiled by running GO111MODULE=on go install -v ./....
Download github.com/jmhodges/justrun to $GOPATH/src/github.com/jmhodges/justrun
Open watch.go in vim and call :GoDef while the cursor is on NewWatcher.

If I have GO111MODULE=on for step 4 I get the definition, as expected - if it is off, I get "no CheckPackageHandles for file /path/to/watch.go."
I am also having trouble figuring out how to export logs, I can start vim-go with these settings:
let g:go_debug = ['lsp']
let g:go_debug_log_output = 'debugger,rpc'

but the window at the bottom with gopls log messages scrolls off of the right edge of my screen, and it's not clear if they are also being written to a log file somewhere.

Following the troubleshooting guide:

For instance, :GoReportGitHubIssue in vim-go.

Running that command yields:
E492: Not an editor command: GoReportGithubIssue

Oh, ugh, I typed it as GoReportGithubIssue the first time.

#### vim-go configuration:
vim-go configuration

g:go_list_type = 'quickfix'
g:go_fmt_autosave = 1
g:go_debug = ['lsp']
g:go_debug_log_output = 'debugger,rpc'
g:go_test_timeout = '2s'
g:go_fmt_command = 'goimports'
g:go_jump_to_error = 1
g:go_loaded_gosnippets = 1
g:go_loaded_install = 1

Can you share the output of gopls -rpc.trace -v check path/to/watch.go?

https://gist.github.com/kevinburkemeter/482c46a6431d0cf26bde3af294f25b30

I'm realizing now that $GOPATH/src/github.com/fsnotify/fsnotify doesn't exist. I didn't previously notice this because I usually run justrun in projects that have vendored all dependencies.
Still, it seems like we could present a better error message here besides "no CheckPackageHandles."

Did that error message come up when you tried to go to the definition of the unknown variable?

Yes - when I hovered over "NewWatcher" in watch.go and hit :GoDef in vim

Did it say "no CheckPackageHandles" for the nonexistent package or for the entire package?

Here's what's in the vim log:
received: Content-Length: 327^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 18.838018ms for GOROOT=/Users/kevin/go GOPATH=/Users/kevin GO111MODULE=off PWD=/Users/kevin/src/github.com/jmhodges/justrun go \"env\
  8 received: Content-Length: 129256^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 129.449606ms for GOROOT=/Users/kevin/go GOPATH=/Users/kevin GO111MODULE=off PWD=/Users/kevin/src/github.com/jmhodges/justrun go \"
  7 received: Content-Length: 131^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackages = 2"}}¬
  6 received: Content-Length: 391^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackage = github.com/jmhodges/justrun\n\tfiles = [/Users/kevin/src/github.com/jmhodges/justrun/cmdwrap.go /Users/
  5 received: Content-Length: 452^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackage = github.com/jmhodges/justrun\n\tfiles = [/Users/kevin/src/github.com/jmhodges/justrun/cmdwrap.go /Users/
  4 received: Content-Length: 129256^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 132.234713ms for GOROOT=/Users/kevin/go GOPATH=/Users/kevin GO111MODULE=off PWD=/Users/kevin/src/github.com/jmhodges/justrun go \"
  3 received: Content-Length: 131^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackages = 2"}}¬
  2 received: Content-Length: 391^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackage = github.com/jmhodges/justrun\n\tfiles = [/Users/kevin/src/github.com/jmhodges/justrun/cmdwrap.go /Users/
  1 received: Content-Length: 452^M^@^M^@{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"2019/10/22 13:21:21 go/packages.Load\n\tpackage = github.com/jmhodges/justrun\n\tfiles = [/Users/kevin/src/github.com/jmhodges/justrun/cmdwrap.go /Users/
  0 received: Content-Length: 155^M^@^M^@{"jsonrpc":"2.0","error":{"code":0,"message":"no CheckPackageHandles for file:///Users/kevin/src/github.com/jmhodges/justrun/watch.go","data":null},"id":2}¬

Ok, so I'm thinking that this sounds very similar to https://github.com/golang/go/issues/34012, in that an import failing to resolve causes all language features to fail. I will then close this as a duplicate.

Duplicate of https://github.com/golang/go/issues/34012

OK, thank you for investigating.


⚠ Mobitopup has degraded performance

In 2ccb52b, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5346 ms

Resolved: Mobitopup performance has improved in 6f8a45b.


provide interface for user-defined katip scribes

to be loaded from external libraries.

add to ScribeKind a UserDefinedSK.

move the systemd scribe out!

look for #ifdef ENABLE_SYSTEMD
remove flag


Bump Gradle to 8.0

./gradlew wrapper --gradle-version=8.0
In addition update plugins

need to wait until
https://community.sonarsource.com/t/sonarqube-plugin-migration-to-gradle-8-0/83900

https://mvnrepository.com/artifact/org.sonarsource.scanner.gradle/sonarqube-gradle-plugin?repo=gradle-plugins

I restarted the Sonar check which had failed.

updated sonar plugin
https://docs.sonarqube.org/9.6/analyzing-source-code/scanners/sonarscanner-for-gradle/


Polymorphic mapping

Add naive automatic polymorphic detection for close #57

@Spikhalskiy ; any interest in rebasing this change? since it was raised 4 years ago, i'd probably guess not.

@garethahealy Glad to see that Dozer is revived! I will try to find time for rebasing this story for sure if you going to maintain the project for a long time.

Closing for time being, as PR is stale / not active.


Webpage does not load

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

I am running the tutorial and everything was fine up to here:

Then, after I do the first step, it does not open the page as it said it would and I do not know the number of the port.
Could you help?

Oi @monicaaraujopasb! Can you perhaps share a screenshot of what do you see in the console after you type dotnet watch?
You should be seeing something similar to this (I'm on Windows though):

So, the port is listed there on the UI. If you don't see that, you can find the port number by inspecting the launchSettings.json file under the Properties folder.


Ctrl+Shift+M broken

Showing errors is broken in latest. Executing it results in
[11348:0105/100024:INFO:CONSOLE(331)] "Cannot read property 'getControl' of undefined: TypeError: Cannot read property 'getControl' of undefined
    at MarkersHandler.getResults (file:///P:/mseng/VSCode/vscode/out/vs/workbench/parts/quickopen/browser/markersHandler.js:137:39)
    at file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:551:40
    at Promise_ctor.CompletePromise_then [as then] (file:///P:/mseng/VSCode/vscode/out/vs/base/common/winjs.base.raw.js:1826:49)
    at QuickOpenController.handleSpecificHandler (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:530:59)
    at QuickOpenController.onType (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:438:38)
    at Object.quickOpenWidget.quickOpenWidget_1.QuickOpenWidget.onType (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:324:61)
    at QuickOpenWidget.doShowWithPrefix (file:///P:/mseng/VSCode/vscode/out/vs/base/parts/quickopen/browser/quickOpenWidget.js:367:28)
    at QuickOpenWidget.show (file:///P:/mseng/VSCode/vscode/out/vs/base/parts/quickopen/browser/quickOpenWidget.js:356:22)
    at QuickOpenController.show (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:350:42)
    at GotoMarkerAction.QuickOpenAction.run (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/actions/quickOpenAction.js:33:35)", source: file:///P:/mseng/VSCode/vscode/out/vs/workbench/electron-browser/shell.js (331)
[11348:0105/100024:INFO:CONSOLE(85)] "Cannot read property 'getControl' of undefined: TypeError: Cannot read property 'getControl' of undefined
    at MarkersHandler.getResults (file:///P:/mseng/VSCode/vscode/out/vs/workbench/parts/quickopen/browser/markersHandler.js:137:39)
    at file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:551:40
    at Promise_ctor.CompletePromise_then [as then] (file:///P:/mseng/VSCode/vscode/out/vs/base/common/winjs.base.raw.js:1826:49)
    at QuickOpenController.handleSpecificHandler (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:530:59)
    at QuickOpenController.onType (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:438:38)
    at Object.quickOpenWidget.quickOpenWidget_1.QuickOpenWidget.onType (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:324:61)
    at QuickOpenWidget.doShowWithPrefix (file:///P:/mseng/VSCode/vscode/out/vs/base/parts/quickopen/browser/quickOpenWidget.js:367:28)
    at QuickOpenWidget.show (file:///P:/mseng/VSCode/vscode/out/vs/base/parts/quickopen/browser/quickOpenWidget.js:356:22)
    at QuickOpenController.show (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/parts/quickopen/quickOpenController.js:350:42)
    at GotoMarkerAction.QuickOpenAction.run (file:///P:/mseng/VSCode/vscode/out/vs/workbench/browser/actions/quickOpenAction.js:33:35)", source: file:///P:/mseng/VSCode/vscode/out/vs/workbench/services/message/browser/messageService.js (85)

@jrieken can you please have a look.

Removing important flag. This only happens if no editor is open when Ctrl+Shift+M is pressed.


Ignore protobuf generate useless field

Hi, I directly use the class generated by the pb.go file in the project as the web request return body. One problem is that the private fields  generated by protobuf in pb.go cannot be automatically ignore and the lowercase of the first letter of the field cannot be set . this is not swagger problem,  set swaggerignore and json tag can be solved this problem,  but must manual set it every time when pb.go is regenerated.
Is it possible to add a setting to automatically ignore these useless fields of protobuf.
There is pb.go files

state,sizeCache,unknowFields is not ignore.

and i'm fork swag project , modify parser.go

state,sizeCache,unknowFields is ignore.

Is it possible to add a parameter setting can ignore protobuf useless fields

Try latest master or refactored branch


Markdown list style (ListBullet) not applied

Apologies in advance if this is not pertinent to the gem: i'm not sure if it's some bug or i'm bad at Office 2011.
I'm trying to apply some list styles from markup data.
I've added the ListBullet style to the template, styles.xml source:
<w:style w:type="numbering" w:customStyle="1" w:styleId="ListBullet">
  <w:name w:val="ListBullet"/>
  <w:basedOn w:val="Nessunelenco"/>
  <w:uiPriority w:val="99"/>
  <w:rsid w:val="005547DB"/>
  <w:pPr>
    <w:numPr>
      <w:numId w:val="25"/>
    </w:numPr>
  </w:pPr>
</w:style>

and i see it on the generated document source:
<w:p>
  <w:pPr>
    <w:pStyle w:val="ListBullet"/>
  </w:pPr>
  <w:r>
    <w:t xml:space="preserve">my content</w:t>
  </w:r>
</w:p>

But i don't see any list style on the document, it's just normal text.
Any thoughts?

@alepore Can you upload a ruby script and a sablon template that reproduces the error? This would go a long way to help me debug the issue.

@senny thanks, simple reproduction script: http://s000.tinyupload.com/index.php?file_id=38574526047958687033

@alepore thanks for the reproduction. There was an issue with your template and with some minor modifications I was able to get the desired output:

While you did see the style "ListBullet" when authoring the template.docx it was not actually part of the template. Word has a root template called Normal.dot. That's where common styles are saved. While visible in Word, the styles of Normal.dot are not part of your template by default.
The following steps allow you to manage the styles that are part of your template:

Once you copied the styles over from Normal.dot and save your template the example should work as expected. As Sablon matures I'll add more template validation and introspection. It's a common pitfall and I'd like to make it more explicit.
Thanks for reporting. I'm going to close the issue but please report back if you get it working or still have questions related to your example.

Thanks for reply!
The gem is really easy to use, the hard part is definitely the word template :)
Something is wrong here because i see ListBullet on both template.docx, output.docx and Normal.dot
but i still don't see the style on the output (but i can manually apply it)

@alepore did you try copying over the ListBullet style from Normal.dotm and overwrite the one in template.docx. It might very well be that one is only a reference to the other. Copying over the style did the trick for me...

mhh i think i tried any way to add/copy the style.
the problem is with the list itself, because if a create another formatting style (like red color) and name it ListBullet it works.
Maybe is something with my list style...

@alepore that sounds very much like the issue I described... You can't change the styles of Normal.dotm so when you modify a given style it's saved in the template itself. To use the default "ListBullet" style you should:

Open your template
Go to the organizer as described above
Copy over "ListBullet" from "Normal.dotm" into your template
Save & run Sablon

Those were the exact steps I used with your example.

@senny if i start with a clean setup and i open my template i don't have ListBullet  on Normal.dotm but only on the template.
i can recreate the style, there's a optional checkbox to add it to Normal.dotm, then i can follow your steps but i still don't see the list ;(

@alepore that sure is strange. If I open a blank word document in my case, the Normal.dotm has all the predefined styles.  Anyway, if using the style in the template document works, it must be defined somewhere. It's basically a matter of copying the right definition into the template to get it working. Modifying the style slightly usually gets the job done.

Just FYI:
I used Office 2016 for mac and now it works.
There was definitely something wrong with Office 20111 for Mac.
Thanks again for support!


 Looks like copy-paste bug :)

Thanks :) sorry about that

@mfigurnov interestingly, I had to change this via https://github.com/soumith/imagenet-multiGPU.torch/commit/8d59ca49d97595a66e977e5b1c936a84c595ac88
It turns out that without batch-normalization, the normalization is so sensitive, it's the difference between converging (loss goes down) and  not converging....


ingest: run NextClade and include in output files

Context
Run sequences through NextClade and include output in the final metadata TSV so that it can be imported into LAPIS.
Description
This is currently a multi-rule process in ncov-ingest because we keep a cache of the previous runs. We can adopt a similar process here as well, but be aware of pitfalls described in https://github.com/nextstrain/ncov-ingest/pull/218

Resolved by #58


Add support for bigint

BigInt should map to candid::int
If someone uses bigint directly we want to be able to convert that to candid.
To figure out which candid type corresponds to bigint we need to do a bit of research
We need to figure out how big big int can be then we need to figure out how big all of the candid ints can be, compare them and pick the right one to convert it to.
Then we need to update the code in two places.

if bigint is used directly then we will need to update it in primitives to_primitive call.

Just add a case for a bigint keyword
if bigint is used as a type alias then we will need to update our alias table generator appropriately.

Things to consider:
The ECMAScript specification defines that the minimum required range for a bigint is -2^53 + 1 to 2^53 - 1. However, most JavaScript engines, including Node.js and modern browsers, support much larger bigint values.
So while we know what the ECMAScript specification is, we will need to figure out what Boa and QuickJS support and take that into account.

I snuck the fix for this into https://github.com/demergent-labs/azle/pull/1109


Added execution model and shared objects docs into documentation

Signed-off-by: Sara<EMAIL_ADDRESS>

Description of the Change
Added old documents from GitHub to documentation. 2 docs were added: https://github.com/hyperledger-archives/iroha/issues/1423
https://github.com/hyperledger-archives/iroha/issues/1498
Benefits
We will have fuller architecture docs
Possible Drawbacks
Some information in the docs might be outdated. It was arranged with @lebdron that we will review and fix those parts within the readthedocs documentation.

      span.clr { background:#C5E1F8 !important ;
      padding: 4px;
      }
      tr td span.clr  {background:#C5E1F8 !important ;
      display: block;
      margin: -10px -16px -10px -16px;
      padding: 10px;
      padding-left: 16px;
      }


feat: add author/id/posts, only local host

Related User Stories
tag related stories or create a new one if does not exist
Check list

[x] My branch is up to date with master. How?
[x] I passed all integration tests in Travis CI.
[x] Now it is a good time to ask for review.

@ExiaSR


Support for HTTPS tracing protocol

Closes #194
I'm not sure how to test it, but it should be working.

Anyone to review it?


options.html changed

changed some css in options.html.
use chrome.storage.sync replace localstorage.

Good job

忘了删掉console了，临时禁止了eslint也忘了启用了，很惭愧。
On Wed, Nov 15, 2017, 14:14 sciooga<EMAIL_ADDRESS>wrote:

Good job
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sciooga/v2ex-plus/pull/76#issuecomment-344496189, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMDcZxxP6NJYm0rTBi_Ivlzz0XkxSRw1ks5s2oEvgaJpZM4QecYC
.


Tool breaking heap dump

I've got a heap dump which breaks this tool.

I'll be happy to share in private, don't want to post publicly as it has secure strings such as ENV which includes database connection details.
Shoot me an email to<EMAIL_ADDRESS>and i'll give you a dropbox link.

Hi @schneems ,
We have a big problem in "heap-analyzer" and I think you found it ;)
I think your dump is bigger than 1.4gb and this roughly our limit, because javascript in the browser is limited to 1.4gb.
I have tried to reduce the objects size in memory, but this is still hard limit,
I am thinking about solution (like native app, or electron and finding how to increase their).
If your heap size is less than 1.4gb, this is an issue :)

Hmm, the heap dump i'm using is 500mb. I've definitely parsed larger using the tool (i think 1.1 GB). I can parse this 500mb file just fine with https://github.com/schneems/heapy (note master doesn't have some patches that i've got locally). I try to reduce data as we parse the file so it doesn't have to have the entire file in memory to do analysis.
Thanks for the reply!

If you dump is 500mb it's weird we are crashing...
I will check this out on the weekend and will fix it.

@schneems I removed all properties we don't use - can you look at it? https://github.com/tenderlove/heap-analyzer/tree/size-reduction and check if it helps?

Thanks. I've got to head out this afternoon. I should be able to try this sometime in the next few days though. Thanks for the branch.

I tried that branch and it fixed the issue.

Spoke too soon. It did load, but clicking on the "string" section of the pie graph killed the page.

lol
I am working on fixing the performance problems with app (therefore support large heaps), can you send me your dump in email or something, so I can check it on the new version?

I just sent you an email to the address on your github

thanks :+1:


Default mutators for create, update, delete

Are you aware of any effort to extend this to automatically generate mutators for these basic operations, as Reindex and Scaphold do?

Hi @tjoneseng - sorry for the slow response to this issue - my idea about these so far has been that  while reads are simple, in real apps there will be enough custom behavior around writes w/ auth, defaults, logging, etc. that it's nice to keep them in javascript.
I can definitely see the utility for prototyping though, so I'm open to rethinking them.  I would want them to be opt in per type, maybe through directives on types or on mutations in the IDL.  A cli command to scaffold js files could also be a nice alternative.
Do you have any thoughts on an ideal API?


as background

hi, i cant use it as background. isnt it correct?

there is no flag with this

Hi,
This is just a collection of SVG files, so nothing is stopping you from using CSS to use one of them as a background image.


How to make two columns of text equally spaced?

Hi, I've read the documentation from pdfkit.org/docs/text.html
I have trouble putting two sets of text into 2 separate columns with a columnGap of 40.
After reading the documentation, I still haven't found a way to put two words "hello world" into 1 column and another two words "bye world" into a second column on the same row as the first column.

You need to specify the column top left positions and the width. Try something like this:

let col1LeftPos = 50;
let colTop = 50;
let colWidth = 100;
let col2LeftPos = colWidth + col1LeftPos + 40;

doc.fontSize(16)
   .text('test col 1 test col 1 test col 1 test col 1 ', col1LeftPos, colTop, {width: colWidth})
   .text('test col 2 test col 2 test col 2 test col 2 ', col2LeftPos, colTop, {width: colWidth})

Should look like:


Fixed bug with PlayerWalkableStrategy

The canStandOn() function already substracts 1 from the y coordinate. Doing it in the PlayerWalkableStrategy again breaks the logic.

Yup, good catch. Thanks for the fix tho:)


Resize column dynamically

How can i resize the column width dynamically with dragging the left and right column borders.
Thanks.
Guy.

Can any one help with this issue