Bug: the Leaflet osGraticule plugin doesn't work - replace with Leaflet.MetricGrid

The osGraticule is misaligned.
The following is more recent and used on the Geograph site, so will switch to this: https://github.com/bill-chadwick/Leaflet.MetricGrid

-- The osGraticule is misaligned.
I’m just going to nod wisely & pretend I know what that means 😊
From: Charles Roper @.>
Sent: 20 April 2021 02:55
To: jdrever/ShropBotSoc @.>
Cc: Subscribed @.***>
Subject: [jdrever/ShropBotSoc] Bug: the Leaflet osGraticule plugin doesn't work - replace with Leaflet.MetricGrid (#106)
The osGraticule is misaligned.
The following is more recent and used on the Geograph site, so will switch to this: https://github.com/bill-chadwick/Leaflet.MetricGrid
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jdrever/ShropBotSoc/issues/106, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAPKYJO6DFNNOTGCRVME7JTTJTNJBANCNFSM43HEV7IQ.

😄
A graticule is a grid over a map.
The OS graticule is the blue grid over the top of all Ordnance Survey maps and is what we derive OS grid references from.
There's a plugin for Leaflet that draws an OS graticule over the map, which is what Joe included in his code. But it doesn't work properly - for whatever reason, the algorithm that generates the grid renders the lines (slightly) in the wrong places.
So I need to swap that old plugin out for the newer Metric Grid plugin which does the same thing and I believe is correct and is used on the http://www.geograph.org.uk/ website (which is an excellent site if you've not seen it before).

You can see in this image how the graticule doesn't line up with the NBN squares. The squares are correct.
https://user-images.githubusercontent.com/176/115324410-bdacbe80-a181-11eb-81ae-d0e2192268e3.png

Fixed by @tomdrever so closing..


Proxy setting not working with self-hosted Plausible

Using the WordPress plugin with self-hosted Plausible.
As soon as I click to use the proxy, I don't get any data anymore.
Is that working as intended?

thanks for reporting @ice-man! as a self-hoster you already run the script as a first party connection from your domain name by default so the proxy is not needed in your case. the proxy is a way for people that use our managed hosting on plausible.io domain so they can run the script as a first party connection from their domain too

Hello, I have the same issue. No event requests are sent and no data appears.

as a self-hoster you already run the script as a first party connection from your domain name by default so the proxy is not needed in your case

It's true that it is a first-party connection, but the proxy is still needed: uBlock Origin at least uses a EasyPrivacy rule that filters out any /plausible.js paths, which are used by the plugin when the the proxy is not enabled.

I suppose the proxy could resolve this when it generates a random endpoint, as described in the plugin settings:

The proxy uses WordPress' API with a randomly generated endpoint, starting with https://blog.welcometomygarden.org/wp-json.

But I also understand that fixing self-hoster bugs is not a priority. For now, I'll have to live with adblockers on this particular site.

@th0rgall makes a good point, @metmarkosaric. What do you think?

I have the same issue with my self hosted plausible site. I think there is a bug here regardless because if you don't intend to support self-hosted instances with this feature you should probably grey out the option to have a proxy when the user has put in the url of their self-hosted instance.

makes sense @tenfourty! we've just made this clearer by greying out the proxy and adding a note about it when self-hosting is enabled. it will go live in the next release. thanks for the feedback!

Thanks, I'm disappointed you didn't want to make a quick fix to support self-hosted with the proxy, would you accept a pull request to add that functionality?

To me it seems like all you'd need to do is replace this hard-coded https://plausible.io/api/event URL with the correct domain when  self-hosting is enabled:
https://github.com/plausible/wordpress/blob/66f35993a9911c2caff1431cc09b6148afaa83c3/src/Includes/Proxy.php#L112-L115
The proxy for the JS already seems to handle self-hosting fine:
https://github.com/plausible/wordpress/blob/66f35993a9911c2caff1431cc09b6148afaa83c3/src/Includes/Helpers.php#L67-L76

Good spot @Daniel15 It really felt like this was an active disabling of self-hosted features that took more code to disable it than to support it!
I don't have the time at the moment but I do plan to write a PR to put this functionality in (if someone doesn't beat me to it).


Add a code of conduct

Link/Copy http://www.brainhack.org/code-of-conduct.html and add two local contacts.

Where should we add it? in the "more section" ?

We could add a section for it so that it is more easily accessible.

Ok, I will do that dotay. But should I just put the like to the brainhack code of conduct, or should I copy it on the new section?

Thank you @cclairec! Slowly for the slow responsivness! The update you just merged (#23) looks good to me.
Would you be okay to be one of the two contacts? I am happy to be the second one.

I'm ok with that! Will do the change.

Thanks!

C'est fait non ? On peut fermer ?

Je crois qu'il manque encore les 2 emails en contacts?

Ha ouais, c'est vrai. Je mets Camille et moi donc.


v1.1.5 rollup to master

Coverage remained the same at 77.174% when pulling dc11c9661f86ec2399481d0003475684ceeb6b54 on v1.x into 900f24ff051bdd33737f3ec7c57ced34abab6616 on master.


Offline mode: Font is serif

When the IDE is run locally and offline, the font of the program textarea becomes serif. It should be sans serif.

Fixed in #46


DEPRECIATION: imediateStart is deprecated and will be removed soon in favor of the options param.

package.json
{
  "dependencies": {
    ...
    "node-cron": "^2.0.3",
}

Usage:
"use strict";

const cron = require("node-cron");
cron.schedule("5 * * * *", () => null, false);

Warning:
DEPRECIATION: imediateStart is deprecated and will be removed soon in favor of the options param.

I don't have imediateStart  in my code.  Why not simply mention that the warning comes from node-cron.

Hello @PopovMP the third param here, the value false, is the the imediateStart:
cron.schedule("5 * * * *", () => null, false);

This param was replaced by an option.
To fix that, follow the exemple:
cron.schedule("5 * * * *", () => null, { scheduled: false } );


#90: Replaced int with String

Closes #90
I don't know why it cannot to converse String to int implicitly like it was in previous version. I guess its just a bug

PR-Codex overview
This PR updates the version of JUnit Jupiter API and JUnit Jupiter Params dependencies. It also modifies method parameters from int to String in three test classes.
Detailed summary

Updated JUnit Jupiter API version from 5.9.2 to 5.10.1 in pom.xml.
Updated JUnit Jupiter Params version from 5.9.2 to 5.10.1 in pom.xml.
Changed method parameter types from int to String in EOfileEOas_inputTest.java, EOfileEOas_outputTest.java, and EObytes_as_inputEOreadTest.java test classes.

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

@volodya-lombrozo please review

@yegor256 please check

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 4min)


Styling does not apply to 404 page

I created an empty catalog with some custom styling (colors), but the 404 page has the standard DataLad-style.

Update: it seems the styling is not in effect at all.

Ah, my bad. All but the logo worked!


Controller for Habitat Agent

Following closed issue #274 @erikwijmans
set_translation and set_rotation is not working for the agent. Are these functions only for the objects and not for the agent? My agent id is 0 and no objects are present in the environment.
I tried this controller:
def controller(self, agent, velocity):
        current_state=agent.get_state()
        print("OLD state")
        print(current_state)
        self._sim.set_translation(np.array([0.0, 0.0, 0.0]), 0)
        Q = quat_from_angle_axis(np.pi, np.array([0.523599, 0.523599, 0.523599]))
        self._sim.set_rotation(quat_to_magnum(Q), 0)
        current_state=agent.get_state()
        print("New state")
        print(current_state)

Agent state
OLD state
AgentState(position=array([-1.,  0.,  8.], dtype=float32), rotation=quaternion(1, 0, 0, 0), velocity=array([0., 0., 0.]), angular_velocity=array([0., 0., 0.]), force=array([0., 0., 0.]), torque=array([0., 0., 0.]), sensor_states={'color_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0)), 'depth_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0))})
New state
AgentState(position=array([-1.,  0.,  8.], dtype=float32), rotation=quaternion(1, 0, 0, 0), velocity=array([0., 0., 0.]), angular_velocity=array([0., 0., 0.]), force=array([0., 0., 0.]), torque=array([0., 0., 0.]), sensor_states={'color_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0)), 'depth_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0))})

I also tried with the following controller:
def agent_controller(self, agent, velocity):
        #_X_AXIS = 0
        #_Y_AXIS = 1
        #_Z_AXIS = 2
        print(velocity)
        axises = [0,1,2]
        current_state=agent.get_state()
        print("OLD state")
        print(current_state)
        for axis in axises:
            # Translate
            ax = agent.scene_node.transformation[axis].xyz
            agent.scene_node.translate_local(ax * velocity[axis])
            # Rotate
            _rotate_local_fns = [
                SceneNode.rotate_x_local,
                SceneNode.rotate_y_local,
                SceneNode.rotate_z_local,
            ]
            #SceneNode.rotate_x_local(agent.scene_node, mn.Deg(velocity[axis)
            _rotate_local_fns[axis](agent.scene_node, mn.Deg(velocity[axis+2]))
            agent.scene_node.rotation = agent.scene_node.rotation.normalized()

        current_state=agent.get_state()
        print("OLD state")
        print(current_state)

