focus() method renamed to focusEditor() ???

Do you want to request a feature or report a bug?
bug
What is the current behavior?
this.domEditor.focus method is not a function
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
https://draftjs.org/docs/advanced-topics-managing-focus.html
What is the expected behavior?
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Hi There~!
I tried to implement the translating container clicks to focus into my project. but it keeps saying that below error in console.
this.domEditor.focus is not a function

Hence, I've looked into it with command console.log(this.domEditor), I found that it seems focus method renamed to focusEditor.
Please update the documentation for future users.

Would you like to submit a pull request to update the documentation? The page is here: https://github.com/facebook/draft-js/blob/master/docs/Advanced-Topics-Managing-Focus.md. You can edit it and submit the pull request directly through Github :)

@Daniel15 Well noted. I've directly edited the page you've linked and also edited sample code 'plaintext.html' in same page, then i've submitted the pull requests.
https://github.com/facebook/draft-js/tree/master/examples/draft-0-10-0/plaintext

@mattdamon108 - thanks for putting up https://github.com/facebook/draft-js/pull/1846/ for fixing this issue.
I noticed that you closed the PR. If you reopen it, I'd be happy to merge this in for you :)

@niveditc Sorry for making confusion with my PR. Actually, I realized that focus() method still there and works fine. I mis-read codes in my project with different packages.

@mattdamon108 - ah awesome, I'm glad it works as expected! Closing this issue in that case :)


install in windows 10

hi
how do i install it on windows laptop.

install python https://www.python.org/downloads/
pip install kube-shell in powershell or cmd or whatever terminal
make sure your python installation path is in PATH (like C:\python35\Scripts)
kube-shell

In Powershell As Admin

choco install python
choco install pip
python -m pip install --upgrade pip ( if it install  old version)
pip install kube-shell
kube-shell


Save the git credential if it's used.

bah. Yeah, GitCredentialStore should be smarter here. This is a reasonable fix in the interim. Guessing this is causing errors somewhere?

bah. Yeah, GitCredentialStore should be smarter here. This is a reasonable fix in the interim. Guessing this is causing errors somewhere?

Yeah, the error is caused by accessing undefined self.git_credential_output (https://github.com/yaoyuannnn/gerritlab/blob/main/gerritlab/git_credentials.py#L92)


Add pre-commit config and check hooks in CI

I've currently just got a few hooks in there. I was trying to be relatively conservative with my choices, but we can add more later if we want. I've incorporated the pre-commit checks into the CI too (so we get two passes at catching errors) and I've added another GitHub Action for auto-updating the hooks.
Essentially I've added the minimum amount of infrastructure that we'll need to add other hooks (such as one for clang-format). I stopped short of adding hooks which would reformat large numbers of files so as not to make the diff large and messy.
Closes #124.

There's no need to run the pre-commit hooks on Windows, as they should behave exactly the same as on Linux. For building and testing, things might differ which is why we also run those steps on Windows.


Register container dialogs in DialogManager

Fixes #3038
Description

Register container dialogs in DialogManager and fix ReplaceDialog
Specific Changes

implemented getDialogs() of DialogSet
register container dialogs in DialogManager
fix ReplaceDialog

Testing

Added tests for DialogManager and ReplaceDialog.

Pull Request Test Coverage Report for Build 395847689

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 84.855%

Files with Coverage Reduction
New Missed Lines
%

libraries/adaptive-expressions/src/triggerTrees/trigger.ts
2
61.63%

libraries/botbuilder-dialogs/src/dialogManager.ts
6
92.5%

Totals

Change from base Build 394981706:
0.05%

Covered Lines:
17367

Relevant Lines:
19544

💛  - Coveralls


Actor not maintaining initial speed while simulation

I have defined a free drive scenario in which actor should be following a speed and drive along a path. I have changed that speed to 0 and could still see the actor moving along.

Desktop:

OS:Windows 11
CARLA Version 0.9.15
Python version 3.7
Version 0.9.15

code  Can you determine which control instance is being used here?


pull-request-for-evaluation-article

Hi Editors, I completed my evaluation article and please find my new module under patterns/hexagonal-architecture-quickstart

Hi Editors,
I simplified my example for your review


IEN-923 | Enable HA Report Permission

Target

Add back the report permission to HA user.
It's most of the revert of this past PR (https://github.com/bcgov/internationally-educated-nurses/pull/592/files)

Query

The query inserts all HA employees without "reporting" role.

Screenshots

Have tested locally

The report already only download the associated organization

(Login myself as Fraser Health Authority)

@dbayly-freshworks  in case you missed this PR, tag you again :)


Use a default implementation for set_if_neq

Objective
While porting my crate bevy_trait_query to bevy 0.10, I ran into an issue with the DetectChangesMut trait. Due to the way that the set_if_neq method (added in #6853) is implemented, you are forced to write a nonsense implementation of it for dynamically sized types. This edge case shows up when implementing trait queries, since DetectChangesMut is implemented for Mut<dyn Trait>.
Solution
Simplify the generics for set_if_neq and add the where Self::Target: Sized trait bound to it. Add a default implementation so implementers don't need to implement a method with nonsensical trait bounds.

bors r+


Angular Table Page-Wise Selection

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Angular Table Page-Wise Selection: currently selection model applies to all the rows in the table. There is no way to limit selection to the current page. It seems a fairly common requirement.
What is the current behavior?
Selection model applies to all the rows in the table, meaning that clicking the checkbox in the header row selects all the rows in all the pages.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Here is a solution: https://stackblitz.com/edit/angular-4by7xt
What is the use-case or motivation for changing an existing behavior?
In many applications the user needs to select only the rows that are on the current page, since this the page he has been working on.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All versions.
Is there anything else we should know?
I can implement a comprehensive solution.

https://stackblitz.com/edit/angular-4by7xt

Closing as the implementation that you provided does apply the selection model to all items in the table, however this is due to the nature of the implementation in your example.
There is nothing limiting your selection check from only comparing itself and acting upon currently visible items.


xterm: 325 -> 327

Motivation for this change
Update.
Things done

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

[x] NixOS
[ ] macOS
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Is the macosx build failure reported by travis expected?

The failure is in xquartz-system-fonts which doesn't depend on xterm; if not expected it seems to be unrelated. Unfortunately I don't have an OS X machine available to test with.


Can this be made swallowable inside another dock?

Hello!  I'm trying to find a substitute for stalonetray that can deal with this newfangled SNI stuff, for use with FVWM.  Presently, stalonetray can be "swallowed" by telling it to use a specific geometry (rather than a percentage of the screen) and not try to do anything like handle its own placement on the screen or anything like that.  Is there a way to do something similar with gtk-sni-tray?  Thank you!

@frankspace this is not possible at present. But it should be quite easy to make it work. I'll have to look at exactly what stalonetray is doing when no_shrink is set to true, but if its as simple as not making struts and not doing anything at a ll with geometry it should be quite easy to make it work.

@frankspace are you able to build gtk-sni-tray from source? I'm not entirely sure how to test that we are achieving the behavior that you want

@IvanMalison That'd be awesome, although I certainly appreciate that you're busy.
Also, alas, no, I cannot build this from source; I spent a very long time trying on Arch, including needing to create a number of haskell packages that didn't exist and updating one or two that were out of date, until I finally ran into one that didn't compile and nobody seemed to know why.  I don't know anything about haskell, personally.  I gave up and created a PKGBUILD that pulls binaries (and a dependency) from Debian.  I'd be happy to paste that PKGBUILD here, if it'd serve as any kind of useful reference.

Oh.  Derp.  So I realized the point of your question just after clicking comment.  Yeah, I guess there really is no way I'd be able to test that.

@frankspace can you install nix package manager. The nix build for this is literally a one command build. Should do everything.

https://nixos.org/nix/

https://wiki.archlinux.org/index.php/Nix

@frankspace if you can build from source, the no-strut option should do what you what you want.


Check container is running before trying to kill it and log kill event

Fixes: #12083
I'm opening this if the linked issue is ok, otherwise ignore (and sorry, close) this!
Also, I've modified TestNetworkNat in integration-cli because with this I discovered that at the end of the test, a kill command was run against the first container but the container was just stopped (received message with nc and exited) so now it would fail. Turns out that kill command wasn't needed there. (If I am right, but I highly doubt :))
There are also two other test failing because of this, TestPostContainersAttach and TestPostContainersAttachStderr under integration/, because they both try to kill an already stopped container. I've just commented the kill command but waiting feedbacks on what to do here.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

Event issue was fixed by @duglin IIRC.
But returning errors from Kill will break API I think. And that is undesired behavior.

yes it was meant for future version maybe..it that doesn't apply you can close this i think

@runcom You can close it yourself :)


🐛 BUG: "node_compat = true" is being ignored [Node builtin module import while Node compatibility is disabled]

What version of Wrangler are you using?
2.0.7
What operating system are you using?
Linux
Describe the Bug
Error:
[plugin: checkForNodeBuiltins] Detected a Node builtin module import while Node compatibility is disabled.
Add node_compat = true to your wrangler.toml file to enable Node compatibility.
But, I already had add the node_compat on wrangler.toml:
name = "api"
compatibility_date = "2022-05-16"
account_id = "1b5b99f85df2ff3830dfec7cb7cee2d9"
workers_dev = true

# Seems it's not working
node_compat = true

# --- STAGING ---
[env.staging]
  main = "dist/bundle.js"
  [dev]
    # ip = "<IP_ADDRESS>"
    # @default `8787`

[env.staging.build]
  command = "pnpm run build"

The file that throws the error:
src/index.ts
import puppeteer from 'puppeteer-extra'
import StealthPlugin from 'puppeteer-extra-plugin-stealth'

/**
Line with that throws the error:
PS. works only if comment this line
*/
puppeteer.use(StealthPlugin())

addEventListener("fetch", (event) => {
  //@ts-ignore
  event.respondWith(handleRequest(event.request));
});

//@ts-ignore
async function handleRequest(request) {
  return new Response("Hello worker!", {
    headers: { "content-type": "text/plain" },
  });
}

I'm using with webpack:
package.json
"build": "webpack"
"dev": "wrangler dev -e staging --local"

