<EMAIL_ADDRESS>is the email for getting raw repo data?

as the title,how to get the raw repo data?  my email<EMAIL_ADDRESS>

Please email me at<EMAIL_ADDRESS>Thanks.


L.Routing.mapzenFormatter and options

I've been playing around with this a little bit and discovered a minor bug with how L.Routing.mapzenFormatter (lowercase) invokes L.Routing.MapzenFormatter (uppercase). It should pass an options object.
See: https://github.com/mapzen/lrm-mapzen/blob/master/src/L.Routing.MapzenFormatter.js#L173-L175

D'oh! Thank you for the issue!


Module doesn't run in superuser

Description
If the script is started as superuser, it crashes instantly without moving in to the main menu.
Expected Behavior
Should display the main menu
Steps to reproduce
cd fsociety && sudo python -m fsociety3
Logs attached
traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/madhurjya/Documents/fsociety/fsociety3/main.py", line 81, in
main()
File "/home/madhurjya/Documents/fsociety/fsociety3/main.py", line 77, in main
import main as fsociety_main
ModuleNotFoundError: No module named 'main'

@LunaticPython2003   Please assign me this as I have done fixing the error of running with sudo.


Add p2p seed nodes upon startup

The chainparamsseeds.h file was generated by generate_seeds.py.

Thanks!


Wrong error reason

The reason should be "nospam".
[
    [0] Sisimai::Data  {
        internals: {
            action           "failed",
            addresser        Sisimai::Address  {
                internals: {
                    address<EMAIL_ADDRESS>                    alias     "",
                    host      "foobar.com",
                    user      "foobar",
                    verp      ""
                }
            },
            alias<EMAIL_ADDRESS>            deliverystatus   "5.7.1",
            destination      "univdhaka.edu",
            diagnosticcode   "550-5.7.1 [<IP_ADDRESS> 7] Our system has detected that this message is",
            diagnostictype   "SMTP",
            feedbacktype     "",
            lhost            "mx-001.sjc1.sendgrid.net",
            listid           "",
            messageid        "24F5318EC40601C0A086E4A02FF0B51-45CC5F4E47005C95F0FB20468FDC71F2@ISABEL2",
            reason           "blocked",
            recipient        Sisimai::Address  {
                internals: {
                    address<EMAIL_ADDRESS>                    alias     "",
                    host      "univdhaka.edu",
                    user      "foobar",
                    verp      ""
                }
            },
            rhost            "aspmx.l.google.com",
            senderdomain     "foobar.com",
            smtpagent        "Sendmail",
            smtpcommand      "DATA",
            subject          "sadiq Extreme 70% OFF!",
            timestamp        Tue Mar 25 22:51:21 2014,
            timezoneoffset   +0600,
            token            "61382c6518f9cacaa265fc9fead23cc29556b9c5"
        }
    }
]

https://github.com/sendgrid/go-gmime/blob/master/gmime/fixtures/DSN-spam.eml


VoiceClient.play() doesn't pass FFMPEG error to 'after' function.

Summary
VoiceClient.play() doesn't pass FFMPEG error to 'after' function.
Reproduction Steps
I know from https://github.com/Rapptz/discord.py/issues/5131 that the session invalidation error is not a Discord.py error, however, the VoiceClient's play() function does not seem to be capturing and passing the FFMPEG error into my provided after function. I would like to notify when this error happens, so capturing this error would be very helpful. It also appears that Discord.py wrongly states that FFMPEG exited successfully, even when it exits with code 1, which by definition, is not successful.
Here is my current code and log results:
Code:
def sync_playback_error(error: Exception = None):
    async def playback_error(error: Exception = None):
        has_error: bool = error != None
        if has_error:
            print('Sending error to chat...')
            await ctx.message.channel.send('A playback error has caused the audio stream to stop.')
        else:
            print('No error in playback!')
    print('Starting async callback...')
    asyncio.run_coroutine_threadsafe(playback_error(error), self.bot.loop)

Attempt to play ffmpeg source
vc.play(ffmpeg_src, after=sync_playback_error)
Logs:
[tls @ 0x5632a384eb80] Error in the pull function.
[matroska,webm @ 0x5632a384a600] Read error
[tls @ 0x5632a384eb80] The specified session has been invalidated for some reason.
    Last message repeated 1 times
Starting async callback...
DEBUG:asyncio:Using selector: EpollSelector
No error in playback!
2024-06-15 16:58:28 INFO     discord.player ffmpeg process 2801802 successfully terminated with return code of 1

Minimal Reproducible Code
None

Expected Results
I expected the FFMPEG error to be passed to the after function
Actual Results
The error was not captured and passed to the after function
Intents
discord.Intents.default()
System Information
Python v3.10.12-final
discord.py v2.3.2-final
aiohttp v3.9.5
system info: Linux 5.15.0-112-generic
https://github.com/Rapptz/discord.py/pull/122 SMP Thu May 23 07:48:21 UTC 2024
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
No response

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot

@acr-bot


⚠ Bofrost.fr has degraded performance

In edf6f0d, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2020 ms

Resolved: Bofrost.fr performance has improved in 76eeea2 after 25 minutes.


re-import the batch data one by one when batch write failed

Codecov Report
Attention: 37 lines in your changes are missing coverage. Please review.

Comparison is base (c094a21) 52.98% compared to head (ff82cac) 52.22%.

Files
Patch %
Lines

...soft/exchange/common/writer/ServerBaseWriter.scala
0.00%
37 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #174      +/-   ##
============================================
- Coverage     52.98%   52.22%   -0.77%
  Complexity       89       89
============================================
  Files            21       21
  Lines          1840     1867      +27
  Branches        362      366       +4
============================================
  Hits            975      975
- Misses          679      706      +27
  Partials        186      186

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


Change sendExpectations method to public in mockserver client

James, moving this point here because it would be very useful to be able to invoke sendExpectation programmatically as I store all my json Expectations in files then want to send them over to ms after user selects from a plugin GUI that I'm working on.
You replied with reservations:
The change to the sendException is more controversial and also has merge conflicts so I'm not sure it the right thing for now. This is intended as an internal function and has no validation, etc. This function is called by the ForwardChainExpectation as per the internal Mockito pattern. I'm open to discussing / understanding why you think exposing this is a good idea and implementing a solution but I'm not sure the answer is just to expose this method.
My thinking is that I just want a programmatic method (like sendExpectation).  It doesn't need to be sendExpectation :)

This is a duplicate of #503 so I'm going to close this issue.


Vendors traitlets, pytest, etc

Comment:
It looks like the split package PR I added in #1 (which got picked up by #2) ended up shipping a bunch of extra packages. Likely need to mark some as broken... once we get a working release out :P
Started on #3
12.1 MB 	| win-64/pytest-jupyter-0.6.0-py311h57928b3_0.conda
1.1 MB 	        | osx-64/pytest-jupyter-0.6.0-py311h694c41f_0.conda
1.1 MB 	        | linux-64/pytest-jupyter-0.6.0-py311ha770c72_0.conda
409.6 kB 	| noarch/pytest-jupyter-0.5.3-pyhd8ed1ab_1.conda
19.0 kB 	| noarch/pytest-jupyter-0.5.3-pyhd8ed1ab_0.conda

Have created https://github.com/conda-forge/admin-requests/pull/524 to clean out the badness.

Ok, those are marked broken, and it looks like https://github.com/conda-forge/jupyter_server-feedstock/pull/106 is happy.


use nil for sender in performSegue as a default value

because sender is optional, I think it's nice to be able to skip it when you call
performSegue(MainViewController.Segue.ScreenOneSegue)

It's like this because standard performSegue is like this and it's good to keep interface compatibility where possible.

I agree with consistency issue.
When you declare an optional variable, the nil is assigned by default. I have thought it would be useful to do the same for function.
Maybe Apple will change the API later to do the same.

How about this.
The issue I see is that now Xcode don't show the suggestions that there are 2 function (when you use default nil value). So it's a bit unclear when the nil is send implicitly
But if we have 2 functions Xcode will show you them and you can choose which to use.

@kostiakoval I do like the change, however let's wait with this change for iOS9. If Apple update Swift to make it nil, I'd be happy to apply this change. Let's have it drop-in replacement as much as possible.
And I hope Swift guys are working on it already rdar://21437642

ok. Can't find that radar :(

nobody can, unless you an Apple employee ;)


Signin View

User Story Summary
A view/page having a authentication form including a way to authenticate the users through user/email, and social ( google )
Stories

[x] As a user, I should be able to see a page that allows me to authenticate.
[x] As a user, I should be able to sign in my account using my email and password.
[ ] As a user, I should be able to sign in using my google account.

Test
Additional Considerations

Resolved in https://github.com/Kerosz/biolnk/commit/f11fe12b60f69b565fdb82fea177fd101210d4f6


generalize batchseq to sequence of generic arrays

Implement the following behavior for batchseq: Given an input list xs containing B arrays of size * x Li, where * is common to all arrays and Li can vary, return a list of length Lmax where the elements have size * x B.
Have to depend on NNlib for this, not sure it is worth it.
Fix #118

Codecov Report

Merging #126 (4bdb4f2) into main (a85c098) will decrease coverage by 0.28%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   88.77%   88.48%   -0.29%
==========================================
  Files          13       14       +1
  Lines         561      573      +12
==========================================
+ Hits          498      507       +9
- Misses         63       66       +3

Impacted Files
Coverage Δ

src/deprecations.jl
0.00% <0.00%> (ø)

