Reorganize sidebar channel items via pref

Summary
Allows the sidebar to be reorganized according to the new sidebar prefs and selectors.
Screenshots
Grouped

Grouped without unreads at top

Grouped without favorites at top

Grouped without favorites or unreads at top

Not grouped sorted alphabetically

Not grouped sorted recently

Not grouped creation modal

@jarredwitt I haven’t look at the code juat yet, but can you confirm this is backwards compatible with old servers that won’t have the preferences for this, right? How does it look?

Oh and what about the filtered list?

Did a quick pass on the code and it looked good, but I'm going to spend some time actually understanding the data model here and underlying changes to more fully appreciate everything.

@jarredwitt this PR needs rebase

@enahum discussed with Link on our side and he thinks that it does, have a ticket to get those changes in.

On Jul 31, 2018, at 6:45 AM, Elias Nahum<EMAIL_ADDRESS>wrote:
@enahum requested changes on this pull request.
Also my biggest question is: Does the filtered sidebar (jump to conversation) needs this changes?
In app/components/sidebars/main/channels_list/list/index.js:

} from 'mattermost-redux/selectors/entities/channels';
import {getCurrentUserId, getCurrentUserRoles} from 'mattermost-redux/selectors/entities/users';
import {getCurrentTeamId} from 'mattermost-redux/selectors/entities/teams';
import {getTheme, getFavoritesPreferences} from 'mattermost-redux/selectors/entities/preferences';
+import {getSidebarPreferences} from 'mattermost-redux/selectors/entities/sidebar';
is sidebar an entity? this should have been done in the preferences entity instead.

I've created a ticket here to fix it https://mattermost.atlassian.net/browse/MM-11531
In app/components/sidebars/main/channels_list/list/index.js:

import List from './list';

