firefox-esr-60: 60.2.2 -> 60.3.0 [critical security fixes]

Motivation for this change
https://www.mozilla.org/en-US/security/advisories/mfsa2018-27/
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build firefoxPackages.firefox-esr
/cc @andir

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: firefoxPackages.firefox-esr
Partial log (click to expand)
Cannot nix-instantiate `firefoxPackages.firefox-esr' because:
error: attribute 'firefox-esr' in selection path 'firefoxPackages.firefox-esr' not found

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: firefoxPackages.firefox-esr
Partial log (click to expand)
Cannot nix-instantiate `firefoxPackages.firefox-esr' because:
error: attribute 'firefox-esr' in selection path 'firefoxPackages.firefox-esr' not found

Failure on x86_64-darwin (full log)
Attempted: firefox-esr-60
Partial log (click to expand)
 0:07.26     errread, errwrite)
 0:07.26   File "/nix/store/c6mnc84yva1wa85nzjfha6mxfsk6qbg7-python-2.7.15/lib/python2.7/subprocess.py", line 1047, in _execute_child
 0:07.26     raise child_exception
 0:07.26 OSError: [Errno 2] No such file or directory
 0:07.29 *** Fix above errors and then restart with\
 0:07.29                "/nix/store/f5aw0jl41r3nydav2mprvd2zyb76hg92-gnumake-4.2.1/bin/make -f client.mk build"
 0:07.29 make: *** [client.mk:149: configure] Error 1
builder for '/nix/store/xy2q351kpvrvrb62736bm81754fi6v74-firefox-esr-unwrapped-60.3.0esr.drv' failed with exit code 2
cannot build derivation '/nix/store/x5dw982sw8mgfkwdid9if2cbc6j8hgwm-Firefox-60.3.0esr.drv': 1 dependencies couldn't be built
error: build of '/nix/store/x5dw982sw8mgfkwdid9if2cbc6j8hgwm-Firefox-60.3.0esr.drv' failed

Timed out, unknown build status on x86_64-linux (full log)
Attempted: firefox-esr-60
Partial log (click to expand)
rm -f libdom_clients_api.a
/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/_virtualenv/bin/python /build/firefox-60.3.0/config/expandlibs_gen.py -o libdom_clients_api.a.desc Unified_cpp_dom_clients_api0.o
make[3]: Leaving directory '/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/clients/api'
make[3]: Entering directory '/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/commandhandler'
mkdir -p '.deps/'
/nix/store/10yq7kwlvbc6h658izmrlsspry1g9f3c-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_dom_commandhandler0.o -c -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-60.3.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-60.3.0/dom/commandhandler -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/commandhandler -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/bwgz69gc4rg6qslb30hbbw33ipmf1zcn-nspr-4.20-dev/include -I/nix/store/iyiivh80rga215nzmwsmakz1riam5ddk-nss-3.39-dev/include/nss -I/nix/store/lmv7cpljbqzbn0mxfpnk2knsm4c6bq12-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/27pkx59vp8l32k8xq30fz4vbq3hspc59-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer  -MD -MP -MF .deps/Unified_cpp_dom_commandhandler0.o.pp   /build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/commandhandler/Unified_cpp_dom_commandhandler0.cpp
/nix/store/10yq7kwlvbc6h658izmrlsspry1g9f3c-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_dom_cache1.o -c -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-60.3.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-60.3.0/dom/cache -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/cache -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-60.3.0/ipc/chromium/src -I/build/firefox-60.3.0/ipc/glue -I/build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/bwgz69gc4rg6qslb30hbbw33ipmf1zcn-nspr-4.20-dev/include -I/nix/store/iyiivh80rga215nzmwsmakz1riam5ddk-nss-3.39-dev/include/nss -I/nix/store/lmv7cpljbqzbn0mxfpnk2knsm4c6bq12-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/27pkx59vp8l32k8xq30fz4vbq3hspc59-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow  -MD -MP -MF .deps/Unified_cpp_dom_cache1.o.pp   /build/firefox-60.3.0/obj-x86_64-pc-linux-gnu/dom/cache/Unified_cpp_dom_cache1.cpp
building of '/nix/store/56cw79ck2lp0dvx1gfq64gwp2cklnww2-firefox-esr-unwrapped-60.3.0esr.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/bwnjsk1igq4l860p0jg7y6bly95qj9zr-firefox-60.3.0esr.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bwnjsk1igq4l860p0jg7y6bly95qj9zr-firefox-60.3.0esr.drv' failed

It looks fine. Compiling this right now. I must have forgotten to push that commit to master since it is on 18.09 and 18.03 :/

Failure on aarch64-linux (full log)
Attempted: firefox-esr-60
Partial log (click to expand)
Hunk #1 succeeded at 581 (offset 108 lines).
Hunk #2 succeeded at 596 (offset 108 lines).
applying patch /nix/store/hbznxg0w5nb08wdy9knvzlghd4l1im1h-aarch64-skia.patch
patching file gfx/skia/skia/src/jumper/SkJumper_stages.cpp
Hunk #1 FAILED at 666.
Hunk #2 FAILED at 686.
2 out of 2 hunks FAILED -- saving rejects to file gfx/skia/skia/src/jumper/SkJumper_stages.cpp.rej
builder for '/nix/store/df5y20ggxsgqwvcfxb68zc7zx846gsx3-firefox-esr-unwrapped-60.3.0esr.drv' failed with exit code 1
cannot build derivation '/nix/store/z3fclj5wga5mbkn4b7i728qiyl5n3792-firefox-60.3.0esr.drv': 1 dependencies couldn't be built
error: build of '/nix/store/z3fclj5wga5mbkn4b7i728qiyl5n3792-firefox-60.3.0esr.drv' failed

x86_64-linux seems fine, i686-linux is still building. I am dropping the skia patch from aarch64 that should fix the build.


Fix C++ comparator about DecimalOptions.

Summary
This commit enables to handle decimals which have large significand (greater than 63-bits, approx. 18-digits), in native value comparators.
Background, Problem or Goal of the patch
Asakusa on M3BP <= 0.1.1 cannot handle decimals with large significand in sorting group members, and only can handle decimals with < 2^63 significand.
Design of the fix, or a new feature
This commit includes the following C++ classes:

CompactDecimal

unsigned decimal with < 2^64 significand

MpInt

multi-precision integer

MpDecimal

unsigned decimal with multi-precision significand

The both {Compact,Mp}Decimal represents significand * 10^{exponent}. The former uses unsigned long long (uint64_t) for its significand, and the latter uses MpInt. In many cases, decimals only have <= 18 digits and CompactDecimal will be used.
Related Issue, Pull Request or Code
N/A.
Wanted reviewer
N/A.

BUILD SUCCESS. <jenkins-prb-asakusafw-dag-27>


[2.5.2] Prometheus Rules Custom UI

Adds the custom UI for the Prometheus Rules.
I left out the custom redirect to yaml requirement at the bottom of the ticket though. I am having trouble making the redirect happen. In every lifecycle hook i tried I first had to let the route fully load then replace to the yaml view for it to work. This looks ugly. But as I was attempting to get this working I started to find it really odd that we'd redirect a user to the yaml view with out notifying them why. As this would only happen on edit and from my understanding of the requirements, I don't think it would hurt to allow the user to view the form in this case.
@vincent99 I wasn't quite sure if the add group button was quite what you wanted (see pic below)? Let me know if we want to implement a different design.
rancher/dashboard#811

I will update the Rule Group X to start at 1 instead of 0 shortly.

I was initially thinking the remove group button would go with the left side, like

(or as text), instead of an X on the opposite corner of the screen from Add

@vincent99 updated. Ran it by @lvuch to check the design and she said she would prob revisit in an upcoming PR for buttons everywhere.


[0.11.1]: admin UI does not provide any feedback for successful but empty queries

Bug report
System info:
influxdb: 0.11.1 (local build)
operating systemn: ubuntu 14.04.4
Steps to reproduce:

execute a query that is expected to have no results: select * from "database" where numSeries < 0

Expected behavior: [What you expected to happen]
A success message should be displayed, indicating that the query was accepted and processed successfully but no results were returned.
Actual behavior: [What actually happened]
No results are displayed and no feedback is available to indicate to the user that the query was even accepted. Previously a green success message was displayed.
Other examples include:
CREATE DATABASE foobar
DROP DATABASE foobar
SHOW SUBSCRIPTIONS   # when there are no subscriptions
The CREATE DATABASE and DROP DATABASE cases also fail to report an error if the database already exists (or does not already exist, respectively).
Additional info:

when testing different versions, ensure that you have used shift-F5 to ensure the browser reloads the JavaScript resources from the server
the issue appears to have been introduced between v0.10.3 and v0.11.1

I bisected the commit that caused this issue down to 0cd440ea5c. /cc @toddboom

Fixed by #6194.

@jonseymour Thanks for taking care of this! I've merged your PR into master and 0.12, so future releases off of those branches will have this. I'll go ahead and merge it into the 0.11 branch, but we don't currently have any plans to cut another point release in the 0.11.x line.


Add information about storage_type to documentation

Is your feature request related to a problem? Please describe.
Add information about storage_type to documentation
Describe the solution you'd like
Update the documentation

Just to make sure, you mean storage-type as in https://cloud.vespa.ai/en/reference/services#resources ? Or something else?

yes i mean storage-type in services resources

ok. The documentation currently says:

The type of storage to use. This is useful to specify local storage when network storage provides insufficient io operations or too noisy io performance:
local	Node-local storage is required.
remote	Network storage must be used.
any	Both remote or local storage may be used.

