RuntimeException in FFProbe.php line 244: Unable to probe with any external link/URL

this is specifically an issue with windows ...
i got it working fine on linux .. but in windows .. even if the binaries are working fine and give the expected output .. the class will throw an exception.
on the same windows machine ... copying the file to local disk ...and giving the local path to ffprobe work just fine !
both machines are connected with no proxy
something to note BTW i realised ffprobe doesnt behave the same when used with single quote as input
in other words :  ffprobe   http:/somthing  will work both on linux and windows .. but   ffprobe  'http://something'  wont work on windows !!

@SunChero would be nice to take a look at your full backtrace.


App Builder is put()ing multiple times

This can be seen with the logging DAO on kiosk apps, and is reportedly occurring on other app types.

This problem was traced back to foam.ui.DAOListView not cleaning up listeners initialized on create().


Add Fairwinds to ADOPTERS.md

Signed-off-by: Andrew Suderman<EMAIL_ADDRESS>
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Fairwinds is adopting Falco
Does this PR introduce a user-facing change?:
Nope
Add [Fairwinds](https://fairwinds.com) to the adopters list

Welcome @sudermanjr! It looks like this is your first PR to falcosecurity/falco 🎉

Build error looks like maybe it's due to an outage somewhere:
Error uploading workspace archive: store-client upload workspace: the response from POST /api/v2/output/workspace was 503 (Service Unavailable) (14 attempts)

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, sudermanjr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 25059bd20bfdd060ef1084bbcc45ebe834de32e8

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr, sudermanjr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.32.0


Fix fromString of MatchUtils OFVlanVidMatch issue

String in dataMask vid like this: "0x1001" (including the PRESENT_BIT), which means valnID = 1
OFVlanVidMatch.ofVlan(int vid) requires vid value between 0~4096 ( not including the PRESENT_BIT)
it causes IllegalArgumentException: Illegal VLAN value: 1001
So I change it into OFVlanVidMatch.ofRawVlan(short)
OFVlanVidMatch.ofVlan(dataMask[0].contains("0x") ? Integer.valueOf(dataMask[0].replaceFirst("0x", ""), 16)
Scenario:
net.floodlightcontroller.staticflowentry.StaticFlowEntries.java
Line236~244
set String for MatchField.VLAN_VID = match.get(MatchField.VLAN_VID).toString()
OFVlanVidMatch.toString() returns vid with PRESENT_BIT ( "0x1001")
and then in
net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher.java
Line 431
fmb.setMatch(MatchUtils.fromString(match, fmb.getVersion()));
calls MatchUtils.fromString
dataMask String for MatchField.VLAN_VID is "0x1001"
which causes IllegalArgumentException: Illegal VLAN value: 1001
while using OFVlanVidMatch.ofVlan(hex(1001)) to create OFVlanVidMatch

@mindi102680 Thank you for the patch!


C++: Improve Element::toString() performance

by removing recursion in TypeMention::toString().

 The test of TypeMention itself remains correct but has become much less informative. Please update the ql file for that test to add a column with the type name.
All the other tests look fine, but you'll need to update their expected file to match the new output. @geoffw0, can you confirm that it's fine to change the dependency-tests output like this?
Now that we've seen how much this change can affect test output, I think the change deserves to be mentioned in the change note. Please add a change note to describe how this change affects qltest files that select every Element (which should be rare).

@geoffw0, can you confirm that it's fine to change the dependency-tests output like this?

I would imagine they're fine but I failed to find the actual test failures in the logs.  I suggest adding the .expected changes (and/or trying out @pavgust's suggestion) and I can review more easily at that point, with the expectation that they're likely to be fine.

Must be committed together with https://git.semmle.com/Semmle/code/pull/32371


Windows 7 Not Listening

Hi,
I've read and followed the instructions in the following issues:
40
43
45
But I'm still getting this screen

My OS is Windows 7 x86 SP1 Ultimate if you need more data just let me know.
My RDWrapper version is 1.6.1 but I've also tried with 1.6 and 1.5 with no luck.
Any help will be really appreciated.

Update ini file. Run update.bat file

Please provide result output of this command: sc query TermService

@leszekw83
I already done so, that's my output
RDP Wrapper Library v1.6
Installer v2.3
Copyright (C) Stas'M Corp. 2016
[] Checking for updates...
[] Current update date: 2016.07.22
[] Latest update date:  2016.07.22
[] Everything is up to date.
@binarymaster
my apologies but my ouput is in spanish (where I'm from...) if you need some translation just le me know.
sc query TermService
NOMBRE_SERVICIO: TermService
TIPO               : 20  WIN32_SHARE_PROCESS
ESTADO             : 4  RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
CÓD_SALIDA_WIN32   : 0  (0x0)
CÓD_SALIDA_SERVICIO: 0  (0x0)
PUNTO_COMPROB.     : 0x0
INDICACIÓN_INICIO  : 0x0

@Copones Everything is fine with your output. Since it's technical data, it doesn't differ much between languages.
TermService works without issues. Now provide output of these commands:
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server"
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations"
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"

Of course,
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
RCDependentServices    REG_MULTI_SZ    CertPropSvc\0SessionEnv
NotificationTimeOut    REG_DWORD    0x0
SnapshotMonitors    REG_SZ    1
ProductVersion    REG_SZ    5.1
AllowRemoteRPC    REG_DWORD    0x0
DelayConMgrTimeout    REG_DWORD    0x0
fDenyTSConnections    REG_DWORD    0x0
StartRCM    REG_DWORD    0x0
TSAdvertise    REG_DWORD    0x0
DeleteTempDirsOnExit    REG_DWORD    0x0
fSingleSessionPerUser    REG_DWORD    0x0
PerSessionTempDir    REG_DWORD    0x0
TSUserEnabled    REG_DWORD    0x0
InstanceID    REG_SZ    7b47e9c6-1640-4b00-a623-e570b6f
TSAppCompat    REG_DWORD    0x0
SessionDirectoryActive    REG_DWORD    0x0
RailShowallNotifyIcons    REG_DWORD    0x1
TsxCsl    REG_DWORD    0x4
RDPVGCInstalled    REG_DWORD    0x1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\ConnectionHandler
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\KeyboardType Mapping
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\SessionArbitrationHelper
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\SysProcs
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\TerminalTypes
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Utilities
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\VIDEO
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\PerSessionTempDirs
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations
DefaultSecurity    REG_BINARY    010014809C000000A800000000000000140000000200880006000000000014000100000001010000000000050400000000001400BF030F000101000000000005120000000000140089000F00010100000000000513000000000014008100000001010000000000051400000000001800BF030F000102000000000005200000002002000000001800210100000102000000000005200000002B020000010100000000000512000000010100000000000512000000
ConsoleSecurity    REG_BINARY    010014809C000000A800000000000000140000000200880006000000000014000100000001010000000000050400000000001400BF030F000101000000000005120000000000140089000F00010100000000000513000000000014008100000001010000000000051400000000001800BF030F000102000000000005200000002002000000001800210100000102000000000005200000002B020000010100000000000512000000010100000000000512000000
Flags    REG_DWORD    0x1
SelfSignedCertificate    REG_BINARY    E832E24A24CAE7F24B48013D384AB621F3738C5D
SelfSignedCertStore    REG_SZ    Remote Desktop
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\Console
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\EH-Tcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
PortNumber    REG_DWORD    0xd3d
SecurityLayer    REG_DWORD    0x1
UserAuthentication    REG_DWORD    0x0
Shadow    REG_DWORD    0x2
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\TSMMRemotingAllowedApps
I'm not a developer... (not a good one...) but it seems that the first output is very.... empty? isn't?
Thanks again.

First output is okay, but the last (WinStations\RDP-Tcp) lacks some important values.
Try importing this registry file (save it as RDPTcp.reg and import):
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"AudioEnumeratorDll"="rdpendp.dll"
"Callback"=dword:00000000
"CallbackNumber"=""
"CdClass"=dword:00000000
"CdDLL"=""
"CdFlag"=dword:00000000
"CdName"=""
"CfgDll"="RDPCFGEX.DLL"
"ColorDepth"=dword:00000003
"Comment"=""
"Domain"=""
"DrawGdiplusSupportLevel"=dword:00000001
"fAllowSecProtocolNegotiation"=dword:00000001
"fAutoClientDrives"=dword:00000001
"fAutoClientLpts"=dword:00000001
"fDisableAudioCapture"=dword:00000000
"fDisableCam"=dword:00000000
"fDisableCcm"=dword:00000000
"fDisableCdm"=dword:00000000
"fDisableClip"=dword:00000000
"fDisableCpm"=dword:00000000
"fDisableEncryption"=dword:00000001
"fDisableExe"=dword:00000000
"fDisableLPT"=dword:00000000
"fEnableWinStation"=dword:00000001
"fForceClientLptDef"=dword:00000001
"fHomeDirectoryMapRoot"=dword:00000000
"fInheritAutoClient"=dword:00000001
"fInheritAutoLogon"=dword:00000001
"fInheritCallback"=dword:00000000
"fInheritCallbackNumber"=dword:00000001
"fInheritColorDepth"=dword:00000000
"fInheritInitialProgram"=dword:00000001
"fInheritMaxDisconnectionTime"=dword:00000001
"fInheritMaxIdleTime"=dword:00000001
"fInheritMaxSessionTime"=dword:00000001
"fInheritReconnectSame"=dword:00000001
"fInheritResetBroken"=dword:00000001
"fInheritSecurity"=dword:00000000
"fInheritShadow"=dword:00000000
"fLogonDisabled"=dword:00000000
"fPromptForPassword"=dword:00000000
"fReconnectSame"=dword:00000000
"fResetBroken"=dword:00000000
"fUseDefaultGina"=dword:00000000
"InitialProgram"=""
"InputBufferLength"=dword:00000800
"InteractiveDelay"=dword:00000032
"KeepAliveTimeout"=dword:00000000
"KeyboardLayout"=dword:00000000
"LanAdapter"=dword:00000000
"LoadableProtocol_Object"="{18b726bb-6fe6-4fb9-9276-ed57ce7c7cb2}"
"MaxConnectionTime"=dword:00000000
"MaxDisconnectionTime"=dword:00000000
"MaxIdleTime"=dword:00000000
"MaxInstanceCount"=dword:ffffffff
"MinEncryptionLevel"=dword:00000002
"NWLogonServer"=""
"OutBufCount"=dword:00000006
"OutBufDelay"=dword:00000064
"OutBufLength"=dword:00000212
"Password"=""
"PdClass"=dword:00000002
"PdClass1"=dword:0000000b
"PdDLL"="tdtcp"
"PdDLL1"="tssecsrv"
"PdFlag"=dword:0000004e
"PdFlag1"=dword:00000000
"PdName"="tcp"
"PdName1"="tssecsrv"
"Username"=""
"WdDLL"="rdpwd"
"WdFlag"=dword:00000036
"WdName"="Microsoft RDP 7.1"
"WdPrefix"="RDP"
"WFProfilePath"=""
"WorkDirectory"=""
"WsxDLL"="rdpwsx"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\TSMMRemotingAllowedApps]
"ehshell.exe"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\UserOverride\Control Panel\Desktop]

