How to programmatically focus a touchable opacity component in tvOS ?

Hi, I've been trying to implement a screen on tvOS that has a lot of touchable opacity elements(say movie cards, list elements, etc) and I want to programmatically focus a particular element when some action is performed, say to programmatically select a particular touchable opacity element on back navigation.
I tried to implement hasTVPreferredFocus = {true}, but this property only focuses on the nearest focusable view from the top left corner of the screen, despite the item it was set to.
Any help would be appreciated.

You could try getting the ref of the TouchableOpacity you're trying to focus and then in-act touchableRef.current.focus() or alternatively touchableRef.current.touchableHandleFocus()

Hi @RicardasN, I tried the suggestions you gave me. Both touchableRef.current.focus() and touchableRef.current.touchableHandleFocus() falied to work, touchableRef.current.touchableHandleFocus() gave an error : [TypeError: undefined is not an object (evaluating '_this.settingRefs[element].current.touchableHandleFocus')] .
When I try touchableRef.touchableHandleFocus() instead, It does call the touchableRef's onFocus() method.But when I press the touchableRef, the onPress() function doesn't get called. When I try to press/swipe (Left, Right, Up, or Bottom). It unexpectedly focuses on some other view (say, if I press up, it focuses on the lowermost touchable opacity) , without calling the onBlur() function of the previously focused touchableRef() and giving me two focused views (I change the border color of a focused view). However, if I tap on ok, I can get its onPress() call of the second focused element. Hope you understood what I tried to tell here.
Kindly help me out with a solution!

error : [TypeError: undefined is not an object (evaluating '_this.settingRefs[element].current.touchableHandleFocus')]

It appears that you references are either not set at the moment you try to use it's inner methods or incorrect in later case if you're still getting focus on incorrect item. I would try to make sure the ref exists by trying to console.log it. If it does not then probably playing around with callbacks to await until they are set is your best bet. If ref is set however, but only does not get registered for a millisecond you can try this syntax touchableRef?.current?.focus?.(). In some cases of our project we use touchableRef.current.setNativeProps({ hasTVPreferredFocus: true }), but in those cases the ref is defined (and is not in a list of refs), because this is called in a listener after menu closes, not on page load.

Hi @RicardasN, I made sure the ref exists by trying to console.log it and it does give me the item. However, trying to console.log(touchableRef.current) tells it as an undefined object.
I tried both of the syntaxes: touchableRef?.current?.focus?.() and touchableRef.current.setNativeProps({ hasTVPreferredFocus: true }). None of them could help me solve the issue.
I want to programmatically select a touchable opacity and make it focused so that I can interact with that object.
Can you suggest me another alternative ?

Hi @RicardasN, I made sure the ref exists by trying to console.log it and it does give me the item. However, trying to console.log(touchableRef.current) tells it as an undefined object.

How are you setting your refs?
<TouchableOpacity ref={touchableRef} />
If not then obviously current is undefined. However if you're doing
<TouchableOpacity ref={e=> this.touchableRef = e} />
current object does not exist and you can try calling touchableRef?.focus?.() or alternatively touchableRef?.setNativeProps?.({ hasTVPreferredFocus: true })

I'm using
<TouchableOpacity ref={e=> this.touchableRef = e} />
but calling touchableRef?.focus?.() doesn't help.
Already told: touchableRef?.setNativeProps?.({ hasTVPreferredFocus: true }) sets focus only to the nearest focusable opacity from the top-left corner of the screen irrespective of the touchableRefElement it was called for. So I cannot programmatically select and focus a particular view

Hi @RicardasN, I'm now understood your point. I can get touchableRef.current and can call touchableRef.current.touchableHandleFocus(). I can see the touchableRef being focused. However, Nothing happens when I press the element. Even its onPress() does not get called.
Any ideas on how I can resolve this?

Any ideas on how I can resolve this?

Sorry, but no clue on this one, never experienced this issue myself

hasTVPreferredFocus is the way to do that properly. You can even set it programatically by accessing native props:
<TouchableOpacity ref={myRef} />

myRef.current.setNativeProps({ hasTVPreferredFocus: true });

Also be aware that there is weird 1 sec delay for tvOS setting hasTVPrefferedFocus. You can use this solution as a reference to fix it https://github.com/react-native-community/react-native-tvos/pull/2. I assuming you're not using react-native-tvos so I just would recommend you to override RCTTVView.m you can do that easily with Renative.

Try using a timeout of 10-50ms before focusing, it may help

<TouchableOpacity
  ref={ref}
  hasTVPreferredFocus={focused}
  onFocus={onFocus}
  onBlur={onBlur}
  style={[styles.container]}
>
  <View style={[styles.animatedContainer]}>
    <Text style={styles.value}>{data}</Text>
  </View>
</TouchableOpacity>

Facing the issue like after navigation to sidebar and closing it am navigating  to (n - 1) row first element.
const onCloseSideBar = useCallback(() => {
// console.log(activeNode,"activeNode")
// activeRow?.touchableHandleFocus?.();
// activeRow?.focus?.();
// alert("closed")
openSidebar(false);
console.log("On Close Sidebar!")
}, [activeNode]);
tried with the focus also not working.
https://github.com/flexn-io/renative/assets/74459204/ee89bd97-eb76-4679-a320-85fe737a44ca


Fixed cross project references

This fixes cross project references from working with recent Roslyn changes. This also fixes this: https://github.com/Microsoft/visualfsharp/issues/5244

test Ubuntu16.04 Release_default Build please

test Ubuntu16.04 Release_default Build please

@Pilchie needs m2 approval to merge.

Approved - thanks @TIHan and @KevinRansom


Upgrade to Chrome 47

Debug build compiles on:

[x] OS X
[x] Linux
[x] Windows

Release build compiles on:

[x] OS X
[x] Linux
[x] Windows

Tests passing on:

[x] OS X
[x] Linux
[x] Windows

Merge:

[x] https://github.com/atom/libchromiumcontent/pull/163
[x] https://github.com/atom/brightray/pull/182

Is there any possible ETA for this? Even if it's very very rough... :)

Will you also be updating atom/node to V8 4.7? It's not clear whether it'll be in a Node.js release before v6.0.0 next April.

@lipis Generally once the Electron PR is up (i.e. this one you're looking at!) you can build it yourself to test

for production we prefer the release versions.. so that's why I'm asking.. don't want to rush anything :) just curious if it's days, weeks, months :)

oki. that was fast.. :) thanks @zcbenz

User Agent still reports Chrome 45, which is Odd

Also, according to https://chromestatus.com/features, this code should be valid
f = new DOMException();

But throws in master

@paulcbetts they don't support naked https https://www.chromestatus.com/features


Implements stale and lock GitHub apps

This pull request adds configurations for stale and lock GitHub apps.
The PixiJS team is very small and has limited resources to address the backlog of issues. The goal of using these bot apps is to focus the team on the most relevant issues.
Essentially this does a few things:

Issues older than 3 months with no activity for 2 weeks are automatically closed
Issues or pull requests that are not touched in over a year are automatically locked

I really wish you'd given us all a little notice before doing this. It literally filled my inbox with hundreds and hundreds of messages today and they're still coming! (currently at 570 deleted) 😅
I guess all 895 watchers got the same too, although if you swap to the Releases Only watch list you'd be safe I hope? If anything it convinced me not to do the same for any of my repos!😀

Together with another spammer that Github couldn't filter today, i had to deleted more than a thousand of notification emails. Good time had. And good move for Pixi 👍


does not turn on after loading the code

I uploaded 3 binaries based on the instructions into my nodeMCU, but after reboot, the AP does not appear.

Im having the same problem.  I used the command you had in the instructions and after everything was done I never see an AP to connect to, not even a hidden network.

Did you check logs, was there something suspicious, aren't there any critical failures causing constat reboots? Can you share logs maybe? What power source are you using?

Hi, Can we install it in nodemcu esp8266 version 1.0 using same steps for esp32? Are any changes required while installing?

Did you check logs and was there something suspicious, aren't there any critical failures causing constat reboots? Can you share logs maybe? What power source are you using?

I tried it on my nodeMCU ESP8266. There is no new WiFi network named management AP. I can't find any new network on my mobile, PC wiFi. The bin files are properly uploaded on the SoC. Power supply is given by normal USB port of my PC. I cant find anything on serial monitor of arduino. I have attached a screenshot for your reference of powershell window through which I uploaded the bin files. I didn't build your repo, instead I uploaded the bin files using esptool python package. Please tell me if you need more details.