It is helpful if you can indicate what more information that will be helpful

This is helpful. i was not able to find this information. Thanks for pointing it. We can close this issue

all right! we are launching https://search.vespa.ai/ that will hopefully let users find this more easily. Thanks for reporting!


Component fails to set up

I had this working for a few months now, and recently (presumably after update to 4.4.2) it stopped working displaying following error:
Logger: homeassistant.setup
Source: setup.py:288
First occurred: 15:27:06 (1 occurrences)
Last logged: 15:27:06

Error during setup of component o365
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 288, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/o365/__init__.py", line 64, in async_setup
    await _async_setup_account(hass, account, conf_type)
  File "/config/custom_components/o365/__init__.py", line 154, in _async_setup_account
    is_authenticated = account.is_authenticated
                       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/O365/account.py", line 79, in is_authenticated
    token = self.con.token_backend.get_token()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/O365/utils/token.py", line 94, in get_token
    self.token = self.load_token()  # store the token in the 'token' property
                 ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/O365/utils/token.py", line 240, in load_token
    token = self.token_constructor(self.serializer.load(token_file))
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/__init__.py", line 293, in load
    return loads(fp.read(),
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I went ahead and tried setting up the secret again, re-checked my permissions (granted pretty much everything).
here's my (previously working) config:
o365:
  accounts:
    - account_name: <redacted>
      client_id: !secret o365_client_id <"Application (client) ID" from Azure>
      client_secret: !secret o365_client_secret  <"Value" from Client secrets in Azure, newly generated just to be sure.>
      alt_auth_method: False
      enable_update: True
      track_new_calendar: True
      auto_reply_sensors:
        - name: auto_reply
      email_sensor:
        - name: inbox
          max_items: 10 #2
          is_unread: True
          download_attachments: False
      # query_sensors:
      #   - name: "Inbox"
      #     from: !secret o365_email
      #     subject_contains: "Example subject"
      #     has_attachment: True
      #     max_items: 2
      #     is_unread: True
      status_sensors: # Cannot be used for personal accounts
        - name: "User Teams Status"
      chat_sensors: # Cannot be used for personal accounts
        - name: "User Chat"
      todo_sensors:
        enabled: True

Following that I've also tried upgrading to 4.4.3b2 and restarting HA, same error.

It looks like your token is corrupt, so you need to delete it from here - <config>/o365_storage/.O365-token-cache
Alternatively rollback to your previously working version o the integration and report back here on whether it works or not.

Downgrading itself didn't help.
I've:

Downgraded to 4.4.2
Removed the /config/o365_storage/.O365-token-cache directory
Reauthenticated as instructed by HA flow
and now it's working, thanks.

I didn't see anything about that token, it might be useful to add it to some FAQ


Error while parsing through problem

I was using the plugin to parse through the following problem, however, I received an error.
Error executing vim.schedule lua callback: ....local/share/nvim/cphelper.nvim/lua/cphelper/prepare.lua:24: attempt to perform arithmetic on local 'sep_pos'
(a nil value)
stack traceback:
        ....local/share/nvim/cphelper.nvim/lua/cphelper/prepare.lua:24: in function 'prepare_folders'
        ....local/share/nvim/cphelper.nvim/lua/cphelper/receive.lua:32: in function <....local/share/nvim/cphelper.nvim/lua/cphelper/receive.lua:27>

Here is the problem.
https://dmoj.ca/problem/pickit
I think the reason that there is an error is that the problem is not from a contest, so the plugin doesn't know how to create the folders.

Thanks, this is now fixed

The same thing happened here for this problem:
https://judge.yosupo.jp/problem/staticrmq
I'm pretty sure for the same reason as well.

Thanks, this is also fixed


story_cycle updates

add enum[duration] fields
add chance field
make fallback optional

@tboby,
Not sure if you are notified when a PR is added.  Let me know if there is anything else I need to do for this to be considered for merging.


Docs/images

Fix most of errors when building the doc site. I believe this will take effect after you merge rel2.0.0 to the master.
You can try doc locally using npm run docs:dev (npm i first)

@ralphhanna Hi, don't forget this. While it won't take effect until being master branch.


fix(security): update css-what, glob-parent, trim-newlines

This PR fixes the following security vulnerabilities:

https://www.npmjs.com/advisories/1753
https://www.npmjs.com/advisories/1754
https://www.npmjs.com/advisories/1751

Checklist

[ ] updated CHANGELOG.md

This broke parcel-bundler :(
We're likely either going to have to ignore the vuln or move to parcel v2, which is still in beta months after v1 was deprecated :(

We're likely either going to have to ignore the vuln or move to parcel v2

Shoot :( I wonder how easy/difficult that will be. Do you have a preference on which approach we take?

Closing in favor of https://github.com/cdr/code-server/pull/3586 and https://github.com/cdr/code-server/pull/3578


Track content type directly in the input spec

Currently, the input specification does not contain any information about the body content type, we assume that is a plain JSON. In some cases, it should be ndjson, which we normally represent as an array of objects.
For example, here's the bulk API:
https://github.com/elastic/elastic-client-generator/blob/ba32e0ee31ba6d2054903f10c6dd586689d7e7e9/specification/specs/document/multiple/bulk/BulkRequest.ts#L43
The only way for language generators for knowing this information is to read the contentType field of the Endpoint definition, which we are gathering from the rest-api-spec. For example:
"contentType": [
   "application/x-ndjson"
]

🚀 Feature Proposal
Create a new js doc tag to track this information directly in the input spec.
Motivation
The rest-api-spec will not be there forever, and overtime we'll move most of the rest-api-spec information directly in the input spec. Furthermore I think strongly type languages will benefit from having this information easily accessible, but let's discuss more about it.
If we have a specific js doc tag for this we can instruct the compiler to throw if the body does not respect certain rules. For example, at the moment every ndjson API has the body defined as array.
Example
 /**
  * @rest_spec_name bulk
  * @since 0.0.0
  * @stability stable
+ * @content_type ndjson
  */
 interface BulkRequest<TSource> extends RequestBase {
   path_parts?: {
     index?: IndexName
     type?: Type
   }
   query_parameters?: {
     pipeline?: string
     refresh?: Refresh
     routing?: Routing
     _source?: boolean
     _source_excludes?: Fields
     _source_includes?: Fields
     timeout?: Time
     type_query_string?: string
     wait_for_active_shards?: WaitForActiveShards
     require_alias?: boolean
   }
   body?: Array<BulkOperationContainer | TSource>
 }

@delvedor and I discussed this, and the motivation is to make sure that ndjson is modelled as an array.
This is something that should be done in the model validation, where we have the rest-api-specs available.
There is a broader discussion however about capturing all of rest-api-specs in the input specification, and not only the content-type. In the discussion we considered introducing Endpoint classes alongside request and responses to capture all parts of the rest-api-specs that do not belong to the request data structure (i.e. paths, content-types, accept, methods, etc)

In the discussion we considered introducing Endpoint classes alongside request and responses to capture all parts of the rest-api-specs that do not belong to the request data structure (i.e. paths, content-types, accept, methods, etc)

Related discussion: https://github.com/elastic/elastic-client-generator/issues/302


Transactions support

Hi, Since this has been open for some time now, I am curious to know if this is actively being worked or if this is just a feature that is being considered?

@michelbetancourt If you are referring the feature to using Watch/Multi/Exec commands. I am afraid this is considered (close) to be depreciated by redis. It is discouraged by the redis author.
You can use RLock to mimic the transaction behaviour and you will get much better performance. @mrniko has recently removed the last remaining internal usage of these commands and observed up to 400% performance gain. mrniko/redisson@4fcd54ec8cc7457434d0eb50de52274658625f3c
I can't see this feature been actually implemented any time in the near future, in my opinion.

How do you get performance gain when going from pessimistic locking (RLock) to optimistic locking (Watch)? Assuming you have rare collisions

In rare collision case, performance gain came from reduced network round trip.

Thanks for replying!
Don't you have similar network round trips when using RLock (lock/unlock)?

When use Lua script, the network round trip happens only once, and considering how fast redis is, network round trips can be the bottleneck for performance.

I see. I read the above command as moving to programatic RLock in jvm code and not to Lua script. I now understand.
Thanks!

Superseded with https://github.com/redisson/redisson/issues/1242


Interactive elements not reachable via keyboard without VoiceOver running [iOS]

The “Next”, “Previous”, and “Close” buttons on the “How it works” screens and the “Close” graphical buttons in the top right corner of the “Select your county”, “Gender identity”, “Age range”, “Race”, and “Ethnicity” overlays are not reachable when navigating the application via keyboard without VoiceOver running (full keyboard access without VoiceOver was added in iOS 13.5).

@willslone Can you link us to some resources on how to implement this please? Is it the case of supporting TAB, SHIFT+TAB and ENTER? Any help much appreciated.

fixed, avail in next build

The “Next”, “Previous”, and “Close” buttons on the “How it works” screens can now be reached via keyboard alone.
The “Close” graphical buttons in the top right corner of the “Select your county”, “Gender identity”, “Age range”, “Race”, and “Ethnicity” overlays are still unreachable in the latest build.

This has now been addressed.


Play Spotify Playlists Automatically via Cron

I have an RPi 3 setup running Pi MusicBox as a player for a large venue. This is just a background music player, which recently replaced an older CD/USB player to allow us to use Spotify. We have three clients that use the venue and we need to automate the playlist/music change throughout the week. I was thinking of doing this via cron so it could be scheduled specifically.
The basic setup is a single Spotify account that has four playlists on it, one for each client and one for us. On Wednesday afternoons, it changes to client A (Genesis), following their building use, it changes back to our list (Hall). On Friday nights, it changes to client B (CR), then back to Hall after their use. On Sunday night, it changes to client C (Delta), then again back to Hall.
Could I use something like mpc load URI in order to accomplish this, or are there any other methods that might work?

Since you've also posted at https://discuss.mopidy.com/t/musicbox-playlist-schedule/1512/5 and had some good replies is it OK to close this here? General usage questions usually get better/more answers there than they do on this bug tracker.

Please close here. I have found a solution and posted it to the other forum.


Support alternative requirements file encodings

e.g. UTF16-LE

This works, but poetry export > requirements.txt creates UTF16-LE file, while uv pip install -r requirements.txt expects UTF-8, so I manually need to re-save it in UTF8. It is not a problem, but would be cool if uv would detect input file encoding...
uv pip install -r .\requirements.txt
error: failed to read from file `.\requirements.txt`
  Caused by: stream did not contain valid UTF-8

Originally posted by @Warchant in https://github.com/astral-sh/uv/issues/1634#issuecomment-1951402367

For sake of not making an even bigger mess in the ecosystem it would be ideal if this stays as UTF-8. I'm perplexed that poetry would generate a UTF-16 file and I can only assume this is because it picks up some weird default encoding by accident.

That's a fair point, it'd be nice to use a consistent encoding.
cc @Secrus

Poetry does not generate a utf-16 file.
If told a filename to write to, it writes utf-8.  However OP is redirecting stdout, presumably the encoding is whatever the python interpreter says it is in that environment

The UTF-16 encoding was most likely picked up from the environment. As I stated in here, stream redirection is not the way to export to requirements file. We use UTF-8 when writing to files.

Great thanks for the background! It seems safe to close this. Happy to hear more use-cases if they exist though.


Write lede + 3 feature overview sections for Service Integrator page.

@mrutkows is definitely going to need to be involved with this one.

@mrutkows I took a swing at a synopsis in this comment. If you're editing this page, it's probably worth checking that at the same time.

Per Slack discussion. Can we get edits and/or an approval on this, @mrutkows?

Build a Community of Developers around your Service
Apache OpenWhisk provides an open framework for serverless application developers to integrate event sources and data services from anywhere on the Internet. By integrating your services as an OpenWhisk package, you'll gain access to a community of developers building the next generation of cloud native applications.
Unlock unlimited third-party integrations.
Staying up-to-date with third-party integrations can be expensive and time-consuming. By adding your service as an Apache OpenWhisk package, developers can integrate your service with anything, with no time or investment from your team. Simply create a package for your service and unleash the creativity of your users!
Join a Growing Ecosystem of Service Integrators
When you build a package for Apache OpenWhisk, you join an emerging community of package integrations. Does your package work with GitHub? Or Slack? Or can it drive IBM Bluemix Watson cognitive functions? Find out more about the existing packages and their features that OpenWhisk developers are using today.

Assuming we go with this idea, I was creating this visuals.


Split OpenCV ArUco dependency

Do you know why it says "ArUco samples have been disabled" in CI for 20.04? Shouldn't they be enabled there? https://dev.azure.com/zivid-devops/zivid-cpp-samples/_build/results?buildId=6729&view=logs&j=c9a1f651-a109-592e-4363-9aac468edbba&t=9c3dffcf-480e-5a3f-69e4-a3d27b4217c6&l=8543

This commit enables configuring samples that require only core OpenCV, while not configuring those that require OpenCV with extra samples.

I assume you mean "extra modules" here, not "extra samples"?

I suggest squashing the commit called "Fix incorrect dependency for TransformPointCloudViaArucoMarker" into the one called "Split dependency for samples that require OpenCV with extra modules". The "Split dependency" commit currently introduces a dependency on the aruco module from OpenCV without documenting it until the next commit.

Discussing the commit message about the disabled warnings offline. Review done.

Do you know why it says "ArUco samples have been disabled" in CI for 20.04? Shouldn't they be enabled there? https://dev.azure.com/zivid-devops/zivid-cpp-samples/_build/results?buildId=6729&view=logs&j=c9a1f651-a109-592e-4363-9aac468edbba&t=9c3dffcf-480e-5a3f-69e4-a3d27b4217c6&l=8543

Becuase USE_ARUCO is OFF by default and then this happens:
https://github.com/zivid/zivid-cpp-samples/blob/44c55a6492bd9c1bf359b60568dc21765772822a/source/CMakeLists.txt#L63-L64

This commit enables configuring samples that require only core OpenCV, while not configuring those that require OpenCV with extra samples.

I assume you mean "extra modules" here, not "extra samples"?

Fixed it locally. Will not push yet.

Do you know why it says "ArUco samples have been disabled" in CI for 20.04? Shouldn't they be enabled there? https://dev.azure.com/zivid-devops/zivid-cpp-samples/_build/results?buildId=6729&view=logs&j=c9a1f651-a109-592e-4363-9aac468edbba&t=9c3dffcf-480e-5a3f-69e4-a3d27b4217c6&l=8543

Becuase USE_ARUCO is OFF by default and then this happens:
https://github.com/zivid/zivid-cpp-samples/blob/44c55a6492bd9c1bf359b60568dc21765772822a/source/CMakeLists.txt#L63-L64

Yes, but build.sh sets aruco to on for Ubuntu 20.04, right? So they shouldn't get disabled on that OS in CI?

Do you know why it says "ArUco samples have been disabled" in CI for 20.04? Shouldn't they be enabled there? https://dev.azure.com/zivid-devops/zivid-cpp-samples/_build/results?buildId=6729&view=logs&j=c9a1f651-a109-592e-4363-9aac468edbba&t=9c3dffcf-480e-5a3f-69e4-a3d27b4217c6&l=8543

Becuase USE_ARUCO is OFF by default and then this happens:
https://github.com/zivid/zivid-cpp-samples/blob/44c55a6492bd9c1bf359b60568dc21765772822a/source/CMakeLists.txt#L63-L64

Yes, but build.sh sets aruco to on for Ubuntu 20.04, right? So they shouldn't get disabled on that OS in CI?

This (how CI works) is beyond my knowledge, unfortunatelly.

Ready for the next round @knatten

This (how CI works) is beyond my knowledge, unfortunatelly.

I'll investigate.

This (how CI works) is beyond my knowledge, unfortunatelly.

I'll investigate.

It's from linting. Aruco samples get disabled by default, and linting doesn't explicitly enable or disable and samples. So currently we aren't linting Aruco samples. I'll push a commit that fixes it.

This (how CI works) is beyond my knowledge, unfortunatelly.

I'll investigate.

It's from linting. Aruco samples get disabled by default, and linting doesn't explicitly enable or disable and samples. So currently we aren't linting Aruco samples. I'll push a commit that fixes it.

I pushed a fixup for your initial commit on this branch now. Also took the liberty to sneak in another tiny commit which slightly improves the linter output, I hope you agree with it?

This (how CI works) is beyond my knowledge, unfortunatelly.

I'll investigate.

It's from linting. Aruco samples get disabled by default, and linting doesn't explicitly enable or disable and samples. So currently we aren't linting Aruco samples. I'll push a commit that fixes it.

I pushed a fixup for your initial commit on this branch now. Also took the liberty to sneak in another tiny commit which slightly improves the linter output, I hope you agree with it?

squashed

Discussing the commit message about the disabled warnings offline. Review done.

I found out what commits introduced the warnings and I added that to the commit message that ignores them.


Creating a new model on a tenant with resource syncing can cause a duplicate entry error

I'm using resource syncing on my User model and when creating a new User from a tenant it will sometimes throw the following error SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2' for key 'central_users.PRIMARY' (SQL: insert into 'central_users' ('name', 'email', 'password', 'global_id', 'id') values (test<EMAIL_ADDRESS>asdasdasd, ee2bab73-708e-486b-b715-91909b0c0b5c, 2))
Because I use a regular incrementing id and not the global_id as the primary key for the User and CentralUser databases, Tenancy also tries to sync the primary key when creating a new Central instance from a new tenant model.
The following code causes the problem, because it tries to sync all model attributes regardless of the columns put into User::getSyncedAttributeNames(): https://github.com/archtechx/tenancy/blob/3.x/src/Listeners/UpdateSyncedResource.php#L61-L63.
Your setup

Laravel version: 8.59
stancl/tenancy version: 3.4.4

Isn't there an issue already open for this?

I couldn't find an issue or PR. There have been multiple reports of this bug on the Discord though, but none with a fix/solution

Maybe #658 is similar? Just want to keep things tidy for when I get to working on the v4

Ah yes, different error but the same issue. The current code forces the SyncMaster to have all columns that the Syncable model has as well, which causes a problem when using tenant-specific columns as well as when using a non-uuid primary key. Feel free to close this issue if you want to keep everything in #658

Cool, I'll see that this was mentioned so I'll read both issues when fixing this. Thanks!


Request for Plugin Support: Economy Sync on Folia

Hey there, have you considered adding support for Economy?
Currently, there's no plugin on Folia that can synchronize with Economy, and this is causing me quite a headache...

Hello there,
so we are currently working on the 1.5 update, which will also contain support for all Vault related economys, als well as a custom economy bridge, which may be released at a later date.
~ Leo

I'm happy to hear that you're considering doing this!
Is there sponsorship available? I'd like to treat you to coffee!


User search for leaderboard

The new API supports a user id in the page query parameter of /api/lbpage, which can be used to find a user's entry, even if it's on the 500th page or something. To use it, just prepend the id with the letter i and pass it as the page parameter (example: http://localhost:8146/api/lbpage?page=i123456789098766).
This can be used to create a "user finder" for the leaderboard, which comes with following challenges:

[ ] Create a search bar to accept user ids.
[ ] Let's say we have page 1 and 2 loaded already and the user searches for an id which is on the 8th page. We have to jump there of course, but now there is a gap between page 2 and 8, how do we fill that out? (loading every missing page is a bad idea, what if we jump to the 1500th page?)
[ ] (API) User IDs are very confusing, the client should accept usernames which the API converts internally.

Since users are fetched before running, it should be fine to use client.users.cache.find((user) => user.username === username))?.id to convert usernames to user ids. Here is a screenshot of the API converting a username properly:


Rename helloWorld.json to basicHelloWorld.json

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Auto-restore checkpoint on startup

On the taker side we have a race
[2022-12-05T12:26:29Z WARN  farcaster_node::farcasterd::trade_state_machine] failed to reconnect to peer on restore: Farcaster node errors: Peer keys not ready yet

The last set of patches works locally for the taker side, the swaps are correctly auto-restored on node start-up. I re-enabled the feature in tests to see if we break them, but we could just disable it for now to move forward.

Nice work,
ACK 559cb75


add mixture ensembles

I think it makes a nice addition for the "full" version but it makes an already quite complicated session even more complicated. Perhaps something we want to cut again when thinking about this for a 60 minute session.

Yes, and I don't really understand it. Am investigating on the side as not a priority for now.

I had a look and I don't either unless it's something super obvious like a misnamed model being imported by restan which seems unlikely

Turned out this fixed it. Not sure how this ended up in Rbuildignore.
https://github.com/epiforecasts/stackr/commit/1853faf5a27df948706b229bb358f9ea268c7d24

I'm on my phone so can't resolve merge issues but otherwise this looks good


6 the Protocol does not work random skins  nickname

Hello
Faced with the problem. If you simply write  without a nickname, the skins are working, but if you write  with a nickname, the skins do not work and only displays their name in the game, and in the top of my screen name. How to fix the problem?

@Megabyte918 @MastaCoder Client-sided.

@TopoR1 The client you are using is broken which needs to be updated

Client sided, please actually report something to do with the project
@Megabyte918 @MastaCoder @FantasyIsBae close.

@fayizan and how to fix it?

@TopoR1 probs your regular expression that find the skin string


[Dependencies] Update ws package versions to include 8.17.1, 7.5.10, and 6.2.3

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR updates the ws package to versions 6.2.3, 7.5.10, and adds 8.17.1 to meet compatibility requirements and enhance security.
Detailed summary

Updated ws package to versions 6.2.3, 7.5.10, and 8.17.1
Added new version constraints for ws in package.json and pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#3374  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


New version: valinet.ExplorerPatcher.Prerelease version 22000.376.40.14

Installation timed out.
Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 1094
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


docs: recipe for nextjs

Description
Fixes #688
This PR added an example for working with Next.js
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Documentation or Website

This PR includes functional updates but the title starts with docs:, which will be misleading after merge.

This PR includes functional updates but the title starts with docs:, which will be misleading after merge.

I've separated the codecov upgrade and dropped fs support for xpub store into other PRs


(vscode.install) Make package able to associate with supported files

Description

Make vscode.install able to associate with supported files
Motivation and Context

Current package doesn't support associating with supported files
How Has this Been Tested?
Not tested
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[x] My change requires a change to documentation (this usually means the notes in the description of a package).
[x] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review


[feature] add view_saved_model.py

add view_saved_model.py

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


Unable to install component

I have HA's core integration installed and working, but whenever I try to install Plex Assistant I get the error "Config  flow could not be loaded"  My logs when the error occurs are as below. Plex Assistant was installed through HACS.
Logger: aiohttp.server
Source: requirements.py:196
First occurred: 10:15:33 AM (1 occurrences)
Last logged: 10:15:33 AM

Error handling request
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 220, in forwarded_middleware
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/usr/lib/python3.9/site-packages/homeassistant/components/config/config_entries.py", line 130, in post
    return await super().post(request)
  File "/usr/lib/python3.9/site-packages/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
  File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 203, in async_init
    flow, result = await task
  File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 221, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/lib/python3.9/site-packages/homeassistant/config_entries.py", line 715, in async_create_flow
    await async_process_deps_reqs(self.hass, self._hass_config, integration)
  File "/usr/lib/python3.9/site-packages/homeassistant/setup.py", line 353, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 85, in async_get_integration_with_requirements
    await _async_process_integration(hass, integration, done)
  File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 101, in _async_process_integration
    await async_process_requirements(
  File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 164, in async_process_requirements
    await _async_process_requirements(
  File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 196, in _async_process_requirements
    raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for plex_assistant not found: ['rapidfuzz==1.1.1'].

Same issue as #142 .  Problem has been solved now.


Combine three bundle build tasks into one

Seems that scheduling Task pods often runs into issues, most likely the inability to mount persistent volumes caused by "volume node affinity conflict". To minimize this issue three separate bundle build Tasks are now combined into a single Tasks as three Steps instead.
Reference: https://issues.redhat.com/browse/EC-705

The diff is not easy to review by eye, but I like the concept. If this can solve or even reduce the frequency of the intermittent failures described in EC-705 that would be fantastic.

Thanks for the review, I'll start the merge now and watch out for any issues.

Found an issue:
cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory

I'll do a followup PR with the fix


AOT Build support

Make ng serve --aot work in runtime without error!

Something related to this issue https://github.com/angular/angular-cli/issues/2452


docs: Updated JS libraries links

Updated all the links I could find that linked to a nonexistent page about JS libraries supported.

Hey @UBG100 , thanks for raising the PR; we will review them shortly. Please note that this will not be considered for Hacktoberfest. To contribute towards Hacktoberfest, please refer to this issue: #244


choosing the language displayed

How can I choose the language displayed?
I mainly serve english speaking people in Asia so they are forced to see chinese characters, is there any url or way for me to set the language people see.
In the worst case I would rather leave everything in english until there is a good solution
Thanks

Hi, currently there is no possibility to dynamically switch the storefront's language. But as far as I know, @Pacu2 was about to start working on this feature, so I think we can keep this issue open.

I just wanted a quick fix until it is part of it, I believe I can just turn it off and do all english with:
Saleor/core/middleware:
language = 'en-us'
and
Saleor/checkout/core:
'language_code': 'en-us',

This may work, but the proper way to force one language would be rather through saleor/settings.py. As Saleor is written entirely in English, you could simply disable the Django translations by setting:
USE_I18N = False

This will force the default English language.

...or you could use the mechanism provided by Django which I believe should still work fine.

Or the set_language view apparently.


[MEDIA] simplify package repos code

fixes "media" disallowed in media repository path

Working on windows and linux, merge


@types/yup dev dependency

Question about GraphQL Shield
Is it a mistake that @types/yup is listed as a dependencies and not a devDependencies? If not, why do you need it as a dependency? Thank you!

[x] I have checked other questions and found none that matches mine.

Hey! It's not a mistake because it is exposed to other users. Perhaps it'd be better if it were a peer dependency though, but I don't think it changes much because we expose the constructor from shield.

It is a problem for us because it causes weird errors in our yarn workspaces if we don't have the same version. I think a peer dependency would be good.

@Sytten I get it that you might need to use another version of Yup for other things besides graphql-shield. It seems to me, however, that following this approach, we could make all dependencies peer-dependencies which doesn't feel right.
Following the article in https://nodejs.org/en/blog/npm/peer-dependencies/, I don't think yup qualifies as a peer-dependency per se. shield is not a plugin to yup, we use yup internally. I don't think you ought to import any yup method from yup itself and instead only use the one shield exposes.
From my point of view, we either move both yup and @types/yup to peer-dependencies or keep them as they are. The idea behind this is that if types mismatch in your version and the one shield uses, you'd have to tell ts-compiler to skip types lib-check, which seems even worse.
Maybe I am missing something, what do you think?

I agree that both libs should move to the peer if it is decided to move them there. It is similar to packages that depend on express because in the end it's the yup version of the user that is provided to graphql-shield in the form of rules and it is not just something used internally.
That change should come with some documentation too for existing user. I am not sure if this is a breaking change, but I would but major personally because it could break the workflow of people.

We were able to resolve our mismatch issue with @types/yup.

We were able to resolve our mismatch issue with @types/yup.

How did you resolve it? Is this still relevant then?

We did a refresh of our lockfile so most likely graphql-shield picked up the new version of types since the version is not pinned but uses ^.


update aggregation function docs for aggregate and groupbytags

there is probably a bunch of other places where the same update needs to happen.
actually, probably better to just document them all in 1 place and then link to them.
but i'm not sure how to best do that

Codecov Report

Merging #2451 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2451   +/-   ##
=======================================
  Coverage   80.01%   80.01%
=======================================
  Files          85       85
  Lines        8933     8933
  Branches     1914     1914
=======================================
  Hits         7148     7148
  Misses       1511     1511
  Partials      274      274

Impacted Files
Coverage Δ

webapp/graphite/render/functions.py
96.13% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe1f0d1...40a9fb8. Read the comment docs.


Outdated cask: vagrant-manager

Outdated cask: vagrant-manager.
Info:

version: 2.5.4.
appcast url: https://github.com/lanayotech/vagrant-manager/releases.atom.

Please do not run find_outdated_appcasts unless you are a maintainer.


[Diagnostics] Cleanup and fix for incorrect 'type(of:)' suggestion on initializer

Remove dead code: All the correct instances of these diagnostics are now handled by AllowTypeOrInstanceMemberFailure, leaving only incorrect handling for init's with inout args, because the arg contains a LoadExpr.
Resolves SR-10670.

@swift-ci Please smoke test.


Update postgres-permissions.md

What are you changing in this pull request and why?

The example permission grants on the Postgres Permissions page are not valid syntax for Postgres. This change amends the relevant SQL statements to allow a user to get started with a minimal set of permissions when running dbt in a Postgres database.
Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):

[ ] Add/remove page in website/sidebars.js
[ ] Provide a unique filename for new pages
[ ] Add an entry for deleted pages in website/vercel.json
[ ] Run link testing locally with npm run build to update the links that point to deleted pages

thanks for opening this up @s0phr0syn3 - great contribution! and thank you for approving @amychen1776 !


Update adding-a-blog.md

THIS IS A GATSBY STARTER TEMPLATE REPOSITORY
Pull requests to this repo will not be accepted. If you would like to contribute, please open a PR in the source repository:
https://github.com/gatsbyjs/homepage-starters

extra step


avm install latest #avm #cli

time-0.3.29
error[E0282]: type annotations needed for Box<_>
|
83 |     let items = format_items
|         ^^^^^
...
86 |     Ok(items.into())
|              ---- type must be known at this point
|
help: consider giving items an explicit type, where the placeholders _ are specified
|
83 |     let items: Box<_> = format_items
|              ++++++++
For more information about this error, try rustc --explain E0282.
error: could not compile time (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile anchor-cli v0.30.0 (https://github.com/coral-xyz/anchor?tag=v0.30.0#852fcc77), intermediate artifacts can be found at /tmp/cargo-installEa5d5m.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
Error: Failed to install 0.30.0, is it a valid version?

Please see the answer in https://github.com/coral-xyz/anchor/issues/3126#issuecomment-2254245326

@jonathanwork after racking my head i found a way to get it working
after running cargo install --git https://github.com/coral-xyz/anchor avm --locked --force,
go to ../time-0.3.29/src/format_description/parse/mod.rs file (get the path from compilation error)
and in line 83, update
let items = format_items
to
let items: Box<[format_item::Item]> = format_items
save the file and run
avm install latest
followed by
avm use latest
and check with
anchor --version
if it shows anchor version, we gucci
anchor-cli 0.30.1
hope this helps

IM GUCCI

Can a PR be raised with this fix??

None of the fixes were working for me except this one. Thank you sir, very well done

It works. Thank you, buddy.

It works!
Thanks

thanks it's working fine for me

@jonathanwork after racking my head i found a way to get it working
after running cargo install --git https://github.com/coral-xyz/anchor avm --locked --force, go to ../time-0.3.29/src/format_description/parse/mod.rs file (get the path from compilation error)
and in line 83, update
let items = format_items
to
let items: Box<[format_item::Item]> = format_items
save the file and run
avm install latest
followed by
avm use latest
and check with
anchor --version
if it shows anchor version, we gucci
anchor-cli 0.30.1
hope this helps

I tried doing this but then got another error
error: the `-Z unstable-options` flag must also be passed to enable the flag `check-cfg`

error: could not compile `dashmap` (lib)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `anchor-cli v0.30.1 (https://github.com/coral-xyz/anchor?tag=v0.30.1#e6d7dafe)`, intermediate artifacts can be found at `/tmp/cargo-installPlwick`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Error: Failed to install 0.30.1, is it a valid version?

any help with this?

go to file with the path as given in terminal
this might look like

../time-0.3.29/src/format_description/parse/mod.rs file (get the path from compilation error)
/home/${USER}/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/src/format_description/parse/mod.rs:83:9

replace method parse_owned with following

pub fn parse_owned<const VERSION: usize>(
    s: &str,
) -> Result<crate::format_description::OwnedFormatItem, crate::error::InvalidFormatDescription> {
    validate_version!(VERSION);
    let mut lexed = lexer::lex::<VERSION>(s.as_bytes());
    let ast = ast::parse::<_, VERSION>(&mut lexed);
    let format_items = format_item::parse(ast);

    let items: Vec<crate::format_description::OwnedFormatItem> = format_items
        .map(|res| res.map(Into::into))
        .collect::<Result<_, _>>()?;

    // If there's only one item, return it directly
    if items.len() == 1 {
        Ok(items.into_iter().next().unwrap())
    } else {
        // If there are multiple items, create a compound item
        Ok(crate::format_description::OwnedFormatItem::Compound(items.into_boxed_slice()))
    }
}

Thanks.


Symbolic links to _esy disturb build.

E.g.
ls -l examples/DeadCodePPX.exe
lrwxr-xr-x  1 cristianoc<PHONE_NUMBER>  57 May  4 07:59 examples/DeadCodePPX.exe -> ../_esy/default/build/install/default/bin/DeadCodePPX.exe

These changes should work around it, but this is a really dirty workaround and I think there is a better workaround.
https://github.com/imbsky/reanalyze/tree/avoid-dune-error

By the way, changing the public name is not required, but if you installed reanalyze with opam, you will have to type reanalyze.exe at the command line.

PR is here: https://github.com/cristianoc/reanalyze/pulls

Relevant: https://github.com/cristianoc/reanalyze/pull/48


Wrong GSSoC label.

You have added wrong GSSoC label.

The label should be gssoc-ext. And add a level(number) label to be more specific about a task. It has only 3 level.
All letters as in small case.
There should not be any space in between!!!

@mansiruhil13
#203 #196 (These are just examples) You have added wrong labels for lot of issues!

You have added wrong GSSoC label.

The label should be gssoc-ext. And add a level(number) label to be more specific about a task. It has only 3 level.
All letters as in small case.
There should not be any space in between!!!

@mansiruhil13
#203 #196 (These are just examples) You have added wrong labels for lot of issues!

ok, i am beginner, i have changed now. thankyou.


SharpIconOverlayHandler does not seem to work on windows10

Hi,
I've tried implementing the SharpIconOverlayHandler but the icon overlay does not appear.
I've tried using both sample projects provided - and they don't seem to work either.
Tried on 2 machines, both with a build made in VS2012 and 2015
Any ideas would be greatly appreciated, and please let me know if there is any additional info I can provide to resolve this.

The version of .Net you compiled against must be on the computer. Windows 10 does work.
--
Nick Berardi
(484) 302-0125
Sent on the go from my phone.

On Aug 2, 2016, at 7:29 AM, Otixa<EMAIL_ADDRESS>wrote:
Hi,
I've tried implementing the SharpIconOverlayHandler but the icon overlay does not appear.
I've tried using both sample projects provided - and they don't seem to work either.
Tried on 2 machines, both with a build made in VS2012 and 2015
Any ideas would be greatly appreciated, and please let me know if there is any additional info I can provide to resolve this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I definitely have it installed.  I've tried building with 4.5, 4.5.2 and 4.6.1 with the same result.

Hey @Otixa,
Since you are using Win10 check out the following
Windows does not support endless IconOverlays. Often OneDrive, for instance, reserves them and blocks them for other programs. I think there are max 10 possible. Maybe your system is already full?
Greetings

There is a Max of 15
--
Nick Berardi
(484) 302-0125
Sent on the go from my phone.

On Aug 3, 2016, at 1:12 PM, Countryen<EMAIL_ADDRESS>wrote:
Hey @Otixa,
Since you are using Win10 check out the following
Windows does not support endless IconOverlays. Often OneDrive, for instance, reserves them and blocks them for other programs. I think there are max 10 possible. Maybe your system is already full?
Greetings
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@Countryen Thanks, that was indeed the case. Tortoise Git and Dropbox were registering 18 of them. I registered my overlay prefixed with 3 spaces and it works!
Thanks all for the help.

Hey @Otixa,
That's great! Please remember to close the issue.
Sharpshell should add this to the documentation, though.


Bump dependencies

In this PR I:

bump dependencies, most notably PyArrow in Lambda,
assure compatibility with pyarrow>=14.0.0 for users by tweaking the partitioning filter to use a bigger int size (using the minimal sizes cast the result to the lower size, causing overflow error) in read_parquet_functions.py,
fix a bug in read_parquet_functions.py that did not properly enforce timezone has been fixed. The corresponding logic can now be removed from MATS Utilities,
implement minor code style fixes.

Note that versions 12.x.x and 13.x.x of PyArrow have a bug in how timestamps are implemented and cannot be used with our dataset. These versions cannot and will not be supported!
Note also that staying on 10.x.x or using 11.x.x works fine – there is no immediate need for users to upgrade, but if they do upgrade, they must use pyarrow>=14.0.0 (latest is pyarrow==15.0.0).
Resolves #149

Great that this is fixed. Is there a reason why it is not merged?

Great that this is fixed. Is there a reason why it is not merged?

I want to have approval from someone in the project, not just from my boss, before merging. :)

Now you have the approval! :)


Use monaco worker from cdn

This removes the local worker for the monaco editor.
It also includes a commented line that fixes a bug in the OpenApiUtil.

Will this result in a request to a third party domain? Or am I misunderstanding things?

Okay, I would strongly argue against third party dependencies.


PAC4J issue #256

The maximum authentication lifetime passed to the constructor is only
used if it is positive. Otherwise, the default value is used instead.
This avoids situations where zero is used for the lifetime instead of
the default value because a SAML Client Configuration object has no
explicit value set.

Thanks


Identity verification modal

Add verify identity flow into modal component
Removed old related screens, components and files.
📹 result screencast
https://user-images.githubusercontent.com/102026658/190640381-518d03be-cdae-4fa8-82b3-d5e89a492122.mov

@denis-ottofeller What am I doing wrong? Seems like something working not as expected.
https://user-images.githubusercontent.com/89008845/190643909-9dd2903c-8dcc-464e-9636-edefedcdaf06.mp4


remove onViewLayoutCalculated immediately when closing

My app was running into race conditions where the modal would stay visible even when isOpen was false, because isAnimateOpen was still true.  My app is over-rendering and needs optimizing, which probably makes this bug appear for me much more easily.
I think I've tracked it down to the onViewLayoutCalculated function which gets added during open but never gets removed on close.  My guess on what can happen is close() is called, but then a layout pass occurs resulting in onViewLayoutCalculated() getting called again, which calls animateOpen(), and that mutates some of the state.  By immediately removing the onViewLayoutCalculated function I'm guessing that can be avoided, and it seems to work for me so far.

Hmmm makes sense..
Let me know if it causes some undesired effects, I'm going to merge the PR


Simple Dialer does not interrupt a link

Possibly related to https://github.com/McJty/RFTools/issues/1262
Forge <IP_ADDRESS>5
RFTools 1.12-7.15
mcjtylib <IP_ADDRESS>.0
Simple Dialer will establish a link when given a redstone pulse, but subsequent pulses do not interrupt the link. According to the tooltip, it should do so.
Cheers

Hmm no. What part of the tooltip indicates that it does that ?

You can setup a different dialer dialed to nothing which can be used to interrupt a connection

The tooltip reads, "When this block gets a redstone signal it dials or interrupts a transmitter." To me, that implies it toggles the link state.
Since apparently that isn't the case, you might want to reword it as "When this block gets a redstone signal it dials a transmitter, overriding any existing link."
Personally though, I think toggling the state is a more intuitive way.

Well the tooltip is accurate. It dials or interrupts a transmitter depending on how the simple dialer is set up. That's really what it does. And it cannot be a toggle. That's not how this works

Fair enough. Thanks for the quick reply.


Fibonacci patch

This PR patches the bug from issue #72 and changes a few features. Most of them are related to the use of Fibonacci lattices, hence the name:

The precess tool was previously introduced mainly to provide a way to rotate shots such as 3D Cones and Seiffert spirals following the Fibonacci sphere lattice approximation  to provide a mostly uniform distribution of shots over the k-space sphere. However it was subtly wrong in the way polar angles were handled, as shown below with the clouds of points used to rotate single shots. It resulted in a greater density around the precession axis instead:
Previously wrong method:

New correct method:

The reason was simply that the kz coordinate was handled in a polar fashion rather than an axial fashion, as shown below. Now both options are available, and the precess tool is designed to provide a proper Fibonacci sphere distribution with its default arguments. The examples were also largely extended to better explain this tool.
Previously wrong method (polar partition):

New correct method (axial partition):

All rotation and prime number-related functions used in trajectories were moved to a new maths.py file. The Rv function that returns a rotation matrix based on two vectors using Rodrigues' rotation coefficients now handles properly co-linear cases, and a new function has been added to provide rotation matrices around arbitrary vectors (used in Seiffert spirals).
Functions are now provided in maths.py to generate Fibonacci square, circle and sphere lattices. Those are used to approximate analytically a uniform distribution of shot positions/orientations, typically over a sphere surface.
3D Cones trajectory is now based on initialize_2D_spiral (which extend considerably its customization), but also the conify tool, which solves the problem signaled in issue #72, and the fixed precess tool with proper Fibonacci sphere lattice.
Wave-CAIPI trajectory has a new "fibonacci" packing option based on Fibonacci circle lattice.
Seiffert spirals are more closely following the original paper, with spiral precessions based on their own axes using the newly fixed precess tool with proper Fibonacci sphere lattice, but also around their own axes to avoid azimuthal redundancy, following authors methodology.
FLORET trajectory initialization has been changed to better match the definition from its original paper and avoid confusion on its nature compared to similar trajectories also available (conic spirals/stack of cones, for example).

Awesome stuff ! I have made small suggestions, but overall this is good for me :)

Congrats @Daval-G for this awesome upgrade on handling 3D Cone trajectories!


metadata_cache: fix DiskCache.has_metric()

Before it would return True when a miss was being cached.


[Feature Request] Set the change type semi-automatically

Its annoying to keep setting the change type, could we have some kind of flag?
For example git commit --signoff --minor would be awesome.

I guess this is really a versionist issue rather than a VersionBot issue?
ISTR people discussing something similar before.... ah, found it: https://gitter.im/resin-io/versionist?at=587f8c0adcb66e4f767c0d3a

@josephroberts how would the --minor flag work? Would this require a git wrapper or extra .gitconfig option? I'd rather we leave dev tool changes as a last resort because many people are uncomfortable with the idea.
That said, I agree with your point, we've discussed in the past switching to a git commit convention similar to the rust/angular conventional, would it be more convenient if patch/minor/major changes were specified as part of the commit -m message?
@lurch , just as a side note, we're deprecating versionist (which will only be used as a library) and will focus on the processbot side, so this is the right place to discuss anything related to versioning/changelog/(and probably deployment) automation.

@lurch , just as a side note, we're deprecating versionist (which will only be used as a library)

Oh! Noted. Has anyone broken the news to @jviotti yet? ;-)

Haha, sounds good!


Sanne Sofie: Headless CMS, chapter 1

Learning Objectives

[x] 🥚 Understanding what a content management system is, and why people use it
[x] 🥚 Given an existing CMS installation fill in and publish a new piece of content
[x] 🥚 Perform a simple http call via postman to retrieve a piece of information.
[ ] 🐣 Extend and adapt an existing CMS configuration
[x] 🐣 Perform a http call with filtering via Postman
[x] 🐣 Perform a http call with "include" via Postman
[ ] 🐣 Perform a http POST call to create new data
[ ] 🐣 Perform a http PUT call to update existing data
[ ] 🐣 Configuring endpoint permissions (Authentication vs Authorization)
[ ] 🐥 Design a data model from scratch based on user requirements

Week 1

[ ] I have pushed my progress to my fork of exercises repo

Check-In
I Need Help With:
What went well?
What went less well?
Lessons Learned
Sunday Prep Work

@gelilaa
Week 2

[ ] I have pushed my progress to my fork of exercises repo

Check-In
I Need Help With: Need more understanding on this module, I am sure Sunday will give that
What went well? Study group was good this week
What went less well? Time Management
Lessons Learned Strapi is interesting looking forward to working with it more
Sunday Prep Work Watch the long Strapi video

@gelilaa
Week 3

[ ] I have pushed my progress to my fork of exercises repo

Check-In
I Need Help With: I understand...but could not implement all this on my own
What went well? Kenneth helped me with a problem and it made sense as soon as I saw how he solved it
What went less well? Time Management as usual... I think because I can only contribute on a small scale in the group project I tend to just listen, and maybe not understand completely
Lessons Learned I need to figure out what path to go...
Sunday Prep Work Watch Traversy React video


How can I request a microservice via zuul 2 ?

I want to use Zuul 2 in my project，and I have built project with Zuul2 + Eureka successful, but I don't know  Which url link should I type in the web browser, Can anyone help me ? Thanks !
Here my situation:

Eureka server
using tomcat (port 7080) deploy Eureka Server war archive.
microservice ,  name : billing
 using spring cloud + Eureka Client.
 provide REST service : name queryBill
 properties file :
    spring.application.name=billing
    server.port=9003
    eureka.client.serviceUrl.defaultZone=http://localhost:7080/eureka/v2/
microservice ,  name : provider-springmvc     (terrible name, just for example, simulate when not a spring cloud project using Eureka Client)
 using springmvc + Eureka Client.
 provide REST service :  name m
 properties file :
    eureka.name=provider-springmvc
    eureka.port=8004
    eureka.serviceUrl.default=http://localhost:7080/eureka/v2
zuul-sample (which I just modified some items in .properties file )
 using Zuul 2  + Eureka Client.
 properties file :
    eureka.name=zuul-2
    eureka.port=8099
    eureka.serviceUrl.default=http://localhost:7080/eureka/v2

(2. microservice ，3. microservice，4. zuul-sample )   all of them register to Eureka Server successfully , I can the "registration status: 204" , and they were show on the page of Eureka Server monitor .

If I request to 2. microservice directly , it work.
http://localhost:9003/queryBill
I want to request service via Zuul2 , But I don't know  Which url link should I type in the web browser.
http://localhost:8099/queryBill
http://localhost:8099/billing/queryBill
http://localhost:7001/queryBill
http://localhost:7001/billing/queryBill
all of them failed( Zuul2 netty server using 7001 port)
But
when I using Zuul 1,  it wok. (Zuul 1  and Zuul 2 both using Eureka 1, nothing with Eureka 2...)
project envirment:
  using spring cloud + Eureka Client
  properties file :
    spring.application.name=service-zuul
    server.port=8888
    eureka.client.serviceUrl.defaultZone=http://localhost:7080/eureka/v2
I can request service via Zuul1
http://localhost:8888/billing/queryBill

The "eureka.port=8099" in the 4.zuul-sample doesn't work, I found 8099 didn't active by netstat .
So the url should be
http://localhost:7001/queryBill
or
http://localhost:7001/billing/queryBill
But ,  web browser remind me "HTTP ERROR 502", and  IDEA remind me "Error choosing server for key null",
The key was set to null by BasicNettyOrigin line 121...
I know there is something wrong with setting of Ribbon, does the following setting right?

#api.ribbon.NIWSServerListClassName=com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
api.ribbon.NIWSServerListClassName=com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
#api.ribbon.DeploymentContextBasedVipAddresses:7001=api-test.netflix.net
api.ribbon.DeploymentContextBasedVipAddresses=${eureka.name}:${eureka.port}

After I debug, I found it's not "key"'s business.
when we use Eureka as  service register center ,  Ribbon will use Eureka Client get services information from Eureka Server, and do the load balance.
SessionContext will store the service instance name, we have change something to help  Ribbon get right services.

application.properties
api.ribbon.DeploymentContextBasedVipAddresses=billing
2.Routes.groovy
context.setRouteVIP("api")

and use the follow url
http://localhost:7001/queryBill

could u provide your demo？i don't know how to use zuul2 in my project....

could u provide your demo？i don't know how to use zuul2 in my project....  tks

After I debug, I found it's not "key"'s business.
when we use Eureka as service register center , Ribbon will use Eureka Client get services information from Eureka Server, and do the load balance.
SessionContext will store the service instance name, we have change something to help Ribbon get right services.

application.properties
api.ribbon.DeploymentContextBasedVipAddresses=billing
2.Routes.groovy
context.setRouteVIP("api")

and use the follow url
http://localhost:7001/queryBill

i need demo project integrated with eureka. please help me


Can we keep value as well for beta version?

Hi, having a valueListenable is great, but I manage my own state with another state management dep and I want to be consistent so I want to also have the value option as well.

You can sync valueListenable with any external state using a listener or by updating it at onChanged.
Adding both value and valueListenable will complicate things.

You can sync valueListenable with any external state using a listener or by updating it at onChanged. Adding both value and valueListenable will complicate things.

I see, that's understandable, I love dropdown2 and thanks for the swift reply 😁


Do not allow upgrade to a revision that might disable monitoring

https://github.com/rancher/rancher/issues/23795

@alena1108 this PR if for 2.3.3, I think can be merged in 2.3 for this release.


Cannot install typings package on Raspberry Pi 1 Model B (Raspbian Jessie)

Description
Every attempt to install typings package hangs after a while (NPM progress indicator stops). I tried to install it multiple times, but it freezes on step described in Actual behaviour (and then only Ctrl+C helps). I can install other NPM packages without problem.
Steps to Reproduce

Install Node.js
Execute: sudo npm install -g typings

Expected behavior:
Typings package is successfully installed
Actual behavior:
NPM hangs on step:
[               ...] \ extract:typescript: verb gentlyRm don't care about conte
Versions
NodeJS version: 6.5.0
NPM version: 3.10.3
TSC version: 1.8.10
Linux version (Raspbian): Linux 4.4.11+ armv6l

@DominikPalo Did you figure out the issue?

@blakeembrey I've reinstalled Raspbian/Node.js and now I can't reproduce the problem - typings package was installed correctly.


Add Azure Servicebus Source Kamelet

Currently blocked by https://github.com/apache/camel-quarkus/issues/3386

This should be working with camel-jbang and kamelets-catalog, so we could go ahead in 0.7.0


Button: add new transparentWhite color

Added color to match color='white' in IconButton.

Description

Links

JIRA: https://jira.pinadmin.com/browse/PDS-XXX
[TDD](paper doc link)
[Figma](link to figma file)

Checklist

[ ] Added Unit and Flow Tests
[ ] Added documentation + accessibility tests
[ ] Verified Accessibility: keyboard & screen reader interaction
[ ] Checked Dark Mode, Responsiveness, and Right-to-Left support
[ ] Checked Stakeholder feedback (ex. Gestalt designers)

I'm having trouble finding the example in the docs. Only a coupe notes for the example.

It'd be good if we could put these over an image since our guidance will be to use over images
We generally recommend the icon in the icon button be the dark gray rather than gray so we should show that here.

Thanks for getting this done so quickly!


bugfix: covering special case that happened on devnet

Purpose
We have a special case, when reward votes in period_data not verified.
Scenario:

Node was out of sync 2 block (blocks N and N+1)
node receive 2 sync blocks (blocks N and N+1)
meanwhile it also receive pbft block  N "normal" way not via syncing
then when it runs processPeriodData it will hit condition pbft_chain_->findPbftBlockInChain(pbft_block_hash) and that means that cert_votes structure (cert_votes for N == previous_block_cert_votes N+1) is not verified, so also not previous_block_cert_votes for block N+1

How does the solution address the problem

Changes made

prnet cleaned-up successfully


bug: Cannot scroll wit HJKL on MacOS 14.1

Check the following:

[X] I have checked the behavior after setting "vscode-neovim.neovimClean" in VSCode settings.
[X] I have read the vscode-neovim docs.
[X] I have searched existing issues.

Neovim version (nvim -v)
0.10.0
Operating system/version
MacOS 14.1
Describe the bug
Despite the docs clearly specifying On a Mac, the h, j, k and l movement keys may not repeat when held, to fix this open Terminal and execute the following command: defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false, press and hold is still enabled.
I followed this issue and this issue from VSCode Vim, which also suggested setting the global defaults write -g ApplePressAndHoldEnabled -bool false. Disabling this allows me to scroll in Neovim opened from the terminal, but not vscode-neovim.
Any suggestions on how else to disable this feature so I can scroll? Thanks!
Steps To Reproduce

Open file through VSCode (in vscode-neovim) - extension version 1.7.1
type a bunch of text
Try scrolling by holding h, j, k, or l

Expected Behavior
Expecting the cursor to scroll. Instead, it does not scroll and instead displays alternate characters.

Despite having closed and reopening everything after every change, this now works after submitting this issue. I'm not even sure what to say- but I'm closing this as it now works.


Timeout

Everytime i try to install any app i get error connection Timeout, i tried changing network. Reset my tv. Reset and reinstall Dev Manager and the developer app on the tv but couldn't get it work. Previously it worked everytime. Now probably caused by an update i can't no more install any apps.  The tv is correctly recognized and i can see all the files terminal info ecc.. I can't get installed apps and install any app on it using developer mode. I tried multiple roots method but none of them worked. I also tried using another pc but i get the same error.

Hi, what's the dev manager version you're using?


At the moment I am not aware of any cases where this would happen for other reasons than Kubernetes apiserver not being able to reach the webhook and am assuming that probably this is also the case with our tests


Bug Story Points not part of Velocity

The velocity widget does not include bug story points in my velocity calculation. Please advise.

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

ID: 1a948662-d534-bb71-a6b8-ce6d884b0ebb
Version Independent ID: f065bef6-017a-2615-3292-4ca5787f8458
Content: View and configure team velocity - Azure DevOps Services
Content Source: docs/report/dashboards/team-velocity.md
Product: devops
Technology: devops-analytics
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

Hi @jacobp-phaser - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please provide more context around the general task.
Also, we support the docs, not the product. If you need support, consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

If there are fixes for the article that grow out of your issue (as often happens), we'll look into updates.

@jacobp-phaser - I just checked my project to see if the velocity widget picks up Story Points for bugs. I found that it does. Both the Analytics in-context report for the backlog and the velocity widget reflects Story Points for bugs. Can you check:

Are you on Azure DevOps Services or an on-premises server? If on-prem, what version?
Does the team have Show Bugs on backlog set to Track bugs as Requirements?
Have Story Points been assigned to the Bugs?
Does the Analytics in-context report for your team reflect Story Points for bugs?
The velocity widget configuration should look similar to the following - which will pick up Stories and Bugs:

Let me know if this addresses your issue. If not, you may need to post your issue on our Developer Community page.


Include Native Log Record Attributes

We should be able to configure the logger to always include some default keys. For example, a user may want to always include a time or logger key.
This functionality is seen in the python-json-logger.

This functionality has been added by the latest 0.0.5 release.

Default Keys
You can request that the formatter always include certain attributes on the
log record by using the keys parameter. If the key you want to include in
your output is represented by a different attribute on the log record, then
you can use the mapping parameter to provide that key/attribute mapping.
Notice, the keys parameter defaults to ["at"] and will be overridden
by any provided keys.
import logging
from logfmter import Logfmter

formatter = Logfmter(keys=["at", "processName"])

handler = logging.StreamHandler()
handler.setFormatter(formatter)

logging.basicConfig(handlers=[handler])

logging.error("hello") # at=ERROR processName=MainProceess msg=hello

Utilizing a mapping to convert the processName attribute to process.
Notice, the mapping parameter defaults to {"at": "levelname"} and will be overridden
by any provided mapping.
import logging
from logfmter import Logfmter

formatter = Logfmter(
    keys=["at", "process"],
    mapping={"at": "levelname", "process": "processName"}
)

handler = logging.StreamHandler()
handler.setFormatter(formatter)

logging.basicConfig(handlers=[handler])

logging.error("hello") # at=ERROR process=MainProceess msg=hello

Date Formatting
If you request the asctime attribute (directly or through a mapping), then the date format
can be overridden through the datefmt parameter.
import logging
from logfmter import Logfmter

formatter = Logfmter(
    keys=["at", "when"],
    mapping={"at": "levelname", "when": "asctime"},
    datefmt="%Y-%m-%d"
)

handler = logging.StreamHandler()
handler.setFormatter(formatter)

logging.basicConfig(handlers=[handler])

logging.error("hello") # at=ERROR when=2022-04-20 msg=hello


fix: Remove unused rimraf from package.json

Coverage remained the same at 100.0% when pulling 8986660e871f8d6f2a5d142055da637dea92326d on fix/rimraf into 4dd36e2ee9f71655389e683e30a90d0da34f96ba on master.


write_loom() minor bug

Hi,
I just stumbled upon a minor bug in write_loom():
https://github.com/theislab/anndata/blob/106d347971827d6cd1cc620e7a969669801c350c/anndata/readwrite/write.py#L104-L108
is producing an error, as .keys() returns a KeysView object, where + is not defined (TypeError: unsupported operand type(s) for +: 'KeysView' and 'KeysView').
A very easy workaround would be to replace line 107 with:
f'{list(adata.obsm) + list(adata.varm)}\n'
Thanks.

VersionInfo: scanpy==1.4.4 anndata==0.6.22.post1

Thanks, but we should rather do adata.obsm.keys() | adata.varm.keys()

Is the bug fixed? I also just ran into this error.

yeah, on master

Hi! Any concise way to convert to loom avoiding this bug and without installing master version?
Thanks!


Requiring unknow module "rebound"

Hello,
In the tutorial, there are some examples with rebound.
But when i run, i had the Red Screen with :
Requiring unkno module "rebound"....
Any ideas ?
Thank you !!

I think you could try use
var {
rebound
} = React;

instead of
 var rebound = require('rebound');

I was having that issue with Dimensions as well.

Hi, thank you...
I have this now :
undefined is not an object (evaluating 'new rebound.SpringSystem') ....?
Is rebound is included with react-native because i can't find rebound.js in any directory ?

Rebound has been removed, it was used in the Animated API but was removed.

Ok thank you.
But in the eventuality i need to use this library, where can i find a tutorial to include an library like rebound ?
Thank you Browniefed !

Well, @dotMastaz  you can add rebound as a dependency (npm i rebound --save ). However, you should replace it with Animated library as @browniefed  said.

Thank you !!


Event segmentation

Can we alter event segmentation?

basecall with different event segmentation
use HMM with different event segmentation

can use PyPore and nanonet event detections


Handle Terraform show output: This plan does nothing

Handle terraform show tf.plan | landscape
Terraform Output:
This plan does nothing.

https://github.com/hashicorp/terraform/blob/master/command/format/plan.go#L174
We're using terraform show on a generated plan and sending the output through landscape.
The This plan does nothing message is the equivalent of the No changes message.

Thanks for the fix, @mikeflisher!


server driven gapu

depends on https://github.com/keybase/keybase/pull/4171

cc @patrickxb if you want to look - server filters out revoked devices, deleted users, reset users, and invalid combinations

I'm just going to merge this. Too many flakes


README changes

Minor adjustments to README for clarity. No behavioral changes.

Thanks for the interest!!
This is still a work in progress, any comment or input is welcome.

Of course. Watching with great interest and still trying to grok how requests map to queries.


go to definition doesn't work for certain module patterns

VSCode Version: 1.7.1
OS Version: windows 10

Steps to Reproduce:

Write a module in a certain way
Import the module and try to go to definition on a function.

Sample module A
exports.myFunction = function () {

};

Sample module B
var myModule =  {};
myModule.myFunction = function() {

};
exports = myModule;

//app code
var myModule = require('./myModule');
myModule.myFunction(); //go to definition doesn't work if you use sample module B, it works with module A

Full repo that reproduces issue https://github.com/barisusakli/vs-code-intellisense-test.
It seems like it only works if you set properties directly on exports.

+1.     I typically use:
module.exports = function(baseUrl){
  this.apiCall = function(url, cb) {
     let fullUrl = baseUrl + url;
  });

  return this;
}

'Go to definition' does not work when I require the file containing this function.

@bowdenk7 would you call this an expando pattern limitation?

Yes and no... the way we do commonJS module resolution is by looking explicitly for module.exports or exports and then resolving modules using those objects. When those objects are aliased, currently we don't do any analysis to find and use the aliases. Is there a reason you prefer this approach as opposed to using exports or module.exports?
The second case from @klinquist looks like a bug to me.

We have a lot of existing code that uses module B or a variation of it, we would have to rewrite all the code to directly set on exports.
Not sure how sublime text 3 handles this but it can understand all of the different module patterns, I am guessing it is just doing some kind of text search. I stumbled upon https://marketplace.visualstudio.com/items?itemName=jrieken.fuzzy-definitions but it doesn't works as well as ST3 go to definition.
The below also works btw,
var myModule =  {
   myFunction: function () {}
};
exports = myModule;

So an alias kind of works but the alias object has to be created as an object literal.

@klinquist can you open a separate issue in the TypeScript repo?

I use a similar module pattern in an application I'm working on, and the lack of IntelliSense for those has been an issue for me as well.
Mine follow this basic pattern:
module.exports = function(x, y, z) {
  var exports = {};
  exports.method = function() {
    // Something that might use x, y, or z
  };
  return exports;
}

Would it be possible to do something like include an option in the .jsconfig file to specify a property name or list of names to track when determining module exports?

Closing as a duplicate of https://github.com/Microsoft/TypeScript/issues/10868 on the TypeScript team.
We cannot fix this on the VSCode side, but are coordinating with the TypeScript team to prioritize IntelliSense for properties that are dynamically added to objects.

@mjbvz thanks for the update. I will keep an eye on the other issue.

It's very annoying, I'll hope that TypeScript team fix this quickly :)