After import, restart Terminal Services (run RDPWInst -r) or reboot your PC.

Right now I'm not able to connect to the pc but I'll try to test ASAP.
I'll let you know the results.
thx

Hi, your suggestion worked but partially, now I get this screen...

but when I try to connect either using the rdpcheck.exe program or directly using remote desktop, I get this error.

I think the solution is close so... a final push please?
Thanks.

Try setting another port value

Hi,
After several port changes, some install/reinstalls and finally using
sfc /scannow
I've managed to make it work.
So you may close the issue.
As a final suggestion for future releases, if you know that there are some registry keys involved and if this keys are common, perhaps it can be a good idea to add it to assure your program will work properly.
If those keys already exists there is no problem to add them again, and if not you will fix in computers like mine.
Thank you very much.

Sounds good!

Hi,
I am using Windows 10 Home edition.
To use RDP, I installed RDP Wrapper & execute update file as well. the suggested registry codes was imported but still listener state is not listening.
Please advise.
Regards,
Farzad


GainSchedIdentifier.IdentifyForGivenThresholds it is currently unresolved how to determine bias/operating point

this feature is commented out in DetermineOperatingPointAndSimulate() because it breaks the time delay estimation unit tests.
Add this feature back in.

fixed!


Include bottomSheet() in library?

Hey,
I'm wondering... why not also include bottomSheet() in the library?

The main motivation is that the bottomsheet integration is in accompanist and just for material 2, i.e. it is quite a fragile dependency.

Any update on this, @hrach ?


fix: change badge name and category to lower case

Summary of Changes
Change badge name and category to lower case so badges are searchable.
Amundsen UI by default formats badge display with first letter capitalized while other letters are lowercase.
https://github.com/amundsen-io/amundsen/blob/6ec9b398634264e52089bb9e1b7d76a6fb6a35a4/frontend/amundsen_application/static/js/config/config-utils.ts#L128
Clicking table badges in UI always results in searching lower cases badges.
https://github.com/amundsen-io/amundsen/blob/6ec9b398634264e52089bb9e1b7d76a6fb6a35a4/frontend/amundsen_application/static/js/components/B
If badges stored in neo4j are not lowercase, they won't be searchable in UI.
Tests
Add a unit test
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

@allisonsuarez could you take a look? I remember the search filter UI did require some lower case.


[WIP] Revamp doc intro

Edited introduction for nGraph documentation with updated content and diagrams.

Since I updated this branch to the latest in master, it apparently triggered a bunch of stuff that wasn't merged before that is now merged; please feel free to ignore this request for review if you were erroneously added.  Feedback, is welcomed!

Unfortunately I don't think I'm going to have time to go through this.


Ability to add labels

As a user, I want the ability to associate an issue with the existing labels. There should be a multiselect option in the dialog window that allows me to do this.

And we should probably remember the last user choice and restore it automatically on opening the window the next time?

And we should probably remember the last user choice and restore it automatically on opening the window the next time?

Yes, that would be great.

And we should probably remember the last user choice and restore it automatically on opening the window the next time?

I think it won't be obvious to the user. Let's imagine the following situation: the user first creates an issue to fix a bug, and then an issue to improve the API. Why should we add the bugfix label to the issue to improve the API? Let the user decide for himself which label he wants at any given time


Make Sign Up button functional

To Do

Store the users in a database(mongodb) when clicked on sign up button.
Cross verify the changes.

Done


⚠ Bofrost.at has degraded performance

In fc296ef, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1783 ms

Resolved: Bofrost.at performance has improved in f10b834.


Smartir and google assistant

Home Assistant version
0.97.2
SmartIR version
1.7.2
SmartIR configuration
binary_sensor:
  - platform: threshold
    name: "Status TV Cucina"
    entity_id: sensor.rgbplug1_energy_power
    upper: 17

media_player:
  - platform: smartir
    name: TV Cucina
    device_code: 1010
    controller_data: <IP_ADDRESS>
    power_sensor: binary_sensor.status_tv_cucina

Describe the bug
Media players created is exposed as switch against as tv on google home app.
It would be great if media players could be used with voice commands.

It is not possible. Only on, off and set volume supported by the Google Assistant. To set the volume, we need the absolute value (10%, 20%, etc) which is impossible with the SmartIR integration.

I have the same issue. I'm exposing my device as a TV and there are Volume +/- buttons on my Google Home Hub, but they have no effect.
media_player:
  # Yamaha Surround (old)
  - platform: smartir
    name: Living Room Receiver
    unique_id: living_room_receiver
    device_code: 1120
    controller_data: <IP_ADDRESS>

media_player.living_room_receiver:
  device_class: speaker

If the API requires absolute volumes then I understand why it doesn't work. However at some point media players in HA were updated to be a switch with the volume trait exposed to Google Assistant, so you can adjust the volume instead of the former brightness hack that was in place. I wonder if that change allows for relative volume control?
If that doesn't help, could you fake absolute volume by always exposing 50% to Google, and after a volume up, report it back to 50%, so that it never reaches 0% or 100%? Whatever you get from Google can be compared to 50% to determine whether it was a volume up vs a down. Eg, if you get 55% then it must've been a vol up. If you get 45% it must've been down.

https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/google_assistant/trait.py#L1268
It looks like there's support for relative volume control now

Figured out the issue and opened a PR myself with a fix:
https://github.com/home-assistant/home-assistant/pull/26585


fix NSTimer scheduling in RCTTiming

When debugging remotely, the NSTimer used to unpause the RCTTiming module's observation of RCTDisplayLink frame updates gets scheduled on the WebSocketExecutor queue (rather than the main queue) and fails to fire.
The result is an especially fickle bermuda triangle for calls to setTimeout/setInterval.
The most reliable way to reproduce the issue I've found is to call setTimeout/setInterval from any component render function, with a delay > 1025.
A couple of ways you might fail to reproduce this:

creating another timer with < 1025ms delay. RCTTiming's kMinimumSleepInterval is 1s, and timers beneath that threshold will unpause the module's observation of RCTDisplayLink frame updates, causing all scheduled timers to get executed properly. I'm not sure where the extra 25ms sneak in, but it smells like it's related to the distance over the bridge.
running the debugger in a background tab

It's been a long time since I've written any objective-c, so this might not be the best solution, but it works :)

I don't have time to chase this down any further. Feel free to close.


Spektrum RC radio control - channels mixed up?

Hi devs,
I have updated the latest qcom_flight_controller_hexagon_sdk_add_on.zip,BSP.but when I move the throttle/yaw stick . Unfortunately, in the QGroundControl channel monitor:
At present, only 1,2,3-channel data can be received.
Apart from the right stick (roll/pitch),left stick and a second gear switch,the others  isn't showing up in any channels at all.
Has anyone seen this issue before and if so, is there a suggested fix to get things back to normal?
Thanks for your help!
Ed!

I think I did  not entirely understand your issue:
What happens when you move the throttle/yaw stick?
I have a spektrum transmitter and receiver. for me it is as followed:
channel 3: throttle
channel 4: yaw
channel 2: pitch
channel 1: roll
channel 5: flight mode

I think he is not using the open source Spektrum driver you're using @Stifael. We need to finish our work on Snapdragon and document it - that will make it a lot easier for people.

I see. I was just wondering, because he shouldnt be able to use it out of the box with the current firmware.

@Stifael @LorenzMeier How can i use the open source Spektrum driver? At present, only 1,2,3 channel data can be received  when i move the throttle/yaw stick.

@Stifael Can you please send a pull request with the update to the startup script which starts it?

@sunshine-yan:
Currently I dont have my laptop, but you can do it yourself: just go to
posix-configs/eagle/flight/px4.config
and add
spektrum_rc start

I can make a PR hopefully tmr or the latest this sunday. Or u can do it youself (the driver is already added in the master)

And the doko will be updated as soon as well

@Stifael
Thanks for your help! This problem is sovled by following your suggestion.


Fix crash on undefined oldInstances

In vrpc/VrpcRemote.js:169, if oldInstances is undefined (occurred here because of mqtt messages that came from a different client), the call oldInstances.filter()  will crash.
Please insert another guard in line 168, if oldClassInfo.instances is undefined but oldClassInfo was defined.

Is fixed in current master and will appear in the next release.

Is fixed in current master and will appear in the next release.


External Clock to Animation Loop

Target Use case
When generating a video clip of a visualization created in deck.gl, the animations and transitions are not always smooth due to being dependent on frame rate of the application.
Proposed feature
External control of the animation loop in order to generate smooth video clips from deck.gl visualizations.
To Do List

[ ] Add label and assign to milestone
[ ] Coding
[ ] Doc update
[ ] What’s new update
[ ] Test

Implemented in https://github.com/uber/luma.gl/pull/1084


Generate stable ids for subflow instance internal nodes

Fixes #3996 #3889
This PR does two things:

when instantiating a subflow, rather than generate random ids for the instances, it uses ${subflowInstance.id}-{$node.id}.
when clearing context of removed nodes, it now properly accounts for these subflow instance nodes so they don't get cleared away.

Item 1 will address other requests around having stable ids for nodes inside subflow instances.

Coverage: 68.577% (-0.05%) from 68.627% when pulling e47698bfd4499b296e268582d8bdda2263b411d5 on subflow-nested-context into 683ae4f06712991e1a0f8b8282af3f81efc62aee on dev.


fix overlflow issues + allow text selection

Description
If the event description contains long urls, the entire table gets overflowed to other cards. This PR fixes that by enforcing an overflow wrap.
In addition I added the possibility to hightlight text. This is usefull when you have a zoom meeting link for example in the description that you want to copy
Motivation and Context
The display is horrible when the description has long urls. I can't take a snapshot due to privacy issues
How has this been tested
I uploaded the fix to my HA instance and it is working perfectly
Types of changes

