Add way to change DraggableScrollableSheet snap animation curve and duration

Hello!
I'm looking for a way to change the default animation curve/duration for DraggableScrollableSheet snap behavior. I have found this similar issue #102520, but I don't think the solution solves my problem as I don't want to trigger the animation "manually" but rather when the sheet is released. I've also looked through the code and docs and did not find anything related.
Please let me know if this is not a valid request or if it is already solved somehow. Thanks!

@giovanigm
Can you provide an example of change you are proposing ? and what change in implementation are you looking for ?

Hello @darshankawar!
I thought something like adding new parameters "snapAnimationCurve" and "snapAnimationDuration" either to DraggableScrollableSheet or DraggableScrollableController, just like DraggableScrollableController.animateTo parameters  but to every snap animation.
For example, here is the default snap animation:
https://user-images.githubusercontent.com/15115032/177157382-d7dbbc72-9ce3-4a73-ab3f-9d2fa8b043a7.mov
And here is an animation with different curve and duration (using DraggableScrollableController.animateTo):
https://user-images.githubusercontent.com/15115032/177157372-2aeac801-dafe-485d-a861-5e14a4106cfb.mov
The latter one does not work if I release the sheet in the middle of the extent:
https://user-images.githubusercontent.com/15115032/177158754-f9ecd310-c95b-46e9-baef-e98267ae9796.mov
I know there is the challenge to define how the duration is calculated in this case (maybe another parameter), but I think at least the curve could be implemented initially and the duration later on.

Thanks for the update.


question about parameter

Hello,
KCP SNMP:&{BytesSent:4885439 BytesReceived:300639488 MaxConn:329 ActiveOpens:0 PassiveOpens:689 CurrEstab:328 InErrs:0 InCsumErrors:51460 InSegs:620392 OutSegs:252542 OutBytes:41189722 RetransSegs:7577 FastRetransSegs:0 EarlyRetransSegs:2746 LostSegs:4831 RepeatSegs:11580 FECRecovered:35813 FECErrs:0 FECSegs:139565}
kcptun_server --mode normal --mtu 1460 --listen :6082 --target <IP_ADDRESS>:8002 --key test --crypt aes-128 --nocomp
Can you tell me how optimize my kcptun configuration.
In particular, can you explain more precisely kcp snmp information ?
FECErrs:0   ? there's no error detected, so i must delete FEC configuration ?
Regards,
Nicolas

fecerrs :0 means:  NO configurations errors has detected.

so can i pass datashard and partityshard to 0 ?
How decrease lostsegs ? / retransSegs ?
Can you explain kcp snmp variable, is's very important for us to do test and progress with our configuration.
regards,
Nicolas

0 means FEC has disabled;
improve the link quality(buy expensive link) will lower retrans/lost segs.
currently, you can only find definitions in the https://github.com/xtaci/kcp-go/blob/master/snmp.go, i may add some comments later days.

ok,
play with  rcvwnd ,sndwnd and mtu cannot decrease lost segs ?
Regards.


Fix for issue #561 - Extend fs.access to support R_OK, W_OK, and X_OK

I have added the support test for fs.access() to test various conditions with R_OK, W_OK and X_OK.
There is one test that is skipped for now. The test should return an error if file is not executable and mode = X_OK.
We create a new bug for this issue. Thank you 👍

Codecov Report

Merging #601 into master will increase coverage by 0.03%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #601      +/-   ##
==========================================
+ Coverage   86.13%   86.16%   +0.03%
==========================================
  Files          16       16
  Lines        1716     1720       +4
==========================================
+ Hits         1478     1482       +4
  Misses        238      238

Impacted Files
Coverage Δ

src/errors.js
100% <ø> (ø)
:arrow_up:

src/filesystem/implementation.js
83.21% <75%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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

Great job @deepanjali19, you did it.


Update readme.md

Changed link to pyusb, added confirmed ubuntu versions.
Hey, everything is still working! :)

Thanks @aurelijusrozenas!


How to decide the CPIC value?

Bug description
I am running the Geoift model on my data. I have the initial data input of data, location, and sales. How do I know what is the CPIC value?

Hi @roh-neenopal,
CPIC stands for Cost Per Incremental Conversion.  Ideally, it should come from the best estimate of incrementality you have for the country you would like to analyze from previous tests.  If you have not run previous experiments, then you could use some form of attributed cost value as a simple replacement.  It basically represents how much you think each extra conversion is costing you.
If you are working with sales, you can input your expected Return On Investment as a CPIC value and it should do the trick.
Closing this issue for now. Feel free to reopen if you would like more details.

Hi @roh-neenopal! Adding to @NicolasMatrices-v2 very thorough answer, you could also get CPIC estimates from Marketing Mix Models (MMM). If none of the aforementioned resources are available, a conservative estimate could be used. For instance, if we are selling a $10.00 item and have a $4.00 margin on it, then a super conservative estimate of the CPIC could be $6.00 (the max amount of money we could spend for an additional transaction without financial losses). This conservative value will result in an under-estimated power analysis which would basically provide the upper bound for investment!

@ArturoEsquerra @NicolasMatrices-v2 should I use another parameter in MarketSelection to calculate the return?
I'm asking because ROAS is Revenue/ Budget Spent, while CPIC is Budget Spent/Conversions


ARROW-3534: [Python] Update zlib library in manylinux1 image [skip appveyor]

This now includes a new zlib version that is bundled as pyarrow/./libz-7f57503f.so.1.2.11. The hash in the name is important so that it does not collide with system packages.

Failure is unrelated, a flaky Plasma test.

There is failing RAT check on .dockerignore, though.

Codecov Report

Merging #2775 into master will increase coverage by 0.99%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2775      +/-   ##
==========================================
+ Coverage   87.56%   88.56%   +0.99%
==========================================
  Files         403      342      -61
  Lines       62122    58331    -3791
==========================================
- Hits        54398    51660    -2738
+ Misses       7654     6671     -983
+ Partials       70        0      -70

Impacted Files
Coverage Δ

rust/src/record_batch.rs

go/arrow/datatype_nested.go

rust/src/util/bit_util.rs

go/arrow/math/uint64_amd64.go

go/arrow/internal/testing/tools/bool.go

go/arrow/internal/bitutil/bitutil.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/array/null.go

rust/src/lib.rs

rust/src/array.rs

... and 51 more

Continue to review full report at Codecov.

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


ScreenShareAudio source for TrackToggle/MediaTrack doesn't work

Select which package(s) are affected
@livekit/components-react
Describe the bug
When creating a component to screenshare with audio, I expect to be able to use the ScreenShareAudio source as documented, likewise as it exists in the Track.Source enum.
In practice however, this yields no ParticipantTile for the media share, nor does the track toggle have an icon.
It does allow me to select a media source when the component is rendered, however it does not seem to allow the button to function after that as clicking on it does nothing. It also does not seem to share it as it appears on neither the clientside nor the receiving end.
Is this feature unsupported, or am I doing something incorrectly?
Reproduction
Component for sample:
export default function Stream({ user_id, username, channel_id }: { user_id: string; username: string, channel_id: number }) {
  const token = useToken(
    process.env.NEXT_PUBLIC_LK_TOKEN_ENDPOINT,
    channel_id.toString(), {
      userInfo: {
        identity: user_id,
        name: username
      },
    }
  );

  return (

        <LiveKitRoom
          video={true}
          audio={true}
          screen={{ audio: true }}
          token={token}
          serverUrl={process.env.NEXT_PUBLIC_LK_SERVER_URL}
          connect={true}
          className='flex flex-col w-full justify-center'
        >
          <RoomAudioRenderer/>

            <ParticipantLoop>
              <ParticipantTile className={'w-11 mb-5 mr-4'}>
                <MediaTrack source={Track.Source.Camera} className={'rounded-xl mb-4'}/>
                <MediaTrack source={Track.Source.ScreenShareAudio} className={'rounded-xl'}/>
                <MediaTrack source={Track.Source.Microphone}/>
              </ParticipantTile>
            </ParticipantLoop>

            <TrackToggle showIcon={false} className={'w-7 h-7 bg-grey-900 rounded-lg text-lg'} source={Track.Source.Microphone} initialState={false}>
              Mic
            </TrackToggle>
            <TrackToggle className={'w-7 h-7'} source={Track.Source.Camera} initialState={false}/>
            <TrackToggle className={'w-7 h-7'} source={Track.Source.ScreenShareAudio} initialState={false}>
              Screenshare + Audio
            </TrackToggle>

        </LiveKitRoom>

  );
};

We have been working with Supabase in our app to get user ids and other info, but for the sake of simplicity and reproducability, I have somewhat refactored the above to be easily dropped into a React app with arbitrary values passed in.
The token endpoint follows the same design as the documentation, just adapted for a NextJS serverless function.
The livekit server running is the dev server on windows.
Ideally when loading a project with this component even as a single user, the site should initially prompt for a screen/application to share, however nothing will be even if the browser states it is sharing.
Logs
No response
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 30.82 GB / 63.91 GB
  Binaries:
    Node: 19.7.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.1.2 - C:\Program Files\nodejs\npm.CMD

Firefox 111.0, Edge 111.0.1661.41

Severity
serious, but I can work around it
Additional Information
Note, workaround is simply foregoing screenshare with audio. While it's not ideal, if we must we will.

hi @multimokia
the source ScreenShareAudio really only represents the audio track of a screen share and not the screen share itself.
Because it's impossible to get the screen audio separately from the screen video, there's no support for it on the toggle.
In order to get a screen share with audio, you would add capture options (landed here) to the toggle.
This would look like
<TrackToggle className={'w-7 h-7'} source={Track.Source.ScreenShare} captureOptions={{audio: true}} initialState={false}>
   Screenshare + Audio
</TrackToggle>

will close this as solved, as v0.6.0 has a narrowed type and capture options that should make this clearer.

Yep this did the trick thank you so much for your quick response.


As user I want more flexibility in choosing metabolite identifiers/names when uploading media

From D9.1:
Media files upload: data restrictions that slow down upload of media files are the requirements of the correct chebi name for each component and for concentrations to be submitted in g/L. In addition, some chebi names have not been added to the platform. This has been solved on a case-by-case basis by the DTU team.
For greater usability in the future several alternative names could be accepted for each compound (e.g. the synonyms listed at EBI1). The platform should be able to translate these synonyms into the correct chebi name and ask the user if this is correct.

