Exponential: Dual Xeon Gold 6154 result

cc @laurae2
Warmup: 0.9938 s, result 224 (displayed to avoid compiler optimizing warmup away)

A - tensor shape: [5000000]
Required number of operations:     5.000 millions
Required bytes:                   20.000 MB
Arithmetic intensity:              0.250 FLOP/byte
Theoretical peak single-core:     86.400 GFLOP/s
Theoretical peak multi:          172.800 GFLOP/s
a[0]: -9.999997138977051

Baseline <math.h>
Collected 300 samples in 5.625 seconds
Average time: 17.733 ms
Stddev  time: 0.054 ms
Min     time: 17.698 ms
Max     time: 18.148 ms
Perf:         0.282 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.540005829767324e-05

SSE mathfun
Collected 300 samples in 2.094 seconds
Average time: 6.021 ms
Stddev  time: 0.043 ms
Min     time: 5.976 ms
Max     time: 6.544 ms
Perf:         0.830 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.540006193565205e-05

SSE fast_exp_sse (low order polynomial)
Collected 300 samples in 1.211 seconds
Average time: 3.073 ms
Stddev  time: 0.062 ms
Min     time: 3.019 ms
Max     time: 3.734 ms
Perf:         1.627 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.545032061287202e-05

AVX2 fmath
Collected 300 samples in 1.060 seconds
Average time: 2.558 ms
Stddev  time: 0.067 ms
Min     time: 2.473 ms
Max     time: 3.056 ms
Perf:         1.955 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.540006193565205e-05

AVX2 FMA Minimax
Collected 300 samples in 1.042 seconds
Average time: 2.492 ms
Stddev  time: 0.076 ms
Min     time: 2.383 ms
Max     time: 3.050 ms
Perf:         2.006 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.539992369245738e-05

AVX2 mathfun
Collected 300 samples in 1.307 seconds
Average time: 3.382 ms
Stddev  time: 0.067 ms
Min     time: 3.275 ms
Max     time: 3.906 ms
Perf:         1.478 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.540006193565205e-05

AVX+FMA Schraudolph-approx
Collected 300 samples in 0.933 seconds
Average time: 2.128 ms
Stddev  time: 0.066 ms
Min     time: 2.062 ms
Max     time: 2.607 ms
Perf:         2.350 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.625692963600159e-05

Bench SIMD Math Prims
Collected 300 samples in 4.826 seconds
Average time: 15.079 ms
Stddev  time: 0.189 ms
Min     time: 14.945 ms
Max     time: 15.937 ms
Perf:         0.332 GEXPOP/s

Display output[0] to make sure it's not optimized away
4.539986548479646e-05

That's pretty good for exp.  For log it is usually helpful to take advantage of the fact that most CPUs can usually domain/range reduce for you to just one multiple of two.  Specifically, any IEEE float (single, double, probably even half-precision) has an exponent field which tells you the logarithm base 2 up to the mantissa field.  So, if yo are willing to assume IEEE float representation then you only actually need a good fast approximation of log_2 on [1/2,1) or [1,2).  (log base e of course is just re-scaled log_2).
In the past I've done the mantissa part with a mixture of Taylor series for near 1 and  Padé approximants for further away.  That got down to about 30 cycles on Intel core2 series from Nehalem to Skylake.  There may be a faster approach than Taylor/Padé, but it seemed very likely the "IEEE exponent field" trick would be applicable to whatever you do.  I also perused your references and didn't see it mentioned.  They seem more exp-focused, but log is generally more poorly optimized by various stdlibs/vendors in my experience.