[ ] Docs change / refactoring.
[x] Non-breaking change (fix or feature that wouldn't cause existing functionality to change/break).
[ ] Breaking change (fix or feature that would cause existing functionality to change/break).

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes don't generate new warnings.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests pass.

@totaldebug @marksie1988 can you please CR?

Thanks, I'm currently on a 3 week training course so may struggle to review and test before then, I will try get it done at the weekend though.

I have now merged this and created the release, as soon as checks are complete it should be live


scheduler having error causes resources to not be realsed

after the error in #5 the scheduler didn't release (ever) any of the resources that it had. the resources should be on another thread never getting into situation that it can hold them

Probably fixed in #15 but will keep open until you confirm please


remove unused exec in plan-serde

Codecov Report

Merging #29 (d94a840) into master (8517217) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #29   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          14      11    -3
  Lines        2332    2249   -83
======================================
+ Misses       2332    2249   -83

Impacted Files
Coverage Δ

plan-serde/src/from_proto.rs
0.00% <ø> (ø)

plan-serde/src/lib.rs
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Pass globalStorageUri as storagePath for server to find addons

This goes with https://github.com/LuaLS/lua-language-server/pull/2893 and should allow the server to stop hard coding the config paths for finding addons on different OSes.

Thank you!


Error with package and package dependency both updating

🐛 Bug Report
This was also posted here (https://github.com/NuKeeperDotNet/NuKeeper-AzureDevops-extension/issues/52) but I'm not sure that repo is the right place for this...
In our case, we have AbcPDF and AbcPDF.AbcGecko, which depends on AbcPdf.  Both are flagged as packages to update as seen here:
Updating 3 packages
'ABCpdf' from 11.3.04 to 11.3.7 in 1 projects
'ABCpdf.ABCGecko' from 11.3.04 to 11.3.7 in 1 projects
'IPNetwork2' from 2.5.189 to 2.5.192 in 1 projects

Git checkout 'origin/master'
Using branch name: 'nukeeper-update-3-packages-5522AB1B8600493317E2E4EAA554586C'
Git checkout new branch 'nukeeper-update-3-packages-5522AB1B8600493317E2E4EAA554586C'
Sorted 1 projects by dependencies but no change made

But then when NuKeeper updated AbcPDF, Nuget.exe update also updates AbcPDF.AbcGecko (I ran this locally using Nuget to confirm this is what happens):
Updating 'ABCpdf' to 11.3.7 in 1 projects
Nuget restore on D:\a\1\s\MyProject packages.config
Found NuGet.exe: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe restore packages.config -Source https://api.nuget.org/v3/index.json  -NonInteractive
Nuget restore on packages.config complete
Found NuGet.exe: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe update packages.config -Id ABCpdf -Version 11.3.7 -Source https://api.nuget.org/v3/index.json -NonInteractive
Git commit with message '📦 Automatic update of ABCpdf to 11.3.7'

But then NuKeeper doesn't know that AbcGecko was updated, and still attempts to explicitly update AbcPDF.AbcGecko (which, again, is already fully up-to-date from the AbcPDF update).  So update doesn't actually change the packages.config file.  And then NuKeeper attempts to create a commit, but nothing has changed and we get an exception and the whole thing fails:
Sorted 1 projects by dependencies but no change made
Updating 'ABCpdf.ABCGecko' to 11.3.7 in 1 projects
Nuget restore on D:\a\1\s\MyProject packages.config
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe restore packages.config -Source https://api.nuget.org/v3/index.json  -NonInteractive
Nuget restore on packages.config complete
Found NuGet.exe: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe update packages.config -Id ABCpdf -Version 11.3.7 -Source https://api.nuget.org/v3/index.json -NonInteractive
Git commit with message '📦 Automatic update of ABCpdf to 11.3.7'
Sorted 1 projects by dependencies but no change made
Updating 'ABCpdf.ABCGecko' to 11.3.7 in 1 projects
Nuget restore on D:\a\1\s\MyProject packages.config
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe restore packages.config -Source https://api.nuget.org/v3/index.json  -NonInteractive
Nuget restore on packages.config complete
In path D:\a\1\s\MyProject, running command: C:\hostedtoolcache\windows\nukeeper\0.26.0\x64\NuGet.exe update packages.config -Id ABCpdf.ABCGecko -Version 11.3.7 -Source https://api.nuget.org/v3/index.json -NonInteractive
Git commit with message '📦 Automatic update of ABCpdf.ABCGecko to 11.3.7'
Updates failed EmptyCommitException : No changes; nothing to commit.
   at LibGit2Sharp.Repository.Commit(String message, Signature author, Signature committer, CommitOptions options)
   at LibGit2Sharp.RepositoryExtensions.Commit(IRepository repository, String message, Signature author, Signature committer)
   at NuKeeper.Git.LibGit2SharpDriver.<>c__DisplayClass15_0.<Commit>b__0() in d:\a\r1\a\drop\NuKeeper.Git\LibGit2SharpDriver.cs:line 148
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at NuKeeper.Engine.Packages.PackageUpdater.MakeUpdatePullRequests(IGitDriver git, RepositoryData repository, NuGetSources sources, SettingsContainer settings, IReadOnlyCollection`1 updates) in d:\a\r1\a\drop\NuKeeper\Engine\Packages\PackageUpdater.cs:line 82
   at NuKeeper.Engine.Packages.PackageUpdater.MakeUpdatePullRequests(IGitDriver git, RepositoryData repository, IReadOnlyCollection`1 updates, NuGetSources sources, SettingsContainer settings) in d:\a\r1\a\drop\NuKeeper\Engine\Packages\PackageUpdater.cs:line 46
Attempted 3 updates and did 0
Done at 2020-04-03T15:57:02Z
##[debug]task result: Succeeded

I feel like the easiest fix to this would be to simply not have an empty commit cause the whole thing to blow up.  But I suspect there's a bigger problem with dependencies at play here.
I'd also like to know if there's a workaround until a fix is completed and release made.
Expected behavior
Updating multiple packages, including packages that depend on each other works without error.
Reproduction steps
See above.
Configuration
running NuKeeper task in an automated Azure DevOps build pipeline.
Version: 0.26.0
Platform if applicable:

[X] :hammer_and_wrench: NuKeeper CLI
[ ] :sparkles: GitHub
[X] :robot: AzureDevops
[ ] :checkered_flag: Bitbucket
[ ] :earth_americas: Gitlab
[ ] :tv: Gitea
[ ] :whale: Docker

A workaround right now could be to exclude the root dependency using --exclude AbcPDF. Nukeeper should then upgrade AbcPDF.Gecko, which would result in its dependency AbcPDF also being updated.
I'm a bit confused however by the behavior of nuget. I don't understand why updating AbcPDF would result in a package that depends on it being updated.
I can only find documentation about the reverse scenario i.e. updating a package also results in all its dependencies being updated, which in this case would be: "Update AbcPDF.Gecko? We also need to update AbcPDF as Abc.PDF.Gecko needs AbcPDF's latest version to work.".


Panel won't render a child passed as a function

The First! child should be rendered, but it's ignored.
https://mxstbr.blog/2017/02/react-children-deepdive/#child-components
export default class Employee extends Component {
    ...
    render () {
        ...
        return (
            <Panel
            ...
            >
                {() =>
First!
}

                Second!

                         ....

                ...
            </Panel>
        )
    }
}

While it is possible to evaluate props.children as a function in your own components, it is my understanding that this is not a common practice in React.  For example, the following won't render anything:

{() => "Foo"}


Version compare compat

I was having problems with the database update checker. The culprit was that different versions of setuptools had different return types for the parse_version method. This commit cleans up the usage of str of the returned object in favor of storing the version coming from mtgjson, and use pkg_resources.parse_version only for the comparison.

Don't merge this yet. The codacy report showed me a mistake I need to fix


Doesn't seem to work

Hello, I am having trouble getting this plugin to work as described. I see the option 'PHP Deserialize' when I right-click a cell, but then nothing is coped to my clipboard.
Is there an error log where I can see what is happening or any possible errors?
System details:
MacOS Catalina 10.15.2
TablePlus Version 2.12 (282)
Using plugin Release 0.1.0 from Github Releases (not built from source)

Thanks for trying out the plugin and taking the time to report your issue.
Can I just double-check that you’re right-clicking on the cell with serialized data? This is important as there’s currently no other way to define the source to be deserialized.
If you are clicking on the correct cell, would it be possible to share the serialized data from that cell here so that I can test on my side?

Yes, I am right-clicking a cell with serialized data; I would not expect it to deserialize unserialized data.
Here is a text block of the serialized data. Note that it is using a serialized object. Does this plugin only work with primitive data types?
O:42:"craft\queue\jobs\UpdateElementSlugsAndUris":10:{s:9:"elementId";i:103794;s:11:"elementType";s:20:"craft\elements\Entry";s:6:"siteId";s:1:"1";s:16:"updateOtherSites";b:1;s:17:"updateDescendants";b:1;s:59:"craft\queue\jobs\UpdateElementSlugsAndUris_totalToProcess";N;s:59:"craft\queue\jobs\UpdateElementSlugsAndUris_totalProcessed";N;s:11:"description";N;s:30:"craft\queue\BaseJob_progress";i:0;s:35:"craft\queue\BaseJob_progressLabel";N;}

@abryrath unfortunately this string doesn't contain the zero-space binary characters that normally separate the various elements of a PHP serialized string. Could you possibly dump the serialized string to a file and send that instead?


NullReferenceException on Drag to not yet set collection

I have 2 ListBoxes both bound to an ObservableCollection of the 2 viewmodels in 2 separate controls of the same window.
The source listbox is filled with items.
To explain I will give all involved objects a name (dataItem, chart, displayableDataItems) as the setup is a bit complicated. What makes this bug difficult for me is that it is impossible to catch the exception and ignore it !
In my example I want to display a "dataItem" (Source for DD) in one of several available charts. A chart can display several data items and therefore has a list of displayableDataItems (Target DD) in its viewModel. A sketch of my UI:
(bound to                   (bound to viewmodel with list of charts
viewmodel
with list                        displayableItemsList is a property of charts
of displayItems)            and bound as Itemssource to the list)
-----------------          -------------------------------------------------------------
|displayItem1 |         | Chart 1                                                       |
|displayItem2 |         | Chart 2                                                       |
-----------------       |                     displayableItems of selected Chart        |
(drag -->)              |                    | (empty if no chart selected)           | |
                          --------------------------------------------------------

Now if a user wants to assign a dataItem to a chart he has to select the chart from a list and a control populates the displayableDataItems list. So if the user has not selected a chart this list is empty. Everything via WPF binding.
Now the user can drag drop a dataItem to the displayableDataItems to add it there.
So the working workflow is:
User --> select Chart
list displayableDataItems gets populated
User --> drag drop dataItem --> Chart.displayableDataItems
Success
not working:
User does NOT select a chart
--> list displayableDataItems is not bound to an existing ObservableCollection
User --> drag drop dataItem --> not existing Chart.displayableDataItems
==> NullReferenceException (DefaultDropHandler.cs line 94 version:07 May 2015)
This bug also exists in version <IP_ADDRESS>

@byggwir can you maybe simplify this example, so it's easier to understand what happen and easier to debug. thx!

Sorry. Overlooked the question. I have to see if I can get a working sample.

@byggwir thx


Add more UTF-8 to ImGui Glyph Ranges

To support Sunset Storm 壱 and Sunset Storm 弐 paint kits.

kinda swag

ok

Tahoma font which is used in GUI doesn't contain those characters, so they still won't appear correctly. There is also a M4A4 | 龍王 (Dragon King) skin which has chinese characters in its name.

You're right, I've noticed that. I've just created this PR as a completion. Of course, I don't expect 100 % to be merged. Can be closed when the entire issue gets fixed. Maybe you should replace the font with a more complex one.
/Steam/steamapps/common/Counter-Strike Global Offensive/platform/vgui/fonts/xarialuni.ttf, for example. Your decision, anyway.


Surface pro 6 fail to build

I have a fresh of install of nixos on my surface and tried to add the surface-pro-intel build to my system through the guidelines.
imports =
    [ # Include the results of the hardware scan.
      <nixos-hardware/microsoft/surface/surface-pro-intel>
      ./hardware-configuration.nix
    ];

However I encountered this error:
/nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin/ld: line 269: 177963 Killed                  /nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin/ld ${extraBefore+"${extraBefore[@]}"} ${params+"${params[@]}"} ${extraAfter+"${extraAfter[@]}"}
  BTF     .btf.vmlinux.bin.o
libbpf: failed to get EHDR from .tmp_vmlinux.btf
pahole: .tmp_vmlinux.btf: Invalid argument
  LD      .tmp_vmlinux.kallsyms1
.btf.vmlinux.bin.o: file not recognized: file format not recognized
make[2]: *** [../scripts/Makefile.vmlinux:37: vmlinux] Error 1
make[1]: *** [/build/linux-6.9.3/Makefile:1160: vmlinux] Error 2
make: *** [../Makefile:240: __sub-make] Error 2
error: builder for '/nix/store/ih1vbzmmpd60rwj26ks1bl5p62wiris2-linux-6.9.3.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/f68dvsfs5q4j6cxhc1npz7kqa9rf5wa1-nixos-system-nixos-24.05.2150.89c49874fb15.drv' failed to build

I have seen another issue talking about the BTF, but the situation they were in seemed a little different.
I can provide additional information if need be.

cc @stigtsp

I'm also having this same issue, and I'm also happy to help debug/test.

The message no longer seems related to BTF errors, but the build still doesn't finish.
[...snip...]
  CC [M]  drivers/net/usb/qmi_wwan.o
  CC [M]  drivers/net/usb/cdc_mbim.o
  CC [M]  drivers/net/usb/ch9200.o
  CC [M]  drivers/net/usb/aqc111.o
  CC [M]  drivers/net/usb/r8153_ecm.o
  LD [M]  drivers/net/usb/asix.o
  LD [M]  drivers/infiniband/hw/hfi1/hfi1.o
make[2]: *** [../scripts/Makefile.build:485: drivers] Error 2
make[1]: *** [/build/linux-6.9.3/Makefile:1919: .] Error 2
make: *** [../Makefile:240: __sub-make] Error 2
error: builder for '/nix/store/dl2h0r7srbdq26mv71l6dll43zylzava-linux-6.9.3.drv' failed with exit code 2;
       last 25 log lines:
       >   CC [M]  drivers/infiniband/hw/hfi1/verbs.o
       >   CC [M]  drivers/net/usb/usbnet.o
       >   CC [M]  drivers/infiniband/hw/hfi1/verbs_txreq.o
       >   CC [M]  drivers/net/usb/int51x1.o
       >   CC [M]  drivers/infiniband/hw/hfi1/vnic_main.o
       >   CC [M]  drivers/infiniband/hw/hfi1/vnic_sdma.o
       >   CC [M]  drivers/infiniband/hw/hfi1/debugfs.o
       >   CC [M]  drivers/net/usb/cdc-phonet.o
       >   CC [M]  drivers/net/usb/kalmia.o
       >   CC [M]  drivers/net/usb/ipheth.o
       >   CC [M]  drivers/net/usb/sierra_net.o
       >   CC [M]  drivers/net/usb/cx82310_eth.o
       >   CC [M]  drivers/net/usb/cdc_ncm.o
       >   CC [M]  drivers/net/usb/huawei_cdc_ncm.o
       >   CC [M]  drivers/net/usb/lg-vl600.o
       >   CC [M]  drivers/net/usb/qmi_wwan.o
       >   CC [M]  drivers/net/usb/cdc_mbim.o
       >   CC [M]  drivers/net/usb/ch9200.o
       >   CC [M]  drivers/net/usb/aqc111.o
       >   CC [M]  drivers/net/usb/r8153_ecm.o
       >   LD [M]  drivers/net/usb/asix.o
       >   LD [M]  drivers/infiniband/hw/hfi1/hfi1.o
       > make[2]: *** [../scripts/Makefile.build:485: drivers] Error 2
       > make[1]: *** [/build/linux-6.9.3/Makefile:1919: .] Error 2
       > make: *** [../Makefile:240: __sub-make] Error 2
       For full logs, run 'nix-store -l /nix/store/dl2h0r7srbdq26mv71l6dll43zylzava-linux-6.9.3.drv'.
error: 1 dependencies of derivation '/nix/store/4bjrn083aw20zm48ibapiwn4bzya5xcy-linux-6.9.3-modules.drv' failed to build

The error seems to be slightly different every time now, but always with a reference to ../scripts/Makefile.build:485 (but not always drivers). I'm watching the build more closely this time to see if it might have something to do with running out of memory. I've also added the following to my config to see if it helps at all, based on advice from https://wiki.nixos.org/wiki/Linux_kernel#Build_fails:
boot.kernelPatches = [{
  name = "debug-info-config";
  patch = null;
  extraConfig = ''
    DEBUG_INFO_BTF n
  '';
}];

The build succeeded, so I assume the issue was indeed OOM-related. I'll try building again without the DEBUG_INFO_BTF patch and see if it'll still finish if I give it enough headroom.

That worked too, so it looks like this might be resolved.


How do you pass the request object and Params into the middleware/services?

Great module... I have spent a good bit of time trying to figure out how to pass params and request object into methods of the Durable Object?
Any help would be great.
Thanks.

I spent few moments with same thing and came up with this:
import {
   [...]
  withParams,
  withContent,
} from "itty-router-extras";

[...]

router.post("/test/:id", withParams, withContent,
  async({content,DurableObject,id}) => {
    console.log(`This is ${content} with id ${id}`);
    const object = DurableObjects.get(id);
    return object.toJSON();
});

Hold on, let me dust the cobwebs off!  I know there's a way because this was obv a common use-case (have to be able to use other KV/durables from within a durable, for instance) :)

I had to shelve this temporarily (I'll be back, because I need it) for a death in the family :'(

Terribly sorry to hear that, my condolences. I will mess around with it today and try figure it out.

Post methods dont work?

Post methods dont work?
Just in example, route with withDurable - is 'get', change it to 'all' and it's will work ;)


The following content provider authorities are in use by other developers: com.imin.printer.imin_printer

Hi Teams,
I cannot release my app on google play.
Looklike your package name is duplicate with another developer.
The following content provider authorities are in use by other developers: com.imin.printer.imin_printer.
How can I fix this issue?
Thanks

This is critical issue? I think hard to change applicationId in the future.

Hi,
@pkasidit did you resolve this issue?
How can i resolve this issue?


Disky is Posting Embeds to Wrong Channels

Versions

DiSky: v4.17.2
Skript: v2.8.6
Paper: v1.20.4

Description

I don't know why this happen but I have recently updated my Disky version and it seems to be causing problems
This is my code:
function discordPostLog(msg: string, type: string, p: player):

	if {_type} is "link":

		make embed:
			set title of embed to "Link Logs"
			set author of embed to "%{_p}%"
			set description of embed to {_msg}
			set author icon of embed to "https://minotar.net/helm/%{_p}%.png"
			set embed color of the embed to green
			set timestamp of embed to now
			set footer of embed to "AFKMining"

		post last embed to channel with id "1244341058037350471"

	else if {_type} is "item-stat":

		make embed:
			set title of embed to "Stat Logs"
			set author of embed to "%{_p}%"
			add {_msg}, "New Balance: %{balance::%{_p}'s uuid%}%", "Current Tool Level: %{toolLevel::%{_p}'s uuid%}%", "Current Prestige: %{prestige::%{_p}'s uuid%} ? 0%", "Current Grade: %{grade::%{_p}'s uuid%} ? 0%" and "Multipliers: **XP** %getXPMultiplier({_p})%x ||-----|| **Money** %getMoneyMultiplier({_p})%x" to {_l::*}
			set description of embed to join {_l::*} with nl
			set author icon of embed to "https://minotar.net/helm/%{_p}%.png"
			set embed color of the embed to black
			set timestamp of embed to now
			set footer of embed to "AFKMining"

		post last embed to channel with id "1244341124462674075"

Acknowledgment

I have read the error correctly, and I'm sure it's directly a DiSky problem.
I have searched for similar bugs on the Issues tab

Does it happen every time or just at random?

Not everytime but it happens usually

Can you try using the "new" embed variable thing?
(c.f. of https://disky.me/docs/messages/simple-messages/#simple-embed-message)


Multiple Nodes

Hi, is there any example or support for multiple nodes?
I have 2 FreeRTOS tasks, each of them is hosting 1 node. Both FreeRTOS tasks are using the same U(S)ART DMA (ie: usart4).
However, when I run the micro_ros_agent on the workstation, it only detects 1 node with the following behavior :

Both nodes are correctly set up and fully functional when only 1 node is being run.
The FreeRTOS task that has the higher priority tend to be detected by the micro_ros_agent.
When hosting both 2 nodes in 1 FreeRTOS task, the first mentioned node tend to be detected by the micro_ros_agent.

Below is the "colcon.meta" which I have set the "-DRMW_UXRCE_MAX_NODES" to 2.
{
    "names": {
        "tracetools": {
            "cmake-args": [
                "-DTRACETOOLS_DISABLED=ON",
                "-DTRACETOOLS_STATUS_CHECKING_TOOL=OFF"
            ]
        },
        "rosidl_typesupport": {
            "cmake-args": [
                "-DROSIDL_TYPESUPPORT_SINGLE_TYPESUPPORT=ON"
            ]
        },
        "rcl": {
            "cmake-args": [
                "-DBUILD_TESTING=OFF",
                "-DRCL_COMMAND_LINE_ENABLED=OFF",
                "-DRCL_LOGGING_ENABLED=OFF"
            ]
        },
        "rcutils": {
            "cmake-args": [
                "-DENABLE_TESTING=OFF",
                "-DRCUTILS_NO_FILESYSTEM=ON",
                "-DRCUTILS_NO_THREAD_SUPPORT=ON",
                "-DRCUTILS_NO_64_ATOMIC=ON",
                "-DRCUTILS_AVOID_DYNAMIC_ALLOCATION=ON"
            ]
        },
        "microxrcedds_client": {
            "cmake-args": [
                "-DUCLIENT_PIC=OFF",
                "-DUCLIENT_PROFILE_UDP=OFF",
                "-DUCLIENT_PROFILE_TCP=OFF",
                "-DUCLIENT_PROFILE_DISCOVERY=OFF",
                "-DUCLIENT_PROFILE_SERIAL=OFF",
                "-UCLIENT_PROFILE_STREAM_FRAMING=ON",
                "-DUCLIENT_PROFILE_CUSTOM_TRANSPORT=ON"
            ]
        },
        "rmw_microxrcedds": {
            "cmake-args": [
                "-DRMW_UXRCE_MAX_NODES=2",
                "-DRMW_UXRCE_MAX_PUBLISHERS=10",
                "-DRMW_UXRCE_MAX_SUBSCRIPTIONS=5",
                "-DRMW_UXRCE_MAX_SERVICES=1",
                "-DRMW_UXRCE_MAX_CLIENTS=1",
                "-DRMW_UXRCE_MAX_HISTORY=4",
                "-DRMW_UXRCE_TRANSPORT=custom"
            ]
        }
    }
}

Can someone please guide me on this?

micro-ROS is not thread-safe by default. The recommended option for this use case is using a single node in a single task.

OK, here's an update.
First of all, using the same USART on 2 different FreeRTOS tasks was a bad idea to begin with. Therefore, if you have to have 2 different FreeRTOS tasks hosting 2 different nodes for some reason... better use 2 different USART port.
Or else, try multi-threading with multi-core STM32 boards.
I instead use only 1 FreeRTOS task to host everything. Still creating multiple nodes with multiple topics. The publishers are slightly delayed from each other as the number of publisher scale up. If this is what you're looking for, this is how I setup multiple nodes multiple topics (open for more examples and better suggestions 🙏 Thanks!) :
	/* Initialize micro-ROS node1 */
	rcl_node_t node1;
	rcl_allocator_t allocator = rcl_get_default_allocator();
	rclc_support_t support;

	if(RCL_RET_OK != rclc_support_init(&support, 0, NULL, &allocator)){
		printf("Failed to initialize support (line %d) \n", __LINE__);
	}
	if(RCL_RET_OK != rclc_node_init_default(&node1, "node1", "", &support)){
		printf("Failed to initialize node1 (line %d) \n", __LINE__);
	}

	/* Setup publisher1 for node1 */
	publisher_msg1.data = 0;
	rcl_publisher_t publisher1;
	if(RCL_RET_OK != rclc_publisher_init_default(
			&publisher1,
			&node1,
			ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Int32),
			"publisher1")){
		printf("Failed to create publisher (line %d) \n", __LINE__);
	}

	/* Setup subscriber1 for node1 */
	rcl_subscription_t subscriber1;
	if(RCL_RET_OK != rclc_subscription_init_default(
			&subscriber1,
			&node1,
			ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Int32),
			"subscriber1")){
		printf("Failed to create subscriber1 (line %d) \n", __LINE__);
	}

	/* Initialize micro-ROS node2 */
	rcl_node_t node2;
	if(RCL_RET_OK != rclc_node_init_default(&node2, "node2", "", &support)){
		printf("Failed to initialize node2 (line %d) \n", __LINE__);
	}

	/* Setup publisher2 */
	rcl_publisher_t publisher2;
	publisher_msg2.data = 0;
	if(RCL_RET_OK != rclc_publisher_init_default(
			&publisher2,
			&node2,
			ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Int32),
			"publisher2")){
		printf("Failed to create publisher2 (line %d) \n", __LINE__);
	}

	/* Setup subscriber2 */
	rcl_subscription_t subscriber2;
	if(RCL_RET_OK != rclc_subscription_init_default(
			&subscriber2,
			&node2,
			ROSIDL_GET_MSG_TYPE_SUPPORT(std_msgs, msg, Int32),
			"subscriber2")){
		printf("Failed to create subscriber2 (line %d) \n", __LINE__);
	}

	/* Setup executor for handling subscription callback */
	rclc_executor_t executor = rclc_executor_get_zero_initialized_executor();

	if(RCL_RET_OK != rclc_executor_init(&executor, &support.context, 2, &allocator)){
		printf("Failed to initialize executor (line %d) \n", __LINE__);
	}

	if(RCL_RET_OK != rclc_executor_add_subscription(
			&executor,
			&subscriber1,
			&subscriber_msg1,
			&subscriber_callback,
			ON_NEW_DATA)){
		printf("Failed to add subscription to executor (line %d) \n", __LINE__);
	}

	if(RCL_RET_OK != rclc_executor_add_subscription(
			&executor,
			&subscriber2,
			&subcriber_msg2,
			&subscriber_callback,
			ON_NEW_DATA)){
		printf("Failed to add subscription to executor (line %d) \n", __LINE__);
	}

Inside the infinite loop
  /* Infinite loop */
  for(;;)
  {
	  publisher_msg1.data++;
	  publisher_msg2.data++;

	  if (RCL_RET_OK != rcl_publish(&publisher1, &publisher_msg1, NULL)){
		printf("Error publishing (line %d)\n", __LINE__);
	  }

	  if (RCL_RET_OK != rcl_publish(&publisher2, &publisher_msg2, NULL)){
		printf("Error publishing (line %d)\n", __LINE__);
	  }

	  rclc_executor_spin_some(&executor, RCL_MS_TO_NS(1));
	  osDelay(1);
  }


Package name collision detected in job (upgrade from v3 to v6)

I used to have an ingestor job that has firehose, syslog and relp all together
But when upgraded to v6
I got
Started preparing deployment > Binding templates. Failed: Package name collision detected in job ingestor': template logsearch-for-cloudfoundry/ingestor_cloudfoundry-firehose' depends on package logsearch-for-cloudfoundry/logstash', template logsearch/ingestor_relp' depends on `logsearch/logstash'. BOSH cannot currently collocate two packages with identical names from separate releases. (00:00:00)
The reason is since v4, the logsearch-for-cloudfoundry include a package named as logstash. Now I have to split them into two separate VMs.

instances: 1
name: ingestor
networks:

name: ls1
static_ips:

xxxxxxx
release: logsearch
resource_pool: common
templates:

name: ingestor_cloudfoundry-firehose
release: logsearch-for-cloudfoundry
name: ingestor_syslog
name: ingestor_relp

Related to https://github.com/logsearch/logsearch-for-cloudfoundry/issues/45 no ?


Bot is not stashing gold

I let the bot run for a few hours and came back to it trying to pick up gold on the ground and its inv was full of gold. The runs I'm doing are: runs: [pit, diablo, baal, stony_tomb] and it doesn't appear to be stashing gold

it only stashes gold when stashing any other item, maybe didnt pickup anything during that time? But it's true that it should go to stash once character can not carry more gold

Just did a test, put max gold on my sorc and ran the bot. Confirmed it just tries to pick up gold over and over without actually doing anything besides attempting to get the gold on the ground. I'm including a youtube link, it may take a bit for it to process to 1080p but you can get the idea in SD format
https://youtu.be/cTiDmbDVAG4

as a temp workaround I've set my pickit to ignore gold for now on the ground

With this https://github.com/hectorgimenez/koolo/commit/8a631b4533090d7ce3a535fd6eee88e213fc647a the general idea is: character will force stash if exceedes 1/3 of the max gold. And also will skip picking up gold if character is already full, if you update your branch you can try

Also maybe we can implement the option for gambling, but honestly I never did it so not sure about what's the strategy, what kind of items are interesting, etc... even not sure if it's worth it or not

Will update and try later today. As far as gambling goes it can be worth it if pickit can be used for the items that are gambled. Is this possible?

Yes, the pickit filtering can be used for it, but how to decide the type of item you want to gamble and based on what? Maybe you are only interested in circlets and nothing else, or maybe also gloves or rings/amulets... there should be a way to define those things. As said I never did gambling before so not sure what people usually do.

circlets are super popular. Rings and amulets are popular as well because its a fast way to get them for crafting in the cube

@jik0n added basic gambling functionality, it requires to modify the config.yaml file with the latest few lines from the example file here https://github.com/hectorgimenez/koolo/blob/main/config/config.yaml.dist#L108-L113

@hectorgimenez I'm going to try to test the gold fix tonight and gambling if I have time. I noticed in the config you only have "cornet" will this also pick "circlet" as well? Also, can we put any item name we want in there or does it have to be specially coded for it?

I only tested with coronet, amulet and ring, It's the same value that you use for the .nip files on the [name] attribute, so it should work with any item. If you only specify coronet will go only for coronets, if you want circlets as well you will need to add them into the list (and remove coronets if you don't want them). What it will try to do is buy one of each and restart the loop. For example, if you have [coronet, ring, amulet] the behavior will be:

Buy one coronet
Check if passes the item filter (based on the pickit)
If not pass: sell it
Buy one ring...
Buy one amulet...
Buy one coronet...

In case it finds something that passes the item filtering, it will break the loop and proceed to stash it.


Support dashboard definition

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Need to open the wanted windows and organize them every them using advantage scope.
Describe the solution you'd like
An option to define "a dashboard" - predefined windows settings on the screen. When a user want to create a dashboard, he will organize the desired windows, in the desired location on screen of each.
You can then save/export dashboard.
Useful for two reasons:
A. You can double click on the dasboard file and it'll open all the tiles, with their correct settings, location and size.
B. You can share it between users and machines.

This is now implemented. That change stores the state of all windows (main windows and popup windows) so they are preserved by default when closing and reopening AdvantageScope. The exported layout file will also include the positions of all of the windows, rather than just the selected one as before.


[all] Test web plugins on Cirrus

Now that we have web versions of Flutterfire plugins we should launch Chrome on Cirrus and use it to run the web tests.
Here's an example of an issue that would hopefully be caught by running tests on a real browser: https://github.com/FirebaseExtended/flutterfire/pull/1487

This PR which adds firebase_core_web confirms we are now running web tests on Cirrus:
https://github.com/FirebaseExtended/flutterfire/pull/1488
Here is the output from running the web tests with --platform=chrome: https://cirrus-ci.com/task/5362653274308608


Tak/hnt 8197 create new media stream per town to store the towns image

Based on discussion, the create media stream rules are updated to support media stream creation for a space, in addition to a channel.

Lets meet and hash out details of protocol and encryption changes.

@sergekh2 i can;t merge at all. Do you have specific comments you'd like me to address?


ERR_SSL_PROTOCOL_ERROR

Hello,
first of all i would like to say a BIG THANKS for your great work!! I am using some of your add-ons for some time now. After the last update of the HA i have an issue with the add ons. When i try to open the web UI i get the ERR_SSL_PROTOCOL_ERROR error from Chrome.
I am using the DuckDNS ad on. All add ons that have the ssl option works fine. The rest like Organizr, heimdall etc are not working and i het the error message. If i connect to my HA through http (homeassistant.local:8123) the add ons work fine.
Any suggestion how to fix this?

Hi thanks for the feedback!
Would this help : https://community.home-assistant.io/t/duckdns-how-to-solve-err-ssl-protocol-error/174413/14 ?
I think it is because those addons have self signed certificates

BTW my organizr addon don't have ssl option, and I don't have a heimdall addon... Are you sure you are in the right place and this is linked to my addons? Perhaps you could have a better support if you post your issue in the HA https://community.home-assistant.io/ or the supervisor github https://github.com/home-assistant/supervisor/issues

Yes I am sure that I am using your addons. Organize is from your package. Are you using duckdns?

I'm not using duck dns, but organizr does not have ssl - it can't be accessed with https and therefore it is normal that you would have an ssl error
What I was meaning is that I only support my addons, if you issue impacts more than my addons (you mentioned heimdall) then it's better to ask for help in the general places I mentioned above


logs "claimable amount:1.75"

in the server logs show "claimable amount: 1.75", does it means the pool can claim 1.75 ?
we find that in our pool, we claimed less than the logs shows claimable amount. for example, the LOGS shows we have 10 claimable amount: 1.75, but we only recieved 2 x 1.75.

related to #231 I believe that your pool is not properly hosted or has a coding error.
as these 2 issues combined show that your pool is not claiming the reward in 2 hours as required by the protocol.


Incorrect dependencies between async chunks

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
loading async chunk X causes async chunks Y and Z to also get loaded, incorrectly. I say incorrectly because there is nothing in Y or Z which X needs to use.
If the current behavior is a bug, please provide the steps to reproduce.

I have a repo all set, ready to go
https://github.com/arackaf/booklist/tree/special/webpack-debug-final
note the branch - webpack-debug-final!!!!!
Clone and switch to that branch, go to the react-redux folder and npm install.
Also from the react-redux folder, run webpack.
Run react-redux/default.htm with your favorite editor - ie Visual Studio.  My app.js node app won't work, sadly (without a lot more work).  Note - you may get some 404's for css files missing, just ignore - they're css files built with purify as part of my build process, and shouldn't affect reproducing this bug.
If you use VS, the "Open Website" option should work fine - just open the react-redux folder as if it were its own website (which it basically is) and run default.htm.
What is the expected behavior?
After a 2 second delay, you should see the async chunk containing import('./modules/home/home') get loaded in the network tab, along with the XXXXX chunk, which has applicationRoot/components/bootstrapButton';
home has a static import to './homeComponent'.
homeComponent has import 'applicationRoot/components/bootstrapButton';
the XXXXX chunk has nothing more than 'applicationRoot/components/bootstrapButton' so the async chunk with home should pull in XXXXX and be done.
Instead the used-twice-chunk and the book-modal-helpers-chunk are also pulled down.
If this is a feature request, what is motivation or use case for changing the behavior?
N/A
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack 2.3.2.
Node 4.4.5

The repo is too complex. Could you strip it down to a simple and minimal repo?

I'll try to hack away some things and find a lower level of where it breaks.

@sokra ok, I chopped some things away as best I could.  The problem remains
after 2 seconds

home is async loaded.
stuff home does NOT need are also async loaded, as described above.

Thanks @sokra and @TheLarkInn for discussing this with me.  After looking closer at my minimal repro I found that by removing all that other stuff, I'd changed the bundles radically, such that the behavior I was seeing was now (probably) correct.
Looking back at my real code, the behavior does still appear wrong, but it's hard to know for sure.
What would be really, really useful would be a better debugging story for these chunks.  Ideally, it would be useful to see a list of all my chunk files, each showing the modules they contain, and the "reasons" why that chunk would be loaded.  ie import X from './x' in file path/to/thing.js
I know Sean told me about the --display-reasons, which I tried, but it wasn't terribly clear how to leverage that massive amount of data to find exactly what I needed.
Just a suggestion - not sure if it's been made before.  If you'd like that in a separate issue, let me know and I'd be happy to.

Actually, scratch that.  --display-reasons appears to show too little info.  It appears to show why individual modules are imported, not what each async chunk contains, and the reasons why IT (the async chunk) would be loaded in the application.


Why SetFinalizer is needed when eventLoop exit in Serve func

https://github.com/cloudwego/netpoll/blob/6a5a4f7cb79118e1152c469c1b0ac216049a28c2/netpoll.go#L60-L61
This is the only SetFinalizer in netpoll. No finalizer is defined before. Is it necessary here?

because go's gc issues. https://github.com/cloudwego/netpoll/issues/52
In fact, we just use SetFinalizer to make the evl object alive and not been GC. not clear it's finalizer.


Cost model caching

Let's start caching data so that backend response times are faster. My proposal is to start this with the aggregation api with the following goals:

[P0] let's try to be really careful about not causing regressions. My suggestion is to keep v1 of this implementation simple and err heavily on the side of missing a cache hit vs returning wrong data
Make cache short-lived, i.e. 2-5 minutes, but this is ideally configurable later
Can keep a single cache when parameters match (e.g. byNamespace, timeWindow, offset) or cache for multiple aggregations (e.g. namespace, label, etc.)
I think just starting with namespace caching could be easiest

We can start with a simple cache that just uses the url parameters on the aggregateCostModel endpoint as keys
and invalidates based on a TTL. go-cache seems to support something like this out of the box
I'd also suggest a parameter to disable the cache and a parameter to clear the cache for debugging.
Once that's working, as a later step we can think about what timeWindows we might want to precompute/how to warm up the cache.

Marking this as closed, lots of great work here :)


Support  HuggingFace mirror in download

use HF_ENDPOINT environment to set HuggingFace mirror, can speed up download resource when you have bad network access HuggingFace
e.g. use https://hf-mirror.com/ can speed up download resources in China mainland

@lawrence-cj


🐍🧔 Python example of Beard legislation

closes #1

Can we get a README in the python directory with instructions on how to run the tests? Doesn't have to be long, but that's what I've been doing for the others


Proxy isn't turn off when user restart computer in Windows

Description
If the user restarts the computer without closing the app, the proxy is still on and the app is off. So users can't access the internet.
Expected Behavior
The proxy should turn off.
Current Behavior
The proxy is still on.
https://user-images.githubusercontent.com/77295189/180111967-f5fd17ce-581c-46a7-851f-cfb5cfbade02.mp4
Steps to Reproduce

Run the electron app.
Restart the computer.
Check proxy settings when the computer opens again.

How to fix
You can check this link

After searching and implementing follow ElectronJS docs, I conclude that feature support listens to even shutdown events on Windows hasn't merged yet in this link .
The API EletronJS provides at the moment can't use to turn off proxy. Please check this link and this and this
I have tried with process.on('exit') but it doesn't work.


Cannot use TCG\Voyager\Facades\Voyager as Voyager

we facing error:
Cannot use TCG\Voyager\Facades\Voyager as Voyager because the name is already in use
Solution:
Remove "use TCG\Voyager\Facades\Voyager;"  (you no need to declare because both files are in same directory)
or
use as " use TCG\Voyager\Facades\Voyager as NewAlias; "

I don't understand what the issue is or how this fixes it. As mentioned in the comments, the use statement is definitely needed.

@fletch3555 I am facing this error when running the test suite of v1.1. Strange..

Ah, I see the problem.  Yeah, can't use ......\Voyager because [currentNamespace]\Voyager already exists.  Removing it isn't correct, but you CAN rename it (use TCG\Voyager\Facades\Voyager as VoyagerFacade)

Actually since Voyager is in the same namespace there is no need for the use statement and can (/should?) be removed.

@MrCrayon, it's not in the same namespace though.  The service class used by the facade is; but the facade itself is not

@fletch3555 my bad, I need another coffee :grinning:
Then yes using VoyagerFacade is the right thing.

Closing in favor of #3082


Write a Java program to find area of a rectangle

Description
Write a Java program to find area of a rectangle
Area of rectangle = Length × Width
Length : 2
Width  : 3

Area : 6

How to contribute

Save the solution in program/FindAreaOfARectangle.java file
Add FindAreaOfARectangle.java file in find-area-of-a-rectangle folder

!assign


WIP: CXPUI-23 - most popular list guided install card

JIRA ticket:
https://newrelic.atlassian.net/browse/CXPUI-23
Description:
Fixed the UI of "Guided Install card" on most popular list
Old:

New:

created a responsive "Guided install card" component to get positioned in most popular list.


The version 1.4.1 cannot deploy contracts properly.

The version 1.4.1 cannot deploy contracts properly.  tact.config.json
{
"name": "ExampleJettonMaster",
"path": "./src/contracts/jetton_example.tact",
"output": "./src/output",
"mode": "fullWithDecompilation",
"options":{
}
},
deploy ts code:
let packed_msg2 = beginCell()
.store(
    storeJettonMint({
        $$type: "JettonMint",
        origin: deployer_wallet_contract.address,
        receiver: deployer_wallet_contract.address,
        amount: supply,
        custom_payload: beginCell().endCell(),
        forward_ton_amount: 0n,
        forward_payload: beginCell().endCell().asSlice(),
    })
)
.endCell();

await deployer_wallet_contract.sendTransfer({
    seqno,
    secretKey,
    messages: [
        internal({
            to: jettonMaster,
            value: deployAmount,
            init: {
                code: init.code,
                data: init.data,
            },
            body: packed_msg2,
        }),
    ],
});

It runs properly in versions below 1.4.0.

Thank you for reporting.

Could you please clarify what "versions below 1.4.0" means? Does it include 1.4.0 or not?

What exact error message do you see?

Please link a repository with a reproducible example, so we could try running something like npx blueprint deploy to see the issue.

Thank you for reporting.

Could you please clarify what "versions below 1.4.0" means? Does it include 1.4.0 or not?
What exact error message do you see?
Please link a repository with a reproducible example, so we could try running something like npx blueprint deploy to see the issue.

Could you please clarify what "versions below 1.4.0" means? Does it include 1.4.0 or not?
I used the following code to deploy the contract. It could be deployed successfully in versions below 1.4.0. In version 1.4.0, adding the "mode": "fullWithDecompilation" property allows it to deploy successfully. However, in version 1.4.1, it fails to deploy.
https://github.com/howardpen9/jetton-implementation-in-tact

@lanlingxiawu We just released a dev version of Tact (next tag on NPM) that is supposed to fix this issue. Could you please try it and check it does indeed resolve your issue?
<EMAIL_ADDRESS>Here are some instructions on how to use the next version of Tact: https://github.com/tact-lang/tact/wiki/Using-unreleased-versions-of-tools-early#dev-versions-of-tact-with-blueprint

actually, it's easier to install that Tact version like so:
yarn add<EMAIL_ADDRESS>

Thank you, using the development version did indeed allow the contract to be successfully deployed.

Perfect! Thank you so much for trying it out and closing the issue, really appreciate it

@lanlingxiawu Btw, we just release Tact v1.4.2 with that fix and even more.


Load More while keeping existing elements in place.

It would be awesome if I could use slick in lazy load mode,  and have a load more button that will load more elements/slides with out removing the existing elements/slides. is this possible ?

.slick("slickAdd") from the readme :)

Awesome,
I have two rows of 6 visible elements (grid layout)
When I click, load more I would like 2 more rows to show up underneath, and so on
$('.thebooks').slick({
lazyLoad: 'ondemand',
rows:2,
slidesPerRow:6,
slidesToScroll: 1,
});

can you share any insight on achieving this with slick ? In my case the slides are already loaded in a carousel form.


fix compile fails with asan and -Wredundant-decls

If compile with asan, unaligned_access.h redeclares the same sanitizer
function with sanitizer/common_interface_defs.h.
This patch removes these declarations, and includes sanitizer header
file to avoid this warning.

@googlebot I signed it!

googlebot is having trouble associating the CLA you signed with the email under which the commit was committed (@smartx.com).  Can you please adjust the commit or (if possible) sign the CLA with that account too?
Here's the text from https://cla.developers.google.com/ in case it does a better job explaining than I have:

This page says I signed the CLA, but I was notified that a CLA couldn't be found.
Ensure you submitted your contribution using one of the email addresses associated with the account you're signed in to and/or using the GitHub username you provided us with when you signed the CLA. This is how we match your submission with your CLA.

@googlebot I signed it!

@googlebot I signed it!

ا


iOS TimePicker - default date actually return the launch date

Environment
System:
OS: macOS 11.1
CPU: (20) x64 Intel(R) Core(TM) i9-10910 CPU @ 3.60GHz
Memory: 1.48 GB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.19.0 - ~/.volta/tools/image/node/12.19.0/bin/node
Yarn: 1.22.5 - ~/.volta/tools/image/yarn/1.22.5/bin/yarn
npm: 6.14.8 - ~/.volta/tools/image/node/12.19.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms
iOS
Versions
10.0.0
Description
When using the time picker using an interval (for example 30 minutes), whenever the user clicks "OK" without changing the date, it return the locally cached time.
For a DatePicker it's usually not a problem (unless the user starts the app at 11.45 PM and launches the picker at 0.10 AM the next day for example, but it's a edge case) but for the TimePicker it is because it doesn't return the correct hour.
One solution would be to generate a new date whenever the modal opens up. In the case of the time picker on iOS, we'd need to draw an algorithm that generate the closest date using the current time and the interval as a constraint. It seems this bug is deep inside the iOS picker itself.
Reproducible Demo
Something as simple as this should do.
<DateTimePicker
        isVisible={visible}
        onConfirm={confirm}
        onCancel={close}
        mode={"time"}
        date={(variant === "start" ? props.start : props.end) || undefined}
        minuteInterval={30}
        locale={"fr_FR"}
        confirmTextIOS={"Confirm"}
        cancelTextIOS={"Cancel"}
        headerTextIOS={"Choose an hour"}
        minimumDate={variant === "end" && props.start ? props.start : undefined}
        maximumDate={variant === "start" && props.end ? props.end : undefined}
      />

Hey @rewieer ! :D
Can't test it now, but I'm wondering...

but for the TimePicker it is because it doesn't return the correct hour.

Does the returned value not match what is shown in the UI?

Hey :D
That is the problem, the date returned is the one that is generated when the component is mounted. Looks like on iOS, clicking "OK" without selecting anything (using the default) return whatever was left before.
But if I change from, for example, 2:30 to 3:00, confirm, then go back to 2:30, there it works. Will investigate more and eventually submit a PR :)

I'm getting the same issue.

I am having the same issue but resolved by the below code
<DateTimePickerModal
isVisible={isDatePickerVisible}
mode={containsTime ? "datetime" : "date"}
minimumDate={new Date().setMinutes(
new Date().getMinutes() + 5
)}
date={new Date().setMinutes(new Date().getMinutes() + 5)}
display="spinner"
onConfirm={handleConfirm}
onCancel={hideDatePicker}
/>

Returning one day less on IOS but working fine on Andorid.

Basically It's returning time in 24 hours format .
So this is how I handled it.

<DateTimePickerModal
isVisible={this.state.showDate}
mode={"time"}
onConfirm={this.onChangeDate}
onCancel={this.hideDatePicker}
date={new Date()}
minuteInterval={1}
/>

below is my onChangeDate function where I handled this issue.
  onChangeDate = (text: any) => {
    let hours = parseInt(JSON.stringify(text).slice(12, 14)) - 6;
        let minutes = parseInt(JSON.stringify(text).slice(15, 17)) - 30;
        console.warn("befor", hours, text);

        if (minutes < 0) {
          hours = hours - 1;
          minutes = 60 + minutes;
        }
        if (hours < 0) {
          hours = 24 + hours;
        }

        if (hours > 12) {
          hours = hours - 12;
          console.warn(`Time is => ${hours}:${minutes} AM`);
        } else {
          console.warn(`Time is => ${hours}:${minutes} PM`);
        }
    this.hideDatePicker();
 }

Now It's Working fine.

Having the same issue. Any updates on this?

Returning one day less on IOS but working fine on Android.

I have the same issue. How do I fix it?

Hi @ancyrweb we are still facing this issue, please let us know if you are still planning to fix this.
Thank you for this amazing library, by the way much appreciated


path error initializing

Hello
# import the package
from mt5linux import MetaTrader5
# connecto to the server
mt5 = MetaTrader5(
     host = 'localhost',
     port = 18812
)

path = '/home/f30x/.mt5'
if not mt5.initialize(path = path, login=1135454, server="VantageFXInternational-Live",password="xtsV25h2") :
    print("initialize() failed, error code =",mt5.last_error())
    quit()

initialize() failed, error code = (-10003, "IPC initialize failed, Process create failed '/home/f320x/.mt5'")

The path is giving error, already tried 3 different paths, do you know how can i gather the right one ?

Solved it, needed to search on hidden items.

If solved, please close the issue.


Hotfix/promrank1

Codecov Report

Merging #28 (8ec7ed1) into main (3beba65) will decrease coverage by 0.15%.
 Consider uploading reports for the commit 65b1eb0 to get more accurate results

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   53.80%   53.64%   -0.16%
==========================================
  Files          15       15
  Lines         723      727       +4
==========================================
+ Hits          389      390       +1
- Misses        334      337       +3

Flag
Coverage Δ

unittests
53.64% <25.00%> (-0.16%)
:arrow_down:

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

Impacted Files
Coverage Δ

fuzzup/fuzz.py
95.57% <25.00%> (-2.59%)
:arrow_down:

Continue to review full report at Codecov.

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


Actions launched from a server ready action in compound launch configs don't honor the stopAll flag

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.71.2
OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

Create a compound launch configuration with "stopAll": true  where one of the configs includes serverReadyAction
Launch a debug session with this configuration
Press the stop button

Expected: All sessions stop
Actual: The sessions enumerated in the compound configurations stop, but the session launched under serverReadyAction does not. The user must click stop twice for all sessions to cease.

My launch config:
{
  "version": "0.2.0",
  "compounds": [
    {
      "name": "Debug app",
      "configurations": ["Django", "Vite"],
      "stopAll": true
    }
  ],
  "configurations": [
    {
      "name": "Django",
      "type": "python",
      "request": "launch",
      "program": "${workspaceFolder}/manage.py",
      "args": ["runserver"],
      "django": true,
      "justMyCode": true,
      "presentation": { "hidden": true },
      "cwd": "${workspaceFolder}",
      "serverReadyAction": {
        "pattern": ".*(https?:\\/\\/\\S+:[0-9]+\\/?).*",
        "uriFormat": "%s",
        "action": "debugWithChrome"
      }
    },
    {
      "name": "Vite",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "dev"],
      "presentation": { "hidden": true },
      "cwd": "${workspaceFolder}"
    }
  ]
}

Video demonstrating the behavior:
https://user-images.githubusercontent.com/356814/194767649-e8ce11fa-1649-414a-bb6c-1ea277f58e1d.mp4

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.72.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I just upgraded to 1.72.0 and the issue is unchanged.

"stopAll" isn't really related here - normally, there is no relationship between the server and browser debug session. But it might make sense to stop the browser session when the server session is stopped.
We could try starting the browser session as a child of the server session, I don't think a child is automatically stopped when a parent is stopped though. The debug-server-ready extension could watch for the server session to end, and then manually stop the browser session. There might be some valid case when you want to keep debugging the browser after the server has terminated, so there could be an option for this too.
Thoughts @connor4312?

I don't think having a child session is a good thing, but we could have the debug-server-ready extension monitor the state as you suggest. I think that would be fine.

Whatever you folks think is best works for me. I've sidestepped the issue for now by just adding a third debug config that launches a browser, but it isn't quite as slick as using serverReadyAction since the browser launches and waits. I also can't parse out the URL this way like serverReadyAction, I have to hardcode it, which isn't ideal for long-term maintenance.

@roblourens @connor4312 Do you think introducing a new property in serverReadyAction is a good idea? something like killOnServerStop:
{
  "serverReadyAction": {
    "pattern": ".*(https?:\\/\\/\\S+:[0-9]+\\/?).*",
    "uriFormat": "%s",
    "action": "debugWithChrome",
    "killOnServerStop": true
  }
}

That would make sense to me. I don't have time to work on it right now but would take a PR

@roblourens I'll submit a PR.

@roblourens Just submitted the PR for you to check it whenever you had time.


Remove metrics service on the README services list

What's the motivation here?

@wtrocki There is no Metrics module anymore. Metrics service was moved to Core module


Home check

checking if you are at home via mobile device.
Checking via entering and quitting WiFi.

fixed by home-check-ping branch merge?


add adjuster

Add adjuster to this app
We want to take the me of the last 7 days and create a new model with this adjusted values

[x] add to forecast
[x] openclimatefix/india-api#97
[x] openclimatefix/analysis-dashboard#212

Api needs >0.1.47
dashboard > 01c8259


[CAMEL-20969] k8s plugin may generate conflicting docker build depend…

…encies
Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Some commands use the comma delimited array, some use the String array option. We should aim to consolidate this, too.
I personally like the String array option much better, because it gives you the opportunity to have --dependency ABC --dependency XYZ  compared to --dependencies ABC,XYZ

Let's merge this one and iterate on improvements


Enable Logging

Is there a way to enable some form of logging so I can maybe get an understanding of why this is not working for me with Neovim?

You might want to check connnection.console.log.


System floors down quantity value

For eg. if quantity is like 0.1 , system floors it to 0.00 and hence rejects the order.
If quantity is like 1.02 , system floors it to 1.00 and accepts order with value 1.00
Is there any way to speciify precision for quantity value?

Hi @SachinSPawar! Note that the trading system operates in terms of the minimum price and quantity increment. Other applications, such as the stock ticker, are then configured to convert between this representation and decimal numbers.
In the example configuration for the stock ticker, the instrument AAPL is configured to display with no decimal digits for quantities and the instrument ETH-BTC is configured to display with 3 decimal digits for quantities.
I hope this helps!


how to use just the 'day overview'

great charts!
is there any way i can use just the 'day overview' ?
thanks :)

Hi there, thanks! You can select the overview that is shown by default setting it as a prop on the component overview={'day'}, see this function for options/ reference: https://github.com/g1eb/reactjs-calendar-heatmap/blob/master/src/calendar-heatmap.component.js#L124
Alternatively, if the only overview you need is the daily one, you could fork the repo and remove all the click handlers that are attached to the other overview, should be fairly straightforward to be honest, let me know if you need help with that.

Closing due to inactivity, feel free to reopen if still relevant


Add tests using themis on github actions

💪 Summary

fix #80

Added tests using themis on github actions.
Currently, only the function for getting gh cli token is tested.

🏁 Goals

Add test suite for CI
Test token registration

@skanehira
Added cases without gh and with g:gh_token.


Update: ModuleArt.QuickPictureViewer version 2.2.6

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


RuntimeError: Handle Panda does not exist.

when I run command:  bash scripts/gen_demonstrations.sh close_jar, Some problems appear.
File "/home/fy/Downloads/GNFactor/third_party/PyRep/pyrep/backend/sim.py", line 94, in simGetObjectHandle
raise RuntimeError('Handle %s does not exist.' % objectName)
RuntimeError: Handle Panda does not exist.
It may be a problem from PyRep, but I don't know how to solve it.

I'm also having this error, Did you fix it?

I'm also having this error, Did you fix it?


Implement tabset

fixes #202

Pull Request Test Coverage Report for Build 887

38 of 52 (73.08%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.3%) to 77.821%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/Tabset/index.js
17
31
54.84%

Totals

Change from base Build 879:
-1.3%

Covered Lines:
490

Relevant Lines:
608

💛  - Coveralls


Make build-doc-deps fails on 1.0.4

$ make build-doc-deps
/Library/Developer/CommandLineTools/usr/bin/make -C /Users/j/Projects/cowboy/deps/ezdoc
Makefile:6: *** target file `docs' has both : and :: entries.  Stop.
make: *** [build-doc-deps] Error 2

Yeah ezdoc has not been updated. I switched to Asciidoc some time ago for 2.0, and focusing all my efforts on that. Will see if 1.0 gets more love down the line.

This one at least is fixed. Thanks!


Removing a TeamUser does not remove SharePoint Online permissions.

Whether using PS or the Teams client, removing a member from a Team will only remove the team from the previous member's list of Teams.
However, the user is still able to access the SPO site and all contents even though they are not actually a member of the team anymore.

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

ID: b8d16f25-be6f-06eb-2cd7-9e64eab124e0
Version Independent ID: a8181f1a-e575-410a-d5a4-0214c427b92d
Content: Remove-TeamUser (teams)
Content Source: teams/teams-ps/teams/Remove-TeamUser.md
Service: teams-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

@evandimsby - thank you for the feedback on this cmdlet. I know it takes time to submit an issue or create a pull request as you are gaining the knowledge learning and using the products. And I appreciate it.
This issue list is for the docs and we don't have a way to provide any type of support. We read every issue and always want to do anything we can to help. It does seem like a bug or something weird going on because it doesn't make sense that if a user was removed from the team that they should still be able to access the SPO of the team. Or if it is something by design it is definitely confusing and we need to update the docs around this area.
You can open a support ticket in the admin center of your tenant and they can determine right away what is going on and escalate to the appropriate product team. I know the product team listens to all feedback and I wish I had a better way to open these bugs but I don't have the experience or resources of the support engineers so I think that would be the best route.
Some things I have noticed with Teams is that a change can take a long time, up to 24 hours, to propagate on things. I don't know if that could be the case but support engineering would know.
I think we will need to update this reference article at any rate and add better information once we get this figured out. I will also ping a contact I have on the Teams product group in parallel (and support can open an official channel and escalate for you immediately so that is always the better route).
If you wouldn't mind keeping me in the loop I would really appreciate it. Also, if you are interested in contributing to the docs and sharing your knowledge I can guide you on submitting a Pull Request and will get it validated and merged.

I also found this one in User Voice and up voted it.. https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/37649128-deleted-member-still-on-my-sharepoint

I also found this one in User Voice and up voted it.. https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/37649128-deleted-member-still-on-my-sharepoint

Good find! I voted on it, too. I would imagine once more people start noticing this loophole that it should get attention fairly quickly. I did open a support request and the techs were rather puzzled. Even as Global SP Admin, i cannot actually view the memberships of SPO groups that are created via Teams, and therefore, not able to verify/revoke the access.

@officedocsbot assign @yogkumgit

Hi folks,
When a user is removed from a Microsoft Team, they are removed from the Office 365 Group which also governs access to the SharePoint Online site.
However, SharePoint Online also has it's own ACL controls via the way of direct assignment, sharing links, and SharePoint Groups (which may have the user directly added or nested via an Azure AD security group, mail-enabled security group, or Active Directory synchronized security group). Removing the user from the Office 365 Group does not impact these forms of access control, thus the user may continue having access to the SharePoint Online site.
If the Office 365 Group (Team) is Public, the user may also re-add themselves at any time which would in turn give them access to the SharePoint Online site with Edit rights.

This should absolutely be addressed as its own issue, and goes much further than being a simple documentation issue. This is a huge problem. This creates a false sense of security, that a user was properly removed from accessing a Sharepoint site. @kenwith can this be escalated to appropriate teams?

@LinkMJB, @tseward's comment is correct. Because SharePoint has it's own permission model outside the scope of Teams, it's possible for users to have SharePoint site or direct file permissions that aren't related to the site's relationship with a team. You can limit this by [changing who can share files, folders, and the site[(https://support.microsoft.com/office/94b26e0b-2822-49d4-929a-8455698654b3).


Access login and group in admin page advanced tab missing

It would be nice to have access.site.login and access.groups in default page blueprint in order to give access or not to a page.

I don't see any reason for this to be in this plugin. Seems totally unrelated. This plugin doesn't manage access permissions.

I don't see any reason for this to be in this plugin. Seems totally unrelated. This plugin doesn't manage access permissions.

True. Anyway this will disappear with next grav releases. Hope we'll have better user and access managements as core plugins.

True. Anyway this will disappear with next grav releases. Hope we'll have better user and access managements as core plugins.


Player overlay badge

Make a custom name for players on your friends list ( ex. Cow killer 1337 shows up as Adam )

Might help #2443

If it is solveable by friend notes, is this request still valid?

Sure
On Sat, Jul 14, 2018 at 10:18 AM Tomas Slusny<EMAIL_ADDRESS>wrote:

If it is solveable by friend notes, is this request still valid?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/runelite/runelite/issues/4230#issuecomment-405029904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Al6Yv9qf7ud0yy3GkxM3wC6Zs0oPJjssks5uGgvTgaJpZM4VGnEM
.


🎨 Updated uuid to crypto.randomUUID()

I noticed that Ghost only uses UUID version 4, so installing the uuid library unnecessarily increases the project size.
I think it should be replaced with crypto.randomUUID(). What do you think?

@stevejubx Why did you close this PR?


Mark root as conflicting with root5

root and root5 can't be installed in the same environment so they should be marked as conflicting in the meta.yaml.
The old root binaries should be marked as broken or have their metadata patched in conda-forge-repodata-patches-feedstock to ensure the solver doesn't pick an old build.

Is root 5 maintained? I don't thing it's working in the new stack. Would be nice if it was. Agree should the conflict mark.

Is the root 5 conda package maintained?

It's only a year old but yeah I didn't realise it hadn't been migrated.

It also has several issues, hardcoded number of threads in build, is Python 2.7 only, etc. I've added an exclusion but hopefully no one will try to use both.
I'll make a PR once conda-forge-pinning is updated.


How to implement download image from Firebase storage url in flutter web?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
final islandRef = storageRef.child("images/island.jpg");

try {
  const oneMegabyte = 1024 * 1024;
  final Uint8List? data = await islandRef.getData(oneMegabyte);
  // Data for "images/island.jpg" is returned, use this as needed.
} on FirebaseException catch (e) {
  // Handle any errors.
}

I tried but didn't work well.
Proposal
Error: XMLHttpRequest error.
I got error like this.

See this section of the firebase_storage_web documentation https://pub.dev/packages/firebase_storage_web#downloading-files-with-getdata.
Closing from here as this is not a flutter issue. If you run into any more issues with firebase, please report it on their repo.
Thank you


same pr

@j9t this is exactly the same PR that you approved. i want to merge it and check in production because on local the problem never happens. i think that the sidebar problem was caused by the problem i added in the email but i want to investigate and to be sure


[QUESTION] Can't find longhorn volume. How to troubleshoot?

Question

Suggest to use https://github.com/longhorn/longhorn/discussions to ask questions.

Environment

Longhorn version: latest
Kubernetes version: 1.21
Node config

OS type and version Ubuntu
CPU per node: 4
Memory per node: 8
Disk type NVMe
Network bandwidth and latency between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):

Additional context
Can't find longhorn volume. How to troubleshoot this?
This is my error:

  Type     Reason              Age                    From                         Message
  ----     ------              ----                   ----                         -------
  Warning  ProvisioningFailed  4m31s (x242 over 64m)  persistentvolume-controller  storageclass.storage.k8s.io "longhorn-volumes" not found

It seems like the StorageClass longhorn-volumes does not exist.
How do you deploy the Longhorn volume, via yaml right?
You could check some yaml examples here.
Besides that, it'd be good if you could specific which Longhorn version you're using, not the latest :wink:

@jenting Thanks. I solved the issue. It was not an issue of percona.

The PVC and PV created via Longhorn GUI are using a non-existing StorageClass name. This name is controlled by setting Default Longhorn Static StorageClass Name and the default value is longhorn-static. Then if you want to directly use this PVC/PV in a workload, you need to:

either create a StorageClass with the name. In your case, the name should be longhorn-volumes.
or you can modify the setting to an existing Longhorn StroageClass name, then recreate the PVC and PV for the volume.

In general, Kubernetes relies on StorageClass to dynamically provision/delete or attach/detach a volume. If you are not familiar with StorageClass, you can refer to the related official docs first:
https://kubernetes.io/docs/concepts/storage/storage-classes/