Support for websockets for chat/inbox use case

please start by suggesting EDL

Since @snehmehta built this already for his chat widget, assigning to him to expose it in EDL.
cc @vusters

View:
  onLoad: |
    //@code
    // javascript functions

    ensemble.socket.connect();
    ensemble.socket.disconnect();
    ensemble.socket.reconnect();
    ensemble.socket.send({'name': 'ensemble'});

SOCKET:
  uri: wss://ensemble.forever.com/socket/
  connect:
    onSuccess:
      executeAction
    onFailure:
      executeAction
  onDisconnect:
    executeAction
  onReconnecting:
    executeAction
  onReceive:
    executeAction
  options:
    disconnectOnPageClose: true | false, default true.
    autoReconnect: true | false, default true.
    reconnectOptions: # It's BinaryExponentialBackoff
        initial: 1, seconds
        maxStep: 3, stop after 3 steps

Please check the above EDL and share your inputs.
@vusters @kmahmood74 @amin-nas @evshi

Looks good, thanks @snehmehta please continue with the changes

Adding @sharjeelyunus Sharjeel, please have a look as well

Looks good to me, thanks @snehmehta

@kmahmood74 @snehmehta @vusters
IMO, the EDL here can be similar to APIs and ensure support across YAML and code. Also, we need to ensure consistency in our nomenclature. It gets confusing and hard to learn the EDL when one action uses onError and another uses onFailure.
Here's how:
View:
  onLoad:
    connectSocket:
      inputs: []
      name: mySocketName
      onSuccess: <executeAction>
      onError: <executeAction>
      onDisconnect: <executeAction>
      onReconnectAttempt: <executeAction>
      onReceive: <executeAction # data available in response.data or mySocketName.data>

View:
  onLoad: |
    //@code

    ensemble.connectSocket({
      name: "mySocketName"
    });

Socket:
  mySocketName:
    uri: wss://ensemble.forever.com/socket/
    onSuccess: <executeAction>
    onError: <executeAction>
    onDisconnect: <executeAction>
    onReconnectAttempt: <executeAction>
    onReceive: <executeAction # data available in response.data>

    options:
      disconnectOnPageClose: true | false, default true.
      autoReconnect: true | false, default true.
      reconnectOptions: # It's BinaryExponentialBackoff
          initial: 1, seconds
          maxStep: 3, stop after 3 steps

Other related actions are:

disconnectSocket
reconnectSocket
messageSocket

Stretch goal:

support mySocketName.state as a bindable variable, matching these states: CONNECTING | OPEN | CLOSING | CLOSED

@kmahmood74 @snehmehta @vusters
IMO, the EDL here can be similar to APIs and ensure support across YAML and code. Also, we need to ensure consistency in our nomenclature. It gets confusing and hard to learn the EDL when one action uses onError and another uses onFailure.
Here's how:
View:
  onLoad:
    connectSocket:
      inputs: []
      name: mySocketName
      onSuccess: <executeAction>
      onError: <executeAction>
      onDisconnect: <executeAction>
      onReconnectAttempt: <executeAction>
      onReceive: <executeAction # data available in response.data or mySocketName.data>

View:
  onLoad: |
    //@code

    ensemble.connectSocket({
      name: "mySocketName"
    });

Socket:
  mySocketName:
    uri: wss://ensemble.forever.com/socket/
    onSuccess: <executeAction>
    onError: <executeAction>
    onDisconnect: <executeAction>
    onReconnectAttempt: <executeAction>
    onReceive: <executeAction # data available in response.data>

    options:
      disconnectOnPageClose: true | false, default true.
      autoReconnect: true | false, default true.
      reconnectOptions: # It's BinaryExponentialBackoff
          initial: 1, seconds
          maxStep: 3, stop after 3 steps

Other related actions are:

disconnectSocket
reconnectSocket
messageSocket

Stretch goal:

support mySocketName.state as a bindable variable, matching these states: CONNECTING | OPEN | CLOSING | CLOSED

I realised with inconsistency of nomenclature while implementing, my bad. Thanks for pointing out.
I liked the similarity with API as well, I make the necessary changes.

Hey @amin-nas
Here is
View:
  onLoad: |
    //@code

    ensemble.connectSocket("mySocketName");

Socket:
  mySocketName:
    uri: wss://ensemble.forever.com/socket/
    onSuccess: <executeAction>
    onError: <executeAction>
    onDisconnect: <executeAction>
    onReconnectAttempt: <executeAction>
    onReceive: <executeAction # data available in mySocketName.data>

    options:
      disconnectOnPageClose: true | false, default true.
      autoReconnect: true | false, default true.
      reconnectOptions: # It's BinaryExponentialBackoff
          initial: 1, seconds
          maxStep: 3, stop after 3 steps

@snehmehta makes sense. Thanks for the update.
@sharjeelyunus please review asap and comment if you see a gap for the use cases you need to implement.

looks good to me

@snehmehta please close this ticket if the work is complete

@snehmehta is there a kitchen sink example for how to use websockets? If not, please create one. Also update the documentation here - https://github.com/EnsembleUI/ensemble_docs
A ticket is not complete without the above two things. Re-opening it.

this was done a while ago, closing


[sql server] Soda analyse  can't handle columns that are reserved names

Describe the bug
Running soda analyze against a SQLServer database where some tables have columns with the same name as a reserved keyword fails with 'incorrect syntax'
There should be an option to encapsulate columns names with [], or it should do it  always
To Reproduce
Steps to reproduce the behavior:

