ButtonBar selected indicator buggy after calling moveToViewController

Hello,
i call
override func viewDidAppear(_ animated: Bool) {         moveToViewController(at: 1, animated: false)     }
in my ButtonBarPagerTabStripViewController. After doing this, the selected indicator animation is not working properly. In the attached video, u can see that the indicator is jumping around for no reason. E.g. If i click on Tab A, while being in tab B, the indicator jumps to tab C and then to B and finally to A.
https://drive.google.com/file/d/15qtEtowgM7Ut1f4EfCbfIE43lSTxDSA_/view?usp=sharing
What can i do to prevent this?

I have same problem, any news how to fix?

No. I used a Workaround, but i am on vacation and cant access my code atm.
On Mar 13, 2018 17:46, "OuSS-90"<EMAIL_ADDRESS>wrote:
I have same problem, any news how to fix?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xmartlabs/XLPagerTabStrip/issues/546#issuecomment-372712722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP72Whc_TNVW242WS0bE4XEcF2ZW9OO2ks5td-nkgaJpZM4SX936
.

Ok thank you

I'm also facing this issue, any news?

After commenting
this line ButtonBarPAgerTabStripViewController 196:
 buttonBarView.moveTo(index: currentIndex, animated: false, swipeDirection: .none, pagerScroll: .scrollOnlyIfOutOfScreen)

In my case, I do not face this bug anymore, didn't test other scenarios where it can create issues...

Yes ofcourse, you can leave this line out. But that does not solve the problem.
My workaround is as follows:
At first, i call
buttonBarView.move(fromIndex: 0, toIndex: Int(selectedTab), progressPercentage: 1, pagerScroll: .no)
after
moveToViewController(at: Int(selectedTab), animated: false)
so that yields to
moveToViewController(at: Int(selectedTab), animated: false)         buttonBarView.move(fromIndex: 0, toIndex: Int(selectedTab), progressPercentage: 1, pagerScroll: .no)
Secondly, i overwrite the updateIndicator method with this
override func updateIndicator(for viewController: PagerTabStripViewController, fromIndex: Int, toIndex: Int, withProgressPercentage progressPercentage: CGFloat, indexWasChanged: Bool) {         buttonBarView.move(fromIndex: 0, toIndex: toIndex, progressPercentage: 1, pagerScroll: .no)     }
I know thats not the solution we all wanted, but it works.

 ).
I have new problem with this method : after change to new sub controller but old controller status buttonBarView not change.
1 2 3 4
1 2 3 4

For the originally reported bug, just override updateIndicator like this:
override func updateIndicator(for viewController: PagerTabStripViewController, fromIndex: Int, toIndex: Int, withProgressPercentage progressPercentage: CGFloat, indexWasChanged: Bool) {
        buttonBarView.move(fromIndex: 0, toIndex: toIndex, progressPercentage: 1, pagerScroll: .no)
    }

Your status maybe sub controller just override (viewWillAppeal viewWillDidAppear, ...) but don't call (super.viewWillAppeal() ... ).
I have new problem with this method : after change to new sub controller but old controller status buttonBarView not change.
1 2 3 4
1 2 3 4

I have the same problem


Please add a @NgModule annotation.

Bug Report or Feature Request (mark with an x)

[x] Bug report -> please search issues before submitting
[ ] Feature request
[ ] Documentation issue or request

Reproduction link

Steps to reproduce

What is expected?

What is actually happening?

npm run build
报错
Unexpected value 'AdSimpleTableModule in<EMAIL_ADDRESS>imported by the module 'ResumeModule in /Users/wuyunfeng/work/resume-manage-system/modules/alain/resume/src/resume.module.ts'. Please add a @NgModule annotation.
Environment

ng-alain version: X.Y.Z
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

麻烦提供更多有利于判断的信息。


FF instantly closes to desktop when accessing the mod menu

So project x has been installed successfully and worked well.
Now I tried to pick up the game again and was trying to figure out which shortcut is for the ingame mod settings.
PC: ctrl + shift + backspace
xbox: back + start
but now whenever I use those shortcuts it just instantly closes to desktop, I don't really know where to look for logs or anything of that so if someone could help, that would be appreciated.
Version: 9.1.9

For other people having the same issue, I've done some digging and found out apparently there was an update of FFX which requires additional configuration.
Please see
FFX Configuration

Worked like a charm.  Thanks.

@kittykitty71 what configurations did u apply? saw the link but which config that you changed?

@tohajasper - there were several settings suggested within the dxgi.ini:
[Steam.Log]
Silent=true
[Render.FrameRate]
TargetFPS=60.0
[Window.System]
RenderInBackground=true
[Render.DXGI]
UseFlipDiscard=true
[Input.Gamepad]
AllowHapticUI=false
In my case, after some trial and error the crucial bit seemed to be the Silent=True line.  Trying to open the config menu ALWAYS causes a crash for me without that setting, but always works once it's set.

@kittykitty71 thanks for your help! setting the silent to true fix it for me as well

@tohajasper - there were several settings suggested within the dxgi.ini: [Steam.Log] Silent=true
[Render.FrameRate] TargetFPS=60.0
[Window.System] RenderInBackground=true
[Render.DXGI] UseFlipDiscard=true
[Input.Gamepad] AllowHapticUI=false
In my case, after some trial and error the crucial bit seemed to be the Silent=True line. Trying to open the config menu ALWAYS causes a crash for me without that setting, but always works once it's set.

Thanks! Worked here :)

@tohajasper - there were several settings suggested within the dxgi.ini: [Steam.Log] Silent=true
[Render.FrameRate] TargetFPS=60.0
[Window.System] RenderInBackground=true
[Render.DXGI] UseFlipDiscard=true
[Input.Gamepad] AllowHapticUI=false
In my case, after some trial and error the crucial bit seemed to be the Silent=True line. Trying to open the config menu ALWAYS causes a crash for me without that setting, but always works once it's set.

I just tried setting all these to what you have. It got a little further, can actually see the menu, but right when it popped up, it still crashes. Any ideas?

I'm having this same issue. I don't understand how you can even access the Special K menu WITHOUT pressing Start + Select.
How do you edit the configuration when you can't even get into the menu :'D
Would really like to get this thing to work

Seemed to have fixed the problem completely. Simply opened the dxgi.ini in the FFX steam folder, changed the RenderInBackground= setting from true to FALSE, and miraculously fixed the problem...
Now my button gamepad bindings don't work :(

Seemed to have fixed the problem completely. Simply opened the dxgi.ini in the FFX steam folder, changed the RenderInBackground= setting from true to FALSE, and miraculously fixed the problem...
Now my button gamepad bindings don't work :(

Try using my dxgi.ini > dxgi.txt
I had to change the extension to upload on Github, also, remember to make a backup from your dxgi.ini before!

if anyone comes to this way later looking for answers like I did, I can confirm what worked for me was going into my dxgi.ini file and changing RenderInBackground from true to false. game was crashing on boot up and now has been running for about 2 hours no crash with almost every character swapped up to 8k textures


improve repository hygiene

As part of the CNCF Incubation efforts (which also covers things like "Achieve the Open Source Security Foundation (OpenSSF) Best Practices passing badge."), I'm looking to improve github.com/confidential-containers/* hygiene.
This will be a meta issue and I'm adding/removing/completing tasks as we make progress. I might also be adding some priority status label later (since some are just nice to have at this point).