+const filterZeroUnreads = createSelector(
can this selector be moved to app/selectors/sidebar or something and not just place it here
In app/components/sidebars/main/channels_list/list/index.js:

 const isAdmin = checkIsAdmin(roles);

 const isSystemAdmin = checkIsSystemAdmin(roles);

const sidebarPrefs = getSidebarPreferences(state);
const lastUnreadChannel = state.views.channel.keepChannelIdAsUnread;
const unreadChannelIds = getSortedUnreadChannelIds(state, lastUnreadChannel);
In the webapp makes sense cause the sidebar is always visible and we want to prevent the jump around of the channel where the user can get lost, but why do we want to keep the last unread channel here? the sidebar on mobile will always close so the jump is never visible.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jarredwitt do you have an ETA? we would really want to have this merged today :P

@enahum If the filtered list isn't required for this PR then I'll rebase and address feedback today and hopefully we can get it merged.

@jarredwitt go for it dude

I've moved this for 1.12, so @jarredwitt perhaps you can include the sidebar filter with this PR.
Thanks

@enahum got caught up with some other work, will add the filtered list changes to this PR.

@enahum @hmhealey @lieut-data just pushed a refactor based on review. Wanted to get these changes pushed before I started on the filtered list changes.

That’s not what I was seeing in my tests, but I’ll confirm. I was testing with 0 private channels and the bottom separator was not showing.

On Aug 1, 2018, at 5:42 AM, Jesse Hallam<EMAIL_ADDRESS>wrote:
@lieut-data requested changes on this pull request.
In app/components/sidebars/main/channels_list/list/list.js:

@@ -144,8 +144,8 @@ export default class List extends PureComponent {
return {
...this.getSectionConfigByType(s.type),
data: s.items,

           topSeparator: i !== 0 && orderedChannelIds[i - 1].items.length > 0,

           bottomSeparator: true,

           topSeparator: i !== 0,

           bottomSeparator: s.items.length > 0,

To confirm, isn't s.items.length > 0 always true? (For the same reason we could simplify topSeparator.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jarredwitt @miguelesponiza can we rebase this and address the initial review

@jarredwitt build failed


Summary of observe/onchange related bugs

This seems to be a tough recurring topic, especially lately.
This ticket serves as a summary on related open bugs.

#2429 : edge bug: infinite observer loop
#2420 : observers observe too much and not enough
#2413 : change not propagated in component's observer
#2357 : Wildcard observers not working in components, AGAIN?
#2200 : Using .set with an object can trigger inconsistant observers
#2142 : Observers don't respect initially ambiguous implicit mappings
#2090 : Ractive 0.8.0-edge onchange bug
#1990 : onchange triggered for root instance but not for components
#1926 : ractive.observe '*' in 0.7 only fires once… when child component is rendered inside Shadow DOM

Probably a new label would do in this case. Creating one in a bit and tagging those.

Added a new "observers" label for easy filtering in the search. I'll close this one. Thanks for the help. :+1:


Basic framework for notification badge

Signed-off-by: Jay Clark<EMAIL_ADDRESS>Fixes #155
Draft pull request for now (waiting for feedback before adding additional commits.)
@joemasilotti Is something like this (see screenshots below) what you had in mind for the notification badge? I thought I'd check in on the direction before going any further on refactoring or adding tests. (I might be able to tackle #154 as well, as its pretty closely linked with #155 and I'm not sure how much more I can do on 155 without movement on 154. For example right now I just have a nonsense URL as the href for the notification badge since there's no notification UI to link to yet...)
Pull request checklist

[ ] Your code contains tests relevant for code you modified
[X] You have linted and tested the project with bin/check

This looks great and was exactly what I'm looking for! I agree, this doesn't serve much purpose until #154 is built out. The Backlog project shows the priority of these.
If you're willing to take a crack on #154, please go for it. Alternatives are to wrap this in another feature flag or hold off until #154 is ready, too. After that I will give this a real review.

I'm happy to take a crack at #154 . I have a few questions about the vision there but I'll ask them separately on that issue thread to keep things organized and in case anyone else comes across the discussion and wants to weigh in.

Closing out b/c I've opened a draft from a different branch.


[ikshow] Add new extractor

Since #8497 landed, please move changes in youtube_dl/extractors/__init__.py to youtube_dl/extractors/extractors.py. Check step 5 of the new developer instructions for more information.

https://www.google.com/transparencyreport/removals/copyright/searchdata/domains/?id=ikshow.net


Issue and Pull Request Templates

@StackKorora please review changes.

Just wanted to leave a comment (as requested) -- I've looked over these and they seem like a good starting point.  I'm sure we'll probably adjust as we move forward, but looks good.

@StackKorora please squash and merge.


Add tags support

Credits to @a-urth PR #8
However, I feel the footprint of his tag implementation doesn't fit hemingway's minimalist style.  So I did some modification and try to keep it as close to current feeling as possible.
A live demo can be found here: https://jiulongw.github.io/
Hope this would be useful to others who like this theme but need tag support!

Yeah, this looks just amazing!
My goal was just to implement tags asap)

I tried merging this locally, currently getting this error:

Thanks for letting me know @ribice !  This issue happens when there is only one tag in a post.  I just pushed a fix to this PR.

Hi,
Included these changes in a fork of mine (link). Thanks!


Cannot find module 'mkdirp' error

Ran npm install -g thrift2flow
Running thrift2flow throws this error:
Error: Cannot find module 'mkdirp'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jonsadka/.nvm/versions/node/v8.12.0/lib/node_modules/thrift2flow/lib/index.js:24:15)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

Running npm list -g --depth=0 shows that<EMAIL_ADDRESS>is installed
NOTE: Tried on node 8.12.0 and node 6.10.3

FYI running npm install -g mkdirp@latest fixes the issue but seems like this should be added as to dependencies in the package.json

mkdirp is now a dependency (and I think has always been?), not a dev dependency.

this should be resolved


ssh-tpm-agent: init at unstable-2023-08-12

Description of changes
Adds the new experimental ssh-tpm-agent package, allowing ssh users to easily authenticate with keys sealed by their TPM2 chip.
Todo:

[ ] Fix failing tests
[ ] Maybe wait for newer release

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@Foxboron ^^

After discussing it with @stigtsp the idea is to wait for a 1.0.0 release and keep the PR available for people that want to test ssh-tpm-agent.

@RaitoBezarius Hi! A certain fox noticed that you had some options for ssh-tpm-agent in your config. I'm thinking to set up NixOS options for this as well - likely in a later PR. Would you be interested in reviewing?
https://github.com/RaitoBezarius/nixos-home/blob/master/ssh/tpm-agent.nix

@RaitoBezarius Hi! A certain fox noticed that you had some options for ssh-tpm-agent in your config. I'm thinking to set up NixOS options for this as well - likely in a later PR. Would you be interested in reviewing?
https://github.com/RaitoBezarius/nixos-home/blob/master/ssh/tpm-agent.nix

Of course! I didn't know this certain fox was okay with 0.3.0 :>

Of course! I didn't know this certain fox was okay with 0.3.0 :>

After implementing the ASN.1 TPM keys I don't really need to lock down the key format anymore. So it should be fine as the key would probably not need to be upgraded in the future.

@stigtsp You want to pull this patch fwiw, https://github.com/Foxboron/ssh-tpm-agent/commit/65d5a501bf1ce7f358006ad48af0c2c85f459d1c

@stigtsp You want to pull this patch fwiw, Foxboron/ssh-tpm-agent@65d5a50

Should we bump it to the next releaee

@stigtsp You want to pull this patch fwiw, Foxboron/ssh-tpm-agent@65d5a50

Are you planning a new release soon? Would prefer to update this PR to that if it's not far off.

@stigtsp I can do a bugfix release this weekend probably.

https://github.com/Foxboron/ssh-tpm-agent/releases/tag/v0.3.1
should be fine.

Tested this a bit more, and it works for me.
@RaitoBezarius Any showstoppers to merging this you think?

This looks good to me except it’s missing meta.mainProgram

Thanks, added.

Here's a simple HM config (easily translated to nixos). I'm actually not going to use this for now because I need to load other keys into the agent and this agent, like yubikey-agent, doesn't support that.
home.packages = [ pkgs.ssh-tpm-agent ];
systemd.user.services.ssh-tpm-agent = {
  Unit.PartOf = [ "default.target" ];

  Service = {
    Type = "simple";
    ExecStart = "${lib.getExe pkgs.ssh-tpm-agent} -l %t/ssh-agent";
    RestartSec = 3;
    Restart = "on-abort";
  };

  Install.WantedBy = [ "default.target" ];
};

@adamcstephens
Look at the proxy support.
https://github.com/Foxboron/ssh-tpm-agent?tab=readme-ov-file#proxy-support

@Foxboron thanks! i missed that in the readme.


feat: Readme updated

Included in README.md:

How to show realm-admin when assigning role to user via Keycloak Console
Requirements to run the project(java and maven version)

@gabrielpadilh4  Thanks man!


For key-vault-jca, load / refresh from key vault service

version    -> Need to investigate how to do after application start up.
enable / disable    ->    Setting "server.ssl.key-store-type"

Closing this issue because related PR has been merged.


0.13 and newer problems

I have fresh installation gentoo with wayland
On wlroots-0.13.0 and sway-1.6 when (and also git latest versions) I start sway I see black screen... I must switch to conosle (ctrl+alt+f3) and go back to sway console.
and also when I do this few times I see only artefacts on my screen.
on wlroots-0.12.0 and sway-1.5.1-r1 everything wokrs greate
here is debug from start "sway -d" for both versions
wlroots-0.12  https://chmura.ftdl.pl/s/zSqn3x5xQAjGBkb
wlroots-0.13 https://chmura.ftdl.pl/s/kEN3QnPYqMZcExy

See https://github.com/swaywm/sway/wiki#sway-16-shows-garbage-on-nouveau


Graphs not showing under Firefox 127.0 on Linux Mint and Pop OS

Describe the bug
The speedtest tracker does not load any graphs on the main dashboard page, no matter if using the http or https version of the dashboard. Clearing cache or a full refresh don't work. The only way for the graphs to show up is to leave the page open until a scheduled speed test runs, after which the graphs will show. Running a speed test manually does not make the graphs appear.
To Reproduce
Steps to reproduce the behavior:

Load the dashboard page

Expected behavior
Graphs should be showing up.
Environment (please complete the following information):

OS: Client: Pop OS 22.04 and Linux Mint Cinnamon 21.3. Server: Linux Mint Mate 21.3
Architecture: amd64 both clients and server
Browser Firefox 127.0 on all clients
Version 0.20.6

Screenshots

Logs
`[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────
  ██╗     ███████╗██╗ ██████╗
  ██║     ██╔════╝██║██╔═══██╗
  ██║     ███████╗██║██║   ██║
  ██║     ╚════██║██║██║   ██║
  ███████╗███████║██║╚██████╔╝
  ╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v0.20.6-ls30
Build-date: 2024-06-15T21:23:04+00:00
───────────────────────────────────────
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
In Connection.php line 813:
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
errupt)
In Connection.php line 592:
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: select * from "cache" where "key" = laravel_cache_illuminate:queue:rest
art limit 1)
In Connection.php line 412:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: select * from "cache" where "key" = laravel_cache_illuminate:queue:rest
art limit 1)
In Connection.php line 412:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: delete from "cache" where "key" = laravel_cache_illuminate:schedule:int
errupt)
In Connection.php line 592:
SQLSTATE[HY000]: General error: 5 database is locked
In Connection.php line 813:
SQLSTATE[HY000]: General error: 5 database is locked (Connection: sqlite, S
QL: select * from "cache" where "key" = laravel_cache_illuminate:queue:rest
art limit 1)
In Connection.php line 407:
SQLSTATE[HY000]: General error: 5 database is locked
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
  ██╗     ███████╗██╗ ██████╗
  ██║     ██╔════╝██║██╔═══██╗
  ██║     ███████╗██║██║   ██║
  ██║     ╚════██║██║██║   ██║
  ███████╗███████║██║╚██████╔╝
  ╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v0.20.6-ls30
Build-date: 2024-06-15T21:23:04+00:00
───────────────────────────────────────
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────
  ██╗     ███████╗██╗ ██████╗
  ██║     ██╔════╝██║██╔═══██╗
  ██║     ███████╗██║██║   ██║
  ██║     ╚════██║██║██║   ██║
  ███████╗███████║██║╚██████╔╝
  ╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v0.20.6-ls30
Build-date: 2024-06-15T21:23:04+00:00
───────────────────────────────────────
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
`
Additional context
N/A

Are you hosting the application inside Mint or just using it as your laptop/desktop OS and accessing a remote server?

Are you hosting the application inside Mint or just using it as your laptop/desktop OS and accessing a remote server?

I'm hosting the application as a docker service on my home server, which is running Mint 21.3 Mate, then accessing it on my personal computers through my home network. The server is a VM running inside ProxMox, if it makes any difference.

Ok that should be fine, can you hit F12 and get into dev tools and see if it's loading any assets? If you get a 404 on missing assets you'll want to make sure you set a APP_URL.

Haven't heard back from OP, closing the issue


Tesseract Training Guide

Hi Shree,
Forgive me, as im new to LSTM and Tesseract.
I ran tesseract API on windows, It works best with default tesseract_best/eng.traineddata (sometime it perform better on your trained weights(/tessdata_shreetest/engrestrict_best.traineddata)
However, the result yield is not very satisfactory. (about 55% decoded correctly) (image failed due to low contrast and unknown reasons)
Therefore, I seeks to fine-tune it with some training. Then i realizes the intended training datasets aren't using images, rather it generates image from text.(not very sure as the documentation are extremely confusing).
Q1: Can i train it with my images(contrasts varries), in hope it can perform better on my datasets?
Example:
aaa_1_2_0
Default weights: ASA
Ground Truth: A8A

Better results are sometimes received by pre-processing the images rather than training. See improving quality page in wiki.
Regarding training with images, see ocrd-train project. You can also use wordstrbox option to create box/tiff pairs using images.

OKay, Thanks ! I'll try that.

https://github.com/tesseract-ocr/tesseract/wiki/ImproveQuality
https://github.com/OCR-D/ocrd-train
https://github.com/tesseract-ocr/tesseract/issues/2357#issuecomment-477261248

Thanks @Shreeshrii , I have tried them(in the wiki/ImproveQuality)
I wanted to ask, the bounding box provided by Tesseract is not accurate? it's a bug or it's normal?
Tried OCRD-train(100images):
Result aren't that good, maybe because small dataset
Sample:
Ori:

Detection:

If accuracy of bounding boxes is important then you should use 3.0x tesseract with tessdata. The 4.0x version is trained on line images and accuracy of bounding box positions is not important.
Or you could use a different method eg. opencv etc to get the bounding boxes.

Excause me, Is there any requirement for training data?Do you have to use picture that contain multiple characters?Is it ok to use picture that contain only one word?

@johnnydept The latest code from master branch has a better algorithm for bounding boxes.  Please give it a try.
tesseract MC34704.jpg - --oem 1 --psm 6 --tessdata-dir ~/tessdata_best  -c hocr_char_boxes=1 hocr

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title></title>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <meta name='ocr-system' content='tesseract 5.0.0-alpha-322-g74ac' />
  <meta name='ocr-capabilities' content='ocr_page ocr_carea ocr_par ocr_line ocrx_word ocrp_wconf'/>

       M
       C
       3
       4
       7
       6
       4

Do you have to use picture that contain multiple characters?Is it ok to use picture that contain only one word?

@zthdsb  The neural net LSTM engine is supposed to work on line images. The recommnded method for training is to use text and fonts with the text2image program to generate the box/tiff pairs.
It is possible to use images. Lots of people use https://github.com/OCR-D/ocrd-train for training with images. You can ask for more info on tesseract-ocr forum.

Hi @Shreeshrii ,
So glad that the recent version fix the bounding boxes.
Well, i found out that the recent version supports user pattern file.
However, i faced some problem

The files, User_pattern_file. only load during init?
Reason is, i have bundle of images, previous how i do it is, i only api->init once e.g
if (api->Init(NULL, "eng", tesseract::OEM_LSTM_ONLY))  { }
it ran all images then it frees the api->init.
Problem:
Is it necessary to init everytime just to read the config file??

I do not know much about the api. I suggest you post in tesseract-ocr google group so that others can respond.

thanks @Shreeshrii , will do !


[WFLY-16755] Update javax.* uses in WS docs

https://issues.redhat.com/browse/WFLY-16755 (webservices part)
@jimma @rsearls FYI

The CI jobs fail because I cancelled them to save CI resources. CI doesn't test docs-only changes.


Add support for code blocks anywhere/anycount in the tweet

Fixes #42
Closes #47
Tested on:
https://twitter.com/sindresorhus/status/953739369130708994
https://twitter.com/bfred_it/status/960785307669995520
Follows pattern of https://github.com/sindresorhus/linkify-urls/blob/master/index.js

@tomma5o Can you review?

@sindresorhus Yes!
I have a test account ... I try all the cases and I write here for updates 😀
Grazie @bfred-it 👍😄

Thanks for fixing this @bfred-it :)


Using gulp plugin for multilple project

I have a starter kit for my project and i wants to use gulp plugin for multilple project.
with a project i will be install plugin and coppy gulp file to my project.how to i can use gulp plugin without install for my project.

You can't, that's a limitation of the node.js platform's module loading.


Apache OFBiz and Apache Tomcat 8.0.33

I use OWASP Dependency Check to check OFBiz 3rd parties libs. We use Tomcat embedded in OFBiz. When I recently upgraded to Tomcat  8.0.33 (from 7.0.68) I found that all Tomcat libs we use needed 2 or 3 suppressions. Please see the link ("Here is the last suppress file") to our suppress.xml file at https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check.
Would there be a way to avoid that, with only one suppression for the whole Tomcat libs for instance?
Thanks!

If you look at the guide on suppressing false positives you can see there are a few more options on suppressing items other then what is available via the HTML report. The following would likely work; however, if you do have an embedded version of tomcat and a new vulnerability is identified it will not be flagged by ODC. You might be able to play around with the file path regex a but?
    <suppress>
        <notes><![CDATA[
        Suppresses all findings against Tomcat.
        ]]></notes>
        <filePath regex="true">.*</filePath>
        <cpe>cpe:/a:apache:tomcat</cpe>
    </suppress>

Thanks Jeremy,
I will try that!

I finally used
    <suppress>         <notes><![CDATA[         This suppresses specific Tomcat CVEs         ]]></notes>         <filePath regex="true">.*\\catalina\\lib\\.*\.jar</filePath>         <cve>CVE-2013-2185</cve>         <cve>CVE-2009-2696</cve>         <cve>CVE-2007-5461</cve>         <cve>CVE-2002-0493</cve>     </suppress>
So we have just to wait for possible new relevant CVEs :)
Your examples helped!


