[Advanced search] Club content moves to the right out of the club component after selecting list view

Environment: Windows 11, Google Chrome Version 107.0.5304.88 (Official Build) (64-bit).
Reproducible: always.

Steps to reproduce

Click on list view to change club view.

Actual result
Club content moves to the right out of the club component.
https://user-images.githubusercontent.com/82941067/200302519-c1a74649-dd72-4d92-ba37-f170783878f0.mp4
Expected result
Club content should have been inside of the club component as it was on block view.
User story and test case links
User story #274
Test case
Labels to be added
"Bug", Priority ("pri: ").

Component content looks good now, but after selecting Center radio button, center component size is a bit bigger than the page size which causes a scrolling panel to appear at the bottom of the screen:

The expected result is the same as the actual result.

But comment https://github.com/ita-social-projects/TeachUA/issues/1531#issuecomment-1326217356 is actual
if

but good


Feature: Adding client capabilities

Hi,
Would it be possible to add client capabilities - so that a stream can get piped/restreamed to another rtmp endpoint?
Thanks!

I have another planned project libmedia.js.
Achieved rtmp relay function already . You can try test_rtmp_relay.js .
I will be added to this project after a stable version.

That looks exactly like what I need, I will give it a try!


TestClient doesn't work for HEAD and HTTPRouteNotFound error handler

I have a custom error handler for HTTPRouteNotFound to provide friendlier error message "route not found" then generic "something not found".
import falcon
import falcon.testing

def route_not_found_handler(req, resp, ex, params):
    raise falcon.HTTPRouteNotFound(
        title=route_not_found_handler.title,
        description=route_not_found_handler.description,
    )

route_not_found_handler.title = "No such route"
route_not_found_handler.description = "The API doesn't know endpoint with specified URL."

For testing, I create simple resource:
class HelloResource:
    def on_get(self, req, resp):
        resp.text = "Hello"

app = falcon.App()
app.add_route('/hello', HelloResource())

and add route_not_found_handler()
app.add_error_handler(falcon.HTTPRouteNotFound, route_not_found_handler)

Testing it with GET to non-existing route works well:
client = falcon.testing.TestClient(app)

# For GET it's ok
result = client.get("/non-existing")
assert result.status == falcon.HTTP_404
assert result.json == {
                "title": route_not_found_handler.title,
                "description": route_not_found_handler.description }

However, if method is HEAD, response code is 404 but body is empty
# For HEAD it fails
result = client.head("/non-existing")
assert result.status == falcon.HTTP_404
# result.json is None
assert result.json == {
                "title": route_not_found_handler.title,
                "description": route_not_found_handler.description }

Hey @mattwarrick!
I believe the test client is working as intended -- it is the framework itself that does not render any content; and that is by design.
Falcon conforms to the HTTP semantics, see, e.g. RFC 9110, 9.3.2. HEAD:

The HEAD method is identical to GET except that the server MUST NOT send content in the response.

(emphasis mine)

Ooo, you are correct. I didn't realize HEAD responses have no bodies. Thank you for making Falcon so great.


Getting Bad handler node_modules/@iopipe/iopipe/handler on example SLS hello world

When deploying the HelloWorld template using SLS Framework and installing using the CLI, I get the following error when invoking the function:
"errorMessage": "Bad handler node_modules/@iopipe/iopipe/handler"
Steps to reproduce:
serverless create --template hello-world
serverless deploy
sls invoke -f helloWorld --> It should work
iopipe lambda install -f serverless-hello-world-dev-helloWorld -r us-east-1 -t TOKEN  --> Install complete.
sls invoke -f helloWorld --> Error

Marking as wontfix as we will move to using a custom provider. Node support has been removed temporarily


minecraft 1.19.2

hello, dear developers, I would really like to raise the mod version, that is, you would raise it to version 1.19.2, because minecraft is developing diligently due to recent events. 1.12.2 the old version is outdated. it's probably time to move on to a new stage. I really ask you to make a very cool mod for 1.19.2, and the theme is completely different. you can't include all the good mods for later versions of the game and the like in the build. I want you to relax and switch to rugby. Sir, I respect you and ask you to do this. you may have to rewrite the code. But I think it's worth it. we are a community of goodness. and I think it's possible. because your mod Modern Warfare is very cool, bro, and I wish your team good luck and may a revolution happen in minecraft. I really hope that you are reading this and listening to me and hope that you will respond. )))))

Seriously, I can't even imagine if that would happen in other games...
hEy SiMs 3 mOdDeR yOu ShOuLd UpDaTe To SiMs 4
Hey, at least I can have hope you are trolling

By the way, asking a modder if they can go on a specific version is the same level of dumb request as asking a Youtuber to do a collab with someone

hello, dear developers, I would really like to raise the mod version, that is, you would raise it to version 1.19.2, because minecraft is developing diligently due to recent events. 1.12.2 the old version is outdated. it's probably time to move on to a new stage. I really ask you to make a very cool mod for 1.19.2, and the theme is completely different. you can't include all the good mods for later versions of the game and the like in the build. I want you to relax and switch to rugby. Sir, I respect you and ask you to do this. you may have to rewrite the code. But I think it's worth it. we are a community of goodness. and I think it's possible. because your mod Modern Warfare is very cool, bro, and I wish your team good luck and may a revolution happen in minecraft. I really hope that you are reading this and listening to me and hope that you will respond.

Please stay polite


Bug Report: Song loading error (offset)

Keep in mind i use 32bit
anyways after compiling the game then launching it from the export folder and selecting a random week
it gives me an error that says: [file_open,assets/data/song in my case its thorns/0.offest]
does anybody else get this error?

nvm fixed it its apparently cuz i had it launch in non-administrative mode


Allow cleanup when reloading the configuration

Background
tldr: When configuring neovim, it is essential to me that I can reload my configuration without having to exit and restart neovim
I've been a long time vim user, and the ability to re-source the vimrc file seems to be common for old vimscript hackers (it's one of the first tips of Learn Vimscript the Hard Way, setup keyboard shortcuts to quickly edit, and source the vimrc file.
Right now, I'm building a new neovim config from scratch. Previously, I used packer, which did support this, so I decided to go with pckr for now.
(I looked at lazy.nvim, and it specifically does not support this, which is mind boggling to me. I might be able to get it to work with user events, but, arg.)
What I specifically like about pckr over other managers I've used
One thing I really like about pckr is the ability to progressively add plugins; which allows me to moduralise the configuration; while still keeping the plugin specification and the plugin initialization colocated in code.
The Problem: Invalid plugin names are remembered - forcing a restart
tldr; When I have added a bad plugin name, I'm forced to quitting neovim. Re-sourcing the config results in an error after I fixed it.
My specific problem I run into is when I have made a mistake, and added an invalid plugin name. pckr remembers this, and wants to try to install it on every reload. I need to restart neovim to clear the state (as far as I can tell)
E.g. I wanted to add catppuccin color scheme, so I added this
require("pckr").add({
  "catppuccin"
})

And sourced my config, and get an error, because the plugin spec was wrong. I fixed the config,
require("pckr").add({
  "catppuccin/nvim"
})

When I re-source my config, packer still remembers that the bad "catppuccin" plugin is not installed, and tries to do that; resulting in an error. I'm left with no alternative but to quit neovim.
As far as I can tell, this information is stored in a local in plugins.lua, and there are no functions exposed to remove added plugin specifications.
Possible solution 1: Add a remove function
This is a more imperative approach, I would prefer a declarative approach; i.e. you specify which plugins you need, and unused are cleaned up automatically.
Also, the remove call is something I'd never want to commit. In the previous case, I might have added a remove call, resourced, and then remove the line again.
But it would probably be the easier solution to the problem.
Possible solution 2: Add a begin / commit cycle
This is inspired by VimPlug that I did use for many years - but I would not suggest an identical approach.
VimPlug, as far as I remember, builds up a list of plugins to install inside the begin/end cycle, but doesn't install them until after calling end. I would still suggest that plugins are installed after calling add, so you can configure them immediately afterwards, explicitly (as opposed to setting a config function).
local pckr = require("pckr")
pckr.begin()
require("load_and_initialize_plugin_1")
require("load_and_initialize_plugin_1")
-- Small experiment, just place this in the main init.lua for now, I may move it later
pckd.add("plugin_3")
require("plugin_3").setup({ ... })
pckr.end() -- Remove previously installed unused plugins here

So cleanup of extra installed plugins could happen in the final end call

tldr: When configuring neovim, it is essential to me that I can reload my configuration without having to exit and restart neovim

Neovim (or even Vim) is not designed for this and therefore (just like lazy.nvim) will not be supported here.
Any package manager that claims to support this is misleading and will only approximate this feature at best.

