Add YAML config source

Adds a config source that can be templatized via https://pkg.go.dev/text/template
Since changing the template typically requires also changing the parameters passed to the template this config source doesn't watch for the template files, i.e., changes to the template file won't trigger reload of the configuration.

After naming it yaml I'm starting to think that perhaps it will be better to name it template instead. I'm open to other suggestions.

Got CI failures that seem unrelated to the change, closing and re-opening to kick another run.
ci/circleci: deb-package — Your tests failed on CircleCI

ci/circleci: rpm-package — Your tests failed on CircleCI

close/open doesn't work ...

After naming it yaml I'm starting to think that perhaps it will be better to name it template instead. I'm open to other suggestions.

Would include be a better name?
config_sources:
  include:
receivers:
  filelog: |
    $include: ./plugins/tomcat.yaml
    log_dir: /var/log/tomcat

BTW, stanza has a ton of plugins which use the go templating and which I want to reuse for Otelcol logs: https://github.com/observIQ/stanza-plugins/tree/master/plugins
I think we can automate conversion of stanza plugins to filelog-based include/template config sources (or jus tconvert manually, there are not that many).

@tigrannajaryan

Would include be a better name?

I like template because all golang template processing is available but no strong opinion in this regard. Let me know if you prefer include.

re: stanza plugins

Interesting stuff: at first glance, it seems that they parse the YAML and extract a template from the comments. It should be doable to convert those to the templates supported here.


Documentation for environments

[x] Add description about the exact task for each environment
[ ] Add available observations : frames + auxillary in game observations (from observation handlers)
[x] Add description of the rewards
[x] Add available Actions
[ ] Replace current static screenshot with a GIF

@idvhfd : Did you have a chance to look at this ?

@spMohanty I did today and am working on it now.

@LorenzoM1997 seems to have started adding actions and descriptions to this while I was doing the same. I couldn't accept his pull request however I have integrated his action lists into the current complete descriptions on branch "documentation".

@LorenzoM1997 that's actually useful since that's the last thing that needs to be done. It is true that we don't upload directly to the repo, I'll handle this with @spMohanty. Thanks for producing the gif though, it's sweet!


to merge CHEBI:74106 and CHEBI:80548

Hello ChEBI Team,
these compounds can be merged, I guess, thank you in advance.
Anne

CHEBI:74106
erucoyl-CoA
Synonym 13Z-docosenoyl-CoA
(2-stars) CHEBI:80548 Docosenoyl-CoA
Synonym (13Z)-Docosenoyl-CoA

Now merged. Thanks


What exactly does this do?

Can you please add some more details to the readme.

Puppeteer (chromium headless) is used to retrieve cloudflare cookies then request module is used to perform requests making this solution reliable but also pretty fast.

What are some use-cases? Is this a workaround for cloudflare detection?

This is in early stage and actually more like a POC for now. I prefer to focus on code rather than documenting.
That being said, the goal of this package is to help you scrape websites protected by cloudfare's IUAM (I'm Under Attack Mode) page.
If you don't know this protection: it's a series of javascript challenges to prove that you're not a bot.
Here is a picture:

Awesome! Looking forward to the future of this project! Would love to integrate it into my projects once it's ready 😁


App is blocked under Ventura 13.4

Thanks for publishing your app here, I greatly prefer to download from GitHub over the App Store. Unfortunately Apple seems to have flagged your app or one of its components as malware beyond the usual Gatekeeper monitoring. The restriction can't be dismissed from the Privacy & Security pref pane. The alert that appears is attached.

You're seeing that popup because the code-signing certificate the app was signed with has expired, as Apple makes it quite annoying to distribute software without a paid developer account.
After some research, I've uploaded a new binary to the releases page that is completely unsigned (so the certificate can't expire because it doesn't exist), which from my understanding should be able to run on any mac with the usual Privacy and Security workaround you mentioned.
Let me know if you can (or can't) get it working so I can close this issue.

The unsigned app works with the pref pane override. Thank you!


Config & dict path incorrect and version unspecified in version 2.11.0 with Docker

I tried to install this plugin using Docker per document https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/

Download the zip file.

mkdir ik-tmp && cd ik-tmp
wget https://github.com/aparo/opensearch-analysis-ik/releases/download/2.11.0/opensearch-analysis-ik.zip

Create Dockerfile.

FROM opensearchproject/opensearch:2.11.0

COPY ./opensearch-analysis-ik.zip /tmp/
RUN /usr/share/opensearch/bin/opensearch-plugin install file:/tmp/opensearch-analysis-ik.zip

Build image and start container for testing.

docker build -t opensearch-with-ik:2.11.0 .
docker run --name opensearch-with-ik-test --rm -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearch-with-ik:2.11.0

When I start container for testing, following error appears:

/usr/share/opensearch/config/analysis-ik/IKAnalyzer.cfg.xml (No such file or directory)
/usr/share/opensearch/plugins/opensearch-analysis-ik/config/main.dic (No such file or directory)

I connect to the container check the real path that contains configuration and dictionary files is /usr/share/opensearch/config/opensearch-analysis-ik

This is how I fix it by making a symbol link redirect the real path to desired path.

FROM opensearchproject/opensearch:2.11.0

COPY ./opensearch-analysis-ik.zip /tmp/
RUN /usr/share/opensearch/bin/opensearch-plugin install file:/tmp/opensearch-analysis-ik.zip
# Make a symbol link to fix the path issue
RUN ln -s /usr/share/opensearch/config/opensearch-analysis-ik /usr/share/opensearch/plugins/opensearch-analysis-ik/config

Rebuild and start container the errors are gone. I can see the IK plugin is loaded, but version is unspecified still.

curl -X GET https://localhost:9200/_cat/plugins?v -ku "admin:admin"

name         component                            version
df8dea9d22fc opensearch-analysis-ik               unspecified

Have no idea if there're bugs or anything I missed. Please kindly guide, thanks!

I hava the same problem.
opensearch1 opensearch-analysis-ik               unspecified


Fix for DF-1639:General Contact Info

Fix expandable cue position for multi-line text on Small Business page.
Changes

Updates ' _lib/wordpress_contact_processor.py' file to fix errors with email address and phone number.
Updates 'contact-us/submit-a-complaint.html' file to populate correct content.

Review

@jimmynotjim
@anselmbradford
@willbarton

Notes
You will need to reindex Sheer by running :
Sheer index --reindex
Unsure on what field should be populating 'Address desc'
Document is available at http://localhost:9200/content/contact/submit-a-complaint
Preview

I can't actually get sheer index --reindex to work, sheer index is fine?

Yes, that should work.

LGTM :+1:
As we chatted, you might check with @dpford about whether it matters whether phone_num or phone_0_num is used.

@dpford, Just going to merge this for now. Will create an issue if necessary


[PAN-3023] Add command line option for target gas limit

PR description
Reviving this after moving to besu.
This adds the --target-gas-limit option.
Outstanding things from pantheon PR:
I don't think we have the right package for org.hyperledger.besu.controller.GasLimitCalculator. Guidance needed on proper location however, maybe @shemnon, you have an idea?
If we are to use it in a tech.pegasys.pantheon.ethereum.blockcreation.EthHashBlockCreatorTest test case, then, given lack of dependencies, it would dictate that we move it to that module. But is that the right place?
Also outstanding, comments on the --target-gas-limit documentation in org.hyperledger.besu.cli.BesuCommand, @MadelineMurray?
Fixed Issue(s)
https://pegasys1.atlassian.net/browse/PAN-3023

hi @cfelde given you addressed all @shemnon comments, do you think this PR is ready for a final review and you could remove the WIP?

Morning Nicolas,
I think we should verify that we're all happy with the package of GasLimitCalculator? Maybe we can assume so given to further comments on that..
Also, unsure if there was in fact any further comments from @MadelineMurray on the param doc string?

@cfelde - LGTM has issues with the overflow checks.  Could you replace them with Math.addExact and Math.substractExact and do the overflow cases in the catch?  The intent is more obvious in that case.
Also, after that do you have more to add or should we merge it?

@cfelde - LGTM has issues with the overflow checks. Could you replace them with Math.addExact and Math.substractExact and do the overflow cases in the catch? The intent is more obvious in that case.

Agreed, I'll get on that now.

Also, after that do you have more to add or should we merge it?

Shouldn't be anything else outstanding I think, so have a look again when I push the math update and feel free to merge if you're happy. Thanks for taking time to review btw :)


support raw images

Hi! thanks for this awesome program. I'd like to see support for raw images.
I did not see anywhere in the docs where support for this format is mentioned.
thanks again.

Thanks for your warm words, much appreciated!
I am currently rather busy with work but if I have spare time I am working on #61. I will test if I can get this working within the QT framework and support it in the new version. Would you mind adding a raw image in a comment here for testing purposes, as I don't have any myself?

I second this request. As a photographer I’d like to have a simple image viewer to look at images without much hassle.
Sample RAW files from the Sony A6300 are available at this site on the bottom half: http://www.photographyblog.com/reviews/sony_a6300_review/sample_images/
If displaying RAW files directly is too much work, maybe it would be possible to display the embedded JPG preview? This also should be faster.

Closing as new features will only be implemented in the Qt port. The follow-up issue can be found here.


Create single object with Klogging state

There is a single Kotlin object with state of Klogging in a running application. It contains properties with holders for values that can be safely mutated.
Properties to include:

MInimum log level for Klogging
Current configuration in a KloggingConfiguration (as class) isntance
Coroutine dispatcher(s) used by Klogging

Nice.  This would set Klogging up for eventually supporting user-supplied/maintained context that is non-global.  So, for example, a service gateway could send one kind of logging back towards the inside of the bounded domain, and a different kind of logging outwards to an aggregator service, ala hexagonal architecture.

First version of this is working.


Pressing enter on new row for edit data does not commit the row until you click on it.

Entering a valid value into the new row and pressing enter does not create a new row below or actually submit the cell until you click on the cell, at which point it finally does.

Closing as duplicate of #https://github.com/microsoft/azuredatastudio/issues/19126


Trim final = from quoted-printable encoded text/plain body

If the message body's text/plain part ends with:
Bye, Thomas

=

your $message->getTextContent() is preserving the final =, while php-mime-mail-parser's $parser->getMessageBody('text') is removing it. Thunderbird is removing it too.
Adding such a final = seems to be quite common, I'm seeing it in around 2-5% of the emails I'm analyzing.
I haven't looked at some specs, but since = is the escape character, it sounds reasonable to remove it :-)