install experience on package detail pages

this issue is meant to describe the user experience not break down associated eng work
overview
on the package detail page we want install information to be displayed up in the header so its easily accessible no matter what tab folks are on
design details
ux designs in figma

[ ] heading: Install in Any Language
[ ] dropdown that allows folks to pick a language (should get an aria-label of Language)
[ ] use copy component that was built by @kimberleyamackenzie

Was just going to pop in and mention maybe extending pulumi-install, yes! And it should be fairly straightforward to have this component get/set the current language preference as well such that things "just work" between this and the language chooser.


add 'is kots working' checks to postrelease kurl testing

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Does this PR require documentation?

updated testgrid ran at https://testgrid.kurl.sh/run/laverya-kotsadm-postrelease-nov17


python3Packages.pylibftdi: 0.18.1 -> 0.19.0

Motivation for this change
pylibftdi has moved to github. This also updates to the newest release (0.19.0).
Things done
I've tested this with some simple code using real FTDI devices and it works fine.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Superseded.

Actually, didn't realize this is more than just a bump. Will need a rebase though.

@risicle mind posting the commit this PR would have been superseded by? I'll rebase when I'm back at a computer Wednesday.

That would be... fe87c8047bb057667a33893d9c424faad82c9cbc


unexpected keyword argument 'dtype'

Whenever I run k2flix, I get the error message
ERROR: linspace() got an unexpected keyword argument 'dtype'
I'm running Python 2.7.5 with numpy 1.8.2.

Thanks for reporting this @matiscke!
It looks like the dtype argument was added to numpy.linspace in numpy 1.9.  I have adapted the code to work around needing this 1.9 feature.

you're very welcome! I'm glad if I can help.
cheers
Martin
Am 07/21/2016 um 01:53 PM schrieb Geert Barentsen:

Thanks for reporting this @matiscke https://github.com/matiscke!
It looks like the |dtype| argument was added to |numpy.linspace| in
numpy 1.9. I have adapted the code to work around needing this 1.9
feature.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/barentsen/k2flix/issues/6#issuecomment-234380728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASYKHUyyAKFA3aumbKvpeijZvnAzcrgsks5qX9xOgaJpZM4I4kU1.


Merge berkeley to develop (mar19 2024)

Merge berkeley -> develop (no conflicts)
Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[x] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[x] Does this close issues? None

!ci-build-me


New package: Tizen.TizenStudioCLI version 5.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113383&drop=dogfoodAlpha

/AzurePipelines run

Automatic Validation ended with:

Hi @RunTheBot,
Is there an installer switch to bypass the Press enter to exit... prompt and complete automatically?

Hi @RunTheBot,
Is there an installer switch to bypass the Press enter to exit... prompt and complete automatically?

Tried to find it but no

Winger needs a "Spam enter/yes" option.


Hide all spam tokens with tokens.json

Can we make a rule, that if a token has this logo.png (attached) as a token symbol, then we hide this token in the wallet tab by default? Is it possible?

Possible, but not efficient. Better way to achieve this is to update the token.json mapping and we can read from it. I'll follow up.

Need to handle the tokens marked with spam accordingly:

Hide
Do not include in fiat value calculation

@colourfreak could you help to build a list of spam tokens? We can start with the ones you have already created token icons for https://github.com/AlphaWallet/tokens/issues/2

@colourfreak could you help to build a list of spam tokens? We can start with the ones you have already created token icons for AlphaWallet/tokens#2

Just a plain list with addresses would be enough?

Yes. Thanks


Use precomputed quantiles in the train step of the quantile mapping routines

Addressing a Problem?
Hi, First of all thanks for providing such a nice package! It is hugely helpful in many of my project.
I've been using the quantile mapping routines a lot and was wondering if it is also possible to use pre-computed quantiles to the training step of the quantile mapping routines. As far as I can see from the documentation it requires to use datasets with a time dimension.
This option would help to optimize performance because the quantiles of the observational product do not need to be recomputed every time the training step is performed for different models but the same observational product. Secondly, I would like to test the option to regrid the quantiles of e.g. a climate model to the observational dataset i.s.o. the raw climate model data. Especially with large datasets this could reduce the computational resources quite a lot.
Potential Solution
A solution would be to add the possibility in the train step of the xclim.sdba.adjustment methods to add precomputed quantiles, both for the simulation and the reference data.
Thanks in advance,
Folmer Krikken
Code of Conduct

[x] I agree to follow this project's Code of Conduct

Hi @folmerkrikken!

use pre-computed quantiles to the training step of the quantile mapping routines.

This is not exactly possible currently. What the train-adjust method allows is to skip the training step when we already have done it. This is documented here : https://xclim.readthedocs.io/en/stable/notebooks/sdba-advanced.html#Initializing-an-Adjustment-object-from-a-training-dataset
But here, I think you only want the reference to be pre-computed, not the whole training data. This is now currently possible, but the implementation for quantile mapping methods shouldn't be too hard. We're open to pull requests ;)!
I believe the sdba._adjustment.eqm_train function could be modified to detect if ref has a "time" or a "quantile" dimension, and thus not repeat the quantile computation. And similarly for hist, why not!
This is currently not a priority on our side, so we won't have time to implement it soon. But if you submit a PR, we'll be there to help you!


Remove EOY code

Closing in favour of https://github.com/artsy/collector-experience/issues/80, @1aurabrown is making a PR to remove it.


Add types for shrine

Shrine is a toolkit for handling file attachments in Ruby applications.
refs: https://github.com/shrinerb/shrine

/merge


feat/nuxt-link-defaults

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Current dependencies on/for this PR:

main

PR #23724   👈

This comment was auto-generated by Graphite.

I had concerns about default serialization behavior

Came to my mind too but I also think that should be fine 👍


feat(tutorials): Create integration architecture diagram and add to chapter 01 inform

This issue can be closed because the tutorial with required content is already online https://eclipse-tractusx.github.io/docs/tutorials/e2e/


fix: update download icon in TransactionModal

Description:
Use the appropriate download icon in TransactionModal for Download button
This PR also introduces an automatic update of the storybook icons section so it's always in sync with components/Icon contents

How Has This Been Tested?
Manually

Types of changes:
Devops enhancement, bugfix

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.005%) to 22.343% when pulling 7979f3058fbf68971a9a54056d940372aaac53bb on korhaliv:fix/download-icon into 3dc1a2d4f86d305ebf85d82dadceae5b9e908a13 on LN-Zap:next.


Where does APPROLE_ come from?

My authentication is failing when I follow this article. Can you provide some info as why the authority name is APPROLE_Admin if the token contains a user role=["Admin"]?

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