Neovim (or even Vim) is not designed for this and therefore (just like lazy.nvim) will not be supported here.

If you don't plan to support this, that's fine, and I respect that.
But it's not correct that vim is not designed for this. That is one of the primary reasons for autogroups, from :help augroup

Example:
:augroup uncompress
:  au!
:  au BufEnter *.gz	%!gunzip
:augroup END
This prevents having the autocommands defined twice (e.g., after sourcing the vimrc file again).

I would never expect everything to be perfect, e.g. if an already loaded plugin is removed; it could still exist and cause problems because of e.g. already configured autocommands. But I could add plugins on the fly with VimPlug, packer, and to a large extend that seems to be the case with pckr (from the limited experience I've had so far) - as long as I don't make any mistakes.

There are a lot more types of state than just augroups, especially in Neovim.
You may not require to be perfect, but when you need to support a feature generally for many kinds of users there needs to be a threshold of feasibility that it can be implemented robustly.


?!

didn't u have another one of these or am I high lol

it was like

zBlakee/todo or something

now we have zBlakee/remindo repo

maybe just a rename

ok confirmed I found it

@zBlakee hi

what do you want
yes i had a repo named TODO, it doesn't do the same thing as this


(661) Previous applications endpoint specification

It made sense to branch this off #63 so I will keep this as a draft until #63 is merged.
This is a strawman for what an endpoint for retrieving previous applications could look like.
Trello card
For the UI we need:

Service user

CRN
Tier
Current Location

Application

Arrival date
Days since application recieved
Status

I would like to hear whether it's worth having a seperate endpoint for this 'summary' information or whether it would make sense to retrieve the entire application and have the information we need for the dashboard as supplementary info.

I think this is superceded by #72 no?


Do not use kubeconfig current namespace when using environments

From @hausdorff on September 21, 2017 5:3
Currently if you run a command like kubecfg apply default, it will automatically use the namespace of the current-context. This is obviously nonsensical, since the current context might have nothing to do with the cluster we're deploying to (i.e., it might refer to a namespace on a totally different cluster.
Copied from original issue: ksonnet/kubecfg#148

From @seh on September 23, 2017 20:10
Which namespace should you use, then, in the case of trying to operate on objects that specify no namespace in their manifest? I could see failing the command, declaring such manifests invalid, but you'd have to read them all before mutating anything to be sure that you're not going to fail partway through for something you could have determined up front.
Writing manifests for objects that could live in any namespace is convenient for things like Helm charts, but I'd hope that in the context of kubecfg those generic manifests would be augmented with a specific namespace target before being applied. That is, if you had a set of manifests for some application "xyz," and that application could be installed into any namespace, maybe even more than once in each, you'd want to receive manifests for "application 'xyz' in namespace 'n1', and application 'xyz' in namespace 'n2'," as opposed to just "application 'xyz'" with no target namespace.


Remove version: taers232c.GAMADV-XTD3 version 6.77.17

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.77.17/gamadv-xtd3-6.77.17-windows-x86_64.msi
OK
(Automated message - build 913)


Scrolling down the dropdown menu also scrolls the plugin screen

Describe the bug
When duplicating a token and scrolling down the dropdown, the entire plugin screen also scrolls simultaneously, losing all content until clicked on cancel or duplicate.
Key information:
This happens in conjunction with scrolling but mainly when moving the mouse in a downwards direction.
To Reproduce
Steps to reproduce the behavior:

Click on duplicate token
Open the following dropdown menu
Scroll down with the mouse while simultaneously also moving the mouse in a downwards direction.
See glitch

https://github.com/tokens-studio/figma-plugin/assets/93133012/9db964f8-a5c0-410a-880d-72235db08b43

Fixed in 1.38 🚢


Write guidelines for updates

https://apps.nrs.gov.bc.ca/int/confluence/display/AR/Coding+Patterns+and+Practices

Talk to @mishraomp to make sure this is the right place to add info.

Out of scope.


laravel5.8 There are more Warning

Warning: Ambiguous class resolution, "Way\Generators\Commands\ControllerGeneratorCommand" was found in both "/vendor/way/generators/src/Way/Generators/Commands/ControllerGeneratorCommand.php" and "/vendor/xethron/laravel-4-generators/src/Way/Generators/Commands/ControllerGeneratorCommand.php", the first will be used.
In GeneratorsServiceProvider.php line 58:
Call to undefined method Illuminate\Foundation\Application::share()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

share() was removed in 5.4 https://laravel.com/docs/5.4/upgrade . See https://github.com/laracasts/Laravel-5-Generators-Extended which should work with Laravel 5.8 and even 6.0


pressButton on  incorrectly submits the form

When pressing a <button type="button"> contained within a <form>, the form is incorrectly submitted.
<button type="button"> should not by default submit the form as per specs.
(I believe this is a jsdom problem...)

OK, I think the problem is in Zombie:

when pressButton is called, the event is correctly dispatched
https://github.com/assaf/zombie/blob/bbcd5a6b4c31ecc2bd697d48c0e56086ab7d0b8a/src/index.js#L360-L366

But after dispatching the event, we call _click, which submits the form always.
https://github.com/assaf/zombie/blob/bbcd5a6b4c31ecc2bd697d48c0e56086ab7d0b8a/src/dom/forms.js#L241-L250

I think the correct place to disable the submission would be the _click function.  @assaf if you're happy to put the check in _click I can send a small patch.

Yes, please send a path


am i doing it wrong?

var emoji = require('base-emoji')
var data = new Buffer('d16ac00bb78efb8e59efdfa1206c43940e28c683afc432ba742276e01853c30e', 'hex')

var encoded = emoji.toUnicode(data)
console.log(encoded)
// outputs: 😢🌉🚧✈🍸🍫🌾🍫💙🐬💨🕑⬅💔🐻🌆🚑↖©🐈🕘🆒🍼💥👥↘🍰📅◀⬛🍪🚑

var decoded = emoji.fromUnicode(encoded)
console.log(decoded.toString('hex') === data.toString('hex'))
// outputs: false

if I change data to the example from the readme, var data = new Buffer('deadbeef', 'hex'), it works as expected. hmm...

interesting! I'll give that a look

tl;dr, unicode is a pain in js
the code I found for pulling out the emoji unicodes was not 100% accurate
I hacked it to work for the range of emojis we have, but it was VERY MUCH a hack
"hmm, if I change that number, it seems to work" kind of hack
but there were still some emojis in use that weren't working
including emojis that occupied more than 2 code-points
so I setup a test of all possible input values (a buffer filled with 0-255) and cut emojis out until the test passed
the sad news is, this changes the emoji mapping
so, I bumped to 1.0.0
cest la vie

no worries, glad it works now!

@pfraze hah i just encoded something on the new version and got this:

is the third char, the copyright symbol, supposed to be there?

it's in the emojis.json! I forget where I got that file

the mapping is totally arbitrary, we can change it if we want-- better to do that sooner than later

my gut feeling is to remove the ones that arent little cartoons :P

yeah that seems like a good idea
ok, 2 secs

btw you can npm i emojilock -g now, https://www.npmjs.com/package/emojilock but its just a proof of concept

ok, published a much nicer mapping as 2.0.0

ok awesome, looks better
📍🌍💩👼💊🍃🍷🍃🐊👅⛄🎵🔋👊🐫🍁🐜🎂🐇🐣🐾👛📚👇🍟🐝🎲😭🎈🎊🙏🐜

:+1:


Some of the ZWave entities not showing up in 0.62

Home Assistant release (hass --version):
0.62
Python release (python3 --version):
3.6
Component/platform:
ZWave
Description of problem:
After updating  to 0.62 (from 0.60.1) some of the ZWave sensors (not nodes) disappeared. The corresponding entities of 5 out of 16 nodes are not displayed.

The node status is complete, nothing is being received.
Other identical devices have no problem.
No Zwave commands helps (refresh, heal).
I tried to revert to a backup zwcfg - it didn't help.
Waited 2 hours. Nothing showed up.
Downgrading solves the problem.

For example the power sensor of some Fibaro sockets is gone. I switched on the device hoping that the sensor will show up in the frontend, but that isn't the case.
The only ZWave PR since 0.60 I noticed in the release notes is:
Postpone “Z-wave not ready” warning (@amelchio - #11807) (zwave docs)
zwave:
  usb_path: /dev/ttyACM0

I don't think it's only about the duplicates. I have started a fresh clean install (new sd card) HA0.62.1 on Python 3.6.
Renamed all the z-wave entities by hand (around 10 fibaro 2nd gen dimmers) giving them unique names like zwave_room_purpose
Still lights behaved erratically. State reported to HA correctly but unable to control them from automation or frontend. Rolled back HA version to 61.1 - problem gone

@amelchio they are present

@moskovskiy82 okay ... the title of this issue includes "entities not showing up" so you are definitely experiencing a different problem that should be reported in a separate issue.

Same here, Fibaro dimmer 2 - lost control, however status seems to be reported fine when the dimmer state is changed via regular (mechanical) wall switch. Interestingly in the zwave node managemnet UI, not only the Fibaro is gone from the list of nodes, but also my GE toggle switch as well as my Schlage locks.  GE and Schlage devices continue to function though in HA. If it is of help, I am more than happy to share my config/logs.

having this issue with my zooz and aeotec smart power strips. not all entities show up. tried to remove and re-add device but still same issue. appears we need to wait for .63
just adding a "metoo" for anyone with power strips that have missing entities.

I just updated to 0.63. Now i can see all my qubino double relays!

Updating to 0.63 seems to have fixed my GE plug switches as well.

Updating to 0.63 did not fix my multiple fibaro switches..
I just found this thread has been bugging me for weeks. 0.61.1 works

@Timple Maybe something like this happens: https://github.com/home-assistant/home-assistant/issues/12239. I also suspect that 0.63 didn't fix this issue.

This issue has been fixed for me since 0.63.3


Documentation with all hooks and callback methods

Is it possible to have a list of all available hooks and callback methods for Forms and Fields?

Hi.
All this info should be currently available in the docs. Maybe the structure of the latter is not very efficient to find those hooks and callbacks.
Would it be easier if I added "Hooks" section alongside existing "Methods", and list all hooks there?

@jonasdumas I've added separate "Methods" and "Callbacks" sections to the Documentation. Indeed, there were a few things missing. Now it should have all the available callbacks and methods, hopefully.
Note that Field instances accept any event handlers you would pass to form elements usually (onInput, onKeyDown, etc.). I will find a way to document this in the future.
Closing.

Very nice, so clear !
Thank you


Kernel Panic - blocking while holding a spinlock

I have only just updated to 10.12.1 and I'm having some issues with AppleALC.
Initially the system boots and panics in the early "Apple logo loading screen"

with the message:
thread_invoke: preemption_level 1, possible cause: blocking while holding a spinlock, or within int...
I have no idea what comes after int... because it reboots stupidly fast, then tells me there was a problem booting and continues to boot normally, like nothing ever happened.
I am still running 1.0.16 but didn't see anything in your 1.0.17 that indicates the issue might be solved already. The motherboard I'm using is a Asus Z170 Pro Gaming, which I believe has a the ALC1150 audio chipset.

Update to AppleALC 1.0.17

Just did, no difference. Same exact problem as with 1.0.16 just that the kext in the backtrace now reads version 1.0.17. I did manage to get a shot of the entire screen this time around.

The entire first line reads:
thread_invoke: preemption_level 1, possible cause: blocking while holding a spinlock, or within interrupt context  "@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.21.3/osfmk/kern/sched_prim.c:2207"
I did however run Kextutility to rebuild the caches so I'm thinking that shouldn't be it.

debux=0x100 and keepsyms=1 in boot args.

I just ran it with "debux" (I figured it was a typo but tried it anyways). What exactly does keepsyms=1 do?

Extremely weird. I ran "debux" + keepsyms and didn't get a panic. Then, after you edited your reply, I ran debug + keepsyms. No panic. Took both arguments out... no panic. Cold started it, no panic. Restarted it again... no panic.
Am I wrong in the assumption that debug and keepsyms are merely for diagnostic purposes in that they echo a few more hints as to what (part) is actually causing a panic?

Yes. They are only for diagnostic purposes. Maybe broken kernel cache causing a panic... If it happens again add keepsyms=1 in bootargs and provide a panic log. If your NVRAM is working you can boot with -alcoff then and get full log after booting into desktop.

I think the issue might actually exist, although I am not certain what exactly happens.
Please catch the panic with keepsyms=1 enabled, and provide a full panic log.
This way we might be able to help you.
I think this is better to reopen the issue, since even if it is hard to reproduce and rare to run into, it is likely valid for now.

I shall keep it in there and reboot as often as I can in hope of catching it again.
@vandroiy2013 I assume -alcoff basically disables this kext? I can boot into Sierra but the issue is that it doesn't always do it straightaway. For instance, initially when I booted or rebooted it threw this panic and then rebooted itself in seconds. Then it booted and while booting showed me a screen that reminds me of the earlier more graphical kernel panics, but now it says something along the lines of "there was a problem during your previous boot and the system will now boot normally" and then you have the option of waiting a few seconds or pressing a key after which it'll boot into Sierra no problem, even the audio works just fine.

With working NVRAM after panic use -alcoff, boot into OS and you'll see splash screen with panic report. Choose Detailed (or something similar) and you'll get detailed panic report... Copy/paste it here...

Gotcha. I think I'll put that into the bootargs, just in case. I just rebooted but nothing came up, I'm guessing that the several cold and hot restarts might have something to do with that.

The issue should be resolved with the recent commit. Please reopen if it still causes you bugs.

Not resolved, but certainly less frequent. This one popped up just yesterday:

No log or anything once rebooted into OSX though.

@C44Supra, Your AppleALC.kext is 1.0.17, latest kext should be 1.0.18

@vandroiy2013 Looking at the releases page I only see 1.0.17?

@C44Supra, You have to build new version from latest sources...

@C44Supra, Here is 1.0.18 Debug with latest commit
AppleALC.kext.zip

Got it, installed it just now. Will report back.


Experiment with using records

If subscriptions and flows were records subscribe could be turned into a protocol on top of that (which could also protect against the in my experience all-too-common silly mistake of (subscribe ::id))

https://github.com/htihospitality/re-dash/pull/25#discussion_r1410063412

@wkok if you could assign this Issue to me, I'll surely not forget about it :pray:

Thanks @valerauko I've assigned to you :pray:
I've also been giving it more thought and coming round to the idea that easily being able to swap out app-db for something else would be very powerful (if that is related to this issue, if not we can experiment with it sometime in a separate issue)
What got me excited was that Datascript might be coming :slightly_smiling_face:
If we're able to plug it (or other db's) as re-dash's state, while maintaining compatibility with re-frame's api, that would be awesome

First I'd formalize the core concepts as records. Pluggable alternative backends are tangential to that, but the experience gained could be useful for that as well.

FYI  https://github.com/htihospitality/re-dash/pull/30


ferdium: 6.4.1 -> 6.5.2

Description of changes

Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

aarch64-linux works for me :+1:

This looks good :). Tested on x86_64 and all works.