@barisusakli Fuzzy Definitions made the trick for me, for now at least. Sadly it still doesn't work if I want to search a function definition from an HTML file. For example,
<button ng-click="myController.someFunction()">Bla bla</button> I'll get no results by trying to go to someFunction definition.
Is wierd for me that it only has 2514 downloads! It should have a lot more, it's the only thing that have worked for me and I tried a lot! Unless there is another better working extension that I don't know about... Is there?
Hope someone is working on this !
Thank you very much!


tests/test error handler

tests 99% of the error handler to ensure that all errors are handled properly and don't raise more errors.

Coverage increased (+4.1%) to 79.112% when pulling abce8a60da0765033a57b5a54ba3b13f12001f21 on tests/test-error-handler into 10a64686539acbbf2a1548334c52e0e218f1cdb4 on main.


Would like to use a custom JSON payload in PingPongManager

I would like to be able to use a custom payload in the PingPongManager. For example, the ping-pong protocol for Slack involves sending the following payload:
{
    "id": 1234,
    "type": "ping",
    "time":<PHONE_NUMBER>342
}

and getting back the following:
{
    "reply_to": 1234,
    "type": "pong",
    "time":<PHONE_NUMBER>342
}

I believe I need to be able to set the payload that gets sent in the private async Task PingForever() method, but current cannot see how to do that.
EDIT: A bit more investigation of the code reveals that the Slack ping-pong is not the same as the standard websockets ping-pong, in that it is actually a message exchange of the JSON above, so it looks like I am going to have to write it myself, based off of your excellent netstandard 2.0 library :-)

