Visualizing Embeddings with Atlas

An example notebook that showcases how to visualize and summarize OpenAI embeddings using Atlas

@logankilpatrick Are their any changes needed to get this example notebook merged?

Bumping this @logankilpatrick . Are their any changes needed to get this example notebook merged?

If no one else gets to this, I'll commit to take a look next week. Apologies for the delays and thanks for your patience. We really do appreciate your contribution.

Thank you @ted-at-openai !

太垃圾

郭学胜到此一游

掉毛

guoxueshengCome here, a group of spicy chicken

Now that GPT-4 has launched, I now have time to get to this. Thanks for your patience over the past few weeks. :)
I tried running the example, but hit an error using the provided demo key:
2023-03-16 16:01:40.239 | INFO     | nomic.project:_create_project:932 - Creating project `futuristic-email` in organization `Atlas Demo`
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
[/var/folders/r4/x3kdvs816995fnnph2gdpwp40000gn/T/ipykernel_11410/3810895700.py](https://file+.vscode-resource.vscode-cdn.net/var/folders/r4/x3kdvs816995fnnph2gdpwp40000gn/T/ipykernel_11410/3810895700.py) in
      4
      5 data = df.to_dict('records')
----> 6 project = atlas.map_embeddings(embeddings=embeddings, data=data,
      7                                id_field='id',
      8                                colorable_fields=['Score'])

[~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/atlas.py](https://file+.vscode-resource.vscode-cdn.net/Users/ted/code/openai-cookbook/examples/~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/atlas.py) in map_embeddings(embeddings, data, id_field, name, description, is_public, colorable_fields, build_topic_model, topic_label_field, num_workers, organization_name, reset_project_if_exists, add_datums_if_exists, shard_size, projection_n_neighbors, projection_epochs, projection_spread)
     80         data = [{} for _ in range(len(embeddings))]
     81
---> 82     project = AtlasProject(
     83         name=project_name,
     84         description=description,

[~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/project.py](https://file+.vscode-resource.vscode-cdn.net/Users/ted/code/openai-cookbook/examples/~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/project.py) in __init__(self, name, description, unique_id_field, modality, organization_name, is_public, project_id, reset_project_if_exists, add_datums_if_exists)
    866                 raise ValueError("You must specify a modality when creating a new project.")
    867
--> 868             project_id = self._create_project(
    869                 project_name=name,
    870                 description=description,

[~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/project.py](https://file+.vscode-resource.vscode-cdn.net/Users/ted/code/openai-cookbook/examples/~/.virtualenvs/openai/lib/python3.9/site-packages/nomic/project.py) in _create_project(self, project_name, description, unique_id_field, modality, organization_name, is_public)
    945         )
    946         if response.status_code != 201:
--> 947             raise Exception(f"Failed to create project: {response.json()}")
    948
    949         return response.json()['project_id']

Exception: Failed to create project: {'detail': 'To many projects exist. Delete projects to create a new one.'}

Is there a way to fix this so folks don't hit an error when they run it for the first time?

Should be fixed now!

@ted-at-openai Looking forward to your review!

Awesome, it works now.

Looks great and I'm happy to merge. Can I ask for one small change before merging:

Change name to Visualizing_embeddings_with_Atlas.ipynb

The benefit of this name is that this way all of the embedding visualization examples will go together when listed alphabetically.

Renamed!

Sweet. Merging now. Thanks for your patience with us (me).


How to change default time of tkTimePicker analog clock

Hi,
Thank you for making this very useful project.  The default time (the time that it shows initially) is 12:59 AM. I want to be able to change the default time to something else.  Is that possible?
https://stackoverflow.com/questions/72007595/how-to-change-default-time-of-tktimepicker-analog-clock

Hi, there @SoftwareByMeir  I just updated the library to fill in your request now you can use the setHours(10) to set hours and setMinutes(50) to point to different numbers. (Note: you will have to uninstall the library and install the latest version for this)
Example:
from tkinter import *
from tktimepicker import AnalogPicker, AnalogThemes, constants

def pick_time():

    toplevel = Toplevel(root)

    picker = AnalogPicker(toplevel)
    picker.setHours(10)
    picker.setMinutes(45)

    picker.pack(fill="both", expand=True)
    theme = AnalogThemes(picker)
    theme.setNavyBlue()

root = Tk()

btn = Button(text="pick time", command=pick_time)
btn.pack()

root.mainloop()

@SoftwareByMeir If you face any other issues let me know in 48hrs otherwise just comment under this so I can close the issue :)

Thank you, the setHours and setMinutes work great.  Is it possible to also set the period (AM/PM)?

@SoftwareByMeir yes AnalogPicker picker takes period as a parameter which is set to AM by default you can change this to PM using AnalogPicker(parent, period=constants.PM)

Perfect, thank you very much.  I will post this as an answer on the stackoverflow question that I asked, unless you want to post the answer so that you get the rep.

@SoftwareByMeir Sure you can go ahead and post an answer. Thank you have a great day.

@SoftwareByMeir If you face any other issues let me know in 48hrs otherwise just comment under this so I can close the issue :)

Hi @PaulleDemon , not the original poster but just wanted to chip in with my own default-time-related question. Is it possible to set a default time for the SpinTimePickerOld class? Read through the docs and been trying to configure things myself for the past half-hour or so, but no luck.

@Destaq I agree the documentation is confusing and contains all the unnecessary details; I'll try to update it whenever I get time.
Now coming to your question. Currently, there isn't a direct way to set the default value. However, there is a workaround.
var = tk.IntVar(top)
var.set(8)
time_picker._12HrsTime.config(textvariable=var) # for 12 hrs timepicker
time_picker._24HrsTime.config(textvariable=var) # for 24 hrs timepicker
time_picker._minutes.config(textvariable=var) # for minutes

You will have to give different control variables (var=tk.IntVar()) for each of these to be able to control them independently.

@Destaq I agree the documentation is confusing and contains all the unnecessary details; I'll try to update it whenever I get time.
Now coming to your question. Currently, there isn't a direct way to set the default value. However, there is a workaround.
var = tk.IntVar(top)
var.set(8)
time_picker._12HrsTime.config(textvariable=var) # for 12 hrs timepicker
time_picker._24HrsTime.config(textvariable=var) # for 24 hrs timepicker
time_picker._minutes.config(textvariable=var) # for minutes

You will have to give different control variables (var=tk.IntVar()) for each of these to be able to control them independently.

Well, it sure isn't pretty, but works like a charm. Thank you for the quick response!


fix: rules icons doesn't apply

see #68
I rebase the entire tree, I had a lot of problem.... So the file edited is in src/utils.css. I also edited the gitignore during the process, to add icons folder. Finally, I had also problem with style.css so I updated these manually.
Normally, fix #68. At last, I don't have any error on my side.
Note that this fix work as well for #86
Note : I based this update on the 1.2.5 push, as the last commit broke the plugin in some way (Obsidian doesn't detect it either?)

Closed because it was fixed within the latest release.


Enabling 10bit make my screen black

When i try to enable 10 bit on my laptop display the screen stay black and only the blackligh is on. I know 10bit works because i try on i3 and kde wayland before and was active.
As you can see by the x11 logs on i3:
➜  ~ cat ~/.local/share/xorg/Xorg.0.log | grep "Depth"
[  2572.254] (++) AMDGPU(0): Depth 30, (--) framebuffer bpp 32
[  2572.329] (++) NVIDIA(G0): Depth 30, (--) framebuffer bpp 32
➜  ~ cat ~/.local/share/xorg/Xorg.0.log | grep "10 bits"
[  2572.254] (II) AMDGPU(0): Using 10 bits per RGB (8 bit DAC)
[  2572.328] (II) AMDGPU(0): 10 bits per channel
➜  ~

This is the log give by Hyprland (just side note I using and nvidia and i use your intruction in the wiki to patch wlroots):
at /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 2 | tail -n 1)/hyprland.log
[LOG] Instance Signature: d87d2dac0b1385a4ab944df293bc48877564106c_1672918046
[LOG] Hyprland PID: 23746
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: lenovo-legion5-arch
[LOG] Release: 6.1.1-zen1-1-zen
[LOG] Version: #1 ZEN SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:59 +0000

[LOG] GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1) (prog-if 00 [VGA controller])
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c5) (prog-if 00 [VGA controller])

[WARN] Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://github.com/hyprwm/Hyprland/wiki/Crashing-and-bugs

[LOG]
Current splash: "Hello everyone this is YOUR daily dose of ‘read the wiki’" - Vaxry

[LOG] Hyprland init finished.
[LOG] Creating the CHyprError!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 23.47µs. Estimated average calc time: 0.14µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 12.99µs. Estimated average calc time: 0.14µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Registered dynamic var "$term" -> alacritty
[LOG] Registered dynamic var "$INTERNAL_DISPLAY" -> eDP-2
[LOG] Registered dynamic var "$INTERNAL_DISPLAY_NVIDIA" -> eDP-1
[LOG] Registered dynamic var "$EXTERNAL_DISPLAY" -> HDMI-A-1
[LOG] Registered dynamic var "$discord" -> discord --enable-features=UseOzonePlatform --ozone-platform=wayland
[LOG] Registered dynamic var "$appswitcher" -> rofi -show window
[LOG] Registered dynamic var "$reload" -> hyprctl reload
[LOG] Registered dynamic var "$brightup" -> brightnessctl set 5%+
[LOG] Registered dynamic var "$brightdown" -> brightnessctl set 5%-
[LOG] Registered dynamic var "$play-pause" -> playerctl play-pause
[LOG] Registered dynamic var "$play-next" -> playerctl next
[LOG] Registered dynamic var "$play-previous" -> playerctl previous
[LOG] Registered dynamic var "$play-stop" -> playerctl stop
[LOG] Registered dynamic var "$volume-up" -> pactl set-sink-volume @DEFAULT_SINK@ +5%
[LOG] Registered dynamic var "$volume-down" -> pactl set-sink-volume @DEFAULT_SINK@ -5%
[LOG] Registered dynamic var "$volume-mute" -> pactl set-sink-mute @DEFAULT_SINK@ toggle
[LOG] Registered dynamic var "$mic_mute" -> pactl set-source-mute @DEFAULT_SOURCE@ toggle
[LOG] Registered dynamic var "$dmenu" -> rofi -show drun
[LOG] Registered dynamic var "$lock" -> grim -s 0.1 -g "0,0 1920x1080" /home/mrduarte/.config/sway/screenlockbg.png && swaylock -f --clock --grace-no-mouse --indicator  -i /home/mrduarte/.config/sway/screenlockbg.png -s fill
[LOG] Registered dynamic var "$exit" -> swaynag -t warning -m 'What do you want to do? (This will end your Wayland session.)' -b 'Yes, exit Hyperland' 'killall Hyprland' -b 'Hibernate' 'grim -s 0.1 -g "0,0 1920x1080" /home/mrduarte/.config/sway/screenlockbg.png && swaylock -f --clock --grace-no-mouse --indicator  -i /home/mrduarte/.config/sway/screenlockbg.png -s fill && systemctl hibernate' -b 'Hybrid Sleep' 'grim -s 0.1 -g "0,0 1920x1080" /home/mrduarte/.config/sway/screenlockbg.png && swaylock -f --clock --grace-no-mouse --indicator  -i /home/mrduarte/.config/sway/screenlockbg.png -s fill && systemctl hybrid-sleep' -b 'Poweroff' 'killall Hyprland & systemctl poweroff' -b 'Reboot' 'exit & systemctl reboot'
[LOG] Registered dynamic var "$xpen" -> otd-gui
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 13.13µs. Estimated average calc time: 0.14µs.
[LOG] Hypr socket started at /tmp/hypr/d87d2dac0b1385a4ab944df293bc48877564106c_1672918046/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 3.2 Mesa 22.3.1
[LOG] Vendor: AMD
[LOG] Renderer: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.49, 6.1.1-zen1-1-zen)
[LOG] Supported extensions size: 148
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner e75ef9e0: e75efa20 -> e589fd20 (owner: XWayland Manager)
[LOG] Registered signal for owner e75ef9e0: e75efa30 -> e589fd00 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner e6b657c0: e6b657e8 -> e589fca0 (owner: Backend)
[LOG] Registered signal for owner e75dc200: e75dc250 -> e589fc40 (owner: XDG Shell)
[LOG] Registered signal for owner e75dc2d0: e75dc2e8 -> e589fc00 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc2f8 -> e589fbe0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc308 -> e589fbc0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc318 -> e589fba0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc328 -> e589fb80 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc338 -> e589f960 (owner: WLRCursor)
[LOG] Hypr socket 2 started at /tmp/hypr/d87d2dac0b1385a4ab944df293bc48877564106c_1672918046/.socket2.sock
[LOG] Registered signal for owner e75dc2d0: e75dc348 -> e589f920 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc358 -> e589f940 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc368 -> e589f900 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc378 -> e589f8e0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc388 -> e589f8c0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc3c8 -> e589f820 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc3b8 -> e589f800 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc3d8 -> e589f7e0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc3f8 -> e589f7c0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc398 -> e589f7a0 (owner: WLRCursor)
[LOG] Registered signal for owner e75dc2d0: e75dc3a8 -> e589f780 (owner: WLRCursor)
[LOG] Registered signal for owner e6b657c0: e6b657d8 -> e589fb60 (owner: Backend)
[LOG] Registered signal for owner e6b641b0: e75e0758 -> e589fb00 (owner: Seat)
[LOG] Registered signal for owner e6b641b0: e75e0768 -> e589fae0 (owner: Seat)
[LOG] Registered signal for owner e6b641b0: e75e07a8 -> e589fa60 (owner: Seat)
[LOG] Registered signal for owner e6b641b0: e75e07b8 -> e589fa40 (owner: Seat)
[LOG] Registered signal for owner e6b641b0: e75e0768 -> e589fae0 (owner: Seat)
[LOG] Registered signal for owner e6b641b0: e75e0788 -> e589fac0 (owner: Seat)
[LOG] Registered signal for owner e75e07f0: e75e0810 -> e589fc60 (owner: LayerShell)
[LOG] Registered signal for owner e75dbfb0: e75dbfd0 -> e589fcc0 (owner: OutputLayout)
[LOG] Registered signal for owner e75e0b00: e75e0b38 -> e589faa0 (owner: OutputMgr)
[LOG] Registered signal for owner e75e0b00: e75e0b48 -> e589fa80 (owner: OutputMgr)
[LOG] Registered signal for owner e75e0be0: e75e0c10 -> e589fa20 (owner: InhibitMgr)
[LOG] Registered signal for owner e75e0be0: e75e0c20 -> e589fa00 (owner: InhibitMgr)
[LOG] Registered signal for owner e75e0e20: e75e0e38 -> e589fb20 (owner: PointerConstraints)
[LOG] Registered signal for owner e75e0960: e75e0990 -> e589f9e0 (owner: XDGDecoMgr)
[LOG] Registered signal for owner e75e1020: e75e1050 -> e589fb40 (owner: VirtPtrMgr)
[LOG] Registered signal for owner e75e0f70: e75e0fa0 -> e589f840 (owner: VKeyboardMgr)
[LOG] Registered signal for owner e6e7cfe0: e6e7cfe0 -> e589f9c0 (owner: WLRRenderer)
[LOG] Registered signal for owner e75e1540: e75e1570 -> e589f9a0 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner e75dc000: e75dc030 -> e589f8a0 (owner: PowerMgr)
[LOG] Registered signal for owner e75e19c0: e75e19f0 -> e589f880 (owner: IMEMgr)
[LOG] Registered signal for owner e75e1910: e75e1940 -> e589f860 (owner: TextInputMgr)
[LOG] Registered signal for owner e75e1a70: e75e1a98 -> e589fc20 (owner: ActivationV1)
[LOG] Registered signal for owner e6b63f20: e75e11c0 -> e589fc80 (owner: DRM)
[LOG] Registered signal for owner e6b65b40: e6b65ca0 -> e589f980 (owner: Session)
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner e76304f0: e761d110 -> e76304f8 (owner: Keyboard)
[LOG] Registered signal for owner e76304f0: e761d100 -> e7630560 (owner: Keyboard)
[LOG] Registered signal for owner e76304f0: e761cfe0 -> e7630630 (owner: Keyboard)
[LOG] Registered signal for owner e76304f0: e761d120 -> e76305c8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: e76304f0 and WLR: e761cfc8
[LOG] Attached a keyboard with name Video Bus
[LOG] Registered signal for owner e75f49f0: e7640790 -> e75f49f8 (owner: Keyboard)
[LOG] Registered signal for owner e75f49f0: e7640780 -> e75f4a60 (owner: Keyboard)
[LOG] Registered signal for owner e75f49f0: e7640660 -> e75f4b30 (owner: Keyboard)
[LOG] Registered signal for owner e75f49f0: e76407a0 -> e75f4ac8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Video Bus"
[LOG] New keyboard created, pointers Hypr: e75f49f0 and WLR: e7640648
[LOG] Attached a keyboard with name Video Bus
[LOG] Registered signal for owner e75f4730: e76ee550 -> e75f4738 (owner: Keyboard)
[LOG] Registered signal for owner e75f4730: e76ee540 -> e75f47a0 (owner: Keyboard)
[LOG] Registered signal for owner e75f4730: e76ee420 -> e75f4870 (owner: Keyboard)
[LOG] Registered signal for owner e75f4730: e76ee560 -> e75f4808 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "video-bus-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Video Bus"
[LOG] New keyboard created, pointers Hypr: e75f4730 and WLR: e76ee408
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner e75f4cb0: e772ab90 -> e75f4cb8 (owner: Keyboard)
[LOG] Registered signal for owner e75f4cb0: e772ab80 -> e75f4d20 (owner: Keyboard)
[LOG] Registered signal for owner e75f4cb0: e772aa60 -> e75f4df0 (owner: Keyboard)
[LOG] Registered signal for owner e75f4cb0: e772aba0 -> e75f4d88 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: e75f4cb0 and WLR: e772aa48
[LOG] Attached a switch device with name Lid Switch
[LOG] New switch with name "Lid Switch" added
[LOG] Registered signal for owner e767cad0: e77636a8 -> e767cad8 (owner: SwitchDevice)
[LOG] Registered signal for owner e767cad0: e77636c8 -> e767cb40 (owner: SwitchDevice)
[LOG] Attached a keyboard with name ITE Tech. Inc. ITE Device(8910) Keyboard
[LOG] Registered signal for owner e7768b20: e7763a70 -> e7768b28 (owner: Keyboard)
[LOG] Registered signal for owner e7768b20: e7763a60 -> e7768b90 (owner: Keyboard)
[LOG] Registered signal for owner e7768b20: e7763940 -> e7768c60 (owner: Keyboard)
[LOG] Registered signal for owner e7768b20: e7763a80 -> e7768bf8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "ite-tech.-inc.-ite-device(8910)-keyboard", hasconfig: 1
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: 105, options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "ITE Tech. Inc. ITE Device(8910) Keyboard"
[LOG] New keyboard created, pointers Hypr: e7768b20 and WLR: e7763928
[LOG] Attached a mouse with name ITE Tech. Inc. ITE Device(8910) Keyboard
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 0 (0)
[LOG] Applied config to mouse ite-tech.-inc.-ite-device(8910)-keyboard-1, sens 0.50
[LOG] Registered signal for owner e763b210: e7763ac0 -> e763b2d0 (owner: Mouse)
[LOG] New mouse created, pointer WLR: e7763aa8
[LOG] Attached a keyboard with name ITE Tech. Inc. ITE Device(8910) Wireless Radio Control
[LOG] Registered signal for owner e77a0460: e77a0070 -> e77a0468 (owner: Keyboard)
[LOG] Registered signal for owner e77a0460: e77a0060 -> e77a04d0 (owner: Keyboard)
[LOG] Registered signal for owner e77a0460: e779ff40 -> e77a05a0 (owner: Keyboard)
[LOG] Registered signal for owner e77a0460: e77a0080 -> e77a0538 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "ite-tech.-inc.-ite-device(8910)-wireless-radio-control", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "ITE Tech. Inc. ITE Device(8910) Wireless Radio Control"
[LOG] New keyboard created, pointers Hypr: e77a0460 and WLR: e779ff28
[LOG] Attached a keyboard with name Ideapad extra buttons
[LOG] Registered signal for owner e77dacf0: e77da900 -> e77dacf8 (owner: Keyboard)
[LOG] Registered signal for owner e77dacf0: e77da8f0 -> e77dad60 (owner: Keyboard)
[LOG] Registered signal for owner e77dacf0: e77da7d0 -> e77dae30 (owner: Keyboard)
[LOG] Registered signal for owner e77dacf0: e77da910 -> e77dadc8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "ideapad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Ideapad extra buttons"
[LOG] New keyboard created, pointers Hypr: e77dacf0 and WLR: e77da7b8
[LOG] Attached a mouse with name MSFT0001:00 04F3:31DD Touchpad
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse ite-tech.-inc.-ite-device(8910)-keyboard-1, sens 0.50
[LOG] Applied config to mouse msft0001:00-04f3:31dd-touchpad, sens 0.50
[LOG] Registered signal for owner e77a6030: e7814770 -> e77a60f0 (owner: Mouse)
[LOG] New mouse created, pointer WLR: e7814758
[LOG] Attached a mouse with name MSFT0001:00 04F3:31DD Mouse
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse ite-tech.-inc.-ite-device(8910)-keyboard-1, sens 0.50
[LOG] Applied config to mouse msft0001:00-04f3:31dd-touchpad, sens 0.50
[LOG] Applied config to mouse msft0001:00-04f3:31dd-mouse, sens 0.50
[LOG] Registered signal for owner e75ee040: e7814f10 -> e75ee100 (owner: Mouse)
[LOG] New mouse created, pointer WLR: e7814ef8
[LOG] Attached a keyboard with name AT Raw Set 2 keyboard
[LOG] Registered signal for owner e7815a50: e7815660 -> e7815a58 (owner: Keyboard)
[LOG] Registered signal for owner e7815a50: e7815650 -> e7815ac0 (owner: Keyboard)
[LOG] Registered signal for owner e7815a50: e7815530 -> e7815b90 (owner: Keyboard)
[LOG] Registered signal for owner e7815a50: e7815670 -> e7815b28 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "at-raw-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "AT Raw Set 2 keyboard"
[LOG] New keyboard created, pointers Hypr: e7815a50 and WLR: e7815518
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner e7827840: e784f520 -> e7827990 (owner: )
[LOG] Registered signal for owner e7827840: e784f5b0 -> e78279f8 (owner: )
[LOG] Registered signal for owner e7827840: e784f5a0 -> e7827a60 (owner: )
[WARN] No rule found for eDP-2, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for eDP-2
[LOG] Setting preferred mode for eDP-2
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Added new monitor with name eDP-2 at 0,0 with size 1920x1080, pointer e784f3e0
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] VRR ensured on eDP-2 -> true
[LOG] Hyprland is ready, running the event loop!
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill waybar; waybar &
[LOG] Process Created with pid 23786
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill hyprpaper
[LOG] Process Created with pid 23788
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /home/mrduarte/.config/hypr/battery-notify.sh &
[LOG] Process Created with pid 23791
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /home/mrduarte/.config/hypr/set-displays-swayidle.sh
[LOG] Process Created with pid 23793
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill kdeconnect-indicator; kdeconnect-indicator &
[LOG] Process Created with pid 23796
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill polychromatic-tray-applet; polychromatic-tray-applet &
[LOG] Process Created with pid 23798
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /usr/bin/polkit-dumb-agent &
[LOG] Process Created with pid 23803
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill swaync; swaync &
[LOG] Process Created with pid 23806
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /home/mrduarte/.config/hypr/xdg-dektop.sh
[LOG] Process Created with pid 23809
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /usr/lib/polkit-kde-authentication-agent-1
[LOG] Process Created with pid 23812
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 pkill workstyle; workstyle &> /tmp/workstyle.log
[LOG] Process Created with pid 23815
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 xrandr --output XWAYLAND0 --primary
[LOG] Process Created with pid 23818
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Video Bus"
[LOG] ApplyConfigToKeyboard for "video-bus-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Video Bus"
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "ite-tech.-inc.-ite-device(8910)-keyboard", hasconfig: 1
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: 105, options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "ITE Tech. Inc. ITE Device(8910) Keyboard"
[LOG] ApplyConfigToKeyboard for "ite-tech.-inc.-ite-device(8910)-wireless-radio-control", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "ITE Tech. Inc. ITE Device(8910) Wireless Radio Control"
[LOG] ApplyConfigToKeyboard for "ideapad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "Ideapad extra buttons"
[LOG] ApplyConfigToKeyboard for "at-raw-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout pt with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to pt and variant to  for keyboard "AT Raw Set 2 keyboard"
[LOG] Applied config to mouse ite-tech.-inc.-ite-device(8910)-keyboard-1, sens 0.50
[LOG] Applied config to mouse msft0001:00-04f3:31dd-touchpad, sens 0.50
[LOG] Applied config to mouse msft0001:00-04f3:31dd-mouse, sens 0.50
[WARN] No rule found for eDP-2, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for eDP-2
[LOG] Setting preferred mode for eDP-2
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[ERR] Error in getMonitorFromString: no such monitor
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-2
[LOG] Shaders initialized successfully.
[LOG] Hyprctl: keyword monitor : eDP-2,1920x1080@165hz,0x0,1
[LOG] Applying monitor rule for eDP-2
[LOG] Monitor eDP-2: requested<EMAIL_ADDRESS>found available mode: 1920x1080@165010mHz, applying.
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[ERR] Error in getMonitorFromString: no such monitor
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-2
[LOG] Shaders initialized successfully.
[LOG] Socket 2 accepted a new client at FD 53
[LOG] Registered signal for owner e7793a60: e7a891e8 -> e7793bb0 (owner: layerSurface)
[LOG] Registered signal for owner e7793a60: e7a954d0 -> e7793a78 (owner: layerSurface)
[LOG] Registered signal for owner e7793a60: e7a954e0 -> e7793ae0 (owner: layerSurface)
[LOG] Registered signal for owner e7793a60: e7a954f0 -> e7793b48 (owner: layerSurface)
[LOG] Registered signal for owner e7793a60: e7a95500 -> e7793c18 (owner: layerSurface)
[LOG] LayerSurface e7a95410 (namespace waybar layer 2) created on monitor eDP-2
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Registered signal for owner e7ad0df0: e7ad2ea8 -> e7ad0f40 (owner: layerSurface)
[LOG] Registered signal for owner e7ad0df0: e7ad3510 -> e7ad0e08 (owner: layerSurface)
[LOG] Registered signal for owner e7ad0df0: e7ad3520 -> e7ad0e70 (owner: layerSurface)
[LOG] Registered signal for owner e7ad0df0: e7ad3530 -> e7ad0ed8 (owner: layerSurface)
[LOG] Registered signal for owner e7ad0df0: e7ad3540 -> e7ad0fa8 (owner: layerSurface)
[LOG] LayerSurface e7ad3450 (namespace hyprpaper layer 0) created on monitor eDP-2
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] LayerSurface e7ad3450 mapped
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] LayerSurface e7a95410 mapped
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Keybind triggered, calling dispatcher (64, , 98)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox
[LOG] Process Created with pid 23958
[LOG] New TextInput added!
[LOG] Registered signal for owner e7a7f820: e7afd058 -> e7a7f830 (owner: textInput)
[LOG] Registered signal for owner e7a7f820: e7afd068 -> e7a7f900 (owner: textInput)
[LOG] Registered signal for owner e7a7f820: e7afd078 -> e7a7f898 (owner: textInput)
[LOG] Registered signal for owner e7a7f820: e7afd088 -> e7a7f968 (owner: textInput)
[LOG] New XDG Surface created. (class: firefox)
[LOG] Registered signal for owner e7b11380: e7a7f770 -> e7b113e8 (owner: XDG Window)
[LOG] Registered signal for owner e7b11380: e7a7f780 -> e7b11450 (owner: XDG Window)
[LOG] Registered signal for owner e7b11380: e7a7f740 -> e7b114b8 (owner: XDG Window)
[LOG] Registered signal for owner e7b11380: e7ab9340 -> e7b11998 (owner: Toplevel)
[LOG] Registered signal for owner e7b11380: e7ab9350 -> e7b11a00 (owner: Toplevel)
[LOG] Registered signal for owner e7b11380: e7ab9360 -> e7b11930 (owner: Toplevel)
[LOG] Searching for matching rules for firefox (title: Mozilla Firefox)
[LOG] OPENINGON: e7afcf10, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface e78810c0, with window name: Mozilla Firefox
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner e7b11380: e7881388 -> e7b11380 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac850 -> e7b11520 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7a7f760 -> e7b11658 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac7e0 -> e7b11790 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac800 -> e7b11728 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac810 -> e7b116c0 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac820 -> e7b117f8 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b11380: e7aac7f0 -> e7b115f0 (owner: XDG Window Late)
[LOG] Registered signal for owner e7a959c0: e7881398 -> e7a959c8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7a959c0: e7881388 -> e7a95a30 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7a959c0: e78813a8 -> e7a95a98 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface e7b13850
[LOG] Registered signal for owner e7631090: e7b138e8 -> e76310a8 (owner: Subsurface)
[LOG] Registered signal for owner e7631090: e7b138f8 -> e7631110 (owner: Subsurface)
[LOG] Registered signal for owner e7631090: e7b138d8 -> e7631178 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: e7b11380)
[LOG] Map request dispatched, monitor eDP-2, xywh: 0.000000 30.000000 1920.000000 1050.000000
[LOG] Subsurface e7b13850 mapped
[LOG] Registered signal for owner e7aa8f40: e7afa458 -> e7aa8f48 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7aa8f40: e7afa448 -> e7aa8fb0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7aa8f40: e7afa468 -> e7aa9018 (owner: SurfaceTreeNode)
[LOG] Creating a subsurface Node! (pWindow: e7b11380)
[LOG] Added a new subsurface e7af3b60
[LOG] Registered signal for owner e7b1c1d0: e7af3bf8 -> e7b1c1e8 (owner: Subsurface)
[LOG] Registered signal for owner e7b1c1d0: e7af3c08 -> e7b1c250 (owner: Subsurface)
[LOG] Registered signal for owner e7b1c1d0: e7af3be8 -> e7b1c2b8 (owner: Subsurface)
[LOG] Subsurface e7af3b60 mapped
[LOG] Registered signal for owner e7808460: e7b03658 -> e7808468 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7808460: e7b03648 -> e78084d0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7808460: e7b03668 -> e7808538 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface e7b19c90
[LOG] Registered signal for owner e7af4cf0: e7b19d28 -> e7af4d08 (owner: Subsurface)
[LOG] Registered signal for owner e7af4cf0: e7b19d38 -> e7af4d70 (owner: Subsurface)
[LOG] Registered signal for owner e7af4cf0: e7b19d18 -> e7af4dd8 (owner: Subsurface)
[LOG] Creating a subsurface Node! (pWindow: e7b11380)
[LOG] Subsurface e7b19c90 mapped
[LOG] Registered signal for owner e763ead0: e7ab8d18 -> e763ead8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e763ead0: e7ab8d08 -> e763eb40 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e763ead0: e7ab8d28 -> e763eba8 (owner: SurfaceTreeNode)
[LOG] Creating a subsurface Node! (pWindow: e7b11380)
[LOG] Subsurface e7b1c1d0 unmapped
[LOG] Subsurface e7af4cf0 unmapped
[LOG] Callback e763eb68 -> e763eb60, SurfaceTreeNode removed.
[LOG] Callback e763ebd0 -> e763ebc8, SurfaceTreeNode removed.
[LOG] Callback e763eb00 -> e763eaf8, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback e7af4e00 -> e7af4df8, Subsurface removed.
[LOG] Callback e7af4d30 -> e7af4d28, Subsurface removed.
[LOG] Callback e7af4d98 -> e7af4d90, Subsurface removed.
[LOG] Callback e78084f8 -> e78084f0, SurfaceTreeNode removed.
[LOG] Callback e7808560 -> e7808558, SurfaceTreeNode removed.
[LOG] Callback e7808490 -> e7808488, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Subsurface e7b1c1d0 destroyed
[LOG] Callback e7b1c2e0 -> e7b1c2d8, Subsurface removed.
[LOG] Callback e7b1c210 -> e7b1c208, Subsurface removed.
[LOG] Callback e7b1c278 -> e7b1c270, Subsurface removed.
[LOG] Searching for matching rules for firefox (title: Monitors | Hyprland Wiki — Mozilla Firefox)
[LOG] Window e7b11380 set title to Monitors | Hyprland Wiki — Mozilla Firefox
[LOG] Added a new subsurface e7ad6f70
[LOG] Registered signal for owner e7b1c1d0: e7ad7008 -> e7b1c1e8 (owner: Subsurface)
[LOG] Registered signal for owner e7b1c1d0: e7ad7018 -> e7b1c250 (owner: Subsurface)
[LOG] Registered signal for owner e7b1c1d0: e7ad6ff8 -> e7b1c2b8 (owner: Subsurface)
[LOG] Subsurface e7ad6f70 mapped
[LOG] Registered signal for owner e7808460: e7af8a78 -> e7808468 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7808460: e7af8a68 -> e78084d0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7808460: e7af8a88 -> e7808538 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface e7af82a0
[LOG] Registered signal for owner e7af4cf0: e7af8338 -> e7af4d08 (owner: Subsurface)
[LOG] Registered signal for owner e7af4cf0: e7af8348 -> e7af4d70 (owner: Subsurface)
[LOG] Registered signal for owner e7af4cf0: e7af8328 -> e7af4dd8 (owner: Subsurface)
[LOG] Creating a subsurface Node! (pWindow: e7b11380)
[LOG] Subsurface e7af82a0 mapped
[LOG] Registered signal for owner e763ead0: e7af8dd8 -> e763ead8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e763ead0: e7af8dc8 -> e763eb40 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e763ead0: e7af8de8 -> e763eba8 (owner: SurfaceTreeNode)
[LOG] Creating a subsurface Node! (pWindow: e7b11380)
[LOG] Subsurface e7b1c1d0 unmapped
[LOG] Subsurface e7af4cf0 unmapped
[LOG] Callback e763eb68 -> e763eb60, SurfaceTreeNode removed.
[LOG] Callback e763ebd0 -> e763ebc8, SurfaceTreeNode removed.
[LOG] Callback e763eb00 -> e763eaf8, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback e7af4e00 -> e7af4df8, Subsurface removed.
[LOG] Callback e7af4d30 -> e7af4d28, Subsurface removed.
[LOG] Callback e7af4d98 -> e7af4d90, Subsurface removed.
[LOG] Callback e78084f8 -> e78084f0, SurfaceTreeNode removed.
[LOG] Callback e7808560 -> e7808558, SurfaceTreeNode removed.
[LOG] Callback e7808490 -> e7808488, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Subsurface e7b1c1d0 destroyed
[LOG] Callback e7b1c2e0 -> e7b1c2d8, Subsurface removed.
[LOG] Callback e7b1c210 -> e7b1c208, Subsurface removed.
[LOG] Callback e7b1c278 -> e7b1c270, Subsurface removed.
[LOG] Searching for matching rules for firefox (title: Crashes and Bugs | Hyprland Wiki — Mozilla Firefox)
[LOG] Window e7b11380 set title to Crashes and Bugs | Hyprland Wiki — Mozilla Firefox
[LOG] Searching for matching rules for firefox (title: Monitors | Hyprland Wiki — Mozilla Firefox)
[LOG] Window e7b11380 set title to Monitors | Hyprland Wiki — Mozilla Firefox
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 alacritty
[LOG] Process Created with pid 25165
[LOG] New TextInput added!
[LOG] Registered signal for owner e7a2ff70: e7ab8f08 -> e7a2ff80 (owner: textInput)
[LOG] Registered signal for owner e7a2ff70: e7ab8f18 -> e7a30050 (owner: textInput)
[LOG] Registered signal for owner e7a2ff70: e7ab8f28 -> e7a2ffe8 (owner: textInput)
[LOG] Registered signal for owner e7a2ff70: e7ab8f38 -> e7a300b8 (owner: textInput)
[LOG] New XDG Surface created. (class: (null))
[LOG] Registered signal for owner e7b0a770: e7af6720 -> e7b0a7d8 (owner: XDG Window)
[LOG] Registered signal for owner e7b0a770: e7af6730 -> e7b0a840 (owner: XDG Window)
[LOG] Registered signal for owner e7b0a770: e7af66f0 -> e7b0a8a8 (owner: XDG Window)
[LOG] Registered signal for owner e7b0a770: e7afb400 -> e7b0ad88 (owner: Toplevel)
[LOG] Registered signal for owner e7b0a770: e7afb410 -> e7b0adf0 (owner: Toplevel)
[LOG] Registered signal for owner e7b0a770: e7afb420 -> e7b0ad20 (owner: Toplevel)
[LOG] Searching for matching rules for Alacritty (title: Alacritty)
[LOG] OPENINGON: e7afcf10, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface e7b0dcf0, with window name: Alacritty
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner e7b0a770: e7b0dfb8 -> e7b0a770 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e540 -> e7b0a910 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7af6710 -> e7b0aa48 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e4d0 -> e7b0ab80 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e4f0 -> e7b0ab18 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e500 -> e7b0aab0 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e510 -> e7b0abe8 (owner: XDG Window Late)
[LOG] Registered signal for owner e7b0a770: e7b0e4e0 -> e7b0a9e0 (owner: XDG Window Late)
[LOG] Registered signal for owner e7ab8570: e7b0dfc8 -> e7ab8578 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7ab8570: e7b0dfb8 -> e7ab85e0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e7ab8570: e7b0dfd8 -> e7ab8648 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: e7b0a770)
[LOG] Map request dispatched, monitor eDP-2, xywh: 0.000000 30.000000 959.000000 1050.000000
[LOG] Framebuffer created, status 36053
[LOG] Searching for matching rules for Alacritty (title: mrduarte@lenovo-legion5-arch:~)
[LOG] Window e7b0a770 set title to mrduarte@lenovo-legion5-arch:~
[LOG] Set keyboard focus to surface e78810c0, with window name: Monitors | Hyprland Wiki — Mozilla Firefox
[LOG] Searching for matching rules for firefox (title: Crashes and Bugs | Hyprland Wiki — Mozilla Firefox)
[LOG] Window e7b11380 set title to Crashes and Bugs | Hyprland Wiki — Mozilla Firefox
[LOG] Set keyboard focus to surface e7b0dcf0, with window name: mrduarte@lenovo-legion5-arch:~
[LOG] Searching for matching rules for Alacritty (title: hyprctl keyword monitor eDP-2,1920x1080,0x0,1)
[LOG] Window e7b0a770 set title to hyprctl keyword monitor eDP-2,1920x1080,0x0,1
[LOG] Hyprctl: keyword monitor : eDP-2,1920x1080,0x0,1
[LOG] Applying monitor rule for eDP-2
[LOG] Monitor eDP-2: requested<EMAIL_ADDRESS>found available mode: 1920x1080@60004mHz, applying.
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[ERR] Error in getMonitorFromString: no such monitor
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-2
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[LOG] Searching for matching rules for Alacritty (title: mrduarte@lenovo-legion5-arch:~)
[LOG] Window e7b0a770 set title to mrduarte@lenovo-legion5-arch:~
[LOG] Searching for matching rules for Alacritty (title: hyprctl keyword monitor eDP-2,1920x1080,0x0,1,bitdepth,10)
[LOG] Window e7b0a770 set title to hyprctl keyword monitor eDP-2,1920x1080,0x0,1,bitdepth,10
[LOG] Hyprctl: keyword monitor : eDP-2,1920x1080,0x0,1,bitdepth,10
[LOG] Searching for matching rules for Alacritty (title: mrduarte@lenovo-legion5-arch:~)
[LOG] Window e7b0a770 set title to mrduarte@lenovo-legion5-arch:~
[LOG] Applying monitor rule for eDP-2
[LOG] Monitor eDP-2: requested<EMAIL_ADDRESS>found available mode: 1920x1080@60004mHz, applying.
[LOG] 10bit format DRM_FORMAT_XRGB2101010 succeeded for output eDP-2
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[ERR] Error in getMonitorFromString: no such monitor
[LOG] LayerSurface e751d760 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface e7a7b670 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-2
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[LOG] Switching from VT 1 to VT 2
[LOG] Switched to VT 2, destroyed all render data, frames to skip for each: 2
[LOG] Callback e7768c88 -> e7768c80, Keyboard removed.
[LOG] Callback e7768b50 -> e7768b48, Keyboard removed.
[LOG] Callback e7768bb8 -> e7768bb0, Keyboard removed.
[LOG] Callback e7768c20 -> e7768c18, Keyboard removed.
[LOG] Destroyed keyboard e7768b20
[LOG] Callback e763b2f8 -> e763b2f0, Mouse removed.
[LOG] Callback e7630658 -> e7630650, Keyboard removed.
[LOG] Callback e7630520 -> e7630518, Keyboard removed.
[LOG] Callback e7630588 -> e7630580, Keyboard removed.
[LOG] Callback e76305f0 -> e76305e8, Keyboard removed.
[LOG] Destroyed keyboard e76304f0
[LOG] Callback e75f4898 -> e75f4890, Keyboard removed.
[LOG] Callback e75f4760 -> e75f4758, Keyboard removed.
[LOG] Callback e75f47c8 -> e75f47c0, Keyboard removed.
[LOG] Callback e75f4830 -> e75f4828, Keyboard removed.
[LOG] Destroyed keyboard e75f4730
[LOG] Callback e75f4e18 -> e75f4e10, Keyboard removed.
[LOG] Callback e75f4ce0 -> e75f4cd8, Keyboard removed.
[LOG] Callback e75f4d48 -> e75f4d40, Keyboard removed.
[LOG] Callback e75f4db0 -> e75f4da8, Keyboard removed.
[LOG] Destroyed keyboard e75f4cb0
[LOG] Callback e75f4b58 -> e75f4b50, Keyboard removed.
[LOG] Callback e75f4a20 -> e75f4a18, Keyboard removed.
[LOG] Callback e75f4a88 -> e75f4a80, Keyboard removed.
[LOG] Callback e75f4af0 -> e75f4ae8, Keyboard removed.
[LOG] Destroyed keyboard e75f49f0
[LOG] Callback e767cb68 -> e767cb60, SwitchDevice removed.
[LOG] Callback e767cb00 -> e767caf8, SwitchDevice removed.
[LOG] Callback e75ee128 -> e75ee120, Mouse removed.
[LOG] Callback e77a6118 -> e77a6110, Mouse removed.
[LOG] Session got activated!
[WARN] Attempted to render frame on inactive session!
[LOG] Hyprland received signal 15
[LOG] Destroying workspace ID 1
[WARN] Suppressed (ignoreevents true / shutting down) event of type destroyworkspace, content: 1
[LOG] Callback e7b11a28 -> e7b11a20, Toplevel removed.
[LOG] Callback e7b119c0 -> e7b119b8, Toplevel removed.
[LOG] Callback e7b11958 -> e7b11950, Toplevel removed.
[LOG] Callback e7b11820 -> e7b11818, XDG Window Late removed.
[LOG] Callback e7b117b8 -> e7b117b0, XDG Window Late removed.
[LOG] Callback e7b11750 -> e7b11748, XDG Window Late removed.
[LOG] Callback e7b116e8 -> e7b116e0, XDG Window Late removed.
[LOG] Callback e7b11680 -> e7b11678, XDG Window Late removed.
[LOG] Callback e7b11618 -> e7b11610, XDG Window Late removed.
[LOG] Callback e7b11548 -> e7b11540, XDG Window Late removed.
[LOG] Callback e7b114e0 -> e7b114d8, XDG Window removed.
[LOG] Callback e7b11478 -> e7b11470, XDG Window removed.
[LOG] Callback e7b11410 -> e7b11408, XDG Window removed.
[LOG] Callback e7b113a8 -> e7b113a0, XDG Window Late removed.
[LOG] Callback e7b0ae18 -> e7b0ae10, Toplevel removed.
[LOG] Callback e7b0adb0 -> e7b0ada8, Toplevel removed.
[LOG] Callback e7b0ad48 -> e7b0ad40, Toplevel removed.
[LOG] Callback e7b0ac10 -> e7b0ac08, XDG Window Late removed.
[LOG] Callback e7b0aba8 -> e7b0aba0, XDG Window Late removed.
[LOG] Callback e7b0ab40 -> e7b0ab38, XDG Window Late removed.
[LOG] Callback e7b0aad8 -> e7b0aad0, XDG Window Late removed.
[LOG] Callback e7b0aa70 -> e7b0aa68, XDG Window Late removed.
[LOG] Callback e7b0aa08 -> e7b0aa00, XDG Window Late removed.
[LOG] Callback e7b0a938 -> e7b0a930, XDG Window Late removed.
[LOG] Callback e7b0a8d0 -> e7b0a8c8, XDG Window removed.
[LOG] Callback e7b0a868 -> e7b0a860, XDG Window removed.
[LOG] Callback e7b0a800 -> e7b0a7f8, XDG Window removed.
[LOG] Callback e7b0a798 -> e7b0a790, XDG Window Late removed.
[LOG] Monitor eDP-2 -> destroyed all render data
[LOG] Executing WAYLAND_DISPLAY=wayland-1 sleep 5 && kill -9 23746
[LOG] Process Created with pid 25514
[WARN] Attempted to render frame on inactive session!
[LOG] Hyprland reached the end.
[LOG] LayerSurface e7a95410 unmapped
[WARN] Suppressed (ignoreevents true / shutting down) event of type closelayer, content: waybar
[WARN] Layersurface unmapping on invalid monitor (removed?) ignoring.
[LOG] LayerSurface e7a95410 destroyed
[WARN] Layersurface destroyed on an invalid monitor (removed?)
[LOG] Callback e7793bd8 -> e7793bd0, layerSurface removed.
[LOG] Callback e7793aa0 -> e7793a98, layerSurface removed.
[LOG] Callback e7793b08 -> e7793b00, layerSurface removed.
[LOG] Callback e7793b70 -> e7793b68, layerSurface removed.
[LOG] Callback e7793c40 -> e7793c38, layerSurface removed.
[LOG] LayerSurface e7ad3450 unmapped
[WARN] Suppressed (ignoreevents true / shutting down) event of type closelayer, content: hyprpaper
[WARN] Layersurface unmapping on invalid monitor (removed?) ignoring.
[LOG] LayerSurface e7ad3450 destroyed
[WARN] Layersurface destroyed on an invalid monitor (removed?)
[LOG] Callback e7ad0f68 -> e7ad0f60, layerSurface removed.
[LOG] Callback e7ad0e30 -> e7ad0e28, layerSurface removed.
[LOG] Callback e7ad0e98 -> e7ad0e90, layerSurface removed.
[LOG] Callback e7ad0f00 -> e7ad0ef8, layerSurface removed.
[LOG] Callback e7ad0fd0 -> e7ad0fc8, layerSurface removed.
[LOG] Subsurface e7631090 unmapped
[LOG] Callback e7aa8fd8 -> e7aa8fd0, SurfaceTreeNode removed.
[LOG] Callback e7aa9040 -> e7aa9038, SurfaceTreeNode removed.
[LOG] Callback e7aa8f70 -> e7aa8f68, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Subsurface e7631090 destroyed
[LOG] Callback e76311a0 -> e7631198, Subsurface removed.
[LOG] Callback e76310d0 -> e76310c8, Subsurface removed.
[LOG] Callback e7631138 -> e7631130, Subsurface removed.
[LOG] Subsurface Node e7a959c0 destroyed
[LOG] Callback e7a95a58 -> e7a95a50, SurfaceTreeNode removed.
[LOG] Callback e7a959f0 -> e7a959e8, SurfaceTreeNode removed.
[LOG] Callback e7a95ac0 -> e7a95ab8, SurfaceTreeNode removed.
[LOG] Subsurface Node e7ab8570 destroyed
[LOG] Callback e7ab8608 -> e7ab8600, SurfaceTreeNode removed.
[LOG] Callback e7ab85a0 -> e7ab8598, SurfaceTreeNode removed.
[LOG] Callback e7ab8670 -> e7ab8668, SurfaceTreeNode removed.
[LOG] Callback e7815bb8 -> e7815bb0, Keyboard removed.
[LOG] Callback e7815a80 -> e7815a78, Keyboard removed.
[LOG] Callback e7815ae8 -> e7815ae0, Keyboard removed.
[LOG] Callback e7815b50 -> e7815b48, Keyboard removed.
[LOG] Destroyed keyboard e7815a50
[LOG] Callback e77dae58 -> e77dae50, Keyboard removed.
[LOG] Callback e77dad20 -> e77dad18, Keyboard removed.
[LOG] Callback e77dad88 -> e77dad80, Keyboard removed.
[LOG] Callback e77dadf0 -> e77dade8, Keyboard removed.
[LOG] Destroyed keyboard e77dacf0
[LOG] Callback e77a05c8 -> e77a05c0, Keyboard removed.
[LOG] Callback e77a0490 -> e77a0488, Keyboard removed.
[LOG] Callback e77a04f8 -> e77a04f0, Keyboard removed.
[LOG] Callback e77a0560 -> e77a0558, Keyboard removed.
[LOG] Destroyed keyboard e77a0460
[LOG] Destroy called for monitor eDP-2
[LOG] Removing monitor eDP-2 from realMonitors
[LOG] Callback e7827a88 -> e7827a80,  removed.
[LOG] Callback e7827a20 -> e7827a18,  removed.
[LOG] Callback e78279b8 -> e78279b0,  removed.
[LOG] Callback e7a7f990 -> e7a7f988, textInput removed.
[LOG] Callback e7a7f928 -> e7a7f920, textInput removed.
[LOG] Callback e7a7f8c0 -> e7a7f8b8, textInput removed.
[LOG] Callback e7a7f858 -> e7a7f850, textInput removed.
[LOG] Callback e7a300e0 -> e7a300d8, textInput removed.
[LOG] Callback e7a30078 -> e7a30070, textInput removed.
[LOG] Callback e7a30010 -> e7a30008, textInput removed.
[LOG] Callback e7a2ffa8 -> e7a2ffa0, textInput removed.
➜

