Images with Headers Authentication are not showing.

Description
I am showing headers Auth Images via 'GET method but some images are showing fine and some are not.
in IOS & Android not showing.
The onLoadEnd method also calling fine but still image not showing.
I am Stuck in the last 5 Days.
I think some images are late coming from the URL so maybe the Image tag doing timeOut.
React Native version:
    "react": "16.13.1",
    "react-native": "0.63.2",

System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 87.70 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.18.3 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.0. - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Intel x86 Atom_64, android-Q | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_221 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
react-native-macos: Not Found
Steps To Reproduce

Added Image tag
Passed URL Link and Authentication too but in 100 images some of the images are showing and some of the images are not showing.

Expected Results
All Images Need to show fine.
Snack, code example, screenshot, or link to a repository:
            <Image               style={{width: 200, height: 200}}               source={{uri: ImgURL, headers: {Authorization : 'OAuth<PHONE_NUMBER>', },}}               onLoadEnd={()=>{console.log("Loaded")}}             />

@admin plz help .

Since there are 100 images it is not easy for others to do a repro. Could you try someone debugging and find a similarity between the images that are not loading. Check loading the images using curl or postman to check if the url's are valid. Check the size or file to see if there is any similarity. More information would be helpful to troubleshoot this issue.

I've also been running into this issue.  It seems like https://github.com/facebook/react-native/issues/25945 might be an older issue for this same thing that was closed, but never actually resolved.  It seems like on android only, that image headers either don't send, or don't send in all conditions resulting in the image not being able to render.

Same issue here after upgrading to 0.63.3 from 0.61.4

sames here, i trying get image from remote url with auth headers and sometimes is just not working. In onError props i have nativeEvent.error with status code 401, but when i was debugging it turns out that image server do not have any request from mobile app. When i change the url to without auth, the image was downoload.

same issue

any news ?
same here

This is an ongoing issue, headers are not being sent.

Hello,
I'm currently looking into this issue. It seems to be located in com.facebook.react.views.imagehelper.MultiSourceHelper.MultiSourceResult, as I can only reproduce it when passing multiple sources. When I temporarily cut down the list to a length of 1, the image will be loaded (and thereby the cache populated). After that it will show at least the cached image, even when switching back to multiple sources, as this is loaded here
https://github.com/facebook/react-native/blob/6be46b0bb59f2d88bc78e9a72db672bd55914fa7/ReactAndroid/src/main/java/com/facebook/react/views/image/ReactImageView.java#L662-L666
The temporary fix is to only pass lists of length 1 on Android.
I will update this as soon as I have fixed the issue or at least found the root cause in case I can't go ahead and fix it.

having still the problem

any updates?

I meet this issue too.

Any updates on this?


MSC2240: Room version 6

Rendered

should we try to squeeze #2244 into here too?

should we try to squeeze #2244 into here too?

