esp32c6 cannot join Zigbee network (IDFGH-11535)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I'm not able to join the Zigbee network. I have tried several demos, my own code, and different coordinators.
Here is a summary:
An end device (esp32c6) is trying to join the network. I'm using HA_on_off_light demo code, but also my own code or different examples behave the same. Here is a typical log example from the end device:
I (385) gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (385) phy_init: phy_version 230,9f68e96,Oct  8 2023,10:40:34
I (435) phy: libbtbb version: 90c587c, Oct  8 2023, 10:41:21
I (435) main_task: Returned from app_main()
I (445) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (445) ESP_ZB_ON_OFF_LIGHT: Zigbee stack initialized
I (445) ESP_ZB_ON_OFF_LIGHT: Start network steering
I (19995) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (20005) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (41755) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (41765) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (63525) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (63535) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (85295) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (85305) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (107035) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (107045) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (128795) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (128805) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (149465) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (149475) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (171215) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Leave (0x3), status: ESP_OK
I (171225) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (213995) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (256795) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)

It starts the network steering, and then it fails.
On the other end I was using HA_on_off_switch demo code flashed to the another esp32c6 and Sonoff Zigbee Bridge (flashed with Tasmota) + Home Assistant.
The HA_on_off_switch gives out such log:
I (469) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Config Ready (0x17), status: ESP_OK
I (469) ESP_ZB_ON_OFF_SWITCH: Zigbee stack initialized
W (469) ESP_ZB_ON_OFF_SWITCH: Network(0x2c26) closed, devices joining not allowed.
I (479) ESP_ZB_ON_OFF_SWITCH: Start network formation
I (479) ESP_ZB_ON_OFF_SWITCH: Formed network successfully (Extended PAN ID: 15:d3:78:6f:29:6d:90:4a, PAN ID: 0x2c26, Channel:13, Short Address: 0x0000)
I (1089) ESP_ZB_ON_OFF_SWITCH: Network(0x2c26) is open for 180 seconds
I (1089) ESP_ZB_ON_OFF_SWITCH: Network steering started
I (20909) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
I (22759) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Update (0x30), status: ESP_OK
I (22759) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
I (41489) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
I (44669) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Update (0x30), status: ESP_OK
I (44669) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
I (63249) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
I (65849) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Update (0x30), status: ESP_OK
I (65849) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
I (85029) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
I (87769) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Update (0x30), status: ESP_OK
I (87769) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK

It means that the end device connects to the network, the coordinator permits access, but then the end device fails. The same was happening with the Tasmota as well.
I'm using the latest version of IDF and libraries.
Both devices are about 20cm apart from each other.
No matter what I do, the end device cannot join the network. I have spent on this three days already.

The production config was missing from the chip and it was logging I (445) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I flashed missing information, now it does not report problems I (465) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Config Ready (0x17), status: ESP_OK
But that does not help, the device cannot join the network.

Attaching debug logs from the end device.
I see there messages like this one:
ZBOSS: zdo/zdo_app.c:595   Have not got nwk key - authentication failed
Also, there are warning messages:

0x42034bf6: zb_multimac_mlme_reset_request_proxy_send_req at nwk_multimac_proxy.c.obj:?
0x42035310: zb_multimac_mlme_set_request_proxy_send_req at nwk_multimac_proxy.c.obj:?
0x42035310: zb_multimac_mlme_set_request_proxy_send_req at nwk_multimac_proxy.c.obj:?
...

detailed-logs.txt

Looks like the Production Config I was writing to the chip was not correct.

@valdisz Do you remember exactly what you did with production config? I have the same problem:
I (14400) ZBOSS: commissioning/bdb/zdo_commissioning_bdb.c:349   dev type 2, joined 0, ext_pan_id 0, authenticated 0, tclk_valid 1 I (16800) ZBOSS: nwk/nwk_join.c:293   Will assoc to pan 0x42c9 on channel 11, dev 0x0, iface_id 0 I (17310) ZBOSS: mac/mac_associate.c:448   received association response I (17320) ZBOSS: zdo/zdo_app_join.c:771   CONGRATULATIONS! joined status 0, addr 0xc14, iface_id 0, ch 11, rejoin 0 I (17320) ZBOSS: zdo/zdo_app_join.c:773   xpanid 29:d2:c5:99:8a:76:c1:bc I (27370) ZBOSS: zdo/zdo_app.c:595   Have not got nwk key - authentication failed I (27370) ZBOSS: nwk/nwk_main.c:4409   zb_nwk_do_leave param 15 rejoin 0 I (27370) ZBOSS: common/zb_address.c:1063   zb_address_delete ref 17
I followed the mfg_tool example on https://github.com/espressif/esp-matter/tree/208ffca11d74517a864ada9ac900971655075493/tools/mfg_tool
but I still get the same result.

@JanneMantyharju I have not solved this; thankfully, in my case, that does not stop devices from functioning. Of course, you cannot go to the real production like that.

Looks like the Production Config I was writing to the chip was not correct.

@valdisz can you please elaborate on Production Config. For me it is not at all pairing...


adding pixel

Pixels!

Checklist

[ ] I ran npm test locally and it passed without errors.

[ ] I only edited the _data/pixels.json file.

[ ] I entered the username in the pixels.json that I'm also using to create this pull request.
[ ] I acknowledge that all my contributions will be made under the project's license.

Oops. Updated.


Add pacer to routine

Used for keeping the pace of a certain routine at a certain FPS even if the routine could run faster, so to not put too much on other parts of the pipeline. For example, if the routine is reading frames from a video file, we want  to set its pacer at 30 frames per second to slow down the stream of frames so it won't cause the rest of the pipeline to crash.
The pacer should be optional, and take into account the mean latency of the routine as well as the possible fluctuations. It could be added to a routine by using the add event handler.
The pacer is not responsible for dropping frames in case of growing latency, that should be another feature.

comment

Your'e welcome :)


org settings: Remove redundant lines for disabling non-existent check…

While reviewing #10358 I found this.

@shubhamdhama can you explain how these lines are redundant?

I've expanded the commit message:
In commit c293bb8 we changed id_realm_invite_by_admins_only and realm_invite_required checkboxes to a single dropdown so these lines are redundant now.

Ahh, makes sense, merged, thanks @shubhamdhama!


Is there any possible to update Restkit AFNetworking to 2.x or 3.x

Dear Author:
I wondered how long our project Restkit will ues AFNetWorking 2.x or 3.x instead of 1.x
it use 1.x for long years
Thank you for you reply

There are other issues open about this


TypeError: Cannot read property 'push' of undefined