does it work on sway?

For what I know I put the option on the config and screen work without any problems. But swaymsg doesn't say depth and I don't know who to verify on Wayland only on x11😅?

you can use your eyeballs and a 10bit image

I test with gradient images and it working on sway and i3.

In my experience, 10-bit output didn't work with Nvidia. If your HDMI ports are wired through the Nvidia GPU,I don't think you will be able to use 10-bit color. I get the same results on my Nvidia system.
Not confident, but it's possible sway falls back to 8-bit color if 10-bit doesn't work.

I talking about the laptop display I dont have a 10bit display or television to test.

It's possible the Nvidia GPU is trying to handle rendering and failing to output 10-bit. Try launching hyprland with WLR_DRM_DEVICES=/dev/dri/card1 to isolate Rendering to only the AMD GPU.

By the way this are the flags that i use to start Hyprland some i comment out because of problemas with proton:
#!/bin/sh
#export WAYLAND_DISPLAY=wayland-0
export __GL_GSYNC_ALLOWED=1
export __GL_VRR_ALLOWED=1
export WLR_DRM_NO_ATOMIC=1
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_QPA_PLATFORM=wayland-egl
export QT_QPA_PLATFORMTHEME=qt6ct
export _JAVA_AWT_WM_NONREPARENTING=1
export WLR_NO_HARDWARE_CURSORS=1
export MOZ_ENABLE_WAYLAND=1
export XDG_SESSION_TYPE=wayland
export ENABLE_VKBASALT=1
#export WLR_BACKEND=vulkan
exec Hyprland