useMouse and useMouseHovered type definitions don't accept SVGElements

I'm trying to useMouse hook for an SVG element.
It works just fine but TS complains about it.
const mouse = useMouse(svgRef)

Results in this error
Argument of type 'RefObject<SVGElement>' is not assignable to parameter of type 'RefObject<HTMLElement>'.
  Type 'SVGElement' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 16 more.

Version: 9.11.1

:tada: This issue has been resolved in version 10.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add examples to add metadata for ENUM and INTERFACE

On the examples folder there is an enum and an interface on the schema, but they are not modified by the metadata.json. Is it possible to undocument certain elements of an interface and of enum? I've been trying unsuccessfully for the last couple of hours to do so. I'd be happy to make the PR to add the examples, if it is possible.

This is out in main and v1.5.1


How to show count variable in menu ?

How to pass an variable in label for adminlte.php
'menu' => [     'MAIN NAVIGATION',     [         'text'        => 'Pages',         'url'         => 'admin/pages',         'icon'        => 'file',         'label'       => count($all_pages) // How to pass variable here,         'label_color' => 'success',     ], ];

Hi, you should use 'Menu configuration at runtime', as described in the README: https://github.com/jeroennoten/Laravel-AdminLTE#menu-configuration-at-runtime


Develop

Codecov Report

Merging #138 into develop will decrease coverage by 0.21%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #138      +/-   ##
===========================================
- Coverage    72.02%   71.81%   -0.22%
===========================================
  Files          204      204
  Lines        10925    10925
===========================================
- Hits          7869     7846      -23
- Misses        3056     3079      +23

Impacted Files
Coverage Δ

mediaPlayer/media_packet_queue.cpp
70.4% <0%> (-9.6%)
:arrow_down:

mediaPlayer/buffer_controller.cpp
51.69% <0%> (-7.63%)
:arrow_down:

framework/render/audio/filterAudioRender.cpp
87.01% <0%> (-0.65%)
:arrow_down:

mediaPlayer/player_notifier.cpp
81.31% <0%> (-0.55%)
:arrow_down:

mediaPlayer/SuperMediaPlayer.cpp
76.08% <0%> (-0.47%)
:arrow_down:

framework/demuxer/avFormatDemuxer.cpp
80.98% <0%> (+0.3%)
:arrow_up:

framework/demuxer/play_list/SegmentTracker.cpp
83.6% <0%> (+0.54%)
:arrow_up:

framework/data_source/curl/curl_data_source.cpp
87.77% <0%> (+0.87%)
:arrow_up:

mediaPlayer/player_msg_control.cpp
86.29% <0%> (+4.83%)
:arrow_up:

Continue to review full report at Codecov.

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


Pymoo generating candidates with nan parameters

I posted this question on Stack Overflow but haven't received any responses and thought it may be better placed here as it could potentially be a bug. Any help would be appreciated thanks.

Thanks cyrilpic!


Make it harder to hit collisions with json schema defrefs

Addresses an issue where, if you had a model called Model and another called ModelInput, it would detect a potential naming conflict and replace ModelInput with ModelInputInput.
I spent a lot of effort trying to rework this function to only respect actual conflicts and not potential conflicts, but the challenge is that remapping the defs refs requires modifications to the referenced definitions, and these references may be present in nested schemas which might become "unified" after replacing the input/output refs with a common one. This basically means that it requires iteration to determine what simplifications can be made, and doing so is somewhat complex. I don't see a good way around this, so for now, I have just tried to make it harder to run into this scenario by introducing double underscores.
It is still possible to achieve an unintentional conflict based on the mode, but with the changes in this PR, the only way to do that would be to have my_package.MyModule.Input and my_package.MyModule__Input both be classes. Considering that nesting basemodel definitions is rare, and having modules named in PascalCase is rare, and even if you did one of those you'd still need to have a conflict on the specific name, this seems safe to me.
The biggest concern I have is that having one model called OrganizationInput and another called Organization which has a difference between its input and output schemas (and therefore gets the ref Organization__Input) might result in problems if trying to generate a client based on an OpenAPI spec or whatever. (I'm thinking both might be given the class name OrganizationInput, but I'm not totally sure.)
I'll note that there are various complex cases with defs-ref generation that are easy to forget about (and which I wasted time trying other things before discovering they would cause problems), so some approaches that might seem obvious and work in the "normal" case may still have problems. But if anyone has a problem with this approach, or especially has other suggestions, I'm happy to consider them.

Also I suspect we'll eventually want to support a way to specify explicitly what the name of a model/dataclass/enum/typeddict/etc. should be, and error if there is a conflict (though we don't support that today). I think it will make sense for that to be introduced if/when we replace use of GenerateJsonSchema.generate_definitions with a higher-level api (perhaps a classmethod of TypeAdapter, or similar). Given that, I don't think it's worth adding much complexity. (Again, open to an alternative implementation though if it is simple and better.)

please review

Is it too crazy to create a test suite with an openapi-client-generator?

Is it too crazy to create a test suite with an openapi-client-generator?

I don't necessarily think it's crazy, but I'm not very excited about the amount of effort it would entail, and I also think it might better belong in the FastAPI repo since it will be dependent on the OpenAPI spec more than the JSON schema spec. I think it could make sense to add some tests checking the JSON schema though, using the jsonschema package or whatever.

@Kludex I just pushed a commit that uses a - instead of __ (and modify other aspects of OpenAPI schema), with this latest commit I think no fastapi tests start failing.

Let's not merge this until after https://github.com/pydantic/pydantic/pull/6883 is merged and we run with fastapi to make sure it doesn't break anything, but I think it should be fine.


Use default serializer for mockable PreparedStatement instances

Fixes CSHARP-547.

The default constructor is present only to allow mocking.
We should introduce an IPreparedStatement interface and deprecate this constructor ✅ .


Support 'union' generator

Summary
Support generator that allows to "union" several generators and override output of one generator with values of another generator.
The new generator is supposed to solve the following use cases:

User wants to install the same application into all clusters with default parameters but override some parameters in couple clusters
User wants to install the same application into all clusters but split clusters into "waves". Each wave will have couple of different parameters

Proposal
Introduce union generator that allows specifying list of sub-generators and list of merge keys. The new generator should unite output of merge generators. The merge keys should be taken into account to detect duplicates and override values:
Example:
 generators:
  - union:
      mergeKeys: # specifies which keys should be used to detect duplicates and apply overrides
      - url
      generators:
        - clusters:
            selector:
              matchLabels:
                argocd.argoproj.io/secret-type: cluster
              matchExpressions:
                - {key: cluster.name, operator: NotIn, values: [excluded-cluster]} # matchExpressions should allow to exclude clusters
            values: # default values for all clusters
              install-kafka: true

        - items:
            elements:
              cluster: engineering-dev
            values: # overrides for dev
              install-kafka: false

#323 feels related here

@jgwest how we feeling about this? I know @alexmt's history with ArgoCD :). I feel like this issue combined with #362 will accomplish #323 thus has me very interested haha.

My understanding is that generated param maps should be merged if and only if the values for all keys in mergeKeys are the same. For example:
mergeKeys: a, b
P_1 = {a: 1, b: 1, c: 1}
P_2 = {a: 1, b: 2, c: 2}
P_3 = {a: 1, b: 1, c: 3}
// P_1 and P_3 are merged (with P_3 values taking priority) because _both_ a and b values match. P_2 is not merged.
union(P_1, P_2, P_3) == [{a: 1, b: 1, c: 3}, {a: 2, b: 2, c: 3}]

Is that correct?


when you change aim anims in loop, you'll see the player ends up misplaced in x

this has to do whith the same shit that happens when adjusting the player collider w and x pos, but it should be done in that case at least


How to close the blue lines

This blue line will appear when I click on any element in WindowScroller

.ReactVirtualized__List:focus{
  outline: none;
}

thanks


Consider to abandon singleton endpoints instance

Currently endpoints is a singleton object which gives room for third party libraries to add unwanted edpoints.
You can find more about this here

In JavaScript, the source code of all your app's dependencies need to be trusted; any "third party library" has access to your OS which is far worse than knowing about the API.


Is it possible to install a package using pip through Git?

This is not the place for this question Just use Google and/or StackOvevrflow...
With that being said, this was the first thing to pop up.


Release a new version to the PyPI

I just installed pycco using pip and was wondering why the background was not staying behind the code when scrolling horizontally, which was fixed over a year ago. It turns out there hasn't been a new version for quite some time :) It'd be great if a new version could be released!
:shipit:

@fitzgen anything we can do to help? Having to install from the GitHub version is not so nice. Thanks!

I don't maintain this repository anymore, that would be @subsetpark now :)
Nick
On Mon, Nov 16, 2015 at 4:09 AM, Quentin Pradet<EMAIL_ADDRESS>wrote:

@fitzgen https://github.com/fitzgen anything we can do to help? Having
to install from the GitHub version is not so nice. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/fitzgen/pycco/issues/66#issuecomment-157009816.

@pquentin @x3ro, thanks for the heads up. There is one more bugfix in the pipeline, and then I will be releasing an updated version of Pycco. I appreciate your patience - expect one within a week!

@subsetpark awesome, thanks.

Hey @pquentin @x3ro, I just merged a bugfix for multiline comments and released a new version, 0.3.1, on PyPI. Enjoy!

@subsetpark Thanks! :100:


Update node packages

We have 4 or 5 vulnerabilities. I know our repo isn't really impacted by the types of vulnerabilities that these packages introduce, but, y'know, good form.

I think this was fixed in https://github.com/SuffolkLITLab/ALKiln/pull/727 and https://github.com/SuffolkLITLab/ALKiln/pull/728, gonna close


Unwanted merges showing up on subfolder export

Hi all,
When a subfolder is extracted from a history that contains merges without effect on it (for example, using --no-ff), git log will hide the merges in the subfolder, but josh will reproduce them in the export.
This behaviour is demonstrated in https://github.com/esrlabs/josh/pull/432
It would seem that this is a different behaviour than before, but that is to be confirmed.
MfG,
Louis-Marie

Consensus is that the behavior is correct as is and did also not change recently -> close?

Agreed :)