To be honest, I think it's unwise to set expectations that a given feature will or will not be in a given room version, particularly while that feature is still very much in development, since we end up in a situation where we never release the features we have because we are continually waiting for the next one that is almost-not-quite-ready-to-release.
(The same is true of a number of the other MSCs listed, fwiw: the rate of progress on their implementation is currently very low, and I think it's premature to propose them for room v6)
Let's wait until we think we have some things actually ready for release in a new room version, and decide then whether it's worth defining the room version at that point, or waiting for more features.

i guess i was coming at this from the perspective of: "here is the backlog of MSCs which require a new room version; when we next cut a room version we should decide which are stable enough to merit inclusion so we don't forget any" rather than "let's block v6 on #2244".

fair enough. I think we're using the unassigned-room-version label for that though.

This is now ready for general review with the inclusion of the 3 MSCs we aim to target. There's a bunch of MSCs which are excluded, but if they happen to get enough of an implementation in time then they can certainly be added.

This lgtm matches my expectation as well. Most people seem in agreement so:
@mscbot fcp merge

@mscbot concern The MSCs aren't in FCP

All listed MSCs have now entered FCP.
@mscbot resolve The MSCs aren't in FCP

Spec PR (for when this leaves FCP): https://github.com/matrix-org/matrix-doc/pull/2563


Add JSON as a format option for targets command in build_examples.py

The targets command outputs the targets that are available for the build and gen commands in a string format that is easy to read but hard to parse. This change adds a option for the targets command to output JSON so that the available targets can be more easily parsed. To do this, ToDict methods were added to BuildTarget and TargetPart classes. When the --format json option is used with the targets command build_examples.py calls the ToDict method of each BuildTarget object and outputs to stdout a list of Dicts in JSON, one for each BuildTarget.

 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.


Requested Adapter Set not available

Hi,
"2015-07-21 15:02:18.827 SwiftChat[2264:129293] Connection failed with reason "Optional("Server exception (reason: 'Lightstreamer error received: 2 Requested Adapter Set not available')")", reconnecting..."
I need some help here. Although I'm able to run the project on simulator or device, I can't able to connect to the default Adapter Set. I confirm http://localhost:8080 is running fine with Lightstreamer demos in browser, though (including basic chat demo).
As mentioned to setup adapter by instruction from here https://github.com/Weswit/Lightstreamer-example-Chat-adapter-java, from Install section I downloaded "deploy.zip" folder and updated/overwrite to Lightstreamer-master's adapter/demo section as well, but iOS project still not able to connect mentioned Adapter Set. I also don't see any other procedure to do.
Thanks.

Hi santanu4ver,
It could be that the Adapter set is not properly deployed or is deployed with a different name from "CHAT" that is what the Swift demo expects.
You could check in the server log file (lightstreamer.log) what are the Adapter Set loaded at startup. Otherwise, if you prefer, you could send us the log file (to<EMAIL_ADDRESS>for a check.
Thank you,
Giuseppe

Hi Thanks, for your reply. I just sent a log to the mail address.

Hi Santanu,
In your case you left only the WELCOME Adapter Set, unchanged with respect the factory configuration.
So this should work for you:
*let ADAPTER_SET = "WELCOME"
let DATA_ADAPTER = "CHAT"*

Please let me know if it works.
As a side note, please note that you can identify the Adapter Set and Data Adapter names to be used in your clients in the adapters.xml deployed in the adapters folder:

<adapters_conf id="WELCOME"> is the name of Adapter Set;
<data_provider name="CHAT"> is the name of Data Adapter.

Thank you,
Giuseppe

It works! Thank you!!
Btw, I found following differences in adapter set and data provider name values, so I was confused:
/adapters/welcome_res/adapters.xml : <adapters_conf id="WELCOME"> and <data_provider name="CHAT">
/adapters/welcome_res/Chat/adapters.xml: <adapters_conf id="CHAT"> and <data_provider name="CHAT_ROOM">
Per your saying to determine Adapter Set and Data Adapter to be use in my client, which above one adapter.xml I really want to look into?
Thanks!

Probably I want to look into the former one only.

Hi Santanu,
Please note that in the factory configuration in the /adapters/welcome_res/Chat/ folder there are no adapters.xml file.
In any case, the only files adapters.xml considered by the server for the deploy are those contained directly in the first level of each subfolder of adapters.
I suppose that you have added the file trying to setup the Chat Adapter as described here (https://github.com/Weswit/Lightstreamer-example-Chat-adapter-java). But the provided instructions require: or to leave unchanged the folder adapters and use the CHAT Data Adapter pre-installed or to copy the "Chat" directory directly under the adapters folder, then at the same level of welcome_res.
In this case, your Lightstreamer server will expose both the Data Adapters and at the client side you can choose between the two:

Or Adapter Set WELCOME and Data Adapter CHAT;
Or Adapter Set CHAT and Data Adapter CHAT-ROOM.

Sorry for the misunderstanding.
Regards,
Giuseppe

Hi Giuseppe,
Thank you for clearing the ideas. Yes, I took deploy.zip from https://github.com/Weswit/Lightstreamer-example-Chat-adapter-java (mentioned in Install) contains Chat folder having separate adapter.xml and overwrites over /adapters/welcome_res/Chat (I tried that because former setting anyway wan't working for me). Thus I also got confused because of different Adapters Set and Data.
Anyway, you made it right, now. Thank you so much.


Warning: forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?

Issue Description
I get the warning when using the Camera in Barcode Scan mode.  Everything works, but I'm wondering if this is a serious warning or not.  Here is the return value of my component.
<CameraScreen
            actions={{rightButtonText: 'Done', leftButtonText: 'Cancel'}}
            onBottomButtonPressed={(event) => onCancel()}
            // flashImages={{
            //     // optional, images for flash state
            //     on: require('path/to/image'),
            //     off: require('path/to/image'),
            //     auto: require('path/to/image'),
            // }}
            // cameraFlipImage={require('path/to/image')} // optional, image for flipping camera button
            // captureButtonImage={require('path/to/image')} // optional, image capture button
            // torchOnImage={require('path/to/image')} // optional, image for toggling on flash light
            // torchOffImage={require('path/to/image')} // optional, image for toggling off flash light
            // hideControls={false} // (default false) optional, hides camera controls
            // showCapturedImageCount={false} // (default false) optional, show count for photos taken during that capture session
            // Barcode props
            scanBarcode={true}
            onReadCode={(event) => {
                    console.log('Reading: ' + event.nativeEvent.codeStringValue);
                }
            } // optional
            showFrame={true} // (default false) optional, show frame with transparent layer (qr code or barcode will be read on this area ONLY), start animation for scanner,that stoped when find any code. Frame always at center of the screen
            laserColor="red" // (default red) optional, color of laser in scanner frame
            frameColor="white" // (default white) optional, color of border of scanner frame
        />

Environment

React Native Navigation version: 5.8.10
React Native version: 0.63.3
Platform(s) (iOS, Android, or both?): iOS
Device info (Simulator/Device? OS version? Debug/Release?): Simulator & Device in Debug

I think this happens because of these lines
https://github.com/teslamotors/react-native-camera-kit/blob/3208896c569b2ab79db1e292129de47de5d2af99/src/Camera.ios.tsx#L29-L33

I commented this line out it stopped the error

Awesome!  Any idea when the next release will be published?
On Sun, May 2, 2021 at 9:39 PM Kaspar Shahzada @.***>
wrote:

I commented this line out it stopped the error
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/teslamotors/react-native-camera-kit/issues/391#issuecomment-830982454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANXP6SPWCECTIJSOU7MTG3TLX5EBANCNFSM42KGHB3A
.

Lol - I'm not a maintainer, and I'm sure there is a good reason why it's made this way.
I might try and fork and understand what's going on this weekend and maybe they'll release it next week. Idk. New to this project too :)

Hey Guys - I made a PR to fix this #396. Feel free to pull and test/use it; even better would be to review the pull so it makes it easier for a maintainer to merge.
Cheers :)


A curated list of extendr-backed packages

Hey extendr Team,
How about we create a list in the extendr docs with known packages using extendr in the backend (smth like awesome list)? It could be a neat way for users to see how versatile extendr is in real projects and give some inspiration.
For example we can do smth as follows (headers from https://github.com/qinwf/awesome-R)

Last updated: 25 March 2024
Geospatial

arcgeocode - Public or private ArcGIS Geocoder Services from R.
arcpbf - Rust crate and R package for processing Esri FeatureCollection Protocol Buffers.
h3o - H3 Geospatial Indexing system by Uber.
rsgeo - R bindings to the geo Rust crate

Data manipulation

dialrs - Parse phone numbers.
r-polars - An access to Polars Data Frame library.
timeless - Date/time parser.
zoomerjoin - Superlatively-fast fuzzy-joins in R.

Data analysis

changeforest - Random forests for change point detection.
rshift - Paleoecology and regime shift analysis.

Miscellaneous

b64 - A lightweight and very fast base64 encoder and decoder.

Thank you! I'd note that vctrsrs is more of an experiment!
I'll add a few more packages below that I'm aware of and have made myself:

zoomerjoin fuzzy matching
changeforest random forests for changepoint detection
b64 extremely fast base 64 encoding and decoding  (in need of a new CRAN release...)
arcpbf process Esri FeatureCollection protocol buffers
arcgeocode WIP at the moment...
h3o Uber's H3 index

I have rshift - statistics package for (paleo)ecology

Another package that is using extendr for tokenizers! !https://github.com/mlverse/tok

Two of my R packages for work are now using extendr under the hood.
{arcgisutils} - https://github.com/R-ArcGIS/arcgisutils/
{arcgisplaces} - https://github.com/R-ArcGIS/arcgisplaces

Do we want to create a separate repo for this and then link to it via extendr.github.io? Or should we handle the listing here?

Great question! We can probably do a better job of figuring out these packages. I wonder if we can explore the CRAN DB and look for the presence of Config/rextendr/version:

Some packages that are showing up on GitHub search:

https://github.com/abdenlab/oxbow
https://shrektan.github.io/fcl/
https://cran.rstudio.com/web/packages/ymd/index.html
https://github.com/ixpantia/orbweaver-r


[MLS Spec change] Add value for required_capabilities extension (#508)

Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/508
Description of the changes

ExtensionType::RequiredCapabilities is 6 already.


Prevent controls from registering multiple times

Moving this prevents the controls from binding multiple times and firing in ever increasing amounts. As far as I can tell, there isn't a reason to keep it in watch where it gets fired constantly. If anyone has any other reason it shouldn't be moved, we can close the PR.
@Wade-McDaniel or @ghenry22, if you guys could weigh-in on this, that'd be super.

The fix proposed by @BuddyLReno got me up and running with my controls issues.
But @BuddyLReno : you also added some play/pause callbacks to MusicControls.m in the code I saw of yours, in the register and deregister methods. I think it was in your #95 pull. Are those not necessary? Should I remove those from my code?

@Wade-McDaniel they are but Gavin did a bang-up job reworking the code with proper events and things. #96 was merged into master so you can look at the MusicControls.m version in master and that should get you the correct setup.
Am I also reading correctly that the above fix, moving when register is called, is good?
Thanks!

@BuddyLReno I haven't gotten the new build to any of our testers yet to really verify on other devices, but for me the register move works great! We have an iOS 10 user and a couple iOS 11 testers on phones and on Tablet we may even have an iOS 9 device, so I'l have to see what they say. But I expect it'll be good for them as well.

Great! I'll merge this in too.

Hey guys,
I've tested this out on iOS 11 on a 5s and a 6s+ and the command center is behaving fine but the lockscreen player is not.
On the lockscreen if you press a button nothing happens, press it again and nothing still, but if you press a different button then both commands go through together.
Looks like you guys have this nailed 90%, just a few more tweaks and I think we will have a solid plugin, thanks!

Update: Adding this plugin https://github.com/ghenry22/cordova-plugin-background-mode and without adding any ionic JS in the code fixes the lag problem with the lockscreen.
Not 100% sure why this is happening, @ghenry22 perhaps you can shed some light on this?
Thanks again!

@AshishMehra Yeah, I experienced the same thing too... Really curious about this.  Are you using WKWebview or UIWebview?  I don't have the lag problem when i use UIWebview, only WKWebview.

Yes I'm on ios11 WKWebview. UIWebview never had any lag issue.
On 8 November 2017 at 19:50, Buddy Reno<EMAIL_ADDRESS>wrote:

@AshishMehra https://github.com/ashishmehra Yeah, I experienced the
same thing too... Really curious about this. Are you using WKWebview or
UIWebview? I don't have the lag problem when i use UIWebview, only
WKWebview.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/homerours/cordova-music-controls-plugin/pull/98#issuecomment-342938412,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQHaGzOWK-vh02Ja63kFW0896bbPrNEtks5s0gYZgaJpZM4QVSNe
.

@AshishMehra ok cool, this makes a lot of sense then. WKWebview has the javascript run in a separate thread. When the app goes into the background, that javascript is frozen and then events aren't delivered until the app resumes again in the foreground. That's what I've been experiencing.

I don't know if there's anything we can do from this plugin to fix that except require background-mode as a dependency.  However, i'd prefer to depend on @ghenry22's fork of it, since it doesn't rely on silent audio.
There's also a history of background mode getting rejected by the App Store. I've got a build in flight with @ghenry22's fork to see if Apple will pass it (since it doesn't use silent audio).

My build just got approved by Apple.  I used @ghenry22's fork.
On 8 November 2017 at 20:07, Buddy Reno<EMAIL_ADDRESS>wrote:

I don't know if there's anything we can do from this plugin to fix that
except require background-mode as a dependency. However, i'd prefer to
depend on @ghenry22 https://github.com/ghenry22's fork of it, since it
doesn't rely on silent audio.
There's also a history of background mode getting rejected by the App
Store. I've got a build in flight with @ghenry22
https://github.com/ghenry22's fork to see if Apple will pass it (since
it doesn't use silent audio).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/homerours/cordova-music-controls-plugin/pull/98#issuecomment-342943148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQHaG0-UA0TXPv0nXxxPx5D_M-66G1OEks5s0gntgaJpZM4QVSNe
.


update

What does this PR do?

Fixes # (issue)
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In in short, see following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified; Bugfixes should be including in bug-fix release milestones (m.f.X) and features should be included in (m.X.b) releases.

Did you have fun?
Make sure you had fun coding 🙃

Codecov Report

Merging #1 (6a4cbd0) into master (2b43d42) will decrease coverage by 42.83%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #1       +/-   ##
==========================================
- Coverage   42.83%   0.00%   -42.84%
==========================================
  Files         118     116        -2
  Lines        8945    8770      -175
==========================================
- Hits         3832       0     -3832
- Misses       5113    8770     +3657

Flag
Coverage Δ

cpu
?

multi-nodes
0.00% <0.00%> (?)

pytest
0.00% <0.00%> (-42.84%)
:arrow_down:

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

Impacted Files
Coverage Δ

pytorch_lightning/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

pytorch_lightning/accelerators/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

pytorch_lightning/accelerators/accelerator.py
0.00% <0.00%> (ø)

...ch_lightning/accelerators/accelerator_connector.py
0.00% <0.00%> (-49.75%)
:arrow_down:

pytorch_lightning/accelerators/cpu_accelerator.py
0.00% <0.00%> (ø)

pytorch_lightning/accelerators/gpu_accelerator.py
0.00% <0.00%> (ø)

...orch_lightning/accelerators/horovod_accelerator.py
0.00% <0.00%> (ø)

pytorch_lightning/callbacks/__init__.py
0.00% <ø> (-100.00%)
:arrow_down:

pytorch_lightning/callbacks/base.py
0.00% <ø> (-100.00%)
:arrow_down:

pytorch_lightning/callbacks/early_stopping.py
0.00% <ø> (-45.37%)
:arrow_down:

... and 206 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 82694e2...6a4cbd0. Read the comment docs.


Found Invalid Player Data Fix

I tested and found that the Mod Charm is causing Invalid Player Data with Origins. The specific fix is to change the Charm Config "AutomaticRecipeUnlock Enabled" = true to false.

Doesn't seem to work anymore still get Invalid Player Data

I deleted Outvoted, Charm and Iris- but whenever I add a Datapack it permanently corrupts that world for me. I'm still able to join new worlds, but the moment I add a data-pack- it says "invalid player data".

For me its when you make a world and leave and try to rejoin it just says invalid player data no matter what

Has this still not been fixed? This seems like a pretty malignant bug.

still not fixed

I think I have finally tracked down the cause of this bug and managed to fix it. However, due to me not being able to reproduce it with 100% reliability, it may be fixed in all cases. But I'm optimistic.
The patch will come with the next version, which I hope to release in the coming week.

Should be fixed with the newest version (1.1.0, released yesterday)


Rename flag connection to connection name in users commands

🔧 Changes
Rename flag connection to connection-name in users commands for consistency as the auth0 test commands have it named as connection-name for clarity.
📚 References

🔬 Testing

📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage: 86.95% and no project coverage change.

Comparison is base (f764ae5) 70.83% compared to head (fe37411) 70.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #738   +/-   ##
=======================================
  Coverage   70.83%   70.83%
=======================================
  Files          87       87
  Lines       11211    11211
=======================================
  Hits         7941     7941
  Misses       2750     2750
  Partials      520      520

Impacted Files
Coverage Δ

internal/cli/users.go
74.58% <86.95%> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Shentu

@sunnya97 I created #277 where I fixed merge conflicts for you (hopefully correctly) 🙂

There's no pools created for this asset yet


First class client-side support in OpenFeature

This is a high level issue where I'll try to collect various settled and ongoing discussions pertaining to improvements to OpenFeature for use in client applications.
Required functionality
Below are some features that may need to be specified for effective client usage, many of which are also valuable on the server. I've checked discussions which are mostly settled, and left unchecked topics which I believe are still in contention. I will strike out (like ~this~) features that we don't believe should be implemented.

[x] events

ready events, change events, etc, are useful for client contexts
providers may do evaluation "up front" and then signal readiness
change events might need to be scoped to prevent huge payloads when configurations change
see https://github.com/open-feature/ofep/pull/25
also valuable on the server

[x] "shutdown" functionality

providers may setup listeners, timers, that need to be closed
see https://github.com/open-feature/ofep/pull/30
also valuable on the server

[x] synchronous API (evaluation functions that do not return promises/tasks/futures or take callbacks)

given the existence of readiness events, synchronous evaluation will likely make things easier for developers (avoids loaders, spinners, etc)

[ ] bulk evaluation

bulk evaluation may be useful, especially for evaluating flags "up-front" before providers signal readiness
may pose challenges for analytics (reduced visibility)
may not be necessary - we might make this a concern of providers
see https://github.com/open-feature/ofep/issues/13

[x] function(s) to reconcile context changes (a means to tell providers to "re-evaluate" their cached flag values)

this is analgous to methods in some vendor SDKs: LaunchDarkly, Flagsmisth
such functions may be necessary if we implement synchronous evaluation
see: https://github.com/open-feature/ofep/pull/41

Open questions
Below are some open questions that will inform, and be informed by the required functionality above.

~should the client implementations use the same APIs as the server-side implementations?~

~if not, should the client implementation somehow "wrap" or be implemented on top of the existing APIs?~
~if we want synchronous APIs, this may prove challenging~
tentative conclusion: we need distinct APIs for better client support, see: https://github.com/open-feature/ofep/pull/41

in client usage, do we consider context to be "more static" (associated with a logged in user?) and modified independently of evaluation?

should context be removed from evaluation functions in this case?
tentative conclusion: yes, we believe we need a "single user" paradigm for better client support, see: see: https://github.com/open-feature/ofep/pull/41

should we encourage vendors write a single provider for both the the client and server?
we've been mostly focusing on web, but are there any considerations to take into account specifically for iOS and Android?

would we want both sync and async APIs for these platforms?

is bulk evaluation useful application authors?

tentative conclusion: we do not believe we want to expose a bulk evaluation function. We think this will negatively impact telemetry features and add confusion, and only be minimally useful, based on information from vendors who support or considered support for this feature.

These are notes on mobile use-cases: https://github.com/open-feature/ofep/issues/34

We had a few takeaways from our Jan20 client-side meeting:
Key Takeaways:

Investigate “partial context updates”

I think this might be achieved reasonably as described here

Investigate whether completely removing the “client” abstraction from the spec in single context mode is possible/optimal

We lose per client hooks (probably not that valuable on the client)
We lose per client loggers (in some SDKs, probably not that valuable on the client)
Though we only store minimal state on the client, in the future we could store additional state (such as per-client providers, or other abstractions)
The evaluation API would now on the globalton, which makes mocking/testing/DI more difficult
Client SDKs will become even more conceptually divergent from server SDKs without a client
For these reasons, I don't recommend we remove the client abstraction in static-context mode.

Investigate need for a new “reason” (or other solution) to indicate if evaluated flags are “stale” or “non-authoritative” before providers have updated their cache

I think this is something we'll want. I've added a STALE reasons to the spec PR in question.

Create a refined document/summary that we could provide to vendors and get feedback/buy-in on

I will work with @moredip on this.


Finish support for column types when generating nosqlbench configs from a schema

Feature Request
Description
https://github.com/datastax/adelphi/issues/86 implemented a base framework for generating nosqlbench configs from an input schema.  To ease the implementation we only added support for "text" types; this should be expanded to support as many CQL types as we reasonably can.
Note that this requires defining nosqlbench distributions for values for each supported type, so there may be a fair amount of twiddling there in order to get things like inetaddress working.
Describe the solution you'd like
As of this writing the impl has a fairly straightforward method for defining nosqlbench distributions/sequences in code (see https://github.com/datastax/adelphi/pull/96/files#diff-b50d6211d55bd7434d67c456c88581087f9c2c61e279c59891fa474667fc3485R8-R11).  Ideally any impl here would just piggy-back off of that work and expand it somewhat.
Note that the list of types we can expect to see here will have to be extracted from the Python Cassandra driver

Per comments on https://github.com/datastax/adelphi/issues/107: the PR for that ticket will add support for all basic CQL types.  As of this writing we have everything except "duration" and I expect that to be added within the next day or so.  With that in mind this ticket is intended to add support for the following:

Counters
Frozen types
Collection types (lists, sets and maps)
Tuples


RuleSet not working in child validators

System Details

Version="8.0.100"

Issue Description
RuleSet not working in child validators. How to get "False"?

public class Thing
{
    public SubThing SubThing = new SubThing();
}

public class SubThing
{
    public string NullProperty = null;
}

public class ThingValidator : AbstractValidator<Thing>
{
    public ThingValidator()
    {
        RuleSet(Program.RuleSetName, () =>
        {
            RuleFor(thing => thing.SubThing)
                .SetValidator(thing => new SubThingValidator(), Program.RuleSetName);
        });

        RuleFor(thing => thing.SubThing)
            .SetValidator(thing => new SubThingValidator());
    }
}

public class SubThingValidator : AbstractValidator<SubThing>
{
    public SubThingValidator()
    {
        RuleSet(Program.RuleSetName, () =>
        {
            RuleFor(subThing=> subThing.NullProperty).NotNull();
        });

        RuleFor(subThing=> subThing.NullProperty).NotNull();
    }
}

internal class Program
{
    public const string RuleSetName = "test";

    private static void Main(string[] args)
    {
        var thing = new Thing();
        var thingValidator = new ThingValidator();

        Console.WriteLine(thingValidator.Validate(thing, RuleSetName).IsValid);
        Console.ReadKey();
    }
}

I don't understand your question. Could you elaborate on exactly what isn't working?

How to set Rules to make .Validate(thing, RuleSetName) to be false?

Oh. When I saw doc i woondering why it is argument name present. Thanks a lot!


question about the project .adoc file in the root space....

in the IEEE P2874 project, i have recently discovered the p2874.adoc file
IEEE P2874 has changed to D3 (assumed this as draft 3) however the p2874.adoc file is showing the following
:draft: 2
:revdate: 2023-01-16
:copyright-year: 2022
:language: en
i wonder if this file should be updated to match D3 and a date (perhaps May 2023)?

@ReesePlews yes I believe you should update it to:
:draft: 3
:revdate: 2023-??-??
:copyright-year: 2023

With the revdate being the date you want to set.


VDA decoder, showing decoding failure

As mentioned, my device is X280 and the system version is Big sur 11.7.10. However, the HEVC hard decoding works, but only the H264 hard decoding does not work. Does anyone have a solution? I will be very grateful

Delete this Internal@0,2,0 entry. H264 can be decoded, but HEVC cannot be decoded.


Subscript and superscript support

Is there any way to do this currently or is it not available?
We are using pdfmake which makes use of this library and we will need to add support for these soon.

I would be interested in this feature too.

We need to add superscript to the text for footnote references. This is an important feature for us. Can support for this feature be added to the library soon?

Is this a feature that will be implemented soon? We also need to add an important superscript in our pdfs. Do you have an ETA?

Just a note, you can achieve this by using:
document.font(originalFont, originalSize * 0.5);
document.text(str, options);
document.font(originalFont, originalSize);

An better way would be to use the OpenType feature if available in the font used. Optically designed superscript and subscripts are better than scaled ones. Use {features: ['sups']} on the text that should be superscript and {features: ['subs']} on the text that should be subscript.
For example
doc.text('Some text', {continue: true});
doc.text('a', {features: ['sups'], continue: true});
doc.text(', some more text.', {features: []});

@moyogo  Had tried that, with the font I was using it didn't appear to work. However I do agree this is the correct way

The OpenType approach doesn't work for me with Helvetica.
What about Unicode superscripts? They don't work either.
I have a lot of text with Unicode superscripts and these characters just don't get displayed.
Manually cracking up these texts is also no option.
How to add support for Unicode superscripts?

A better way would be to use the OpenType features if available in the font used. Optically designed superscript and subscripts are better than scaled ones. Use {features: ['sups']} on the text that should be superscript and {features: ['subs']} on the text that should be subscript.
For example
doc.text('Some text', {continue: true});
doc.text('a', {features: ['sups'], continue: true});
doc.text(', some more text.', {features: []});

It works (thank you for idea), but:

Right syntax is continued: true (with d).
Only with fonts, that support "sups" OpenType feature (you can choose it from this list (https://code.thisarmy.com/fontsinfo/) or you may google if your font supports this feature).
Chosen font must be added to the fonts directory and registered in index.js file that uses PdfKit. For example:
      doc.registerFont('Ubuntu',  '__dirname/fonts/Ubuntu-Regular.ttf');
Even if your main font doesn't support "sups" OpenType feature you can additionally register font that does it and use it only for superscripted text. For example:

        doc.text('Total area: ' + totalArea + ' m', {continued: true});
        doc.font('Ubuntu').text('2', {features: ['sups']});

Are there any updates on this superscript feature?

Is there any update on this superscript/subscript feature?


fast_start stops after a certain step

After following the install instructions, the whole process works perfectly up until I need to run fast_start.bat. When doing so, it goes to the step "Building TerraAngel as release" then suddenly just says "Press enter to exit..." and does not create the TerraAngel.exe properly. Any fixes?

I fixed this issue, I just ran the .bat as administrator.


Web Components: [Lead space with search] Create component - dark theme with typeahead

User Story

As a [user role below]:
IBM.com Library developer

I need to:
create/change the Lead space with search

so that I can:
provide the ibm.com adopter developers components they can use to build ibm.com web pages

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
Create with Shadow DOM and Custom Elements standards
See the Epic for the Design and Functional specs information
Web Components Visual QA testing issue (#5908 )
Web Components Prod QA testing issue (#5915 )

Acceptance criteria

[ ] Include README for the web component and corresponding styles
[ ] Create Web Components styles in styles package
[ ] Do not create knobs in Storybook that include JSON objects
[ ] Break out Storybook stories into multiple variation stories, if applicable
[ ] Create codesandbox example under /packages/web-components/examples/codesandbox and include in README
[ ] Minimum 80% unit test coverage
[ ] Update the Carbon for ibm.com website component data file to be sure the web site Component Status and Storybook links are correct
[ ] If a design is provided, the Designer is included as a Reviewer in the Pull Request
[ ] Provide a direct link to the deploy preview for the designer in the Pull Request description
[ ] A comment is posted in the Design QA issue, tagging Designer, when development is finished
[ ] The Storybook link is added to the Design QA issue for their testing
[ ] A comment is posted in the Prod QA issue, tagging Praveen when development is finished

Closing.  Dup of issue (#6143) and (#6145)


DirectInput support?

Would it be possible to add support for DirectInput controllers? A lot of old legacy N64 to Windows adapters only work with DirectInput and don't appear to be recognized at all by Starship.
Thank you again for this wonderful Christmas present!

Download this tool, create a new mapping if necessary, click Copy Mapping String, then open your gamecontrollerdb.txt file and paste the mapping string into that file, making sure there's a comma at the end of it. We have support for DInput, it's just the way we do controllers has trouble with those because the legacy and cheap adapters all share device IDs, but not always the same hardware signaling layouts.

Thanks, I was able to get it working using a Bliss Box Gamer Pro Advance, which has a toggle jumper for Xinput. As soon as I put it in Xinput mode it worked.

Congratulations on the perfect project. I'm using the HuiJia SNES Controller (SDL3) adapter to connect the N64 Controller. It's an old adapter that works perfectly on any Android device, but the C buttons are not being recognized by the Starship, even emulating them with the WoJ XInput Emulator, as if they were a right analog.


chore(release): update Prowler Version to 3.15.3.

Description
This PR updates Prowler Version to 3.15.3.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This needs to be done manually. This procedure is going to be removed.


ephemeralpg: 2.9 -> 3.0

ephemeralpg: 2.9 -> 3.0
Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ephemeralpg/versions.
meta.description for ephemeralpg is: "Run tests on an isolated, temporary PostgreSQL database."
meta.homepage for ephemeralpg is: "http://ephemeralpg.org/"
Updates performed:

Version update

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0 with grep in /nix/store/vq371cn71wpjpyfpdm3dczxnkswcm8fx-ephemeralpg-3.0

directory tree listing: https://gist.github.com/bec8b81f7c47227ec3fd26e0432ec69d

du listing: https://gist.github.com/45685e39332edb3aff24b079c52a347f

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
ephemeralpg

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vq371cn71wpjpyfpdm3dczxnkswcm8fx-ephemeralpg-3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ephemeralpg https://github.com/r-ryantm/nixpkgs/archive/a084a2c868006f669d38238953abd6ffe26ce303.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vq371cn71wpjpyfpdm3dczxnkswcm8fx-ephemeralpg-3.0
ls -la /nix/store/vq371cn71wpjpyfpdm3dczxnkswcm8fx-ephemeralpg-3.0/bin

Result of nixpkgs-review 1

1 package built:
- pg_tmp (ephemeralpg)

cc @hrdinka for testing.

Tested locally, thanks :+1:


Control state of the component under test

Let's say I've a component like this:
class Button extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    if (this.state.loading){
      return Loading ...;
    }
    return <button onClick={() => this.setState({ loading: true })}></button>;
  }
}

How can  I test that when loading state prop is true the loading message is displayed?
It would be super useful to have something like enzyme's setState on the component. What do you think about this?

Hrm... I'm not super keen on adding setState directly, but how does your component set it's loading state in the first place? It has to have it's own way to become loading anyway, couldn't you just simulate that?

Hey @gnarf
Thanks for your reply!

I'm not super keen on adding setState directly

Could you please elaborate a bit more on your reason?

how does your component set it's loading state in the first place?

The snippet I posted is simple on purpose; loading: true is set in the onClick handler...
I excluded the code that sets it back to false because it doesn't help to make my point.

couldn't you just simulate that?

I don't know how to do it without having a setState method exposed on the sut component... but any suggestion is welcome.

Could you please elaborate a bit more on your reason?

It seems not very "unity" to have the test setting state directly, you should test things the way the component is designed to work.  I.E. in your example (sorry I missed the onClick arrow fn)
class Button extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    if (this.state.loading){
      return Loading ...;
    }
    return <button onClick={() => this.setState({ loading: true })}></button>;
  }
}

it('shows loading after clicking button', () => {
  const context = shallow(<Button />);

  context.find('button').simulate('click');
  expect(context.output()).toEqual(Loading ...);
});

Hey @gnarf,
Thanks for the feedback... I see things in a slightly different way; let me change just a bit the code of my example to try to make my point:
class Button extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  doStuff() {
    // do some stuff, and eventually...
    this.setState({ loading: true });
  }

  render() {
    if (this.state.loading){
      return Loading ...;
    }
    return <button onClick={() => this.doStuff()}></button>;
  }
}

... you should test things the way the component is designed to work.

So how would describe "how a such component does work"? This is my take on it:

The component usually renders a button.
When the button is clicked doStuff is executed. I don't care about doStuff at the moment.
When the component enters the loading state, it renders a message.

Let's write the tests.
First two props are straightforward to check:
it('1', () => {
  const context = shallow(<Button />);
  expect(context.output()).toEqual(<button></button>);
  // Not sure this is the right way to check the ouput... but you should have get the idea.
});

it('2', () => {
  const doStuffStub = sinon.stub(Button.prototype, 'doStuff');
  const context = shallow(<Button />);
  context.find('button').simulate('click');
  doStuffStub.shouild.have.been.colledOnce;
});

Now for the third I've to write:
it('3A', () => {
  const context = shallow(<Button />);
  context.find('button').simulate('click');
  expect(context.output()).toEqual(Loading ...);
});

I don't see this approach more unity than the following:
it('3B', () => {
  const context = shallow(<Button />);
  context.setState({ loading: true });
  expect(context.output()).toEqual(Loading ...);
});

IMHO the latter has also the following benefits:

It's a more general/functional approach.
I don't care how the component might enter into a given state; but that it's output is coherent with the state.
It is lighter than the first, since it does not execute doStuff that might be a very slow function.

Any thoughts?

Hrm...  I can see that argument, I rarely use much component state, so haven't run into this before...
@mzgoddard do you think we can give access to the component instances to get & set the state?

In the meantime while I play around with a way to expose an API for this, perhaps this would help you feel less dirty about it.
import {h, rerender} from 'preact';

it('3', () => {
  let ref;
  const context = shallow(<Button ref={inst => ref = inst} />);

  ref.setState({loading: true});
  // need to import this from preact if you want to test "sync" state changes like this
  rerender();

  expect(context.output()).toEqual(Loading ...);
});

I have a PR up that adds setState(), state() and component() methods to the FindWrapper / RenderContext in #43 if you'd like to take a look and tell me if this feels good enough, here are the tests I added for the features:
(these run with name/func of both shallow and deep which is why it does
for (const [key, value] of Object.entrines({ shallow, deep }) {
  it(`${name}: can retrieve component instance`, () => {
    const context = func(<ClickCount />);

    expect(context.component()).toBeInstanceOf(ClickCount);
  });

  it(`${name}: can retrieve and set component state`, () => {
    const context = func(<ClickCount />);

    expect(context.state()).toEqual({ count: 0 });
    expect(context.state('count')).toEqual(0);

    context.setState({ count: 2 });

    expect(context.text()).toEqual('2');
  });
}

No problem for the delay, I was away for a bit too...
Just for the record, as workaround I was using the same as you suggested in https://github.com/mzgoddard/preact-render-spy/issues/39#issuecomment-328903423.

v1.1.0 has this now!


Add deserialize for TransactionValidityError in std.

needed for https://github.com/paritytech/polkadot/pull/3141/files
This type is used in our PRCs (dry_run), but was not serde::deserialize and thus could not be used.

bot merge


Not able to get the image name on server through AXIOS

I'm having similar issue like https://github.com/promosis/file-upload-with-preview/issues/28. Sorry, i couldn't find my solution there. I need the file name but i'm only getting [token]. And in my case i have to make it done only by using AXIOS.
My code:
HTML:

		Image for purchase bill x

		    <input type="file" class="custom-file-container__custom-file__custom-file-input" accept="*" multiple>
		    <input type="hidden" name="MAX_FILE_SIZE" value="10485760" />

SCRIPTS:
I have created constructor to pass all the data through Axios which works well for other fields.
savePurchase() {
        this.purchase.upload = JSON.stringify(this.upload.cachedFileArray)
        console.log(this.upload.cachedFileArray)
        Axios.post('/product/purchase', this.purchase).then(resp => {
	  console.log(resp)
	}).catch(error => {
	  console.log(error.toJSON())
	})
}

BACKEND PART:
public function store(Request $request)
{
    return $request->all();
}

OUTPUTS:
console of cachedFileArray looks fine:

0: File { token: "lm50gxk1tka25mv2fdw0sj", name: "BYD-Auto-Logo.png", lastModified:<PHONE_NUMBER>000, … }

1: File { token: "96gijmylpne8m06m1p1in4", name: "Datsun-logo.png", lastModified:<PHONE_NUMBER>000, … }

2: File { token: "ghk8eojyoyxqp56k0dumc", name: "footer.png", lastModified:<PHONE_NUMBER>800, … }

Console of response from server only returns token data, is there any way to get the file name by token ID? Or i have problem with my above codes?

[{"token":"lm50gxk1tka25mv2fdw0sj"},{"token":"96gijmylpne8m06m1p1in4"},{"token":"ghk8eojyoyxqp56k0dumc"}]
Thank you!

Sorry for the late response. I think in your case the issue is similar to the other user - that is, I don't think you can JSON.stringify() the cachedFileArray and then send it as you are.
So what you need to do is use the FormData feature with the upload - I have an example with jQuery's ajax here: https://github.com/johndatserakis/file-upload-with-preview/issues/28#issuecomment-563395010.
With axios, here's an example I found that shows how to use FormData with it: https://stackoverflow.com/a/47630754. Google around a bit and you'll see a tons of examples.
That's going to let you get the files on your backend properly I believe.


"Medium" style improvments

can you be more specific?

@reddyes this theme is "style-fork" of medium.com blogs.
You can offer any improvement to the theme style.


add darksystem table, move uptimebar to a correct location

add darksystem table
move bar to the real bar location

Hi, what is the correct title of „darksystem“. It is still missing in titles.json :)

@NoMoKeTo darksystem is the correct name, ill add the titles.json if necessary

@NoMoKeTo merge please?


Minor README update

Reference Issues / PRs
None
What does this implement/fix? Explain your changes.
The exception handling section of the README referenced feignResponse instead of the FeignException object
Any other comments?
No

@Derks14 Thank you, fixed in v1.0.8.


Protocol for html5shiv unnecessary?

Bootstrap references the html5shiv with the following code:
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
Like when referencing Google Analytics isn't it better to not include a protocol since the page may be loaded by https sometimes?
Google recommends not including the protocol as well for html5shiv (Source: http://code.google.com/p/html5shim/)
What's the motivation for having it?
Curious Coder,
Christopher

Dupe #1706. And already fixed for the next version.

@JakeWharton is right. Thanks!

Good catch, didn't see that one Jake. Thanks guys!


allow for tracking GBIF query/download DOIs

GBIF issues DOIs for queries that authenticated users submitted to the GBIF platform. These DOIs (also called download or query DOIs) are intended to be used in citations to track usage of GBIF generated biodiversity datasets derived from registered biodiversity datasets.
In #62 , @faroit proposed a use case to use GBIF DOIs to track associated "download datasets" and associated media.
This issue describes a feature to allow Preston to track GBIF download/query DOI and their associated metadata and (occurrence data) via:
preston track https://doi.org/10.15468/dl.4n9w6m
or using a synonym command
preston update https://doi.org/10.15468/dl.4n9w6m
Please note however, that this feature does not cover resolving image data. Another issue will be opened for that.

I've implemented a first pass at the proposed functionality. Now, when running preston track https://doi.org/10.15468/dl.4n9w6m or preston update https://doi.org/10.15468/dl.4n9w6m . Some crucial information is scraped from the GBIF doi landing page hash://sha256/fe5f69be7ce83b32faeea9a3c275641b1c59dbbce2af57f43ce78d743ebf3e2c resolved via https://doi.org/10.15468/dl.4n9w6m :
<script>
        var gb = gb || {};
        gb.downloadKey = {
            key: '0062961-200221144449610',
            doi: '10.15468/dl.4n9w6m',
            status: 'SUCCEEDED'
        };
    </script>

where the "key" was used to generate an api call documented in:
<https://api.gbif.org/v1/occurrence/download/0062961-200221144449610> <http://purl.org/pav/hasVersion> <hash://sha256/22c144f6bd31ec392d0f1afcf227943f780c998c8ef766cd8e04940123472595> <4719e927-9418-4e12-b0a2-58a68f79f849> .

The resolved content (i.e. hash://sha256/22c144f6bd31ec392d0f1afcf227943f780c998c8ef766cd8e04940123472595)
{
  "key": "0062961-200221144449610",
  "doi": "10.15468/dl.4n9w6m",
  "license": "http://creativecommons.org/licenses/by-nc/4.0/legalcode",
  "request": {
    "predicate": {
      "type": "equals",
      "key": "TAXON_KEY",
      "value": "4167110"
    },
    "sendNotification": true,
    "format": "DWCA"
  },
  "created": "2020-05-14T08:24:00.109+0000",
  "modified": "2020-05-14T08:24:55.864+0000",
  "eraseAfter": "2020-11-14T08:24:00.044+0000",
  "status": "SUCCEEDED",
  "downloadLink": "http://api.gbif.org/v1/occurrence/download/request/0062961-200221144449610.zip",
  "size": 33353,
  "totalRecords": 39,
  "numberDatasets": 8
}

was used to extract and query the downloadLink -
<http://api.gbif.org/v1/occurrence/download/request/0062961-200221144449610.zip> <http://purl.org/pav/hasVersion> <hash://sha256/f0e8a3df97c04c1de91bb610706a2d62e42e4d1d19a0f4e22fe5e20375926d46> <04987f23-6c0b-416b-bd3a-7f08f8b4463c> .

With this you can make a relationship between a reliable reference and it's associated doi using:
<hash://sha256/22c144f6bd31ec392d0f1afcf227943f780c998c8ef766cd8e04940123472595> <http://www.w3.org/ns/prov#hadMember> <https://doi.org/10.15468/dl.4n9w6m> <9cb3c944-1998-4f04-8e5e-089448f6df20> .
<http://api.gbif.org/v1/occurrence/download/request/0062961-200221144449610.zip> <http://www.w3.org/1999/02/22-rdf-syntax-ns#seeAlso> <https://doi.org/10.15468/dl.4n9w6m> <9cb3c944-1998-4f04-8e5e-089448f6df20> .

I've attached the related (meta-) data and provenance logs in:
data.zip

This thread provided an example of how Preston can be used to track content related to GBIF query/download DOIs.
Please feel free to re-open / comment if there's any additional concerns / thoughts.


0.20 deb package overwrites /etc/default/docker-volume-netshare

Hi,
I've upgrade docker-volume-netshare from 0.19 to 0.20 by deb package. Maybe, this process overwrites my /etc/default/docker-volume-netshare ?
Please consider using conffiles feature to create package.

We're using Goxc to build the binaries.  Feel free to create a PR if you know how to address this. The config is driven from the Makefile and .goxc.json.  I will look into it soon when I get a cycle if not.


✨ feat: Implement create user service

Coverage: 98.701% (+1.2%) from 97.5% when pulling 6d4f81fcdbf80af263c57ab5b3ae04fc99264b58 on feature/user/create into 59ce528b27c5c119419d19001fff4465ac33fa40 on develop.


Assignment 03

Rubric for Assignment 3: Grep-rs
Submission
Canvas
1: The link submitted on Canvas is for the pull request containing the
assignment submission.
0: The link submitted on Canvas is not for the pull request containing the
assignment submission.
Git Branch
1: The branch includes only changes for this assignment.
0: The branch includes commits or changes outside this assignment.
Git Commit Message
1: All commit messages for the branch are reasonably clear.
0: One or more commit messages for the branch are reasonably clear.
GitHub Pull Request
1: The pull request is made to the main branch of the student's fork of the
course repository.
0: The pull request is made to a branch other than main or to a repo that is
not the student's fork of the course repository.
Points
Submission Score: 4/4
Correctness
Functionality
We're not providing unit tests this time around (you should be writing those), but we will test your binary for correctness!
Input
2: Your program correctly supports both a file and stdin
1: Your program only supports one input mode
0: Your program cannot take either file or stdin input
Needle Type
2: Your program correctly supports both literal text and a regex as a pattern type through the CLI flag
1: Your program only supports no needle type
0: Your program cannot accept a user provided needle
Flags
2: Your program correctly supports both the ignore_case and invert_match CLI flags
1: Your program supports one of the two flags
0: Your program supports neither of the flags
Output
2: Your program correctly supports plain printing of matching lines and printing the matched substring in a color specified by the CLI flag
1: Your program only supports one output mode
0: Your program is unable to provide output
Implementation
For each of:

Input stage
Needle Type
Output stage

2: Correctly used traits to abstract common functionality of each stage of the program
1: Traits are present, but there is an error with their use/they are not used to polymorphize your code
0: Did not use traits for this portion of the program
Points
Correctness Score: 14/14
Code Quality
This section is growing!
Design
File/Module organization
2: The program is appropriately split into reasonable files/modules
1: The program is somewhat organized, but there's room for improvement (splits aren't idiomatic, or some modules are still too large, etc.)
0: The program is not split at all
Tests
For each of:

Input Stage
Needle Type
Modifier flags (invert_match / ignore_case)
Output Stage

2: This functionality is appropriately tested with passing unit test cases
1: This functionality has unit tests, but they don't adequately cover code path/reasonable input cases
0: This functionality has no unit tests
Miscellaneous Code Style

Variable and function names are descriptive and follow style guidelines
The code is structured using idiomatic Rust patterns that we've learned in class
Where needed, there are comments to explain the rationale behind certain blocks of code
The code is generally readable and easy to understand

3.5/4
Code itself needs more documentation/comments
Lint/Format
RustFmt
2: RustFmt produces no warnings when run on the changed files
1: RustFmt produces a few minor warnings when run on the changed files
0: RustFmt produces many warnings when run on the changed files
Clippy
2: Clippy produces no warnings when run on the changed files
1: Clippy produces a few minor warnings when run on the changed files
0: Clippy produces many warnings when run on the changed files
Points
Code Quality Score: 17.5/18
Summary
Total Score: 35.5/36
Nice job!


Open images in tabs by type + Auto-download

Hi,
I'd like to suggest a new feature that should be pretty easy to introduce. In a previous version I was able with a friend to make it work but now it's beyond our skills.
One thing is to split the "Open images in tabs" in 3 different buttons:

Open all images in tabs
Open General images in tabs
Open Mature and Adult images in tabs
The other one is to add an option to trigger automatically the "Download Now" function when the page loading is complete.

With this two upgrade will be possibile to, for instance, open all Mature and Adult image in the New Submissions section page and automatically download them.
Thanks :)

Auto download will not be a feature due to how the browser treats duplicate files, this has been stated in other bugs. As for the split open in tabs, I think it crowds the UI a little too much. I'd be willing to take a patch with the change hidden behind an option flag, however.

I'm very sorry to hear this :(
Auto-download feature implemented by my friend used to work great but I can't use that version anymore since both the browser version and extension are not safe anymore. Are you sure there isn't a safe way to do it? The issue is because it replace files with the same name or just keep downloading with (2), (3), etc version of the same file?
The option to split open tab hidden with an option flag sound great though 👍
Thanks


Revert "Disable test that's failing in CI"

Reverts apple/swift#36396

@swift-ci test macOS

@swift-ci smoke test Linux

Build failed
Swift Test OS X Platform
Git Sha - 558d15cc59ba4b3f6ea92fe67d184214f08e1bbf


Add domain support

A domain is "essentially a data type with optional constraints". You can think of them as type aliases. By using a domain, you can easily create custom types. For example, here's how you could create a KSUID type.
CREATE DOMAIN ksuid AS VARCHAR(27) NOT NULL;

CREATE TABLE foo (
    id ksuid PRIMARY KEY,
    created_at TIMESTAMP DEFAULT NOW()
);

CREATE TABLE bar (
    id ksuid PRIMARY KEY,
    created_at TIMESTAMP DEFAULT NOW(),
    foo_id ksuid REFERENCES foo(id),
    name text NOT NULL,
    slug text NOT NULL UNIQUE
);

The advantage to using a domain is that you'd only need one entry in overrides
overrides:
  - db_type: "ksuid"
    go_type: "github.com/segmentio/ksuid.KSUID"

Replaces #418

This looks to be supported, except schema scoped domain types like
CREATE DOMAIN public.name TEXT NOT NULL;

except schema scoped domain

It seems to work too, you just have to include the scope in the db_type


elasticsearch hive integration with wildcard index name not working as expected.

I am using ES 1.2.1 and elasticsearch-hadoop 2.0.2 and trying to read data from multiple indexes via hive. the index names look like: metric_ and the type is "metric".
The external table definition I am using is:
CREATE EXTERNAL TABLE IF NOT EXISTS ext_es_metric (
user  STRING,
name  STRING,
combined STRING)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.resource' = 'metric_*/metric', 'es.mapping.names' = 'user:userId, name:name, combined:combined', 'es.nodes' = 'ela');
Running select "count (_) from ext_es_metric" returns 24381173 records
while running in ES the following query:  POST metric__/metric/_search returns only 1913196 records.
Note: When I pass a single index the results are consistent.
Any help will be appreciated.

Interesting. Can you try a smaller set and see whether you get some inconsistencies?
Can you look into the es-hadoop Hadoop counters and see what it reports? I'm wondering if this is not an issue due to how Hive handles item equality - can you try defining an id column as well?

Hi Costin, thanks for your reply.
I am new to es-hadoop can you please point out where do I see the es-hadoop counters and what do you mean by id column, I am not familiar with any built-in Id generation in hive.

On each hadoop job, es-hadoop send the information to Hadoop which can inform the user. You can read more about it here. As for Hive, take a look at their documentation which goes into detail. It all boils down to defining a column (as string) which is mapped to the document id.

I did a test with a subset of the indexes that hold 547826 documents and the stats show that ~7.6M docs are retrieved (see below).
I also tried defining an Id column by adding 'es.mapping.id' = 'id' into my TBLPROPERTIES and it did no change.
An interesting thing is that when I run:
select distinct user, name from ext_es_metric...
into a fresh table I get the exact number of documents as appear in ES so I guess it might be related to how hive does identification.
{
"name": "org.elasticsearch.hadoop.mr.Counter",
"displayName": "Elasticsearch Hadoop Counters",
"counts": [
{
"name": "BULK_RETRIES",
"displayName": "Bulk Retries",
"value": 0
},
{
"name": "BULK_RETRIES_TOTAL_TIME_MS",
"displayName": "Bulk Retries Total Time(ms)",
"value": 0
},
{
"name": "BULK_TOTAL",
"displayName": "Bulk Total",
"value": 0
},
{
"name": "BULK_TOTAL_TIME_MS",
"displayName": "Bulk Total Time(ms)",
"value": 0
},
{
"name": "BYTES_ACCEPTED",
"displayName": "Bytes Accepted",
"value": 0
},
{
"name": "BYTES_RECEIVED",
"displayName": "Bytes Received",
"value":<PHONE_NUMBER>
},
{
"name": "BYTES_RETRIED",
"displayName": "Bytes Retried",
"value": 0
},
{
"name": "BYTES_SENT",
"displayName": "Bytes Sent",
"value": 42055944
},
{
"name": "DOCS_ACCEPTED",
"displayName": "Documents Accepted",
"value": 0
},
{
"name": "DOCS_RECEIVED",
"displayName": "Documents Received",
"value": 7669564
},
{
"name": "DOCS_RETRIED",
"displayName": "Documents Retried",
"value": 0
},
{
"name": "DOCS_SENT",
"displayName": "Documents Sent",
"value": 0
},
{
"name": "NET_RETRIES",
"displayName": "Network Retries",
"value": 0
},
{
"name": "NET_TOTAL_TIME_MS",
"displayName": "Network Total Time(ms)",
"value": 434468
},
{
"name": "NODE_RETRIES",
"displayName": "Node Retries",
"value": 0
},
{
"name": "SCROLL_TOTAL",
"displayName": "Scroll Total",
"value": 70560
},
{
"name": "SCROLL_TOTAL_TIME_MS",
"displayName": "Scroll Total Time(ms)",
"value": 433874
}
]
}

Just to make sure regarding the Id column, here is how my table definition looks like:
CREATE EXTERNAL TABLE IF NOT EXISTS ext_es_metric (
id    STRING,
user  STRING,
name  STRING,
combined STRING)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'
TBLPROPERTIES('es.mapping.id' = 'id', 'es.resource' = 'metric_*/metric', 'es.mapping.names' = 'user:userId, name:name, combined:combined', 'es.nodes' = 'ela4');

Turns out the the inconsistency was a result of \t characters (and maybe some other white space characters) that magically made there way into our elasticsearch documents. I think that Hive uses \t as a delimiter and this caused the problem. After removing the problematic docs seems like things work as expected.
Are you aware of any limitations regarding special characters when accessing ES from hive?

@ybensimhon Can't say that I am. The \t sounds like a potential problem though you can work around it by configuring Hive to use a different char. The only char that can be problematic is \n which needs to be escaped in JSON (which we do) however can be an issue if you pass in raw JSON.
I recommend taking a look at the JSON spec and check out the special characters - typically again if you pass in raw JSON, otherwise it shouldn't be needed.

Cleaning up older issues. Closing this as the original issue seems to be resolved.


TSM/Auctionator

Add functionality to show tsm value based on users input such as, minbuyout, regionavg. so on and so forth. on top of value for vendoring item.
I know there is a WA that has something similar, but he isn't updating it anymore i don't believe and so it never works anymore without causing errors thanks to the new api blizz introduced.

Thanks @cheeseslicer!
I'm not 100% sure I follow this request. It sounds like you're looking for auction data on the item tooltip? Let me know if I'm off base here!
In the meantime, I'll try to take a look at those add-ons you mentioned to see if that can help me understand a little better.

Ahhh I think I understand! Here's a weakaura that does something similar but it shows the vendor price (and I guess the TSM/Auctionator data as well, but there's not a screenshot that shows that): https://wago.io/FarmHelper

Close but this one more so
https://wago.io/-IWPKK1il

@cheeseslicer I finally finished up some of the foundational work to get this going, so I am targeting to get this in to v1.9.0 - let me know if you have any other thoughts on this!


Clean up threads after WebSocket is disconnected

Fix errors like:

cru-exe: cru-exe: ConnectionClosed<socket: 32>: hGetLine: illegal operation (handle is closed)

One idea is to close the channels and stop workers from inside.
https://www.fpcomplete.com/blog/2016/11/comparative-concurrency-with-haskell

Done with race function.

http://chimera.labs.oreilly.com/books/1230000000929/index.html is a good book!


Modal window do not show up

Maybe I have misunderstood how to use modal windows and I have missing something.
The following branch do not work as expected:
    ui.window(im_str!("Explanations"))
        .size((300.0, 100.0), ImGuiCond::FirstUseEver)
        .build(|| {
            ....
                    if save.is_err() {
                        let content = save.err().unwrap().to_string();
                        eprintln!("Unable to produce snapshot {}", &content);
                        let im_content:ImString = content.into();
                        ui.open_popup(&im_content);
                    }

  ...

Are there any limitations with the popups ?
I expect it to open a popup with a string and to display this string in the console.
I have the console display, but not the modal pop.

Thanks a million. it is indeed the solution (modulo the string conversion calls)


Content Security Policy and unsafe-eval/unsafe-inline

To run Giscus while using a CSP I need to add unsafe-eval for JS and unsafe-inline for CSS. The unsafe part says it all ;) Is there any way to remove these requirements, in sense of changing the code that is evaluating JS into something safer and moving inline CSS into classes in the stylesheet?
Currently required:
script-src: https://giscus.app/ 'unsafe-eval'
style-src: https://giscus.app/ 'unsafe-inline'
frame-src: https://giscus.app/

There are ways to create a nonce for a piece of code and make that nonce trusted in the CSP, see this post by the Dropbox Dev Blog

I'm no expert in this stuff, but it seems that we're currently limited by Next.js as well (https://github.com/vercel/next.js/issues/23993), so I don't think there's much that I can do.

I can run it through a Cloudflare Worker to add nonces so the script will work for script-src, but I'm wondering about what the widget is considered to be for CSP purposes. For example (this is from localhost testing):
https://giscus.app/en/widget?origin=http://<IP_ADDRESS>:1313/posts/2022/03/using-dart-sass-hugo-sequel/&session=&theme=preferred_color_scheme&reactionsEnabled=1&emitMetadata=1&inputPosition=bottom&repo=brycewray/hugo_site&repoId=MDEwOlJlcG9zaXRvcnkzMzI4OTk4Mjc=&category=Announcements&categoryId=DIC_kwDOE9el884COCkt&description=Hugo’s+chief+developer+comes up+with+a way+to+get+Embedded+Dart Sass+on+the host,+after all.&term=posts/2022/03/using-dart-sass-hugo-sequel/

Any suggestions?

I've managed to implement a strict CSP policy that allows giscus without having to compromise on security by allowing unsafe-eval or unsafe-inline. I used hashes instead of nonces: https://observatory.mozilla.org/analyze/agha.dev
Here is what your policy should look like:
script-src 'self' '<hash>' giscus.app;
style-src 'self' '<hash>' giscus.app;
frame-src 'self' giscus.app;

To easily get each <hash>, you can implement your policy without them first and then attempt to load giscus on your website which will be blocked by your CSP. You will then find the generated hash for the blocked script (script-src) from the Developer Tools Console in Chrome and add it to your policy. This will allow your script to load, but the stylesheet (style-src) won't and you will then find its generated hash in the console which you will also be able to add to and update your policy.

@nourkagha how often is client.js updated? Not sure how to approach this with an SSG without constant page rebuilds.

I've managed to implement a strict CSP policy that allows giscus without allowing unsafe-eval or unsafe-inline and compromising security. I used hashes instead of nonces: https://observatory.mozilla.org/analyze/agha.dev
Here is what your policy should look like:
script-src 'self' '<hash>' giscus.app;
style-src 'self' '<hash>' giscus.app;
frame-src 'self' giscus.app;

To easily get each <hash>, you can implement your policy without them first and then attempt to load giscus on your website which will be blocked by your CSP. You will then find the generated hash for the blocked script (script-src) from the Developer Tools Console in Chrome and add it to your policy. This will allow your script to load, but the stylesheet (style-src) will be blocked and you will then also find its generated hash in the console to add to and update your policy.

Does this method still work @nourkagha? Have you had to update the hash's often? Or is it all fairly stable?

@Nooshu There is no reason for this to not work. Updates are rare so you might have the same hash for a year.

For anyone looking for an example of a CSP that works for me:
Content-Security-Policy: base-uri 'self';child-src 'self';connect-src 'self';default-src 'self';font-src 'self';form-action 'self' https://formspree.io/f/xyzabc;frame-ancestors 'self';frame-src 'self' https://giscus.app/;manifest-src 'self';media-src 'self';object-src 'none';script-src 'self' 'unsafe-eval' 'unsafe-inline' https://giscus.app/;style-src 'self' 'unsafe-inline'  https://giscus.app/;worker-src 'self';upgrade-insecure-requests;
I've left a Formspree link in there, but if you don't use it, then remove it.
Annoyingly, I'm now having Cross-Origin-Resource-Policy issues presently. But that's unrelated to this issue.


Other LLMs

Can I use other LLMs? I connect to other remote models via their API, then locally rebroadcast a web server that bridge any OpenAI-compatible  HTTP requests to the respective model.
I can see Lumos hitting /tags so I'm not sure
Available endpoints.
Chat Completions API: http://localhost:11434/v1/chat/completions
Embeddings API:       http://localhost:11434/v1/embeddings
Rerank API:           http://localhost:11434/v1/rerank

Can I use other LLMs?

You can use any LLM that's available on your Ollama server.


Edit function pullMatchingScores for getting data base on city

@jackiekhuu-work i merged this branch by command prompt, I also run the app seems running fine. Can you please also check again? I cannot test because i do not know what should work or what should not.

Thanks Chris,
I will check it. I only optimized the insert and update data. Therefore,
the UI should be normal.
On May 10, 2015 10:50 PM, "Chris Shayan"<EMAIL_ADDRESS>wrote:

@jackiekhuu-work https://github.com/jackiekhuu-work i merged this
branch by command prompt, I also run the app seems running fine. Can you
please also check again? I cannot test because i do not know what should
work or what should not.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisshayan/matchingscore/pull/8#issuecomment-100658637
.


Error on Chroma.fromTexts() when creating a collection

I encountered an error while using the Chroma.fromTexts() function in the Langchain library. The error occurs when attempting to create a collection using the fromTexts() method. The function throws an error with the message throw new Error(newCollection.error).
Use the following example code snippet:
// Import necessary libraries and modules
import { Chroma, OpenAIEmbeddings } from 'langchain';

// Define the texts and metadata
const texts = [
  `Tortoise: Labyrinth? Labyrinth? Could it Are we in the notorious Little
  Harmonic Labyrinth of the dreaded Majotaur?`,
  "Achilles: Yiikes! What is that?",
  `Tortoise: They say-although I person never believed it myself-that an I
  Majotaur has created a tiny labyrinth sits in a pit in the middle of
  it, waiting innocent victims to get lost in its fears complexity.
  Then, when they wander and dazed into the center, he laughs and
  laughs at them-so hard, that he laughs them to death!`,
  "Achilles: Oh, no!",
  "Tortoise: But it's only a myth. Courage, Achilles.",
];

const metadatas = [{ id: 2 }, { id: 1 }, { id: 3 }];

// Create OpenAIEmbeddings instance
const embeddings = new OpenAIEmbeddings();

// Create Chroma vector store
const vectorStore = await Chroma.fromTexts(texts, metadatas, embeddings, {
  collectionName: "godel-escher-bach",
});

Expected Behavior:
The Chroma.fromTexts() function should create a new Chroma vector store and perform a similarity search without errors.
Actual Behavior:
An error is thrown during the creation of the collection in Chroma's index.js file. The error message received is newCollection.error. The server is running - i checked docker and i get an endpoint request with a 422 error.
chroma-server-1      | 2023-05-18 09:36:46 INFO     uvicorn.access  <IP_ADDRESS>:61414 - "POST /api/v1/collections HTTP/1.1" 422
It seems to be due to getOrCreateCollection in production langchain/dist/chroma.js only passing a name but it excepts an object:
  async ensureCollection() {
        if (!this.collection) {
            if (!this.index) {
                const { ChromaClient } = await Chroma.imports();
                this.index = new ChromaClient(this.url);
            }
            this.collection = await this.index.getOrCreateCollection(this.collectionName);
        }
        return this.collection;
    }

And in /chromadb/dist/main/index.js
    async getOrCreateCollection({ name, metadata, embeddingFunction }) {
        const newCollection = await this.api
            .createCollection({
            name,
            metadata,
            'get_or_create': true
        })
            .then(handleSuccess)
            .catch(handleError);
        if (newCollection.error) {
            throw new Error(newCollection.error);
        }
        return new Collection(name, newCollection.id, this.api, newCollection.metadata, embeddingFunction);
    }

Additional Details:
Langchainjs version: 0.0.76
Chromadb version: 1.4.2
Error Stack Trace:
newCollection.error
    at getOrCreateCollection (index.js:37)
    at Chroma.addDocuments (chroma.js:82)
    at Chroma.fromTexts (chroma.js:138)

+1, there seems to be signature miss match between functions
for example,
Langchain usage - https://github.com/hwchase17/langchainjs/blob/2943cc382724381d38da4635d92f7525f6656127/langchain/src/vectorstores/chroma.ts#L57
Original definition - https://github.com/chroma-core/chroma/blob/main/clients/js/src/index.ts#L864

Can you try updating your package to > 1.4.2? #1348 should have fixed this.

Can you try updating your Chroma package to > 1.4.2 and bumping your LangChainJS version? #1348 should have fixed this.

Yes, I've just done this and it definitely fix this issue. Thanks @jacoblee93

Excellent, thank you!

I was trying this example
 const chromaInst = await Chroma.fromDocuments(docs, new OpenAIEmbeddings(), {
        collectionName: "a-test-collection",
      });;
      ```

  I get error

Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed

"langchain": "^0.0.96",
"chromadb": "^1.5.3",

I was trying this example
 const chromaInst = await Chroma.fromDocuments(docs, new OpenAIEmbeddings(), {
        collectionName: "a-test-collection",
      });;

I get error
 Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
"langchain": "^0.0.96", "chromadb": "^1.5.3",

i still get the same error! have you been able to solve it?

@satpalsr @sudhamjayanthi Did either of you discover a solution?


Popovers

Description
Adds core-popover component, a demo page for the dummy app and some tests.
Addresses #21.
These are the changes included:

✨ core-popover
✨ core-popover/content
📝 Examples of new components in dummy app
✏ Fixed a docs error
✅ Tests for new components

Tests

[x] I added tests for changes I made
[x] All tests are definitely passing

Dan I figure we can get this merged in now and then we can clean up the CSS either before or after the 1.0 release


Fix missing jquery dependency using commonJS

Dupe of #2997 #3300 gh-3421 and probably a lot of others.


Interpreter tests, reorganized file structure, interpreter with an output stream

Hello, I saw this project on your Reddit post. I am fairly new to contributing on open source projects, and to Rust, and I thought it would be a good idea to contribute to Neko.
This PR includes :

Addition of tests for the interpreter: This ensures that the interpreter is functioning correctly. More tests can be added when other features are added or when existing features are changed.
Improved output stream support: The interpreter now has the ability to print to any output stream, which provides more flexibility for the end user.
Reorganized source structure: The source code has been rearranged with a lib.rs file and an interpreter.rs module

Please let me know if there are any additional changes or modifications required. I am new to the open source world and would appreciate any feedback on my contribution.

Thank you for your feedback. Please let me know if there is another feature I could contribute to

Hello,
If you are interested in the project then there are some tasks that I am going to implement (it's not a full list), you can also put your ideas or suggestions as well.
P.S.
I am using Discord (if you have I can create a group and will paste it into README) so we can communicate there if you wish

Hello, yes I have Discord. You can create a Discord server/group for the project.

Hello,
Sorry, for the late reply this is a Discord server -> https://discord.gg/FfAYhv33
If there are some questions or suggestions don’t hesitate to write

Hello, no worries, I too will be busy outside of weekends. The invite link seems to be invalid

Hello, that's okay I am also not always available.
Resend the link https://discord.gg/GPU7KXchYQ


PROPOSAL|PROVOKING: kubevirt as expedited containernet(network emulator)

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST/Proposal

Uncomment only one, leave it on its own line:
/kind enhancement

As kubevirt comes with container-disks, that makes it an ideal candidate to swiftly and concisely spin up network emulation instance. Moreover, that's in a far more sophisticated way than containernet is meant to be capable so far, when one spun it far enough. Harsh part seems to be down to tuggin together network instances with micro-VMs, especially in larger scale emulations, where the emulated network would have to be scaled and orchestrated consistently to the intended scenarios etc. istio/mixer seems to allow for some baseline srvc network qualitiy setup, presume it's not expedited to qualify for a comprehensive network compartments emulation fabric. Could it be enhanced to do so.  Any other approaches thinkable?
Anything else we need to know?:
Stemming from, connected to: https://github.com/karmab/kcli/issues/154
Environment:

KubeVirt version (use virtctl version): latest

I do not really familiar with the subject, maybe you can explain what features are lacking under the KubeVirt and we can discuss if it possible(worth) to implement it under the KubeVirt?

Think I've specified most relevant. Couldn't you also look up also what is behind containernet and draw the parallels.
Conceptionally, not much is "lacking", all the bricks are, but for an emulator, certainly the "virtual" network quality specification|configurability, say latency,throughput, jitter needs to be enable.
Clearer? Might other media?

@cherusk this is actually quite interesting proposal. Would you mind specifying the use-case you are looking for? It helps us to determine priorities.

@petrkotas - I'd say there's no "confined" use case as such, such an emulation capability should be generic enough from my perspective. It's only the current emulators, including container-net hardly ever covered the full spectrum of emulation needs thinkable, e.g. including local node specifics, which containers can be too non-representative at times, e.g. for lacking virtual NIC etc., you call it.
Nigh, much started here, also involving containernet creators:
https://github.com/karmab/kcli/issues/154
kcli abstracts fledging micro-vm technologies, amongst others. It'd be harder to do it with other enveloped than kubevirt I believe.
Certainly more to it ... have to process also. :)

@cherusk thanks for your feedback. From my perspective we are slowly approaching such functionality. IT will take some time to enable full feature set, especially the network part.
But we will get there. If you need specific functionality to be enabled, please specify it preferably with the reason for it. This allows us to set priorities and do a roadmap.
Thank you for you input!

@petrkotas pardon, almost repeated initial statement, not brightest moment.
Let me attempt:

having network specifics cnfg as to network quality exposed as paramters. That a starting point

Might close as doc from here.


Timer

Calculates the duration of the race for players.
Related Issues: #6

This branch has been merge with the game server branch.


Add OVN_MTU from ovn-config to cniprovisioner

- What this PR does and why is it needed

- Special notes for reviewers

- How to verify it

- Description for the changelog

LGTM

maybe I am missing something, why can't this be max by default?
similar to a switch where the pair inside the switch in max MTU and on the other end we have the smaller size.
in our case on the host is the mtu that matters, the OVS part is always the max.

maybe I am missing something, why can't this be max by default? similar to a switch where the pair inside the switch in max MTU and on the other end we have the smaller size.
in our case on the host is the mtu that matters, the OVS part is always the max.

If I understand your comment correctly:
This PR is changing the MTU on the PF on the host (which based on your comment is the MTU that matters). The pf0hpf is handled somewhere else (which based on your commnet is the MTU that should be maxed).
In that case, the PR is doing the right thing.

maybe I am missing something, why can't this be max by default? similar to a switch where the pair inside the switch in max MTU and on the other end we have the smaller size.
in our case on the host is the mtu that matters, the OVS part is always the max.

If I understand your comment correctly:
This PR is changing the MTU on the PF on the host (which based on your comment is the MTU that matters). The pf0hpf is handled somewhere else (which based on your commnet is the MTU that should be maxed).
In that case, the PR is doing the right thing.

        - name: PF_MTU
          valueFrom:
            configMapKeyRef:
              name: ovn-config
              key: mtu

This is what I see in the PR and the title and that is changing ovn-k helm chart in DPU mode.
Can we add a commit message or a comment to reflect what you described above?
Can't we infer the value based on the ovn-k mtu? cni mtu value + geneve header?

Updated commit message and PR title+description. Is this better @aserdean?

That's great @tobiasgiese thank you for updating the commit message.
Just one final question from my side:
Can't we infer the value based on the ovn-k mtu? cni mtu value + geneve header?

That's great @tobiasgiese thank you for updating the commit message.
Just one final question from my side:
Can't we infer the value based on the ovn-k mtu? cni mtu value + geneve header?

In this PR, we use the mtu specified by the user for OVN Kubernetes (default 1400 according to values.yaml). The exact same MTU will be added on the PF on the host. Isn't this the expected behavior?

nope, the CNI mtu value should be PF - 60 and the PF should have the same MTU set on the high speed port.
let's take an example
lets assume we want 9000 on eth0. the PF should have 9000 and the CNI mtu value should be 8940 (9000 - 60).


ARROW-16183: [C++][FlightRPC] Support bundled UCX

Could you rebase on master so that we can use https://github.com/apache/arrow/pull/12861 changes.

UCX is not enabled in CI. I tested this PR offline with building from source and setting ucx_DIR to pre-built binaries.


How to remove the text

how can i remove the text on box after pressed the send button?

For now you can set edittext's text blank in buttons click listener. In feature, you can set xml property for that purpose. For example,
<com.cenkgun.chatbar.ChatBarView         android:id="@+id/chatbar"         android:layout_width="match_parent"         android:layout_height="wrap_content"         app:autoClearText=true />

Thanks dude

This problem is solved.


 Here are some examples:
https://github.com/fusetools/fuselibs-public/blob/master/Source/Fuse.Controls.Native/iOS/Circle.uno
https://github.com/fusetools/fuselibs-public/blob/master/Source/Fuse.Controls.Native/iOS/Rectangle.uno
These are no longer in use when drawing native Circles and Rectangles and made it hard to figure out how we actually do draw these shapes in native.

https://github.com/fusetools/fuselibs-public/pull/1058


Write a C++ program to print reverse of a number by recursion

Description
Write a C++ program to print reverse of a number by recursion
Reverse of a number is the number obtained by reversing the digits of the original number. For example, reverse of 123 is 321. The recursive solution is to print the last digit of the number and then call the function recursively to print the remaining digits.
Input  : 123
Output : 321

How to contribute

Save the solution in PrintReverseOfANumberByRecursion.cpp file
Add PrintReverseOfANumberByRecursion.cpp file in program/print-reverse-of-a-number-by-recursion folder

!assign


Only invoke stop() and pause() on html5video from hls playback if hls is initialised

In ie11 trying to set the 'currentTime' property to a value when hlsjs hasn't initialised throws "InvalidStateError".
Fixes https://github.com/clappr/clappr/issues/954
Fixes https://github.com/clappr/clappr/issues/826

Coverage decreased (-0.03%) to 69.993% when pulling<PHONE_NUMBER>1e4c57fef146bc4c47991b66e62f52 on fix-invalidstateerror-ie11-hls-playback into bc0340b6942b98b69e6b8a86d63bb8a4d2e45122 on master.

also fixes https://github.com/clappr/clappr/issues/826

Thanks once agin