I think I closing the issue because of no feeadback.
If I need to use 10 bit i just change bettwhen sway and hyprland until this get fix.

For some reason in the latest version (v0.23.0beta on the time of writing) I getting 10bit to work but is kinda random sometimes work and sometimes doesn’t I kinda can live with that. At least I don’t need to use sway (sway on nvidia laptop external screens don’t work properly)

Why closing? I'm having this issue too. On 10 bits, both screenshots and OBS output black.

OBS outputs black because OBS does not support 10 bit colors.


Billboard close to the terrain

When cesium has terrain and the number of billboard entities is greater than 10,000, when using Cesium.HeightReference.RELATIVE_TO_GROUND to set the grounding position of the billboard, it takes a long time for the billboard to move to the ground and cesium keeps refreshing the position of the billboard. Is there a better suggestion for this

I believe the underlying issue here is that globe.pick(), which is used to find the terrain height at any point for each entity, needs to be optimized. There's an issue open for this here: https://github.com/CesiumGS/cesium/issues/8481


Add ensureconda 1.4.3

Changelog: https://github.com/conda-incubator/ensureconda/releases
License: https://github.com/conda-incubator/ensureconda/blob/v1.4.3/LICENSE-MIT
Requirements: https://github.com/conda-incubator/ensureconda/blob/v1.4.3/pyproject.toml
Actions:

Skip py<37
Fix python in host and run
Remove pinnings from host
Add wheel to host
Add license_family
Add description
Add dev and doc urls

Notes:

conda-lock requires it

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_60oonxfgdm/clone/recipe/meta.yaml:24: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8datpjo359/clone/recipe/meta.yaml:24: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

I'll remove abs.yaml before merging the PR

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_529a3lc8hy/clone/recipe/meta.yaml:24: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_15tfxhjw9x/clone/recipe/meta.yaml:24: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


Incorrect javascript paths

The generated static website assumes that all generated HTML files are located in the root of src/, which makes the ../assets links in the HTMLs incorrect if this assumption does not hold.

Hi, the tool should generate all source files in the src directory (apart from index.html and remarks.html). Did it generate files in some nested directory, or elsewhere?

The tool nested the files, src/main.rs's results were placed into src/src/main.rs.html. I am wondering if the library results got scattered around my filesystem now :D
Here's how the folder structure looks like:

I should add that I'm trying this on Windows, so I have a bunch of src/C:\Users\bugad\.cargo\registry paths, too, but that is somewhat of a different issue

Sorry for that, this crate is not well tested on Windows, and I already saw several similar issues. Are you using the newest version of the crate?
I'm on a vacation now, I'll take a look at it at the beginning of September.

