Create course-registration-setvalue-appendto.json

Q
A

Bug fix?
no - yes?

New sample?
yes

Related issues?
Not applicable

What's in this Pull Request?
Column sample file for course registration. This sample uses a setvalue action and also an appendTo function to add the user to a UserMulti person field called PeopleWhoRegistered in the same list.

Apologies for the delay in processing this @expiscornovus. Thank you so much for your contribution. 💜🧡
If you have not already, be sure to register for the PnP Recognition Program, where we can provide you Credly badges to celebrate and recognize your contributions in a formal and official way. You can register here:
http://aka.ms/m365pnp-recognition
Also, if you are interested in writing a blog post about your contribution in our Microsoft 365 PnP Blog site, we would love to help you. Please feel free to reach out to @LuiseFreese.
Thanks again for the awesome work!

Hi @PopWarner,
Thanks for merging it into the repo. Happy to share more samples in the future. And I don't mind writing a blog post about the sample @LuiseFreese :)
Btw, short question about the sample.
In the readme.md of the sample I referred to a PnP PowerShell script (to provision the list and columns for the sample). I included it in the assets folder, but created a separate pull request for it (by accident, my bad), https://github.com/pnp/List-Formatting/pull/423
However, that script hasn't been included in the pnp:master. Will that also be included? If not, we need to update the text of the readme ;)

Love it!! @expiscornovus please reach out to me if you
A) want to blog about it in the PnP community blog
B) want to demo this in a community call
🙌🙌🙌 - Thanks for contributing - you rock 🚀🎸⭐

Hi @LuiseFreese,
Lets start with a blog first :) Btw, I have already written a personal blog about it back in November:
https://www.expiscornovus.com/2021/11/22/course-registration-with-list-formatting/
I can rewrite that one to make it suitable for the PnP community blog.
Btw, I am pretty busy at the moment with some deadlines of different projects for my company. So, a demo would be more convenient in a couple of months time.

Hi @expiscornovus  again :-)
I don't think that it needs a lot of re-do. Next steps:

To grant you author permissions on https://aka.ms/m365pnp/community/blog, I need your TechCommunity ID. You can obtain it from the URL when you are logged in and select your profile. Its a number, not your email address.
once you gave me this ID (here or twitter DMs) and I granted you the right permissions, you can write a blog post and submit it for review
I will check some formalities (Do we have a title, teaser description and image in the teaser (that will be the thumbnail)) and publish the post

For the demo? Right now  the next open slot is March 17, which means we need to know 2-3 months upfront if you like to demo. Let me know, happy to book you.

I granted you the permissions :-) Let me know if you need any help :-)

Hi @LuiseFreese,
I have finished the draft and I will submit it for review.

aaaaand, we are live :-) Thank you for doing this, its highly appreciated!

WOOOOOOO 🧡💜 Love this!

Great team work!


Play Local Downloaded file  from file://User/.../.../.../flename.mp3

How to play local storage file

I am also having the same problem, please tell me a proper solution on how to play the downloaded file in your jukebox.

you cam play local file with proper uri like User/dhd3737/......./filename.pm3
with as remote url passing
its working for me now

/Users/im038/Library/Developer/CoreSimulator/Devices/5E2B9097-576A-4636-B397-0283EC29D72C/data/Containers/Data/Application/F5CBBBB6-B4ED-4260-91D1-3422228338DF/Documents/01-PURUSHARTHA.mp3
The above is my file manager url but I could not play it the jukebox state changing to loading but not playing @ashok1234567


IOS - Chat - After pasting :apple: in the middle of the text additional spaces get added

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/12529
Action Performed:

Open the App and login
Go to any chat
Type "test test" then paste :apple: in the middle

Expected Result:
NO additional space gets added after the emoji
Actual Result:
Additional spaces get added before and after emoji
Workaround:
Unknown
Platform:

Where is this issue occurring?

iOS

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/201179835-cc7e5f7f-a1e3-42b7-8d58-dff5b3ee34a5.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

@kbecciv just bumping the question above

@bfitzexpensify Checking, update you shortly

@bfitzexpensify I have the default keyboard in my testing IOS device and I was able to paste in the middle of the word.
https://user-images.githubusercontent.com/93399543/201678695-06550e3e-0164-4a3e-825e-54311b608290.MP4

Thank you! OK, I was able to reproduce

I'm not sure if this is a feature or not @stitesExpensify you might know a bit about this, but if it's a bug I would say that this can be an external

also is this specific to the 🍎 emoji or any emoji, the specificity here is a bit weird. @kbecciv can you guys check or answer that? Thanks :)

All emojis, updated the title to be clearer

@bfitzexpensify Thank you for updating the title.

I think this might be an automatic thing, but I tested the same behaviour on other apps (namely Whatsap) and this does not happen so it shouldn't happen to us as well.
Setting this as a External

Job on Upwork:
Expensify link
Contributor link

I think this is not the application level bug, in the ios wherever we paste text(not only emoji) in a single word it creates the adjacent space.

@sketchydroide @bfitzexpensify Should the expected also apply to the regular text or only when pasting emoji? WhatsApp doesn't add extra space on text or emojis.

No spaces should be added whether pasting regular text or an emoji

I'll take this one!

Looking into this


collections api

putting some thoughts together somewhere for devs to give asynchronous feedback on.

schema/url/study.raml is probably the most relevant to look at. ive also left some thoughts/ comments lying around in there for now, so ill collect theme here as well:

think if we have a collection of dates for ex, all variables in it must be dates. is that something we should try to require in the raml here? or a thing better suited to manual validation?
maybe we should check w outreach types if there are use cases for string collections?
i think conceptually all multifilters could technically be string collections as well if we wanted to... probably a can of worms left unopened
think for the things like display ranges, which exist on both collections and vars, when the variable is used in the viz tab as part of a collection use the collections version. if its being plotted as an individual var, use the vars version. is that reasonable? (ideally they should be the same really, but i dont know we have a good reason to require or validate that... do we?)

For the task of specially displaying a group of variables in the subsetting tab (Ann's little folder symbol in the mockup) it seems to mee that the API_Collection needs to be "rooted" in the variable tree - perhaps a collection has a link to a variable, or a API_Collection is a child of API_Variable but not a child of a API_VariableWithValues. If not, how will the frontend know to draw a little folder instead of an expander arrow to offer a collection?

Out of order thoughts:

It'd be helpful to require collection var and vars in that collection to have the same ranges. I think the most important thing though is that they're compatible. So the range of the collection var must be at least a union of all ranges of its vars. For strings, this would be requiring the vocabulary of the collection var to be a union of all vocab in the vars, i suppose.

Yeah the current multifilters to me are string collection vars.

@wbazant an elegant solution would be lovely :) but also i could imagine a front-end workaround where we request the list of collection var ids, prune the variable tree, then i can assume every leaf is a collection and should get a folder icon
@d-callan should numeric collections have an optional naToZero flag? Or should we continue handling the naToZero on our side in microbiomeComputations for now?

@wbazant thanks. itd been a while since id looked at the last iteration of mockups, should probably have started there. i based this draft off my understanding that clinepi has requested that the same variables be able to belong to multiple collections. so i was imagining them outside the standard var tree, essentially as a list of folder icons under the relevant entity whenever the 'collections tree' was toggled on. i figured any context/ categories needed to tie the relevant leaf vars together could be part of that collection.

relatedly, I've made some tables:
[wbazant@yew EDAwg]$ sqleda <<< 'describe EDA.COLLECTION_BONUS_1_WholeMetagenomeSequencingAssay'
 ----------------------------------------- -------- ----------------------------
 STABLE_ID                                 NOT NULL VARCHAR2(255)
 DISPLAY_NAME                                       VARCHAR2(1500)
 NUM_MEMBERS                                        NUMBER
 DISPLAY_RANGE_MIN                                  VARCHAR2(16)
 DISPLAY_RANGE_MAX                                  VARCHAR2(16)
 RANGE_MIN                                          VARCHAR2(16)
 RANGE_MAX                                          VARCHAR2(16)
 IMPUTE_ZERO                                        NUMBER(1)
 DATA_TYPE                                          VARCHAR2(10)
 DATA_SHAPE                                         VARCHAR2(30)
 UNIT                                               VARCHAR2(30)
 PRECISION                                          NUMBER
[wbazant@yew EDAwg]$ sqleda <<< 'describe EDA.COLLECTIONATTRIBUTE_BONUS_1_WholeMetagenomeSequencingAssay'
SQL>  Name                                         Null?    Type
 ----------------------------------------- -------- ----------------------------
 ATTRIBUTE_STABLE_ID                                VARCHAR2(255)
 COLLECTION_STABLE_ID                               VARCHAR2(255)

https://github.com/VEuPathDB/ApiCommonData/commit/4e848182106a94c1d611567746314d2d2d3db44d

Looks really great thank you @ryanrdoherty !
The only thing i can think of that may come up soon is something like an optional collection type. I see we have type/dataType specifying number/date/integer, but @d-callan and i were recently discussing having the apps filter a study's collection vars to only those appropriate for the app. Something like an optional "collectionType" or similar seems like it should handle that scenario?
@ryanrdoherty and @d-callan what do you think?

@asizemore i have to do so much more thinking about that yet, and i think we need to keep talking w dan to better understand what exactly it is we actually need/ use cases are before we clutter ryans mind w it.

@asizemore Regarding a future collection type property... this would have to go in the database.  Kind of a scope for this collection based on compute, so maybe it would be an array of compute names?  Anyway, not going to address this here since we don't have the data.


rbenv: cannot rehash