webpack.config.cjs
module.exports = {
  target: "webworker",
  mode: "development",
  devtool: 'cheap-module-source-map',
  entry: './src/index.ts',
  /*
    It throws with or without 'externals' and 'externalsPresets'
  */
  externals: [
    nodeExternals()
  ],
  externalsPresets: {
    node: true
  },
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        use: 'ts-loader',
        exclude: /node_modules/,
      },
    ],
  },

  resolve: {
    extensions: ['.tsx', '.ts', '.js'],
  },
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist'),
  }
}

My repo with minimal code for error reproduction:
https://github.com/rauleite/issue

Node: 17.9.0
pnpm: 7.1.6

Thanks for this excellent issue report and reproduction. I was able to use it to reproduce the problem locally.
It is indeed a bug, since we are not correctly inheriting the node_compat value into named environments.


convolution operator with non-square kernel

#33

I restore the branch because, I have some modifications to Convolution Operator

ok, no problem

make sure you update your local branch because I made some changes before merging


policy-reporter 1.8.5 missing from Docker hub

https://github.com/kyverno/policy-reporter/pull/58/files#diff-892d0c98e0e009d28a0ff1ea944c97db2fbbb4d71b53f92b3736c8780e824f25R9 updated policy-reporter container version to 1.8.5, but it isn't available in docker hub https://hub.docker.com/r/fjogeleit/policy-reporter/tags

Sorry, my fail. It is added now.
https://hub.docker.com/layers/fjogeleit/policy-reporter/1.8.5/images/sha256-bade8f4dfcc329df3e44c7ebc1771c8ded515bdce4f84289cdae44e3ebb97ec5?context=repo


Add PHP 8.4 support (testing)

What does this PR do?
Add PHP 8.4 support (testing):

Fix #547
Fix imap library build in macOS Sequoia
Fix display PHP version when using archive
Fix phpmicro patches for php84
Deprecate PHP 8.0, fixes #552
Change swoole source to git master instead of pecl (6.0 has not been released)
Change default download php version to 8.3
Fix sodium build, remove build patches
Fix imagick build for PHP 8.4 (https://github.com/Imagick/imagick/pull/690 has not been merged yet)
Remove --with-zlib-dir that has been removed in 8.4
Add similar compilation flags as the Docker images, fixes #515

Checklist before merging

If your PR involves the changes mentioned below and completed the action, please tick the corresponding option.
If a modification is not involved, please skip it directly.

[X] If it's an extension or dependency update, make sure adding related extensions in src/global/test-extensions.php.
[ ] If you changed the behavior of static-php-cli, update docs in ./docs/.
[ ] If you updated config/xxx.json content, run bin/spc dev:sort-config xxx.
[ ] Remove PHP 7.4, 8.0 build actions for static-php/static-php-cli-hosted

Comment: Seems extension swow does not support PHP 8.4.

8.4.1 was released today 🥳
https://externals.io/message/126019

@withinboredom Everything is ready, just need to adjust some CI and replace RC version. I'm too busy to update this week, but I should have time to check it out this weekend.


Unremoved log

https://github.com/justin-coberly/dagre-d3-react/blob/7ab99554b0a2309476bed4d168cc711aadf52c1d/src/index.tsx#L74
Hi! Great work!
I noticed you might have forgotten to remove a log in your code? Or was that placed on purpose?

@carlflor  Ha! this was definately not supposed to be in there. Thank you for catching it.

no prob :)


Page not found

Laravel Version: #.#.# 5.5
Voyager Version: #.#.#1.0
PHP Version:7.1
Database Driver & Version:

Description: I tried running this url  http://localhost:8000/admin/login on my browser after installing laravelvoyager  i keep getting this error Sorry, the page you are looking for could not be found. i dnt know were the problem is coming from,
Steps To Reproduce:

Is your root directory set to public as described in the Laravel docs?

@Shymoney do you still encounter this issue? Otherwise this issue can be closed.

Closing due to lack of response.

i am having this same problem
can we reopen the issue ?

You can open your own issue, but - please - with more informations.


Doesnt work with BOT Services webapp written in nodeJS

this doesn't look like works for all the languages? fails miserably with Webapp bot services written in nodejs
when are you supporting this irrespective of the platform or language?

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

ID: 7feaa3d0-7233-a3cb-cb9b-a9a55b1f0d7a
Version Independent ID: f41f9d51-52f8-1f45-1043-1344a3b74458
Content: Key Vault references - Azure App Service
Content Source: articles/app-service/app-service-key-vault-references.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

I always thought the runtime(probably .net) of webapp owns pulling in the values and any language on webapp could work seamlessly through this.. looks like I am wrong
atleast provide a statement in documentation that this will not work for x , y , z languages
hope this support is coming soon for others

Hi @mganeshphani, thanks for the feedback! We are currently investigating and will update you shortly.

@mganeshphani,  I have assigned the issue to the content author to evaluate and update as appropriate.

Howmany days will you folks take to respond, usually?

@mganeshphani Sorry for the lack of response. Closing for now as the issue is stale. The feature has become GA and the doc has been updated since. #please-close


Love this plugin and some feedback

Firstly, thank you. For those of us who work with CSVs in Neovim, this is a joy of a plugin!
Secondly, a few suggestions after coming to this plugin just now:

A quick start for those of us who use Lazy.nvim so we can copy and paste it into our config would be great
A toggle command to align / clear alignments would be handy
Pasting your video into a GitHub issue so you get a link, and then pasting that link in the README saves me clicking through to https://asciinema.org. The video is great!

regarding points one and three, a PR would be welcome. I'm not sure how to embed the video better, and while I agree that lazy.nvim is definitely the most prominent package manager, i don't use it myself, so i can't be sure what the exact syntax would be.
regarding point 2, i would be ok to add a toggle, but are you sure it would really be handy? because if you're going to edit the CSV then, despite the recent autocommand, you'll probably have to trigger re-aligning every once in a while. so from that point of view it's handy to allow to align multiple times.
but possibly if it's only to view the csv, or if for your uses, the autocommand really always realigns, then the toggle function could really be handy, in that case i could add it. let me know if that's your case!

The lazyvim quick guide was added. About the toggle let me know if you have specific use cases or if you really need it after using it for a while. Regarding the video, a PR is welcome!


directory REST GET doesn't return "details"

Configuration information

0.14.030e3062dc09642Ubuntu 11.0.10+9-Ubuntu-0ubuntu1.18.04Linux amd64 4.15.0-135-genericPostgreSQL 10.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.2.0) 9.2.0, 64-bit

EHRbase version:
openEHR_SDK version:
Archie version:
PostgreSQL version:
Java Runtime version:
Operating System version:

Steps to reproduce
The problem occurs for example with the following file:
ehrbase-0.14/tests/robot/_resources/test_data_sets/directory/empty_directory_with_details_items.json
Actual result
https://gist.github.com/sasurfer/be84e829ebd255ce43e407f3c497178a
Expected result (Acceptance Criteria)
The expected output would contains the details data:
"details": {
"_type": "ITEM_TREE",
"name": {
"_type": "DV_TEXT",
"value": "Tree"
},
"archetype_node_id": "at0003",
"items": [
{
"_type": "ELEMENT",
"name": {
"_type": "DV_TEXT",
"value": "text"
},
"archetype_node_id": "at0004",
"value": {
"_type": "DV_TEXT",
"value": "Lorem ipsum etc etc"
}
}
]
Definition of Done

[ ] The defect is checked by an unit or an integration test (Robot)
[ ] Merge Request approved
[ ] Unit tests passed
[ ] Build without errors
[ ] Release notes prepared
[ ] No additional runtime warnings

the "details" data are stored in the postgresql db ( jsonb column )


Does each transcoder only work with one basis file ?

Hello everyone, I'm trying integrate Basis Universal to my app. My data has many basis files (each basis contains many images). My approach is use only one transcoder, then call transcoder->start_transcoding (...) each time I want to get the texturefrom different Basis file but the transcoder only work with the first Basis data which i set to it via start_transcoding method.
So the question is:

Did the transcoder work as intented or i missing some steps ?
If one transcoder work with only one basis, so create multi transcoder and code book each time a texture was called may impact to performance ? Especialy when i use one texture to one basis (compression multi textures to one basis is killing my pc).

Thank you for support.

I would suggest just using one transcoder per file. You can reuse a single codebook instance for all your transcoders as suggested in the README and that seems to work just fine. In my testing I'm creating a new transcoder per file and my performance is just fine, much better than loading PNGs or JPEGs, so I would not worry about transcoder overhead unless it is showing up in your CPU profiles.
Hope this helps.

Thank you very much for quick reply kg . I'll make as your suggestion.

The original (intended) design was that you would instantiate a new transcoder for each .basis file you want to transcode. Once you call start_transcoding(), you have basically "locked" in that instance of the transcoder to a single .basis file.
An alternative is to compress all your textures (or large groups of them) to a single large .basis file, using large codebook (use "-max_selectors 16128 -max_endpoints 16128"). Then you can use a single transcoder to access a large set of images/mip levels.


Proxy authentication

Hi
I am currently having a problem using a proxy.
I have been searching for 2 days now how to fix this.
This is the command line I use in CMD. Ive never had a problem until I had to use a proxy.
livestreamer -o "C:\TMP\Test.mp4"  --http-proxy "http://adress
:port/"  --hls-segment-threads 4  --hls-segment-attempts 5 --retry-open 99  --s
tream-segment-attempts 9  --retry-streams 10  http://www.twitch.tv/Name/
v/33617730 BEST
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/Name
yy/v/33617730
[cli][error] Unable to open URL: https://api.twitch.tv/api/vods/33617730/access_
token.json (Cannot connect to proxy. Socket error: Tunnel connection failed: 407
Proxy Authentication Required.)
[cli][info] Waiting for streams, retrying every 10.0 second(s)
I Think I just need to add the command for the Username and Password for the HTTP proxy . But dont know how
Any assistance would be appreciated

I don't think it is implemented yet.

Hmm doesn't seem to work. Thanks for the help though.

I think you should use --http-proxy "http://username:password@address:port" and --https-proxy "https://username:password@address:port".

Thanks alot man. It solved my problem.
Date: Sun, 24 Jan 2016 09:54:07 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [livestreamer] Proxy authentication  (#1183)
I think you should use --http-proxy "http://username:password@address:port" and --https-proxy "https://username:password@address:port".
—
Reply to this email directly or view it on GitHub.

hey @NL9 do I have to provide both the http and https? or just http?

I am trying to do this but its not working:
pi@raspberrypi:~ $ streamlink --http-proxy "http://bachoo786:XXXXXXXXXXXXXXX1@XXX.XX.XX.XX:XXXX/XXX.nsv"
I get the following:
usage: streamlink [OPTIONS] <URL> [STREAM]
Anyone can help please?


Deye inverter on parallel

hi i have 2 deye inverter 6kw with the solarman stick logger and the integration see only the master

home-assistant_solarman_2024-10-02T21-12-00.412Z.log

Hi @bmatti996 It looks like you're using wrong serial number.
You are using correct serial number for <IP_ADDRESS> which is 2907XXXXXX but for <IP_ADDRESS> you set 2312XXXXXX which is not correct (probably serial number of the inverter instead of the stick logger) and you should use serial number which starts like this 2905XXXXXX.
😉

thanks you,
now it works


MemoryError: memory allocation failed error

Hello,
I'm using a pyboard v1.1 and trying to use the GUI to use a driver for a lora chip I get the following error :
Traceback (most recent call last):   File "main.py", line 3, in <module>   File "lcd_local.py", line 14, in <module> MemoryError: memory allocation failed, allocating 155 bytes
My main.py looks like this :
`import gc
import ranger #driver for the lora chip
from lcd_local import setup
import font10
from gui.core.constants import *
from gui.core.lcd160_gui import Screen
from gui.widgets.buttons import Button
from gui.widgets.label import Label
from machine import SPI,Pin
from time import sleep
import micropython
from pyb import ExtInt
gc.collect()
micropython.alloc_emergency_exception_buf(100)
#initiate SPI
device_config = {
'miso':"B14",
'mosi':"B15",
'ss':"B12",
'sck':"B13",
'busy':"B8",
'dio_0':"C7"
}
reset=pyb.Pin.board.Y3
pins=device_config
device_spi = SPI(baudrate = 3500000,
polarity = 0, phase = 0, bits = 8, firstbit = SPI.MSB,
sck = Pin(device_config['sck'], Pin.OUT, Pin.PULL_DOWN),
mosi = Pin(device_config['mosi'], Pin.OUT, Pin.PULL_UP),
miso = Pin(device_config['miso'], Pin.IN, Pin.PULL_UP))
test=range.Ranger(device_spi,pins)
####GUI#########
def backbutton(x, y):
def back(button):
Screen.back()
Button((x, y), font = font10, fontcolor = BLACK, callback = back,
fgcolor = CYAN,  text = 'Back')
def setupbutton(x, y, cls_screen, text='Setup'):
def setupbutton(button):
Screen.change(cls_screen)
Button((x, y), font = font10, callback = setupbutton, fgcolor = RED, text = text)
def quitbutton():
def quit(button):
Screen.shutdown()
Button((109, 107), font = font10, callback = quit, fgcolor = RED, text = 'Quit')
def startbutton(x,y,text='Start'):
def start(button):
print('start')
Button((x,y),font = font10, callback = start, fgcolor = BLUE, text = text)
class Screen_1(Screen):
def init(self):
super().init()
Label((0, 0), font = font10, value = 'Configuration Menu')
backbutton(0, 100)
class Screen_0(Screen):
def init(self):
super().init()
Label((0, 0), font = font10, value = 'Main Menu')
setupbutton(0, 107, Screen_1)
startbutton(0,50)
quitbutton()
setup()
Screen.change(Screen_0)`
I've tried to use gc.collect between the imports without luck.
I must be doing something wrong with memorry allocation but I was not able to find how to fix it. The driver and the GUI work fine on their own.
Thanks for reading, any help would be appreciated :)

It seems that import ranger is using a lot of RAM, or causing RAM fragmentation, to the point where lcd_local can't even import the official lcd160cr driver. A first step is to read this doc.
One option is to issue gc.collect() after the import, but I don't think this will get you far enough. I would use frozen bytecode, freezing fonts, the GUI and the LORA libraries. Keep only your own code as normal Python modules to aid modification and debugging.

I had quite a lot of const in the ranger.py and I added a '_' for all of them.
I also changed the order of import in the main file:
import gc import range gc.collect() import font10 from gui.core.constants import * from gui.core.lcd160_gui import Screen from gui.widgets.buttons import Button from gui.widgets.label import Label from machine import SPI,Pin from time import sleep import micropython from pyb import ExtInt from lcd_local import setup gc.collect()
and now it works fine.
I will still try to freeze fonts GUI and LORA librairies to bytecode to be safe.
thanks !

Glad it's working.


Automated cherry pick of #9865: feat(monitor): support monitor overview influxdb query pass through

Cherry pick of #9865 on release/3.7.
#9865: feat(monitor): support monitor overview influxdb query pass through

Codecov Report

Merging #9866 (3f51fa6) into release/3.7 (0ff3997) will increase coverage by 2.05%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.7   #9866       +/-   ##
===============================================
+ Coverage         5.98%   8.04%    +2.05%
===============================================
  Files              848     107      -741
  Lines           131795   12991   -118804
===============================================
- Hits              7887    1045     -6842
+ Misses          123206   11826   -111380
+ Partials           702     120      -582

Flag
Coverage Δ

aFlag
8.04% <0.00%> (+2.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/cloudcommon/db/lockman/inmemory.go
61.84% <0.00%> (-2.64%)
:arrow_down:

pkg/compute/models/host_health.go

... and 710 more

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 fca9838...3f51fa6. Read the comment docs.

Codecov Report

Merging #9866 (3f51fa6) into release/3.7 (0ff3997) will increase coverage by 2.05%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.7   #9866       +/-   ##
===============================================
+ Coverage         5.98%   8.04%    +2.05%
===============================================
  Files              848     107      -741
  Lines           131795   12991   -118804
===============================================
- Hits              7887    1045     -6842
+ Misses          123206   11826   -111380
+ Partials           702     120      -582

Flag
Coverage Δ

aFlag
8.04% <0.00%> (+2.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/cloudcommon/db/lockman/inmemory.go
61.84% <0.00%> (-2.64%)
:arrow_down:

pkg/compute/models/host_health.go

... and 710 more

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 fca9838...3f51fa6. Read the comment docs.


blockQuerier returns data outside the time-range

I was writing tests for blockQuerier and realised that it doesn't check the returned values to be inside (mint, maxt).
So blockQuerier returns all the values from a chunk if a chunk is partially inside (mint, maxt). This is because blockSeriesSet has no info about (mint, maxt) and populatedChunkSeries returns all chunks partially inside the time-range. It doesn't remove the values outside (mint, maxt).

Fixing this would mean adding mint, maxt to SeriesIterators, namely chunkSeriesIterator and chainedSeriesIterator. If you are okay with that, I will go ahead and fix this.

Yep, that's an oversight. Wondering whether it practically matters for PromQL.
But we should add the bounds checking to implement the API contract properly of course. The overhead is probably not significant compared to PromQL itself.


Migration from 1.15 to 1.16 fails on webauthn table

Gitea Version
1.16.1
Git Version
2.30.2
Operating System
Debian 11
How are you running Gitea?
Self-compiled from https://codeberg.org/Codeberg/gitea/src/branch/codeberg-1.16
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When doing a test migration for coderberg.org to 1.16 in an isolated vm, the migration fails with
022/02/11 13:34:47 ...ations/migrations.go:465:Migrate() [I] Migration[207]: Add webauthn table and migrate u2f data to webauthn
2022/02/11 13:34:47 routers/common/db.go:33:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: migrate: migration[207]: Add webauthn table and migrate u2f data to webauthn failed: Error 1406: Data too long for column 'credential_id' at row 1

The credential_id is a varchar(255) column.
Relaxing the sql mode would probably work but truncate the data, probably leading to u2f failing for affected users
(Might be related to #18477)
Screenshots
No response

Duplicate #18477

@zeripath
How is this a duplicate? This is a bug report about a failed database migration.

Sorry I apologise I misread your message.
What db are you using?

@zeripath
mariadb 10.5 is the database.
The column credential_id in the newly created webauthn table is created as a varchar(255) column which is obviously too small for what is being migrated from the u2f table, so the migration fails.
The migration would probably "work" if chosing another sql_mode which allows just overflowing columns to be truncated - which then would break webauthn for affected users. That's why I pointed to the other issue which might be related - a seemingly okay migration with truncation.

After this update, I can no longer login and I get a 500 error, with the log message: ers/web/auth/auth.go:218:SignInPost() [E] UserSignIn: auth source is not actived

@fnetX My issue seemed to be related due to the very similar scenario and that I saw that same migration error happen, but as it's solved and probably had more to do with my outdated config, I have removed the comment. Thanks for your comment!


Getting an error while running

I configured all tokens

https://github.com/yg/gh-followers-tracker

Fixed after updating the gist name and its content.
Thanks for making this action!

Hi! I was just about to type down the possible cause (name issue only :D).
Thanks for creating the issue and using it :)
Also, I took a look at your repo: you might want to change the notify() function's content (if you haven't already) as per your preferred method of notification.
Cheers!

I'm not getting Telegram Notification @plibither8 :rocket:

@plibither8 Do you get telegram notifications? I don't get it :cry:


vscode extension not terminating on vscode shutdown / restart, memory overload?

Hello,
We've recently installed the plugin and noticed our VM was running at near max capacity. This could be us not terminating vscode correctly but just FYI, we killed these processes manually. We have two seperate vscode instances connected but have a few tabs open. Seems reconnecting the next day doesn't kill it?
blank:~/wgs_aws_batch$ ps aux | grep java
user  494726  0.0  0.1 3110024 2624 ?        Sl   Nov18  11:25 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  495869  0.0  0.0 3108996 1244 ?        Sl   Nov18  11:19 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  502854  0.0  0.0 3108996 1516 ?        Sl   Nov18  11:34 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  506364  0.0  0.1 3108996 2620 ?        Sl   Nov18  11:10 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  537424  0.0  0.1 3105912 3612 ?        Sl   Nov19   9:50 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  542139  0.0  0.2 3108996 5488 ?        Sl   Nov19   9:51 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  545302  0.0  0.1 3103856 2476 ?        Sl   Nov19   9:35 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  547515  0.0  0.7 3105912 15052 ?       Sl   Nov19   9:34 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  576246  0.0  0.2 3106940 5996 ?        Sl   Nov20   8:35 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  580883  0.0  1.0 3103856 22060 ?       Sl   Nov20   8:36 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  584260  0.0  1.4 3102828 29252 ?       Sl   Nov20   8:29 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  615528  0.0  1.9 3108996 38476 ?       Sl   Nov21   7:38 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  618807  0.0  3.9 3107968 78684 ?       Sl   Nov21   7:34 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  757555  0.0  5.7 3101800 115824 ?      Sl   Nov25   3:41 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.1/bin/language-server-all.jar
user  815833  0.0  7.2 3100772 146808 ?      Sl   Nov26   2:31 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.2/bin/language-server-all.jar
user  842996  0.1  7.1 3111052 143576 ?      Sl   Nov27   1:38 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.2/bin/language-server-all.jar
user  854688  0.4  9.8 3098716 197304 ?      Sl   Nov27   4:26 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.2/bin/language-server-all.jar
user  858665  0.2  7.6 3107968 153608 ?      Sl   Nov27   2:17 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.2/bin/language-server-all.jar
user  862199  0.0  2.8 3098652 57408 ?       Sl   Nov27   0:37 g.sdkman/candidates/java/current/bin/java -jar g.vscode-server/extensions/nextflow.nextflow-1.0.2/bin/language-server-all.jar

I am seeing the same behavior in my local environment, which is VS Code on WSL. I can open a new VS Code window, start up the language server, then close the window, and in WSL I can see the language server JAR still running. So I guess the extension doesn't automatically kill any child processes when the window is closed.
I can run "Stop language server" from the command palette and I see the language server is killed.
I will try stopping the language server automatically when the extension is deactivated, in the next patch release. I'm not sure how it will work with your particular setup since VS Code can run in a lot of different environments, but we'll give it a try


Registering server side plugin on client side do not throw as expected

Plugins should define a static property:
static target = "client|server"


 Just forward to Array.isArray
You might end up with a few extra lines of code that are trivial to maintai.
But this will make it much easier for your users to adopt a newer version of this library.

In general, it is the position of the Closure Library maintainers that we want to remove the less-useful functions from the library - ones that are clearly no longer needed now that there is a viable cross-browser native implementation. We generally don’t believe that forwarding functions carry their own weight (they increase code size and API surface unnecessarily), and applications are better off cleaning these references up.
For functions in base.js in particular (such as goog.isArray), the standard for a function living in this file is very high as it is used by every single application at Google, and even a single extra function in base.js has a material difference in code size to our end users.
We announced these changes (and all other breaking changes) in our release notes: deprecation and deletion releases respectively. Every release of Closure Library is a new semver-major version, so these breaking changes should not be unexpected. On major upgrades, we expect users to make the changes necessary to keep our libraries as lean as possible.  When this is necessary, we provide ample warning and give clear guidance on how to do this.

Breaking your clients’ code for superfluous reasons is bad practice. We adopted your library to not be bothered by browser differences and expected these fns to “just work”.
Now you put the burden on your users to refactor. Please don’t.
As a library creator you should not break your clients. Of course this library is provided for free and you can do whatever you want
but we will not adopt any front-end Google library in the future as we can’t rely on it.
And keeping libraries “as lean as possible” is a bit funny as the closure compiler will remove that code if not used...
That’s the whole point. Justifying removing fns you don’t find useful anymore with code size is showing complete disregard for your users. Especially in base.js
Would you remove fns from libstdc?
Citing semver as a justification also shows a complete misunderstanding what versioning is about.
Any change that breaks backward compatibility is bad. Hiding it behind a new version number doesn’t make it good.

Code size is not the primary concern.  It's the mental overhead of having useless APIs floating around, many of which don't actually work the same as the native ones (even with forwarding aliases in place, Closure Compiler and/or TypeScript often have slightly different type checking behaviors for a variety of reasons).  This leaves us in a place where users don't have a clear understanding of which they should use, ultimately proliferating unnecessary "cargo-cult" dependencies on Closure where native calls would have been fine, and adds extra hurdles to the aggressive telemetry and refactoring we do in our codebase.
I also agree that semver is not a satisfying response.  This is not an ideal situation.  In an ideal world, we would use semver correctly rather than abusing it, and only remove these functions on real major version bumps, which we'd reserve for at most a couple a year.  Unfortunately, this is not particularly compatible with our internal requirements.  Our team's primary responsibility is optimizing the health of Google's entire codebase (i.e. a primarily internal focus), so we aggressively remove uses of obsolete functions throughout the codebase, and deletion is important to prevent backsliding.  Marking functions as "external only" could go part of the way, but then we get problems with API divergence for projects that need to work both internally and externally, as well as test coverage concerns.  So while it's not particularly satisfying, aggressive cleanups is ultimately where we landed.
Generally, the library is mostly "maintenance mode" in that we're not actively developing new features - just cleaning up obsolete ones.  Given that, there's not much in the way of motivation to upgrade the library terribly often - so breaking changes are only a concern on those rare occasions where you actually do need to upgrade.  For what it's worth, other Google frontend frameworks are owned by completely different organizations, many with more external focus than ours, so you'll likely have a very different experience with those.  We're committed to making sure external users are able to keep using Closure in a reasonable way, but we simply don't have the bandwidth to do extra work to minimize churn, particularly when we believe said churn actually makes our users' code base healthier and more readable.


Python: documentation for /memory

Description

Added documentation for files in  python/semantic-kernel/memory that were missing them, worded mostly the exact as in .NET
Closes #2141
Contribution Checklist

[X] The code builds clean without any errors or warnings
[X] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[X] All unit tests pass, and I have added new tests where possible
[X] I didn't break anyone :smile:

I deleted some comments that indicated a None value being returned, like in get_nearest_match_async and get_async, because the implementation of these methods is inconsistent across the connectors. Some throw errors while others return None.
Perhaps a consensus should be reached about this behavior? The C# inline docs for these functions indicate null values.


Connects to database=postgres regardless of PGDATABASE value

Hi, this project looks very promising and by far the simplest one to use I've found. Great work!
I'm using aiven.io for postgres hosting and AFIK they don't grant access to the default postgres database.
S when I run pg-schema-diff I get the following error: server error (FATAL: database "postgres" does not exist (SQLSTATE 3D000))
I've tried setting database in the DSN and the PGDATABASE env, but with no luck.

I'm going to close this because it's stale!


Correct reference to blocksize in PrimaryBlocks && Catch exception while calling makeTransferRequest in MSTrasferor

Fixes #9551
Status
not-tested
Description
Fixing the bug with the wrong reference to the 'blockSize' when trying to get PrimaryBlocks in Workflow.py and also catching any exception that  may be thrown while calling makeTransferRequest in MSTransferor.py. The exception is handled in a per workflow basis and only for that function call, so that the cycle is not interrupted and also later in the same iteration the success/failure counters could be updated.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

@amaltaro  all requested changes are done. You may check it again now.

@todor-ivanov Todor, I found a few more errors while testing this patch. Can you please apply the following changes from a local diff:
amaltaro@alancc7-cloud1:/data/srv/current $ diff -rup Workflow.py /data/srv/HG2003k/sw/slc7_amd64_gcc630/cms/reqmgr2ms/0.2.1.pre3/lib/python2.7/site-packages/WMCore/MicroService/DataStructs/Workflow.py
--- Workflow.py	2020-03-14 22:07:24.238310420 +0100
+++ /data/srv/HG2003k/sw/slc7_amd64_gcc630/cms/reqmgr2ms/0.2.1.pre3/lib/python2.7/site-packages/WMCore/MicroService/DataStructs/Workflow.py	2020-03-14 22:29:28.627473259 +0100
@@ -329,6 +329,8 @@ class Workflow(object):
             return [thisChunk], [thisChunkSize]

         # create a descendant list of blocks according to their sizes
+        # sortedPrimary structure is a list of tuples, such as:
+        # [('block_name_XXX', {'blockSize': 123, 'locations': ['XXX', 'YYY']}), ('block_name_YYY', {'blockSize': 345, 'locations': ['YYY']})]
         sortedPrimary = sorted(self.getPrimaryBlocks().items(), key=operator.itemgetter(1), reverse=True)
         chunkSize = sum(item[1]['blockSize'] for item in sortedPrimary) // numChunks

@@ -347,9 +349,9 @@ class Workflow(object):
                 if not sortedPrimary or idx >= len(sortedPrimary):
                     # then all blocks have been distributed
                     break
-                elif thisChunkSize + sortedPrimary[idx][1] <= chunkSize:
+                elif thisChunkSize + sortedPrimary[idx][1]['blockSize'] <= chunkSize:
                     thisChunk.add(sortedPrimary[idx][0])
-                    thisChunkSize += sortedPrimary[idx][1]
+                    thisChunkSize += sortedPrimary[idx][1]['blockSize']
                     sortedPrimary.pop(idx)
                 else:
                     idx += 1
@@ -360,7 +362,7 @@ class Workflow(object):
         while sortedPrimary:
             for chunkNum in range(numChunks):
                 blockChunks[chunkNum].add(sortedPrimary[0][0])
-                sizeChunks[chunkNum] += sortedPrimary[0][1]
+                sizeChunks[chunkNum] += sortedPrimary[0][1]['blockSize']
                 sortedPrimary.pop(0)
                 if not sortedPrimary:
                     break

@amaltaro
DONE

Thanks, Todor.
Unfortunately I found a couple other issues that I'm trying to address in a new PR
https://github.com/dmwm/WMCore/pull/9560
so we will likely close this one later.

The other PR has just been merged, so I'm closing this one. Thanks Todor!


Update active-directory-accessmanagement-troubleshooting.md

@RobdeJong,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@RobdeJong : Thanks for your contribution to the Azure documentation! The author, @curtand, has been notified to review your proposed change.

#sign-off

Hi @RobdeJong - The author has approved your proposed changes. Please resolve the merge conflict so the changes can be merged. Thanks

@RobdeJong - After the merge conflict has been resolved, the PR can be merged. Thanks

Hi @RobdeJong ,
This was already updated in the article. Also, it's not really "oldportal."
#please-close


BIG BLUE icons

@kroy96
The icons for happy clients, projects, hours of support, hard workers are really big .
The bar counter for skills is not going appropriate according to the displayed percentage of proficiency.

Hi, can u try to rectify it?

Hi, can u try to rectify it?

I can give it a try . ...will submit my code in a PR if successful

Dropping here my fixed code
https://1drv.ms/u/s!AlJQgU53LXIamWU4OpjP6NzWW2um


fix: converts to a keyword argument

Use double splat to convert explicitly the hash to keyword arguments.
This is necessary to keep the same behavior in Ruby 3.
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Thank you, but I took @schinery 's fix. I will credit you both.


MXCHIP AZ3166 serial port issue

I'm following this tutorial https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/ to connect my AZ3166 to Iot Hub.
The tutorial explain how to run the "Get started" tutorial.
In the section "Build your first project" I'm blocked at point 5. If I click on the "select serial port" button in the right down corner, nothing happens.
I'm using the last firmware 1.6.2 and visual studio code on a win10 pc.

The serial port works well if I try to open it from Putty, so I think this is a VScode issue

https://github.com/microsoft/vscode-iot-workbench/issues/661
fixed since the VS Code workbench v0.3.1


Use exact-width integers

I'd rather Natalie fail to build than to have weird behavior; seems like exact-width ints are a way to achieve that. This does fundamentally mean we only support 64-bit systems, but I'm sure that was already the case anyway. Now it's just explicit.
https://stackoverflow.com/a/9837399

Uggh, closing for now. Works on macOS just fine, but on Linux, int64_t is aliased to long, which breaks all kinds of stuff. :rage:


FR: Security: User banning, blacklist, flood control and word filters

Ban unwanted users from current topic
Ban users from all comment forms
Blacklist IP, IP Range
Word filters
Email ban
Flood control.  Specify the interval time for each comment to appear.

These have all been added in the latest release. Closing for now.


Queen Sacrifice Filter

Partial resolution of issue https://github.com/agadmator-library/agadmator-library.github.io/issues/86
This adds a "Queen Sacrifice" filter, selectable by checkbox in the UI after the underpromotion filter.
The logic follows black and white queen positions during games. When a queen is captured, it checks if the capturing piece was a queen. If so, this would be an exchange, not a sacrifice. It then checks if the next move was a capture of the other queen, which would also denote an exchange. In the case that a queen is captured, and the opposing queen is not recaptured in the next move, and it is not checkmate, nor does resignation occur, we consider this to be a queen sacrifice.
An exception: this does not take into consideration combinations in which there could be a series of moves before a queen is recaptured. It also does not take into consideration a pawn promoted to a queen that is thereafter sacrificed.

Came across a mismatched PGN while testing: https://github.com/agadmator-library/agadmator-library.github.io/issues/153

Thanks for contribution. Lets see it in action :)


vale-ls: init at unstable-2024-03-13

Description of changes
Supersedes #288450 which seems to have stalled. This addresses most of the comment left in the old PR by @oliviacrain . I didn't find any decent way to pass the installVale init parameter -- it seems that has to be sent by the LSP client as part of the handshake process? Either way, although the documentation says it's enabled by default, the actual code seems to never initialize the field, meaning it is None which is treated as disabled?
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Will find time to review this later today, but at first glance, it looks like all my feedback has been addressed!

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1600

Running phase: installPhase
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/gwq9a7lqlm8i190bhlszindvibjr5xwb-vale-ls-0.3.7-unstable-2024-03-13-vendor.tar.gz
checking for references to /build/ in /nix/store/gwq9a7lqlm8i190bhlszindvibjr5xwb-vale-ls-0.3.7-unstable-2024-03-13-vendor.tar.gz...
patching script interpreter paths in /nix/store/gwq9a7lqlm8i190bhlszindvibjr5xwb-vale-ls-0.3.7-unstable-2024-03-13-vendor.tar.gz
error: hash mismatch in fixed-output derivation '/nix/store/mixk6dkkv8013hv0lh8plbsbrz4lfl2f-vale-ls-0.3.7-unstable-2024-03-13-vendor.tar.gz.drv':
         specified: sha256-JDsveGMQaDLFOba6oKYdm14IYDUf4+FIG4dPm09zWog=
            got:    sha256-ifKdSTmVWfDZF5Kn9b5JpzDxa160oRTfzjvxeL9POBg=
error: 1 dependencies of derivation '/nix/store/ilaza77a8zxradx3hsdizfkpj4gxsflc-vale-ls-0.3.7-unstable-2024-03-13.drv' failed to build

@ofborg build vale-ls

Getting the same result here, I wonder if something got yanked & updated from crates.io? Or does the nix package version change also affect cargoHash?

Getting the same result here, I wonder if something got yanked & updated from crates.io?

Maybe some upstream did something very unscrupulous like moving a tag.

Or does the nix package version change also affect cargoHash?

That's unlikely to happen, don't worry

(Rebased on lastest master)
Okay this is interesting. When I build from my local copy I get the cargoHash specified in the derivation, but when I do nix build github:jansol/nixpkgs/vale-ls#vale-ls I get the one in your error message.

Nvm looks like the hash change was indeed caused by addressing the review comments (which I'd forgot to pull into my local branch). Now they match up as expected.


Implement remove function

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #9   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          42     43    +1
  Branches       16     16
=====================================
+ Hits           42     43    +1

Impacted Files
Coverage Δ

index.js
100% <100%> (ø)
:white_check_mark:

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 cd60916...0363820. Read the comment docs.


obvious characters that are very common on huggingface not allowed

🐛 Describe the bug
/home/jonathan/anaconda3/envs/embedch/lib/python3.12/site-packages/langchain_core/api/deprecation.py:119: LangChainDeprecationWarning: The class HuggingFaceHub was deprecated in LangChain 0.0.21 and will be removed in 0.3.0. Use HuggingFaceEndpoint instead.
warn_deprecated(
Error during chat: 1 validation error for HuggingFaceHub
root
Repo id must use alphanumeric chars or '-', '', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'Mistral-7B-v0.1:latest'. (type=value_error.hfvalidation)

@jonabert Please can you try upgrading huggingface_hub pip install --upgrade huggingface_hub and let us know if it works?

works


[do not merge] test

Checking that the Netlify preview worked, which it did: https://deploy-preview-81--romejs.netlify.com/


Switch to Go 1.7

[x] use new context library
[x] use sub-tests
[ ] switch to flexible environment in GAE (?)

Needs a rebase, but on green, looks good to go.


Add GraphNode 'selected' and 'deselected' signals, simplify GraphEdit

Make GraphEdit node selection signals more consistent whether node is selected through UI or through code.
Implementation details:

Add "selected" and "deselected" signals on GraphNode.
Update GraphNode.set_selcted() to

do redundancy check (if node is already in proper selection state);
fire corresponding signal.

Update GraphEdit to subscribe to "selected" and "deselected" signals of each child GraphNode

on signal callback fire "node_selected" or "node_deselected" signals

Remove logic to fire "node_selected" / "node_deselected" from GraphEdit code as it is now handled by GraphNode
Move "selectable" logic from GraphEdit to GraphNode

That way proper signals are fired regardless of whether GraphNode is selected from UI, by setting it's "selected" property in the code, or by calling GraphEdit.set_selected(graph_node).
The patch is not compatible with 3.x branch because of renamed signals and type annotations introduced in 4.x version. Once merged I will do proper backport to 3.x branch.
Fixes #41799

@YuriSizov can we get it started?

Resolved recent conflicts caused by adding "selectable" logic. @SaracenOne you're welcome to review changes

This PR is ready for review

@Geometror Updated code to not send node_selected signal.

Looks good! Could you squash the commits? See PR workflow for instructions.

@akien-mga Done

Thanks! And congrats for your first merged Godot contribution :tada:


Failed to connect to NodeJS - Max connection attempts reached

Leaving Brackets alone for a few minutes produces this error. Later behavior does not seem to be affected. I have a couple (many?) of extensions installed. I am using the "proxy" configuration parameter (as I am behind a corporate HTTP & HTTPS proxy).

Brackets 0.38.0-12606 (win), Git 1.8.3.msysgit.0 & Brackets-Git 0.13.10
Failed to connect to NodeJS. If you've just updated the extension then close all instances of Brackets and try starting again.
Error: Max connection attempts reached

Error: Max connection attempts reached
    at Object.exports.toError (file:///C:/Users/kowalskif/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:158:16)
    at Object.<anonymous> (file:///C:/Users/kowalskif/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:67:37)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:550:26676)
    at Object.k.fireWith (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:550:27489)
    at Object.<anonymous> (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:550:28170)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:550:26676)
    at Object.k.fireWith (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:550:27489)
    at Object.e.(anonymous function) [as reject] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty

Same for me. As soon as I start Brackets it throws the same error "Unable to connect to NodeJS" . Max connection reached.

Getting this too on brackets installed 2 days ago. Pop up with 'Unable to connect to NodeJS...' as soon as it starts up

I just updated brackets to 1.7.0 on ubuntu 14.04 and started getting this error. I tried re-installing and restarting a couple of times but didn't help. When I downgraded to 1.6.0 it started working again.
I had no issues when I upgraded on windows 10. So there  seems to be an issue in ubuntu.
By the way, localhost is correctly mapped to <IP_ADDRESS>

@abose @MarcelGerber @nethip did anything change specific for Linux with 1.7 ? See comment above please. I'll assume that https://github.com/zaggino/brackets-git/issues/1300 is also the same issue.

@zaggino We are currently looking at it. Once fixed we will refresh the installer builds.

This is fixed in https://github.com/zaggino/brackets-electron/releases


StickyScroll separator from editor not visible in Monokai theme

Type: Bug
StickyScroll separator from editor is not visible on screen under the code using Monokai theme.
StickyScroll is a great feature, but sometimes confound, because what it shows seems part of the code below it. For example:

Here the test "… dd16" seems empty on the screen, the black separator line is barely visible on my screen under the code. It is more visible on the right side outside the code, where I don't look during coding. Note instead that the line is clearly visible in the above screenshot.
To reproduce, load a .ts file, enable the Monokai theme, scroll the code an see StickyScroll seems part of the code below it.
Maybe just changing the line style into the style of the vertical ones (bottom-left in the screenshot) that mark tab stops is sufficient.
Thanks for considering.
mario
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.77GB (11.93GB free)

Process Argv
--crash-reporter-id df3b806e-c371-4e03-89b8-d13088946634

Screen Reader
no

VM
0%

Extensions (66)

Extension
Author (truncated)
Version

vscode-openapi
42C
4.15.8

Bookmarks
ale
13.3.1

read-aloud-text
azu
1.2.3

vscode-file-templates
bam
1.1.0

spellright
ban
3.0.90

github-markdown-preview
bie
0.3.0

markdown-footnotes
bie
0.0.7

markdown-mermaid
bie
1.15.2

markdown-yaml-preamble
bie
0.1.0

vscode-toggle-quotes
Bri
0.3.6

refactorix
chr
0.3.7

markdown-word-count
Cur
0.0.6

vscode-eslint
dba
2.2.6

vscode-pandoc
Dou
0.0.8

eslint-disable-snippets
drK
1.3.0

gitlens
eam
13.0.4

vscode-great-icons
emm
2.1.86

restore-terminals
Eth
1.1.8

vscode-todo-plus
fab
4.18.4

auto-close-tag
for
0.5.14

todo-tree
Gru
0.0.219

plantuml
jeb
2.17.4

code-eol
jef
1.0.12

vscode-peacock
joh
4.2.2

jsdoc-generator
kim
0.0.4

tag-rename
kri
0.2.1

stack-tabs
kyl
0.0.2

git-graph
mhu
1.30.0

prettify-json
moh
0.0.3

tab-cycle
mpo
1.0.1

isort
ms-
2022.4.0

python
ms-
2022.18.1

vscode-pylance
ms-
2022.11.10

jupyter
ms-
2022.9.1202862440

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

hexeditor
ms-
1.9.9

notepadplusplus-keybindings
ms-
1.0.7

gremlins
nho
0.26.0

abracadabra
nic
6.16.0

pandocciter
not
0.9.3

leaper
Onl
0.10.5

refactor
p42
1.163.0

vscode-jscpd
pau
0.3.4

bib
phr
0.3.0

git-file-history
pom
1.0.1

vscode-thunder-client
ran
1.20.1

typescript-hero
rbb
3.0.0

vscode-yaml
red
1.10.1

pandoc-markdown
rso
0.1.2

vscode-javascript-booster
sbu
14.0.1

code-settings-sync
Sha
3.4.3

trailing-spaces
sha
0.4.1

markdown-preview-enhanced
shd
0.6.5

vscode-scss-formatter
sib
2.4.3

unique-window-colors
stu
1.0.51

sass-indented
syl
1.8.22

tabnine-vscode
Tab
3.6.19

highlight-matching-tag
vin
0.10.1

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.29

change-case
wma
1.0.0

JavaScriptSnippets
xab
1.8.0

markdown-all-in-one
yzh
3.4.3

(1 theme extensions excluded)

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Feature/run roscore in app

This PR allows to run the ROS master on the device.
Fixes #127.

@jubeira Thanks for your review.
It was also showing this kind of weird URI, this is the URI returned by getMasterURI. I tried to connect using this URI and it was working perfectly.
However it can be confusing, so I changed the code to show the IP address of the device.


1.19 - 1.19.2 and 1.19.3 Support?

As the title said
Have to ask because I like the purpose this mod providing, useful

I got most of the 1.19.2 support, just need to do some tweaking with the update masa released for malilib that I needed for it.

oh nice, hype 🐱🏍

Hey there, the mod is looking like a nice tool for moderation!
Any news concerning the updates to the latest Minecraft versions?

Due to circumstances, i can't give an eta for it.

just a reminder :) would also love to see it. Hope your circumstances are getting better for you!

Working on the coreprotect integration at this moment but just on coreprotect side at this moment

nice! thx for the effort put into this mod Vacla! I'll patiently wait for the when ledger is supported again :D cant wait!

@vacla is there any progress on a 1.19 release?

I havent been able to get behind my own pc so i havent been able to test yet.

Closing as it has been released for 1.19.


"Paste format only" broken in Google Sheet

In Google Sheet the shortcut Ctrl+Alt+V doesn't work anymore with the Azerty+ layout.
It works fine with Windows' default Azerty layout.

Yes, you are right, good catch!
Unfortunately, I don’t think there’s much that I can do about this.
Ctrl+Alt+v is, in fact, AltGr+v which is a dead-key that maps to the ¸ (COMBINING CEDILLA U+0327) diacritical.
In fact, if you type Ctrl+Alt+v, followed by Space in Google Sheets, you will observe that a ¸ (CEDILLA U+00B8) character is typed into a cell.
Instead, I have initiated a new page listing the known broken keyboard shortcuts when using the new AZERTY-NF layout.

Ok not fixable :)


Investigate why apple/swift-nio-ssl-support is not being added by the nightly script

It's being referenced as a dependency by 77 packages yet our nightly doesn't discover it as a missing package.
Example package: https://swiftpackageindex.com/brokenhandsio/SteamPress

Ok, this is interesting. None of the 77 packages actually has swift-nio-ssl-support among its direct dependencies. That's why our validator isn't picking it up. What's happening is that apparently all of these packages are referencing an older Vapor version (3.x) which did have it as a dependency.
Take for instance SteamPress. I has
    	.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),

in its manifest and show-dependencies shows the graph as follows:

Because we use package resolution when we populate versions.resolved_dependencies we get the "true" graph for the versions as specified. validator doesn't do package resolution - it just takes each direct dependency url and crawls the tree - but not historically. So since later Vapor versions don't reference swift-nio-ssl-support it's not being picked up.

I think we can both fix this discrepancy and make validator much more efficient. Rather than crawling 6k packages and probe each of their direct dependencies, we can just compile the full list of dependencies to test server side (like I did manually here) and simply probe the ones we don't have in the index yet, also server side. No GH requests required at all. We just need an API endpoint we can query from the validator to get the missing dependencies.

This is now running in our nightly and as we progress through the backlog of new packages apple/swift-nio-ssl-support will be added. From a local run finding all packages that will eventually be added:
      ...

  ✅ ADD 31 https://github.com/aidantwoods/swift-sodium.git
  ✅ ADD 32 https://github.com/alibaba/HandyJSON.git
  ✅ ADD 33 https://github.com/apple/swift-cmark.git
  ✅ ADD 34 https://github.com/apple/swift-lmdb.git
  ✅ ADD 35 https://github.com/apple/swift-nio-nghttp2-support.git
  ✅ ADD 36 https://github.com/apple/swift-nio-ssl-support.git
  ✅ ADD 37 https://github.com/apple/swift-nio-zlib-support.git
  ✅ ADD 38 https://github.com/art-divin/Stencil.git
  ✅ ADD 39 https://github.com/art-divin/StencilSwiftKit.git

      ...


wanted: a thing that automatically publishes a GH release after npm publish

What is this? I don't know.  GitHub action?  Probot thing?  npm script?
Requirements:

After a successful npm publish:
If a draft GitHub release has been saved which matches the new published version (careful to note the v prefix) and has a non-empty description text, publish it.
If no matching GitHub release has been created (in other words, no "draft" release exists), do nothing OR create and publish a new release (adhering to the current GitHub tag & release naming convention) with the description text being the top section of CHANGELOG.md.

I imagine there's something out there already that'll get us at least partway there.  Maybe @gr2m or someone else at Hoodie knows of a tool?

I use semantic-release on all my npm packages, but it works slightly different. semantic-release can be setup to run as a GitHub Action.
You could build this yourself, but honestly I’d setup semantic-release and be done with it. There are only three relevant commit conventions you’ll need to follow

fix: ... or fix(scope name): ... prefix in subject: bumps fix version, e.g. 1.2.3 → 1.2.4
feat: ... or feat(scope name): ... prefix in subject: bumps feature version, e.g. 1.2.3 → 1.3.0
BREAKING CHANGE:  in body: bumps breaking version, e.g. 1.2.3 → 2.0.0

That gives you all this for free:

automated publishing to npm with the right version
automated GitHub releases with release notes
notification to all pull requests and associated issues that are included in that release

I like the GitHub release draft idea, I’d love a setup where semantic-release would just create GitHub release drafts so I can review and edit them, and only when I decide to publish the release, it gets published to npm as well. But that does not exist yet

@gr2m Thanks for the input!  I too use semantic-release on many projects, but I'm not sure it's a great fit for Mocha.  standard-version may be more suitable for Mocha (we need a human to sign off on the CHANGELOG), but we'd still have to require a commit message convention.
Really, we just a thing that takes the changesets-since-last-tag and uses those as a starting point for a CHANGELOG, but that's tangential to this issue.
I'll keep asking around; I'm sure somebody has attempted this somewhere.


perlPackages.CryptOpenSSLRandom: unbreak on aarch64-darwin

Description of changes

Unbreak on aarch64-darwin, as specified abort does not happen anymore. Tested using imapsync.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build perlPackages.CryptOpenSSLRandom

Interesting error, I'm unable to reproduce this.

system: "aarch64-darwin"
host os: Darwin 22.4.0, macOS 13.3
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.13.3
channels(mark): ""
channels(root): ""
nixpkgs: /nix/store/86f0vh4ki95qjswnfwv7rwyd6h2bgdx1-source

Build logs on my end: https://gist.github.com/mikroskeem/1b50624ec58e97873d5c08f2db9c5f4b

Do you have anything interesting in Console.app as well about this abort?

Summoning @NixOS/darwin-maintainers for additional testing / thoughts.

I am on macOS 13.1 and can reproduce the same abort as in here: https://logs.nix.ci/?key=nixos/nixpkgs.222011&attempt_id=0375f192-bbe4-4007-bcac-4f15e5f03150

Result of nixpkgs-review pr 222011 run on aarch64-darwin 1

1 package marked as broken and skipped:

almanah

29 packages built:

dkimproxy
imapsync
perl534Packages.CryptOpenSSLRSA
perl534Packages.CryptOpenSSLRSA.devdoc
perl534Packages.CryptOpenSSLRandom
perl534Packages.CryptOpenSSLRandom.devdoc
perl534Packages.CryptOpenSSLX509
perl534Packages.CryptOpenSSLX509.devdoc
perl534Packages.CryptScryptKDF
perl534Packages.CryptScryptKDF.devdoc
perl534Packages.MailDKIM
perl534Packages.MailDKIM.devdoc
perl534Packages.MojoSAML
perl534Packages.MojoSAML.devdoc
perl536Packages.CryptOpenSSLRSA
perl536Packages.CryptOpenSSLRSA.devdoc
perl536Packages.CryptOpenSSLRandom
perl536Packages.CryptOpenSSLRandom.devdoc
perl536Packages.CryptOpenSSLX509
perl536Packages.CryptOpenSSLX509.devdoc
perl536Packages.CryptScryptKDF
perl536Packages.CryptScryptKDF.devdoc
perl536Packages.MailDKIM
perl536Packages.MailDKIM.devdoc
perl536Packages.MojoSAML
perl536Packages.MojoSAML.devdoc
spamassassin
spamassassin.devdoc
sympa

@GrahamcOfBorg build perlPackages.CryptOpenSSLRSA perlPackages.CryptOpenSSLRandom perlPackages.CryptoOpenSSLX509


Fluently add expected exceptions to Logging{Service,Client}

Motivation:
ref. #3400
Modifications:

Add Logging{Service,Client}Builder#responseLogLevel(Class<? extends Throwable> clazz, LogLevel logLevel)
Add Logging{Service,Client}Builder#requestLogLevel(Class<? extends Throwable> clazz, LogLevel logLevel)

Result:

Closes #3400
Users easily add expected exceptions with a log level
For example:

        LoggingService.builder()
                      .responseLogLevel(IllegalStateException.class, LogLevel.WARN)
                      .responseLogLevel(RuntimeException.class, LogLevel.ERROR);
                      ...

@jrhee17 @minwoox Gentle ping

Great job as always, @ta7uw 😄


ci(*): update codecov action version of GitHub workflows

Recently codecov/codecov-action v4 was released. so I updated its version
https://github.com/codecov/codecov-action/releases

I'm not sure if codecov is really working for our repo anymore, but we can give it a try


chore: release 1.1.9

:robot: I have created a release *beep* *boop*
1.1.9 (2022-11-27)
MODS

readme update (66f645d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Galaxy-Wish-Star/E-commerce/releases/tag/v1.1.9 :sunflower:


Remove ax spines (top and right), outlined bars

I made some adjustments to the look of ctreeviz_leaf_samples(). It looks pretty cool now :)
If you think that everything is fine, I will add all the adjustment to the other visualisation, viz_leaf_samples_by_class()
close #56

Looks much better! Please do add to other visualizations.


Add a library option

Enable an option to build a library project to produce .a & .so outputs rather than an executable

@jeffbrn this option is now supported as of 0.6.x


Pre-trained NER BERT model available?

Hi
I'd like to test out your pre-trained BERT NER model. Do you have plans to release soon?

Hi, we just used google's pre-trained BERT, and fine-tuned on conll2003 dataset.


[Project Idea] Introduce Github discussions, gitter, or similar?

I've been wondering whether there might be value in enabling Github discussions or setting up gitter or something similar to allow for an additional channel of discussion of up coming changes, project development questions, or announcing when you are working on something that isn't ready for a PR to avoid duplicate efforts. Any interest in this? Anything public adds an amount of moderation overhead which might out weigh the value depending how active it is. Perhaps just creating issues and self-assigning (permissions permitting) would work.

That sounds like a grand idea, thinking lowest friction would be Github discussions. Would you be up for helping manage those by any chance?

I created some initial discussion topics, #54 and #56, feel free to contribute.


Support for search / highlight

Would be really nice if you could filter console lines via search. Or even just highlight a desired key. I know this may not be the intention of this tool but when filtering back in time, would be great to search for specific data if needed!

Thanks for the suggestion! I definitely want to add search/highlight functionality to kubetail. It will take some time to implement but now's a good time to start specing it out. Is there another tool that you think has implemented log search particularly well so far?

As far as web k8s logs viewers go, I don't think there is much out there honestly... I know for IDE's I use K8s Lens that when you view a pod's logs it allows for searching via highlight and then jump around to results.

I think this is the best option depending on how you render your front end results. I assume there is some JS packages that allow for search/highlight content on page.
Found something that seems to cover it pretty well.
https://markjs.io/
Specifically the example Search bar with jump to matches

Thanks! I'll take a look at K8S Lens and mark.js.

I think in this case client-side search and indexing makes sense; no load increase on the backend and the client already has all the searchable data anyway so why not make use of it.

I agree with @nefarius, The front end data is loaded in the first place regardless and then filtering can be done client/DOM level and in theory no extra heavy lifting on the backend or really front end either. I think a highlighting approach is best and just have it jump around to matches. Similar to vscode in file search or any other ide as an example

Currently, the frontend only stores new events so the full log files aren't directly accessible locally. We could change this behavior and download the full files in the background and that would work well for small/medium files but it could be problematic for large amounts of data (and data egress costs could also be an issue down the road for power users). I'm still curious to test out client side search though because it might be useful for small amounts of data or in other contexts.

Can you tell me how we will generated token when we use tokenauth.yaml. you didn't mention any commads or steps to get the token value to login in server.

Tokens are a Kubernetes authentication feature that you can use to add user authentication to your cluster. Depending on how you've configured your cluster they can be obtained from the cluster itself (Bootstrap Tokens) or from a 3rd-party authenticator plugin (e.g. aws-iam-authenticator). If you aren't using tokens to authenticate to your cluster you can use the kubetail-clusterauth.yaml manifest file to run Kubetail. If you'd like to start using tokens as part of your normal Kubernetes auth flow here are some places you can start:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/
https://github.com/kubernetes-sigs/aws-iam-authenticator
I'm happy to answer any more questions you have about tokens but this Github issue is about search so please create a new issue if your question isn't search-related.


[How to Use] Failed to get the video

Version
3.0.0-ver.5
Platforms
Android
Device Model
Galaxy S23
flutter info
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.2 23C64 darwin-x64, locale ko-KR)
    • Flutter version 3.16.5 on channel stable at /Users/xxxxxx/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (7 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/taehyun/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

How to reproduce?
Always fail to get video and other media
Logs
not error message

Example code (optional)
final PermissionState ps = await PhotoManager.requestPermissionExtend();
print("ps : ${ps.hasAccess}");
if (!mounted) {
  return;
}
if (ps.isAuth) {
  print("ps is auth");
  // return PhotoManager.openSetting(); <<<<<<<<<<< dev flavor isAuth == true / but stage flavor isAuth == false
}
// Further requests can be only proceed with authorized or limited.
if (!ps.hasAccess) {
  print("ps is not access");
  setState(() {
    _isLoading = false;
  });
  return;
}
// Obtain assets using the path entity.
final List<AssetPathEntity> paths = await PhotoManager.getAssetPathList(
  type: widget.onlyImage ? RequestType.image : RequestType.common
);

Contact
<EMAIL_ADDRESS>

?

sorry;

Please use the example of the plugin to verify if the issue persists, and provide screenshots or screen recording if it does.

Only Permisson.photo, not Permission.video.
In the past, I think it was probably brought to mediaLibrary Permission.


"Delete All AppMaps" doesn't consistently work

@dustinbyrne fixed this: https://github.com/getappmap/vscode-appland/pull/756


My background image is a gif. How do I save it?

Gif is not supported

@burhanrashid52 Do you have a suggestion for how to support gifs? I don't care if while editing the image will be only a frame from the gif, but on save the changes will apply on all frames.
Is there an option to get the canvas of the changes so I can apply it over all of the frames?


Disk status incorrectly reported

Describe the bug
Disk status incorrectly reported
Environment
Provide accurate information about the environment to help us reproduce the issue.

Harvest version: harvest version 21.05.2-1 (commit ce091de) (build date 2021-06-14T20:31:09+0530) linux/amd64
Command line arguments used: [e.g. bin/harvest start --config=foo.yml --collectors Zapi]
OS: RHEL 7.9
Install method: yum
ONTAP Version: 9.7
Other:

To Reproduce
N/A
Expected behavior
disk_status metrics should return 0 for a failed disk and 1 for a healthy disk
Actual behavior
disk_status reports 1 for all disks regardless of state
Possible solution, workaround, fix
Issue is due to the outage info not included as a label so the value mapping does not work in file /conf/zapi/cdot/9.8.0/disk.yaml
https://github.com/NetApp/harvest/blob/667411afb9347369e348bbc26c75ad35466fa74d/conf/zapi/cdot/9.8.0/disk.yaml#L32
adding ^ to include the reason label corrects the status value mapping

Thanks @hashi825 for the issue and fix


Bugfix: RunKit example

Expected behaviour
When navigating to the RunKit example via NPM, example/runkit.js should be preloaded.
Actual behaviour
example/runkit.js is not preloaded.
Steps to reproduce
Navigate to the RunKit example.
Your environment

Operating system(s): n/a
TwitchJS version: 1.2.7
NodeJS version: n/a
Browser(s): n/a

Notes
This could actually be working, but it could take some time before RunKit updates their caches. I am just leaving this here so we don't forget about it.

It may not be working because the examples directory is not included in the published package.


storybook-vue3-router doesn't appear to be written in CJS

I get this warning, using storybook with vite
storybook-vue3-router doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

@olemarius there was an issue  with a very early version of the package not exposing entry point correctly, but this was resolved with version 1.0.1, can you confirm you're using higher version?
I've just created a new Vite app and installed package and it worked as expected, if you are using v1.0.1+ would it be possible for you to provide reproduction?

@olemarius I've published a new version which should now work for you: v2.2.1


Not working for https://astro.build/ project

Install Astro.js
Run yarn dev
Run plow http://localhost:4321 -c 1

When i do get the page using the CURL command it works perfectly with the plow command it just throws the errors as below
Benchmarking http://localhost:4321 using 1 connection(s).
@ Real-time charts is listening on http://[::]:18888

Summary:
  Elapsed       6.3s
  Count       198140
  RPS      30973.209
  Reads    0.000MB/s
  Writes   0.000MB/s

Error:
  198140  "dial tcp4 <IP_ADDRESS>:4321: connect: connection refused"

Statistics    Min       Mean    StdDev    Max
  Latency     19µs      31µs    170µs   33.864ms
  RPS       29891.75  30919.29  680.36  31722.55

Latency Percentile:
  P50   P75   P90   P95   P99   P99.9  P99.99
  29µs  32µs  35µs  38µs  56µs  149µs  1.33ms

Latency Histogram:
  28µs      149024  75.21%
  31µs       33426  16.87%
  36µs       12556   6.34%
  53µs        2758   1.39%
  138µs        336   0.17%
  1.983ms       34   0.02%
  21.177ms       4   0.00%
  33.323ms       2   0.00%

The error message 'connection refused' usually indicates an issue with the service, not the tool. Please ensure the service is running and verify the IP address and port.

Fond the issue plow is resolving to the IP address instead of localhost
When I want to test http://localhost:4321 it tries to connect via IP <IP_ADDRESS>:4321 but my site is running over localhost so you cannot access it  over http://<IP_ADDRESS>:4321/
It should use localhost instead of using <IP_ADDRESS>

The reason might be that localhost is resolving to the address ::1, and it looks like Plow has some issues supporting IPv6.


Cleanup the debounce function

Don't know why I didn't think of _.delay...

+1 also Justin if you create the branches on the main repo rather than your fork sauce can run on the pull

Nah let's leave 'em on our own repos. Little easier administratively.

For things like this is nice to prevent regressions as would of happened if #2339 went through

But did sauce catch it eventually? The problem with this idea is that it wouldn't catch commits by non-"contributors". I'd rather have better error alerting for both core and casual contributors than preference one over the other and potentially miss an error like this.

With these changes, the improvements achieved by http://modernjavascript.blogspot.co.uk/2013/08/building-better-debounce.html, where thrown away.
I don't see any discussion about it, pros/cons about the decision

With this "clean up", the improvements achieved by http://modernjavascript.blogspot.co.uk/2013/08/building-better-debounce.html, where thrown away.
I don't see any discussion about it, pros/cons about the decision

How do you mean, please justify your statement
On Sat, Oct 15, 2016 at 3:18 PM, 李宗泽<EMAIL_ADDRESS>wrote:

With this "clean up", the improvements achieved by
http://modernjavascript.blogspot.co.uk/2013/08/
building-better-debounce.html, where thrown away.
I don't see any discussion about it, pros/cons about the decision
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jashkenas/underscore/pull/2340#issuecomment-254005040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADUIEAQHkVf_KpXhq9GoQTKdWHvR1-Rpks5q0ScTgaJpZM4Gc8HM
.

FWIW, I think he's saying that the old and crusty debounce was something that was arrived at through a lot of tweaks/input — this cleanup may have reverted to an even earlier, more naive, implementation that has some different behavior that isn't caught by the tests. (Testing debounce edge cases are very, very tricky)

Thank you Jeremy. That's what I meant.
The improvements that were introduced here https://github.com/jashkenas/underscore/pull/1269 (based on the blog post) were basically reverted. There was no discussion about it, so I wanted to raise awareness of the regression.
The current version is cleaner and more maintainable probably. So maybe it's ok.
I don't have any problems with the current implementation. I just research different implementations at the time I was writing this blog post, some months ago https://css-tricks.com/debouncing-throttling-explained-examples/


Fix 64 bit buffer

cc @nmoinvaz

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

LGTM


Inputs are added as additional accessories

Using 12.2 released today. The input selector shows up empty, while inputs are shown as separate accessories instead.
Screenshots attached.

Hello, im currently working on v3 with a rewritten code , i will check this in v3

Hello, im currently working on v3, the beta is now available!
How to download and configure:
https://github.com/SeydX/homebridge-bravia-tvos/issues/32

This worked fine in v3 the first time I used it. However, once I restarted homebridge to add Netflix as an input, all inputs were added as additional switches again.

Can you force quit Apple Home app and open it again pls, normally after force quitting the app and reopening they must be gone

That worked! Thank you.


How to add text bound to screen pixels, not to chart coordinate space?

How can I add text bound to screen pixels instead of chart coordinates? For example, p.Plot.Add.Label("Chart 1", 70, 70) should be 70 pixels from the top left corner all the time regardless of the axes limits?
(If pixels aren't versatile enough, percentages or whatever are good too)

Thank you so much for your quick and helpful reply! I missed the annotations somehow.


Exclude lib/rubocop-foo.rb from Naming/FileName cop

After initial generation, RuboCop finds an issue with the generated repo that nudges the author to violate gem naming conventions. See naming conventions here:
https://guides.rubygems.org/name-your-gem/
And post-generation disabling eg here:
https://github.com/rubocop-hq/rubocop-rails/blob/72c0fdd7b32083fa936780424db6eea31d75194b/.rubocop.yml#L86

@pocke This looks good to me. What do you have any opinion?

I just published v0.2.1. https://rubygems.org/gems/rubocop-extension-generator/versions/0.2.1
Thanks!


Renaming editor tabs

Godot version:
3.2
OS/device including version:
Any
Issue description:
currently the editor still has Inspector and Node as tabs that are not true to the function they perform. Instead I propose renaming them to Properties/Signals/Groups for visibility and more streamlined editor experience/practice. This seems very legacy-ish [v1.0]
Steps to reproduce:
Minimal reproduction project:*

Could you be more explicit? This seems pretty subjective to me.
The Inspector has not changed its function, if its name was correct in 1.0, it still is today. It's a panel which lets you inspect the properties of a node, as such its name seems accurate. For sure it could be named "Properties" instead, but I don't see much incentive to rename it just for the sake of it (and it would require updating documentation and would make all thirdparty tutorials referring to it obsolete).
The Node panel didn't exist in 1.0... And it contains two tabs named Signals and Groups. Renaming it "Signals/Groups" doesn't seem like a good idea. There's already another proposal to split it into two docks: #27629.

Seeing how this is marked as a discussion - I'll throw my voice in there.
I don't believe that they should be renamed. The Inspector tab is quite descriptive in what it does. It "inspects" the properties of a node. Or even it is an "Inspector" dock for the currently selected node. I feel like it just semantics at that point though.
Splitting the Node dock into two different ones that represent the sub-menu, I do think is a good idea.

Closing due to lack of support. As for the Node dock, this should be discussed in #27629.


unistall script?

hi,
is there any script or guide on how to fully uninstall?

How did you install?

I was not able to, but found a solution in correcting the IP address in the config settings. I don't know how to install.


Print the token tree in its DebugWithDb

While hacking on other things I found that TokenTree's were not debug-printing in a useful way for my purposes.
cc https://github.com/dada-lang/dada/issues/14

After a few more hours of experience I'm not sure this is quite the right thing to do. It doesn't match the pattern used in other syntax entities, like Tree, where some fields of Tree are printed, but not all.
But I am also finding that Tree doesn't print what I expect either - it is just printing the tokens, but not the parsed expression.
I'd like to take another pass at this yet, but I'll leave it here for comments.

I think something like this might be helpful :)

This patch is not correct in several dimensions and I'm not immediately planning to fix it so I'm closing it. Per niko's previous comment, we need someway to see this info, but the standard debug view isn't it because it produces huge output and explodes the test cases.
In the meantime, with this specific case I can just reach into the tree and print the tokens themselves.


Tag versions

I might suggest putting a tag on the repo so that you can link to the last time you actually ran the Docker container.

Using DockerHub's automated builds, this is not a straightforward thing to do.
One solution is to have an orphan branch with the latest tested version, but this is rather ugly.
As we (hopefully) fixed any Docker problems now, I don't see the need for this "finished" project.
@pbelmann Let's just make sure that everything runs smoothly before we resubmit - closing this.

Actually, after discussing this with @asczyrba, I introduced the requested tags:
https://github.com/metagenomics/2015-biogas-cebitec/releases
The Docker container will still be updated if we push to the master branch.
But one can rebuild the container by loading the Dockerfile of any release.

We could try to switch to quay.io
It allows git tag -> docker tag  tracking
See jpilloras answer to my question:
https://github.com/docker/docker/issues/9561

Cool feature & definitely useful, e.g. for shipping bioboxes and stuff.
However, I don't see the real practical benefit for this project.
If the container works, there is no interest to re-run an earlier version.
Therefore, I'd leave it on DockerHub (also for longevity reasons).

I agree.
For future development of this pipeline we should think about it since quay.io allows direct conversion to rkt.


chore: remove old messaging

@DouweM mind reviewing? Don't want to keep old messaging inside the handbook.


removing invalid properties

Docs Build status updates of commit eb873be:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/anthony-bartolo.yml
:white_check_mark:Succeeded
View

advocates/ari-bornstein.yml
:white_check_mark:Succeeded
View

advocates/brandon-minnick.yml
:white_check_mark:Succeeded
View

advocates/bryan-hughes.yml
:white_check_mark:Succeeded
View

advocates/cynthia-zanoni.yml
:white_check_mark:Succeeded
View

advocates/dave-glover.yml
:white_check_mark:Succeeded
View

advocates/dean-bryen.yml
:white_check_mark:Succeeded
View

advocates/frank-boucher.yml
:white_check_mark:Succeeded
View

advocates/glaucia-lemos.yml
:white_check_mark:Succeeded
View

advocates/jan-schenk.yml
:white_check_mark:Succeeded
View

advocates/john-papa.yml
:white_check_mark:Succeeded
View

advocates/madoka-chiyoda.yml
:white_check_mark:Succeeded
View

advocates/paul-decarlo.yml
:white_check_mark:Succeeded
View

advocates/scott-coulton.yml
:white_check_mark:Succeeded
View

advocates/susan-hinton.yml
:white_check_mark:Succeeded
View

advocates/tierney-cyren.yml
:white_check_mark:Succeeded
View

advocates/yoshio-terada.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.