I've just installed yesterday, so probably the latest, yes.
No worries, enjoy your vacation!

Can you please check if this branch fixes your issue?
$ cargo install --git https://github.com/Kobzol/cargo-remark --branch path-normalization

Thanks, it seems this particular issue is indeed fixed using that branch.


Set all default values explicitly

Extends the gYGNodeDefaults to set more values explicitly, instead of relying on having them set to 0. Fixes #646 .

Added via 02c00f2


Component sheet open by default

By default the component is open

if you add hidden by default, it works fine. (I don't think this is the best solution)
And other issus the component don't accept custom class in render_sheet i add this

Pretty sure I fixed both of these. #35e1849


power_in and MQTT

Is it possible to collect and publish the new power_in field with dish_grpc_mqtt.py?

dish_grpc_mqtt.py can publish the summary stats (with mode power), but it does not support publishing bulk history data.

I've added the mode power and it works. Thanks!


Custom input widget documentation

It would be useful to have some documentation to create custom input widget modules for PyWebIO.

[...] PyWebIO development documentation to allow users to create custom input widget.

Originally posted by @wang0618 in https://github.com/wang0618/PyWebIO/discussions/41#discussioncomment-528978

Sorry I may lower the priority of adding the development documentation, because I think that in most cases, the action parameter of the pywebio.input.input() function can be used to customize the input widget.


comprehensive summary at the end

I followed most of this, but got kind of lost towards the end. Theres a lot of syntax sugar I'm unfamiliar with. I like how you built up to this point with a bunch of examples, but it would be cool if you ended with some highly-annotated code that explains everything inline, so I can really understand some of the syntax and the new types.

I plan on working through the tutorials and writing blog posts about what confuses me and how to fix it. I will make pull requests if I have decent things to contribute.

@ccorcos I agree because in the Elm docs it says this:

Now again, it is very important that you read the Elm Architecture Tutorial because it describes how these building blocks work and how you can put them together into a nice modular architecture. I swear it will be faster to read through than to muddle around and try to sort it out by trial-and-error.

Now, maybe it's just me, but there are just code examples with no actual explanations as the docs seem to insinuate. The README just sends you back to where you came from and does not '[describe] how these building blocks work'.

http://guide.elm-lang.org/architecture/
If there is a link to not-that, can you point out exactly where? We can fix the link.

Also, I think OP is talking about when the walkthrough lived in this repo. It now lives in http://guide.elm-lang.org/architecture so I think it makes sense to retarget the issue to https://github.com/evancz/guide.elm-lang.org/ if it still stands.

I was talking about the 0.16 architecture. This is an old post at this point tho. No worries.


Rename JwtBearer types/APIs to OpenIdConnectBearer

Rename the namespace, package, types, properties, methods, doc comments, etc.

Flip flop we are keeping JwtBearer for now


SC Account Creation - Doesn't validate if username already exists

If I go to https://steemconnect.com/accounts/create and try to create a new account with a username that is already taken, there is no feedback to the user that the username cannot be used. It even lets me sign the transaction to create the account and doesn't give an error message after the transaction is signed to indicate it failed.

I created a separate issue (https://github.com/steemit/steemconnect/issues/351) to deal with the fact that no error message was displayed.


CronWorkflow jobs status history

Summary
I am evaluating Argo Workflow for scheduling ETL jobs for my team, and I am trying to find a way to retrieve the job status history for a certain (Cron)Workflow. Is that a way to I can inspect this metadata information?
Motivation
Why do you need to know this, any examples or use cases you could include?
It's common to retrieve and monitor the history of ETL pipelines, so that we can retrigger failed jobs.

Currently the most reliable way to do this is to set up the workflow archive. There you'll be able to see every workflow that has completed

@simster7 +1

@simster7 @alexec Thanks for the recommendations! I was not aware of this feature before, and I will try it out!


output choice for resources

set_list should use the qf list or loc list based upon user configuration

loclist is sufficient.


🐛 Reduce CheckmateDepthFactor

Reduce CheckmateDepthFactor and add test to verify it enough checkmates can be added with the current PositiveCheckmateDetectionLimit/NegativeCheckmateDetectionLimitand Min/Max evals

Regression in the last bugfix prs
Score of Lynx 4849 - main vs Lynx 4829 - main: 1631 - 1753 - 3009  [0.490] 6393
...      Lynx 4849 - main playing White: 1259 - 437 - 1501  [0.629] 3197
...      Lynx 4849 - main playing Black: 372 - 1316 - 1508  [0.352] 3196
...      White vs Black: 2575 - 809 - 3009  [0.638] 6393
Elo difference: -6.6 +/- 6.2, LOS: 1.8 %, DrawRatio: 47.1 %
SPRT: llr -2.25 (-78.0%), lbound -2.25, ubound 2.89 - H0 was accepted

Score of Lynx 4849 - main vs Lynx 4829 - main: 2394 - 2521 - 4847  [0.493] 9762
...      Lynx 4849 - main playing White: 1926 - 526 - 2428  [0.643] 4880
...      Lynx 4849 - main playing Black: 468 - 1995 - 2419  [0.344] 4882
...      White vs Black: 3921 - 994 - 4847  [0.650] 9762
Elo difference: -4.5 +/- 4.9, LOS: 3.5 %, DrawRatio: 49.7 %
SPRT: llr -2.26 (-78.3%), lbound -2.25, ubound 2.89 - H0 was accepted


fix: translator abbreviation issue

Description
The purpose of this PR is to fix the abbreviation issue with when viewing a list item.

Cause
This issue happens because in the jsonData, countries that a translator can translate is stored in 2 characters. i.e. "de" for German.
When those countries are read they are converted to full words before the page is being rendered. This conversion wasn't being done for updatedJsonData. So any provider that updated their data was seeing the 2 character country instead of the actual name.

I want to say this is the only user this is happening for. I also have a hunch it's due to them already submitting an edit but we migrated how it works in the mean time.
have you tried requesting an edit from another provider and making that change? are they unaffected too?

I haven't actually tried that. I'm assuming it'll be a bit of a faff for me to do that locally but I'll give it a go 🤞

I want to say this is the only user this is happening for. I also have a hunch it's due to them already submitting an edit but we migrated how it works in the mean time.
have you tried requesting an edit from another provider and making that change? are they unaffected too?

Looks like it happens when I try it as well 😢

Although I tested it by updating the jsonData directly by adding this to the existing data:
  "updatedJsonData": {
    "languagesProvided": ["sq","de","es"]
  }


Show total download counts in /hpm install

It was previously showing last month's count which, according to the description, is wrong.
Aside: The value of RANGE_ALL was taken from here

I'll try and i think i would merge this soon!


Error in Loading State Dict

I am running into an error when trying to reload a fine-tuned version of the models. After further-training, models were saved using the below code:
# Load model
model, alphabet = torch.hub.load("facebookresearch/esm", "esm1_t12_85M_UR50S")

# Training code

# Save model
torch.save(model.state_dict(), BEST_MODEL)

Upon trying to reload the model using the below
# Load model
model, alphabet = torch.hub.load("facebookresearch/esm", "esm1_t12_85M_UR50S")
model.load_state_dict(torch.load(BEST_MODEL))

I run into the error
RuntimeError                              Traceback (most recent call last)
<ipython-input-4-b6ed0ebd023b> in <module>
----> 1 model.load_state_dict(torch.load("esm1_t12_85M_UR50S-Best.pt"))

~/anaconda3/envs/c10_stability/lib/python3.8/site-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict)
   1049
   1050         if len(error_msgs) > 0:
-> 1051             raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
   1052                                self.__class__.__name__, "\n\t".join(error_msgs)))
   1053         return _IncompatibleKeys(missing_keys, unexpected_keys)