I wonder if I'm erroneously trimming a final "\r\n" before passing it to quoted_printable_decode or something.  It would be something in here most likely: https://github.com/zbateson/stream-decorators/blob/master/src/QuotedPrintableStream.php
Could you tell me if this is part of a multipart message, or if that's the entire message body that you pasted and confirm that there is an "\r\n" following the "=" in an email you found this happening in?  A more complete example might help, particularly with multipart messages, because the final \r\n I think belongs to the multipart boundary.

All are multipart (except for a handful, which look like spam at first glance)
From those passing the regex =\s*$, 98% are also passing =\n+$. So yes, there is a final line break (the \r maybe just got lost somehow).
The few I've actually opened do have this = also after their HTML part. (I didn't mention this right away, cause since it's after the </html> it doesn't matter much.) Do you want me to check for how many this is true?
Example: It's hard to find a "typical" example. But you can ask more concrete questions!

Thanks again @ThomasLandauer -- I think I found the issue.
I put up a fix in dev-master on zbateson/stream-decorators, would you be able to give that a shot and let me know if that fixes it?

It's a change on this line if that makes it easier to test directly (instead of fuddling with composer): https://github.com/zbateson/stream-decorators/blob/e322ec4f2068430a32434c21a6f8974ba2d79e56/src/QuotedPrintableStream.php#L93

In short: Yes, that fixes it! :-)
In long: Before, 3.8% of all mails were passing the regex =\n+$. With your changed line, this dropped to 0.007%. Also, I have some mails ending with a full line of = (not included in the numbers above), and those are still there - so you're not removing too much.
As said above, I'm only looking at $message->getTextContent();, so I can't say what's happening at the HTML part.

Hmm, it should remove instances of "=" at the end of any line including the last one.

Also, I have some mails ending with a full line of =

So do you mean there's still an issue?  As-in, you have something like:
Email body
=
More email

Using 'quoted-printable' encoding, and the '=' is coming out as-is?

Sorry for the confusion!
What I have is an email ending with:
Bye,
Thomas
======================================

And those =s are preserved. So everything's fine! :-)

Excellent, fix is on master now and will be included in next release :smile_cat:

I'm closing this, since it looks resolved to me :-)


Automated cherry pick of #4474: fix(region): Add support for suspend when syncing status of guest

Cherry pick of #4474 on release/2.13.
#4474: fix(region): Add support for suspend when syncing status of guest

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@5ac9d6e). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #4475   +/-   ##
==============================================
  Coverage                ?   6.85%
==============================================
  Files                   ?     521
  Lines                   ?   88626
  Branches                ?       0
==============================================
  Hits                    ?    6076
  Misses                  ?   82044
  Partials                ?     506

Flag
Coverage Δ

#aFlag
6.85% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)

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 5ac9d6e...e151a2f. Read the comment docs.


[BETA] ci: update reference docs

This PR is auto-generated by a nightly GitHub action to update the reference docs from source code in withastro/astro.

Should resolve itself when next is caught up with main. This is in the main astro source, and was probably added separately to the beta docs too rather than waiting to be pulled in. If it doesn't resolve itself, I'll fix manually!


[BUG] theme switcher toggle is not working

Description
their is bugs in theme switcher toggle button is not working  & enhance the ui of the site     I want to fix this issue ! pls assign me under gssoc Hacktoberfest
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
Safari
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@YadavAkhileshh BRO GIVE LEVEL 3 LABEL BECAUSE THE WHOLE UI IS F**CKED UP FIX ALL OF THE FILE SO GIVE


Installation failed

When trying to install SMSNotify I get this error during installation:
“Cannot redeclare Aws\constantly() (previously declared in /Users/xxx/xxx/xxx/extensions/igniterlabs/smsnotify/vendor/aws/aws-sdk-php/src/functions.php:20)” on line 20 of /Users/xxx/xxx/xxx/extensions/igniterlabs/smsnotify/vendor/aws/aws-sdk-php/src/functions.php#0 {main}"
I think it has something to do with composer

Fixed


HDF5

I suppose you considered using HDF5, but decided not to. I would be interested in knowing the reasons why you chose to design a new format over using HDF5. What were the limitations of HDF5 for your use-cases? It might also be a good idea to put those reasons on the documentation, as I'm sure other people would be interested as well.

See the paper: http://dx.doi.org/10.1016/j.ascom.2015.06.004
(This paper is soon to be referenced from the standard.  See: spacetelescope/asdf-standard#93).

Given that this isn't the place (but there isn't a place to begin with) I wonder if it wouldn't make sense to set up a mailing list for ASDF discussion.  It'll probably be fairly low traffic for now but at least that will be a place for it to go.


Allow changing the len type of Vec

Queue supports switching out the type to use for head and tail pointers, which can save memory (instead of 8 Bytes for 2 usizes, I can choose to pay only 2 Bytes for 2 u8s). It would be nice to have the same option for Vec, which currently always uses usize.

I looked into implementing this using a generic length type and I'm running into issues initializing the generic length to 0. The constructor for Vec is a const fn so I can't initialize the length with any trait methods. I might look into using macros like Queue does to implement most methods.

With the const generics MVP and found soundness issues, I have decided to keep heapless simple and easier to show correctness.
Hence I will not be pursuing these micro optimizations for the time being.


“Confirming…” text on tx feed doesn't update when a user loses and regains internet connection

Frequency: 100%
Repro App version:  Test Flight build Valora app build  v1.0.0 (17) , Android Valora Mainnet build v1.0.0 (16)
Repro on device: iPhone 7+ (13.3.1), Google Pixel Xl (8.1)
Test Account: Backup Key:<PHONE_NUMBER>.
Repro Steps:

Launch the Application and sign in with test account
Tap on the Send button.
Select any valora contact user.
Enter amount and tap on Review button
Tap on the Send button.
Make sure the user on the Enter PIN screen.
Turn OFF the internet connection.
Enter the correct PIN and tap on the Submit button.
Turn on the internet connection.
10 Observe.

Current Behavior: “Confirming…” text is shown continuously for transaction
Expected Behavior: Transaction should be complete after resuming internet connection.
Investigation:

Issue also repro for CELO buy and Sell transaction.
Transaction with confirming will remove after cold launch the app.
Impact: Users may get confused / frustrated by seeing transaction activity with Confirming text.
Attachment: Confirming_InternetIssue.mp4 (Bug observe at 30 sec)

Hi @tarikbellamine I have verified this issue using latest Android Internal Build V1.115.2 & & Test Flight Build V1.152(65) & observed that issue is still reproduced.
"Transaction Failed" message is displayed when user reconnect to internet after entering PIN.
Verified on Devices: Vivo v11 pro (10), iPhone 6+(12.4.5)

Hey @MuckT we have verified the above issue on latest android internal release build and iOS Testflight release build V:1.29.2 and observe that after resuming the internet , the transaction activity is not seen on homepage
Attachment :  transaction.mp4
Note : However if user clicks on send , then turns off internet and resumes, the transaction activity is seen on homepage
CC: @silasbw
Thanks..!


[Help] How to get filtering changes when the user is typing in filtering field.

I want to get updates when the user types something in the filtering field and makes a network call to the server to get filtered data. I used stateManager.addListener(() { functionForAPICall()}) but it triggers every time. only I want to trigger the function when the user is typing. I see there is a function that triggers when the sort is happening (ex:  onSorted: (event) {print(event)}), but didn't find anything like that for filtering so can you help me? thank you.

https://pluto.weblaze.dev/rows-from-server-side
If you are importing data from the server, please refer to the link above.

https://pluto.weblaze.dev/rows-from-server-side
If you are importing data from the server, please refer to the link above.

@bosskmk  If I use a custom footer How can I use the fetch() function inside it?


Add mock inputs and xmaps to xmap

[x] mock named recode
[x] mock collapse pairs
[ ] specify number of columns and rows
[ ] mock recode xmap
[ ] mock collapse xmap
[ ] mock split xmap
[ ] mock mixed xmap
[ ] mock links? -- pop weights
[ ] #103

References for documenting datasets:

https://r-pkgs.org/data.html#sec-data-data
https://github.com/tidyverse/dplyr/blob/main/R/data-bands.R
https://github.com/tidyverse/ggplot2/blob/main/R/data.R
https://stackoverflow.com/questions/2310409/how-can-i-document-data-sets-with-roxygen
https://roxygen2.r-lib.org/articles/rd-other.html?q=keywords#datasets

From #104:

Two types of data transformations using xmaps:

nomenclature transformation -- what you really need the tidy nomenclature format for!
aggregation/disaggregation (a bit meh, until you resolve hierarchical discrepancies?)

Examples:

Use state-country example for aggregation/disaggregation (i.e. hierarchical nomenclature)
product groups? trade data? // cross-country ex-post harmonisation?

Candidate examples:

https://jforbes14.github.io/eechidna/articles/imputing-census-data.html
NAICS/trade data


Recreate circles with GeoJSON

How do you recreate circles programmatically from GeoJSON?
var mockupGeoJSON = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[54.311271,24.464211],[54.309384,24.46343],[54.311271,24.457336],[54.317961,24.458351],[54.323622,24.463039],[54.32225,24.469211],[54.318476,24.464367],[54.313158,24.463195],[54.311271,24.464211]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[54.411076,24.488053]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[54.377692,24.454084],[54.36284,24.472558],[54.35522,24.467209],[54.345957,24.47799],[54.328117,24.465022],[54.333667,24.456268],[54.351618,24.454396],[54.358822,24.458772],[54.369112,24.447839],[54.377692,24.454084]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[54.398896,24.533567]}}]};
L.geoJSON(mockupGeoJSON).addTo(map);

In GeoJSON circles are represented as "type":"Point" and don't have radius. Is it possible to recreate a GeoJSON that has circles and polygons or I have to go with another approach?

GeoJSON does not support Circles. And leaflet doesn't offer the necessary workarounds.
The workaround I use on Geoman to support circles is to store the radius in the GeoJSON properties and when parsing them to layers again, check for that property and turn it into circles instead of a marker then.
Details are in this leaflet issue
This has nothing to do with leaflet.pm though so I'm closing the issue ;-)

Thanks for the fast response :)


Question: want to persist the same session in both client and server.

I'm working on an isomorphic rendering using react and redux,
and using superagent to call REST APIs.
It works fine with client side,
but it works but the response is not that I wanted
because it loses some context when it's called in server side (req.user).
How can I persist the same session in both client and server?