Well, when you do get to log, I suggest as a starting point these blog posts from some Ebay guy. {That material didn't exist back when I was figuring this out for myself :-) } :
https://www.ebayinc.com/stories/blogs/tech/fast-approximate-logarithms-part-i-the-basics/
https://www.ebayinc.com/stories/blogs/tech/fast-approximate-logarithms-part-ii-rounding-error/
https://www.ebayinc.com/stories/blogs/tech/fast-approximate-logarithms-part-iii-the-formulas/
He never really mentions Padé approximants, though his rational approximations are similar.  He argues for a [3/4, 6/4) interval.  (As mentioned, any [t,2t) works - whatever gets you a fast, well approximated "shifted mantissa".)  Seems like if you have all this Intel-specific SIMD code, assuming IEEE (even little-endian IEEE) is not much of a stretch.
Particularly with log, there can be unavoidable speed/accuracy trade-offs.  So, you may want to have a Nim call that accepts a target precision (and conceivably even returns an error estimate), and then just default it to 23 bits for float32 and 51 bits for float64 and let the call-site use a larger error when faster performance is desired and in-context lower accuracy is acceptable.


Feature request: table footer

You already support table headers (<thead>) but it'd be nice to be able to add table footers too (<tfoot>).
Kramdown supports them: http://kramdown.gettalong.org/syntax.html#tables
Maybe something along those lines?
First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell
============= | =============
First Footer  | Second Footer

Tables support is currently minimalistic and limited with GH syntax. Since we don't like to establish "new standard", it's better to postpone changes untill tables syntax added to CommonMark spec.
But nobody can prohibit you write plugin to parse tables differently, if you can't wait.

:+1:

3.0.0 was splitted to plugins. Those can be used as good examples how to make your own, if you decide to create advanced tables plugin.

I'll take a look when I find the time. Thanks!

fyi, there's an advanced table plugin implementing multimarkdown tables over at https://github.com/RedBug312/markdown-it-multimd-table


Bugsnag lambda plugin breaks when importing Twilio 3.8.1

Describe the bug
When implementing Bugsnag into a lambda that uses the twilio-node library with the client instantiated at the top of the file Bugsnag fails to send the bug reports and leads to:
ERROR [bugsnag] Delivery may be unsuccessful: flush timed out after

Hopefully the below snippet is enough, spent a not unsubstantial amount of time trying to debug this one so hopefully even if this isn't fixed (as looks like version 4 of the Twilio library should be better) it will help somebody out who also hits this issue.
Steps to reproduce

Create a lambda with the twilio-node library
Create a basic try catch report lambda with a notify call
Invoke the lambda
Look at logs to see the error

Environment

Bugsnag version: 7.18.0
Server framework version (if any):  @bugsnag/js /lambda-plugin 7.18.0

Example code snippet
import Bugsnag from '@bugsnag/js'
import { BugsnagPluginAwsLambda, BugsnagPluginAwsLambdaHandler } from '@bugsnag/plugin-aws-lambda'

const client = require('twilio')(TWILIO_SID, TWILIO_AUTH)

Bugsnag.start({
  apiKey: {key},
  plugins: [BugsnagPluginAwsLambda],
  redactedKeys: [],
  releaseStage: {stage},
})

const bugsnagHandler = Bugsnag.getPlugin('awsLambda').createHandler()

const handle = async () => {
  try {
    await checkFailure()
  } catch (error) {
    Bugsnag.notify(error)
  }
}

export const handler = bugsnagHandler(handle)

Error messages:
ERROR [bugsnag] Delivery may be unsuccessful: flush timed out after

Hi @andrewdavidcostello - thanks for raising this. Have you trimmed any of the logging output you shared above? I believe that would be coming from here so I'd expect to also see a time in ms reported.
By default Bugsnag will wait for flushTimeoutMs before allowing the Lambda function to exit - have you tried extending this timeout at all? That said, 2000ms is a reasonable length of time to wait, which may indicate that there is an underlying network issue that is preventing event delivery to notify.bugsnag.com. Is that something you've checked while debugging this?
It is also worth mentioning that we don't officially support Bugsnag in a Twilio environment, so it is possible there could be other factors at play here.

Hey @luke-belton, thanks for the reply. Yep that is cut off slightly we tried both 2000ms (default) and 5000ms. As we felt > 5000 wasn't acceptable anyway.
ERROR [bugsnag] Delivery may be unsuccessful: flush timed out after 5000ms
As above as soon as the Twilio library was removed the notifications were delivered instantly whereas with it would create a hold on the lambda and ultimately time out with the Twilio require included.
I expect the new version of the Twilio library will hopefully resolve this issue but just wanted to report to help other people and maybe catch something else causing this. It is worth nothing Bugsnag on lambda is working perfectly everywhere else.
Hope that helps.

Hi @andrewdavidcostello - I've now spent some time trying to reproduce this using your code snippet above with v3.8.1 of twilio-node but so far haven't had any issues with timeouts. Would you be willing to share a cut-down reproduction example with<EMAIL_ADDRESS>please?

Hey @andrewdavidcostello, going to close this out as we are unable to reproduce and haven't heard from you in a while. Let us know if that is something you can share and we can reopen.


python plot_importance without feature name when using np.array for training data

Below code, when trax is dataframe, xgb.plot_importance will show feature name, but trax is np.array it will show f1, f2, f3...
It is not convenience, could add a parameter in xgb.plot_importance call column_names(maybe other names) for transforming the  "f1, f2, f3..." to the real column name
The xgb.plot_importance is in https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/plotting.py
import xgboost as xgb
import matplotlib.pyplot as plt

Xgb = xgb.XGBRegressor(n_estimators=100, max_depth=4, seed=16, min_child_weight=100,
gamma=0.5, reg_alpha=0.5, reg_lambda=0.5)
Xgb.fit(trax, tray)

xgb.plot_importance(Xgb, max_num_features=20)
plt.show()

Hi,
Maybe you could just do-
Xgb.fit(pd.DataFrame(trax,columns=colum _names),tray)
I think the level of convenience would be similar since you do have to provide the list of column names anyway.

I create a pull request #5761

See https://github.com/dmlc/xgboost/pull/5761#issuecomment-1085223057 .


Fix relative links in documentation

Fix some broken routes in panels documentation

I'm going to close this PR, I run the filamentphp project with the branch new-design and all is ok, only the relative links fails in the beta link.
I'm sorry and Thanks for all.

Ah yeah we fixed that by routing Astro files through Laravel. Thanks anyway!


Fix a typo in hostConfig.ShmSize validation

- What I did
Fixed a typo in an error message.
- How I did it
Replaced all occurrences of greater then with greater than.
- How to verify it
Search for occurrences of greater then.
- A picture of a cute animal (not mandatory but encouraged)
:poodle:
Notes:

Other places referring to the same configuration, including docs, have
the correct spelling.
Perhaps instead of SHM size must be greater than 0, it should be SHM size cannot be negative, since 0 is apparently allowed?

Signed-off-by: Rodolfo Carvalho<EMAIL_ADDRESS>

LGTM

LGTM


Add Auth HOC to wrap authorized pages

Part of #612
New Behavior
Description
Add withPageAuth HOC to wrap auth protected pages. It currently returns a 404 page when the user isn't authorized to view the page and displays the wrapped page if authorized.

Please address the small comment I left.


Fix annoying collision with Array prototype overrides

Fixes https://github.com/commenthol/date-holidays-parser/issues/18

@commenthol Done.

@commenthol Done.


Stone slabs of different sizes are stacked

Hey, I don’t know where to write so thought about writing directly. I’ve found bug/duplication glitch in newest version of quarry mod, quite big I have to say. If you successfully get a stone slab of different size than the one in your inventory it just stacks. I’ve mined 3x3x3 slab, then 3x3x1 and got 2x the first one when they stacked

Fixed in 2.0.0-rc.4


refactor(lockpad): use nix-postgres container image

Running postgres in a container has been incredibly annoying. Whether it is the image, the nomad setup, or something else isn't known. #33 sets up nix-postgres using a NixOS host which will be sufficient for now.


Provide an option to skip persistence of fields if the value is null

As mentioned in #156 -
Provide a new annotation to skip writing a property to the Cloud Datastore, if the corresponding field in the model class is null.

Enhanced the Property and Embedded annotations to have a new attribute - optional. When optional is set to true, and if the entity field has a null value, the corresponding property of the entity will be skipped during persistence.


java.lang.NoClassDefFoundError: com/netflix/config/ConfigurationManager

is there anybody met the same problem while run "EurekaServiceApplication.java", it throws error below:
java.lang.NoClassDefFoundError: com/netflix/config/ConfigurationManager

We have this guide marked for a rewrite.  I'll leave this open as one of the things to check on when it is rewritten.

Closing this issue as a rewrite was done in PR #33. Please feel free to test the guide and open a new issue if this problem persists.


Set config track ip

Configures if IP location should be sent to Mixpanel server.

@paulz could you make a new pull request with just the changes that you made? I'm not sure what happened but this one looks like it has a bunch of history from 2014 and over 1000 commits. I haven't checked the diff yet but I don't want to merge something that looks like it branched off over 2 years ago.


0.9.2 didn't get a .tar.gz uploaded to PyPI correctly

shrug
0.9.2 - no .tar.gz: https://pypi.python.org/pypi/django_polymorphic/0.9.2
0.9.1 (and all other releases) - has .tar.gz: https://pypi.python.org/pypi/django_polymorphic/0.9.1

Fixed! Thanks for reporting this, this likely went wrong due to some connectivity issue while making the release.


When user does not upload zip, instead of crash show warning message

Also when user chooses wrong sensor show warning instead of crash


Looking back, I think the boosts are broken for ogresses...
Here's me killing ogresses before the cape:

Here's after the cape:

And here's one of the very first kills I did:

Some boosts only apply to the final trip length making it shorter than the max trip length (Which still is a boost, more trips)
This is also how weekend boost works.


Epoch for lost 'v' prefix

Always interesting with how many different versioning systems for one mod an author can come up with.

Yup.  That's why I have standard ways to define versions, the only time I have problems is when I do something manually.
I know it's a pipe dream, but I really wish there was a standardized method for version numbers for KSP


Support multiple case directories for one environment

Describe This Problem
In current implementation, there is only one case directory allowed for one environment, although this works, but this makes it awkward to share cases between multiple environment.
Proposal
Support multiple case directories
Additional Context
Another solution to this is symlinks, although this works, but I think it's a little ugly.

Symblinks support has been merged.
Other solution is to use setup two projects with same case dir, but different result_extension, in this way users can reuse sql testcases, but output to different result file.


chore(main): release audit 1.36.0

:robot: I have created a release beep boop
1.36.0 (2023-04-13)
Features

accept wildcard version in resolved issue id (1565943)
support custom license categories (68b7791)
support editing default license categories (0f473cc)
support private registries (b36cba0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sandworm-hq/sandworm-audit/releases/tag/audit-v1.36.0 :sunflower:


Images get misplaced

If images are placed so that a page wrap is needed, the text following the image might be placed ahead of the image to fill the rest of the previous page. This behavior can be prevented by adding a \newpage command before the image.
This is very tedious though and would be better addressed automatically, because as soon as the content changes the image might fit again and therefor the \newpage command has to be removed again.

Alternatively, to manually adding a \newpage before every image. You can simply add a \ to the end of the image tag.
https://tex.stackexchange.com/a/276144/166310
![Alt Text](path/to/image.png)\


remove multiple dtype n symbols from data request

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #1

PR #2

PR #3

PR #4

PR #6   👈

PR #7

PR #5

This stack of pull requests is managed by Graphite.

Merge activity

Jan 27, 7:47 AM: @raulfrk started a stack merge that includes this pull request via Graphite.


Running init causes an error to appear unrecognized_keys

Getting this error when running npx shadcn-ui@latest init on a new Next.js project:
Output:
npx shadcn-ui@latest init
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Zinc
✔ Where is your global CSS file? … app/globals.css
✔ Do you want to use CSS variables for colors? … no / yes
✔ Where is your tailwind.config.js located? … tailwind.config.js
✔ Configure the import alias for components: … @/components
✔ Configure the import alias for utils: … @/lib/utils
✔ Are you using React Server Components? … no / yes
[
  {
    "code": "unrecognized_keys",
    "keys": [
      "$schema"
    ],
    "path": [],
    "message": "Unrecognized key(s) in object: '$schema'"
  }
]

Having the same issues, 0.2.0 released like 15 minutes ago, probably related. For now I just used 0.1.3.
npx<EMAIL_ADDRESS>init

Looks like a fix was just released with 0.2.1 - try npx shadcn-ui@latest init

Yup works now! 👍

Yep. Fixed it.  I hadn't even announced it yet :)

Marking this as fixed.


Cannot move through luasnip snippet placeholders

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
Hi! Me again with some luasnip issues.
Back on my last issue where luasnip did not expand, I switched to friendly snippets since i thought i didn't need anything from luasnip, it turns out I was wrong and I need some features of it.
Snippet expansion works great now. But moving through snippet placeholders doesn't seem to work in luasnip. Tabing just tabs.
On nvim_cmp to allow luasnips jumps we had to do this:
      local luasnip = require "luasnip"
      cmp_mappings["<Tab>"] = cmp.mapping(function(fallback)
        if luasnip.expand_or_locally_jumpable() then
          luasnip.expand_or_jump()
        else
          fallback()
        end
      end, { "i", "s" })
      cmp_mappings["<S-Tab>"] = cmp.mapping(function(fallback)
        if luasnip.jumpable(-1) then
          luasnip.jump(-1)
        else
          fallback()
        end
      end, { "i", "s" })

I tried adding this to my config, thinking it might work:
        keymap = {
          preset = "default",
          ["<C-y>"] = { "accept", "fallback" },
          ["<Tab>"] = {
            function(_)
              if luasnip.expand_or_locally_jumpable() then
                luasnip.expand_or_jump()
              end
            end,
            "snippet_forward",
            "fallback",
          },
          ["<S-Tab>"] = {
            function(_)
              if luasnip.jumpable(-1) then
                luasnip.jumpable(-1)
              end
            end,

            "snippet_backward",
            "fallback",
          },
        },

It did not, unfortuately. I've added my default config in the relevant configuration.
Please let me know if you need any more information!
Relevant configuration
require("blink.cmp").setup {
        -- Keymaps
        keymap = {
          preset = "default",
          ["<C-y>"] = { "accept", "fallback" },
        },
        -- Allow expansion
        opts_extend = { "sources.completion.enabled_providers" },

        -- General config later
        accept = {
          expand_snippet = function(snippet)
            require("luasnip").lsp_expand(snippet)
          end,
          auto_brackets = {
            enabled = true,
          },
        },
        trigger = {
          signature_help = {
            enabled = true,
          },
        },
        highlight = {
          use_nvim_cmp_as_default = true,
        },
        windows = {
          autocomplete = {
            -- Better highlights and roudnded text
            border = "rounded",
            winhighlight = "Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",

            -- Similar to nvim cmp visually
            draw = {
              columns = { { "label", "label_description", gap = 1 }, { "kind_icon", "kind", gap = 1 } },
            },
          },
          documentation = {
            border = "rounded",
            auto_show = true,
            auto_show_delay = 50,
          },
          signature_help = {
            border = "rounded",
          },
        },
        sources = {
          -- add lazydev to sources
          completion = {
            enabled_providers = { "lsp", "path", "luasnip", "buffer", "lazydev" },
          },
          providers = {
            -- dont show LuaLS require statements when lazydev has items
            lsp = { fallback_for = { "lazydev" } },
            lazydev = { name = "LazyDev", module = "lazydev.integrations.blink" },
            -- Luasnip
            luasnip = {
              name = "luasnip",
              module = "blink.compat.source",

              score_offset = -3,

              opts = {
                use_show_condition = false,
                show_autosnippets = true,
              },
            },
          },
        },
      }

neovim version
v0.11.0-dev-1228+g9e7b0bcf51
blink.cmp version: branch, tag, or commit
main:c58b3a8

I've also noted another but, please let me know if you want me to open a different issue.
Expansion seems to only work when fullmatch is done or i do not navigate through snippets. In the later case it does not remove the previous text and only appends which results in broken code, here's a video example demonstrating:
https://github.com/user-attachments/assets/0f971d4d-7f87-46fd-9833-f5bfaabcf3ae

To navigate through your placeholders, I suggest you add these keybinds directly in your luasnip config instead:
    'L3MON4D3/LuaSnip',
    config = function()
        local ls = require('luasnip')

        local function feedkey(key, mode)
            vim.fn.feedkeys(vim.keycode(key), mode or vim.api.nvim_get_mode().mode)
        end

        vim.keymap.set({ 'i', 's' }, '<Tab>', function()
            return ls.expand_or_locally_jumpable() and ls.expand_or_jump() or feedkey('<Tab>', 'n')
        end, { desc = 'Luasnip - Jump to next node' })

        vim.keymap.set({ 'i', 's' }, '<S-Tab>', function()
            return ls.in_snippet() and ls.jumpable(-1) and ls.jump(-1) or feedkey('<S-Tab>', 'n')
        end, { desc = 'Luasnip - Jump to previous node' })
    end

I also noted the expansion bug, use the new blink_luasnip, this fixes it for me.

Glad to hear you get it working!
I personally think this is a good way for separation of concerns. I don't want to fill in some luasnip logics in the blink config. Plus, this allow to use seemlessly snippet and luasnip providers.

Although now the label is not working, do you have the same issue?

Yeah and I just addressed a PR for that: https://github.com/leiserfg/blink_luasnip/pull/1

Everything works fine with blink_luasnip.
Also I have added these in my luasnip config:
      -- Setup keybindings to tab
      local function feedkey(key, mode)
        vim.fn.feedkeys(vim.keycode(key), mode or vim.api.nvim_get_mode().mode)
      end

      vim.keymap.set({ "i", "s" }, "<Tab>", function()
        return ls.locally_jumpable() and ls.jump(1) or feedkey("<Tab>", "n")
      end, { desc = "Luasnip - Jump to next node" })

      vim.keymap.set({ "i", "s" }, "<S-Tab>", function()
        return ls.in_snippet() and ls.jumpable(-1) and ls.jump(-1) or feedkey("<S-Tab>", "n")
      end, { desc = "Luasnip - Jump to previous node" })

      -- Setup toggle choice
      vim.keymap.set({ "i", "s" }, "<C-l>", function()
        if ls.choice_active() then
          ls.change_choice(1)
        end
      end, { silent = true })

Therefore I'm closing this issue. Thanks for the help! :smile:


Update to Linux 4.0.1

Fixes #861

docker@boot2docker:~$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from hello-world
a8219747be10: Pull complete
91c95931e552: Already exists
hello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:aa03e5d0d5553b4c3473e89c8619cf79df368babd18681cf5daeb82aab55838d
Status: Downloaded newer image for hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (Assuming it was not already locally available.)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

For more examples and ideas, visit:
 http://docs.docker.com/userguide/
docker@boot2docker:~$ docker info
Containers: 0
Images: 2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: tmpfs
 Dirs: 2
 Dirperm1 Supported: true
Execution Driver: native-0.2
Kernel Version: 4.0.1-tinycore64
Operating System: Boot2Docker 1.6.0 (TCL 5.4); master : 8c82162 - Sun May  3 14:53:48 UTC 2015
CPUs: 1
Total Memory: 3.86 GiB
Name: boot2docker
ID: XMFD:M5KP:PEJK:UKTZ:LILD:34AY:TE5M:6AFN:2KJZ:PAPS:G2VA:FE2T
Debug mode (server): true
Debug mode (client): false
Fds: 14
Goroutines: 19
System Time: Sun May  3 14:58:29 UTC 2015
EventsListeners: 0
Init SHA1:<PHONE_NUMBER>383dbf64cede3bac278606472e027c
Init Path: /usr/local/bin/docker
Docker Root Dir: /var/lib/docker

cc @frol :smile:

@tianon You are awesome! Thanks!

Nice! So overlay and btrfs support as well?

yup, we've had overlay and btrfs for a while, but we've not made is obvious.
very yay LGTM

Hm, sounds like I should be pestering DigitalOcean to add b2d as an option :)

Oh jeez, please no. :fearful:

@tianon no worries, I won't, was just fooling around (although I hope they have a 4.x kernel soon, haven't checked recently) :smiley:

:sweat_smile: :+1: :heart:


Android release build white screen on launch (caused by gradle, fabric version)

We use RN for our service.
I updated module versions as follows, which makes blank screen issue only in Android release build.
# build.gradle
classpath 'com.android.tools.build:gradle:3.4.1' //  was 3.1.2
classpath 'io.fabric.tools:gradle:1.26.0'. // was 1.24.4

# gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip // was 4.4.1-all

I am experiencing same symptoms when I update RN to 0.59.x.
React Native version:
React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
      Memory: 30.31 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.15.3 - /usr/local/bin/node
      Yarn: 1.5.1 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 23, 24, 25, 26, 27, 28
        Build Tools: 23.0.1, 25.0.0, 25.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.0
        System Images: android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7
      svg-to-react-native-cli: 0.0.3

Steps To Reproduce

gradle clean
assembleRelease

package.json
"dependencies": {
    "d3-array": "^1.2.1",
    "d3-scale": "^2.0.0",
    "d3-shape": "^1.2.0",
    "d3-time-format": "^2.1.0",
    "email-validator": "^2.0.0",
    "i18next": "^13.1.4",
    "immutability-helper": "^2.2.3",
    "jsc-android": "241213.x.x",
    "lodash": "^4.17.11",
    "lottie-react-native": "^2.5.0",
    "mobx": "^5.5.0",
    "mobx-react": "^5.2.8",
    "mokam": "0.3.5",
    "moment": "^2.19.1",
    "numeral": "^2.0.6",
    "prop-types": "^15.5.10",
    "react": "16.6.3",
    "react-native": "0.57.8",
    "react-native-appsflyer": "^1.2.13",
    "react-native-art": "^1.0.0",
    "react-native-camera": "^1.6.4",
    "react-native-code-push": "^5.4.2",
    "react-native-device-info": "^0.25.1",
    "react-native-extended-stylesheet": "^0.8.1",
    "react-native-firebase": "5.2.3",
    "react-native-image-picker": "0.28.0",
    "react-native-interactable": "^0.1.10",
    "react-native-locale": "^0.0.19",
    "react-native-mixpanel": "^1.1.1",
    "react-native-modal": "^6.5.0",
    "react-native-modal-datetime-picker": "^6.0.0",
    "react-native-naver-login": "1.1.7",
    "react-native-onesignal": "3.2.3",
    "react-native-photo-upload": "^1.0.3",
    "react-native-router-flux": "4.0.6",
    "react-native-sentry": "^0.43.0",
    "react-native-simple-encryption": "^1.2.1",
    "react-native-snap-carousel": "^3.5.0",
    "react-native-svg": "^6.3.1"
  },
  "devDependencies": {
    "@babel/plugin-proposal-class-properties": "^7.1.0",
    "@babel/plugin-proposal-decorators": "^7.1.2",
    "@babel/plugin-transform-flow-strip-types": "^7.4.4",
    "babel-cli": "^6.26.0",
    "babel-eslint": "^8.2.2",
    "babel-jest": "22.4.3",
    "eslint": "5.12.1",
    "eslint-config-airbnb": "17.1.0",
    "eslint-plugin-babel": "5.3.0",
    "eslint-plugin-import": "2.16.0",
    "eslint-plugin-jsx-a11y": "6.2.0",
    "eslint-plugin-react": "7.12.4",
    "eslint-plugin-react-native": "3.6.0",
    "flow-bin": "^0.91.0",
    "googleapis": "27",
    "jest": "^24.8.0",
    "metro-react-native-babel-preset": "0.48.0",
    "react-test-renderer": "16.5.0"
  },

Android Gradle Plugin 3.4.x changed a lot and it's not working well with React Native, and it's supported in 0.60. So please use older version, and it's not advised to upgrade Gradle or Gradle plugins manually. Thank you

@JJMoon You should check other modules you are using in android which might not be compatible with your gradle version. This isn't RN issue.


Importing the @mux/mux-node package destroys all SWA functions in /api

I'm using a function in my SWA to verify signed Mux hosted videos.
However, when I deploy, it seems to destroy itself and all other functions in the /api. It works great locally with the SWA CLI, it builds without complaint in GitHub actions.
With it installed, it removes the every function from the /api folder with the message 'No Functions have been pushed to this Static Web App.'
To Reproduce
Steps to reproduce the behavior:

npm install @mux/mux-node
Add import Mux from '@mux/mux-node' to your function
Pain

import { app } from "@azure/functions"
import Mux from '@mux/mux-node' // <- problem

app.http('test-function', {
    methods: ['GET'],
    authLevel: 'anonymous',
    handler: async () => {

        return { jsonBody: { test: "name" } }
    }
})

Test repo
https://github.com/blackspike/vue-vite-swa-fns
With import Mux from '@mux/mux-node'

Without import Mux from '@mux/mux-node'

Update
I made a duplicate project using netlify functions and it works correctly, repo
Demo
https://mux-video-test.netlify.app/.netlify/functions/test-function/test-function


Hand size keeps defaulting to M, MuseScore3 not showing fingering

Running this on Windows, so not sure how much of it has to do with this!
Whenever I try to run it from either the GUI or command line using -S, -XS, etc, it defaults to M. It also seems to run through it twice (e.g., I see 'Your hand span set to size-M which is 17.22 cm
(max relaxed distance between thumb and pinkie)' appear twice with the fingering output following it.
Additionally, opening the output.xml file in MuseScore3 does not show any fingering, just the music. Scanning through the output file XML doesn't seem to clearly show any fingering.
My apologies if this has already been addressed - I've searched through the issues and haven't seen anything in regard to these two issues!

Are you using the pip version or the Github version? The Github version is in the beta stage. I would recommend you to use the pip ( 2.0. release )

I'm using the Github version, I believe. I'll try the pip version and report back. :)

Closing issue as reinstalling using pip has solved it. Thanks @PRamoneda !


feat: project-search location filters order

Describe your changes
Ticket: https://pins-ds.atlassian.net/browse/ASB-1969
Location filters on project-search ordered from north to south
Type of change 🧩

[ ] 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 not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[x] I have made corresponding changes to the documentation
[x] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[x] I have included unit tests to cover any testable code changes

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

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


deplying empty contract

Version: 2.7.1
Python: 2.7
OS: osx

What was wrong?
I used this code to deploy new contracts
    abi_json = json.loads(abi)
    ContractFactory = web3rpc.eth.contract(abi_json, code=bytesource)
    txhash = ContractFactory.deploy()

It used to work for a while till around 2 weeks ago it just deploys empty contracts. I've tried changing everything on my ABI and bytecode (e.g adding 0x in from of the bytecode) but nothing seems to fix it. Any ideas why this might happen? any incompatibility with new geth update?

Can you provide some more detail on exactly what is going wrong?  How exactly is this operation failing?

Not sure what was the issue but it was deploying empty contacts last week (data = 0x) but now that I tried it worked fine!
I'll keep you posted if I could figure out what happened there.

no problem.  Feel free to reach out to me on gitter as well.


Add a custom context

Add a custom context that can be shared across all collections or connections

Coverage increased (+0.4%) to 84.661% when pulling 2a2547d8dd4bc04db56896378d902f0ca88f236d on ilijamt:add-custom-context into 5314e13da9b18edba944ae40f46cfece482dfddf on maxwellhealth:master.


Update Geolocation SDK for metadata accuracy, v2 alignment, and latest TypeScript SDK compatibility

This PR updates swagger.md to improve metadata accuracy and align with Customization v2 requirements. Key changes include adding +flavor: azure and + openapi-type: data-plane tags, updating the source-code-folder-path to generated for clearer organization, and setting @autorest/typescript to "latest" for compatibility with the newest TypeScript SDK features.

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure-rest/maps-geolocation

Please help to solve the merge conflict


Cannot read property 'minNumFields' of undefined

Bug description
My prisma query throw an error Cannot read property 'minNumFields' of undefined
Prisma information
const { id } = await prisma.file.create({
        data: {
          size: fileSize,
          sizeBefore: fileSizeBefore,
          ovhSuffix: OVH_SUFFIX,
          users: {
            create: {
              key,
              userId: infos.userId
            }
          },
          vFiles: {
            create: {
              filename: fileName,
              folderId: folder.id
            }
          }
        },
        select: {
          id: true
        }
      });