Hi,
I'm running into a problem using rbenv:
==> samplit: TASK: [ruby | Add brightbox/ruby-ng repository] *******************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install ruby] ***************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Detect rvm binary] **********************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Detect rvm installer] *******************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Detect current rvm version] *************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install rvm installer] ******************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Configure rvm installer] ****************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Import GPG keys] ************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install rvm] ****************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Update rvm] *****************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Configure rvm] **************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Detect if rubies are installed] *********************************
==> samplit: skipping: [<IP_ADDRESS>] => (item=2.1.2)
==> samplit:
==> samplit: TASK: [ruby | Install rubies] *************************************************
==> samplit: skipping: [<IP_ADDRESS>] => (item={u'skipped': True, u'changed': False})
==> samplit:
==> samplit: TASK: [ruby | Install rubies (non-binary)] ************************************
==> samplit: skipping: [<IP_ADDRESS>] => (item={u'skipped': True, u'changed': False})
==> samplit:
==> samplit: TASK: [ruby | Detect default ruby version] ************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Select default ruby] ********************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Symlink ruby related binaries on the system path] ***************
==> samplit: skipping: [<IP_ADDRESS>] => (item=bundle)
==> samplit: skipping: [<IP_ADDRESS>] => (item=bundler)
==> samplit: skipping: [<IP_ADDRESS>] => (item=erb)
==> samplit: skipping: [<IP_ADDRESS>] => (item=executable-hooks-uninstaller)
==> samplit: skipping: [<IP_ADDRESS>] => (item=gem)
==> samplit: skipping: [<IP_ADDRESS>] => (item=irb)
==> samplit: skipping: [<IP_ADDRESS>] => (item=rake)
==> samplit: skipping: [<IP_ADDRESS>] => (item=rdoc)
==> samplit: skipping: [<IP_ADDRESS>] => (item=ri)
==> samplit: skipping: [<IP_ADDRESS>] => (item=ruby)
==> samplit: skipping: [<IP_ADDRESS>] => (item=testrb)
==> samplit:
==> samplit: TASK: [ruby | Create rvm.sh] **************************************************
==> samplit: skipping: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install libffi-dev] *********************************************
==> samplit: ok: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Clone rbenv repository to ~/.rbenv] *****************************
==> samplit: ok: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Create rbenv.sh] ************************************************
==> samplit: ok: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Create plugins directory] ***************************************
==> samplit: ok: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install plugins] ************************************************
==> samplit: ok: [<IP_ADDRESS>] => (item={'git': 'https://github.com/sstephenson/ruby-build.git', 'name': 'ruby-build', 'version': 'master'})
==> samplit:
==> samplit: TASK: [ruby | Check if ruby installed] ****************************************
==> samplit: changed: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Install ruby] ***************************************************
==> samplit: skipping: [127.
==> samplit: 0.0.1]
==> samplit:
==> samplit: TASK: [ruby | Set global ruby version] ****************************************
==> samplit: changed: [<IP_ADDRESS>]
==> samplit:
==> samplit: TASK: [ruby | Rehash rbenv] ***************************************************
==> samplit: failed: [<IP_ADDRESS>] => {"changed": true, "cmd": ["/home/vagrant/.rbenv/bin/rbenv", "rehash"], "delta": "0:00:00.013844", "end": "2015-04-16 00:15:08.194019", "rc": 1, "start": "2015-04-16 00:15:08.180175", "warnings": []}
==> samplit: stderr: rbenv: cannot rehash: /home/vagrant/.rbenv/shims/.rbenv-shim exists
==> samplit:
==> samplit: FATAL: all hosts have already failed -- aborting
==> samplit:
==> samplit: PLAY RECAP ********************************************************************
==> samplit:            to retry, use: --limit @/home/vagrant/site.retry
==> samplit:
==> samplit: <IP_ADDRESS>                  : ok=82   changed=49   unreachable=0    failed=1
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

This is the box if it helps: https://railsbox.io/boxes/7237e5591058
Any idea how to fix this?

I've just downloaded this box and looks like it's working fine for me - I can't this error. Can you please try to re-download it once again and do vagrant destroy/vagrant up cycle?

I think it was a connection problem that day, the packages that were downloaded were corrupt.
Thanks for looking into it though.


Elm-make fails seemingly at random

I get the following error a couple times a day
$ elm-make SomeModule.elm
[                                                  ] - 0 / 1elm-make: the annotation added in 'depattern' should not be observed!
elm-make: thread blocked indefinitely in an MVar operation

Each time it appears, it repeats itself a couple times, but usually disappears without changes in the code being compiled.
$ elm-make SomeModule.elm
Success! Compiled 0 modules.
Successfully generated index.html

I'm using Elm 0.16.0 installed through the npm.
$ npm list -g elm
/usr/lib
└──<EMAIL_ADDRESS>
I'd like to be able to provide more details but I don't even know what to look into.

Note: this seems to have something to do with concurrency. The linter-elm-make extension in Atom stopped working for me at some point, but I didn't bother turning it off before. I'll try to report if this still happens with it disable.

This still happens on my machine with the Atom extension uninstalled. I know this report isn't very helpful. Is there anything I could do to improve it? I don't really know what other info I could provide nor where to get it from.

Sorry you're having trouble. I'm as stumped as you are. I don't think this will work, but you can try deleting elm-stuff which will cause the dependencies to be downloaded and compiled again. Just in case there's a bad intermediate file in the cache.

elm-make compiles files concurrently as much as possible, so if you are on a platform where other people are messing with files, it may interfere. So If you can say your OS, editor, environment, etc. we can probably help more. That said, ultimately, I think the creators of the tools that are messing with files should be the ones dealing with this issue. So I am going to close this particular issue, though it totally makes sense to continue discussion here. Once things get pinned down, it makes sense to (1) open an issue with the relevant tooling person or (2) open an issue here if there are concrete proposals on how elm-make should change to accommodate tools better.


An error occurred while opening CarlaUE4.exe

An error occurred while opening CarlaUE4.exe
I get an error when opening CarlaUE4.exe
CARLA version:0.9.13
Platform/OS:windows 11
Here are the logs:
Fatal error!

Crash in runnable thread TaskGraphThreadNP 0
Crash in runnable thread TaskGraphThreadNP 3
Crash in runnable thread TaskGraphThreadNP 1
Crash in runnable thread TaskGraphThreadNP 2

Hope to solve
Thanks!

i got fatal error while running "Make Launch" command after build.

can anybody help what we can do ?

it got solved after extracted correctly the assets to the folder "C:\carla\Unreal\CarlaUE4\Content\Carla"

should look something like this....

can you please elaborate on how did you extract contents?


distinct returns invalid error type

After #2529
Versions
commit.txt: 8667e7e215bc3b9327eb76d735499f74ba1f2952
branch.txt: main
version.txt: v0.9.3-15-g8667e7e2
What did you do?
See repro in https://github.com/FerretDB/FerretDB/pull/2230.
What did you expect to see?
> t.runCommand("distinct", {"key": {a: 1}})
{
	"ok" : 0,
	"errmsg" : "BSON field 'distinct.key' is the wrong type 'object', expected type 'string'",
	"code" : 14,
	"codeName" : "TypeMismatch"
}

What did you see instead?
> t.runCommand("distinct", {"key": {a: 1}})
{
	"ok" : 0,
	"errmsg" : "required parameter \"key\" has type *types.Document (expected string)",
	"code" : 2,
	"codeName" : "BadValue"
}

As #2481 demonstrates, we can't just change an error type in GetRequiredParam helper – some commands return ErrTypeMismatch while others return ErrBadValue.
Ideally, we should avoid adding yet another similar-but-not-identical helper with a vague name. Maybe we could just™ add a parameter to that existing function.

This is already fixed, see passing test script
https://github.com/FerretDB/FerretDB/pull/2230
https://github.com/FerretDB/FerretDB/actions/runs/5043694772


"There's a problem with your connection"