Same problem. I guess it about NVS
Here is the full log:

ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7152
load:0x40078000,len:14292
ho 0 tail 12 room 4
load:0x40080400,len:3688
entry 0x40080678
I (29) boot: ESP-IDF 4.3.0 2nd stage bootloader
I (29) boot: compile time 13:21:10
I (29) boot: chip revision: 1
I (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed      : 40MHz
I (43) boot.esp32: SPI Mode       : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (76) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00100000
I (91) boot: End of partition table
I (95) boot_comm: chip revision: 1, min. application chip revision: 0
I (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1a9b0h (108976) map
I (152) esp_image: segment 1: paddr=0002a9d8 vaddr=3ffb0000 size=05050h ( 20560) load
I (161) esp_image: segment 2: paddr=0002fa30 vaddr=40080000 size=005e8h (  1512) load
I (162) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=7c39ch (508828) map
I (360) esp_image: segment 4: paddr=000ac3c4 vaddr=400805e8 size=14688h ( 83592) load
I (396) esp_image: segment 5: paddr=000c0a54 vaddr=50000000 size=00010h (    16) load
I (408) boot: Loaded app from partition at offset 0x10000
I (408) boot: Disabling RNG early entropy source...
I (420) cpu_start: Pro cpu up.
I (420) cpu_start: Starting app cpu, entry point is 0x400811f0
I (406) cpu_start: App cpu up.
I (434) cpu_start: Pro cpu start user code
I (435) cpu_start: cpu freq: 160000000
I (435) cpu_start: Application information:
I (439) cpu_start: Project name:     HACKWF
I (444) cpu_start: App version:      1
I (448) cpu_start: Compile time:     Apr 21 2022 13:20:43
I (454) cpu_start: ELF file SHA256:  c8e4e100e6bc8e32...
I (460) cpu_start: ESP-IDF:          4.3.0
I (465) heap_init: Initializing. RAM available for dynamic allocation:
I (472) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (478) heap_init: At 3FFB9048 len 00026FB8 (155 KiB): DRAM
I (485) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (491) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (497) heap_init: At 40094C70 len 0000B390 (44 KiB): IRAM
I (505) spi_flash: detected chip: gd
I (508) spi_flash: flash io: dio
I (513) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
D (523) main: app_main started
D (523) wifi_controller: Starting AP...
I (533) wifi_init: rx ba win: 6
I (533) wifi_init: tcpip mbox: 32
I (533) wifi_init: udp mbox: 6
I (543) wifi_init: tcp mbox: 6
I (543) wifi_init: tcp tx win: 5744
I (553) wifi_init: tcp rx win: 5744
I (553) wifi_init: tcp mss: 1440
I (553) wifi_init: WiFi IRAM OP enabled
I (563) wifi_init: WiFi RX IRAM OP enabled
ESP_ERROR_CHECK failed: esp_err_t 0x1101 (ESP_ERR_NVS_NOT_INITIALIZED) at 0x40086980
file: "src/wifi_controller/wifi_controller.c" line 39
func: wifi_init_apsta
expression: esp_wifi_init(&wifi_init_config)

abort() was called at PC 0x40086983 on core 0

Backtrace:0x400878d7:0x3ffbba70 0x400880a9:0x3ffbba90 0x4008ee9e:0x3ffbbab0 0x40086983:0x3ffbbb20 0x400d4b36:0x3ffbbb40 0x400d4bdb:0x3ffbbc20 0x400d4c82:0x3ffbbc40 0x400d449e:0x3ffbbcf0 0x4014c0b9:0x3ffbbd10 0x4008b561:0x3ffbbd30

ELF file SHA256: c8e4e100e6bc8e32

Rebooting...

`#include "nvs_flash.h" // just add this line
/**

@brief Initializes Wi-Fi interface into APSTA mode and starts it.

@attention This function should be called only once.
*/
static void wifi_init_apsta(){
ESP_ERROR_CHECK(nvs_flash_init()); // and this line

`

Im having the same issue.How can i take logs like yours ?

Same problem. I guess it about NVS
Here is the full log:

ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7152
load:0x40078000,len:14292
ho 0 tail 12 room 4
load:0x40080400,len:3688
entry 0x40080678
I (29) boot: ESP-IDF 4.3.0 2nd stage bootloader
I (29) boot: compile time 13:21:10
I (29) boot: chip revision: 1
I (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed      : 40MHz
I (43) boot.esp32: SPI Mode       : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (61) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (76) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00100000
I (91) boot: End of partition table
I (95) boot_comm: chip revision: 1, min. application chip revision: 0
I (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1a9b0h (108976) map
I (152) esp_image: segment 1: paddr=0002a9d8 vaddr=3ffb0000 size=05050h ( 20560) load
I (161) esp_image: segment 2: paddr=0002fa30 vaddr=40080000 size=005e8h (  1512) load
I (162) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=7c39ch (508828) map
I (360) esp_image: segment 4: paddr=000ac3c4 vaddr=400805e8 size=14688h ( 83592) load
I (396) esp_image: segment 5: paddr=000c0a54 vaddr=50000000 size=00010h (    16) load
I (408) boot: Loaded app from partition at offset 0x10000
I (408) boot: Disabling RNG early entropy source...
I (420) cpu_start: Pro cpu up.
I (420) cpu_start: Starting app cpu, entry point is 0x400811f0
I (406) cpu_start: App cpu up.
I (434) cpu_start: Pro cpu start user code
I (435) cpu_start: cpu freq: 160000000
I (435) cpu_start: Application information:
I (439) cpu_start: Project name:     HACKWF
I (444) cpu_start: App version:      1
I (448) cpu_start: Compile time:     Apr 21 2022 13:20:43
I (454) cpu_start: ELF file SHA256:  c8e4e100e6bc8e32...
I (460) cpu_start: ESP-IDF:          4.3.0
I (465) heap_init: Initializing. RAM available for dynamic allocation:
I (472) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (478) heap_init: At 3FFB9048 len 00026FB8 (155 KiB): DRAM
I (485) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (491) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (497) heap_init: At 40094C70 len 0000B390 (44 KiB): IRAM
I (505) spi_flash: detected chip: gd
I (508) spi_flash: flash io: dio
I (513) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
D (523) main: app_main started
D (523) wifi_controller: Starting AP...
I (533) wifi_init: rx ba win: 6
I (533) wifi_init: tcpip mbox: 32
I (533) wifi_init: udp mbox: 6
I (543) wifi_init: tcp mbox: 6
I (543) wifi_init: tcp tx win: 5744
I (553) wifi_init: tcp rx win: 5744
I (553) wifi_init: tcp mss: 1440
I (553) wifi_init: WiFi IRAM OP enabled
I (563) wifi_init: WiFi RX IRAM OP enabled
ESP_ERROR_CHECK failed: esp_err_t 0x1101 (ESP_ERR_NVS_NOT_INITIALIZED) at 0x40086980
file: "src/wifi_controller/wifi_controller.c" line 39
func: wifi_init_apsta
expression: esp_wifi_init(&wifi_init_config)

abort() was called at PC 0x40086983 on core 0

Backtrace:0x400878d7:0x3ffbba70 0x400880a9:0x3ffbba90 0x4008ee9e:0x3ffbbab0 0x40086983:0x3ffbbb20 0x400d4b36:0x3ffbbb40 0x400d4bdb:0x3ffbbc20 0x400d4c82:0x3ffbbc40 0x400d449e:0x3ffbbcf0 0x4014c0b9:0x3ffbbd10 0x4008b561:0x3ffbbd30

ELF file SHA256: c8e4e100e6bc8e32

Rebooting...

Im having the same issue.How can i take logs like yours ?

../components/wifi_controller/wifi_controller.c:13:10: fatal error: nvs_flash.h: No such file or directory
#include "nvs_flash.h"

NVS is disabled in sdkconfig file https://github.com/risinek/esp32-wifi-penetration-tool/blob/1874eca01d98eb6466de00077aa417d980878d75/sdkconfig.defaults

i had tgat same issue after uploading i pressed the boot and en buttons on esp32 and restart your laptop wifi it should show then

Hello every one
Great job with the app however i am having problems with it.
i have just clone the repo, followed the video from youtube (   ) and all when fine with out any errors, but when trying to connect to the AP, there isn't any... the AP is not found.
Also i have tryed to set sdkconfig.defaults file from "CONFIG_ESP32_WIFI_NVS_ENABLED=n" to "y" and uploaded it again and still nothing.
just in case i uploaded the blinking sample from arduino IDE and my nodeMCU 8266 works perfectly.
can any one give me a hint on how to fix this ?
regards to all
NP

This is ESP32 project, not 8266. How did you even managed to flash this project to 8266?

Sorry my bad. I mennt esp32.
I mixed up the text about node mcu in another forum

without any logs I cannot help. Can you provide logs after flashing and program logs from runtime?


Explorer.Series.pow integer support

Adds support for Integers on Series.pow()
The version in this PR supports only positive integers.
This pull request, when completed, closes #105.

Currently working on adding support for negative integers.

Marked as ready for review since I don't think It'll be necessary to add support do negative integers, since not even Elixir's Integer.pow/2 supports them.
You can use Explorer.Series.pow with a negative floating point number, as expected.

Yeah, the issue with supporting negative integers is that they return floats, so you have an api signature that may return integer or floats and that can be confusing. So if you have negative integers, you need to cast them to floats before.

@cigrainger It's my pleasure to help! I'm learning a lot in these contributions, it is being an amazing experience :')
I updated s_pow but I'm not an avid Rust programmer, so I don't know if I did so in the best implementation possible.

Okay, one last request and then I think it's ready to merge -- could you please add an example with a float series and float exponent? Also, what happens if you have a float series and int exponent?

Okay, one last request and then I think it's ready to merge -- could you please add an example with a float series and float exponent? Also, what happens if you have a float series and int exponent?

I added the docs. Before these recent commits if you tried to run code with a float series and a int exponent it would break, but now I fixed this case.


My folder creation Tunde Babatunde - Introduction

Good job @cedarworth, please remember to use a table for your social media handles and your blog

Well noted sir.
Thanks alot
On Thu, Oct 19, 2023, 9:27 AM Olumide Micheal @.***>
wrote:

Good job @cedarworth https://github.com/cedarworth, please remember to
use a table for your social media handles and your blog
—
Reply to this email directly, view it on GitHub
https://github.com/wagtail/outreachy/pull/116#issuecomment-1770314069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2O5FDF47GTVGDY6TS3UFLLYADP5NAVCNFSM6AAAAAA6F4NNQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGMYTIMBWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature Request

Hello, thank you very much for the wonderful plugin. I have one wish that would make the tool even more valuable to me: Would it be possible that when quoting biblical passages, you could omit comments that are between: %% ... %%.
Here is an example from Ezekiel 29:18-19:
v18
"Son of man, Nebuchadnezzar king of Babylon has made his army work hard against Tyre, so that everyone's heads are bald and everyone's shoulders✲ are rubbed raw, but no reward has come to him or to his army of Tyre for the work he has done against the city✲."
%% "Son [[H1121]] of man, [[H120]] Nebuchadnezzar [[H5019]], king [[H4428]] of Babylon [[H894]], sent his army [[H2428]] with all his might [[H5647]] against [[H413]] Tyre. [[H6865]] Each [[H3605]] Head [[H7218]] was bald [[H7139]] and every [[H3605]] Shoulder [[H3802]] was made raw. [[H4803]] But he and his army [[H2428]] had [[H1961]] no [[H3808]] pay [[H7939]] from Tyre [[H6865]] for [[H5921]] the labor [[H5656]] they had spent [[H5647]] on it. [[H5921]]
#Ezekiel/Son of man #Geography_Israel/City/Tyrus %%
v19
Therefore this is what the LORD God has said: "I will now give the land of Egypt to Nebuchadnezzar king of Babylon, so that he may take its wealth and plunder and plunder it, and this will be his army's reward.
%% Therefore [[H3651]] this is what [[H3541]] the Lord [[H136]] GOD [[H3069]] says: [[H559]] "I will [[H5414]] the land of [[H776]] Egypt [[H4714]] to Nebuchadnezzar [[H5019]], king [[H4428]] of Babylon, [[H894]] who will steal its wealth [[H5375]], [[H1995]] seize its plunder [[H7997]], [[H7998]] and [[H962]] take away its spoil. [[H957]] This will be [[H1961]] the reward [[H7939]] for his army. [[H2426]] %%
__
It would be very helpful if the %% ... %% comments from me could be omitted.

Hi, thank you for the suggestion. I think that this should be fairly easy to implement and may be useful for more people (maybe if I allow them to set their own comment sequence), so I may look into it over Christmas.

Hello, I have added support for comments (see the plugin's settings). You should now be able to update the plugin to version 1.4.8 and use it.
As for your second suggestion - you should be able to accomplish that with the Each verse prefix setting.


corrected a spelling in the docs

Corrected the spelling of a word in the open source contribution guide.

Thanks!


Add scratch/copy assembly mechanism for GLS Navier Stokes Solver

This PR Introduces the scratch/copy data mechanism to assemble equations in Lethe instead of using a traditional assembly approach. Right now only the GLS Navier-Stokes assembly is done this way, but the transition for the rest will be easy.

I don't think this is fully ready for a merge.
@jeannejoachim  Would you be able to test 1-2 free surface cases to see if this does not make things go bonkers? I did not with the unit test, but it's not that sensitive of  a test.
I'll finish documentation and I'll use this opportunity to clean the solvers.


peer dependencies of symbolically linked libraries are not resolved correctly

Bug Report
Assume you are working on a project called myproj.
Assume you are also working on a dependency called mylib.
Assume mylib has a peer dependency of react.
When you use npm link mylib or yarn link mylib in myproj, tsc looks for the peer dependencies (in this case react) in mylib/node_modules instead of myproj/node_modules.
This is a problem in the case of react, because you cannot have multiple instances of react running at the same time, but could be a problem for other libraries as well.
Peer dependencies from mylib are supposed to come for the myproj/node_modules directory, not mylib/node_modules. that's what makes them a "peer".
Workaround
You can use create-react-app, and the webpack compiler resolves the peer dependencies correctly.
🔎 Search Terms
peer dependency link
🕗 Version & Regression Information
TypeScript version: v4.1.3
I have not tried this on any other versions
⏯ Playground Link
Due to the nature of the bug, I can't use the playground, but I made a reproduction repo. It will need to be run on a unix system in order for the symbolic links to be respected though:
https://github.com/zwhitchcox/repro
💻 Code
// module1/run.ts
import { x } from 'module2'
x()

// module2/index.ts
import { y } from 'module3'
export const x = () => {
  console.log('running from module 2')
  y()
}

// module2/package.json
{
  "name": "module2",
  "version": "1.0.0",
  "main": "index.js",
  "peerDependencies": {
    "module3": "^0.0.0"
  }
}

// node_modules/module3/index.ts
export const y = () => console.log("hello from module3")

🙁 Actual behavior
So, for my workflow, I am using tsc for testing, and I'm using npm link or yarn link for one of my peer dependencies.
tsc follows the sym link to the linked dependency, but when it tries to find the peer dependency, it looks in the linked node_modules directory, not the directory of the project that the linked module is included in.
So, it gives an error of "module not found".
🙂 Expected behavior
When tsc is following the path for required/imported modules of symbolically linked libraries (via npm link or yarn link, it should look for the peer dependency in the node_modules directory of the original module that required the symbolically linked dependency, not in the symbolically linked dependency's node_modules' directory.
The whole point of peer dependencies is that the original module includes the dependency of the dependency, not the dependency itself.

Just as a note, for a workaround in the example case, what I would do is create a symbolic link from mylib/node_modules/react to myproj/node_modules/react, and that works fine.

Just as a note, for a workaround in the example case, what I would do is create a symbolic link from mylib/node_modules/react to myproj/node_modules/react, and that works fine.

What's the behavior with tsc ? We don't control ts-node

What's the behavior with tsc ? We don't control ts-node

Oh, my mistake, yes this is the behavior with tsc...I started to create this issue on the ts-node repo, but then I realized that they don't have control over that behavior, it's the behavior of typescript in general, in particular tsc.
I will edit the initial issue post

Oh, my mistake, yes this is the behavior with tsc...I started to create this issue on the ts-node repo, but then I realized that they don't have control over that behavior, it's the behavior of typescript in general, in particular tsc.
I will edit the initial issue post

@zwhitchcox can you please clarify the repro..
which project do you run tsc on?
Do i need to follow any other steps to repro apart from cloning the repro you have attached?

@sheetalkamat
Ok, you can reproduce this issue by downloading the repo:
https://github.com/zwhitchcox/repro
Then, changing to the module1 directory, and attempting to run tsc. It will say module3 is not found.
cd module1
tsc

Error:
../module2/index.ts:1:19 - error TS2307: Cannot find module 'module3' or its corresponding type declarations.

1 import { y } from 'module3'

This is resolved by using the pnp webpack plugin, assuming your using webpack. It might be nice to add this as an option just for plain tsc though.
I believe the webpack plugin uses [ts-pnp[(https://www.npmjs.com/package/ts-pnp) under the hood.
You can read more about the pnp module resolution method here, but that is just one way of doing it. tsc could implement its own method.

Also, it's worth noting that tsc is using the Node resolution method, but that doesn't take into account peer dependencies.

we need the repro steps and clear issue with tsc.. we wouldnt be able provide support for webpack plugin as yet..
Did you try using --traceResolution to see whats going on. You are suppose to provide path mappings to make module resolution work to tsc.
I am not sure what the expectation from tsc is here.

we wouldnt be able provide support for webpack plugin as yet.

That's not what I was saying. I was just using that as an example of how it should work.
But I think ultimately you're right that this is not a tsc issue, because tsc is not a module bundler.
Ok, well thanks for listening anyway.

Why is this closed?  This is definitely a tsc issue, since it needs to compile against peerDependencies (completely aside from the issues of bundling.  @zwhitchcox
If it's not a tsc issue, how should one manage this:
Yarn mono repo with "yarn install" run from the root
myModule (lists React as peerDependency)
myBuildTarget ( lists React as an ordinary dependency; references myModule in its "references" section and also as a dependency in package.json)
I should be able to run myBuildTarget/tsc -b and get a valid compile.
What am I missing that makes this "not a tsc issue"?

@artemis-prime I'd recommend opening a new issue with clear repro steps; it's confusing for everyone when we re-open issues that start with a long "support" exchange and then jump to a new repro.


remote building and propagation of substituters/trusted-public-keys?

I'm looking at removing almost all of my "nix wrapper" script in favor of nix-fast-build.
One other thing that my wrapper script does is re-specify substituters and trusted-public-keys and ensure that the remote build is performed with them.

Does nix-fast-build do this? (If so, I can send a PR noting it in the README in the remote builder section)
If not, does it make sense to add such a feature?
(I wonder if nix has or should have a feature to print the net of global and user nix conf and use that?)

I suppose I may still need this, since I also use it to ensure that when I deploy to a (potentially fresh) host, it re-specifies the trusted-caches to use. And I can't remember if nix build -j0 --store "ssh-ng://..." propagates them either.

This is not implemented yet. It would also require that your remote user is a trusted user to make this effective.


Make manim support latex package tikz /tikz-circuit.

By changing the configuration of text_file_writing.py, manim can compile the latex code invoking package tikz /tikz-circuit. And it needs adding \usepackage[options]{tikz} or \usepackage[options]{circuitikz}. Writing the code of the MObeject in the way like `TikzMobject=(r"……") is convenient.
Write:
class TikzMobject(TextMobject):     CONFIG = {         "stroke_width": 3,         "fill_opacity": 1,         "stroke_opacity": 1,     }
to make the SVG show normally.

The modification of the text_file_writing.py won't affect other TextMobject or TexMobject codes to compile(up to now). But I don't know why it compiles twice when invoking cirtcuitikz. Invoking tikz complies once!
If setting like this, it won't support Xelatex(it needs some time to mix).
Inspired by https://github.com/Elteoremadebeethoven/AnimationsWithManim/blob/master/English/extra/faqs/tikz.py.
BTW: there is a better way to compile the TextMobject or TexMobject and support more languages directly.
Complying the tex code with xelatex, and use dvisvgm  convert the pdf into svg by divisvgm --pdf file.pdf which won't thorough the .dvi file.
If using the latex package xeCJK, it will support Chinese, Japanese and Korean, as well as English at the same time.
Thanks for contributing to manim!
Please ensure that your pull request works with the latest version of manim.
You should also include:

The motivation for making this change (or link the relevant issues)
How you tested the new behavior (e.g. a minimal working example, before/after
screenshots, gifs, commands, etc.) This is rather informal at the moment, but
the goal is to show us how you know the pull request works as intended.

How to break a multiline Tikz/Circuitikz code into arrays. I want to animate individual parts of a tikz diagram. How can I fragment such a multiline tikz code?

How to break a multiline Tikz/Circuitikz code into arrays. I want to animate individual parts of a tikz diagram. How can I fragment such a multiline tikz code?

That's very hard! Unless you can split the original tikz picture into separated parts, and align them manually. It's very tedious and the outcome may be imperfect for some complicated graphs. I don't suggest this method.


Add eco to html extensions

eco is for "Embedded CoffeeScript templates": https://github.com/sstephenson/eco
Couldn't find any logo for eco specifically, but HTML is better than no icon / the default.

Nvm, I can just use files.associations.

This is a good candidate to have its own icon like erb has. Something like the html icon with the coffescript in front instead of the 5.


Disable selection option in iOS

When sliding on the hue bar in iOS the selection in iOS is triggered.
That means it will select some text on the dashboard, which is not handy ;)
I think the best solution is to prevent this option.
http://sixrevisions.com/css/disable-text-selection/

This is strange, I've already disabled it:
https://github.com/t0mg/reacticz/commit/9c94e99d072db911d5a88c5a19e78a3ea451fa29#diff-669759ffeda41a4dfac15b9427eaeedd

It is selecting text from another widget (contact sensor in this case). I will check that css and disable it there as well to see if that fixes it.

Yeah I see we should disable it globally in this view (but not everywhere in the app)


Add RefreshOptions method to support live config changes

Added a method and options to support reading configuration changes to options periodically while a process is running.  Every "refresh_options_sec", the periodic task scheduler runs a task to check if the "refresh_options_file" exists.  If it does, the file is loaded as an options file and the mutable options from the file are updated in the running process (via SetDBOptions and SetOptions).  Once updated, the refresh file is deleted.  If an error occurs, it will be written to the log file.
Note that the file is read as an Options file and must be a valid Options file.  This means that the file must have a DBOptions section and at least one ColumnFamilyOptions section.  Only options that are mutable can be in this file -- immutable options will cause an error and abort the processing.
Additionally, note that TableFactory options must be specified as part of the ColumnFamilyOptions.  For example, to change the block size, the "table_factory.block_size" option should be set in the appropriate ColumnFamilyOptions.  Options set in a TableFactory section will be ignored.
Currently tested manually via db_bench.  Unit tests will be forthcoming.

@mrambacher - Is there an issue for this PR?
If not, please create one.
Either way, please link the issue with this PR. Thanks

Why is this feature not available in RocksDB Lite?
Actually, for my edification, what should be the capabilities / restrictions on RocksDB lite in general?
Are you aware of any resource specifying this?

I think we should add support for this feature in db_stress and crash testing

Why is this feature not available in RocksDB Lite? Actually, for my edification, what should be the capabilities / restrictions on RocksDB lite in general? Are you aware of any resource specifying this?

The PeriodicTaskScheduler is not available in LITE mode.  I do not know why.  I do not know how things were decided LITE or not.

@mrambacher  , it seems the checks have failed.. how is this in QA?

@Yuval-Ariel I have already reviewed this. Has anything changed that needs another review?

@udi-speedb all the approved reviews were removed for some reason.. and the merging needs at least one approval.

Oh, I see. OK. Evil @maxb-io modified (per my request) the policy so that whenever a push is made to an already approved PR, the approval is revoked and the PR needs to be approved again. This is to verify that if anyone updates an already approved PR (usually just squashing / rebasing), it will not go unnoticed and retain its approved state in case an (not less evil) person pushed real content.


Apostrophes in Scheme Names Cause Problems

At the moment it is possible to put an apostrophe in the name of a code scheme. However, this causes the name to fail to display in the table headers.
We should prevent apostrophes in the code scheme editor, and/or escape them when rendering the headers.

@pmishkin

Coda is now giving me errors when I type an apostrophe into the editor.
Not sure how I triggered this error before - perhaps it was by editing the scheme file directly (in which case, FileUtils.loadCodeScheme needs to perform the same validation as the editor save button).


[#156125470] refactor of request middleware

this is a proposal to refactor wrapRequestMiddleware method.
while the internal logic is now untyped, this method is not exposed to the calles so type safety is preserved in the calling code.
This PR embeds some mods from #168 otherwise tests would fail.

Affected stories

⚙ #156125470: Rifattorizzare la gestione degli errori e del retry negli handler delle code

  Generated by :no_entry_sign: dangerJS

closing as I realized that this runs the middleware in parallel (which is not always expected)


feat: add roi cluster fusion package

Related Issue
#1
Related Link
This PR depends on
Description
Add roi cluster fusion package from https://github.com/tier4/AutowareArchitectureProposal.iv
How to review
Check the following item
Readme
Launch file

Create new pr #116


Enable boot assessment

Fixes: https://github.com/rancher-sandbox/os2/issues/113
Signed-off-by: Ettore Di Giacinto<EMAIL_ADDRESS>

Superseded by #119


Add support for gl_depth to GLES2

This is #22800 but now working in GLES2.
Such a simple change, so useful :)

Isn't it read only on GLES2? See discussion in #22800.

@BastiaanOlij the reason why it is not implemented in GLES2 is that it is read only. For reading, the depth texture is already available. I believe that it is better if the keyword is entirely not present if writing is not possible, making the difference explicit.

Ah crap, it works fine on my computer under GLES2 but if it's read only on most other systems then yeah, that's not cool..
That said:
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/gl_FragDepth.xhtml

Available only in the fragment language, gl_FragDepth is an output variable that is used to establish the depth value for the current fragment

So as far as I can tell it has always been an output supported since OpenGL 1.1

P.S. the depth texture gives the current depth at that fragment while the depth in the fragment shader is the depth of the fragment being evaluated, so those are two different values.
Maybe the mixup is with gl_FragCoord  which is an input of the fragment shader and indeed read only? It's z component will be the depth that the fragment will be written as, gl_FragDepth overrides that value when used.

@BastiaanOlij that's for desktop GL and (desktop) GLSL versions. OpenGL ES 2.0 uses GLSL ES 1.0, which doesn't support this at all it seems

@karroffel indeed:
https://www.khronos.org/registry/OpenGL-Refpages/es3.1/html/gl_FragDepth.xhtml
Introduced in 3.0.. bummer, that's pretty dumb....

Well, good reason to get my gl_position fix to actually work :)


mongoengine allow_inheritance for an embedded document

For flask-admin the following only gives me CRUD access to Task and the TaskItem embedded document, but no access to ItemParameter or ItemTitle. Is this not supported in flask-admin or am I doing something wrong? Thx
class TaskItem(db.EmbeddedDocument):
    type = db.StringField(max_length = 32)
    column = db.IntField()
    row = db.IntField()
    width = db.IntField()
    height = db.IntField()
    meta = {'allow_inheritance': True}

class ItemParameter(TaskItem):
    label = db.StringField(max_length = 32)
    formula = db.StringField(max_length = 256)
    parameter = db.ReferenceField(Parameter)

class ItemTitle(TaskItem):
    label = db.StringField(max_length = 32)
    document = db.ReferenceField(Document)

class Task(db.Document):
    items = db.ListField(db.EmbeddedDocumentField(TaskItem))

    def __unicode__(self):
        return unicode(self.name)

# Flask-Admin
class SecuredModelView(ModelView):
    def is_accessible(self):
        return current_user.has_role('admin')

admin.add_view(SecuredModelView(Task))

Not sure how Flask-Admin would handle this one. The framework generates only one form per model. You have polymorphic (or inherited) models that have different fields and Flask-Admin would show that one base form, without extra fields.
Also, it is hard to Flask-Admin to know what kind of model it is without keeping mapping between classes and form types. I guess it is possible to return correct form from get_form method, but have no idea how to handle model creation, as you should have ability to create three different models from one page.

Maybe we coud use the choices=.... to list the various authorized subclass, generate X subform (one per subclass) and let the user pick thru a button with one he wants to use.
What do you think about that?

Such needed feature no works ?

I agree with @Fraggle nice Idea

I am closing this issue as we're removing support for flask-mongoengine in the next release, because that library is no longer being maintained and is incompatible with recent versions of our core dependencies (eg flask, wtforms, etc).


Update mod file structure, dependency & tidy up docs

Required changes

[x] Structure to be verified based on the service console/API
[x] Update COS to Cloud Object Storage
[x] IBM VPC Detail changes
[ ] Add MFA statue in account report - ibm_iam_account_settings (mfa | text | Defines the MFA trait for the account.

Already released


flutter_gallery_v2_web_compile_test  new_gallery_dart2js_millis regression

Up slightly as of https://github.com/flutter/flutter/pull/59804.
Not meeting our threshold for a P0, but still worth investigating.

@vsmenon @sigmundch what kind of compilation speed regression should be expected with the NNBD switch?

I'm not expecting any regression on compile-time speed. We do almost the same work regardless of the mode.
/cc @rakudrama in case I'm missing something.

These have since gone green --- or been rebaselined. Closing.


BLT2 softlocks the entire computer

As soon as Payday opens, it freezes on the menu. Nothing closes it, opening task manager does nothing, and Alt+F4 doesn't close the game, making my computer pretty much softlocked. Only solution out is restarting, forcing Payday to close.
Windows 10, by the way.

What are your specs? Are you running the latest drivers for your hardware? 64bit Windows or 32bit? Latest version of Windows 10?

Latest drivers, latest windows version, 64bit, i5-4690K, GTX960, 16gbs of memory.

Perhaps you have an antivirus or other program interfering? I'm getting the crash on joining lobbies, but the game launches fine for me and I can even host games with no problem, so I'm assuming there's some software on your computer causing problems.


Rappor data looks screwy

So, looking at the rappor data coming back, we get values like:

"value": "63,2f"

The first field of 'value' is the cohort, 0-63.  The second value is the bloom filter value, but it's only 8 bits.  But k = 16, so we should have 16 bits of bloom filter.
Running right now, we get:

Sample Size: 4991
Number of cohorts: 64
[1] "INSUFFICIENT DATA FOR MEANINGFUL ANSWER."

Appears to be set to 8 bloom filter bits at:
https://github.com/uProxy/uproxy/blob/876840383a6b27931a3e4ed14d53cc4a27b8f5b2/src/generic_core/metrics.ts#L24


Can't use 'menu_order' for orderby with custom post type

I'm unable to use orderby('menu_order') when querying my custom post type. I receive the following error message:
orderby is not one of date, relevance, id, include, title, slug

Here's a fuller example of the client-side code I'm using -
const WPAPI = require('wpapi');

WPAPI.discover('http://localhost:9090').then((wp) => {
  wp.myposttype().order('asc').orderby('menu_order').then((data) => {
    console.log(data);
  });
});

Is there something else I need to add to functions.php in WordPress? I'm using the following when registering the custom post type
register_post_type( 'myposttype',
  array(
    'labels' => array(
      'name' => 'My Post Type',
      'singular_name' => 'My Post Type'
    ),
    'show_in_rest' => true,
    'rest_controller_class' => 'WP_REST_Posts_Controller',
    'supports' => array('title'),
    'public' => true,
    'menu_position' => 3,
    'menu_icon' => 'dashicons-welcome-learn-more',
    'taxonomies' => array(
      'custom_category'
    )
  )
);

I've just managed to fix my problem, but not sure if I'm going against best practice. I took some code from https://github.com/WP-API/WP-API/issues/2308#issuecomment-266214066 and added the following to functions.php.
add_filter('rest_endpoints', function ($routes) {
    if (!($route =& $routes['/wp/v2/myposttype'])) {
      continue;
    }

    $route[0]['args']['orderby']['enum'][] = 'menu_order';
    $route[0]['args']['meta_key'] = array(
      'description'       => 'The meta key to query.',
      'type'              => 'string',
      'enum'              => ['menu_order'],
      'validate_callback' => 'rest_validate_request_arg',
    );

    return $routes;
  });

  add_filter('rest_posts_query', function ($args, $request) {
    if ($key = $request->get_param('meta_key')) {
      $args['meta_key'] = $key;
    }
    return $args;
  }, 10, 2);

@m10l This is an issue with the underlying WordPress REST API, not this library; while menu_order is still not supported 'out of the box," the best solution (as discussed in Issue #38693 on the core WordPress trac) is to use a new filter to add your custom orderby value:
<?php
add_filter( 'rest_post_collection_params', 'my_prefix_add_rest_orderby_params', 10, 1 );

function my_prefix_add_rest_orderby_params( $params ) {
    $params['orderby']['enum'][] = 'menu_order';

    return $params;
}

Your snippet doesn't sound like it goes against best practice, but the more concise option may work too!


Mark some files to not open on click

I would like to setting some regex to match files to not open in text editor (like .jar).

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Issue with Removing Participants and Closing Rooms

Issue Description
We're encountering difficulties with removing all participants and closing rooms using PHP LiveKit. Despite attempting various methods, we haven't been able to achieve the desired outcome.
Steps to Reproduce

Initialize a room using PHP LiveKit.
Add participants to the room.
Attempt to remove all participants programmatically.
Try to close the room using appropriate PHP LiveKit functions or methods.

Expected Behavior
We expect that by removing all participants and closing the room, the session will end gracefully, freeing up resources and terminating any associated processes.
Actual Behavior
The participants are not successfully removed, and the room closure process fails, leaving resources allocated and potentially causing issues with subsequent sessions.
We appreciate any assistance or insights into resolving this issue effectively.

Hi, I wasn't able to reproduce this error. Is this happening on Cloud or a self-hosted version?


<EMAIL_ADDRESS>hash check failed

Updating 'scite' (5.3.2 -> 5.3.3)
Downloading new version
Downloading https://www.scintilla.org/wscite533.zip (-1 B)...

Checking hash of wscite533.zip ... ERROR Hash check failed!
App:         extras/scite
URL:         https://www.scintilla.org/wscite533.zip
First bytes: 3C 21 64 6F 63 74 79 70
Expected:    82ff34347ac7f68a386d0ec43ea826449fd60cdc0640e6252cc09603317dbb2a
Actual:      8ca76c3b041e2ae0006bd9aa7a26b8b14345c19dd9cc249039db95a895a4ce62

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=scite%405.3.3%3a+hash+check+failed

Seems network problem. However, the downloaded file is a HTML one, seems the website do some more check before downloading process.


OS failed to boot after injecting L2 Directory Read UE system checkstop through OS [barreleye]

Issue:
OS failed to boot after injecting L2 Directory Read UE system checkstop through OS
Expectation:
After error injection power off and on HOST.
OS should boot and gard records should be created
Procedure:

Disable auto_reboot setting

Disable cpu state through OS as shown below

sudo sh -c 'for i in /sys/devices/system/cpu/cpu*/cpuidle/state1/disable; do echo 1 > $i; done'
sudo sh -c 'for i in /sys/devices/system/cpu/cpu*/cpuidle/state2/disable; do echo 1 > $i; done'

Inject L2 Directory Read UE System Checkstop through OS as shown below

   putscom -c 0x00000000 0x11012800 0x0100000000000000

Check if HOST has reached quiesced state
Power off & on the HOST
check if OS is booted and gard records are created

System Info:
cat /etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="v1.99.3-68"
VERSION_ID="v1.99.3-68-g35f91b9"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) v1.99.3-68"
BUILD_ID="v1.99.3"
Obmc console log info:
~# putscom -c 0x00000000 0x11012800 0x0100000000000000
  3.80115|ISTEP  6. 3
  4.17419|ISTEP  6. 4
  4.17507|ISTEP  6. 5
  9.39173|HWAS|PRESENT> DIMM[03]=A0A0A0A0A0A0A0A0
  9.39174|HWAS|PRESENT> Membuf[04]=CCCC000000000000
  9.39174|HWAS|PRESENT> Proc[05]=C000000000000000
  9.57253|ISTEP  6. 6
 10.68340|================================================
 10.68340|Error reported by unknown (0xE500)
 10.68340|  <none>
 10.68341|  ModuleId   0x0b unknown
 10.68341|  ReasonCode 0xe504 unknown
 10.68341|  UserData1  unknown : 0x0006000000000101
 10.68342|  UserData2  unknown : 0xe89b000700000000
 10.68342|User Data Section 0, type UD
 10.68342|  Subsection type 0x04
 10.68343|  ComponentId errl (0x0100)
 10.68343|User Data Section 1, type UD
 10.68343|  Subsection type 0x06
 10.68344|  ComponentId errl (0x0100)
 10.68344|  CALLOUT
 10.68344|  HW CALLOUT
 10.68344|  Reporting CPU ID: 12
 10.68345|  Called out entity:
 10.68345|User Data Section 2, type UD
 10.68345|  Subsection type 0x33
 10.68346|  ComponentId unknown (0xe500)
 10.68346|User Data Section 3, type UD
 10.68346|  Subsection type 0x01
 10.68347|  ComponentId unknown (0xe500)
 10.68347|  STRING
 10.68347|
 10.68347|User Data Section 4, type UD
 10.68348|  Subsection type 0x15
 10.68348|  ComponentId hb-trace (0x3100)
 10.68348|User Data Section 5, type UD
 10.68349|  Subsection type 0x01
 10.68349|  ComponentId unknown (0xe500)
 10.68349|  STRING
 10.68349|
 10.68350|User Data Section 6, type UD
 10.68350|  Subsection type 0x03
 10.68350|  ComponentId errl (0x0100)
 10.68350|User Data Section 7, type UD
 10.68351|  Subsection type 0x01
 10.68351|  ComponentId errl (0x0100)
 10.68351|  STRING
 10.68352|  Hostboot Build ID: hostboot-fe5c556/hbicore.bin
 10.68352|User Data Section 8, type UD
 10.68352|  Subsection type 0x04
 10.68352|  ComponentId errl (0x0100)
 10.68353|================================================
 31.74248|System Shutting Down To Perform Reconfiguration
 31.74249|IPMI: Initiate power cycle
 31.74340|Stopping istep dispatcher
 47.37376|IPMI: shutdown complete

Find the attached journal, dmesg, serial port, FFDC logs
barreleye_serial_port_logs.txt
20170313064435575811_MyFFDCLogs.zip
barreleye_dmseg.txt
barreleye_journal.txt

Any update here.

Hi, Recreated the failure scenario with latest build on barreleye
root@barreleye:~# cat /etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="v1.99.3-201"
VERSION_ID="v1.99.3-201-ga0fc7ea"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) v1.99.3-201"
BUILD_ID="v1.99.3"
please check latest logs
dmesg.txt
barreleye_journal.txt
20170404051242116707_MyFFDCLogs.zip

Hi Team, any update will appreciate. Please move towards closing the issue in right manner. Thank you.

Should be closed as not updated for nearly 18 months. Please reopen if needed.


ruby-sys: full bindings

https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc
It'd be nice to flesh this out even more.

This is in its own repo now.


'Duration' is only available in tvOS 16.0 or newer

Expected behavior
This repo compiles for tvOS.
@available is using tvOS 15 but it should be tvOS 16
From Swift // Misc
@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
@frozen public struct Duration : Sendable {

From swift-metrics // Metrics // Metrics.swift
extension Timer {
    /// Convenience for recording a duration based on ``Duration``.
    ///
    /// `Duration` will be converted to an `Int64` number of nanoseconds, and then recorded with nanosecond precision.
    ///
    /// - Parameters:
    ///     - duration: The `Duration` to record.
    ///
    /// - Throws: `TimerError.durationToIntOverflow` if conversion from `Duration` to `Int64` of Nanoseconds overflowed.
    @available(macOS 13, iOS 16, tvOS 15, watchOS 8, *)
    @inlinable
    public func record(_ duration: Duration) {
        // `Duration` doesn't have a nice way to convert it nanoseconds or seconds,
        // and manual conversion can overflow.
        let seconds = duration.components.seconds.multipliedReportingOverflow(by: 1_000_000_000)
        guard !seconds.overflow else { return self.recordNanoseconds(Int64.max) }

        let nanoseconds = seconds.partialValue.addingReportingOverflow(duration.components.attoseconds / 1_000_000_000)
        guard !nanoseconds.overflow else { return self.recordNanoseconds(Int64.max) }

        self.recordNanoseconds(nanoseconds.partialValue)
    }
}

Actual behavior
This repo does not compile.
'Duration' is only available in tvOS 16.0 or newer
'components' is only available in tvOS 16.0 or newer
Steps to reproduce
Use the latest release 2.4.3
compile for tvOS
If possible, minimal yet complete reproducer code (or URL to code)
[anything to help us reproducing the issue]
SwiftMetrics version/commit hash
https://github.com/apple/swift-metrics/releases/tag/2.4.3
Swift & OS version (output of swift --version && uname -a)
Xcode 15.3
swift --version && uname -a
swift-driver version: <IP_ADDRESS> Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Darwin XXX-Mac-Studio.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64

Thanks for reporting, that's unfortunate that we didn't notice in 2.4.2.
You could adjust a PR or I'll follow up shortly.

watchOS is also wrong, it's 9+


Add CMS capability back

easier to just start from stratch. https://github.com/ycfreeman/radio4ebchinese.org-gatsby


Some UI text is duplicated in v1.0.0

Some UI text is duplicated in v1.0.0

This is somehow a visual bug in the homebridge ui. Standard json Schemas do not show it like that, not sure what is causing is but I will keep my eye on it and try to fix it!


ace: 7.0.3 -> 7.0.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ace/versions.
meta.description for ace is: "ADAPTIVE Communication Environment"
meta.homepage for ace is: "https://www.dre.vanderbilt.edu/~schmidt/ACE.html"
meta.changelog for ace is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5/bin/ace_gperf passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 7.0.5 with grep in /nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5
found 7.0.5 in filename of file in /nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
ace
docbookrx
yarp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ace https://github.com/r-ryantm/nixpkgs/archive/ac0f8d791155cf0503112a467c0191d8313f7a7a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5
ls -la /nix/store/73csw0xmj7lf3xianm12d7nb35v8rbnq-ace-7.0.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

ace
yarp

Maintainer pings
cc @nico202 for testing.

USER VISIBLE CHANGES BETWEEN ACE-7.0.4 and ACE-7.0.5
====================================================

. Initial not tested support for Visual Studio 2022

. Fixed compile errors when using Visual Studio 2019 with C++17
  or C++20 support enabled

. Various cleanup and using more C++11 features

USER VISIBLE CHANGES BETWEEN ACE-7.0.3 and ACE-7.0.4
====================================================

. Add support for Embarcadero C++ Builder 11.0 Alexandria using
  the bcc32c compiler

. Allow ACE_Module and ACE_SOCK_Dgram_Mcast to be sub-classed

. Add ACE_SWAP_LONG_LONG byte swap macro for ACE_UINT64

. Improved ACE_Atomic implementation for g++

. Various cleanup and using more C++11 features

Change log and build result looks good to me, ping me to revert if this break something.


TI API Rel 0.9.6: sourceTrafficFilters

removed rel number in "version" field according to:https://github.com/camaraproject/EdgeCloud/issues/272
sourceTrafficFilters added according to: https://github.com/camaraproject/EdgeCloud/discussions/230#discussioncomment-9879076
updated link to Identity and Consent: CAMARA-Security-Interoperability: https://github.com/camaraproject/EdgeCloud/issues/277

to be aligned with: https://github.com/camaraproject/EdgeCloud/discussions/247

@gunjald I'm so sorry you did a great effort to go through the documentation. unfortunately that was the old version, I actually uploaded the new TI API in the wrong folder.

@gunjald I'm so sorry you did a great effort to go through the documentation. unfortunately that was the old version, I actually uploaded the new TI API in the wrong folder. Anyway it was mostly the same file , just one line was different. so no problem

No worries :-) I hope we have better APIs and documents to help the adoptions.

I also aligned the name of the parameters for Zones and Regions in the code.

EdgeCloudRegion
EdgeCloudZoneId

@gunjald is there still pending on this PR? or can it be approved?

@gunjald now all your comments should be addressed :-). Thank you very much for your support.

Can we approve the PR?


-Wunused-variable -Wswitch -Wunused-private-field build errors in display_server_windows.cpp and display_server_windows.h

Godot version:
master build https://github.com/godotengine/godot/commit/f7b8d0c688dc15b8841ac13990569dda81bf0652
OS/device including version:
Windows 10
Issue description:
D:\Godot\compile_space\godot>scons -j2 use_llvm=true
scons: Reading SConscript files ...
Automatically detected platform: windows
Configuring for Windows: target=debug, bits=default
Using MinGW
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[  3%] Compiling ==> platform\windows\display_server_windows.cpp
[  6%] Compiling ==> main\tests\test_oa_hash_map.cpp
[  6%] Compiling ==> main\tests\test_ordered_hash_map.cpp
[  6%] Compiling ==> main\tests\test_physics_2d.cpp
=====
b"platform\\windows\\display_server_windows.cpp:451:2: warning: touchscreen not working [-W#warnings]\r\n#warning touchscreen not working\r\n ^\r\nplatform\\windows\\display_server_windows.cpp:1022:20: error: unused variable 'wd' [-Werror,-Wunused-variable]\r\n        const WindowData &wd = windows[p_window];\r\n                          ^\r\nplatform\\windows\\display_server_windows.cpp:1033:10: error: enumeration values 'WINDOW_FLAG_MAX', 'WINDOW_FLAG_TRANSPARENT_BIT', and 'WINDOW_FLAG_NO_FOCUS_BIT' not handled in switch [-Werror,-Wswitch]\r\n        switch (p_flag) {\r\n                ^\r\nplatform\\windows\\display_server_windows.cpp:1066:10: error: 4 enumeration values not handled in switch: 'WINDOW_FLAG_NO_FOCUS', 'WINDOW_FLAG_MAX', 'WINDOW_FLAG_TRANSPARENT_BIT'... [-Werror,-Wswitch]\r\n        switch (p_flag) {\r\n                ^\r\nIn file included from platform\\windows\\display_server_windows.cpp:31:\r\nplatform\\windows/display_server_windows.h:269:7: error: private field 'force_quit' is not used [-Werror,-Wunused-private-field]\r\n        bool force_quit = false;\r\n             ^\r\n1 warning and 4 errors generated.\r\n"
=====
scons: *** [platform\windows\display_server_windows.windows.tools.64.o] Error 1
scons: building terminated because of errors.

4 errors and 1 warning.
Steps to reproduce:
scons -j2 use_llvm=true

Would you be able to make a PR to fix those warnings? It should be fairly easy.
I can't reproduce it easily here as I'm on Linux, and on Windows 10 I don't have Clang set up.

Nevermind, I should have a fix (untested).

Wasn't sure what way to go about enum issue so I didn't make a PR. Also, platform/linuxbsd/display_server_x11.h also has unused force_quit.


[PREGEL] Separate pregel cmake build

I think Handlers belong into the feature directory such that you can easily find it and if you decide to delete the feature, you don't have to look where else it is used.
As far as I see, some features already do that, I see RestHandler files at least in RocksDBEngine, Cluster, ClusterEngine, Agency and Aql.


Can't resize grid columns

Since i updated dbeaver to version 7.1.2 i'm not being able to resize columns to analyze data in a clearer way. This is a big issue to me, because i need to analyze big strings
Any help will be welcome :)

hi @facuhump2409 ,
unfortunately cannot reproduce it on win10. What OS do you use?
is it reproducible for all the columns type and databases?

Im currently using ubuntu 18. But this problem appeared with the latest 7.1.2 release. Before i could resize the columns in any query from any database

Confirming behavior reported by facuhump2409
On Linux Mint 19 Tara (Ubuntu 18.04), using Cinnamon desktop, Upgraded from 7.0.4 to 7.1.2 and could no longer resize panes or adjust column sizes. Made the UI unusable. Uninstalled dBeaver and re-installed 7.0.4, and all's well again.

Further confirmation on Ubuntu 18.04 host using XFCE desktop, same anomalous behavior on 7.1.2, resolved by reverting to 7.0.4.

Hi there,
Same issue as per @facuhump2409 description after upgrading from 7.1.1 to 7.1.2, on Ubuntu 16.04 using Unity desktop.

Problem solved in version 7.1.3 thanks

Same problem here on Debian 11 with Wayland


The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'simple_rsa' is using version 1.2.30.

i will update thank you

fix with 0.0.2


It does not work when running VS Code on Ubuntu 22.04

I've installed it, but when I click on the icon the chat bar opens up, and then...
Nothing
Not even a prompt or a menu, just a blank empty chat area, which I can't type anything into.
It runs OK on VS Code on a Mac though.
My VS-Code config is
Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-58-generic snap
Sandboxed: No

Do you get any error when looking into VSCode output?

Please check the answers in these issues:
https://github.com/gencay/vscode-chatgpt/issues/39#issuecomment-1370272656
https://github.com/gencay/vscode-chatgpt/issues/25#issuecomment-1374833026
If the issue persists, I recommend switching to OpenAI API Key method with ChatGPT support for better reliability without a browser dependency on Ubuntu.


Replace link for Github [footer]

What
Replace the Github link in the footer with the new one LINK: https://github.com/Hacktoberfest-GYE/Hacktoberfest-GYE-2024
Why
That's because it stills attached to the previous one. It redirects to the new one, but we need to replace it.

This issue was resolved with the merged PR


Still maintaining?

Wanted to ask if something is planned for this? Like Texturing and Lighting and other file formats like .glb

Yes, but we need to be patient: I can't work full time for this project because of my PhD.


async list_processors() returns coroutine instead of async pager -> cannot be iterated

Tested with Python 3.10 + docai v1 and v1beta3.
The sample snippet @ https://github.com/googleapis/python-documentai/blob/37bf5b7f6f8ce212609d26abb6f0e105c8c0017d/samples/generated_samples/documentai_v1_generated_document_processor_service_list_processors_async.py
raises TypeError: 'async for' requires an object with __aiter__ method, got coroutine
This seems a generic issue with all async list_* methods, and not only in documentai client lib e.g. see here
Workaround: None - use the sync client for the same

My bad - the for loop should be like:
async for p in await docai_client.list_processors(parent=location_path):
    ...


VirtualFlow doesn't resize cells properly when layout bounds changes depending on the Orientation.

import java.util.Arrays;
import java.util.Random;

import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.Background;
import javafx.scene.layout.BackgroundFill;
import javafx.scene.layout.CornerRadii;
import javafx.scene.layout.Region;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.stage.Stage;

public class VirtualFlowTest2 extends Application{

	// Attributes
	private static final Random RANDOM = new Random();

	// Start Methods
	public static void main(String[] args){
		launch(args);
	}

	@Override
	public void start(Stage stage) throws Exception{
		StackPane contentPane = new StackPane();
		VirtualFlow<String, Cell<String, ?>> virtualFlow = VirtualFlow
			.createHorizontal(FXCollections.observableArrayList(Arrays.asList("A", "B", "C", "D")), (value) -> {
				Button button = new Button();
				button.prefHeightProperty().bind(contentPane.heightProperty());
				button.prefWidthProperty().bind(contentPane.widthProperty().multiply(.1));
				button.setText(value);
				button.setBackground(new Background(
					new BackgroundFill(new Color(RANDOM.nextDouble(), RANDOM.nextDouble(), RANDOM.nextDouble(), 1),
						CornerRadii.EMPTY, Insets.EMPTY)));
				return Cell.wrapNode(button);
			});

		contentPane.getChildren().add(virtualFlow);
		max(virtualFlow);
		stage.setScene(new Scene(contentPane, 500, 500));
		stage.show();
	}

	public static Node[] max(Region... nodes){
		for(Region region : nodes){
			region.setMinSize(0, 0);
			region.setMaxSize(Double.MAX_VALUE, Double.MAX_VALUE);
		}
		return nodes;
	}
	// End Methods

}

As you can see I created a Horizontal VirtualFlow with cells 10% of the width of the parent. Now when resizing using only the width of the stage, which is also resizing the parent, you can see that the cells don't resize to 10% of the parent. This is due to SizeTracker lengthFN:
Val<Function<Cell<?, ?>, Double>> lengthFn =
	avoidFalseInvalidations(breadthForCells).map(breadth -> cell -> {
		return orientation.prefLength(cell, breadth);
	});

That static avoid false invalidation method I'm not 100% sure the purpose of it but essentially in this cause eats up the event that would cause the cells to be resized. This is just for the width. When  you change the height of the VirtualFlow you can see that the cells height also change with it.
When you delete the call to avoidFalseInvalidations it will now properly resize the cells regarding resizing the stage's width.
Val<Function<Cell<?, ?>, Double>> lengthFn =
	breadthForCells.map(breadth -> cell -> {
		return orientation.prefLength(cell, breadth);
	});

Now say you make a Vertical VirtualFlow. With my same code you would have to make the cell's height take 10% of its parent and max width. Now when changing the height of the stage the VirtualFlow doesn't resize its cells while if you change the width it does. The same fix above works.
Now I know I provided a solution but I don't exactly know what that avoid false invalidation method exact purpose is. Maybe it is trying to prevent like an infinite loop of invalidating I don't know.

@bwcsemaj thanks for reporting and the diagnostics :1st_place_medal:


Group Nodes with no-childrens

Is your feature request related to a problem? Please describe.
For example, I can add A, B and C nodes. So, If I add ten A nodes, 10 B nodes and 10 C nodes I will have a bigger graph on the screen.
Describe the solution you'd like
Is there any way to group all of these A, B and C nodes (30 in totals, 10 for each of them) in only 3 groups? So, If I add a children node to any A node, I will see A with this new children, a group for A's (with 8 more A's), a group for B's (with 9 B's) and a group for C's (with 9 C's)

There is not any functionality like it, there may be workarounds, but for me they seem complex, so won't mentione them here

Heads up,
Currently, I am working on pagination, which is somehow related to this issue. While not exactly the same, the final purpose is to make the graph more compact and user friendly to use, the same purpose as this ticket
https://user-images.githubusercontent.com/6873202/169758663-0a117074-e6d5-4be4-a981-afff3fd21037.mp4

Also, potentially this is a path to allow lazy loading nodes

@bumbeishvili oh this seems to be amazing! keep us updated please! thank you so much for let me know! :)


Nuxt Analytics & PWA (service worker)

What problem does this feature solve?
After installed the nuxt PWA module in my nuxt application, my application stopped to send the data to Google Analytics (whit the Nuxt Analytics module).
After many hours, I found a solution to let the module work again.
I had to add in the nuxt.config.js the sendHitTask like that
googleAnalytics: {
id: process.env.GOOGLE_ANALYTICS_ID,
debug: {
enabled: false,
sendHitTask: true
}
},
If you know why....

This feature request is available on Nuxt community (#c41)

I've just noticed this issue today where no events were being fired after a certain point. I assume that it was after I configured the site to be completely PWA with the @nuxtjs/pwa package.
The website previously had a running service worker and was firing GA events without a problem, so it could be an issue after enabling HTTP2 push or somewhere during change to PWA.

Same issue

This problem seems to exist even with the core Vue-Analytics plugin, i.e., irrespective of whether this nuxt analytics-module is used, or vue-analytics is used as a plugin. It started happening around 3 weeks back. I have been unable to get it working even with sendHitTask: true.

Update: After some playing around, I have been able to get it working by including the core Vue-Analytics plugin directly.

Could you elaborate on that, I'm curious as I'm also running into this problem now. Did you use the analytics module or did you completely remove it and used the vue-analytics plugin?

@Aanhane I completely removed the analytics-module and used the vue-analytics plugin.

Is there any source code / guide available on how to do this? I will do the same as well.

Remove analytics-module from package.json.

Add vue-analytics to package.json.

Create plugin file vueAnalytics.js:
import Vue from 'vue'
import VueAnalytics from 'vue-analytics'

export default (ctx, inject) => {
  Vue.use(VueAnalytics, {
    id: 'xx-xxxxxxx-x',
    checkDuplicatedScript: true,
    debug: {
      enabled: false,
      trace: false,
      sendHitTask: process.env.NODE_ENV === 'production'
    },
    router: ctx.app.router
  })

  ctx.$ga = Vue.$ga
  inject('ga', Vue.$ga)
}

include it as a plugin in the nuxt.config.js file:
plugins: [
    '~/plugins/vueAnalytics.js'
  ]

Nuxt.js v2.10.0 broked the analytics-module for me.
I reverted back to 2.9.2, and everything seems to be working again.

Rather than reverting Nuxt to v2.9.2, I upgraded the analytics-module to v2.2.1. That fixed the problem for me. See the issue here and the fix here.

Tbh I don't understand why there's so much boilerplate around the plug-in. When it started it was a simple wrapper of vue-analytics with router automatically attached to it, now they are not in sync anymore with all these default options on top of other default options

This has been fixed as @bigsee said


Typo in swapchain_images_tutorial.md

The typo:
In section Double buffering or triple buffering?, the last reference image link should be called Triple buffering at <60 FPS, I suppose? It shows Double buffering at <60 FPS when the image is still loading.
Some questions:
1.For triple-buffering, we need an additional swapchain image allocated, so we will require more memory for this image and maybe some static buffer, right?
2.If some FPS control exists in the application, so we can choose to lower it to save battery. Does that affect how we choose between VK_PRESENT_MODE_FIFO_KHR and VK_PRESENT_MODE_MAILBOX_KHR?
3.Can we safely go for double buffering if we cap FPS to 30, if we guarantee GPU can finish the rendering well within 33ms, to squash down memory usage?

Thank you for letting us know! Regarding your questions:

Correct, more images will require more memory to back them up.
I think in this case it may not make a difference on performance, but FIFO is the only mode that is guaranteed  to be supported everywhere.
I think so, capping FPS to 30 means there should not be any benefits from using more than 2 images and as you say this saves memory.

A resource I found very useful to learn more about the swapchain and presentation modes is API without Secrets: Introduction to Vulkan* Part 2: Swap Chain by Pawel Lapinski.
Hope that helps!

@JoseEmilio-ARM Thank you! You help me a lot :D.


Ability to impersonate the currently logged in user without credentials

Was wondering if you'd be willing to add support to impersonate the currently logged in user without credentials.
Example. I have a windows service running and would like to impersonate the user that is currently logged in because the service is running under the windows system account. I understand now i could currently still use this library but it would require knowing the username and password of each and every user. I found this library
https://github.com/murrayju/CreateProcessAsUser where they get the user token through WTSEnumerateSessions to get the active session id then WTSQueryUserToken to retrieve the user token.

If you have a user token, then you don't need this library.  Just use WindowsIdentity.RunImpersonated directly.


Incorrect entity configuration

Describe the bug
The cost sensor integration creates two additional entities, it should merge with the existing ones.
The tariff sensors are not associated with the entity.
Expected behaviour
There should be two entities, on for the Gas meter, and one for the Electricity meter, with all sensors associated with the respective entity.
Additional context
In short, the device info function in sensor.py incorrect

Fixed in dev branch


[tool_crash] _TypeError: (#0      _gitCommitDate (package:flutter_tools/src/version.dart:387:4))

Command
flutter --version

Steps to Reproduce

...
...
...

Logs
_TypeError: (#0      _gitCommitDate (package:flutter_tools/src/version.dart:387:4))
#0      _gitCommitDate (package:flutter_tools/src/version.dart:387:4)
#1      _FlutterVersionGit.frameworkCommitDate (package:flutter_tools/src/version.dart:495:37)
#2      FlutterVersion.toString (package:flutter_tools/src/version.dart:225:99)
#3      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/r

Closing this as a duplicate of https://github.com/flutter/flutter/issues/145781


[FR] Add a possibility to show states

The stock map card allows to see a state instead of some icon/avatar:

This allows to see values like:

Would be great to have a similar option in this card as well.

An additional request: please provide ways to avoid this misaligned look:

Fixed in v0.8.0
Unfortunately the misaligned look cannot directly be fixed, because the ha-entity-marker is used to display (and this one has a fixed width & height + font size).

For a stack card I managed to fix alignment by
.marker:not(:has(.entity-picture)) {
      text-align: center;}

in an external js-file.

Added the CSS in the latest release, however I don't think it's working due to how the Web Containers work.

Thanks a lot for the feature!
Unfortunately, do not see a state.
0.8.2
Here is a stock map card:
type: map
entities:
  - entity: sensor.narodmon_eee_radiation
    label_mode: state

Here is a ha-map-card:
type: custom:map-card
entities:
  - entity: sensor.narodmon_eee_radiation

But this does not show a marker at all:
type: custom:map-card
entities:
  - entity: sensor.narodmon_eee_radiation
     display: state

Zoomed out for security reasons:

F5, waiting - do not help.
Interesting that while I was editing in HA Editor - a state was shown! It happened once, could not reproduce.

Also please consider these cases:

entity is unknown - may be then we should not see the marker
entity is unavailable - some "wrong" label should be shown instead of long "unavailable"; this "label" should be clear for any languages; may be just "long dash" (w/o UoM)?

Also please consider these cases:
* entity is unknown - may be then we should not see the marker

* entity is unavailable - some "wrong" label should be shown instead of long "unavailable"; this "label" should be clear for any languages; may be just "long dash" (w/o UoM)?

We can only display entities with a latitude/longitude attributes. Unknown entities likely do not have these. Might be inspiration for a new feature though!
P.s. I added more debug logging and also spotted a minor debug where the market kept getting recreated.

Thanks a lot for the feature!
Unfortunately, do not see a state. 0.8.2 Here is a stock map card:
type: map
entities:
  - entity: sensor.narodmon_eee_radiation
    label_mode: state

Here is a ha-map-card:
type: custom:map-card
entities:
  - entity: sensor.narodmon_eee_radiation

But this does not show a marker at all:
type: custom:map-card
entities:
  - entity: sensor.narodmon_eee_radiation
     display: state

Zoomed out for security reasons:
F5, waiting - do not help. Interesting that while I was editing in HA Editor - a state was shown! It happened once, could not reproduce.

#32


Setup

Hi,
Love your website design. Can you help me set it up like this https://uxcorprangel.github.io/portfolios-dev/ I could only set it up with the other options. Can you please email<EMAIL_ADDRESS>

Hi @luvnft, if you want to deploy any of the templates, you can choose the one you want:
unicork-sparkle:
pnpm create astro@latest -- --template UXCorpRangel/portfolios-dev/unicorn-sparkle

rainbow-unicorn:
pnpx giget@latest gh:UXCorpRangel/portfolios-dev/rainbow-unicorn myPortfolio

And choose the service you want to deploy, for example in Astro they have guides for it:

https://docs.astro.build/en/guides/deploy/

To deploy the rainbow-unicorn template, you can use any of the services specified in the Astro documentation, the difference is that this template is made with Vite.

Hi @felixicaza Whats the name of this one https://uxcorprangel.github.io/portfolios-dev/ ?

That is the main website of the organization and that view is the showcase of this portfolio repository.


feat(extension): make left panel collapsable

Checklist

[x] JIRA - <LW-6561>
[ ] Proper tests implemented
[ ] Chromatic checks passed (add label: run-chromatic)
[x] Screenshots added.

** The label 'run-chromatic' must be toggled on/off for the job to run on pull requests.

Proposed solution
This PR introduces the responsiveness for the side menu on viewports smaller than 1024px
Moves all components of the left side column from the layout to a new component VerticalNavigationBar
Refactors the NetworkPill component by adding a property that allows the component to display the status on hover
Screenshots

Allure report
allure-report-publisher generated test report!

smokeTests: ✅ test report for 488bf6b3

passed
failed
skipped
flaky
total
result

Total
19
0
0
0
19
✅

Closing in favor of direct branch on this repo


tokio-pipe fails to compile on Windows

As of now, the crate fails to compile on Windows 11 with the following output:
log.txt

This crate works on unix only since it uses pipe function which are only available on unix.

@inf0rm4tik3r
I'm sorry.
This crate basically works only on UNIX-like operating systems.
There is no plan to support Windows...


chore: rename return_obj to row_with_meta

Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 68.69%. Comparing base (5b8b10c) to head (1bee934).

Files
Patch %
Lines

controller/rest/restful.go
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #312      +/-   ##
==========================================
- Coverage   68.71%   68.69%   -0.03%
==========================================
  Files          85       85
  Lines        9730     9730
==========================================
- Hits         6686     6684       -2
- Misses       2366     2368       +2
  Partials      678      678

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


Init or Install scripts are ignored by include scripts

Looking at NuGet packages, like Entity Framework, there sometimes are init or install scripts in the packages tools folder. Currently, they are completely ignored.
In general, it might does not make so much sense to "somehow" execute them, as they
a) rely on powershell
b) most probably open only a readme.txt anyway.
This does not "feel" like it's Pakets intention anyway. But something might be figured out.
Maybe this is more related to the Visual Studio Paket plugin.

http://fsprojects.github.io/Paket/faq.html#Does-Paket-run-install-ps1-scripts
The problem with the PowerShell scripts is that they depend on running inside Visual Studio, which Paket doesn't. The VS extensions does, but it's just a GUI for Paket.Core and doesn't actually extend any of it's functionality.
Additionally, we don't have PS on non-Windows OSes.

PS scripts are not supported. AFAIK even nuget is get rid of this
unfortunate idea.
On May 10, 2016 6:58 PM, "Ilja Nosik"<EMAIL_ADDRESS>wrote:

http://fsprojects.github.io/Paket/faq.html#Does-Paket-run-install-ps1-scripts
The problem with the PowerShell scripts is that they depend on running
inside Visual Studio, which Paket doesn't. The VS extensions does, but it's
just a GUI for Paket.Core and doesn't actually extend any of it's
functionality.
Additionally, we don't have PS on non-Windows OSes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1679#issuecomment-218222001

Their blog says they still execute init.ps1, which is strange IMHO. No idea what they do outside of VS, or if they do it at all.

Yeah or on mono ;-)
Just don't trust that statement...
On May 10, 2016 7:12 PM, "Ilja Nosik"<EMAIL_ADDRESS>wrote:

Their blog
http://blog.nuget.org/20151008/NuGet-3-What-and-Why.html#powershell-install-and-uninstall-scripts
says they still execute init.ps1, which is strange IMHO. No idea what
they do outside of VS, or if they do it at all.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1679#issuecomment-218225986

So let's close this?

Yep lets close this. Paket always ignored Powershell scripts, which is IMHO the correct thing to do.


Sporadic failure on Windows with FindFirstFileExA

ninja: error: FindFirstFileExA(note: including file: d:/a/swift-build/swift-build/sourcecache/swift-corelibs-foundation/corefoundation): The filename, directory name, or volume label syntax is incorrect.

I've been unable to isolate the exact scenario that this happens on, but I've seen this happen periodically on GitHub Actions builders recently.  It has also happened a couple of times on Azure DevOps builders.  The build rules don't seem to have changed, so I suspect that this might be related to a Windows update (the builders do update periodically).

Seems related to #2138 and #1037.
@compnerd in #1239 nico suggests that flushing lines emitted to stdout/stderr from the tools driven by ninja might avoid this issue. Assuming y/our problem is in driving clang-cl per @michael-brade's comment above, WDYT of making clang-cl flush on newlines?

I would rather not do that in clang-cl.  clang-cl is already ~10-15% slower than cl, this would further slow down the already slow compiler.  Perhaps a benchmark on Windows of chromium w-w/o the change to clang-cl would be helpful to judge the impact.

I think this is a CMake bug. When I ran into this issue, my rules.ninja file generated by CMake contained:
command = C:/PROGRA~1/MICROS~2/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "" "S:/b/1/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in

where "" (after $out) should have been the detected prefix Note: including file: . The CMakeFiles\3.26.0-msvc3\CMakeCCompiler.cmake file contained:
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()

Which seems to point to a bug in CMake's CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX.
However, it would help if ninja supported parsing dependencies from a more reliable format like /sourceDependencies//scanDependencies

I can't confirm that. My rules.ninja doesn't have any "" in it, and the cmcldeps call always has the "Note: including.." right after $out. However, I also changed the string to "Note: X including..." and the error message by ninja still stays the same.

https://github.com/ninja-build/ninja/issues/2159 might also be related to this.

I thought so, too, but I compiled ninja HEAD and the error really is the wrong filename, not the directory error.

I am consistently hitting this and it is always the RC command:
command = C:/PROGRA~1/MICROS~4/2022/ENTERP~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "" "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in

If I delete the cache and reconfigure the build works once. Build All / Rebuild All after that build goes back to the FindFirstFileExA error.
If it helps I have a Time Travel Debugging trace of ninja.exe producing this error. It's about 11MB as a .zip. You could debug this by opening the trace in WinDbg, doing !tt 4044:1F93, and then step backwards to see how ninja ended up with this path.
0:000> dx -g @$cursession.TTD.Calls(kernelbase!FindFirstFileExA).Select(x => new { Position = x.TimeStart, FileName = x.Parameters.lpFileName, ReturnValue = x.ReturnValue})
===================================================================================================================
=           = (+) Position = (+) FileName                                                 = (+) ReturnValue       =
===================================================================================================================
= [0x0]     - 3B09:4BF     - 0x1000ff080 : ".\*"                                          - 0x16dba901150         =
= [0x1]     - 3B17:15AE    - 0x1000ff000 : "External\*"                                   - 0x16dba901150         =
= [0x2]     - 3B22:17C3    - 0x16dba8eab90 : "External/Msatx\*"                           - 0x16dba901990         =
...
= [0x45]    - 4044:1F93    - 0x16dbae0ca30 : "Note: including file:    C:/Program File... - 0xffffffffffffffff    =
===================================================================================================================

0:000> !tt 4044:1F93

(c938.43c0): Break instruction exception - code 80000003 (first/second chance not available)
Time Travel Position: 4044:1F93

0:000> kP1
 # Child-SP          RetAddr               Call Site
00 00000001`000fee18 00007ff6`04afbd28     KERNELBASE!FindFirstFileExA(
			char * lpFileName = 0x0000016d`bae0ca30 "Note: including file:    C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared\*",
			_FINDEX_INFO_LEVELS fInfoLevelId = FindExInfoBasic (0n1),
			void * lpFindFileData = 0x00000001`000fefb0,
			_FINDEX_SEARCH_OPS fSearchOp = FindExSearchNameMatch (0n0),
			void * lpSearchFilter = 0x00000000`00000000,
			unsigned long dwAdditionalFlags = 0) [minkernel\kernelbase\filefind.c @ 591]

+1 - can confirm all above

For Windows, I wonder if it has to do with case insensitivity in Windows.
I notice ninja trying to reference include, when I notice the folder actually named Include.
This only seems to happen when using clang-cl with me.

I can reproduce with Ninja 1.11.0
Severity	Code	Description	Project	File	Line	Suppression State
Error		FindFirstFileExA(Note: including file:    C:/Program Files (x86)/Windows Kits/10/include/10.0.22000.0/shared): The filename, directory name, or volume label syntax is incorrect.	C:\Users\user1\source\repos\whit2\out\build\x64-Clang-Debug\whit2	C:\Users\user1\source\repos\whit2\out\build\x64-Clang-Debug\ninja	1

If i edit CMakeFiles/rules.ninja after "Delete Cache and Reconfigure", but before "Build All" then I can clean and rebuild repeatedly.
$ diff CMakeFiles/rules.ninja ../../..
38c38
<   command = C:/PROGRA~1/MICROS~4/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "" "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in
---
>   command = C:/PROGRA~1/MICROS~4/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "Note: including file:" "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in
128c128
<   command = C:/PROGRA~1/MICROS~4/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "" "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in
---
>   command = C:/PROGRA~1/MICROS~4/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "Note: including file:" "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in

I am using cmake version 3.26.0-msvc3

so looks like a CMake issue, caused potentially by change in output of msvc /showIncludes?

Note that my unmodified and modified rules.ninja file has a line "deps = gcc", so /showIncludes shouldn't be in play.
#############################################
# Rule for compiling RC files.

rule RC_COMPILER__gpsbabel_unscanned_Debug
  depfile = $DEP_FILE
  deps = gcc
  command = C:/PROGRA~1/MICROS~4/2022/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/CMake/bin/cmcldeps.exe RC $in $DEP_FILE $out "" "C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO/2022/COMMUNITY/VC/Tools/Llvm/x64/bin/clang-cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe $DEFINES $INCLUDES $FLAGS /fo $out $in
  description = Building RC object $out

A workaround is to define a cmake variable in the CMake command arguments box:
-DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file:"
The build system generation will create a ninja.rules with the "" -> "Note: including file:"

I believe this was fixed in https://github.com/microsoft/CMake/commit/843fc607de7 which first appeared in cmake v3.26.3-msvc1.  But MS is currently distributing cmake v3.26.0-msvc3.
Thus, this is not an ninja issue, but an issue with cmake.  Furthermore it has been fixed, but MS hasn't distributed the fixed executable yet.

I reported this to MS:
https://developercommunity.visualstudio.com/t/cmake-generates-bad-dependencies-for-rc/10398924?q=cmake+dependencies

great discovery! If I use stock cmake 3.26.4, I can finally compile with ninja and clang-cl :)

Well, CMake 3.29.2, Clang 18.1.0, and guess why am I here?)
ninja : error : FindFirstFileExA(Note: including file:      C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared): The filename, directory name, or volume label syntax is incorrect.

This exact issue happened to me ONLY when I was trying to install what was built. The build stage itself compelted fine

I encountered a similar error:
ninja: error: FindFirstFileExA(Note: including file:      C:/Program Files (x86)/Windows Kits/10/include/10.0.26100.0/shared):...

My clang-cl --version output is as follows:
clang version 18.1.7
Target: x86_64-pc-windows-msvc
Thread model: posix

Upon further investigation, I discovered a Ninja build system error related to the .ninja_deps file. This error occurs when processing dependencies for Windows resource files (.rc files).
In CMake, .rc files can be built as part of the source code, allowing the generated dynamic library to have specific attribute information.
Even when simplifying the .rc file to contain only a single #include "winres.h" statement, the error persists.
This may indicate an issue with Ninja parsing or storing paths for certain types of dependencies.
Here's a minimal example:
// version.rc
#include "winres.h"

# CMakeLists.txt
set(MYLIB_SOURCES library.cpp)
list(APPEND MYLIB_SOURCES "${CMAKE_BINARY_DIR}/version.rc")
add_library(dllversionlibtest SHARED ${MYLIB_SOURCES})

// library.cpp
#include "library.h"
#include <iostream>
void hello() {
    std::cout << "Hello, World!" << std::endl;
}

I'm not sure about others' experiences, but for this example, the error doesn't occur on the first build. The first build is successful, but the error appears after the .ninja_deps file is generated.
I have limited knowledge of Ninja and clang-cl, but I seem to have found an issue:
https://github.com/ninja-build/ninja/blob/dcefb838534a56b2621baf33c7e0583ff63ee35f/src/build.cc#L938
The deps here come from CMakeFiles/rules.ninja.
Its result is "gcc". Could this be one of the reasons for the incorrect judgment?When I modified the Ninja code to keep only the Builder::ExtractDeps parsing code for msvc, the recompiled Ninja was able to successfully build the above example.


API get saved subtitles path?

Is there a way to get the path of the saved subtitles when saving it with the episode file?
Here's the subtitle_path variable should contain what I need:
https://github.com/Diaoul/subliminal/blob/dd74383d1cba82829ce720f2e439a65d13ffe7ef/subliminal/core.py#L689

It's on the top of my list

I have it through episode.storage_path in subliminal_patch from Sub-Zero.

Now you can get the subtitle path using the method:
subtitle.get_path(self, video, single=False)

3e3e410a0132faf17a3ed79b0934196a31a72983

Thanks!


Support acorn@5

We'd like to use acorn 5.1.1 in debian but acorn-object-spread is not compatible.

My fork acorn5-object-spread supports acorn 5. @dariocravero If you want to pick up maintenance of this package again, drop me a note and I will prepare pull requests.


App IDs (reference)

Hey,
great software but I don't know where to get the reference for the apps? Is this personalized for each Xbox cause the ones in your example don't seem to work.

Nvm I didn't check closed issues


Added note to README directing to workshop getting started guide.

:+1: :wink:

Oh ha! No memory of making this PR. :) Will merge.


[21.05] Jenkins updates

Motivation for this change
Get the latest (stable) jenkins. (And to ease cherry-picking, the jenkins-cli changes are included.)
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 136790 run on x86_64-linux 1

1 package blacklisted:

tests.nixos-functions.nixos-test

1 package failed to build:

nixos-install-tools

1 package built:

jenkins

1 package failed to build:
nixos-install-tools

It built fine here.