ID: 3233e2cc-1075-1c20-d8f8-65161949e341
Version Independent ID: e3cef834-e81c-de56-9224-a22f7abdfb7e
Content: How to use the Spring Boot Starter for Azure Active Directory
Content Source: articles/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory.md
Service: active-directory
GitHub Login: @KarlErickson
Microsoft Alias: karler

@chenrujun @seanli1988 can you please take a look? Thanks!

Hi, @mrochon .
Thanks for reaching out.
It's an expected behavior. Here are related links:

Related doc: https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/spring-cloud-azure?tabs=maven#authorize-access-by-app-roles
Related source code in web app: https://github.com/Azure/azure-sdk-for-java/blob/spring-cloud-azure_4.5.0/sdk/spring/spring-cloud-azure-autoconfigure/src/main/java/com/azure/spring/cloud/autoconfigure/aad/implementation/webapp/AadOAuth2UserService.java#L162
Related source code in web api: https://github.com/Azure/azure-sdk-for-java/blob/spring-cloud-azure_4.5.0/sdk/spring/spring-cloud-azure-autoconfigure/src/main/java/com/azure/spring/cloud/autoconfigure/aad/properties/AadResourceServerProperties.java#L35

so as per https://stackoverflow.com/questions/72340523/why-it-is-called-approle-admin-instead-of-admin-in-spring-boot-app-secured-b i applied
resource-server:
claim-to-authority-prefix-map:
roles: ""
it did not help. I also converted my yaml to properties and added spring.cloud.azure.active-directory.resource-server.claim-to-authority-prefix-map.roles="" but still granted Authorities has APPROLE_
I was curious how do i remove it ?

Hi, @rajsolanki73
Thanks for reaching out.
Could you please try this:
spring:
  cloud:
    azure:
      active-directory:
        resource-server:
          claim-to-authority-prefix-map:
            scp: SCOPE_

sorry for delay. Output is same. output still has Granted Authorities=[APPROLE_myrole]]] .

@rajsolanki73
There are 2 application types: web application and web api:

web application: support login by Azure AD account. This article mainly introduces this type: How to use the Spring Boot Starter for Azure Active Directory. In this type, Granted Authorities=[APPROLE_Xxx] cannot be removed. Refs: https://github.com/Azure/azure-sdk-for-java/blob/spring-cloud-azure_4.5.0/sdk/spring/spring-cloud-azure-autoconfigure/src/main/java/com/azure/spring/cloud/autoconfigure/aad/implementation/webapp/AadOAuth2UserService.java#L162
web api: Not support login, just validate access token. spring.cloud.azure.active-directory.resource-server.claim-to-authority-prefix-map.roles is used for this type. Here resource-server and web api have the same meaning.

In my understanding, you are using the web application type. So Granted Authorities=[APPROLE_Xxx] cannot be disabled.
Here is my question: Why do you want to disable Granted Authorities=[APPROLE_Xxx]? If the reason is resonable, we will develop this feature: Disable Granted Authorities=[APPROLE_Xxx] in web application by a new property.

Unless i m reading it wrong i think you are confused.
"In my understanding, you are using the web application type. So Granted Authorities=[APPROLE_Xxx] cannot be disabled."
I dont want Granted Authorities=[APPROLE_Xxx] to be disabled. As per doc if i have setting claim-to-authority-prefix-map for roles i should be getting Granted Authorities=[Xxx] right ?

Here is what doc says

spring.cloud.azure.active-directory.resource-server.claim-to-authority-prefix-map
Configure which claim will be used to build GrantedAuthority, and  prefix of the GrantedAuthority's string value. Default value is: "scp"  -> "SCOPE_", "roles" -> "APPROLE_".

(For reference, above comes from this doc). Yes, my question was in the context of a web app. However, both web apps and web apis, in AAD context can get tokens with scp and roles claim so not sure that makes any difference. So, my understanding is: IF I want to control access to some via presence of a scp claim value, I use SCOPE_; IF it is value of roles claim then APPROLE_, but either claim is NOT expected in the claim, I must make sure NOT to use these attributes. In other words, APPROLE_ should only be there if the token/app was configured to use roles. (BTW, APPROLE sounds like 'application role', which is confusing since AAD tokens can include application and user roles, based on how the token was obtained).

yes in my case i have configured app role which my app needs. In my app registration steps i have defined app roles as

operator
instructor
speaker

and all these values after successful authentication comes as
Granted Authorities=[APPROLE_operator]
Granted Authorities=[APPROLE_instructor]
Granted Authorities=[APPROLE_speaker ]
All i want is to get rid of default prefix APPROLE_ and i thought following spring cloud property would do that.
resource-server:
claim-to-authority-prefix-map:
roles: ""

@mrochon , @rajsolanki73
Here is my current understanding, correct me if I have some misunderstanding:
Current status

In web app, the roles claim value in ID token will be used to construct Granted Authorities=[APPROLE_role_value]. The prefix like APPROLE_ cannot be configured.
In web api, the claims (like roles and scp) in Access Token will be used to construct Granted Authorities=[APPROLE_role_value] and Granted Authorities=[SCOPE_scope_value]. The prefix like APPROLE_ and SCOPE_ can be configured by this property: spring.cloud.azure.active-directory.resource-server.claim-to-authority-prefix-map

What you wanted
In web app, make the prefix like APPROLE_ can be configured.

Yes, that looks right. Thanks for all the detail.

@mrochon Thank you for the quick response.

Closing since the issue is logged elsewhere.


Bump HTTP timeout

2 seconds is not enough time for Genesis to handle the update request.
@dwradcliffe @dalehamel @ibawt

:+1: pretty sure the 2s was arbitrary. 10s should decrease the failures by quite a lot.


nock doesn't work with the latest aws-sdk

We use the aws-sdk for accessing DynamoDb. A pre-release version worked, but the latest does not. Is this something that might be fixed, or is there another nock-friendly DynamoDb client that you recommend?
When recording we get this error:
 TypeError: Cannot read property 'length' of null
  at Object.AWS.util.buffer.concat (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/util.js:116:29)
  at Request.HTTP_DONE (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/event_listeners.js:211:36)
  at Request.callListeners (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/sequential_executor.js:132:20)
  at Request.emit (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/sequential_executor.js:100:10)
  at Request.emitEvent (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/request.js:392:10)
  at IncomingMessage.onEnd (/Users/avinger/src/gitKhwaja/hs-web-service/hs-web-service/node_modules/aws-sdk/lib/event_listeners.js:180:26)
  at IncomingMessage.EventEmitter.emit (events.js:117:20)
  at _stream_readable.js:910:16
  at process._tickCallback (node.js:415:13)

Though it does print out something to use (sensitive stuff redacted):
nock('https://dynamodb.us-east-1.amazonaws.com:443')
.post('/', {"TableName":"[redacted]","Item":{"Environment":{"S":"[redacted]"},"UserId":{"S":"[redacted]"},"ApiKey":{"S":"[redacted]"},"ApiKeyPassword":{"S":"[redacted]"}}})
.reply(200, "{}", { 'x-amzn-requestid': '2LF65MKQ8QKBRJ05BD4QCA0RUBVV4KQNSO5AEMVJF66Q9ASUAAJG',
'x-amz-crc32': '2745614147',
'content-type': 'application/x-amz-json-1.0',
'content-length': '2',
date: 'Tue, 18 Jun 2013 21:49:53 GMT' });
If we try to use that, however, to mock out the interaction, it simply ignores it and goes directly to DynamoDb.

@pgte I'm having the same issue as @jaridmargolin . Technically using the node-s3 package but the error comes from internal to aws sdk. Happens when I use listObjects.
Tests pass when not using nock, when I turn on the recorder with nock.recorder.rec(); before the tests. They begin to fail with this stack trace
TypeError: Cannot read property 'length' of undefined
    at /Users/user/Work/apps/app/api/node_modules/s3/lib/index.js:555:39
    at /Users/user/Work/apps/app/api/node_modules/s3/lib/index.js:1301:9
    at Response.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/lib/index.js:600:11)
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:350:18)
    at Request.callListeners (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:100:18)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:604:14)
    at Request.transition (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:21:12)
    at AcceptorStateMachine.runTo (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:22:9)
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:606:12)
    at Request.callListeners (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:104:18)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:604:14)
    at Request.transition (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:21:12)
    at AcceptorStateMachine.runTo (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:22:9)
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:606:12)
    at Request.callListeners (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:104:18)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:604:14)
    at Request.transition (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:21:12)
    at AcceptorStateMachine.runTo (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:22:9)
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:606:12)
    at Request.callListeners (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:104:18)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:604:14)
    at Request.transition (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:21:12)
    at AcceptorStateMachine.runTo (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:22:9)
    at Request.<anonymous> (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/request.js:606:12)
    at Request.callListeners (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:104:18)
    at callNextListener (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:90:14)
    at IncomingMessage.onEnd (/Users/user/Work/apps/app/api/node_modules/s3/node_modules/aws-sdk/lib/event_listeners.js:183:11)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:944:16
    at process._tickDomainCallback (node.js:486:13)

if it only happens with recording on it's probably recorder-related.
@jakecraige since you probably already have this code, can you please provide a minimum test where this fails?