the output was:
OLD state
AgentState(position=array([-1.,  0.,  8.], dtype=float32), rotation=quaternion(1, 0, 0, 0), velocity=array([0., 0., 0.]), angular_velocity=array([0., 0., 0.]), force=array([0., 0., 0.]), torque=array([0., 0., 0.]), sensor_states={'color_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0)), 'depth_sensor': SixDOFPose(position=array([-1. ,  1.5,  8. ], dtype=float32), rotation=quaternion(1, 0, 0, 0))})
NEW state
AgentState(position=array([-1.,  0.,  8.], dtype=float32), rotation=quaternion(0.933012723922729, 0.0669873058795929, 0.250000029802322, 0.25), velocity=array([0., 0., 0.]), angular_velocity=array([0., 0., 0.]), force=array([0., 0., 0.]), torque=array([0., 0., 0.]), sensor_states={'color_sensor': SixDOFPose(position=array([-1.649519,  1.299038,  8.375   ], dtype=float32), rotation=quaternion(0.933012723922729, 0.0669873058795929, 0.250000029802322, 0.25)), 'depth_sensor': SixDOFPose(position=array([-1.649519,  1.299038,  8.375   ], dtype=float32), rotation=quaternion(0.933012723922729, 0.0669873058795929, 0.250000029802322, 0.25))})

with this controller agent is rotating but the magnitude is incorrect. I found out this by looking at the quaternion. The quaternion after the controller was
rotation=quaternion(0.933012723922729, 0.0669873058795929, 0.250000029802322, 0.25)

but if I consider the ground truth quaternion after rotation of agent by 30 degrees (0.523599 radians),
it should be
[ 0.2529195, 0.2529195, 0.2529195, 0.8989412 ]

How should I design the controller?

cc @aclegg3 on the controller for the agent.

Hey @pushkalkatara, thanks for the question!
Yes, these functions will only work on objects. That said, sounds like you might be interested in our recent velocity control implementation:

Attaching agents to the object/bodies this can be done in python currently and will enable set_rotation and set_translation to modify the agent transforms. Just pass your agent scene node into add_object to attach it.

Constant velocity control of objects I realize there are no python bindings for this yet. I'm happy to get those setup. There will also need to be some changes to the step filter to use this with the NavMesh for navigation constraints if you want to use that feature.

FYI, these features are fresh and better docs are coming soon.

Hi @aclegg3
Thanks for pointing me to the links. I am currently using set_rotation and set_translation to modify the agent transforms in the controller function above, but the new_state fetched after applying the quaternion is not the same as desired(ideal scenario).
I tried extending the python bindings with velocity_control functions. Here is the PR for the same - https://github.com/facebookresearch/habitat-sim/pull/565 . I am unable to access the functions in python after rebuilding (added test in the PR which is failing). It would be helpful if you could point out what am i missing.
Thanks.

Relates to https://github.com/facebookresearch/habitat-sim/pull/565, solved by https://github.com/facebookresearch/habitat-sim/pull/571.


Cache chunked responses

The author hasn't find a way to cache chunked responses, as their content cannot be retrieved before sending (because sending is done directly through the adapter).
Implementing this could require some changes in the Plug library or even in adapters. A discussion with author of this libraries could be useful.

There's going to be a register_before_chunk in plug 1.15 (currently only on main) https://github.com/elixir-plug/plug/pull/1154

Thanks for the information! Not clear yet how to accumulate these chunked to get the final response.

We probably don't want to accumulate chunks in memory to rebuild the response, because chunked responses are usually used to stream large responses.
Instead we should consider transforming chunks to 206 Partial Content and let http_cache cache these (unsupported right now) and even combining these chunks to rebuild the initial response (even less supported). This would be particularly interesting when disk backend is used and disk capacity surpasses largely memory capacity.


Shared tests or requiring test files

Hi there. First, thank you for this module.
I'm trying to figure out how to structure my tests and, more importantly, DRY them up. So two related questions:

I want to have better control over the order in which I run my tests. I figured I could have an entry point that I use to define the order and run the tests like test/index.js and then execute it like so: tap test/index. This file would contain something like

reuire('./someTest.js');
require('./secondSetOfTests.js');
...

I have tests that could be share like testing a db connection which needs to happen and be checked on nearly every test file but I don't want to be writing the same test in every file.

How would you do this or is this an anti-pattern?

When order matters, I usually put numbers in the test files.  For example, https://github.com/npm/npm-registry-couchapp/tree/master/test or the 00-setup.js and zz-cleanup.js in https://github.com/isaacs/node-glob/tree/master/test
For shared things, I'll usually create a test/common.js.  There are a few ways to handle this being loaded as a top-level test.  You can either give it a dot-prefixed name, like test/.common.js so that it's skipped by the test/*.js pattern, or just have it do a "dummy test" like this:
// test/common.js
if (require.main === module) {
  require('tap').pass('common test file')
  return
}

// db loading stuff here...

I don't recommend having a single test/index.js that uses require() to load all of your tests in a specific order.  Tests frequently do stateful stuff, and leave litter around in memory, and (in my experience) it's a pain to account for all that.

Thank you very much!


The directory `~/.emacs.d/server' is unsafe

OS: windows7
Emacs: emacs-24.5-bin-i686-mingw32.zip
error log:
Debugger entered--Lisp error: (error "The directory `~/.emacs.d/server' is unsafe")
  signal(error ("The directory `~/.emacs.d/server' is unsafe"))
  error("The directory `%s' is unsafe" "~/.emacs.d/server")
  server-ensure-safe-dir("~\\.emacs.d\\server\\")
  server-start()
  (if (server-running-p) nil (server-start))
  eval-buffer(#<buffer  *load*> nil "e:/Home/.emacs.d/init.el" nil t)  ; Reading at buffer position 3628
  load-with-code-conversion("e:/Home/.emacs.d/init.el" "e:/Home/.emacs.d/init.el" t t)
  load("e:/Home/.emacs.d/init" t t)
  #[0 "^H\205\262...a lot of number here,but I can not copy them ..."[init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
  command-line()
  normal-top-level()

I haven't modified anything relating to the emacs server in this config, so I don't think this is something I'd need to fix here. :-)
This docstring in Emacs' "server.el" seems to indicate that the problem might be your filesystem:
(defcustom server-auth-dir (locate-user-emacs-file "server/")
  "Directory for server authentication files.
We only use this if `server-use-tcp' is non-nil.
Otherwise we use `server-socket-dir'.

NOTE: On FAT32 filesystems, directories are not secure;
files can be read and modified by any user or process.
It is strongly suggested to set `server-auth-dir' to a
directory residing in a NTFS partition instead."
  :group 'server
  :type 'directory
  :version "22.1")

Thank you for reply.
I just found a solution: http://tieba.baidu.com/p/3423825708
And it works.
Reason: the owner of the directory is not the current user.
Solution: right click server directory -> Properties -> security -> Advanced -> Owner -> Edit, then change the owner to the current user. Finally restart Emacs and the error is gone.

Super - glad you figured it out. :-)

Great! It worked. Thanks!


Docker images status in local server and remote server

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
API, New Notification, New Monitor, UI Feature
🔖 Feature description
i have a lot of docker container, images in local server and remotes servers, will be a good feature have method for monitor it
✔ Solution
i havent solution, because is a request
❓ Alternatives
No response
📝 Additional Context
No response

felipe@felipe:~$ sudo su
root@felipe:/home/felipe# cd
root@felipe:~# cd uptime-kuma/
root@felipe:~/uptime-kuma# docker pull louislam/uptime-kuma:1
1: Pulling from louislam/uptime-kuma
c32ce6654453: Already exists
866efb834763: Already exists
3009c2701a70: Already exists
704508b5309b: Already exists
11cc6386a88d: Already exists
50694b369ddf: Already exists
d47b92313a6b: Already exists
43eee6140fa4: Already exists
e878accd8693: Already exists
1b61d6b9fde3: Pull complete
Digest: sha256:080b34c0953f7f324731439c5e8000902d21622a44f7f01215aacbeaf741a30c
Status: Downloaded newer image for louislam/uptime-kuma:1
docker.io/louislam/uptime-kuma:1
root@felipe:~/uptime-kuma# docker stop uptime-kuma
uptime-kuma
root@felipe:~/uptime-kuma# docker rm uptime-kuma
uptime-kuma
root@felipe:~/uptime-kuma# docker run --add-host=host.docker.internal:host-gateway -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
c1bd0f57e2832f63147ba0e1d6a7a593fb92f7bd02c79a138815f1b70d7966db

still not working with
docker run --add-host=host.docker.internal:host-gateway -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
and
/root/uptime-kuma/docker/docker-compose.yml
i add this:
# Simple docker-composer.yml
# You can change your port or volume location

version: '3.3'

services:
  uptime-kuma:
    image: louislam/uptime-kuma:1
    container_name: uptime-kuma
    extra_hosts:
      - "host.docker.internal:host-gateway"
    volumes:
      - ./uptime-kuma-data:/app/data
    ports:
      - 3001:3001  # <Host Port>:<Container Port>
    restart: always

Create the docker network and locate the containers on the same network. Without that, you cannot simply ping to the other container.

Please add the ability to setup remote docker host and specify TLS certs - something similar to how portainer allows you to connect to a remote docker daemon via TLS and specify the 3 certs.
Similar to the OP, I have multiple docker instances and would like to monitor containers on all docker instance from one uptime-kuma. Thanks for the great work!

I'm using a ZeroTier network to securely access remote docker instances. TLS is not necessary in this case since I'm binding the daemon to the ZT ip address only, so it's not accessible from any public network.


File Split  --limitmb

Hi. I wanted to thank you for making this little program.
I just tried it and it works amazing.
I have a question tough. For long running mangas like the One Piece that is about 7.7GB  and counting. I'm worried about being too large to transfer and too slow to open in a kindle device.
Any thoughts on that?
I currently use celogeek/go-comic-converter to make epubs
and I want to start using mapaki for awz3 but some mangas are so big that it's basically all that fits in the kindle.
Any tricks or suggestions?

I think it's too large to handle, it died after 15 minutes.
Processing images 20557 / 20557 [------------------------------] 100.00% 279 p/s
Exporting manga ↗
zsh: killed     mapaki -i One\ Piece

Hi there @yoanhg421 👋

I have a question tough. For long running mangas like the One Piece that is about 7.7GB and counting. I'm worried about being too large to transfer and too slow to open in a kindle device.
Any thoughts on that?

I've only converted mangas up to 2.5GB. Kindle handles them just fine, but I've noticed that the performance is better if you leave some empty space on the device. I don't know if it can handle an 8GB manga as well.

I think it's too large to handle, it died after 15 minutes.

Most likely you went out of RAM. I've noticed that the RAM consumption of the mobi library can get really high, really quickly. For packaging of a ~2GB manga, it might require more than 10GB of RAM.
A quick solution might be to manually split chapters into separate directories (e.g. up to 2GB) and package them separately.

I See. Splitting directories might be the easiest way to go about it.
The better route might be to create multiple books after a certain MB limit is reached.
like Manga [1-3].azw3 or Manga part 1 of 3.azw3
I'll mess around with it.
It seems like a good opportunity to learn Go.
Thank you


Regression in version 4.3.0. Downloads do not work anymore under Windows

The exact error message is:
[WinError 32] The process cannot access the file because it is being used by another process

Im not exactly sure why this error happens. Mac users didnt have this issue, only Windows users. It has been working with 4.2.0.

Can you try with Gdown==4.2.1 as well?

with 4.2.1 the error is happening as well

Can you try the version in https://github.com/wkentaro/gdown/pull/154?
pip install git+https://github.com/wkentaro/gdown@hotfix/windows

yep that one worked

Thank you for the report and confirmation! I'll merge and release as v4.3.1 soon!

Done! https://github.com/wkentaro/gdown/releases/tag/v4.3.1 🎉

thank you very much!


Add basic support to Google Cloud Logging format (v2)

Google Cloud Logging doesn't show the correct level log when using JsonFormatter, making observability a bit trickier. This applies minor tweaks to the default format, allowing log entries to be properly represented.
There are alternative packages to this but they add fields that aren't strictly required - also performing debug_backtrace() calls that are usually not desired when in production mode.
This is a backport of https://github.com/Seldaek/monolog/pull/1690

@Seldaek do you think we need anything else to get it released?

Thanks


Sync events between plugins and the websocket connection

Gekko has a plugin system that allows different "plugins" (modules) to communicate between each other via plugin events, see here: https://gekko.wizb.it/docs/extending/add_a_plugin.html#What-kind-of-events-can-I-listen-to- (system 1)
However the UI uses a different event system (over websockeets) to sync the UI state with what is happening internally inside different Gekko instances, see here: https://github.com/askmike/gekko/blob/develop/core/cp.js (system 2)
System 1 is very old and outdated, we need to update and extend system 1 and get rid of system 2.

Closing this in favor of the WIP PR in #1850.


Allow to set custom image for VPN

Allows easier experimentation with VPN

It would be great if we could replace kontena vpn create with a stack file... it would need some new custom resolvers, like
variables:
  image:
    default: kontena/openvpn:ethwe
  node:
    from:
      - host_node:
          public_ip: true
services:
  vpn:
    image: $image
    affinity:
      - node==$node
    environment:
      - OVPN_SERVER_URL=udp://{{node.public_ip}:1194

Nothing against this PR specifically, it just feels slightly meh in general to start adding a million kontena vpn create / kontena registry create flags when we could be extending and dogfooding our stacks instead.

I do agree that creating custom stack files is much better to try out things like this. Closing.


Bad search should not just load indefinitely

#62 related

Resolved with commit https://github.com/the-rango/AntAlmanac/commit/3bbc3762129a1eefdf21f01cb477ef9e4296a325.
through promise error handling.


Column data filter does not work when values have plus character (+) prefix

Description
Filter by column dialog returns no matches when value is prefixed with a + character. This is very frustrating when storing international phone numbers and trying to filter on them
For example, I have a cell containing values +12345. I can filter by 12345 or other substring that excludes the plus character, but as soon as I enter plus followed by anything, it returns no matches
Broken use case: partial match including plus prefix character:

Working use case: partial match on just prefix character:

Working use case: partial match on substring excluding prefix character"

DBeaver Version
Community Version <IP_ADDRESS>204170718
Operating System
macOS 13.3.1 (a)
Database and driver
Server: PostgreSQL 11.16
PostgreSQL 11.16 on x86_64-pc-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
Driver: PostgreSQL JDBC Driver 42.2.5
Steps to reproduce

Create DB with single value with a plus character prefix (e.g. +123456)
Try to filter this data based on the full value
Expected: Should return a match
Actual: Does not return a match

Additional context
No response

Thank you for bug report.


Export of structurizr person shape using dot format

When I use the CLI (v1.18.0) to export the demo workspace Big Bank into dot using structurizr-cli export -w demo.dsl -f dot and render the resulting dot file using Graphvis Online I cannot find any shape for Persons.
In contrast, Structurizr Online-Service renders the System Context and its Person Shape as expected.
Is there any way to export shapes to dot?

demo.dsl.txt
structurizr-SystemContext.dot.txt

@simonbrowndotje I see, and replacing the persons shape from rectto oval in dot provides a workaround, immediately. However, custom shapes seem complex.

and replacing the persons shape from rectto oval in dot provides a workaround

You can also change the element style associated with the Person tag. With the DSL, this is:
element "Person" {
    shape ellipse
}


Hastings Formant points not properly encoded

When running tutorial 2 on the Hastings corpus in ISCAN, the formants appear to not get encoded properly. I can see this only when saving the CSV export file from my queries, the columns relating to the 'Refined Formant Points or Tracks' enrichment are empty (A1, A2, A3, B1, B2, B3, F1, F2, F3, and num_formants). This screenshot is from the ISCAN interface but I have generated a complete export file and confirmed that this is true for every phone.

I have not seen this problem in export files from other corpora, so it appears to be specific to this dataset.
The enrichments all ran completely fine, including the relevant 'Refined Formant Points or Tracks' using the Raleigh vowel prototypes file.

@MichaelGoodale could you investigate, consulting with Vanna as needed?

The issue comes from the fact that ISCAN isn't finding the audio files (even though it imports fine). This is because of the files ending in .WAV rather than .wav. I've made a new issue for this fix in the SPADE repo montrealcorpustools/SPADE#31

This was fixed both in SPADE and with MontrealCorpusTools/PolyglotDB#150


Fix Grafana broadway.json to name message percentages as success rates

Change description
Change text and description of the 'Message Error Percentage' panels in Grafana broadway.json dashboard to name them as 'Message Success Percentage' instead.
What problem does this solve?
Currently the calculation and coloring (green-to-red) defines 100% as no errors and all successes. The text and description of the panels are reversed to the actual.
Here a screenshot from a run with no errors:

Issue number: N/A
Example usage
No usage
Additional details and screenshots
None
Checklist

[ ] I have added unit tests to cover my changes.
[ ] I have added documentation to cover my changes.
[x] My changes have passed unit tests and have been tested E2E in an example project.

Coverage decreased (-0.1%) to 83.933% when pulling 6dc6b5ad1f4250f80c3d4f6431cad60bb622299d on dsschneidermann:patch-2 into d4346eb0ca87ffba5276ffaf0723b8f7c4f5b4fd on akoutmos:master.

Copy & pasta strikes again!. Thanks!


De-registering function in React

Related Issue
#11794
Description
The React Demo obtains a connected container with an useEffect hook like this:
const [fluidMap, setFluidMap] = React.useState(undefined);

React.useEffect(() => {
    getMyMap().then(myMap => setFluidMap(myMap));
}, []);

where getMyMap creates or connects to a new container and returns one of the shared DDS'.
However, this can result in multiple active container connections as described in https://github.com/microsoft/FluidFramework/issues/11304. The issue is that react can sometimes re-run the useEffect hook for various reasons, resulting in the creation of another active connection without cleaning up the previous one properly.
The solution  is to give react a de-registration function that cleans up the old connection (disconnect the container), when the useEffect function is re-run.

@tylerbutler Can you plesae review the PR ?

@microsoft-github-policy-service agree
On Sun, 19 Feb, 2023, 2:16 pm microsoft-github-policy-service[bot], <
@.***> wrote:

@Vishruta-Patil https://github.com/Vishruta-Patil please read the
following Contributor License Agreement(CLA). If you agree with the CLA,
please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/FluidExamples/pull/731#issuecomment-1435927648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHRRNHCG6LOWGM2LRMVWYTWYHMXHANCNFSM6AAAAAAVA2ZJA4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Vishruta-Patil Sorry for the delay! I'll review this soon!

@tylerbutler Can I work on the documentation part on this till the time you review the PR,  as mentioned in this issue
11794

This example (react-demo) has since been removed from the repo, so closing this PR.


Casting skills along the way.

Thank you for further improvements. Thank you for looking into cta and buffing improvements.
There is a problem with a new added "buffing" system in - 7fee717
Character - sorceress.
She has  CallToArms OnSwap.
On her way to an objective she can randomly stop during teleporting, in the middle of location where she is not supposed to, then select frothen armor and start casting it 10x times or so (freezing in one place),  after that, character switching back to teleport and proceed to the final destination point.
Such behaviour was never observed in a "previous main build version"
Could you look into this please?
thank you :)
P.S. I'm not experiencing any difficulties with waypoint menu.
Character can select all the acts, wps with 100% success...

mmmm, definitely that's not the expected behavior 🤣
In theory with the new implementation (not very tested at this point, honestly) the expected behavior should be: when character gets out of the town, if any buff is missing, it will rebuff all of them (including cta), and continue teleporting, but at anytime it detects again a missing buff will run the buff action again, but it should be very fast, so yeah if your frozen armor expires during teleport it should stop, rebuff and continue teleporting.
Are you using Frozen, Shiver or Chilling armor? is CTA used also when that thing happens? it's buffing also just at the beginning when character uses the WP for the first time in a game?

-I'm using Frozen armour :)
-CTA is used when this happens :) (I have CTA on the swap in 2nd slot).
-And yes, it is buffing at the start of the run (at the waypoint when character uses wp for the first time :) ).
Character casts BO from the CTA at the start of the run.
Then character going to his target and during teleportation to it it stops in random place in a location in pack of mobs, and starts casting real quick Battle orders, Battle command, and frozen armour sticking on the casting frozen armour. Repeating casting frozen armour 8-10x times, then unsticking, switching to teleport skill and proceed to teleport further  to it's target...
After the explanation.
The problem I suspect is - character, by some reason is incorrectly detecting that he is out of buff (along the way while teleporting), which is triggering it to recast the buff it thinks is missing. While in reality the buffs are ON and active...
It happen not all the time, just time to time...It needs to be caught...:)

Just observed.
-Character is not casting buffs, and the start of each run.
When in game, if the character still has a buffs on it from a previous run it was doing in the same game, it's NOT casting a rebuffs in a new next run. It just starting a next run, goes to a waypoint and goes straight to target skipping casting a buffs at waypoint in a location (which it supposed to do).
Next run is started. Character going to wp, SKIPPING buffs, and just starting to teleport to the final destination.
Somewhere in the middle of the teleportation. in a random place. character stops, RECASTS - BO -BC -FO - gets stuck on recasting FO - keeping it casting 8-10 times staying in place. and thennn being unable to unstick of recasting FO ending game with this :
DEBUG	internal/bot.go:92	Load completed, continuing execution
DEBUG	action/buff.go:80	CTA found: swapping weapon and casting Battle Command / Battle Orders
DEBUG	action/buff.go:44	Buffing...
DEBUG	health/belt_manager.go:32	Using HealingPotion potion on Mercenary [Column: 1]. HP: 90
WARN	internal/single_supervisor.go:77	Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: MoveToStep: path could not be calculated, maybe there is an obstacle or a flying platform (arcane sanctuary). Game total time: 369.72s
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
C:/Users/........../internal/single_supervisor.go:77
main.main.func2
C:/Users/........./cmd/koolo/main.go:96
golang.org/x/sync/errgroup.(*Group).Go.func1
C:/.........../go/pkg/mod/golang.org/x/sync@v0.4.0/errgroup/errgroup.go:75
:)

I pushed a small change, will not fix the problem but I think it will mitigate the effect, now it should be casting the buff sequence at the start of each run.
By the way, could you please confirm when this is happening to you, that really really that at least ONE buff was missing? I've been trying it for a while and for me is always casting the buff only when at least one is missing. I don't have CTA right now so testing that part is difficult.

thank you for the update, Hector! :)
Was waiting for the changes/tweaks impatiently... :) as the https://github.com/hectorgimenez/koolo/commit/7fee71774a47f3dbd23d744955a54ea60bbbd3c0 was unusable for me at that state.. )
I put the 3df89d9 on test right now.
Will report back :)

btw, the "usecta" configuration flag was removed also, so now it's ignored. If the tool detect the CTA equipped and the keybindings assigned it will try to use it automatically, if you don't have CTA or keybindings are not set, will skip. So you don't need to keep switching on/off the flag.

Ahh I see.. :)
okay now, at the start of the run on the fist battlefield wp sorceress giving self bo: (double times)
internal/bot.go:92	Load completed, continuing execution
action/buff.go:84	CTA found: swapping weapon and casting Battle Command / Battle Orders
action/buff.go:48	Buffing...
health/belt_manager.go:37	Using HealingPotion potion [Column: 2]. HP: 84 MP: 229
action/buff.go:84	CTA found: swapping weapon and casting Battle Command / Battle Orders
action/buff.go:48	Buffing...
I observed full stop at arcane sanctuary, uninformatively:
Sorc got to waypoint - arcane sanctuary - teleported 1 step away,
performed this on a battlefield: (In a location away from safe waypoint zone)
INFO	action/waypoint.go:99	Traversing areas to reach destination	{"areas": [74]}
DEBUG	internal/bot.go:85	Loading screen detected, waiting until loading screen is gone
DEBUG	internal/bot.go:92	Load completed, continuing execution
DEBUG	action/buff.go:84	CTA found: swapping weapon and casting Battle Command / Battle Orders
DEBUG	action/buff.go:48	Buffing...
DEBUG	health/belt_manager.go:37	Using HealingPotion potion [Column: 2]. HP: 84 MP: 229
DEBUG	action/buff.go:84	CTA found: swapping weapon and casting Battle Command / Battle Orders
DEBUG	action/buff.go:48	Buffing...
and after that freezed in 1 spot with a full stop, ...not moving further. I waited for about 1 minute then terminated program...manually. No errors where given.
INFO	internal/supervisor.go:32	Shutting down NOWwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww.
Just witnessed also this: (but more carefully):
1st run in the game,
sorc, correctly loaded in waypoint,
gave herself a BO with CTA,
aaaanddd
instead of switching to teleport and proceed to the destination, she FREEZED in 1 spot (just like in arcane previously), unable to select and switch to teleport skill, - (attacking skill just showing melee attack) :(
I terminated manually and I got this "spam" in a debug window while where doing it:
"C:\Users...........>wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww^W^W^W^W^W^Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"
Program by some reason after bo got stuck in sending with keyboard the line is written above...
This is floating problem again....:( Sometimes she goes okay, and sometimes she's getting into this situation...with "freezing after bo" behaviour...with the incorrect keyboard sends...
I'm stooping observation and using "3df89d9" at this point...please...send fixes? :)

Also, when character "reboes" at waypoint when goes with a next "script", It casting only Battle orders for example - Ignoring to cast a Battle command or vice versa... (At first run of the game character is correctly always Casting both BO and BC, but in next runs - in some runs (in the same game) it casts both skills, and in some,- only 1 of 2 skills available...).
I suppose it might be somehow be connected with the "character state detection" ...I think it's better to force it to recast both skills (BO and BC) no matter if they are ON or OFF at the time of the cast at the start of the every run....Also casting system should be calculated and work from the lowest roll possible on the call to arms weapon :)

I have the feeling this is related to the skill selection speed, maybe it's too fast, I added an small delay, so hopefully it will help.
I hope the teleport problem is fixed now also, could you check with the latest changes if the situation is better AND is rebuffing when buffs are down (and not stuck rebuffing forever)? As said, difficult for me to test since I don't have CTA right now.

Thank you. Put it on test now.

Do you have discord? maybe we can talk there on how we can test this.

Yes, I Do have a discord, :) Where should I join?
and
testing (https://github.com/hectorgimenez/koolo/commit/2176149f66a567930751daa479f1ff3d09514a1f)
2176149
now :)
Thank you for changes.

@RobotGaston https://discord.gg/tDMSGDvDEM try this invite link


Miscellaneous cleanup

Add playground sources to swiftlint config
Cleaned up some references to files in the project
Clean up GeoJSON tests
Improve project navigator organization

@vfn I'm going to move forward with this. Let me know if you have any thoughts later on.


Gfm critical markup

CriticMarkup is a way of adding tracked changes and editing marks in markdown documents. The syntax is really unobtrusive, and most other markdown editors have it already (see here).
I've added the full spec, and here is an example of the output (using colors):

It looks like this no longer cleanly merges, would you mind rebasing on top of master? Sorry for the delay in reviewing this.

Uh? Why is it failing on ALL the tests? That doesn't make much sense...

OK nevermind, I'm going to restart from scratch


Class definition is too long, but it is not!

False positive error
json_data_service.rb:4:1: C: Class definition is too long. [106/100]
class JsonDataService
^^^^^

Class definition
include ServiceHelper

class JsonDataService
  attr_reader :base_url
  ....

There's not enough information here. You have to show the entire class, otherwise there's no way to work on the problem.

What does Rubocop actually say here? afaik it says that class JsonDataService is 106 Chars long and should be <= 100, no?

No, it's about lines -- how long the implementation is, from class to end.

Ah ok! Well then I guess it is not a bug!


Help : my brewing stands aren't assigned anymore

*Description of issue:
When I click on a brewing stand, it doesn't give me ownership, even if this functionnality is activated, because it's working fine for furnace.
And as brewing stands aren't assigned, I gain no money for brewing potions anymore. Could anyone help ?

Server Version (using /ver):
PaperSpigot 1.15.2 version 143
Using Jobs 4.15.5

https://github.com/Zrips/Jobs/issues/661


Only StdOut mode loses stderr

doc/groovy/OutputWidget.ipynb, section Only StdOut
the stderr should appear as normal.
ditto for OnlyStdErr, the stderr should goto the widget and the stdout should appear as normal.

could not reproduce


test error

I regenerated the ground_truth with the latest version of the code.
And i use the
python ./tools/test.py ./projects/configs/baselines/CAM-R50_img1600_128x128x10.py ./work_dirs/CAM-R50_img1600_128x128x10/latest.pth --deterministic --eval bbox
to test the c-baseline model.
The weights I used were obtained after training two epochs. The test exceeded the set maximum test dataset length.

How can I solve this problem?
Thanks.

It is a small updating bug of the ProgressBar, which does not influence the evaluation performance.
We have fixed it, please pull the latest code.

Thanks!
The previous issue was solved. But the testing phase still didn't go smoothly. It encountered the following issues.
6019/6019, 0.8 task/s, elapsed: 7264s, ETA:     0sTraceback (most recent call last):
File "./tools/test.py", line 278, in <module>
main()
File "./tools/test.py", line 275, in main
print(dataset.evaluate(outputs, **eval_kwargs))
File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/datasets/nuscenes_occ_dataset.py", line 130, in evaluate
ious = cm_to_ious(evaluation_semantic)
File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/utils/formating.py", line 8, in cm_to_ious
tp = cm[i, i]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

It is a small updating bug of the ProgressBar, which does not influence the evaluation performance. We have fixed it, please pull the latest code.

Thanks!
The previous issue was solved. But the testing phase still didn't go smoothly. It encountered the following issues.
6019/6019, 0.8 task/s, elapsed: 7264s, ETA: 0sTraceback (most recent call last):
File "./tools/test.py", line 278, in
main()
File "./tools/test.py", line 275, in main
print(dataset.evaluate(outputs, **eval_kwargs))
File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/datasets/nuscenes_occ_dataset.py", line 130, in evaluate
ious = cm_to_ious(evaluation_semantic)
File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/utils/formating.py", line 8, in cm_to_ious
tp = cm[i, i]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Thanks!

It is a small updating bug of the ProgressBar, which does not influence the evaluation performance. We have fixed it, please pull the latest code.

Thanks! The previous issue was solved. But the testing phase still didn't go smoothly. It encountered the following issues.
6019/6019, 0.8 task/s, elapsed: 7264s, ETA: 0sTraceback (most recent call last): File "./tools/test.py", line 278, in main() File "./tools/test.py", line 275, in main print(dataset.evaluate(outputs, **eval_kwargs)) File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/datasets/nuscenes_occ_dataset.py", line 130, in evaluate ious = cm_to_ious(evaluation_semantic) File "/media/re/2384a6b4-4dae-400d-ad72-9b7044491b55/data/OpenOccupancy/projects/occ_plugin/utils/formating.py", line 8, in cm_to_ious tp = cm[i, i] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Hi,I encountered the same error as you, have you solved it?


Stylized multiple selection with option to remove item

Hello,
Currently I use select2 and I looked for alternatives and found bootstrap-select. I liked this plugin for bootstrap integration, but I saw some examples and found no resemblance to what I would like to do.
I would like to know if it is possible to style the select as in the image below. This would help the user better identify the selected options when using multiple select and would also help remove items, in my case I have a list with more than 2 thousand items, so it would be very uncomfortable for the end user to have to search one by one by the listing, with the option to remove directly in the item would facilitate its use.
Here is an example:

This is not currently an option, but will be available in a future release. Please subscribe and 👍 #565.


abc~~,a~~ not rendered to abc <s>,a</s>

https://markdown-it.github.io/#md3={"source"%3A"abc~~%2Ca~~\n\n%23%23 ok\n~~.a~~ \n\n~~%2Ca~~ \n\na ~~.a~~ \n\na ~~%2Ca~~ \n\na ~~。a~~ \n\n%23%23 not work\n\na~~.a~~\n \na~~%2Ca~~ \n\na~~。a~~ \n"%2C"defaults"%3A{"html"%3Atrue%2C"xhtmlOut"%3Afalse%2C"breaks"%3Afalse%2C"langPrefix"%3A"language-"%2C"linkify"%3Atrue%2C"typographer"%3Atrue%2C"_highlight"%3Atrue%2C"_strict"%3Afalse%2C"_view"%3A"html"}}

There is no specification for strikeout tag, so we decided to implement it exactly like strong emphasis in CommonMark. If you replace ~~ with ** and check there, it should be parsed the same way.
So according to that, ~~ preceded by an alphanumeric and followed by punctuation cannot open <s> tag, it can only close it. The reason being that ~~(~~foo~~)~~ should be rendered as <s>(<s>foo</s>)</s>, not <s>(</s>foo<s>)</s>.
Not a bug. It is different from github implementation, but I hope they will fix it soon. :)

I would say " implement it exactly like strong emphasis"  not better for  .
Because any text partials including punctuations maybe deleted.  And only some words may need strong emphasis.

Because any text partials including punctuations maybe deleted. And only some words may need strong emphasis.

If you want to strike out punctuation, just add a space. This would work:
~~(~~ foo ~~)~~

Yes, it is somehow limiting. But I feel it's still better than having separate rules for strikeout and emphasis.


[iOS] Apply TCA to AboutDroidKaigi screen and SettingScreen

Kind (Required)

Improvement

Overview (Required)

Title says all.
Please apply TCA(The composable architecture) to those screens. (Make **Feature file and use Store in Screens)

Links

It is my area of responsibility.
Let me try this issue!🙇♂

OK! Thanks! Assigned 👍 :+1


Docker support for GPU is pending due to unclear dependency

@gaurav274  Do we need support for Docker GPU?


[typescript] overflow of `` quoting

https://codemirror.net/mode/javascript/typescript.html
paste in

function b(@C() d: E): f<G> {
  return `${h}`;
}

@ is not part of any JavaScript dialect that the JavaScript mode parses (I guess it's supposed to be an annotation here?)

Patch fa69bef4 adds decorator support.


Renaming

I was renaming (moving) a directory when this error occured. Directory was empty.
handle: <Handle LocalRepositoryWatcher.process_events()>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/home/------/.local/lib/python3.5/site-packages/onedrived/od_watcher.py", line 441, in process_events
    self.handle_event(ev, flags, move_pairs)
  File "/home/------/.local/lib/python3.5/site-packages/onedrived/od_watcher.py", line 339, in handle_event
    repo, parent_dir = self.watch_descriptors[ev.wd]
  File "/home/------/.local/lib/python3.5/site-packages/bidict/_base.py", line 411, in __getitem__
    return self._fwdm[key]
KeyError: 15

Do you have the logs from this run? It looks like the LocalRepositoryWatcher tried to access some event that doesn't exist anymore.

No, I have not, but if this error occurs again, I will send it to you.


[BUG] Error in the download

Describe the bug
when i try to download any game happens an error with the JavaScript, that started after i downloaded the 1.2.1 and 1.2.2 and i'm using the real debrid.
Steps to Reproduce

Download any game
During the process, the problems happens

Expected behavior
Conclude the download of the game for i could install it on my pc
Screenshots

Operating System
Windows 10
Hydra Version
1.2.2 and 1.2.1
Additional Information
No response

@brun0lct is it still an issue in 2.1.7?
If so, could you upload logs after updating to 2.1.7?

long time no response, if the problem still exists, open the issue again.


1.7.0-rc1 of router

@enmasse-ci run tests

@enmasse-ci run tests

Failing tests seem related to global console, so I think we can merge this.


add: generate also html coverage reports when running script 'test'

When running 'composer test', if XDebug is installed and setup (xdebug.mode = coverage), in addition to the file build/logs/clover.xml, generate also nice html coverage reports in folder build/coverage.
PHPunit runs normally if XDebug is missing or it is not set for coverage.
View the coverage report at build/coverage/html/index.html.
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

Error


Fix/update challenges for sass

I changed the description of the challenge for sass. It was swapping the words so I made these changes to all world languages.

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[X] My changes do not use shortened URLs or affiliate links.

Closes #34743

@joshiad There are a couple of problems with your PR.  First, there is a reason we have the 5th check mark above.  We have special reviewers for the non-English articles/challenges, so we need to keep them separate so as not to hold up the PR from getting merged due to waiting on 5 other people to review and approve.  Please break this up into 6 PRs to make the review/merge process faster.  In fact, I would suggest just focusing on the English version and once we can agree on the final verbiage, you can create PRs for the other 5 languages.
The other issue has to due with a mistake the original auto-translation which was made on the non-English challenges.  Technically, the word none is part of the code, so it should not be translated.  The meaning should be translated.  This means that in each language version, the word none should still appear in the applicable position in the text.  You will notice, that some of the languages (Chinese, Portuguese, Spanish were translated by mistake.  Also, I noticed the Arabic version was not included in your PR, so that would possibly need to be changed also.
Another approach which might also make it clearer would be to change the instructions to something like:
Create a mixin called border-stroke that takes a parameter $val. The mixin should check for the following conditions using @if, @else if, and @else:
light - 1px solid black
medium - 3px solid black
heavy - 6px solid black

If `$val` is not `light`, `medium`, or `heavy`, the the border should be set to `none`.

In the future, it would be best to discuss the verbiage of such a change on the issue and once everyone agrees, then create a PR and reference the issue thread.

Thank you so much for your feedback @RandellDawson. I apologize for the mistakes. In this case, should I create a new PR for different languages or should we change the instruction to the example you gave?
`Create a mixin called border-stroke that takes a parameter $val. The mixin should check for the following conditions using @if, @else if, and @else:
light - 1px solid black
medium - 3px solid black
heavy - 6px solid black
If $val is not light, medium, or heavy, the the border should be set to none.`
I personally liked the instruction you suggested, which is given above.

@aditijoshi14 I would change this PR to only focus on the English version and then once we approve that, you can create separate PRs for the other languages.  Start with what I suggested for the English version and we will see what other reviewers think.  Where you see me use backticks above, use ...</code instead.  For example, the last sentence would be:
If $val is not light, medium, or heavy, the the border should be set to none.

@RandellDawson I will start working on creating a separate PR. Regarding my two usernames, I used to have two usernames but I recently transferred all my repository to my personal account. In that case, I will be just using this one from now. Sorry for the confusion.

I made the changes and it looks like this @RandellDawson

@joshiad I think these changes look good.  Now, just adjust this PR's scope to only change the English PR.  Once we merge the English version, you can create a separate PR for the other languages using Google translate or some other translation software for the changed sections.  That way, one of our translator reviewers can look at those separately.
Thanks again for you contribution!

@RandellDawson Thank you for checking. Do you think I should start working on creating separate PRs for 5 different languages or should I wait until this English version gets merged?

@aditijoshi14 Now that the English version has been merged, you should now only translate the parts which were changed/added in this PR for the other ones.  You can use Google translate or another translation site to help you attempt the translations.
Thanks again for all your work!


Breaks JSLint

Hello,
this plugin breaks the JSLint each time you change the *.js file you are working on, JSLint is stuck like if it's disabled, for example I can remove a final ; of a row and save but it won't show any error.
If you go to the View menu and disable/enable the lint files on saving it will work again, but it will break on next file change.

I can confirm and add:
In my installation, I realized that linting was not checking files on save, even though View -> Lint Files on Save was enabled in the main menu.
After re-installing all extensions in sequence, I found that this extension breaks this functionality.
If you close and re-open a file, linting happens. It just happens once. When saving the file again, it will not lint.
Important - the ONLY linting that does work on save is of this extension. When saving a php file the linter runs and reports errors as expected. So - it seems that your extension "hijacks" the lint on save functionality and blocks it from executing any other linters.

I can also confirm that this breaks js linting on save.  The jslint works temporarily if I disable it and re-enable it, but then it breaks again when I switch files.  JSLint does run when I switch between JavaScript files.  Fortunately, there is an alternative to this extensions called: PHP Code Quality Tools.  However, it would be nice to see this get fixed, or removed from the list of extensions if it is no longer being maintained.


map upload

Yes!!
On Dec 7, 2023, at 4:24 PM, Nico Arellano @.***> wrote:
[External Email]
YES!
—
Reply to this email directly, view it on GitHubhttps://github.com/nicoarellano/reposarch/pull/317#issuecomment-1846132878, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCNT2YPXU7MW76ILU54DH3TYIIXYJAVCNFSM6AAAAABALWQFQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWGEZTEOBXHA.
You are receiving this because you authored the thread.
This email contains links to content or websites. Always be cautious when opening external links or attachments.
Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.
When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat

Hi Nico,
I thought everything was good with my code after we talked on Thursday after class but I don’t see it up on the brightspace page. Is there an issue with it?
Jeremie
On Dec 7, 2023, at 4:31 PM, Jeremie Lafleche @.***> wrote:
Yes!!
On Dec 7, 2023, at 4:24 PM, Nico Arellano @.***> wrote:
[External Email]
YES!
—
Reply to this email directly, view it on GitHubhttps://github.com/nicoarellano/reposarch/pull/317#issuecomment-1846132878, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCNT2YPXU7MW76ILU54DH3TYIIXYJAVCNFSM6AAAAABALWQFQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWGEZTEOBXHA.
You are receiving this because you authored the thread.
This email contains links to content or websites. Always be cautious when opening external links or attachments.
Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.
When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat

I was able to merge, but it looks that there is still something wrong with your code. Can you take a look? Look at the console (f12) to see what is happening. If it doesn't work, I can take a look tomorrow

One thing that I can see is that you have this:
const MAPTILER_KEY = 'get_your_own_OpIi9ZULNHzrESv6T2vL';
That is not a valid maptiler key for production only for development. You need to go to maptiler.com and get your own key. It is free and it is easy to do. Then you generate a key and use that one instead.
Please let me know if you have further questions

Ok I will try that when I have access to my laptop in a few hours. Would it be possible to get an extension until tomorrow night or does it have to be tonight. I just thought that my code was working and I am busy at the moment.
Let me know.
Jeremie
Get Outlook for iOShttps://aka.ms/o0ukef

From: Nico Arellano @.>
Sent: Friday, December 8, 2023 7:40:06 PM
To: nicoarellano/reposarch @.>
Cc: Jeremie Lafleche @.>; Author @.>
Subject: Re: [nicoarellano/reposarch] map upload (PR #317)
[External Email]
One thing that I can see is that you have this:
const MAPTILER_KEY = 'get_your_own_OpIi9ZULNHzrESv6T2vL';
That is not a valid maptiler key for production only for development. You need to go to maptiler.com and get your own key. It is free and it is easy to do. Then you generate a key and use that one instead.
Please let me know if you have further questions
—
Reply to this email directly, view it on GitHubhttps://github.com/nicoarellano/reposarch/pull/317#issuecomment-1848012972, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCNT2YKRIRYLINP6D4CDNQDYIOXONAVCNFSM6AAAAABALWQFQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGAYTEOJXGI.
You are receiving this because you authored the thread.Message ID: @.***>
This email contains links to content or websites. Always be cautious when opening external links or attachments.
Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.
When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat
-----End of Disclaimer-----

Yes, no problem.
Have a good weekend.

Thank you very much Nico, I will work on it tomorrow and resubmit.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Nico Arellano @.>
Sent: Friday, December 8, 2023 8:01:19 PM
To: nicoarellano/reposarch @.>
Cc: Jeremie Lafleche @.>; Author @.>
Subject: Re: [nicoarellano/reposarch] map upload (PR #317)
[External Email]
Yes, no problem.
Have a good weekend.
—
Reply to this email directly, view it on GitHubhttps://github.com/nicoarellano/reposarch/pull/317#issuecomment-1848025462, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCNT2YNI2OQRROZYCL72QA3YIOZ57AVCNFSM6AAAAABALWQFQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGAZDKNBWGI.
You are receiving this because you authored the thread.Message ID: @.***>
This email contains links to content or websites. Always be cautious when opening external links or attachments.
Please visit https://carleton.ca/its/help-centre/report-phishing/ for information on reporting phishing messages.
When in doubt, the ITS Service Desk can provide assistance. https://carleton.ca/its/chat
-----End of Disclaimer-----


allow sorting on the usd price in dedicated nodes

are these prices before or after applying or discounts as well?

There are 2 options to do that
1- Get all nodes and do the sorting and filtering on the client side
2- Make gridproxy do the calculations. https://github.com/threefoldtech/tfgrid-sdk-go/issues/608

Blocked on https://github.com/threefoldtech/tfgrid-sdk-go/issues/608

blocked on #2285

Devnet, 0d1e63f.
The node 161 has a value of 0.11 USD per month, and it is between 113 and 72 USD.

So some cases are now covered maybe.

@A-Harby it's 0.11 USD/hour not month
so 0.11 * 24 *30 = 79.2 USD/month so it's correct

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2773

@A-Harby it's 0.11 USD/hour not month so 0.11 * 24 *30 = 79.2 USD/month so it's correct

verified on devnet
version: 17d861b
User should be able to sort nodes by price from high to low and low to high


fix: Karpenter irsa naming

What does this PR do?
Fixes bug with karpenter irsa recreation causing "iam role already exists error"
https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/issues/99

Motivation

Resolves #99

More

[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[x] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

closed in https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/pull/115


UOps.IF with rewrite rules

This is more correct, no material performance diff:
master:
~/code/tinygrad> PROFILE=0 python3 test/external/external_benchmark_schedule.py
***** model forward in  58.11 ms
***** model schedule in  20.10 ms
***** model uops in 118.36 ms
***** model linearize in 1565.30 ms

this branch:
~/code/tinygrad> PROFILE=0 python3 test/external/external_benchmark_schedule.py
***** model forward in  58.09 ms
***** model schedule in  19.80 ms
***** model uops in 119.52 ms
***** model linearize in 1547.35 ms

saw this in metal diff

const True or false can be removed, you can use vmax.arg == False or vmin.arg == True to fold gate

Yea we have a UPat for that, it didn't do it before because I rewrote IF way too early. Now should be good.
https://github.com/tinygrad/tinygrad/blob/master/tinygrad/codegen/uopgraph.py#L299-L306

don't think that match though, the process replay diff are from this pr. i think that only matches if the whole gate clause is const
it's probably a good idea to fold or False and and True anyway even outside of load store

ahhh, the expander is creating ALUs outside of the graph that never get rewritten by constant_folder again.


Support MPS Backend

Add MPS support; now you can use –device to select MPS, CUDA, or CPU.

can we detect mps in code rather than specify device argument, then we can change only one file model.py line 22.

Yes, I kept the default setting just because I haven't tested whether it's faster or not on a larger vram machine. On my M2 chip Mac I suppose it's may slower than CPU (No exact timing)

I will test it later on a machine with larger vram

Yes, I kept the default setting just because I haven't tested whether it's faster or not on a larger vram machine. On my M2 chip Mac I suppose it's may slower than CPU (No exact timing)

hello, please add me in Dingding group. My name is 铝箱.  Please add me to discuss further details.

hello, please add me in Dingding group. My name is 铝箱. Please add me to discuss further details.

I have enter the DingTalk group, but I think private messaging is not allowed.

Yes, I kept the default setting just because I haven't tested whether it's faster or not on a larger vram machine. On my M2 chip Mac I suppose it's may slower than CPU (No exact timing)

And for MPS inference, it takes 100s in average for default text in webUI, while it only takes 37s in average for CPU. Also MPS have unsolved memory leaks issue, the memory increases by 8 GB after inferencing a sentence. So I set it a second choice, the default device is CUDA for Nvidia GPU and CPU for others.

hello, please add me in Dingding group. My name is 铝箱. Please add me to discuss further details.

I have enter the DingTalk group, but I think private messaging is not allowed.

Yes, I kept the default setting just because I haven't tested whether it's faster or not on a larger vram machine. On my M2 chip Mac I suppose it's may slower than CPU (No exact timing)

And for MPS inference, it takes 100s in average for default text in webUI, while it only takes 37s in average for CPU. Also MPS have unsolved memory leaks issue, the memory increases by 8 GB after inferencing a sentence. So I set it a second choice, the default device is CUDA for Nvidia GPU and CPU for others.

@XXXXRT666 please add me now, I have removed the restriction.


Develop tests and document '/api/groups/modify/'

Expected response codes for endpoint api/groups/modify/ on Swagger documentation:

After testing,
expected response: 200 (successful group modification)
received response: 200 (successful group modification)
expected response: 400 (Bad request)
received response: 200 (successful group modification)
expected response: 403 (Insufficient privileges)
received response: 403 (Insufficient privileges)
Update Swagger documentation


Save original title in title meta element

Before altering the the document title, save the original title in the title <meta> element. This provides other plugins with access to the original title while also signaling to them when the title has been altered.

We may want to consider raising an event as well that the title has been changed, though MutationObserver could also be used. http://stackoverflow.com/a/29540461/208063

Here's the code needed to observe a title change:
new MutationObserver(function(mutations) {
  var mutation = mutations[0];
  var oldValue = mutation.removedNodes[0].textContent;
  var newValue = mutation.target.textContent;
  // filter redundant updates
  if (oldValue !== newValue) {
    console.log("old title: " + oldValue);
    console.log("new title: " + newValue);
  }
}).observe(document.head.querySelector('title'), { subtree: true, childList: true });


May be a common method to easily proxy the write to stream ?

In conduit there is a write method which is a proxy. https://github.com/phly/conduit/blob/1ebb5c014a8956366a96f5f02b4fe0b3a3cee5fb/src/Http/Response.php#L52-L60
It seems good to have on the ResponseInterface for people use the same method name than a different one on another implementation.
I was using the proxy method and later came to know this was not the method in the ResponseInterface . I am still not sure though, for this will may bring more over head cloning
public function write($data)
{
    $new = clone $this;
    $new->getBody()->write($data);
    return $new
}

What do you think ?

To be more clear I am asking to bring the write method to PSR-7 response interface.

I added that proxy method to Conduit to mimic the API of Connect. The way I achieve it is by decorating the passed ResponseInterface instance, which, if middleware extends Conduit's Middleware class, can be guaranteed to occur.
That said, I should likely drop it.
We don't have it in the PSR-7 interfaces because it violates the Law of Demeter; users would be calling an operation on one object to effect a change on the other object.


[release-1.14] Automated branching step 4

cc @istio/wg-user-experience-maintainers

Merging this PR with RM permission as this PR gives them approval for future PRs in this branch.


Add service generator

Codecov Report

Merging #63 into master will decrease coverage by 0.28%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   43.05%   42.77%   -0.29%
==========================================
  Files          16       16
  Lines         353      360       +7
==========================================
+ Hits          152      154       +2
- Misses        201      206       +5

Impacted Files
Coverage Δ

lib/kite/generate.rb
81.57% <28.57%> (-11.97%)
:arrow_down:

Continue to review full report at Codecov.

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


v0.31.0-rc

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[x] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Forked as branch v0.31.0_release and released as tag v0.30.0. To have updates merged onto master in a follow-on PR.


Fix a wrong doc in dangerfile_danger_plugin

In import_dangerfile, opts file: does not work, but path: works.

Great - thanks~

bah, on a mobile so can't merge, will do so when I get the chance


Rendering of H2 and H3 nodes

The rendering of H2 and H3 nodes is using the same font size.

Thanks for that. Cheers - Martin


Release on HF

Hi,
Congrats on this work! I discovered it from the paper page: https://huggingface.co/papers/2408.15881 (feel free to claim the paper in case you're one of the authors, so that it appears at your HF profile)
If the weights get released, would be great to make it Transformers-compatible, based on this guide: https://huggingface.co/docs/transformers/custom_models. This way, people can use the model using the trust_remote_code=True feature.
Also, the model could be linked to the paper page, as explained here: https://huggingface.co/docs/hub/en/model-cards#linking-a-paper.
Cheers,
Niels
ML @ HF

Hi,
Congrats on this work! I discovered it from the paper page: https://huggingface.co/papers/2408.15881 (feel free to claim the paper in case you're one of the authors, so that it appears at your HF profile)
If the weights get released, would be great to make it Transformers-compatible, based on this guide: https://huggingface.co/docs/transformers/custom_models. This way, people can use the model using the trust_remote_code=True feature.
Also, the model could be linked to the paper page, as explained here: https://huggingface.co/docs/hub/en/model-cards#linking-a-paper.
Cheers,
Niels ML @ HF

We greatly appreciate the attention from Hugging Face! We are working to organize our code to be compatible with the transformers library. Please stay tuned.


AVS Device SDK error : The refresh request failed with the response code 400

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

What is the expected behavior?

Authorize
What behavior are you observing?

Error : Amazon page is not responding
Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Lates one
Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:
Respeaker Core V2.0

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:
Debian

Problem
Team,
I am getting the same error.
respeaker@v2:~/sdk-folder/sdk-build$ python AuthServer/AuthServer.py
The refresh request failed with the response code 400. This might be due to a bad refresh token or bad client data. We will continue with getting a refresh token, discarding the one in the file.
Serving Flask app "AuthServer" (lazy loading)
Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Debug mode: off
Running on http://<IP_ADDRESS>:3000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [30/Dec/2018 21:22:46] "GET / HTTP/1.1" 302 -
Jason File core
{
"authDelegate":{
// The Client Secret of the Product from developer.amazon.com
"clientSecret":"da27xxxxxxxxxxxxxxxxxxxxxxxxxxxxx97a1786e019fxxxxxxxxxcef79d3",
// Unique device serial number. e.g. 123456
"deviceSerialNumber":"MMAxxxxxxNBW",
// Refresh Token populated by running AuthServer.py
"refreshToken":"",
// The Client ID of the Product from developer.amazon.com
"clientId":"amzn1.application-oa2-client.aebaxxxxxxxxxxxxxxb56464db1814",
// Product ID from developer.amazon.com
"productId":"rk322x"
},
"alertsCapabilityAgent":{
// Path to Alerts database file. e.g. /home/ubuntu/Build/alerts.db
// Note: The directory specified must be valid.
// The database file (alerts.db) will be created by SampleApp, do not create it yourself.
// The database file should only be used for alerts (don't use it for other components of SDK)
"databaseFilePath":"/home/respeaker/sdk-folder/application-necessities/alert.db"
},
"settings":{
// Path to Settings database file. e.g. /home/ubuntu/Build/settings.db
// Note: The directory specified must be valid.
// The database file (settings.db) will be created by SampleApp, do not create it yourself.
// The database file should only be used for settings (don't use it for other components of SDK)
"databaseFilePath":"/home/respeaker/sdk-folder/application-necessities/settings.db",
"defaultAVSClientSettings":{
// Default language for Alexa.
// See https://developer.amazon.com/docs/alexa-voice-service/settings.html#settingsupdated for valid values.
"locale":"en-US"
}
},
"certifiedSender":{
// Path to Certified Sender database file. e.g. /home/ubuntu/Build/certifiedsender.db
// Note: The directory specified must be valid.
// The database file (certifiedsender.db) will be created by SampleApp, do not create it yourself.
// The database file should only be used for certifiedSender (don't use it for other components of SDK)
"databaseFilePath":"/home/respeaker/sdk-folder/application-necessities/certifiedSender.db"
},
"notifications":{
// Path to Notifications database file. e.g. /home/ubuntu/Build/notifications.db
// Note: The directory specified must be valid.
// The database file (notifications.db) will be created by SampleApp, do not create it yourself.
// The database file should only be used for notifications (don't use it for other components of SDK)
"databaseFilePath":"/home/respeaker/sdk-folder/application-necessities/notifications.db"
I tried with Local Host but the error is same : http://localhost:3000 & http://<IP_ADDRESS>:3000/
Error on VNC - Firefox
We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.
Show Details

Hi @kameshkancherla,
Which version of the SDK are you using? The AuthServer was an old mechanism that was deprecated in favor of the Code Based Linking method. Can you try using the latest version of the SDK and see if you are able to authenticate?

I was using this.
http://wiki.seeedstudio.com/ReSpeaker_Core_v2.0/#preparation
Regards
Vithal
From: kamesh<EMAIL_ADDRESS>Sent: 31 December 2018 20:26
To<EMAIL_ADDRESS><EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: Re: [alexa/avs-device-sdk] AVS Device SDK error : The refresh request failed with the response code 400 (#1146)
I was using seed studio alexa deployment using debian os.
Could you please send me the link.
Regards
Vithal
From: Keith Huang
Sent: Monday, 31 December, 19:55
Subject: Re: [alexa/avs-device-sdk] AVS Device SDK error : The refresh request failed with the response code 400 (#1146)
To: alexa/avs-device-sdk
Cc: VK, Mention
Hi @kameshkancherlahttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkameshkancherla&data=02|01||4c7512164fa241d47f2c08d66f5196bb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636818793537142099&sdata=20PNbzsGdqI7FE3hv6cT2XJ15TP2MXCwZ8gGA6eOICE%3D&reserved=0,
Which version of the SDK are you using? The AuthServer was an old mechanism that was deprecated in favor of the Code Based Linking method. Can you try using the latest version of the SDK and see if you are able to authenticate?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falexa%2Favs-device-sdk%2Fissues%2F1146%23issuecomment-450680164&data=02|01||4c7512164fa241d47f2c08d66f5196bb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636818793537142099&sdata=gxk4Al9qSpFyIrWX482L2Ta6LjbUkpfuGqUEfXEd7uI%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAo4-W9qBRJTAQ2Uj5UhWyx998aPUQPjhks5u-l23gaJpZM4ZlFJp&data=02|01||4c7512164fa241d47f2c08d66f5196bb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636818793537142099&sdata=wQAo2EcZL5Q6JUD363CiFdB4AW05ie09dxtjSc74a%2Bw%3D&reserved=0.


add RHEL 8 steps

I tried to join a RHEL 8.2 LVM VM, but the steps for RHEL 7 in this document do not work for RHEL 8 (for RHEL 7 everything worked like a charme). May you please extend the docs for RHEL 8.2 (or latest minor)?
in this step i receive the error below: sudo realm join --verbose AADDSINT.LOCAL -U 'aaddstest1'

Calculated computer account: CN=RHEL-8,OU=AADDC Computers,DC=aaddsint,DC=local
Encryption type [16] not permitted.
Encryption type [23] not permitted.
Encryption type [3] not permitted.
Encryption type [1] not permitted.
! Insufficient permissions to modify computer account: CN=RHEL-8,OU=AADDC Computers,DC=aaddsint,DC=local: 000020E7: AtrErr: DSID-031530D8, #1:
0: 000020E7: DSID-031530D8, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90008 (userAccountControl):len 4

adcli: joining domain aaddsint.local failed: Insufficient permissions to modify computer account: CN=RHEL-8,OU=AADDC Computers,DC=aaddsint,DC=local: 000020E7: AtrErr
: DSID-031530D8, #1:
0: 000020E7: DSID-031530D8, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90008 (userAccountControl):len 4
! Insufficient permissions to join the domain
realm: Couldn't join realm: Insufficient permissions to join the domain

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

ID: 34c16b61-15ac-f9ad-f001-ecf223074dea
Version Independent ID: 6cef5cf6-b524-e70f-5882-f5304a6d6f26
Content: Join a RHEL VM to Azure AD Domain Services
Content Source: articles/active-directory-domain-services/join-rhel-linux-vm.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@skiddder Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.
@iainfoulds Can you have a look at this ?

#reassign:@Justinha

GitHub user iainfoulds has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

@skiddder unfortunately we don't have much expertise with RHEL on the team. I found this doc on their site, and it mentions how to enable supported encryption types. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/integrating_rhel_systems_directly_with_windows_active_directory/index

#please-close


Bringing ijoc up to date with main

This is using a different branch to experiment with the merge instead of just using dev/ijoc_paper


Upgrade habitat to 0.4.0

@fernandes Great question. Previously it was using Circle CI and I believe it already had a db created. It looks like on Travis it needs it to be explicit, but I'm not sure. Still trying to get it set up :D

@paulcsmith hahahah that's right, travis comes with no DB
What I do usually (like testing a rails application), is similar to this:
before_script:
  - psql -c 'create database database_name;' -U travis

and works, but crystal tasks.cr -- db.create is more elegant in this case heheh

@paulcsmith what's happening on travis build:
on line shows your command db.create is creating a lucky_record_dev because running as dev.
And spec_helper tries to connect to lucky_record_test, and that's why crystal spec is failing.
Adding right before crystal spec would do the job:
DATABASE_URL='psql://<IP_ADDRESS>:5432/lucky_record_test' crystal tasks.cr -- db.create

DATABASE_URL is just for MigratorRunner choose the right db_name to created


protect line endings for executable

Fixes #32
AFAICT the line endings for the executable are checked into the repo as LF, so all is good there. My best guess is that the NPM module was deployed from a Windows machine, and the executable was automatically converted to CRLF on Git checkout.
This .gitattributes file should instruct git to always preserve LF endings for the executable and prevent this from happening in the future, but I don't have a Windows machine to test it.

Thanks man!


OpenApiOperation constructor preserve null

Fixes #1192

Fix OpenApiOperation RequestBody and Tags null is not preserved
Add tests for null preserving null on copy constructor
Add tests for copy constructor serialization result to be equal
Fix OpenApiParameter object changes during serialization, so that the serialization result is on consecutive run the same.

Thanks for the contribution. @MaggieKimani1 can you merge this PR when you have a couple of minutes please so it goes out with the next preview?


Bookmark does not fill the full page

Before you submit an issue please restart your discord. If the issue is still there feel free to write a bug report.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Use the latest version of ChannelTabs

Expected behavior
To fill the page
Screenshots

Information (please complete the following information):

OS: [MacOS]
Plugin Version: [2.6.1]
Discord version: [Stable]
Compact Mode enabled? [no]

Additional context
Add any other context about the problem here.

I don't see the issue?

thats weird

it is this extra space

are you full screen

yes

see here https://github.com/l0c4lh057/BetterDiscordStuff/issues/133#issuecomment-1120269170

I will see if it works

were am i supposed to put
html.platform-osx .typeMacOS-3V4xXE {
   position: absolute;
   width: unset;
}

.channelTabs-tabContainer::before {
   content:'';
   height: 100%;
   width: 72px;
}

.channelTabs-tabContainer {
   -webkit-app-region: drag;
}

.channelTabs-tabContainer>* {
   -webkit-app-region: no-drag;
}

html .channelTabs-newTab {
   margin-right: calc(6px + 72px);
}

nvm

worked


Fix compile errors with -Wunused-but-set-variable

TinyOWS fails to build with GCC 4.7.2 on Debian Wheezy due to variables being defined and/or set but not used.  I am not sure where the -Wunused-but-set-variable flag came from other than from ./configure somehow.

has been fixed by recent commits


Question: how to deploy additional YAML with external chart?

I deploy Zalando's Postgres operator with Helmfile using the official chart available at https://github.com/zalando/postgres-operator/tree/master/charts/postgres-operator.
This chart requires an additional resource to be pushed in Kubernetes to provide configuration for the operator.
Depending on how the operator is used, it is either a ConfigMap or a OperatorConfiguration custom resource.
I may have missed something obvious in the capabilities of Helmfile, but my question is: how can I make Helmfile generate this additional resource?
I know that I can modify a resource with strategicMergePatches, jsonPatches or transformers.
But is it possible to add an additional resource (which is not present in the original chart)?
Thanks!

Oh, I forget to mention: I did find a workaround by creating some kind of "wrapper chart".
With the additional resource I need under templates/.
And with a dependency on the upstream Postgres operator chart:
dependencies:
  - name: postgres-operator
    repository: https://chart-repo/zalando-postgres-operator
    version: 1.5.0

But it's quite clumsy and verbose. That's why I'm looking for a more elegant solution.

I have exactly the same use case and would like to know as well what is the "best practice" for such kind of situations?

I have exactly the same use case and would like to know as well what is the "best practice" for such kind of situations?

By coincidence, I've just discovered the other day a chart named raw where you can install Kubernetes resources:
https://github.com/helm/charts/tree/master/incubator/raw

By coincidence, I've just discovered the other day a chart named raw where you can install Kubernetes resources:
https://github.com/helm/charts/tree/master/incubator/raw

after browsing through the issues I found this two that discuss the same problem:

https://github.com/roboll/helmfile/issues/1157
https://github.com/roboll/helmfile/issues/1129

it seems like the the raw chart is indeed the best and the only way to handle such cases. it would be nice to have it mentioned in the docs somewhere.
Using a chart for such case seems like a workaround to me. Would be nice to have some native approach. For example that is a skaffold way:
apiVersion: skaffold/v2beta11
kind: Config
deploy:
  helm:
    releases:
      - name: cert-manager
        chartPath: cert-manager
        valuesFiles:
          - values.yaml
        version: v1.1.0
  kubectl:
    manifests:
      - acme-issuer.yaml

after browsing through the issues I found this two that discuss the same problem:

https://github.com/roboll/helmfile/issues/1157
https://github.com/roboll/helmfile/issues/1129

it seems like the the raw chart is indeed the best and the only way to handle such cases. it would be nice to have it mentioned in the docs somewhere.
Using a chart for such case seems like a workaround to me. Would be nice to have some native approach. For example that is a skaffold way:
apiVersion: skaffold/v2beta11
kind: Config
deploy:
  helm:
    releases:
      - name: cert-manager
        chartPath: cert-manager
        valuesFiles:
          - values.yaml
        version: v1.1.0
  kubectl:
    manifests:
      - acme-issuer.yaml

You've summed it up nicely, @slamdev. I close my issue, as it doesn't bring anything new.

You've summed it up nicely, @slamdev. I close my issue, as it doesn't bring anything new.


[RSDK-7267] Board cleanup part 1: analogs can be written to

AnalogReader is now just Analog. Similarly, analog_reader_by_name is just analog_by_name, etc.
The Analog abstract class can now .write() in addition to .read().
(The underlying RPCs are unchanged: it's still a WriteAnalog RPC on the board. but SDK users don't interact directly with the RPCs.)

In an upcoming PR, I'll have more board cleanup to stream digital interrupts. but that's separate enough to warrant a separate PR.

Don't worry, github-actions bot. I didn't touch board.gpio_pin_by_name.

I've needed to rerun the tests several times because they time out after 1 minute, and only 95ish% of the tests finish in a minute. Is this expected? I'm unsure if I've somehow made the tests much slower than normal, or the timeout threshold ought to be raised. With enough reruns, the tests can pass within the time limit...

In an upcoming PR, I'll have more board cleanup to stream digital interrupts.

Surprise, no I won't! Olivia already did that 2 weeks ago.


Fixes follow button.

Fixes LD-275.

Fails

:no_entry_sign:

[danger-plugin-jest] Could not read test results. Danger cannot pass or fail the build.

  Generated by :no_entry_sign: dangerJS

Gonna merge.


Auto-import suggests deep nested paths over the top-level exports.

VSCode Version:1.51.1
OS Version: MacOS 10.15.7

Steps to Reproduce:
Given the following project structure
// node_modules/my-lib/internal/component.d.ts
export class Component {}

// node_modules/my-lib/index.js
export { Component } from './internal/component';

When I am trying to use "Component" class, the editor automatically suggests the import from 'my-lib/internal/component' path.

This may lead to issues, where users inadvertently use private paths, which were not intended by package authors.
P.S. I found a relevant issue https://github.com/microsoft/TypeScript/issues/35395, however that was about maintaining some sort of "exclude list" manually, whereas this report is about the editor automatically preferring top-level paths over the internal folders out of the box.
Does this issue occur when all extensions are disabled?: No suggestions at all when extensions are disabled.

@just-boris can you provide an example repo that demonstrates this problem? Reason I ask is that I’ve seen this functionality work correctly for a long time, so it must be something specific to your packages/settings/??? that's causing the issue.

Hello!
Seems like it was the issue on my side, I confused default and named exports.
When I fixed this, the editor gives no suggestions, however it starts suggesting the same import if one was already used in the project.
I think, this works as expected and I will close the issue.