Rolled my own Pinger class based on your code, and it works great. Many thanks for this library, it made all the difference in my project! I am closing this issue, as it is not relevant to the work you are doing.

Great, I'm glad you found a way to do that! I wasn't quite sure how to expose ping and pongs cleanly since they left it out of the WebSocket abstract class entirely. It's a little cumbersome at the moment, maybe I should add more examples!


Adding Courses from every Org

Is your feature request related to a problem? Please describe.
Currently, “we” only allow adding courses for various selected orgs (CIT, Management, ED) via this interface:

The reason we don't allow any org is that this may become confusing and irrelevant search entries may become more prevalent.
Describe the solution you'd like
I would like to either

give the search engine more signals to sort on
(number of participants, does its main lecture hall have RBG hardware installed)
calculate a "likelyhood this lecture has livestreaming enabled" based on historical data and similar-lectures and add this to the signals to sort on
just allow any org and accept the downside

Describe alternatives you've considered
Not doing anything or manually filtering.
Both don't scale quite how we want imo, but can be viable alternatives.
Additional context
Should imo be classified as low priority.
This came up because I wanted to suggest one of my BWL Profs to stream his lecture from MW2001 😉
We have patched this by adding Management to the allowlist. One of the courses in the WZW which is currently excluded is https://campus.tum.de/tumonline/WBMODHB.wbShowMHBReadOnly?pKnotenNr=1546258&pOrgNr=15671