Not sure if this is the same problem but I've fixed a AWS problem a while ago. The problem is that the fix breaks nock on node 0.11 so we couldn't merge it. Let me see if I can take a look at it later on.
Minimum pending would of course be highly appreciated @jakecraige

@jakecraige The PR #266 might be a solution to this though without a minimum test I can't be sure. Please test and let us know.

@jakecraige PR #226 landed on v0.59.0.

Looks like #266 fixed it :)
Here's my reproduction:
var test = require('tape');
var s3   = require('s3');
var nock = require('nock');

var accessKeyId     = process.env.AWS_ACCESS_KEY_ID;
var secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY;
var bucket          = process.env.AWS_BUCKET;

var client = s3.createClient({
  s3Options: { accessKeyId: accessKeyId, secretAccessKey: secretAccessKey }
});

test('works normally', function(t) {
  t.plan(1);

  var list = client.listObjects({ s3Params: { Bucket: bucket } });

  list.on('error', t.fail);
  list.on('end', t.pass);
});

test('fails with nock', function(t) {
  t.plan(1);

  nock.recorder.rec({dont_print: true});

  var list = client.listObjects({ s3Params: { Bucket: bucket } });

  list.on('error', t.fail);
  list.on('end', t.pass);
});

Using 0.58.0 it fails, passes with 0.59.0

@jakecraige great, thanks for your feedback!

@jakecraige Glad to hear it - thanks for the confirmation!


raise SizeMismatchError when training Detic Deformable DETR

Hi @xingyizhou,
I was trying to train with the Detic Deformable DETR model and it stopped with SizeMismatchError.
There seems to be inconsistent information between the images from datasets/imagenet/ImageNet-LVIS and datasets/imagenet/annotations/imagenet_lvis_image_info.json
I think the error is related with image’s exif orientation information but I’m not sure about that.
It will be very thankful if you check about this problem.
The command that I used was python train_net.py --num-gpus 8 --config-file configs/Detic_DeformDETR_LI_R50_4x_ft4x.yaml 2>&1 | tee detr.log
These are my settings.

torch : 1.8.2
CUDA : 11.2
python : 3.8.12