model VFile {
  id         String   @id @default(cuid())
  filename   String
  isFavorite Boolean  @default(false)
  folder     Folder   @relation(fields: [folderId], references: [id])
  folderId   String
  history    File[]
  createdAt  DateTime @default(now())
  updatedAt  DateTime @updatedAt
}

model File {
  id            String                 @id @default(cuid())
  ovhSuffix     String
  users         FilesOnUsers[]
  size          Int
  sizeBefore    Int
  createdAt     DateTime               @default(now())
  vFiles        VFile[]
}

model FilesOnUsers {
  user     User   @relation(fields: [userId], references: [id])
  userId   String
  file     File   @relation(fields: [fileId], references: [id])
  fileId   String
  key      String
  refCount Int    @default(1)
  right    Rights @default(read)

  @@id([userId, fileId])
}

Environment & setup

OS: macOS Big SUr 11.1 Beta (20C5048k)
Database: PostgreSQL
Node.js version: 15.4
Prisma version: 2.13.0

@prisma/cli          : 2.13.0
@prisma/client       : 2.13.0
Current platform     : debian-openssl-1.1.x
Query Engine         : query-engine 833ab05d2a20e822f6736a39a27de4fc8f6b3e49 (at<EMAIL_ADDRESS>Migration Engine     : migration-engine-cli 833ab05d2a20e822f6736a39a27de4fc8f6b3e49 (at<EMAIL_ADDRESS>Introspection Engine : introspection-core 833ab05d2a20e822f6736a39a27de4fc8f6b3e49 (at<EMAIL_ADDRESS>Format Binary        : prisma-fmt 833ab05d2a20e822f6736a39a27de4fc8f6b3e49 (at<EMAIL_ADDRESS>Studio               : 0.329.0
Preview Features     : uncheckedScalarInputs

Fix it like that for now:
const { id: vFileId } = await prisma.vFile.create({
        data: {
          filename: fileName,
          folderId: folder.id
        },
        select: {
          id: true
        }
      });

      const { id: fileId } = await prisma.file.create({
        data: {
          ovhSuffix: OVH_SUFFIX,
          size: fileSize,
          sizeBefore: fileSizeBefore,
          vFiles: {
            connect: {
              id: vFileId
            }
          }
        },
        select: {
          id: true
        }
      });

      await prisma.filesOnUsers.create({
        data: {
          key,
          userId: infos.userId,
          fileId
        }
      });

Hey @yovanoc
This issue has already been reported here and it is confirmed: https://github.com/prisma/prisma/issues/4442
It was discussed in a GitHub discussion before so it wasn't really searchable. I apologies for that. Thanks for creating this issue.
I have moved the details from here to that issue so that other people can easily search for it now.


GetFormModelProperty function not considering compositions

Hi @kjac
I have found that the GetFormModelProperty function does not consider the possibility of property being in a composition in the contentType.
So I have revised code in ContentHelper.cs below to fix - can give pull request if you want.
public static PropertyType GetFormModelProperty(IContentType contentType)
{
	List<PropertyType> propertyTypes = contentType.PropertyTypes.ToList();
	propertyTypes.AddRange(contentType.CompositionPropertyTypes);

	var property = propertyTypes.FirstOrDefault(p => p.PropertyEditorAlias == FormModel.PropertyEditorAlias);
	return property;
}

Let me know if you need anything else and when you'll repackage - I'll run my custom built dll for now.

Hi @joshreid,
Awesome, thank you!
Just to avoid creating the list if we don't have to, could you try this code and see if that works for you as well?
public static PropertyType GetFormModelProperty(IContentType contentType)
{
  bool IsFormModelPropertyEditor(PropertyType p) => p.PropertyEditorAlias == FormModel.PropertyEditorAlias;

  return contentType.PropertyTypes.FirstOrDefault(IsFormModelPropertyEditor)
         ?? contentType.CompositionPropertyTypes.FirstOrDefault(IsFormModelPropertyEditor);
}

All good thanks @kjac - yep that's better, and works as expected.

Whoops, this one's in the latest version :) closing it now.


Error with spring cloud zookeeper

if i set the setting in the application.properties ,the spring boot will not find the config-server via zookeeper but use default localhost:8888 instead,while i put the settings into bootstrap.yml ,the spring boot will failed to start due to no UnsatisfiedDependencyException
here is the detail:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'discoveryClientConfigServiceBootstrapConfiguration': Unsatisfied dependency expressed through field 'instanceProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'configServerInstanceProvider' defined in org.springframework.cloud.config.client.DiscoveryClientConfigServiceBootstrapConfiguration: Unsatisfied dependency expressed through method 'configServerInstanceProvider' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.client.discovery.DiscoveryClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
discoveryClientConfigServiceBootstrapConfiguration
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'configServerInstanceProvider' defined in org.springframework.cloud.config.client.DiscoveryClientConfigServiceBootstrapConfiguration: Unsatisfied dependency expressed through method 'configServerInstanceProvider' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.client.discovery.DiscoveryClient' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Error creating bean with name 'discoveryClientConfigServiceBootstrapConfiguration': Unsatisfied dependency expressed through field 'instanceProvider'
field 'instanceProvider'

in a word ,there is a bug with zookeeper

Have u got the spring cloud zookeeper dependency in your pom.xml?

Can u post a minimal,verifiable sample which reproduces the error?

https://github.com/spring-cloud/spring-cloud-zookeeper/issues/159

workspace.zip
@indraneelb1903
Hi,this is the demo project which reproduce the error.
the app project is the demo service ,config is the config server

I will take a look tomorrow, and as @spencergibb as indicated on that thread, there might be some need for refactoring the code, to fix this.

Closing since this appears to be a problem with zookeeper


MPIJob example failure

Training operator's MPIJob example: https://github.com/kubeflow/training-operator/tree/master/examples/mpi
Tries to download data file from internet at runtime: https://storage.googleapis.com/tensorflow/tf-keras-datasets/mnist.npz
Which fails when used inside corporate environment, as firewalls will block it.
Some alternatives for improving the example:

Document the (potential) need for proxy settings
Document and use PV / PVC instead of loading data from net
Use better (minimal) example, e.g. one from "mpi-operator": https://github.com/kubeflow/mpi-operator/tree/master/examples/v2beta1/pi

I think last one would be preferable, as current example image includes a lot software that is many years old (i.e. insecure).

One can actually use mpi-operator image as is, just update pod name, image URL and program name:
-          - image: horovod/horovod:0.20.0-tf2.3.0-torch1.6.0-mxnet1.5.0-py3.7-cpu
+          - image: mpioperator/mpi-pi:openmpi
...
-            - /examples/tensorflow2_mnist.py
+            - /home/mpiuser/pi

PS. In mpioperator/mpi-pi:intel (IntelMPI) case, one would also needs to give full path to mpirun and remove arguments not supported by MPICH MPI variants (e.g. --map-by).

FYI: We will mark MPIJob v1 as deprecated.
https://github.com/kubeflow/training-operator/issues/1906

FYI: We will mark MPIJob v1 as deprecated.

Current "mpi-operator" MIJob example is for v2, and I just commented above that it works also with "training-operator" MPIJob example.


cannot import name 'ResnetBlockCondNorm2D' from 'diffusers.models.resnet'

The node is installed normally, and the process is displayed in red, indicating that it cannot function worked. It seems that there is a conflict in the environment configuration. But I can't see what the problem is.
python <IP_ADDRESS>
xformers 0.03post1+cu118
torch 3.12+cu119
diffusers 0. 270
from diffusers.models.resnet import (
ImportError: cannot import name 'ResnetBlockCondNorm2D' from 'diffusers.models.resnet' (H:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers\models\resnet.py)
Cannot import J:\Blender_ComfyUI\ComfyUI\custom_nodes\ComfyUI-BrushNet module for custom nodes: cannot import name 'ResnetBlockCondNorm2D' from 'diffusers.models.resnet' (H:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers\models\resnet.py)

I fond diffusers 0.27.0 Not installed correctly

解决了吗？

解决了吗？

用其他整合包里的环境文件覆盖了就好了，pip 安装没用。

方便上传一份环境文件么？

解决了吗？

用其他整合包里的环境文件覆盖了就好了，pip 安装没用。

I has same problem :  anyone can help?
File "G:\AI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet\brushnet\unet_2d_blocks.py", line 26, in
from diffusers.models.resnet import (
ImportError: cannot import name 'ResnetBlockCondNorm2D' from 'diffusers.models.resnet' (G:\AI\ComfyUI-aki-v1.3\python\Lib\site-packages\diffusers\models\resnet.py)

方便上传一份环境文件么？

解决了吗？

用其他整合包里的环境文件覆盖了就好了，pip 安装没用。

我用的秋葉大佬整合包里python 里的的diff 文件夹

ResnetBlockCondNorm2D class was added to diffusers at commit dd4459a, Jan 10, 2024. The diffusers version at this time was 0.26.0.dev0. So I added 0.27.0 version of diffusers in requirements. If you still have this problem it means you haven't updated this library in your ComfyUI's python installation.
If you are using portable version of ComfyUI it has its own python installation and you should update diffusers library there. To do it you should open command line in your ComfyUI portable folder and do something like this:
python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-BrushNet\requirements.txt


Relax validation to allow authors without affiliations or emails, also no emailing users

This is the pull request for https://github.com/CDL-Dryad/dryad-product-roadmap/issues/104 .
I haven't merged the MD5s into this.  It seems like they don't have merge conflicts and can be independent.

Looks good, tests ok on my vm.

Wait, do I still need to review this, or should I stop?

It looks done and merged to me, so I think it's OK.


[WIP] Output variables needed for light-up scripts

This adds initial set of variables needed for the light-up script.
The changes should be  relatively small as we just needed the  element centroid and  elastic strains outputted. So far, I've just made it so these variables are only outputted for the adios2 data-collection as that's really the only data format that we have decent python support at this point in time...
This will close #40

@darrencpagan also let me know if there is anything else you might like to see added here that might help with your light-up scripts.


Auto-update fails on Windows for a non-admin user (UAC issue)

I'm using Poedit (Pro) on Win 7 x64, and work within a standard user account, i.e. my usual Win account doesn't have administrator privileges. As Poedit checks for updates on launch, it offers to download and install an update from time to time – which is obviously very convenient. It is somewhat annoying however, that the auto-update fails under a standard Win account because the installer does not show the UAC prompt for elevation, quite common among Win installers. In other words, the Win installer does not ask for the necessary, elevated privileges.

So I have to restart Poedit as an admin user ("Run as administrator") to update it, and then restart again to actually work with my translation projects.
This is not a serious issue, rather an annoyance, but a fix would sure improve the overall Poedit Windows experience – which is just great in general, thanks.

There are three groups of people who install Poedit differently (in, in my experience, decreasing size):

Admin users, install globally (requires admin access).
Non-admin users who can't elevate (installed user-locally).
People with admin access who use another account for normal work, or multi-user machines.

This is a direct consequence of supporting group 2 in an easy-to-use way and it isn't limited to in-app updates, but occurs when you run the update's installer manually too. This situation can't be handled easily (if at all) with InnoSetup: http://stackoverflow.com/questions/21556853/make-innosetup-installer-request-privileges-elevation-only-when-needed
It's probably something WinSparkle could handle reasonably, though (especially when used with https://github.com/vslavik/winsparkle/issues/21)...

Václav, thank you for a thorough answer. I can see how this could be tricky to implement (I checked this more generic Stack Overflow thread on topic yesterday, before opening the issue). And now I understand even better that the possible value gained (a bit more convenience for some users) might be rather low compared to the effort required. I think I can live with the auto-update process as is (as said, an annoyance, not a bug) :) I also guess that we, the users belonging to group 3, are less or more aware that by gaining a bit in security (hopefully), we lose a bit in convenience.
Thanks again for this insightful explanation, and – thanks for a great tool as Poedit is.

by gaining a bit in security (hopefully),

IMHO there's precious little point on modern Windows and I would indeed be tempted to shrug it off. But it's the same for multi-user machines, so I think it should be fixed (and am leaving this issue open for that)...


[0.5.x] Remove unused non-Wear navigation dependencies

WHAT
The compose-layout library in the 0.5.x branch depends on androidx.navigation:navigation-compose and androidx.navigation:navigation-ui-ktx, two unused phone libraries. This pull request removes these dependencies.
WHY
These libraries are designed for Android phones and not Wear devices, which should use androidx.wear.compose.* libraries instead. In particular, androidx.navigation:navigation-ui-ktx depends on both AppCompat and Material Components, which bring along a lot of unwanted resources and dependencies that the shrinker is unable to discard. As a result, a Wear application apk file grows by about 1MB of unnecessary code.
The horologist code does not reference these libraries so the removal has no impact on it.
HOW
Remove implementation declarations in buid.gradle.kts.

Thanks
I'll make the same change on main on monday, unless you want to. And cut a 0.5.x release as I assume you want that.

Released in https://github.com/google/horologist/releases/tag/v0.5.27


mwc-menu setAnchorCorner not working

I followed the mwc-menu demo to coding, but before I open the menu, I call
menu.setAnchorCorner(menu.Corner.BOTTOM_RIGHT)

it not working, I changed the every valid paramter. the menu only acted as default

I found it's not the code bug, only the mwc-menu demo bugs. It's not  working because the anchor element is null. use
menu.setAnchorCorner(menu.Corner.BOTTOM_RIGHT);
menu.setAnchorElement(anchor_element);

it works.


Circular reference in ContextManager prevents agent from start-up

The ContextManager uses a reference on the InstrumentationConfigurationResolver which contains a circluar reference back to the ContextManager via the remote special sensors.
This problem occurs only occasionally and could be fixed by removing the InstrumentationConfigurationResolver from the ContextManager and using the InstrumentationConfigurationChangedEvent instead in order to store the data providers in a field.

After some more thinking I found that the solution will not work. An InstrumentationConfigurationChangedEvent is only raised when the configuration changes, not when it is first loaded. I think the cleanest solution is to remove the @DependsOn annotation from the special sensors, as it is not really needed. They access the context manager anyway through the bootstrap.


[README]add note for syntax highlight

pls leave a link to community, in which adding IDE syntax supporting details.

updated!


Event log: configurable fsync

Implement configurable fsync for event log

The sync interval should be configurable. The default should be async syncing every few seconds (10? 30?). This default reflects the fact that the server will usually be used in a replicated setup. With async syncing, ack is sent back to producer before data is synced
It should also be possible to configure a synchronous sync, whereby ack is sent back to the client once the data has been synced. In this mode, syncs can be batched and it should be possible to configure a number of writes and/or a max time between syncs.


build: bump curl to 8.4.0 on Windows

Bump curl to address security issues in curl.

@swift-ci please test

@swift-ci please build toolchain Windows platform


Add target parameter to FluentAppBarItem Class

🙋 Feature Request
We are using the FluentAppBar component as a type of left-hand navigation. We like the look and feel, but open to alternatives.
The user has requested that some of the apps/links need to open in a new browser tab. Using the "onclick" parameter seems to make the browsers treat them differently (like a pop-up). Would it be possible to just add an optional target parameter? target="_blank"
🤔 Expected Behavior
Clicking on an app link, with the target set, it will open in a new browser tab.
Browser does not treat it as a pop-up.
😯 Current Behavior
You can set the Href on the app items, but not specify the target.
Adding onclick makes them become a pop-up, and there is no right-click functionality.

💁 Possible Solution
Add an optional "target" parameter
https://www.fluentui-blazor.net/AppBar#fluentappbaritem-class_properties
🔦 Context

Accordion or panel component.
Building links individually
💻 Examples
The documentation examples are great, but just with the ability to open in a new tab, instead of only in the same window.
https://www.fluentui-blazor.net/AppBar

Hi,
The AppBar is specifically meant for in-app navigation (like the one in Teams).
I therefore don't think this would be a good addition.


CommonJS and kdbush

Hi @mourner,
First of all, thank you so much for your work on this project. I've tried several libraries, and this is by far the fastest nearby geo library I've used in a few non-commercial projects.
Unfortunately, it's not working anymore due to the lack of CommonJS support in kdbush. I've integrated geokdbush into my web application, which I cannot easily migrate to ESM. It would be different if it was a simple standalone script running on the backend.
If possible, would it be feasible to reintroduce CommonJS support to kdbush and update this library to reflect v4.* of kdbush? That would be greatly appreciated.
Thanks!

Apologies for a late response. Unfortunately I no longer intend to support CommonJS in my libraries. I released a new version of Geokdbush (v2) that supports KDBush v4, but it's ESM-only too. Please use older versions if you need legacy compatibility.


How to Query historical task log with  any conditions and  and how to list instances  of a task

1.	How to query historical task log with   specified condition like  “time create”, “correlation ID”..
Genertal code
public static void SchedulerHistory(string schedulerName)
{
            using (TaskService ts = new TaskService())
            {
                Microsoft.Win32.TaskScheduler.Task task = ts.GetTask(schedulerName);
                TaskEventLog eventLogs = new TaskEventLog(task.Path);
                foreach (TaskEvent log in eventLogs)
                {
                    string level = log.Level;
                    DateTime? dateTime = log.TimeCreated;
                    int eventId = log.EventId;
                    string taskCategory = log.TaskCategory;
                    string code = log.OpCode;
                }
            }
}

My code need to apply  condition to query
1.I need to apply correlation ID as criteria to query.
2.I get correlationID   from RunningTaskCollection of a task and use it to query history task later
Microsoft.Win32.TaskScheduler.Task task = GetTask(groupName);
// GetTask is my method that detail of this  have been written as you.
RunningTaskCollection runningTaskList = task.GetInstances();

    for (int i = 0; i < runningTaskList.Count; i++){

        Guid correlationID = runningTaskList[i].InstanceGuid;
 _      List<TaskEvent> list = (new TaskEventLog(path)).Where(lg => lg.ActivityId == correlationID).OrderBy(log => log.TimeCreated).Take(1).ToList();_
                foreach (TaskEvent log in list)
                {

              // do something as my business logic
                    string level = log.Level;
                    DateTime? dateTime = log.TimeCreated;
                    int eventId = log.EventId;
                    string taskCategory = log.TaskCategory;
                    string code = log.OpCode;
                }
}

My business logic  is that I need  to get first record of each transaction  in history task with either correlationID  or TimeCreated  for doing something later as figure below.
As per my code, I take correlationID as condition, I  am not sure whether  this code  is  correct and efficient statement for  getting  task with LINQ .
It seem pretty  slow because this statement has to load all records in history     with   “(new TaskEventLog(path))”   and then using LINQ  to query as conditin  later.

2.	How to list all instances of each specified task name  not only running instance but also  finished instance (completed and error instance)
As far as I know, I can list only running instance from  a task with  below code.
Microsoft.Win32.TaskScheduler.Task task = GetTask(groupName);
// GetTask is my method that detail of this  have been written as you.
RunningTaskCollection runningTaskList = task.GetInstances();

However , I would like to get every instance of task both running and history.
Are there any ways to do this besides getting from historical task?.
Originally posted: 2015-03-08T23:36:16

Look at the CorrelatedTaskEvent class in the TaskSchedulerEditor library. I believe it meets your requirements. If not, the code for that class should give you some ideas on how to pull the history from the EventLog using your code.
The GetInstances method only gets running instances. For historical instances, you will have to pull them from the EventLog.

Originally posted: 2015-03-11T10:55:12


Remove horizontal Scrollbar and stack tabs

Is there a way to remove the automatic horizontal scroll bar I'm getting with my menu and replace it with the tabs stacking underneath instead.  I've re-created the issue here...
http://codepen.io/Hornetant/pen/zobrvG
Thanks
Anthony

Like this?

That's done it.
Great,
Thanks


Release/glastonbury

Try out this version of the Hiro Wallet - download extension builds.

Latest fixes

actually still encounting yup issues


Multiple 'X type conflicts with the imported type' warnings

Hint:

Related: https://answers.unity.com/questions/1439537/warning-type-conflicts-with-the-imported-type.html

I think that https://github.com/trilitech/tezos-unity-sdk/pull/58 resolved this issue.

Resolved in #33


LICENSE Please!

This repository and its code is currently unlicensed. So as explained by ChooseALicense:

If you find software that doesn’t have a license, that generally means you have no permission from the creators of the software to use, modify, or share the software. Although a code host such as GitHub may allow you to view and fork the code, this does not imply that you are permitted to use, modify, or share the software for any purpose.

@ThePrimeagen can we get this repo licensed? Preferably MIT or ISC for complete access for all. Thoughts?

Wow.....I'm an idot. I'm going to add a LICENSE file just to be explicit, thx @DanInProgress!


Linking against static library compiled from source with USE_THREAD = 0

Problem description lies in title, but let me provide some details.
I've done those steps:

make
Changed Makefile.rule, in particular:

USE_THREAD = 0
USE_LOCKING = 1
PREFIX = ../OpenBLAS/

make install
Created a sample code, namely:

#include <stdio.h>
#include <math.h>
/* Yes, I'm not using <lapacke.h> and -I key, it doesn't matter rn */
#include "./OpenBLAS/include/lapacke.h"

int main()
{
    /*
        FYI example matrix is taken from:
        https://www.ibm.com/docs/en/essl/6.3?topic=subroutines-sgetrf-dgetrf-cgetrf-zgetrf-general-matrix-factorization
    */
    double A[] =
    {
        1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4, 2.6,
        1.2, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4,
        1.4, 1.2, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2,
        1.6, 1.4, 1.2, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0,
        1.8, 1.6, 1.4, 1.2, 1.0, 1.2, 1.4, 1.6, 1.8,
        2.0, 1.8, 1.6, 1.4, 1.2, 1.0, 1.2, 1.4, 1.6,
        2.2, 2.0, 1.8, 1.6, 1.4, 1.2, 1.0, 1.2, 1.4,
        2.4, 2.2, 2.0, 1.8, 1.6, 1.4, 1.2, 1.0, 1.2,
        2.6, 2.4, 2.2, 2.0, 1.8, 1.6, 1.4, 1.2, 1.0,
    };
    size_t const    size   = sizeof( A ) / sizeof( A[ 0 ]);
    int32_t const   dim    = sqrt( size );
    int32_t         pivot[ dim ];

    /* Let's try matrix inverse */
    if ( LAPACKE_dgetrf( LAPACK_ROW_MAJOR, dim, dim, A, dim, pivot ) == 0 )
    {
        if ( LAPACKE_dgetri( LAPACK_ROW_MAJOR, dim, A, dim, pivot ) == 0 )
        {
            for ( size_t i = 0; i < size; ++i )
            {
                printf
                (
                    "%s%10.5lf",
                    i % dim == 0 && i != 0
                    ? "\n"
                    : "",
                    A[ i ]
                );
            }
        }
    }
    putc( '\n', stdout );
}

Now let's proceed to the problem.
Compiling and linking against shared library.

Input:

❯ gcc main.c -o test -L./OpenBLAS/lib -lopenblas -lm
❯ ./test

Output:

-2.36111     2.50000     0.00000    -0.00000     0.00000    -0.00000     0.00000     0.00000     0.13889
2.50000    -5.00000     2.50000     0.00000    -0.00000     0.00000     0.00000     0.00000    -0.00000
0.00000     2.50000    -5.00000     2.50000     0.00000    -0.00000     0.00000    -0.00000     0.00000
-0.00000     0.00000     2.50000    -5.00000     2.50000     0.00000    -0.00000     0.00000     0.00000
0.00000    -0.00000     0.00000     2.50000    -5.00000     2.50000     0.00000    -0.00000     0.00000
0.00000    -0.00000    -0.00000     0.00000     2.50000    -5.00000     2.50000     0.00000    -0.00000
-0.00000     0.00000    -0.00000    -0.00000     0.00000     2.50000    -5.00000     2.50000     0.00000
0.00000    -0.00000     0.00000    -0.00000    -0.00000     0.00000     2.50000    -5.00000     2.50000
0.13889     0.00000    -0.00000     0.00000     0.00000    -0.00000     0.00000     2.50000    -2.36111

Everything is perfect. Result seems to be correct. Mission accomplished.
Compiling and linking against static library.

Input:

❯ gcc main.c -o test ./OpenBLAS/lib/libopenblas.a -lm

Output:

/usr/bin/ld: ./OpenBLAS/lib/libopenblas.a(blas_server.o): in function `blas_thread_init':
blas_server.c:(.text+0x50a): undefined reference to `pthread_create'
/usr/bin/ld: ./OpenBLAS/lib/libopenblas.a(blas_server.o): in function `goto_set_num_threads':
blas_server.c:(.text+0x9be): undefined reference to `pthread_create'
/usr/bin/ld: ./OpenBLAS/lib/libopenblas.a(blas_server.o): in function `blas_thread_shutdown_':
blas_server.c:(.text+0xbe2): undefined reference to `pthread_join'
/usr/bin/ld: ./OpenBLAS/lib/libopenblas.a(blas_server.o): in function `openblas_setaffinity':
blas_server.c:(.text+0x31b): undefined reference to `pthread_setaffinity_np'
/usr/bin/ld: blas_server.c:(.text+0x333): undefined reference to `pthread_setaffinity_np'
/usr/bin/ld: ./OpenBLAS/lib/libopenblas.a(blas_server.o): in function `openblas_getaffinity':
blas_server.c:(.text+0x39b): undefined reference to `pthread_getaffinity_np'
/usr/bin/ld: blas_server.c:(.text+0x3b3): undefined reference to `pthread_getaffinity_np'
collect2: error: ld returned 1 exit status

So, why am I seeing all those pthread messages, huh?
Why won't it compile?
Am I missing something?
Yes, I'm sure that I "removed # before USE_THREAD".
Guide provided there told me this:

Link static library

gcc -o test test.c /your/path/libopenblas.a

Are you sure that the shared and static libraries are from the same build ? And did you really change the Makefile.rule as step 2, after building the library with default settings ? (This would probably cause the make install to redo part of the build, but without a make clean in between you would end up with a mix of old and new settings)

Yep, they are from the same build.
My order was as follows: make -> Makefile.rule modification -> make install.
Then I even tried this: Makefile.rule modification -> make -> make install.
So I went through both paths, but I end up with same result.
And I really want to be able to statically link it.

try a make clean after modifying Makefile.rule please

Been there, done that.
That's why I've posted my question.
Guess I can try to make everything on another host probably.

The correct order for what you are trying to do is
1. Change Makefile.rule
2. make
3. make install

If you follow this, you should find that you only need to link to libm (for the fundamental math functions) and probably the runtime library of your fortran compiler (libgfortran or whatever, for the LAPACK code included with OpenBLAS). When you change your mind halfway through and edit Makefile.rule between the make and install steps, you'll end up with a mix of object files corresponding to the "old" and "new" configuration.


Token seperators don't fire select events

In version 4.0.0 when adding new tags using token separators (eg , " ") the change event is being fired but not the select2:select event.
Adding a new tag using enter instead does however fire this event so I think this is a bug.
An example can be found here: https://jsfiddle.net/u0xja2wx/

This is because the tokenizer is triggering the select event directly instead of using Select2's internal event system.
https://github.com/select2/select2/blob/ac1680d81dcc60009c5d0fe0dd52e70bc065c140/src/js/select2/data/tokenizer.js#L25

Cool thanks for the heads up I will see if I can come up with a fix in the next few days

:+1:


testadd regression test of cold heat data storing in hdfs

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Cluster improvements

What
Docs

Adds examples for multi-worker clusters
Groups relevant arguments

Module

Removes need for workers_security_group_count

/codefresh run test

/codefresh run test

/codefresh run test

/codefresh run test


WebLLM returns garbage on Chrome 114

I've tried several times, and it only ever returns random text.

interesting, i double checked with 114 and it seems to be fine. Can you try to
goto https://webgpureport.org/ and check the gpu setting
Try a different kind of model
Wonder if it is related to the GPU that you are using

The quantized RedPajama model is not good at replying to greetings such "hello." (and Vicuna is much better).
If you ask RedPajama to help generate some stories, the reply is much better.

closing for now as there is no actionable item atm, feel free to open new ones


Add possibility to make a custom directories list instead of relying on WinExplorer or DOpus

Hey. Thanks for sharing this tool. I just finished watching the video.
You know, I'd love to see a function where I can enumerate the folders I want to go to instead of having to basically predict what my favorites will be by opening tabs in DOpus (that's what I use as well).
Of course, somebody could just disable that list if they don't want to.
Cheers.

yes!! it would be great if i could have a custom "favourites" list of my most used directories pinned at the top!

Yea a favorites list is something I plan to add. Probably conditional favorites too. I'm making a list of planned stuff on the wiki page.

I added this feature in my pull request
https://github.com/ThioJoe/AHK-Scripts/pull/18

Version 1.2.0 now has the ability to add a custom favorites list and a conditional favorites feature.


Add Dynamic year method in footer section

Is there an existing issue for this?

[x]  I have searched the existing issues

What happened?
BUG: Add a dynamic date method using js function !
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I'm a GSSOC'24 contributor
[x]  I want to work on this issue

please assign me this issue @akshitagupta15june under gssoc label

This issue is already resolved. Please close it.


UnicodeDecodeError has no error message

When decoding bytes with bad encoding, the resulting UnicodeDecodeError has no error message:
E:\>ipy -V
IronPython 2.7.8 <IP_ADDRESS> on .NET 4.0.30319.42000
E:\>ipy -c "b'\xe4'.decode('ASCII')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError

With CPython the message exists and also earlier IronPython versions had it.
E:\>python -c "b'\xe4'.decode('ASCII')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 0: ordinal not in range(128)

Error message used to be better in earlier IronPython versions. Because exception type is correct, this isn't too severe.

Do you know what version of IronPython had a better message? I'd like to look at the code for that version if possible.

Yeah, it looks like they just printed the default ToString of BaseException, which is to print the args tuple. We could pass the exception .Message property as the reason which would then be printed out, but it won't match C Python's error messages. It looks like we don't have access to which encoding had the issue, we can get the byte and index info though.
It would look like this for the example code.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
UnicodeDecodeError: Unable to translate bytes [E4] at index 0 from specified code page to Unicode.

I don't remember which version had a better message but I'm sure there was some kind of a message. I don't think the message needs to match CPython message exactly.

@slide Don't we have the encoding name in DoDecode? We could intercept the exception and add it (or throw a new one). Or is this thoring from somewhere else?


Integrate against OpenWhisk

A recent change broke the entire OpenWhisk pipeline because this repository is not integrated against OpenWhisk and the routemanagement package.
A proposal would be:

Stand up an OpenWhisk deployment
Install the routemanagement package
Run tests against the routemanagement package

That would also clean up entanglement of API GW and OpenWhisk concerns as the package would move into this repository ideally.
Adding @mdeuser and @csantanapr.

Cross-linking openwhisk issue https://github.com/openwhisk/openwhisk/issues/1955.

Perhaps the routemgmt integration needs to move here then this can operate completely independently.

Now this is really solved in Travis https://github.com/openwhisk/openwhisk-apigateway/pull/143
but it remains the move of the apigateway cli plugin to this repo


Include option to specify the level of detail of the downloaded network

First of all thanks a lot @gboeing for this amazing library
Really often I need to download the main network of an area. I was thinking to include another type in the network_type e.g. network_type='drive_main'
Another idea would be to make it even more generic and specify the lower level of detail required in the network e.g. network_type='drive_main_primary' for higways taged primary and above
I could try to implement the second option if you agree with the idea
Cheers

This might be a useful feature. For what it's worth, OSMnx can effectively do this now after having downloading all drivable street types. For instance:
import osmnx as ox
ox.config(use_cache=True, log_console=True)
G = ox.graph_from_bbox(33.397, 33.361, -111.855, -111.914, network_type='drive', simplify=False)
fig, ax = ox.plot_graph(ox.project_graph(G))

So that's our full drivable street network. Now we remove all edges that are not secondary or higher:
hwy_types = ['motorway', 'motorway_link', 'primary', 'secondary']
gdf = ox.graph_to_gdfs(G, nodes=False)
mask = ~gdf['highway'].map(lambda x: isinstance(x, str) and x in hwy_types)
edges = zip(gdf[mask]['u'], gdf[mask]['v'], gdf[mask]['key'])
G.remove_edges_from(edges)
G = ox.remove_isolated_nodes(G)
G = ox.simplify_graph(G)
fig, ax = ox.plot_graph(ox.project_graph(G))

And that's the network of streets with level secondary or higher. Obviously the drawback is we've downloaded excess data that we don't intend to use, which consumes bandwidth and slows down graph construction somewhat.
How does that work for your use case? Is it effective enough or is there still substantial added value in considering adding a new feature?

You are absolutely right, it doesn't seem like there is much added value including this feature.
Your solution works perfectly, thank you very much

Hello,
Thank you for OSMNX that I use in a weekly basis.
Although small roads can be filtered out after the download. When working with a bad connection or in a large area, it would be handy to be able to download (and process) only the main street. Say : with an highway type in a given list of possibilities.

@qchasserieau yes this functionality exists.

Thank you,
For those who are interested, you can pass a custom filter instead of the network type to ox.graph_from_polygon.
I got an example of such filter with the following print(ox.get_osm_filter('drive'))
Then I customized it :
custom_filter = '["area"!~"yes"]["highway"!~"residential|cycleway|footway|path|pedestrian|steps|track|corridor|elevator|escalator|proposed|construction|bridleway|abandoned|platform|raceway|service"]["motor_vehicle"!~"no"]["motorcar"!~"no"]["access"!~"private"]["service"!~"parking|parking_aisle|driveway|private|emergency_access"]'
then custom = ox.graph_from_polygon(hull, custom_filter=custom_filter)
It seems to be about twice faster to download the network when filtering out residential roads in paris.


Create a choria fact source

A new fact source should be created thats on par with the go choria one:

accept JSON or YAML
combine multiple files (go one will get this soon)
should still use `plugin.yaml

See https://github.com/choria-io/puppet-mcollective/issues/163 requires https://github.com/choria-io/puppet-mcollective/issues/165

not needed


[core] Add an option to log Feign network calls

Based on https://github.com/jreleaser/jreleaser/pull/1277
Enable using a sysprop/envvar
cc: @bdemers

🎉 This issue has been resolved in v1.12.0 (Release Notes)


Use .edgerc default section when other sections are missing

Hi!
Commands such as akamai pm lpr --groupId <GROUP> --contractId <CONTRACT> expect .edgerc-sections that are specific to the API and do not fall back to the default section if it is missing.
$ akamai pm lpr --groupId <GROUP> --contractId <CONTRACT>

PM CLI Error: 'invalid_section_name' occurred:
 Section 'papi' not found in edgerc file: '/Users/david/.edgerc'. Possible section names: ['default']

This is confusing to me as I'd expect the CLI to use the default section when other, more specific, sections are not found. Instead, I have to explicitly select the default section using e.g. akamai -s default pm ...
Is this by design or is it something that could be changed?
I'm running
$ akamai --version
akamai version 1.5.2

$ akamai pm --version
0.7.8-RELEASE

Hello @stevensdavid
As per now, we decided not to add the fallback to default or change the default option for cli-pm to default. We don't want to add a package specific behaviour here. Need to use papi section is mentioned in readme and the error message seems pretty clear. If You think that any of them needs clarifications, we would be happy to hear Your suggestions.
As per now, I'm closing the issue.
Best regards,
Wojciech


python311Packages.cvxpy: 1.3.1 -> 1.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.cvxpy is: A domain-specific language for modeling convex optimization problems in Python
meta.homepage for python311Packages.cvxpy is: https://www.cvxpy.org/
meta.changelog for python311Packages.cvxpy is: https://github.com/cvxpy/cvxpy/releases/tag/v1.3.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.2 with grep in /nix/store/07g7mgw5642l7zgiprsw6nvm4xy7par6-python3.11-cvxpy-1.3.2
found 1.3.2 in filename of file in /nix/store/07g7mgw5642l7zgiprsw6nvm4xy7par6-python3.11-cvxpy-1.3.2

Rebuild report (if merged into master) (click to expand)

22 total rebuild path(s)

22 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.bambi
python310Packages.blackjax
python310Packages.cvxpy
python310Packages.jaxopt
python310Packages.qiskit
python310Packages.qiskit-aer
python310Packages.qiskit-finance
python310Packages.qiskit-ibmq-provider
python310Packages.qiskit-ignis
python310Packages.qiskit-nature
python310Packages.qiskit-optimization
python310Packages.qutip
python311Packages.blackjax
python311Packages.cvxpy
python311Packages.jaxopt
python311Packages.qiskit-aer
python311Packages.qiskit-finance
python311Packages.qiskit-ibmq-provider
python311Packages.qiskit-ignis
python311Packages.qiskit-nature
python311Packages.qiskit-optimization
python311Packages.qutip

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/07g7mgw5642l7zgiprsw6nvm4xy7par6-python3.11-cvxpy-1.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.cvxpy https://github.com/r-ryantm/nixpkgs/archive/a67b769b3d5c20e810d03fd20b0ee2f48d870b39.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/07g7mgw5642l7zgiprsw6nvm4xy7par6-python3.11-cvxpy-1.3.2
ls -la /nix/store/07g7mgw5642l7zgiprsw6nvm4xy7par6-python3.11-cvxpy-1.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @drewrisinger for testing.

@ofborg build python311Packages.cvxpy python311Packages.cvxpy.passthru.tests


Update paper.md

Minor update (python -> Python)
Re: JOSS review

Thanks! I always forget to capitalize Python...


network_filters: add filter disabled matcher API as not implemented

Additional Description: Adding API to support disabling network filters based on matcher as not-implemented. Linked to: #28997.
Risk Level: low
Testing: None
Docs Changes: None
Release Notes: None
Platform Specific Features: None

Are you referring to ListenerFilterChainMatchPredicate https://github.com/envoyproxy/envoy/blob/f9ffd76e1b6982666d2ac0556fde441357d25341/api/envoy/config/listener/v3/listener_components.proto#L306
Or FilterChainMatch?
https://github.com/envoyproxy/envoy/blob/f9ffd76e1b6982666d2ac0556fde441357d25341/api/envoy/config/listener/v3/listener_components.proto#L96
I believe it may be possible to use at least ListenerFilterChainMatchPredicate which is being used for the listener filters matching equivalent. I'm not sure if it would be best though because then it would require each matching option to be supported by both listener and network filters. Is it guaranteed that any matching criteria that is relevant for listener filters could also be applied for network filters?

I'm not even talking about reusing the matching config. I'm asking more fundamentally why you can't achieve this using filter chains. You can have a filter chain that doesn't have the filter that you want to disable.

it would require entire listener update which will drain connections for all types of filter chains.

Not exactly. The code is smart and in many cases will only update the filter chains that are impacted.

Got it. If we got two chained network filters with 6 matching combinations, we would ultimately need 6 filter chains to match on, instead of single one and per-filter matching rules. In that case I think it would increase the xDS resources size and possibly the frequency they would be updated? In a multi tenancy model where filter chain is tied to a tenant I assume it could inflate. Thinking out loud here, I may be wrong. wdyt?

I think the bar for adding a new feature like this is quite high given how much overlap there is with an existing feature. I would try deploying with the other feature and then if you run into problems that cannot be solved without a change like this you can provide justification and we can circle back.


fix: be fatal on DNS informer error and fix init order

This fixes the ClusterIP index used for reverse DNS lookups.

@ncdc ^^


Composer install error (ext5)

Hi!
Just tried to check ext5 demo and couldn't install with composer after composer update:
c:\OpenServer\domains\kwfapp-ext5>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

installing npm dependencies in 'C:\OpenServer\domains\kwfapp-ext5/vendor/koala-framework/kwf-deftjs'...
npm WARN EPACKAGEJSON temp-composer-extra-asssets@ No license field.
npm WARN package.json temp-composer-extra-asssets@ No license field.

installing npm dependencies in 'C:\OpenServer\domains\kwfapp-ext5/vendor/koala-framework/kwf-trl-jsparser'...
npm WARN EPACKAGEJSON temp-composer-extra-asssets@ No license field.
npm WARN package.json temp-composer-extra-asssets@ No license field.

installing npm dependencies in 'C:\OpenServer\domains\kwfapp-ext5/vendor/koala-framework/koala-framework'...
npm WARN EPACKAGEJSON temp-composer-extra-asssets@ No license field.
npm WARN package.json temp-composer-extra-asssets@ No license field.

installing bower dependencies...
bower extjs#~6.0.0-640          cached git://github.com/koala-framework/extjs.git#6.0.0-640
bower extjs#~6.0.0-640        validate 6.0.0-640 against git://github.com/koala-framework/extjs.git#~6.0.0-640
bower extjs#5.1.*               cached git://github.com/koala-framework/extjs.git#5.1.1-451
bower extjs#5.1.*             validate 5.1.1-451 against git://github.com/koala-framework/extjs.git#5.1.*
bower                        ECONFLICT Unable to find suitable version for extjs

  [RuntimeException]
  bower install failed

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...

c:\OpenServer\domains\kwfapp-ext5>

How to fix?

the extjs 5 version of kwf-app-demo is currently not under active development. we are however working on:

full port of the whole koala-framework codebase to ext 6 (yes, including auto*)
a new kwf-app-demo based on ext 6 using mvvm

@kaufmo is currently working on this :+1:

@nsams , Sounds good!

full port of the whole koala-framework codebase to ext 6 (yes, including auto*)

Can it possible to migrate from ext2.3? Do I need to use latest kwf 3.11/4.0 for it?
Is ext6 support responsive for using with mobile devices?

a new kwf-app-demo based on ext 6 using mvvm

When the first release is coming out?

full port of the whole koala-framework codebase to ext 6 (yes, including auto*)

Can it possible to migrate from ext2.3? Do I need to use latest kwf 3.11/4.0 for it?
Is ext6 support responsive for using with mobile devices?

yes, the plan is to migrate all ext 2.3 code. And it will be Kwf 5.0 or something...

a new kwf-app-demo based on ext 6 using mvvm

When the first release is coming out?

sorry, I can't give you a date or something so far


time operations where time_bounds span multiple averaging periods

There is an assumption within the functions in climatology.py that the time_bound of data fit concisely within the averaging period applied; this assumption is violated when computing monthly averages, say, on 5-day data. A more appropriate approach would be to compute averaging weights based on the portion of the time_bound that falls within the target averaging period.

One solution for this issue is to interpolate from, say, 5-day data to 1-day data (using 'zero', i.e., piecewise polynomial interpolation), and then to compute monthly averages on daily data. This would be less efficient compared to an approach based on computing weights, but would be more general and easier to implement. The problem, however, is that xarray does not support interpolation over a chunked dimension.
When I try to interpolate a dataset that's read in using open_mfdataset, I get the following:
>>> da.interp(time=new_time_dim).compute()
...
NotImplementedError: Chunking along the dimension to be interpolated (2) is not yet supported.

Eliminating the chunking over time dimension solves this issue, but that would definitely be an infeasible option for practical use.

@alperaltuntas, what if we "unfix time" and use the resample on the float time-axis, then "refix time" to compute the monthly climatology?

@alperaltuntas, what if we "unfix time" and use the resample on the float time-axis, then "refix time" to compute the monthly climatology?

I'll try this.

on second thought, I think resample only works on time axes.

Can't we convert the time axis from cftime to Pandas' accepted time type?

I think pandas is too restrictive for our data:
When decoding/encoding datetimes for non-standard calendars or for dates before year 1678 or after
year 2262, xarray uses the cftime library. It was previously packaged with the netcdf4-python package
under the name netcdftime but is now distributed separately. cftime is an optional dependency of
xarray.

Have you installed cftime?
On Fri, Feb 15, 2019 at 7:52 AM Matthew Long<EMAIL_ADDRESS>wrote:

I think pandas is too restrictive for our data:
When decoding/encoding datetimes for non-standard calendars or for dates before year 1678 or after
year 2262, xarray uses the cftime library. It was previously packaged with the netcdf4-python package
under the name netcdftime but is now distributed separately. cftime is an optional dependency of
xarray.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/esmlab/issues/55#issuecomment-464077144, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AK4fgz1IbCCGWeUMEBSsQ_OxeZZ3l9cjks5vNsmQgaJpZM4ayp56
.

--
Kevin Paul, PhD
Project Scientist, Head of I/O & Workflow Applications (IOWA)
The National Center for Atmospheric Research
Computational and Information Systems Laboratory
1850 Table Mesa Dr
Boulder, CO 80305
Phone:<PHONE_NUMBER>
Office:  ML460B

Yes.  The issue is that cftime doesn’t work with resample and pandas time is too restrictive.

Ah. Got it.
On Fri, Feb 15, 2019 at 8:44 AM Matthew Long<EMAIL_ADDRESS>wrote:

Yes. The issue is that cftime doesn’t work with resample and pandas time
is too restrictive.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/esmlab/issues/55#issuecomment-464096123, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AK4fg8bPTUswfky8FP37vMjceYij05VGks5vNtXHgaJpZM4ayp56
.

--
Kevin Paul, PhD
Project Scientist, Head of I/O & Workflow Applications (IOWA)
The National Center for Atmospheric Research
Computational and Information Systems Laboratory
1850 Table Mesa Dr
Boulder, CO 80305
Phone:<PHONE_NUMBER>
Office:  ML460B

Actually, this issue still applies to compute_mon_climatology. Not sure if it applies to other functions in climatology.py I am planning to update compute_mon_climatology based on the new function that computes means (compute_mon_mean).
Relatedly, I am wondering what's the best way of distinguishing functions that compute climatology vs functions that compute means. I added compute_mon_mean (which computes monthly means, not climatology) to climatology module , but not sure if placing it to climatology module will cause confusion. Also, another potential source of confusion is that the function that computes annual climatology is named compute_ann_mean. Should it be named compute_ann_climatology?
@matt-long  ?

Relatedly, I am wondering what's the best way of distinguishing functions that compute climatology vs functions that compute means.

@matt-long, I presume @alperaltuntas's concern would be solved by the nomenclature suggestion you made in our conversation today.

Should we imitate NCL's nomenclature to a certain level : https://www.ncl.ucar.edu/Document/Functions/climo.shtml?

@alperaltuntas,

I added compute_mon_mean (which computes monthly means, not climatology) to climatology module , but not sure if placing it to climatology module will cause confusion.

In #109, I am removing the climatology.py module and  most of utility functions in utils will be moved to  an EsmlabAccessor class in a new module core.py.


The event Callbacks don't seem to work

Hi,
I'm trying to configure the new npm package of Owl Carousel ('ngx-owl-carousel'), but it seems that the Event Callbacks, which I set in options, don't seem to get triggered.
My options:
public carouselOptions: any = {
items: 1,
dots: false,
navigation: false,
onInitialized: (event) => {
// something
},
onDragged: (event) => {
// something
}
};
But if I use the old npm package ('ng2-owl-carousel'), everything works fine.
I also see that the Carousel doesn't seem to get loaded, since the child elements do not get wrapped (owl-items) and the Carousel itself never gets the class of 'owl-loaded'.
What could be wrong here? I'd really like to use the new version of the Carousel.

It seems to me that you have missed to include owl.carousel.js (node_modules/owl.carousel/dist/owl.carousel.js). ( In previous version it was included in the code. But in this version this file needs to be included explicitly.

Yes, you are right.
Now it is working fine.
Thank you.


Add stack support

Convenient for those who uses it.

It's been a busy few months -- sorry.
I'm afraid I won't accept this PR, as I'm still uncertain how having a stack.yaml works with a package meant to work with multiple versions of GHC. And looking about shows me that many popular packages don't have stack.yaml files. From what I can understand, stack.yaml files are great for syncing builds between machines, say, but not as good for distribution where the user may have any of a variety of configurations. I'd love to be enlightened if I'm wrong.

With multiple GHCs you do stack build --stack-yaml=./stack-ghc-head.yaml, or you could do stack build --resolver=lts-5.6, maybe some other options.
Anyway, there's nothing bad in not providing any stack.yaml, so no worries :)

Thanks for letting me know. I always feel like a stick-in-the-mud about stack, but I just don't grok it yet, at least for packages meant for open-source distributions.
It still seems like putting a stack.yaml with some fixed resolver means that I am preferring one GHC over others, which I don't wish to do.


Postgres error incomplete startup packet

I am using the pankod boilerplate project with PostgreSQL. I am getting the following  error when i run the application.

2019-10-14 09:17:24.580 UTC [21367] [unknown]@[unknown] LOG: incomplete startup packet
2019-10-14 09:17:39.581 UTC [21356] LOG: received fast shutdown request
2019-10-14 09:17:39.581 UTC [21356] LOG: aborting any active transactions
2019-10-14 09:17:39.582 UTC [21361] LOG: autovacuum launcher shutting down
2019-10-14 09:17:39.585 UTC [21358] LOG: shutting down
2019-10-14 09:17:39.691 UTC [21358] LOG: database system is shut down
2019-10-14 09:17:40.707 UTC [21458] LOG: database system was shut down at 2019-10-14 09:17:39 UTC
2019-10-14 09:17:40.709 UTC [21458] LOG: MultiXact member wraparound protections are now enabled
2019-10-14 09:17:40.712 UTC [21457] LOG: database system is ready to accept connections
2019-10-14 09:17:40.713 UTC [21462] LOG: autovacuum launcher started
2019-10-14 09:17:41.159 UTC [21468] [unknown]@[unknown] LOG: incomplete startup packet

I don't see when i stop the application. Is there any configuration/settings to be set to avoid this error. The main issue is when I call the api during the time this issue created then API gets fails and works normal on the next call..

@ilakshmikanthp Can you provide example repo for the problem, so we can reproduce?


[VL] Support from_unixtime function

This PR depends on https://github.com/oap-project/velox/pull/406.

Depends on a patch that will be contributed to velox upstream.


refactor: rework logging to utilize module-level logger

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.08%. Comparing base (f047488) to head (f89d7a3).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   97.25%   92.08%   -5.18%
==========================================
  Files          14        4      -10
  Lines        1057      278     -779
==========================================
- Hits         1028      256     -772
+ Misses         20       13       -7
  Partials        9        9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Shadow glitch

Describe the bug
Shadows get drawn badly
To Reproduce
you only have to open the misc tab or load a map after injecting.
if you only open other tabs it doesn't happen.
Screenshots

Additional context
the bug persists after changing maps and exiting deadcell.
It doesn't happen if you comment out the "Prop transparency" slider, so its obviously caused by void c_misc::transparent_props( float override_transparency )

I tracked it down to this line:
https://github.com/EternityX/DEADCELL-CSGO/blob/master/csgo/features/misc/misc.cpp#L410
But i guess it might not be a cheat specific bug? annyway would be cool if it doesn't get triggert until you change the slider

i fixed it in #47
im not too deep into the matter so let me know if there is a better fix


Add support to release Linux aarch64 wheels

Problem
On aarch64, pip install pyscf gives the following error:
  Using cached pyscf-2.0.1.tar.gz (7.7 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy!=1.16,!=1.17,>=1.13 in /opt/_internal/cpython-3.8.12/lib/python3.8/site-packages (from pyscf) (1.22.0)
Requirement already satisfied: scipy!=1.5.0,!=1.5.1 in /opt/_internal/cpython-3.8.12/lib/python3.8/site-packages (from pyscf) (1.7.3)
Requirement already satisfied: h5py>=2.7 in /opt/_internal/cpython-3.8.12/lib/python3.8/site-packages (from pyscf) (3.6.0)
Building wheels for collected packages: pyscf
  Building wheel for pyscf (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/_internal/cpython-3.8.12/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sxwoef62/pyscf_99dbddbd7da44484bb71163a64878aba/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sxwoef62/pyscf_99dbddbd7da44484bb71163a64878aba/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-933dx2a1
       cwd: /tmp/pip-install-sxwoef62/pyscf_99dbddbd7da44484bb71163a64878aba/
  Complete output (8 lines):
  running bdist_wheel
  running build
  running build_ext
  Configuring extensions
  cmake -S/tmp/pip-install-sxwoef62/pyscf_99dbddbd7da44484bb71163a64878aba/pyscf/lib -Bbuild/temp.linux-aarch64-3.8
  CMake Error: The source directory "/tmp/pip-install-sxwoef62/pyscf_99dbddbd7da44484bb71163a64878aba/pyscf/lib" does not appear to contain CMakeLists.txt.
  Specify --help for usage, or press the help button on the CMake GUI.
  error: command 'cmake' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pyscf

Resolution
On aarch64, pip install pyscf should download the wheels from PyPI.
@sunqm, Please let me know your interest in releasing aarch64 wheels. I can help with this.

For sure I'm interested in adding support to aarch64.
For the error you posted, it's not clear for me based on the output of pip install. If you manually run cmake inside the pyscf/lib directory,
cmake -B build pyscf/lib && cmake --build build

does it produce any error?

FWIW I've had no problems in building PySCF on aarch64, which is one of the official Fedora Linux platforms, see e.g. here for the last build log

cmake -B build pyscf/lib && cmake --build build

does it produce any error?

Running the above command does not produce any error and builds pyscf successfully. But it takes a lot of time to build from source on AArch64. It would be beneficial for the AArch64 users if the wheels for pyscf are present on PyPI.
I have raised a PR  for adding aarch64 wheel build support. Could you please have a look at it?

Available in 2.1 release