This is a fairly standard pytorch error that you get when trying to load the wrong state_dict into a model. Upon further inspection, it looks like all keys in saved state_dict have a "model." prefix on their names while the keys in the model itself do not (I attached a file of the full error which shows this mismatch in key names).
What do you recommend for bypassing this problem? Is there a specific GitHub repo tag that I should be trying to work off of? It looks like there might have been some change to the torch.hub models between my original training script and trying to load now. Would it be reasonable to just remove the "model." prefix in the saved state_dict?
Thank you!
StateDictLoadError.txt

Hi @brucejwittmann, this can happen if you wrap ESM inside a variable called model during fine-tuning and then save the state dict using the default pytorch tools. By default, pytorch will save the state dict based on the variable names you used.
This is a fairly common issue and you can resolve it by "upgrading" the state_dict of your models to match the current codebase. This is either done by overriding the upgrade_state_dict method of a nn.Module subclass or by my modifying the model state itself. See here for an example of how we do this in ESM: https://github.com/facebookresearch/esm/blob/master/esm/pretrained.py#L49
Let me know if these pointers aren't helpful or if there is anything else we can do to help.

Thank you for the help! We now have everything working.

@brucejwittmann   Hi may I know which task are you fine tuning on? I am trying to fine tune the model on a binary classification problem, really appreciate it if you can provide some hints of the details. Do I need to add a extra feed forward network on top of the loaded pre-trained model?

Hi @Xinxinatg, this issue was in reference to fine-tuning on protein sequence data. We were further training the ESM models on a specific family of protein sequences using masked token prediction. For this specific case, no additional layers would be needed; the "logits" layer output by the ESM model can be passed into a nn.CrossEntropyLoss loss instance (along with appropriate labels for the masked tokens).
For binary classification, you would want to use the "representations" output rather than the logits. You will need to add an additional layer (or more, depending on your objective) on top of this.

@brucejwittmann  Thanks a lot! will try to customize the output layers:)


Update README to better reflect minimum gcc version

According to #102 , a minimum of gcc-9 with the backported mtune=znver2 switch for musl-gcc is required on the system in order to run this code. It may be a good idea to include this in the README.

We removed the option with https://github.com/enarx/enarx-keepldr/pull/104 which you reviewed and approved.

@haraldh Oh, I think I read it wrong. If all gcc versions are okay now then I can close this.

I guess gcc 9 with static pie is still required

I think we probably should document that. Many people may have an older gcc.

Closed by 6922c237b87b9dd517339aa7ce81dad375743fe2


Fix module import 2