First implementation and done criteria for this epic is:

User can upload data with compounds specified as names /or/ chebi identifiers
Compound names that are non-uniquely resolvable to chebi identifiers triggers failure and the alternative approximate matches are returned
Compound names that uniquely map to a chebi identifier are simply replaced


Pin message

How i can pin message with bot help?
https://core.telegram.org/bots/api#pinchatmessage

@Slavenin right now you can use (before it would be merged)
Nadia.API.request("pinMessage", [chat_id: 1, message_id: 1])

I just merged #96 , you can use it if you install nadia from github.
I'll release a new version later.


Geoconnex mainstems not loading

Description of the bug
Example Query

Steps to reproduce the bug:

Create new resource
Add spatial coverage
Try to find "related geospatial features" in the Mainstems collection
See error

Additional information
https://reference.geoconnex.us/collections/mainstems/items?f=json&limit=1000&properties=uri,name_at_outconst&bbox=-95.833740234375,35.9357645138553,-93.33435058593751,36.815881441097154
{
"code": "InvalidParameterValue",
"description": "unknown properties specified"
}
v 2.0

also the mainstems text doesn't populate correctly


Feature Request: Add option to remove Sidekiq + Redis dependency and use GoodJob (Postgres-based Active Job backend)

Hello, I've enjoyed using Bullet Train so far! I just had a question / feature request: Is it possible to replace the Active Job backend? I'm working on a small internal app where I would like to keep the stack as simple as possible, so it would be great if I could skip Redis and just use Postgres for the database and job queue: https://github.com/bensheldon/good_job
(I think GoodJob is also a decent choice for many medium-sized applications until they hit a certain scale.)
But no problem if this will be too complicated!

Ah I see Redis is also used for Action Cable, so it probably doesn't make sense to deploy a Bullet Train app without Redis. Will close

Ah I see Redis is also used for Action Cable, so it probably doesn't make sense to deploy a Bullet Train app without Redis.

@ndbroadbent I think this is absolutely correct. But you could still remove Sidekiq and use GoodJob for background processing if you really wanted to. I don't believe that Bullet Train would need to provide any particular accommodations to make that possible.


NIP-42 authentication

NIP-42 authentication is disabled by default.
If enabled the relay sends an AUTH message right on connection start. Then the client should send AUTH command.
Currently authenticated pubkeys are not used anywhere, except  in GRPC.

Cannot wait to review, thanks for this!

Great foundational work.  Merged!


Format separation

Hi, as i saw in previous issue, there's no other option but saying: good job!
Is it possible to have the formats separated into different files(VAST and VMAP)?
I'd do it myself but i don't wanna drop something buy accident.

Thanks!
I think that should be possible simply by splitting the file in two and updating Gruntfile.js and test/buster.js so that they include both of the files as source files. You should try it and see if you can get the test suite to pass!


arrow labels/text (binding)

A common pattern amoung diagraming tools is the ability to add text to a connection line. This helps describe the transition stages of a diagram, so it would be great to have in Excalidraw!
Examples
Miro:

FigJam:

I'm sure this was requested before but I can't find the issue right now. Not sure how this would work with multi-point lines, but we could add this feature for two-point lines (or between two points of any multi-point line).
We should also figure out how this would work from user perspective.

The most common pattern is double-clicking on the center of the connection line to start the text input!
Agreed, this should only apply to multi-point lines!

Closing as now implemented.