Kernel v0.3.2 - is there meant to be a built package in the releases page?

Before filing a new issue, please provide the following information.

I'm running:

Which Aion version?: 0.3.2.
Which operating system?: Linux
Which distributor and version?: Ubuntu 16.04

Hi Im working on a dockerfile for AION mainnet. Im looking on the releases page for the latest version, am I correct in assuming there has only been a release of a source tar.gz and no versioned build?
Another side question, is the Mainnet & Testnet (Mastery) packages always going to be release differently?

Closing Issue,
Release has not been issues yet.


Ruby on Rails Capstone Project: Twitter Redesign

This is Ruby on Rails Capstone Project of Microverse Curriculum.
This is a social media application where users can sign up/sign in, create tweets about coding challenges, and how to solve them, like other users' tweets, follow and unfollow others, and vice versa.
On this project, I implemented the following...

Created sign up and sign-in pages.
User logs in to the app, only by typing the username.
Implemented home, profile and logout links.
Users can create a tweet, like and unlike tweets.
They can follow and unfollow others.
Implemented the who-to-follow section (where a user can follow from the list of other users if he wishes)
Also implemented on  the user's show page, list of users following the current user that the current is yet to follow.

Somehow during the course of building this project, I lost my initial commits (about six of them). However, I have to commit them all at once.
Thank you.

