[BUG] The selector action page should be centered.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Start the shenyu-admin management system. When modifying the selector information of a plugin, the selector action page should be centered, not at the bottom.
http://localhost:9095/#/plug/5/divide
Expected Behavior
the selector action page should be centered, not at the bottom.
Steps To Reproduce

Start the shenyu-admin
login http://localhost:9095
PluginList -> Proxy -> Divide -> modify Selector

Environment
ShenYu version(s): current
`win10` , `jdk8`

Debug logs

Anything else?
Maybe a front-end engineer is needed to fix the problem

Can't reproduce

oh...I just tried it and the problem still exists. my env is win10 , jdk8, chrome  99.0.4844.84

I reproduced the problem with Window10, maybe it's the browser itself
Zoom less than 110

mac os is no problem

Yes, a scaling ratio less than 100% is normal, greater than or equal to this problem will occur, It requires front-end adaptation.


Enable all end2end tests on CPU/GPU with -d option

I add "-d" option to select devices when running end2end tests. All tests can run with no regression both on CPU and GPU for IE/DML. PTAL, thanks! @fujunwei
@BruceDai Does this solution meet your requirements of testing? Any suggestions? Thanks!

@mingmingtasd , please help solve the conflicts. Thanks!

Yes, I have solved them, thanks! @huningxin


New VAT standard rates 2017

As of 1st of January 2017, two VAT rates have changed : Luxembourg (from 15 to 17%) and Romania (from 20% to 19% - Romania changed from 24% to 20% in 2016), Greece from 23% to 24% (changed in 2016)

Oups : forgot to change  # Situation at 1 Jan 2015 to  # Situation at 1 Jan 2017

@Bonob0b thanks for the patch.
Please let me know once you have no additional changes on this pull request so I can merge.

All done.

Great.
I'm merging this.
Thanks @Bonob0b


TypeError: Cannot read properties of undefined (reading '$isServer')

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
I'm using Vite
//main.ts
const VueCustomTooltip = (await import('@adamdehaven/vue-custom-tooltip')) .default

 app.use(VueCustomTooltip, {
      name: 'VueTooltip',
      color: '#fff',
      background: '#039be5',
      borderRadius: 4,
      fontWeight: 500,
    })

under Vite.config.ts I've also added optimizeDeps.include the plugin
Expected behavior
The plugin should load
Screenshots

Desktop (please complete the following information):

OS: [e.g. Windows 11]
Browser Edge
Package Version latest 1.4.4

Additional context
I'm not really sure what causes the error. I only can guess probably due to being being imported asynchronously?

@jamols09 I'm not sure there is enough info here for me to help, as the error your seeing is definitely related to your project, not with the tooltip plugin itself. I would have to imagine it's something in your Vite configuration or the fact that you're loading the component asynchronously, but again, I can't reproduce the issue. Closing for now.

@adamdehaven can you help me understand why the component breaks when its imported like this ?
import { createApp } from './app'
createApp({
  async enhanceApp(app) {
  const VueCustomTooltip = await import('@adamdehaven/vue-custom-tooltip') //here

But not this regular import
import { createApp } from './app'
import VueCustomTooltip, {
  TooltipOptions,
} from '@adamdehaven/vue-custom-tooltip'

I got it to work by using the latter I just don't understand why other plugins work when imported like the first one.

Are you utilizing the plugin inside a Vue 3 project, or are you using VuePress or Nuxt?
If you can recreate the issue inside a sandbox I can help you take a look: https://codesandbox.io/s/

Ohhhh I missed that you didn't have .default at the end.
This imports the default export from the plugin, which is the component. Glad you got it working! 🎉


[LIGHTNODE] As a user on the landing page, I want to see a countdown of how many days are left on the Nodesale.

As a user on the landing page, I want to see a countdown of how many days are left on the Nodesale
Acceptance Criteria

UI must show that Nodesale will end
UI must show countdown for the number of days left

Fixed https://github.com/palomachain/website/pull/161


Login page has a CSRF token again.

See issue #3
Partial revert of commit 650a5558b99ecb74a2d253975e442dcb8a688bf2

Is this issue has been solved ??

I am still facing the issue

@EhteshamMehmood: Did you face it back in November 2012? Then in the meantime you didn't face it and now you face it again? If so, please say since when you're facing the same issue again? Did it work for you in an earlier day?


Strange Safari-only issue

The examples here work fine in Safari for me: http://oblador.github.io/angular-scroll/
However, when I've implemented the duScroll component in my own application, it doesn't work on Safari. Even more strange... if I open the app in both Chrome and Safari at the same time, when I click the scroll trigger in Chrome, then the app scrolls in both Chrome and Safari at the same time. So just to be clear... if I trigger the scroll from the app in Safari, nothing happens but if I trigger it from Chrome then the scroll happens in the Safari window.
How is that even possible?
I've noticed that if I just use the scroll-wheel (or track-pad in this case) to scroll on either Chrome or Safari, then both instances of the app (i.e. in both Safari and Chrome) will scroll simultaneously.
Most confused. Any help appreciated.

Update:
I've discovered the cause. In my case this was due to superfluous CSS. So for example:
HTML:

 click me

CSS:
div.animator{
   transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

While Chrome is ok with this Safari doesn't seem to like it. I don't get any errors reported but it causes duScroll not to work. If I change the CSS to this instead:
div.animator{
transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
// transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
Then it works fine.

Further update:
The reason the windows were scrolling simultaneously was due to BrowserSync with ghostMode: true (default)


Summary of Diagnostic Plot Functions

Summary of Diagnostic Plot Functions

I am wondering why the new .md file is not showing up on the documentation page 🤔

Is it due to the spacing in the file name of something? 🤔


CNI setup fixes

Fixes #2434
Fixes #2394
Fixes #2435

I have no easy way to test this. @errordeveloper @philwinder can you build this branch and give it a whirl?

@rade: Can you point me to some build instructions?   Stop.
make: Leaving directory '/go/src/github.com/weaveworks/weave'
make: *** [prog/weaver/weaver] Error 2

works just fine for me. @errordeveloper might know how to build weave on a Mac.

I haven't built it on my machine for a while, but I recall that @paulbellamy did.

@philwinder you don't have to build this, you just want to run ./weave setup. You can probably use release version of CNI plugin with that too, if you set WEAVE_VERSION=1.6.0.

I've tested this with Docker for Mac 1.12.0-rc4-beta10 and it works fine.

@philwinder actually, you don't have to build this, you just want to run ./weave setup.

Huh? This code is on a branch; it hasn't been merged yet.

I've tested this with Docker for Mac 1.12.0-rc4-beta10 (currently the latest) and it works fine.

How did you test this if you didn't build the branch?

How did you test this if you didn't build the branch?

Ok, now that I revisit the code, I think what I've effectively tested is just the change to exec_remote. In my understanding, I've not tested setup_cni, as I believe that runs in a container. So I can confirm that this fixes #2434 for me.

I do not think that #2394 and #2435 are in any way related to Docker for Mac, so compiling on Mac OS shouldn't be a dependency for testing this.

@philwinder I've built this branch and pushed it to Dockerhub - could you give it a try? You need to use the weave script that's on this branch, and use it like this:
DOCKERHUB_USER=harrisonadamw WEAVE_VERSION=issues-2442 weave ...

The main thing we need is to check if the Mesos CNI issue is fixed, but if you could also confirm that weave setup works on DfM at the same time that would be very helpful - thanks!

@awh Unless I'm doing something wrong, the cni binaries aren't being written any more. Is that intentional? If so, where are they written to?
sudo curl -sL https://raw.githubusercontent.com/weaveworks/weave/cni-setup-fixes/weave -o /usr/local/bin/weave
sudo chmod a+x /usr/local/bin/weave
sudo mkdir -p /opt/cni/bin
sudo mkdir -p /etc/cni/net.d
DOCKERHUB_USER=harrisonadamw WEAVE_VERSION=issues-2442 sudo weave setup
ubuntu@ip-10-0-0-163:~$ ls /opt/cni/bin/
ubuntu@ip-10-0-0-163:~$

@philwinder

Unless I'm doing something wrong

I'm afraid you are...

DOCKERHUB_USER=harrisonadamw WEAVE_VERSION=issues-2442 sudo weave setup

Those env var settings won't be passed through sudo. You want sudo -E.
Alas I've found a bug....

Alas I've found a bug...

Fixed. @awh please generate new images for @philwinder to test.

@philwinder I've published Matthias' latest under the same tag. This should work (make sure you grab the script again though!)
sudo DOCKERHUB_USER=harrisonadamw WEAVE_VERSION=issues-2442 weave setup

Thanks!

For posterity:
make UPDATE_LATEST=false DOCKERHUB_USER=harrisonadamw WEAVE_VERSION=issues-2442 PUBLISH_WEAVEDB=true all publish

@philwinder ping

@awh
I think we still have an issue. Log:
I0811 08:22:31.783237  5813 paths.cpp:528] Trying to chown '/var/lib/mesos/slaves/3a95c9b9-ab80-4982-a237-1885839bd463-S0/frameworks/3a95c9b9-ab80-4982-a237-1885839bd463-0012/executors/accounts-db/runs/a3e927ff-a634-4a24-86b0-4d49f6aff645' to user 'root'
I0811 08:22:31.785717  5813 slave.cpp:5674] Launching executor accounts-db of framework 3a95c9b9-ab80-4982-a237-1885839bd463-0012 with resources cpus(*):0.1; mem(*):32 in work directory '/var/lib/mesos/slaves/3a95c9b9-ab80-4982-a237-1885839bd463-S0/frameworks/3a95c9b9-ab80-4982-a237-1885839bd463-0012/executors/accounts-db/runs/a3e927ff-a634-4a24-86b0-4d49f6aff645'
I0811 08:22:31.785949  5813 slave.cpp:1840] Queuing task 'accounts-db' for executor 'accounts-db' of framework 3a95c9b9-ab80-4982-a237-1885839bd463-0012
I0811 08:22:31.786003  5813 docker.cpp:1020] Skipping non-docker container
I0811 08:22:31.786214  5812 containerizer.cpp:781] Starting container 'a3e927ff-a634-4a24-86b0-4d49f6aff645' for executor 'accounts-db' of framework '3a95c9b9-ab80-4982-a237-1885839bd463-0012'
I0811 08:22:31.787103  5812 provisioner.cpp:294] Provisioning image rootfs '/var/lib/mesos/provisioner/containers/a3e927ff-a634-4a24-86b0-4d49f6aff645/backends/copy/rootfses/ab603e43-1882-43c1-8bc1-287089eb8ebf' for container a3e927ff-a634-4a24-86b0-4d49f6aff645
I0811 08:22:33.758590  5817 slave.cpp:4591] Current disk usage 9.78%. Max allowed age: 5.615127706719491days
I0811 08:22:34.693209  5814 linux_launcher.cpp:281] Cloning child process with flags = CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWNET
I0811 08:22:34.696897  5817 cni.cpp:716] Bind mounted '/proc/13614/ns/net' to '/run/mesos/isolators/network/cni/a3e927ff-a634-4a24-86b0-4d49f6aff645/ns' for container a3e927ff-a634-4a24-86b0-4d49f6aff645
E0811 08:22:35.169728  5816 slave.cpp:3976] Container 'a3e927ff-a634-4a24-86b0-4d49f6aff645' for executor 'accounts-db' of framework 3a95c9b9-ab80-4982-a237-1885839bd463-0012 failed to start: Collect failed: The CNI plugin 'weave-net' failed to attach container a3e927ff-a634-4a24-86b0-4d49f6aff645 to CNI network 'weave': {
    "code": 100,
    "msg": "no such file or directory"
}