Fix countConsonants method (#671)

Closes #671

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

There is already someone with an older PR on this countConsonants function. I apologize. I am cleaning up the issues this morning so please grab another one. Thank you! I will close this PR for now. Please reopen it when you find another to solve.


Using special characters in directory name breaks zip tools

Problem
I created a theme inside a two-word directory with the theme name such as: "Theme name - XXX [Master]" using the command slate theme "Theme name - XXX [Master]" and from what I could tell, it created the theme as normal. But when I then ran slate zip it killed the build process after [12:27:24] Finished 'zip' after with no built theme and no dist folder. I changed the theme's folder name to simply "theme" and it worked perfectly.
Perhaps there's some undocumented restriction on folder names or perhaps a bug.

I'm able to reproduce. Labeling as bug

This issue has been moved to https://github.com/Shopify/slate/issues/233


https://github.com/bitcoin-wallet/bitcoin-wallet

I need you help to pick up my wallet

I have forget me secure code  mean my pick up password

#42

I need help to get secure code

https://github.com/bitcoin-wallet/bitcoin-wallet

I received emails that a certain amount of bitcoin is already sent, so i have to claim it. My question is where and how to claim it.


Cross-compile toolchain for RPi seems to have broken the Makefile

I've just re-compiuled Raylib on a new, clean install of rasbian Stretch, and there seem to be a few issues with the Makefile.
If you simple compile using
make PLATFORM=PLATFORM_RPI
Then it will fail saying C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-ar: command not found
This can be avoided by using the following instead:
make PLATFORM=PLATFORM_RPI  RPI_CROSS_COMPILE=NO
but then it complains that it cannot find bcm_host.h and this is because the Include path is missing from the make file. In this section it is building the include path from the RPI_TOOLCHAIN_SYSROOT
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vmcs_h$
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vcos/p$
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vcos/p$

So I added the following:
INCLUDE_PATHS += -I/opt/vc/include

The build then completes OK, but what is probably required is not to simply presume that if PLATFORM=PLATFORM_RPI is specified, then the source is being cross-compiled under Windows but to take the opposite view - that it is being compiled natively on an RPi unless RPI_CROSS_COMPILE=YES is specified?
Richard

Hi @AudioMorphology!
Are you using latest develop branch? It should be corrected there...

Ah. No, I was using the latest release branch. Sorry, I always forget to clone the Develop branch - I will try that.
I will close this issue, and re-open it if necessary.
Richard


I was looking into removing AllowUnresolvedTypeVariables too but it looks like we still need it for code completion :/

Yeah, AllowUnresolvedTypeVariables has to stay for a bit longer but we are looking into moving code completion to typeCheckForCodeCompletion which would allow us to remove all of the hacks.

@swift-ci please smoke test


examples: Add --enable-legacy-service=false to ConfigMap

This PR adds the enable-legacy-services flag to the ConfigMap and sets it to false, so that new users won't need to maintain unnecessary legacy services.

This change is

test-me-please

test-missed-k8s

Coverage decreased (-0.07%) to 41.859% when pulling 856b6093db7fd2ffb1f8fed351d886739c1d0d3b on pr/brb/configmap-disable-legacy-svc into 545971f844094d6d8dde418839e6ed0eda46d6fb on master.

Connectivity to Jenkins appears to have been flaky:
11:28:38  Cannot contact jenkins-node-2: java.lang.InterruptedException

test-me-please

test-missed-k8s

test-upstream-k8s

test-me-please

test-missed-k8s


Open link on Logo to Github Repository in a tab

I really like this library and want everyone to know about it. But it disrupts the user experience if a user is exploring a GraphQL API, accidentally clicks on the logo, and gets redirected to a GitHub repository.
I'd like for users to focus on the API that is being documented. I think the GraphQL Voyager logo is advertising enough without a link.

But it disrupts the user experience if a user is exploring a GraphQL API, accidentally clicks on the logo, and gets redirected to a GitHub repository.

@brandonbyskov How about making it open in a new tab by adding target="_blank"?

That's acceptable, especially while you're trying raise awareness about this library. I would suggest removing the link at some point in the future.
My opinion is that there shouldn't be a link to a git repository. I suspect others putting this in customer facing products will have the same desire as me. I plan to embed this in a developer portal that documents a GraphQL API to customers. I only want to present them this tool to use, not the links to the source code of the tool. But I can maintain a fork of this to get that functionality now.
Let me know which option you want to go with, and I'll adjust this pull request if you want it to open in a tab.

@brandonbyskov Problem here is that we use the same code for our demo page and NPM package. At the moment I don't have time for splitting out demo into a separate component so I want to minimize changes.
Can you please change your PR to open URL in a separate tab and I will merge it as a temporary workaround.

I only want to present them this tool to use, not the links to the source code of the tool.

I think in future we need to remove logo from NPM package and add small Powered by GraphQL Voyager link at the bottom of the left panel.
What do you think? Would it be acceptable in your case?

@IvanGoncharov I think that's a good plan.
I've changed the link to open in a new tab.

Merged 🎉
Published as 1.0.0-rc.17 📦


Sorting CollectionDataProvider

What is the recommendation for sorting data when using a CollectionDataProvider? Do you have to use a different CollectionDataProvider or cache key for each possible sort order? Or maybe you maintain your own sorted list of objects that is updated whenever the CollectionDataProvider changes?

If you use the same cacheKey, you'd end up overwriting your old versions of the data in the cache (and other data providers). I assume this isn't what you want. It sort of depends what you want here...is there 1 main order, and then you want to sort into multiple things on top of that?
If that's the case, I'd just write a wrapper on top of your data provider to provide a sort order (I think this is similar to your second idea).
Or, you could cache all the different sort orders with different keys. However, this means you won't get insertion/deletion updates because you no longer share the same cache key.
Hopefully that helps?

Thanks. I ended up just sorting the data before calling setData. When the sort order needs to change, I just sort it and call setData again. My use case is pretty simple right now. I only have one view for displaying the data, so there are no conflicts with different data providers. I'm coming from Core Data, where you can have multiple NSFetchedResultsControllers each with different sorting, yet they all get notified when insertion/deletion/updates happen. When I need that functionality, I will need to revisit this. I'm trying RocketData to see if I can use it instead of Core Data or Realm. I like the lightweight nature of it and its immutable models. But I also realize it's not a real database like Core Data, so I might run into use cases that are difficult.


[Mention The Feature]: Wants to add a feedback form for your website

Is your feature request related to a problem? Please describe.
I would like to propose the addition of a feedback form to enhance user engagement and facilitate the collection of valuable insights from our community. A feedback form will empower users to share their experiences, suggestions, and any issues they may encounter while interacting with the project. This initiative is especially relevant under programs like GSSoC (GirlScript Summer of Code) and Hacktoberfest, which emphasize community participation and collaborative development.
Implementing a user-friendly feedback form will not only improve communication between users and maintainers but also help identify areas for enhancement within the project. By making it easy for users to voice their opinions and experiences, we can gain a clearer understanding of their needs and preferences. This feedback will serve as a critical resource for making informed decisions about future updates and features.
Moreover, providing users with a platform to express their thoughts will encourage a sense of ownership and investment in the project. This aligns with our commitment to continuous improvement and responsiveness to community input. I believe that this enhancement will significantly benefit both contributors and users, fostering a more vibrant and engaged community. Thank you for considering this important addition!
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots

Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

can u assign it to me


Not working

I have an LG C2 42 and Either it updated or something with windows changed because I can use the test feature and it works perfectly every time but when I turn my Computer off it doesn't turn the TV off.

Hi @Minecraftman04 can you please enable logging and paste the log on pastebin or similar and copy a link here so i can have a look.
Kind regards
Jörgen

https://pastebin.com/NP7xMKCj

Is there a way I can directly message you so any IP's don't get leaked?

Github don't really facilitate that, but there is discord where you can easily speak to me. https://discord.gg/7KkTPrP3fq

Thanks,
so there is something in the log which is unexpected and will cause the display to not turn off when shutting down. It seems that the application receives "info" that the system is shutting down, then immediately followed by "info" that the system is restarting. (Restarting should not turn the system off, so this will cause your issue). It's lines like these in the log I'm talking about:
Mon 14:06:18 > Event subscription callback: system shut down detected.
Mon 14:06:18 > Event subscription callback: System restart detected.
Never seen this before. It could be a bug, it could be windows or (looking at  the code) it could be a misconfiguration. Can we start by ruling out misconfiguration. Please copy paste config.json too and also confirm that the "restart words" in the global options seem to be configured properly

For restart words I have them all ticked (restart, shutdown, power off), where is the config file?

it is in c:/programdata/lgtv companion/

config.txt
I changed it to .txt otherwise I cant upload it

Thanks, so it looks like a combination of a bug (or a failed config validation) and misconfiguration.
You should uncheck the checkboxes for "shutdown" and "power off" in the restart words and click apply. (Click the 'What's this?' link to read more about why)
Then verify that this in the current config.json:
"LocalEventLogRestartString": [
"restart",
"shutdown",
"power off"
],
"LocalEventLogShutdownString": [
"shutdown",
"power off",
"restart"
],
changes into:
"LocalEventLogRestartString": [
"restart"
],
"LocalEventLogShutdownString": [
"shutdown",
"power off"
],
Then it should work. I will have a look at the code to see if I can figure out why this happened and also add additional validation (actually thought I had already)

config 2.txt

Thanks too! It's obvious there shouldn't be duplicate values so I will add an additional check for it. Thanks for helping me squaashing a bug :)


Feature Request : upload behind proxy

Is your feature request related to a problem? Please describe.
Upload fails behind company proxy.
I am using new codecov uploader in CI machine behind company proxy. Therefore, I cannot migrate old uploader to new one without proxy support.
Describe the solution you'd like
Add proxy support to uploadToCodecov
Describe alternatives you've considered
hmm, no alternative idea
Additional context
I have created my proposal how to introduce proxy support to superagent.
https://github.com/yasuto-nishii/uploader/pull/1/files

Thanks for the feature request! We've opened #378 to track the progress of proxy support.

@mitchell-codecov  Thanks for response!  This must help for our uploader migration.


Custom Forms - Switches

rework/add custom checkbox / switches

via: https://getbootstrap.com/docs/5.0/forms/checks-radios/#switches
/cc @mhw

I do personally use them on a project of mine.


fix: Panic on CLI Watch command

Checklist:

[ ] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[ ] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".  #3422
[ ] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

@sarabala1979 should we back-port to v2.9.4 and v2.10.0-rc2?


npm global package missing

I run react-native info and found out that npmGlobalPackages:  *  react-native   * : Not Found. How to fix this error? I try using npm install -g react-native-cli but it didn't work.

@CodeKazuko this is has nothing to do with react-native-device-info I don't think.


Support any chaincode name in installFPC.sh

Signed-off-by: ikegawa-koshi<EMAIL_ADDRESS>What this PR does / why we need it:
When executing installFPC.sh, read the CC_ID from the environment variable to install a different chaincode than the echo.
If CC_ID is undefined, "echo" will be defined.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
No
Does this PR introduce a user-facing changes and/or breaks backward compatability?:
No

@ikegawa-koshi thank you for this PR!
@munapower is working on refactoring the test network to allow any chaincode name/ID and at any chaincode path to make this more flexible and better useable with any FPC chaincode. See more details in #605.
@munapower can you please look at this PR? Does it create a conflict for you? Could you cherry pick this one or build on top? Shall we merge it as is?

Hello @ikegawa-koshi ! Thank you for your contribution! Both of us have been thinking of the same thing. I created an issue https://github.com/hyperledger/fabric-private-chaincode/issues/605 and would be modifying the same file and some more to be able to contemplate that the user can define the chaincode and the location of the code. I will push my PR and if you like you could help me with the second part of the enhancement that I mention in the issue.
Regards

Hi @munapower
Oh sorry! I did not notice #605.
OK, please close this PR.
After you push your PR, I will check, and if I have more enhancement points, I will enhance them.
Thanks.

Thanks Koshi


Backport LabelHelp field to metrics option structs

Type of change
Backport code from master to release 1.4
Description
Backport LabelHelp field to metrics option structs

fabric-ca 1.4 uses LabelHelp, in IBP-Operator when we are vendoring 1.4.x version of fabric and fabric-ca. We get this compile time error: lib/server/metrics/metrics.go:19:3: unknown field 'LabelHelp' in struct literal of type metrics.CounterOpts


Account recovery API doc returns 404

Go to https://docs.wso2.com/display/IS580/Using+the+Account+Recovery+REST+APIs

Click on "REST API swagger docs on account recovery. " to view the API doc.

It says Page not found

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Bug with the char '&'

On Google Chrome :
1/ With your keyboard, enter 'a&²'
Excepted : see 'a&²' string on the textarea
Actual : display 'a²&'

Also with (
It seems the pad doesn't like special chars

Please test in swellrt.org
Only fixed #50.
#51 needs deeper research and it doesn't have priority.

string 'a&²' => works !

Please be careful, I think it doesn't work everytime.
Thanks for your feedback.


Purge single cached crop

Hi
How can i purge a single cached file?  For some reason there was one file where the cache got corrupt.  Instead of removing all cache (gigabytes), it would be helpful to know which file I need to remove from the cache.  Or to be able to tell to imageprocessor to remove the cache of this particular crop.
How and where do I start?
Kind regards

I'm afraid not. If I offered a way via the url to purge an individual image that would open me up to DDOS attacks. You could however write something based off the code here to determine the location of the cached file.
https://github.com/JimBobSquarePants/ImageProcessor/blob/49bb8b14dd15ecfac6672b7307af9d71a0e2f769/src/ImageProcessor.Web/Caching/ImageCacheBase.cs#L119
p.s. Gigabytes! Crikey, that must be a lot of cached images!

Thanks!  I was thinking about attacks too.  I was afraid that would be the answer.
I'll look into the generated filename.
Lots of images in different crops makes even more gigabytes in the cache folder :-)


Bridge: Learn how links to an outdated documentation

https://manual.grid.tf/threefold_token/tft_bridges/tfchain_stellar_bridge.html#how-to-use-the-tfchain-stellar-bridge

Update:
Investigation:
This issue is blocked on https://github.com/threefoldtech/info_grid/issues/301 and the documentation issue is also currently blocked since:

the instances for testnet and mainnet are not available yet
the steps can't be updated yet since profile manager extension isn't merged yet so the flow is not finalized yet to document.

verified and updated on devnet
version : 433ad62

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422339#case_4226598

Verified:

Testnet
2.3.0-rc1


move lodash to peerDependencies

This PR avoids lodash.merge duplication and saves a few kB of code size.
In the current situationm, below is the webpack-bundle-size-analyzer report, notice that lodash.merge is responsible for  91.4% of the total size:
react-pagify: 96.12 KB (2.94%)
  lodash.merge: 87.88 KB (91.4%)
    lodash._stack: 18.16 KB (20.7%)
      lodash._mapcache: 12.38 KB (68.2%)
        <self>: 12.38 KB (100%)
      <self>: 5.77 KB (31.8%)
    lodash.keys: 11.26 KB (12.8%)
      <self>: 11.26 KB (100%)
    lodash.keysin: 11.17 KB (12.7%)
      <self>: 11.17 KB (100%)
    lodash.rest: 6.74 KB (7.67%)
      <self>: 6.74 KB (100%)
    lodash.isplainobject: 3.11 KB (3.54%)
      <self>: 3.11 KB (100%)
    lodash._root: 1.87 KB (2.13%)
      <self>: 1.87 KB (100%)
    lodash._basefor: 1.53 KB (1.74%)
      <self>: 1.53 KB (100%)
    lodash._arrayeach: 942 B (1.05%)
      <self>: 942 B (100%)
    <self>: 33.13 KB (37.7%)
  <self>: 8.24 KB (8.58%)

Just started thinking this a bit closer... What if we allowed the user to pass deepMerge function to react-pagify when you use the component? This would drop the peerDependency and simplify things further at the cost of some ux. At least this would be a very explicit way to deal with it.
I could also do a custom version of merge that fits this particular use case. This solution would drop the heavy dependency as well.

That would make the API harder to use and to extend, and would also break compatibility. Let npm and webpack do the heavy lifting.

Ok, cool. It would have to be a major version bump, yeah.
I'll exclude lodash from the dist build and push a new release.

Published 2.0.1. Super small now (around 10k, 5k, smalled gzipped). :+1:

Size matters ... Thanks for the merge.

I confirm that this change has saved 5k compressed: https://github.com/FredericHeem/starhackit/commit/e2659ec69d691278c3c4959ab26785ecf08319b6

Super. :+1:


Add help method for key vault to create keyVault keyStore

make extensive way to set up the keystore as a helper method.
Fix the NullPointerException that may cause when the certificateBundle is empty

/check-enforcer override


ValueError('Invalid file descriptor: -1') raised when sever not reachable

Steps to reproduce:
call:  await client.connect(is_async=True) on a server that is not reachable
Actual:
Traceback (most recent call last):
  File "/home/garyvdm/dev/fnb/bpm-ng/ve/lib/python3.7/site-packages/bonsai/asyncio/aioconnection.py", line 60, in _poll
    return await asyncio.wait_for(fut, timeout)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 388, in wait_for
    return await fut
  File "/home/garyvdm/dev/fnb/bpm-ng/ve/lib/python3.7/site-packages/bonsai/asyncio/aioconnection.py", line 45, in _ready
    res = super().get_result(msg_id)
bonsai.errors.ConnectionError: Can't contact LDAP server. (0xFFFF [-1])

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/garyvdm/dev/fnb/bpm-ng/python/bpm/web_util.py", line 41, in rest_request_handler_inner
    result = await func(request)
  File "/home/garyvdm/dev/fnb/bpm-ng/python/bpm/web_app.py", line 92, in get_branches
    return await model.get_branches()
  File "/home/garyvdm/dev/fnb/bpm-ng/python/bpm/model/__init__.py", line 232, in get_branches
    async with self.connection_manager as connection:
  File "/home/garyvdm/dev/fnb/bpm-ng/python/bpm/model/__init__.py", line 75, in __aenter__
    self.connection = await self.client.connect(is_async=True)
  File "/home/garyvdm/dev/fnb/bpm-ng/ve/lib/python3.7/site-packages/bonsai/asyncio/aioconnection.py", line 62, in _poll
    self._loop.remove_reader(self.fileno())
  File "uvloop/loop.pyx", line 2302, in uvloop.loop.Loop.remove_reader
  File "uvloop/loop.pyx", line 724, in uvloop.loop.Loop._remove_reader
  File "uvloop/loop.pyx", line 682, in uvloop.loop.Loop._fileobj_to_fd
ValueError: Invalid file descriptor: -1

As you can see, a bonsai.errors.ConnectionError but another error was raised in a handler of that exception.
Expected:
A bonsai.errors.ConnectionError is raised.

Hi,
I'm trying to reproduce the error with the following snippet:
import asyncio
import bonsai

async def main():
    cli = bonsai.LDAPClient("ldap://unr.each.able")
    conn = await cli.connect(is_async=True)
    return conn

asyncio.run(main())

But it raises ConnectionError as it's expected.
I tested with Python 3.6 on Ubuntu 18.04 and in python:3.7-alpine docker container, but the results were the same.
Can you send a code snippet and some more details about your environment? Maybe it's related to uvloop somehow.

I was able to reproduce it with this:
import asyncio
import bonsai

async def main():
    cli = bonsai.LDAPClient("ldap://<IP_ADDRESS>")
    conn = await cli.connect(is_async=True)
    return conn

asyncio.run(main())

<IP_ADDRESS> is not reachable on my network. You may need to change this to something that is not reachable on your network.

Makes sense, I changed it and now getting the same result as you.
I'll look into it.

I added a condition check to avoid removing invalid file descriptor.


Vg-thumbnail-scrub-bar not working

I tried with the information given in the documents and it throws an error
"TypeError: Cannot read property '0' of undefined
at link (http://static.videogular.com/scripts/controls/latest/vg-controls.js:718:58)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:64:293
at N (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:54:372)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:61:297
at g (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:47:256)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:46:377
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:48:217
at F (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:52:28)
at ya.link (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:204:239)
at N (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js:54:372)" "<vg-scrub-bar-thumbnails vg-thumbnails='config.thumbnails' class='ng-scope ng-isolate-sc

You have a demo here if you need a working example:
http://videogular.com/demo/#/
Code:
https://github.com/videogular/videogular/blob/master/app/scripts/controllers/main.js#L19
https://github.com/videogular/videogular/blob/master/app/views/main.html#L33


What is the tolerance for read_pod_logs

the following probe fails with error:
Steady state probe 'fetch-ziptranslatorservice-zipservice-pod-logs' is not in the given tolerance so failing this experiment
{
"name": "fetch-ziptranslatorservice-zipservice-pod-logs",
"type": "probe",
"tolerance": true,
"provider": {
"func": "read_pod_logs",
"arguments": {
"label_selector": "name=zipservice",
"last": "30m",
"ns": "core"
},
"type": "python",
"module": "chaosk8s.pod.probes"
}
}

Hello!
I think the read_pod_logs probe doesn't return a boolean so the tolerance would be incorrect. Maybe use a jsonpath or regex instead?
for instance:
https://docs.chaostoolkit.org/reference/tutorials/tolerance/#validate-the-stdoutstderr-of-a-process

Thanks for the help!
I have added something like this
{
"name": "fetch-guamapper-pod-logs",
"type": "probe",
"tolerance": {
"type": "regex",
"pattern": "@timestamp",
"target": "stdout"
},
"provider": {
"func": "read_pod_logs",
"arguments": {
"name": "guamapper",
"last": "30m",
"ns": "core"
},
"type": "python",
"module": "chaosk8s.pod.probes"
}
}
where the logs I should receive from kubectl is similar to -
{"@timestamp":"2020-02-25T07:27:30.7609245Z","Message":"Deleted Source blob "51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0#2020-02-25T07-29-55Z.json.gz" From Container.","BlobName":"51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0#2020-02-25T07-29-55Z.json.gz","SourceContext":"Grundfos.GiC.ZipTranslatorService.Services.BlobFileOperations.BlobOperationManager"}
{"@timestamp":"2020-02-25T07:27:30.8889674Z","Message":"Marked file upload notification as complete:DeviceId:"51558226fb58524ca6b3137c150e308f",BlobName: "51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0#2020-02-25T07-29-55Z.json.gz", BlobUrl:"https://gfstoiotfileuploadpazwe.blob.core.windows.net/wwnfiles/51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0%232020-02-25T07-29-55Z.json.gz\", BlobSizeInBytes:7156, LastUpdatedTime:02/25/2020 07:27:26 +00:00, EnqueuedTimeUtc:02/25/2020 07:27:28","Level":"Verbose","DeviceId":"51558226fb58524ca6b3137c150e308f","BlobName":"51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0#2020-02-25T07-29-55Z.json.gz","BlobUri":"https://gfstoiotfileuploadpazwe.blob.core.windows.net/wwnfiles/51558226fb58524ca6b3137c150e308f/02060001053ACC5A_10_0%232020-02-25T07-29-55Z.json.gz","BlobSizeInBytes":7156,"LastUpdatedTime":"2020-02-25T07:27:26.0000000+00:00","EnqueuedTimeUtc":"2020-02-25T07:27:28.1185446Z","SourceContext":"Grundfos.GiC.ZipTranslatorService.ZipTranslator"}
where I am searching for "timestamp"
the Pod Yaml contains labels -
labels:
app.kubernetes.io/environment: p
app.kubernetes.io/instance: guamapper
app.kubernetes.io/name: guamapper
pod-template-hash: 574f89f4cd
Am I missing something? Or is there a syntax error, I am looking for last 30 minutes logs

Is there any workaround for this? I am facing same issue

Hey folks. I'm finally looking into this issue now. I'll report soon.

The builtin regex tolerance wasn't well adapted here so I've created a dedicated probe for this task:
{
    "title": "Check pod logs",
    "description": "n/a",
    "runtime": {
        "hypothesis": {
            "strategy": "after-method-only"
        }
    },
    "steady-state-hypothesis": {
        "title": "extract-logs-with-regex",
        "probes": [
            {
                "name": "read-pod-logs",
                "type": "probe",
                "tolerance": {
                    "name": "search-probe",
                    "type": "probe",
                    "provider": {
                        "type": "python",
                        "module": "chaosk8s.pod.probes",
                        "func": "should_be_found_in_logs",
                        "arguments": {
                            "pattern": "startup",
                            "all_containers": false
                        }
                    }
                },
                "provider": {
                    "type": "python",
                    "module": "chaosk8s.pod.probes",
                    "func": "read_pod_logs",
                    "arguments": {
                        "last": "60s",
                        "label_selector": "app=producer",
                        "container_name": "producer"
                    }
                }
            }
        ]
    },
    "method": [
        {
            "type": "action",
            "name": "terminate-producer-pod",
            "provider": {
                "type": "python",
                "module": "chaosk8s.pod.actions",
                "func": "terminate_pods",
                "arguments": {
                    "label_selector": "app=producer"
                }
            },
            "pauses": {
                "after": 10
            }
        }
    ]
}

The should_be_found_in_logs probe takes the output of read_pod_logs and search for a pattern in container's logs.
I hope this will do.


Broken styling for underlined & required TextField

Adding is-required and ms-TextField--underlined to the same TextField component breaks the styling

Markup for the screenshot:

  Name:
  <input class="ms-TextField-field" type="text">

  Name:
  <input class="ms-TextField-field" type="text">

That's pretty gross. Thanks for the tip, we'll look into this.

Great catch. Pull request #98 should fix the issue.


Fix chart name

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

Pull Request Test Coverage Report for Build 1230

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.216%

Totals

Change from base Build 1223:
0.0%

Covered Lines:
2160

Relevant Lines:
2368

💛  - Coveralls

👍 Thank you for your contribution @Samze!
Please review and sign the CLA so we can merge this.

Already is addressed in another change


double-beep: Watch tcyonline.com

double-beep requests the watch of the watch_keyword tcyonline\.com. See the MS search here and the Stack Exchange search here.

tcyonline\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by CalvT in Charcoal HQ


Deck/Discard Pile Viewer

If this is implemented, cards that requires searching through deck or searching through discard pile (such as healing cards) can be also implemented. Also would be great to view discard pile anytime

This is something I wanted to do for the first release but found it a little more complicated than I'd like.
Viewing the discard pile is not a problem, but I did not really like the idea of having the player choose the cards that he was healing, as that would just take up a huge portion of the turn if you have to wait for your opponent to choose 12-18 cards to put back into his deck (think star grass salve or phoenix tears), that's why I made it random.
Though implementing certain cards like Gringots Vault Key (choose any card from your deck) will require this functionality, I have some ideas as to how to go about it but they will require some planning.


Cannot edit archived

Expected Behavior
Migration should edit or skip archived entries
Actual Behavior
Migration fails with "status":"Bad Request" and "message":"Cannot edit archived"
Possible Solution
Just skip archived entries
Context
Doing a transformEntryForLocale (copying content from one locale to another)

This appears to be the same bug as https://github.com/contentful/contentful-migration/issues/122


bugfix/30-code-coverage-does-not-work-for-hierachical-projects

OBE. I don't have hierarchical projects anymore.


Add an optional parameter to bicep build to specify the config file to use

Is your feature request related to a problem? Please describe.
Currently, users cannot choose which bicep file to use when running bicep build.
Describe the solution you'd like
Add a parameter to specify a bicep config file path.
bicep build ./main.bicep --config ./bicepconfig.prod.json

The use case I would have in mind for that is more in the case of the linter config instead of a config file per environment. So, for example, I want to use a specific linter config in CI. Sso that when there are no template/project specific linter rules configured my default (specified with --config) is used.
However, it would be then again problematic as long as something like https://github.com/Azure/bicep/issues/5022 is not implemented. Because currently where the content of multiple config file is not merged together in some way I have only the choose to define nothing or all. But I cannot overwrite specific rules and fallback for all other rule to a default "global" config (e.g specified by --config or saved in the user home directory or similar, etc.).
I think @michael-crawford had also some very good points described here in: https://github.com/Azure/bicep/issues/8132

Some requests have come through in discussions for deploying from Different ACR instances between TEST and PROD.
So this feature would cover that scenario.

https://github.com/Azure/bicep/discussions/10712

Will need to revive the discussion at some point.

The split of dev and prod is something I also have a challenge with. This feature would really help.


luarocks update needed?

Hi! Thank you for your great work, especially for the Curve25519 implementation. 👍
I think something happened with the last version:
luarocks install luazen
Installing https://rocks.moonscript.org/luazen-0.9-1.rockspec...
Using https://rocks.moonscript.org/luazen-0.9-1.rockspec... switching to 'build' mode
Cloning into 'luazen'...
remote: Counting objects: 29, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 29 (delta 3), reused 12 (delta 1), pack-reused 0
Receiving objects: 100% (29/29), 68.48 KiB | 511.00 KiB/s, done.
Resolving deltas: 100% (3/3), done.
gcc -O2 -fPIC -I/usr/include -c src/luazen.c -o src/luazen.o
gcc -O2 -fPIC -I/usr/include -c src/base58.c -o src/base58.o
gcc -O2 -fPIC -I/usr/include -c src/lzf_c.c -o src/lzf_c.o
gcc: error: src/lzf_c.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
distcc[13270] ERROR: compile src/lzf_c.c on localhost failed

Error: Build error: Failed compiling object src/lzf_c.o

Thanks for the report.  The rockspec for the last stable version luazen-0.9-1.rockspec was buggy (missing the github branch v0.9).  Hopefully it should work now. I close the issue, but please reopen if it doesn't work for you.

It is compiled successfully, thank you. I saw you renamed some function, so i did it too. But now i get:

attempt to call field 'x25519_sign' (a nil value)

Maybe i compiled an older version? I didn't find where luarocks download c source, but found the test_luazen.lua and it's different (it seems older) than the github one. What's happening?
Here's the luarocks log, hope it helps:
luarocks install luazen
Installing https://rocks.moonscript.org/luazen-0.9-1.rockspec...
Using https://rocks.moonscript.org/luazen-0.9-1.rockspec... switching to 'build' mode
Cloning into 'luazen'...
remote: Counting objects: 33, done.
remote: Compressing objects: 100% (30/30), done.
Receiving objects: 100% (33/33), 60.67 KiB | 460.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.
remote: Total 33 (delta 2), reused 21 (delta 2), pack-reused 0
Note: checking out 'cb849cb99f2f5cedf17062fb0e6f7f7ea1223dc0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
gcc -O2 -fPIC -I/usr/include -c src/luazen.c -o src/luazen.o
gcc -O2 -fPIC -I/usr/include -c src/base58.c -o src/base58.o
gcc -O2 -fPIC -I/usr/include -c src/lzf_c.c -o src/lzf_c.o
gcc -O2 -fPIC -I/usr/include -c src/lzf_d.c -o src/lzf_d.o
gcc -O2 -fPIC -I/usr/include -c src/mono.c -o src/mono.o
gcc -O2 -fPIC -I/usr/include -c src/norx.c -o src/norx.o
gcc -O2 -fPIC -I/usr/include -c src/md5.c -o src/md5.o
gcc -O2 -fPIC -I/usr/include -c src/rc4.c -o src/rc4.o
gcc -O2 -fPIC -I/usr/include -c src/brieflz.c -o src/brieflz.o
gcc -O2 -fPIC -I/usr/include -c src/depacks.c -o src/depacks.o
gcc -O2 -fPIC -I/usr/include -c src/randombytes.c -o src/randombytes.o
gcc -shared -o luazen.so -L/usr/lib64 src/luazen.o src/base58.o src/lzf_c.o src/lzf_d.o src/mono.o src/norx.o src/md5.o src/rc4.o src/brieflz.o src/depacks.o src/randombytes.o
Updating manifest for /usr/lib64/lua/luarocks/lib/luarocks/rocks
luazen 0.9-1 is now built and installed in /usr/lib64/lua/luarocks (license: MIT)

Oh it's just sign not x25519_sign.


[WIP] using document.nodes instead of searching through document scenes

Closes: #359
Using document.nodes to access nodes instead of traversing scene.

Found an issue with one of the examples, marked as WIP.


add option to skip cursor.count() to improve performance

While the count is nice for debugging purposes, the oplog
is not optimized for the scan that count() requires so it can
take a significant amount of time. The only information we
really need is whether there are more docs to process or not.

@llvtt @quentins this looks like a good performance improvement. Will this be merged ?

I think these changes look fine. @quentins, would you mind rebasing this pull request? I fixed the Travis build awhile ago, so we should get useful test output once it's rebased.

Rebased.

+1 for this. Idk why this problem is particularly severe on my mongod instance, but doing cursor.count() literally hangs my mongo-connector

Hi @quentins, this looks like a useful feature. Would you mind rebasing with master?
Thank you!

I restarted the travis build because it seemed to fail due to an unrelated reason.

I merged #470 which does something very similar to this PR. Sorry that this took so long.


SCSS Syntax Highlighting Not Working

Steps to reproduce
Open an SCSS file.
Expected behaviour
Syntax highlighting to work.
I was using Vim on Ubuntu 20.04.3 LTS with Vim 8.1.2269 and the SCSS syntax highlighting didn't work. But if you use the plugin,
https://github.com/cakebaker/scss-syntax.vim,
this was no longer an issue.
However, I switched to Arch Linux with Vim 8.2.3582, and the plugin no longer fixes the issue.
Strangely the syntax highlight does work inside at-rules but not outside them.
https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
Here's a screenshot of what I mean.

Operating system
Arch Linux
Version of Vim
8.2.3582
Logs and stack traces
No response

Open an SCSS file.

Providing some text file would have helped.  I had to manually type all the text from the screenshot.

the SCSS syntax highlighting didn't work

I can't reproduce.  The code is syntax highlighted:

Whether the highlighting is correct is another story.  I don't know SCSS.  If it's incorrect, you'll have to be more specific as to where exactly.

To debug your issue, try to reproduce without config:
vim -Nu NONE +'syntax on' /path/to/file

And from the latest commit (8.2.3717 as I'm writing this).

Text from the screenshot for anyone else who want to test:
#streams {
    float: right;
    width: 68%;
    .icon {
        height: 2rem;
        width: 2rem;
    }
}
#titles {
    position: absolute;
    top: 55%;
    left: 9%;
    padding: 4px 0;
    background: black;
    border: $Gline;
    max-height: 25vh;
    overflow-y: auto;
    z-index: 10;
    li {
        border-bottom: $Gline;
    }
}
::-webkit-scrollbar {
    background: #000;
    -webkit-border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: grey;
    -webkit-border-radius: 10px;
}
@media screen and (max-width: 1920px) {
    #center {
        width: 60%;
    }
    #show {
        width: 60%;
        left: 20%;
    }
}
@media screen and (max-width: 1200px) {
    aside a {
        font-size: 1.2rem;
    }
    .cover-season {
        width: 60%;
    }
    .info {
        width: 40%;
    }
    #clear, #list {
        padding: .5rem;
    }
    #content aside {
        font-size: 1.5rem;
        width: 17.5% !important;
    }
    #show {