I get a "There's a problem with your connection" error message while editing this map:
https://strk.carto.com/viz/031cbca8-7055-11e6-94c1-0e3ebc282e83/map
But I clearly have no connection problems as I can file this ticket.
Firebug has an hint about it, being a response from a POST
to https://strk.carto.com/api/v1/map:
{"errors":["column f.cartodb_id does not exist"],"errors_with_context":[{"type":"unknown","message":"column
 f.cartodb_id does not exist","name":"error","length":89,"severity":"ERROR","code":"P0001","file":"pl_exec
.c","line":"3216","routine":"exec_stmt_raise"}]}

NOTE: when I failed to provide a "the_geom_webmercator" field, the UI nicely told me about it being a requirement, I suggest the same is done for "cartodb_id"...

Hi @strk, closing this as we are focusing on the Builder UI. Did you tried it?


[🐞 BUG]: Invite link expired and typo

Description 📝
When users navigate to the answer tab, they may find that the Discord invite link has expired. Additionally, there's a typo in the word 'community'.
Link 🔗
src/locales/en.json
Steps to Reproduce 🔄

Go to any Demo Test
Click on 'Answers'
Scroll down to 'Learn More'
See error

Screenshots 📸
comunity ➡ community

DISCORD link expired

Expected Behavior 🤔
FIXED TYPO 👇🏽

FIXED LINK 👇🏽

Actual Behavior 😱
.
Environment 🌍

Vue component : src/locales/en.json
OS : Ubuntu
Browser: Brave
Git Branch : develop

Additional Information ℹ
I would like to work on this issue, kindly assign it to me !

OK, Assigned please put this invitation link, https://discord.gg/MFWNpwTq9q it never expires!


feat: actions pane expandable footer

This PR...
Changes

added logic under a feature flag for an expandable footer pane in the actions pane

Fixes

How to test it

Screenshots

Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Does this expand over the editor? or push it up?

Does this expand over the editor? or push it up?

It pushes it up, otherwise there might be lines of code that cannot be seen


Validation

@chuff got a snapshot version of this I can benchmark & validate against my use cases & code base?

Hey Corey, the libraries have been published to maven central.
https://central.sonatype.com/search?q=iabgpp
On Thu, Sep 28, 2023 at 5:50 PM Corey @.***> wrote:

@chuff https://github.com/chuff got a snapshot version of this I can
benchmark & validate against my use cases & code base?
—
Reply to this email directly, view it on GitHub
https://github.com/IABTechLab/iabgpp-java/pull/36#issuecomment-1740133701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA373WHVMGG4HAIQKUP5ILX4YEMVANCNFSM6AAAAAA4TW2ZJI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add template generics for PSR-11 implementations in PHPStan and Psalm

Slim v4 abstracts out DI to PSR-11, which means given a Slim/App it is unclear what its DI container is capable of.
Psalm and PHPStan both provide mechanisms to express the types generically, allowing them to ensure that you are calling the correct set method on a DI container received from getContainer

coverage: 99.427% (-0.002%) from 99.429%
when pulling c7910ea1d44ba3697153a7dac9d393ee1d9027d5 on limarkxx:add-psalm
into 8388b334763a64775d13b3c8cb217294d7126c7b on slimphp:4.x.

coverage: 99.429%. remained the same
when pulling c7910ea1d44ba3697153a7dac9d393ee1d9027d5 on limarkxx:add-psalm
into 8388b334763a64775d13b3c8cb217294d7126c7b on slimphp:4.x.


Add permalink anchors to gitbook

Solves part of Issue #345

You actually don't need the plugin in the package.json file. Gitbook installs and maintains it for you.  I think it should solve the merge conflict too.

There are two more issues here:

Last time I checked, the plugin didn't generate nice looking links like in React docs. We'd want to style them to be nicer.
This issue makes anchor links semi-useless and it's better to fix it first https://github.com/GitbookIO/gitbook/issues/920

@timdorr cool didn't know that!
@gaearon Yeah... The anchors only work sometimes because of that issue.  I'll take a look at it.  I agree that the hover could use some custom styling.  Here is what it looks like by default:

Closing for inactivity.
Would be happy to take this if it looked like in React docs.


Error when running testing

I run the command "python3 run_chunked_eval.py --task-name TRECCOVIDChunked".
Got the below errors, any suggestions?
ERROR:mteb.evaluation.MTEB:Error while evaluating TRECCOVIDChunked: Currently truncation is only implemented for documents without titles
Traceback (most recent call last):
File "/raid/tanyu/late-chunking/run_chunked_eval.py", line 167, in
main()
File "/home/tanyu/.local/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/tanyu/.local/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/tanyu/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/tanyu/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/raid/tanyu/late-chunking/run_chunked_eval.py", line 129, in main
evaluation.run(
File "/home/tanyu/.local/lib/python3.10/site-packages/mteb/evaluation/MTEB.py", line 422, in run
raise e
File "/home/tanyu/.local/lib/python3.10/site-packages/mteb/evaluation/MTEB.py", line 383, in run
results, tick, tock = self._run_eval(
File "/home/tanyu/.local/lib/python3.10/site-packages/mteb/evaluation/MTEB.py", line 260, in _run_eval
results = task.evaluate(
File "/raid/tanyu/late-chunking/chunked_pooling/mteb_chunked_eval.py", line 95, in evaluate
scores[hf_subset] = self._evaluate_monolingual(
File "/raid/tanyu/late-chunking/chunked_pooling/mteb_chunked_eval.py", line 162, in _evaluate_monolingual
corpus = self._truncate_documents(corpus)
File "/raid/tanyu/late-chunking/chunked_pooling/mteb_chunked_eval.py", line 110, in _truncate_documents
raise NotImplementedError(
NotImplementedError: Currently truncation is only implemented for documents without titles

Sorry the last commit enabled truncation by default, however, the current code doesn't support truncation for benchmark datasets (like TRECCOVID) where the documents have a title and a text. For the experiments in the paper, we run TRECCOID without truncation. Nevertheless, it should work when you disable truncation by running:
python3 run_chunked_eval.py --task-name TRECCOVIDChunked --truncate-max-length 0

I will also make a PR ready to fix it.

Ok we merged this one:
https://github.com/jina-ai/late-chunking/pull/19
Now it should also work without the additional truncate-max-length argument

Thanks for your quick response! It works now @guenthermi

Another issue comes when I run "python3 run_chunked_eval.py --task-name SciFactChunked --truncate-max-length 0"
" File "/late-chunking/chunked_pooling/mteb_chunked_eval.py", line 254, in _evaluate_monolingual
max_k = int(max(k_values) / max_chunks)
~~~~^~
ZeroDivisionError: division by zero"
@guenthermi  could you help check it? Thanks

Ok without --truncate-max-length 0 is should have worked fine on the last version, now I made a small commit to make truncate_max_length=0 equivalent to truncate_max_length=None. It seems like in some cases it really truncated to 0 tokens instead of disabling it.


Refactor MAPL_GetResource

Description

This PR moves much of the code for MAPL_GetResource generic subroutine from MAPL_GenericMod to a new module MAPL_ResourceMod in base
Related Issue

#1918
Motivation and Context

Previously, MAPL_GetResource accessed MAPL_MetaComp and ESMF_Config types, and all the code was located in MAPL_GenericMod (generic/MAPL_Generic.F90). Most of the code does not need to access code in that directory. The refactored code places most of the code in a new module MAPL_ResourceMod in base. The specific subroutines that need access to MAPL_MetaComp type remain in MAPL_GenericMod (MAPL_GetResourceFromMAPL_scalar and MAPL_GetResource_array) in much abbreviated form. The MAPL_GetResourceFromConfig_scalar specific subroutine for MAPL_GetResource does not depend on MAPL_MetaComp types, so it could be located in MAPL_ResourceMod. However, MAPL_GenericMod contains the MAPL_GetResource interface for the generic subroutine. To avoid putting the MAPL_GetResourceFromConfig_scalar specific subroutine for MAPL_GetResource in a different module, an abbreviated MAPL_GetResourceFromConfig_scalar remains in MAPL_GenericMod. All three specific subroutines for  the MAPL_GetResource subroutine ( MAPL_GetResourceFromConfig_scalar, MAPL_GetResourceFromMAPL_scalar, and MAPL_GetResource_array) call subroutines in MAPL_ResourceMod.
How Has This Been Tested?

0-diff test
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[x] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

I changed the base to develop. I think it was accidentally on main

Also, this is just the refactor, right?  Not the "clean up the crazy duplication" we noticed with the array resource

@tclune Changes to branch made locally. Testing before push up.

All conversations resolved, bugs fixed. @tclune

The UFS build tests were failing. Don't know why, but I copied the GFTL lines from generic/CMakeLists.txt to base/CMakeLists.txt. After I make a few changes, I'll update the PR later tonight.

Could be V1 vs V2 issues.  Library/mod dependencies and such.
There is a long-open PR to switch MAPL to v2, but @weiyuan-jiang encountered a few obstacles.  Should have at least updated those that could.


fix: use path gateway in default gateways

Fetching from subdomain gateways like cf-ipfs.com using path resolution returns a redirection (same thing with dweb.link) for every CID. This means an additional round trip for every CID requested.
This PR changes the default gateways to their path equivalent to avoid the additional round trip.
fixes #347

Blocked until https://github.com/protocol/bifrost-community/issues/4 is resolved.

this should be ready to be merged now


feat: optional AWS permissions for custom RunMyCode deployment

Currently not working.
Relates issue: https://github.com/mozilla/webextension-polyfill/issues/38

Referenced issue is fixed now.
This might be possible once https://github.com/shatgupt/runmycode-ext/pull/11 lands.


Rihanna Lyrics Analysis

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Rihanna Lyrics Analysis
:red_circle: Aim : Analyze the data from the lyrics of Rihanna's albums and provide a brief outcome.
:red_circle: Dataset : https://www.kaggle.com/vivovinco/rihanna-lyrics
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.
Hello, ML-Crate contributors, this issue is only for the contribution purposes and allocated only to the participants of SWOC 2.0 Open Source Program and JWOC '22 Open Source Program.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'SWOC' and 'JWOC' contributors of 'ML-Crate' project.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID :
Approach for this Project :
What is your participant role?

[ ] SWOC 2.0 Participant.
[ ] JWOC 2022 Participant.
[ ] Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Full Name: Vishnu Bhaarath
Github Profile link: https://github.com/VishnuBhaarath
Approach: Have gone through the dataset, would be taking different factors in to account and doing visualization in python.
Participant role: JWOC 2022 participant
Can you assign this issue to me

Issue assigned to @VishnuBhaarath

Have given PR pls check it


Fix #26 - improve dark mode toggle

I've added the dark mode on be default if that's your os setting. I also moved the functionality outside of the defer block, as there was flickering in the top header area when on dark mode.

Thank you @grantholle -- looks good, and sorry for the long delay!


surge-XT: unstable-2021-12-11 -> 1.0.1

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

First stable release is out!
Pinging some random nix audio/synth maintainers:
@OPNA2608 @nico202 @mitchmindtree @michalrus @astro @minijackson

Verified per guidelines:

[x] package name fits guidelines
[x] package version fits guidelines
[x] package build on x86_64-linux
[x] executables tested on x86_64-linux
[x] all depending packages build

Should prolly bump juce-lv2 to the latest commit on lv2 branch (https://github.com/lv2-porting-project/JUCE/commit/000e15a1e108101a68aa068b5c621a0d5b58f4d6) as well.

Should prolly bump juce-lv2 to the latest commit on lv2 branch (lv2-porting-project/JUCE@000e15a) as well.

Building with that commit gives me the following error when I try to run the LV2:
The program 'jalv.gtk' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 54 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Both Ardour and jalv.gtk do this.

Updated the PR from 1.0.0 to 1.0.1

these binary names contain spaces, could they be changed?
[nix-shell:~/.cache/nixpkgs-review/pr-154044]$ ls ./results/surge-XT/bin/
'Surge XT'  'Surge XT Effects'

@Artturin I asked upstream, and they say they consciously chose this name and that spaces are valid characters in binary names.
They also said it would probably work if we change the name.
May I ask why you requested this change?

@Artturin I asked upstream, and they say they consciously chose this name and that spaces are valid characters in binary names. They also said it would probably work if we change the name. May I ask why you requested this change?

because its weird
what a weird choice by upstream


Tests for dashboard

Description
Created tests for our test suite testing out the dashboard component. Tests all passing
Please delete options that are not relevant.

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

Change Status

[X] Complete, tested, ready to review and merge

Checklist

[X ] My code follows the style guidelines of this project
[X ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X ] My changes generate no new warnings
[ X] I have added tests that prove my fix is effective or that my feature works
[ X] New and existing unit tests pass locally with my changes
[ X] There are no merge conflicts

Perfect, ty


use log4j in version 2.15.0

Based on https://www.lunasec.io/docs/blog/log4j-zero-day/ STAF should use log4j in version 2.15.0.

fixed in v0.51.4


[UASTC] Add random block generator

This is a simple tool to generate as many valid UASTC blocks as one may need. It accepts UASTC mode index [0..18] and the number of blocks. This tool's memory layout is meant to be compatible with the transcoders, i.e. the same memory object could be used with both modules simultaneously.
Standalone usage example, save blocks to disk
const fs = require('fs');

const totalBlocks = 8 * 1024 * 1024;
const memory = new WebAssembly.Memory({ initial: 2049 });
const view = new Uint8Array(memory.buffer, 65536);

const generatorModule = new WebAssembly.Module(fs.readFileSync('build/uastc_generator.wasm'));
const generatorInstance = new WebAssembly.Instance(generatorModule, { env: { memory: memory } });

for (let m = 0; m < 19; m++) {
    generatorInstance.exports.generate(m, totalBlocks);
    const filename = m.toString().padStart(2, '0') + '.uastc';
    fs.writeFileSync(filename, view);
}

Combined usage example
const fs = require('fs');

const totalBlocks = 8 * 1024 * 1024;
const memory = new WebAssembly.Memory({ initial: 2049 });
const view = new Uint8Array(memory.buffer, 65536);

const generatorModule = new WebAssembly.Module(fs.readFileSync('build/uastc_generator.wasm'));
const generatorInstance = new WebAssembly.Instance(generatorModule, { env: { memory: memory } });

const transcoderModule = new WebAssembly.Module(fs.readFileSync('build/uastc_bc7.wasm'));
const transcoderInstance = new WebAssembly.Instance(transcoderModule, { env: { memory: memory } });

for (let m = 0; m < 19; m++) {
    generatorInstance.exports.generate(m, totalBlocks);

    // slice view and transcode it with the reference transcoder
    // ...

    // transcode with our transcoder in-place
    transcoderInstance.exports.transcode(totalBlocks);

    // compare results
    // ...
}

/cc @MaxGraey

Thanks, this looks great!

// slice view and transcode it with the reference transcoder

For the purposes of unit tests, I'm not sure we should use the MSC transcoder in a CI environment yet. Or at least, I'd rather not attempt that until it's packaged and published to npm in a nodejs-compatible way. So far I've been manually opening a web browser and using the JS console to export sample output with it. I'm happy to use this transcoder as the source of truth for those tests, if we think its current state is correct and just want to prevent regressions.

Btw instead use series of store for CRC table:
store<u64>(crcOffset, 0x0000000000000000, 0);
store<u64>(crcOffset, 0x7AD870C830358979, 8);
store<u64>(crcOffset, 0xF5B0E190606B12F2, 16);
...

you could store data in section without any extra overhead via memory.data:
const crcOffset = memory.data<u64>([
  0x0000000000000000,
  0x7AD870C830358979,
  0xF5B0E190606B12F2,
  ...
]);

and use global basic memory offset for heap and static data via memoryBase flag: asc -O3 ... --memoryBase=63488


Train without text condition?

I want train this model without label just music. What can I do to input the music into the model so that the music is generated in a style similar to the music I input? Deleting some files or modifying which configuration files?

Try to find some music annotation tool? Then you will get annotations. Finally, you could train using pair of annotations and music.


Vickel: Watch airlinesbee.com

Vickel requests the watch of the watch_keyword airlinesbee\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

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

Approved by Jeff Schaller in Charcoal HQ


[]

Hey,
I'm developing a new mod and basically I was wondering if you're cables implement any kind of Energy Transfer interface. I can't seem to connect to them with IEnergyConnection or Tesla Capabilities.  I'll have a dig in RebornCore.
Thank you,
Ollie
P.S. Sorry about that, my browser kind of crashed...weird

Fixed: I used the MultipartHelper


11911

What does this PR change?
Use by default only official images
As before, the value set at the main.tf has precedence.
This covers the first step in https://github.com/SUSE/spacewalk/issues/11911

When you revert the sles12sp3o change, the rest LGTM.

Why do you want to revert sles12sp3o? It is an official image.
it is deploying well in my test machine and passsing core features.

This test run (4.1) fails deployment
https://ci.suse.de/view/Manager/view/Manager-4.1/job/manager-4.1-cucumber-NUE/25/console
This run (4.1) passes core features:
https://ci.suse.de/view/Manager/view/Manager-4.1/job/manager-4.1-cucumber-NUE/28/
the only difference in setup between these 2 runs is that the former uses sles15sp1o and the latter do not.

@moio I am wondering why do we use for sles15sp1o this image:
https://download.suse.de/install/SLE-15-SP1-JeOS-QU2/SLES15-SP1-JeOS.x86_64-15.1-OpenStack-Cloud-QU2.qcow2
instead of the following one:
https://download.suse.de/install/SLE-15-SP1-JeOS-GM/SLES15-SP1-JeOS.x86_64-15.1-OpenStack-Cloud-GM.qcow2
which follows the same name convention as:
sles15sp2o   = "https://download.suse.de/install/SLE-15-SP2-JeOS-GM/SLES15-SP2-JeOS.x86_64-15.2-OpenStack-Cloud-GM.qcow2"
sles12sp4o   = "http://download.suse.de/install/SLE-12-SP4-JeOS-GM/SLES12-SP4-JeOS.x86_64-12.4-OpenStack-Cloud-GM.qcow2"
sles12sp5o   = "https://download.suse.de/install/SLE-12-SP5-JeOS-GM/SLES12-SP5-JeOS.x86_64-12.5-OpenStack-Cloud-GM.qcow2"
is there a special reason to prefer that SLE-15-SP1-JeOS-QU2?

QU  == Quaterly Update
Installation images get a quarterly refresh to get the newest kernel and installation tools.
This applies also to JeOS. And with famous grub2 boothole bug older images might not boot anymore in the near future.
So I think it is a good idea to test with the latest available images.

@srbarrios See in my 2nd commit your request.
I cannot access right now to the mirror to check if the paths are OK: I assume we create in the mirror directories as needed
to patch the URL structure.
Let me know if I must update salt/mirror/mirror.sh.conf as well.

@srbarrios See in my 2nd commit your request.
I cannot access right now to the mirror to check if the paths are OK: I assume we create in the mirror directories as needed
to patch the URL structure.
Let me know if I must update salt/mirror/mirror.sh.conf as well.

Honeslty I'm not sure at what it serve this mirror.sh.conf on that repo. But for sure is not the same that we are using in our QAM Minima Mirror and I think it also don't match the mirror used in galaxy infrastructure. So, with this commit, it should be enough.


Remove MongoDB dependency

This change will allow people to self host and work on exceptionless with only elastic search installed.
References:

https://github.com/exceptionless/Exceptionless/issues/77
https://github.com/exceptionless/Exceptionless.Net/issues/2

:+1:  Awesome!


1.1 feature: Cookie-based TempData provider

From the list in #2260

@Rick-Anderson Can you cover this in fundamentals/app-state.md #2404 ?

@tdykstra  OK


Plugin for using the IDA IPython plugin.

This plugin eases the usage of the IDA IPython plugin, by creating a UI menu on IDA's main menu.
Currently, the menu allows to start a linked IPython console / or a linked Qt console.
(Of course,) This plugin requires the IDA IPython plugin to be installed.

Why not add it to the IDA IPython plugin itself?

Well, it's possible to modify the IDA IPython plugin, but it requires to fork its repository.
I think both options are good. Do you think it's a better option?

Seems to make more sense to have 1 plugin instead of 2. Especially when one is dependent on the other.

This already exists in IDA IPython. So I am closing this pull request.


[#4918] Refactor DefaultClassFileTransformerDispatcher

Codecov Report

Merging #4928 into master will increase coverage by 0.04%.
The diff coverage is 64.17%.

@@            Coverage Diff             @@
##           master    #4928      +/-   ##
==========================================
+ Coverage   40.98%   41.02%   +0.04%
==========================================
  Files        2622     2623       +1
  Lines       78684    78625      -59
  Branches    10658    10635      -23
==========================================
+ Hits        32245    32259      +14
+ Misses      43518    43449      -69
+ Partials     2921     2917       -4

Impacted Files
Coverage Δ

...ent/transformer/BypassLambdaClassFileResolver.java
0% <0%> (ø)

...tstrap/agentdir/AgentDirBaseClassPathResolver.java
60.47% <100%> (ø)
:arrow_up:

...rofiler/DefaultClassFileTransformerDispatcher.java
67.85% <100%> (+67.85%)
:arrow_up:

...ment/classreading/InternalClassMetadataReader.java
100% <100%> (ø)
:arrow_up:

...rument/transformer/DefaultTransformerRegistry.java
55% <100%> (ø)
:arrow_up:

...nt/transformer/DefaultLambdaClassFileResolver.java
22.22% <22.22%> (ø)

...ment/transformer/MatchableTransformerRegistry.java
16.49% <33.33%> (+2.06%)
:arrow_up:

...context/provider/ClassFileTransformerProvider.java
71.42% <71.87%> (+31.42%)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75% <0%> (-3.13%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


Explanation of warnings

When I run this script, I get several warnings that I don't quite understand, or that don't seem fully fleshed out. Many could just mention the docker daemon setting that they're talking about, like --icc for warning 1.10, or --userns-remap for 2.8.
Here are some examples of more ambiguous warnings (sorry for the ANSI escape codes):
[WARN] 1.1  - Create a separate partition for containers
[WARN] 1.7  - Audit docker daemon - /usr/bin/docker
[WARN] 1.8  - Audit Docker files and directories - /var/lib/docker
[WARN] 1.9  - Audit Docker files and directories - /etc/docker
[WARN] 1.10 - Audit Docker files and directories - docker.service
[WARN] 4.1  - Create a user for the container
[WARN] 5.25 - Restrict container from acquiring additional privileges
[WARN] 5.20 - Do not share the host's UTS namespace

Sorry if these are clear to everyone else :bulb:

Hi @siddharthist, so sorry for the late reply.
The tests are mapped against the CIS Docker 1.11.0 Benchmark, so for example test 1.10 is described on page 27 (1.10 Audit Docker files and directories - docker.service (Scored)). See https://benchmarks.cisecurity.org/tools2/docker/CIS_Docker_1.11.0_Benchmark_v1.0.0.pdf.
I hope that helps.

@konstruktoid Sure does :) might help to have a link to that page somewhere in the README!

It's mentioned in the first section in the https://github.com/docker/docker-bench-security/blob/master/README.md.

:facepalm: thanks @konstruktoid!


[Flake] pubsub/internal/subscription_session_test.cc failure

https://source.cloud.google.com/results/invocations/fdd37e63-ea70-46de-8f06-4fb62abde5e8
FAIL: //google/cloud/pubsub:internal_subscription_session_test (see /h/.cache/bazel/_bazel_kbuilder/a7ecd8237744645c5d189c197108d6d2/execroot/com_github_googleapis_google_cloud_cpp/bazel-out/k8-fastbuild/testlogs/google/cloud/pubsub/internal_subscription_session_test/test.log)
INFO: From Testing //google/cloud/pubsub:internal_subscription_session_test:
==================== Test output for //google/cloud/pubsub:internal_subscription_session_test:
Running main() from gmock_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from SubscriptionSessionTest
[ RUN      ] SubscriptionSessionTest.ScheduleCallbacks
google/cloud/pubsub/internal/subscription_session_test.cc:83: Failure
Expected equality of these values:
  "test-message-id-" + std::to_string(expected_message_id)
    Which is: "test-message-id-0"
  m.message_id()
    Which is: "test-message-id-1"
[  FAILED  ] SubscriptionSessionTest.ScheduleCallbacks (337 ms)
[ RUN      ] SubscriptionSessionTest.SequencedCallbacks
[       OK ] SubscriptionSessionTest.SequencedCallbacks (38 ms)
[----------] 2 tests from SubscriptionSessionTest (375 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (375 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SubscriptionSessionTest.ScheduleCallbacks

 1 FAILED TEST
================================================================================

I was able to repro this locally, about 5 failures every 1,000 runs.

I have a fix, it passed 10,000 runs without issues. PR incoming soon.


Update with adapter (V.1.1.1)

I check your examples (adapter and adapter2.coffee, diff ?) with version 1.1.1 and try to update a customer object with a similar code, but update never applies on screen (ok in DB, made before the call to "applyUpdates"). Have you any idea what i made false ? Delete is ok with the return of []. Thanks for you answer.
return vm.adapter.applyUpdates(function (item, scope) {
   if (item.pkItem === updatedItem.pkItem) {
     item =  updatedItem;
   }
 });

tested too : return updatedItem or return [updatedItem]

According to the documentation the updater function is supposed to return an array of items you want to be inserted in place of the item passed to it as a parameter. If the return value of the function is not an array, the original item stays where it was. You still can make changes to the item properties and they will be reflected in the content.
So to change your code:
return vm.adapter.applyUpdates(function (item, scope) {
   if (item.pkItem === updatedItem.pkItem) {
     return  [updatedItem];
   }
 });

or
return vm.adapter.applyUpdates(function (item, scope) {
   if (item.pkItem === updatedItem.pkItem) {
     item.something =  updatedItem.something;
   }
 });

Ok, I have tried your two solutions (thanks for that). It works the two, but It seems that there is a bug when updating the first item in the list and there is no DOM element above (with 0 or smaller index). The return of [updatedItem] delete temporarily the first index=1 entry ! After, if there is some DOM element above (but hidded), all is ok, i can update any entry. Can you confirm or infirm ?

Yea, I can confirm this is a bug. I fixed it in the latest commit. As a side note no matter what you using index based updates is difficult, because indexes of the items are not stable. It is much better to use the second version of applyUpdates where you can use your knowledge of what's the item to identify the one(s) you would like to update

Thanks for your answer. I try the last commit but I have the same issue (first entry not updated, but deleted). Why this is not V1.1.2 ? And why have you created a new bug issue for that ? Is this not yet corrected in last commit ? Otherwise, I don't understand why the second example is better ? When a user change N fields in view, we must loop on each property ("something") to update ? Sorry for all my questions !

I am somewhat confused about what exactly you are trying to do. Can you post a repro? either plunk or jsfiddle would do just fine.

I want only update some of fields of an object-entity in a row (perhaps "Créanciers" to "Créanciers2" and an amount of 150'800.00  to 150'900.00 for example). The view-update of fields is made with an popup dialog box called with the blue button at the right here :

The result : First row with idx=1 is deleted first time when I update with this code :
return vm.adapter.applyUpdates(function (item, scope) {
        if (item && item.pkEcriture === updatedItem.pkEcriture) {
          return [updatedItem];
        }
      });

I have too many dependences to made a simple plunkr for the moment. But, I will try.

When you return a new item, such item replaces the old one. Specifically, it is inserted after the old one and then the old one is deleted. This use case is covered by a unit test (see line 290 or line 1012 of ScrollerSpec.js for an example). If for some reason it does not work in your case, I cannot see a reason without more details.
An alternative would be not to replace the item at all. Just change the values on the existing item like in 1012 of ScrollerSpec.js;

Ok this work (solution 2) :
       return vm.adapter.applyUpdates(function (item, scope) {
        if (item && item.pkEcriture === updatedItem.pkEcriture) {
          for (var property in updatedItem) {
            if (updatedItem.hasOwnProperty(property) && (typeof updatedItem[property]) !== 'function') {
              item[property] = updatedItem[property];
            }
          }
          //return [updatedItem];
        }
      });

Thanks for your help

@jcstritt: That's good news. Thank you for your patience. I am still curious though why your original solution did not work. Any chance you can provide me with any additional information? Might be I am missing another bug here.
From the standpoint of the solution the one you have right now is a better one - because the actual item is not replaced, only its properties, it minimizes the churn of the DOM element updates

The second solution is a bit more verbose, but works well with my server data. I think there is still a bug with the first solution, but I have no more time to waste on tests. Thank you for everything.


Usage statistics

Hi. I am about to launch an unofficial Telegram client and I would love to know whether someone uses it to decide if it's reasonable to continue development. Is there a way to see how many people are connecting to servers with my api_id? I REALLY don't want to use third party services like Google Analytics because of concerns about privacy of Telegram users.

There is no such statistics yet, but it is a good idea to add such statistics in the future.


App crash log

Im sorry I didn't know there was a format to it. Could you please tell me
where to find it? It was my first time experiencing a crash. I didn't know
what to do.
On Sat, 28 Dec 2024, 10:08 pm Norsze, @.***> wrote:

This is a whole lot of nothing, why did you not follow the template? This
is useless without context.
—
Reply to this email directly, view it on GitHub
https://github.com/mihonapp/mihon/issues/1610#issuecomment-2564376154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4I6T5ATDAWF3F2LN6LSKFD2H3HX3AVCNFSM6AAAAABUJ4375WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRUGM3TMMJVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closing as invalid issue request
From the crash logs, seems like it's your device's/OS's own issue where it killed the app prematurely, nothing we can do about it.
Also, for crash logs (which it says in the crash screen), send it to the Mihon Discord support channel instead for quick troubleshooting/discussion first.


Requirements.txt causing error

When I try to run pip install -r requirements.txt I get an error. If I install mesa by hand (pip install mesa) in stead of from github, it works.
I am on Windows.

I wouldn’t recommend installing everything via the requirements.txt file.
Also, the current Pypi Mesa package is not the most updated. For best
results, install Mesa directly from GitHub. I built this mode using the
GitHub version of Mesa.
MB
On Wed, Apr 8, 2020 at 17:51 Karl Damkjær Hansen<EMAIL_ADDRESS>wrote:

When I try to run pip install -r requirements.txt I get an error. If I
install mesa by hand (pip install mesa) in stead of from github, it works.
I am on Windows.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/metalcorebear/COVID-Agent-Based-Model/issues/3, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKPBAVQ7QZ3AAKY2IMB5NYDRLUEY7ANCNFSM4MEKB4DA
.

--
Mark M. Bailey

Thank you. I got in trouble with the old mesa right away.
My trouble was not mesa as it turns out. I was because the requirements.txt specifies ==3.1.1 for matplotlib. That did not exist (for Windows 64 bit at least). Changing it to >=3.1.1 fixes the install issue.


In dashboard some module section did not show up

I can't upload whole result data because of the NDA. But it was my experience, so AutoRAG team can reproduce.

The dashboard have no problem,
There was no retrieval node line at trial summary df.
Why? I don't know. I can't reproduce it.


fix: document WasmEdge version dependency

Closes #145. I copied the callout syntax from another page of ours, and maybe it's specific to Docusaurus because it doesn't display as a callout box with regular Markdown?

Hmm this is a bit weird to me just blurted out like that.
We have this in the "Reactr ❤ WebAssembly" page:

By default, Reactr uses the Wasmer runtime internally, but supports the Wasmtime runtime as well. Pass -tags wasmtime to any go command to use Wasmtime. Wasmtime is not yet supported on ARM.

Could we perhaps move that side note into the main page / install instructions? Then this dependency would make a lot more sense IMO.

Hmm this is a bit weird to me just blurted out like that.
We have this in the "Reactr ❤ WebAssembly" page:

By default, Reactr uses the Wasmer runtime internally, but supports the Wasmtime runtime as well. Pass -tags wasmtime to any go command to use Wasmtime. Wasmtime is not yet supported on ARM.

Could we perhaps move that side note into the main page / install instructions? Then this dependency would make a lot more sense IMO.

Isn't this the install page for Reactr?

Could we perhaps move that side note into the main page / install instructions? Then this dependency would make a lot more sense IMO.

Isn't this the install page for Reactr?

I meant, could we move the bit I quoted from the Reactor <3 WebAssembly page into the one you edited in this PR to give the note you added more context?
As Reactr can be used with any number of engine backends, and WasmEdge isn't even the default one, that would add more context (if you do want to use WasmEdge you need to explicitly say so -- and in that case you should use a specific version of it).

Could we perhaps move that side note into the main page / install instructions? Then this dependency would make a lot more sense IMO.

Isn't this the install page for Reactr?

I meant, could we move the bit I quoted from the Reactor <3 WebAssembly page into the one you edited in this PR to give the note you added more context?
As Reactr can be used with any number of engine backends, and WasmEdge isn't even the default one, that would add more context ("if you do want to use WasmEdge you need to explicitly say so -- and in that case you should use a specific version of it").

Gotcha! Yep, that makes total sense!

Closing due to the impending deprecation of Reactr.


Specify umi_skip for read1/read2 or index1/index2?

Hello,
It would be convenient if there were a way to specify distinct umi_skip values for read1/read2 or index1/index2. This might be achieved in a similar way as trim_front1 and trim_front2 are specified (e.g. umi_skip1 and umi_skip2).
Thanks for the fast and useful tool you've produced for the community!

Will support it in next version.


Update README.md

hey! if you liked my work plz give me a follow..

hey! if you liked my work plz give me a follow..

Did you change something? I’m new to this, and this is a project for a bootcamp class.


Filter is not working

Hi,
I was looking on https://analytics.home-assistant.io/integrations/ for a specific intergration ("Alert") but the search bar don't work.

It works, maybe you have blocked javascript in your browser

Yep. Tried 3 devices, all the same result. Now it's filtering again!


supported platforms

Hi, I tried playing this in the browser with my Oculus, but it didn't work. Is it supposed to work for Oculus and Vive? The project isn't found under the Rift and Vive tags over on the experiments.withgoogle website so I think I already know the answer, but wanted to verify.
EDIT: to give more info, it loads fine in the Rift, but I have no access to any controls. I can look around normally, but the Touch, Remote, nor the Xbox controller seem to be able to be used for menu selection

What browser are you using? It should work on Chromium. But stable Chrome does not support Desktop VR yet. You may also need to press a button on the controller to have it recognized.

I did try it on Chrome, but switched to Firefox when I realized Chrome didn't support WebVR (same as Desktop VR?). That didn't work either. Let me try Chromium and get back to you.

Chrome supports WebVR for Android devices on Cardboard and Daydream.
Desktop support for WebVR is not ready yet.
Firefox should work. And Chromium should work too, although again it's
experimental and unstable again.
On Thu, Sep 7, 2017 at 9:30 AM, Josh Hooton<EMAIL_ADDRESS>wrote:

I did try it on Chrome, but switched to Firefox when I realized Chrome
didn't support WebVR (same as Desktop VR?). That didn't work either. Let me
try Chromium and get back to you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlecreativelab/inside-music/issues/3#issuecomment-327799243,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQWYlTOXwE9L67bw8qzBkkRoVDqETPK_ks5sf--YgaJpZM4PPCLl
.

--
Ryan Burke |  Creative Producer, Creative Lab |<EMAIL_ADDRESS>|
914-450-3116

Are you using the Oculus Touch controls? or are you using the xbox controller?

Haven't had a chance yet to try Chromium.
@hapticdata I tried both the Oculus Touch controls and the Remote, as well as the Xbox controller. Work perfectly fine in other apps, but was not getting any response within the WebVR app.

Does not appear to have any interaction controls for Windows Mixed Reality Headsets in Microsoft Edge either

Hi! We're trying to feature this in @supermedium. Same issue, it presents OK, but no controllers show up. Can we just add <a-entity laser-controls="hand: right"> and <a-entity laser-controls="hand: left">?


Feedback Button

Feedback Button On iOS And macOS.

Completed In Release: v1.1.1
Commit: https://github.com/markydoodled/Stream.it/commit/9e07bb4ba24404310d27d7631aa6a183fe4ced99


Add datable

Questions
Answers

Description?
Add datable, to find easy the oldest release

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes

How to test?

Possible impacts?

Tested on my localhost

Thank you @okom3pom and sorry for the late approval & test

No problem


VCS tool 0.1.35 failing for svn repos

I'm trying to checkout svn repos with vcs tool 0.1.35 and they're failing with the error:
Invocation of command 'import' on client 'svn' failed: TypeError: %d format: a number is required, not str (C:\Python36\lib\site-packages\vcstool\clients\svn.py:128)

The same repos file works fine with vcstool 0.1.29

I don't see any related changes between these two releases. Can you please share a reproducible example to figure out why it has changed for you.

It doesn't seem to have problems on linux, but on windows with version 0.1.35 it will have the problem on this repos file.
repositories:
  stuff:
    type: svn
    url: https://svn.eionet.europa.eu/repositories/airquality/

Hm , that looks weird. If the entry doesn't have a version key I would expect the version field in the ImportCommand to be None: https://github.com/dirk-thomas/vcstool/blob/b6d5f5f2e7be6519d23420e8f677dbdae0f58839/vcstool/commands/import_.py#L141-L144). And if the version is None the line of code the TypeError is happening shouldn't even be used due to the condition it is being wrapped in (see https://github.com/dirk-thomas/vcstool/blob/b6d5f5f2e7be6519d23420e8f677dbdae0f58839/vcstool/clients/svn.py#L127-L128).
Maybe you can add some debug statement before that line and report what type and value command.version is on your case.
You can also try the following patch (https://github.com/dirk-thomas/vcstool/commit/e3c95ab2218f18c0f61bcb08502db4578cf91e17) and see if it helps.

It seems that my example was invalid. Here is a better one.
repositories:
  stuff:
    type: svn
    url: https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco
    version: HEAD

Sorry for that. The trick here is that the version is always parsed as a string, even if it is an integer, so the print statement trying to print is a number will always fail.

Thanks for clarifying. That example makes sense.

What are the chances of getting a release for these changes? It would just be nice to install them from pypi.

Absolutely. :ship: 0.1.36


Soft-reactivate users on password reset emails or failed logins

b4feb673f1da503583899a7ee1a41952240c70d2 and a8fd9eb7010d572be8129fe244729865a730a87d started soft-reactivating users when we sent them PMs, which is great for the user experience.
We should expand this to soft-reactivate users on password reset requests and "find my accounts" emails, which are other good signals that the user is about to log back in.
We could potentially consider a stronger form of this, where we soft-reactivate on failed password auth attempts, which generally come before the password reset request.  I'm a little worried that would be overzealous, though.

cc @PIG208, if you're so inclined

@zulipbot claim


Strange intrinsic name "round_to_even"

The intrinsic name round_to_even sounds strange. I assume that this is the usual "round to the nearest integer, break ties towards even numbers". However, the name of the intrinsic reads as if it always rounded towards the nearest even number, i.e. as if it never returned an odd number.

We followed the naming from the R programming language. Cf. https://cran.r-project.org/doc/manuals/r-release/fullrefman.pdf, page 459. Maybe this was a bad idea. What name do you suggest?

Page 459 of this document refers to the round function; I don't see a round_to_even in the document.
I would have called it round_to_nearest or round_ieee.
I also found this, which lists names used in other languages. It seems that they mostly call it either just round or round_even.


Set as Information Tile

The Arkansas Team would like the ability to create "information" tiles that link to external URLs that site visitors can click on to get additional information about programs and services. There would be a flag in the program details screen called "set as information tile," much like the "set program as pre-screener." Information tiles would be a different color than program tiles (maybe 6EA9DB / rgb(110,169,219) this is the TSS emblem shade of blue. I'm not married to that though) and would be pushed to the bottom of the main program tile page. Instead of an "apply" button, there would be a "Learn More" button on the tile which opens the URL in a new window that is entered in the link to program website field on the program details screen.
There is an example set up in staging called MyARServices, https://civiform-staging.ar.gov/admin/programs/151/edit.  We'd like to use this as an additional method to cross link between Civiform, our ARData pages and other arkansas.gov informational pages.
What would be the turn around on something like this?
Leslie

@lftaylor2023 We're prioritizing work around program discoverability in Q4 and will follow up with you on incorporating this into that work.


Swag tries to parse normal comment

Describe the bug
I have a comment //TODO: do something before a variable and now swag does not want to generate the doc anymore.
To Reproduce
Steps to reproduce the behavior:

Create a file
Write something like:

//TODO: do something later
bla := "foo"

Run swag init

Expected behavior
Swag should ignore this comment because I use this to remind myself later where I need to do something.


Sync eng/common directory with azure-sdk-tools for PR 850

Sync eng/common directory with azure-sdk-tools for PR 850

Can one of the admins verify this patch?

/azp run java - appconfiguration - tests

/azp run java - smoke-tests


update to app router

Updating to app router
Overview
Fixes

Changed the value for the invite link (you don't invite with the bot token, but the application ID)
Fixed way .env variables were read so everything registers properly
Changed the way REGISTER_COMMANDS_KEY was read as it was not being read properly from req.query via NextApiRequest

Utils

tsconfig.json

added @@ as an alias for imports from the /src directory.
changes to update next compatibility

Root route

index.tsx -> layout.tsx

[+] page.tsx
[-] _app.tsx
[-] _document.tsx

API routes

each folder structure to end with a route.ts
all routes return a Response or NextResponse as required in all branches of your handler

@clxrityy Thanks for this will definitely make use of this, will test it before merging.
Also if you are currently using the template it can only run on aws for now, consider using this one that runs on vercel (can run on edge for no cold boot) for free. wasn't aware of it just a week ago.
https://github.com/jzxhuang/nextjs-discord-bot


Get rid of custom charts

Aptomi should not use any custom charts in examples. Rely on external ones (e.g. Mirantis)

done


Fixing markdown (hash) link

Fixing markdown (hash) link

Thanks for the PR!

Another thing I've just noticed, but didn't have the time to edit and PR, is the Improve this doc link`
on the Installation page. It leads to a 404.

Just fixed. It's not live now, but we'll deploy in a bit


Change project structure

The root folder of the repo is becoming quite messy. We should restructure it to place the solution and all actual code inside a src directory, and any other files/tools in other folders next to it.
This will also make it a bit easier to fix #228.

Implemented in #231.


Test suite and and NullL1 cleanup

Coverage remained the same at 100.0% when pulling 370928960dfc5ade15aafe057202d91e01768794 on refine-null-l1 into d38ada26ee8e5522b7b7840d47476a3c3d5d58f3 on master.


Puppeteer timeout on purchase

Describe the bug

No games are successfully redeemed. Every attempt yields a generic 500 error page on Epic
Screenshots or Logs

DEBUG: Launching a new page
INFO: Loading purchase page
purchaseUrl: ...
WARN: Timeout exceeded while waiting for event
err: {
"type": "TimeoutError",
"message": "Timeout exceeded while waiting for event",
       "stack":
TimeoutError: Timeout exceeded while waiting for event
at Timeout.<anonymous> (/usr/app/node_modules/puppeteer/src/common/util.ts:154:9)
at listOnTimeout (node:internal/timers:564:17)
at processTimers (node:internal/timers:507:7)
"name": "TimeoutError"
}

Additional context
This has been happening for a few weeks now

I am fencing the same troubles. Maybe as an addition, info:

Since today I need to captcha verify my login. I get a notification, open the page and verify the captcha.
Immediatly the 2fa code is entered by the container. Sometimes the page stops there, sometimes I see the epic page and then the container stops to server the browser
In the logs it checks for free games and I get an error (see below)
After that it jumps to my second account and in the logs it seems that everything is fine
As soon as I get the link to enter the purchase captcha I get the exact same error page as described in the ticket (but without any warnings or errors in the log)

The error message:
2023-02-01T20:14:52.367391761Z [2023-02-01 21:14:51.913 +0100] WARN: Failed to lookup weekly free games 2023-02-01T20:14:52.367448023Z     user<EMAIL_ADDRESS>2023-02-01T20:14:52.367460586Z     err: { 2023-02-01T20:14:52.367471697Z       "type": "Error", 2023-02-01T20:14:52.367482951Z       "message": "Execution context was destroyed, most likely because of a navigation.", 2023-02-01T20:14:52.367494619Z       "stack": 2023-02-01T20:14:52.367505513Z           Error: Execution context was destroyed, most likely because of a navigation. 2023-02-01T20:14:52.367516750Z               at rewriteError (/usr/app/node_modules/puppeteer/src/common/ExecutionContext.ts:342:15) 2023-02-01T20:14:52.367528678Z               at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-02-01T20:14:52.367541025Z               at ExecutionContext._ExecutionContext_evaluate (/usr/app/node_modules/puppeteer/src/common/ExecutionContext.ts:277:7) 2023-02-01T20:14:52.367552798Z               at ExecutionContext.evaluate (/usr/app/node_modules/puppeteer/src/common/ExecutionContext.ts:145:12) 2023-02-01T20:14:52.367564122Z               at PuppetFreeGames.request (/usr/app/src/puppet/free-games.ts:41:18) 2023-02-01T20:14:52.367575485Z               at PuppetFreeGames.getWeeklyFreeGames (/usr/app/src/puppet/free-games.ts:143:18) 2023-02-01T20:14:52.367586703Z               at PuppetFreeGames.getAllFreeGames (/usr/app/src/puppet/free-games.ts:378:27) 2023-02-01T20:14:52.367597929Z               at redeemAccount (/usr/app/src/index.ts:35:20) 2023-02-01T20:14:52.367609050Z               at run (/usr/app/node_modules/p-queue/dist/index.js:163:29) 2023-02-01T20:14:52.367620507Z     }

I had this issue for weeks, I fixed it by just logging in via normal web browser and confirming the birthday.

I had this issue for weeks, I fixed it by just logging in via normal web browser and confirming the birthday.

Confirmed this was the fix, thanks! Generated a TOTP using private key from my config to log in


Merge master as of v2.9.0 into master-3.0

The only interesting change should be in the change log, where I replicated the entries from v2.9.0 that were new since v3.0.0-beta into the unreleased section. The only conflicts were in dependencies.list and the Realm framework's Info.plist, and both were resolved by keeping the version from master-3.0.

My intention was for each of the 3.0.0-beta change log entries to contain information about the changes that are new in that release compared to the release on which it was based (i.e., v3.0.0-beta2's section mentions changes from v3.0.0-beta, even if they were present in v2.9.0). When we go to make our final 3.0.0 release, we'd have entries that summarize all changes that are new in the 3.0 release vs the most recent 2.x release.


onCreateChildViewHolder called everytime a parent is expanded

We have noticed that ChildViewHolder can be reused for different parents since onCreateChildViewHolder method is not always called when a parent is expanded.
Is there a way to create a new ChildViewHolder and bind it with his parent everytime you expand a parent? So you have 1 ChildViewHolder for one specific parent?
Right now, we have certain input fields (EditText) inside our ChildViewHolder that is specific to the parent and needs to be stored individually. Is there an alternative solution for this problem?
Thanks in advance!

@CChenGfi This is possible, but it goes against some of the optimizations of recyclerview.
What you will want to do is override getChildViewType and return a unique integer for each position, according to the different children types you have. Make sure not to return TYPE_PARENT or TYPE_CHILD since those are used already (0 and 1)


Update README.md

I've updated the link to the k3s webpage to the proper link.

Hi Nick
Thanks for your contribution.
This issue with the k3s url link was in other parts of the documentation (copy & paste issue). Already solved in the dev branch I was preparing to merge to the master with other updates in the documentation.
Duplicated of PR #62


(chores) minor cleanups to test CI changes (scenario 3)

Scenario 3: aws + core.

Components tested:
Total 	Tested 	Failed ❌ 	Passed ✅
1 	1 	1 	1

Good to merge. Core tests are flaky.


Stranger thing

The following error happens to me: it prints fine and after a while I sometimes printed strange characters ... watch the picture
https://ibb.co/SK1FrS3

Here you go, your image:

Sounds like is something messing up with the image bytes buffer. See how it kind of started to print the same picture twice, without finishing it up first?
Do you have concurrent threads that send bytes to the same printer?

Kind of looks like the printer didn't receive the bytes correctly or overflowed the buffer.  I saw this type of printing happen a lot when I was printing the image.  Does the large images test pass successfully on this printer?  What about if you add 2x or 3x the # of images?

Ok, I'll try again with a simpler image and share the results with you.

Thank you by the support. Now it works like a charm.


Efficient browser upload

When implementing streaming HTTP uploads of known size, the fastest performance I have achieved has been with the header "Content-Type: application/octet-stream", because it takes away the client and server responsibility to cipher the stream.
application/octet posts can be simulated using curl.
Here's the curl flag to do large post with Content-Type: application/octet-stream type:
  man curl:
   --data-binary <data>
          (HTTP)  This  posts data exactly as specified with no extra pro‐
          cessing whatsoever.

          If you start the data with the letter @, the rest  should  be  a
          filename.   Data  is  posted  in  a similar manner as -d, --data
          does, except that newlines and carriage  returns  are  preserved
          and conversions are never done.

Here's a whole example:
  curl -v -H "filename: $filename" \
          -H "Content-Type: application/octet-stream" \
          --data-binary @$filename -X POST $url

With context, coded against a python server:

https://github.com/hugapi/hug/issues/474

XMLHttpRequest in modern browsers have the ability to send application/octet-stream requests.  Here is an example:

https://gist.github.com/inemtsev/a45daa46fbdcdd6f80a65eed693a0689

Does this hold with binary/octet-stream as well?
Boto3 already uses this as its default content type:
https://github.com/boto/boto3/issues/548#issuecomment-296861474

Yes binary/octet-stream is synonymous with application/octet.

I played with this code quite a bit yesterday.  My original suggestion was about the browser to server connection bandwidth.  However, in your code base, the far bigger issue is the server to S3 connection bandwidth.
It is admirable of you to try to stream straight to S3 without making any temporary files at all.  However, in practice fast uploads to S3 can be difficult, especially trying to stream end to end.
I'm working on concrete recommendations for the tighter bottleneck.

Thanks. For the direct url upload, I've added an application/octet header for smart_open when opening the source URL.

I played with this code quite a bit yesterday. My original suggestion was about the browser to server connection bandwidth. However, in your code base, the far bigger issue is the server to S3 connection bandwidth.
It is admirable of you to try to stream straight to S3 without making any temporary files at all. However, in practice fast uploads to S3 can be difficult, especially trying to stream end to end.
I'm working on concrete recommendations for the tighter bottleneck.

Hi @jeffhhk, we may need to be mindful of the global architecture here: remember that the  production server runs on EC2 which ought to have a privileged connection to S3.  When running the code in development mode on one's own machine, does however mean that the server-S3 connection will be much relatively slower than the local file directory-> browser -> (local) server connection.  The opposite is likely true of the production system running on EC2: the server-S3 connection will trump the user machine->(remote) server connection.   From my experience, years ago, the AWS internal network between various AWS components is blazingly fast. The mainstream internet, not so much so.
The primary bottleneck in community use is more likely to be the segment of the upload flow from user machine to EC2 server, and less, the EC2 server to S3 bucket. Injecting a temporary file on the server to catch the file, is not likely going to help a great deal.
That said, in a fashion, the existing code base (or at least, some of its 3rd party libraries) are very much already playing the "local temp file" card (or facsimile thereof, in memory streaming using BytesIO file objects).
Kenneth and I were taking a closer look at this yesterday, wondering how to improve upon the situation. Jury still out. Our review, however, mainly focused on improving the efficiency the post-processing (tar.gz archiving) step.
One last point I'd make at this time is that we should remember our degrees of freedom: we are developing KGE as an AWS application. Therefore, maybe we need to ponder what kind of EC2 instance configuration will get us where we want to go.  For example, there are memory optimized instances that also have NVMe SSD drives attached.  Maybe we could leverage that in some manner to enhance performance for large files.

Disregard this comment of mine: "the far bigger issue is the server to S3 connection bandwidth."  I made a mistake when I set up some of the measurements I did.
The original suggestion to use application/octet aka binary/octet-stream still stands.  However, my estimate of its benefit has reduced. Having experimented with the code, I estimate it would improve performance in the rage of 25%.  (Previous to experimenting, I was guessing that the potential improvement was much larger.)


Plans for lighter / LGPL version?

Hello, I really like your application and would like to include it in a project. However I only release MIT / BSD licensed code, so can only use stuff with similar or dynamically linked with LGPL licenses.
I was curious if you perchance had a lighter version of its core functionally that you may be releasing in the future that is more friendly licensed?
Thanks for the great program either way!

I received a similar request when I first released this program. At that time I dismissed it because of 2 reasons:

It didn't make sense to me to want a lighter license for a standalone application (as opposed to a library).
PyQt5 was licensed under GPLv3 so I chose it as the safest option and didn't think much of it.

The second point was dealt with now that you can choose to use PySide2 instead (which is LGPL).
But regarding the first point... If I understand licensing correctly, if you just want to use the program or redistribute it as is then there's no issue (since whatever you'd be doing wouldn't really be a derivative work). But I assume you're asking because you want to modify it or use the code in some other way? I don't have a problem with that, but I can see how the license may deter you.
I wouldn't have much of an issue re-licensing the project if it was fully mine, but it isn't -- I'd have to ask the people who have contributed to it, who may or may not agree (or even reply).
So, before bothering them, it'd be great if you could explain how GPLv3 restricts you in your case. I tried looking up some info about legal implications of using GPLv3 standalone applications in projects and couldn't find anything concrete, seemed legally wishy-washy. But it sure made me feel a glimpse of pain that this infamous license inflicts on people.

I actually don't want to modify it, however the program the I am working on will be compiled into a binary file. From what I understand (not anything close to a lawyer) that by merely including it and using it as part of the bundle would force it into a GPL license. So I am actually right there with you on having to use PySide2 over PyQT and allowing it to be overwritten (dynamically linked).

I noticed the relevant project in your profile mere seconds before you responded, so now I have some context.
I would like to consider such use case not a derivative work since you'd be using the program for my intended purpose, but that's not how licenses work. I guess the only option is re-licensing.
Tomorrow I'll put together a pull request with the necessary changes and ask the contributors for permission before merging. Thankfully there are only two of them but one doesn't seem to be active on GitHub. So we'll see how it goes.

That would be amazing! It might also be possible to build cutelog it into it's own executable so it's not reliant upon the compiled python version?
Just to show where I planning to use it:  https://github.com/cdgriffith/FastFlix/tree/develop#fastflix  (can test and see it's current pathetic log viewer window under the 'help' section https://ci.appveyor.com/project/cdgriffith/fastflix/builds/24308550/artifacts)

The license has successfully been changed to MIT.


Provide a good visualization for "inner product" scans.

A plan like:
scan([det], motor1, -1, 1, motor2, -10, 10,3)

scans motors together in a coordinated motion. Notice that this is distinct from grid_scan because the both motors move through each step, along a diagonal. Example:
In [6]: RE(scan([det], motor1, -1, 1, motor2, -10, 10,3), LiveTable(["det", "motor1", "motor2"]))

+-----------+------------+------------+------------+------------+
|   seq_num |       time |        det |     motor1 |     motor2 |
+-----------+------------+------------+------------+------------+
|         1 | 15:57:58.6 |      1.000 |     -1.000 |    -10.000 |
|         2 | 15:57:58.6 |      1.000 |      0.000 |      0.000 |
|         3 | 15:57:58.7 |      1.000 |      1.000 |     10.000 |
+-----------+------------+------------+------------+------------+

We do not have a good visualization for this yet. The status quo, BestEffortCallback, just plots against the first motor and ignores the second motor:

We could do something like this matplotlib example

A nice feature of this is, it would be extend to three or four (or more) motors, not just two. Other relevant examples:

https://matplotlib.org/3.1.0/gallery/subplots_axes_and_figures/secondary_axis.html
https://matplotlib.org/gallery/api/two_scales.html

As we implement other plotting frameworks, I would guess that this is a feature that not all of them may have, so we'll want to add this with an eye toward gracefully degrading when a view is incompatible.
Are there other, better approaches? I have the impression that visualization gurus dislike secondary axes though I have not absorbed exactly why that is.

It seems we are agree that this type of plot is the way to go. The next question is, what is the best matplotlib API to implement this? It looks like there are at least three ways to do it:

Axes.twinx:  as illustrated in https://matplotlib.org/3.1.1/gallery/ticks_and_spines/multiple_yaxis_with_spines.html and https://matplotlib.org/gallery/api/two_scales.html
Axes.secondary_yaxis  as illustrated in https://matplotlib.org/3.1.0/gallery/subplots_axes_and_figures/secondary_axis.html

It seems that twinx allows you to overlay completely different data coordinates onto the same screen area, whereas secondary_yaxis is providing a transformed scale viewing the same underlying data. The layer feels like a truer expression of what we want to do here, and therefore less prone to unexpected behavior. @tacaswell Can you confirm or refute my reading?

ax.twinx is the correct API to go with here, however I am lost in the pronouns in the last paragraph a have managed to understanding as advocating for either approach which makes confirmation or refutation difficult (or maybe easy as I will do both!) ;)
secondary_yaxis is for things like "I want to put both F and C scales on this data", that is the same data, just with different labels.  In general the detectors and many motors are not going to have a linear relationship to each other so it is not really amenable to this.
twinx is "I have a shared x, but completely unrelated y".  In this case we can pick any of {moving motors, time} to put on the x and the freely plot as many things in the y-direction as we want and scale them all to "fill" the y space in Axes space.

Great, thanks. We are in agreement then. I notice that there are yet another formulation that is semantically ax.twinx but spelled in more OO fashion that will fit more easily into bluesky-widgets. The key piece is:
from mpl_toolkits.axisartist.parasite_axes import HostAxes, ParasiteAxes
import matplotlib.pyplot as plt

fig = plt.figure()

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharex=host)
par2 = ParasiteAxes(host, sharex=host)
host.parasites.append(par1)
host.parasites.append(par2)

host.set_ylabel("Density")
host.set_xlabel("Distance")

...

resulting in

I think that we will need corresponding HostAxes and ParasiteAxes models in bluesky_widgets.models.plot_specs, probably either subclassing the Axes model in that module or using some shared base class that we pull out the bottom of Axes.

Great, thanks. We are in agreement then. I notice that there are yet another formulation that is semantically ax.twinx but spelled in more OO fashion that will fit more easily into bluesky-widgets. The key piece is:
from mpl_toolkits.axisartist.parasite_axes import HostAxes, ParasiteAxes
import matplotlib.pyplot as plt

fig = plt.figure()

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharex=host)
par2 = ParasiteAxes(host, sharex=host)
host.parasites.append(par1)
host.parasites.append(par2)

host.set_ylabel("Density")
host.set_xlabel("Distance")

...

resulting in

I think that we will need corresponding HostAxes and ParasiteAxes models in bluesky_widgets.models.plot_specs, probably either subclassing the Axes model in that module or using some shared base class that we pull out the bottom of Axes.

I have something functional started (https://github.com/bluesky/bluesky-widgets/compare/master...bsobhani:parasite_axes) but there are still a couple of issues I need to look into.
The main problem is I am having trouble getting the parasite axes to fit to the width of the window. For example, when I run the following example code,
https://matplotlib.org/3.1.1/gallery/axisartist/demo_parasite_axes.html
if I try shrinking the width of the screen I see the parasite axes gradually disappear.
And of course the same thing happens when I add Host/Parasite axes to bluesky-widgets. Here is what the problem looks like in bluesky-widgets:
Parasite axes are cut off:

But if I stretch the window enough horizontally the parasite axes are no longer cut off:

I will look into this some more.

I have something functional started (https://github.com/bluesky/bluesky-widgets/compare/master...bsobhani:parasite_axes) but there are still a couple of issues I need to look into.
The main problem is I am having trouble getting the parasite axes to fit to the width of the window. For example, when I run the following example code,
https://matplotlib.org/3.1.1/gallery/axisartist/demo_parasite_axes.html
if I try shrinking the width of the screen I see the parasite axes gradually disappear.
And of course the same thing happens when I add Host/Parasite axes to bluesky-widgets. Here is what the problem looks like in bluesky-widgets:
Parasite axes are cut off:

But if I stretch the window enough horizontally the parasite axes are no longer cut off:

I will look into this some more.

I rewrote it to use twinx instead of the HostAxes and ParasiteAxes classes because the problem is much less pronounced with twinx, although the spacing of the axes could still be better.
Another thing is right now I am using random colors for for the axes because getting the color cycler to work with twinx looks like it may be a little bit involved.
I still have some questions about how we plan on incorporating this subclass of MatplotlibAxes into QtFigure (I can think of a couple of approaches), but I will go ahead and make the pull request.

I rewrote it to use twinx instead of the HostAxes and ParasiteAxes classes because the problem is much less pronounced with twinx, although the spacing of the axes could still be better.
Another thing is right now I am using random colors for for the axes because getting the color cycler to work with twinx looks like it may be a little bit involved.
I still have some questions about how we plan on incorporating this subclass of MatplotlibAxes into QtFigure (I can think of a couple of approaches), but I will go ahead and make the pull request.

I am open to suggestions about how we should specify which class the figure should use. A couple of ways I can think of are: 1) Specifying the class type (MatplotlibAxes or MatplotlibHostParasiteAxes) in the constructor of QtFigure, or 2) Making a subclass of QtFigure called QtFigureParasite.

I am open to suggestions about how we should specify which class the figure should use. A couple of ways I can think of are: 1) Specifying the class type (MatplotlibAxes or MatplotlibHostParasiteAxes) in the constructor of QtFigure, or 2) Making a subclass of QtFigure called QtFigureParasite.


Update build number in meta.yaml

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Oh, I just realized that this PR hasn't been merged yet! I think we can close it because the updated version supporting osx-arm64 has in the meantime been created anyhow, and it is available at https://anaconda.org/conda-forge/streamtracer/ now.


Command updates only homebrew formula.

To re-create formulas after building packages.

Commit 91293fa4e3c99829acd2b059839bd9b62e3d32cb implements this feature.


Running meteor locally, loading settings from mup.json

I used mup for deploying a project, and it worked great!
We wanted to load the same "env" from mup.json when running meteor locally, since many of the env variables were the same (only changing a couple of them).  I created a bash script that accomplishes this, parsing out the env variables from mup.json using the "cjson" node module, and export each var in bash before starting app with "mrt".
I was thinking about publishing the script in npm (to provide a simple way to use the env properties from mup.json) to run meteor locally.  Do you have a plan to incorporate this sort of functionality in "meteor-up"? If so, would you prefer a pull request to have it included in "meteor-up"? Or should I keep it as a separate module and publish it separately?
Thank you,
Nick

Hi friends.
I m new to Meteor. I just bought the Meteor Book. I m trying to deploy my application on Digital Ocean.
I m having trouble with the error.
"ssh: Could not resolve hostname hostname: nodename nor servname provided, or not known"
Below is my code.
{
// Server authentication info
"servers": [
{
"host": "FirstProject",
"username": "root",
"password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.33 by default. Do not use v, only version number.
"nodeVersion": "0.10.33",
// Install PhantomJS in the server
"setupPhantom": true,
// Application name (No spaces)
"appName": "meteor",
// Location of app (local directory)
"app": "/Users/user/microscope",
// Configure environment
"env": {
"ROOT_URL": "http://myapp.com"
},
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 15
}
This is my exact code except that I have removed the password.
Is there any changes that I should do?
Thank you very much.

Any word on the script to run locally using the env-vars from mup.json and settings from settings.json?