src/utils.jl
90.90% <100.00%> (+0.66%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


RGB30 can't write to SD2

today I updated arkos on my Powkiddy RGB30, changed the default password, and reused the SD2 from JELOS (FAT32 formatted) by moving the SD2 content from /roms/* dir to the root dir in the SD Card. It was running fine until I let my RGB30 idle (screensaver kicking up). Every time I try to do the savestate, it stuck at 0%, and I can't quit Retroarch either. this behavior persists across system reboot (after I pressed the RGB30 reset button, the savestate still stuck at 0%).
To check what happens, I tried to create an arbitrarily named folder through File Manager, but the new folder didn't get created. Then I tried to verify through ssh by entering the following command:
% touch a
touch: cannot touch 'a': Read-only file system

it only occurs in /roms2, I can still write in any dirs within the SD1
What I can do at the moment is to toggle "Switch to main SD for Roms", and then back to "Switch to SD2 for Roms" to make the SD2 writable again

Bad sd card

nah man, it was running all fine. I've been using JELOS for about 2 months and never found any issue such as this.
I also used this same SD card for my Nintendo Switch for years and years until I upgraded to higher capacity. So highly doubt that this is an SD card fault. the FAT32 format might be the issue though

sd cards do go back and one of the first symptoms of them failing is going into read only mode.  Hopefully formatting to exfat resolves it for you if it's not the sd card failing.

What I've just tried to do was to set the password back to 'ark', let the handheld idle until the screensaver kicked up, and now the savestates works normally.
If the issue comes up again, I'll try to re-format it into exfat & update here. thanks anyway


Is there

[Enter feedback here]

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

ID: 3e0faeec-4d01-8971-e784-bde6356d5501
Version Independent ID: 0e6ef221-089c-eb86-12c0-12b3c96c1bae
Content: Introduction to Device Update for Azure IoT Hub
Content Source: articles/iot-hub-device-update/understand-device-update.md
Service: iot-hub-device-update
GitHub Login: @vimeht
Microsoft Alias: vimeht

https://github.com/MicrosoftDocs/azure-docs/issues/85130 - duplicate. So, closing this.


[ContentDialog] Update background smoke for HC

Based on user feedback, some smoke is preferred in HC scenarios as well.
Before and after, aqua:

]
Before and after, desert:

/azp run

/azp run


Saving Applied filtered video & Rotating the video

I'm having an issue regarding saving the video with the filter when using the VideoGLSurfaceView. There is no option to save the video when using VideoView but I can record video with the live filters. Can you please help me out in saving the video with filters applied with VideoView.
Also, there is one thing I need is to rotate the video orientation and save that video with that orientation.
If I cannot save the video with the help of VideoGlSurfaceView then applying filters option for this view is useless.
Thanks.

I'm having an issue regarding saving the video with the filter when using the VideoGLSurfaceView. There is no option to save the video when using VideoView but I can record video with the live filters. Can you please help me out in saving the video with filters applied with VideoView.

Please take a look at the simple demo case.

Also, there is one thing I need is to rotate the video orientation and save that video with that orientation.

See https://github.com/wysaid/android-gpuimage-plus/issues/121


Example needs rename to include lib name

Example screenshot_simpletest.py should be named bitmapsaver_screenshot_simpletest.py to fit with CircuitPython library standards and clarify which library it is associated with in the example bundle.
The lines including this file name in the docs/examples.rst file must also be updated to reflect the name change, e.g.:
.. literalinclude:: ../examples/current_file_name.py
    :caption: examples/current_file_name.py
    :linenos:

would be updated to:
.. literalinclude:: ../examples/current_file_name_changed.py
    :caption: examples/current_file_name_changed.py
    :linenos:

Solved by #6


Update README.md

I updated the language a bit :) Thanks for creating SVGR, it's a great tool!

Thanks!


fix potential call on null

It fixes 2 places where null aware access were used before using method on the result.

@Hixie

PTAL

LGTM
Thanks!


hide Modular Inverse, Performance, Pipe , Priority Queue  and change…

… the link of Complex Number
Do the checklist before submitting the PR:

[x ] Have you read the guidelines mentioned in CONTRIBUTING.md?
[x ] Have you squashed your commits?

Q: Provide the Live Link!
A:
Q: Mention the Issue Number! (e.g. Fixed #8)
A: issue #20

Give additional information regarding the PR below:
hide Modular Inverse, Performance, Pipe , Priority Queue  and change the link of Complex Number

Looks good.

hide modul exponent


Added Scripts for a Pomodoro Timer using Python.

Description
Created a simple script that emulates a Pomodoro Timer, a Timer where you can set a fixed amount of time for tasks and have short breaks in between to increase your productivity.
Fixes #(447)
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

NOTE: These boxes can be checked using [X]

[ ] Bug fix (non-breaking change which fixes an issue)

[x] New feature (non-breaking change which adds functionality)

[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[ ] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have added a working sample/screenshot of the script.

Sorry for the delay, I was held up with some work. Hopefully, this pull request gets merged. :D

Had to write a few loopholes into the code, it still works fine :D Hope this wasn't a problem. Cheers!


Cannot find path for Google Chrome Portable

I'm having issues with your plugin trying to open GoogleChromePortable.exe
I had the folder on the desktop and no luck and added it here:
C:\Program Files (x86)\GoogleChromePortable\GoogleChromePortable.exe
It say's:
Windows cannot find: C:\Program'.Make sure you typed the name correctly, and then try again.

In Windows you need to add the quotes you should have
"C:\Program Files (x86)\GoogleChromePortable\GoogleChromePortable.exe"
HTH

Try C:"Program Files\Mozilla Firefox"\firefox.exe...use double quote for path with the space.

But I am not still have this trouble.

Atom 软件# 安装插件失败，需要什么设置吗？大师们求教！

mac os 有parallels Desktop这个软件，每次打开chrome时，都会启动该软件并打开该软件中的chrome，而不是使用本机的chrome


Remove/Exchange usage of event-stream module in Readme.md

Inside the Readme.md the event-stream module is being used, which contains malicous code in its latest versions. The usage should be exchanged with another way dealing with the streams.
Sources:
https://github.com/dominictarr/event-stream/issues/116
https://thehackernews.com/2018/11/nodejs-event-stream-module.html

Feel free to do it.

Hi Paul, the new version doesn´t compile. Please check again. Thanks.


Assertion failure in set_thread_state.hpp line 219

Expected Behavior
Expect Octo-Tiger rotating_star test problem to run without crashing
Actual Behavior
During the initial grid setup Octo-Tiger crashes with an assertion failure on line 219 of set_thread_state.hpp
Steps to Reproduce the Problem
Run the rotating_star test problem of Octo-Tiger on one locality. Most of the time the output ends on a seg fault without the actual assertion failure message printing.
Specifications
HPX: Debug build of 2d244e1e27c6e014189a6cd59c474643b31fad4b
Octo-Tiger: Debug build of  187d2ab44e3888a5d141967b72ccf6c21b3fca1a
Ubuntu 18.04
GCC 7.3
Boost 1.65.1
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

@dmarce1 could you please post the generated error message?

update- I'm unable to reproduce it on my work machine.

@dmarce1 I know we have seen this on CircleCI before. Any clue on how to reproduce this would be much appreciated.


Fixes unsafe pointer madness.

While doing a code-review of changeset 7be8d02, which introduced #27, I
realized that you used the unsafe package and introduced a bufferflow
bug, if termbox.Event changes.
func uiEvt(e termbox.Event) Event used to change the type of termbox.Event to Event by
using some pointer-cast magic[1], which could cause an overflow if termbox.Event changes
its structure.
I'd rather just have type Event termbox.Event but that would break backwards compatibility.
Warning: A buffer overflow could cause a serious security issue but it is very unlikely that
anyone could exploit that (though not impossbible). You'd need to push a upstream update to
termbox, which would tweak termbox.Event's structure. Still, this issue should be fixed and
unsafe should never be used.
[1] it used to get the address of termbox.Event and just cast a Event pointer

Yes, and thank you! Since termui does not have any control over termbox, the unsafe casting could introduce unexpected errors.


Request: Make the utility class public

Would like to make my own world/level classes with your library

https://github.com/IrishBruse/LDtkMonogame/blob/main/LDtkMonogame.Examples/Source/CustomizedLevel.cs
https://github.com/IrishBruse/LDtkMonogame/blob/cb37165715e053fb06fbc2c13bf15dbdb7c8c855/LDtkMonogame.Examples/Source/Utility/LevelManager.cs#L32
You can take a look at the examples the library injects the data into the classes you pass to it so variables in ldtk are passed to the classes in the same way as entities

Yeah, I would like to just access all data instead of having to use the entity and world scripts you made. I already created entity class in my game. would be nice to separate the data and rendering, like in Monogame Extended Tiled. You can also draw separate layers there.

Yeah you can also render layers separately with this I'm confused what data it is you need as the functions just return a class or struct with all the data from the entity/level there is no underlying data as its stored in json in separate entities like I'm returning to you. you also don't need to use the entity class you can pass a completely separate not inheriting class as long as it has all the fields it will also populate the class with the data the inheritance is just for simplicity.


[bug] useContractReads always returning a [null]

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.5.5
Current Behavior
Trying to read one or multiple contracts using useContractReads always returns [null]
input:
import { erc721ABI, useContractReads } from 'wagmi';

[{
        addressOrName: '0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d',
        contractInterface: erc721ABI,
        functionName: 'tokenURI',
        args: 1,
        chainId: 1,
}]

Same object does succeed with useContractRead

Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

I created a minimal CodeSandbox and could not reproduce this issue. Maybe check if the ABI at the contract address matches the ABI that you specified?
Here is my CodeSandbox demonstrating the same thing but with the Loot contract:
https://codesandbox.io/s/dreamy-river-0uer8i?file=/src/App.js

@jxom I was having the same issue migrating a very basic hook to wagmi multicall from redux multicall. At first I thought probably just human error, but after some time I can't see anything obviously wrong here. Old returns expected data, new returns [null] or undefined consistently.

I'll fork your code sandbox and hard code the data so you can see there is defintiely an issue here.

I'm actually facing this exact same issue. useContractReads will randomly stop working and start returning null values.
Looking in my browser console, I do see that it says multicall is not supported on my local network which is fine because I assume that if it can't do a multicall, it will just do each contract read in the reads function one after the other instead of a batch.
But not sure why it stops working all together randomly. My minimal example is pretty similar to what OP posted except I don't pass in a chainid.

I am curious how #645  got resolved.

@JohnSmithyy – got a codesandbox you can push up that reproduces this issue?

@JohnSmithyy – got a codesandbox you can push up that reproduces this issue?

Unfortunately not since I cannot replicate the issue consistently on a codesandbox. It happens randomly on my local network, not sure why. I'm thinking it has something to do with multicall since moving to useContractRead for each function works without issues but useContractReads will return null values randomly time to time.

For example here is my localchain setup (using rainbowkit):
const localChain: Chain = {
  id: 31337,
  name: "Local",
  network: "local",
  nativeCurrency: {
    decimals: 18,
    name: "Local",
    symbol: "ETH",
  },
  rpcUrls: {
    default: "http://<IP_ADDRESS>:8545/",
  },
  testnet: false,
  multicall: {
    address: "0x5ba1e12693dc8f9c48aad8770482f4739beed696",
    blockCreated: 12336033,
  },
};

This does not work at all. I have to remove the multicall param for things to work.

Experiencing the same issue with useContractInfiniteReads() on a local chain, without multicall support on this chain. Wagmi randomly returns null entries in the data.pages[0] array

Can you provide a minimal reproducible example?

It's not reproducible 100% of the time but I can explain the setup:

Created an ERC721 contract exposing a function like getNFTDataByID(uint256 id) public view returns(NFTData memory), and minted ~900 of these.
On the frontend used wagmi like this to list all of them:

  const contractConfig = {
      addressOrName: "0xaddress_goes_here",
      contractInterface: "<abi_goes_here>",
  }
  const perPage: number = 1000
  const { data } = useContractInfiniteReads({
      cacheKey: 'nftDataCache',
      ...contractConfig,
      ...paginatedIndexesConfig(
          (index) => {
              console.log('index', index)
              return {
              ...contractConfig,
              functionName: 'getNFTDataByID',
              args: [index],
          }},
          { start: 900, perPage: perPage, direction: 'decrement' },
      ),
      suspense: true,
  })

Randomly data.pages[0] array has some null entries

Hope it helps

@JohnSmithyy Happened to run into a similar issue and just wanted to point out that wagmi is using Multicall3 under the hood as can be shown here: https://github.com/wagmi-dev/wagmi/blob/main/packages/core/src/actions/contracts/multicall.ts#L89
and you're specifying a Multicall2 address in your chain config. Multicall3 Implementation on eth mainnet can be found here: https://etherscan.io/address/0xcA11bde05977b3631167028862bE2a173976CA11#code
Hope this helps

Great call out @Deg3n3rate . I didn't have any multicall deployed on my private network and it still worked, although slow, with that issue happening randomly. Yesterday after digging deeper into that same code I noticed the dependency on Multicall3, so I searched around and found an implementation that works wonders here: https://github.com/NFEL/multicall-python-clinet/blob/master/src/Multicall3.sol . Since the deployment of Multicall3, the null issue has not manifested again yet.
Hope it helps anyone coming across this

@JohnSmithyy Happened to run into a similar issue and just wanted to point out that wagmi is using Multicall3 under the hood as can be shown here: https://github.com/wagmi-dev/wagmi/blob/main/packages/core/src/actions/contracts/multicall.ts#L89
and you're specifying a Multicall2 address in your chain config. Multicall3 Implementation on eth mainnet can be found here: https://etherscan.io/address/0xcA11bde05977b3631167028862bE2a173976CA11#code
Hope this helps

Thanks for your reply.
I've noticed this too but I'm forking mainnet off a specific block so I had to resort to using Multicall2 instead since Multicall3 does not exist yet.

@JohnSmithyy that was precisely what I did. If I ever run in the same null issue I'll write down here.

@JohnSmithyy that was precisely what I did. If I ever run into the same null issue I'll write down here.

Could you share your local network configuration?
I have multicall3 setup but now just returns stale data instead of nulls. So when I do a deposit on my contract, it still shows the previous / old balance instead.

@JohnSmithyy it goes something like this:
const myTestnetChain: Chain = {
  id: 7200,
  name: 'My Testnet',
  network: 'my-testnet',
  iconUrl: null,
  iconBackground: '#fff',
  nativeCurrency: {
    decimals: 18,
    name: 'ETH',
    symbol: 'ETH',
  },
  rpcUrls: {
    default: 'https://my.testnet.local',
  },
  blockExplorers: {
    default: {
      name: "WinrScan",
      url: 'https://myscan.testnet.local/'
    },
  },
  multicall: {
    address: "0xaddress_goes_here",
    blockCreated: 123456,
  },
  testnet: true,
};

Yeah that matches my setup too @ricardopinto
Weird that it doesn't work. Are you also forking mainnet?

@JohnSmithyy  No forking, just a simple private network using geth.

@JohnSmithyy No forking, just a simple private network using geth.

Interesting. I'm using a hardhat node/workflow.


Support utf-8

I need to convert chinese word !

Please try adding encoding definition (<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">) to your <head>.  See: https://github.com/evidenceprime/html-docx-js/issues/36#issuecomment-263272344

Yes @anowak 's suggestion is working perfectly.


This IPsec Client is deleted. why?

2015-10-27 15:08:02.818 IPsec Client 271 (xxx.xxx.xxx.xxx:61590 -> xxx.xxx.xxx.xxx:500): A new IPsec client is created.
2015-10-27 15:08:02.818 IPsec IKE Session (IKE SA) 178 (Client: 271) (xxx.xxx.xxx.xxx:61590 -> xxx.xxx.xxx.xxx:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0xA204BBEDFFED98C5, Responder Cookie: 0xDAF3054D883C868C, DH Group: MODP 1024 (Group 2), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime:<PHONE_NUMBER> Kbytes or 3600 seconds
2015-10-27 15:08:02.959 IPsec Client 271 (xxx.xxx.xxx.xxx:64916 -> xxx.xxx.xxx.xxx:4500): The port number information of this client is updated.
2015-10-27 15:08:02.959 IPsec Client 271 (xxx.xxx.xxx.xxx:64916 -> xxx.xxx.xxx.xxx:4500):
2015-10-27 15:08:02.959 IPsec IKE Session (IKE SA) 178 (Client: 271) (xxx.xxx.xxx.xxx:64916 -> xxx.xxx.xxx.xxx:4500): This IKE SA is established between the server and the client.
2015-10-27 15:08:12.960 IPsec Client 271 (xxx.xxx.xxx.xxx:64916 -> xxx.xxx.xxx.xxx:4500): This IPsec Client is deleted.
2015-10-27 15:08:12.960 IPsec IKE Session (IKE SA) 178 (Client: 271) (xxx.xxx.xxx.xxx:64916 -> xxx.xxx.xxx.xxx:4500): This IKE SA is deleted.
My server is centos 7, And I use windows client can connect successfully, but use CMCC is not on my phone.

Please elaborate more.
Have you ever connected to your VPN successfully before?
What Server OS and Client OS were you using?

My server is centos 7, And I use windows client can connect successfully, but use CMCC is not on my phone.

Cyanogen Mod seems broken and can not handle IPsec VPN natively (please search the web). It fails for me too.
Anyway, I have something similar with a MacOS client and softethervpn server 4.18-9570 (OpenWrt).

Sometimes several times before and failed, to connect again and succeeded. Log is as follows
2015-10-27 23:17:50.110 IPsec Client 339 (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): A new IPsec client is created.
2015-10-27 23:17:50.110 IPsec IKE Session (IKE SA) 200 (Client: 339) (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0xC4DFE9EA42B14F4E, Responder Cookie: 0xA252DD3DC42CCEA4, DH Group: MODP 1024 (Group 2), Hash Algorithm: SHA-1, Cipher Algorithm: 3DES-CBC, Cipher Key Size: 192 bits, Lifetime:<PHONE_NUMBER> Kbytes or 28800 seconds
2015-10-27 23:18:00.111 IPsec IKE Session (IKE SA) 200 (Client: 339) (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): This IKE SA is deleted.
2015-10-27 23:18:00.111 IPsec Client 339 (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): This IPsec Client is deleted.
2015-10-27 23:23:13.697 IPsec Client 340 (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): A new IPsec client is created.
2015-10-27 23:23:13.697 IPsec IKE Session (IKE SA) 201 (Client: 340) (xx.xx.xx.x:500 -> <IP_ADDRESS>:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0x14A89A2FD0088459, Responder Cookie: 0x6D87C0B629CC255F, DH Group: MODP 1024 (Group 2), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime:<PHONE_NUMBER> Kbytes or 28800 seconds
2015-10-27 23:23:16.707 IPsec Client 340 (xx.xx.xx.x:4500 -> <IP_ADDRESS>:4500): The port number information of this client is updated.
2015-10-27 23:23:16.707 IPsec Client 340 (xx.xx.xx.x:4500 -> <IP_ADDRESS>:4500):
2015-10-27 23:23:16.707 IPsec IKE Session (IKE SA) 201 (Client: 340) (xx.xx.xx.x:4500 -> <IP_ADDRESS>:4500): This IKE SA is established between the server and the client.
2015-10-27 23:23:18.404 IPsec IKE Session (IKE SA) 201 (Client: 340) (xx.xx.xx.x:4500 -> <IP_ADDRESS>:4500): The client initiates a QuickMode negotiation.
2015-10-27 23:23:18.404 IPsec ESP Session (IPsec SA) 105 (Client: 340) (xx.xx.xx.x:4500 -> <IP_ADDRESS>:4500): A new IPsec SA (Direction: Client -> Server) is created. SPI: 0x3D704762, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime:<PHONE_NUMBER> Kbytes or 28800 seconds

any fix for this?

SoftEther does not implement IPSec IKE, aka. IPSec tunneling mode(yet). So this can not work.

I'm also trying to programatically set up a VPN connection on iOS with my SoftEther server. An L2TP connection works if set up manually in the VPN connections. The L2TP protocol is not part of the public VPN SDK's provided by Apple; only IPsec (which I read is IKEv1?) and IKEv2 are supported.
Is it correct that both IPsec and IKEv2 are not supported by SoftEther?


Fix VLC metadata

Those modifications fix the version of VLC (64b vs 32b) and fixes some metadata errors, notably for the URL and MinOSVersions.
Microsoft Reviewers: Open in CodeFlow

Something is wrong here:
It refuses the new (fixed) URL because of 302 redirect detected. But the previous version was at the same location, with 302...
What is the proper fix?


should the config files be moved to their default locations / Makefile?

Question
the motivation would be to have the in plain sight for new contributors. some people are used to run vendor/bin/phpstan with the expectation of running it with the default configuration required for that project. same goes for phpunit and alike.
that would help streamline the setup a bit.
i addition or as an alternative, i'd suggest to add a makefile containing shorthands to everything like make cs or make phpunit together with a target to run make all to have everything checked.
here is a little sample for that:
.PHONY: help phpstan validate-composer cs psalm test all

help: ## Shows this help
	@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_\-\.]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

phpstan: ## run all phpstan targets
	vendor/bin/phpstan analyse -c ci/phpstan.neon
	vendor/bin/phpstan analyse -c ci/phpstan-phpat.neon

validate-composer: ## checks composer.json for issues
	composer validate --strict

cs: ## runs csfixer
	vendor/bin/php-cs-fixer fix --config ./ci/php-cs-fixer.php

psalm: ## runs psalm
	vendor/bin/psalm -c ci/psalm.xml

test: ## run all tests
	vendor/bin/phpunit tests/unit/

all: validate-composer test psalm validate-composer cs

see this for a demo: https://asciinema.org/a/3gghc10nBEiwvenUjteD1tFVL

Hi.
There is a CONTRIBUTING file, linked in README, that contains all the needed commands ready to copy&paste.
https://github.com/carlosas/phpat/blob/master/.github/CONTRIBUTING.md#pull-requests
I prefer to maintain that documentation, rather than documentation + makefile 🙂


Add CI

[ ] Add small ROOT file with histograms that can be used for plotting
[ ] Create script to use this ROOT file to create plots from
[ ] Use this script in CI (GitLab CI or GitHub Actions or both)

Better to depend on skhep_data for test instead of a committed ROOT file eghttps://github.com/scikit-hep/mplhep/blob/master/tests/test_inputs.py#L41
Can also just create TH1s on the fly with uproot.

Thanks for the pointer, but I'm not sure, it adds a dependency that might make it more difficult for people to contribute. Would surely need "contributing" docs.

I'm happy to help with image comparison tests in CI also. I've set them up for mplhep, but perhaps we set these up after we settle all the style tweaks.

I think you overestimate my capabilities... I am going to start checking the code I push compile in python and in C++... but yes, next step is about the plot scripts :) Thanks!


[BUG] gaia_executor takes too many CPU

Describe the bug
Interactive Engine takes too many CPU usages when gremlin query is idle.

To Reproduce
Steps to reproduce the behavior:

Loaidng a graph
create a gremlin query

Expected behavior
Reduce cpu usages when query is idle.
Environment (please complete the following information):

GraphScope version: 0.18.0a20221005
OS:  Ubuntu
Version [e.g. 10.15]

Additional context
Add any other context about the problem here.

Hi @liuyuanpeng , when the gremlin query is idle, the engine will check if there's any job to do. In our observation, each CPU core takes about 3% usage in this case, which is assumed to be acceptable. If you have more concerns, please reopen this issue.

According to my observation, the CPU usage of the process is related to the number of nodes and edges loaded. I have loaded two graph data of different sizes on two machines, with the same graph data structure. The number of nodes and edges in the second instance is approximately three times that of the first instance, as shown in the figure below. CPU usage will linearly increase with the increase of nodes and edges.

/cc @BingqingLyu


I Disable Signature Verification, but Windows still need digital signature for unsigned driver file

[Enter feedback here]
Chapter (Use the F8 Advanced Boot Option) working in my Windows10, but Chapter (Attach a Kernel Debugger to Disable Signature Verification) does not working in my Windows10.
error is 577,  Windows cannot verify the digital signature for this file.

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

ID: 3aeb487d-b749-4f6e-9ff5-71be68bf7a09
Version Independent ID: 44418645-8c6e-7387-ba3e-02f478816961
Content: Installing an Unsigned Driver during Development and Test - Windows drivers
Content Source: windows-driver-docs-pr/install/installing-an-unsigned-driver-during-development-and-test.md
Product: windows-hardware
Technology: install
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

@ruoxu233 - In later versions of Windows, just attaching the kernel debugger may not be sufficient, so we will investigate doc updates to this topic. Also in modern times, secure boot, bit locker and device guard / defender and registry policy settings can impact driver loading. If you do have any of those features, you could disable those and retest, to see if that is sufficient to allow an unsigned driver to load with a debugger attached. In addition, a transport connection may need to be configured and active, when the driver loads. The presence of the catalog file and the preparation of the INF for the unsigned driver, can also impact driver loading.
In general, I would test sign drivers, and I would recommend enabling test signing in recent versions of Windows.  This lab walks through a recommended process for test drivers.
https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/debug-universal-drivers---step-by-step-lab--echo-kernel-mode-#section-3-download-and-build-the-kmdf-echo-driver

@ruoxu233 - I was able to test this, and the key thing to note is that the kernel debugger connection must be active as you are installing the driver. In that the debugger could break into the target system durring the install. In addition, the bcdedit settings must be set as described, but they are not sufficient by themselves. As the topic says:
Attaching an active kernel debugger to a development or test computer disables load-time signature enforcement for kernel-mode drivers.
There certainly can be a unique configuration issue that is complicating any testing and installation of the driver. Sometimes a single failed driver install can lead to other issues. The best approach there is to study the driver install log at %windir%\inf\setupapi.dev.log.
As we focus on the docs in these git issues, if you have further questions on your setup, I would recommend the driver Q&A forums, such as Hardware and Application Developers on Q&A.
Good luck with your driver development and debugger work.


Scroll down and Up are not working.

I try to use mouse scroll . But It is not affected. I have tested it on WPF. It is working perfectly. Anh Touch support only click. Cannot move. Thank!
I tested it on https://joltfly.com/mouse-test/

I have the same problem @jnschulze @toannguyendts

Scrolling works for me but in order to debug this, you can do a quick check if the problem is on the Dart or the native side.
This plugin uses the Listener widget on the Dart side for detecting scroll events. You might set up a Listener and see if it fires scroll events (using onPointerSignal).

@jnschulze you can move your mouse to this area and scroll it. It cannot scroll box inside. It is working only outside

Hi @toannguyendts, you can help me to setup this package in my project? You can provide your current version flutter. Because I have error in my project. You can show more error in this link: #41

Scrolling works for me but in order to debug this, you can do a quick check if the problem is on the Dart or the native side.
This plugin uses the Listener widget on the Dart side for detecting scroll events. You might set up a Listener and see if it fires scroll events (using onPointerSignal).

I checked on my widget for using "onPointerSignal",the scroll events in widget worked,but in the webview's page,the scroll event doesn't worked

Scrolling works for me but in order to debug this, you can do a quick check if the problem is on the Dart or the native side.

This plugin uses the Listener widget on the Dart side for detecting scroll events. You might set up a Listener and see if it fires scroll events (using onPointerSignal).

So the scrolling does work, but the only places where it doesn't work (as expected) is when there are smaller containers in the webpage which are scrollable.
Expected Behaviour: When the mouse is placed on / hovered on the (webpage) container and scrolled, the scroll bar inside the smaller container should be considered and not the main page scroll bar (if it exists)
Current Behaviour: The mouse location doesn't really seem to matter, it will always interact with the main page (largest) scrollbar.

I am having the same issue with  ESRI Map in webview,  Zoom and zoom out by scrolling doesn't work. I am using the latest version.
Any update on this?

@tashi146 , could you describe exactly what you did to workaround the issue? I debugged the case and the line setScrollDelta is called when scrolling a small container with scrollbar.
Which listener did you update in web content?
Thanky you!

any updates?

any updates?

滚动对我有用，但为了调试它，您可以快速检查问题是出在 Dart 还是本机端。

这个插件使用Dart 端的Listener 小部件来检测滚动事件。您可以设置一个监听器并查看它是否触发滚动事件（使用 onPointerSignal）。

所以滚动确实有效，但它唯一不起作用的地方（如预期的那样）是当网页中有较小的可滚动容器时。
预期行为：当鼠标放在（网页）容器上/悬停并滚动时，应考虑较小容器内的滚动条，而不是主页滚动条（如果存在）
当前行为：鼠标位置似乎并不重要，它总是与主页（最大）滚动条交互。

Hi brother Did you solve the problem

Scrolling works for me but in order to debug this, you can do a quick check if the problem is on the Dart or the native side.

This plugin uses the Listener widget on the Dart side for detecting scroll events. You might set up a Listener and see if it fires scroll events (using onPointerSignal).

So the scrolling does work, but the only places where it doesn't work (as expected) is when there are smaller containers in the webpage which are scrollable.
Expected Behaviour: When the mouse is placed on / hovered on the (webpage) container and scrolled, the scroll bar inside the smaller container should be considered and not the main page scroll bar (if it exists)
Current Behaviour: The mouse location doesn't really seem to matter, it will always interact with the main page (largest) scrollbar.

Did you solve it.

<EMAIL_ADDRESS>

I have solution for this. You must custom onPointerSignal of lib. By my way, I dont use _controller._setScrollDelta . I will use postMessage to my web apps. Then my webapps can capture event scroll. Finally, you can control event scroll by your self.
*Flutter Side:
Go to webview_windows.dart
Add function below
String postMouseEvent(String mouseEvent,dynamic data)
  {
    return jsonEncode({"mouse_event" : mouseEvent,"data" : data});
  }

Then override onPotinerSignal
onPointerSignal: (signal) {
                        if (signal is PointerScrollEvent) {
                          String mouse_event = postMouseEvent("scroll",{"scroll_delta_dx":-signal.scrollDelta.dx,"scroll_delta_dy":-signal.scrollDelta.dy});
                          _controller.postWebMessage(mouse_event);
                          // _controller._setScrollDelta(
                          //     -signal.scrollDelta.dx, -signal.scrollDelta.dy);
                        }
                      },

Web App

 document.getElementsByTagName("body")[0].addEventListener("mousemove", (e) => {
      this.element = document.elementFromPoint(e.x, e.y);
      // this.mousePos = { x: e.x, y: e.y };
    });

    if (typeof window.chrome.webview !== "undefined") {
      window.chrome.webview.removeEventListener("message");
      window.chrome.webview.addEventListener("message", this.handleMessage);
    }

handleMessage(message) {       let direction = message.data.data.scroll_delta_dy > 0 ? -1 : 1;       let distance = 40;       if(this.getScrollDiv(this.element)) {         let classList = this.getScrollDiv(this.element).classList;         let queryString = "";         for(let i = 0; i < classList.length; i++) {           queryString += ('.' + classList[i]);         }         let elems = document.querySelectorAll(queryString);         if (elems && elems[0]) {           elems.forEach((elem) => {             elem.scrollTop += direction * distance;           });         }       }     },     getScrollDiv(el) {       while (el && el.parentNode) {         if(el.style.overflow == "auto" || el.style.overflow == "scroll" || el.style.overflowY == "auto" || el.style.overflowY == "scroll") {           return el;         }         el = el.parentNode;       }       return null;     },

We solved it in a similar fashion, here is the source code for reference:

  Future<void> scrollWebview(double mouseX, double mouseY, double dx, double dy) {
    return _windowsController.executeScript("""
            function eleCanScroll(ele) {
              if (ele.scrollTop > 0) { return ele; }
              else {
                ele.scrollTop++;
                const top = ele.scrollTop;
                top && (ele.scrollTop = 0);
                if(top > 0){
                  return ele;
                } else {
                  return eleCanScroll( ele.parentElement);
                }
              }
            }
            var el = document.elementFromPoint($mouseX,$mouseY);
            var el2 = eleCanScroll(el);
            el2.scrollBy($dx,$dy);
            """);
  }

// ... inside your body use:
return Listener(
        onPointerPanZoomUpdate: (event) {
          final Offset panDelta = event.panDelta;
          final Offset position = event.position;
          scrollWebview(position.dx, position.dy, panDelta.dx, panDelta.dy);
        },
        onPointerSignal: (signal) {
          if (signal is PointerScrollEvent) {
            final Offset scrollDelta = signal.scrollDelta;
            final Offset position = signal.position;
            scrollWebview(position.dx, position.dy, scrollDelta.dx, scrollDelta.dy);
          }
        },
        child: Stack(
          children: [
            webview_windows.Webview(
              _windowsController,
            ),
            StreamBuilder<webview_windows.LoadingState>(
              stream: _windowsController.loadingState,
              builder: (context, snapshot) {
                if (snapshot.hasData && snapshot.data == webview_windows.LoadingState.loading) {
                  return const LinearProgressIndicator();
                } else {
                  return const SizedBox();
                }
              },
            ),
          ],
        ),
      );

我们以类似的方式解决了这个问题，下面是源代码供参考：

  Future<void> scrollWebview(double mouseX, double mouseY, double dx, double dy) {
    return _windowsController.executeScript("""
            function eleCanScroll(ele) {
              if (ele.scrollTop > 0) { return ele; }
              else {
                ele.scrollTop++;
                const top = ele.scrollTop;
                top && (ele.scrollTop = 0);
                if(top > 0){
                  return ele;
                } else {
                  return eleCanScroll( ele.parentElement);
                }
              }
            }
            var el = document.elementFromPoint($mouseX,$mouseY);
            var el2 = eleCanScroll(el);
            el2.scrollBy($dx,$dy);
            """);
  }

// ... inside your body use:
return Listener(
        onPointerPanZoomUpdate: (event) {
          final Offset panDelta = event.panDelta;
          final Offset position = event.position;
          scrollWebview(position.dx, position.dy, panDelta.dx, panDelta.dy);
        },
        onPointerSignal: (signal) {
          if (signal is PointerScrollEvent) {
            final Offset scrollDelta = signal.scrollDelta;
            final Offset position = signal.position;
            scrollWebview(position.dx, position.dy, scrollDelta.dx, scrollDelta.dy);
          }
        },
        child: Stack(
          children: [
            webview_windows.Webview(
              _windowsController,
            ),
            StreamBuilder<webview_windows.LoadingState>(
              stream: _windowsController.loadingState,
              builder: (context, snapshot) {
                if (snapshot.hasData && snapshot.data == webview_windows.LoadingState.loading) {
                  return const LinearProgressIndicator();
                } else {
                  return const SizedBox();
                }
              },
            ),
          ],
        ),
      );

用了你的方法，发现能解决嵌套滚动的问题了，但鼠标放大的效果不起作用。请问中间有图表放大的问题如何解决呢？

We solved it in a similar fashion, here is the source code for reference:

  Future<void> scrollWebview(double mouseX, double mouseY, double dx, double dy) {
    return _windowsController.executeScript("""
            function eleCanScroll(ele) {
              if (ele.scrollTop > 0) { return ele; }
              else {
                ele.scrollTop++;
                const top = ele.scrollTop;
                top && (ele.scrollTop = 0);
                if(top > 0){
                  return ele;
                } else {
                  return eleCanScroll( ele.parentElement);
                }
              }
            }
            var el = document.elementFromPoint($mouseX,$mouseY);
            var el2 = eleCanScroll(el);
            el2.scrollBy($dx,$dy);
            """);
  }

// ... inside your body use:
return Listener(
        onPointerPanZoomUpdate: (event) {
          final Offset panDelta = event.panDelta;
          final Offset position = event.position;
          scrollWebview(position.dx, position.dy, panDelta.dx, panDelta.dy);
        },
        onPointerSignal: (signal) {
          if (signal is PointerScrollEvent) {
            final Offset scrollDelta = signal.scrollDelta;
            final Offset position = signal.position;
            scrollWebview(position.dx, position.dy, scrollDelta.dx, scrollDelta.dy);
          }
        },
        child: Stack(
          children: [
            webview_windows.Webview(
              _windowsController,
            ),
            StreamBuilder<webview_windows.LoadingState>(
              stream: _windowsController.loadingState,
              builder: (context, snapshot) {
                if (snapshot.hasData && snapshot.data == webview_windows.LoadingState.loading) {
                  return const LinearProgressIndicator();
                } else {
                  return const SizedBox();
                }
              },
            ),
          ],
        ),
      );

Thanks, this worked for me.
I only need to adjust the scrollWebview function because my webview isn't filling all the space on the view. So I need to convert the x and y mouse positions to the widget's correct size.
  Future<void> scrollWebview(
      double mouseX, double mouseY, double dx, double dy) {
    // get relative position from window
    final RenderBox renderBox = context.findRenderObject() as RenderBox;
    final Offset localOffset = renderBox.localToGlobal(Offset.zero);
    mouseX -= localOffset.dx;
    mouseY -= localOffset.dy;

    return _windowsController.executeScript("""
            function eleCanScroll(ele) {
              if (ele.scrollTop > 0) { return ele; }
              else {
                ele.scrollTop++;
                const top = ele.scrollTop;
                top && (ele.scrollTop = 0);
                if(top > 0){
                  return ele;
                } else {
                  return eleCanScroll( ele.parentElement);
                }
              }
            }
            var el = document.elementFromPoint($mouseX,$mouseY);
            var el2 = eleCanScroll(el);
            el2.scrollBy($dx,$dy);
            """);
  }


The example given for "Disabling Attribute Inheritance" doesn't work

The docs show an example for how to disable attribute inheritance (https://vuejs.org/v2/guide/components-props.html#Disabling-Attribute-Inheritance) - I tried, and it doesn't work!
In this example, the placeholder is passed to the input, but class is not, it is applied to the root-element, label. Are the docs wrong, or is something broken in Vue?
As a side note, the example uses a label prop for the child component, but doesn't pass it in as an attribute.
Here is my js-fiddle example, almost straight out of the docs (with some css for clarity)
https://jsfiddle.net/estherh/y12eb6xg/

From docs:

Note: this option does not affect class and style bindings.

Perhaps this note could appear in guide, too?

Indeed. And the example should not use class, of course.


I a error when use simulate model

I met a error

and this is my release/services

and I successed compiled

Originally posted by @master-davidlee in https://github.com/apache/incubator-teaclave/issues/437#issuecomment-763385226

See PR #462.

See PR #462.

Thanks it work

Thanks it work


Add support for<EMAIL_ADDRESS>

ping @tomchentw

@tomchentw updated for the 15 release

Any issues merging this PR?

Published v3.2.0


Allow using Datadog provider 3.x

Currently, version.tf does not allow using Datadog provider 3.x versions:
  required_providers {
    datadog = {
      source  = "DataDog/datadog"
      version = ">= 2.10, < 3"
    }
  }

This is unfortunate, because it forces everything else in the same deployment to use 2.x version of the provider as well and all the new features come only to 3.x. To me it looks like there is no reason to hold back the version in here, but I might have missed something.
Would it be possible to relax the requirement to allow 3.x versions?

I think so as long as there is no major breaking changes from the 3.x version. Please feel free to send a PR


Promote method internal/ioutil.ReadAll to package content

Since it's common to read and verify the fetched content, we can promote the utility method internal/ioutil.ReadAll to the package content for better usability.

Please assign this to me.

Related to #102


MOD: use full path for protoc

Motivation
Protoc(v3.7.1) will panic if without full path on mac env.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instrutions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

:umbrella: The latest upstream changes (presumably 096245b0343231544ae10f1cc9b7fd15d396afff) made this pull request unmergeable. Please resolve the merge conflicts.

Closing since we no longer use build-helpers or grpcio-client


Basic mods crash on start with latest version of Enshrouded

Tried the following combined and individually and all caused crash on server startup.

No fall damage
No stamina drain
No altar limit

Code is not updated to support the latest game version. This is why I state
the compatible game version in the readme file. Most signatures likely have
to be adjusted. I'll check as soon as I get some spare time.
Daniel Mckibbin @.***> schrieb am Mi., 6. Nov. 2024,
12:29:

Tried the following combined and individually and all caused crash on
server startup.

No fall damage
No stamina drain
No altar limit

—
Reply to this email directly, view it on GitHub
https://github.com/s0t7x/shroudtopia/issues/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXOHMJAOEPH4MPBI3RVQOLZ7H4QNAVCNFSM6AAAAABRITUPU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTOOBSGYYTSNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Can confirm. Loader now longer working for Ver. 602428
Thank you @s0t7x for the loader and it's much appreciated that the compatible game version is listed.

Loader did work fine but mods didnt. I hotfixed the fly mod and the nostaminaloss and nofalldamage features of the basics mod. https://github.com/s0t7x/shroudtopia/releases/tag/0.2-hotfix-unstable
This version is highly unstable as turning any of the other outdated mods on will crash the server / client.
Anyway i hope this will help some people. I need more time to reverse the changes they made with the latest update.


how to use the protocol from a C++ client?

Do you have any plans for releasing a C++ client library?
Do you have an example of a C++ client?

how to use the protocol from a C++ client?

@fferri Are you writing your own editor / IDE?
It would be the same for any other programming language. You would communicate to a language server using JSON-RPC. This could be a JSON-RPC library written in the programming language of the client or perhaps there is some way you can pipe stuff to a third-party application that would funnel requests to and from the server for you.

Do you have any plans for releasing a C++ client library?

I know I have no plans myself but I can't speak for anyone else in the LSP community. :)

Do you have an example of a C++ client?

I don't think there is one for C++ at the moment according to the website. At least, not one that is publicly advertised.
You could perhaps check out the implementation in GNOME Builder as it's written in C although please be aware of the licensing implications of looking at another project's source code.
Good luck with your project!

You might want to look at what cquery and clangd use? They are servers but the protocol is symmetric.

@rcjsuen there is nothing I can add to the comments already made be @rcjsuen and @puremourning. Anyone else any additional tips?


Add option "--flat=true|false" to all "ng g" schematic commands

🚀 Feature request
Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description
Some of ng g schematic commands have --flat=true|false option but some others don't, i.e. ng g class. Please add that option to all schematic commands because as a developer want to have classes and their .spec files together in separate directories.
Describe the solution you'd like
The solution is very simple, just define that option to all schematic commands, please.
Describe alternatives you've considered
A workaround is first to create a folder and open a terminal in that directory, then run the command. This hurts!
Thanks, everyone 😘

Makes sense from consistency point of view. @clydin @alan-agius4 any comments?

While I do agree that this is a bit confusing that some offer flat and some not,
You can achieve the desired output by providing the path together with the class name.
Example
ng g class bar/bar

I do agree that we should try to align all schematics to have same options as much as possible. This case would be a breaking change as adding a flat option to the class schematic will change the current behaviour, As by default flat is false. which means that users using ng g class foo will end up with /src/foo/foo.ts, instead of the current /src/foo.ts.
While we can change the default value of the flat option for the class schematic, this will be more confused that some flat options are true and some are false by default.

Flat being false by default for components will, IMO, not be ideal from DX perspective. The common scenario, folks don't want to generate their class inside of a directory. Having to specify every time --flat true would increase verbosity.
Given that this would also be a breaking change, I'd suggest to keep the proposal out of the scope of the CLI for now.


Cannot find module 'memdown'

Hi guys,
I've a provision script that installs dynalite and it stopped working.
> var dynalite = require('dynalite')
Error: Cannot find module 'memdown'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/vagrant/node_modules/dynalite/db/index.js:4:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Seems something happened with memdown dependency. I've tested globally, and locally and it always asks for memdown.
Any ideas what's happening ?
Thanks

@mlimaloureiro It's definitely specified as a dependency: https://github.com/mhart/dynalite/blob/c7f8705d4701920d159eb1c2a35da17c5da7e746/package.json#L31
Does memdown exist for you in node_modules after you've done an npm install?

yep, forgot to say that. it's in my node_modules folder. anyway just found out that if I update my npm version it works fine. so probly just that. just found it weird that it worked before

@mlimaloureiro which npm version were you using before and what did you upgrade to?
I'm gonna close this now that you appear to have solved it – but if you find that it happens again, and it's somehow related to this module (and not npm itself), feel free to reopen


74 re implement historymessage to use expirableobjectbucket

Completing #74

Resolved the bug caught above.

For some reason the latest commit is not reflected in this PR, so I'll create a new PR.


Just questions for attention

I will abuse the system of issues and post some questions for @pevnak for his attention implementation.
Why do we need a segmented sum? Why can't we just use a normal one?
https://github.com/pevnak/Mill.jl/blob/2cec5076a6350aa6a292edf59edd8be3e9e7f5b5/example/attention.jl#L11
Do the 4 in the Dense(d, 4, selu) have some relation to the 4 in SegmentedSum(4)?
https://github.com/pevnak/Mill.jl/blob/2cec5076a6350aa6a292edf59edd8be3e9e7f5b5/example/attention.jl#L34

I assume it's because each data node contains not only single observation, but can contain multiple observations, so you want to aggregate based on segmentations, so if you have multiple bags, you want to aggregate them correctly, not everything into single vectors.

Okay, but we have the access to bags, why can't we construct the summing function "on the fly", but instead initialize it prior to the execution?

I use segmented sum, because it is more "gentle on AD". I think that with current state, you can write something like
map(b -> attend(x[:,b]),


Help with the initiali testing

Im very new to this routing concept
I have setup all the components as per the instructions.
I deployed a service and gave the static egress configuration as below..
Spec:
Rules:
Cidr:            <IP_ADDRESS>
Egressip:        <IP_ADDRESS>
Service - Name:  web
How do I test the traffic now..How can i confirm that the traffic is coming from <IP_ADDRESS>
Any help on this is appreciated

Any updates?

Use tcpdump on <IP_ADDRESS>, and check if sourceIp is comming from <IP_ADDRESS> instead of some nodeIp.


Vite doesn't detect changes in .css (.less, .scss, etc...) files in watch mode in Vite + Vue when file is attached with

Describe the bug
When using symlinks inside node_modules (to test a library on an edge application, for example), Vite is unable to detect changes in files attached in Vue SFC's .
If however the file is imported using import './file.css' inside , changes on it start to be detected again.
Reproduction
https://github.com/minenwerfer/vite-repro
Steps to reproduce
Please look into the readme file.
System Info
System:
    OS: Linux 6.5 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    Memory: 4.09 GB / 7.58 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.6.1 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 10.4.0 - /usr/bin/npm
    pnpm: 8.7.6 - /usr/bin/pnpm
    bun: 1.0.25 - ~/.bun/bin/bun
  Browsers:
    Chromium: 117.0.5938.88
  npmPackages:
    @vitejs/plugin-vue: ^5.0.4 => 5.0.4
    vite: ^5.1.4 => 5.1.4

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitejs/vite-plugin-vue/issues/359


Generate wrapper for akhileshns/heroku-deploy@v3

Action for https://github.com/marketplace/actions/deploy-to-heroku

Thanks for the contribution! :)


makefile: add install target

$ sudo make install
install "fcpp" "/usr/local/bin"
Closes #x

thanks!


Configure to be disabled in untrusted workspaces.

This work is to handle the untrusted workspace scenario.
Please refer to https://github.com/microsoft/vscode/issues/120251 for more details. Covers:  https://github.com/Azure/vscode-aks-tools/issues/68
Thank you. cc: @itowlson

Do we know why it requires workspace trust?

💡 Best example how I understood this was if foo@malicious user sending a zip file and I am opening that unzip project in vscode vs cloning the repo.
Since the default behaviour is that it will prompt,  Honestly I believe this change is not needed because by-default it doesn't trust the workspace behaviour:

It is upto user to decide : after VS Code prompts them to trust or distrust any newly opened workspace. With default behaviour that vscode will show the message that it is untrusted and ask user to select, I wonder why it is needed now.

Like without any changes recently I was asked this: (image below default behaviour)
Also, like this https://github.com/microsoft/vscode/issues/118584#issuecomment-802407888

Thank you so much 🙏❤

I've reviewed the current AKS code and I agree it's safe to run in untrusted workspaces.  We will need to keep this in mind as we carry out future changes - either be sure to keep things safe, or gate them with trust checks.


Bot: Comment when issue is not correctly formatted

Issues like https://github.com/microsoft/vcpkg/issues/36086 are not nicely formatted, but okay. So add a comment how it would be nicer.

Flag info:reviewed for further review.


Clangd 17 release

LLVM 17 was released several weeks ago. The most recent point release is 17.0.3 which was released yesterday: https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.3.
It would be nice to add a clangd 17 entry to our releases page.
cc @kadircet

triggered https://github.com/clangd/clangd/actions/runs/6557833558

https://github.com/clangd/clangd/releases/tag/17.0.3 is out. we can mark it as latest once people test out the binary in different platforms.

For me clangd 17.0.3 is working well. In the meantime 17.0.04 is released. Could clangd be released for this as well?


Make client only package of OT and move Playground and Config builder there

@kmcq's PR got me thinking that we can just make a client only version of the OT package and move all the /ot namespaces pages there. This seemed to work and didn't require any changes to the build processes. Now we can import these pages easily into our application.
client.ts - I created a new root level client.ts entry point file in the OT package that sits next to index.ts. I then modified our package.json to specify a new import namespace that points to client.ts. When you call import blah from '@open-truss/open-truss/client it uses client.ts as the root file.
This separate entry point file was necessary because when I initially moved the config-builder to the OT package, the server-side code /ot/api/synchronous-uqi-query was complaining that it was importing React's useState. This tells me we'll likely encounter this issue sooner than later for the OT components in the package, so we should probably move those to the client package eventually. And to that end, perhaps we probably should make Playground and ConfigBuilder into OT components 🤔 and not have the concept of pages quite yet.

It looks like the changes from https://github.com/open-truss/open-truss/pull/94 to how props get defined in the config (with a type and value) broke the config builder, which now shows up in the tsc watch output because it's part of the package.

Really strange. The error we were seeing past the CI build for tests, but failed the one running on main that uploads packages to npm. https://github.com/open-truss/open-truss/actions/runs/7623115580.
I can fix this bug tomorrow and also fix the build so that it catches these types of errors on PRs before they get to main.


How do you add or install this plug-in?

I never used a leaflet plug-in before

Sorry, I missed this completely! Well, take a look at the examples folder, there are lots of code examples there. https://github.com/Norkart/Leaflet-MiniMap/tree/master/example


Unable to read firmware

On Asus chromebox CN60, long ago flashed SeaBIOS, and have been running pure Linux for several years.  Decided to revert to ChromeOS, so ran the firmware utility script from both Debian Bullseye and Fedora 38, and get the same error, "Unable to read firmware".  Is this hardware just too old to revert to ChromeOS?  This is the output after the error:
flashrom dc8caac9-dirty on Linux 6.2.15-300.fc38.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
coreboot table found at 0x7f73d000.
Found chipset "Intel Lynx Point LP Mainstream".
This chipset is marked as untested. If you are using an up-to-date version
of flashrom and were (not) able to successfully update your firmware with it,
then please email a report to<EMAIL_ADDRESS>including a verbose (-V) log.
Flashrom is the latest available from both distros.  I have not reported to flashrom, I don't know how to get a verbose log using the script.

Decided to revert to ChromeOS

please do not, the latest update the CN60 got was years ago. The proper path forward is to upgrade to the UEFI Full ROM firmware, then install ChromeOS Flex

so ran the firmware utility script from both Debian Bullseye and Fedora 38, and get the same error, "Unable to read firmware". Is this hardware just too old to revert to ChromeOS?

nothing to do with the age of the hardware, everything to do with the kernel config + version of flashrom used by the script. Reporting the issue to flashrom.org will be ignored, since the script is not using upstream flashrom, but a custom build of the chromium fork.
I recommend live-booting Ubunut 2210/2304, since the script is known to work there, then following my advice above. Going back to stock firmware is not supported on EOL devices.


SIMPLE-5289 pcl small ldap improvements fixes

draft until tests run, being tested in test-dvalent, raises:
E       Licensing issue: System is not licensed.


Styling TextInput toggles between default and applied font styling for CJK characters on iOS in RN 0.63

Description
The TextInput text styling seems to be broken when it is used in conjunction with CJK (Japanese) characters on iOS. The text/font styling toggles on and off after every change in the TextInput field. Toggling between what seems to be the default styling of the native component and the applied styling specified via the style prop. I am sure that it affects both the fontSize and fontWeight property and only affects the CJK characters. If both latin characters and CJK characters are used in the same text input field, the styling only toggles for the CJK characters. The fontStyle and color are applied correctly.
This issue does not occur on Android and React Native versions 0.62.2 (rough estimate) and lower. It is broken in 0.62.2 and 0.63.0. Could not reproduce it in an Expo snack, possibly because the latest version of the Expo snack uses a RN version lower than 0.62.2.
React Native version:
System:
    OS: macOS 10.15.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 665.96 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.12.0 - ~/.nvm/versions/node/v13.12.0/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v13.12.0/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v13.12.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-R | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.0 => 0.63.0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
With repo
See README in repository.
New Project

Create a new react-native project (npx react-native init ExampleProject).
Use the TextInput component in the App.js.
Apply fontSize and fontWeight styling on the TextInput component via the style prop.
Start the iOS simulator by running npm run ios.
Type or copy/paste Japanese characters (probably the same for Chinese).
Either through removing or adding characters (both Latin & CJK) the styling toggles between the default(?) and the specified styles applied before.

Expected Results
I would expect that styling to be applied consistently and not toggled after every change in the text input field on iOS.
Screenshots
When deleting characters:

When adding characters:

When combining Latin & CJK characters:

Repo
https://github.com/sebasthuis/react-native-textinput-cjk-bug

@sebasbad 0.63.1 fixes it.

@sebasbad 0.63.1 fixes it.

i test it. not work just for ios.(chinese and japanese)

I wanted to ask if you still experience this issue.
I'm planning to do 1-2 months of opensource and I'm preparing a list of tasks.
I have been contributing to facebook/react-native for 4 years and I specialize on the Text/TextInput components.
Thanks a lot


filler_placement places cells on top of macros

When I run filler_placement, I see that fill cells get placed on top of block macros:

These sites should not be filled because they have the cell sites removed:

Test case:
fillcell_tinyRocket_nangate45_2020-04-14_17-13.tar.gz

This was resolved at some point.

This issue has resurfaced (or perhaps never went away and I was looking at the wrong view). The same case is valid.

fixed by commit fe43ab7 opendp no fillers over blocks


Is there any way to show minimum and maximum value on to the slider?

As title say, is this possible?

This is functionality isn't provided by the control, but you could use a minimumValueImage and maximumValueImage to display this info (defined in UISlider).


feat(lang): Custom base image

Description
Users expect that they can change the base images used by envd.

How about this?
base(image="")

If the image is defined in base, then we use the image here instead of the default image.

Can you illustrate more details about your concern?
Are there any necessary dependencies we need to make it a suitable base image that can be used for envd?

Are there any necessary dependencies we need to make it a suitable base image that can be used for envd?

Yep. There are some built-in deps:

sshd server maintained by us is added in the base image.  https://github.com/tensorchord/envd/blob/main/base-images/python3.8-ubuntu20.04-cuda11.6.Dockerfile#L118
conda https://github.com/tensorchord/envd/blob/main/base-images/python3.8-ubuntu20.04-cuda11.6.Dockerfile#L88
Some system packages used by vscode-remote or ssh https://github.com/tensorchord/envd/blob/main/base-images/python3.8-ubuntu20.04-cuda11.6.Dockerfile#L79

Ref #567


"Warning" custom container is missing the title

The warning custom container has no title at all (e.g. https://gbdev.io/pandocs/Accessing_VRAM_and_OAM.html)

This is normal, no title is defined.


New docgen with mkdocs (online documentation) support (#1027)

The following PR introduces some changes in order to generate markdown files that is optimized for use with mkdocs.
Changes

New docgen
Adds language_name to the configuration files (ex.: Python)
Produce individual markdown files in addition to CONFIG.md
Produce MkDocs configuration

:warning: Required migrations :warning:
This PR introduces new metadata to the LSP configurations that is required:
config.server_name = {
  docs = {
    -- This is used for the markdown generation
    -- Shown as: `Server Language (server_name)`
    language_name = "Server Language"
  }
}

How to test
I've put up a demo here: https://andersevenrud.github.io/nvim-lspconfig-web/configurations/pyls/
pip install mkdocs-material # this also installs peer dependencies
./scripts/docgen.sh
mkdocs serve

TODO

[ ] Improve language names assigned in the metadata
[ ] Github action for Github pages
[ ] ... see discussion topics below ...

Discussion topics

This tries to keep backwards compability in the CONFIG.md file. Should this be removed and instead point users towards the split versions ?
The <details> elements did not support markdown, so they were removed in the web versions. But because of the template changes this is maybe not much of an issue?
The contents of ex. README.md has now been duplicated, which is probably not ideal.

Relevant issues

https://github.com/neovim/nvim-lspconfig/issues/1027

@mjlbach Could you please re-open this one ? I accidentally made a bad rebase that I've fixed :blush:

I can't because you force-pushed haha. Even my powers are limited

Aww :laughing:
New PR it is then. Thanks for the quick response :)


Support configuring TLS verification

Is there an existing issue for this?

[X] I have searched the existing issues

Does this enhancement require public documentation?

[X] I have added an Acceptance Criteria item for adding and/or adjusting public documentation (if applicable)

Problem Statement
Extended from FTI-6130.
Customer wanted to configure TLS verification on upstream services by tls_verify and ca_certificates attributes of Kong service, but we do not have annotations to specify the fields.
Also, gateway API has BackendTLSPolicyValidation to specify upstream TLS verification.
We should add the support of specifying TLS verification on KIC by both annotations and gateway APIs.
Proposed Solution

Add annotations (on Service and KongServiceFacade) to specify tls_verify and ca_certificates in translated Kong service
Support translating BackendTLSPolicyValidation in gateway APIs

Additional information
No response
Acceptance Criteria

[ ] Can specify  tls_verify and ca_certificates  to configure the attributes in translated Kong service.
[ ] BackendTLSPolicyValidation in gateway APIs is supported

@randmonkey this almost feels like 2 distinct issues no?

@lahabana I agree that two issues are creeping in here: one for covering Ingress API with annotations on a Service (and possibly a ServiceFacade) and another for implementing a BackendTLSPolicy for Gateway API. This can remain an umbrella as it makes logical sense to group them under the general TLS verification between a Gateway and upstreams.


[TASK] Go through App config building block

Description
Run appconfig API in local
Acceptance Criteria
Run appconfig building block in local, with and without docker.
Get responses for all API endpoints using Postman

Cryptography 3.3.2 not supported by M1 apply silicon BigSur.
Cryptography version 3.4.7 installed without error. Changed requirements.txt to reflect cryptography==3.4.7

POST API endpoint getting 401 response.
Running using Docker - GET taking too long to respond.

I think you have completed this, right? If so, please close the issue. Thanks.

Completed


How to plot x-y or polar  scatter graph with Kairosdb?

Hi all,
Thank you, the grafana and plot.ly plugin team, for providing the module  for scatter plot.  I am in a project that requires to plot x-y or polar  scatter plot using the data from Kairosdb.   I have not been able to  figure out how and hope to find help here.  Along the road, I am  actually hoping to find a module or find help in developing such a  module which is able to plot wind rose diagrams.
My Kairosdb has a couple of metrics and tag-pairs.  Each tag-pairs  represents a time series of data.   The example is as follows:
The metric name is "CR1000", having tag-paris like "xreadings, x1",  "xreadings, x2", "xreadings, x3", ...., "yreadings, y1", "yreadings,  y2", .... and so on.   I am trying to do scatter plots using "xreadings,  x1" as x and "yreadings, y1" as y.    Is this possible?   Our plot.ly  plugin is version 0.0.3.
My current experience was that: In our plot.ly control panel, there were  initially only two tag fields for data.  I tried to fill "xreadings" in  the first tag field,  "x1" in the second, and click the mouse left botton.   Grafana did not plot anything receiving the event.  Then I  needed to click 'Add (+)' to generate a new form for another pair of tag fields.  We subsequently input "yreadings" and "y1" in the two new tag fields and click the left mouse botton, grafana generates a plot using "yreadings, y1" for both x and y values (ie. data points are on x=y line).  Was there something missing in my operation?
Any help is welcome and thank you in advance!
For more information, our example JSON data read:
"name": "CR1000",
"tags": {
"xreadings": "x1"
},
"datapoints": [
[1359788400000, 12.3],
[1359788300000, 13.2],
[1359788410000, 23.1]
]
and
"name": "CR1000",
"tags": {
"yreadings": "y1"
},
"datapoints": [
[1359788400000, 45.6],
[1359788300000, 56.4],
[1359788410000, 65.4]
]

Sorry, I don't have any experience with Kairosdb


⚠ Jerry Savelle Ministries International Australia has degraded performance

In 6239f6c, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 11044 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 5037fe4 after 48 minutes.


Broken on Android mobile web

Autocorrect very quickly breaks the editor. On a Nexus 4 with the default keyboard, if I do this:

Focus the editor
Type 'T' 'h' 'i'
Hit space. It autocorrects to 'This ' and the editor loses focus.
Refocus the editor at the end of the line.
Hit delete three times, to get to 'Th'
Hit 'i' 's' and then space.

At this point you expect the text to be "This ", but in fact after the space it becomes "Th". And now the editor is in a bad state, and continued typing produces unpredictable results, e.g. hitting backspace followed by 'i' at this point gives you "Thisi".
More generally, you get unpredictable behavior very quickly by just combining normal typing, autocorrect, and delete.

We don't have any Android use cases in production right now, so I can't vouch for its behavior. Sorry about that. :(
IIRC, the issues involved are covered in https://bugs.chromium.org/p/chromium/issues/detail?id=118639.
I'd love to see a version that works well in Android, but I haven't tried to tackle it myself.

Oh, I see -- does FB intend on using this on Android any time soon?
Do you have a sense of how difficult it would be to support this case, or for someone else to fork and fix?

I don't believe we are trying to solve Android at FB at this point. Previous attempts were made, but nothing shippable emerged.
Some Android version/browser cohorts may be working fine already, I'm not sure.
I'd be delighted to see a fork that tries to take it on. I'm not likely to have time for it soon, unfortunately.

The following two statements in the documentation suggest cross browser support

abstracting over cross-browser differences

Draft.js is used in production on Facebook, including status and comment inputs, Notes, and messenger.com.

Is it possible to add what browsers are supported and what environments facebook use it with in production?
Something along the lines of MDN's Browser Compatibility table with the known state would be amazing.

Slowly trying to make it working for Android: https://github.com/facebook/draft-js/pull/175

entering "C'etait"
Composition is mixed with EditOnInput and EditOnBeforeInput
2016-03-08 04:19:43.073 bundle.js:109692 Composition: C'
==> here the keyboard disappear
2016-03-08 04:19:46.379 bundle.js:116854 Edit on beforeInput: e
2016-03-08 04:19:46.495 bundle.js:117296 Edit on Input: C'e 3 3
2016-03-08 04:19:48.984 bundle.js:109692 Composition: C'etait

Another note.
mustReset in resolveComposition is responsible for making the keyboard disappear during typing.

When the composition starts, some text can be selected to be replaced. This happens when the composition starts in the middle of a word but the whole word is being composed.
compositionStart should receive the text being replaced in the data attribute but it's null. I guess it's a react bug.

composition fixed :)

@cgestes give me a shout if you need help testing anything

You guys are great. :) Thanks for taking this on.

Hey all, I'm also blocked on this (#175). Thanks for looking into it. In the meantime, anyone know of workarounds for Android?

draftjs.org should really be updated to make it clear that this isn't a cross-browser solution. The marketing of this project is misleading, and it's causing unexpected pain for a lot of people.
It states that abstracting over browser differences is a core goal, and it's mentioned on the readme that it's used in production by Facebook, which gives the impression that this is a cross-browser solution - but it barely functions on the most popular mobile web browser in the world. As far as I can tell, the team isn't investing resources to fixing the issue, either.

I have worked in Android with draft.js for half year to make a rich editor. Our app is ready for releasing now.
The real hard thing to work with Android is that some Android input methods not send any key press event but use InputConnection to control the content via directly API like deleteSurroundingText. Because draft.js does some key event processing, the things goes wrong.

@jan4984 did you find solutions? Could you share, if so? I've been hacking around things but haven't found any really reliable solutions...

@iEchoic I found this paragraph at the very bottom of the "Issues and Pitfalls" page... but only after discovering by experience that Draft.js totally fails on Chrome for Android. I agree with you, it would have been nice if that was more clear from the get-go.

@iEchoic yes. the most easy way is wrapper the InputConnection, and send keys. like:
        @Override
        public boolean commitText(CharSequence text, int newCursorPosition) {
            if(TextUtils.isEmpty(text)){
                //lot's of IME to commit empty text while backspace pressed, convert it back to backspace press
                super.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL));
                return super.sendKeyEvent(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DEL));
            }
            return super.commitText(text, newCursorPosition);
        }

@jan4984 . Would you please provide more context on how to wrap InputConnection ? I'm not being able to make https://github.com/andrerpena/react-mde to work on Android 😢

Merging this into a general Android bug issue - see https://github.com/facebook/draft-js/issues/1895

@jan4984 How exactly did you get that code to work? (I'm working with an older version of Draft.js being used on a website I don't own/program). On Android 10, when trying to use that wrapper you provided, the app instantly crashes.

@TheAlienDrew sorry Android version goes fast. I not work it for 3 years.


add vue-transfer-dom

v-transfer-dom shoud be more intuitive than v-inject.

I've been looking for something like this, thanks!


Edit Intake Dates

User Story
As an admin, I want to edit intake dates that have not ended so that I can change any necessary dates.
Acceptance Criteria:
Page: View Intakes dates

[ ] Show Edit pencil when Intake's End Date & Time <= Current Date & Time (before)

Button Behaviour

When clicking on "Add Intake" button

[ ] Hide "Add Intake" button
[ ] Hide the current row
[ ] Show the "Edit" form with the fields filled

[ ] Transition: slide down - similar to: https://codepen.io/mbxtr/pen/OJPOYg

Page: Edit Intakes dates

[ ] If current date & time is > start date & time, then disable editing of start date & time
[ ] Clicking save or cancel in the form starts the transition animation slide the form div up

Validations

[ ] All validations happen when pressing Save

Required fields:
[ ] Start date = null
Error message:  "Start date and time must be entered."
[ ] End date = null
Error message:  "End date and time must be entered."

Error state design:
[ ] Field outlined red
[ ] Red warning text appears below each field
[ ] "Description (optional)"
[ ] Description field - 150 characters

The intake dates cannot overlap.

[ ] The Start Date cannot be between Start & End Date of other intakes.
I.e. two intakes cannot be open at the same time.
Error message:  "Intake dates cannot overlap. Start date & time must be after end of any other intakes."

If a Future Intake exists, the intake End Date < Start Date of the Future Intake.
Error message:  "The End date & time must be before the start date of the future intake."

[ ] Start date & time > current date and time
Error message: "Start date & time must be after current date & time"
[ ] End date & time > start date and time
Error message: "End date & time must be after start date & time"

Action

Scenario: Save intake
Given all fields have valid information
When I click on Save
[ ] Then the inputs will be saved in the database
[ ] And the input fields will be reseted
[ ] And the form will disappear (transition: slide up)
[ ] And the updated intake will appear in the list of intakes
[ ] And show the "Add Intake" button

Scenario: Cancel Edit intake
When I click on Cancel
[ ] Then the form will disappear (transition: slide up)
[ ] And the intake appears in the list of intakes
[ ] And show the "Add Intake" button

Wireframe

Please add your planning poker estimate with Zenhub @rafasdc

Would it be a lot more effort to do live validations on this form?

Leaving  All validations happen when pressing Save acceptance criteria unchecked since this has live validation.


Applied translations

Hi,
I saw that several translations do not work, so I added this change to be displayed.
But I do not apply all the translations because multiple words like "More", "Full configuration", "Search" among others that do not exist in "php / Locale / English.php" and I would like to add them but I don't know if I also have to add them to "Lychee-front / scripts / main / lychee_locale.js"? and I also don't know if there would be a problem with this new translation in the other languages? (Italian.php, German.php, etc).
Could you help me with these questions before changing anything.
Thank you.

So why did you close this PR? Are you going to solve the problem in a different way?
While I'm not thrilled about adding that many new functions, I can certainly understand the problem you are trying to solve. For Lychee-Laravel (the upcoming Lychee v4) at least, I'm guessing you should be able to put the localization strings directly in the blades (see, e.g., https://github.com/LycheeOrg/Lychee-Laravel/blob/master/resources/views/gallery.blade.php) and that would certainly be our preferred approach to fixing this problem. But there are probably also hardcoded strings in the front end that need to be localized as well.


Issue using a shared struct together with an extern C++-struct

Hello everyone!
I am trying to use a cxx shared struct together with an extern C++-struct, but this is the error message I receive:
The following warnings were emitted during compilation: warning: In file included from /home/.../crate/testbridge/src/Teststruct.hpp:2, warning:                  from /home/.../testbridge/target/debug/build/testbridge-dc88e509b695cbaf/out/cxxbridge/sources/testbridge/src/lib.rs.cc:1: warning: /home/.../testbridge/target/debug/build/testbridge-dc88e509b695cbaf/out/cxxbridge/include/testbridge/src/lib.rs.h:7:22: error: ‘Teststruct’ in namespace ‘::’ does not name a type warning:     7 | using Teststruct = ::Teststruct; warning:       |                      ^~~~~~~~~~ error: failed to run custom build command for testbridge v0.1.0 (/home/.../testbridge)Caused by:   process didn't exit successfully:/home/.../testbridge/target/debug/build/testbridge-984fcd4d6e795e11/build-script-build (exit status: 1)
So, my question is, is it even possible to use a C++-struct alongside a shared struct with cxx?
// lib.rs
#[cxx::bridge]
mod ffi {
    struct SharedStruct {
        testvalue: u8,
    }
    unsafe extern "C++" {
        include!("testbridge/src/Teststruct.hpp");

        type Teststruct;
    }
}

// Teststruct.hpp
#pragma once
#include "testbridge/src/lib.rs.h"
#include <memory>

class Teststruct
{
public:
    SharedStruct Teststruct;
};

Thanks to everyone in advance! :)

You need to fix the import cycle between your two headers. They can't both include the other in C++.

Hey dtolnay, thanks for the great advice!:)
My Buddy and I solved the Issue now by using an extra crate where we defined our SharedStruct in another cxx::bridge and then later on defined our SharedStruct as a type back in our main cxx::bridge (crate).
Thanks again for the great help!


umi-tools dedup: only run --output-stats on a single chromosome

Description of feature
umitools dedup uses large amounts of memory and runs slowly. To speed it up it is recommended to only run it on a single chromosome, see the FAQ point number 4.
Currently the option is hard-coded, see github
The suggested solution to only run on a single chromosome would cause the pipeline to only analyze a single chromosome.
Since --chrom seems to be mostly for debugging purposes, see here
I suggest either making the --output-stats optional, or running a second round of deduplication on a single chromosome to generate the output stats.

Running the analysis on a single chromosome is more tricky than I expected. In the NFCORE_RNASEQ:RNASEQ:DEDUP_UMI_UMITOOLS_TRANSCRIPTOME:UMITOOLS_DEDUP step each transcript is considered a contig.

Ok. In that case, we definitely need to fix the module in the next release.
@lars-work-sund tried this config below which failed as reported in the comment above:
process {
    withName: 'NFCORE_RNASEQ:RNASEQ:DEDUP_UMI_UMITOOLS_GENOME:UMITOOLS_DEDUP' {
        cpus = 12
        memory = '72.GB'
        time = '16.h'
        ext.args = '--chrom=chr22'
    }

    withName: 'NFCORE_RNASEQ:RNASEQ:DEDUP_UMI_UMITOOLS_TRANSCRIPTOME:UMITOOLS_DEDUP' {
        cpus = 12
        memory = '72.GB'
        time = '16.h'
        ext.args = '--chrom=chr22'
    }
}

We will need to update the nf-core/module to make --output-stats optional and possibly add a parameter to the pipeline to control this behaviour e.g. --umitools_dedup_output_stats which is off by default.

nf-core/module updated in https://github.com/nf-core/modules/pull/1689
Fixed in pipeline in https://github.com/nf-core/rnaseq/pull/830
Added a new boolean parameter to the pipeline called --umitools_dedup_stats that when provided will generate the output stats. By default, the stats won't be generated.


JavaScript heap out of memory.

I am getting an error i.e FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory.

Sad!

Hi!
I've got the same error too. In a snapshot of memory, I see, that chokidar stores links to files in the memory.

@paulmillr, do you have any ideas, what can I do with this issue?
@sachin7254, did you fix this problem in your case?

I don't see evidence those strings are from chokidar.  Not saying it isn't so, even though I doubt it, but so far this issue is lacking a good chain of evidence.

I've got the same error too. I fixed it by ignoring "node_modules" folder.
Don't watch the black hole. :joy:


Do we forgot version 4.0?

I see some PRs has been merged in 4.0 branch for a very long time. We released several versions but nothing news about 4.0 version? Could you share any plan for this?

@ashfurrow I'm happy to help.  Will try to do it tomorrow.


Sagonzal/app creation script

Update to call Microsoft Graph
Add app creation scripts
Update README

@sangonzal @navyasric : does the script work? do you need help?

@sangonzal Looks good to merge!


Messages search

When you try search for specific messages by user, when you write the user name, matching users list dont pop-up
steps:
click on search tab in right top corner
select search by user
try write any username on that server
here is video: https://youtu.be/cruYgzHPh0k

I cannot recreate this, do you have plugins installed?


https://datatracker.ietf.org/doc/ad/ needs help text

Description
The AD status page is probably useful to ADs.  It is opaque to those who haven't been on the IESG.  I suggest that each table title (I-D State Counts, etc) be an anchored link into a file explaining what the columns mean.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I mention this because the just-posted Chair/IESG summary calls it out as something for the community to look at.