@lacygoill thank you for looking into this issue. My apologies you must have written all that SCSS by hand.
The original reason why my SCSS syntax highlighting wasn't working was because of this plugin.
https://github.com/thaerkh/vim-indentguides
The plugin was messing with Vim's syntax highlighting. Strangely only mess up SCSS syntax.
And the reason why,
https://github.com/cakebaker/scss-syntax.vim,
wasn't working was because I had my own .vim/syntax/scss.vim. I was originally trying to fix it on my own but was too time consuming so I let the plugin fix it for me instead. I forgot to delete that file from my repo. So when switched to Arch Linux scss.vim was messing up my syntax highlighting.

so closing.


[ENH] Tweedie distribution, incl mathematics and design

For https://github.com/sktime/skpro/issues/423 and other GLM interfaces, we would need a Tweedie distribution.
The Tweedie distribution has a number of difficulties:

it is parameterized by a power law parameter p, a real number, which leads to special cases that include well-known and obscure distribution families. This also leads to design questions on how these families and Tweedie should relate
it is mixed, so cannot be represented in the scipy interface, hence it does not exist in scipy for all p. In fact, scipy has no Tweedie distribution, see discussion here: https://github.com/scipy/scipy/issues/11291#issuecomment-1868256070
the problem of how to best compute various functions for the various obscure Tweedie ED subfamilies is bleeding edge research, even for cdf or ppf