Other users' photos couldn't show on live demo because Heroku does not support gravatar images.


Is there a way to use this on iOS?

At the moment it is impossible (i think) to use this on any ios browser. I was wondering whether you could make this work on iOS?

Hello @RuffleSteels,
We would like to inform you that while the current version of the program is not readily compatible with iOS, we have previously developed an iOS version of the program. However, please note that the iOS version is currently deprecated. You can find the deprecated version here.
For iOS compatibility, we recommend utilizing Xcode, a development tool provided by Apple. This tool enables the installation of extensions on iOS and macOS devices. Our development team is actively working on creating a compatible version of the extension specifically tailored for iOS. We anticipate releasing this version in the near future, allowing users to seamlessly use the program on iOS devices.
Thanks, Najm

Once we have the standard chrome extension fully functional I could work on a version for safari

does the book wok check solver work now?


[Error] Library not loaded: bazel-out/darwin_x86_64-opt/bin/tensorflow/libtensorflow.so

When run in MacOS, throw a error:
Error: dlopen(/Users/xxx/node_modules/tensorflow2/build/Release/tensorflow.node, 1): Library not loaded: bazel-out/darwin_x86_64-opt/bin/tensorflow/libtensorflow.so
  Referenced from: /Users/xxx/node_modules/tensorflow2/build/Release/tensorflow.node
  Reason: image not found
    at Object.Module._extensions..node (module.js:598:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at bindings (/Users/xxx/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/Users/xxx/node_modules/tensorflow2/lib/index.js:5:56)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)

I copy the libtensorflow.so file into project root directory (myproject/bazel-out/darwin_x86_64-opt/bin/tensorflow/libtensorflow.so) sloved this error.

Yea, it's MacOS-specific problem, https://github.com/yorkie/tensorflow-nodejs/blob/master/binding.gyp#L27 not working at OSX.

where would I be able to find the libtensorflow.so file? I did not use bazel in compiling/generating my tensorflow graph.

@jaafarskafi1 this should be another topic about your question.

where would you be able to find the libtensorflow.so file?

See https://github.com/yorkie/tensorflow-nodejs/blob/master/binding.gyp#L26-L30, just put the library to those dirs.

I do have the pre-trained graph on hand

What you need is run a predefined graph?


Please reconsider any CI check that requires a maintainer to act on the PR.

I find it extremely frustrating to have 2 CI items that makes almost every PRs have red CI status.
Especially when looking at the PRs list, many PRs are "failing" or "pending" either from the "label required" or "milestone required".
I spend quite some time going through the PR list and try to restart failing CI or fix trivial errors, this make the CI status mark way less useful.
Moreover I labels and milestone can be added after the PR is merged, so I don't think it is critical to have it as a CI status.
Another possibility is to find a way for the labels and milestones to be automatically added.
[Edit]
It is also impossible for a contributor to act these failing statuses, which I think is a clear indicator that there is a problem with the approach. I think a first time contributor should be able to submit a PR that passes all the checks without any human involvement.

May I suggest then that 1) Tagging should not be left to the release manager, that 2) Instead of CI we have a self-updating pinned issue that list all the PRs that don't have a milestone /label ?

@Carreau I agree that It is not an optimal solution, but I need more time to investigate it as I need to fix missing labels and milestones.
I totally agree that we need something better. Could you point good examples of projects using merge bots?

The main project I know that uses bots to merge/manage PRs is Rust with bors https://github.com/rust-lang/bors.
One thing that come to mind if we wish to have a merge/squash bot, would be to have a COMMIT_MSG special file that the bot use as the commit msg. That would let us review the commit message themself instead of having it be edited by the maintainer at merge time.

One thing that come to mind if we wish to have a merge/squash bot, would be to have a COMMIT_MSG special file that the bot use as the commit msg. That would let us review the commit message themself instead of having it be edited by the maintainer at merge time.

I meet this approach during contributing to another OSS, but as it simplifies maintainability, It make a little more maintenance job for contributions from newcomers.

I meet this approach during contributing to another OSS, but as it simplifies maintainability, It make a little more maintenance job for contributions from newcomers.

That is understandable. Do you remember what the main issue was ? Having users create the commit message file I guess ?
I don't advocate for it to be the only way, and I'm wondering if we could manage that ? Like if the branch does not have a COMMIT_MSG the merge bot could push a commit with this file.

That is understandable. Do you remember what the main issue was ? Having users create the commit message file I guess ?

Maintainer needs to ask the contributor to add it or do it from hi side. If the user add it then I observe some problems with the file format (but the selection of a good merge bot/release notes tool may solve this).
Everything to solve, but should not be introduced without preparation of good documentation that lead us to https://github.com/napari/docs/issues/86


Add box type

https://github.com/abema/go-mp4/issues/13
https://github.com/abema/go-mp4/issues/7

Codecov Report

Merging #37 into master will increase coverage by 0.17%.
The diff coverage is 94.28%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   82.99%   83.16%   +0.17%
==========================================
  Files          10       10
  Lines        1588     1616      +28
==========================================
+ Hits         1318     1344      +26
- Misses        162      164       +2
  Partials      108      108

Impacted Files
Coverage Δ

box_types.go
93.41% <93.33%> (-0.02%)
:arrow_down:

mp4.go
77.35% <100.00%> (-0.42%)
:arrow_down:

Continue to review full report at Codecov.

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


Images broken upload

Bug Report
Problem
What is expected to happen?
Image should be same as shown in gallery
What does actually happen?
Image appears half black in some cases after uploaded to server
Information

using this plugin to upload image to web server, while uploading some images appear broken / half black on server
Command or Code

Environment, Platform, Device

Android version 9
Version information

Plugins version 4.1.1-dev
Checklist

[x ] I searched for existing GitHub issues
[x ] I updated all Cordova tooling to most recent version
[x ] I included all the necessary information above

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

I found an internet connection issue that broke the images during upload.


Rework installed mods

Optimized the profile page;

Made sure that only a single mod is selectable in the "available mods" sections
Instead of displaying the mods name, it shows now the title both in the profile enabled mods and the available mods list
Display the version in the available mods list
Fixed deleting mods that had more then one version installed

Yeah titles definitely make it much better.
I like that. However I'd rather not go with altering the name in order to make it unique. As mentioned in Discord I'll be writing other code to ensure that only one instance of a mod exists at a time. Hate to say this, but would you remind removing that part of the code for now and just keep the title and version display change?

Made revert changes

Awesome, thanks!


fix(static_drivable_area_expansion): fix bug in expansion logic for hatched road marking

Description

🤖[deprecated] Generated by Copilot at e633b12
This pull request improves the behavior path avoidance module by enhancing the debug visualization and fixing a polygon closure bug. It also corrects a typo in the planning module documentation.

Related Ticket: https://tier4.atlassian.net/browse/RT1-4407

Tests performed

https://github.com/autowarefoundation/autoware.universe/assets/44889564/bd33ef7c-46f3-4c0d-8c38-33bf9a5b846d

Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

only expasion for hatched_road_marking
Before

After


Remove "Python 2 & 3 compatible" from README.md

Since 1.0 isn't Python 2 compatible (according to Reddit post) which makes "& 3" redundant too :)

Thanks!


Menu bar showing after updating to 0.3.0

A new menu bar appeared after upgrading to v0.3.0, which seems to be a default one (with only entries for closing the window).

This is by design, it helps with default shortcuts and keyboard accessibility see here https://github.com/elk-zone/elk-native/pull/57 the menu will receive additional entries in coming versions


Fix not working SDK sample

The serviceUrl parameter was missing. I added it. The sample code didn't work as it is currently. It now works.

Looks like this has been incorporated.


Grader file for lab4 added

Dear IBM,
I've added my lab file here. Thank you!

 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.ri27luq seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi! We will send in instructions on how to submit a pr and a specific folder with a template. Please do not PR now and please have your branch as private so as to not spoil the fun for participants! :D Hope that helps! :D

Hi @mrvee-qC-bee , Thank you for your reply. That means, I'll receive an instruction from you soon, right? Besides, I can't change the visibility of my repository because it's forked.


[FEA] UDF-Compiler: Translation of simple predicate UDF should allow predicate pushdown