The binary is:
ubuntu@ip-10-0-0-60:~$ cat /opt/cni/bin/weave-net
#!/bin/sh
[ -z "$CNI_NETNS" ] || EXTRA_VOLUMES="-v $(dirname $CNI_NETNS):$(dirname $CNI_NETNS)"
docker run --rm --privileged --net=host -v /var/run/docker.sock:/var/run/docker.sock --pid=host -i \
 -e CNI_VERSION -e CNI_COMMAND -e CNI_CONTAINERID -e CNI_NETNS \
 -e CNI_IFNAME -e CNI_ARGS -e CNI_PATH \
 -v /etc/cni:/etc/cni -v /opt/cni:/opt/cni  \
 harrisonadamw/plugin:issues-2442  --cni-net

And the conf file is:
ubuntu@ip-10-0-0-60:~$ cat /etc/cni/net.d/10-weave.conf
{
    "name": "weave",
    "type": "weave-net"
}

So I added some debug to echo the docker command and that CNI NETNS command, and an actual example echo was:
docker run --rm --privileged --net=host -v /var/run/docker.sock:/var/run/docker.sock --pid=host -i  -e CNI_VERSION -e CNI_COMMAND -e CNI_CONTAINERID -e CNI_NETNS  -e CNI_IFNAME -e CNI_ARGS -e CNI_PATH  -v /etc/cni:/etc/cni -v /opt/cni:/opt/cni   harrisonadamw/plugin:issues-2442  --cni-net
-v /run/mesos/isolators/network/cni/3b198e3d-5850-462c-ac9c-f22d6d53c6b5:/run/mesos/isolators/network/cni/3b198e3d-5850-462c-ac9c-f22d6d53c6b5

Note the lack of the usual env var format ENV=value. Should you not be passing CNI_VERSION=$CNI_VERSION?
So obviously, when I try and run the command manually:
ubuntu@ip-10-0-0-60:~$ docker run --rm --privileged --net=host -v /var/run/docker.sock:/var/run/docker.sock --pid=host -i  -e CNI_VERSION -e CNI_COMMAND -e CNI_CONTAINERID -e CNI_NETNS  -e CNI_IFNAME -e CNI_ARGS -e CNI_PATH  -v /etc/cni:/etc/cni -v /opt/cni:/opt/cni   harrisonadamw/plugin:issues-2442  --cni-net
{
    "code": 100,
    "msg": "required env variables missing"
}2016/08/11 08:37:04 CNI_COMMAND env variable missing
2016/08/11 08:37:04 CNI_NETNS env variable missing
2016/08/11 08:37:04 CNI_IFNAME env variable missing
2016/08/11 08:37:04 CNI_PATH env variable missing

This has taken me about three hours to get working. Because of all the provisioning and editing of the scripts to accommodate the custom commands. I'd really appreciate it if you could automate this test.

Note the lack of the usual env var format ENV=value. Should you not be passing CNI_VERSION=$CNI_VERSION?

No, that is not necessary. -e ENV_VAR passes the value of the env var in the current environment.
I've found the problem though. Yet another shell escaping issue :( @awh another image please

I'd really appreciate it if you could automate this test.

Noted; we can probably add some tests for exotic CNI_NETNS locations.
Though ultimately we do need you to test this since the objective here is to fix the problem with mesos reported by you.

oh great

Message: "/var/lib/docker/overlay/95b029892c86592c39147f0e181896bb83aff12a22840f0be7d375210c6afa9c/merged/proc/10963/ns" cannot be mounted because it is located inside "/proc"

So I guess we somehow have to exclude /proc.
Also, I do have my doubts whether the mounts will work in the mesos case based on

I0811 08:22:34.696897  5817 cni.cpp:716] Bind mounted '/proc/13614/ns/net' to '/run/mesos/isolators/network/cni/a3e927ff-a634-4a24-86b0-4d49f6aff645/ns' for container a3e927ff-a634-4a24-86b0-4d49f6aff645

Does this indicate that the cni script is being executed in a container that has the above mount? If so, the mount we do in the script won't work since iirc -v mounts from the host.

@philwinder Could you update your terraform script (https://github.com/philwinder/mesos-terraform) that it'd include a non-broken version of the marathon package, because I'm getting:
aws_instance.mesos-master (remote-exec): Unpacking marathon (1.3.0-1.0.499.ubuntu1404) ...
aws_instance.mesos-master (remote-exec): dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/marathon_1.3.0-1.0.499.ubuntu1404_amd64.deb' to decompressor pipe: unexpected end of file or stream
aws_instance.mesos-master (remote-exec): dpkg-deb: error: subprocess paste returned error exit status 2
aws_instance.mesos-master (remote-exec): dpkg: error processing archive /var/cache/apt/archives/marathon_1.3.0-1.0.499.ubuntu1404_amd64.deb (--unpack):
aws_instance.mesos-master (remote-exec):  cannot copy extracted data for './usr/bin/marathon' to '/usr/bin/marathon.dpkg-new': unexpected end of file or stream

Thanks.

Hey Martynas @brb, I created a workaround branch, which uses an older version:
https://github.com/philwinder/mesos-terraform/tree/marathon/1.2

Thanks. I was able to verify the fix - it works.
In order to use the fixed version until it has been released, replace weave setup and weave launch by:
sudo DOCKERHUB_USER=brb0 WEAVE_VERSION=latest weave setup
sudo DOCKERHUB_USER=brb0 WEAVE_VERSION=latest weave launch --no-dns $1

and don't forget to remove the workaround at https://github.com/microservices-demo/microservices-demo//blob/master/deploy/mesos-cni/provisionWeaveCNI.sh.


Wrong/ missing values for numeric examples

I found two funny bugs in the generated examples, possibly related:

When using a numeric value with fractional digits, some digits are appended or the number gets "rounded" in a weird way.
Example:   "price": 12.3, produces

 "price": {
    "$id": "/properties/price",
    "type": "number",
    "title": "The Price Schema ",
    "default": 0,
    "examples": [
      12.300000190734863
    ]
  },

or "Y":  9.386496 produces..."examples": [ 9.386495590209961 ]

The "example generator" also seems to have an issue with the numbers "4" and "5" in numeric arrays:
"storage": [2,13,5,42] produces
"examples": [ 2, 13, 42 ]

or to exaggerate this:
"numArray": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] produces
 ... "examples": [           0,           1,           2,           3,           6,           7,           8,           9,           10,           11,           12,           13,           14,           15         ]  // 4 and 5 are missing!

Thanks for taking the time to report this Chris. I know it takes time and effort, so it is appreciated.

You're the first person to report this, so thank you for being diligent. In return, I spent my evening looking into it. It's down to the way Python's json package formats floats. I've monkey-patched the json package for now, so this will be fixed in the next release. The monkey-patch will likely remain in place until the service is rewritten in Go later this year.

This was actually fixed a while back - but I've rolled far too many updates into the forthcoming release, so it got pushed-out. Should be with you less than a week.

Regarding 1. { "price": 12.3 } now generates:
"price": {
      "$id": "#/properties/price",
      "type": "number",
      "title": "The Price Schema",
      "default": 0.0,
      "examples": [
        12.3
      ]
    }

Regarding 2. "storage": [2,13,5,42] now generates:
"storage": {
      "$id": "#/properties/storage",
      "type": "array",
      "title": "The Storage Schema",
      "items": {
        "$id": "#/properties/storage/items",
        "type": "integer",
        "title": "The Items Schema",
        "default": 0,
        "examples": [
          2,
          13,
          5,
          42
        ]
      }
    }


Document Image.generate_mipmaps() always running on the main thread

This closes https://github.com/godotengine/godot/issues/51966.

Cherry-picked for 3.4.

Cherry-picked for 3.3.4.


Add deprecation notice

Re: https://github.com/voxpupuli/plumbing/issues/167

Can you please rebase? Travis should turn green since https://github.com/voxpupuli/puppet-python/pull/392 got merged.


[MOBILE] Clear notification once message has been read

How to reproduce:

Send a message to a user that doesn't have the chat open
Open your chat once that user gets the notification
The notification doesn't get cleared once the message has been read. You have to manually clear it.

Search for this: flutter local notification cancel all


Enable Latent Consistency models ONNX export

need https://github.com/huggingface/diffusers/pull/5448 to be merged first

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add Oracle Solaris SPARC build worker

I cloned this repo and tested everything internally. There are a few failing tests, but some of those have open PRs with fixes already and the rest can be fixed once the worker is running (right?).

If you are working on fixing remaining tests, I'm fine with adding the buildbot. If it becomes too complex to fix remaining tests, FYI I'm also fine with skipping them on Solaris.


RadioButton implementation with Typescript

What would you like to be added:
I checked Issue #184, but i can't reproduce the same results on Typescript.
The return type on getValue and setValue methods is the same of field, make impossible to check what radio is checked.
Check this out: https://imgur.com/a/isOVCu5

Why is this needed:
In the new version of GoStack, we use only Typescript, and RadioButton is one of most used components in forms.

Is your enhancement request related to a problem? Please describe.
Yes, because de unform API has fixed a return type of component when getValue or setValue methods are used, when the correct type needs to be the type of value in component.
Thanks!

I'm having the same problem with types in registerField function:
Argument of type '{ name: string; ref: FormHandles[]; path: string; getValue(refs: any): void; setValue(refs: any, value: unknown): void; }' is not assignable to parameter of type 'UnformField<unknown>'.
  Type '{ name: string; ref: FormHandles[]; path: string; getValue(refs: any): void; setValue(refs: any, value: unknown): void; }' is not assignable to type 'FunctionUnformField<unknown>'.
    Types of property 'path' are incompatible.
      Type 'string' is not assignable to type 'undefined'.

i'm having the same problem in the version typescript
Argument of type '{ name: string; ref: null; path: string; getValue: (ref: any) => any; }' is not assignable to parameter of type 'UnformField<any>'.   Type '{ name: string; ref: null; path: string; getValue: (ref: any) => any; }' is not assignable to type 'FunctionUnformField<any>'.     Types of property 'path' are incompatible.

Hey guys, I just created an example of a Radio Button with TypeScript, check it out. Let me know if it helped 🚀
ps: when you have a getValue on your registerField, a path is not required.