There is some discussion about Tweedie in the issue related to the sklearn Tweedie regressor: https://github.com/sktime/skpro/issues/423#issuecomment-2231637334

Regarding point 1, architecture, I would propose a delegator design, using the _DelegatedDistribution:

we first implement the different subfamilies
then Tweedie can be a delegator, delegating to the subfamily determined by p
also, the delegator still has to be changed to delegate private methods, not public - given the new distributions interface. This is a separate matter but a condition for a clean implementation

Regarding point 3, section 3 of Withers, Nadarajah - "On the compound Poisson-gamma distribution" has numerically exact approximation formulae for cdf and ppf.

@ShreeshaM07, could you kindly reply to this so I can assign you?

Sure. So I have been working on the implementation of the Tweedie Distribution. So far completed the pdf and cdf implementation of the sub distribution which is the compound poisson gamma distribution in #428.


docker run ollama v0.1.33，from gguf to make modelfile，got an error：FROM not found

What is the issue?
docker run ollama v0.1.33，from gguf to make modelfile，got an error：FROM not found
OS
Docker
GPU
Nvidia
CPU
No response
Ollama version
0.1.33

I got same probelm. How i can create a local guuf model in ollama docker container?


Add support for RTL enabled

Fix styles naming for API < 21

![Uploading rtl_support.gif…](Fixed gif)
![Uploading image.png…](Not fixed)