[ ] Move to use actions/stale to get stale issues and PRs closed
[x] Update/remove CODEOWNERS (and move to .github/) (ref: #31)
[ ] look to enable nightly cargo audit
[ ] Enable CodeQL static checks for Golang based repositories (ref OpenSSF task #46)
[ ] Enforce "I need help" type of issues are moved/submitted to Discussions, not issues
[ ] Update ISSUE_TEMPLATEs (most of the existing ones are unnecessary, e.g., CNCF onboarding)
[ ] Make dependabot to update actions' version (with pinned versions)
[ ] actions-rs is archived/unmaintained so keep an eye for an alternative
[x] #206
[ ] Review Github token permissions
[ ] #225
[ ] archive unmaintained repositories
[ ] define Rust MSRV policy

also: help wanted

(I had to use cncf-onboarding template and now I'm not able to drop the label...)

actions-rust-lang/setup-rust-toolchain@v1 looks like the most official option to install a rust toolchain currently

actions-rust-lang/setup-rust-toolchain@v1 looks like the most official option to install a rust toolchain currently

+1, seems like a good option indeed. good release notes/tagging and audit/msrv tooling.

Ok I think an issue can be linked https://github.com/confidential-containers/confidential-containers/issues/258


Do not build .NET Fx binaries in source build - roslyn repo

Few more changes for roslyn repo.

This one I'm a bit concerned about - at one point Roslyn decided whether to include build props and targets based on the target framework, and we need those props and targets included for downstream builds to actually pick our Roslyn up instead of using the SDK compiler.  If you haven't looked at it yet, could you confirm that Microsoft.Net.Compilers.Toolset and family still include these props and get used downstream?

This one I'm a bit concerned about - at one point Roslyn decided whether to include build props and targets based on the target framework, and we need those props and targets included for downstream builds to actually pick our Roslyn up instead of using the SDK compiler. If you haven't looked at it yet, could you confirm that Microsoft.Net.Compilers.Toolset and family still include these props and get used downstream?

I've checked the Compilers.Toolset package and csc binary being used - everything looks fine, we are using what is built in source-build.


Run all integration tests on CI

Not all tests were being executed on Travis CI.
@tbak this is why CI didn't catch the transitive dependencies issue a few commits ago.

@tbak better now, the ZookeeperMasterMonitorTest faillures look legit and real problems

Now part of #483.


Cannot mount new volume after another volume plugin is deleted

How to reproduce:

Install vsphere volume plugin:
docker plugin install --grant-all-permissions --alias vsphere vmware/docker-volume-vsphere:latest

Install another volume plugin:
docker plugin install --grant-all-permissions --alias netapp netapp/ndvp-plugin:17.07

Disable and rm the second volume plugin:

docker plugin disable netapp
docker plugin rm netapp

Create and use a volume:

docker volume create --driver=vsphere testVol
docker run --rm -it -v testVol:/mnt/myvol busybox

will give error:
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/var/lib/docker/plugins/9e81f4468bc4c45e080e59f4fa1d3e6c0d9bd530e100b033d06b56f638ab90c9/rootfs/mnt/vmdk/testVol@vsanDatastore\\\" to rootfs \\\"/var/lib/docker/aufs/mnt/3111832daba9576dd7c81cfc6e0dcca0b162488d6a7567dadba36ce5224a3fa2\\\" at \\\"/mnt/myvol\\\" caused \\\"stat /var/lib/docker/plugins/9e81f4468bc4c45e080e59f4fa1d3e6c0d9bd530e100b033d06b56f638ab90c9/rootfs/mnt/vmdk/testVol@vsanDatastore: no such file or directory\\\"\"".
ERRO[0002] error getting events from daemon: context canceled

Error is gone when vsphere plugin is re-installed.

@luomiao can you also upload plugin logs. The error, seems to say that the source volume location doesn't exist. Plugin should have mounted on that path.
Docker issue 33378 may be related - plugin looses propagated mount and hence docker can't see the plugin mounted volume.

Related issue is fixed in docker in 17.06.0 RC2 tracker #2.

@govint
Thank you for the information!
Updated to 17.06.0-ce and problem seems resolved.


BaseElement canX methods sometimes return null, which is incorrect

BaseElement canX methods are returning null in some cases.
As per https://github.com/silverstripe/silverstripe-framework/issues/10184 it is established that the return type for canX methods on a DataObject should be boolean - null is not a valid return type from these methods.
Acceptance criteria

[x] All canX methods in BaseElement return a boolean value.

PRs

https://github.com/silverstripe/silverstripe-elemental/pull/1004

Issue was fixed.


Force async_read to read a byte at a time

Version of Beast
Version included with Boost 1.71.0
Problem Statement
I want to use the request/response objects that Beast includes, however for the response being read from the remote socket I absolutely need it to not read any data past the last \r\n from the socket.
I want to write a way to transparently set up a HTTP CONNECT based proxy session, and after the last \r\n anything else is connected directly to the remote endpoint. I want to at this point hand the socket off to some other code that is not aware of any buffers, nor should it be because it just needs to care about having a socket to read/write from.
So is there some way to have async_read stop reading as soon as it sees the \r\n?

So is there some way to have async_read stop reading as soon as it sees the \r\n?

Nope. If you want to do this, read from the socket yourself until you see "\r\n\r\n", and use beast::http::parser to manually submit the buffer for parsing.

Alright, thanks @vinniefalco!


Slightly improved Crypto unit tests

Currently in the tests which check that incorrect passwords are rejected, we don't ensure that the exceptions thrown are the ones we expect. This patch improves the current situation, so that we actually can be sure that the code "fails" in the correct way.
Note: This patch also fixes some cases of weird indentation in the file.
Edit: Easier reviewing with https://github.com/mozilla/pdf.js/pull/6093/files?w=1.

/botio unittest

/botio-windows unittest

/botio unittest

Aside from the comment above this looks really good!

The function name was shortened.
/botio unittest

/botio unittest

Looks good, thanks!


Fix interactivity for animated layers

Events featureHover, featureEnter and featureLeave are only triggered when the mouse moves, but no when the feature changes in an animated layer.
For example in this map: https://cartodb.github.io/CARTOgraphy/vl/active-fires.html popup should change with the animation so featureHover should be called automatically when required.

Closed by https://github.com/CartoDB/carto-vl/pull/865


Sikuli visual automation hangs with this error in src\tagui.sikuli\tagui_windows.log

from user - visual automation hangs there with following log contents
+++ running this Java
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar c:\tagui\src\tagui.sikuli\sikulix.jar -r tagui.sikuli
Jul 03, 2018 11:40:41 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[tagui] START  - listening for inputs

[tagui] FINISH - stopped listening

It looks like a Java issue. I found 2 possible solutions online which you can try and let me know how it goes. You can call me Ken. I'll be with AI Singapore until mid August. Now we are looking for the next person, when the new person is hired then I introduce to you, Evelyn and the folks at CA Trust.
First way
Go to the folder tagui\src\tagui.sikuli, right-click on runsikulix.cmd and run as administrator. After that try to run again your automation script to see if it works (for example tagui demo.txt chrome)
Second way

Go into your Start Menu and type regedit into the search field.
Navigate to path HKEY_LOCAL_MACHINE\Software\JavaSoft (Windows 10 seems to now have this here: HKEY_LOCAL_MACHINE\Software\WOW6432Node\JavaSoft)
Right click on the JavaSoft folder and click on New -> Key
Name the new Key Prefs and everything should work."

reference for #1 - http://dejavuqa.tistory.com/160
reference for #2 - https://github.com/julienvollering/MIAmaxent/issues/1

confirmation from user that it works - 'The solutions you recommended works. 😄'


ADM-CID not works

Hi,
My alarm uses adm-cid, i added it to HA without setting the encryption key because i can set max 8 char on my alarm, the configuration is ok but from HA the status is always unknown.
Can you help me please?

Hey that is fantastic since I can't test that myself, please turn on logging for both the component and package (pysiaalarm) and report back to me here! Take note that you won't see a change in ha until you do something with the alarm itself

I set log level like this:
logger:   default: error   logs:     homeassistant.components.pysiaalarm: debug
but i can't see any log in the console

you need:
logger:
  default: error
  logs:
    homeassistant.components.sia: debug
    pysiaalarm: debug

any update on this? the current HA integration uses the latest version of the package which has additional ADM-CID codes so should work for a lot of cases, please let me know and otherwise close this issue!

Hello,
i add the official HA integration and when i activate/deactivate the alarm with my remote i can see this:
`nov. 11 14:46:14 hass hass[1417]: 2021-11-11 14:46:14 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code RP for port 1212 and account AAAA
nov. 11 14:46:14 hass hass[1417]: 2021-11-11 14:46:14 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: ], Zone (ri): 0, Code: RP, Message: , Account: AAAA, Receiver: R0, Line: L0, Timestamp: None, Length: 0015, Sequence: 0000, CRC: 7137, Calc CRC: 7137, Encrypted Content: None, Full Message: "NULL"0000R0L0#AAAA[].
nov. 11 14:46:14 hass hass[1417]: 2021-11-11 14:46:14 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: ], Zone (ri): 0, Code: RP, Message: , Account: AAAA, Receiver: R0, Line: L0, Timestamp: None, Length: 0015, Sequence: 0000, CRC: 7137, Calc CRC: 7137, Encrypted Content: None, Full Message: "NULL"0000R0L0#AAAA[].
nov. 11 14:46:18 hass hass[1417]: 2021-11-11 14:46:18 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: A3AC0029"ADM-CID"6855R0L0#AAAA[#AAAA|3441 01 042]
nov. 11 14:46:18 hass hass[1417]: 2021-11-11 14:46:18 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAAA', 'event_qualifier': '3', 'event_type': '441', 'partition': '01', 'ri': '042', 'xdata': None, 'timestamp': ''}
nov. 11 14:46:18 hass hass[1417]: 2021-11-11 14:46:18 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code CG for port 1212 and account AAAA
nov. 11 14:46:18 hass hass[1417]: 2021-11-11 14:46:18 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAAA|3441 01 042], Zone (ri): 042, Code: CG, Message: , Account: AAAA, Receiver: R0, Line: L0, Timestamp: None, Length: 0029, Sequence: 6855, CRC: A3AC, Calc CRC: A3AC, Encrypted Content: None, Full Message: "ADM-CID"6855R0L0#AAAA[#AAAA|3441 01 042].
nov. 11 14:46:18 hass hass[1417]: 2021-11-11 14:46:18 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAAA|3441 01 042], Zone (ri): 042, Code: CG, Message: , Account: AAAA, Receiver: R0, Line: L0, Timestamp: None, Length: 0029, Sequence: 6855, CRC: A3AC, Calc CRC: A3AC, Encrypted Content: None, Full Message: "ADM-CID"6855R0L0#AAAA[#AAAA|3441 01 042].
nov. 11 14:46:26 hass hass[1417]: 2021-11-11 14:46:26 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: B3540029"ADM-CID"6856R0L0#AAAA[#AAAA|1401 01 042]
nov. 11 14:46:26 hass hass[1417]: 2021-11-11 14:46:26 DEBUG (MainThread) [pysiaalarm.event] Content matches: {'account': 'AAAA', 'event_qualifier': '1', 'event_type': '401', 'partition': '01', 'ri': '042', 'xdata': None, 'timestamp': ''}
nov. 11 14:46:27 hass hass[1417]: 2021-11-11 14:46:26 DEBUG (MainThread) [homeassistant.components.sia.hub] Adding event to dispatch and bus for code OP for port 1212 and account AAAA
nov. 11 14:46:27 hass hass[1417]: 2021-11-11 14:46:26 DEBUG (MainThread) [homeassistant.components.sia.sia_entity_base] Received event: Content: #AAAA|1401 01 042], Zone (ri): 042, Code: OP, Message: , Account: AAAA, Receiver: R0, Line: L0, Timestamp: None, Length: 0029, Sequence: 6856, CRC: B354, Calc CRC: B354, Encrypted Content: None, Full Message: "ADM-CID"6856R0L0#AAAA[#AAAA|1401 01 042].
`
But when i try to activate the alarm from HA i have an error:
nov. 11 14:50:33 hass hass[1417]: 2021-11-11 14:50:33 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [2592291256] nov. 11 14:50:33 hass hass[1417]: Traceback (most recent call last): nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service nov. 11 14:50:33 hass hass[1417]:     await hass.services.async_call( nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/core.py", line 1495, in async_call nov. 11 14:50:33 hass hass[1417]:     task.result() nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/core.py", line 1530, in _execute_service nov. 11 14:50:33 hass hass[1417]:     await handler.job.target(service_call) nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity_component.py", line 213, in handle_service nov. 11 14:50:33 hass hass[1417]:     await self.hass.helpers.service.entity_service_call( nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/service.py", line 667, in entity_service_call nov. 11 14:50:33 hass hass[1417]:     future.result()  # pop exception if have nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 863, in async_request_call nov. 11 14:50:33 hass hass[1417]:     await coro nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/service.py", line 704, in _handle_entity_call nov. 11 14:50:33 hass hass[1417]:     await result nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/components/alarm_control_panel/__init__.py", line 156, in async_alarm_disarm nov. 11 14:50:33 hass hass[1417]:     await self.hass.async_add_executor_job(self.alarm_disarm, code) nov. 11 14:50:33 hass hass[1417]:   File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run nov. 11 14:50:33 hass hass[1417]:     result = self.fn(*self.args, **self.kwargs) nov. 11 14:50:33 hass hass[1417]:   File "/opt/homeassistant/lib/python3.9/site-packages/homeassistant/components/alarm_control_panel/__init__.py", line 152, in alarm_disarm nov. 11 14:50:33 hass hass[1417]:     raise NotImplementedError() nov. 11 14:50:33 hass hass[1417]: NotImplementedError

That you cannot set the alarm through HA is by design, because the SIA protocol doesn't allow that!

how i can set it?


[bug] Precedence error between ":=" and "in"

Bug in parser due to the precedence error, failing test: https://github.com/invariantlabs-ai/invariant/commit/70d0f39de6f02bebb2e017da52cd20670ca5d85a

Fixed in https://github.com/invariantlabs-ai/invariant/commit/47e5c1045f650a44bc27bc0573d5f6edef5863fa. I also added some more comments to the parser.py.


Magic Eden sales tracking

It looks like there is an issue reading sales now that Magic Eden has swapped the sales contract.
From MetaHelix Discord - Update regarding ME sales tracking:
Magic Eden have changed their NFT Sale contract over the weekend, making it so our tracking bots are temporarily not able to collect sales data for these collections. The technical reason is that  the sale contract no longer lists all creators in the transactions, including the verified creator of the collection, which is the wallet we track to collect this data.
There are a few different work arounds we are currently looking at in order to fix this, and will give you all an update regarding that soon.

Hey, did you find any way to solve this? I haven't found a way to fix it yet.

@b4rtt nothing yet. I have debugged a bit but it looks like the parsed transactions from Magic Eden now don't contain the correct data to be classified as a sale. The odd thing is I haven't been able to get the info I am expecting from their updated transactions so I can't debug it yet. Thinking that there is a secondary call that needs to happen when its Magic Eden to just grab the data.
@kryptoj any thoughts?

@lminor do you have links to the sales transactions that are not working?

MagicEden has changed its Program before, we're able to fix it by adding a new program (address) to the list. https://github.com/milktoastlab/SolanaNFTBot/blob/main/src/lib/marketplaces/magicEden.ts#L6-L9

Magic Eden have changed their NFT Sale contract over the weekend, making it, so our tracking bots are temporarily not able to collect sales data for these collections. The technical reason is that the sale contract no longer lists all creators in the transactions, including the verified creator of the collection, which is the wallet we track to collect this data.

That does sound like it could be harder to fix.

Added support for MagicEden's V2 in the latest version. See https://github.com/milktoastlab/SolanaNFTBot#magic-eden-variables for more details.


nipap-whoisd init script doesn't work

Running debian 8 with nipap 0.29.5-1 installed through the official apt-sources. We upgraded from 0.28.
Running the startup script /etc/init.d/nipap-whoisd start reports ok but the service is not started.
We had to manually start it with: /usr/bin/python /usr/sbin/nipap-whoisd --config /etc/nipap/whoisd.conf
Running /etc/init.d/nipap-whoisd stop does work however, after starting the service manually.

For me it worked to uncomment the pid_file setting in whoisd.conf.
There is a conflict in letting nipap-whoisd and the init script both handle the same PID file.


Add Comments

Find a library that can support adding comments to posts

See if it is possible to use GitHub issues for comments?

Look into https://utteranc.es/


Implement a minimal file-matching API

(Split off from #23)
The following is a list of capabilities which ought to be included in a minimal file-matching API.

[ ] Match against the contents of a reader
[ ] Find a first match in a set of files
[ ] Find all matches in a set of files
[ ] Find n matches in a set of files

This is implemented in: https://github.com/omnibor/omnibor-rs/pull/45/files


feat: use extended theme

Adds a new hook useExtendedTheme. It's needed for the pagination footer feature.

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Adds Spanish (Spain) translation.

What the title says!
Closes #29.

Codecov Report

Merging #73 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   51.88%   51.88%
=======================================
  Files          46       46
  Lines         904      904
  Branches       26       26
=======================================
  Hits          469      469
  Misses        435      435

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 c6b4ded...33b79d6. Read the comment docs.

It's so beautiful!


Use NumPy indexes to handle tunnels.

Here's the improved tunnel algorithm.  I've tried to document every step of what it does, but you might need to look up what advanced indexing means for NumPy.
I changed the imports to include the whole random module, that was probably unnecessary, but I'm used to using random.random() for percentage checks.
If you're using PyCharm it should see that the requirements file was updated.  I've added and documented tcod.los.bresenham to python-tcod.
I've changed the comments into complete sentences, but that was done as a separate comment in-case you don't like that style and want to revert them.  I'm used to this style from PEP 8.
This is ready to merge but I can change anything about it if you want.  I have nothing more to add to part 3 after this.

Alternatively tunnel_between could be implemented as a generator.
def tunnel_between(...):
    ...
    yield from tcod.los.bresenham((x1, y1), (corner_x, corner_y)).tolist()
    yield from tcod.los.bresenham((corner_x, corner_y), (x2, y2)).tolist()

...

for x, y in tunnel_between(rooms[-1].center, new_room.center):
    dungeon.tiles[x, y] = tile_types.floor

But this would be less suitable for NumPy, and I want to avoid these types of loops in Python since they could cause performance issues.  This one would be okay since dungeon generation is infrequent.


Add link to demo video

Link to youtube video with a short walkthrough
Closes #5

I've created and uploaded my video (finally). Please take a look and bring up any glaring issues that would require rerecording it (note that it's already "published" on youtube).

@ajbozarth great video! a few minor comments to keep in mind for your next video.

There's a bit of a whitenoise/static in the audio at higher volumes. Since you're using a Mac, I assume you're also using iMovie, there's an option to reduce background noise for all audio clips. Try that out, or buy a standalone mic and not the built-in one :)
Since you made the video after the pattern was published, it would have been nice to show the code pattern page! :)
When showing a terminal, consider increasing the font size temporarily.

Thanks for the feedback @stevemart I actually didn't do any editing on that video, it was supposed to be a dry run but it came out like that in my first take so I decided to keep it rather than record with a better mic like I had planned. And I completely forgot to up the terminal text size >.< As for the pattern page, I thought publishing hadn't created it yet?

You're right. I was confusing this one with your other pattern for some reason. Serves me right for working in the evening. :)


Can you explain hyper parameters?

Thanks for sharing this wonderful work!
As you mentioned in the paper,
"
We set the hyper-parameters as |N (𝑖)| = 4,
𝛿 = 0.2, 𝜆1 = 0.001, 𝜆2 = 0.01 and 𝜆𝑑 = 0.1. We use 512×512
image in all experiments. For training the model, we adopt the
Adam optimizer [52], and it spends about 13 hours on 2 Nvidia
GeForce RTX 3090 24GB GPUs
"
can you specify what the parameter is in the config file?
|N (𝑖)| : batch_size
𝛿 : dis_threshold
𝜆1 : lambda_pose in opt.py
𝜆2 : lambda_pose_smooth in opt.py
𝜆𝑑 : lambda_background
Is this right variables?

|N (𝑖)| is the number of nearest neighbor vertices for given point x in observation space.

Thanks a lot


cli: ask for NEP2 account label if not provided

The breaking part of #2887, see the https://github.com/nspcc-dev/neo-go/pull/2887#discussion_r1086851612.
Draft until a proximity to 0.102.0.

@roman-khimov, let's review it, we're about 0.102.0.


Add support for setting middlewares that are executed after parsing the path params.

A good use-case would be applying Semver versioning to all endpoints, right now I have to apply a middlewareFunc to every handler, because path params are not present while executing middlewares for obvious resasons.

I'm trying to think about the right API for that. Would a stack of middlewares passed as a parameter of the Router would do ?

I think so, might also be beneficial to have some sort of IfMiddleware that would accept a slice of middlewares/single middleware + be able to check if there's a param in the request, so, for example, if there's version param - let's enable SemVer and so forth.
I guess the same IfMiddleware might do, since it already receives a request object.
I think in this case fine-grained control is crucial, since you would most of the tie want these middlewares only in case a certain param exists.
Router middlewares sound good!


[GOBBLIN-1115] Add flow level data movement authorization in gaas

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1115

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Create DataMovementAuthorizer which is called from compiler for each flow that is compiled to determine if it is authorized. By default it is just a NoopDataMovementAuthorizer that always returns true.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Tested with gaas
Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@sv2000 please review

Codecov Report

Merging #2955 into master will decrease coverage by 0.92%.
The diff coverage is 72.00%.

@@             Coverage Diff              @@
##             master    #2955      +/-   ##
============================================
- Coverage     45.62%   44.70%   -0.93%
+ Complexity     9193     9026     -167
============================================
  Files          1939     1940       +1
  Lines         73531    73555      +24
  Branches       8125     8127       +2
============================================
- Hits          33552    32885     -667
- Misses        36855    37588     +733
+ Partials       3124     3082      -42

Impacted Files
Coverage Δ
Complexity Δ

.../org/apache/gobblin/service/ServiceConfigKeys.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...org/apache/gobblin/metrics/ServiceMetricNames.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...ervice/modules/flow/BaseFlowToJobSpecCompiler.java
65.51% <66.66%> (+0.04%)
13.00 <0.00> (ø)

...lin/service/modules/flow/MultiHopFlowCompiler.java
71.94% <70.00%> (-0.79%)
17.00 <0.00> (+1.00)
:arrow_down:

...rvice/modules/flow/NoopDataMovementAuthorizer.java
100.00% <100.00%> (ø)
2.00 <2.00> (?)

...gobblin/runtime/mapreduce/GobblinOutputFormat.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...askStateCollectorServiceHiveRegHandlerFactory.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...re/filesystem/FsDatasetStateStoreEntryManager.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...in/runtime/mapreduce/CustomizedProgresserBase.java
0.00% <0.00%> (-83.34%)
0.00% <0.00%> (-1.00%)

...rg/apache/gobblin/runtime/ZkDatasetStateStore.java
0.00% <0.00%> (-80.77%)
0.00% <0.00%> (-7.00%)

... and 46 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 c05b3cb...53e05a6. Read the comment docs.


[Feature] Moving progress icon while scrolling down

It would be good if the progress icon of currently running cell could scroll down as well to be always visible
Visually this is especially useful for a cell with a long block of code.
For example (from Google Colab):

I think this is the same request as https://github.com/microsoft/vscode/issues/130611#issuecomment-919582034

@misolori , agreed.
https://github.com/microsoft/vscode/issues/130611#issuecomment-919582034 makes this request redundant.
Thanks for all your efforts though!


CellTowers and capturing additional protocol information

I have updated a number of protocols to record CellTower information.  Where CellTower information is reported, I have deleted KEY_RSSI as it is provided with the CellTower and would be redundant.
I have updated a number of protocols to record a number of KEYS as described and matched in the protocol comments.

For some reason your pull request shows some of my changes... what happened? Can you please fix it and let me know when it's ready for merge.

Sorry about that.  I had inadvertantly pulled from your master branch.  It should be ready now.

Ready to merge.

Merged. Thanks for pull request.


fixed badges scaling with emote scale slider #817

Fixes #817.
Now doesnt scale badges at all, instead of scaling half of them.

Works well, thank you!


committing changes necessary for testing on Jenkins

-Updated some paths (removed WORKING_FOLDER var, env_Folder updated to placeholder text)
-Logger prints more detailed messages, now to console instead of a file
-File name for S3 storage in lowercase (best practice)
-Can be run in a folder with spaces in the name

-Updated some paths (removed WORKING_FOLDER var, env_Folder updated to placeholder text)
-Logger prints more detailed messages, now to console instead of a file
-File name for S3 storage in lowercase (best practice)
-Can be run in a folder with spaces in the name


Can't include jaxws-rt 2.2.10 using gradle

I'm having some trouble importing jaxws-rt with gradle. Appearently, jaxws-rt has an internal dependency with glassfish's ha-api:3.1.9, and this one should have a hk2-jar file that does not exists (even in Maven's central repository). The error I get is:
Execution` failed for task ':compileJava'.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'.
   > Could not determine artifacts for org.glassfish.ha:ha-api:3.1.9
      > Could not get resource 'http://myartifactory.com/org/glassfish/ha/ha-api/3.1.9/ha-api-3.1.9.hk2-jar'.
         > Could not HEAD 'http://myartifactory.com/org/glassfish/ha/ha-api/3.1.9/ha-api-3.1.9.hk2-jar'.

Can someone give me a hand with this? The only workaround I found was to exclude ha-api from jaxws-rt dependency (not properly tested for side effects).
Cheers
Nikao
Source: https://github.com/javaee/metro-jax-ws/issues/1255
Author: niclarcipretti

it's there https://search.maven.org/artifact/org.glassfish.ha/ha-api/3.1.9/hk2-jar


ChatDom

Description : Responsive web app to connect people one to one and chat by
sending messages and media.
It has user Authentication(login, logout). ones able to the last seen of the user.
used context API for state management.
deployed using firebase
Features :

web chat app

Tentative Deadline : n days (Provide tentative deadline as per your analyses. Make sure it falls under 1st Oct to 31st Oct)
Some Rules to follow :

Add a README.md file for your project.
Name of Project
Demo of Project in .gif how your project is look
Description of project
Requirements or Setup instructions
Name of Author(s)
Look at Demo here.

I want to add this project. Please assign me.

Can you assign me for this issue??

Can you assign me for this issue??

@SohanaShabnam05  yes you can work on it

Thanks for assigning me 😊
On Sun, Oct 9, 2022, 1:22 PM Soumik Kumar Baithalu @.***>
wrote:

Assigned #98
https://github.com/Tenet-Coding/Hacktoberfest-Projects/issues/98 to
@SohanaShabnam05 https://github.com/SohanaShabnam05.
—
Reply to this email directly, view it on GitHub
https://github.com/Tenet-Coding/Hacktoberfest-Projects/issues/98#event-7549025624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXQ4LUQGMCFYNLVQOZKUZ4DWCJ2VDANCNFSM5FVD5IFQ
.
You are receiving this because you were assigned.Message ID:
<Tenet-Coding/Hacktoberfest-Projects/issue/98/issue_event/7549025624@
github.com>


FAE characters

The application currently only supports Fate Core characters. FAE is an equally popular game format and should be included for character management

Completed.
Need a way to select which character type to create when adding a new character before closing this ticket.


$tsc-watch background problem matcher is locale specific

The beginsPattern and endsPattern for the $tsc-watch problem matcher match on lines where the time is reported in a specific format (11:12:13 PM). The tsc watch output, however, uses toLocaleTimeString which changes depending on your locale (e.g. 11:12:13 p.m.). This results in the task never ending if your locale is wrong.
From extensions/typescript/package.json:
{
  "background": {
    "activeOnStart": true,
    "beginsPattern": {
      "regexp":
        "^\\s*(?:message TS6032:|\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? -) File change detected\\. Starting incremental compilation\\.\\.\\."
    },
    "endsPattern": {
      "regexp":
        "^\\s*(?:message TS6042:|\\d{1,2}:\\d{1,2}:\\d{1,2}(?: AM| PM)? -) Compilation complete\\. Watching for file changes\\."
    }
  }
}

Output from tsc-watch on my machine is:
11:41:10 p.m. - Compilation complete. Watching for file changes.

A quick test shows that this doesn't match the endsPattern in package.json, because my AM/PM is capitalized the way it is. If I create a custom matcher, the task finishes successfully.
Is it necessary to match the full line? If not, simply matching the end of each line might be sufficient (expressions not JSON escaped).
beginsPattern: File change detected\. Starting incremental compilation\.\.\.$
endsPattern: Compilation complete\. Watching for file changes\.$

It's probably not a fun project to try and build a regex capturing all different ways to format times, so maybe the liberal ^\s*(?:message TS6042:|.*? -) could work if you want a pattern for the full line?
I'm running the latest version of relevant software:

Component
Version

Visual Studio Code
1.21.1

TypeScript
2.7.2

macOS
High Sierra 10.13.3

Locale
English with Swedish formats*

* This format seems pretty Node/v8 specific, because I really use 24 hour time and in Language & Region in System Preferences, I do have AM/PM as the chosen before/after noon markers. If run new Date().toLocaleTimeString() in node, I get the above formatting (node 9.8.0) -- but in Chrome it's 24 hour time.
Here's a full tasks.json which could work for other people:
{
  "version": "2.0.0",
  "tasks": [
    {
      "type": "typescript",
      "tsconfig": "tsconfig.json",
      "option": "watch",
      "isBackground": true,
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": false,
        "panel": "shared"
      },
      "problemMatcher": {
        "base": "$tsc-watch",
        "background": {
          "activeOnStart": true,
          "beginsPattern":
            "File change detected\\. Starting incremental compilation\\.\\.\\.$",
          "endsPattern": "Compilation complete\\. Watching for file changes\\.$"
        }
      },
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
  ]
}

I'm pretty sure the diagnostic is generated by TypeScript in createWatchStatusReporter in src/compiler/watch.ts:
export function createWatchStatusReporter(system: System, pretty?: boolean): WatchStatusReporter {
    return pretty ?
        (diagnostic, newLine, options) => {
            clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);
            let output = `[${formatColorAndReset(new Date().toLocaleTimeString(), ForegroundColorEscapeSequences.Grey)}] `;
            output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine + newLine}`;
            system.write(output);
        } :
        (diagnostic, newLine, options) => {
            clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);
            let output = new Date().toLocaleTimeString() + " - ";
            output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine + newLine}`;
            system.write(output);
        };
}

For now I will add a.m. and p.m. to the patterns. If we detect more locale variants for am / pm we need to investigate if we go with a different solution.

I did a quick check with the (locales found in this StackOverflow post](https://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-short-codes) check using new Date().toLocaleTimeString(locale) on node/Chrome. Even for English, you also have am (en-AU), but then you have Arabic, Greek, Spanish (as spoken in US), Mandarin and others... Here's the different formats I saw:

12:06:02
12:06:02 ከሰዓት
١٢:٠٦:٠٢ م
12:06:02 م
12:06:02 ч.
১২:০৬:০২ PM
12.06.02
12:06:02 μ.μ.
12:06:02 PM
12:06:02 pm
12:06:02 p.m.
12:06:02 p. m.
۱۲:۰۶:۰۲
12 h 06 min 02 s
12:06:02 ಅಪರಾಹ್ನ
오후 12:06:02
१२:०६:०२ म.उ.
12:06:02 PTG
பிற்பகல் 12:06:02
下午12:06:02

@victorandree thanks. I will reopen the issue and see what a better solution would be.

Supporting localized problem matchers is more of a feature than a bug.

@mjbvz I've gotten a whole bunch of these issues recently. Do you think it would be safe to match on just the the [hh:mm:ss] pattern and accept any other characters before or after the times? That would capture most of these times.

That sounds reasonable to me. Do you want to make the change or should I?

Sweet. I made the change and confirmed that English still works. I'll follow up with the people who hit this in other issues after we have an Insiders build and see if they can verify it.

The tsc problem matchers can't be made completely locale agnostic, but closing since this should be improved over the previous behavior.

@alexr00 please add a test plan or verification needed

To verify, make sure that problems in English can still be detected with the  $tsc-watch problem matcher. If you happen to also have a machine with a language other than English that uses one of the other separators, verify there too (not required).


New Term - sensitiveVernacularName

New term

Submitter: Quentin Groom, Ina Vandebroek

Efficacy Justification (why is this term necessary?): In light of the XX International Botanical Congress held in 2024 in Madrid, Spain, and ongoing discussions within the biodiversity community, there is increased awareness of the use of insulting, derogatory, and inappropriate vernacular names. These names can often be used unintentionally, and it is important for users of names to be properly informed about potentially offensive terms.

Demand Justification (name at least two organisations that independently need this term):
New York Botanical Garden
U.S. Botanic Garden
Meise Botanic Garden
University of the West Indies, Mona

Stability Justification (what concerns are there that this might affect existing implementations?): none

Implications for dwciri: namespace (does this change affect a dwciri term version)?: No

Proposed attributes of the new term: text

Term name (in lowerCamelCase for properties, UpperCamelCase for classes): sensitiveVernacularName

Term label (English, not normative): Sensitive vernacular name information

Organized in Class (e.g., Occurrence, Event, Location, Taxon): Taxon

Definition of the term (normative): An advisory that the vernacular name mentioned in dwc:vernacularName may be considered inappropriate for several reasons, including but not limited to words or their derivations that evoke: cultural sensitivity, ethic or racial sensitivity, gender sensitivity, derogatory language, religious sensitivity, colonial or imperial legacy, inaccuracy or misrepresentation, offensive language, cultural appropriation.

Usage comments (recommendations regarding content, etc., not normative): Details on whether a vernacular name might be considered offensive in certain contexts. Specify the relevant contexts if applicable. If research does not indicate any sensitivity related to the name, the best practice is to enter 'unknown' in this field.

Examples (not normative): “This name is consider a racial slur in English speaking countries”

Refines (identifier of the broader term this term refines; normative):

Replaces (identifier of the existing term that would be deprecated and replaced by this term; normative): N/A

ABCD 2.06 (XPATH of the equivalent term in ABCD or EFG; not normative): none

This is an excellent, and important way to increase transparency and communication about names with the potential to cause harm that does not restrict usage but allows institutions to make their own, informed decisions. I wholeheartedly support this term addition!

This does not make a whole lot of sense. Darwin Core does not have a Name object and the best way to deal with inappropriate labels on a Darwin Core Taxon is to just not use them. One could use the informationWithheld property to indicate that the vernacular name that was used was withheld because it was deemed inappropriate.

This does not make a whole lot of sense. Darwin Core does not have a Name object and the best way to deal with inappropriate labels on a Darwin Core Taxon is to just not use them.

It seems that you may not fully grasp the intended use case. Many vernacular names carry offensive or derogatory connotations, often specific to a particular group, language, or cultural context. To address this, several organizations have compiled catalogues or checklists of such names to inform others, ensuring that people do not unknowingly use terms with negative or harmful meanings.
This term is particularly relevant for people working in museums, botanical gardens, and other institutions where multilingual labels and interpretive materials are created. Similarly, it can benefit those writing floras and faunas by helping them understand the broader context of the names they include in their work.
In Darwin Core, taxonomic names are represented within the "Taxon" class, and the Darwin Core schema facilitates the exchange of name-related information.
This proposal originated from a symposium at the XX International Botanical Congress (Towards a more ethical science: Decolonizing Botanical Research) and during the Nomenclatural session of the Congress, where the issue of derogatory Latin names was a key topic of discussion. I have not addressed issues related to Latin names here, as that is a rather more complicated subject, with potentially different solutions.

Sorry, makes even less sense now. I understand the context, but I do not see a use case for this term in it. Inappropriate labels on specimens might be sensitive data, but they are not sensitive vernacular names. vernacularName is interpreted data. You decide what is a vernacular name and what is not, so if you think that a label is inappropriate, you just do not record it as a vernacularName, but you record it in fieldNotes or identificationRemarks if you want to exchange it at all.
It also seems counter-productive to broadcast sensitive data to the world by having special properties for it. I think for this kind of sensitive data the more appropriate options are to either withhold it or annotate it.

Some additional resources...

https://www.publicgardens.org/wp-content/uploads/2023/10/potentially-problematic-common-names-north-american-public-gardens.pdf
https://ibcmadrid2024.com/?seccion=scientificArea&subSeccion=detailAbstract&id=3505
https://ibcmadrid2024.com/?seccion=scientificArea&subSeccion=detailAbstract&id=2455

@qgroom, just to clarify my major issue with this proposal, a scientific name or vernacular name on a specimen label is not a dwc:scientificName or dwc:vernacularName, but a dwc:Identification. I am also not in favour of a dwc:sensitiveVerbatimIdentification, as I think there are better solutions for your use case outside Darwin Core, but it would at least say what (I think) you mean.

@Jaim3Fry3 , I never said that. I said 'withhold or annotate' and 'annotating' is what you call 'Highlighting these concerns in a clear, consistent manner'. And until you can do that and data consumers can deal with it, you withhold (or maybe I should say 'hold back') the data you consider might be sentitive or you do not yet know what to do with. At institutions like the one I work at people make these sort of decisions all the time.
On the other hand, 'Highlighting these concerns in a clear, consistent manner' is exactly what this proposal does not do, as it does address only one very specific piece of potentially sensitive information. The proposal does not address the stated use case, as it addresses the wrong term (or it least one of us thinks so) and also, because it focuses on one specific term rather than all the entire label, the sensitiveVernacularName disappears into the Identification History as soon as there is a new Identification while the sensitive bit of data is still on the label and on the image of the specimen.
The thing with sensitive data is that some consumers want to have it and other consumers do not (or should not). Also, different producers will consider different things sensitive. Therefore, sensitive data should be dealt with at the record or data set level, not the term level. The informationWithheld might not be sufficient, but it is in record-level terms like that that the solution should be sought. This is what the Sensitive Species Extension Task Group is looking at for the type of sensitive data that is generally dealt with with dataGeneralizations (and since we apparently want to be consistent...).

There are many Darwin Core terms that contain sensitive content in the sense being used for this term proposal. I support @nielsklazenga approach over also needing to add sensitiveLocality, sensitiveVerbatimLocality, sensitiveRecordedBy, sensitiveCaste, sensitiveBehavior, sensitiveOccurrenceRemarks, sensitiveOrganismName, sensitiveOrganismRemarks...

If @qgroom agrees, maybe this proposal can be converted to a discussion where we can discuss how to deal with this type of sensitive data (as opposed to sensitive data that can be generalised)?

I agree with @tucotuco. I understand that a Task Group is being established at TDWG to look at, and recommend Darwin Core Terms for sensitive data.

There are many Darwin Core terms that contain sensitive content in the sense being used for this term proposal. I support @nielsklazenga approach over also needing to add sensitiveLocality, sensitiveVerbatimLocality, sensitiveRecordedBy, sensitiveCaste, sensitiveBehavior, sensitiveOccurrenceRemarks, sensitiveOrganismName, sensitiveOrganismRemarks...

As many of you know last year, @ArthurChapman wrote an in-depth report on sensitive primary species occurrence data, including recommendations for changes to Darwin Core. It’s important to note that he did not address the issue of derogatory vernacular names, as this is a separate topic. Similarly, the Sensitive Species Extension Task Group does not have this issue within its remit.
The proposed sensitiveVernacularName term caters to different use cases and has a distinct stakeholder groups.
The word "sensitive" seems to have led to confusion between these unrelated issues. If you can suggest an alternative word it might be better. e.g. flaggedVernacularName, sensitiveLanguageVernacularName
Regarding the formation of a task group, it’s generally more effective to explore other solutions first. Task groups often struggle with efficiency and participation and can sometimes hinder standardization efforts. Unless there is a significant and controversial workload to address, it might be best to avoid forming one.
Chapman AD (2020) Current Best Practices for Generalizing Sensitive Species Occurrence Data.
Copenhagen: GBIF Secretariat. https://doi.org/10.15468/doc-5jp4-5g10.

@qgroom , I agree that this is out of scope for the Sensitive Species Extension Task Group (which is already there), but having special terms for different use cases and stakeholders kind of defeats the purpose of having a standard.

Why just vernacular names? Sensitive language permeates biodiversity data. Why not have a solution that can be applied to any or all of it, in a record-level term?

Why just vernacular names? Sensitive language permeates biodiversity data. Why not have a solution that can be applied to any or all of it, in a record-level term?

The primary reason for focusing on vernacular names is that Darwin Core is specifically designed for exchanging taxon-based checklist data, which includes both scientific and vernacular names. Unlike place names, which can also have cultural sensitivities, we do not typically use Darwin Core for gazetteer information exchange.
Latin names present their own challenges, but we cannot arbitarily choose which Latin name to use, Though one could argue it would be good to exchange information on this too. However, Latin names are controlled by the Nomenclatural Codes, so we should really take a lead from the Codes.
There are other fields that may contain offensive remarks, but that strays into a different use case. One case that Niels has mentioned is occurrence data. The intension here is to have the ability to communicate about the sensitivity of certain names and under what context. Not to judge that it is offensive or derogatory, as that is often a matter of perspective, but to ensure this information can be shared.

Sorry, I misunderstood the use case. I still do not understand why you cannot use a general-purpose record-level term, as they would be available in the Taxon Core and the Vernacular Name Extension as well.

The intension here is to have the ability to communicate about the sensitivity of certain names and under what context.

It will not be in the initial release of TCS 2, because it is not in TCS 1, but I have plans for a VernacularName class in TCS, which would be pretty much the same as the GBIF VernacularName. So, if this can wait and people can use taxonRemarks in the Vernacular Name Extension for now, I think that might be a good context for this discussion.

The word "sensitive" seems to have led to confusion between these unrelated issues. If you can suggest an alternative word it might be better.

I think "taboo" fits what's being discussed, "tabooVernacularName", and avoids the clash with the usual biodiversity meaning of a sensitive species.

I agree that sensitive can be confusing.  I think that "deprecated" seems more fitting. It firmly puts the context as something that is no longer used and that the reason may be that it is "taboo" but there could be other shades of reasons why it may exist, but should no longer be used (plus people often like to break taboos ;).

wrt the https://www.tdwg.org/community/dwc/sensitive-species/ we are also interested in tackling the problem of data which may be sensitive for cultural reasons.  we are not only considering obfuscation / generalisation of occurrence records but also withholding some record level / dataset level attributes where they are considered sensitive.


[TextField] Fix textfield label position when empty

[x] I have followed (at least) the PR section of the contributing guide.

Fixes #13735 for both the outlined and filled variants of the TextField.

With this change the placeholders are no longer in the middle if no label is provided: https://www.argos-ci.com/mui-org/material-ui/builds/37875

@eps1lon Yeah, the specification asks for centering the filled label. It should be good now. We are using some sub-pixel paddings and odd height values. I'm wondering if that can't create some rendering issues.


Optimize selected?

If the path only contains filter functions or pred, then there's no need to do a compiled-select followed by an empty? call. Instead, a function can be made that checks that all the conditions hold.

The same optimization should be made for if-path.

Implemented for 0.11.1


Remove named routes and url_for, change redirect syntax

Fixes #245

Codecov Report

Merging #248 into master will decrease coverage by 0.57%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #248      +/-   ##
==========================================
- Coverage    95.6%   95.03%   -0.58%
==========================================
  Files          27       27
  Lines        1206     1168      -38
  Branches      118      113       -5
==========================================
- Hits         1153     1110      -43
- Misses         41       43       +2
- Partials       12       15       +3

Impacted Files
Coverage Δ

bocadillo/recipes.py
100% <ø> (ø)
:arrow_up:

bocadillo/applications.py
100% <100%> (ø)
:arrow_up:

bocadillo/routing.py
97.65% <100%> (-2.35%)
:arrow_down:

bocadillo/templates.py
93.18% <100%> (-0.3%)
:arrow_down:

bocadillo/redirection.py
100% <100%> (ø)
:arrow_up:

bocadillo/meta.py
84.61% <0%> (-15.39%)
:arrow_down:

Continue to review full report at Codecov.

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


Added the code for search in sorted and rotated array problem

hey , @anubhavitis , @dheerajkotwani , @Rudrakshi, @Vatsal kesarwani, @Nakul Sharma
💻 🖋 please check this as  I Have added this new issue in this.

please review it @aaadddiii @dheerajkotwani

please review it @rudrakshi

change readme


Why is Theano backend 10x slower than Tensorflow for keras/examples/cifar10_resnet.py?

When I ran cifar10_resnet.py from keras/examples, I found Tensorflow ran about 10x faster than Theano. Not only is this a suspiciously large difference, but most people seem to find Theano to be faster than Tensorflow as a Keras backend.
What I saw was:
With Tensorflow:
smgutstein@gimli:~/Downloads/Packages/keras/examples$ python cifar10_resnet.py
/home/smgutstein/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
x_train shape: (50000, 32, 32, 3)
50000 train samples
10000 test samples
y_train shape: (50000, 1)
2019-01-29 11:22:52.267342: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-01-29 11:22:52.267798: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: GeForce GTX 1080 with Max-Q Design major: 6 minor: 1 memoryClockRate(GHz): 1.366
pciBusID: 0000:01:00.0
totalMemory: 7.93GiB freeMemory: 7.52GiB
2019-01-29 11:22:52.267814: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2019-01-29 11:22:52.715976: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-01-29 11:22:52.716002: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2019-01-29 11:22:52.716008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2019-01-29 11:22:52.716446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7265 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 6.1)
2019-01-29 11:22:52.788181: I tensorflow/core/common_runtime/process_util.cc:63] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Learning rate:  0.001
....
ResNet20v1
Using real-time data augmentation.
Epoch 1/200
Learning rate:  0.001
1563/1563 [==============================] - **36s 23ms/step**

Note: 36 sec/epoch is consistent with the 35 sec/epoch for ResNet 20 given in the code's comments/documentation
But, with Theano:
smgutstein@gimli:~/Downloads/Packages/keras/examples$ python cifar10_resnet.py
/home/smgutstein/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using Theano backend.
Using cuDNN version 7104 on context None
Mapped name None to device cuda: GeForce GTX 1080 with Max-Q Design (0000:01:00.0)
x_train shape: (50000, 3, 32, 32)
50000 train samples
10000 test samples
y_train shape: (50000, 1)
Learning rate:  0.001
...
ResNet20v1
Using real-time data augmentation.
Epoch 1/200
Learning rate:  0.001
1563/1563 [==============================] - **348s 222ms/step**

I installed everything with Anaconda, so have the following Keras, Tensorflow and Theano versions:
Keras: 2.2.4
Theano: 1.0.3
Tensorflow: 1.8.0
Also,
Ubuntu: 18.04
CUDA: 9.2.88
My keras.json file is:
{
    "epsilon": 1e-07,
    "floatx": "float32",
    "image_data_format": "channels_first",  #When using tensorflow as backend, this was "channels_last"
    "backend": "theano" #Note: Or "tensorflow",
}

My .theanorc file is as follows:
[global]
floatX=float32
device=cuda
optimizer=fast_run

[nvcc]
fastmath=True

the relevant (I believe) portions of my theano.config are:
floatX (('float64', 'float32', 'float16'))
    Doc:  Default floating-point precision for python casts.

Note: float16 support is experimental, use at your own risk.
    Value:  float32

device (cpu, opencl*, cuda*)
    Doc:  Default device for computations. If cuda* or opencl*, change thedefault to try to move computation to the GPU. Do not use upper caseletters, only lower case even if NVIDIA uses capital letters.
    Value:  cuda

gpuarray.preallocate (<type 'float'>)
    Doc:  If negative it disables the allocation cache. If
             between 0 and 1 it enables the allocation cache and
             preallocates that fraction of the total GPU memory.  If 1
             or greater it will preallocate that amount of memory (in
             megabytes).
    Value:  0.0

dnn.conv.algo_fwd (('small', 'none', 'large', 'fft', 'fft_tiling', 'winograd', 'winograd_non_fused', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
    Doc:  Default implementation to use for cuDNN forward convolution.
    Value:  small

dnn.conv.algo_bwd_data (('none', 'deterministic', 'fft', 'fft_tiling', 'winograd', 'winograd_non_fused', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
    Doc:  Default implementation to use for cuDNN backward convolution to get the gradients of the convolution with regard to the inputs.
    Value:  none

dnn.conv.algo_bwd_filter (('none', 'deterministic', 'fft', 'small', 'winograd_non_fused', 'fft_tiling', 'guess_once', 'guess_on_shape_change', 'time_once', 'time_on_shape_change'))
    Doc:  Default implementation to use for cuDNN backward convolution to get the gradients of the convolution with regard to the filters.
    Value:  none

dnn.conv.precision (('as_input_f32', 'as_input', 'float16', 'float32', 'float64'))
    Doc:  Default data precision to use for the computation in cuDNN convolutions (defaults to the same dtype as the inputs of the convolutions, or float32 if inputs are float16).
    Value:  as_input_f32

optimizer (('o4', 'o3', 'o2', 'o1', 'unsafe', 'fast_run', 'fast_compile', 'merge', 'None'))
    Doc:  Default optimizer. If not None, will use this optimizer with the Mode
    Value:  fast_run

blas.ldflags (<type 'str'>)
    Doc:  lib[s] to include for [Fortran] level-3 blas implementation
    Value:  -L/home/smgutstein/anaconda2/lib -lmkl_core -lmkl_gnu_thread -lmkl_rt -Wl,-rpath,/home/smgutstein/anaconda2/lib

Do my results make sense? Is the time difference a sign that Keras and Tensorflow are evolving, but Theano is standing still?

The issue here is the use of batch_normalization with a Theano backend. Issue #1309 reads as though this is a solved problem, but apparently I'm missing something


New Feature: Pattern Browser By Perk

E.g. "Are there any Special weapons with Incandescent?"

Oh, this is still a very good idea. I would love to use this. It's a bit tricky given how many perks are in the game, but I would really like to do something here.


Typo involving publishFeedCredentials and verbosityRestore

In the Arguments section, there are two consecutive rows with arguments publishFeedCredentials and verbosityRestore that look like

Argument
Description

publishFeedCredentials NEWLINE Verbosity
Specifies the amount of detail displayed in the output.

verbosityRestore NEWLINE NuGet server
The NuGet service connection that contains the external NuGet server’s credentials.

That is the second time that verbosityRestore has appeared in that table.
These two rows are a typo; they should be combined into one row like this:

Argument
Description

publishFeedCredentials NEWLINE NuGet server
The NuGet service connection that contains the external NuGet server’s credentials.

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

ID: 0fa37a3f-6551-16ad-e164-a4ac522cdaab
Version Independent ID: a3fd6935-2b99-92ef-4eb3-3249fca01f8a
Content: NuGet restore, pack, and publish task - Azure Pipelines
Content Source: docs/pipelines/tasks/package/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

@bender2k14  Thank you for the contribution and feedback.
The documentation has been updated and is pending review.


string2vector in sapdataprovider did not consider empty string?

I entered an error:

In sapdataprovider:

I found my a is a empty string "". which result:

Sorry, but sapdataprovider.js is not part of any OpenUI5 library. AFAICS, it is contained in the sap.ui.vbm library, which is only part of the bigger SAPUI5.

Sorry, I'll create BCP ticket for vbm


Feature/mcmc tracking

Updated old pair coding branch on MCMC tracking with what I could. I moved two new factors into their own compilation units, but unfortunately SwitchingBetweenFactor no longer compiles, and I think I need some @marcrasi  help :-)

@dellaert Are you still working on this, and do you need our help?

Yes, thanks ! Maybe I should merge in develop and check what the current error is?

So, looking for latest dev snapshot on https://github.com/tensorflow/swift/blob/master/Installation.md, I notice there is none for XCode 11. Will XCode 11 June 16 do?

Yeah, that should still work. We haven't made any backwards incompatible changes recently.

@marcrasi @dabrahams I merged in master and tried compiling again, and output is below. I think at one point @marcrasi made it possible to be only differentiable with respect to some of the variables, but maybe this is now done in a different way? In this case, we have a discrete variable indicating the motion model, so obviously we can't be differentiable with respect to that:
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:54:36: error: type 'SwitchingBetweenFactor<Pose, JacobianRows>.ErrorVector' (aka 'Pose.TangentVector') does not conform to protocol 'ScalarsInitializableVector'
  public typealias Linearization = JacobianFactor<JacobianRows, ErrorVector>
                                   ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: error: type 'Int' does not conform to protocol 'Differentiable'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: error: 'LinearizableFactor' requires that 'Int' conform to 'Differentiable'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: note: requirement specified as 'Int' : 'Differentiable'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: note: requirement from conditional conformance of 'Tuple2<Int, Pose>' (aka 'Tuple<Int, Tuple<Pose, Empty>>') to 'DifferentiableVariableTuple'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: note: requirement from conditional conformance of 'SwitchingBetweenFactor<Pose, JacobianRows>.Variables' (aka 'Tuple<Pose, Tuple<Int, Tuple<Pose, Empty>>>') to 'DifferentiableVariableTuple'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:16:15: error: type 'SwitchingBetweenFactor<Pose, JacobianRows>' does not conform to protocol 'LinearizableFactor'
public struct SwitchingBetweenFactor<Pose: LieGroup, JacobianRows: FixedSizeArray>:
              ^
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/SwitchingBetweenFactor.swift:50:15: note: candidate is missing attribute '@differentiable(wrt: x)'
  public func errorVector(at x: Variables) -> Pose.TangentVector {
              ^
         @differentiable(wrt: x)
/Users/dellaert/git/SwiftFusion/Sources/SwiftFusion/Inference/Factor.swift:56:8: note: protocol requires function 'errorVector(at:)' with type '(SwitchingBetweenFactor<Pose, JacobianRows>.Variables) -> SwitchingBetweenFactor<Pose, JacobianRows>.ErrorVector'
  func errorVector(at x: Variables) -> ErrorVector

Yes, now it's done in a different way. There is a method for returning the linearizable component a factor. Here is an example implementation of this method: https://github.com/borglab/SwiftFusion/blob/b1ea710d76ac605479e60fb37602334f68503147/Tests/SwiftFusionTests/Inference/FactorTests.swift#L36
That example is a switching motion model factor so you should be able to almost copy and paste it in to yours. Let me know if you want me to help by adding a commit to this PR that makes it use the new way.

OK, I fixed the compile issues based on that example. Thanks !

@dellaert Is this ready 4 merging?

Yes. Not a fully fledged tracker yet but unit tests pass so let’s do it

@dellaert Can you merge master and merge this PR?

Merged in branch from #180, need to resolve that first.


Per-file master bytecode link 404

Just little thing I noticed.
The link currently is https://github.com/linusg/libjs-website/blob/main/test262/data/per-file-master-bytecode.json (404)
I believe it probably should be: https://raw.githubusercontent.com/linusg/libjs-website/main/test262/data/per-file-bytecode-master.json

Thanks!


Better line breaking in discovery samples

For example:
resp, err := sheetsService.Spreadsheets.Get(spreadsheetId).Ranges(ranges...).IncludeGridData(includeGridData).Context(ctx).Do()

I'm claiming wontfix, feel free to change if either of you disagree.

Reclassifying as P3, per https://github.com/googleapis/toolkit/issues/655#issuecomment-288473547


handle errors that raise in goroutine

terminate program when errors raise in goroutine

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I run drone-server when DRONE_SERVER_PORT is 80 or other invalid arguments, the HTTP server is down and raises error, but the drone-server is still alive.  I fix this bug that stops drone-server when errors raise in goroutine.

I'm sorry. We are not going to merge this PR. Thank you.


FR: Publish the .hujson schema to schemastore.org

To use the megalinter and linter in many IDEs is a release the json schema on https://schemastore.org required.
https://github.com/SchemaStore/schemastore

Is the implementation possible in time?

Hi, this is not a priority for us at the moment since we primarily use HuJSON in a web UI that already provides syntax highlighting. You're welcome to contribute a schema file if you want. I don't know much about schemastore and it's fairly low on my priority list to understand how it works.

Where can I find the schema definition for syntax highlighting in the Web UI?
We just need to store it at SchemaStore. It can still be hosted at your end as well. Background is, e.g. for the Tailscale GitOps Pusher usage and a previous validation of the new Tailscale Policy Rule definition in the git repository.
I now assumed that if a syntax validation and highlighting already exists in the web UI, we can simply deposit this in the SchemaStore.
This would not only allow e.g. MegaLinter to validate the syntax of the .hujson in a CI PipeLine, but also when writing via VS Code or other IDEs the highlighting and syntax validation could be used directly.
Here is an example from GitLab for the .gilab-ci.yml:
https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json

Hello @dsnet,
can you help me with my question? Is there a schema file as it said in my example for GitLab CI ?
Best regards,
Bjoern

https://github.com/tailscale/hujson/issues/28#issuecomment-1331187018
There is not currently a schema file usable for your purpose. We are not likely to create one in the near future.


Fix Module Enabled Pipelines

Feature or Bugfix

Bugfix

Detail

Fix pipeline module name to DATAPIPELINES in frontend conditional rendering checks

Relates

N/A

Security
N/A
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)?

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization?

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features?

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?

Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Tested in AWS - fixes DataPipeline not showing as Env Module when creating a new env


apply upcoming rule: unnecessary_lambdas

DON’T create a lambda when a tear-off will do.
(not sure this improves the readability of setState functions)

Some of these changes are valid, but many are not.

The tests caught some of them, so we've got that going for us, which is nice. :-)

@Hixie you're completly right. The lint has (for now) a lot of false positives. I'm going to close and I'll file issue on the linter tracker.


Some tools aren't in the fabric namespace?

I was checking if your mod support Tiered mod and seems like Sapphire and Ruby tools aren't compatible.
https://www.curseforge.com/minecraft/mc-mods/tiered
"Mods need to add their tools to the respective tags inside the fabric namespace (fabric:pickaxes, fabric:chestplates, fabric:shovels, etc.)"

Fixed in #20


Auxin should have path to get profile key if user doesn't message from primary device

Auxin only knows it if there's a profile key if messaged from first bot
A challenge needs to be sent from auxin or python bot head to get user to message from primary device

see https://github.com/mobilecoinofficial/forest/commit/fbdd952808d9bd295da4c1e3a3b90e45f11b376a#diff-01eb77f63c3e388ea4367eb0cf393e451561e047511d77ea58b3086855ec9a76 for device id.

device_id field in dataMessage on auxin


[narwhal] fix executor recovery

During a crash recovery we are sending to the executor all the certificates that have been committed but not executed yet. To achieve that both the consensus_store and state are being used to determine what's the latest point we executed a certificate and what is latest committed certificate.
On a recent incident we observed that during the recovery of the certificates two things happened:

Instead of starting the "recovery" of the last executed certificate, we did start one certificate before. Ex instead of start (re)sending the committed certificate from index 308807 , we did practically start sending the certificate from index 308806.
The associated index number and certificate were mismatched. So although we did sent the certificate from round 308807 , we assigned it the index 308808 , which is wrong
Also, based on the code, we were effectively skipping sending the last committed certificate. So effectively the transactions from that certificate would never get executed.

This PR is fixing the above issues by ensuring that:

during recovery we are starting (re)sending the unexecuted certificates from the right point & use the right index
we are always resending all the unexecuted certificates without omitting the last one

Note: Also took the opportunity and enhanced a little bit the logging on a couple of more places.

Good find @akichidis
I see that main confusion seem to come from bullshark.rs where we send ConsensusOutput{consensus_index, ...} and then increment consensus_index and then write incremented sequence to the database.
I wonder if this would be an actual place to fix the problem, since it is incredibly strange to send one index over channel but put something else in the DB, wdyt?
I also added few comments to code about how I think we can remove more confusing pieces
Overall I think PR fixes the issue, but since this type of confusion is very concerning I am curious what do you think about suggestions above?

@andll I totally agree with the suggestion to make the change in bullshark.rs , and basically that's why I initially put this comment here https://github.com/MystenLabs/sui/pull/5820#discussion_r1013010568 . Ultimately I would like to refactor even the semantics of "next" etc which are super confusing to the way we use them today. That being said as part of this PR I was looking to not touch core parts of bullshark and db tables , and do that as part of upcoming PR. Sounds good/reasonable to you or do you still see more value just going with it now?

That being said as part of this PR I was looking to not touch core parts of bullshark and db tables , and do that as part of upcoming PR

I will leave it up to you then, I thought that updating bullshark.rs will be roughly same number of LoC as this PR, but I have not looked in details how many things this will touch. If you think it is more contained to do the fix the way current PR is structured this sounds good to me


[Fix][UI Next][V1.0.0-Alpha] Fix the scale of the table on the task instance page is out of balance.

Purpose of the pull request
close #8993

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #9006 (1d28400) into dev (7d94ada) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #9006   +/-   ##
=========================================
  Coverage     39.75%   39.75%
  Complexity     4262     4262
=========================================
  Files           808      808
  Lines         32551    32551
  Branches       3649     3649
=========================================
  Hits          12941    12941
  Misses        18381    18381
  Partials       1229     1229

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
83.60% <0.00%> (+1.63%)
:arrow_up:

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 7d94ada...1d28400. Read the comment docs.


Eliminate unnessary wrapping when call ByteBuf.asReadOnly() in some c…

…ases
Motivation:
We can eliminate unnessary wrapping when call ByteBuf.asReadOnly() in some cases to reduce indirection.
Modifications:

Check if asReadOnly() needs to create a new instance or not
Add test cases

Result:
Less object creation / wrapping.

Cherry-picked into 4.1 (371c0ca)


How to set custom button only for child?

How to set right side menu popup like (...) and when on click (...) this menu open dialog for rename/delete option only for child. basically i want drag and drop menu like https://todoist.com
we want also custom button and its custom function can we get it.?

@hirenkukadiya  Can you give more information? Because in link what you post here I see only simple landing..

Please use free login or create free account on this link https://todoist.com there many custom features for tree.
i want just smooth tree features there are many time drag and drop stuck...

@hirenkukadiya  Got it. At the moment I working on new plugin for Vue based in you expample. After  I finish I will publish it and back to fully refactor this plugin.

@Zicrael ok thanks.


fixed issue #56 -solution for 43,44,45,46 added

@RohitShah1706 I'm going to merge it but you have to add solution links for these problems in readme file

Oh sorry I forgot to do so,
I'm on that.

@Shubhamlmp my PR has not been merged.
It's showing not accepted on Hacktoberfest page.
Please help


[ENHANCE] Verification flow

Summary
After verifying my social profile on PotLock, expected completion but faced issues. UI didn't auto-refresh, possibly needing social indexer event subscription. Additionally, the "Verify" button step wasn't clear, suggesting UI improvements for better visibility and guidance.
Description
When I've verified my profile on PotLock platform, I thought it was the last step I had to take to verify my social profile. However, when I got back to nada.bot:

The UI didn't refresh the status automatically and had to refresh the page (don't know if it was an error maybe on my end, but in case it isn't implemented, this could be done by using the social's indexer and subscribing to a given event, happy to help if needed)
I didn't know that I had to click on the "Verify" button to complete the verification process, the UI might need a more clear warning with some contrast color to make it clear to the user that needs to click the button to finish the process.

Acceptance Criteria

[x] Nada.bot page automatically refreshes when the user took the first step on the external website
[x] The pending action to complete the verification process is outlined properly

Additional Information
In case you need any help implementing the indexer thing, or ideas on how the pending action could be outlined, I'm happy to help. Feel free to reach me out directly via TG @OxMattB

Hello @wpdas now it's working properly. Thank you! Closing the issue.


Building wheel suitable for extensions

Me and @berendkleinhaneveld were investigating if we could build extensions against this package. It seems to be a runtime-only package, which is great, but we need the development files, such as headers and the wrapPython executable.
It looks like overriding the option -DVTK_INSTALL_NO_DEVELOPMENT:BOOL=ON to OFF should do the trick. So we tried that, and more development files ended up in the wheel. However, we are not seeing any header files!
We've been investigating all day, but it's unclear to us what is causing this. Do you guys have any suggestions for where we should be looking?

+1
header files, and eventually all the cmake helpers, shall be added

Applying the following patch the package is installing the header files and the cmake module files (inside the vtk python package folder). As main drawback, it is creating another vtk-8.1.0.data folder with the verdict stuff.
diff --git CMakeLists.txt CMakeLists.txt
index a9cf106..cf587dd 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -212,7 +212,9 @@ if(VTKPythonPackage_SUPERBUILD)
       -DVTK_INSTALL_RUNTIME_DIR:PATH=${install_dir}
       -DVTK_INSTALL_LIBRARY_DIR:PATH=${install_dir}
       -DVTK_INSTALL_ARCHIVE_DIR:PATH=${install_dir}
-      -DVTK_INSTALL_NO_DEVELOPMENT:BOOL=ON
+      -DVTK_INSTALL_INCLUDE_DIR:PATH=${install_dir}/include/
+      -DVTK_INSTALL_PACKAGE_DIR:PATH=${install_dir}/cmake/
+      -DVTK_INSTALL_NO_DEVELOPMENT:BOOL=OFF

       # Rendering options
       -DVTK_Group_Qt:BOOL=OFF  # XXX Enabled this later
@@ -281,7 +283,7 @@ else()
   #------------------------------------------------------
   #-----------------------------------------------------------------------------

-  set(components "RuntimeLibraries")
+  set(components "RuntimeLibraries;Development")

   #-----------------------------------------------------------------------------
   # Install VTK components

To make it fully extensible we just need to add the rest of VTK Cmake files.


mnist_with_summaries.py kills gpu

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Antergos GNU/Linux x86_64
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.2.1
Python version: 3.6.1
CUDA/cuDNN version: 8.0.61 / 6.0.21
GPU model and memory: Nvidia GeForce 840m (Optimus), 2GB memory
Exact command to reproduce: python mnist_with_summaries.py

Description
Running the following tutorial code produces an error(see below), and renders the gpu unusable until the system is rebooted:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
If we comment out line 167:
#run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
and line 171:
#options=run_options,
then the code runs fine without error.
Source code / logs
2017-07-20 11:55:43.203763: I tensorflow/stream_executor/dso_loader.cc:129] Couldn't open CUDA library libcupti.so.8.0. LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32:/usr/lib:
2017-07-20 11:55:43.203810: F ./tensorflow/stream_executor/lib/statusor.h:205] Non-OK-status: status_ status: Failed precondition: could not dlopen DSO: libcupti.so.8.0; dlerror: libcupti.so.8.0: cannot open shared object file: No such file or directory

This seems similar to #8830, could you try the resolution there?

Thanks @asimshankar, it worked with the corresponding path for the archlinux cuda package directory layout: https://www.archlinux.org/packages/community/x86_64/cuda/
export LD_LIBRARY_PATH=/opt/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH

Thank You!

It doesn't work.


Update the latest g++-10 version if exists

The latest g++/gcc version(10.0) has been already released for different Linux distros, so it would be great to use it if exists on the environment.

Homebrew installs GCC 10.2.0 by default, so following the README quickstart for Unix on MacOS, bootstrap-vcpkg.sh fails.
This PR fixed my issue of not being able to build vcpkg on Majave 10.14.6 with Xcode 10.2.1 and clang 10.0.1.

Blocked by #13722.


需求13: 优化ini配置文件代码高亮

https://github.com/baidu/bfe/tree/develop/docs/en_us/modules/
https://github.com/baidu/bfe/tree/develop/docs/zh_cn/modules/

Codecov Report

Merging #493 into develop will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #493      +/-   ##
===========================================
- Coverage    53.25%   53.22%   -0.03%
===========================================
  Files          257      257
  Lines        23604    23604
===========================================
- Hits         12570    12563       -7
- Misses        9550     9558       +8
+ Partials      1484     1483       -1

Impacted Files
Coverage Δ

bfe_websocket/server_conn.go
74.24% <0.00%> (-2.28%)
:arrow_down:

bfe_spdy/server_conn.go
78.09% <0.00%> (-0.89%)
:arrow_down:

bfe_http2/server.go
71.67% <0.00%> (-0.17%)
:arrow_down:

bfe_http2/writesched.go
80.91% <0.00%> (+1.52%)
:arrow_up:

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 5cade0c...c20505a. Read the comment docs.


add support for component(1)

Based on node.js plugin

Some documentation on this would be great! :-)

Yeah, at least a list of options.


test(react): adding cypress visual regression tests for IcSwitch

Summary of the changes
Migrated loki screenshots for IcSwitch to Cypress visual regression tests.
Related issue
#1891

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: MI6-286:x: github-actions[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


Support for masking in flatten and reshape layers

I have an architecture which is very similar to the one posted here.
It works fine without masking. But it throws following error with masking:
Exception: Layer xyz does not support masking, but was passed an input_mask: All{0}.0
Essentially, I am using Flatten and Reshape layer, which does not support masking, which results in above mentioned error.
I have been stuck on this issue for quite some time and would appreciate any help on this.

Maybe you can put an NonMasking layer before using Flatten and Reshape layer as follows, which can successfully compiled.  However I got this error:
Using TensorFlow backend. Traceback (most recent call last):   File "/Users/yan/PycharmProjects/MultiviewRE/LSTM/discover_relation.py", line 207, in <module>     model.add(NonMasking()) TypeError: 'module' object is not callable
Any idea how to fix this? Thanks!

Have you import the self-defined NonMasking layer? My version of keras is also 1.2.2, except that I use Theano backend. I am not sure that TensorFlow backend make the error.

 How did you find that solution?? The errors I had were incredibly difficult to pinpoint the source of. Your solution somehow fixed all of that.

I found it also works if you insert a Lambda layer before Reshape  like this: x = Lambda(lambda x: x, output_shape=lambda s:s)(x).
But the best thing I guess is to make some operations at this layer. Anyone has a good idea please shows here.

I'm curious about the solution you mentioned, that works indeed!!!! But i'm not sure about the meaning behind the questions, The Lambda layer in fact did nothing, why can it work? I have tried several situations, if there are just one Masking layer, and dowstream Reshape layer will not raise errors, but if there are several masking layers, there will be an error, so why? And i think that the Reshape layer is to process the output of LSTM layer, not the Masking layer, right? why are there still an error about the mask??? Thank you very much.


Enable change of prefixes to existing options proxy

Fix #11104
This PR is extending the prefixes to sub-nodes.

@kurkle this PR should also enable the 'hover' options in subnodes (labels and captions), needed for chartjs-chart-treemap as well.
https://github.com/kurkle/chartjs-chart-treemap/pull/175#discussion_r1085776206

@etimberg @kurkle I set this PR in draft (to avoid any approval) because it must be changed, going to TS, after https://github.com/chartjs/Chart.js/pull/11121 merged.

@dangreen @etimberg @kurkle I have changed going to TS (hopefully correctly). Available for your review.

@LeeLenaleee

Looks like I dropped the ball with this 😞
I have no idea, why a sub resolver would not just inherit the prefixes in _resolveWithPrefixes.
But if it could be made there, nothing special would need to be done in plugins (it would be a breaking change though).


TETP-20: TET-admin layout and i18n

Description :sparkles:
Adds layout, i18n and other common structures to TET Admin.
Also adds a command yarn tet-admin to run TET Admin with the backend, because running all three frontends with docker-compose turned out to be quite resource-intensive and unstable.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #562 (8c2d469) into develop (8cf9178) will decrease coverage by 8.93%.
The diff coverage is 80.00%.

@@             Coverage Diff             @@
##           develop     #562      +/-   ##
===========================================
- Coverage    94.33%   85.40%   -8.94%
===========================================
  Files          176       47     -129
  Lines         7031     1473    -5558
===========================================
- Hits          6633     1258    -5375
+ Misses         398      215     -183

Impacted Files
Coverage Δ

backend/tet/tet/urls.py
81.25% <80.00%> (-2.09%)
:arrow_down:

...nd/shared/shared/service_bus/service_bus_client.py
33.33% <0.00%> (-57.58%)
:arrow_down:

backend/shared/shared/yrtti/yrtti_client.py
37.50% <0.00%> (-53.13%)
:arrow_down:

backend/benefit/terms/tests/test_api.py

...ns/migrations/0007_application_page2_new_fields.py

backend/benefit/terms/tests/factories.py

backend/benefit/applications/tests/test_models.py

backend/benefit/terms/api/v1/serializers.py

backend/benefit/applications/admin.py

backend/benefit/companies/api/v1/serializers.py

... and 122 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 8cf9178...8c2d469. Read the comment docs.