Pull Request: Fix Incorrect Module Import in layers.py
Now axlearn supports python 3.10 thus the PR Is valid now.
Summary
This pull request addresses an issue with an incorrect module import in the axlearn/common/quantized_dot_general/layers.py file. The import and usage of the Context class from the aqt_dot_general module have been corrected to use the appropriate Context class from the aqt_utils module.
Changes
1. Import Correction:
Now axlearn supports python 3.10 thus the PR Is valid now.

Changed the import from aqt.jax.v2.aqt_dot_general to aqt.jax.v2.utils and aliased it as aqt_utils.

2. Context Class Usage:

Updated the usage of the Context class to use aqt_utils.Context instead of aqt_dot_general.Context.

New Changes (14Oct)
Explained:

Removed the import of NoNumerics from aqt.jax.v2.config.
Removed the import of IntNumerics from aqt.jax.v2.int_numerics.
Added imports for int_numerics and no_numerics from aqt.jax.v2.numerics.

Testing

Verified that the changes resolve any import-related issues and the code runs successfully without any errors.

Additional Information

Contributor's email<EMAIL_ADDRESS>
Code Changes
1. Importing aqt_utils
from aqt.jax.v2 import utils as aqt_utils

2. Taken Reference from the official README of  aqt
context: aqt_dot_general.Context = aqt_dot_general.Context(key=None, train_step=None),

to
context: aqt_utils.Context = aqt_utils.Context(key=None, train_step=None),

Testing

Verified that the changes resolve the AttributeError and the code runs successfully without any issues.

my mail<EMAIL_ADDRESS>

Thanks! @vishesh9131 you'll also need to bump aqt version in https://github.com/apple/axlearn/blob/2782df73b20eb55f218f501e5df4d0fe19f72227/pyproject.toml#L43C5-L43C18. After that I can trigger the PR checks.

Hi @jiarui-lu2 ,
Yes, I've updated the aqtp version in the pyproject.toml file as well. You can go ahead and trigger the PR checks.
Thanks!

@jiarui-lu2 sorry for typo error...

@jiarui-lu2
Could you please take a look at my PR when you get a chance? Thanks!

@ruomingp
@markblee
Could you please take a look at my PR when you get a chance? Thanks!

@jiarui-lu2
pls can you help me why it is failed again...

As the CI states, looks like there are tests that requires fixing as well
FAILED: /home/circleci/project/.pytype/pyi/axlearn/common/quantized_dot_general/utils_test.pyi
/home/circleci/.pyenv/versions/3.10.15/bin/python3.10 -m pytype.single --imports_info /home/circleci/project/.pytype/imports/axlearn.common.quantized_dot_general.utils_test.imports --module-name axlearn.common.quantized_dot_general.utils_test --platform linux -V 3.10 -o /home/circleci/project/.pytype/pyi/axlearn/common/quantized_dot_general/utils_test.pyi --analyze-annotated --nofail --quick /home/circleci/project/axlearn/common/quantized_dot_general/utils_test.py
File "/home/circleci/project/axlearn/common/quantized_dot_general/utils_test.py", line 8, in <module>: Can't find module 'aqt.jax.v2.int_numerics'. [import-error]

@ruomingp
@markblee
I have revised my PR…
Could you please take a look at my PR when you get a chance? Thanks!

@jiarui-lu2
@ruomingp
@markblee
I cant figure out why the tests are failing, when I am running tests locally this is what it showing :
...
Check Yaml...............................................................Passed
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
black....................................................................Passed
isort....................................................................Passed
pylint...................................................................Passed
+ pytype -j auto .
./specific_tests.sh: line 40: pytype: command not found
+ exit_if_error 127 'pytype failed.'
+ local exit_code=127
+ shift
+ printf 'ERROR: %s\n' 'pytype failed.'
ERROR: pytype failed.
+ exit 127
(base) visheshyadav@vishmac axlearn %

@ruomingp
@markblee
I have fixed my PR again…
I am not able to debug why tests are failing,
Could you please take a look at my PR when you get a chance? Thanks!

Hi @vishesh9131, you can view your CI logs in circleci, e.g.: https://app.circleci.com/pipelines/github/apple/axlearn/2776/workflows/84ee8526-8e05-4de1-ae48-8354f607af36/jobs/5975

@ruomingp
@markblee
fixed that silly assertion ,
Could you please take a look at my PR when you get a chance? Thanks!

I've started the CI again

hey @jiarui-lu2
@markblee
@ruomingp
I wanna ask it is treating this cfg.fwd.rhs as a Tensor object .
and throwing this assertion error :

AttributeError: 'Tensor' object has no attribute 'numerics'

common/quantized_dot_general/utils_test.py
        self.assertTrue(isinstance(cfg.fwd.rhs.numerics, int_numerics.IntSymmetric))
        self.assertTrue(isinstance(cfg.dlhs.lhs.numerics, int_numerics.IntSymmetric))
        self.assertTrue(isinstance(cfg.dlhs.rhs.numerics, int_numerics.IntSymmetric))
        self.assertTrue(isinstance(cfg.drhs.lhs.numerics, no_numerics.NoNumerics))
        self.assertTrue(isinstance(cfg.drhs.rhs.numerics, no_numerics.NoNumerics))

I dont get it,
please guide me...

Dear @jiarui-lu2
@markblee
@ruomingp
Update and Fix AQT Test Suite
This pull request revision addresses and resolves issues in the AQT test suite by updating the test cases to align with the current structure and attributes of the AQT configuration classes. After a thorough review of the AQT codebase, the following changes have been implemented:
Changes Made

Updated Test Assertions:

Revised the test cases for lhs_activation_aqt_config and rhs_activation_aqt_config to correctly reflect the attributes of the DotGeneral and Tensor classes.
Ensured that the tests check for the correct types and values of attributes such as use_fwd_quant, dequant_mode, calibration_mode, and accumulator_dtype.

Improved Test Coverage:

Added assertions to verify the presence and correctness of stochastic rounding functions where applicable.
Ensured that the numerics configurations are correctly validated for both forward and backward paths.

Testing

After iterations of Failures Now All tests have been executed successfully, confirming that the updates do not introduce any regressions.
The test suite now provides comprehensive coverage of the AQT configurations, ensuring robust validation.

Cheers!

@markblee
@ruomingp
Now its passing all tests.
Favour me to pass it to CI one more time.
Thanks for understanding.

@ruomingp
@markblee
I have revised my PR…
Could you please take a look at my PR when you get a chance? Thanks!

Retriggered CI

@ruomingp
@markblee
I hope this message finds you well. The PR has successfully passed all CI checks. At your convenience, could you please review it? Your approval and merge would be greatly appreciated.

Noted @ruomingp , awaiting approval.

Dear @ruomingp,
Thank you very much for your approval. May I kindly ask if we could proceed with starting the merge process now?

@ruomingp
@markblee
May I kindly ask if we could proceed with starting the merge process now?

Yes, please merge. Thanks!

Dear @jiarui-lu2, @markblee, and @ruomingp,
I wanted to extend my heartfelt thanks for your guidance and support throughout the AQT test suite update process. Your insights and feedback were invaluable in helping me revise and align the test cases with the current structure of the AQT configuration classes. The collaboration made a huge difference, and I’m thrilled to share that we successfully merged the changes into apple/axlearn!
This experience has been incredibly fulfilling, and I’m eager to continue contributing to axlearn. Although I’m not that well-known yet, I’d love to stay connected with you all—please feel free to connect with me on LinkedIn! 😊
Linkedin : LetsConnect
Thanks again, and looking forward to more collaborations!
Cheers,
Vishesh


[FLINK-14419][table] Add ModuleFactory, ModuleDescriptor, ModuleDescriptorValidator for factory discovery service, and add implementations for CoreModule

What is the purpose of the change
Add ModuleFactory, ModuleDescriptor, ModuleValidator for factory discovery service, and add implementations for CoreModule.
Brief change log

added ModuleFactory, ModuleDescriptor, ModuleDescriptorValidator interfaces for factory discovery service
added CoreModuleFactory, CoreModuleDescriptor, CoreModuleDescriptorValidator
added UT

Verifying this change
This change added tests and can be verified as CoreModuleFactoryTest and CoreModuleDescriptorTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs / JavaDocs)

docs will be added later

@xuefuz @lirui-apache @zjuwangg

Why we have two ModuleDescriptor classes?

@lirui-apache I removed the dup one. Pls take another look


Webview_flutter App Store Connect Operation Error

Hello, I am having trouble uploading the app to the App Store. I have uploaded the same app several times before but today its showing this error:

The app references non-public selectors in Payload/Runner.app/Frameworks/webview_flutter.framework/webview_flutter: initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, targetFrame, userContentController With error code STATE_ERROR.VALIDATION_ERROR.50 for id 4e50137e-2378-492a-83f7-08cc856c7520

The thing is I have not changed anything that has to do with the webview (dependency version or implementation) since last upload. I don't know if it is something with apple or this dependency, it works perfect with Android
I am using:
webview_flutter: ^1.0.7
Flutter 1.22.5 • channel stable
Tools • Dart 2.10.4
Flutter doctor:
[✓] Flutter (Channel stable, 1.22.5, on macOS 12.1 21C52 darwin-arm, locale en-VE)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[!] Android Studio (version 4.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.63.2)
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

You will need to contact Apple, as this is definitely a bug at their end. Everything on that list is a public, documented selector.

I have the same error here:
https://github.com/swordray/JXWebViewController/issues/1
Apple forum post:
https://developer.apple.com/forums/thread/707350?page=1#715882022

I have the same error

This isn't just Flutter:
https://twitter.com/ThomasVidas/status/1533936319596007425
https://news.ycombinator.com/item?id=31648690
https://github.com/ionic-team/capacitor/issues/5661
https://github.com/facebook/react-native/issues/31507#issuecomment-1147885603 and later comments
We will report this to Apple, but likely they are already aware and working on a fix.

after update to webview_flutter 3.0.4 and uploaded. than i got email:
ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview: estimatedProgress, initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, userContentController, websiteDataStore. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
in testFlight i have Invalid Binary Status
what is the solution?

me too

same here

i used an older version of xcode 13.2.1 and was able to submit to the app store successfully

Hi,
Message from Apple: "The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble."
Thanks.


blacklist numexpr 2.4.4

Under some circumstances, numexpr 2.4.4 can lead to flaky output (see #12023 and links therein).  This happened again once on SO in the last few days, and it's a suspect in another case.
[UPDATE: the suspect was convicted of the second crime as well!]
We should just refuse to work with 2.4.4, rather than leave the impression pandas is unstable, and require a later version as soon as we can.  There are apparently still enough people out there with up-to-date pandas and out-of-date numexpr that a warning could probably help someone. Accordingly, after some discussion on gitter, it sounds like we should
(1) add a warning to the docs
(2) centralize the version check (right now both computation/eval and computation/expressions check the numexpr version)
(3) only allow numexpr if >= 2.1 and not == 2.4.4; otherwise, set _USE_NUMEXPR to False
(4) in the warning we raise, recommend upgrading from 2.4.4 because we can't easily prevent other dependencies from using it
(5) add a test to make sure that the presence of 2.4.4 disables _USE_NUMEXPR (say, by adding it to the requirements-3.4_SLOW).

what is the recommended fix for this?  roll back to 2.4.3 OR forward to 2.4.6 or 5???

either will work
newer fixes some threading issues so easiest to do that

How do we remove this warning: "/opt/anaconda/lib/python2.7/site-packages/pandas/computation/init.py:19: UserWarning: The installed version of numexpr 2.4.4 is not supported in pandas and will be not be used
UserWarning)"