What is your question?
Hi, It is a great open-source project, thanks for sharing. We have been evaluating the udf-compiler, it works great as advertised, but we run into a problem when we try to test a filter pushdown. We wrote a simple UDF as below, but the PushedFilters is empty with udf-compiler:
    spark.udf.register("isOlderThan20", (i: Int) => {i>20})
    val udfResult = spark.sql("SELECT * FROM people_with_schema WHERE isOlderThan20(age)")

   +- FileScan json [name#0,age#1] Batched: false, DataFilters: [if ((age#1 > 20)) true else false], ..... PushedFilters: [],

What we expected is to have a physical plan like this:
    val udfResult = spark.sql("SELECT * FROM people_with_schema WHERE age > 20")

    !+- Filter (isnotnull(age#1) AND (age#1 > 20))
    +- FileScan ...PushedFilters: [IsNotNull(age), GreaterThan(age,20)],

By turning on trace, it looks like that the udf-compiler translated this udf as "if-else", instead of just "age#1 >20":
Filter if ((age#1 > 20)) true else false
Wonder if this is by design? If not, wonder if you can suggest some ideas to us on how to fix this?
Thank you very much!
-Yong Wang

Thank you very much for the help!


Experiment: Event-based RicardianContracts using Textile Threads v2

Purpose
I've been poking at Textile's ThreadsV2 repo and interested in leveraging some of the patterns it provides. I see some benefit to adopting these patterns within the daemon. A non-exhaustive list of benefits/goals:

add messaging redundancy for Order handling. (Note: Message redundancy is not provided directly by the adoption of Threads, however, it may be indirectly enabled by its use. By using a redundant online node (self-hosted, or as a provided service) to capture all offline traffic on behalf of another node -- without coupling to the model and ensuring the content is unreadable by the redundant node.)
creating a state-machine-based model for our RicardianContract updates (so they can be more idempotent and causal during their state changes)
~appreciate the added security of per-contract key handling provided by Threads~ It doesn't seem prudent at this point to leverage key handling offered by Threads. Even though its redundancy at the message layer is important, Threads does not safely expose the keychain for use by the application which still has dependencies on those keys. Further, sharing key handling between apps may expose security risks which aren't worth the benefits a shared keychain might provide. It does seem Thread's keychain can operate independently of the app's keychain provided the app provides it a sufficiently-hardened key to initialize itself.
forcing us into formalizing a RicardianContract model which is separate from our current serialization usage with protobufs
forcing us to separate ob-go concerns into separate composable modules which will make it easier for OB to integrated into other systems/projects by the community
avoid "recreating the wheel" as we explore solving some problems and sharing the effort and improvements offered by the community

Concerns
This approach (if fruitful) would supercede/conflict the following efforts which are already in progress:

Our order message backup solution inside ethereum-master. Threads provides it's own datastore of state updates and would even provide the pattern needed (a reducer) for these updates to be applied on top of any version of the existing state to bring it up to the latest state.
Our offline message relaying being explored for Haven. Threads provides the ability for any peer to be party to a set of messages (independent of whether the updates can be read as they are encrypted). We could potentially configure a peer to simply capture ALL updates and share them with interested parties without the need for connectivity at the time of update. Threads call this cafés and are akin to our push nodes.
~Our existing message key handling. Currently, we encrypt all messages with a single key which is shared for all orders indiscriminately. Threads applies a unique key for each set of updates, a read and write key are separately used. We would need to find a way to allow our existing peer key to act as a seed within these stores.~ Solved. We can derive some seed bytes from our internal identity for Threads to init their own keychain which will remain separate/isolated from ours.
Our existing implementations. Both ob-go and ob-web (in JS) use the existing message handling pattern. Given our current handling is not idempotent and the new system would be, there is some concern that redundant behavior provided by Threads may affect existing nodes. The effects of Threads usage should remain isolated to other nodes which have opted-into the new ContractStore.

Approach
In order to explore Threads in a parallel fashion as mentioned, here is the idea for how we might approach this:

[ ] Figure out how to close dependency gaps between ob-go and ThreadsV2. Proof would be the initialization of a Threadservice within ob-go using its own IPFS impl.

[ ] Abstract Threadservice's dependency on IPFSLite (to indirectly remove the go v1.13 crypto package dep)

[ ] Abstract our message handling callbacks to allow multiple "services" to handle updates.
[ ] Create our RicardianContract (RC) state-machine Model and EventCodec (which contains the Reduce behavior) collectively called the ContractStore.

[ ] Demonstrate that the ContractStore state is eventually-consistent with the existing impl in the online case. (How?)
[ ] Demonstrate the same for offline cases using an independently-deployed daemon which replicates the events for later consumption by the interested/authorized peers

Had a meeting with the folks from Textileio and got some additional insight. Updated the description with this gained insight. Will begin exploring how to close the dependency gap as that appears to be unavoidable if we want to run these two systems side-by-side.
To this end, I'll see if I can somehow get the existing Threads impl to use our custom IPFS node instance... will report back as progress is made.


Update dead link for "Mostly Adequate Guide to Functional Programming"

Original link returned 404

:+1:


BUG: Re-deploy does not happen

Problem Description
Deploy a (Cluster)Profile with Helm chart. Then delete it. Before clean up happens, delete the cluster.
It appears helm client gets stuck in this situation.
If now cluster is recreated and so is the (Cluster)Profile, this never gets deployed. Same error keeps happening.
**E0627 14:21:32.913960       1 clustersummary_controller.go:368] "failed to deploy" err="cleanup of Helm still in progress. Wait before redeploying" controller="clustersummary" controllerGroup="config.projectsveltos.io" controllerKind="ClusterSummary" ClusterSummary="default/deploy-calico-capi-clusterapi-workload" namespace="default" name="deploy-calico-capi-clusterapi-workload" reconcileID="ee3012a7-9a64-4f08-8b19-31e797f61946"
**

Workaround: delete the addon-controller pod.

@gianlucam76 we seem to be hitting this too although in slightly different scenario. Essentially what we did was:

Create a cluster and wait for addons to come up
Delete the cluster and wait for cluster and clustersummary to be deleted
Create the cluster again with the same name
Above case again we see the same error as above.
I had a quick look at the code around this error and suspecting that the deployer object which is cached internally doesn't get deleted on cluster delete. Let me know if my undestanding on this below is incorrect.

Sveltos seems to maintain a deployer client that keeps track of the helm/policy/kustomize deployment and their status.
type deployer struct {
        log logr.Logger
        client.Client
..
}

func (d *deployer) IsInProgress(
        clusterNamespace, clusterName, applicant, featureID string,
        clusterType sveltosv1beta1.ClusterType,
        cleanup bool,
) bool {

        key := GetKey(clusterNamespace, clusterName, applicant, featureID, clusterType, cleanup)

        d.mu.Lock()
        defer d.mu.Unlock()

        for i := range d.inProgress {
                if d.inProgress[i] == key {
                        d.log.V(logs.LogVerbose).Info("request is already in inProgress")
                        return true
                }
        }

        return false
}

The deployer object is initialised when addon controller registers a clustersummary object and this object is queried to fetch the state of the addon. The object itself doesn’t have a CR so its stored in the client memory in the addon controller. But the registration seems to happen with just the cluster and namespace.
I do see cleanup code for the deployer object, so will have to trace cleanup but I don’t see anything odd in the logs. So suspicion is that this deployer object isn’t cleaned up with previous deployment and is giving the addon controller stale data. Which is why restart would fix this as the cache or in memory object vanishes.

Hi @psarwate I can repro with those steps:

deploy kyverno with ClusterProfile
delete cluster
recreate cluster

now kyverno does not get redeployed with "err="cleanup of Helm still in progress. Wait before redeploying""
It is same as https://github.com/projectsveltos/addon-controller/issues/609
Will push a fix for it shortly

The problem is the helm sdk gets stuck when undeploying. Cluster is present but being deleted, so I call undeploy. Then helm sdk starts to undeploy but in the process, cluster is gone so not reachable anymore. Helm sdk never returns
I0926 14:17:56.383873       1 worker.go:172] "worker: 0 processing request. cleanup: true" logger="deployer" worker="0" key="default:::clusterapi-workload:::Capi:::deploy-kyverno-capi-clusterapi-workload:::Helm:::true"

I0926 14:17:56.383921       1 worker.go:174] "invoking handler" logger="deployer" worker="0" key="default:::clusterapi-workload:::Capi:::deploy-kyverno-capi-clusterapi-workload:::Helm:::true"

I0926 14:17:56.620020       1 handlers_helm.go:999] "uninstalling release" logger="deployer" worker="0" key="default:::clusterapi-workload:::Capi:::deploy-kyverno-capi-clusterapi-workload:::Helm:::true" cluster="default/clusterapi-workload" clusterSummary="deploy-kyverno-capi-clusterapi-workload" admin="/" release="kyverno-latest" releaseNamespace="kyverno"

There is no logger.V(logs.LogDebug).Info("uninstalling release done")

@psarwate I do have a fix. I was able to repro and add the fix and verify it.
Can you please file different bug?

@psarwate I do have a fix. I was able to repro and add the fix and verify it.
Can you please file different bug?

Thanks for looking at this @gianlucam76. I will file a new bug.

Thanks @psarwate
I also generated this image for you: projectsveltos/addon-controller:v0.38.3-test
so if you are using main or v0.38.3 just edit the addon-controller deployment in the management cluster and use this image. So you can also verify yourself. Thank you

Opened https://github.com/projectsveltos/addon-controller/issues/711.
Thanks!


"Failed to load the following plugins" error in NixOs

Plugin compiles hyprland somehow cannot pick it up.
When I run hyprctl plugin load manually I get the following output:
hyprctl plugin load /nix/store/57aazqsw931dz8qyz4zdpkirj74vpbla-hyprsplit-0.1/lib/libhyprsplit.so

error in loading plugin, last error: Plugin /nix/store/57aazqsw931dz8qyz4zdpkirj74vpbla-hyprsplit-0.1/lib/libhyprsplit.so could not be loaded: /nix/store/57aazqsw931dz8qyz4zdpkirj74vpbla-hyprsplit-0.1/lib/libhyprsplit.so: undefined symbol: _ZN8CMonitor17activeWorkspaceIDEv

hyprctl version
Hyprland, built from branch  at commit v0.38.1  ().
Date: 2024-04-06
Tag:

flags: (if any)

Flake input:
    hyprsplit = {
      url = "github:shezdy/hyprsplit";
      inputs.hyprland.follows = "hyprland";
    };

Let me know if you need more info!

It looks to me like the plugin is compiled for the wrong version of Hyprland. Try
hyprsplit = {
  url = "github:shezdy/hyprsplit?ref=v0.38.1";
  inputs.hyprland.follows = "hyprland";
};

Thanks for your help!
Unfortunately amending it breaks the entire flake.
error:
       … while updating the lock file of flake 'git+file:///home/username/dotfiles'

       … while updating the flake input 'hyprsplit'

       error: getting status of '/nix/store/6sbsi106j588hmz9fy5jyna8vdxmdq8b-source/flake.nix': No such file or directory

Oh oops I see, nix support wasn't added to the plugin until v0.39.0. Are you using the Hyprland flake or nixpkgs unstable to get Hyprland?
If you are using the Hyprland flake you should make sure that the url of the plugin and Hyprland are using the same tag, for example:
hyprland.url = "github:hyprwm/Hyprland?ref=v0.39.1}"; # or "github:hyprwm/Hyprland" to follow the main branch

hyprsplit = {
  url = "github:shezdy/hyprsplit?ref=v0.39.1"; # or "github:shezdy/hyprsplit" to follow the main branch, ?ref={version} should always match hyprland.url version
  inputs.hyprland.follows = "hyprland";
};

If you are using Hyprland from nixpkgs, you need to first wait for Hyprland to be updated to 0.39.1 (https://github.com/NixOS/nixpkgs/pull/304725), then set hyprsplit to use the same tag as hyprland in nixpkgs like I did in the example above. I think using hyprland from nixpkgs will lead to more breakage in the future because you need to always make sure the plugin is set to the same tag as whatever is in nixpkgs.
I recommend using the Hyprland flake instead of nixpkgs if you are going to use any plugins, I think official Hyprland documentation also recommends that. I haven't used nixos on the desktop for a while, so hopefully all that info is accurate!

I'm on NixOS and for me this works 👍🏼

Turns out my config didn't use nixos and home-manager module from the flake. Once I imported it by adding the below, plugin started loading. Thanks for your help.
configuration.nix
  imports = [
      ./hardware-configuration.nix
      inputs.hyprland.nixosModules.default
    ];

home.nix
  imports = [
    inputs.hyprland.homeManagerModules.default
  ];


3.2.2 stemming "oed" crashes

from nltk.stem.porter import *
stemmer = PorterStemmer()
stemmer.stem("oed")

--> crash
The problem is a vowel suffixed by "ed" or "ing". It works in 3.2.1
python version: 3.5.2

Works for me (NLTK 3.2.2 on Python 3.5.2):
>>> from nltk.stem.porter import *
>>> stemmer = PorterStemmer()
>>> stemmer.stem("doing")
'do'

Sorry, try "oed" instead of "doing"
(fixed it in the original post)

See #1582.

ah ok then closed

stemmer.stem("oing") still fails on 3.2.2 and https://github.com/nltk/nltk/pull/1582/files#diff-3a8479d9e81a5bd798ce0a2cd1b6dd9cR214 will not fix it, what do i miss?


Can switch from yarn to pnpm?

Can you switch from yarn to pnpm? The installation speed of yarn is still relatively slow, which is not very user-friendly for the overall user experience.

Yes, you can switch to pnpm. Someone mentioned they made it work using pnpm and bun in https://github.com/coral-xyz/anchor/issues/3080#issuecomment-2329363893.

The meaning is that "anchor init xxx" should be replaced during the process, rather than waiting for the environment to be ready before making the change.

After a preliminary look at the code, it seems that there might be significant changes needed.

The meaning is that "anchor init xxx" should be replaced during the process, rather than waiting for the environment to be ready before making the change.

You can pass in --no-install to skip installing the JS dependencies.

I think this should be solved by #3328

Yeah, as the previous comment mentioned, you'll be able to run:
anchor init <NAME> --package-manager pnpm


Pasta salad

Not best practise, but this is a mix of fixes. Each commit can be read indendantly

change the way we log server error in order to be able to read them in Kibana
handle >4MB actes & bilans

we should probably move to a dedicted service that would download files and handles queues
@MKCG

date fermeture
recipient siret to API Entreprise

https://nextjs.org/docs/messages/api-routes-response-size-limit#possible-ways-to-fix-it


azure-cli-iot-ext 'No keys found for policy iothubowner of IoT Hub'

Describe the bug
I'm using a freshly created Azure account and am following this tutorial for IoT Hub and Android Things: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-how-to-android-things
I'm able to execute the first line of the following code using the Azure Cloud Shell (azure-cli version 2.0.61), but unable to execute the second line (I replaced the "YourIoTHubName" with my own hub name) :
az extension add --name azure-cli-iot-ext
az iot hub device-identity create --hub-name YourIoTHubName --device-id MyAndroidThingsDevice

When I execute the second line above, I get this error in red:
No keys found for policy iothubowner of IoT Hub szmoon-android-iot-tutorial.
I searched around and found this page ( https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-use-metrics-and-diags ) that recommends updating the extension if you run into that error. I assume that my fresh install is up to date, but I tried running the following update anyway:
az extension update --name azure-cli-iot-ext
When I run it, I get this error:
The command failed with an unexpected error. Here is the traceback:

'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 351, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 409, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 402, in _run_job
    six.reraise(*sys.exc_info())
  File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
    raise value
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 171, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 451, in default_command_handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/extension/operations.py", line 258, in update_extension
    cur_version = ext.get_version()
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/extension/__init__.py", line 115, in get_version
    return self.metadata.get('version')
AttributeError: 'NoneType' object has no attribute 'get'

When searching for a solution, I saw that some others were running into a similar issue in the past and it was caused by specific versions of the azure-cli-iot-ext: https://github.com/Azure/azure-cli/issues/6969
https://github.com/Azure/azure-iot-cli-extension/issues/32
Is something similar happening here?

Relocating to the azure-cli-extensions repo since this deals with the IoT extension.


Migrate to a new Inline Completion API

Hi!
For a long time, IntelliJ Platform lacked a built-in API to display inline completion (aka gray text completion). As a result, many plugins, including Codeium, implemented it from scratch. In the latest 2023.3 release, the IntelliJ platform added an API for inline completion.
This new API allows developers to design plugins that enable inline completion, simplifying the process considerably. The primary benefit of this new API is that it enables multiple plugins to operate simultaneously, effectively enhancing overall system integration and compatibility.
The new built-in API is not compatible with implementations of other plugins, potentially causing two independent gray texts within the editor. We kindly invite you to explore the possibility of integrating our new API into your plugin at your earliest convenience. Your collaboration is crucial in achieving better synchronization between plugins for inline completion with the IntelliJ platform, thereby boosting the overall user experience.
Should you encounter any limitations or require additional features, please do not hesitate to let us know. We’re committed to ensuring this new API meets your requirements and improves the overall IntelliJ environment.
Here is our issue tracker.
Please migrate to the new API, you can find the entry points below:

The API is located in the package com.intellij.codeInsight.inline.completion.

The InlineCompletionProvider is the main class responsible for providing inline completion suggestions. It responds to various events, and for each one, it indicates whether it is ready to provide any suggestions for that event. There are default events: typing, changes in lookup, and direct call. If you require more events, you can create your own. There is a version of the provider that uses delayed execution to avoid wasting resources on non-meaningful user inputs.

For lower-level interaction, there's the InlineCompletionHandler. You can attach your listeners to it in order to monitor what happens with the suggestions generated. Furthermore, you can send your custom events via InlineCompletionHandler.

The provider yields a flow of InlineCompletionElements that need to be rendered. Because the flow is lazy, this API supports data streaming, allowing for the gradual appearance of elements. Each element features an interface that demonstrates how to render it. The standard rendering of gray text is already provided. Should you require more complex elements, you can easily achieve this by extending the interface as described above.

The API also supports reaction to overtyping, meaning instances where the user types characters that match the suggestion. Additionally, you can add a custom insertion handler if you need to perform specific actions following element insertion.

In 2023.3, support for only one suggestion per event is available out of the box. Support for multiple suggestions enabled in the 2024.1 release. However, you can also incorporate this functionality through custom events as detailed earlier.

It should cover all your features with current implementation and even more.
Thank you in advance!

Thanks for this update! I'm one of the devs at Codeium, and we're glad to see built-in API support! We'll add this to our roadmap, but it may not be immediate as we have customers on Intellij versions pre 2023 release.


Darkmode Button-Designs not distinguishable between active and disabled

@katyarozenfeld
looking at the dark mode button when disabled on the swap view and the active buttons on data table view, I feel like those gray colors are to close together.
What do you think?

Yes, I completely agree - the color of the text should be different. Please check Zeplin, I just updated disabled button
https://app.zeplin.io/project/5d70f6905eefcd18e1c40502/screen/5f1d2dbfaf220c37fb5fa2b1/

@pingustar Same deal, confirm this remains a thing and if able assign to @Ran73Cohen

@pingustar Same deal, confirm this remains a thing and if able assign to @Ran73Cohen


Use native EventLoopGroup

Fix #1529

Codecov Report

Merging #1530 (dc1c9fd) into master (a7e3e4a) will decrease coverage by 0.60%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1530      +/-   ##
============================================
- Coverage     65.76%   65.15%   -0.61%
+ Complexity     2272     2263       -9
============================================
  Files           447      447
  Lines          9385     9385
  Branches        938      938
============================================
- Hits           6172     6115      -57
- Misses         2738     2798      +60
+ Partials        475      472       -3

Impacted Files
Coverage Δ

...enyu/client/tars/TarsServiceBeanPostProcessor.java
34.66% <0.00%> (-56.00%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
56.84% <0.00%> (-7.37%)
:arrow_down:

...in/alibaba/dubbo/cache/ApplicationConfigCache.java
75.86% <0.00%> (-4.60%)
:arrow_down:

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
69.90% <0.00%> (-1.95%)
:arrow_down:

...t/zookeeper/ZookeeperClientRegisterRepository.java
70.90% <0.00%> (-1.82%)
:arrow_down:

Continue to review full report at Codecov.

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


button customization

Thanks a lot for this awesome library! I have two questions.

Can this button be customized?

Is there a way I can go straight to steam's login page by clicking sign in button below? because clicking on sign in directs to another sign in with steam button (above) which seems repetitive.

Thanks!

Hey, thanks!

Yes, this button can be customized. Just pass style property:

export interface OAuthProviderButtonStyles {
  logo: string
  logoDark: string
  bg: string
  bgDark: string
  text: string
  textDark: string
}

Yep, just do this:

import { signIn } from 'next-auth/react'

signIn('steam')

Small note: I would rather import PROVIDER_ID from the library than specifying steam directly:
import { PROVIDER_ID } from 'next-auth-steam'
import { signIn } from 'next-auth/react'

signIn(PROVIDER_ID)

But it's up to you.

Thanks a lot! so much better :)


adding a requirements.txt file to improve setup process

As I also stumbled over the correct name for the required library: Since a while requirements.txt files are common as helper to install required packages. Even few IDEs (like PyCharm) will detect such a file and help you to install missing ones. Otherwise you normally use:
pip install -r requirements.txt
It's a very small improvement. One could also specify a minimum version, but I don't know which one to choose.

Thanks for the comment! We did a bit of a rewrite. All dependencies are now included in the setup.py file. Simply running pip install -e . should get you up and running in no time.


Error Build

compile error says the manifest is not found. any solution?

Hi @arielcavadia1, have you changed the value of <GOOGLE_MAPS_API_KEY> with your key in the AndroidManifest.xml?

Hello fellow, I have realized that I had to put the key of g maps, thanks for the help and burn work.


chore: Remove Init.IteSimp

These lemmas can easily go in Logic.Basic. Also rename and restate them to better match the convention.

bors merge


[Issue 134] Fix error when running gulp unitTest

Error appears to only occur with gulp 3.8.9+
This fixes issue #134

Travis failed due to a linting error I fixed in PR #136

Thanks a lot!


The right sidebar should allow full-screen mode

For better UX on metadata editing the right sidebar should allow expansion:

@avoinea nice! I would love to hear what @albertcasado thinks about the UX. This is just a detail. Though, when clicking on an "X" icon I'd except to go full screen and not "just" expand to the left.

Albert said:
Yes, expanding the details may help a lot. The x is not for that. You will need to add a expander icon that calls the expand. The typical < that reverse to > when expanded
Better if you place that left to the title but check it is not perceived as a back
If this icon < > does not work go for a maximise and minimise icons. I will take a look this weekend!

"<" and ">" makes sense to me as a user. Though, this is something we can test do user tests on. I am wondering if it would be better to put the icons to the left side of "Document" and "Block". Right now you click on the right side of the sidebar to expand it to the left.

This is how it looks with < and > on the right:

This is how it looks with < and > on the left:

Is it possible to align "Document / Block" on the left even if we place the <> icons on the left?
Visually I kind of like this. Though, I am not sure from the UX perspective if that's an improvement or not. It would be nice to hear @albertcasado opinion. The other option is we merge it and wait for feedback from our users/clients.

Something like this:

Yeah. I like it. What do you think @sneridagh?

@avoinea looks good! Thanks!! Tomorrow evening I've scheduled a talk with Albert. We will review all the latest changes and this one as well. I'll tell you!

@avoinea he already gave his blessings :) btw, I realised that the PR is not updated with that change, can you update it?

@sneridagh Done!


GK creates multiple "Add Greenkeeper badge" PRs

https://github.com/gr2m/before-after-hook/pull/13 (I edited it before merging)
https://github.com/gr2m/before-after-hook/pull/14 (showed up later)

not sure if that’s related. It first created the issue that CI needs to setup, and then sends a PR to update all dependencies

https://github.com/gr2m/selsa/issues/50
https://github.com/gr2m/selsa/pull/51

not that this repo was activated before

should be fixed


Option to customize default page beyond just Home vs Favorites

With HoloTools, I primarily used the Play page, and I used my browser to 'install' the site as an App, which would open directly to the Play page since that's the page I was on when I 'installed' it.
Holodex, however, seems to expose some sort of metadata that lets the browser actually see it as an App, since it shows the "Install Holodex" icon and whatnot. This is at my detriment, however, since it always opens to the Home/Favorites page no matter how I installed it, so I have to click on MultiView every time I open it.
Even if I edit the URL in the shortcut on my PC, it still opens the site directly to the default page. It's a minor annoyance, but ideally I'd like to see a way to either expand the "Default open Favorites" setting to instead be able to configure exactly which page to open by default (beyond just the two existing options of Home vs Favorites), or have it listen to the URL I'm on when I install the app, or the URL in my app shortcut.

Closed by 3a0d1d52015c0fae079cf61c089eabd69b744018


converting spaces as intentation to tabs

Hello @tractorcow ,
this one contains mainly tabs instead of spaces. Also I broke down one constructor method...
Spek

It looks like there's a merge conflict. Can you please rebase?

@tractorcow I have fixed this. Can you have another look?

@tractorcow I have rebased this. Can you have another look?


Add support for moreblocks saw

Currently mithrill, silver and tin blocks are not supported in saw.

#27


chore: 🤖 dual package for esnext and commonjs

Hi, I would like to use this package for ESNext.
I have prepared new tsconfig.json and now npm run build generates commonjs and esmodule JS files

Many thanks to you for this PR!


YoloV3 Full Int8 convertion problem

I am trying to convert yolov3 to a full int8 tflite model and I get this error

RuntimeError: Max and min for dynamic tensors should be recorded during calibration: Failed for tensor input_1
Empty min/max for tensor input_1

tried with:
tensorflow ==2.3.1, 2.2.0
Any fix;

sir did you rectify it??I'm also facing the same issue while connverting ssd_mobilenet_v2_2