Thanks,
Janet
[02/11 10:48:15 d2.utils.events]: [eta: 1 day, 13:15:24  iter: 360  total_loss: 1.256e+04  loss_bbox: 0.1673  loss_bbox_0: 0.1682  loss_bbox_1: 0.1679  loss_bbox_2: 0.163  loss_bbox_3: 0.1675  loss_bbox_4: 0.1662  loss_bbox_enc: 0.0305  loss_ce: 0.4108  loss_ce_0: 0.5892  loss_ce_1: 0.5113  loss_ce_2: 0.4529  loss_ce_3: 0.4268  loss_ce_4: 0.4176  loss_ce_enc: 0.317  loss_giou: 0.6105  loss_giou_0: 0.6227  loss_giou_1: 0.6104  loss_giou_2: 0.6175  loss_giou_3: 0.6193  loss_giou_4: 0.6127  loss_giou_enc: 0.2911  loss_image: 1.953  time: 0.7772  data_time: 0.0368  lr: 0.0002  max_mem: 18412M
[02/11 10:48:31 d2.utils.events]: [eta: 1 day, 13:17:40  iter: 380  total_loss: 1.293e+04  loss_bbox: 0.1899  loss_bbox_0: 0.1976  loss_bbox_1: 0.1972  loss_bbox_2: 0.1936  loss_bbox_3: 0.1943  loss_bbox_4: 0.1916  loss_bbox_enc: 0.03412  loss_ce: 0.4291  loss_ce_0: 0.5788  loss_ce_1: 0.528  loss_ce_2: 0.4731  loss_ce_3: 0.4426  loss_ce_4: 0.4258  loss_ce_enc: 0.3217  loss_giou: 0.6712  loss_giou_0: 0.6713  loss_giou_1: 0.6773  loss_giou_2: 0.6799  loss_giou_3: 0.6807  loss_giou_4: 0.6768  loss_giou_enc: 0.2945  loss_image: 2.001  time: 0.7765  data_time: 0.0325  lr: 0.0002  max_mem: 18412M
Traceback (most recent call last):
  File "train_net.py", line 262, in <module>
    launch(
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/detectron2/engine/launch.py", line 67, in launch
    mp.spawn(
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 230, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
    while not context.join():
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 150, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 7 terminated with the following error:
Traceback (most recent call last):
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
    fn(i, *args)
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/detectron2/engine/launch.py", line 126, in _distributed_worker
    main_func(*args)
  File "/home/user/Detic/train_net.py", line 240, in main
    do_train(cfg, model, resume=args.resume)
  File "/home/user/Detic/train_net.py", line 148, in do_train
    for data, iteration in zip(data_loader, range(start_iter, max_iter)):
  File "/home/user/Detic/detic/data/custom_dataset_dataloader.py", line 297, in __iter__
    for d in self.dataset:
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in __next__
    data = self._next_data()
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1179, in _next_data
    return self._process_data(data)
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1225, in _process_data
    data.reraise()
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/_utils.py", line 429, in reraise
    raise self.exc_type(msg)
detectron2.data.detection_utils.SizeMismatchError: Caught SizeMismatchError in DataLoader worker process 2.
Original Traceback (most recent call last):
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop
    data = fetcher.fetch(index)
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/detectron2/data/common.py", line 90, in __getitem__
    data = self._map_func(self._dataset[cur_idx])
  File "/home/user/Detic/detic/data/custom_dataset_mapper.py", line 96, in __call__
    utils.check_image_size(dataset_dict, ori_image)
  File "/home/user/.conda/envs/detic/lib/python3.8/site-packages/detectron2/data/detection_utils.py", line 196, in check_image_size
    raise SizeMismatchError(
detectron2.data.detection_utils.SizeMismatchError: Mismatched image shape for image datasets/imagenet/ImageNet-LVIS/n04587559/n04587559_4711.JPEG, got (660, 439), expect (439, 660). Please check the width/height in your annotation.

Hi, I got the same 'SizeMismatchError' problem when training with config. And I've checked the shape of image but found no bugs.

Hi,
Thank you for raising up this issue and thank @liliangqi for checking. I met this as well. The easiest solution would be just commenting out the error line in detectron2 and add dataset_dict["width"], dataset_dict["height"] = image.shape[1], image.shape[0]. This was what I did during developing the project.
The cause of this issue is detectron2 handles the internal orientation of the image here, while the pre-processing script does not. This is fixed in the latest commit. Please run tools/create_imagenetlvis_json.py again and generate a new imagenet_lvis_image_info.json.
Best,
Xingyi

I could finish the training well with your help.
Thanks!


Ktbl11lm why it not in supporting list

Can be added support of ktbl11lm in future updates?

Aqara Air Conditioner P3 has same hardware like Xiaomi Multimode Gateway (gw3) and probably can be supported.
But I don't have this device and don't have any plans to buy it.
You can try to support it yourself.


Added a rollup config section to the readme

https://github.com/developit/preact-compat/issues/397
Probably needs to be trimmed down, included everything needed to run the example below the configs.
I also referenced the es file instead of the umd one. I figured if you're using rollup, you probably want to prefer es when available.
If it were to be trimmed down to match browserify and webpack, I guess it would only need the alias sections, but I don't know how obvious it would be to add the rest of the plugins to get the example running (which this does).

It might be worth dropping all these how-to sections into <details> so they are collapsed by default?
<details>
 <summary>Summary Goes Here</summary>
 ...this is hidden, collapsable content...
</details>

Hmm this doesn't work for me. I get
Could not resolve '../Engine/node_modules/preact-compat/dist/preact-compat.es.js' from  commonjs-proxy:../Engine/node_modules/preact-compat/dist/preact-compat.es.js ... tried switching up the order and stuff but doesnt seem to help

@cl4ws0n oh, those would probably need a path.resolve(__dirname, "node_modules", etc), looks like you're running out of a subdirectory or something. Sorry I dropped the ball on this, will try to get back and make a working stripped down version at some point.

Trimmed out everything but the alias plugin, and added path.resolve since it seems the string literal doesn't always work. I did not add the <details> sections, since it's a little out of scope and would probably fit better int a separate pull request, same with the preact-compat/aliases export.

Do you want to wait on this one until we get /aliases in?

Works for me, I'll try to remember to reference this issue in the pull request so it's easy to see when this can be updated.

This might not be the right place to ask, but it would be nice to know the full setup for preact + babel + eslint + rollup


#1754 - Only smooth scroll on home page

Added a smooth-scroll class to the html tag on the home page. All other pages should jump immediately to the anchor.

This change is

/assign @sarahmaddox

/ok-to-test

Preview:
https://deploy-preview-1755--competent-brattain-de2d6d.netlify.com/

Hmm, the content-rich scrolling still happens e.g. here: https://deploy-preview-1755--competent-brattain-de2d6d.netlify.com/docs/started/k8s/kfctl-k8s-istio/#access-the-kubeflow-user-interface-ui
Maybe you need to force-commit some more generated CSS files?

Looks like just running a hugo from the command line with no extra parameters generated some extra files. This might get us across the line.

Thanks so much for the quick fix!
/lgtm
/approve


Request for query set

hi @LarFii , I want to know if the authors can provide the query set (125 questions) of each dataset for reproduction.
Thanks:D

这里也同样需要！谢谢


It does not work on mobile browser

I use responsive design on my website. The zoom works in desktop browser. However, when I test it on my iphone with safari browser, it does not work.
My code for the image is shown as follows.
<img ng-src="{{m.image + '-commsg'}}" alt="A photo to complement the communication" style="width:80vw;max-width:300px;background-color:#EAEAEA" data-action="zoom">

I think the problem is your image width. Notice that it makes no sense to zoom an image if its width is already greater than or equal to a calculated width (screen width - offset):
if (target.width >= ($(window).width() - Zoom.OFFSET)) return // line 34

It's very likely that width:80vw exceeds the threshold. So I tested it on chrome developer tool with iPhone 5 and an image with width:80vw:
> $(window).width()
> 320
> $('.img').width()
> 256

Obviously, 256 >= 320 - 80 (offset), the image will not zoom.

I just opened an issue about mobile zooming: https://github.com/fat/zoom.js/issues/75

plugin update: its in line 41 now.  Just comment it out or toggle the operators to suit your liking
if (target.width >= ($(window).width() - Zoom.OFFSET)) return


[Question?] G1GC Custom Settings

Is your feature request related to a problem? Please describe
Does anyone have the history as to why these custom G1GC tunings were configured?
11-:-XX:G1ReservePercent=25
11-:-XX:InitiatingHeapOccupancyPercent=30

I believe the defaults are G1ReservePercent=5 and InitiatingHeapOccupancyPercent=45. I'm personally a fan of not overriding the defaults unless there is good evidence this is better in the general case and we continually re-evaluate these settings with each JDK update. I traced this change back to #2916 where we had inadvertently changed the default GC from G1GC back to CMS when we changed OpenSearch 1.x to use JDK11 LTS. This change introduced G1GC by default for all JDKs 11 and newer, but I don't see any discussion as to why these two settings were applied.
@reta Tagging you since you were involved in this change.
Describe the solution you'd like
I'm looking for the justification for using these non-default settings. (Also looks like there is an incorrect comment in the jvm.options file that I will clean up as well)
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response

@andrross traced it to https://github.com/elastic/elasticsearch/pull/46169


merge from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 -x 'tests/**/*.mjs' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp
chore(engines<EMAIL_ADDRESS>chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/*-test.mjs' as in template
chore(package): set $.ava.extensions='mjs' as in template

.travis.yml

chore(travis): remove node versions 10.16.0
chore(travis): add node versions -10,-11,-12,10.16.1

:tada: This PR is included in version 2.1.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Samples readme

Description
This PR adds a new sample listing readme as was discussed on the last call. The new markdown file is placed in the samples folder and contains a list of all available samples grouped by performance, api and extension samples. Each entry contains a small description. For the performance samples I took the descriptions from the tutorials that came with the samples, so they may not be perfect, so if anyone wants to put in different descriptions, feel free to comment on this PR.
This sample listing is now linked to from the main readme of the repo, and the old separate listings for the api and extension samples have been removed.
General Checklist:
Please ensure the following points are checked:

n/a My code follows the coding style
[x] I have reviewed file licenses
n/a I have commented any added functions (in line with Doxygen)
n/a I have commented any code that could be hard to understand
n/a My changes do not add any new compiler warnings
n/a My changes do not add any new validation layer errors or warnings
n/a I have used existing framework/helper functions where possible
n/a My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
n/a My changes do not add any regressions
n/a I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Hi @SaschaWillems,
What do you think about moving the samples tutorials from the main page to the samples readme?
Maybe another tutorial.md file might be a better place?

That makes sense, esp. if more tutorials are added it should be better to move them off the main readme. As most of tutorial are from ARM, I'd like to leave the final decision to them.


Homepage redesign

This PR implements beginnings of the new design. All the main structure is in place. There's a lot of visual detail which still needs implementing, tweaking, and some behaviour, e.g. navigating directly to model page once training is complete, recording countdown, etc. We can iterate on this with smaller PRs when implementing further changes.

May have found a small bug. If a microbit is connected then disconnected, there is no button to reconnect the micro:bit

Would it be a good idea to make it only possible to add one new dataset at a time? As in not be able to add more actions until the last one has some data or is modified

When there are many data entries, the options on the top right hand corner of the screen get shifted out.

Would it be a good idea to make it only possible to add one new dataset at a time? As in not be able to add more actions until the last one has some data or is modified

I could see a case where a user may want to add several actions first without recording them, just to plan ahead what they want to do. I'm not sure we should restrict it unless it has a negative impact on the training of the model, or presents other usability issues.

May have found a small bug. If a microbit is connected then disconnected, there is no button to reconnect the micro:bit

https://github.com/microbit-foundation/ml-trainer/pull/17/commits/d7c774f58ea311d3acee3333ea9b3c86ba35fbdc

When there are many data entries, the options on the top right hand corner of the screen get shifted out.

https://github.com/microbit-foundation/ml-trainer/pull/17/commits/379c8e701c96075d1e8db372c4280a013234a5d3

The button to connect an output micro:bit isn't showing

The button to connect an output micro:bit isn't showing

Initially we will be hiding the LED, sound, and pin output, so I think this is ok for now.


No error is given using getFiles or getBuckets

Using the example .getFiles or .getBuckets return undefined data or empty arrays with no errors to catch in the promise when providing invalid credentials, why?

Thank you @barocsi for reporting it.
Please give some more information.
In particular what version of the library are you using and what scenario of the invalid credentials you are experiencing you issue with.
I have tested

valid keyfile with no permissions to GET the object/file.
a valid keyfile (local) that does not exist on the server.
keyfile with modified property (no existing email)

All above cases returned exceptions.

@barocsi Are you still experiencing this? I will close this issue for now, but if you still notice the same behavior please reopen the issue.


Big Int are all rounded in the returned results

In the result grid, if a number is very big, the displayed numbers are all rounded.
The results displayed in the web console:

The same result displayed in the vscode BQ runner tab, so these 2 different numbers are displayed the same:

The column type is INT64

9162371277713859723
9162371277713859735

I think I overflowed with JavaScript's Number, I'll try to fix it with BigInt.

@GaryLiuTelus
I have published v1.21.13 which fixes this problem, so give it a try!


feat: Add a general text_wrapper to create repr methods

Description
This PR adds a text_wrapper method that creates object representations automatically for classes that inherits from pydantic BaseModel. It also includes changes in repr methods of some other classes that are not inheriting from BaseModel.
Closes #2259
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[ ] New feature (non-breaking change which adds functionality)
[ ] Refactor (change restructuring the codebase without changing functionality)
[ ] Improvement (change adding some improvement to an existing functionality)

How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

[ ] Test A
[ ] Test B

Checklist

[ ] I added relevant documentation
[ ] I followed the style guidelines of this project
[ ] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Currently it is
repr(rg.SuggestionSchema(question_name="quest")) # type is not shown
repr(rg.VectorSettings(name="vectorsetting", title="An example of a string that is longer than 50 characters so this one is limited as the first and second part which are connected with three dots.", dimensions=5))

and output
SuggestionSchema(
   question_name=quest
   score=None
   value=None
   agent=None
)
VectorSettings(
   name=vectorsetting
   title=An example of a string ... ected with three dots.
   dimensions=5
)

The problem is that the process of ignoring attributes is done via the default parameter of Field at the moment, which is temporary and should be changed. Ideally, we want to access the repr parameter of Field, but have not been able to do it.


Duplication Bug on Cart

When I was crafting some ice arrows, I put the freeze glands in the cart and the craft was available in the workbench. But when I clicked to craft the game uses some itens and not the freeze gland. I don't know the exactly what's this bug condition, but maybe that works for some others items as well.
The itens needed to craft the ice arrow in the cart

My inventory before the craft

After crafting the ice arrow

Thanks for the report! Replicated locallly.  Looking into it!

Should be fixed as of 1.0.13, if not, please reopen


resources overflowing above storage,  screenshot added

http://prntscr.com/82xzji

I noticed that - I think its because when we were low on resource at start - Ravi gave us 5k wood/stone/iron and I think unlimited storage space but not sure about that.

Fixed


Initial guess ignored?

I am providing an initial guess and setting
<param name="local" value="true"
<rosparam param="initial_guess">[1.95, 0.0, -0.7, 0.0, 0.0, 0.0, 0.0]</rosparam>
but when the local optimization starts, what I see on the console is:
x:   0.00 y:   0.00 z:   0.00 rx:   0.00 ry:   0.25 rz:   0.00 time:   0.00 Error:    4092.49 Iteration: 5
Am I doing something wrong and the initial guess gets ignored or is it somehow being rejected?

ah, the typo of inital vs initial

Same with translation_range

Hi,
Thanks for sharing the code.
Where should I set parameters (inital_guess, local, time_cal, etc.) ?? In the launch file or in a src file? Can you give some advice how can I choose best initial parameters?
Thanks in advance.


Add CNI example

Cribbed from https://github.com/apprenda/kismatic/blob/master/ansible/roles/addon-linkerd/templates/linkerd.yml

would this config work in GKE? if so, should we just recommend this way all the time?

I think it would, but the semantics are slightly different.  This runs linkerd on the host network which (for some reason) is required in order to use hostPort in CNI setups.  Our default config is able to use hostPort without running linkerd on the host network.


PHOENIX-6632 Migrate connectors to spark-3

Co-authored-by: Istvan Toth<EMAIL_ADDRESS>

I am aware that this change is next to unreviewable.
The original change, https://github.com/apache/phoenix-connectors/pull/69 is much more readable.
This one is heavily based on the original PR, with the following changes:

Moved to a new maven module
Split tests to a separate maven module
Minor fixes
Changed the java package to better mach Spark3
Changed / disabled scala tests according to the lost functionality in Spark3

I've started to review this change and the original #69 .
I ran a mvn verify with the scala test and it seems to be okey.
I haven't finished the review yet but I think we should add the new phoenix5-spark3 artifact to the assembly.

Awesome, thanks Istvan.

@stoty Would it be possible to link my Github profile to this PR instead of just my name?
I'm asking because my profile is not added to the list of contributors in this repository

The best I can think of is an addendum with the right author info. @ashwinb1998
If you make another PR with a title similar to:
PHOENIX-6632 Migrate connectors to spark-3 (addendum: add author's preferred identity)
and set the athor to your preferred identity, for some whitesapce/formatting change,
I wil commit to the repo, so that your preferred identity is also shown.

As discussed privately, there is no way to change the linked github profile for existing commits.

@stoty I think this PR can be closed as you already merged the change


Support "patternProperties"

Please put a "thumbs up" on this issue if you need support for this keyword.  We'd like to support it, but we have no immediate need so it's currently low priority.

This set of packages is being deprecated in favor of the JSON Schema Tools monorepo.  Contributions are still welcome here but most work will be done on the new packages.
The new UI is still being designed, but hopefully this should be handled in it.  Feel free to file at cloudflare/json-schema-tools if you want to track this specifically.


[bug]: A fraction number in prompt causes black image

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
8
What happened?
If a prompt contains a fractional number, the whole rendering process produces a black image. Integer numbers cause no problems. If having a fractional number in the prompt is a syntax error, it should be caught before generation - think of poor souls who generate 30 minutes per picture only to find out they accidentally got a number into the prompt.
web 20

web 2.0

web 2/0

Screenshots
No response
Additional context
No response
Contact Details
No response

isnt that because Invokeai is trying to parse the prompt for certain ast-format? such as: (subject:1.1)

The problem is in the way numeric attention values are parsed in the prompt: 2.0 is interpreted as 2 with a weight of .0, which is most likely a bug.
This happens similarly for any words in the prompt that end with a decimal point (.) followed by some digits, such as f/2.8, which is parsed as f/2 with a weight of .8.
Intentional use of numeric attention values following words are parsed incorrectly as well. The prompt intricate1.5 is parsed as intricate1 with a weight of .5.
My suggestion would be to change the prompt syntax specification to only allow numeric weights after parentheses to avoid these issues.

The issue still exists.

This is fixed, thanks!


Guest Speakers - Cohort 2

Update https://careersincode.org/speakers/ to include speakers from our second cohort.
Information can be found on our graduation deck.

[x] Update "Previous Speakers" to "Cohort 1"
[ ] Make a copy of the Cohort 1 section and name it "Cohort 2"
[ ] Plugin list of new speakers with boilerplate info
[ ] @JessePeplinski Upload the guest speaker images

Navabar Update

Move Guest Speakers to the navbar

List of Speakers

[ ] Will Guisbond
[ ] Dana McMullen
[ ] Melissa Schmitz
[ ] Joshua Marris
[ ] Annalena Davis
[ ] David Vorhees
[ ] Erin Smith
[ ] Betania Allo
[ ] Glenn Allen
[ ] Linda Kovacs
[ ] Natasha Falter

Profile Pictures

https://drive.google.com/drive/folders/1AuE1iM5Vbn_3PMLyjepfqbW5VzgJq0Ie?usp=sharing

Dates, Talk Names, Links to Talks

[ ] Will Guisbond, March 29, 2021, Why We're All Business Owners, https://youtu.be/f2RLP4vf2ro?t=20
[ ] Dana McMullen, May 3, 2021
[ ] Melissa Schmitz, May 24, 2021, What is Augmented Reality, https://youtu.be/6LqqdNNehOA?t=1404
[ ] Joshua Marris, June 7, 2021, A Frame, https://youtu.be/vTVo9oK-60g?t=130
[ ] Annalena Davis, June 14, 2021, Breaking into tech, https://youtu.be/UoNQ0z3SmTY?t=74
[ ] David Vorhees, June 21, 2021, Creating beautiful code, https://youtu.be/Cxz5Fi3Fzng?t=114
[ ] Erin Smith, July 12, 2021, The power of connections, https://youtu.be/IqXUUQinhTA?t=221
[ ] Betania Allo, July 19, 2021, https://youtu.be/bpj1NN_kRlU?t=2
[ ] Glenn Allen, August 2, 2021, Life as a freelance IT consultant, https://youtu.be/mbQwtDKv6r8?t=215
[ ] Linda Kovacs, August 16, 2021, https://youtu.be/ld37Z9nMKLs?t=484
[ ] Natasha Falter, August 18, 2021, HR and The Tech Industry, https://youtu.be/uqHTHjt86xU?t=194

Closed with #111


Schema extension: interned keywords

:db/valueType :db.type/keyword is used to denote a restricted set of values. But we store these as strings. We should consider a schema flag to signal that a keyword value should be automatically interned (as an ident or otherwise) to avoid storing duplicate strings in the database.

Note that Datomic does intern keywords.

This is interesting, because it's identical to using a :db/ref type to a :db/idented entid.  The set of known idents is kept in memory and should be very small; I think it would be okay to only accept keywords that already have an ident associated, so that keywords are really enums.  This could be loosened in the future by automatically generating idents for keyword values (at the cost of generating datoms the user didn't explicitly specify), or by storing the intern map separately from the datom store, or by fixing the intern mapping globally.

Additionally: I don't think it necessarily makes sense for this to be a property of an attribute, and we should think about doing this automatically for all keywords… or, conversely, making this an option for all large types (URIs, bigints, strings, keywords).
The nice thing about associating this with a type, rather than an attribute, is that we avoid the kind of split we have with fulltext strings.


[WIP] ✨ Add ?formats param to Posts API

This PR is a bit weird, and very lacking in tests.
I'm not particularly happy with the implementation - there's duplication of the properties at the API and model layer. I think this is a symptom of a much larger problem with regard to separation of concerns between the model & API layer - and one that's not worth fixing right now.
Note: I've implemented this such that if you did something like:
/posts/?formats=mobiledoc,html&fields=id,title
You'd get all 4 fields returned, and don't have to specify the formats in both formats and fields. This is a little bit inconsistent with what happens if you did:
/posts/?include=tags&fields=id,title
Where you'd only get the id and title fields, despite having requested tags.
I thought about this, and came to the conclusion that the concepts are different enough that it makes sense. Having to duplicate formats in a fields request is weird because they're both column names.
However, include=tags represents a whole object, not just a single field, and so eventually we want to be able to support something like
/posts/?include=tags&fields=id,title,tag.name
or
/posts/?include=tags&fields=id,title,tag.*
refs #8275

Adds support for formats param
Returns html by default
Can optionally return other formats by providing a comma-separated list

TODO:

[ ] revisit implementation - can we do this without duplication? (maybe track this as a separate task)
[ ] add some tests
[ ] ensure that ?fields can't be used to override ?formats in confusing ways

This works pretty good already. Thanks for pre-work :upside_down_face:
I will add some tests and look at the duplicated code occurrences.
The admin panel will request the following formats: mobiledoc & plaintext.

However, include=tags represents a whole object, not just a single field, and so eventually we want to be able to support something like

Agree, i can see what you mean. A tag doesn't contain a huge data set, just some short strings. Something we can improve in the future, but i wouldn't raise an issue out of it. Let me know if you would like to 👍


As a user, I should be able to control the music's volume from the web player.

Volume control doesn't appear to be working as inspected.  I am looking into this.


[BUG] exportVariable crashes

import 'package:actions_toolkit_dart/core.dart' as gha;

main() {
  gha.exportVariable(name: 'FOO', value: 'bar');
}

Unsupported operation: Cannot modify unmodifiable map
#0      _UnmodifiableMapMixin.[]= (dart:collection/maps.dart:269)
#1      exportVariable (package:actions_toolkit_dart/src/core/core.dart:18)
#2      BuildIosCommand.run (package:iv_sidekick/src/commands/build_commands/build_ios_command.dart:48)
#3      CommandRunner.runCommand (package:args/command_runner.dart:209)
#4      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:119)
#5      new Future.sync (dart:async/future.dart:301)
#6      CommandRunner.run (package:args/command_runner.dart:119)
#7      SidekickCommandRunner.run (package:sidekick_core/sidekick_core.dart:92)
#8      runIv (package:iv_sidekick/iv_sidekick.dart:48)
#9      main (file:///Users/pascalwelsch/Projects/vodafone/invo-frontend/packages/iv_sidekick/bin/main.dart:4)
#10     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295)
#11     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192)

Reproducible with 0.4.0. Either Dart changed Platform.environment to be unmodifiable recently or it never worked

@passsy good catch! Fixed in 0.4.1. I'll close this issue, fell free to reopen if problem not fully fixed.

Thanks for the fast update!
I now get the error with 0.4.1
Invalid argument(s): Missing file at path: /Users/runner/work/_temp/_runner_file_commands/set_env_6c0c95c2-5178-4599-8b3f-97a41170dcb7
#0      issueFileCommand (package:actions_toolkit_dart/src/core/file_command.dart:16)
#1      exportVariable (package:actions_toolkit_dart/src/core/core.dart:25)

@passsy can you provide more details about your current problem?


unable to login

since some day i can't login to my account. home assistant ask me to accept the 2FA notification but, after accepting it, if i click "GO" nothing happens.

solved

@andreaconfa how did you solve it? I got stuck in that page too, approved from my SMS link but nothing happens.


it's possible to use LightboxOptions

Hi, it's possible to use LightboxOptions for enlarge my widget?
thanks

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

ID: 4504a134-dfd7-0cc9-3292-6844d49b4fe8
Version Independent ID: e121af02-6651-65bf-a953-fda719e90e3e
Content: Add a chart
Content Source: docs/extend/develop/add-chart.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

is it possible to use in other widgets?

if it was written:
"contributions": [
{
"id": "chart",
on vss-extension.json
It should also have been written:
VSS.register("chart", function () {
on the javascript
but not: VSS.register("piechart"

Adding @jtpetty for further guidance/assistance, thank you!

Hi @gino983, Please @mention me if you have any further questions and I'll be happy to help. Thank you!


add the text of use of inheritance

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @username. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


OAuth2::AccessToken#refresh! "NoMethodError: undefined method `options=' for nil:NilClass"

I modified refresh token to be invalid and refresh! is throwing this (NoMethodError: undefined method options=' for nil:NilClass) error. Is it possible to throw a more semantic error similar to raise('refresh_token is not valid')? This way we can catch the error on our end and handle it accordingly.
Notes:

access token is expired.
refresh token is not expired.
refresh token is invalid.

My app occasionally gets the undefined method options=' for nil:NilClass (NoMethodError)` when refreshing. Is this due to an invalid refresh token then?

Great question.  If you are able to provide any additional details, or even a failing spec in a PR that would be very helpful.  I'm working on increasing spec coverage from 97.4% to 100% now.
Are you using the 1.4.x series, or master branch (2.0.x series)?

@kharamel this happens when the response doesn't contain access_token or id_token and nil is returned at https://github.com/oauth-xx/oauth2/blob/master/lib/oauth2/client.rb#L186.
In order to solve this issue, you need to pass in raise_errors as true in your options, and then this gem will turn whatever was in the response into an OAuth2::Error object which you can then rescue and handle however you wish.

Thanks for helping @Exellin !!


Added additional logic for setup_hook when hook_type == NO

Related to Issue #49

Thank you for contributing!!


Reviving a battery

Hi, first, thanks for your contribution and making this project open source. There are so many snakeoil and way over priced tools for the Segway community...
It might be a silly question, but do you have any details on how to revive a battery than hasn’t been charged in a few months. It’s is currently at around 8v and solid red when trying to charge it with onboard charger.
I understood that the batterie need to somehow go back to ~50v to be charged with the onboard charger. I have seen a few companies offering to revive the battery for $300 or more. But it seems to be way over priced. Would you happen to know what those reviver do exactly ? And could I build a cheap DIY reviver myself without damaging my battery ?

You can’t revive an 8 volt battery. The cells are damaged by discharging it that low.

On Mar 5, 2021, at 7:51 AM, Titon<EMAIL_ADDRESS>wrote:

Hi, first, thanks for your contribution and making this project open source. There are so many snakeoil and way over priced tools for the Segway community...
It might be a silly question, but do you have any details on how to revive a battery than hasn’t been charged in a few months. It’s is currently at around 8v and solid red when trying to charge it with onboard charger.
I understood that the batterie need to somehow go back to ~50v to be charged with the onboard charger. I have seen a few companies offering to revive the battery for $300 or more. But it seems to be way over priced. Would you happen to know what those reviver do exactly ? And could I build a cheap DIY reviver myself without damaging my battery ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can’t revive an 8 volt battery. The cells are damaged by discharging it that low.

eh. Not really the answer I was hoping to read. :)
The battery was rebuilt ~6 months ago. I must have charged it 2-3 times and it worked fine.
I didn't charge it for the past 3 months... Both batteries were left in the PT (gen1).
One battery is still at 75v, while the other is at 8v now. Any idea what could have happened ?

8V is too low... you definitely have damaged cells at this point.
While I very much DO NOT RECOMMEND THIS... You can try trickle charging
with constant current ( 50mA-100mA ) the battery to around 50-51V cutoff.
That will bring the BMS back to 'safe voltage' mode and then you can
connect up to I2C and power it up to evaluate the cell groups.  If they
appear to be charged and stable... you can try charging with an off board
charger.
Again.  The cells are damaged by discharging
it that low.
eh. Not really the answer I was hoping to read. :)
The battery was rebuilt ~6 months ago. I must have charged it 2-3 times
and it worked fine.
I didn't charge it for the past 3 months... Both batteries were left in
the PT (gen1).
One battery is still at 75v, while the other is at 8v now. Any idea what
could have happened ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/martinbogo/pt-battery-diagnostics/issues/10#issuecomment-791433723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5KKLNA2WPRRDCYIDSXR3TCDPEJANCNFSM4YVFITQA
.


Dictionary Label Rule Conversion failing for several label rule names

The Dictionary Label Rule Conversion is failing for several label rule names that contain the strings (“Irregular” / “Circular” / “Rectangular”) and a couple other cases where the Label names and the Symbol names do not match up exactly.
This results in the dictionary having a "-1" entry in the LabelRules column and the labels not being drawn for that symbol in Runtime.

2525C issue changing milestone to deferred

This issue was moved to Esri/military-symbology#260


NJWE-1807 - default og tags

related to NJWE-1807
What I did:

created default hard coded seo data as a stop-gap to ensure better shareability
The hardcoded data is overwritten once the page loads, but the page data needs to be "Hydrated" in order to see it. That's why nothing/wrong info shows up
this will ensure that something relavant will appear
the images that I chose to use are just screen grabs of the page, we can replace those as soon as something is ready
[ ] Dev review
[ ] Design review

@mflymfly I can put this in the user research branch if you'd like? or we can schedule some Zoom time to go over together

@ChelseaKR just not sure how to go about testing so whatever works


enterprise-gateway-2.3.0

reference
https://jupyter-enterprise-gateway.readthedocs.io/en/latest/kernel-kubernetes.html#configuration
modified from
https://github.com/jupyter/enterprise_gateway/releases/download/v2.3.0/jupyter_enterprise_gateway_helm-2.3.0.tgz

@liranp this is one of the wave components we need to host a chart for since
(a) it's not being hosting in a chart repo at all
(b) we have to make some modifications for the notebook namespace
@thorsteinnth I tested with and without a specified namespace, but please take a look

I don't know what this linter is expecting, according to https://helm.sh/docs/topics/charts/#the-chartyaml-file, maintainers.name is just a name, not a url.

fwiw, with the default chart schema, the maintainer must be a valid github account, https://github.com/helm/chart-testing/issues/192 ¯_(ツ)_/¯


What's the right way of using KV with vite-plugin-cloudflare-functions?

The demo https://vite-plugin-cloudflare-functions.pages.dev/api/state/key1  will get Error 1101
I created a minimal repo from the playground, the vite works well locally, but same error with deployments.

$ curl https://<...>.pages.dev/api/world
{"status":"OK","data":"Hello, world!","env":{"...

$ curl https://<...>.pages.dev/api/state/key1
Error 1101

# verify the api token and the KV namespace
$ wrangler kv:key --namespace-id <...> put key1 val1
$ wrangler kv:key --namespace-id <...> get key1
val1

The wrangler.toml:
name = "playground"
workers_dev = true
send_metrics = false
logpush = false
kv_namespaces = [
  { binding = "KV_STORE", id = "<...>" }
]

For production, I am not sure whether pages function support use wrangler.toml.
I think you should config it on the cloudflare dashboard, like the following picture (KV Namespace binding section)

And you can check whether the binding is working for a deploy.


Merging multiple -if/fi into single if/elif/fi

Introducing another env var for unit tests
Making travis build not fail if one of fi statements fails (not the command that's supposed to run inside it)

👍

FYI this is why I used an external script. 😄

LGTM.

@bootstraponline @tirodkar @sid-github
This is good to go. Please do another pass.

Looks good.

LGTM (PR comments dont mention the changes you made to unittest proj file, consider adding them).

@sid-github I reverted the changes to unit test. @tirodkar will be sending new PR with all those changes

wait on travis results for the latest commit:
https://travis-ci.org/google/EarlGrey/builds/140962893