Create a test database with a table containing the columns 'myid' and a column named 'order'
Modify warehouse.yml and the credentials yml to suit to conenct to the database
Run `soda analyze'

OS:
Centos 7
Python Version:
3.8.1
Soda SQL Version:
Latest Soda SQLServer beta
Warehouse Type:
SQLServer 2017

I am aware that I could manually create the various scan.ymls per table, but I'd rather not.  There's a lot if them .........

Fixed in latest tag!


Subtitle on Archive is out of sync

Describe the bug
Subtitles inside the MKV are out of sync. I dont know if its because i was searching inside the video or if they are out of sync completely
To Reproduce
Steps / command to reproduce the behavior:
$ crunchy archive -s de-DE -s en-US -o "S{season_number}E{relative_episode_number} {title}.mkv" --skip-existing https://www.crunchyroll.com/series/GRMG8ZQZR/one-piece

Expected behavior
Downloaded Subtitle and Crunchyroll Player Subtitle should be shown on the exact same point
Screenshots
would not help much i think ;)
Client (please complete the following information):

OS: Linux
Version crunchy-cli 3.0.0-dev.8 (32691e6 2023-01-19)

Additional context
used the latest version because of the relative episode number option. For a Anime that is so long it is really helpful ;) also for the skip existing one to resume the download

Is more information needed or can somebody confirm this?

Can't confirm, can you provide a specific season, episode and subtibtle language?

Season 1 Episode 1 subtitle is German.
I noticed that the downloaded Video starts some seconds later as in Crunchyroll. Due to that fact the timings in the subtitles are off.
ffmpeg
ffmpeg version 4.3.5-0+deb11u1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)

Does this still occur in v3.0.0-dev.10?

@ByteDream
I get with the latest checkout, dev10 and dev9 the following error:

a unexpected error occurred: (content.get_video_streams_v2.cms_service_error) -  (https://www.crunchyroll.com/content/v2/cms/videos/GKKFNXN72/streams?locale=en-US)

CLI I Used
crunchy archive -s de-DE -s en-US -o "S{season_number}E{relative_episode_number} {title}.mkv" --skip-existing https://www.crunchyroll.com/series/GRMG8ZQZR/one-piece
I already removed the ETP Token and re added it via crunchy login

Does this appear before any download starts?
My guess is that this is some kind of new rate limiting introduced with the new endpoints but if my guess is right #189 should've fixed it.
From my experience this error resolves itself after half an hour. Does it still appear (if it does please let me know and try later tomorrow again as I can't reproduce it AMT)?

After some time, new pull and waiting i could retry it.
It seems something was changed, so it seems to work now. I just tested the First Episode. I did not Test all 13 Seasons i already downloaded, but i will start to archive it again and will look into some of them.
Do you know which PR could be the culprit why it is fixed now? ;) (the desync issue, the other one is then also tested on my side)

But i could already seen that #189 did not fixed the rate limiting. I downloaded just the first episode and now i can't go further. Not even on the Crunchyroll Site it allows me to view anything so an IP Based Rate Limiting is in place then

I just waited, now its downloading some episodes but will get the same rate limiting after some time (for me it was 41 episodes but i think that it is some kind of time constraint)

That'

I just waited, now its downloading some episodes but will get the same rate limiting after some time (for me it was 41 episodes but i think that it is some kind of time constraint).

Good to hear. But that the limiting still hits is a bit concerning :/

also noticed in the code that both, h264 and h265 with nvidia HW uses the same ffmpeg decoder it seems (h264_cuvid).

The decoder is only responsible for decoding the video which Crunchyroll provides, which is always h264 encoded.

Good to hear. But that the limiting still hits is a bit concerning :/

yhea, kinda is. After it once hits, it will still hit everywhere on the same network. We need some further research what exactly triggers it and how to avoid it. Maybe even Limit the amount of downloads in a certain time

The decoder is only responsible for decoding the video which Crunchyroll provides, which is always h264 encoded.

Ahh ok. Then i maybe need to build ffmpeg myself in some time. But thats very very low prio for me

Seemed to be fixed. Dont have any problems with any series i currently have downloaded


Support for Ogmios 6.x in the ChainContext

Is your feature request related to a problem? Please describe.
Currently pycardano only supports Ogmios < 6.0.0 for the ChainContext but the API has changed since.
Describe the solution you'd like
There is an implementation of the OgmiosChainContext built by Viper Science here that could be used instead. I would suggest we inherit the code entirely and simply make ogmios package independent of pycardano and import it instead. We can then dynamically switch to their implementation if we find that the Ogmios client indicated is version >= 6.x
Describe alternatives you've considered
The user can be tasked directly to indicate the ogmios api version. Also, we could keep the ogmios and pycardano package seperate entirely.
Additional context
None

hi @nielstron do you know when Ogmios 6 compatibility might be available at all?

No this is currently not planned with high urgency because the implementation by Viper-Science is now pretty usable (after some fixes). I would recommend to use it.

Great stuff, will take a look, thanks @nielstron


Update SignalBus.cs to fix compiler error

ZEN_SIGNALS_ADD_UNIRX currently does not compile because "GetStream(object identifier)" calls a function with an old signature.

Merged into https://github.com/svermeulen/Extenject with cb9b1fade7093aa153b981f01fd7336f7eb9b014


Not install

INFO: pip is still looking at multiple versions of mt5linux to determine which version is compatible with other requirements. This could take a while.
Using cached mt5linux-0.1.1.tar.gz (30 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-uzchz0d5/mt5linux_fdf7615c085642fabefb8d8899451801/setup.py", line 10, in
install_requires=open('requirements.txt','r').read().split('\n'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I had a similar error.
The issue was caused by the fact that mt5linux requires a version of numpy that is not compatible with Python 3.11 and later.
Therefore, I downgraded Python to version 3.10 and installed packages that are compatible with numpy==1.21.4.
// Python version 3.10.14
pip install mt5linux
pip install numpy==1.21.4 pandas

Check out my fork in case you want to stick with a newer python version. It works with Python 3.13.


BottomNavigation: support elevation prop

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
BottomNavigation: support elevation prop to add box shadow.
Examples 🌈
The app I am working on:

In YouTube mobile website, it has a border for BottomNavigation:

Motivation 🔦
When I choose same color for body background and BottomNavigation background, I hope it can have a box-shadow. Though it is possible by wrapping it in a Box, it will be convenient to directly add this to BottomNavigation.

Use the Paper component if you need to add an elevation or the theme.shadows values


Unexpected behavior when multiple programs have overlapping services

Since the BBRF server stores services with their ip:port identifier, adding the same service when it is already assigned to another program will fail.
In practice, this might occur for either local IPs (although unlikely to be the result of a portscan), as well as when scanning shared infrastructure.
An improvement would be to either allow assigning more than one program to a single service, e.g. "program": ["one", "two"] rather than a single value "program": "one", and improving the server so it returns the document regardless of which program is specified.

@honoki is this still an issue? I see multiple programs assigned to the same service, such as http/ssh etc.


Make Generic1, Split1, IsHCons1 and IsCCons1 covariant

I.e. covariant in the captured instances, not the main parameter.
Simple-kinded Generic doesn't have an alternative,
because it doesn't need to capture any instances.

Can you motivate this for me?

We can delegate the derivation of supertypes: typelevel/kittens#211

I'm convinced. Add a test or two and I'll merge :-)

Finally done :smile:

LGTM! Many thanks ... merging :-)


Localization support for 10 cultures

/Deployment - updated ARM deployment file to add new supported culture and provide default culture option for installers
/Manifest - created 2 seperate folders for End user and SME users along with localized JSON files
/Source - modified source code to handle user localized commands for bot, ME and tab capabilities. Application will be able to detect user locale and if supported will show the content accordingly.

Please see comments

Hello @aosolis,
We have fixed the comment. Please have a look again and let us know if any changes are required.
Thanks


Allow for custom imagery adjustments

Provide a hook into the shader for custom adjustments to imagery when rendering the surface of the globe.
From the forum: https://groups.google.com/forum/#!topic/cesium-dev/ZCXAoriJogw

Imagery layer already provides some built in adjustments, like brightness/contrast/hue/saturation, which I believe are performed by shaders in the rendering pipeline. What is the best way to add my own custom adjustments to an imagery layer. For example, I would like to dynamically adjust the brightness of pixels per RGB channel (brighten blue, dim red, etc). Is there any way to add my own shader for a specific imagery layer (and pass parameters to it)? Or perhaps, is there another way to do this without shaders?

Request on the forum, specifically sharpening the texture– https://community.cesium.com/t/how-to-apply-postprocessstage-to-a-specific-imagerylayer/23683/8


cross-seed container stops if qBittorrent is not available

Hello,
This happened to my a few times already. The topic was briefly discussed in the Discord channel and it was suggested to open an issue here.
This happens in unRAID. The torrent container is behind a VPN container.
This is the last extract from the logs before the program closed.
Configuration file already exists.
info: cross-seed v5.9.2
info: Validating your configuration...
Configuration file already exists.
info: cross-seed v5.9.2
info: Validating your configuration...
error: qBittorrent login failed: request to http://<IP_ADDRESS>:8888/api/v2/auth/login failed, reason: connect ECONNREFUSED <IP_ADDRESS>:8888

I think the approach to take potentially would be temporarily saving torrents to outputDir and retrying upon the next injection to login to inject?

Following up on this, your log seems to say that it failed to login upon launch, but if i recall you stated that it would fail to connect and crash randomly while running, and this was happening upon restart following the crash?
I'm not sure about changing a failure to start when the client fails at launch. I think it could lead to someone with a misconfiguration to assume things are fine, when they are not.

Revising this, I would recommend you employ the following.
https://www.cross-seed.org/docs/tutorials/unraid#auto-restart
This is our current position until we have a UI that is separate from daemon operation.
This will restart on transient failure as well as at startup, but keep in mind without a delay it will hammer away until it succeeds.


Revert "Slack article update"

Reverts Microsoft/bot-framework-docs#10

@RobStand,
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


Cannot include Moment.js and Chart.js with RequireJS separately

Expected Behavior
To be able to include Moment.js and Chart.js with RequireJS without using the bundle version of Chart.js to avoid that Moment.js has to be included twice and possibly in different versions.
Current Behavior
The example at https://jsfiddle.net/8m67zr8y/1/ shows that Chart.js cannot find Moment.js, although Moment.js is basically available.
The example at https://jsfiddle.net/8m67zr8y/ shows the current possibility. However, Moment.js is included twice in this case.
Possible Solution
Provide a configuration option to pass a reference to the Moment.js instance explicitly or try to include Moment.js in an AMD environment with require('moment') for example.
Steps to Reproduce (for bugs)
See examples at https://jsfiddle.net/8m67zr8y/ and https://jsfiddle.net/8m67zr8y/1/

The problem is that the moment.js library doesn't expose the global window.moment function.
Adding the following will make it work. https://jsfiddle.net/8m67zr8y/3/
define('moment-adapter', ['moment'], function(moment) {
    // Set the global.
    window.moment = moment;
    return moment;
});

require(['jquery', 'moment-adapter', 'chartjs'], function($, moment, Chart) {

So simple, so good. The problem is solved. But is there no way without the global Moment.js function? In the AMD context this seems a bit "dirty" from my point of view.

At the moment I think this is your only option using requirejs. Until Chart.js acquires the possibility of a pluggable time library. For now it is hard coded: scales/scale.time.js#L5


Rewrite the synonym endpoint

Related to #398
closes #398, closes #392, closes #389
Test:
Search "Green" > Only result with "Green"

Add to synonyms "Green = Blue"

Check synonyms list. "Green = Blue"

Search "Green" > Result with "Green" and "Blue"

Remove all synonyms

Search "Green" > Only result with "Green"

Nice, thank you for this PR, merging!

No documentation needed


Delete .travis.yml

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@shazron do you have some context around this change? Why is the file being removed?


Custom termination date

Added ability to terminate contract not "as of now" but in any specific moment in the future.
Motivation: for legal implications, we need to be precise when terminating lockups.
If the termination timestamp is in the future, the schedule will be truncated in that moment in the future
If the termination timestamp is in the past - current timestamp will be used for schedule truncation

FYI @frol: updated code to fail when terminate is called with past timestamp.

@evgenykuzyakov , is there anything stopping us from splitting unit tests into separate files?
I think it will make working with multiple parallel merge requests easier (by reducing number of conflicts, currently I just append unit tests to the end of the file).
Is there any policy on unit tests?
Do you think it's worth the effort?

@evgenykuzyakov This is useful for the legal team since rarely one want to submit a termination transaction exactly at 00:00 of a certain day.


CI

@kris-nova I would like to add CI to this project, do you have any preferences?
Travis vs circle ?

No pref for me. But I made a little test with Circle for a different issue #26 if that's helpful


updated metrics help

Coverage increased (+0.07%) to 85.701% when pulling 12e054c1be1c8c2d449c1d755062d73dc5d7ff2e on dissoupov into 428126acc6bd9442f568d05c4024c479b238630a on main.


Invariant Violation: Minified React error

Error
Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=t%3A invalid_grant%3A Invalid Password&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: [e.g. 2.0.4]
Git provider: [e.g. GitHub, BitBucket]
OS: [e.g. Windows 7]
Browser version [e.g. chrome 22, safari 11]

Node.JS version:

CMS configuration

Additional context

@Samamoah I changed the title and brought the error into the body.
Please fill out the rest of the form as best as possible, so we know how to recreate or figure out what is causing this error. Thanks

@Samamoah Did you resolve this problem? I have the same problem, How to resolve?

@molove-gyq can you open a new issue with details and an example repo that produced the error. Thanks
I am closing this issue due to non-response.

@molove-gyq can you open a new issue with details and an example repo that produced the error. Thanks
I am closing this issue due to non-response.

@Samamoah Thanks for your reply. Through to find these days , I found the solution. this
is a link for the issure (facebook/react#8379). Thank again for your reply.

@molove-gyq What was the solution. My issue was when i tried opening my netlify cms admin panel

Hello I am also looking for a solution, the link @molove-gyq shared doesn't work for me.

@thelovesmith can you open a new issue with a reproduction scenario? This issue is a bit stale and lacking in details.


Threadfin ignoring channel-id number from imported playlist

Describe the bug
Threadfin uses channel "1000" as a starting number despite predefined channel numbers in imported playlist
Server (please complete the following information):

OS: Ubuntu 22.04.2 LTS
Threadfin Version and Build: 1.0 (23)

To Reproduce
Steps to reproduce the behavior:

Add m3u playlist & xml epg
Check mapping and see channel numbers

Expected behavior
For channel numbers to be consistent with imported playlist
Screenshots

This is expected behavior. This is how xteve worked as well. You can use a custom filter to maybe bring them all in as is but not sure that will work.

This worked previously. It was only after an unexpected HDD failure a few days ago that this behaviour started when I had to redeploy my media server. Unfortunately I lost the backup files in the failure.

I'm also interested in this. Is there a way to get this working?


Constructor "Edulink"

The Edulink constructor does not exist.
"TypeError: Edulink is not a constructor"

Can you give any info on how to recreate?

Should be fixed with v1.0.11


Profile Page

@mohabashraf this is the schema for how to document a piece of code
Author: your name
date of the day you started implementing
a simple description for your code

@mohabashraf The top tables are out of the well. Furthermore, the user should have a default profile image.

@mohabashraf  add check if user exists

@bassemmagdy  @omarelhariry  @omaressameldin

@mohabashraf  rename the uml to the correct user stoty

@omaressameldin    @bassemmagdy

@mohabashraf send user id to the model
use find article method before the alt box
return user info in case of user is found

@mohabashraf writer's name in article should link to his profile

@omaressameldin  @omarelhariry

@bassemmagdy

@omarelhariry  @omaressameldin  please review

@mohabashraf
display profile should be called inside the alt box if the user is found adn not from the view to the view

@omaressameldin

@bassemmagdy

@bassemmagdy  please review

@mohabashraf  user_controller it's enough to write your name one time remove the second one and add its description to the first one

@bassemmagdy


Typo in Dutch translation

Godot version
v3.4.2.stable.official [45eaa2daf]
System information
MacOS
Issue description
Typo in dutch translation. Animation window. Mouse over the plus sigh says: Niewe animatie. This should be: Nieuwe animatie.

Steps to reproduce

Minimal reproduction project
No response

Thanks, fixed in https://hosted.weblate.org/translate/godot-engine/godot/nl/?checksum=5b42097771a18652.
You can fix translations on Weblate yourself if you want, see https://docs.godotengine.org/en/latest/community/contributing/editor_and_docs_localization.html


deprecated alias

Logger: homeassistant.helpers.typing
Source: helpers/deprecation.py:206
First occurred: May 11, 2024 at 08:59:09 (4 occurrences)
Last logged: May 11, 2024 at 08:59:11
HomeAssistantType was used from zonneplan_one, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'zonneplan_one' custom integration

Duplicate of  #114
Will be part of next release


Restore Paladin REs to the Combined Shining Oath Feat

Closes https://github.com/foundryvtt/pf2e/issues/11597.
Also re-input the feat's text from CRBv4 printing and put the benefits for the various causes in the order of that description.

Check errata

Eye r dum and missed that; still rearranged the order of the various bonuses.


Build Error

$ bash install.sh
I'm trying to build and I'm getting the following errors.

hyprctl version
Hyprland, built from branch main at commit a6ccd36147109d5cb2981122595f06ae93999b55 dirty (screencopy: move monitor verif check to the proper place).
Date: Thu Feb 8 02:47:14 2024
Tag: v0.35.0-8-ga6ccd361

How did you install hyprland? Try using hyprpm to install it.

It looks like your wlroots environment is a bit messy, I suggest you reinstall side hyprland-git
To update the wlroots header file of the system

yay -S hyprland-git
I got this error when I installed the latest version of hyprland.
sudo pacman -S hyprland
I did not encounter any errors when I installed it this way. When compiling in the new version, it cannot find wlroot.

maybe something wrong with tha aur package  (maybe the pkgbuild script not update the wlroots)
when I manually git clone the latest hyprland , there are no problem.

sudo pacman -S hyprland   this is to install V0.34 rely on old wlroots, your wlroots header is old.  and yay -S hyprland-git not update the wlroots for you .

When I installed hyprland-git, I noticed that wlroots was not installed. After some research, I found that when I installed wlroots-git via yay, the problem was solved.
yay -S hyprland-git wlroots-git
You can close the issue :) thank you.

It stands to reason that the hyprland-git script will automatically install wlroots
There may be a problem somewhere, causing hyprland-git not to automatically update wlroots


Columns Widths dynamically

Hello, I have this table

Is possible to resize column dynamically in all browser screen.
Thanks.

You can try a method to count the number of characters and create a formula to estimated width is required. You can use something like that: http://www.bossanova.uk/jexcel/examples/currency-and-masking-numbers

Why is this closed? that wasn't the solution, there should be an option such as resizeLastColumn = true or assign % as width, hope that can be achieved.

This is a possible solution:
http://jsfiddle.net/paulhodel/eht0q91s/


chore(runtime) Update Wasmer to 0.4.2

Because it must be done.

Closed by https://github.com/wasmerio/php-ext-wasm/commit/f8511cb1af73414f96c6e5b2c0539685a414ea25.


Render Name of the Park to Card 1 and Park Description, link to Park URL

-card 1:
-If we can find an image, if not random array of activity images

Name of the Park

Park Description

2nd card : air quality (?)

3rd card : books and movies

completed


Support for tokenizing excessively lengthy sentences?

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
This is related to this issue
from transformers import AutoTokenizer
from datasets import load_dataset

wikidata = load_dataset('wikitext', 'wikitext-2-raw-v1', split='test')
wikilist = [' \n' if s == '' else s for s in wikidata['text'] ]
# len(text) == 1288556
text = ''.join(wikilist)

model_id = "fxmarty/tiny-llama-fast-tokenizer"
tokenizer = AutoTokenizer.from_pretrained(model_id, use_fast=True)
tokenized = tokenizer(text, return_tensors='pt')

I've found that llama tokenizer fast version can perform extremely slow when tokenizing very lengthy sentences.
From my test, it tooks 107s for fast to tokenize a sentence of 100k and 3s for nonfast.
But for a batch of short sequences, the fast can perform very fast, only 0.003s to tokenize all sequences.
Expected behavior
Lengthy sentences are very common in some datasets.
For example, in Redpajama and Slimpajama, there are some docs longer than 77k.
But sadly LlamaTokenizerFast performs very bad for them, and it can sometimes result in the program to hang.
Wonder if you can provide any solutions to the above problem.
Thank you!
System Info

transformers version: 4.36.2
Platform: Linux-4.14.105-1-tlinux3-0013-x86_64-with-glibc2.27
Python version: 3.11.5
Huggingface_hub version: 0.20.2
Safetensors version: 0.4.1
Accelerate version: 0.25.0
Accelerate config:    - compute_environment: LOCAL_MACHINE
- distributed_type: DEEPSPEED
- mixed_precision: bf16
- use_cpu: False
- debug: False
- num_processes: 8
- machine_rank: 0
- num_machines: 1
- rdzv_backend: static
- same_network: True
- main_training_function: main
- deepspeed_config: {'gradient_accumulation_steps': 1, 'gradient_clipping': 1.0, 'offload_optimizer_device': 'none', 'offload_param_device': 'none', 'zero3_init_flag': True, 'zero_stage': 2}
- downcast_bf16: no
- tpu_use_cluster: False
- tpu_use_sudo: False
- tpu_env: []
- dynamo_config: {'dynamo_backend': 'INDUCTOR'}
PyTorch version (GPU?): 2.1.2+cu118 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using GPU in script?:
Using distributed or parallel set-up in script?:

Others
No response

You can switch between slow/fast tokenizer by specifying use_fast_tokenizer=False/True, we use the slow version by default

The question is that the slow version may hurt the training speed. I found that it is around 30-40% slower than the fast, which is not ignorable for training with large token budget

So I wonder if you could provide some workaroud to split the input sequecen first, like this
  def split(document: str, block_size: int):
      import re
      chunks = []
      matches = list(re.finditer(r"(\w+|[^\w\s]+)", document))
      for i in range(0, len(matches), block_size):
          start = matches[i].start()
          end = matches[min(i + block_size, len(matches)) - 1].end()
          chunks.append(document[start:end])
      return chunks

but not sure if this could hurt the performance.

It can be slightly tricky in implementation, we recommend to handle the lengthy examples before using llama-factory


bug:  When WDS and ITS are co-located in hosting cluster, KS controller fights with Status Add-on on presence of singleton status label

Describe the bug
The workstatus is created but never updated:
$ k --context imbs1 get workstatuses.control.kubestellar.io -n cluster1 213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer -o yaml
apiVersion: control.kubestellar.io/v1alpha1
kind: WorkStatus
metadata:
  creationTimestamp: "2024-03-15T02:34:43Z"
  generation: 1
  labels:
    transport.kubestellar.io/originOwnerReferenceBindingKey: workflows
    transport.kubestellar.io/originWdsName: wds0
  name: 213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer
  namespace: cluster1
  ownerReferences:
  - apiVersion: work.open-cluster-management.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: ManifestWork
    name: workflows-wds0
    uid: 36fce4a3-d995-454f-adbe-bbe296ded9d4
  resourceVersion: "8044"
  uid: 18e5cb09-bb80-4520-aea5-6069fce2f62a
spec:
  sourceRef:
    group: argoproj.io
    kind: Workflow
    name: awesome-poochenheimer
    namespace: argo
    resource: workflows
    version: v1alpha1

The log shows a large number of conflicts that never get resolved, even after hours:
E0315 02:28:54.216968       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:54Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:54.565312       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:54Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:55.164850       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:55Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:55.765504       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:56Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:56.366050       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:57Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:57.020777       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:28:58Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:28:58.322966       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:29:00Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:29:00.897196       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:29:04Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:29:04.180240       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:29:06Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:29:06.030954       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:29:26Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:29:26.098061       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:29:26Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:29:26.525511       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing
2024-03-15T02:30:48Z    INFO    going to update status: {"object": "[argo] workflow.argoproj.io/awesome-poochenheimer"}
E0315 02:30:48.459571       1 agent.go:277] error syncing key 'util.Key{GvkKey:"argoproj.io/v1alpha1/Workflow", NamespaceNameKey:"argo/awesome-poochenheimer", DeletedObject:(*runtime.Object)(nil)}': Operation cannot be fulfilled on workstatuses.control.kubestellar.io "213674cb-7830-4ea8-ad2c-21f5043667c0-argoproj.iov1alpha1-workflow-argo-awesome-poochenheimer": the object has been modified; please apply your changes to the latest version and try again, requeuing

Steps To Reproduce
Could not yet find a way to reliably replicate.
Expected Behavior
Even if there are conflicts, they should resolve.

After more investigations, it turns out that this only happens when WDS is co-located with the ITS in the hosting cluster, and the controller code in the WDS erroneously pick a WorkStatus and not finding it matched by a policy deletes the wantSingletonStatus label, and this causes a controller fight with the status add-on controller which tries to set the label. This should be solved by excluding workstatuses from tracked resources by in the WDS by the KS controller.

@pdettori can this be reproduced? If yes, what are the steps to reproduce?

I will provide some detailed steps and an outline of the rest:
kflex init --create-kind

: elevate permissions for kubeflex controller

kubectl --context kind-kubeflex apply -f ${SCRIPT_DIR}/templates/ks-rbac.yaml

: create imbs1 of type host

kflex create imbs1 -t host
clusteradm init
kubectl label cp imbs1 kflex.kubestellar.io/cptype=imbs

: wait for OCM cluster manager up

wait-for-cmd '(($(kubectl --context imbs1 get deployments.apps -n open-cluster-management -o jsonpath='{.status.readyReplicas}' cluster-manager 2>/dev/null) >= 1))'

: create cluster1 and register it

flags="--force-internal-endpoint-lookup"
clusters=(cluster1);
for cluster in "${clusters[@]}"; do
    kind create cluster --name ${cluster}
    kubectl config rename-context kind-${cluster} ${cluster}
    clusteradm --context imbs1 get token | grep '^clusteradm join' | sed "s/<cluster_name>/${cluster}/" | awk '{print $0 " --context '${cluster}' --singleton '${flags}'"}' | sh
done

: Wait for csrs in imbs1
wait-for-cmd '(($(kubectl --context imbs1 get csr 2>/dev/null | grep -c Pending) >= 1))'

: accept csr

clusteradm --context imbs1 accept --clusters cluster1

: label cluster

kubectl --context imbs1 get managedclusters
kubectl --context imbs1 label managedcluster cluster1 location-group=edge name=cluster1

: install status add-on

helm --kube-context imbs1 upgrade --install status-addon -n open-cluster-management oci://ghcr.io/kubestellar/ocm-status-addon-chart --version v0.2.0-rc7

: create wds0 of type host

kubectl config use-context kind-kubeflex
kflex create wds0 -t host
kubectl label cp wds0 kflex.kubestellar.io/cptype=wds

then deploy kubestellar controller manager helm chart and the OCM transport controller.
At this point try to create a binding policy and an object that has status (e.g. follow example https://github.com/kubestellar/kubestellar/blob/main/docs/content/direct/examples.md#scenario-4---singleton-status ) and check what happens with the singleton label on the workstatus, as well verify that the status is not updated as expected.

The fix I found to work in my env is quite simple: just exclude "workstatuses" in excludeResourceNames and the group ""open-cluster-management.io"  in https://github.com/pdettori/kubestellar/blob/6389f8f17b948548a21efdda18c4f259ccb62604/pkg/binding/controller.go#L59-L79 . The latter is not strictly necessary, but there is no reason to watch those resources for the binding controller, and was not sure if they could create other conflicts.


Improve Ramda's #values definition.

cc @LoganBarnett
I'm working on improving R.values, which currently in flow only allows objects of the same value type.
R.values(({ a: 1, b: 'foo' }: { a: number, b: string })) // boom

Based on the functionality, we should be returning an array of values with types equal to those of the object. The trouble with $ElementType is that it requires a key to be specified, otherwise it can't type check. As far as I can tell, there's no utility type that allows us to extract dynamically the types of an object. (This probably has to do with the inherent shortcomings of trying to type a dynamic language, see the discussion of Object.values with flow here).
Returning Array<mixed> seems utterly useless, and in fact makes things worse since you can hardly do anything with a mixed type, and would be annoying to have to typecast as Array<any> every time.
AFAICT, the only reasonable solution right now is to return Array<any>, which makes me sad.
Does anyone see a better alternative?

Yeah for what I can see $Keys<T> gives you a union of all of the key names for a T. $ElementType has to work with that union. It's almost like we want a Literal type which we can constrain by $Keys<T> and then we can feed that to $PropertyType. I would hope that would Just Work because we've resolved what $PropertyType wants: A literal string. We just did it further up the chain somewhere.
Would that work here in the case of R.values? I'm not sure - I'm kind of thinking out loud here with other things we've been running into with trying to harden the types of known objects as we perform highly abstract transformations on them.
Let's pretend for a moment that we could have any utility type we wanted with our magic utility type creating wand. What would we do to express values? We could somehow convert all of the property/element types into a tuple, but order isn't guaranteed. You'd have to disambiguate every entry, however you could probably do it with a constraint. This might be where $ElementType indeed shines. I would expect the best we could do is get a union of all types that the collective properties of the object uses.
Another thing I want to throw out there: Those of us using Flow have felt the impact it's had on our approach to Javascript. For example, my team is considering dropping === in favor of == because Flow can overcome Javascript's shortcomings with == and provide much stricter typing. I certainly can say I've written many switch statements due to the way Flow corrals means of disambiguations/refinements into just looking at the value of a single property. Is embracing values further than what $ElementType can provide us going to make us fighting Flow? I don't want this to be a hand wave of desire to have this as strict as possible (and we should do what we can). Just that perhaps this is kind of treatment might just be as good as we can get it.
Of course, after I've said all of this I'm sure someone will show some way in which you can express this soundly in some ML dialect without macros :P

I like the idea about $PropertyType with a Literal type, but unfortunately it demands a string: see here.
I agree with you, a union of all types present in values would be the best we could do, and even that isn't all that useful.

I haven't checked no Typescript much.
I was thinking some kind of $Literal<T> would satisfy the second argument in $PropertyType because it would require that at some point $Literal would have to be some kind of literal string. You just didn't need to type it? It would mean Flow would have to defer resolution of the type until later. I want to say I think it can do that, but my understanding of the innerworkings of Flow is practically nonexistent.
The Flow team has a lot on their plates, but I'll make a feature request for it and link to here to give them an idea of our use case.

Well shucks.
It looks like they've recently updated the documentation. See the docs for $ElementType. Particularly they show it used with generics with an arbitrary getProp function. I know this still doesn't help with values, but perhaps we can strengthen some other of Ramda's functions now that we have a working example.

Yeah, that's what led me to working on values in the first place. :) I've already done it for prop and propOr, and I think one or two others. I was planning to go over some others probably over the weekend.


no about page in getting-started page

In the second part of basics you ask we checkout branch getting-started but it has no about page in the pages directory like I assume it should by looking at the tutorial.
I thought about submitting a pull request changing the first command to be checkout navigate pages but that branch seems to be the end of the second part...

I've added that page.


Function.createDelegate ?

Hi,
Is it possible to generate the following code besides using Script.Literal?
var fn = Function.createDelegate(this, function( p0, p1) {
doRemoval("theid");
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest( fn ) ;
I've an import library build for the PageRequestManager - just cannot get the Function.createDelegate?
I did find somewhere that DomEventHandler may cover this but cannot find that anymore.
Thanks
Donal

Try something like this (writing from memory, so might be a bit off):
Action<type1, type2> fn = (Action<type1, type2>)delegate(type1 p0, type2 p0) { DoRemoval("theid"); }

Feel free to re-open if it doesn't work.

Hi Nikhil,
Thanks for the quick response. The following is the way I got it working - posting in case someone else needs it or knows a better way.
public void TestMethod()
{
string nid = "TheId";
int outer = 234;
Action<string, string> x = (Action<string, string>) delegate( string p0, string p1 )
{
	Script.Alert( "nid = " + nid );
	int inner = outer + 2;
	Script.Alert( "inner = " + inner );
} ;

object z = Script.Literal( "Function.createDelegate( this, {0} ) ", (Action<string, string>) delegate( string p0, string p1 )
{
	Script.Alert( "nid = " + nid );
	int inner = outer + 2;
	Script.Alert( "inner = " + inner );
} );

}
testMethod: function ScriptLibrary074_Class1$testMethod()
{
var nid = 'TheId';
var outer = 234;
var x = function(p0, p1) {
alert('nid = ' + nid);
var inner = outer + 2;
alert('inner = ' + inner);
};
var z = Function.createDelegate( this, function(p0, p1) {
alert('nid = ' + nid);
var inner = outer + 2;
alert('inner = ' + inner);
} ) ;
}
Thanks
Donal

Your delegate doesn't reference any member variables. Only local variables. Hence the compiler generates a simple function, rather than a delegate which remembers the context of the current object instance.
The simple function doesn't need to pay overhead of that extra object instance, and upon invocation, applying the function using that object instance.
Try referencing a member variable, and the compiler should generate a call to createDelegate.


feat: XNAT ETL CLI

Codecov Report

Merging #314 (808cfd0) into dev (6302b10) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #314   +/-   ##
=======================================
  Coverage   78.55%   78.55%
=======================================
  Files          43       43
  Lines        2779     2779
=======================================
  Hits         2183     2183
  Misses        596      596

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 6302b10...808cfd0. Read the comment docs.


no movement and the robot does not move

After running main.py, as shown in the picture, there is no movement and the robot does not move. Is this correct?

From the screenshot I did not see any issues. Can you provide more details regarding following two points:

Is the code from line 429 to 432 in main.py file commented out? It should be commented out if you run the program through the terminal, otherwise the plot will block the thread.
Does it show any error when you launch the code?


Question about privacy

Hello,
Thank you for your work on this project!
I wanted to ask is it any way related to ungoogled chromium? I would love to use it!
Or this is a "normal" chrome with the basic google shenanigans? :)

It's just normal chromium with 7 support restored + Google Sync enabled with the right API keys afaik, so I don't think it's particularly "de-googled" in any significant fashion, not that it matters for most.

Supermium proudly does not require an extension to install extensions. All jokes aside, it's not "de-googled" in the same way that project is. It's open source, and contains no non-free components (besides codecs) to my understanding. Crash reporter is also completely offline, so that doesn't snoop on you. You'd have to voluntarily opt-in to use Google Sync to share any meaningful data with Google.
You can find some general information here: https://chromium.woolyss.com/
Supermium is quite similar.

@schm1dtxbox @docrR Thank you!!


[stable/airflow] Pass through annotations for web service

What this PR does / why we need it:
Modifies the airflow chart:

Pass through annotations for the web and flower services from the values file, to make it easier to use K8s External DNS, AWS ELBs and setup SSL certs on those ELBs. Also allow the external port for the services to be configured via the values file.

Decoupled the flower service type from the web service's type

Add commented-out existingClaim to the postgresql section of the values file, to make it more obvious that this is supported.

Which issue this PR fixes
No existing issue. Do I need one before the PR is accepted?
Special notes for your reviewer:
It's my first time contributing to this project, please let me know if I've missed anything. I'm also on the Kubernetes Slack as "Jonathan Miles".
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/test

I've split this into separate PRs (#14221 and #14222), so closing it


Add ci build settings for db

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3207   👈

This comment was auto-generated by Graphite.


"Script error." stopped getting filtered correctly

As of #1057, "Script error." errors no longer filters out, because the error type gets prefixed to the string being tested. In Chrome, this results in a testString value of ": Script error." now (the type comes in as undefined.)
Here are the relevant bits of code:
https://github.com/getsentry/raven-js/blob/70b9dd6921b74ef06c3f7bfd43fb01d09f8711e8/src/raven.js#L139-L145
https://github.com/getsentry/raven-js/blob/70b9dd6921b74ef06c3f7bfd43fb01d09f8711e8/src/raven.js#L1423-L1429

@kamilogorek I think we should only append the : if there is a valid error type, such that we never test on smoething like : <message>.


User can go multiple times before the computer

If you the user responds fast enough before the computer responds, the user can potentially have more than one turn before the user gets the have their turn

Can't believe I forgot to reply on these issues that you reported.
Let me try to clean up the project first (#8) and I think this issue should be fixed by itself.


Implement RouterFS's file system operations

After adding a mapping capability  RouerFS can use, this task is to implement RouterFS filesystem operations using the Path mapper.
Definition of done

RouteFS translates paths into their desired form
RouteFS fetches the correct file system for the translated path at runtime. (correct = configured for the relevant fromSchema)
RouterFS uses the relevant filesystem to invoke filesystem operations.
Spark users that build RouterFS locally can access lakeFS (via s3 gateway) and s3 from a spark application that does not include lakeFS-style paths.
The bullet above holds for any underlying object store supported by lakeFS, and for any combination of underlying stores.
RouterFS's code is unit-tested

First part is in #3327.


Current build fixes

There is one line in pull request #150 that breaks the build.
Steps to reproduce the bug:

make clean-protos
make php-protos

Error log:
build/toolchain/bin/grpc_php_plugin: program not found or is not executable
--grpc_out: protoc-gen-grpc: Plugin failed with status code 1.

Closed. #184 fixed this issue.


Getting blank pages

Hi guys,
After installation i'm getting black pages after clicking register and on login.php
What could cause this?

Hi @blobb3r, this is most likely due to bad permissions on cache/twig/. Could you double check what they are?
You should also ideally be able to see an error log under /var/log/php that'd help pinpoint what's wrong.

Hi,
permissions on twig folder:
/var/www/cache/twig -> drwxr-xr-x 9 www-data www-data 4096 Jan 20 14:17 twig
I do have a log file: /var/log/php8.2-fpm.log but only contents are these:
[25-Jan-2024 01:15:49] NOTICE: fpm is running, pid 810 [25-Jan-2024 01:15:49] NOTICE: ready to handle connections [25-Jan-2024 01:15:49] NOTICE: systemd monitor interval set to 10000ms [26-Jan-2024 14:00:57] NOTICE: fpm is running, pid 804 [26-Jan-2024 14:00:57] NOTICE: ready to handle connections [26-Jan-2024 14:00:57] NOTICE: systemd monitor interval set to 10000ms

/var/log/php/ is a directory that should have an error.log file.

I've been looking for that directory but dont have it.
Been lookinto my php.ini file but not sure where to enable logging in that directory.
Also been a while since I did this stuff, do I have to enable it in Nginx config? i think not?

From php-fpm.conf
error_log = /var/log/php8.2-fpm.log

Now logged in with normal user: no problems (well some cache errors..)
Logged in as admin: white screen again... If I could just see a freaking error somewhere.. error logs still empty.


use utf-8 instead of system default

@fabriziodemaria PTAL
This is NOT necessarily needed to get correct print out.

👍


Consider restoring support for Python 2.7

Would you consider restoring support for Python 2.7?
Some of us are unable to upgrade to Python 3 just yet.

Django 1.8 is the previous LTS and supported until at least April 2018.
Django 1.10 is end-of-life December 2017.
Django 1.11 is the current LTS and supported until at least April 2020.
Django 2.0 drops support for Python 2.

Django 1.11 is the last version to support Python 2.7 and there is no version of django-axes that supports both of these.

@pope1ni Agreed, this seems premature, Python 2.7 will be most likely maintained by distros for a foreseeable future as well.

Closing in favor of #264.

Thanks @jezdez.


Fix catchable-username.json

Short Description:
Fixes:
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2687

Duplicate with https://github.com/PokemonGoF/PokemonGo-Bot/pull/2719

I think #2719 is a dupe of this, not the other way around.

But #2719 already merged to dev

Which is weird, as this is a cleaner commit, and was posted earlier.

Fixed in https://github.com/PokemonGoF/PokemonGo-Bot/pull/2719


YAML based sources are not updated properly

Describe the bug
When editing configuration in sources.yaml for already monitored database, the change is never propagated into running instance.
To Reproduce
Steps to reproduce the behavior:

Create sources.yaml with wrong password for monitored database
Run PGWATCH in file based mode
Edit sources - fix password
Wait till sources and metrics are refreshed

Expected behavior
After refresh of sources and metrics the pgwatch will connect to databse with new credentials
Additional context
Adding new database to sources.yaml, or removing works properly and the database is added/removed from monitored dbs on refresh

Thanks for the report. Would you please confirm #597 fixes the bug for you?
Thanks in advance!

Hello, yes it fixes the issue, everything works like a charm.
Thank you


Logout

Endpoint: /api/auth/logout
Method: POST
Description: Logs out users by invalidating their authentication token.
Authorization Required: Yes
Security Measures:
Ensure that the request is from an authenticated session before invalidating the token.
Note: Add test cases for all scenarios

@alexboateng I will take up this issue


unknown function bootstrap, incorrect order

Hello there!
I just started out to develop with Angular2.
Currently I'm extending an existing project to implement ng2-translate and I just can't get it to work.
First of all, the method bootstrap does not exist. It doesn't get imported from any of your calls either. So.. I have no idea about it. More information on that would be appreciated,
Second - How can you use TranslateService before you import it? Thats not going to work AFAIK.
Any help to resolve this issue is very much appreciated.
import {Component, OnInit, Injectable} from 'angular2/core';
import {RouteConfig, Router, ROUTER_DIRECTIVES} from 'angular2/router';
import {FORM_PROVIDERS} from 'angular2/common';
import {HTTP_PROVIDERS} from 'angular2/http';
import {TranslateService, TranslatePipe} from 'ng2-translate/ng2-translate';

Hello,
bootstrap is the native angular2 function that you have to call to start your application. I will update the readme to add the import for that (it's: import {bootstrap} from 'angular2/platform/browser';).
And then, what do you mean by "How can you use TranslateService before you import it" ?

Ah yes I see what you mean, I updated the readme which was outdated anyway (wrong imports since beta 1).
The doc should be more clear for you now :)

Thank you for the quick reply! Yes, I looked into the introduction and looked for it to find if I missed something in the imports.
Thank you!


Yodapad

Ready to submit your project? Nice job! Hopefully you've read the submission guidelines. If not, make sure to read them first.
If you're unsure about the format, make sure to check out the Orpheuspad example and follow the format there.
If this PR isn't a submission, that's okay too! If there's anything about this PR template that seems confusing, let me know in #hackpad on the slack!

In the STEP file in the CAD folder is just a empty file.
Can you rename your kicad_pcb and kicad_sch files to have the same name as the kicad_pro file? Or else kicad is having a difficult time recognizing that the pcb and schema are part of the project. And my kicad is having trouble opening your pcb file, so I can't really review it.
This isn't very important but maybe you should add a BOM as a separate file.
The firmware lgtm.

the case lgtm, could you just move or copy it to the CAD folder?

Yeah, that was awesome! Thanks for the merge!
On Mon, Nov 4, 2024, 9:12 AM Alex Ren @.***> wrote:

@.**** approved this pull request.
nice job on this! you can get your hackpad here:
https://forms.hackclub.com/hackpad
so glad we met in-person :)
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/hackpad/pull/203#pullrequestreview-2413644506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3B4QMUKHAT5JOIBGSXCINDZ66MIRAVCNFSM6AAAAABQLLEGJ2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMJTGY2DINJQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Login-Register Opperational Complementary add-on

The "public" declarations have been removed
The statements have been added above the constructor
Bootstrap classes have not been modified
Styles are imported from the parent component
New component "create new password", router accessible from "forgot-password-component.html" / line 88
New component "account creation", router accessible from "register-confirmation.component.html" / line 2
Fixed an error related to the "span: error-message" in the confirm password
Added a validation span for the mail input during the forget password process
Creation of a new component as a request for password confirmation


Type initializer error for libgit2sharp on Linux

Here is the error:
root@3d51e1d89ad7:/opt/src/work# oss-download -e<EMAIL_ADDRESS>Error downloading GitHub package: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.

Using 0.1.249 link on Ubuntu 20.04.
This seems to be related to https://github.com/libgit2/libgit2sharp/issues/1703.

It looks like libgit2sharp isn't supported on 20.04 and there doesn't appear to be urgency to release support.  There are some possible workarounds mentioned in the linked bug and others that I can investigate.

Looks like there is a fixed version of libgit2sharp out now, but when I tried, I'm now getting:
Error downloading GitHub package: failed to mmap. Could not write data: Permission denied failed to mmap. Could not write data: Permission denied|

Removed libgit2sharp dep with #228


Missing the check the result value of ASN1_object_size() in crypto/asn1/asn1_gen.c.

It seems that ASN1_object_size() calculate the length of the parameters. It returns -1 for failure.
In method generate_v3() of crypto/asn1/asn1_gen.c, the error check of the return value is missed. If the result is  -1, the result of the following loop is not correct.
crypto/asn1/asn1_gen.c, generate_v3:184-191
	for (i = 0, etmp = asn1_tags.exp_list + asn1_tags.exp_count - 1;
         i < asn1_tags.exp_count; i++, etmp--) {
        /* Content length: number of content octets + any padding */
        len += etmp->exp_pad;
        etmp->exp_len = len;
        /* Total object length: length including new header */
        len = ASN1_object_size(0, len, etmp->exp_tag);
    }

Besides, we find the return value of this call been checked in other files.
Such as,
crypto/asn1/tasn_enc.c
  295:         sklen = ASN1_object_size(ndef, skcontlen, sktag);
  296          if (sklen == -1)
  297              return -1;
  298          /* If EXPLICIT need length of surrounding tag */
  299          if (flags & ASN1_TFLG_EXPTAG)
  300:             ret = ASN1_object_size(ndef, sklen, ttag);
  301          else
  302              ret = sklen;
  303
  304          if (!out || ret == -1)
  305              return ret;

This problem exists in :
OpenSSL_1_1_0-stable,
OpenSSL_1_1_1-pre8-7-6,
Zuxing Gu, Jiecheng Wu

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Added new network scanner module

Status
READY
Description

Added network scanner that scans current WiFi network for all hosts on network using nmap

Todos

[x] Tests - Tests have been completed
[x] Documentation - No documentation has been changed yet

Impacted Areas in Application

Added new folder - scanner with scanner.py

@DigvijayBhosale1729 network scanner for what? what's the goal?

Aim of network scanner is to scan local network for any hosts present.
Probable use case -

Finding an extra user on the network whose presence might be malicious.
Script is extra useful when there are less number of people on the local WiFi

securetea is blueteam tools, no need scan network features, i think you focus to developing our current gui and integrated all features


Go live 03/16 errata

Docs Build status updates of commit bd7826b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

documentation/blog/MS-WININTBLOGLP/84552a4e-9157-4f84-a0d6-0d19b07dee90.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/bd8bc249-4851-4e41-a28b-df419ba03df1.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image008.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image012.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image013.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image014.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/toc.yml
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/84552a4e-9157-4f84-a0d6-0d19b07dee90.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/bd8bc249-4851-4e41-a28b-df419ba03df1.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

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.


This extension does not yet support the current version of JupyterLab.

jupyterlab_vim stopped working on the latest. What can I do to help debug?
(jupyter) ➜  jupyter git:(master) ✗ jupyter-lab --version
1.0.0

(jupyter) ➜  jupyter git:(master) ✗ jupyter labextension install jupyterlab_vim

An error occured.
ValueError: This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=1.0.0 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/application
>=1.0.0 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/notebook
See the log file for details:  /var/folders/tl/nmzk32m95_37fznfpg4gbj0j_fply8/T/jupyterlab-debug-m4hjrnl5.log

From the log file
npm notice === Tarball Details ===
npm notice name:          jupyterlab_vim
npm notice version:       0.10.1
npm notice filename:      jupyterlab_vim-0.10.1.tgz
npm notice package size:  6.7 kB
npm notice unpacked size: 29.8 kB
npm notice shasum:        6b7db06ff1e75d58264b1d3094309c9c19483abe
npm notice integrity:     sha512-qmoSsRJMN+CF7[...]V2x5KHfiIK9OA==
npm notice total files:   7
npm notice
jupyterlab_vim-0.10.1.tgz

Fetching URL: https://registry.npmjs.org/jupyterlab_vim
Fetching URL: https://registry.npmjs.org/jupyterlab_vim
Traceback (most recent call last):

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
    yield

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 82, in start
    ans = self.run_task()

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 103, in run_task
    for arg in self.extra_args

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 103, in <listcomp>
    for arg in self.extra_args

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 316, in install_extension
    return handler.install_extension(extension)

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 517, in install_extension
    info = self._install_extension(extension, tempdir)

  File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 1416, in _install_extension
    raise ValueError(msg)

ValueError: This extension does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=1.0.0 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/application
>=1.0.0 <2.0.0          >=0.19.1 <0.20.0@jupyterlab/notebook

Exiting application: jupyter

Would also love to see this extension updated for Jupyter 1.0. I feel lost in my notebooks without it!

Started but didn't get very far with #88

I forked and checked whether it works regardless of the version. It did not. A real change has to be made.

FYI - I ended up pinning my version of jupyter-lab to avoid losing vim compatibility. I'm not sure what depends on jupyter-lab 1.0 thought:
jupyterlab  = "==0.35.6"  # Pin jupyter lab till vim is compatible

@idvorkin Out of curiosity, why/where do you use the syntax jupyterlab  = "==0.35.6"? I've only seen it like jupyterlab==0.35.6 in requirements.txt or environment.yml

@benlindsay  It's from a Pipfile used by pipenv. Pipenv is awesome in theory, except it's really sloooow in practice.

Hi ! I just installed jupyterlab, and I get the same error when I'm trying to add this extension. Is there any other solution than removing the pinning of the jupyterlab version ?

I can't believe how dependent on this extension I am. I'm really looking forward to this issue being resolved :).

Me too... though I'm concerned we may need to figure out how to fix it on our own, as @jwkvam has hardly been active at all on Github since the last time the plugin was updated in November of last year.  Has anybody else here worked on jupyterlab extensions before?

It seems that the API that Jupyterlab offers to javascript libraries that operate on code cells has changed considerably when going to version 1.0.0. The vim bindings in this extension is really a vim-like editor based on codemirror. The work that has to be done is to re-glue the codemirror library to the jupyter code cell. I guess it is mainly a matter of renaming interfaces and functions in the API. Easy if you have written the code, far from trivial if you see it for the first time.

I can look into fixing it on Monday (vacation until then) if no one has done it by then

It appears the CodeMirror vim keymap is now lazy loaded in JupyterLab. Previously it was always imported which this addon has relied on when setting the current cell's keymap.
By importing the keymap in the addon, we ensure it's loaded before setting the keymap of a cell thereby resolving the issue.
I've got a branch up over at https://github.com/willprice/jupyterlab-vim/tree/alpha1 which fixes this. Let me know if you have any issues.

If you have any issues, please open up the browser console and copy and paste any stacktraces.

Yay!  It seems to work fine for me (on jupyterlab 1.0.2) Thank you so much for debugging this.

@zaneselvans thanks for the confirmation it works :) it was fairly easy to debug once I'd figured out how extensions work in jupyterlab.

Hi @zaneselvans,
It works for me on jupyterlab (1.02) within docker 👌.
Thank you very much

@willprice Installation instructions worked and the result is: working vim bindings as before.
This is on Macos with a vanilla Python 3.7.3 and pip3-installed Jupyterlab.
Many thanks!

Thanks a lot @willprice!
In ~8h of  working with your patched version, i did not notice any issues.
Ubuntu 18.04,  conda env with python 3.7.1, jupyter lab 1.0.2

Also works for me ! Thanks a lot @willprice  !

Sorry all for being absent.
Thanks for the fix @willprice I'll take a look at your pull request
tonight, merge it and make a release.
I should probably find ways for others to help with maintenance as I'm not
giving this project the attention it needs.
On Mon, Jul 15, 2019, 4:14 AM remiOdite<EMAIL_ADDRESS>wrote:

Also works for me ! Thanks a lot @willprice https://github.com/willprice
!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jwkvam/jupyterlab-vim/issues/87?email_source=notifications&email_token=AAAVCIGYYOF3R5WGLXL5WVLP7RLXTA5CNFSM4H4NTRZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ5MDJQ#issuecomment-511361446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAVCIDUUU4ZVK57Y6AVAWTP7RLXTANCNFSM4H4NTRZQ
.

The new version has been pushed to npm. https://www.npmjs.com/package/jupyterlab_vim/v/0.11.0
This is identical to the PR willprice opened if you were using that. Upgrade with:
jupyter labextension install jupyterlab_vim

Hi:
I uninstalled & installed $jupyter labextension (un)install jupyterlab_vim.
How do I know I am getting from your repository rather than willprice
clone, which I downloaded & followed.
Also, how do reverse or remove $jlpm install? Do I just $rm -rf the git
clone, after I uninstall? Likely, but just wanted to make sure.
Thanks much,
S. H.
On Tue, Jul 16, 2019 at 12:43 AM Jacques Kvam<EMAIL_ADDRESS>wrote:

The new version has been pushed to npm.
https://www.npmjs.com/package/jupyterlab_vim/v/0.11.0
This is identical to the PR willprice opened if you were using that.
Upgrade with:
jupyter labextension install jupyterlab_vim
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jwkvam/jupyterlab-vim/issues/87?email_source=notifications&email_token=AARVDVVDLOC2HDW2H2DUALTP7VGWZA5CNFSM4H4NTRZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7VUAA#issuecomment-511662592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARVDVWYSZD2ME4C7TPJ3XDP7VGWZANCNFSM4H4NTRZQ
.

"jupyter labextension install" looks for packages in npm if IIUC. So it
get's it from https://www.npmjs.com/package/jupyterlab_vim
I think doing uninstall would work. You can double check that you have the
intended version with "jupyter labextension list". You should see something
like this:
JupyterLab v1.0.2
Known labextensions:
app dir: /Users/jacques/miniconda/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v1.0.1  enabled  OK
@jupyter-widgets/jupyterlab-sidecar v0.4.0  enabled  OK
jupyterlab_vim v0.11.0  enabled  OK*
nbdime-jupyterlab v0.6.0  enabled   X
On Tue, Jul 16, 2019 at 9:13 AM S H Yoon<EMAIL_ADDRESS>wrote:

Hi:
I uninstalled & installed $jupyter labextension (un)install jupyterlab_vim.
How do I know I am getting from your repository rather than willprice
clone, which I downloaded & followed.
Also, how do reverse or remove $jlpm install? Do I just $rm -rf the git
clone, after I uninstall? Likely, but just wanted to make sure.
Thanks much,
S. H.
On Tue, Jul 16, 2019 at 12:43 AM Jacques Kvam<EMAIL_ADDRESS>wrote:

The new version has been pushed to npm.
https://www.npmjs.com/package/jupyterlab_vim/v/0.11.0
This is identical to the PR willprice opened if you were using that.
Upgrade with:
jupyter labextension install jupyterlab_vim
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/jwkvam/jupyterlab-vim/issues/87?email_source=notifications&email_token=AARVDVVDLOC2HDW2H2DUALTP7VGWZA5CNFSM4H4NTRZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7VUAA#issuecomment-511662592
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AARVDVWYSZD2ME4C7TPJ3XDP7VGWZANCNFSM4H4NTRZQ
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jwkvam/jupyterlab-vim/issues/87?email_source=notifications&email_token=AAAVCIC5VYNBDXRQI6E7A33P7XXRDA5CNFSM4H4NTRZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BLV2A#issuecomment-511884008,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAVCIG7D5SZ2QGYTSAFD3DP7XXRDANCNFSM4H4NTRZQ
.

I uninstalled from the extensions tab on the jupyterlab sidebar. That worked. Then I installed from the same bar. And that got me the update by jwkvam.

It seems like the 2.0.0 version of JupyterLab, released in February 2020, brought up back this issue :
`An error occured.
ValueError: This extension does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab              Extension      Package