Interesting question. If the API supports basic auth, you could use it on both client and server.
If the API uses cookies, then unfortunately there's a different behavior in node and the browser — browser will manage cookies for you, and forbids .set('Cookie','…') call. Nodejs doesn't manage cookies and requires you to handle them, via .set('Cookie',…') :/

@pornel
Thank you for your comment.
I'm currently using the cookie,
but I should dig for the basic auth.

I managed to inject cookies by tweaking redux action creators.
const actionCreator = (a, b, c) => (injectCookie) => (dispatch) => {
   injectCookie(AjaxClient).fetchData().then(..)
}

and wrote some injectCookies function which does similar things with bindActionCreators
now the code looks much more uglier than before.
I have to find a way to make it prettier,
or maybe I'll be using it as it is...

To make it prettier, maybe write a superagent plugin? request.use(cookieJar)

Related: #1014


Model finished training, but adapter_model.bin is empty?

I started the training using:
python qlora.py \
    --model_name_or_path /home/nap/llm_models/llamaOG-65B-hf/ \
    --output_dir ./output \
    --dataset alpaca \
    --do_train True \
    --do_eval True \
    --do_mmlu_eval False \
    --source_max_len 384 \
    --target_max_len 128 \
    --per_device_train_batch_size 1 \
    --gradient_accumulation_steps 4 \
    --logging_steps 10 \
    --max_steps 10000 \
    --save_strategy steps \
    --data_seed 42 \
    --save_steps 1000 \
    --save_total_limit 40 \
    --evaluation_strategy steps \
    --eval_dataset_size 1024 \
    --max_eval_samples 1000 \
    --eval_steps 1000 \
    --optim paged_adamw_32bit \
    --learning_rate 0.0001

It took 2.5 days but completed successfully, I checked the /output folder to find all of the checkpoint folders, but I don't think I have the final output (an adapter_model.bin around ~3gb)

Am I just being dumb? Thanks!

No, it's a bug
See https://github.com/artidoro/qlora/pull/44

@KKcorps I see, thank you...
Since the adaptor files weren't written properly during checkpoints, I'm guessing that would require retraining after the fix? =x

if you have pytorch.bin files in the checkpoint dir then it won't but otherwise it might

I had some luck with my port of alpaca-lora to QLoRa. You can try it from https://github.com/vihangd/alpaca-qlora


[develop] live-py-mode window receives unwanted focus/input

Observed behavior
While running the live-py-mode plugin and editing python source code the live-py window gets focused and receives input directed to the active source code window.
Expected behavior
No focus/input to the live-py window while working in the source code window. It works fine in Spacemacs (python layer), I searched through the Spacemacs code and it seems that they don't configure anything specially for live-py-mode.
Steps to reproduce

Checkout current develop branch
Copy init.example.el to ~/.doom.d/init.el
Include the live-py-package with (package! live-py-mode) in ~/.doom.d/packages.el and (def-package! live-py-mode :commands live-py-mode) in ~/.doom.d/config.el
make install
Open any python file in python-mode and invoke live-py-mode (a vertical split opens)
Edit the code / navigate with vim/arrow keys

Thanks!
System information

Click to expand
eric@arch> DEBUG=1 make doctor                                                                                ~/.emacs.d
Doom Doctor
Emacs v25.3.1
Doom v2.0.9 (4ef70174)
shell: /bin/zsh
Compiled with:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL
  GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
  MODULES
uname -a:
  Linux arch 4.16.6-1-ARCH #1 SMP PREEMPT Mon Apr 30 12:30:03 UTC 2018 x86_64
  GNU/Linux

----

test-emacs
test-private-config
test-windows
test-fonts
test-gnutls
test-tls
Validated https://elpa.gnu.org
Validated https://melpa.org
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar

----
Attempt to load DOOM: failed (Cannot open load file No such file or
  directory evil-collection-package-menu)

----
There were 1 issues!

This is the work of the popup manager being a tad too aggressive. Since live-py-mode manages its own window, best to tell Doom not to:
(def-package! live-py-mode
  :commands live-py-mode
  :config (set! :popup "^\\*live-py-trace" :ignore))

That should do it.

That fixes it, thanks so much.
I didn't even think about it being a popup window because of the vertical split, but now that I know I see that it's darker (because of solaire-mode).


Access to mesh points

I'm trying to use MFEM to solve a set of coupled reaction-diffusion equations with non-trivial geometry.  In order to understand the results and compare to data, I need two things:

access to the mesh points in standard (x, y, z) format (together with the data at each point).
the ability to sample the data on a plane (say, z=0) passing through the 3D space.

Advice on either of these would be helpful.

You can take a look at #304.
   Vector point(2);
   point(0) = 0.5;
   point(1) = 0.5;
   DenseMatrix points(dim, 1);
   points.SetCol(0, point);

   Array<int> elem_ids;
   Array<IntegrationPoint> ips;

   mesh->FindPoints(points, elem_ids, ips);
   cout << x.GetValue(elem_ids[0], ips[0]) << endl;

This snippet finds a point in 2d space (but is easily extended to 3d by adding point(3) and setting the size appropriately). It returns an array of element ids and integration points which you can pass to a GridFunction::GetValue method.
For the plane-sample you have to come up with a sampling set of points in the DenseMatrix points. It is definitely possible but I would do it in a post-processing step using you favorite visualization tool.
Let me know if that works for you.

Thanks for that input. If II request mesh refinement rather than work with a set that's specified in advance, it looks like I can get an ordered list of (x,y,z) points via FindPoints().  My related question is then how to get a list of solution output data in the same order (so I can associate with the grid points).
On the visualization tool: so far I haven't gotten GLVis or VisIt to build and/or work properly, but it looks like GLVis does not provide quantitative plots as best I can tell from the documentation.

If you want to compare pictures, then I will recommend getting GLVis to work, as it can produce accurate plots in any cutting plane.
If you want to compare the actual values, in say a uniform or random set of points in your plane, then FindPoints is a good choice -- @kmittal2 can point you to the branch and help you use it.

I need the values (there's quantitative data to which to compare).  In the meantime I hope I can create a filter through FunctionCoefficient to isolate the boundary surface in question.

Hi @bradfc , we have a utility called FindPoints that will allow you to interpolate any GridFunction at arbitrary points (defined in physical space) in the domain. Check out the gslib-dev branch where we have an example and a Readme that explains how to get started with FindPoints. Once you set it up, send me an email and I can help you use it.

@bradfc -- I'm closing this issue for now, but please feel free to reopen if you have further questions.


Timesheet - 18/09/2021 - Edward In aka SwedishFisherman

Task 1
Created Social Media graphic for Wednesday for the TNB Chess Tournament
Proof of Work

Time Spent
2 hours

Task 2
Edits to Social Media graphics for the TNB Chess Tournament
Proof of Work

Time Spent
.

5 hours

Total Time Spent
2.5 hours
Account Number
a3e779bdb64f28307177244ac2b42e209519c163cdd18c92c303a93642dcc00f

@SwedishFisherman, the numbers for the total don't add up.

LOL The decimal point was cut off by the image. It should be correct now


Added summary element

This adds the summary element which is the focusable control for the native details element.

👍


Create Your Own Branch

Everyone will create their own development branch, this will be where you push your specific pages you'll create to. Let's format the name as "branch[Your Initials]"
Ex: For me it would be branchEC

I created my own branch already - branchHG


Feat/refactor telegram adapter

This PR originally rebased from feat/46-supabase-adapter branch

This PR originally rebased from feat/46-supabase-adapter branch

I think that #52 will fix the issue I mentioned in your other PR where bin/index.js will keep having merge conflicts.


Community patches roll-up

Boils down community improvements into a tiny mega PR.

You will need to bump the minimum Rust version in .travis.yml to match what num_traits requires, which based on the errors appears to be 1.8.0. I think at this point its ok to do so given how old 1.0.0 and 1.8.0 are.

Could you edit that? I'm far away from any laptop.
On Wed, Aug 30, 2017 at 7:21 AM Doug Goldstein<EMAIL_ADDRESS>wrote:

You will need to bump the minimum Rust version in .travis.yml to match
what num_traits requires, which based on the errors appears to be 1.8.0.
I think at this point its ok to do so given how old 1.0.0 and 1.8.0 are.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andersk/enum_primitive-rs/pull/13#issuecomment-326005740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANsMEhUXc_IwfcHnPSTCCQQ-t_LdjR6ks5sdW_ZgaJpZM4PBVW1
.

I'm not the author nor do I have commit access.

@cardoe Oh well, thanks for noticing it. I was in the desert, but not doing Burning Man this year though.

🤘

Yes, it doesn't appear to add anything of value.


Update Function yaml

The current Function yaml file mentions Node.js 16 which is no longer supported. It must be updated to Node.js 20.
The code was refactored a bit

Hi @markushaug
Can you approve this PR?
Thank you!


Multi file diff editor ignores smooth scrolling setting

Launch VSCode with --disable-smooth-scrolling cli option
Have settings:

"multiDiffEditor.experimental.enabled": true,
"editor.smoothScrolling": false,
"workbench.list.smoothScrolling": false,

Multi diff editor still has smooth scrolling

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.85.1 Chrome/114.0.5735.289 Electron/25.9.7 Safari/537.36

This issue is present in v1.86.1 too.

I'm seeing this in 1.89.0 when reviewing the changes for a PR as a whole using the GitHub Pull Requests extension.  I'm not using any experimental settings.


BufferStore: Buffers are not released..?

Something is wrong with the release of buffers.
TCP Test
   [ Buf avail ] 562
                [x] inet->buffers_available() < buffers_available
                [x] conn.read() == small
  [ Buf avail ] 560
                + Enabling IRQ 0, mask: 0xfbfa
[ IRQ manager ] Updated subscriptions: 0x401 irq: 0
       [ TEST ] BIG string (6000)
  [ Buf avail ] 556
                [x] conn.read() == big
  [ Buf avail ] 546
       [ TEST ] HUGE string (60000)
  [ Buf avail ] 542
                [x] conn.read() == huge
  [ Buf avail ] 457
       [ TEST ] Connection
                [x] tcp.activeConnections() > 0
                [x] conn.is_connected()
                [x] conn.is_writable()
                [x] conn.is_state(ESTABLISHED)
       [ TEST ] Active close
                [x] !conn->is_writable()
                [x] conn.is_state(FIN-WAIT-1)
                [x] conn.is_state(FIN-WAIT-2)
                [x] conn.is_state(TIME-WAIT)
       [ TEST ] Outgoing Connection (<IP_ADDRESS>:8085)
                [x] conn->read() == small
                [x] Connection closed by server
       [ TEST ] Outgoing Internet Connection (india.colorado.edu:13)
                [x] Resolved host
                [x] Connected
                [x] Received data
       [ TEST ] Started 3 x MSL timeout.
       [ TEST ] Verify release of resources
                [x] tcp.activeConnections() == 0
                [ ] inet->buffers_available() == buffers_available
[ Buffers available ] 440
# TEST DONE #

UDP Test
Buffers available: 566
UDP server listening to port 4242
================================================================================
 IncludeOS v0.8.0-rc.1-127-g11a8d54-dirty
 +--> Running [ IncludeOS UDP test ]
<Packet> CONSTRUCT packet, buf @ 0x2f200a
     [ DHCPv4 ] IP ADDRESS:     <IP_ADDRESS>
     [ DHCPv4 ] SUBNET MASK:     <IP_ADDRESS>
     [ DHCPv4 ] LEASE TIME:     35879872 mins
     [ DHCPv4 ] GATEWAY:     <IP_ADDRESS>
     [ DHCPv4 ] DNS SERVER:     <IP_ADDRESS>
<Packet> CONSTRUCT packet, buf @ 0x3218f0
<Packet> DESTRUCT packet, buf @ 0x3218f0
<Packet> DESTRUCT packet, buf @ 0x2f200a
<Packet> CONSTRUCT packet, buf @ 0x2f25f0
     [ DHCPv4 ] Server acknowledged our request!
      [ Inet4 ] Reconfiguring network. New IP: <IP_ADDRESS>
[ DHCPv4::On_config ] Config complete
<Packet> DESTRUCT packet, buf @ 0x2f25f0
<Packet> CONSTRUCT packet, buf @ 0x2f2bd6
Getting UDP data from <IP_ADDRESS>: 49733: Release my buffers already !!!!!!

// Incoming data can be a reason why the available buffers are decreasing.

@AndreasAakesson if this is a bufstore problem it should be addressed in the ./test/bufstore test. Please review that test and update it if you find issues that it does not pick up

This is fixed in #469


UPX compressed DLLs

Hi there! Firstly, awesome job on the project!
Was wondering if you had any intentions in supporting UPX compressed DLLs as there's currently an interesting trade off between shipping a compressed DLL with your application or embedding a non-compressed version that's usually 2x the size. It currently crashes with the following stack trace:
C:\Users\leaan\Documents\GitHub\go-winloader\cmd\demo>demo.exe tiny2.dll
Exception 0xc0000005 0x8 0x27e734414d0 0x27e734414d0
PC=0x27e734414d0

syscall.Syscall(0x27e73461310, 0x3, 0x27e73440000, 0x1, 0x0, 0x0, 0x0, 0x0)
        C:/Program Files/Go/src/runtime/syscall_windows.go:330 +0xe9
github.com/jchv/go-winloader/internal/winloader.Proc.Call(0x27e73461310, 0xc00012e330, 0x3, 0x3, 0x18, 0x8a69a0,
 0x27e73461301, 0xc00012e330)
        C:/Users/leaan/Documents/GitHub/go-winloader/internal/winloader/loader_windows.go:24 +0x22f
github.com/jchv/go-winloader/internal/memloader.(*Loader).LoadMem(0xc000162390, 0xc000168000, 0xbbea, 0xbbeb, 0x
bbeb, 0x0, 0x0, 0xc000106000)
        C:/Users/leaan/Documents/GitHub/go-winloader/internal/memloader/loader.go:239 +0xa88
github.com/jchv/go-winloader.LoadFromMemory(...)
        C:/Users/leaan/Documents/GitHub/go-winloader/loader_windows.go:25
main.main()
        C:/Users/leaan/Documents/GitHub/go-winloader/cmd/demo/main.go:18 +0x167
rax     0x27e734414d0
rbx     0x1000
rcx     0x27e73440000
rdi     0x27e73440000
rsi     0x27e7344a038
rbp     0x7ff99295bc70
rsp     0x7f359ffd48
r8      0x0
r9      0x4
r10     0x0
r11     0x246
r12     0x1
r13     0x1
r14     0x23
r15     0xffffffffffffffff
rip     0x27e734414d0
rflags  0x10206
cs      0x33
fs      0x53
gs      0x2b

Thanks for the report! I assume it is crashing at the UPX entrypoint. I'll take a look when I get a chance after work today.

Thanks! There's zero urgency for this and it's mainly curiosity.

I've reproduced the problem, but I'm still not really sure what's going on yet. Still, it almost definitely points to an actual bug in the loader, so it is probably worth fixing.
Of course, if all you wanted to do was save space, you could always compress the entire binary when embedding it, then unzip it at runtime.

I've made an effort to fix issues that were impacting UPX binaries from loading. Feel free to re-open this if you are still having issues, but I would appreciate an example binary that triggers the crash if possible.

This is amazing! Built the demo app and tested with compressed and non-compressed versions of tiny.dll. Both work. Check out the sizes:


Configure WebView2 to persist Cookies

Can I configure WebView2 to persist Cookies? Thanks

I added cookie-related features. Please refer to the example.

good！thank you!


Starter Project for Directed Research in Robotics

This attempts to allow a more robust handling of dynamic fileds in module dowel. This is implemented by the following logic:

The CSV headers are now ordered
When a new field is encountered, it is appended to the ordered list of headers
The output files gets flushed and re-read to allow header replacement
The new records with new fields get written

In order to accompanish this, these following changes to internal data structures and logic are added:

csv._fieldnames becomes list() instead of set()
The output file is now opened in w+ mode to allow both read and write access

Unit tests were added for the following cases:

Adding a new field at the end of the list of fields
Adding a new field in the middle of the list of fields

Sincerely

Oops, wrong branching. Closing the PR.


Disambiguate copy host ID button from actor/provider columns

In the web dashboard, actor and provider tables have two copy buttons. One is for the actor/provider ID and the other is for the host ID. These two buttons are the same icon but different colors, and this leads to confusion as to what they do (especially when the popover does not render properly.
Color differentiation isn't enough here, these should probably be two different icons that both indicate the desire to copy. Another possible solution is to remove the button entirely as the "copy host ID" functionality is available in the bottom right corner in the host pane.


Fix 'dict' object has no attribute 'rsplit' conda error

I hit the same issue in #77 and solved it with the same solution.
It is due to a different format of returning version information by conda 4.3 and above.
I provided a fix upstream:
See https://github.com/UDST/ansible-conda/pull/16
This commit is pointing the ansible-conda submodule to my fix.

Thanks for filing the upstream fix too @zonca 👍


Latestt (3.9.1) fixer breaks indentation in switch statement with return clauses.

Bug report
After update to 3.9.1, fixer does incorrect indentation on switches with multiple return clauses.
It is caused by rule braces.
PHP CS Fixer 3.9.1 Grand Awaiting by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.2
Last if's indetation is incorrectly moved up:
Code snippet that reproduces the problem
<?php
switch (true) {
    case false:
        return true;
    default:
        if (true) {
            return false;
        }
    if (false) {
        return true;
    }
    return false;
}

Config
<?php
return (new Config())
    ->setRiskyAllowed(true)
    ->setUsingCache(false)
    ->setRules([
        'braces' => true,
    ])
    ->setFinder($finder);

I am seeing similar indent problems with switch statements, and other stuff like I just reported in issue #6470

Here also an example code which is know false indented.
--- /home/runner/work/sulu/sulu/src/Sulu/Bundle/MediaBundle/Collection/Manager/CollectionManager.php
+++ /home/runner/work/sulu/sulu/src/Sulu/Bundle/MediaBundle/Collection/Manager/CollectionManager.php
@@ -525,9 +525,9 @@
                         if (!isset($value['id'])) {
                             break;
                         }
-                        $type = $this->getTypeById($value['id']);
-                        $collection->setType($type);
-                        break;
+                    $type = $this->getTypeById($value['id']);
+                    $collection->setType($type);
+                    break;
                     case 'changer':
                         $collection->setChanger($value);
                         break;

https://github.com/sulu/sulu/blob/c4bea234bec4378ba06a0b192b453077749da99c/src/Sulu/Bundle/MediaBundle/Collection/Manager/CollectionManager.php#L528-L531

@julienfalque , do I remember right that you had a chance to check this code recently? maybe you can look on this report, please?

Most things were fixed in https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6470 but still seeing this problem (when a case is missing a break):
        switch ($value) {
            case User::VERIFICATION_STATUS_REQUIRED:
                $foo
                    ->bar()
                    ->baz()
-                ;
+            ;
        }

@kbond Thank you. This should be fixed by #6480.


Confusion about the memory module

I have a very basic question and I will be grateful if someone could help.
From the code it seems that in every execution of _, loss = sess.run([train_step, train_loss]), the content of the memory, i.e., the initial state of DNC, will be re-initialized by zero_state. This means each instance of the RepeatCopy task is processed using an empty memory. However, from my understanding of the paper and memory networks in general, I believe the content of the memory should be incrementally updated given every instance of the task, and this collected knowledge should be used at test time.
If my understanding of the code is correct, it means the only thing that is incrementally trained is the controller, and it only learns how to use an empty memory to solve a task. Then in test time, it uses the memory as a temporary place to write intermediate processing results before taking action. On the other hand, if my understanding of the paper is correct, the controller and the memory content will both be incrementally trained. During test time, the controller matches the given task with what it already has in memory and decides what to do.
Could someone please clarify here which one is correct? If the memory content is actually incrementally collected during training, please point me to a part of code that I can see how it is done, because the training loop does not show any cue that it preserves the memory state during training steps.
I have seen in other instances of memory networks that the memory content is actually a TF Variable, and is preserved and incrementally updated during training, for example, refer to https://github.com/tensorflow/models/tree/master/learning_to_remember_rare_events.
Thank you very much for your help, in advance.

For the dnc tasks the external memory (and lstm cell memory) is wiped between episodes. This is because the tasks do not require memory to be preserved between episodes. E.g. for copying random binary strings, once the episode has concluded we do not want to keep around the state of memory for the next episode because it will negatively interfere with the next binary string to be copied. We want the controller's weights to learn the algorithmic solution over many examples and the memory simply serves as a scratch pad to store intermediate information.
In tasks where memories may be persistent over episodes, such as language modeling or translation, one can simply pass the state output between session run calls to preserve memory contents. In this context one might also want to optimize the contents with gradient descent with tricks like Kaiser et al., in which case making the memory a variable makes sense.

Thank you very much for your informative response. It makes a lot of sense.


feat: add update factor admin endpoint

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Closing since we overhauled the API design -- see #585 for updated endpoints


Unable to bootstrap ringpop / configurable maxJoinDuration

Hi, many thanks for the operator. I've been getting issues with not being able to bootstrap ringpop in time and was wondering if it would be possible to make the maxJoinDuration configurable? It appears to be hardcoded at 30 seconds currently, and my cluster doesn't seem to be able to bootstrap in that timeframe. For context, the following error is received: exhausted all retries: join duration of 44.89636036s exceeded max 30s. Many thanks!

Hi! @dave-ledgy !
Maybe we can provide ringpop configuration in the API.
But don't you think that 30s is enough in most of the cases, don't you have any network issue ?


prompt: update powerlevel10k submodule to v1.17.0

Release notes:

https://github.com/romkatv/powerlevel10k/releases/tag/v1.17.0

LGTM! Thanks!


Match voice prompts wait time, man woman prompt

Increase the wait time for the "talk to a man or woman" prompt to 10 seconds from five.

in master

3.7.2 was released and contains this fix.


Arguments with space cause trouble

Describe the bug
From the docs:
cli {
    Exec "git"
    Arguments ["commit"; "-m"; "Fixing issue #1337."]
}
|> Command.execute

gives the error
val it: Output =
  { Id = 83741
    Text = None
    ExitCode = 1
    Error =
     Some
       "error: pathspec 'issue' did not match any file(s) known to git
error: pathspec '#1337.' did not match any file(s) known to git" }

This error corresponds to running the command git commit -m Fixing issue #1337. while the message should be quoted like this: git commit -m "Fixing issue #1337."
Repro steps
Create a git repo, create a file in it. Run git add ${yourfile}
Then open a dotnet fsi and run
#r "nuget: Fli, 1.111.10";;
open Fli;;
cli {
    Exec "git"
    Arguments ["commit"; "-m"; "Fixing issue #1337."]
}
|> Command.execute;;

Expected behavior
No error.
Related information (please complete the following information):

OS: Linux
.NET version: 8.0.401

Hey @rbauduin,
thank for opening/assigning this issue.
Could you try to escape the "commit message" here?
So, from above: ""Fixing issue #1337.""
If this helps I'll adjust the docs.
Thank you!

I had tested other solutions (using single quotes, escaping the spaces) but I hadn't thought of this one. It seems to work!
> open Fli;;
> cli {
-     Exec "git"
-     Arguments ["commit"; "-m"; "\"Fixing issue #1337.\""]
- }
- |> Command.execute;;
val it: Output =
  { Id = 97094
    Text =
     Some
       "[master 06c77ae] Fixing issue #1337.
 1 file changed, 1 insertion(+)
 create mode 100644 test"
    ExitCode = 0
    Error = None }

Thanks for your fast reaction!


The main window is not centered correctly when the scale factor is not 1.

Describe the bug
The main window is not centered correctly when the scale factor is not 1(my default 1.25).
To Reproduce
Steps to reproduce the behavior:

cargo new example
add eframe = "0.20.0"
run the following code

fn main() {
    eframe::run_native(
        "app_name",
        eframe::NativeOptions {
            centered: true,
            initial_window_size: Some(eframe::egui::vec2(960.0, 670.0)),
            ..Default::default()
        },
        Box::new(|_| Box::new(Application::default())),
    );
}

#[derive(Default)]
struct Application;

impl eframe::App for Application {
    fn update(&mut self, ctx: &eframe::egui::Context, _frame: &mut eframe::Frame) {
        eframe::egui::CentralPanel::default().show(ctx, |ui| {
            ui.heading("Hello World");
        });
    }
}

Expected behavior
The window is centered correctly.
Desktop (please complete the following information):

OS: Windows10
Version: 21H2

Did https://github.com/emilk/egui/pull/2651 solve this?

Did #2651 solve this?

No, same issue. The position difference is even greater.
One solution is to use winit::dpi::PhysicalPosition, but multiply inner_size by monitor.scale_factor () in the calculation of X and Y position.
I'm not sure if there is a better way.

This issue has been fixed on the latest branch.


⚠ Samsung has degraded performance

In 5ccbd50, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2157 ms

Resolved: Samsung performance has improved in 40c1274.


PY_SSIZE_T_CLEAN macro must be defined for '#' formats

A new python3 has been released and it caused a breaking change in 3.10
Traceback (most recent call last):
  File "/mnt/disk0/Users/user/Nextcloud/PC-SYNC/Projects/_source_codes/github/mdns-debugger/mdns-debugger.py", line 464, in <module>
    (header, packet) = cap.next()
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

There is a compatibility issue with the pip3 package pcapy and Python 3.10.
I resolved it by uninstalling the pip3 version and installing the Ubuntu python3-pcapy package:
pip uninstall pcapy
sudo apt install python3-pcapy

The Ubuntu package is compatible, and that fixed everything!


docs: Fix missing identifier

need to call the import something, right?

Checklist

Issue number for this PR: n/a
Docs included?: n/a
Test units included?: no
e2e tests included?: no
In a clean directory, npm install, npm run build, and npm test run successfully? with changes, yes

Description
Fixing a typo, missing the identifier for importing * from firebase/app

You da real champ 🥇


[VL] Enable "parquet v2 pages - delta encoding" test for Spark33/Spark34

@PHILO-HE could you help rerun failed job and review this minor change? thanks!

@PHILO-HE would you help review again? thanks!

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4816_time.csv
log/native_master_03_03_2024_6b5ee6971_time.csv
difference
percentage

q1
35.50
36.61
1.105
103.11%

q2
24.48
24.50
0.012
100.05%

q3
36.07
39.42
3.352
109.29%

q4
37.21
38.53
1.320
103.55%

q5
70.17
70.78
0.609
100.87%

q6
5.42
7.30
1.883
134.75%

q7
84.58
84.97
0.388
100.46%

q8
85.73
84.52
-1.210
98.59%

q9
123.16
121.76
-1.400
98.86%

q10
44.47
44.77
0.303
100.68%

q11
20.53
20.74
0.213
101.04%

q12
26.66
29.46
2.804
110.52%

q13
44.23
45.96
1.733
103.92%

q14
18.70
21.41
2.713
114.51%

q15
28.61
27.97
-0.639
97.77%

q16
16.34
13.22
-3.121
80.91%

q17
101.65
103.13
1.471
101.45%

q18
145.72
146.21
0.487
100.33%

q19
12.68
13.66
0.984
107.76%

q20
25.94
26.57
0.635
102.45%

q21
223.79
225.15
1.355
100.61%

q22
13.84
13.79
-0.049
99.65%

total
1225.47
1240.41
14.947
101.22%


Collected Data form: System automatically assigns 0.00 value to Achieved field

User story: When I attempt to add a Collected Data record to my indicator, I want the system to make sure I've entered an achieved value, so that the correct value appears in my indicator tracking reports.
This story affects: The Collected Data form accessed from the Indicators page by clicking on the Edit or New Data button.
Description: The Achieved form field is asterisked as requiring user input. However, the system automatically inserts a value of 0.00 into the corresponding text box. When the user submits the form, the system validates the field as complete (with a value of 0.00), even if the user has taken no action on that field.
Requested change: Going forward, the system should no longer automatically insert a value of 0.00 into the Achieved field.
Note: We do NOT want to change the Achieved value of any data records that have already been submitted. This change should only apply to new records.

Hi @jennyhavah This issue appears to deal with the Community Edition front end and as such is deprecated in our TolaData repository.  You can submit this to either the Mercy Corps repository now to be dealt with immediately, or wait until the second week of December and submit it to the new CE repository that will be announced then.  Thanks


[5.2] Add code coverage

I feel like providing code coverage data makes more and more sense, as this is often a key aspect when choosing a framework and/or convincing customers for whom CC is important.
This PR provides a free codecov support.
Note:
annoying PR comments are muted so that only the status appears.
Improvement?
could be run only on PHP7 for build speed purposes

Looks like a good idea to me. :+1:

Looks like a good idea to me. :+1:

Just a quick disclaimer, that's not me giving the go-ahead for this. That's not for me to do.
I'd recommend you have a quick chat with Taylor regarding where you want to take this first. :)

Looks like a good idea to me. 👍

We are at 62%

I'd recommend you have a quick chat with Taylor regarding where you want to take this first. :)

Already done

Replaced by #14057


Baas tag support

Checklist

[ ] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for changelog and subsystem label(s) applied

This PR adds support for restic tagging through k8up, our baas provider. As this feature is not yet confirmed to be working within k8up, this PR should not be merged until that functionality is available, tested, and confirmed to be working as expected.

This functionality was waiting on the implementation and testing of the tagging functionality within k8up: https://github.com/vshn/k8up/issues/78 .
Since I've not personally tested this functionality, this code definitely isn't ready for merging.


Plone 6.0.14 and 6.1.0b1.

We could Update Volto as well, but that is above my pay grade. ;-).  Not sure which files to change there.  I guess that involves changing a few files manually and then run some make commands that do further changes.
Feel free to add more changes to this branch.

@mauritsvanrees I got your back! Updated! Merry Christmas!!


Use /usr/bin/env instead of /usr/bin/bash

On all the Linux systems I have access to, bash is installed as /bin/bash.  The bash scripts in vsh all have /usr/bin/bash in their shebang, so none of them work.
I expect that /usr/bin/env is a more standard location and also means that bash is found in $PATH, which better honors the user's expectations.

Thanks!
Sounds like a good idea to me.
FYI it will be a while until I make the change, I'm on a cycle tour until
November and only have spotty internet access via phone.
On 20 Sep 2017 3:48 a.m., "James McCoy"<EMAIL_ADDRESS>wrote:
On all the Linux systems I have access to, bash is installed as /bin/bash.
The bash scripts in vsh all have /usr/bin/bash in their shebang, so none of
them work.
I expect that /usr/bin/env is a more standard location and also means that
bash is found in $PATH, which better honors the user's expectations.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hardenedapple/vsh/issues/23, or mute the thread
https://github.com/notifications/unsubscribe-auth/AD4c3Ern8pz676YwZ1MQ0iiPQFcg79rqks5sj-FugaJpZM4Pcm4S
.


Go To Definition: "config/index.js"  is conflict with<EMAIL_ADDRESS>

From @texzhichen on July 14, 2018 14:59

VSCode Version: 1.25.1
OS Version: macOS 10.13.5

Steps to Reproduce:
For a Node project, I create a config/index.js under the root of the project. Somewhere at another folder, I use const config = require('config') for the absolute path import. I have set NODE_PATH=. and jsconfig.json such that it works well with other folders, e.g., middleware/index.js or even configs/index.js, but not the config folder.
If I delete the config folder at ~/Library/Caches/typescript/2.9/node_modules/@types, "Go To Definition" works as expected (it leads me to the config/index.js). However, once vscode restarts, the config folder at ~/Library/Caches/typescript/2.9/node_modules/@types is automatically generated.
My jsconfig.json is as follows.
{
  "compilerOptions": {
    "target": "ES6",
    "module": "es2015",
    "moduleResolution": "node",
    "baseUrl": "."
  }
}

Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: Microsoft/vscode#54311

Add an exclude to config from your type acquisition setting:
{
    "compilerOptions": {
        "target": "ES6",
        "module": "es2015",
        "moduleResolution": "node",
        "baseUrl": "."
    },
    "typeAcquisition": {
        "exclude": [
            "config"
        ]
    }
}


the V3 version Guide is so confusing and unclear.

I used the v2 version before and it was pretty much easy to add to any of my projects. but now when I try to use the v3, the guide and steps are just so confusing. please put in mind that sanity is not that famous and it's plugins are not very widely used. and trying to find another guide or tutorial is not possible. so please be more clear. or if you can add a video explanation

Hey I think your wording is a bit off and you probably don't mean it like you wrote it. But what is unclear to you? Which step? Just saying it doesn't fit your style of understanding or idk what isn't very helpful.

As a first time user of this plugin and no former usage in v2 I can say that, for me, looking at section "2. Add the orderRank field to your schema(s)." got me a bit puzzled.

You must pass in the type of the schema and the schema context, to create an initialValue value. Context is available in the schema callback, and should be forwarded as is.

From the example I assume it means "to pass in the type and the context to orderableDocumentListDeskItem() within in the structure property of the deskTool", but then I think it would be better suited to section 1 and seems obsolete here?
And in the example, there's no import for orderRankField() or orderRankOrdering(), so I was like "okay, where's that coming from?"
So far it all works, so I guess I'm not too far off reading the documentation correctly.
Hope the feedback helpes on the matter, tho :)

Thanks for your feedback.
The functions imported into schema were incorrectly documented, it has been fixed in #54


How to use with cron / scheduled event ?

Hi,
I noticed there is a CronEvent defined in the code, but I am not sure how it works.
Could you please provide an example ?
Thanks

Yup, what @universse shared is correct if you want the same Worker to handle both trigger types.
There's also a define export from the worktop/cfw module, which provides type information while writing the fetch and/or scheduled handlers. There's no "start" equivalent that's meant to handle both triggers at once because – IMO – Worker Cron handlers should not coexist with public fetch code... I've seen too many times where developers accidentally leak out information and/or make themselves susceptible to public requests accidentally calling should-be-private functions. So scheduled and fetch should be split out into separate Workers, in which case, a scheduled Worker looks like this:
import { define } from 'worktop/cfw';

export default define({
  scheduled(event, context) {
    // i have access to type defs
  }
});

// or

export default define<MyBindings>({
  scheduled(event, context) {
    // context.bindings === MyBindings
  }
});

Separately, I find Worker Crons exceptionally useless. They're not configurable – you can only dispatch GET requests (effectively) and there's no "custom payload" that you can include in the dispatched message. Every other Cron service allows you to schedule a POST request w/ arbitrary data for your handler to process (and this can be done programmatically)... not Cloudflare. Instead, most handlers need to "wake up" and then wait on some blocking external request to figure out what it should be doing/handling. It's so silly. I advocated internally for this to get added to the roadmap & it was repeatedly a deadend.
Until that happens, most applications may be better off using a GCP scheduler that sends an authenticated HTTP request to your Worker(s)


Fix BrowserAuthorizationLogger initialization

Add explicit check for BrowserAuthorizationLogger initialization, instead of inferring the initialization state from the oidc-client library

fyi @calebmshafer @skirby1996 we'll want this one backported as well

@Mergifyio update


favicon.png is re-fetched everytime you move to another page

Might be helpful: https://realfavicongenerator.net/


Font for small circles looks broken on Android

As the title says, the progress font has a weird behavior on Android when the radius is relatively small (like 20 and less). However this does not occurs on iOS.
I tried both dynamic font scaling and fixed font size.
Could it be a OS-related issue and not something we can fix?
Here is a side-by-side comparison with dynamic font size:

And the same one with a progress font size fixed to 12:

And the code used:
      <CircularProgress
        value={25}
        duration={0}
        radius={12}
        inActiveStrokeWidth={2}
        activeStrokeWidth={2}
        valueSuffix="%"
      />
      <View style={{height: 10}} />
      <CircularProgress
        value={50}
        duration={0}
        radius={18}
        inActiveStrokeWidth={2}
        activeStrokeWidth={2}
        valueSuffix="%"
      />
      <View style={{height: 10}} />
      <CircularProgress
        value={75}
        duration={0}
        radius={25}
        inActiveStrokeWidth={2}
        activeStrokeWidth={2}
        valueSuffix="%"
      />

Same bug, why this bug is not fixed

@nithinpp69  after one week I found a different solution. You can use react-native-circular-progress

I am facing the same issue and still have not found any solution.


bump opentelemetry-demo to 0.21.1

I've not tested it yeah...

OK, let's wait https://github.com/openinsight-proj/openinsight-helm-charts/pull/85 merged, I will test this and merge this PR.

duplicated with https://github.com/openinsight-proj/openinsight-helm-charts/pull/91


[ Bug ] MongoDB never shows up during installation or starting the tool

Describe the bug
on installing the prodkit, mongoDB installation doesn't work when starting the bat or through powershell, nor does it state it requires the user to source the software in thewiki
To Reproduce

Go to prodkit location
Click on start.bat

Expected behavior
MongoDB install popout or a notification of that limitation in the wiki
Screenshots

mongoDB is no longer needed for the prod-toolkit (and hasn't been for a while).

I actually looked over the whole thing, apparently had something to do with my port configuration
Thanks for the heads up though


Slack link is no longer active on README

I am interested in joining the discussion, can someone update the Slack link?

Ah, good catch!
I'll update now. Looking forward to chatting on slack :)


Exclude own issues and pull requests from triage lists where no replies

I've just signed up to triage a new repository, https://github.com/jaredholdcroft/postmark-java, and the issue it sent me to look at was this one:

https://github.com/jaredholdcroft/postmark-java/pull/12 - Switch to using the HTTPS endpoint

which is a pull request I've just raised myself.
There isn't a lot I can do with that one! Maybe exclude my own issues and pull requests, or at least the ones without any activity from other users, from the set of things you sent me?

We should be doing this already, we check an issue to see if you're the owner or already commented before sending out. Must be a bug somewhere
—
Sent from Mailbox
On Tue, Jan 13, 2015 at 7:54 AM, Rupert Wood<EMAIL_ADDRESS>wrote:

I've just signed up to triage a new repository, https://github.com/jaredholdcroft/postmark-java, and the issue it sent me to look at was this one:

https://github.com/jaredholdcroft/postmark-java/pull/12 - Switch to using the HTTPS endpoint
which is a pull request I've just raised myself.
There isn't a lot I can do with that one! Maybe exclude my own issues and pull requests, or at least the ones without any activity from other users, from the set of things you sent me?

Reply to this email directly or view it on GitHub:
https://github.com/codetriage/codetriage/issues/304

I had the same thing.  I got the same issue two days in a row after commenting on it more than once the day before.

@RupW, @schneems Has this bug been squished? Maybe the issue can be closed since there has been no activity for almost three years.

I certainly haven't seen it since, but I haven't been raising a lot of issues or PRs either :-/

Closing for now. Thanks

@schneems I'm afraid the bug is still here and I have the proof:

#706 is an issue I raised myself.
What strikes me is that I raised that issue less than 24h ago, as was the case with @RupW's pull request. Perhaps this gives a hint to the root cause of this problem?


Added middleware for globally exposing headers such as Date

Description:
Added middleware for globally exposing headers such as Date; access to the Date header will be used on the client-side to maintain a correction offset between the server time and the browser time as requests are made.  This offset will allow frontends to display much more reliable durations and expirations without making extra requests.
Additional Details
This is an expansion / generalization of https://github.com/edx/edx-platform/pull/27221
Author concerns:

Please confirm that I bumped the version correctly.  This adds a feature, but there should be no breaking changes.

I didn't see where I should update documentation aside from CHANGELOG and docstrings; docs/middleware.rst is basically just automodule.

Reviewers:

[x] tag reviewer

Merge checklist:

[ ] All reviewers approved
[x] CI build is green
[x] Version bump if needed
[x] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPi after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Closing old PR


ISPN-13224 Release Console 0.15.1.Final

https://issues.redhat.com/browse/ISPN-13224

Thanks @karesti


Flashing on 128GB SD doesn't use its full storage

I just recently flashed my SanDisk Extreme microSDXC 128GB memory card with the image. It works, but it only uses up to 32GB of space.

@benjmerales,
That is common behaviour when flashing a large SD card with an image originally smaller.
You can enlarge the partition (in your screenshot /dev/mmcblk0p1) by using a tool called GParted
sudo apt-get install gparted

Nice! This worked flawlessly!
Thank you

Hello - I am getting the following error when I run gparted.

I ran the sudo apt-get install gparted command to install gparted but it is not letting me resize the partition on my sd card

You need to use another PC to do the trick. It is not possible the resize any partition on the SD-card you are currently using.


Packaging request: PDM

Project description
PDM is a modern Python package manager with PEP 582 support. It installs and manages packages in a similar way to npm that doesn't need to create a virtualenv at all!
Metadata

homepage URL: https://pdm.fming.dev/
source URL: https://github.com/pdm-project/pdm/
license: mit
platforms: unix, linux, darwin, ...

someone mind looking into this again? :)

I think we do have PDM since 922672435ae422310d7f4167fe051df3fb540d25 ?

Ah yes, just not as a python package. In which case this issue can be closed?


[SPARK-16135][SQL] Remove hashCode and euqals in ArrayBasedMapData

What changes were proposed in this pull request?
This pr is to remove hashCode and equals in ArrayBasedMapData because the type cannot be used as join keys, grouping keys, or in equality tests.
How was this patch tested?
Add a new test suite MapDataSuite for comparison tests.

LGTM

Test build #61038 has started for PR 13847 at commit 50f8be3.

@maropu I think you also need to add these methods to UnsafeArray for this to work.
Where in the spark code base do we compare two (unsafe) MapData objects? Or are you comparing these in your own code?

You could also just also use the approach taken in UnsafeRow.

It seems UnsafeArrayData already has its own equals and hashCode`.
Currently, spark doesn't compare unsafe MapData though, I think this might cause implicit bugs.

aha, yes. It'd better to take the same approach in UnsafeRow?

Yeah you are right about UnsafeArrayData (my bad).
I would take the same approach as UnsafeRow.

okay, I'm fixing now.

okay, done.

Test build #61041 has started for PR 13847 at commit 30d28bc.

Test build #61038 has finished for PR 13847 at commit 50f8be3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61038/
Test PASSed.

Do we need to hash all values? This could be a performance issue if hashCode is called frequently on very large arrays.
Story: MLlib had some performance issues caused by Vector.hashCode, which is called during Pyrolite serialization. It saves the Vector as the key in a hash map to avoid re-serialization of the same object. But the hashCode costs almost the same as re-serialization.

Does the current implementation of Vector.hashCode have enough performance? If so, it's okay to follow the impl. to me.

The performance of hashCode() should be pretty good in this case, and this implementation is inline with the ones used in all other Unsafe* objects (MurMurHash). I'd rather be consistent. If this turns out to be a problem, we could always use the first n bytes (similar to the Vector.hashCode) for hashCode(), if it turns out to be a problem.

At least, we'd be better to leave comments for that.

Test build #61052 has started for PR 13847 at commit e8eaf70.

Test build #61052 has finished for PR 13847 at commit e8eaf70.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61052/
Test FAILed.

Merged build finished. Test FAILed.

Test build #61053 has started for PR 13847 at commit b6bac43.

Test build #61053 has finished for PR 13847 at commit b6bac43.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61053/
Test FAILed.

Merged build finished. Test FAILed.

Test build #3126 has started for PR 13847 at commit b6bac43.

Test build #3126 has finished for PR 13847 at commit b6bac43.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

I think we don't need to implement equals and hashCode for map type, as map type doesn't support equality and ordering by design, see https://issues.apache.org/jira/browse/SPARK-9415
We should remove the equals and hashCode on ArrayBasedMapData and fix tests if needed

Thx, good direction. The current master doesn't throw any exception in an analyzer when map-typed data are passed into collect_set/collect_list. Probably, should we check the case in there?
https://github.com/apache/spark/pull/13802/files#diff-4b06b5fe0cedf425de14469d1356d6ecR474

yea we should improve the type check of CollectSet

Test build #61093 has started for PR 13847 at commit 827785d.

Test build #61093 has finished for PR 13847 at commit 827785d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61093/
Test FAILed.

I'm now checking failed tests...

Test build #61168 has started for PR 13847 at commit 431a3fe.

Test build #61168 has finished for PR 13847 at commit 431a3fe.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61168/
Test PASSed.

Test build #61173 has started for PR 13847 at commit 78b57c6.

@hvanhovell please check again?

Test build #61174 has started for PR 13847 at commit 2feb984.

looks pretty good, thanks for working on it!

Test build #61173 has finished for PR 13847 at commit 78b57c6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61173/
Test FAILed.

Test build #61175 has started for PR 13847 at commit 8ada73c.

Test build #61174 has finished for PR 13847 at commit 2feb984.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61174/
Test PASSed.

Merged build finished. Test PASSed.

Test build #61175 has finished for PR 13847 at commit 8ada73c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61175/
Test PASSed.

Test build #61178 has started for PR 13847 at commit d95824b.

Test build #61178 has finished for PR 13847 at commit d95824b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61178/
Test PASSed.

LGTM - @cloud-fan?

Test build #61208 has started for PR 13847 at commit e4b1384.

Test build #61208 has finished for PR 13847 at commit e4b1384.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61208/
Test PASSed.

Merged build finished. Test PASSed.

Test build #61237 has started for PR 13847 at commit 902fe5f.

Test build #61237 has finished for PR 13847 at commit 902fe5f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61237/
Test PASSed.

Merged build finished. Test PASSed.

retest this please

LGTM,  retest this as the last test pass is 2 days ago.

Test build #61298 has started for PR 13847 at commit 902fe5f.

Test build #61298 has finished for PR 13847 at commit 902fe5f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61298/
Test PASSed.

Merged build finished. Test PASSed.

thanks, merging to master/2.0!

thanks, merging to master/2.0!

thanks, merging to master/2.0!


Schema definition simplification

TL;DR
Before
@RealmModule(A::class, B::class, C::class)
class Entities

val configuration = RealmConfiguration.Builder()
    .schema(Entities())
    .build()

Now
val configuration = RealmConfiguration(schema = listOf(A::class, B::class, C::class))

In this PR we simplified the steps to define a schema, by getting rid of the RealmModule as well as the RealmConfiguration.Builder.
schema parameter accepts a list of class literal (similar to annotation arguments)

The technique used to perform this is to replace the constructor call in RealmConfiguration with an internal constructor which has a map of companion objects necessary to build the Mediator
Default Schema
The ability to automatically have a default schema (similar to Realm-Java) will not be supported here.
Reasoning:
The current SchemaCollection logic is broken at least for the test scenarios since the compiler plugin runs in two different steps:
the first step is compiling the model classes in the Task :compileKotlinMacos, where all the classes are added to the SchemaCollector, the second step is compiling the test classes (which includes RealmConfiguration construct substitution for instances)
> Task :compileTestKotlinMacos
w: duplicate library name: io.realm.kotlin:cinterop-cinterop-realm_wrapper
i: [Realm Compiler Plugin] 2021-03-27T15:50:30.870Z Collected schema is: {}

This is why relying on the current SchemaCollector to define the default module is not feasible, since we can not collect reliably all participating classes, even without this multiple steps compilation, incremental compilation will break the SchemaCollector logic since the last run will only see the newly added models. I think we should abandon this magic behaviour for now and behave similarly to other libraries like Dagger where you specify the components and modules explicitly using class literals.

val configuration = RealmConfiguration(schema = listOf(A::class, B::class, C::class))

If the schema is required, it makes a lot of sense to move to a constructor parameter. I'm not sure we should remove the Builder class though. At least that wasn't the decision we came to when @edualonso investigated the alternatives: https://docs.google.com/document/d/1mM5wZuaXDvHDl-ozh9VGG3VtDbzCJUHOGA1rUD3Z4YQ/edit ... The problem is that discovery + validation gets a lot harder once we start adding support for the more advanced methods currently available in Java.
This definitely seems a step forward, but IMO it still makes the onboarding experience harder than it should be. I.e. the possibility of just doing val realm = Realm.open() is extremely compelling for onboarding new users.
Worst case, I think even doing runtime reflection to be able to do this automatically would be preferred to forcing users to manually specify the schema, but I don't have any great ideas on how to achieve this currently.

@rorbech @cmelchior I reintroduced the Builder pattern which accepts a vararg for schema


Question about "Custom warm-up before swap"

This paragraph makes it seem like there is no longer a need for the AppInit module. I'm hoping that is so, but is that true? If it is not true, could you please include more information in this documentation?

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

ID: 49f5ea0e-d951-7e7f-142e-3509b2ec5eda
Version Independent ID: eea6bd7f-8790-caa0-aed8-bc0e79680bbd
Content: Set up staging environments for web apps in Azure App Service
Content Source: articles/app-service/web-sites-staged-publishing.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@marksman315 Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @marksman315 thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@marksman315 I'm not sure if I understand. The doc says you can use applicationInitialization IF you need custom warm up during swap. If you don't need custom warm up during swap then you don't need to use it.

We use webapp for containers with a multi-container docker-compose. When swapping slots the service is running but the underlying containers are not.  Is there an easy way to warm up the containers?

@hellosri Sorry. By custom warm-up we're talking about something apart from the autoswap option that warms up the slot before swapping, but autoswap doesn't support the Linux option, so in your case it doesn't work. However you can just use cURL to ping the slot, which gets it to warm up.
I'll clarify the language in the doc to avoid confusion.

#please-close


SW-2620 Filter Pill List Component

Create a PillList component that renders a list of pills. Also make the
Pill component more generic. If the pill is not rendered with an
onRemovePill handler it will not have an 'X' icon to delete it.
Refactor existing components that display pills (table filters) to use
the new PillList component.

@karthikbtf all great suggestions. Thanks


Cannot move in Foundry V11

I cannot move my actors in Foundry V11, I checked the logs and got this error:

I looked a bit in the code and was able to make it work: by replacing this line:
const token = canvas.tokens?.objects?.children.find(token => this.actorId.endsWith(token?.actor?.uuid));
by:
const token = canvas.tokens?.objects?.children.find(token => this.actorId.endsWith(token?.document?.actorId));
First time looking into modules of Foundry so there's probably more to check, maybe other places with similar issues.
Thanks a lot for this module it will be very helpful for my future tabletop games.

i need to play with this a bit more but first test shows me both should work token.actor.uuid will give a uuid of an actor and token.document.actorId will give an id for the actor. I currently can't see that token.actor.uuid is broken but i just now only tested on v12.232.  I will keep looking in other vtt versions and will consider your improvement thx for your feedback.

tested with v11.315 it does work as expected.
However it might have been possible that :
1.) on the scene you had been the token you tried to control was missing.
2.) you had deleted the orginal actor the token was referencing to.
The documentation for v11 also stated that actor should be available on tokens.
but i guess when the original actor is missing the linking is broken i will test your variant on all supported vtt versions.

is impossible to keep on when you refresh your browser your user ends up with no actor -> so you can't controll anything that seems normal.

And 1) will always be a problem, you can't controll a token that is not on the scene :-)
Also your solution seems only to work for  TokenDocument5e:

While the TokenDocument that is base within all systems:

Also when you look at the api:
https://foundryvtt.com/api/classes/client.TokenDocument.html#actor
there is no actorId there.
I will stick up with my solution. When the actor your controller is controlling does not have a token on the scene or the actor you controll is deleted then yes it might end up with no tokens be moved in all other cases it still seems to work. At least i could not reproduce this in any other disturbing way.


@ in @reactivex/rxjs maybe causing some issues...

Been trying to get angular2 installed with asp.net and @reactivex/rxjs keeps getting marked as not available by npm on install, after much playing around and head banging, I was able to get reactivex to install manually, which is a fail for asp.net (npm just needs to work on publishing), it seems that the @ symbol is ignored by package restore.
I am going check this out more, and will also drop an issue at asp.net.

Maybe related with this https://github.com/ReactiveX/RxJS/issues/458?

I did read that issue, but as it seems that he is trying to install with npm, and not though another service just as Visual Studio, I didn't feel it was that same, but it might be related.

Would you able to share brief steps? I have VS2015 installed on my machine, can give it a try also to see what's happening.

sure thing,
add, "angular2": "2.0.0-alpha.39" to package.json in a new MVC 6 project, and restore the package, it will look for reactivex/rxjs instead of @reactivex/rxjs giving a 404 Not Found error and a nice message say to bug reactivex to add to npm.
Some additional steps I have tried, manually installing with npm install in project directory, will install, but will still not register, but will show it is installed. Further restores will failed to finish with not found for reactivex

@tenowg Yes, seems you're correct that #458 is not directly related.
Problem was caused by default node.js packaged in VS2015's web tool's outdated, specifically npm version is about 1.4.x that does not supports some of issues resolved after those version. There are similar issues reported (https://github.com/npm/npm/issues/7496) in npm.
To resolve this, you may need to let Visual Studio use latest known good version of node / npm instead of default package. Simplest way would be redirect lookup order as documented [here] (http://blogs.msdn.com/b/webdev/archive/2015/03/19/customize-external-web-tools-in-visual-studio-2015.aspx), allows to look for external node / npm installation prior to default.
I could confirm those redirection works on VS2015 with installation of node v0.12.7 / npm v3.3.4. I don't think you necessarily need to v3 beta of npm, guess v2 would be sufficient.

@kwonoj Very good catch, this is something I would never have looked for. I glazed over the version numbers in the logs, and indeed the version was 1.4.x that was causing the error. Presumably it was because I had just upgraded my installation of node/npm on my machine.
Changing to use PATH first fixed the issue, thanks


Best way to query for different page's region at template

Like how to we query, say about page's main region at homepage's template.

What you'd probably want in this case is make the current page a descendant of the home page, use the same key for regions (for example sidebar or something), and mark the region as inherited.
Contents.inherit_regions will do the rest for you (https://github.com/matthiask/django-content-editor/blob/master/content_editor/contents.py#L54)
Respectively, content_editor.contents.contents_for_item(page, plugins, inherit_from=<queryset containing ancestors>, that is (when using django-cte-forest) contents_for_item(page, plugins, inherit_from=page.ancestors().reverse())
feincms3's TemplatePluginRenderer also supports inherit_from, so what you'd probably want to do in this case is this: https://github.com/matthiask/feincms3/blob/master/feincms3/renderer.py#L32

If you want to go low level, something like this would also work:
renderer = ... # your TemplatePluginRenderer instance
home = ... # some way to get the home page instance

contents = contents_for_item(home, renderer.plugins())

# Example:
main_region_contents = contents.main  # or contents['main'] -- does the same thing

Im trying to get items with a simple tag.
from content_editor.contents import Contents
@register.simple_tag
def show_headline(split):
    headlines = Page.objects.filter(headline=True)[:split]
    for i in headlines:
        content = Contents(i.regions)
        for item in i.pages_richtext_set.all():
            content.add(item)
        for item in i.pages_image_set.all():
            content.add(item)
    return headlines

And in template im trying to query like this
        {% show_headline 5 as headline %}
        {% for item in headline %}

{{ item.title }}

                {{ content.description }}
                Go to Product

                {{ content.image }}

        {% endfor %}

and no luck so far.
I'd do something like this (untested):
from collections import OrderedDict

@register.simple_tag
def show_headline(split):
    pages = Page.objects.filter(headline=True)[:split]
    contents = {page: Contents(page.regions) for page in pages}
    for item in page.pages_richtext_set.all():
        contents[item.parent].add(item)
    for item in page.pages_image_set.all():
        contents[item.parent].add(item)
    return contents.items()

... and in the template, use {% for page, contents in headline %}

Respectively, much shorter:
from content_editor.contents import contents_for_items

pages = Page.objects.filter(headline=True)[:split]
contents = contents_for_items(pages, plugins=[RichText, Image])
return [(page, contents[page]) for page in pages]

(See http://django-content-editor.readthedocs.io/en/latest/#contents-for-items)

Thanks @matthiask . Its much simple. Btw if u don't want me to ask this kind of questions. I won't.
But this feature is fundemantal for every business company website or such.
And be sure i will write docs for everything that i've asked for.

You're welcome, and don't worry: It's good to hear that the software is being used. Also, developer questions are often documentation bugs, so please don't hesitate to ask more!

I'm not completely sure what to write here now, especially since the TemplatePluginRenderer and its Regions class made everything so much more flexible. Maybe https://feincms3.readthedocs.io/en/latest/rendering.html is sufficient now? Or maybe it would make sense to explain all the layers that are involved in rendering feincms3 sites these days?

We should just refer to django-content-editor's docs in rendering.html for more examples. I think that's enough. If you agree we can close this issue.

Soo just read the docs again. And no need for what i asked. With this doc
https://feincms3.readthedocs.io/en/latest/renderer.html we can close this issue.

Great! Thanks. Documentation still needs work, work in progress towards an 1.0 release is here: https://feincms3.readthedocs.io/en/v1-docs/


Added complete IRI to PrefixedName so you can use ==

It is now possible to compare a PrefixedName with an IRI (and with a
str), it will actually compare against the full IRI.

Codecov Report

Merging #7 into master will increase coverage by 0.44%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   92.06%   92.51%   +0.44%
==========================================
  Files           5        5
  Lines         290      294       +4
==========================================
+ Hits          267      272       +5
+ Misses         23       22       -1

Impacted Files
Coverage Δ

aiosparql/__init__.py
100% <100%> (ø)
:arrow_up:

aiosparql/syntax.py
94.21% <87.5%> (+0.72%)
: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 a7e6ae1...b6f5e33. Read the comment docs.


Beta

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0-beta.6 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TextureAssetExporter has red and blue channels swapped for RGB24 textures

When exporting uncompressed RGB24 textures using TextureAssetExporter , the red and blue channels are swapped. RGBA32, and DXT textures work normally.
Example asset bundle: https://ufile.io/fssem
Source Image: https://ufile.io/s8yi6
Swapping the 0xFF0000 and 0x0000FF at https://github.com/mafaca/UtinyRipper/blob/master/uTinyRipperCore/Parser/Classes/Texture2D/Texture2D.cs#L470 and https://github.com/mafaca/UtinyRipper/blob/master/uTinyRipperCore/Parser/Classes/Texture2D/Texture2D.cs#L564 fixes the issue.

Thank you for solution
fixed in 16dd67f1bed2a01ea9edf93599e83508276ade79


Fix hash comparison for isSameRoute (fix #635)

Fix hash comparison for isSameRoute (#635)
when one of a.hash and b.hash is undefined while the other is empty string
This bug causes active class not being applied when using named view + exact matching

The root cause was because components/link was not flow-enabled... I've fixed it and made some adjustments in 270683f


feat: add converter from bbox to offsets in export and import

Closes #66

[x] Choose a label-studio format as a primary format for working with Clients
[x] Import a file from label-studio to Badgerdoc format:

[x] Provide an endpoint
[x] Import the file from S3
[x] Generate a pdf file
[x] Save the pdf file to S3
[x] Convert text from label-studio to Badgerdoc tokens format
[x] Save Badgerdoc tokens to S3
[x] Convert annotations from label-studio to Badgerdoc annotation format
[x] Save Badgerdoc annotations to S3

[x] Export tokens and annotations from Badgerdoc to label-studio format:

[x] Provide an endpoint
[x] Import files from S3
[x] Convert from Badgerdoc tokens to label-studio format
[x] Convert annotations from Badgerdoc annotation to label-studio format
[x] Save the label-studio file to S3

[x] Add support of *.txt files

We do need logs

* Remove spaces in filename: `convert/tests/test_vertex/test_data/draft/Another pdf example.pdf`

This file was for dev purposes only. Removed.


💡 RFC: Support %PUBLIC_URL% in src/serviceWorkerRegistration.{js,ts}

Motivation
Snowpack supports %PUBLIC_URL% in HTML files, and mentions it's inspired by Create React App. There's another place where Create React App uses %PUBLIC_URL%, namely src/serviceWorkerRegistration.{js,ts}:
export function register(config?: Config) {
  function doRegister() {
    const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`

Proposed solution
Possible solutions
Replace %PUBLIC_URL% in src/serviceWorkerRegistration.{js,ts} as well.
Alternatives considered
Remove %PUBLIC_URL% from the code base and hardcode the value in both public/index.html and src/serviceWorkerRegistration.{js,ts}.
Risks, downsides, and/or tradeoffs
None I can see.
Detailed design
No response
Open questions
No response
Help make it happen!

[ ] I am willing to submit a PR to implement this change.
[ ] I am willing to submit a PR to implement this change, but would need some guidance.
[X] I am not willing to submit a PR to implement this change.

Hm. That’s a good question. I think when it gets to transforming values in JS, Snowpack tries to encourage you to write JS as close as possible to what your final app could be. We just feel in general that the less your code looks like production, the more problems you have! That thinking is kinda what led to creating Snowpack in the first place—letting all your import statements persist in the end (and as someone that’s spent hundreds of hours debugging webpack, it’s an amazing tool but when things go wrong they go really wrong).
All that said, I think env vars are a good workaround now that is probably much easier and more flexible than having “magic string replacement” in JavaScript like this.
You raise a really good point that we do want to support more CRA-like things! We’ll think about it for a future add, but env vars may be good for now.

I think that CRA's thinking in this particular case isn't about transforming any value in any JS, only about transforming this specific value (%PUBLIC_URL%) in this specific file (src/servicWorkerRegistration) because, if you use rely on it for HTML and then activate the service worker, you end up with a broken site. There's a dependency between the two.
I do understand however that this is a CRA-inspired, not CRA-compatible feature, and that create-snowpack-app doesn't even come with a service worker template, so not really a bug. Close at will. :)


Add wrapper for TessBaseAPIInit5

This will allow to init Tesseract with in-memory stored trained data.
Corresponding PR in https://github.com/antimatter15/tesseract-rs/pull/38

Thank you.
I've released as 0.10.0