Hey @jpedroschmitz!
Thank you for your answer!
I checked the code and saw some little parts that I never think about.
Thank you again and for me, you can close this Issue.

I had to take this approach since defaultChecked is not updated after rendering.
https://gist.github.com/dougg0k/b616d84c286edfeb6ec46346041fbedc

@jpedroschmitz What is the best way to test registerField using the Test Library?

Can you help me, please?


add support to export default when use a single hook

Setting directive :hook without a value should set its value to "default".
Close this issue https://github.com/surface-ui/surface/issues/631

Hey @paulstatezny
I working on this implementation, and when I run mix format, the format change:

into this:

And @msaraiva and I, take a look at the surface format, and we found working around to not format this directive, since :hook is not a boolean directive and this implementation brings us a new situation never pass before when this directive could assume as a default hook when doesn't have any value.

@paulstatezny for now, we could add a new clause:
  defp render_attribute({":hook", true, _meta}, _opts),
    do: "#{name}"

above this one:
https://github.com/surface-ui/surface/blob/0f49505ee8a4535919d88ca7db7c62d4a29aa44d/lib/surface/formatter/phases/render.ex#L334
Then later we could implement a more generic long-term solution that would be to store in the metadata the information about the original format (e.g. :dir vs :dir={true}) so we can properly format any directive or attribute.
WDYT?

Thanks for the contribution @herminiotorres :)
@msaraiva I agree with your suggestion completely. We should add that clause that targets :hook until the metadata includes information to handle it more generically.

@herminiotorres in this case, I believe it's better to implement this small change in the formatter in the scope of this PR.

@herminiotorres thank you! ❤


Should the set of examples work with terraform v0.12.12