Fixed gif

Unfixed screenshot

@bezmian  IMHO we should change swipe direction and buttons order ( previous - next ) in RTL scenario.


Passing null for message or message args makes logger throws

Log*(null) or Log*("{0}", null) makes the logger throw:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Extensions.Logging.Internal.FormattedLogValues..ctor(String format, Object[] values)
   at Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(ILogger logger, String message, Object[] args)
   at WebApplicationLoggingNetFramework.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) in C:\Users\cesars\Documents\Visual Studio 2015\Projects\WebApplicationLoggingNetFramework\src\WebApplicationLoggingNetFramework\Startup.cs:line 32
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.Startup.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()

Logging should be more resilient to this. Print (null) or something similar when a null is logged.

I think this is a dup of https://github.com/aspnet/Logging/issues/335
@cesarbs is this implementation specific or does it repro regardless of the provider?

@muratg Seems to repro regardless of provider. Notice there's no particular provider in the stack trace.

Current agreement is that logging abstractions should not swallow logger exceptions.
We should still harden our loggers (Console, Debug, etc.) against nulls.


Please add cancellation support to IWriter and a way to retrieve progress | Maybe WriteAsync() ?

IWriter currently do not support the cancellation and progress report.
So maybe we should add those for it. Otherwise, no progress to show and the write operation could not be canceled.