Importing all courses and weighing them based on the lecture hall and possibly number of participants seems like a good fit here. This would however significantly increase the load of the course import Cron job as we need to load the calendar and enrollments of every course in existence. (Daily?) 🙈

I can now add such coureses


Create /admin/users/add using raw Twitter Bootstrap

 Issue by chriskacerguis
Tuesday Mar 03, 2015 at 14:36 GMT
Originally opened as https://github.com/projectjellyfish/ux/issues/239

Please put in https://github.com/projectjellyfish/ux-refresh

no longer valid.  closing.


regenerate website

for example https://github.com/piebro/openstreetmap-statistics/pull/17/files has no effects on what is shown on https://piebro.github.io/openstreetmap-statistics/#52ed

I just pushed an data update with all the changes in them


Variables Delay Suddenly

I have been using this plugin for a long time without issue. I have a button that checks the variable to see if it is playing or not and changes the color to green or red.
Always worked fine. However, a couple of weeks ago it started taking 3-5 seconds for this variable update to reflect on the button. The button only has "Play/Stop Spotify" and then the Feedback to look at the playing variable.
The play/stop works instantly it's just the updating of the button which takes about 3-5 seconds.
Any idea? Nothing changed, no updates or anything it just started suddenly.
Using v3.0.0 - want to try to update as maybe something changed somewhere but things usually break when we upgrade so we typically do not upgrade.

I think I've figured this out.
It was trying to parse the responses to requests, and failing (logging an error) resulting in it skipping the extra poll performed immediately after making the change.
Should be fixed now, both the error, and it will always do the poll even if it does error


pep8 style checking

Since we use Python, let's add pep8 to the build, to make sure all our .py files have the same style.

@AlexPotyomkin please, take care of this

@yegor256 added pycodestyle (formerly called pep8) to the build. Also updated .py files.