I noticed that running the test against examples/terraform-aws-example failed as it was missing  tags = { after the
Just wondering if the tests should be working against terraform v0.12.12?

@ggrover Hm, you're right, the examples haven't been updated for 0.12.x, even though the library itself has!
@yorinasub17 It looks like we're still using Terraform 0.11 in the CI env for Terratest?

It looks like we're still using Terraform 0.11 in the CI env for Terratest?

Yes. This was because this place is the only place currently that validates Terratest works with tf11, since all our other repos validates tf12 support.
With that said, at this point, I would like to propose we drop support for tf11. This will involve:

Updating examples to use tf12
Drop forking of output functions based on tf version
Update CI environment to tf12

@yorinasub17 Ah, gotcha. +1 on what you suggested.

Note that it's not super high priority, as we know Terratest works with TF12. Perhaps punt until after CIS work?

This is now resolved. Beginning with v0.24.0, all examples have been updated to tf12 and tf11 support was dropped.


[e2e]: container workflow_dispatch branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/7649279850
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.workflow_dispatch.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.workflow_dispatch.branch1.default.slsa3.yml
Trigger: workflow_dispatch
Branch: branch1
Date: Thu Jan 25 03:04:16 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/7663414297
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.workflow_dispatch.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.workflow_dispatch.branch1.default.slsa3.yml
Trigger: workflow_dispatch
Branch: branch1
Date: Fri Jan 26 03:05:52 UTC 2024
Tests are passing now. Closing this issue.


Defining provider in the module makes it impossible to remove the module from the project.

While experimenting with this module, I've noticed the following issue:
after wanting to remove the module from my terraform config and the state, terraform apply fails with a bunch of errors that look like the one below.
In the terraform state, all GCP resources reference the provider defined in the module that does not exist after the module is deleted. The only way to remove the resources was using terraform destroy -target=...  and listing the vault resources one by one.
Error: Provider configuration not present

To work with module.vault.module.vault.google_kms_crypto_key_iam_member.ck-iam
its original provider configuration at
module.vault.module.vault.provider.google is required, but it has been
removed. This occurs when a provider configuration is removed while objects
created by that provider still exist in the state. Re-add the provider
configuration to destroy
module.vault.module.vault.google_kms_crypto_key_iam_member.ck-iam, after which
you can remove the provider configuration again.

This is a known Terraform limitation where Terraform requires the original configuration for destroy options. https://github.com/hashicorp/terraform/issues/18994

Probably for exactly that reason Terraform doc suggests not defining providers in sub-modules. Removing the provider and just inheriting (maybe with requiring provider version - see the link below) would make this module way more safe to use. Destroying 43 resources is not fun, even if it can be scripted.
https://www.terraform.io/docs/configuration/modules.html#providers-within-modules


cv2 creates too many idle threads

import cv2
import sys
import numpy as np
import imutils
from pathlib import Path
import shutil
from torf import Torrent

def generate_hash(path):
    file = Torrent(path=path)
    file.generate()
    return file.infohash

def detect_blur_fft(image, size=60, thresh=10):
    (h, w) = image.shape
    (cX, cY) = (int(w / 2.0), int(h / 2.0))
    fft = np.fft.fft2(image)
    fftShift = np.fft.fftshift(fft)
    fftShift[cY - size:cY + size, cX - size:cX + size] = 0
    fftShift = np.fft.ifftshift(fftShift)
    recon = np.fft.ifft2(fftShift)
    magnitude = 20 * np.log(np.abs(recon))
    mean = np.mean(magnitude)
    return (mean, mean <= thresh)

def blur_detection(image_files):
    for image_path in list(dict.fromkeys(image_files)):
        orig = cv2.imread(str(image_path))
        orig = imutils.resize(orig, width=500)
        gray = cv2.cvtColor(orig, cv2.COLOR_BGR2GRAY)
        (mean, blurry) = detect_blur_fft(gray, size=60, thresh=15)
        if blurry:
            img_path = Path("screens/blurry") / image_path.name
            shutil.move(str(image_path), img_path)
            print(blurry)
        else:
            img_path = Path("screens/notblurry") / image_path.name
            shutil.move(str(image_path), img_path)
        input("wait for key input before continuing generate hash")
        print(f"generating hash for {str(img_path)}")
        file_hash = generate_hash(img_path)
        print(f"Generated File info Hash : {file_hash}")

if __name__ == '__main__':
    image_folder = Path(sys.argv[1])
    images = list(image_folder.iterdir())
    files = []
    for file in images:
        if file.is_file():
            files.append(file)
    blur_detection(files)

Expected behaviour
Above code I've written is for checking if a image is blurry and it works fine on my two linux machines (running ubuntu server) and a windows machine.
But on another linux machine (Debian GNU/Linux 9.12) the above program creates too many threads which leads a RuntimeError when other modules try to start a thread
i'll attach screenshots below form htop
Traceback (most recent call last):
  File "fft-blurdetector.py", line 63, in <module>
    blur_detection(new_images)
  File "fft-blurdetector.py", line 52, in blur_detection
    file_hash = generate_hash(img_path)
  File "fft-blurdetector.py", line 12, in generate_torrent
    file.generate()
  File "/home2/megamind/.local/lib/python3.8/site-packages/torf/_torrent.py", line 1033, in generate
    hasher_threadpool = generate.HasherPool(threads, reader.piece_queue)
  File "/home2/megamind/.local/lib/python3.8/site-packages/torf/_generate.py", line 562, in __init__
    self._workers = [Worker(f'hasher{i}', self._worker)
  File "/home2/megamind/.local/lib/python3.8/site-packages/torf/_generate.py", line 562, in <listcomp>
    self._workers = [Worker(f'hasher{i}', self._worker)
  File "/home2/megamind/.local/lib/python3.8/site-packages/torf/_generate.py", line 91, in __init__
    self._thread.start()
  File "/home2/megamind/local/bin/lib/python3.8/threading.py", line 852, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

Actual behaviour
when python3.8 fft.py screens is run this should be the output and this is what i get on the machines that handle this fine
True
wait for key input before continuing generate hash
generating hash for screens/blurry/Test-Image.2736.frame.png
0.006024096385542169
1.0
Generated File Hash : 6aafe821b275dd75fb6661cb6c4969b0528737f0
wait for key input before continuing generate hash
generating hash for screens/notblurry/Test-Image.2580.frame.png
0.006535947712418301
1.0
Generated File Hash : 981a6488e823b416820f1a13ec6de04cd6672b22
wait for key input before continuing generate hash
generating hash for screens/notblurry/Test-Image.2685.frame.png
0.005291005291005291
1.0
Generated File Hash : aad435c864b5c3a144d6baa15520bbc55ddc0a3f
True
wait for key input before continuing generate hash
generating hash for screens/blurry/Test-Image.2590.frame.png
0.007874015748031496
1.0

Steps to reproduce

example code
operating system   Debian GNU/Linux 9.12 (stretch)
architecture (e.g. x86)   x86
opencv-python version    opencv-python-headless==<IP_ADDRESS>
(the machine that fails has a lot more cores than other machines if that can lead to any issue almost 30 core / 60 threads more)

Issue submission checklist

[ ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[ ] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[x] I'm using the latest version of opencv-python

I'm pretty sure that your issue is not related to this repository or OpenCV in any way. Even if it was, this is not the correct place to report the issue (OpenCV bugs should be reported to the actual OpenCV C++ repository: https://github.com/opencv/opencv).
Those OpenCV methods which you are using do not use any threading behind the scenes as far as I know. To me it looks like the torf library is doing some stuff with threading when computing the torrent piece hashes. There will be thousands of threads if your file is big and the piece size is small: https://github.com/rndusr/torf
Please check also: https://stackoverflow.com/a/344292/5795428

Thanks for the response
yes torf does create threads but they kill their threads as soon as the function finishes execution
I have a different version of program where torf is run first and it exists all the threads fine but running cv2 causes torf to never start because of a limitation of how many threads the python program can run. and this happens on just one non root machine i have.
Those OpenCV methods which you are using do not use any threading behind the scenes as far as I know.
these threads are created even before the generate_hash() function is called as you can see in the first screenshot.
I'm pretty sure that your issue is not related to this repository or OpenCV in any way. Even if it was, this is not the correct place to report the issue (OpenCV bugs should be reported to the actual OpenCV C++ repository: https://github.com/opencv/opencv).
sorry about this thought it was a issue related to this package
and searching the issues on opencv did show me a similar issue  from 2015 https://github.com/opencv/opencv/issues/5150
after a quick looking around setting cv2.setNumThreads(0) after the imports lets the generate_hash() function execute properly even though it still creates some idle threads. But I tested it with 100+ images and its goes through them without any issue
Thanks :)


Copy cat

This is a clone of https://github.com/Marxon13/M13Checkbox

Hi @rob-nash,
This is actually the other way around. M13Checkbox has been updated and now looks suspiciously like BEMCheckBox.
M13Checkbox has been rewritten in march 2016 with this commit. This is when the project seem to just have become a Swift implementation of BEMCheckBox.
I realized that a few month ago, and am not sure what to do about it. I actually am okay with it, although a little mention of BEMCheckBox on the readme would have been nice =)
Maybe I should open an issue on their board like you did?

Apologies. I thought it was the other way around. I have been raising issues on the other guys repo.

No worries @rob-nash!


Different error message for different commands when pwd is not a component

[kind/bug]

What versions of software are you using?

Operating System: linux
Output of odo version:

How did you run odo exactly?
[gramnani@girishpc odo]$ odo url create
 ✗  The current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component
[gramnani@girishpc odo]$ odo push
 ✗  Blank source location, does the .odo directory exist?

Expected behavior
Should have same error message?

@kadel does this look relevant for GA?

Just tried this and am seeing that the messaging has been synchronized.
$ odo url create
 ✗  The current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component

$ odo push
 ✗  The current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component

Hence closing.


Built-in support for configuring NULL business key handling

Built-in support for configuring NULL business key handling
More details here

I'd like to review:

Whether we do x_ORIGINAL or not
and whether we should have additional tests for Hubs, Links, Satellites just to make sure the null keys are brought in as we expect

We can sort these in a future PR.

@DVTimWilson @DVSiobhanStrange Great work!! Only gaps I can see in the testing are:

1 or two scenario where SHA256 hashing is enabled
a few scenarios where we load the -1, -2 records into Hubs, Links, and Satellites and make sure they are handled correctly

After these are complete I am happy to merge this PR.

@DVTimWilson @DVSiobhanStrange Great work!! Only gaps I can see in the testing are:

We should have one or two scenarios where SHA256 hashing is enabled
We should have a few scenarios where we load the -1, -2 records into Hubs, Links, and Satellites and make sure they are handled correctly (i.e. are actually loaded rather than ignored)
We should have a few scenarios where the replacement values are configured differently from the default (-3 instead of -1 on required keys for example) It would be good to have one of these scenarios be the main case we allowed this to be configurable for: Actually having a column which has the value -1

After these are complete I am happy to merge this PR.

Hi Alex, all good ideas, will do.

@DVTimWilson @DVSiobhanStrange Great work!! Only gaps I can see in the testing are:

We should have one or two scenarios where SHA256 hashing is enabled
We should have a few scenarios where we load the -1, -2 records into Hubs, Links, and Satellites and make sure they are handled correctly (i.e. are actually loaded rather than ignored)
We should have a few scenarios where the replacement values are configured differently from the default (-3 instead of -1 on required keys for example) It would be good to have one of these scenarios be the main case we allowed this to be configurable for: Actually having a column which has the value -1

After these are complete I am happy to merge this PR.

Hi @DVAlexHiggs Alex, all good ideas, will do.

I have pushed test scenarios for the first and third points. I am still working on test scenarios for the second point.


LPE local/global position estimation drift

In SITL teseted:
After taking off in manual mode and disarming such that the vehicle remains on the floor, the LPE gives wrong local/global position estimates (keeps drifting)

Sounds like landed fake measurement isn't kicking in, will take a look soon.

@Stifael Do you mean there is a minimum take off speed if we switch the mode to OFFBOARD when the vehicle is on the ground?
In the position control code, there is a section manage it
/* special thrust setpoint generation for takeoff from ground */
	if (_pos_sp_triplet.current.valid
	    && _pos_sp_triplet.current.type == position_setpoint_s::SETPOINT_TYPE_TAKEOFF
	    && _control_mode.flag_armed) {

		// check if we are not already in air.
		// if yes then we don't need a jumped takeoff anymore
		if (!_takeoff_jumped && !_vehicle_land_detected.landed && fabsf(_takeoff_thrust_sp) < FLT_EPSILON) {
			_takeoff_jumped = true;
		}

		if (!_takeoff_jumped) {
			// ramp thrust setpoint up
			if (_vel(2) > -(_params.tko_speed / 2.0f)) {
				_takeoff_thrust_sp += 0.5f * dt;
				_vel_sp.zero();
				_vel_prev.zero();

			} else {
				// copter has reached our takeoff speed. split the thrust setpoint up
				// into an integral part and into a P part
				_thrust_int(2) = _takeoff_thrust_sp - _params.vel_p(2) * fabsf(_vel(2));
				_thrust_int(2) = -math::constrain(_thrust_int(2), _params.thr_min, _params.thr_max);
				_vel_sp_prev(2) = -_params.tko_speed;
				_takeoff_jumped = true;
				_reset_int_z = false;
			}
		}

		if (_takeoff_jumped) {
			_vel_sp(2) = -_params.tko_speed;
		}

	}

but I am not confirmed that this section results the drifiting.

@weiweikong: nope, it has nothing to do with offboard mode. The values that you can see from qgc (global and local position lat, long, and alt) are sent from the estimator and is independent of the position controller. Those values are changing even when on ground after landing and disarming. this behaviour does not occur when using ekf2 estimator

I'm kind of being stretched thin. I'm trying to get the IEKF running as a replacement to LPE/ attitude_estimator_q and also keep maintaining LPE during the transition. @Stifael before I start debugging   can  you give me more info on if you were flying with optical flow or gps?

@Stifael I'm unable to reproduce with GPS, will try flow.

@Stifael
make posix_sitl_default iris_opt_flow

takeoff and land using optical flow in SITl: http://logs.px4.io/plot_app?log=016bf446-ff28-4cc6-a287-695b9e33b42b
make posix_sitl_default iris_opt_flow

I just now saw it after running the optical flow sim:
pxh> commandINFO  [local_position_estimator] [lpe] baro init 0 m std -2147483648 cm
INFO  [commander] home: 47.3977432, 8.5455942, 0.10
INFO  [tone_alarm] home_set
er takeoff
pxh> INFO  [commander] Taking off
INFO  [tone_alarm] positive
INFO  [commander] home: 47.3977432, 8.5455942, 0.13
INFO  [tone_alarm] arming
INFO  [commander] Takeoff detected
INFO  [local_position_estimator] [lpe] land timeout
INFO  [tone_alarm] neutral
[Wrn] [Publisher.cc:140] Queue limit reached for topic /gazebo/default/iris/imu, deleting message. This warning is printed only once.
[Wrn] [Publisher.cc:140] Queue limit reached for topic /gazebo/default/iris/motor_speed/1, deleting message. This warning is printed only once.
WARN  [navigator] global position timeout
INFO  [tone_alarm] gps_warning
INFO  [commander] no gps
WARN  [commander] failsafe mode on
ERROR [sensors] Baro #0 fail:  STALE!

http://logs.px4.io/plot_app?log=d5496997-6bdc-4eb1-8c8d-84d9b80c3d2e

@Stifael Thank you for your explain. I will read the code and test more to find the strange period, taking off aggressively, when uses LPE, as mentioned in issue https://github.com/PX4/Firmware/issues/6106.


Update simple HTTP testing to explain emulator interactions

See:
https://github.com/firebase/firebase-tools/issues/3098#issuecomment-771981685

@markgoho that error message is correct, you have not called admin.initializeApp() anywhere so you can't use admin.firestore() to perform actions.
Also make sure you have FIRESTORE_EMULATOR_HOST set correctly in your environment or the Admin SDK will attempt to talk to prod. If you're running your tests through firebase emulators:exec this is handled for you.

thank you so much @samtstern that did solve this issue!
does your functions.spec.js file in this repo get the intializeApp() call from https://github.com/firebase/quickstart-testing/blob/master/unit-test-cloud-functions/functions/test/functions.spec.js#L15 where you require the index.js file?
it seems like I'll need two separate spec files:

one where I'm manually calling initializeApp because I'm not importing my functions index
one where I'm importing my functions index and letting it call initializeApp

@markgoho that's a great point and I hadn't thought about it! Yes we're somewhat accidentally inheriting the app initialization from the wrapped functions themselves since they're running inside the same process rather than being accessed over the network.


star citizen gamefixes

remove un-needed overrides
add environment variable radv_zero_vram

radv_zero_vram should never be a permanent setting. if it needs to fix a graphics isssue then it needs to be report to upstream mesa

thanks for the feedback, holding off for upstream


[Work-in-progress] Implement new CI/CD pipeline

Description
Implement CI/CD in Azure Pipelines
Related Issue
Resolve #435
Motivation and Context
Allow for more flexibility and no necessity for personalized accounts to be used anywhere in the CI/CD flow
How Has This Been Tested?
All existing tests are passing
Screenshots (if appropriate):
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTION document.
[ ] I have updated the CHANGELOG file accordingly for the version that this merge modifies.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Closing pull request, insufficient permissions to make these changes


Twenty

Codecov Report

Merging #25 (0c16adb) into main (1870d0a) will increase coverage by 0.81%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   39.29%   40.10%   +0.81%
==========================================
  Files           9        9
  Lines         738      733       -5
==========================================
+ Hits          290      294       +4
+ Misses        438      431       -7
+ Partials       10        8       -2

Impacted Files
Coverage Δ

logger.go
59.54% <ø> (+2.61%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


To create a new bounty additional requirements needs to be provided from the API

Currently, we get the details of the existing bounties, while to add a new bounty, we need further information. Please refer to the code that is pointed to and the hook.
required parameters and hook:
const { bountyDepositBase, bountyValueMinimum, dataDepositPerByte, maximumReasonLength, proposeBounty } = useBounties();

Fixed by https://github.com/litentry/litentry-graph/pull/177


What does IS4 provide that I cannot get with Azure Active Directory alone?

We currently have Azure Active Directory with several thousand users in Active Directory. What does IS4 provide that I cannot get with connecting my .NET and/or Java apps to AAD alone?

StackOverflow is a more appropriate place for your question.
If you or your company need commercial support, please see here for more information.
Thanks!

Thanks, however looking at the posts on StackOverflow shows that very few of the postings receive any up votes much less a response.
Connie DeCinko | Software Developer | MIS
Knight Transportation, Inc. | Phoenix, AZ
Connie.DeCinko<EMAIL_ADDRESS><EMAIL_ADDRESS>From: Brock Allen<EMAIL_ADDRESS>Sent: Friday, July 5, 2019 1:36 PM
To: IdentityServer/IdentityServer4<EMAIL_ADDRESS>Cc: Connie Decinko<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [IdentityServer/IdentityServer4] What does IS4 provide that I cannot get with Azure Active Directory alone? (#3396)
[External Email]  This email originated from external sources.
StackOverflow is a more appropriate place for your question.
If you or your company need commercial support, please see herehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fidentityserver4.readthedocs.io%2Fen%2Flatest%2Fintro%2Fsupport.html%23commercial-support&data=01|01|connie.decinko%40knighttrans.com|5d3a6b5bd2f146224c2408d701886d37|9eb5a8ee94984bf693278b58ad56bf0b|1&sdata=%2FQetS9%2F16BaeMR1%2BHGkY1dkzDGeWeMXQ6A%2BNHsiQYCM%3D&reserved=0 for more information.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FIdentityServer%2FIdentityServer4%2Fissues%2F3396%3Femail_source%3Dnotifications%26email_token%3DALCPKBDTO7LJ6FNZHEN2RS3P56WD3A5CNFSM4H6NXXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZKIXGY%23issuecomment-508857243&data=01|01|connie.decinko%40knighttrans.com|5d3a6b5bd2f146224c2408d701886d37|9eb5a8ee94984bf693278b58ad56bf0b|1&sdata=Sc7%2Fq4kybTEv9GQE9hP4VS0PjI%2FwHM88XYzPngoAGCw%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALCPKBBEI5BDIOQSWFMF5KTP56WD3ANCNFSM4H6NXXDQ&data=01|01|connie.decinko%40knighttrans.com|5d3a6b5bd2f146224c2408d701886d37|9eb5a8ee94984bf693278b58ad56bf0b|1&sdata=lb6tlbDUxfQMzpAZQaTXbMPnTHL8fWhaSf9zdH%2Fcnnc%3D&reserved=0.


chat update and delete method with postman tests2

setup the Update and delete by ID chat methods in the controllers
Below are the Postman tests:-
1). Update by ID

Delete by ID

Now its delete so will not be found

continuation of The closed PR #49

@Abhishek-kumar09  since i had made one step error there during rebase of PR #49
I closed it and made a new one
Please see

Hi @Devesh21700Kumar I think I merged this PR by mistake, sorry for inconvenience. Please apply the suggested changes and let me know if you have any doubt.


HTML markup issues in the FAQ section

Please take a look at the links there - there are some HTML tags missing.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a1c96ba5-164a-e66f-a782-d0cd60a500f3
Version Independent ID: c0f01676-6a46-99a7-a56f-3b2d6eb5e965
Content: Overview of Azure API Management developer portal - Azure API Management
Content Source: articles/api-management/api-management-howto-developer-portal.md
Service: api-management
GitHub Login: @mikebudzynski
Microsoft Alias: apimpm

@VitalyMCT Thank you for your feedback! We will review and update as appropriate.

@VitalyMCT Thanks again for bringing this to our attention and helping us drive improvements towards MS Docs! I have created a PR that fixes the broken markup and the changes should be live soon.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Why Select2 doesn't have highlight/focus?

Hi, I was looking at the examples of select2 and I was wondering why those inputs doesn't have the typical bootstrap blue highlight or focus color. Is it customized like that?

Hello @MrLinDowsMac
Select2 in AdminLTE is customized to fit the styling of AdminLTE not Bootstrap.
Thanks!


More specific recommendations in Raise CreateCondaEnvironmentException: Conda must be version 24.7.1 or later,

Is your feature request related to a problem? Please describe.
My institution's HPC is running conda version 23.9.0 and does not plan to upgrade any time soon. Thus, the note: "that you can also install conda into the snakemake environment without modifying your main conda installation" seems to be very useful in my situation but after installing the latest conda version within the environment I was using, I still fail the version check for conda. It seems counter intutive to me that I could run a newer version of conda from an older base version, and when I search for how to do this, nothing relevant comes up.
Describe the solution you'd like
If the "note that you can also install conda into the snakemake environment without modifying your main conda installation" does not mean what I think it means, then I think it should be reworded to make the recommendation clearer. If it does indeed mean that you can run a newer version of conda within an environment that has an older version of conda as the base installation, then I think the note should direct the user to some documentation on how to achieve that.

I had the same issue and although conda allows you to install any version of itself into the environment (conda install/update conda), snakemake doesn't actually pick up the version from the environment. I have only been able to trace it down to the fact snakemake is checking the version using subprocess.check_output("conda --version", executable=shell_executable) and without the shell_executable argument it is picking up the correct version. I've resorted to switching off the version check as nothing else seems to do the trick.

I had the same issue and although conda allows you to install any version of itself into the environment (conda install/update conda), snakemake doesn't actually pick up the version from the environment. I have only been able to trace it down to the fact snakemake is checking the version using subprocess.check_output("conda --version", executable=shell_executable) and without the shell_executable argument it is picking up the correct version. I've resorted to switching off the version check as nothing else seems to do the trick.

May I ask where you switched this off? In one of the rules? I cannot find this in the program file or in the rules of the pipeline I am trying to run. Thank you.

May I ask where you switched this off? In one of the rules? I cannot find this in the program file or in the rules of the pipeline I am trying to run. Thank you.

It should be in the source code for snakemake.conda as follows
from distutils.version import StrictVersion

        try:
            version = shell.check_output(
                self._get_cmd("conda --version"), stderr=subprocess.STDOUT
            ).decode()
            version = version.split()[1]
            if StrictVersion(version) < StrictVersion("4.2"):
                raise CreateCondaEnvironmentException(
                    "Conda must be version 4.2 or later, found version {}.".format(
                        version
                    )
                )
        except subprocess.CalledProcessError as e:
            raise CreateCondaEnvironmentException(
                "Unable to check conda version:\n" + e.output.decode()
            )

The file exists in your snakemake conda directory, you can find it by
activate snakemake # activate the snakemake directory
which snakemake # prints the path to your snakemake executable file
cd $(python -c "import site; print(site.getsitepackages()[0])")/snakemake # go to source code of executable
pwd # check which directory you're in
cd deployment # where conda.py file is
head conda.py

If you want to switch it off you can simply comment off the lines above in the conda.py file with any text editor like nano or vim.
WARNING: You can change it at your discretion (be careful to remember that you've done this in case you want to reverse it).

Yes, I commented the line the self.check_version method is called in.
From: Erfan Shekarriz @.>
Date: Friday, 1 November 2024 at 04:33
To: snakemake/snakemake @.>
Cc: Michel Wortmann @.>, Comment @.>
Subject: Re: [snakemake/snakemake] More specific recommendations in Raise CreateCondaEnvironmentException: Conda must be version 24.7.1 or later, (Issue #3163)
May I ask where you switched this off? In one of the rules? I cannot find this in the program file or in the rules of the pipeline I am trying to run. Thank you.
It should be in the source code for snakemake.conda as follows
from distutils.version import StrictVersion
    try:

        version = shell.check_output(

            self._get_cmd("conda --version"), stderr=subprocess.STDOUT

        ).decode()

        version = version.split()[1]

        if StrictVersion(version) < StrictVersion("4.2"):

            raise CreateCondaEnvironmentException(

                "Conda must be version 4.2 or later, found version {}.".format(

                    version

                )

            )

    except subprocess.CalledProcessError as e:

        raise CreateCondaEnvironmentException(

            "Unable to check conda version:\n" + e.output.decode()

        )

The file exists in your snakemake conda directory, you can find it by
activate snakemake # activate the snakemake directory
which snakemake # prints the path to your snakemake executable file
cd $(python -c "import site; print(site.getsitepackages()[0])")/snakemake # go to source code of executable
pwd # check which directory you're in
cd deployment # where conda.py file is
head conda.py
If you want to switch it off you can simply comment off the lines above in the conda.py file with any text editor like nano or vim.
WARNING: You can change it at your discretion (be careful to remember that you've done this in case you want to reverse it).
—
Reply to this email directly, view it on GitHubhttps://github.com/snakemake/snakemake/issues/3163#issuecomment-2451276721, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6KXMPJVKANTRVIMTNY6C3Z6MAA3AVCNFSM6AAAAABQMR2SS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRGI3TMNZSGE.
You are receiving this because you commented.Message ID: @.***>


Harvest Moon: The Tale of Two Towns

Bokujou Monogatari: Futago no Mura (JPN) + Harvest Moon: The Tale of Two Towns (USA, EUR, AUS)

hold on pls disregard this haha, the old commit was accidentally included


spoof: init at 2.0.4

Description of changes

https://github.com/feross/spoof (Feross' updated version of https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/spoof-mac/default.nix)
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

spoof

lgtm, see no evil, but there is a catch... spoof list does not list any interfaces, does this work for you? What are the results when you test it via nixpkgs-review?
Logs are long, i show ip a and ifconfig are listing interfaces but spoof does not
https://gist.github.com/raspher/ec727925208930e66816256ae5cb58d0
nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.78, NixOS, 23.11 (Tapir), 23.11.4703.c5101e457206`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11, nixos-unstable"`
 - nixpkgs: `/home/raspher/.cache/nixpkgs-review/pr-285855-2/nixpkgs`

When testing on Darwin, spoof randomize en0 seemed to work for me, but I can test again with sandboxing

@raspher Anything else I should do to get this merged?

@milomg feel free to just ping a committer or something when it takes this much time


Is it possible to load multiple models  with predictor in tensorpack?

An end-to-end task needs to run inference with more than one models. The models are executed one by one. Is is possible to load multiple models with tensorpack?

What do you mean by "load"?
You can easily use multiple models. Just create multiple PredictConfig and then predictors.

Thanks! That works fine! Is it possible to assign different GPU to different predictors?

You can just write
'with tf.device'
in your two models.

Thanks!


Typo

Hi, just browsing the code, looks good. I don't know too much python and how the whole system works, but I found a typo in udbenchmark_PIs/src/pi_FPE/pi_FPE/init.py
on the last line, it reads:
all = ['clacFPE']
which should probably be
all = ['calcFPE']
I was too lazy to branch and create a pull request.. ;-).
Otherwise it looks impressive!

I corrected it. Thanks Sjoerd.


Add email-to option in action buttons for dashboard and slice

Done:

In explore view, email-to option is available besides copy button in url short link
In dashboard view, email-to option is available in controls

explore view:

dashboard view:

needs-review @ascott @mistercrunch @bkyryliuk

lgtm.
a future idea for this functionality would be to allow a user to choose another user to send the slice to, and we take care of sending the email on the backend. i use gmail in the browser so for me this would open the mac mail client, and that wouldn't work for me. i would guess that may be the case of others too.

Agreed, it's quite hard to switch default email client on Mac, adding handler for sending email would be great.

Nice add Vera!
On Wed, Dec 14, 2016 at 11:53 AM vera-liu<EMAIL_ADDRESS>wrote:

Merged #1705 https://github.com/airbnb/superset/pull/1705.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/superset/pull/1705#event-894200843, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARcz4R-GTCHvJM2oxESMOnAVzT3BZBasks5rIEkfgaJpZM4K_RE6
.


Fix last paragraph (editing) and feel productive today. Pair Programming Definition in Guide.

Incomplete first sentence or punctuation and typos in:
http://www.freecodecamp.com/field-guide/what-is-pair-programming-and-why-is-it-special
"By pair programming with other Free Code Camp students on our coding challenges. Eventually, you'll work with people at nonprofits to build real-life software solutions."

I fixed/changed this in this pull request. If you think the new wording could be improved upon, keep this issue open, otherwise it's safe to close it while waiting for staging to be merged.

Perfecto!


Built-in generator tests (CSharp.Gen, NamespacesDerived.Gen) randomly throwing NRE in AstVisitor on reruns

I'm just compiling/testing CppSharp. CppSharp itself has compiled fine.
When CppSharp wants to compile tests it runs code generators.
I've seen those generators fail with null reference exception during msbuild build. In VS they sometimes run fine, but sometimes crash with exception (just re-running the same CppSHarp generator project).
This non-deterministic failures irk me a lot.
I've seen several causes for exception:

VisitDeclContext,
var decl = ctx.GetClasses(i);
var _decl = Visit(decl) as AST.Class; //The returned value was actually AST.Field. Thus, null

operator= is stated to have 1 parameter, but it's null

VisitClassDecl, @class.Methods contains a null among the methods

This non-deterministic behavior really baffles me.
OS: Windows
Target: MSVC
Stack trace or incompilable generated code
Case 0.1

PreBuildEvent:
"A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\build\vs2017\lib\Release_x86\NamespacesDerived.Gen.exe"
Generating bindings for NamespacesDerived (CSharp)
Looking for tests in: A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\tests\NamespacesDerived
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0
Parsed 'NamespacesBase.h'
Parsed 'NamespacesDerived.h'
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at CppSharp.DeclConverter.VisitDeclContext(DeclarationContext ctx, DeclarationContext _ctx) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Parser\ASTConverter.cs:line 1008
at CppSharp.ASTConverter.Convert() in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Parser\ASTConverter.cs:line 409
at CppSharp.ClangParser.ConvertASTContext(ASTContext context) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Parser\Parser.cs:line 91
at CppSharp.Driver.ParseCode() in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Driver.cs:line 149
at CppSharp.ConsoleDriver.Run(ILibrary library) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Driver.cs:line 413
at CppSharp.Tests.NamespacesDerived.Main(String[] args) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\tests\NamespacesDerived\NamespacesDerived.cs:line 46
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(1274,5): error MSB3073: The command ""A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\build\vs2017\lib\Release_x86\NamespacesDerived.Gen.exe"" exited with code -1073741819. [A:_All\My.Cr
eativity.Coding.3rd-party_Incoming\CppSharp\tests\NamespacesBase\NamespacesBase.CSharp.csproj]
Done Building Project "A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\tests\NamespacesBase\NamespacesBase.CSharp.csproj" (default targets) -- FAILED.

Case 0.2

PreBuildEvent:
"A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\build\vs2017\lib\Release_x86\CSharp.Gen.exe"
Generating bindings for CSharp (CSharp)
Looking for tests in: A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\tests\CSharp
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0
Parsed 'AnotherUnit.h'
Parsed 'CSharp.h'
Parsed 'CSharpTemplates.h'
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at CppSharp.Passes.TranslationUnitPass.IsDeclExcluded(Declaration decl) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Passes\Pass.cs:line 50
at CppSharp.Passes.TranslationUnitPass.VisitDeclaration(Declaration decl) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Passes\Pass.cs:line 44
at CppSharp.AST.AstVisitor.VisitFunctionDecl(Function function) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\AST\ASTVisitor.cs:line 394
at CppSharp.AST.AstVisitor.VisitMethodDecl(Method method) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\AST\ASTVisitor.cs:line 410
at CppSharp.AST.AstVisitor.VisitClassDecl(Class class) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\AST\ASTVisitor.cs:line 351
at CppSharp.AST.Class.Visit[T](IDeclVisitor1 visitor) in A:\_All\My.Creativity.Coding.3rd-party\_Incoming\CppSharp\src\AST\Class.cs:line 312      at CppSharp.AST.AstVisitor.VisitDeclarationContext(DeclarationContext context) in A:\_All\My.Creativity.Coding.3rd-party\_Incoming\CppSharp\src\AST\ASTVisitor.cs:line 557      at CppSharp.Passes.TranslationUnitPass.VisitTranslationUnit(TranslationUnit unit) in A:\_All\My.Creativity.Coding.3rd-party\_Incoming\CppSharp\src\Generator\Passes\Pass.cs:line 37      at CppSharp.Passes.TranslationUnitPass.VisitASTContext(ASTContext context) in A:\_All\My.Creativity.Coding.3rd-party\_Incoming\CppSharp\src\Generator\Passes\Pass.cs:line 24      at CppSharp.Generators.BindingContext.<RunPasses>b__33_0(TranslationUnitPass pass) in A:\_All\My.Creativity.Coding.3rd-party\_Incoming\CppSharp\src\Generator\BindingContext.cs:line 42      at CppSharp.PassBuilder1.RunPasses(Action`1 action) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Passes\PassBuilder.cs:line 49
at CppSharp.Generators.BindingContext.RunPasses() in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\BindingContext.cs:line 36
at CppSharp.Driver.ProcessCode() in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Driver.cs:line 272
at CppSharp.ConsoleDriver.Run(ILibrary library) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\src\Generator\Driver.cs:line 429
at CppSharp.Tests.CSharpTestsGenerator.Main(String[] args) in A:_All\My.Creativity.Coding.3rd-party_Incoming\CppSharp\tests\CSharp\CSharp.cs:line 63

Case 1:
var d = Visit(decl);

{_Myend}
[CppSharp.AST.Field]: {_Myend}
Access: Public
Attributes: Count = 0
Comment: null
CompleteDeclaration: null
DebugText: "pointer _Myend"
DefinitionOrder: 0
ExcludeFromPasses: Count = 0
ExplicityIgnored: false
generationKind: null
GenerationKind: Generate
Ignore: false
IsDeclared: true
IsDependent: true
IsExplicitlyGenerated: false
IsGenerated: true
IsImplicit: false
IsIncomplete: false
IsInternal: false
LineNumberEnd: 442
LineNumberStart: 442
Location: {File ID: 484975}
LogicalName: "_Myend"
LogicalOriginalName: "_Myend"
MaxFieldAlignment: 0
Name: "_Myend"
name: "_Myend"
namespace: {_Vector_val}
Namespace: {_Vector_val}
OriginalName: "_Myend"
OriginalNamespace: {_Vector_val}
OriginalPtr: 135234160
PreprocessedEntities: Count = 0
QualifiedLogicalName: "std::_Vector_val::_Myend"
QualifiedLogicalOriginalName: "std::_Vector_val::_Myend"
QualifiedName: "std::_Vector_val::_Myend"
QualifiedOriginalName: "std::_Vector_val::_Myend"
Redeclarations: Count = 0
TranslationUnit: File = "vector", Ignored = false
USR: "c:@N@std@ST>1#T@_Vector_val@FI@_Myend"

d is AST.Class

false

var d2 = Visit(decl);

{DerivesFromTemplateWithExplicitSpecialization}
[CppSharp.AST.Class]: {DerivesFromTemplateWithExplicitSpecialization}
Access: Public
Attributes: Count = 0
Comment: null
CompleteDeclaration: null
DebugText: "class DerivesFromTemplateWithExplicitSpecialization : public HasDefaultTemplateArgument<T, D>\r\n{\r\npublic:\r\n    DerivesFromTemplateWithExplicitSpecialization();\r\n    ~DerivesFromTemplateWithExplicitSpecialization();\r\n}"
DefinitionOrder: 0
ExcludeFromPasses: Count = 0
ExplicityIgnored: false
generationKind: null
GenerationKind: Generate
Ignore: false
IsDeclared: true
IsDependent: true
IsExplicitlyGenerated: false
IsGenerated: true
IsImplicit: false
IsIncomplete: false
IsInternal: false
LineNumberEnd: 293
LineNumberStart: 288
Location: {File ID: 17563}
LogicalName: "DerivesFromTemplateWithExplicitSpecialization"
LogicalOriginalName: "DerivesFromTemplateWithExplicitSpecialization"
MaxFieldAlignment: 0
Name: "DerivesFromTemplateWithExplicitSpecialization"
name: "DerivesFromTemplateWithExplicitSpecialization"
namespace: File = "CSharpTemplates.h", Ignored = false
Namespace: File = "CSharpTemplates.h", Ignored = false
OriginalName: "DerivesFromTemplateWithExplicitSpecialization"
OriginalNamespace: File = "CSharpTemplates.h", Ignored = false
OriginalPtr: 135234160
PreprocessedEntities: Count = 0
QualifiedLogicalName: "DerivesFromTemplateWithExplicitSpecialization"
QualifiedLogicalOriginalName: "DerivesFromTemplateWithExplicitSpecialization"
QualifiedName: "DerivesFromTemplateWithExplicitSpecialization"
QualifiedOriginalName: "DerivesFromTemplateWithExplicitSpecialization"
Redeclarations: Count = 0
TranslationUnit: File = "CSharpTemplates.h", Ignored = false
USR: "c:@ST>2#T#T@DerivesFromTemplateWithExplicitSpecialization"

Case 2:
function

{operator=}
[CppSharp.AST.Method]: {operator=}
base {CppSharp.AST.DeclarationContext}: {operator=}
Body: "{\n    *this.T1::operator=();\n    this->independent = .independent;\n    return *this;\n}\n"
CallingConvention: ThisCall
Field: null
FriendKind: None
FunctionType: {Func<global::CSharp.IndependentFields, global::CSharp.IndependentFields >}
HasIndirectReturnTypeParameter: 'function.HasIndirectReturnTypeParameter' threw an exception of type 'System.NullReferenceException'
HasThisReturn: false
InstantiatedFrom: null
IsAmbiguous: false
IsCCall: false
IsConstExpr: false
IsDefaulted: true
IsDeleted: false
IsFastCall: false
IsInline: true
IsNonMemberOperator: false
IsOperator: true
IsPure: false
IsReturnIndirect: false
IsStdCall: false
IsSynthetized: false
IsThisCall: true
IsVariadic: false
Mangled: "??4?$IndependentFields@H@@QAEAAV0@ABV0@@Z"
OperatorKind: Equal
OriginalFunction: null
OriginalReturnType: 'function.OriginalReturnType' threw an exception of type 'System.NullReferenceException'
Parameters: Count = 1
QualifiedType: {global::CSharp.IndependentFields}
ReturnType: {global::CSharp.IndependentFields}
Signature: "IndependentFields"
SpecializationInfo: null
SynthKind: None
Type: "global::CSharp.IndependentFields" ["PointerType"]

Case 3:
methods

{CppSharp.AST.Method[7]}
[0]: {InheritsProtectedVirtualFromSecondaryBase}
[1]: null
[2]: {operator=}
[3]: {operator=}
[4]: {~InheritsProtectedVirtualFromSecondaryBase}
[5]: {InheritsProtectedVirtualFromSecondaryBase}
[6]: {InheritsProtectedVirtualFromSecondaryBase}

CppSharp.Generator.dll!CppSharp.Passes.TranslationUnitPass.IsDeclExcluded(CppSharp.AST.Declaration decl) Line 50 + 0x3 bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Passes.TranslationUnitPass.VisitDeclaration(CppSharp.AST.Declaration decl) Line 44 + 0xb bytes	C#	Symbols loaded.
CppSharp.AST.dll!CppSharp.AST.AstVisitor.VisitFunctionDecl(CppSharp.AST.Function function) Line 394 + 0xe bytes	C#	Symbols loaded.
CppSharp.AST.dll!CppSharp.AST.AstVisitor.VisitMethodDecl(CppSharp.AST.Method method) Line 410 + 0xe bytes	C#	Symbols loaded.
CppSharp.AST.dll!CppSharp.AST.AstVisitor.VisitClassDecl(CppSharp.AST.Class class) Line 351 + 0x11 bytes	C#	Symbols loaded.
CppSharp.AST.dll!CppSharp.AST.Class.Visit(CppSharp.AST.IDeclVisitor visitor) Line 312 + 0xc bytes	C#	Symbols loaded.
CppSharp.AST.dll!CppSharp.AST.AstVisitor.VisitDeclarationContext(CppSharp.AST.DeclarationContext context) Line 557 + 0x24 bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Passes.TranslationUnitPass.VisitTranslationUnit(CppSharp.AST.TranslationUnit unit) Line 37 + 0xe bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Passes.TranslationUnitPass.VisitASTContext(CppSharp.AST.ASTContext context) Line 24 + 0xe bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Generators.BindingContext.RunPasses.AnonymousMethod__33_0(CppSharp.Passes.TranslationUnitPass pass) Line 42 + 0x1f bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.PassBuilder<CppSharp.Passes.TranslationUnitPass>.RunPasses(System.Action<CppSharp.Passes.TranslationUnitPass> action) Line 49 + 0xe bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Generators.BindingContext.RunPasses() Line 36 + 0x36 bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.Driver.ProcessCode() Line 272 + 0x15 bytes	C#	Symbols loaded.
CppSharp.Generator.dll!CppSharp.ConsoleDriver.Run(CppSharp.ILibrary library) Line 429 + 0xa bytes	C#	Symbols loaded.
CSharp.Gen.exe!CppSharp.Tests.CSharpTestsGenerator.Main(string[] args) Line 63 + 0x22 bytes	C#	Symbols loaded.

Do you use our latest code? I fixed a crash in native memory just yesterday which looks like this bug - random null references. Am I correct that you get the crash at different location on each run?

Hey, this is definitely not normal behaviour.
As @ddobrev said, he refactored some code the last few days which might have added some regressions. Try the latest revision and let us know if it's still an issue.

I was at 51a109d2dba2b793521906faff8d2f32a59f9dfc (Nov 12). I'll try the latest code.

@Ark-kun you should be fine with master, the commit you've linked is precisely the one I introduced the crash at.

me.Luck == -13
Looks like it stopped crashing on HEAD.


Support for premium (30day) search

Checking the docs for premium search, it appears to use this endpoint:
POST /search/30day
I can't see a way to reference this endpoint using the Twitter API class, since Twitter.search.30day() is invalid Python syntax.
Can anyone suggest a clean solution to this?

Ah, good one! :)
My best guess would be to allow to call these rare new routes with getitem instead of getattr by adding to TwitterCall a getitem function very similar to the getattr one https://github.com/sixohsix/twitter/blob/master/twitter/api.py#L195-L208
@sixohsix any better idea?
Also I fear the /tweets/search/30day/:label/counts routes might not be doable in the current state of the code

Twitter().tweets.search.("30day").("whatever_label").counts
Something like that should work.
On Dec 23, 2017 9:13 PM, "Benjamin Ooghe-Tabanou"<EMAIL_ADDRESS>wrote:
Ah, good one! :)
My best guess would be to allow to call these rare new routes with getitem
instead of getattr by adding to TwitterCall a getitem function very
similar to the getattr one https://github.com/sixohsix/
twitter/blob/master/twitter/api.py#L195-L208
@sixohsix https://github.com/sixohsix any better idea?
Also I fear the /tweets/search/30day/:label/counts routes might not be
doable in the current state of the code
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sixohsix/twitter/issues/373#issuecomment-353745768,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACepwURYv4GjpJndaKuiPywUqqhsaGMks5tDV79gaJpZM4RLPz-
.

Ah indeed, forgot about the magical _ attribute! :)

Twitter().tweets.search.("30day").("whatever_label").counts
Something like that should work.

That seems to work.  Closing this issue for now.
Thanks for the prompt response, @sixohsix


Unable to use plugin when account requires 2 factor authentication

Just says Error logging in : null.
I've attempted to create a new role and use that but the plugin seems to only recognise administrator

2FA is not currently supported. I am currently working on an update to introduce token based authentication (TBA) instead of user/pass.

Will it be possible to pull non-admin roles that don't require 2FA but has all necessary permissions (file cabinet and web service) and use that as account role in project setting instead?

This is resolved in the latest version for now via creating a custom role that can upload. I was going to do TBA but I do not have time for that currently.

Hi Chris,
Can you please let me know how to login using TBA in NetSuite in SuiteTalk?
Thanks,
Abhay

As the above states, you need to create a custom role with the permission you need and assign it to your login so that you can log in.
Required Permissions (there are 3 total across 2 separate sublists):

Lists -> Documents and Files -> Full
Setup -> Allow JS/HTML Uploads -> Full
Setup -> Web Services -> Full

Assign that role to your login and you should see it when you log in w/ the plugin and you're good to go.


Why is XLNet not on Tensorflow Hub?

I want to know that why are not Xlnet models hosted on tensorflow hub ? It would be so much useful , since the current official implementation requires a lot of setup . Xlnet hosted on hub will make it so much easier to use it simply as a TF layer as well......

Thanks for opening the issue, XLNet would be a great addition to TF-Hub. Let's keep this open to track interest for the future.

@PradyumnaGupta XLNet is available in the transformers library as a tensorflow 2.0 model; in theory it would be possible to convert it into a Hub Module!

XLnet is implemented and available on the tensorflow official model repository.
Link :- https://github.com/tensorflow/models/tree/master/official/nlp/xlnet

How to import XLnet on tensorflow?

@Xyz35 having the model architecture implemented is really handy, but it doesn't solve the original issue. Anyone wanting to use XLNet would need to completely train its embeddings from scratch. Is there any plan to publish the embedding weights as a saved_model on tf-hub?


Add telemetry for folder support in interpreter path settings

This check is done to ensure if entered interpreter path is valid, and if so, the path is returned. I don't see the point of these checks, as we shouldn't support entering interpreter paths this way.
Variable 'pythonPath' refers to the path user entered
https://github.com/microsoft/vscode-python/blob/620b614a49d1b8b7cb933742655f894b5edf1c95/src/client/common/configSettings.ts#L674-L696
Also, the first check when ensuring if interpreter path is valid is we should be checking if the entered path exists, which we're not doing.
This leads to us launching 14 exec commands <python> -c '1234' everytime a user enters an invalid path - leading to extension consuming too much CPU.
cc @DonJayamanne @karthiknadig

This was for portability.
Users wanted to set the python path in their settings for all users in a team across multiple os.
E.g. assume users have a relative path to a virtual env in their workspace .venv, that would work on Mac Linux and windows without any other change.
@brettcannon might recall this change bring added into the extension.

I see, @karthiknadig has observed that having these checks can wreck the SSH connection because of the 14 spawns made at worst case.
Also, I don't see this documented anywhere, wonder how many users are using this feature. Maybe we should add telemetry before deciding to removing these, or maybe have this as an optional feature?

Thanks to removing python.pythonPath, I don't think this is necessary anymore and we should just expect people to specify the full path to their environment's Python interpreter.

Picking it up

Once https://github.com/microsoft/vscode-python/issues/17821 is done asynchronously, validating these settings can also be conducted asynchronously, so support this scenario shouldn't be an issue.

We now have folder support inbuilt in the new discovery code, the old code is no longer needed.

Verification steps:

Python: Select Interpreter -> Enter interpreter path -> Enter full path to the environment folder (for eg. full path to .venv folder, can even contain ~)
Ensure interpreter still gets selected


I2C get_config API

Shouldn't be there handler provided, in i2c_handlers.c,  for use with CONFIG_USERSPACE?

I am not sure about the api call name: shouldn't it be rather get_configuration, configuration_get, or just configuration?
By looking at the get_config , as e getter,I would expect that the configuration setting function would be called set_config but it is named configure.

I am not sure about the api call name: shouldn't it be rather get_configuration, configuration_get, or just configuration? By looking at the get_config , as e getter,I would expect that the configuration setting function would be called set_config but it is named configure.

I think it would be better to rename 'configure' to set_config", then

I think it would be better to rename 'configure' to set_config", then

@sjg20 Agree: provide set_config as configure alternative, and set to deprecate the later. Inclusion of get_config is already stable API change, we can go with the other change too.

Shouldn't be there handler provided, in i2c_handlers.c, for use with CONFIG_USERSPACE?

Yes, done.

I think it would be better to rename 'configure' to set_config", then

@sjg20 Agree: provide set_config as configure alternative, and set to deprecate the later. Inclusion of get_config is already stable API change, we can go with the other change too.

First of all, I don't want to change the configure function because it is naming used by other APIs e.g. uart_configure, i2c_configure, can_configure, etc.
Regarding how to name the new function, I used config_get because a similar function in the UART API is uart_config_get.

@semihalf-niedzwiecki-dawid I think the change requires following https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html

@galak and @sjg20 could you please take another look?


Why i using react-search?

Why i using react-search?

The first reason for using it is that it is open source
Updates happen frequently. There is constant news
Easy to use. Files are sorted for more information content/filestructure.yml
We usually use CSS. No frameworks and support packages
Fast loading and fast action

Already Have Answer


[BETA] Can't continue to next challenge after opening the Medium link.

Challenge Name
Join The FreeCodeCamp community

https://beta.freecodecamp.com/en/challenges/join-the-freecodecamp-community/read-coding-news-on-our-medium-publication
Issue Description

After opening the  link for the freeCodeCamp medium page and hitting finish challenge I get a "Something went wrong,Please try again" message
Browser Information

Browser Name, Version: Firefox for ArchLinux 52.0.1 (64-bit)
Operating System: OS: Arch Linux x86_64  Kernel: 4.10.5-1-ARCH
Mobile, Desktop, or Tablet: Desktop

Screenshot

Update: It shows progress on the map

@mike1136 Can't reproduce.
P.S: Beta is pretty unstable now, you'd have that popping up once a while :(

We're removing this challenge completely.


Textfield long press paste will be blocked by the status bar.

Copy and paste pop-up boxes will only appear above the textfield cursor, and if the textfield is below the status bar, it will be blocked by the status bar and can not be touched.
If the screen overlaps between this pop and iPhone x,  The main part of the pop is not visible in the physical screen.
like the screenshot
cupertino

material

flutter doctor -v
[✓] Flutter (Channel dev, v0.10.2, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 0.10.2 at /Users/cai/fluttersdk/flutter
    • Framework revision d8cbb80206 (13 days ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/cai/Library/Android/sdk
    • Android NDK at /Users/cai/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.4)
    • IntelliJ at /Users/cai/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 27.1.2
    • Dart plugin version 181.4892.1

[✓] VS Code (version 1.28.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • MI 8 • b6ec3684 • android-arm64 • Android 8.1.0 (API 27)

Duplicate of #25066 ?
Related to #3945


Bugfix: Chaos Orb Exchange Rate

Description

Fixed the Chaos Orb currency not having/showing an exchange rate by explicitly adding a 1:1 ratio for Chaos Orbs to the currency category values
Fixed issue #119

Replication Steps

Evaluate the Chaos Orb currency

Screenshots/Video
Chaos to chaos exchange rate:

Chaos to exalted exchange rate (proof that switching exchange rates works as it should):

How Has This Been Tested?

[ ] ran npm run ng:lint
[ ] ran npm run format
[ ] ran npm run ng:test
[ ] added unit tests
[x] manually tested

i think this is helpful, but i wonder if something similar to awakened poe where they always show the exchange rate on every request might be something to look into. Just a thought, put it in the header or something (chaos to ex exchange specifically)

i think this is helpful, but i wonder if something similar to awakened poe where they always show the exchange rate on every request might be something to look into. Just a thought, put it in the header or something (chaos to ex exchange specifically)


Add RocksDB options for in memory configurations.

When you set the path to rocksdb directory in memory like in /dev/shm,
you need to set the wal_dir and WAL_ttl_seconds options if you want to
recover your in-memory RocksDB database after a machine reboot.
See: https://github.com/facebook/rocksdb/wiki/How-to-persist-in-memory-RocksDB-database
This PR depends on https://github.com/pingcap/rust-rocksdb/pull/29 too.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @aya
Please format your code first, you can run make format directly.

Hi @aya
Now you can use cargo update -p rocksdb to use the WAL API now.

PTAL @BusyJay @zhangjinpeng1987

LGTM


Cmake issue with cuDNN; Docker container doesn't seem to have cuDNN?

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04

TensorFlow installed from (source or binary): Docker, docker run --gpus all -it --rm tensorflow/tensorflow:latest-gpu-py3

TensorFlow version: 2.0.0

Python version: 3.6.8

Installed using virtualenv? pip? conda?: Docker

Bazel version (if compiling from source): n/a

GCC/Compiler version (if compiling from source): n/a

CUDA/cuDNN version: nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

cudNN: does not seem to come with Docker image. I am trying to use
sudo docker cp libcudnn7_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/ && sudo docker cp libcudnn7-dev_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/ && sudo docker cp libcudnn7-doc_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/ on the host then
dpkg -i libcudnn7_<IP_ADDRESS>-1+cuda10.0_amd64.deb && dpkg -i libcudnn7-dev_<IP_ADDRESS>-1+cuda10.0_amd64.deb && dpkg -i libcudnn7-doc_<IP_ADDRESS>-1+cuda10.0_amd64.deb

GPU model and memory: RTX 2060 6GB

Describe the problem
If I don't install cuDNN manually, dlib compiles "successfully" but will not use CUDA. If I install cudNN via dpkg, I get this error during the build:
-- Using CMake version: 3.10.2
-- Compiling dlib version: 19.18.99
-- Found system copy of libpng: /usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so
-- Found system copy of libjpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Looking for cuDNN install...
-- Found cuDNN: /usr/lib/x86_64-linux-gnu/libcudnn.so
-- Enabling CUDA support for dlib.  DLIB WILL USE CUDA
-- C++11 activated.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
linked by target "dlib" in directory /home/project/dlib/dlib
CUDA_curand_LIBRARY (ADVANCED)
linked by target "dlib" in directory /home/project/dlib/dlib
CUDA_cusolver_LIBRARY (ADVANCED)
linked by target "dlib" in directory /home/project/dlib/dlib
-- Configuring incomplete, errors occurred!
See also "/home/project/dlib/build/CMakeFiles/CMakeOutput.log".
See also "/home/project/dlib/build/CMakeFiles/CMakeError.log".
root@c7f1e218bc6f:/home/project/dlib/build#
I also tried
sudo docker cp cudnn-10.0-linux-x64-v<IP_ADDRESS>.tgz [c7f1e218bc6f]:/
tar -xzvf cudnn-10.0-linux-x64-v<IP_ADDRESS>.tgz && cp cuda/include/cudnn.h /usr/local/cuda/include && cp cuda/lib64/libcudnn* /usr/local/cuda/lib64 && chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/include export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
Provide the exact sequence of commands / steps that you executed before running into the problem
sudo docker run --gpus all -it --rm tensorflow/tensorflow:latest-gpu-py3 #run container
python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))" #hello world
note: this^ runs just fine.
sudo docker cp libcudnn7_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/ && sudo docker cp libcudnn7-dev_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/ && sudo docker cp libcudnn7-doc_<IP_ADDRESS>-1+cuda10.0_amd64.deb [container ID]:/
dpkg -i libcudnn7_<IP_ADDRESS>-1+cuda10.0_amd64.deb && dpkg -i libcudnn7-dev_<IP_ADDRESS>-1+cuda10.0_amd64.deb && dpkg -i libcudnn7-doc_<IP_ADDRESS>-1+cuda10.0_amd64.deb
apt update && apt upgrade && apt install git cmake libx11-dev nano cd home && mkdir project && cd project  git clone https://github.com/davisking/dlib.git #setup dlib
cd dlib && mkdir build; cd build; cmake ..; cmake --build .
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
CMakeOutput.log: https://pastebin.com/QC1kdejw
CMakeError.log: https://pastebin.com/JfQc02Qb

Can you try using bazel instead of cmake and let us know how it progresses. Thanks!

@IntegralWorks
Any update on this issue please. Thanks!

@ravikyram
Sorry, new to GitHub and I'm busy this week with examinations. I hope this
message reaches you; I'm replying on email.
Unfortunately I decided using Docker for my project was not worth it and I
ended up successfully installing dlib with CUDA support on bare
metal/regular install.
I noticed that the key difference between my regular install and the Docker
container is that the container seems to refuse multiple versions of cuDNN.
If you're interested in how this issue turns out I highly suggest finding
someone who needs cuDNN in their project and wants to use the Tensorflow
GPU container.
Even stranger is that nvcc works out the box for the Tensorflow container,
whereas for a manual install the user-developer must meticulously follow
nVidia's documentation to the letter, such as adding things to .bashrc and
the such. But cuDNN seems broken even upon installation either through the
tar file or the deb package. With a properly, meticulously installed
regular CUDA installation cuDNN works seamlessly--the point I'm trying to
make is I might so bold as to suggest the Tensorflow GPU container might
have a semi-broken CUDA installation. Of course, it's more likely that I
just don't know how to install cuDNN on the Tensorflow GPU container
properly--but there doesn't seem to be any documentation(!) on this edge
case(?) I don't see how it could be an edge case if dlib isn't some obscure
library.
tl;dr
I have no idea how to use Bazel, I've been trained to use gcc, clang, cmake
etc. All compilation methods I know of cause dlib to *detect CUDA, only to
say "cuDNN is broken, sorry". Therefore I want to emphasize that right now
dlib does **not compile with GPU support on the Tensorflow GPU Docker
Container, *despite the fact that intuitively you'd expect it to just be
plug-and-play, at least after installing cuDNN via the documented
instructions on nVidia's websites.
On Wed, Nov 20, 2019 at 12:03 AM ravikyram<EMAIL_ADDRESS>wrote:

@IntegralWorks https://github.com/IntegralWorks
Any update on this issue please. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/34216?email_source=notifications&email_token=AGOWRXBB73ZPW3VJ6DYPP4LQUTHJRA5CNFSM4JMTBNM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQZ4HA#issuecomment-555851292,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGOWRXDE2CIGFGYNR43XHW3QUTHJRANCNFSM4JMTBNMQ
.

@IntegralWorks
CUDA and cuDNN can be installed by following these instructions. Thanks!

@IntegralWorks
Any update on this issue please. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Topology management doc updates

Current docs will be updated to provide clarifications on usage.
How to extend a device plugin will be added for device plugin authors to leverage topology manager

/milestone 1.17

/milestone 1.17

@lmdaly is this related to a code change PR and / or KEP?

@sftim it's updates for the topology manager which has an issue here: https://github.com/kubernetes/enhancements/issues/693
and more specifically the following issue is for documentation: https://github.com/kubernetes/kubernetes/issues/83482
This documentation is more updating the existing knowledge base to give users more information on the feature.

Could this PR target the master branch? SIG Docs / this repo works with a continuous release process and has PRs targeting master by default.

Could this PR target the master branch? SIG Docs / this repo works with a continuous release process and has PRs targeting master by default.

@sftim I can do if that is the correct thing to do, I had assumed as the documentation is targeting the 1.17 release it should go against that branch. But I can change to master if that's the process for sure.

@lmdaly Is this PR ready for review? I already see some review comments. If not can you remove WIP from title?

@lmdaly Just a reminder about the last Docs deadline - 22nd Nov, by which this PR needs to be merged!
You have some review comments to be addressed

@daminisatya I have addressed the review comments, do I need a lgtm from anyone in particular?

/lgtm

/approve

/assign @kbarnard10

/cc @kubernetes/sig-docs-en-owners

/lgtm

/approve

@lmdaly does a separate PR need to be opened to make sure these changes make it into master as well?

These changes will land in master once v1.17 is released, a few weeks from now. As part of the release, SIG Docs's nominated lead merges the website dev-1.17 branch into master.

Perfect. Thanks.


crypto: Breakdown crypto.rs in sui-framework

https://github.com/MystenLabs/sui/issues/6288
breakdown with some minor error code and test cleanups.

what about:
create new module that contains:

Yes, that's completely fine. I guess what I was saying was more about comments (or part of a README) that explains the logic rather than optimizing for not needing those comments.

got it, added to the elliptic_curve.rs and elliptic_curve.move comments. the latter is used to auto generate move documentations that should be visible for the reader to consume.


Template translate does not work as expected

What stated in documentation http://doc.silverstripe.org/framework/en/3.1/topics/i18n#usage-in-template-files doesn't work.

Template file: http://pastie.org/7280012

sake /dev/tasks/i18nTextCollectorTask --- Running Task i18n Textcollector Task ---  (no more output)

themes/mySimple/lang/en.yml is updated like this: http://pastie.org/7280023
copied it into it.yml: http://pastie.org/7280032

sake /dev/build "flush=all"

not working...

It seems that the problem is still around in 3.1.8

I confirm that this error persists on 3.1.8 version

I've just tried this out in the 3.1 branch, works for me. Check i18n::include_by_locale(), it does a scandir($themesBase) - which has been there for a while (2011). One bug which might be related: i18n::get_existing_translations() doesn't run the same checks on /themes, so in cases where the locale ONLY exists in /themes this might be an issue. Since your example uses it, that's not applicable here though.

@tractorcow thoughts on this? You recently did work on this stuff

Yep, there's a bug in theme language files. I've updated the string detection code considerably, but it looks like localisation in the themes folder isn't working.
You might be better to move your strings to mysite/lang for the time being until it's fixed.

I'm not sure if that's still an issue in 3.x, but it was definitely a regression in 4.x - which I've fixed with https://github.com/silverstripe/silverstripe-framework/pull/6628