@vgoklani you can upgrade numexpr, conda upgrade numexpr if you're using conda.

@TomAugspurger  Thanks!


Add possibility for showing ETA

Thanks for Niklas04's contributing.
But the structure of code has a lot change, it's hard to merge.
Could you add show ETA function based on now master branch?
Thanks.

Yes, of course.
Try to make it today or tomorrow and create a new pull request.


Update Nunjucks to 2.1.0

Nunjucks 2.1.0 was released a few weeks ago. I ran the tests and they all pass. Using this in a project and things seem to check out ok.

Thank you!


Implement array interoperability across numpy, dask and cupy

Description
closes #269
Changes to code to generalise array processing beyond Numpy to include cupy and dask. This will allow better use of Pyrealm within HPC workflows. Extends code without breaking current functionality.
Key tasks:

create custom type hint based on supported and available array creation libraries
update function and class type hints to use new custom type hint
test

Fixes #269
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[ ] Make sure you've run the pre-commit checks: $ pre-commit run -a
[ ] All tests pass: $ poetry run pytest

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Codecov Report
Attention: Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.

Project coverage is 95.10%. Comparing base (2072e0b) to head (3686a3f).
Report is 34 commits behind head on develop.

Files
Patch %
Lines

pyrealm/typing.py
71.42%
4 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #272      +/-   ##
===========================================
- Coverage    95.24%   95.10%   -0.15%
===========================================
  Files           28       29       +1
  Lines         1703     1735      +32
===========================================
+ Hits          1622     1650      +28
- Misses          81       85       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


when useing "QLPreviewController" with SideMenu...

it can't touch right part to shutdown SideMenu.
当使用QLPreviewController放在我的Controller里时，拉出SideMenu，不能点击右侧遮罩处关闭SideMenu。因为能直接操作QLPreviewController。

Hi @pangpingfei,
It sounds like you are running into problems with using gestures to dismiss SideMenu because your presenting screen (a QLPreviewController) has gestures as well.
There are many possible screens that can support gestures that may conflict with SideMenu. I cannot account for every possibility in SideMenu. It is up to developers to figure out the right experience and code for it when this happens, so that SideMenu or the main screen recognize gestures as the developer expects.
To solve this yourself, try:

Not displaying SideMenu when the QLPreviewController is shown.
Subclassing UISideMenuNavigationController to get gestures to work correctly with your screen.
Subclassing QLPreviewController to get gestures to work correctly with your screen.

Hope this helps.

@jonkykong Got it, Thanks!


没有GetSheetDimension这个方法

文档上有这个方法,使用的时候没有找到GetSheetDimension这个方法

Thanks for your issue. The documentation tracks the master branch code. Please reference issue #1463, and PR #1467. This function will be released in the next version, please upgrade to the master branch code. I closed this issue, if you have any questions, please let me know to reopen this anytime.


re

regex insensitive not working. Find the issue and do the need full help.

This repo is deprecated and has been moved into the main PouchDB repo. If this issue persists in the latest version of PouchDB, please file there: http://github.com/pouchdb/pouchdb/


react-native init throws an error:  Cannot find module './clone.js'

Environment
No output.
But I got this in old RN project:
Environment:
  OS: macOS High Sierra 10.13.3
  Node: 8.11.1
  Yarn: 0.24.5
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 9.3.1 Build version 9E501
  Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
  react: NO RELEVANT
  react-native: NO RELEVANT

Description
react-native init <PROJECT_NAME> failed with this error:
Error: Cannot find module './clone.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/<PATH_TO_PROJECT>/node_modules/graceful-fs/graceful-fs.js:4:13)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

Reproducible Demo
Simply try to create new project:
react-native init <PROJECT_NAME>

I am having the same problem!
OS: Win 10
Node: 10.13.0
npm: 6.4.1

Smell to me like the problem is in graceful-fs and the fix is here:
https://github.com/isaacs/node-graceful-fs/commit/a1587eae7c5dcf74ccf6556ac7d6f704ea794804
Same old issues, our environment is soo flaky and can be broken so easily :(

It's working now.

This is what helped me:
npm cache clean -f
npm -g install npm

Mmm, I'm pretty sure that the fix here isaacs/node-graceful-fs@a1587ea is what helped you. Your cache is fine this time :)

I did not change package.json

Sure, it's one of react-native dependencies that just published a fix (this is the fix commit isaacs/node-graceful-fs@a1587ea).


update to latest connect version

Hey there, thanks for the node-sass-example app, help me to get things going!
I'm not a pro in things connect, but I think the example is breaking with the latest version?
Here is how I got it working
var connect = require('connect');
var sassMiddleware = require('node-sass-middleware');
var srcPath = './sass';
var destPath = './public/styles';
var createStatic = require('connect-static');
var http = require('http');
var port = process.env.PORT || 8000;
var app = connect();
app.use('/styles', sassMiddleware({
  src: srcPath,
  dest: destPath,
  debug: true,
  outputStyle: 'expanded'
}));

createStatic({
  dir: './public',
  aliases: [
    ['/', '/index.html'],
  ]
}, function( error, middleware) {
  if (error) {
    throw error;
  }
  app.use('/', middleware);

  http.createServer(app).listen(port);
  console.log('Server listening on port ' + port);
  console.log('srcPath is ' + srcPath);
  console.log('destPath is ' + destPath);
});

Thanks @gr2m, do you fancy sending that as a pull request and I'll merge it in.

@andrew sure thing


Introduced a registry for LB policies.

In preparation for the new round robin lb policy.

Green-ish


fix fiona warning about wrong extension

remove the
iaso_1     | WARNING  2021-06-23 11:44:18,870 fiona._env -- The filename extension should be 'gpkg' instead of '' to conform to the GPKG specification.
iaso_1     | WARNING  2021-06-23 11:44:18,930 fiona._env -- File /tmp/b2569e28-d628-434e-a1d4-89006d854ec2 has GPKG application_id, but non conformant file extension
``` errors


Compiling it using XCode 11 Swift 4

I am having issue when trying to compile it as Swift 4. Is there a plan to update? Or maybe you have a ready to run program?

Actually, never mind the program runs either way, I need to use: ./ColladaMorphAdjuster


can lombok support RowMapper of jdbcTemplate

generate a RowMapper to support jdbcTemplate use @RowMapper or alike ,when i change my model property,i don't need to modify RowMapper

+1

+1

This feature request seems to be very Spring-specific. Can you point out where such a feature makes sense without using Spring? Could you provide a general example (including a proposed lombok annotation/syntax and the lombok-generated code)?

It could be more general if, instead of returning directly a Rowmapper instance, the method generated by lombok returns the object itself built from a ResultSet:
for example:
`
@ResultSetBuilder
public class Person {
private String name;
private String cell;
...
}
generates method:
public Person fromResultSet(ResultSet rs) {
Person p = new Person();
p.setName(rs.getString("name");
p.setCell(rs.getString("cell");
return p;
}
having this method, I could use it in a Rowmapper for Spring or another framework.
builder generation could be customized by some simple field annotations, like @Column(name="first_name"), and so on
`

I suggest using a mapping framework for this. See also #2181


Capture vaccine on vaccination record, use it to remove hard-coded logic in the UI

@benilovj I don't quite understand why vaccine has to be a separate association on VaccinationRecord. The only place I could see where it mattered was the final commit where the vaccine is set on the draft vaccination_record, and the batch is selected from there, but that seems like a pretty drastic change just to get that one benefit.
Is it really necessary? If it is, might be worth adding as a comment to the first commit.

@benilovj I don't quite understand why vaccine has to be a separate association on VaccinationRecord. The only place I could see where it mattered was the final commit where the vaccine is set on the draft vaccination_record, and the batch is selected from there, but that seems like a pretty drastic change just to get that one benefit.
Is it really necessary? If it is, might be worth adding as a comment to the first commit.

Prior to this change, there's lots of implicit domain logic (e.g. relating to delivery sites and delivery methods) that's hard-coded into views and helpers. Lots of those assumptions break as soon as we introduce anything other than HPV, which we're currently doing as part of the importer work. For me, the key part of this PR is the change to the Vaccine class and being able to articulate the domain logic where it belongs.
Take, for instance, the changes to AppVaccinateFormComponent. That form implicitly assumes that the user is recording an injection (since the defaults are left arm and right arm), and at that point in its lifecycle, the VaccinationRecord hasn't even been persisted yet.
This PR just makes that assumption explicit by pre-determining the vaccine (that the UI already assumes anyway). That makes it possible to defer at least some of the logic to the Vaccine class. I get that the UI might be different in different cases, but grouping logic this way will make it much easier to do sensible validations (e.g. catch invalid records like nasal flu administered into the buttocks). There's also a bugfix here, whereby you can only pick a batch for the vaccine that you're recording, not just all batches for all the vaccines in the campaign.


Added linked_list.cpp that implements singly linked list.

Added Linked List Implementation in C++ #94

A pull request has already been issued. Duplicate of #108


error_chain macro does not support doc strings

This makes using #![deny(missing_docs)] impossible at the crate level.
error: no rules expected the token `;`
  --> src/error.rs:12:1
   |
12 | / error_chain! {
13 | |     foreign_links {
14 | |         /// Foo bar baz
15 | |         ChronoParse(chrono::ParseError);
...  |
48 | |     }
49 | | }
   | |_^
   |
   = note: this error originates in a macro outside of the current crate

Duplicate of #63.


can not set GO111MODULE

What version of Go are you using (go version)?

$ go version
1.15.6

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
go env -w GO111MODULE=off
warning: go env -w GO111MODULE=... does not override conflicting OS environment variable

What did you expect to see?
What did you see instead?

please fill out the full issue template


ceph-volume: disable dmcrypt by default

regression by dcdb1710cbaf7946cf8161b4395697d4898680d3

jenkins test centos-container-all_daemons

jenkins test  centos-container-lvm_osds

jenkins test centos-container-lvm_osds


Add a default value for top-level option

Without this, importing the module but never using it breaks the flake.

See ongoing discussion here: https://github.com/Platonic-Systems/process-compose-flake/pull/4#discussion_r1162105777
Closing due to lack of consensus; but lib.mkDefault can be used to handle this case: https://github.com/nammayatri/common/commit/bf6a0b22a40ba9fe0487b250897c32e2ee360a8a