=2.0.0 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/application
=2.0.0 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/notebook
See the log file for details:  /tmp/jupyterlab-debug-ccrg1cie.log
`

Seems like the extension now doesn't support JupyterLab v2.

Hi all,
Currently, there no release on a major branch for a v2 support but a merge request is pending.
I managed to get the plugin to work by following the instructions here:
https://github.com/jwkvam/jupyterlab-vim/pull/115#issuecomment-605525296
I hop it will help you


Consider adding claim effect step to unit-style Election based tests

In the case of elections, we might consider extending the notion of "unit-style" test to include claiming the effect, as that is integral to the election process.
Originally posted by @matteolimberto-da in https://github.com/digital-asset/daml-finance/pull/705#discussion_r1139905096

Seems this would require adding the following parts to the election test functions:

routeProvider
settlementFactory
lifecycleClaimRule
investor holding (currently, are unit-style tests do not include holdings, they check the content of the effect directly)
finally: Claim.ClaimEffect

After discussion:

Some of these instruments are already covered by scenario tests in the Equity package (e.g. the Rights Issue scenario uses physically settled European options, including settlement).
For others, it is probably not worth making the unit style tests more verbose currently. Maybe consider this again if we move to end-to-end / scenario style tests later on.


remove select caches

This is dependent on being able to properly traverse the binary tree to identify the correct segment for a given value of k.

Have what appears to be an implementation as of b52eacc however, its performance on .collapse suggests it is not worth keeping (probably from preorderselect). Likely better ways to navigate the binary tree? The weirdest thing, during testing, saw essentially zero performance change when typing the code. As a result, my guess is getting hosed either by log2 or by pow which the binary tree ops rely on a lot especially for select. pow can be resolved by looking tables as we're only doing integers, and really shouldn't be getting too large. Could probably also do a lookup for log2 as we should only ever be calculating over a small range, and it is integer as well.
On the plus side, observed about a 20% reduction in runtime when parsing, and about a 20% reduction in space, when testing in EMP OR. But net loss due performance of critical ops.

It would be nice to remove the caches. It should be possible to calculate rank, select and excess from the rmm structure. However, this probably will be tedious to get correct.


Define the public API

In order to apply semver we need to define the public API.
It became apparent we don't with #186
What needs to be done:

update docs
say which modules are public
say that all others are considered private and not subject to semver rules

We now use exports.


Missing bucketpolicypolicydocument param for resource AWS.S3/BucketPolicyProperties found inside of param PolicyDocument

Description
Schema needs to be updated for missing parameter

I think PolicyDocument doesn't actually have anything to link to based off of the AWS data: https://github.com/radius-project/bicep-types-aws/blob/927e72c7100d1c270c8ae89b94e6db6670ba9480/artifacts/types/AWS%3A%3AS3Express%3A%3ABucketPolicy.json#L50. So in this case, we might just need to update our reference system
There are other properties that are missing however: https://github.com/radius-project/bicep-types-aws/issues/38


Changed SYMENV_REGISTRY to point to portal.platonic.io

Changed the SYMENV_REGISTRY to point to portal.platonic.io

Needed to set up signing


Updated python packages

Most of the upgrades went smoothly. Things to note:

Flask-Login changed is_authenticated() from a method to a property, is_authenticated.
webargs changed from importing Arg to importing fields. It also requires marshmallow.

@mbucknell,
Can you give this a look when you have a moment?
Thanks!

:+1:


Evaluator Review: EOS cryptography proposal milestone 3

Review, approve or deny https://github.com/eosnetworkfoundation/grant-milestones/pull/59

Closed per grant decision in https://github.com/eosnetworkfoundation/grant-milestones/pull/59.


LSM and VSR glossary suggestions

Maybe we don't want to make this glossary bigger or more verbose @sentientwaffle so we can close this if so. Otherwise was just trying to clarify for myself as I'm looking.

[x] I am very sure this PR could not affect performance.

There are a few suggestions I wanted to make to the VSR doc while I'm at it.

Squash? Then this LGTM

Done, thanks!


[lighthouse] Consistently interactive documentation

From @deepanjanroy
https://developers.google.com/web/tools/lighthouse/audits/consistently-interactive
Hi,
The second point on "Why this audit is important" on this page is not accurate. Currently it reads:
"The page strictly meets the R guideline of the RAIL performance model: everything on the page responds to user input within 100ms. See Response: respond in under 100ms."
However, while this is certainly the motivation, the definition does not actually look at if the page is directly meeting the R guideline, e.g. it does not matter how long your scroll handler takes to run. Instead, the definition checks if the page is meeting the I guideline, which says the app must yield control back to main thread every <50ms. Changing the whole sentence to the following will be better:
"The page strictly meets the I guideline of the RAIL performance model: the must yield control back to the main thread every <50ms. See Response: Idle Guidelines  ."
You can add that this ultimately helps reaching the R guideline if you want, because if the app if not hitting the I guideline, the R guideline will likely suffer, but that is an indirect effect.

@deepanjanroy this is where I got the definition:

FirstInteractive is the first moment when a website is completely and delightfully interactive - not only everything shown on the page is interactive, but the page strongly meets the R guidelines of RAIL: it always responds to user input within 100ms.

https://docs.google.com/document/d/1GGiI9-7KeY3TPqS3YT271upUVimo-XiL5mwWorDUD4c/edit#
So is that wrong, too?
Based on that definition, it sounds like the true motivation is to improve Response time. Your comment makes it sounds like, under the hood, the audit is testing Idle time, but Response time is the real goal here. In which case, that's an implementation detail, and I wouldn't change the Lighthouse documentation.
cc @paulirish @patrickhulce @brendankenny

IMO, the 50ms main thread yielding vs. R guideline is an implementation detail that will only be relevant in cases where TTCI doesn't do a great job capturing the moment the app meets the R guideline :)
I'm in favor of keeping the bulk of what's currently in "Why this audit is important" as it's the user experience side of why you need to care about this thing at all, but perhaps softening it to reflect that it's what the metric is trying to capture in spirit and citing the "how it's implemented" for details on how that's done/when it might not work out.

Hm - that excerpt is more in the motivation-ish section of that doc, and states people generally think FirstInteractive should be. The real definition that's implemented in Lighthouse comes later in the doc, and I think saying that definition requires pages to "strictly meets the R guideline" can be misleading - we really don't check (and I'm not sure we will ever check) how long each event handler on the page takes to execute. We directly check for the Idle guideline instead, and linking to that instead of the R guideline will give developers better guidance about what they should be doing to get a better score (e.g. generally trying to keep main thread tasks below 50ms)
cc @tdresser

The Idle guideline explains its relationship to the Response guideline pretty well:

To allow for <100ms response, the app must yield control back to main thread every <50ms, such that it can execute its pixel pipeline, react to user input, and so on.

I prefer pointing developers to the guideline that more closely correlates to the current metric to avoid confusion about the metric behavior. I would mention good response time as a motivation or result of abiding by the Idle guidelines.

OK, that makes sense, thanks for the insights @deepanjanroy
It'd help if you or @tdresser updated that doc that I've referenced to align with this discussion (i.e. changing that motivation section that references Response), since the Lighthouse reference doc links out to it

Good point. Updated doc.


update pg_dump version: 14.10 to 16

Thank you for filing this request! Please take a few minutes to fill out this template so that we can better understand the request.
Which image would you like to change? pg_dump  and pg_restore
What changes are you requesting? Upgrade the version 14 to 16.
What scenario are these changes enabling? cx can use azure portal CLI to create quick database dump and restore,
By how much does this change change the image size? 362 MB
https://www.postgresql.org/download/windows/
Download :
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Related command
pg_dump --version
should update the cli and other utility pg_dump version: 14.10 to current version.
Errors
Password:
pg_dump: error: server version: 15.4; pg_dump version: 14.10
pg_dump: error: aborting because of server version mismatch
chocilowski@Azure:~/clouddrive$

Hi HitenBhavsarMSFT!  Our image versions are based off that in Azure Linux.  Azure Linux 3.0 will have version 16.1-1 of PostgreSQL: https://github.com/microsoft/azurelinux/blob/3.0/SPECS/postgresql/postgresql.spec.  When this rolls out, Cloud Shell will have this version.

@mbifeld do we know the ETA, cx already ask me about the date and time.
thank you in the advance.

Good question, I would ask that in https://github.com/microsoft/azurelinux/issues for when Azure Linux 3.0 will be the default in packages.microsoft.com.

@HitenBhavsarMSFT Azure Linux 3.0 was released yesterday,  with  postresql-16.3
Package info:
elsaco@azure-vm1 [ ~ ]$ tdnf info postgresql
Loaded plugin: tdnfrepogpgcheck
Name          : postgresql
Arch          : x86_64
Epoch         : 0
Version       : 16.3
Release       : 1.azl3
Install Size  :  18.01M (18883525)
Download Size  :   6.34M (6650418)
Repo          : azurelinux-official-base
Summary       : PostgreSQL database engine
URL           : https://www.postgresql.org
License       : PostgreSQL
Description   : PostgreSQL is an object-relational database management system.

Total Size:  18.01M (18883525)


Error following the instructions

I am getting this error when I try to replicate #29173
mike@Azure:~$ az extension add --name azure-cli-iot-ext
Unable to load extension 'azure-cli-iot-ext'. Use --debug for more information.
Extension 'azure-cli-iot-ext' is already installed.
mike@Azure:~$ az iot hub device-identity create --hub-name {hub_name} --device-id myEdgeDevice --edge-enabled
Unable to load extension 'azure-cli-iot-ext'. Use --debug for more information.
az iot hub: 'device-identity' is not in the 'az iot hub' command group. See 'az iot hub --help'.
It's a duplicate of #23669.
According to https://developers.de/2018/08/13/device-identity-is-not-in-the-az-iot-hub/ it's due to the  CLI not being installed, but that's not it.

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

ID: e2289383-6ce2-a036-c710-7d1fad6e1700
Version Independent ID: 3b902941-0876-17c3-3f0b-a4b7f7770531
Content: Quickstart create an Azure IoT Edge device on Linux
Content Source: articles/iot-edge/quickstart-linux.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@Gamecock Thank you for your feedback! We will review and provide an update as appropriate.

@Gamecock Can you run az --version and share what version of the CLI you're running, and at the bottom of the output it should also tell you what version of the IoT extension you have installed.
Try updating your CLI and extension to the latest versions if they aren't already. In my personal experience, I've seen odd behavior in the CLI when I'm still running old versions.
Also, take a look at https://docs.microsoft.com/cli/azure/azure-cli-extensions-overview?view=azure-cli-latest#update-extensions which recommends uninstalling and then reinstalling any extensions that can't be resolved.

@kgremban  az extension update --name azure-cli-iot-ext resolved the issue.


Using new model Lidar with Turtlebot3

I recently received a new Lidar for my Turtlebot3. The TB3 is a couple of years old and for one reason or another its Lidar "broke". As you know, TB3 now is supplied with a newer Lidar LDS-02. When we installed the new Lidar with the software that worked otherwise we see the following.
The Lidar does spin, it does publish /scan -- but we don't see any data coming over the topic.
Could this be because some slight difference between LDS-01 and LDS-02?

Hi @pitosalas
The LDS-02 starts rotating as soon as it is powered.
Please make sure if you added the LDS version setting in your .bashrc file.
$ echo 'export LDS_MODEL=LDS-02' >> ~/.bashrc
$ source ~/.bashrc

Could you give us more details about which version of ROS you are running and how to reproduce the issue with a list of commands you entered?
Thank you.

This issue will be closed due to prolonged inactivity. Please try again with the Humble or Noetic versions, and if the issue persists, feel free to reopen it.


Design system > Elements > Input > Tooltip > The eye icon is overlapping

Describe the bug
The eye icon is overlapping.
Steps to reproduce bug
1.Go to '[https://stage.raaghu.ai/'](https://stage-react.raaghu.ai/?path=/story/elements-input--tooltip&args=size:large;inputType:password)'
2. Navigate to 'Elements > Input > tooltip '
Actual result-
The eye icon is overlapping
Screenshots

Expected result-
The eye icon should not overlap

Fixed on staging


Please Use Namespaces to Avoid Type Name Conflicts

Hello,
I would like to request that namespaces be used in the package.
You're currently not using your own namespaces, this can lead to some errors.
It is very possible that some of your scripts will have type names that conflict with those already in users' projects.
To avoid such conflicts, I suggest that namespaces be used to group related classes together and to prevent naming conflicts with external scripts. This will make it easier for users to manage their scripts and to avoid errors that may arise from duplicate type names.
This would be especially beneficial for beginners since they would most likely not be using namespaces and would maybe find it hard to solve those conflicts on their own accord.
Additionally, using namespaces will also make it easier for you developers to organize the package's code and to maintain it over time. It will make it easier to locate specific classes and to understand the relationships between different parts of the code.
I hope you consider this request and use namespaces in the project.
Thank you.

I'd love any help you can offer :)
Right now I have quite a few developers in Discord and I'd love to have you join. Making your PR won't conflict with the trello. We'd love to have you join.
https://discord.gg/jCAqXuHd
Here's a Devlog with links to tutorials if they help.
https://www.youtube.com/watch?v=athMUGbD0Ic

Namespaces are done!


Arrow functions

Aiming to resolve https://github.com/twigjs/twig.js/issues/652
I'm not (yet) quite convinced if this is the way to go; would really like to get some discussion going on how to approach this and eventually get this fixed and merged.
Implementation of arrow functions in filters:
sort
filter
map
reduce

Object manipulation is not really supported; this implementation accepts a arrowFunction (Twig syntax) which is compiled and parsed as a new (runtime) template. The return values (e.g. output) of the arrowFunction are delegated to their respective JS functions.
As previously stated: this is merely a functional (read dirty) workaround; but for most of the use cases it will do the trick.

I'm in the process of reviewing this, but I'm not sure if this approach is going to work. I think the body of the arrow function will need to be parsed as an expression. I'm trying to come up with a more general way for it to be compiled so a simple function can be called by the filters that support it.

I'm not sure this will work.
It is perfectly possible to register filters (and I assume functions and tests) that return promises:
import Twig from "twig";

import pkg from 'twig';
const {twig} = pkg;

Twig.extendFilter('asyncUpper', (value) => Promise.resolve(value.toUpperCase()));

const t = twig({
    data: '{{ "a"|asyncUpper}}'
});

t.renderAsync().then(console.log); // outputs "A"

How would the arrow function behave in this case?
{{ [4, 5]|sort((a, b) => a|asyncUpper< b ? -1 : 1)|join() }}

I think some tests need to be added to ensure that the arrow function support expression and async expressions specifically. The current tests suite provided by this PR is far from covering all the possible expressions that Twig accepts as the body of the arrow function. Moreso because Twig.js supports asynchronous expressions.

Any updates on arrow function support?

Any updates on this?

When ??


Trackpad touch events

I've been having a great time using Sokol over the past few weeks (making a sort of wavetable synth toy). I had the opportunity to "demo" my app to a few people this weekend on an Apple laptop; almost all of them immediately reached for pinch and scroll using the trackpad -- rather using than the Vim keybindings I'd set up!
sokol_app.h supports low-level touch events via SAPP_EVENTTYPE_TOUCHES_* on iOS, Android and HTML5.
I wonder if there's any appetite for implementing these event types for macOS (and I suppose Windows, Linux) targets too?

Separate from your actual question: if it's just about scrolling via the touchpad, this can be done by reacting to MOUSE_SCROLL events, like here in the Dear ImGui rendering backend:
https://github.com/floooh/sokol/blob/52898ed656d7fa5290c8b1cab13d9752c45f59af/util/sokol_imgui.h#L2087-L2090
On macOS, Linux and Windows this lets me scroll vertically and horizontally via two-finger-dragging on the touchpad.
Actual touch event support might make sense too, but IMHO the "important part" of drag-scrolling is already covered by the mouse-wheel events. Actual touch event support would be needed for high-level multi-touch gestures such as zoom and rotate though.