There is no async support (which is a big rewrite to go to each Stream's async) so there isn't a cancellation token
Progress on write is a good suggestion though


Improve pack and unpack speed

Describe the problem you're trying to solve
Modelkits with large files can take a long time to pack/unpack due to gzip being slow. We can speed this up but need to consider options carefully as changing the compression format will change model digests.
Describe the solution you'd like
Choose another option for storage that is quicker

No compression is fastest (obviously) but takes up the most space. This might not be a huge issue if the bulk of data in a modelkit isn't compressible anyways
Gzip on the fastest compression option appears (at first glance) to be a lot faster with no real loss in compression ratio
Zstd seems to be the best option in terms of size/speed, but the options for integrating it are limited:

github.com/klauspost/compress/zstd is a Go implementation of the algorithm, but abstracts over compression levels (in my testing levels here do not correspond to the C implementation)
github.com/DataDog/zstd is a wrapper on the C implementation, but requires CGO to build.

Describe alternatives you've considered
We could also make storage type configurable (gzip, no compression, zstd) (e.g. in the Kitfile). This would lead to a situation where the same modelkit data potentially packs into modelkits with different digests, though.
Additional context
Add any other context or screenshots about the feature request here.

We'll start with an initial 1-day spike to see what's possible / fruitful and then go from there.

I've pushed a branch that can be used for testing: https://github.com/jozu-ai/kitops/tree/compression-opts
In this branch, kit supports a few compression options, specified via the --compression flag for kit pack:

No compression, just a plain tar, specified by --compression=none
Gzip compression, our current default, can be directly specified via --compression=gzip
Zstd compression, specified by --compression=zstd
Gzip compression with the "fastest" compressor setting, specified by --compression=gzip-fastest

Each format is reflected in the mediatype for the layer as expected and automatically handled by unpack.
From testing this briefly with ghcr.io/jozu-ai/llama-2, my two main takeaways are

For many models, the weights are pretty much uncompressible; this is format dependent and largely depends on any metadata included in the file (e.g. f16 has significant room for compression, q4_0 does not)
Gzip is incredibly slow for uncompressible data; using the fastest compression level doesn't do much to change layer size and is generally 10x faster.

Full data (pack + unpack llama-2 7B quantizations with different compression options)

quantization
compression
time (pack)
time (unpack)
size

q4_0
none
4.44s
1.94s
3.5 GiB

zstd
9.88s
3.23s
3.5 GiB

gzip
81.35s
30.46s
3.3 GiB

gzip-fastest
8.75s
3.70s
3.5 GiB

q5_0
none
4.27s
3.86s
4.3 GiB

zstd
11.91s
3.84s
4.3 GiB

gzip
96.99s
32.27s
4.3 GiB

gzip-fastest
9.60s
3.85s
4.3 GiB

q8_0
none
6.98s
6.03s
6.6 GiB

zstd
19.67s
6.16s
6.6 GiB

gzip
152.09s
57.54s
6.4 GiB

gzip-fastest
14.69s
6.28s
6.6 GiB

f16
none
12.56s
11.01s
12.5 GiB

zstd
33.37s
21.31s
9.6 GiB

gzip
247.29s
99.93s
9.6 GiB

gzip-fastest
111.36s
98.14s
9.5 GiB

The above is testing the llama-2 (7B) model with weights stored in GGUF format; it's possible that other formats will allow different compression levels (though I doubt it, since the actual weights in a model generally look like random numbers)

Nice work. It doesn't look like there's any point in using gzip - the compressed sizes vs zstd are nearly identical and zstd is far faster. Should we simplify things with just a no compression and zstd option?

The main concern we had for zstd was that it's newer and the implementation isn't a standard, so a future update could change behavior/digests. Even in the current state, I've had to use the "Better Compression" option in order to replicate what you get with the official binary with default compression (which is a little strange).
This would mean that modelkit digests are reproducible (under zstd) only on the same version of kit used to do the original pack -- I'm not sure that's a huge issue though. Different versions of kit already may produce different digests.
The discussion we were having around allowing different options was similar: if we allow e.g. none and zstd, then packing the exact same data could lead to two different digests. Again, I'm not sure this is a huge issue (we mostly care about retrieving the expected modelkit) but it's worth considering.

That part is working on the branch (the mediatype identifies the compression format)

Opened a PR based on a stripped down version of the branch mentioned above:

Drop zstd from options for now; we can revisit later if need be
Make 'none' the default options for pack


fix travis-ci scripts

Coverage remained the same at 93.843% when pulling 994e11f22e1c22b57412bc3e37e7834d926454b6 on XenoAmess:patch-1 into 00c22c317b085e68e6c29b54730a4238d6bef310 on apache:master.

I wonder if we need both openjdk11 and oraclejdk11 ?

I thought it must be a reason to contain both in original travis-ci scripts, so I didn't remove any of them.


Speed: any way to speed up d-place? Takes really long time to process searches

Don't the shoot messenger team, as I know this is an annoying comment. BUT, all new users here have commented on how long one has to wait for searches to process. Thoughts? Options to fix?

From what I can tell, we are running into the problems outlined in this article - so hopefully the remedies given there will work here, too. Below is what I measured for a search with one place selected:
72  # db queries after api_views.result_set_from_query_dict has been called - already a bit excessive
0.3503131    # time spent so far ... so 72 queries went quick :)
'in data prop' # now we are entering the rest framework serializer code
'done', 11.5421111584  # oops. almost 12 secs spent
===> 9710  # to run 9710 db queries ...
[21/Jan/2016 15:18:14] "POST /api/v1/find_societies HTTP/1.1" 200 483517

A search by cultural trait with one variable (demography - B006 population of ethnic group) and all possible values selected resulted in 1018 db queries in api_views.result_set_from_query_dict, taking 2.5 secs - so I'd say this function needs some tuning, too. Serialization of the results required about 40,000 db queries ...

Crap. That's a denial of service attack waiting to happen, and it'll get worse as the database grows and we have more website visitors.

Main offenders look like SocietyResultSerializer, SocietyResultSetSerializer, VariableDescriptionDetailSerializer, VariableCategoryDetailSerializer, VariableCodedValueSerializer, LanguageTreeSerializer.

I think this issue is also a good reason why #132 should be a high priority:

most of the information about how to deal with this targets more recent django versions than 1.6,
tracking down the issue is harder with django 1.6, because the most recent debug-toolbar and request-histoy plugin won't work with it.

And yes, that is a DoS attack on the hosting server. Any search which matches most of the societies will hog one CPU of the server for more than a minute. And on my machine rendering the results froze the browser for about 15 secs. So I think there must be a limit on the number of societies returned for a search - or a paging mechanism that's implemented server side. For the CLLD apps I aim at page load times of < 1 secs, which I keep track of using New Relic's Apdex score. When I deploy apps behind nginx, I also set proxy timeouts to avoid users having to wait too long. Since the timeout settings for nginx will not stop the django app processing the request and pegging the CPU, I'd also recommend running the app with gunicorn, which has a reasonable 30 secs timeout by default, after which time worker processes will be killed (taking database processes with them when they go).

Hm. I fiddled around with prefetch_related a bit, but got stuck because it seems as if the result set passed into api_views.SocietyResultSetSerializer isn't a "real" result set:
AttributeError: 'SocietyResultSet' object has no attribute 'prefetch_related'

So the recipe from the article linked above can't be applied easily.

If a search includes many different criteria, i.e. a region, a language family, an environmental variable - performance suffers, because the result sets for each type of criterion are first queried from the database, and only later - in python code - reduced to the ones matching all criteria. I think a better approach in result_set_from_query_dict would be to create one query for society primary keys only, matching all criteria, and use this as a subquery when loading all relevant data (including related objects) for the matching societies. Does Django's ORM support subqueries?

@stefelisabeth @Bibiko Upgrading to Django 1.8 may also give us a fresh start on the performance issue. Due to the changes in djangorestframework, selecting a language family, cultural or environmental variable doesn't work (probably because the front end expects differently sturctured JSON messages). So only searching based on regions does work, and only exhibits the n + 1 problem (not the (n + 1)⁴ problem) - which feels snappy, but is still a problem. So maybe we could build search criteria back in one by one and keep the number of db queries in check. The code I use to trace the execution of db queries looks like this:
def find_societies(request):
    from time import time
    from django.db import connection

    start = time()
    nstart = len(connection.queries)
    result_set = result_set_from_query_dict(request.data)
    print '-->', len(connection.queries) - nstart, time() - start
    d = SocietyResultSetSerializer(result_set).data
    print '==>', len(connection.queries) - nstart, time() - start
    return Response(d)

with this, a search matching 665 societies prints output like
[28/Jan/2016 05:37:21] "POST /api/v1/find_societies HTTP/1.1" 200 24966
--> 15 0.442192077637
==> 680 1.00699210167

which is exactly as expected: 665 = 680 - 15.  So the first step would be to bring the 665 queries issued during serialization down to 1.

I just extended my logging code to also printout the last query issued, so as to get an idea, what's causing problems:
    d = SocietyResultSetSerializer(result_set).data
    print '==>', len(connection.queries) - nstart, time() - start
    print connection.queries[-1]
    return Response(d)

This revealed that the cause of the n queries when serializing results was the source relation:
--> 12 1.38572907448
==> 561 2.653028965
{u'time': u'0.000', u'sql': u'SELECT "dplace_app_source"."id", "dplace_app_source"."year", "dplace_app_source"."author", "dplace_app_source"."reference", "dplace_app_source"."name" FROM "dplace_app_source" WHERE "dplace_app_source"."id" = 2'}

A simple fix did the trick:
--> 23 0.436028957367
==> 23 0.560976028442
{u'time': u'0.000', u'sql': u'SELECT "dplace_app_source"."id", "dplace_app_source"."year", "dplace_app_source"."author", "dplace_app_source"."reference", "dplace_app_source"."name" FROM "dplace_app_source" WHERE "dplace_app_source"."id" IN (1, 2)'}

Note that there are a couple more queries issued in result_set_from_query_dict, due to the prefetching, including the one logged above, which replaces the 561 queries issued in the serializer before the fix.

Note that due to the way membership of a society to a region is computed (using the intersection method), we need 2 queries per selected region to determine matching societies and prefetch sources. If this membership was pre-computed on data load (as suggested in #189), this could be collapsed to just one query for societies:
SELECT * FROM society, region WHERE society.region_pk = region.pk AND region.pk IN [<selected regions>];

plus the query to prefetch source data.

Ok, I think I have identified and fixed this issue: https://github.com/shh-dlce/dplace/commit/321a3b35895859ab1f789248ee5cbf6243b2f460
The problem was that for each language in one of the families a matching society is related to, the database was hit 3 times, to fetch iso code, glottocode and top level family. So if one of the matching societies happened to be related to the - say - language family Nuclear Torricelli, this would result in almost 9000 db queries, taking about 13 secs on my machine. The linked commit (to my django1.7 branch) cuts this down to 8, taking 1.5 secs.

can we take this down? all set?


Shortcut keys need to be pressed twice to fire MessageBox Button execute result.

Describe the bug
So I have a HandyControl message box that has three buttons. I've added a keyboard shortcut to each button using the underscore character (_) in the button content string. See code below.
private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
         {
            if(AllOpenTraysAreSaved == false)
            {
                var response = MessageBox.Show(new MessageBoxInfo
                {
                    Message = "One or more projects have not been saved!\nWhat do you want to do?",
                    Caption = ProductName,
                    Button = MessageBoxButton.YesNoCancel,
                    YesContent = "_Save",
                    CancelContent = "_Cancel",
                    NoContent = "_Don't Save",
                    DefaultResult = MessageBoxResult.Yes,
                    IconBrushKey = ResourceToken.WarningBrush,
                    IconKey = ResourceToken.WarningGeometry
                });

                if(response == MessageBoxResult.Cancel)
                {
                    e.Cancel = true;
                }
                else if (response == MessageBoxResult.Yes)
                {
                    //Save logic here. Not implemented.
                }
                else
                {
                    Application.Current.Shutdown();
                }
            }
        }

Steps to reproduce the behavior:

Implement the above code in your app.
Run your application.
Execute the above code to show the message box.
When the message box has shown up, click the 'Alt' key and click(once) on the shortcut key assigned to any of the message box buttons. You'll notice the button's code is not executed and hear a beep sound.
Click on the same key again and you'll notice the button's code gets executed.

Expected behavior
The button's code must get executed when the associated shortcut key is pressed just once.
Environments

IDE: vs2019 latest version.
HandyControls Version: 3.3.0
HandyControl Version: 3.1.0

YesContent? Is that a api in HC ?

YesContent? Is that a api in HC ?

Yes.

@SwaroopSomanna your are using unofficial version YesContent isnt available in official version

@SwaroopSomanna your are using unofficial version YesContent isnt available in official version

Oh that's right. So should I move the this issue to the HandyControls repository?

I have no idea what is happening Maybe Nabian can help

@SwaroopSomanna your are using unofficial version YesContent isnt available in official version

Oh that's right. So should I move this issue to the HandyControls repository?

yes 😆


Move default route and pathRegex to options param

Hi, thanks for this super-simple route implementation for svelte! Would be nice to be able to change the regex match of path param, so I took the liberty of moving the constant (along with default route) to an optional param. Feel free to disagree.

It's really important feature but I think you should also keep "default" params.

Hi,
by default you mean fallbacks? If so, they are moved to createRouter:
const pathRegex = options['pathRegex'] ? options['pathRegex'] : '[a-zA-Z]+'
const defaultRoute = options['defaultRoute'] ? options['defaultRoute'] : 'default'

yes but for default we should return ([a-zA-Z0-9]+) instead '[a-zA-Z]+':
const getPathRegex = (sections) => {
  return sections.map((value) => {
    if (value.match(new RegExp(`:${DYNAMIC_PATH_REGEX}`)) !== null) {
      return `([a-zA-Z0-9]+)`
    }
    return value
  }).join('\\/')
}

Ah, didn't notice that. Will add a commit asap!


az notification hub error

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
az notification hub
Description of issue (in as much detail as possible)
During UX study of notication hub, one feedback is error message not helpful. below is screencut

hi @fengzhou-msft pls help to look at this with high priority, this is from UX study. thanks

hi @fengzhou-msft any update on this?


one more

@CarlRabeler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Warn against writing to automatic variables

https://github.com/PowerShell/PowerShell/issues/3061
Errors for writing to $_, $PSItem, and $Input

We can create its as read only.
We can add parser errors.
But for Set-Variable it seems we should add runtime error.

Thanks for keeping track of this. For convenience, here's the list of all automatic variables that shouldn't be writable, but currently are (copied from the linked issue):
As @lzybkr has pointed out, this lists needs careful vetting, however, to prevent false positives.
Name                          Predefined
----                          ----------
_                                  False
AllNodes                           False
Args                                True
Event                              False
EventArgs                          False
EventSubscriber                    False
ForEach                             True
Input                               True
Matches                             True
MyInvocation                        True
NestedPromptLevel                   True
Profile                             True
PSBoundParameters                   True
PsCmdlet                           False
PSCommandPath                       True
PSDebugContext                     False
PSItem                             False
PSScriptRoot                        True
PSSenderInfo                       False
Pwd                                 True
ReportErrorShowExceptionClass      False
ReportErrorShowInnerException      False
ReportErrorShowSource              False
ReportErrorShowStackTrace          False
Sender                             False
StackTrace                          True
This                               False

"Predefined" refers to whether they exist in the global scope by default.
Some of them are only defined in certain contexts, but, arguably, to prevent confusion, preventing their custom use categorically is the right approach.
The following code was used to detect them (note that it has to rely on parsing the help topic to identify all automatic variables - I'm not aware of a better way):
$autoVarNames = ((get-help about_automatic_variables) -split [environment]::newline -match '^\s+\$\w+\s*$').Trim().Trim('$') | Sort-Object -Unique

foreach ($varName in $autoVarNames) {
  $var = Get-Variable $varName -ErrorAction 'SilentlyContinue'
  $exists = $?
  if ($exists -and $var.Options -match 'readonly|constant') {
    Write-Verbose "$varName`: read-only or constant"
  } elseif ($varName -in 'NULL', 'OFS', 'LastExitCode') { # exceptions
    Write-Verbose "$varName`: writable by design"
  } else {
    Set-Variable -Name $varName -Value $null -ErrorAction SilentlyContinue
    if ($?) {
      [pscustomobject] @{ Name = $varName; Predefined = $exists }
    }
  }
}

Note that the code has a fixed list of exceptions so as not to report automatic variables that should indeed be writable, such as $OFS, and $LastExitCode,  or assignable as a quiet no-op, such as $NULL - do tell us if other exceptions are missing.

@SteveL-MSFT Looks like a duplicate of #712?

@bergmeister yes, I did a search and that one didn't come up


Fix UI handling of long text

Added scroll pane to main info page display
Added text wrapping for student and tuition info cards and pages

Codecov Report

Merging #185 (474969e) into master (b986e29) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #185      +/-   ##
============================================
+ Coverage     52.47%   52.50%   +0.03%
  Complexity      630      630
============================================
  Files           119      119
  Lines          2874     2872       -2
  Branches        353      353
============================================
  Hits           1508     1508
+ Misses         1277     1275       -2
  Partials         89       89

Impacted Files
Coverage Δ

...seedu/address/logic/commands/EditClassCommand.java
0.00% <ø> (ø)

...java/seedu/address/logic/commands/EditCommand.java
90.27% <ø> (ø)

...a/seedu/address/ui/infopage/TimetableInfoPage.java
0.00% <ø> (ø)

...java/seedu/address/model/tuition/TuitionClass.java
67.94% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix camera on/off switch in Room screen

This is pretty tricky bug :D It was caused by this commit: https://github.com/jellyfish-dev/react-native-membrane-webrtc/pull/93/files
Here is what happens when we go to the room screen and toggle the camera:

in preview screen everything is ok, you can turn the camera on/off, no problem
you go to the room screen
the preview screen is in the stack but it's detached by the navigation
the preview view is detached too, the local track is disposed all ok
the room screen is attached and the local track is initialized again
then we turn the camera off, the local track is disabled
hey, remember that preview screen? it's not attached but it's still somewhere in the memory and it just updated and replaced the preview view with a placeholder - it's nothing bad (yet!)
then we turn the camera back on
the preview screen is updated again and wants to create a preview view, the initialize function is called even though it's not attached to window and we can't have two local camera tracks so weird stuff happens

Solution? Now we initialize the track only when window is attached and it seems to be fixed now.

I wonder why this package does not stay in membrane organize?

@chanphiromsok we haved moved everything related to Jellyfish to a new organization. This includes RTC Engine and its SDKs. Mostly because they differ a lot from a typical Membrane plugin, they are some kind of prodcut built on top of Membrane and it's easier to document, communicate, etc around a separate organization

@chanphiromsok we haved moved everything related to Jellyfish to a new organization. This includes RTC Engine and its SDKs. Mostly because they differ a lot from a typical Membrane plugin, they are some kind of prodcut built on top of Membrane and it's easier to document, communicate, etc around a separate organization

so does this package support my ow membrane webrtc server ?

@chanphiromsok yes, if you're using RTC Engine in your server, this package should work. You don't need to use Jellyfish at all.
In particular, in our example Videroom app we're not using any Jellyfish stuff at all (yet).

@chanphiromsok yes, if you're using RTC Engine in your server, this package should work. You don't need to use Jellyfish at all. In particular, in our example Videroom app we're not using any Jellyfish stuff at all (yet).

thanks you so much


chronyd replacing ntpd

It looks like the book is in the process of changing from ntpd to chronyd in the examples.  One occurrence of ntpd on p.29 and two occurrences of ntpd on p.33 should be changed to chronyd
This is in 2nd edition, 2020-08095

Thanks for pointing that out—I'll be looking into that in the next revision.

I may add on p. 34 the two commands also still refrence ntpd:
ansible app -b -a "service ntpd restart" --limit ".4"
ansible app -b -a "service ntpd restart" --limit ~"..4"

I may add on p. 34 the two commands also still refrence ntpd:
ansible app -b -a "service ntpd restart" --limit ".4"
ansible app -b -a "service ntpd restart" --limit ~"..4"

I've finally gotten through and fixed all the references now. Thanks!


Growatt gives every day a negative start and whats type 750-S

Hello,
I use Grott (https://github.com/johanmeijer/grott) together with Grott integration (https://github.com/muppet3000/homeassistant-grott).
Now I get a negative start from solar energy every day. See attached pics.
And below is the error message that I see in the Home Assistant log.
Logger: homeassistant.components.sensor.recorder
Bron: components/sensor/recorder.py:304
integratie: Sensor (documentatie, problemen)
Eerst voorgekomen: 15 september 2024 om 11:55:10 (2 gebeurtenissen)
Laatst gelogd: 15 september 2024 om 11:55:10
Entity sensor.rgh2bgb0gw_power_generation_today_pvenergytoday from integration grott has state class total_increasing, but its state is not strictly increasing. Triggered by state 64042196.5 (64094626.4) with last_updated set to 2024-09-15T09:50:47.734212+00:00. Please create a bug report at https://github.com/muppet3000/homeassistant-grott/issues
Entity sensor.rgh2bgb0gw_generated_energy_total from integration mqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 27551756.5 (27604185.7) with last_updated set to 2024-09-15T09:50:47.742673+00:00. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A"integration%3A+mqtt"

Greetings, Pascal

By the way, I didn't see all the values for every intention. After some searching in the other questions, I added the serial and type to the configuration in the Add-on Grott to see what that would bring.
Now all values are visible.

No proper inverter mapping and you can not expect to get anything. I have 8 growatt inverters and if 1 character is wrong in that inverter mapping everything can go wrong.
And people would not even help you cause those are the basics you should read.
Be aware that once the system is running that you have the full understanding of grott or you will be screwed big time once growatt starts another action and then your sensors will no longer work , none of them.
Prepare yourself now how to troubleshoot cause when it happens agains then you will have to know what is going on and what to do cause that is only partly in the documentation.
I have a red note on every single inverter as a reminder what I have to check first.

Ok this works fine so far.
Now I have a second inverter the Growatt 750-S that I also want to add. I just can't find what I have to fill in at inverter mapping under type?
{"RGH2BGB0GW": "TL3", "serial": "type"}
Who can help me with this?

The reason this is happening is because the PV-All Energy - Total sensor on all other systems shows the Total value for the lifetime of the system, not just the current day.
I don't think the mapping of that sensor for your system is quite right as it's resetting each day - which is the PV-All Energy - Today (Calculated) sensor.

Okay, I have 2 inverters: MOD7000TL3-X and the Growatt 705-S.
I have now added this in inverter mapping: {"RGH2BGB0GW": "TL3", "DHE3A120BA": "default"}.
I also see 3 phases with DHE3A120BA, even though it is only a 1 phase inverter?
What should I enter instead of default to get this correct?
Thank you in advance,
Pascal

Okay, I have 2 inverters: MOD7000TL3-X and the Growatt 705-S. I have now added this in inverter mapping: {"RGH2BGB0GW": "TL3", "DHE3A120BA": "default"}.
I also see 3 phases with DHE3A120BA, even though it is only a 1 phase inverter? What should I enter instead of default to get this correct?
Thank you in advance, Pascal

This repository mainly deals with the presentation of the data exposed by Grott in Home Assistant, if you need help debugging the correct configuration for your setup I recommend posting over here: https://github.com/johanmeijer/grott

Okay thank you. I will do that when necessary.


Added support for 4.5.0 and auto install script

The template file has been modified in order to support the new version 4.5.0 of the Raylib library.
A section has been added to the Readme.md where commands have been written to allow the terminal to automatically install the theme.
-Cheers

Thanks!


Twirp error unauthenticated: invalid token

What steps did you take and what happened:
The trivy operator is running fine. But log shows following error for some containers. These images are from our private registry (Gitlab).
We do see that the temporary secrets with the imagePullSecrets are created and the credentials are correct.
image scan error: scan error: image scan failed: failed analysis: unable to get missing layers: unable to fetch missing layers: twirp error unauthenticated: invalid token
What did you expect to happen:
The image vulnerability scan should created for every image.
Environment:

Trivy-Operator version: 0.1.3
Kubernetes version: v1.22.5
OS: Ubuntu 22.04 LTS

@lahiruperamune Thanks for reporting the issue. Are you using ClientServer mode?

Yes @josedonizetti. It is ClientServer mode.

@lahiruperamune what is the server version? I think this bug is due to a mismatch of versions between client/server.

Trivy-Sever Version is: 0.29.2  (The Helm-Chart version is 0.4.16)
Trivy-Operator Version is: 0.1.3  (This is also the Helm-Chart version)
Trivy version of pods being scanned via the operator is: 0.29.1

Hi @chen-keinan Thanks for your comment. There was a problem with the configMap and now it is working.


How to make oldRoot to be maximized when clicked

Hi,
when menu is opened and oldRoot is minimized. Is there any way to get this fragment maximized on click?
Thanks a lot for your library!

how to use onDragEnd method.., i mean how did you override this method.. i have a same issue.


ID selectors are not detected

OS version Windows 7
VSCode version 1.31.0
Extension version 1.2.1
CSS id selectors are not detected and can't be used (auto-completion)

Currently there is no id auto-completion availability in this extension. But I will look into this. Thanks for reporting.

Sorry still not working: video (http://bit.ly/2UUz6dB) via hash nothing founded, via dot found both (but second is not a classname)


Update permissions and repos for improving DPP documentation

@Chris-Schnaufer I'm unable to make some of the changes requested by you and David due to lack of permissions. Could you please:

[x] Add me as an editor/contributor to the OSF (I have also requested access directly on OSF)
[x] Either add me as a contributor to the terra-ref drone pipeline repo or perform these tasks:

[x] Deprecate and archive repo
[x] Update the README to indicate these changes and point to a new repository (Ag Pipeline Organization-info repo)?

it has been archived, with a pointer to the OSF wiki
https://github.com/terraref/drone-pipeline/blob/master/README.md

@dlebauer @MagicMilly I have archived the az-digitalag repositories that are out of data after pointing them to the OSF site

Thank you Chris!


prevent 401 unauthorized by always sending the digest auth headers

needs to be tested with https://github.com/SUSE-Cloud/automation/pull/1434

PR #1434 was merged today - retriggering the gatings


Can You Merge with CrossPlatform libraries

Hey , can you try to merge this with flutter reactive_ble or your quick_blue after updating that to null safe, it would be great to have a single package for true cross platform devlopment

I dont think so. Too different APIs

@Sunbreak  okk , can you add a sample flutter web app hosted somewhere with this library in readme

There is an example. It works

@Sunbreak
yeah just tried that , its working, i was asking for a web link in readme , so that other peoples can click on it and see the functionality without setting up on their own machine , anyway its up to you

Thx. I'd like to setup a live example until I merge web_blue.dart, web_usb.dart and web_hid.dart


Update mockito-scala-scalatest to 1.14.4

Updates org.mockito:mockito-scala-scalatest from 1.14.2 to 1.14.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" } ]

labels: test-library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #345   +/-   ##
=======================================
  Coverage   46.26%   46.26%
=======================================
  Files          24       24
  Lines         281      281
=======================================
  Hits          130      130
  Misses        151      151

Continue to review full report at Codecov.

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


AttributeError: 'Series' object has no attribute 'iteritems' error

In 7.2 BackTestPlot section getting error from backtest_plot function.
It should have give a series of plots using pyfolio instead it
Error: error: AttributeError: 'Series' object has no attribute 'iteritems'

Did you find the solution for this error? as i am getting the same error.


automation build package

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Changes are fine and ready to be merged.