Open the workflow page and try to filter by label:
TypeError: Cannot read property 'push' of undefined
    at http://localhost:8080/main.3cfef717cae1429b490c.js:348152:39
    at Array.forEach (<anonymous>)
    at WorkflowsList../src/app/workflows/components/workflows-list/workflows-list.tsx.WorkflowsList.changeFilters (http://localhost:8080/main.3cfef717cae1429b490c.js:348150:24)
    at Object.onChange (http://localhost:8080/main.3cfef717cae1429b490c.js:348062:46)
    at Object.onChange (http://localhost:8080/main.3cfef717cae1429b490c.js:346729:41)
    at TagsInput../src/app/shared/components/tags-input/tags-input.tsx.TagsInput.onTagsChange (http://localhost:8080/main.3cfef717cae1429b490c.js:343647:24)
    at Object.onSelect (http://localhost:8080/main.3cfef717cae1429b490c.js:343607:31)
    at Autocomplete.<anonymous> (http://localhost:8080/main.3cfef717cae1429b490c.js:239509:22)
    at callCallback (http://localhost:8080/main.3cfef717cae1429b490c.js:256661:12)
    at commitUpdateEffects (http://localhost:8080/main.3cfef717cae1429b490c.js:256700:7)

Fixed in #3555.


Huestacean not working

So I just installed it and clicked "start sync" and nothing happened. The window above flashes lights but the "frame read" is at 0ms.
I installed the latest version, reinstalled C++ and have Windows 10 with Gen 2 Hue bridge. Any help would be appreciated.

If you happen to be talking about the looping of solid colors for the screen preview, I get that when I have the wrong display adapter running the program. If your system has multiple graphic devices, trying all of them may help.

I am using a laptop so I only have one display adapter. The program
identifies my hue bridge and entertainment area but it wont sync my lights.
Any other advice?
On Thu, Mar 15, 2018 at 3:14 AM, Aomi<EMAIL_ADDRESS>wrote:

If you happen to be talking about the looping of solid colors for the
screen preview, I get that when I have the wrong display adapter running
the program. If your system has multiple graphic devices, trying all of
them may help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BradyBrenot/huestacean/issues/51#issuecomment-373282997,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ajp8yRUWmMQ5H5B7ZMkMGCONb76mk54cks5tehTygaJpZM4SrV9o
.

--
Karthik

Im having the problem Aomi mentioned....but I do have 2 video cards and 6 monitors connected. I tried both cards and all the monitors I cant get it to not loop solid colors.

I have the same issue, using Windows 7 64 bit.  I get 0 frames just a flashing blue box.
I do only one card, hdmi to an amp and them passthrough to TV?


No UUID affected to WSL instances

Is your feature request related to a problem?
Yes, this is related to a little problem indeed. I work on GLPI-Agent an inventory agent for GLPI to support WSL. We rely on some hardware informations to make accurate inventory assumption. On linux, these informations can be obtain from /sys/class/dmi/id or by running dmidecode. The most important one is probably UUID and
Describe the solution you'd like
It would be nice to be able to get UUID from registry on host side and from /sys/class/dmi/id/product_uuid on wsl side. A clear product_name would also be nice so we can be sure we are running under WSL. A serialnumber could also be nice.
Describe alternatives you've considered
Actually I implemented a WSL support for GLPI-Agent. The UUID on host is extracted from the GUID found in registry. In the case of WSL1 I'm able to write a file in the WSL FS so any running agent can read it back to find it's uuid. I've no solution actually for WSL2.
Additional context
Nothing to add here.

Can you provide which UUID are you interested in a dmidecode output in a GNU/Linux distribution running upon bare metal?

Hi @Biswa96
the one from type 1, as example:
[root@dev ~]$ dmidecode -t 1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: System manufacturer
	Product Name: System Product Name
	Version: System Version
	Serial Number: System Serial Number
	UUID: ea38cc5b-92eb-18b6-ec5e-04d9f521c6e3
	Wake-up Type: Power Switch
	SKU Number: SKU
	Family: To be filled by O.E.M.

And other informations could be useful for any inventory products.

Interop is one way to go:

This is not what I expect as this will provide the UUID of the host, not an UUID for the WSL instance.
By UUID, I mean a unique identifier for a system and I separate host from WSL instances as different systems. And indeed, your way will also give the same UUID for all local WSL instances when you have many WSL instances.

Why do you need the WSL instance ID? May you explain your actual issue? Generally a program should not behave differently in Linux realm in WSL and in bare metal.

Why do you need the WSL instance ID? May you explain your actual issue? In original post, you have mentioned the UUID from BIOS which is a whole different thing than WSL instance ID. Generally a program should not behave differently in Linux realm in WSL and in bare metal.

UUID of the host, not an UUID for the WSL instance

Understood, but in the hypothetical that this request is "/sys/class/dmi/id is missing on WSL" that is the only rational value it would return. If the ask is a unique id for each distribution installed, that's would be a userspace thing. On Ubuntu (and other Debian derived distros), /etc/machine-id.

@Biswa96  from an inventory point of view, we need to identify any system. WSL1 instance is maybe considered as a container, but WSL2 is using virtualization, so it's more a VM than a container. Other virtualization systems, like VMWare or VirtualBox permit to give a system UUID different from the host and even a BIOS is really emulated. In WSL2, you can even limit memory and vcpu and this probably should be reported to the WSL system via a BIOS emulation. Anyway the WSL kernel do not report anything under /sys/class/dmi/id at the moment.
For GLPI inventory software, we uses UUID to link VM and containers to their host: from the host, we collect VMs and containers and try to detect their system UUIDs. If the agent is run into the VM or container is simply reports its discovered UUID and then we can link it to the host into the inventory. I guess this is what expect any inventory software.
@therealkenc /etc/machine-id could be used, but this is actually not supported as it has to be setup by systemd... and systemd is not used with WSL. Also this id would only be visible from the distribution.
I found a way to pass some information to the distribution using the kernelCommandLine in .wslconfig, but this will be shared toward all WSL instances from one user.
What would be even fine is so see "wsl.guid=" on the kernel commandline. Where <registry-instance-guid> would be the GUID found under HK_USERS/<user sid>/SOFTWARE/Microsoft/Windows/CurrentVersion/Lxss/ for a given WSL instance. But a more portable would be to populate WSL system files under under /sys/class/dmi/id and keep or configure the UUID in registry for each instance (or derive it from the GUID).

I am not familiar with the project that you have mentioned, this is just my opinion. If UUID is used just to verify server-client pair I would generate my own ID and pass it through command line or network or pipe or with any IPC thingy. As of writing, the WSL instance ID is not a documented neither should be used in critical** software. The WSL1 instance ID is strictly undocumented. The WSL2 VM ID is somewhat undocumented but can be retrieved using documented Hyper-V Compute System (HCS) APIs.

The WSL2 VM ID

Pretty clear Guillaume wants an id by distro (amounting to /etc/machine-id), so that won't get him there.

But a more portable would be to populate WSL system files under under /sys/class/dmi/id

There is only one kernel for all running distributions by-design. So that won't get you there either.

under HK_USERS//SOFTWARE/Microsoft/Windows/CurrentVersion/Lxss/ for a given WSL instance

The registry entries are implementation detail. Querying them is... not recommended.
You can treat the distribution names as unique. To the extent they need to be (or you want them to be) universally unique, you can hash them with the Windows user's SID. On recent WSL, the distribution name is available via $WSL_DISTRO_NAME. Something like:

Pretty clear Guillaume wants an id by distro

It was not clear from original post. The WSL instance ID is totally different than the distribution registration/installation ID in registry.

It was not clear from original post.

For the purposes of the OP, "/sys/class/dmi/id/product_uuid is missing on WSL" is a legit enough ask. It just doesn't get one an inventory of WSL distributions installed.
Since we're going to arrive here eventually:
#!/usr/bin/env bash

sid=$(whoami.exe /user | sed 's/\r$//' | tail -n 1 | awk '{print $2}')
dists=$(wsl.exe -l -v | sed 's/\r$//' | cut -b 5- | tail -n +2 - | awk '{ print $1 }' | tr -d '\0')
for d in $dists; do
    hash=$({ echo $sid && echo $d; } | md5sum - | awk '{print $1}')
    echo $hash $d
done

Could be rewritten in C#, Powershell, Perl, or player's choice.


New Site creation Settings were retired?

What happened with the new settings page?

I know the product teams are always looking for user feedback and how to make SharePoint better. They keep a close tab on user feedback and it would be awesome if you could add your voice in User Voice
SharePoint: https://sharepoint.uservoice.com/.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

That link doesn't work either

@scanum https://sharepoint.uservoice.com/ is no longer available !


Added check for RHEL and CentOS flavors of Fedora Linux

As part of making Swift available on Red Hat Enterprise Linux 8 and CentOS Linux 8, the distro name check has to include these two flavors so Swift can build on them properly.

@swift-ci please smoke test and merge

@swift-ci please test and merge


Use typeof function instead of instanceof Function

Using instanceof Function would be error prone and always return false if the Function instance comes from another iframe window,. Replace it by typeof check can be safer.

Thanks @rickychien! This looks like a solid change. 😄


Passthrough User-Agent header in server side fetch inside load along with cookies for same origin requests

Describe the problem
server side fetch inside load should passthrough User-Agent header as some apps use this header to avoid session id hijacking.
For example express-session use the User-Agent header for this, so you will get two different session ids in server side and in client side fetch.
I can think of other headers that the browser set by default and should also de passed through to mimic the behaviour of a client side fetch like Accept-Language.
what else should be passed through appart from these two?
Describe the proposed solution
Pass through the User-Agent and other headers in server side fetch inside load functions along with cookies for same-origin domains
The user can then override the headers by setting other value for the same header in callings to fetch, like node-fetch does with the User-Agent header
Alternatives considered
The user can mimic this by setting a userAgent property inside session and adding it manually to server side fetch requests headers but I think the solution described avobe should be the default.
(mis)using the session object like this is a really bad practice as load functions will have to destructure the session prop with the consecuences it have with the current logic of when the load functions will be called, Eg: when session change.
Importance
would make my life easier
Additional Information
No response

The behavior of the server-side fetch was changed by #3631. It now forwards most headers, and cookies and authorization can also be passed along (guarded by credentials).


How to create a new MySQL user account and force it to use only SSL?

Is there a way in dbeaver to create a new user and force them to connect via SSL?

Unfortunately, it is not implemented in DBeaver.


Feature: Implement me API

Currently, when checking whether the user is a superuser or not, or showing the username, it depends on the Django context.
This PR adds me API, which returns the user information. For using this API, we will be able to reduce the dependency.
Me API can return information like follows:
{
    "id": 1,
    "username": "hironsan",
    "first_name": "",
    "last_name": "",
    "email": "",
    "is_superuser": true
}

In such a case, the user authority only detects by "is_superuser" value. So there are mainly two roles,  Administrator and Labeler. Is there any plan for the Auditor role? Or we just set two roles right now.

This PR focuses on decoupling, not role. it should be discussed in other issue. Please create corresponding issue.


Link target

Hello,
Still testing SunEditor ;-) and really appreciate your work
It might realy improve it's power if it was possible to define a list of targets for link plugin
linkTargets : [
{ target : '_blank', name : 'New window'},
{ target : '_parent', name : 'Parent frame'}
{ target : '_top', name : 'First frame'}
{ target : 'AnyFrame', name : 'Frame name'}
{ target : '_dialog', name : 'Self defined dialog'}
],
linkTargetDefault : '_top',
Best regards

Hi @Yves-K
Thank you for your interest in this project. :)
I consider these are options that are not too common for users.
Need those options?

Hello @JiHong88
I need to know how to do it.
Would like to create a new linkTarget plugin and/or suggest a pull request on the existing one.
But dialog sample in documentation is empty  and i don't catch how actual link plugin works...
Need explainations.
Best regards

Yeah,
I'll upload the sample of "newLink" plugin.
And I'll notify you know when work done.
Best regards

Fine, thank you

The 2.27.0 version has been updated.
If there is an issue, please register as a new issue.
Sample: custom plugin
Thank you.


Add GitHub Action to make sure that NodeNorm instances are online

This would run an example query every hour or so, and send out an e-mail or another notification if the query fails.

We could also use UptimeRobot, but we'd have to get a premium account so that we could send POST content and (hopefully) check the output to make sure that some correct data is being returned.

FWIW, we do have an uptimerobot checking the gets

FWIW, we do have an uptimerobot checking the gets

Yeah, but I don't think it can check whether we're getting back normalized identifiers -- just that the frontend is up. That can catch when a database is fully offline, but if a database has been fully or partially emptied, we'll return "null" for some identifiers, which won't be caught by UptimeRobot (unless there is POST result validation features I'm unaware of).

Full disclosure: I found this issue searching for stuff about availability monitoring, trying to promote Checkly. I don't normally post promotional messages in GitHub issues, but do know that it can do exactly this.
Checkly does have a free tier and can do validation of POST results, in fact I'm literally publishing a blog post about this process today.
I won't even share a link here as I'm not trying to be spammy, if this comment is annoying please feel free to delete it.


Addition of String Algorithms | Issue #78

I have added String Matching Algorithms in depth and also its implementation in python language.
Completed #78

@MastanSayyad , Documentation issue is level 1


"Check now" button in job monitor doesn't appear to work

Might be a bug in tej, but I think this is the monitor. Re-running the workflow works (and updates the status in the monitor).

I cannot reproduce this. Can you provide an example?

On tej-docs (#1105) there is examples/tej-primes.vt which shows the problem (you will need to point the Queue module on an actual SSH server). I'll look into it again.

Now I see what you mean. The workflow is not being marked as finished. This was because of a bug with the new ready state. This should be fixed by commit ca432693502f548fdd470d51fb4c456b96d46fff?

Yes, works!
Is it possible maybe to not have the job monitor pop up when executing a workflow with a finished job in it? Looks like it always gets shown, even if the job module is done and cached.

Commit 75d4b7a4f35d238dec5af19899ccf06d99e396d2 now stops job minitor from popping up if nothing has changed.

Alright, closing this!


OPTIMIZE call of ccp() only on new rcl or room attack.

The idea behind this is to take care better of the CPU spikes from remoteConstructionPlacement.
It calls the function only, if the room get a higher rcl or if the room get attack.
If all cs got placed for the rcl i set the new memory.PCL to the current rcl.

Unnecessary and with minor issues. WIll have a better solution with the base planning refactor. Thanks :D


Couldn't find the Firefox executable

Hello,
I was wondering how and where to set path_fo_FF? I'm using portable version. Couldn't find in the samples how to do it.

Usually the Firefox executable is found automatically if Firefox was installed in the standard location.
If not, you can set the path with the firefoxExecutable property in your launch configuration. It's mentioned in the documentation and VS Code's intellisense in launch.json will also help you to find this and other configuration options.

Thank you! Works very well ;-)

I stumbled into this today on a new Windows reinstall
FF 67.0 32bit was installed to default location C:\Users\a\AppData\Local\Mozilla Firefox
The plugin can't see it
Do I absolutely need to hardcode the path or the plugin should handle this situation?

@duzenko I just tested this with FF 67.0 32bit on Windows 10 and Firefox was installed to C:\Program Files (x86)\Mozilla Firefox and the extension found it there. The location C:\Users\<username>\AppData\Local\Mozilla\Firefox is where Firefox usually keeps the profiles, but it's not the default install location.
If you configure the path for the Firefox executable, I recommend setting firefox.executable in your VS Code user settings (instead of setting firefoxExecutable in your launch.json) because it is a machine-specific setting.

@hbenl
Thank you for responding.
I uninstalled my copy of FF and downloaded the 32-bit installer again.
This time it seems to load from the Program Files. I'm not sure if it was a glitch in the particular installer I tried the last time or it's something FF does under certain conditions? I will post here if I see it happening again.

...if the installer asked me if I want to install for current user or all users...

That's exactly what I suspected the 32-bit installer was doing after I read your initial comment. But it didn't ask me that question - perhaps an earlier version of the installer did that? It's also interesting that the installer for the 32-bit version looks and behaves different from the one for the 64-bit version.


Za64rs clarification

Za64rs: Reservation set size of 64 bytes
Za64rs Reservation sets are contiguous, naturally aligned, and a maximum of 64 bytes.
these are the two statements for Za64rs. Can the first one be changed to
Za64rs: Maximum reservation set size of 64 bytes
to clarify that it's not a fixed size but an upper limit?

Will fix.


Fix typo in FlatList docs

Thanks for submitting a PR! Please read these instructions carefully:

[x] Explain the motivation for making this change.
[x] Provide a test plan demonstrating that the code is solid.
[x] Match the code formatting of the rest of the codebase.
[x] Target the master branch, NOT a "stable" branch.

Motivation (required)
There was a typo in the FlatList docs for numColumns affecting the formatting of its description.
Test Plan (required)
N/A
Next Steps
Sign the CLA, if you haven't already.
Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Make sure all tests pass on both Travis and Circle CI. PRs that break tests are unlikely to be merged.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.

Thanks!
@facebook-github-bot shipit


How to redraw the faux DOM once?

There's something I may be missing.
I'm updating my d3 chart exactly like in this example, the only difference being that I'm not using animations.
The reason for not using animations is that they don't work properly on the d3 side, but I'll figure that out at a later point, and it's not related to react-faux-dom.
Meanwhile, I just want to redraw the faux DOM once after updating it. But it looks like you can't do that? I guess it should be a single call to drawFauxDOM() but it's not passed to the component props, so you can't call it.
So for now, I'm using animateFauxDOM(50) which may redraw up to 3 times. I tried animateFauxDOM(16) which didn't work, so I guessed there was something about the CPU speed, and chosed to have a good margin.
Wouldn't a direct way to just update once be better? Did I miss it?

Hm, I'm not really sure if you can / how you could do that. I don't fully understand how the animation code works I'm afraid :/ I think a single redraw isn't supported, I think it's built to just operate over a time period. There's another issue (#122) around improving the animation, I'm totally open to changes that make this and deterministic animations possible.

What's the problem with exposing drawFauxDOM?

@Ribesg withFauxDOM was written with animation support as the main target iirc, which could explain why we didn't expose drawFauxDOM back then. Seems like exposing it is a good idea and simple to implement. Can you try that on your end, validate that it behaves as you expect and submit a PR? Would be amazing :).

I'm not familiar enough with the NodeJS environment, I have no idea how to do that.
I mean, I think I know the code changes, but I just don't know how I could test it in my project.

I think that #123 will do the trick. Will get it published, let us know :smile:

Published in v4.1.0 along with the ability to instantiate new versions of RFD if you need to. May help you if you're finding memory leaks due to reusing one RFD instance for a lot things, thanks to #116.

I tested v4.1.0.
It works, but I have to use setTimeout(this.props.drawFauxDOM, 0) because I'm calling it from my _updateD3 function which is called in componentDidUpdate.
Even using setTimeout I'm not sure how to handle the draw as drawFauxDOM modifies the state and the chart prop, which then calls componentDidUpdate again.
It's overall pretty messy and I'm not sure how to handle updates properly.
On this specific issue, maybe the exposed drawFauxDOM should actually be a call to setTimeout?

Hm, that's not ideal. I'm afraid I don't understand what's going on there either. Maybe it'd be best for you to use D3 directly and drop out of the React tree? I end up recommending this to most people that are trying to do anything with animations now. RFD is pretty simple and only really works nicely for very simple use cases.
Personally, I'm okay with that, I'll be the first to admit it's only good for some things and you shouldn't use it for anything moderately complex / animated 😃

But I'm not doing anything complex. I'm not using animations at all!
The problem is that simple cases like mine aren't supported. I just want to draw a chart, then update it.
The only thing simpler than that is drawing a chart and never changing it again, and this isn't supported either: to draw the faux dom to the real dom, you need to start an animation.

Huh, okay. My bad, I just wasn't understanding the problem I'm afraid. By the sounds of it, you don't need the mixins at all, right? You can just render your chart and React will re-render when the inputs change? Or maybe I'm misunderstanding again :grimacing:
I'm quite tired at the moment, so I could easily be wrong, it just sounds like you have a simple case that doesn't require the mixins / animation tooling. The normal original usage of RFD will be enough. I hope? I assume there's a reason why you're using the mixin tooling though.

I'm not sure what are "the mixins", it's my turn not to understand :p
Look at the example given in the readme: https://codesandbox.io/s/yzwyVZjP
This example draws a simple div with some text. Why are we calling something about animation? Where does that 800 value come from? I don't see anything animating?
I don't know what "The normal original usage of RFD" is, I only know that if I update the faux dom without calling animateFauxDOM, it never shows up.

Oh! So I suspect the root misunderstanding here is that the withFauxDOM call is required in the first place. When I first designed RFD it didn't have that, you built your DOM with D3 in your render method every time your component was rendered, like this:

Taken from the readme.

class SomeChart extends React.Component {
  render () {
    // Create your element.
    var el = ReactFauxDOM.createElement('div')

    // Change stuff using actual DOM functions.
    // Even perform CSS selections!
    el.style.setProperty('color', 'red')
    el.setAttribute('class', 'box')

    // Render it to React elements.
    return el.toReact()
  }
}

I think that's all you need by the sounds of it, you don't need to call animate etc, that's reserved for those that need to use some of the stateful mutation stuff within D3. If all you're doing is rendering a static chart from some data, the only API you need is:

var el = ReactFauxDOM.createElement('div')
return el.toReact()

That was all ever intended to have in the API, the animation part was contributed later to support a whole host of different things that I just didn't bother with because I had no need for them, personally. I think all you need is toReact() being returned from your render method.

Right, this seems closer to what I need, but can you keep the instance (el in your example) stored somewhere?
I have static charts that I update periodically, and I almost always update a single path element (just its d attribute actually) inside a quite complex svg, so rebuilding the whole svg every time feels wrong.

I know what you mean, it seems wasteful, but that is basically how React
works, it's the same deal.
You could build an initial chart on mount, keep it in component local state
and then just mutate a little part of it on render.
I would recommend trying to render it from scratch and just timing it or
checking the performance with devtools. I designed it to render everything
from scratch each time, it's pretty quick :)
If your chart is too big and it's too slow, there are ways to store the
state. I think that's where you need the mixin though, which I've never
personally used in production.
On 13 Nov 2017 21:16, "Gael Ribes"<EMAIL_ADDRESS>wrote:
Right, this seems closer to what I need, but can you keep the instance (el
in your example) stored somewhere?
I have static charts that I update periodically, and I almost always update
a single path element (just its d attribute actually) inside a quite
complex svg, so rebuilding the whole svg every time feels wrong.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Olical/react-faux-dom/issues/120#issuecomment-344060698,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATPXRVJI2PR8viyuaIM04YtKOE9XFhtks5s2LGQgaJpZM4QJVVO
.

Just wondering if you solved this? I think the problem was that you were using the animation tooling when you didn't need it?

@Ribesg sorry I've missed notifications on Github recently 😕. You could also control the re-render in componentDidUpdate by only calling drawFauxDOM if it needs to be. For example if you'd only need to re-render when props change you'd go like:
componentDidUpdate(prevProps, prevState) {
  if (this.props !== prevProps) {
    // call drawFauxDOM here
  }
}

@tibotiber this is basically how I tried to do it at first, but my component has a big props structure and I feel like I would check those props at least two times more than needed.
In the end I stopped using the whole withFauxDOM thing and I'm now recreating the whole faux DOM content every time.
It works well and I reduced the amount of lines of code I have for this by 40% as I now longer need to 1) have an updatable D3 structure 2) Keep references to D3 shapes, etc. in order to call them again for updates and 3) Have any update code at all.
@Olical My specific problem is solved, but I think there's still something to be done: rework the README so that it's clear that withFauxDOM is something secondary to be used with animations only.
I also think that the function exposed in #123 should be clearly documented so that people don't immediately enter an update loop on first usage.

Going to close this now because I'm going to update the documentation to be a little more obvious.
(I'm writing this sitting in the weirdly hot London sun right in front of the Olympic stadium on some grass :laughing:)

@Olical bah you should have said, I used to live there until recently!


this js can not run in IE 11 browser?

this js can not run in IE 11 browser?

pleaselook this website http://www.voidcn.com/code/p-qfnepmhx-p.html   i  import this js in HTML
and then
Base64.encode(data.field.loginName);
Base64.encode(data.field.password);
run application and the IE 11 browser console "base64 is not defined"

IE 11 support is dropped from version 3.  Use version 2.x or make base64.es5.js in the cloned repository directory.

IE 11 support is dropped from version 3. Use version 2.x or make base64.es5.js in the cloned repository directory.

OK,thanks very much!


OverflowBehavior: Fix typo in enum (obsoleting misspelled entry)

Add an overflow behavior enum value with the correct spelling
Description
This PR  also adds an obsolete attribute with a message on the enum value with the typo. When compiled an error will be displayed if the deprecated value is being used.
Resolves Issue #4528 by this PR
How Has This Been Tested?
visually
Compiler will throw error if not addressed
Unit Tests were updated
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Thanks!


(CC refactor 1) recovery: move RTT related stats and op to a separate struct

GitHub decided to change commit author on squash... had to force push as 45e2af809c52b14bd3e0e9df81a3fe31b61689fe with updated author.


[chore] restrict Java app to be deployed on a Linux environment only

looks like operator also needs it? same selector under the operator field https://github.com/signalfx/splunk-otel-collector-chart/blob/main/functional_tests/testdata/values/aks_test_values.yaml.tmpl#L71


Locale settings

Hi,
It would be nice if we could set custom settings to internal moment instance of this filter, to set locale for example.
The easy way it's to exports moment directly from this module with :
module.exports.moment = moment;

So we could do something like that :
var dateFilter = require('nunjucks-date-filter');
dateFilter.moment.locale('fr', {
    months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_")
});

I would love to have this too, has anyone done it?


How we can add hierarchyIds to TimeSeriesInstance as HierarchyIds property in read only

Library name and version
Azure.IoT.TimeSeriesInsights 1.0.0-beta.1
Query/Question
We are had to create the TimeSeriseInstance by C# azure function, but we are unable to assign HierarchyIds in TimeSeriesInstance as the property is read-only.
Can you suggest some workaround for the above case? Our use case is when we are creating the TimeSeriesInstance that time we want to assign Hierarchy and type.
Environment
No response

@mukesh-rep You cannot reassign the value of the property to another list instance but can append values to the List. You could use the AddRange method to add values from a list that you have.

@PramodValavala-MSFT  Thanks, It works for me.

@mukesh-rep Glad to hear that! We will proceed to close this.


proxy.golang.org: "410 Gone" on tag publicly available for 50 days

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

go1.13 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/martin/.cache/go-build"
GOENV="/home/martin/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/martin/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/martin/gitlab/godown-builder/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build504237898=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Write a go.mod with one of these entries:
require github.com/shirou/gopsutil v2.19.8+incompatible (Released Sep 1)
require github.com/shirou/gopsutil v2.19.7+incompatible (Released Jul 31)
What did you expect to see?
go: finding github.com/shirou/gopsutil v2.19.8+incompatible
What did you see instead?
verifying<EMAIL_ADDRESS><EMAIL_ADDRESS>reading<EMAIL_ADDRESS>410 Gone
Additional Information
v2.19.6 does work, and has no changes to the project's structure (i.e., still has no v2 subdirectory):
require github.com/shirou/gopsutil v2.19.6+incompatible (Released Jun 27)

From<EMAIL_ADDRESS>not found<EMAIL_ADDRESS>invalid version: +incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required.
This is new validation in 1.13; see "Version validation" in https://golang.org/doc/go1.13 for details. v2.19.6+incompatible is present because it was added before sum.golang.org was upgraded to 1.13.
Closing, since everything here is working correctly. gopsutil will need to add the necessary /v2 suffix to its go.mod and use non-+incompatible versions, or remove its go.mod entirely.


[BUG] active-directory-groups property is deprecated and yet is required by a @ConditionalOnProperty in ADOAuth2AutoConfiguration

Describe the bug
The azure.activedirectory.active-directory-groups property is deprecated, but using the replacement azure.activedirectory.user-group.allowed-groups causes an application that makes use of AADOAuth2AutoConfiguration.oidcUserService() to fail to start, as that has a @ConditionalOnProperty that requires the deprecated property.
Exception or Stack Trace
***************************
APPLICATION FAILED TO START
***************************
Description:
Field oidcUserService in com.microsoft.azure.aad.security.AADOAuth2LoginSecurityConfig required a bean of type 'org.springframework.security.oauth2.client.userinfo.OAuth2UserService' that could not be found.
The injection point has the following annotations:
	- @org.springframework.beans.factory.annotation.Autowired(required=true)
The following candidates were found but could not be injected:
	- Bean method 'oidcUserService' in 'AADOAuth2AutoConfiguration' not loaded because @ConditionalOnProperty (azure.activedirectory.active-directory-groups) did not find property 'active-directory-groups'

I have the same issue!

@jianghaolu could you please take a look?

It looks like a Spring AAD issue, @hamishlawson are you using the azure-active-directory-spring-boot-starter?

Yes. I discovered it while playing with the azure-spring-boot-sample-active-directory-backend sample.

@hamishlawson I will look into it.


API: configuration updates

The API does not yet support dynamically updating the configuration of a container.
Cloud Foundry would like this issue to be fixed.

I think Set method was added recently.


FileNotFoundException

When enabling Turn Quad Edges, I get the error "FileNotFoundException" even though the file exists. If I try to re-Import the file I still get the issue. (Latest release 1.0f1)
Is there a way to get the file to load in after that issue occurs?

https://github.com/unity3d-jp/AlembicImporter/releases/tag/20180201

https://github.com/unity3d-jp/AlembicImporter/releases/tag/20180205


Support some parameter's handler

close #212

I added new property isOpaqueReturnType to take care of some keyword placed at paramter.
After this fix

source
mock

@fummicc1 thx for PR!!
I would like you to write a unit test :pray:

@uhooi
Thanks for quick reply!
I tried to add two unit tests for my fixes.

@sidepelican
Thank you!
I corrected them as you mentioned.

@uhooi
Hello~
I would like you to review this PR when you have available time.

@uhooi
Hi uhooi
Could you release a new version with the merged PR?

@fummicc1 Granted write roll.
Feel free to cut a new tag/release (see the past ones for example); make sure to bump the version first at https://github.com/uber/mockolo/blob/master/Sources/MockoloFramework/Version.swift (e.g. 1.8.0 -> 1.8.1)


Unnecesary warning in console

I'll keep this brief, I have a feeling this could probably be resolved without too much trouble.
[yzhang.dictionary-completion] Accessing a resource scoped configuration
without providing a resource is not expected. To get the effective value for
'cSpell.userWords', provide the URI of a resource or 'null' for any resource.

(Done.)


Introspection doesn't show mutation

I believe you're already aware, but introspection (and therefore completion/docs on GraphiQL) don't show mutation/subscription, even when those are available.
I tracked the offending line to https://github.com/joshprice/graphql-elixir/blob/3171ad8af07cbe7e11c962bf9bd074516049d2da/lib/graphql/type/introspection.ex#L34
However, I don't know how to fix this to get it to report the mutation (beyond uncommenting, which didn't work).  If I could get a little guidance, I'd love to help!

Thanks for the bug report! I'll take a look later today. If you want to have a go at fixing it feel free, it should look much like the query block.

Going to look into this now if you're around, ping me in the slack channel

Hi Josh,
Any luck by chance?  I'm still working to try to fix this myself, but I'm afraid I'm not getting far.

Not as yet, there is a bit more to this than anticipated so hoping get it fixed as soon as I can. Thanks for your patience!

Closed by #55

Thanks for the bug report, sorry it took so long! We'll make a release today so you can check it out.

Thanks Josh, greatly appreciated!

No worries, released now if you want to check it out


Suggest changing error message / adding more details for TS5055

Suggestion
There are a number of issues (#29549, #16749, #35082, #35541, probably many others) that all think this error:
error TS5055: Cannot write file '/path/to/file.d.ts' because it would overwrite input file.

is a bug.  I was about to open another one.
I believe the fundamental issue here is that most people, myself included, believe this is saying that /path/to/file.d.ts is explicitly being included in the tsconfig, e.g. through some weird combination of includes, rootDir, etc, and we all spend time banging our heads trying to figure out how the config is messed up.
What it's actually saying is that /path/to/file.d.ts is somehow being included either via tsconfig.json or an import/require statement in your project.  For several of these issues, the reason is because the import was referencing the root project folder, and consequently the build folder.  In my specific case, VSCode's auto-import referenced the project name I was currently in for some reason, instead of the relative path to a file.
I'm not quite sure how to re-phrase the error, but adding details such as the ones included in --explainFiles would be a huge help.
error TS5055: Cannot write file '/project/build/file.d.ts' because it would overwrite input file.
  Imported via '../../file' from file 'src/index.ts'

In my specific case, --explainFiles didn't even contain the offending file (no idea why), making the problem that much harder to figure out.
🔍 Search Terms
TS5055
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

📃 Motivating Example

💻 Use Cases
I believe a clearer error message & details would be very helpful to a lot of people

In my specific case, VSCode's auto-import referenced the project name I was currently in for some reason, instead of the relative path to a file.

This part sounds related to #45953.

Possibly, or it could have been a refactor and a file got moved from one repo to another.  I honestly don't know why there was one file with import from 'current-project' vs a relative import, but it utterly broke the build 😭

I think your observation is keen. At minimum, a rephrasing would be nice, and if it's possible to reconstruct the "why is this here" information from data we already collect, that'd be cool too


Fix JUnit dependencies

eliminate the platform-commons dependency
make the jupiter-api dependency optional

Do you confirm that this works well with IO Platform?
And I'll merge it!
Thanks

$ ./gradlew clean springIoCheck --continue --no-daemon -PplatformVersion=Cairo-BUILD-SNAPSHOT
...
BUILD SUCCESSFUL in 30s
9 actionable tasks: 9 executed

BUILD SUCCESSFUL in 30s

??? Looks like you are missing there -PJDK8_HOME= option for real testing against IO.
However I'm might missing anything in your decision and that is really enough to do that way...

Oops - not only did I miss that, I ran it in the wrong window 😄 (against s-k).

$ ./gradlew clean springIoCheck --continue --no-daemon -PplatformVersion=Cairo-BUILD-SNAPSHOT -PJDK8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/
...
BUILD SUCCESSFUL in 10m 17s
43 actionable tasks: 43 executed


The input function inserts a new line

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[X] Could not reproduce inside jupyter qtconsole (if console-related)
[X] Tried basic troubleshooting (if a bug/error)

[X] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
The "input()" function insert a new line before the prompt in both:
1 - Execute in current console
2 - Execute in a dedicated console
This problem has already be reported, and it is true that we can still use the "Execute in an external system terminal" that does not have the issue. However, I use the IDE for my introductory course of Python. Unfortunately, this last option requires to add additional code to avoid that the terminal disappears. This is not easy to explain in an introductory course. Thank you.
What steps reproduce the problem?
Just run this program:
fn = input("Enter your first name ... ")
ln = input("Enter your last name ... ")
What is the expected output? What do you see instead?
Expected output:
Enter your first name ... MyFirstName
Enter your last name ... MyLastName
Actual output:
Enter your first name ... MyFirstName
Enter your last name ...  As you said

This problem has already be reported, and it is true that we can still use the "Execute in an external system terminal" that does not have the issue

we are aware of this problem and that's the only workaround for the moment.
However, we understand this issue is very annoying and we'll try to solve it in our next version (5.2.0), to be released next month.


Add component to control frequency of sent entity movement packets.

Describe the problem related to your feature request.
The vanilla server does not send entity update packets every tick. It intentionally spaces them out to reduce network activity. I don't know what the exact number is off the top of my head, but it's something like every third tick. (I suspect this is why entities can feel laggy in vanilla).
It could be useful if valence also had this feature for situations with lots of entities.
What solution would you like?
Add a new component for entities called MovementUpdateDelay(pub u32) which defaults to 0. To check if it's time to send movement packets, do current_tick % (movement_update_delay + 1) == 0.
The OldPosition for entities will change to be the last synced position rather than the position from the previous tick. (Might be better to make a separate component for this, but I haven't thought about it enough).
What alternative(s) have you considered?
We could just not do this. The additional complexity and potential bugs might not be worth it.

We can't just run that whole system every X ticks because there's some things unrelated to movement in there. I also think it would be best to configure this per-entity because I can imagine a server wanting player entities to have as little latency as possible, but all other entities with higher intervals.
I'm looking through Vanilla's and Minestom's source code right now, but I'm having trouble identifying exactly where all this is happening. So I might be completely wrong about all this.


feat: check if invoice is paid

Should solve #289

I heard some reports that it people had been waiting for a payment and had been confused. good that you fix it with this PR!

How exactly can I test this? I installed the Firefox extension from above and sent some sats to may mobile wallet. I've received this notification from firefox

The text is a bit confusing, because I sent the 500 sats FROM Alby, not TO Alby

How exactly can I test this? I installed the Firefox extension from above and sent some sats to my mobile wallet. I've received this notification from firefox

The text is a bit confusing, because I sent the 500 sats FROM Alby, not TO Alby

Ok, I just tried again with the released version, which behaved the same. So the above assumption wasn't correct :-)

ok, after looking at #289 I got it

So it works. But what I find a bit confusing is, that once the Alby window is closed the invoice is gone. At first I had a couple of failed attempts to pay the invoice, but that was a problem on my end (zeus, tor, etc.). But I could not try to pay with another wallet because the invoice was gone although not yet paid. I had to create a new invoice.

@RicardoCapricciosa nice, thanks for testing. those are some good points.
can you create an issue for those two topics? I think we do not have issues for those yet.
The reload is caused because whenever the extension is opened the popup is reloaded and we do not store state across those reloads - which I think for now is fine, it is too complex for now to change that.
The confusion with "To Alby" is more important.

looks nice.
Though I still think we should replace or overlay the QR code to make it visual that it is paid.
the Payment received! message can easily be missed I think.

Updated the success screen. Could improve it in the future with for e.g. a modal sliding up from the bottom. Something like:

@RicardoCapricciosa nice, thanks for testing. those are some good points.
can you create an issue for those two topics? I think we do not have issues for those yet. The reload is caused because whenever the extension is opened the popup is reloaded and we do not store state across those reloads - which I think for now is fine, it is too complex for now to change that.
The confusion with "To Alby" is more important.

notification confusion text: https://github.com/getAlby/lightning-browser-extension/issues/473#issue-1084187974
Alby state storing: https://github.com/getAlby/lightning-browser-extension/issues/474#issue-1084190298

perfect thanks @RicardoCapricciosa


MSAs being wrongly labeled as cities

MSAs are not labeled as such.  For MSAs identified by a single city, this results in strongly misleading labels.  For example, in the classic view, if you search for "Pittsburgh, PA" and display, e.g. cases, you get a title "COVID cases in Pittsburgh, PA", but it's really the Pittsburgh MSA (2.36M people, a superset of Allegheny County), NOT the city of Pittsburgh (~300K people, a subset of Allegheny County).  Similarly for all other cities and signals.
The problem stems from the fact that the MSAs get their names from the city or cities on which they are centered.  To fix this, the label should include the "MSA" phrase, e.g.

In places requiring brevity: "Pittsburgh PA MSA".
In places allowing a longer label (like in the title):  "Pittsburgh, PA Metropolitan Statistical Area"

The "MSA" qualifier should also be included in the completion options in the location search box.

good-first-issue & good-independent-project are not typically P0 tasks, since we want to make space for new contributors to get to know the codebase without deadline pressure. Which of those is more important to you, that we complete this work by the end of the semester or that we assign it to one of our new volunteers?

Most definitely the former.  In fact, end of semester is not soon enough.  This is a potentially embarrassing bug.  That no one, internal or external, has pointed it out till now is of great concern to me.
This seems like a fairly small fix: just changing the label to include "MSA".  No?

I would say "metro area" if the audience is the general public, because that term is widely used.

In places requiring brevity: "Pittsburgh PA MSA".
In places allowing a longer label (like in the title): "Pittsburgh, PA Metropolitan Statistical Area"

Both of these could be replaced by "Pittsburgh, PA Metro Area".

This seems like a front-end change, right? Probably some mapping from geos to readable names needs to be updated?


Settings are not visible

I'm using the extension in Microsoft Edge (Chromium) and can't open respectively can't the settings. If I try to open them the content is moved to the left but no settings are display as you can see from the following screenshot.

@eBerdnA I know it isn't an answer you want to hear, but right now only supported for Firefox and Chrome. I have done zero testing on IE/Edge but I am definitely keeping an eye on this and will let you know when I have time to look into testing on Edge. Just not enough users on that browser to justify spending time right now on that versus fixing the current issues with the Extension. Hope you understand! Will try to get to it in the next week.

Fair enough.
Nevertheless I'm still confused why this extension does behave different in Chrome and MS Edge (Chromium) which I have just checked myself.
All other extensions in MS Edge work without any difference even though I installed them using the Chrome Web Store.


Add link to @: razor syntax

I'm not sure if this is the right way to link internally but it seems correct and I didn't test it locally (still don't have docfx on Ubuntu!)

@badersur  Nice work, really glad you asked that question.


Remove problematic filenames for Mac OS X filesystems.

Have pity on an old guy: Mac OS X filesystems have historically been case insensitive, which causes all sort of havoc with git when trying to manage the docs repo on a Mac laptop.
This cleans up the problem by simply renaming one of the two files that git considers identical; it's in the archive, so I don't think there's much risk in this.

With this, git status on a Mac is clean after checking out a fresh copy of the repo.


Add support for calling methods that take self and return the Heads

I have a situation where I would like to call a method that takes self on a tail field, and then get the head fields back. I don't think this is possible currently, but would there be interest in adding such an ability? (Or a reason why it might be unsafe?).
An example situation:

struct A;
struct B<'a> {
    a: &'a A
}

impl<'a> B<'a> {
   fn new(&'a A) -> B<'a> { B { a } }

   fn final(self) { ... }
}

#[self_referencing]
struct Wrapper {
    a: A,
    #[borrows(mut a)]
    b: B<'a>,
}

In this case I would like to be able to, given a Wrapper, call B::final and get back a.
I think a possible function signature for the wrapper type would be:
fn into_heads_with_b<R, F>(self, func: F) -> (R, Heads)
where F: Fn(B<'a>) -> R;

or something?
Thoughts very much welcome (and thanks for this library!) :slightly_smiling_face:

https://github.com/joshua-maros/ouroboros/pull/105 is a rough potential implementation.

The signature of destruct_into_heads can be more general:
fn destruct_into_heads<R>(
    self,
    user: impl for<'this> FnOnce(&'this NonTailFields, OwnedTailFields<'this> ) -> R
) -> (R, Heads);

If we have OwnedTailFields, perhaps it would be possible to add something like
fn rebuild<Params...>(
    self,
    user: impl for<'this> FnOnce(
        &'this NonTailFields<...>,
        OwnedTailFields<'this, ...>
    ) -> OwnedTailFields<'this, Params...>
) -> MyStruct<Params...>

This would make it possible to implement a function like map on a generic struct (trivially, as rebuild is effectively a map over tail fields):

struct Owner;

// Trait to express that a type is parametric over lifetimes
trait ForLt {
    type Of<'lt>;
}

#[self_referencing]
struct MyStruct<T> where T: ForLt {
    owner: Owner,

    #[borrows(owner)]
    #[not_covariant]
    tail_field: T::Of<'this>
}

// Trait to express that a function is parametric over lifetimes, and that the input and output types are parametrized by the same lifetime
trait FnOnceLt<Input> where Input: ForLt {
    type Output: ForLt;

    fn call_once<'a>(self, Input::Of<'a>) -> <Self::Output as ForLt>::Of<'a>;
}

// Input type for the user function supplied to map
struct MapUserInput<T>(PhantomData<T>);

impl<T> ForLt for MapUserInput<T> where T: ForLt {
    type Of<'a> = (&'a Owner, T::Of<'a>);
}

impl<T> MyStruct<T> where T: ForLt {
    fn map<U, F>(self, f: F) -> MyStruct<U> where
        U: ForLt,
        F: FnOnceLt<MapUserInput<T>, Output = U>, {

        self.rebuild(|non_tail_fields, owned_tail_fields| f((non_tail_fields, owned_tail_fields)))

    }
}

A fallible version of rebuild would be useful too -
fn try_rebuild<Params..., Error>(
    self,
    user: impl for<'this> FnOnce(
        &'this NonTailFields<...>,
        OwnedTailFields<'this, ...>
    ) -> Result<OwnedTailFields<'this, Params...>, Error>
) -> Result<MyStruct<Params...>, (Heads, Error)>


Paginating collections doesn't expose variables

Hi, I'm trying to paginate a collection within a certain page but the paginate-v2 plugin behaviour is quite strange.
I have my _posts paginating on a blog page correctly and I'd like to paginate another collection.
It seems like the some files' front matter variables aren't exposed inside the {% for post in paginator.posts %}. It only recognises post.title, post.url and post.image. Could someone help me here?

Never mind, I switched to Hugo.


Refactoring Request: Move Code for Finding Application by clientId.

Describe the bug
Currently, in the AuthorizationService.java, there's code for finding an application by clientId. This code is repeated in multiple places and can be refactored for better code readability and reusability.
Proposed Refactoring:
Move the code for finding an application by clientId to the ApplicationService.java class, encapsulating it in a dedicated method called findByClientId. This will improve code organization and allow for easier reuse.
Code Snippets:
ApplicationService.java:
@Service
public class ApplicationService {

    public Application findByClientId(String clientId) {

    }

}

final var application =
        applicationRepository
            .findByClientId(clientId)
            .orElseThrow(
                () ->
                    new ResourceNotFoundException(
                        "application not found for clientId: " + clientId));
can be rewritten as
    final var application = applicationService.findApplicationByClientId(clientId);

This refactoring will enhance the maintainability and readability of our codebase.
Acceptance Criteria:
The code has been successfully refactored as described.
Tests have been updated to ensure that the refactored code works as expected.

@Brijesh206 Do you want to work on this issue?

@erzohrakhan Yes I want to work on this issue.

@joshfischer1108
Yes, I agree that these changes do not add any feature/functionality and this will require thorough testing
but Authorizationservice.java is very hard to read especially the exchange function, and maintaining this code will be cumbersome(when the project grows)
At a few places with functional programming, we can decrease the number of LOC
So I thought to do it now when we don't have any customers


[WIP] Change args in deploy command

#366
This PR follows the design of  https://github.com/google/clasp/pull/372#issuecomment-435435683 .

[ ] npm run test succeeds.
[x] npm run lint succeeds.
[x] Appropriate changes to README are included in PR.

I am struggling to think of the name of args and I want your idea.
https://github.com/google/clasp/issues/366#issuecomment-435572231

Sorry,--description can be used.
But, we can't use --version and -v in subcommand.
https://github.com/google/clasp/blob/6d21e0fc9431ecf5996aa117e3abecd098ec9fad/src/index.ts#L355
Therefore, I will use the following

-V <version> --versionNumber <version>: The project version to deploy at.
-d <description> --description <description>: The deployment description.
-i <id> --deploymentId <id>: The deployment ID to redeploy.

Thanks!


Support MDX files in migrate tool

I actually modified your PR and included .md as well.
https://github.com/kiliman/remix-flat-routes/blob/82ae1d7014732c84c6b98a739918225ec5701a34/src/index.ts#L135

This is for the migrate tool, not the flatRoutes handler.

This has been added. Thanks!


Rory/podium

Description
(What have been done/changed)

Set up the front end for podium judging portal with the initial homepage and showcase slide room, both with ranking capabilities.
Bug that needs to be reviewed: The spotlighted project in the slide room, when dragged into the ranking bar, will have a NULL value. I'm not sure what is causing this since visually, still looks fine so the project information is probably being passed through correctly. This is a problem because the project will now not be able to be ranked against.

To Do

[x] Call judges endpoint instead of vertical (also hardcoded right now, it should get the judge ID from their session)
[x] Currently stores the ranking in the app instead of making a POST request, to avoid messing up the database. Should make some adjustments to the current examples to test properly.
[ ] Finish On Hold sections (currently makes multiple copies if a project is dragged in multiple times, etc.) after fixing spotlight bug.
[ ] Improve loading visual.
[ ] Product designer still needs to finish the header.
[ ] Allow users to expand the spotlight descriptions.
[x] Not a big UX problem, but would be great if there was animation as it resorted (during drag instead of just on end), it should come automatically with SortableContext in dnd-kit but something seems to be stopping it from triggering.

Testing plan
(How will we test the changes requested on this PR?)

[ ] Begin on index, where you can drag projects around. If a project is dragged into rank 4, it will push the current 4 and all those below down. Projects cannot be dragged onto unranked projects (intentional).
[ ] Click on a project name to enter the slide room. Drag the spotlight into the bottom bar to rank it (cannot be dragged onto unranked, intentional). Click on a project to bring it up as the spotlight. You cannot rank from the bar, only from spotlight—this is intentional for UX reasons. There is a bug (see notes) on this page, so it might not work as expected.

@roryvision if you could go ahead and make a new PR from the rory/podium-fixed branch


[FR] Alternative to just a run button

I have some sqlite databases which I'd like to run queries on which can be done via regular commands in terminal.
Was wondering if there's a way to possibly have a particular code block execute when the note is loaded, instead of just by manually pressing the run button.
I'm looking to have the query executed, and return the data back to the note when it's loaded without manual interaction.

Hi! Sure, I think that would be possible and wouldn't be that hard to implement. I don't know when I will be able to implement it though

That's fine. It would just be majorly helpful. I'd like to be able to run queries without manual interaction and would help out a ton.

Quick question, would this be run every time the note is reloaded? In editing and reading view as well? Or instead just when the note is first loaded after the vault is first opened? For example, if it is every time the note is reloaded, enabling a plugin would cause it to run etc. Would that be intended behvaiour?

Hrm.... interesting.
I would say ideally, if possible. Having an option to define that in the code block? That would be super helpful.
Because say with my example, I want to run a terminal / command prompt query which accesses SQLite3. And since Sqlite3 doesn't have any type of impact on performance of the system, I can have it run as many times as I want, and I want the data to be current.
I didn't even think about the editing vs reading mode situation, because I hardly use reading mode. I try to only use plugins that support both, so that I can stay in editing mode but if I need reading mode, it's there.
Initially I was thinking about it running the query as soon as you switch to that particular note in the left side File Explorer frame.  Then my query would be automatically ran and the data presented right there on note load.


add trigger options for popover : none & contextmenu

Hi
i was trying to use vue-strap components in my project but found myself somewhat blocked by the choice of triggering event (only click, hover & focus)
so i added contextmenu (my actual need, right clicking in an input field or a button) (which also required to prevent default event propagation) and none so that people might do whatever they need
please let me known if you require changes before accepting the pull request
thanks
David

I think that none value is unnecessary.
And external triggering is not a common behavior, so instead of add a method, you can just use a ref when you need it:
<popover title="Title" content="content" v-ref:trigger>
  <button class="btn btn-default ">Click</button>
</popover>
<button class="btn btn-default" @click="$refs.trigger.toggle()">External Trigger</button>

But the contextmenu is a good option. I will add it right now.
Greeting

the idea was if none of the available triggers match one's need, "none" could be used not to have any behaviour and then, yes, use a ref to control the popover in any way one would see fit
well anyway, contextmenu is my actual need so thanks!

Done, check the last update.

hi you need to stop contextmenu events to propagate, otherwise the browser context menu will also trigger


[SPARK-41267][R][SQL] Add unpivot / melt to SparkR

What changes were proposed in this pull request?
This PR adds unpivot / melt functions to SpakR.
Why are the changes needed?
Feature parity.
Does this PR introduce any user-facing change?
New functions available to R users.
How was this patch tested?
New unit tests.

Merged to master.

Thanks @HyukjinKwon!


Lift/ allow browsing of DB content at client

Manage/ browse data, not by queries

@gruppin fyi

@GalGend who is the user for this? I think I can find a free desktop tool,
I need db credentials to start testing tools

Solved


Reject the URLs with 404 status in the sitemap

Hi,
We have a sitemap to be crawled and we are having some URLs in the sitemap which gives 404 error as in the snapshot.

Attaching config file Iam using for the crawler as well as Source of the HTML file in the  snap
new 16.txt
new 17.txt
Can you help us to reject these URLs or rather prevent them from being crawled

URLs returning a 404 status code are always rejected by default.  Do you see some being indexed?  If so, they are probably not returning 404 even if they are "not found".  Not sure which browser you are using, but here is an example how to get the HTTP status code with Chrome: https://www.mkyong.com/computer-tips/how-to-view-http-headers-in-google-chrome/
If it is 200, you may want to let the website owner know so they could fix it.
In any case, you can filter those out based on a common pattern in the "404" pages.  You can use the RegexMetadataFilter as a post-parse handler in the Importer section.  The title seems to be a good candidate (not tested):
<filter class="com.norconex.importer.handler.filter.impl.RegexMetadataFilter"
          onMatch="exclude" field="title" >
      <regex>^404 Error.*</regex>
  </filter>

Let me know if that works for you.

yes it worked for me. You can close this isue
Thank you


Unsupported file formats Error for existed files

Did you check the documentation and it did not help?

[X] I have searched the existing documentation
[X] I have searched the existing answer
[X] I have read the contribution guide

Overview
after converting the files using FFmpeg ... the generated files can be accessed and run without any problems through the file manager. but when I use Gal to display it inside the gallery, I get an Unsupported file formats error.
Steps to reproduce

add FFmpeg package  ffmpeg_kit_flutter_full_gpl: '6.0.3-LTS
add filesystem_picker: ^3.1.0 to pick file from system
gal: ^2.1.2
convert a picked video to formats like mp4, avi, mkv, and ...
after the converting process done
check the converted video from File Manager for sure if it is done successfully
save the converted video to the gallery using Gal
geting error Unsupported file formats

Code sample
Code sample
String selectedFilePath =
        '/data/user/0/com.test.fmkr/cache/file_picker/VID_20230428_140439.mp4';
    String outputPath =
        ' /storage/emulated/0/Movies/fmkr/VID_20230428_140439_2023101818313.avi';

    // convert mp4 to avi format
    FFmpegKit.executeAsync(
      '-i $selectedFilePath -c:v libx264 -c:a aac $outputPath',
      (Session session) async {
        final returnCode = await session.getReturnCode();

        if (ReturnCode.isSuccess(returnCode) == true) {
          Gal.putVideo(outputPath);
        }
      },
    );

Environment
Logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.1, on Manjaro Linux 5.15.125-1-MANJARO, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.3)
[✓] Connected device (3 available)
[☠] Network resources (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Exception: Network resources exceeded maximum allowed duration of 0:04:30.000000

! Doctor found issues in 1 category.

Logs
Logs
E/flutter ( 5527): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [GalException/NOT_SUPPORTED_FORMAT]: Unsupported file formats.
E/flutter ( 5527): #0      GalPlatform._invokeMethod (package:gal/src/gal_platform.dart:17:7)
E/flutter ( 5527): <asynchronous suspension>
E/flutter ( 5527): #1      GalPlatform.putVideo (package:gal/src/gal_platform.dart:24:5)
E/flutter ( 5527): <asynchronous suspension>
E/flutter ( 5527): #2      ConvertingCubit.saveOnGallery (package:fmkr/controller/converting/converting_cubit.dart:158:5)

Thank you for your contribution @husen-hn 🤝
The cause is that Android does not support avi as standard.
you will need to change the out put file format to one that is supported. Like mp4.
String outputPath = ' /storage/emulated/0/Movies/fmkr/video.mp4';

This is a screenshot of the result of saving the same file to a file with the same code.
When I save the file as avi, the thumbnails do not show up and when I open the file, it jags and does not play properly.


Audit logs for Windows 10/Server 2008+ showing XP/Win2K Event IDs

Hi
It looks like all the Event IDs listed here are pre Vista/2008 style:
windows-itpro-docs/windows/security/threat-protection/auditing/basic-audit-logon-events.md
Likewise all the other events in that tree.

See also #2464

Working links, based on OP's comment:

https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events
https://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/security/threat-protection/auditing/basic-audit-logon-events.md

@Dansimp - Can you please guide what should be added here(https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events). These all event ids are linked with old OS like Windows XP, Win 7  but not with Windows 10.
I have found a list of the Events IDs here (https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor) but not sure which ones should be added in the document.
Please suggest.
@e0i - FYI Please.
Thanks.


cli: Add --jobs to commands that invoke pg_restore

Allows altering the concurrency of the restore process.
This change also changes the default behaviour to use 4 jobs.

@josephglanville looks like some genuine test failures:
++ 13:55:55.077 /home/ubuntu/go/src/github.com/flynn/flynn/test/../cli/bin/flynn pg restore -f /tmp/check-8995016276575641803/1/db.dump
strconv.ParseInt: parsing "": invalid syntax

@lmars fixed, made mistake with docopt.
However I didn't look closely enough, appears --jobs is ignored when reading stdin.
Which makes sense because parallel restore requires to be able to seek to different tables.
I have modified to upload to a temp file but I think this should probably write to a data volume.
@titanous thoughts?

Yeah, a data volume sounds right. That will allow us to move towards accepting database dumps from URLs, and resumable uploads.

@titanous updated to use data volume, we can add script to container later to support fetching from URL etc.
Small changes were required to support data volumes for one-off jobs via the controller.

Is this backwards-compatible with clusters that don't have those changes?

Updated with a compatibility check as the failure mode when the cluster didn't support the data volume was very unintuitive (the controller would accept the job, but not create the data volume, so job would fail on reading/writing to /data).
Required adding Version function to the controller client interface, was mentioned should see how this will interact with what we are doing with GraphQL.
/cc @lmars @jvatic


Karpenter KwoK Cloud Provider

Description
What problem are you trying to solve?
Developers that want to make contributions to this repo must build and install with a cloud provider specific installation. This can be costly for users to develop and test their features, and may require maintainers to do that testing for them. Additionally, since this comes with Cloud Provider specific details, users contributing just to kubernetes-sigs/karpenter have to be aware of how the specific CP implementation may have decided to reason about general concepts.
Creating a cloud provider using KwoK nodes won't incur costs for users that need to test and validate their changes.

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

So excited about this! This will be awesome when we get this in!

For those interested, added a design doc in #905 to detail some of the info I used to drive what I thought was a good set of instance types for #904.


fix display of PacketUp

Anything wrong with this? FWIW, it's solving a display bug where MHz units are used but the output is Hz.

Anything wrong with this? FWIW, it's solving a display bug where MHz units are used but the output is Hz.

Been a while! Iirc I was considering trying to do without rust-decimal to avoid the size overhead it carries. Os it already used in one of the deps?

Looks in the workspace and Cargo.lock already but unsure if it's linking in anything new. How big could it be anyway?


Change Icon in Browser Tab

Icon is currently using the 2016 logo, needs to be updated to 2017
@alekskivuls

Updated icon to blue pyramid and closed in commit 0c2f6236576172026c1f669203018796a67f02bc


fixed the beachmark-run-error, updated the int to Int64

fixed the benchmark-run-errors, updated the int-2-Int64

@luluai-cn these tests under tpcds are depreciated because TB has moved to CH compatible syntax.  But you spend time to make this PR out, we just let it in. Thanks for your help!


feat: add a prop to render animated views

Solves #74
Description
Added a new prop useAnimatedViews, when true, it automatically renders Animated version of component from Animated API of React Native
Default value is false

@willashley23 wdyt about this solution?


Add clang-format script and CI job

Adding scripts/format-diff.sh to use clang-format to format code changes since diverge from master. Also adding travis CI job to check if the code needs to format. Also format all existing code.

Codecov Report

Merging #9 into master will decrease coverage by <.01%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage    84.9%   84.89%   -0.01%
==========================================
  Files          40       40
  Lines        2047     2046       -1
==========================================
- Hits         1738     1737       -1
  Misses        309      309

Impacted Files
Coverage Δ

src/blob_file_cache.cc
100% <ø> (ø)
:arrow_up:

src/blob_file_manager.h
50% <ø> (ø)
:arrow_up:

src/blob_gc_picker.h
100% <ø> (ø)
:arrow_up:

src/blob_gc.h
100% <ø> (ø)
:arrow_up:

src/blob_gc_picker.cc
100% <ø> (ø)
:arrow_up:

src/blob_file_reader.h
100% <ø> (ø)
:arrow_up:

src/blob_file_iterator.h
93.75% <ø> (ø)
:arrow_up:

src/table_builder.h
100% <ø> (ø)
:arrow_up:

src/table_factory.h
91.66% <ø> (ø)
:arrow_up:

src/blob_file_iterator.cc
94.44% <ø> (ø)
:arrow_up:

... and 14 more

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 05a3755...8eb6ca7. Read the comment docs.


Please Help me have an example project

https://github.com/stuart-williams/lrud/blob/master/assets/lrud-react-example.gif

The image in your example is amazing, can you help me create an example project for react-lrud like in the picture? :))) Thank you very much!!!

Is this what you want — https://github.com/stuart-williams/lrud-react-example?


Django 1.8: TypeError: coercing to Unicode: need string or buffer, NoneType found

I'm trying to upgrade my project to Django 1.8 and I notice an error that I don't have in 1.7.7.
When I'm calling the Polymorphic objects linked to one of my model I get this error:
TypeError: coercing to Unicode: need string or buffer, NoneType found

I don't know if that's an issue specific to my code but I'll try to post some of relevant parts of my project
class Account(models.Model):
    company = models.CharField(max_length=200)

class BaseQuestion(PolymorphicModel):
    label = models.CharField(max_length=400, null=True, blank=True)
    position = models.IntegerField(default=0)
    account = models.ForeignKey(Account, related_name='questions')

class QuestionScale(BaseQuestion):
    SCALE_TYPES = (
        (5, '5 stars'),
        (10, '10 stars'),
    )
    scale = models.IntegerField(default=5, choices=SCALE_TYPES)

# Here is the code that trigger the issue
account.questions.all()

Did someone else notice similar issue? If needed I can post more details.
Thanks.

I didn't notice this before, but I highly recommend adding a __str__ or __unicode__ to your models.
Without the stacktrace and Python version, it's hard to tell why this happens.

@Remiz i've had that issue in other contexts when upgrading to 1.8. In my case, i was using self.account in the __unicode__ method of BaseQuestion, and needed to use self.account.company instead.

Sorry, I omit to precise the unicode function for my BaseQuestion:
class BaseQuestion(PolymorphicModel):
    label = models.CharField(max_length=400, null=True, blank=True)
    position = models.IntegerField(default=0)
    account = models.ForeignKey(Account, related_name='questions')

    def __unicode__(self):
        return self.label

I tried specifying another __unicode__ for each of my classes inheriting from my BaseQuestion but without much success... Still the same error message.It may be related to the fact I'm using django-modeltranslation for that field, so the error may come from the combination of both package, as it's adding another level of complexity to the whole thing.
Thanks for your suggestion @smcoll, but unfortunately it doesn't apply to me as I don't use a foreign value in my __unicode__

Interesting findings, if I do:
BaseQuestion.objects.all()
>>>[<QuestionScale: Please rate the speed of service>, <QuestionScale: How would you rate our selection?>, <QuestionScale: How clean are our bathrooms?>...

but if I do
BaseQuestion.objects.filter(account=current_account)
*** TypeError: coercing to Unicode: need string or buffer, NoneType found

So it seems it's linked to a foreign value issue after all... That's odd.

This can be solved by being more explicit in your code:
    def __unicode__(self):
        return unicode(self.label)   # or force_text()

Ok, thanks for your help. By using your code I realized that some of my objects return None for label, which isn't normal. Now I'm pretty sure the issue comes from django-modeltranslation.
I'll try to see how it goes for my translated objects that aren't using polymorphic as you suggested.

ok, thanks for letting us know!


Add events for February 2019

Events can be hackathon, start-up event or a conference

https://github.com/geekyd/Event-Buddy/pull/83


Update NEA to get FISMA reports back. Closes #186.

I've resolved merge conflicts between this and @divergentdave's hardening work, and am waiting for tests to pass.


Inappropriate automatic scrolling

Godot version:
3.2 beta 4 Mono
OS/device including version:
Win10 64 Home
Issue description:
When you edit the collision layers, the dock automatically scrolls down.
Steps to reproduce:
Edit the collision layers and masks by pressing the "..." button.
Observe in GIF.

Minimal reproduction project:

I can't reproduce it

The inspector scrolls correctly to fit the popup.

The fact is that the scroll of the dock should not move at all when the "..." button is pressed
Why does it move automatically?

I also encoutered something similar in the Visual Script editor:

This is recorded on a HiDPI monitor. On a normal DPI monitor, it scrolls a much smaller amount.

Might be related to #34269 (and follow-up #34389).

Most likely. Maybe the follow behavior should just be optional? The only benefit for the inspector is that you can scroll it using arrows.

I just tried beta 3, not reproducible.

It happened to me too but only once. It worked fine after I restarted Godot though. It was a build of few days.


Error in VS 2019

I am getting this error when building BGTask in VS 2019.
3>------ Build started: Project: WPFUIWithBackgroundTask.Package, Configuration: Debug x64 ------
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'UWPHead.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='AnyCPU'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform.
3>Done building project "UWPHead.csproj" -- FAILED.
Can you help me fix?

can you try to build for a specific platform such as x64 or x86?
I'm leaving this issue open to delete Any CPU references.

I've updated the CI build based on yaml, and you can see the build succeeds with VS2019 so I'm closing this issue


aws-okta: init at 0.19.0

Motivation for this change
Adding a useful tool for people that need to use Okta for AWS cli access. This package could also be used later in an okta-aws nixos module if we want to provide a less imperative okta login.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build aws-okta

Success on aarch64-linux (full log)
Attempted: aws-okta
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin
shrinking /nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin/bin/aws-okta
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin/bin
patching script interpreter paths in /nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin
checking for references to /build in /nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin...
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
/nix/store/qd6xb46hl32q946mi60z2d1wk01yykfl-aws-okta-0.19.0-bin

Success on x86_64-linux (full log)
Attempted: aws-okta
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin
shrinking /nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin/bin/aws-okta
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin/bin
patching script interpreter paths in /nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin
checking for references to /build in /nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin...
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
/nix/store/62nygfrxpvd99xxwsgpydr7g3x8jbq44-aws-okta-0.19.0-bin

Success on x86_64-darwin (full log)
Attempted: aws-okta
Partial log (click to expand)
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
find: '/nix/store/1fhqwwahc2iz9025kvnmrwdnh8gkqdm4-aws-okta-0.19.0': No such file or directory
/nix/store/1y6zp6jnaiy8d03ncfaqva5366np70h0-aws-okta-0.19.0-bin

One issue with this PR - the size of the vendor directory in the github checkout is 8Mb. It might be better to use a fork of the aws-okta repository that doesn't include vendor, and to use goDeps to manage the dependencies?

@imalsogreg I don't think we should fork it. We can always nuke the vendor directory during the build. Trying to find someone with the know-how on when and when not to unvendor. :)

#nixos (two data points, so obviously representative) says vendoring is fine, so if you'll just get rid of the comments, we can go ahead and merge. :)

@GrahamcOfBorg build aws-okta

I force-pushed a commit to my PR branch that removes the unneeded comment and extra meta field.

@GrahamcOfBorg build aws-okta
(It requires special privileges)

Success on x86_64-linux (full log)
Attempted: aws-okta
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin
shrinking /nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin/bin/aws-okta
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin/bin
patching script interpreter paths in /nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin
checking for references to /build in /nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin...
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
/nix/store/dcmzy464kj6hjhcyc3hvn4lqhzgc3h75-aws-okta-0.19.0-bin

Success on x86_64-darwin (full log)
Attempted: aws-okta
Partial log (click to expand)
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
find: '/nix/store/zyq3i32f5grf4h1bh5whdx847zgzlq05-aws-okta-0.19.0': No such file or directory
/nix/store/i216gnfrm4pvp70jh65dj2dlm1l2phib-aws-okta-0.19.0-bin


External dependencies support

In Android Studio inside build.gradle, if I add the following lines for couchbase library and click grade sync icon from toolbar menu:
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile 'com.android.support:design:22.2.1'
    compile 'com.couchbase.lite:couchbase-lite-android:1.1.0'
}

It will automatically download the necessary libraries for couchabse-lite.
NativeScript package.json should support similar external libraries via its dependencies tag. In this way, when a plugin is added to the project or nativeScript android project is being created, It will download the external library like Android Studio.
Resources:
http://rominirani.com/2014/08/19/gradle-tutorial-part-6-android-studio-gradle/
https://www.quora.com/What-is-the-difference-between-Gradle-Build-and-Gradle-Sync

@mehfuzh How to use Android support design BTW ? Have to manually create metadata from jar ? Because I tried just added the dependencies is not working

because this is platform specific it's done through the include.gradle file and not through the package.json.
fixed with: https://github.com/NativeScript/android-runtime/commit/77ab0cc446a7ee113d10c34ad04ecc2f309bd8c4
Now you can use an include.gradle file to make this additional configuration. You can read about the include.gradle file and how to implement it inside a plugin from the docs:
https://docs.nativescript.org/plugins#includegradle-specification


Add support for custom KubeClient

This is an initial take on adding support for a custom KubeClient supplied by plugins. If KubeClient is added for a remote cluster we need to ignore OwnerReferences
@kumare3 @EngHabu let me know what you think.
This will require https://github.com/flyteorg/flyteplugins/pull/154 and then a flyteplugins version bump
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Tracking Issue
https://github.com/lyft/flyte/issues/

Looks good to me, can you please rebase and also, fix the linter?

Includes changes from #238


Remove mockito inline

Close https://github.com/jhipster/jhipster-lite/issues/3287

I'll review it tomorrow :-)


enhance: bump to crowdsec 1.6.4 and firewall bouncer 0.0.31

@blotus @LaurenceJJones Any chance of this getting approved and merged?

@blotus @LaurenceJJones Any chance of this getting approved and merged?

Thank you for ping, I missed it as was on holiday but merged now 💪🏻