Some examples doesn't build

Hi,
I was triying to build the examples, but the build fails due to a missing vitis_common package.
I think that the problem is that in the install instructions (https://xilinx.github.io/KRS/sphinx/build/html/docs/install.html), in the krs_alpha.repos file, the vitis_common repository is missing.
I cloned it manually and now the examples build, so is necessary to add vitis_common repository to the krs_alpha.repos file
regards,
Pedro

Thanks for this @pimartos, it's been addressed at https://github.com/Xilinx/KRS/issues/10. This issue was raised a few days ago, sorry it took Xilinx took few days to fix it.
It's been fixed now and you can find the latest version of the repos at https://github.com/Xilinx/KRS/blob/main/krs.repos. Do feel free to raise issues if you encounter other problems!


[Feature Request] Folia support

It would be great to have folia support.
I'm going to create a PR, so here is a little Feature Request.

With a regionized server, global MSPT/TPS doesn't make sense as a concept.
Displaying information for all regions in the displays would be cluttered to the point where it becomes useless.
The best I think we could sensibly do is display information for the player's current region. If anyone has a proposal for something more extensive, feel free to share, but if it's too cluttered it won't be accepted.
Anyways, there's a lot more to monitor with Folia than with Paper or other supported platforms, and if you have a use case where Folia makes sense, you should probably be using something like UnifiedMetrics anyways.

I was going to add the following modules:
region_tps: Current region TPS
tps: Mean TPS on Folia
median_tps: Medial TPS on folia
Same with MSPT

I would prefer naming like
current_region_tps
regions_mean_tps
and etc. Would probably want min and max too.
As for the existing tps and mspt modules, I think we should just have them delegate to the current_region equivalent when running on Folia.
Another thing is the tick info command should not be registered on Folia. Folia's built-in command is good enough that we don't need to waste effort implementing that.

I would prefer naming like current_region_tps regions_mean_tps and etc. Would probably want min and max too.
As for the existing tps and mspt modules, I think we should just have them delegate to the current_region equivalent when running on Folia.
Another thing is the tick info command should not be registered on Folia. Folia's built-in command is good enough that we don't need to waste effort implementing that.

I strongly agree with this.
Wanted to check in, on when this could end up live


Issue pulling docker images from local registry.

I have a docker registry set up at <IP_ADDRESS>, and am trying to deploy the image example with the latest tag onto a deis cluster.
ubuntu@ip-10-10-1-197:~/deis/example$ deis pull <IP_ADDRESS>/example:latest
Creating build... 503 SERVICE UNAVAILABLE
Detail:
GET Image Error (404: {"error": "Tag not found"})

I cannot seem to be able to figure out why I'm getting this error, as I'm 100% sure the tag exists in the registry, and I can also manually log into the coreos hosts and do a 'docker pull' and it fetches it fine. I also had to manually install cacert bundle on the coreos hosts - or else docker refuses to pull because of a self signed cert. Is docker used in any of the deis services that would need it installed too?

@SomeoneWeird deisctl journal registry@1 may help debug the issue, though I think this may be related to https://github.com/deis/deis/issues/4089 or https://github.com/deis/deis/issues/3550.

Hmm, it looks like it's timing out because it's trying to connect to :80 and not :443, is SSL not supported by them yet?

Reading over the other issues - they seem to be a similar problem. I put in a 80->443 redirect in nginx that is sitting in front of my registry - no dice. Everything is running docker 1.5.
Strangely, watching the journal logs for deis-registry, it seems to be getting 500s from the deis registry?
Sep 01 02:03:15 ip-10-21-2-17.ap-southeast-1.compute.internal sh[2647]: <IP_ADDRESS> - - [01/Sep/2015:02:03:15 +0000] "POST /v1/repositories/example/tags HTTP/1.1" 500 65 "-" "python-requests/2.7.0 CPython/2.7.9 Linux/4.0.1"

it happened to me with remote images, maybe because it was already pulled once ?

@SomeoneWeird yes, the external registry must allow unauthenticated connections on port 80 in order for deis pull to do its magic, unfortunately.

by remote I meant offical docker hub images

@bacongobbler The registry doesn't have any kind of authentication, it only has SSL running because if it doesn't you need to start all the docker daemons with --insecure-registry, as far as I'm aware.


Flinkwebui Add Proxy Jump Configuration

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Because the production environment has no network，
When I click the flinkwebui, I hope that I can jump to the ui interface through the proxy method. This is the configuration method:
http://sz25076:8088/proxy/{{applicationId}}/

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

1.0 has supported


Wiimote support?

Please check for duplicates before creating an issue. See #21.

Oh, right, thanks for letting me know.


'DOM.scrollIntoViewIfNeeded' wasn't found

What versions are you running?
$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.7.4
$ google-chrome --version
Chromium 75.0.3770.142
$ go version
go version go1.16.6 windows/amd64

What did you do? Include clear steps.
Hello everyone, I have a problem with chromedp
I try to access to a web page thanks test and I got the error : 'DOM.scrollIntoViewIfNeeded' wasn't found (-32601)
My code :
// Emulate a mobile
err := chromedp.Emulate(device.IPhoneX).Do(c)
if err != nil {
   return err
}

// Go to register endpoint
err = chromedp.Navigate(REGISTER_ENDPOINT).Do(c)
if err != nil {
   return err
}

// Wait the cookie modal
chromedp.WaitVisible(COOKIE_BTN_SELECTOR).Do(c)
if err != nil {
   return err
}

// Accept cookies
err = chromedp.Click(COOKIE_BTN_SELECTOR).Do(c)
if err != nil {
   return err
}

I have update the dependencies and after that, my code return me this error, it worked before that.
The error appear when I run the "accept cookies" phase
What did you expect to see?
No error, like before
What did you see instead?
An error 'DOM.scrollIntoViewIfNeeded' wasn't found
Thanks for your help
Have a good day

I have try to use scrollIntoViewIfNeeded func in a page with my version of Chromium and that work
A example to show it work :

Please upgrade your chromium. DOM.scrollIntoViewIfNeeded is a CDP command. It is needed in chromedp v0.7.4. Sorry that when I used it, I did not check which version of chromium started to support it, and failed to mention it in the release notes.

Just read https://github.com/chromedp/chromedp/issues/877#issuecomment-881875183. IIRC, chromedp.Flag("enable-automation", false) should work in a  recent version of chromium. Please have a try and let me know the result. Thank you!

Hello @ZekeLu
I have installed the version 91.0.* version of chromium
The enable-automation didn't work :

Google use the window.navigator.webdriver value to identify when the browser is controlled
Here the documentation of this :
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver
That work in the 75.0.* version
Do you know why ?
Have a good day and thanks you for your quick reply

@FournyP I have searched the commit history of chromium, and I have a bad news. window.navigator.webdriver is set to true if any of the following switches is contained in the command line since 79.0.3922.0:

enable-automation
headless
remote-debugging-pipe
remote-debugging-port (or remote-debugging-port=0 since 86.0.4199.0)

And DOM.scrollIntoViewIfNeeded is added in 82.0.4056.0. So there is not an easy way to workaround the issue.
Here are the references:

Additional switches to set EnableAutomationControlled: https://github.com/chromium/chromium/commit/a6e3413f883eec39b987612737aa8250957a80e3
Leave navigator.webdriver undefined when attaching remote debugger: https://github.com/chromium/chromium/commit/c0a619c06981df4f8d6b7c7bf4c9014613ecb668
DevTools protocol: introduce DOM.scrollIntoViewIfNeeded: https://github.com/chromium/chromium/commit/9a0d32249c8289b22e6f80813dbf1478e1fb09bf

So after 86.0.4199.0, we have to set the following flags to make window.navigator.webdriver be false:
// Set enable-automation to false alone is not enough to make
// `window.navigator.webdriver` be false since 79.0.3922.0.
// Headless mode should be disabled too, which is not acceptable
// for automation in my opinion.
opts := append(chromedp.DefaultExecAllocatorOptions[:],
	chromedp.Flag("enable-automation", false),
	chromedp.Flag("headless", false),
	// any port other than "0" will work since 86.0.4199.0
	chromedp.Flag("remote-debugging-port", "9222"),
)

A better workaround is suggested by @pmurley in https://github.com/chromedp/chromedp/issues/557#issuecomment-575727046.

@ZekeLu
No problem, thank you for your reply
Have a good day

when I sign in to my google account at https://accounts.google.com
I use flags
opts := append(chromedp.DefaultExecAllocatorOptions[:],
chromedp.Flag("headless", false),
chromedp.Flag("enable-automation", false),
chromedp.Flag("remote-debugging-port", "9222"),
)
then you can log in, without being warned that the browser is not secure.
Currently, I want to put it on the server to run, but I can't use flag
chromedp.Flag("headless", true)
how do i get it running on the server without chrome?
help me @ZekeLu


Identify branch from URL

Thanks for the super-nice add-on!
I noticed that if you call the extension when you're browsing a feature branch, it doesn't detect the tree in the URL, and launches Binder with master. Can this be tweaked so the appropriate branch gets called in Binder?
Thanks, once again!

Yes, that's the plan, and I believe also discussed in issue #1 ! I think I have it working I need to do a couple of sanity checks first.

@Carreau: Excellent! Please close this issue, then, if it's easier to track everything under #1. Thanks!

Released, you can head there and click install to update to the new version. Let me know if there are bugs.

Works like a charm! :D


Update pom.xml

version

@geqinxiang maybe you can compile nacos source code, it will install nacos-core jar in your local repo, or you can use https://mvnrepository.com/artifact/com.xkcoding.nacos/nacos-core  dependency to solve this problem.


remove warning

remove warning

+1 Also encounter this.

+1 Also encountered this.

yaoyuan同学又回来了!

@ibireme 什么时候发布新版本的Pod? 目前还是1.0.7


problem running portainer as non root

I've been trying to make a dockerfile to run portainer as a non root user and this is what i am using at the moment, i've been inspired by this link :
    FROM ubuntu:16.04

    RUN ["groupadd", "--gid", "1000", "-r", "ubuntu"]
    RUN ["useradd", "--uid", "1000", "-r", "-g",  "ubuntu", "ubuntu"]

    RUN apt update -y &&\
    apt install -y tar wget

    RUN mkdir /home/ubuntu
    RUN chown -R ubuntu:ubuntu /home/ubuntu
    RUN mkdir /data && chown -R ubuntu:ubuntu /data

    COPY --chown=ubuntu entrypoint.sh /entrypoint.sh

    USER ubuntu

    RUN cd /home/ubuntu && \
    wget https://github.com/portainer/portainer/releases/download/1.19.2/portainer-1.19.2-linux-amd64.tar.gz && \
    tar xvpfz portainer-1.19.2-linux-amd64.tar.gz

    EXPOSE 9000

    ENTRYPOINT ["/entrypoint.sh"]

and this is the entrypoint.sh:
i've tried :
    #!/bin/bash
    /bin/bash && cd /home/ubuntu/portainer && ./portainer --template-file "${PWD}/templates.json" -p <IP_ADDRESS>:9000

and
    #!/bin/bash
    /bin/bash && cd /home/ubuntu/portainer && ./portainer --template-file "${PWD}/templates.json"

The problem is that:
   docker run IDBUILD -p 9000:9000 -v /var/run/dockerock:/var/run/docker/sock

does not seem to do the port forwarding correctly , no process is using it on the host and i've even tried to run the dockerfile  on a fresh vm .
If i do an exec bash and go inside the container i can execute telnet localhost:9000 and i get the ìndex.html` but when i use the same command on the host of the  container i get the access refused error .

The command was wront this is the correct one :
docker run -p 9000:9000 -v "/var/run/docker.sock:/var/run/docker.sock" 4cf9d0df5885


Stops plants from growing when they do not have enough resources

About the PR

Plants were growing without the need for water or nutrients.
Checks
Why / Balance

This issue was brought up in https://github.com/space-wizards/space-station-14/issues/21494 .
Plants should not grow without the resources needed to build their cell structures.
Technical details

Checks if a plant is missing nutrients or water every update instead of waiting for _random.Prob(0.35f) to return true.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

fix: You now need water and nutrients to grow plants.

I wasn't sure how I should have gone about fixing this issue.
It was really weird how the logic for plants requiring resources to grow was behind a random chance event.

add :cl: in a line before fix:


osmtogeojson: init at 3.0.0-beta.4

Motivation for this change
osmtogeojson was not packaged.
3 packages do not build, but they were broken before this patch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

hyperspace-cli
timedoctor

3 packages failed to build:

theLoungePlugins.plugins.closepms
theLoungePlugins.themes.flat-blue
theLoungePlugins.themes.flat-dark

43 packages built:

antennas
antora
balanceofsatoshis
castnow
commitlint
create-cycle-app
deltachat-desktop
discourse
discourseAllPlugins
epgstation
fast-cli
flexoptix-app
gtop
joplin
lessc
lumo
mastodon-bot
pm2
postcss-cli
pyright
redoc-cli
reveal-md
shepherd
slack
styx
teams
thelounge
vimPlugins.coc-explorer
vimPlugins.coc-metals
vimPlugins.coc-prettier
vimPlugins.coc-pyright
vimPlugins.coc-stylelint
vimPlugins.coc-vetur
vscode
vscode-extensions.matklad.rust-analyzer
vscode-extensions.ms-python.vscode-pylance
vscode-extensions.vadimcn.vscode-lldb
vscode-fhs
vscode-with-extensions
vscodium
vscodium-fhs
whalebird
zerobin

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

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

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

[x] Fits CONTRIBUTING.md.

The preferred way to package nodejs programs is now to use buildNpmPackage, which is easier to use and does not rely on codegen.
Also this PR looks rather stale.

Sure, buildNpmpackage is nice but it did not exist back them.
I'll open a new PR since I can't reopen this one.
Also, this PR was not stale. Nobody had anything to say because it is a trivial package and it was ready to be merged for ages (except for codegen conflicts) and : I don't call it stale.


Watching and concatenating files outside root folder

I have some code shared between projects and want to include it.
Mac OS 10.9.4, Node 0.10.33, Brunch 1.7.19
My config file:
exports.config =

  path:
    watched: ['app', '../base/app/**']

  conventions:
    assets: /^app\/assets\//
    # ignored: []

  files:
    javascripts:
      joinTo:
        'js/vendor.js': ['bower_components/**']
        'js/bundle.js': ['app/**', '../base/app/**']

    stylesheets:
      joinTo:
        'css/main.css': /^app\/styles/

  modules:
    nameCleaner: (path) ->
      path.replace /^app\/javascripts\//, ''

  plugins:
    react:
      autoIncludeCommentBlock: yes
      harmony: no

    uglify:
      mangle: false
      compress:
        global_defs:
          DEBUG: false

  server:
    port: 3000

But nothing happens
I have solved it symlinking folder inside app to force watching it
ln -s ~/Projects/js/base/app app/base

If you dont want to support this behavior please tell where can fix it myself

@paulmillr Please qualify this as a 'bug'.
The "normalizing" is broken. If I tell in the config
paths: {
    watched: [
      '/some/abs/path',
      'relpath',
    ]
}

I expect the watcher to watch

/some/abs/path
{root}/relpath

Currently (2.7.4) the watcher tries to watch

{root}/some/abs/path
{root}/relpath

This is broken, because

it simply ignores / messes with an explicit setting (it mangles the leading slash away) instead of issuing a warning
the behavior is not documented (at least I could not find it neither here https://github.com/brunch/brunch/blob/master/docs/config.md#paths nor here https://github.com/brunch/brunch-guide/blob/master/content/en/chapter03-conventions-and-defaults.md#folders)

I know that this setup is "against convention", but if there is a means of changing a convention in the config, I expect it to follow the configuration, not a "best guess derived from the configuration".

This commit https://github.com/istr/brunch/commit/abb7759e1adefd3c8e98eb4e1396d61aff238b07
resolves the issue for me.
Basically it is broken to use sysPath.join() (i.e. require('path').join()) to resolve one path against another (e.g. against "root"). Probably there are other occurrences within the brunch file / path resolving logic that have this issue, too.

@istr that does indeed seems to work. I've created a PR with that https://github.com/brunch/brunch/pull/1335/files 👍

@goshakkk I did not yet create a PR because I am unsure if the current behavior is intended -- the number of occurrences in the code suggest that it is intentional to treat '/root/relative/path' being "relative to brunch root" rather than being absolute (like I would expect), especially with regard to plugins. Please discuss with @paulmillr if this needs better documentation or simply a bug-fix.


How can i group nodes by category?

I am trying to generate an organization chart that displays data by category. I need to display all nodes with the same category at the same height, but I can't generate the background or move the nodes to the desired height. Is there any way of doing this?
(I attach an image as an example)
Thank you!

You might want set set
chart.compact(false)

Thanks @bumbeishvili, I tried this, but with "chart.compact(false)" it only shows the nodes at the same height according to their parent... But if there is a parent node that has two children with different categories, they will be shown at the same height.
I attach an image that explains better, keep in mind that "Assistant 1" should be at the same height as "Assistant 2" but since it has the same father as "Director" and "Dep. Boss" it is shown at the same height than these.

Ok, thanks for your prompt response.
Cheers!

Ok, thanks for your prompt response.
Cheers!


Number followed by "rd", "nd", "th", "st" don't format correctly with titleCase

If you have the word 20TH, it becomes 20Th instead of 20th with titleCase
Same for all other examples with rd, nd, th, st

I see commits being made, thank you!
I use this tool everyday, so it's nice to see you taking the feedback on!

Fixed with 1de397c7d5b100e4575ed2f44fcb97e6861d143d


myStrom Wifi Switch photovoltaic

the switch has the ability be used for photovoltaic unit. In this case, i want to read the earned Watt. I just find power consumption.
How can i read the power delivery value?

I don't know as the documentation doesn't mention this. It's probably only available in the myStrom App.

The standard HAP interface don’t have characteristics for power production, just consumption. The mystrom switch is HAP certified, so I hope they have a UUID (service and characteristic) for power production - should have this. Typically the existing UUIDs will be offered at the first connect to the HAP interface. Are you able to trace the connection? It would be very helpfull
many thx

If you call the /report endpoint, you get the following output:
{
    "Ws": 26.43,
    "boot_id": "85A81EF3",
    "energy_since_boot": 278809314.67,
    "power": 27.29,
    "relay": true,
    "temperature": 20.58,
    "time_since_boot": 2612678
}

-> energy_since_boot should be what you need.
If you use HomeAssistant, you can also use an integration instead to calculate energy production (or consumption).
sensor:  - platform: integration
    source: sensor.mystrom_solar_leistung
    unique_id: balkonsolar_production
    name: "myStrom Solar Production"
    unit_prefix: k
    round: 3

(Source sensor must be adjusted of course.)


Don't show the 'Files will be moved to...' string on the main screen

This is legacy debug information that can be misleading as files are not moved to this directory. We should probably remove it.

Removed in #311.


i18n(fr): update guides/markdown-content.mdx

Description (required)

Add changes from #9379 to French translation of guides/markdown-content.mdx

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/markdown-content.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


technical details

Hello,
I have few doubts on how you organize and use graphql schema along with acl. I may give a shot at writing a wiki page once I am clear about this. Most of the doubts are because I am too new to graphql and relay.

schema/rootQuery.js

so, there is ONE root field, viewer and all the fields defined in rootQueryFields are mapped into relation/connection through attachFields ? Is this necessary or can we have multiple root query nodes?

For acl to work, does all the query need to be in viewer ?

can you talk a bit about acl like
3.1) can we have authorization per field ( I saw the wrapper is on each field, so I guess the answer is yes)
3.2) How performant is doing this per field.
3.3) How it is handled for relations. Is it possible to restrict per field on the edges?

I have more but may help me to proceed with your explanation.
thanks a ton again,
bsr.

Hello,

viewer field is required for Relay, because Relay now can't make custom queries to root fields.
ACL isn't related to viewer. You need to use wrapField to make ACL work.
3.1. Yes, you're right :smile:
3.2. It depends. It performant while your ACL is synchronous and makes no queries to database. If your ACL is database-dependent so it will make additional database query per each field.
3.3. You could use wrapConnectionField to filter edges by ACL.

Right now ACL is working on object level but not on object field level. It means you can't filter specific regular fields (like strings) from response, only relation fields.

I do not see an explicit reference of viewer in relay source though (only in tests). Also, graphql-relay-js supports multiple fields. I have added a gitter room here and it will tremendously help if you can spare some time. Please ping me when you are available.  thanks.
https://github.com/graphql/graphql-relay-js/blob/master/src/__tests__/starWarsSchema.js
/**
 * This is the type that will be the root of our query, and the
 * entry point into our schema.
 *
 * This implements the following type system shorthand:
 *   type Query {
 *     rebels: Faction
 *     empire: Faction
 *     node(id: String!): Node
 *   }
 */
var queryType = new GraphQLObjectType({
  name: 'Query',
  fields: () => ({
    rebels: {
      type: factionType,
      resolve: () => getRebels(),
    },
    empire: {
      type: factionType,
      resolve: () => getEmpire(),
    },
    node: nodeField
  })
});

Relay supports root fields, but that fields have limits. Read more here.

thank you.


The conditional judgment in the pb_write function is not necessary

file: pb_encode.c
Hi,
there is a conditional judgment in the function pb_write as follow:
if (stream->bytes_written + count < stream->bytes_written ||
            stream->bytes_written + count > stream->max_size)
        {
            PB_RETURN_ERROR(stream, "stream full");
        }

I think "stream->bytes_written + count < stream->bytes_written" is not necessary, because count > 0, it is always true.
maybe it is better to write as follow：
if (stream->bytes_written + count > stream->max_size)
        {
            PB_RETURN_ERROR(stream, "stream full");
        }

it can't pass the coverity code scan system if "stream->bytes_written + count < stream->bytes_written" is there.
if using coverity to scan the code, there will be a error if "stream->bytes_written + count < stream->bytes_written" in the code, because
coverity think that it is always true and it is not necessary.
Is it possible to delete "stream->bytes_written + count < stream->bytes_written" in the pb_write function?

It checks against unsigned integer overflow (for example if bytes_written = SIZE_MAX/2 and count = SIZE_MAX/2+1). Because unsigned overflow is fully defined in C11 and later, I'd expect code analysis systems to understand it.
There may be an alternative formula that is equivalent and I'm ok with replacing it, but I think the overflow check is necessary in one form or another.

Got it! Thank you so much!


macOS text insertion caret location issue after select-all and keyboard arrow navigation

Description
macOS text insertion carat location issue after select-all and keyboard arrow navigation
Select all text in a SQL editor (more that one line is required)
press the left arrow button on the keyboard.
The macOS text insertion carat should go to the top of the selected text and set the text insertion carat at text position  0 on the top line
pressing left arrow does not do this, rather the insertion marker moves to position 0 on the last line that had the text insertion carat.  This is not what every other macOS app behaves and is very discombobulating/annoying :-)
if instead I had pressed  the up arrow, then the text insertion moves to the correct location.
The text is unhighlighted correctly in both instance
DBeaver Version
Community Version <IP_ADDRESS>307091549
Operating System
macOS Ventura 13.4.1 (c)
Database and driver
PG 15
jdbc:postgresql
Steps to reproduce
see above
Additional context
DBeaver is wonderful! A fantastic product

@angusaustralia Hello. Can you please recor a video of this behavior. I wasn't able to reproduce it on MacOS 12. For me no matter what part of the text I highlight, pressing the left arrow key move the carret to the top-left part of the highlighted text. In case of selecing all text it moves to the start of the document.

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


Dashboard for streamers

Would like to see a simple dashboard made for streamers, allowing them to close the twitch dashboard and just have the pajbot dashboard open. Something similar to PhantomBot's dashboard would be cool:

Twitch added a dashboard, I don't see a point to this anymore


Closure of inactive sessions not correctly handled

Currently, when the MySQL server (X Plugin) closes inactive sessions (after mysqlx_wait_timeout seconds), an incorrect error is returned:
failed unmarshalling server message type NOTICE (proto: required field Mysqlx.Notice.Warning.code not set)

This is itself a bug, as we would actually expect an EOF.

The problem with the required field is not set, is actually something we need to address in protobuf. We should AllowPartial unmarshalling option.


Serializable Custom Conditions

Currently many homebrew features require storing some dynamic variables to compute for different purposes. And to make them persistent in game save, we just like stack conditions and count number, which is just not so versatile.
With patching in serialization process in RulesetActor, it now supports serialize objects inheriting RulesetCondition. This is an existing practice elsewhere in vanilla game.
So now if you have some condition variables (int, string, whatever) to store, you just create a dummy ConditionDefinition for reference and a new class inheriting RulesetCondition and ISerializable, implementing two serialization functions to to serialize your newly added properties, that's done.
we can copy/paste InflictCondition to make it usages similar to old practice, like append another param to initialize custom condition properties.
Have no impact on current saves.
Hoping this utility helps with bolder imagination.

Also, a new TypeExtensions is added to handle patching generic overloaded functions, which makes matching functions easier.

How serialization would handle changes to the custom RulesetConsition?

Also since RulesetConditions seem to serialize their attributes in theory we can just add custom attributes to regular ruleset conditions to track some stuff

How serialization would handle changes to the custom RulesetConsition?

To my knowledge if the condition is not currently applied to any character, it will be fine.
If you newly add a property and properly handle it in default constructor, It will be fine too.
But a remove of property will cause nre when loading from save, but it is catched, so the game will not crash at the moment. But I don't know if it prevents new saving.
(All theoretical analyzation)

Also since RulesetConditions seem to serialize their attributes in theory we can just add custom attributes to regular ruleset conditions to track some stuff

no the serialization is hard coded, you need to hack its function to serialize other things. So I think it's better to make your own.

I think we can add a RulesetCondition to a new category managed by mod so it supports some permanent custom variables)

How serialization would handle changes to the custom RulesetConsition?

But when unpdating your custom condition, you can do through multiple releases. Just postpone serialization by one release.

[SerializationVersion(uint)] attribute can be used to specify version that can be retrieved and checked though versionProvider that's passed to serialization methods, but better to check if it actually works properly - meaning affects only each custom class and doesn't modify base class version. Most likely it works fine, but better safe than sorry.

[SerializationVersion(uint)] attribute can be used to specify version that can be retrieved and checked though versionProvider that's passed to serialization methods, but better to check if it actually works properly - meaning affects only each custom class and doesn't modify base class version. Most likely it works fine, but better safe than sorry.

as for this one, base serialization method is called beforehand. I agree we can use SerializationVersion to control but it's related to vanilla game version so we don't need to check it for our inheritances. Maybe modify this interface to set mod version.

[SerializationVersion(uint)] attribute can be used to specify version that can be retrieved and checked though versionProvider that's passed to serialization methods, but better to check if it actually works properly - meaning affects only each custom class and doesn't modify base class version. Most likely it works fine, but better safe than sorry.

as for this one, base serialization method is called beforehand. I agree we can use SerializationVersion to control but it's related to vanilla game version so we don't need to check it for our inheritances. Maybe modify this interface to add mod version.

After quick look at the TA's code it seems that adding this attribute to our custom class would work properly - each version attribute is processed per type, so us adding and changing it shouldn't affect base code, except base serialization of the RulesetCondition maybe. Need to do a test to check if it is so.

[SerializationVersion(uint)] attribute can be used to specify version that can be retrieved and checked though versionProvider that's passed to serialization methods, but better to check if it actually works properly - meaning affects only each custom class and doesn't modify base class version. Most likely it works fine, but better safe than sorry.

as for this one, base serialization method is called beforehand. I agree we can use SerializationVersion to control but it's related to vanilla game version so we don't need to check it for our inheritances. Maybe modify this interface to add mod version.

After quick look at the TA's code it seems that adding this attribute to our custom class would work properly - each version attribute is processed per type, so us adding and changing it shouldn't affect base code, except base serialization of the RulesetCondition maybe. Need to do a test to check if it is so.

after these tweaks, my game save works just fine.


Implement SCSh SPI for Kubernetes

As a developer, I'd like to implement the SCSh SPI for Kubernetes, so we can use it to schedule Tasks in Kubernetes.
Depends on https://github.com/fabric8io/kubernetes-client/issues/1172 and the client release.
Acceptance:

Implement the SPI using fabric8 client.
Add IT/TCK tests for the SPI implementation.
Define overridable properties not just for the connection configurations, but also for ConJob specification related properties.
Determine validation semantics and the handshake with K8S cluster support.

looks like 4.0.4 was released (https://github.com/fabric8io/kubernetes-client/releases/tag/v4.0.4) so giving it a spin


[Question] The Options when restoring from savepoint

General Question
My StreamX's version is 1.2.1.
I found there are some differences between applications when I tried to restore from savepoint. Sometime I can start application from the latest savepoint without appointing the savepoint manually.Sometime I can only start application by  assigning savepoint manually.
what is the rule about savepoint when I starting application?

see #854


Could support JAXB?

Hello Centic9,
It is a good project. I am porting XSLFSlide show in Android base your project.
But I face the issue about JAXB. I found POI3.17 need JAXB in poi/sl/draw. JAXB is base on standard JDK ,but not in Android SDK .  I study many 3rd solutions (in stackoverflow) to port JAXB but not  successed.
Did you have some suggestion or comment?
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/poi/javax/xml/bind/JAXBContext;
    at org.apache.poi.sl.draw.geom.PresetGeometries.init(PresetGeometries.java:69)
    at org.apache.poi.sl.draw.geom.PresetGeometries.getInstance(PresetGeometries.java:111)
    at org.apache.poi.xslf.usermodel.XSLFSimpleShape.getGeometry(XSLFSimpleShape.java:722)
    at org.apache.poi.sl.draw.DrawSimpleShape.computeOutlines(DrawSimpleShape.java:402)
    at org.apache.poi.sl.draw.DrawSimpleShape.draw(DrawSimpleShape.java:76)
    at org.apache.poi.sl.draw.DrawSheet.draw(DrawSheet.java:71)
    at org.apache.poi.sl.draw.DrawSlide.draw(DrawSlide.java:41)
    at org.apache.poi.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:307)

Can you provide a simple example which triggers this exception? Otherwise it is hard to reproduce/analyze.


Added universal toggles for font and colors

I know there were concerns raised over the rainbow gradient in the results page and I wasn't really sure what the best way to go about fixing it would be but I added the ability to turn on and off the gradient effect from any page. It will also remember your choice using localStorage so you don't have to continuously toggle it.
The bottom of every page has a include footer.pug which is where the controls and code that makes them work is stored. You could remove this from any page where you did not want the controls to appear. I suppose you could also hide it until it is requested by the user but I didn't add that.
In addition, you can change what the gradient for the voting bar looks like by editing the .gradient class in styles.css. The progress bars by default now just have a black background. Editing the background property in the .progressBar class would allow you to change that.
I also found the rainbow bars cute but kind of hard to look at. I realize this might not be an ideal solution that won't get merged in but I felt like I wanted to contribute anyway 😁.
There is one more change which lets you change the Cubano font to Open Sans because even though it is the Coding Train font, it was hard to read especially on small screens.

Here is an example of the gradient toggling
Rainbow on

Rainbow off

Happy to merge, thank you for the contribution! @all-contributors add @elunico for code and design. For an overlay in OBS I can't easily operate an interface but it's a nice feature to have for now and can always create a permanent view with a particular setting later!


"on player right clicks entity" doesn't fire with entity script

The event doesn't fire if an entity script is specified, rather than a normal entity.
pEnt:
  type: entity
  entity_type: e@villager
  has_ai: false
  custom_name: Bob

pEnt_Handler:
  type: world
  events:
    on player right clicks pEnt:
    - determine passively cancelled
    - narrate "Oops!"

Current work around required:
pEnt:
  type: entity
  entity_type: e@villager
  has_ai: false
  custom_name: Bob

pEnt_Handler:
  type: world
  events:
    on player right clicks villager:
    - if <context.entity.scriptname.is[!=].to[pEnt]||true> {
      - queue clear
    }
    - determine passively cancelled
    - narrate "Oops!"

This has been fixed, awaiting Pull Request.
https://github.com/mcmonkey4eva/Denizen/pull/63

Implemented into Dev.


Upgrade servo dependency

Hi, it seems that current version of servo-core is 0.10.1 which is outdated and reported as having multiple vulnerabilities by OWASP.
Could you consider upgrading it?

+1


[ENHANCEMENT] Tag content to Microsoft License Types

Describe the solution you'd like
Ability to tag the different playlists to license type (E3, E5, F1, etc). For organizations with mixed licensing, this would allow for better filtering for what each employee has access to.
Describe alternatives you've considered
This can be done with a sub category manually though it requires a ton of research for the business owner to find out which solutions are available for each license. Given the consistency of licensing across organizations, it would be wonderful for Microsoft to provide this support instead and help improve transparency in licensing options.

Thank you for contributing your ideas. At this point we are focusing our efforts on expanding our existing content and are unable to support this at this time. Thanks for using Microsoft 365 learning pathways!
Thanks for using Microsoft 365 learning pathways and your contribution to making this a better tool! We love this suggestion but at this point we are focusing our efforts on expanding our existing content and are unable to support this at this time.


[stable/cockroachdb] Add cert-manager example setup to documentation

Signed-off-by: Joachim Mathes<EMAIL_ADDRESS>What this PR does / why we need it:
@DuskEagle Referring to https://github.com/helm/charts/pull/20425#issuecomment-582573659: I've found the time to extend the documentation on how to use cert-manager certificates with the cockroachdb helm chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@joachimmathes hi there, are you aware of instructions that I might be able to follow to get cockroachdb-client-secure to work with a client root certificate provisioned by cert-manager?
I've been trying to reuse the root certificate provisioned when I setup my cluster, but am getting this error:
W200621 17:48:29.761730 1 security/certificate_loader.go:312  bad filename /cockroach-certs/tls.crt: unknown prefix "tls"
Error: connections with user root must use a client certificate

Here is what my cert lists look like on my client and one of my DB nodes.
client
kubectl exec -it cockroachdb-client-secure \
> -- ./cockroach cert list \
> --certs-dir=/cockroach-certs
W200621 17:50:13.019224 1 security/certificate_loader.go:312  bad filename /cockroach-certs/tls.crt: unknown prefix "tls"
Certificate directory: /cockroach-certs
  Usage | Certificate File | Key File |  Expires   |    Notes     | Error
+-------+------------------+----------+------------+--------------+-------+
  CA    | ca.crt           |          | 2021/06/21 | num certs: 1 |

node-0
kubectl exec -it cockroachdb-0 -- ./cockroach cert list --certs-dir=/cockroach/cockroach-certs
Certificate directory: /cockroach/cockroach-certs
  Usage | Certificate File | Key File |  Expires   |                                                                            Notes                                                                             | Error
+-------+------------------+----------+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
  CA    | ca.crt           |          | 2021/06/21 | num certs: 1                                                                                |
  Node  | node.crt         | node.key | 2020/09/19 | addresses: localhost,node,*.cockroachdb.default.svc.cluster.local,*.cockroachdb,cockroachdb-public,cockroachdb-public.default.svc.cluster.local,<IP_ADDRESS>,:: |

@joachimmathes hi there, are you aware of instructions that I might be able to follow to get cockroachdb-client-secure to work with a client root certificate provisioned by cert-manager?
I've been trying to reuse the root certificate provisioned when I setup my cluster, but am getting this error:
W200621 17:48:29.761730 1 security/certificate_loader.go:312  bad filename /cockroach-certs/tls.crt: unknown prefix "tls"
Error: connections with user root must use a client certificate

Here is what my cert lists look like on my client and one of my DB nodes.
client
kubectl exec -it cockroachdb-client-secure \
> -- ./cockroach cert list \
> --certs-dir=/cockroach-certs
W200621 17:50:13.019224 1 security/certificate_loader.go:312  bad filename /cockroach-certs/tls.crt: unknown prefix "tls"
Certificate directory: /cockroach-certs
  Usage | Certificate File | Key File |  Expires   |    Notes     | Error
+-------+------------------+----------+------------+--------------+-------+
  CA    | ca.crt           |          | 2021/06/21 | num certs: 1 |

node-0
kubectl exec -it cockroachdb-0 -- ./cockroach cert list --certs-dir=/cockroach/cockroach-certs
Certificate directory: /cockroach/cockroach-certs
  Usage | Certificate File | Key File |  Expires   |                                                                            Notes                                                                             | Error
+-------+------------------+----------+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
  CA    | ca.crt           |          | 2021/06/21 | num certs: 1                                                                                |
  Node  | node.crt         | node.key | 2020/09/19 | addresses: localhost,node,*.cockroachdb.default.svc.cluster.local,*.cockroachdb,cockroachdb-public,cockroachdb-public.default.svc.cluster.local,<IP_ADDRESS>,:: |

Hi there, I was able to connect as root this:
kubectl exec -it cockroachdb-client-secure -- ./cockroach sql --url="postgres://root@cockroachdb-public:26257/?sslmode=verify-full&sslcert=/ca-certs/tls.crt&sslkey=/ca-certs/tls.key&sslrootcert=/ca-certs/ca.crt"

I'm not sure if there's a better way (like via mounting secrets to cockroachdb-client-secure, but this will do for now.

@kylos101 You could apply
---
apiVersion: v1
kind: Pod
metadata:
  name: cockroachdb-client-secure
  namespace: my-app
spec:
  serviceAccountName: cockroachdb
  containers:
  - name: cockroachdb-client
    image: cockroachdb/cockroach:v19.2.5
    env:
    - name: COCKROACH_CERTS_DIR
      value: /cockroach/cockroach-certs
    - name: COCKROACH_HOST
      value: cockroachdb
    command:
    - sleep
    - "2147483648" # 2^31
    volumeMounts:
    - name: client-certs
      mountPath: /cockroach/cockroach-certs
  volumes:
  - name: client-certs
    secret:
      secretName: cockroachdb-root
      defaultMode: 0400
      items:
      - key: ca.crt
        path: ca.crt
      - key: tls.crt
        path: client.root.crt
      - key: tls.key
        path: client.root.key

With that pod running a connection can be established with:
$ kubectl exec -it cockroachdb-client-secure -- ./cockroach sql

Does this answer your question? If yes, I will extend the documentation in this PR.

@joachimmathes I had no idea that secret keys could be rewritten using path like that ... thank you so much! Also, nice usage of ENV VARs.
This was perfect, thank you very much for taking the time to help with this. Ultimately I hope it helps more people adopt cockroachdb. 👍


How to get pose of data

Hi,
When use
python download_training.py  --depth --only-easy --rgb --only-left --azcopy,
how to get the pose of images?

Hello,
I am also not able to download pose files. Can you please suggest how to proceed with it.
Thank you
Gopi

the pose are inside each of the .zip file


Lua runtime error

Running the project via the warrior results in runtime errors:

https://github.com/ArchiveTeam/uploadir-grab/blob/a3187bc5210f94cfd32407e172be74f33559012b/uploadir.lua#L248
should be
if string.match(url["url"], "^https?://uploadir%.com/uploads/[0-9a-zA-Z]+$") then

Fixed with fca21df136f0136194186404fb41588ea08251b4.


Background not working well in multi-screen

The normal behavior is that the BG is showing on both screens at once, is it possible having it show on one screen instead of two ?

It is possible to do that engaging window mode and selecting an area covering the screen you want. this can be then saved (using the save button in option dialog box)

Can u tell me where to engage window mode

I've been asked about recently: #78

Is it OK for you? if so can you close the issue

Yes thanks I'll close it now


Make sure to only create valid module names

All characters that are not valid identifiers are replaced by an
underscore. The validity check has been copy-pasted from libsyntax.
This change introduces a new dependency: unicode-xid, as the functions
that are included in the stdlib are unstable and will not work on stable
rust releases.
Side note: we should probably split the codegen part from the runtime part,
so not all users of protobuf have to pay for all dependencies needed to
generate them.
Fixes #111

I don't like the idea of having a dependency, because it is harder to maintain the library, and harder for library users. Shouldn't we just replace all non-ASCII characters with underscore? E. g.
// Copy-pasted from libsyntax.
fn ident_start(c: char) -> bool {
    (c >= 'a' && c <= 'z')
        || (c >= 'A' && c <= 'Z')
        || c == '_'
}

// Copy-pasted from libsyntax.
fn ident_continue(c: char) -> bool {
    (c >= 'a' && c <= 'z')
        || (c >= 'A' && c <= 'Z')
        || (c >= '0' && c <= '9')
        || c == '_'
}

I doubt anyone uses non-ASCII characters in file names.

I doubt anyone uses non-ASCII characters in file names.

There will always be someone who does something you don't expect :)
I've repushed the change without adding a dependency on unicode-xid, PTAL

Looks good now. Patch should include test (for example, src/proto/test-sanitize-file-name.proto can be renamed to test-sanitize.file-name.proto). You can do it, or wait a couple of days until I have time.

I repushed with a test.

Thanks. I applied the patch. However, I had to remove file with Japanese letters, because:

git reports file is not added
protoc on my system reports weird errors about duplicate definitions in that file

(That is probably related to filesystem properties on the OSX.)


Add capability to stop ballerina gracefully

In server mode, Balerina should be able to gracefully shutdown.

Ballerina runtime currently supports invoking listener shutdowns gracefully.


Enumerable.ToDictionary uses incorrect return type

Hello,
The .NET versions of Enumerable.ToDictionary extension method overloads return Dictionary<TKey, TElement> instances, while the Bridge versions return IDictionary<TKey, TElement> instances.
Any code depending on the more specific version will fail to compile.
PS: Looking around we observe many different method signatures. Is there any reason the project doesn't strictly use the original signatures?
Thank you for your work.

Can you provide more details about other methods which have difference with .NET methods?
Thanks for your report

Of course. Please note these were merely cursory observations, we were mostly interested in knowing whether the project specifically aims toward accurate compatibility with a BCL subset or simply provide a BLC "feel" (either would be fine of course, we're just evaluating the project in the hope that we can use it more seriously).

Bridge mostly uses EnumerableInstance types in place of IEnumerable types in most LINQ method signatures (Enumerable extensions), though not all. (We guess for all return types and some redundant seemingly redundant overload arguments.)

Similarly, the Grouping type is used in place of IGrouping in GroupBy signatures.

A quick count reveals Bridge doesn't provide the same number of methods (we didn't try and specifically identify a pattern, we guess it has to do with the EnumerableInstance-based overloads).

Aside from Enumerable, we noted a few differences in String (lack of IComparable implementation), but if I'm not mistaken the next release contains some patches for that, we'll wait for it.

Of course there's still a lot of things to implement (or attempt to). I don't have the list at hand, but in trying to port a library we had to work around some missing APIs that we thought would be reasonable targets for your BCL subset (e.g. the immutable collections) and some that might be a little more difficult (e.g. some Type introspection methods like IsSubclassOf and GetTypeCode, or conversion methods with System.Convert). Depending on whether you're aiming for accurate compatibility, we think it would be useful to document the implementation progress so that users and contributors can track support easily (possibly using automated tests). Even more useful would be a definitive description of the subset, or maybe the other way around with a list of things that are considered out-of-scope/unimplementable for the project.

We were also not sure how to handle some attributes like Obsolete or debug methods like Debug.Assert. We setup dummy implementations for now; I think ultimately it would be reasonable that you simply don't support these kinds of things, though a story on how to workaround them would be nice to have.

We realize most differences (e.g. EnumerableInstance) are meant to be compatible, and again depending on the goal this might be reasonable. We tend to prefer more accurate signatures simply to avoid silly mistakes like depending on target-specific return types, though we understand that from your perspective we have to test against both targets anyway and should detect those errors soon enough with proper automated test coverage.
I hope this is useful, no hard feelings otherwise (we really like it so far).

Hi @t-nelis, Thanks for the great feedback and comments. We are discussing your comments. I can't say that we'll have a detailed response right away, but we are discussing in detail.

Hello @t-nelis,
Our ultimate goal is to match and implement .NET API as much as possible. Though, there might be technical troubles to implement something, or no JavaScript meaning of some .NET functionality at all and, sure, mistakes are always possible. If some feature is not in Bridge yet, then that is most likely upcoming. Your feedback about any issues is very appreciated!
I will go step-by-step on your comments.
I tend to leave the original problem Dictionary<TKey, TElement> versus IDictionary<TKey, TElement> in the scope of this issue. It looks to be an easy fix. @vladsch, could you, please, review?

EnumerableInstance vs IEnumerable types in most LINQ method signatures

There is a technical problem why it is like that. Created #712.

Similarly, the Grouping type is used in place of IGrouping in GroupBy signatures.

Created #713

A quick count reveals Bridge doesn't provide the same number of methods...

You are welcome to start more dedicated individual issues. Though, we'll be reviewing all the LINQ implementation - #714.

lack of IComparable implementation

It appeared in 1.10 - #353.

Type .IsSubclassOf()

This method is already in Bridge 2.0. Though, created #715 to review a possibility to add it to v1.x.

Type .GetTypeCode()

Created #716

System.Convert

There is an existing #14 issue. It is planned for the 1.11 release.

Obsolete

Created #717.

Debug.Assert

It is already in Bridge 2.0. Created an Issue to review a possibility to add it to 1.x - #718.

it would be useful to document the implementation progress so that users and contributors can track support easily (possibly using automated tests). Even more useful would be a definitive description of the subset, or maybe the other way around with a list of things that are considered out-of-scope/unimplementable for the project.

Created #719.
We'll be doing our best to sort out all these issues. Though, you and everybody from the community are very welcome to submit pull requests. But still just reporting issues is a huge help for us.

Thank you for the transparency and for your time; this is greatly appreciated. I admit we didn't expect such a dedicated report on all these small points.
However numerous they are, I feel I should report we were always able to refactor our code to either drop the need for the problematic APIs or abstract them behind interfaces in Bridge-specific modules. As always, these kinds of things even help improve our own designs and the fact that they were rather straightforward tells us you seem to have done a good job at prioritizing what's really important (and wouldn't have been so trivial to implement otherwise). Props for that! (And feel free to deprioritize the new issues if we're the only ones.)
About the only pain points revolved around dependency management. We manually setup linked items in VS projects (with MSBuild include/exclude patterns) used to build the JS artefacts (using PCL functionality would be better AFAIU), and will probably setup something to pull them in the dependent applications less manually too. I'd open an issue if I knew exactly what it should look like, but we don't as of yet. In the meantime, I hope this can help you prioritize further, as it will be something every user will have to go through as soon as they want to reuse any piece of code in two projects.
PS: If we can commit to using Bridge more intensely, I hope to be able to position myself to contribute in more tangible ways in the future. It's not always easy (we're a small shop), so I've also aired the idea of buying into a subscription model for support to the powers that be, should you establish one. As a small data point to factor in your future decisions, I'm sure you'll be interested to know the idea was received quite positively.

Hi @t-nelis,
Thanks again for your comments. You sparked a big discussion within the team and brought our attention to some poor decisions we made within Bridge. We're going to be reorganising many of the classes and members, especially the mixing of JavaScript members within the C# api.
We're going to leave this thread's primary task as tracking the original error in returning IDictionary from Enumerable.ToDictionary. This will be corrected in Milestone 1.10.3.
As noted by @DaniilVeriga above, many of the other revisions are being tracking in individual Issues. Most of those Issues will be resolved in Milestone 1.11.

@t-nelis, just FYI: System.Convert (#14) has been implemented except a few things (#977).

@DaniilVeriga Thanks for the heads-up. Always love to drop a few hacks from our code.

Looks like this thread was not updated with notice of Debug.Assert being implemented in v1.11.
using Bridge.Html5;
using System.Diagnostics;

namespace Demo
{
    public class App
    {
        [Ready]
        public static void Main()
        {
            Debug.Assert(false, "FAIL");
        }
    }
}

If the Assert fails (false), a prompt will be thrown to enter the browser debugger instance.
Hope this helps.

I've just found out that the Obsolete attribute has been added in 1.10.1 release in this commit.
https://github.com/bridgedotnet/Bridge/commit/5911f112129dc6694b3c4b03f158a8f22f9d9310
The Obsolete attribute is not emitted in JavaScript code, but works in C# code as expected - compiles and causes a compile warning if an [Obsolete] method is called.

Something with the "IDictionary vs Dictionary" issue wasn't fixed:
http://forums.bridge.net/forum/community/help/2247
Live Test Case


Error loading model

Hi @gbrueckl,
Thanks for the great work. I am trying to set it up on Azure devops and it goes well until the process for running tabular editor starts. Then I get error:
Error loading model: Either the database does not exist, or you have permissions to access it.
I am pretty sure the dataset exists as I see it get uploaded to power bi service, and I don't know what permissions it could be that I am missing.

I am using a service principle that is set as admin on the workspace. Im not even sure if it is credential related.
But based on the error that I am getting it might be. I checked the description of the error which corresponds to this:
Not able to connect to the provided Analysis Services instance, database not found, database metadata corrupt or database not of a supported compatibility level

technically, you can take the code from this Repo and just try it manually from your local machine
https://github.com/gbrueckl/PowerBI.CICD/blob/main/src/InlineScripts/Extract-PBIXMetadata.ps1#L29
and
https://github.com/gbrueckl/PowerBI.CICD/blob/main/src/InlineScripts/Extract-PBIXMetadata.ps1#L130-L145

I tried the scripts locally and it fails at the exact same stage with the exact same error. however, I tried using tabular editor manually and it worked but it could be that I am using another version of tabular editor. But it shouldn't matter if it worked for you with this version so I'm not sure


Ability to delete secrets

Hello again,
Teller already supports:

Put (as create+update; both for single and multiple values)
Get (get/list) for the providers
copying (syncing) all secrets from one provider to another one

Did you also think about supporting Delete? It could be a simple teller delete command. What I'm thinking is extending the Provider interface:
type Provider interface {
	// (...)

        Delete(p KeyPath) error
        DeleteMapping(p KeyPath) // probably this would be also useful
}

In a result, Teller would support the full lifecycle of secret management, which could be extremely useful.
We at Capact would be very interested in this feature 🙂 And, we would love to contribute - Initially, in next few days, I could prepare such Delete functionality for dotenv and AWS Secrets Manager providers. At some point, we would also need full lifecycle support for Vault, which means we can also take care of the implementation 🙂
Cheers!

Yes it completely make sense, happy to take a look at the PR


Re-export element property.

Thanks for making rStats! It's wonderful.
In our project we use the F8 key to hide and show the stats. Unfortunately, the container div is no longer being exported in the current build. This fixes that.
(cc @BKcore @mlogan)

Thanks! I guess the control on the DOM element could use a bit of love, to make it easier to move around, show, hide, etc.


chore: use the centralized release scripts from the toys repository

The copy of the release scripts currently in the repo is slightly out of date. The most up to date scripts are in the toys repository. This change removes the copy here and references the central scripts. (I'll do the same in the contrib repo.) This will pick up minor fixes that have been made to the central scripts in the past year or two, and let me make additional changes in one place and have them apply to both repositories.
Ref: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues/508

@arielvalentin No, they're not conceptually part of the toys gem (any more than someone's gem-releasing rake tasks would be part of the core rake gem). Conceivably they could be packaged in a different gem, but I haven't looked into that.


Update [pytest] section to [tool:pytest]

This fixes the following warning from the test suite:
=============================== pytest-warning summary ===============================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

Looks like we can't do this yet, see https://github.com/pytest-dev/pytest/issues/1831


Extract test utilities to testutil-gcloud

This PR introduces a new module testutil-gcloud.
This module exposes the test utilities previously located in the gcloud-java tests, so they can be used in the client projects.
Most notably, the module exposes the TestDatastoreStorageFactory which allows to clean up the storage on demand.
Please note, that now to build the project locally, you need to copy the spine-dev.json resource into folders $(projectDir)/datastore/src/test/resources and $(projectDir)/testutil-gcloud/src/test/resources.

@armiol PTAL.

@dmitrykuzmin
Please note, that now to build the project locally, you need to copy the spine-dev.json resource into folders $(projectDir)/datastore/src/test/resources and $(projectDir)/testutil-gcloud/src/test/resources.

Can we do that in scope of the Gradle build?

@armiol PTAL again.
I've just discovered the credentials copying worked successfully even prior to this PR. No additional actions are needed.


testVerticalFlutterScrollableSemanticsObjectNoWindow failure on some LUCI bots

Over the past few days there have been occasional failures of the Mac Unopt LUCI builder due to the testVerticalFlutterScrollableSemanticsObjectNoWindow test.
This test runs as part of the ios_debug_sim suite.
Example error: https://ci.chromium.org/p/flutter/builders/prod/Mac Unopt/2735
/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:271: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGRectEqualToRect(scrollView.frame, CGRectMake(x * effectivelyScale, y * effectivelyScale, w * effectivelyScale, h * effectivelyScale))) is true) failed
/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:274: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGSizeEqualToSize( scrollView.contentSize, CGSizeMake(w * effectivelyScale, (h + scrollExtentMax) * effectivelyScale))) is true) failed
/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:276: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGPointEqualToPoint(scrollView.contentOffset, CGPointMake(0, scrollPosition * effectivelyScale))) is true) failed

This test succeeds on most runs.  But when it fails on a LUCI bot, all subsequent reruns done in that job also fail in the same way.
Possibly something is different about the iOS simulator configuration on the bots where this fails?
@jmagman @chunhtai

@jmagman could this be related to the cached version of xcode?

I don't think so, all the other tests are passing. And they wouldn't run if the simulator runtime was missing, and none of the others would pass if it was running on a failing or misconfigured sim...
I'm not sure how to debug this without getting the xcresult bundle, which will have screenshots for what the tests looked like when they failed https://github.com/flutter/flutter/issues/74344
Test session results, code coverage, and logs:
	/Users/chrome-bot/Library/Developer/Xcode/DerivedData/IosUnitTests-gvzhnbcayzcjrsfbbkjkkcswuina/Logs/Test/Test-IosUnitTests-2021.12.09_14-00-11--0800.xcresult

Failure with additional logging: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8827843312902923393/+/u/test:_Host_Tests_for_ios_debug_sim/stdout
frame is {{0, 0}, {0, 0}}, expected {{2.5, 2.5}, {25, 50}}
size is {0, 0}, expected {25, 175}
offset is {2.5, 40}, expected {0, 37.5}

/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:275: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGRectEqualToRect(actualFrame, expectedFrame)) is true) failed - Scroll view <FlutterSemanticsScrollView: 0x7fb4680e6800; baseClass = UIScrollView; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000022b0450>; layer = <CALayer: 0x6000039cf460>; contentOffset: {2.5, 40}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> frame is {{0, 0}, {0, 0}}, expected {{2.5, 2.5}, {25, 50}}
/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:282: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGSizeEqualToSize(actualContentSize, expectedContentSize)) is true) failed - Scroll view <FlutterSemanticsScrollView: 0x7fb4680e6800; baseClass = UIScrollView; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000022b0450>; layer = <CALayer: 0x6000039cf460>; contentOffset: {2.5, 40}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> size is {0, 0}, expected {25, 175}
/../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm:289: error: -[SemanticsObjectTest testVerticalFlutterScrollableSemanticsObjectNoWindow] : ((CGPointEqualToPoint(actualContentOffset, expectedContentOffset)) is true) failed - Scroll view <FlutterSemanticsScrollView: 0x7fb4680e6800; baseClass = UIScrollView; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000022b0450>; layer = <CALayer: 0x6000039cf460>; contentOffset: {2.5, 40}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> offset is {2.5, 40}, expected {0, 37.5}


Remember folder contents additional columns to show

TODO

[ ] make table scrollable. Current state: table with more than the default columns is overlapping the container and overlapping content is not accessible.

TODO

[ ] make table scrollable. Current state: table with more than the default columns is overlapping the container and overlapping content is not accessible.

done


Add ability to remove listeners from the web socket

Not sure if you had a reason for leaving this out or not. Many thanks for your wrapper!

Thanks


Feature/discussion: Example strategies for backtests

I was thinking about possible example strategies that might be good to ship with QSTrader.
Here are some initial thoughts:

Moving Average Crossover (DONE)
Some form of Mean-Reversion, either via "technicals" or via a proper cointegration approach
Machine learning forecast example, e.g. with Scikit-Learn
Possibly sentiment analysis? Although this is very data dependent

Suggested strategies should be simple, with few free parameters.

Exploring sentiment analysis would be fun with a lot of the open-source NLP libraries now available.
Guess we'd implement a "NEWS" event that the backtester or live engine could also handle, which could be passed to a strategy in the same way.
Most providers I've seen pass "NEWS" tick events with a simple URL link?
That might lead to something which will have to be tackled eventually; how to run multiple strategies concurrently?

Ryan,
Your last comment is an interesting point actually. In the fund I used to work at the model we used consisted of a top-level portfolio that allocated funds to a set of strategies, with proportionality of funds decided by an additional algorithm.
Some of the strategies would have counteractive orders (e.g. Strat #1 would long a security by a certain amount while Strat #2 would short it by a certain amount) and thus we needed to net out the difference to avoid unnecessary trades (and thus transaction costs).
It does however make it difficult to discuss individual strategy performance and thus it is sometimes best to talk about overall portfolio performance. All prop trading houses have this problem and they often have centralised risk management to make sure the firm itself is not too far long/short in a particular asset or direction.

Great Mike, glad to hear what I was thinking is roughly in line with standard practice.
One thought I had was to allow a reference from a Position to a Strategy, or vice-versa. This should only be a few lines, which keeps complexity low, and could allow for things like the RiskManager to see how much capital is allocated to each strategy just by looping through the Positions in the Portfolio.
Either way, I guess in the simplest implementation, a backtest or live-loop would be passed a list of Strategies, rather than just one, and pass the events along to each of those strategies. That kind of computation scales out nicely, so Python's multiprocessing would make that quite efficient.

A simple PrintStrategy which will print ticks, bars is also necessary. See https://github.com/mhallsmoore/qstrader/issues/41


Jira Reader: TypeError: 'NoneType' object is not subscriptable.

Code:
from llama_index import download_loader
import os

JiraReader = download_loader('JiraReader')
reader = JiraReader(email=EMAIL, api_token=JIRA_TOKEN,
                    server_url=SERVER_URL)

documents = reader.load_data(query='project=first-project')

print(documents)

Error:
Traceback (most recent call last):
  File "/Users/shikharsharma/Desktop/python-tests/jira/jira-connector.py", line 12, in <module>
    documents = reader.load_data(query='project=first-project')
  File "/Users/shikharsharma/Library/Python/3.9/lib/python/site-packages/llama_index/readers/llamahub_modules/jira/base.py", line 40, in load_data
    if issue.raw['fields']['customfield_10009']['showField']:
TypeError: 'NoneType' object is not subscriptable

I get the same error. For our Jira Tickets, I need help finding the 'customfield_10009'. Do you know if we need this field? Otherwise, can we get deleted maybe this code part?

There is also another issue that we can only get 50 issues per query. Maybe we can also implement code to get all issues for a query. I can do it @emptycrown if you're ok with this?

@BearGuy do you happen to know what is causing this?

There is also another issue that we can only get 50 issues per query. Maybe we can also implement code to get all issues for a query. I can do it @emptycrown if you're ok with this?

@MarkusOdenthal would love that as a feature!


Can't git clone code-server

OS/Web Information

Web Browser: Chrome, but N/A
Local OS: Debian
Remote OS: N/A
Remote Architecture: N/A
code-server --version: N/A

Steps to Reproduce

git clone git@github.com:cdr/code-server.git

Expected
the repository should be fully cloned without error
Actual
Cloning into 'code-server'...
remote: Enumerating objects: 2312, done.
remote: Counting objects: 100% (2312/2312), done.
remote: Compressing objects: 100% (1727/1727), done.
remote: Total 30415 (delta 459), reused 2280 (delta 442), pack-reused 28103
Receiving objects: 100% (30415/30415), 41.79 MiB | 23.91 MiB/s, done.
Resolving deltas: 100% (16240/16240), done.
git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Notes
This issue can be reproduced in VS Code: No

Follow up: I can run yarn install even after this error (but doubt I''ll be able to submit any PRs to this repo).
However, that also fails because jq is presumed to be installed.
$ ./ci/dev/postinstall.sh
./ci/lib.sh: line 13: jq: command not found

Installed jq and now:
$ ./ci/dev/postinstall.sh
./ci/dev/postinstall.sh: line 9: cd: test: No such file or directory

Wow. create test and get this infinitely with yarn install
$ ./ci/dev/postinstall.sh
yarn install v1.22.4
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ ./ci/dev/postinstall.sh
yarn install v1.22.4
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ ./ci/dev/postinstall.sh
...

Looks like I won't be working on #1964 after all. Pity.

Hey there! :wave:
Sorry about the challenges of getting a development environment set up for code-server, that's definitely not the experience that we want. We're working on making things better, and issues like yours help us with that, so thanks for sharing the feedback!
I'm not one of the primary maintainers for code-server, so I'm not entirely sure about it, but the git-lfs error looks like it's because we're using large file storage for something, so it looks like the existing repository expects it to be installed beforehand? Can you try running through these install steps and cloning again? https://git-lfs.github.com/
Also, if you haven't seen it already, our contributor guide describes how to build, I think this runs things inside a Docker container to help reduce the environment issues.
Lastly I'd also like to welcome you to our Coder Community Slack: https://community.coder.com/ - in particular we have a #code-server channel and would love to discuss with you over there!
I'm sorry that you're having these issues but we'd love to help you troubleshoot as we certainly value your contributions :smile:

Thanks for the additional pointer to the contributor guide. I'll go through that.

While yarn && yarn watch worked after installing git-lfs and re-cloning, I kept getting 500 errors.
I tried Docker-based build. I see
debconf: delaying package configuration, since apt-utils is not installed

A fair bit during the CI yarn command which completes without errors eventually.
Unfortunately, the server doesn't respond after the CI yarn watch although it also runs successfully. I see
[2021-04-11T20:43:30.143Z] info  code-server 3.9.3 development
[2021-04-11T20:43:30.145Z] info  Using user-data-dir ~/.local/share/code-server
[2021-04-11T20:43:30.156Z] info  Using config file ~/.config/code-server/config.yaml
[2021-04-11T20:43:30.156Z] info  HTTP server listening on http://<IP_ADDRESS>:8080
[2021-04-11T20:43:30.156Z] info    - Authentication is enabled
[2021-04-11T20:43:30.156Z] info      - Using password from ~/.config/code-server/config.yaml
[2021-04-11T20:43:30.157Z] info    - Not serving HTTPS

but http://<IP_ADDRESS>:8080  and http://localhost:8080 both cycle between "Connection reset" and "Socket not connected" errors in Chrome
netstat indicates something is listening via a Docker container on port 8080
tcp        0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:*               LISTEN      211590/docker-proxy

The 500 error I get with straight yarn watch is:
500
VS Code failed to load. It might not have finished compiling. exited unexpectedly with code 0

With ./ci/dev/image/run.sh ./ci/steps/release.sh I get:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "./ci/steps/release.sh": stat ./ci/steps/release.sh: no such file or directory: unknown.

This worked (vscode build took a long time but I guess that's expected):
yarn
yarn build
yarn build:vscode
yarn release

followed by
cd release
yarn --production
node .

So I can see my last session from the installed code-server, but I see these log errors after it successfully opens my last workspace (although I keep having to reconnect).
Error: redacted/code-server/release/lib/vscode/node_modules/spdlog/build/Release/spdlog.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE

and also
  ERR redacted/.local/share/code-server/extensions [Error: ENOENT: no such file or directory, scandir 'redacted/.local/share/code-server/extensions'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'redacted/.local/share/code-server/extensions'
}

but only being able to run the release without being able to step through what's going on when I use ?path= isn't going to help me understand what happens at all.
I was too optimistic with the amount of time setup would take, and I don't really have any time left now to work further on this. I hope my play-by-play commentary helps someone else, though.

I'm sorry this was so difficult. We'll need to take your commentary and improve the process.
The 500 error after yarn watch is most likely because VS Code hadn't finished compiling yet. code-server finishes relatively quickly but VS Code won't be ready until the terminal outputs finished compilation which can take quit a while. We'll need to look into generating a better error message for this case I think.

Good to know. I appreciate the responsiveness for sure! I'll wait a longer for the yarn && yarn watch approach when I can look at this again. Maybe a clearer message in the build process that everything is really done now would help.

That makes sense! We can definitely do that.


Fix for non-exported

[skip ci]

I will figure this out, and I believe correct to drop .app ending, since only for macOS(?) Maybe it's best to document all after all, since many will want to support many platforms, but only have one, and doesn't even know the file ending differences.

A dropped suffix for Linux .snap and Windows .zip is interpreted as an option that the result does not need to be compressed, which can be overridden with the compress=true argument. This makes it easier to debug the recipes. It could be added to the documentation. This is explained in the README.

Possibly those should be skipped, and one command could make bundles for all?

Every bundle can have different customisation arguments. It needs to be separate.

I don't know if you support musl/Alpine, only Julia does and needs to, not you(?). Linux is a mess with so many options e.g. nolibc I recently discovered at kernel.org. Might become a good target later (I think requires Linux 5.1), if not Cosmopolitan

I haven't tried to bundle with musl. In principle, it should work with slight changes, but I have no time to try that. But, it does not seem possible to install snap packages on it.

I'll fix, make Manifest, never tried... maybe your examples should include?
https://stackoverflow.com/questions/58996197/when-should-a-julia-project-have-a-manifest-and-project-file

The manifest file is exactly what is needed for application bundling, and thus, it is included in every example.

FYI the Manifest is in every example except for the Mousetrap one, I happened to try first...
I'll just try another one first, then if I get around to that one again, I may do a PR for it. II did also suggest to register it because it one of your examples...

FYI the Manifest is in every example except for the Mousetrap one, I happened to try first...

That's a good catch. Currently, I have no bandwidth for that. Feel free to submit PR if you have time.


Support for custom slice types or aliases

This is not detected at the moment:
type MySlice []string

var missing MySlice
for feature := range optionalSet {
	missing = append(missing, feature)
}

And this as well:
type MySlice = []string

var missing MySlice
for feature := range optionalSet {
	missing = append(missing, feature)
}

Good catch! That shouldn't be too hard to add.

@alexkohler i have created a PR for this at. please have a look.


(Signer) Create a package to contains signing provider

As a developer
I want to have a signing provider that is easily overridable
In order to sign various operations and block on behalf of my user before I submit them to Tezos Network.
import Signer from '@tezos-ts/signer'

const data = <hex_data>

const tezosEncodedSignature = await signer.sign(data);

The general idea is to provide a base implementation that can read private keys and do local signing of operations. Once we have that we can provide other implementation to support remote signers or wallets

done in #49


fixed missing nil ptr check in fetch-and-print, resolving crash in `k…

…s get-type`
Description
Fixed a but introduced in v0.46.0, in the fetch-and-print filter options check. This fix resolves a panic/crash on ks get-type command (which does not use the option at all).
Type of Change

[X] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[X] I have read the contributing guidelines
[X] Existing issues have been referenced (where applicable)
[X] I have verified this change is not present in other open pull requests
[X] Functionality is documented
[x] All code style checks pass
[ ] New code contribution is covered by automated tests
[x] All new and existing tests pass

Codecov Report

Merging #157 (90717d3) into main (5f2fd08) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #157   +/-   ##
=======================================
  Coverage   31.67%   31.67%
=======================================
  Files          28       28
  Lines        3643     3643
=======================================
  Hits         1154     1154
  Misses       2398     2398
  Partials       91       91


Fix requirement assets

Pre-Flight checklist

[x] Testing

[x] Changes have been manually tested

What are the relevant tickets?
N/A
What's this PR do?
The original work on this used the wrong webpack_loader api, it worked in local development but on RC the asset urls broke. This fixes it to correctly use the asset bundles. I also moved the css into scss to make it more straightforward.
How should this be manually tested?
Go to django-admin for a program, the ui should load and work.

Codecov Report

Merging #1186 (55cc0d3) into main (e649ff2) will increase coverage by 5.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1186      +/-   ##
==========================================
+ Coverage   84.43%   89.48%   +5.04%
==========================================
  Files         295      145     -150
  Lines       11502     3880    -7622
  Branches      787        0     -787
==========================================
- Hits         9712     3472    -6240
+ Misses       1567      408    -1159
+ Partials      223        0     -223

Impacted Files
Coverage Δ

courses/forms.py

fixtures/common.py

main/settings.py

ecommerce/constants.py

users/urls.py

flexiblepricing/utils.py

main/sentry.py

main/exceptions.py

users/serializers.py

main/serializers.py

... and 140 more

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


contrib: Add clboss-channel-stats to summarize fee income performance

This script produces a summary of channel routing stats, sorted by performance:

Displays PeerID, SCID, and Alias for each channel
Sorts first by net fees (income - expenses) (descending)
Then sorts by "Success Per Day" (SPD) (descending)
Then sorts by Age in days (ascending)

The channels at the top of the list are good, the ones at the bottom are bad.

That was my first approach but it is quite a bit of code and would risk
CLBOSS stability itself. Putting it outside is very straightforward and I
think much less respond.
You think we should experiment with it outside
--
Ken Sedgwick
Bonsai Software, Inc.
http://www.bonsai.com/ken/
(510) 269-7334
@.***
Public Key: http://www.bonsai.com/ken/ken.asc
GPG Fingerprint: 4695 E5B8 F781 BF85 4326  9639 BBFC E515 8602 5550
On Fri, Aug 2, 2024, 00:18 Vincenzo Palazzo @.***>
wrote:

@.**** commented on this pull request.
LGTM, do you think that this is too hard to include inside CLBOSS?
—
Reply to this email directly, view it on GitHub
https://github.com/ZmnSCPxj/clboss/pull/226#pullrequestreview-2214846071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAJNPWXAR4SHRDCGAMWFNDZPMXC3AVCNFSM6AAAAABLZLPKRKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMJUHA2DMMBXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


⚠ GitLab Server has degraded performance

In 5b22bfa, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11756 ms

Resolved: GitLab Server performance has improved in 6c3b75e.


[WIP] Add support for Numeric Parameters

Fixes #315

Feel free to ping me and we can have a quick call / webex to discuss the design of the solution.

@FRosner @Gerrrr Could you please have a look now and see if this is at least moving in the right direction? Functions to see specifically:

InstanceService::addInstance and
InstanceService::updateInstance

Thanks for the review. Frontend stuff is still incomplete so you can postpone the detailed review for later. Just wanted to know the general direction for now.

@FRosner Please review again. Also, it would be great if you can have a look at the integration test logs and explain the failures.

@FRosner The current versioning for a template depends on Map.toString. Since this does not look deterministic I changed it to an ordered sequence. As a result, I had to modify the version number in the tests. I believe this would not affect saved instances since the version is not persisted?

@FRosner Please review again. Also, it would be great if you can have a look at the integration test logs and explain the failures. Update: I linked my own travis above. It has some weird errors about brocolli not starting. I think its better if I use the one at frosner. Will figure out the failures from there. So you can skip that now.

I will add you as a collaborator and then you can create a local branch which will use the travis.

@FRosner The current versioning for a template depends on Map.toString. Since this does not look deterministic I changed it to an ordered sequence. As a result, I had to modify the version number in the tests. I believe this would not affect saved instances since the version is not persisted?

It will. But it's not too big of a deal. People can safely upgrade their templates. I remember we had a discussion with @Gerrrr  about this versioning some time ago. Where do you convert it to an ordered sequence (at which point in the code)?
The PR is so big that I prefer if we review it in a pair session (webex or in person) and finalize it. Otherwise it will ping back and forth and I have to start understanding everything again. What do you think?

@FRosner The script that @Gerrrr wrote is very similar to what I need for transforming the existing instances so that all parameters have a type. Do we combine them to a single script or keep them separate as instances-0.7.0-to-0.8.0_1.py and instances-0.7.0-to-0.8.0_2.py?


Get banned

Played on non prime legit but i used extreme injector and get banned but vac and i have some questions. Does this cheat safe on 2024 and if it right what injector should i use? because how i said i got vac by extreme injector help pls

Just don't cheat

that's the consequence of cheating

Don't use extreme injector, try exloader or NinjaCS. (Didn't have any problems with them, but still stay safe and do daily malwarebytes scan (it will uninstall exloader, so you will need to reinstall it after scanning) .)


Is it possible to hide the tooltip?

Hi guys!
I've tried to get and find the tooltip element with the name and surname, but couldn't.
Is there a way to hide it or/and not show it?

Duplicate of https://github.com/ambassify/react-avatar/pull/241
Will be fixed in the 5.0.0 release I'm preparing right now.

Hi @tyzion,
This is now possible in the 5.0.0 release of react-avatar by setting the title property to false or null.


Example of mysql ConnectionPool

Hi everyone! Where can I find example of vibe.d connectionpool used with mysql? Thanks for reply

The mysql-native library contains an example: https://github.com/mysql-d/mysql-native/blob/415f53f824907021a0885de3502634753c467bc7/source/app.d#L33
Unfortunately with multiple other code paths mixed, but the only thing that needs to be done is to create a MysqlDB instance and use .lockConnection() to get an actual connection to work with. RAII will take care of making the connection available for further queries once it goes out of scope.


How to use Resnet as backbone?

Hi, Thank for your works.
I want to know how to use resnet as the backbone as mentioned in the paper.
Should I drop full-connect layer or/and avg-pooling layer of Resnet?

Hi @2605759123,
You should drop the FC layer and use only the network features.
You can do it easily by loading PyTorch ResNet model weights and changing the FC layer to an identity layer:
from torch import nn
import torchvision.models as models
model = models.resnet50(pretrained=pretrained)
model.fc = nn.Identity()

Thank you~


"Download KUBECFG" button downloads faulty kubeconfig

Describe the bug: (a clear and concise description of what the bug is)
When downloading a kubeconfig with the Download KUBECFG button, the cluster api server value contains two times 'https://', we are getting:
server: 'https://https://nspaasotomipoc-xxx.hcp.westeurope.azmk8s.io:443'

To Reproduce
Deploy otomi with a apiserver value in this format:
cluster:
    apiServer: https://nspaasotomipoc-xxx.hcp.westeurope.azmk8s.io:443

and go to otomi console to download the kubeconfig.
Expected behavior: (a clear and concise description of what you expected to happen)
downloaded kubeconfig to contain valid configurations
Cluster(s):

Cloud: azure
Cluster: NS: nspaas-poc

Versions: (seen in console's /settings)

Core Version: 0.13.0
Console Version: 0.4.46
API version: 0.4.60

If someone can invite me to NS I can take a look. Someone made the assumption that any apiServer variable is prefixed with https://, you can fix it if you replace the values with:
cluster:
    apiServer: nspaasotomipoc-xxx.hcp.westeurope.azmk8s.io:443

Hey, indeed, couldnt check it until this morning, so you were ahead of me ^^
However, its a valid assumption as most people would provide the info from e.g. kubectl cluster-info, which does contain https:// already. There is nowhere stated that it shouldnt be like this and everything is working fine, until you download the kubeconfig.
I'll create a PR that it should match regex where the value shouldnt start with 'http' and edit the description in the values-scheme

@svatwork I can't give you access to NS (yet), looking for a solution there :)

@Morriz  can we change server: https://${env.CLUSTER_APISERVER} to server: ${env.CLUSTER_APISERVER}?

Could we check whether the value starts with https://?
In bash it could easily be done something like
https://${env.CLUSTER_APISERVER##https://}
But not sure how to do it it gotmpl?

@Dunky13 I suppose this value is set from cluster.apiServer in the values repo, which already requires https// in the schema. Therefore it wouldn't be needed to check.
Thats why I didnt create the PR, I had an old schema, didnt notice it before

this is a matter of adding a schema pattern, no?

No, schema pattern is already there: '^(https:\/\/)([\w\-])+\.{1}([a-zA-Z]{2,63})([\/\w-]*)*\/?\??([^#\n\r]*)?#?([^\n\r]*)$'
Hence the suggestion in Sebastiaans comment, to avoid adding https:// when its already set.

please create a PR if you think it is needed


Issue both with bluetooth and usb...

---with usb
payload transfer failed, retrying
payload transfer failed, retrying
payload transfer failed, retrying
...
payload transfer failed, retrying
File "usb-driver.py", line 57, in
ui = UInput(cap, name='boogie-board-sync-pen')
File "/usr/local/lib/python2.7/dist-packages/evdev/uinput.py", line 136, in init
_uinput.create(self.fd, name, vendor, product, version, bustype, absinfo)
IOError: [Errno 22] Invalid argument
--- with bluetooth
Searching for boogie board sync on A0:E6:F8:A0:9B:CA
connecting to "HID over SPP" on A0:E6:F8:A0:9B:CA
connected
good response
Traceback (most recent call last):
File "blue.py", line 69, in
ui = UInput(cap, name='boogie-board-sync')
File "/usr/local/lib/python2.7/dist-packages/evdev/uinput.py", line 136, in init
_uinput.create(self.fd, name, vendor, product, version, bustype, absinfo)
IOError: [Errno 22] Invalid argument
hope it will help

I've seen this before, the problem is with your evdev installation. Try reinstalling evdev.

Hi, here on Archlinux 4.11-rt, Alienware 15R2,  having the same error as described above
using with python 3
reinstalled packages: libevdev python-evdev xf86-input-evdev
still no change, could you give us some clues to follow on getting BBS to work ?
thanks :)

What version evdev?

libevdev 1.5.7-1
python-evdev 0.7.0-1
xf86-input-evdev 2.10.5-1

Are there recommended versions ?
$ uname -a
Linux zor-resurrected 4.11.12-1-rt16-MANJARO #1 SMP PREEMPT RT Tue Oct 17 18:15:30 UTC 2017 x86_64 GNU/Linux

I think it was my old bug workaround, can you try the evdev branch?
https://github.com/jbedo/boogiesync-tablet/tree/evdev

got USB working. Rocking and functional for now, thanks :)

Great, enjoy!


(#285) interview reminder enable

#285
We need to send reminders to applicants for all rounds except a few (like resume screening). So, we need a flag that'll track this.

@bohraji this is in continuation with #351. Need this for today's build. Please have a look at this also when you see the feedback implemented on #351

@bohraji this is in continuation with #351. Need this for today's build. Please have a look at this also when you see the feedback implemented on #351


fix(typings): fix error,  the expression of an export assignment must…

… be an identifier orqualified name in an ambient context when using TypeScript 2.6.0-rc
More information https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#arbitrary-expressions-are-forbidden-in-export-assignments-in-ambient-contexts
Closes: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20777

This is superseded by #217.


Upgrade postcss

react-scripts depends on an old version of postcss. I tried upgrading react-scripts but it breaks backwards compatibility. After a couple of days of trying to get react-scripts 5.0.0 to work, but I gave up. I'm just forcing react-scripts to use the latest version of postcss (using yarn's "resolution" feature).
Also updated uswds and @trussworks/react-uswds to the latest.

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

MauriceReeves-usds
41
14m
2

cwinters-usds
22
1h 43m
4

jimduff-usds
20
12h 29m
13

sean-usds
19
10m
4

carlosfelix2
10
4h 2m
43

TomNUSDS
10
1h 8m
14

jorg3lopez
9
1h 42m
1

whytheplatypus
6
1d 2h 23m
11

jbiskie
6
2h 8m
0

brick-green-agile6
6
1h 24m
4

kevinhaube
5
10h 16m
5

clediggins-usds
5
1h 14m
3

RickHawesUSDS
4
3h 17m
0

ahay-agile6
3
10h 22m
6

oslynn
3
18h 57m
21

sethdarragile6
3
4h 52m
0

jeremy-page
1
3m
0

@sean-usds This was harder than it should have been.
We are on version 4.x of react-scripts and upgrading to 5.0.0 broke the build. I attempted to make the build work with the newer react-scripts but failed repeatedly. I think we may just need to wait for 5.0.1 or something.
Anyways, we need to be careful when we push to staging to verify nothing actually broke.