REST API to push external sources

Hi there,
would be nice to have a simple REST API where I can push text from external sources.
For instance I have a large source of documents coming from Youtube captions, Whisper conversations (from audio) and you get the idea.
Would like to see also a basic capability to tag the source so I know where it was coming from: a URL and a list of tags at least.
Cheers!

Seems related to this issue .

Hey, thanks for your PR! To every batch of documents, you can assign a document type tag, these are the ones that will be displayed on the UI when retrieving the chunks. The SimpleReader supports reading in JSON files that are specifically designed for Verba data structure (I should definitely add these information to the README).
 Let me know if you have any feedback on this

Amazing, can you also make examples on using timestamp, path, meta ?
Can I use chunks if I have pre chunked the text with another model? But what format should I use ?


fix: Move optical alignment file to proper place

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

It seems odd to add that  "-- When the "Wrong" Spacing Looks Right" in the title.

@RandellDawson Check the deleted file, I'm not changing the content of any file, I've just moved the file since it belonged to a topic of typography but was outside the folder. I'm going ahead and removing that


Finalize navbar links on open and make Navbar position fixed (on top it opens but in bottom it breaks)

Working on it


Change maintainer username from @astrofrog-conda-forge to @astrofrog

This is to update my username from @astrofrog-conda-forge to @astrofrog - I used to have a separate username back when being a member of any conda-forge repository meant that I saw all conda-forge repositories on Travis CI but this is no longer relevant.
@conda-forge-admin please rerender

@mwcraig - any idea what is going on with the failed builds here?

No idea -- I'm planning to look in the morning

Best guess is that jupyter-packaging is way out of date, and it sounds like I should switch to hatch: https://blog.jupyter.org/packaging-for-jupyter-in-2022-c7be64c38926
Will try in the morning locally, but fixing this might require a new release...

Updating jupyter-packaging fixed one thing but let to a bunch of other errors (typescript suddenly wants semicolons everywhere 🙄 ).
I'll try to get a build working over the weekend.

Root cause is an old version of typescript in package.json, new release coming soon that fixes that and updates the build system...


Error While Synthesizing audio for new Sentences

I wanted to use trained model obtained by running run_demo.sh/run_full_voice.sh for the purpose of synthesizing audio for new sentences.
I followed Issue #28 .
Towards doing above, i followed the steps mentioned in "Steps to follow above" (in #28 ) but while running merlin_synthesis.sh, i get following error :-
"2017-04-06 05:54:15,554 DEBUG param_generation: acoustic_decomposition for 1 files
2017-04-06 05:54:15,554 INFO param_generation: processing 1 of 1: /media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1/experiments/slt_arctic_demo/test_synthesis/wav/own_01.cmp
2017-04-06 05:54:15,554 DEBUG param_generation: feature: mgc
checking shape of features over here in generation ... (0, 180)
2017-04-06 05:54:15,554 DEBUG param_generation: starting MLParameterGeneration.generation
checking shape of features over here in generation ...***************
Traceback (most recent call last):
File "/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/src/run_merlin.py", line 1175, in
main_function(cfg)
File "/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/src/run_merlin.py", line 943, in main_function
generator.acoustic_decomposition(gen_file_list, cfg.cmp_dim, cfg.out_dimension_dict, cfg.file_extension_dict, var_file_dict, do_MLPG=cfg.do_MLPG, cfg=cfg)
File "/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/src/frontend/parameter_generation.py", line 161, in acoustic_decomposition
gen_features = mlpg_algo.generation(current_features, var, out_dimension_dict[feature_name]/3)
File "/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/src/frontend/mlpg_fast.py", line 122, in generation
var_frames[0, 1] =<PHONE_NUMBER>00;
IndexError: index 0 is out of bounds for axis 0 with size 0
Lock freed
"
I am attaching logs generated while running merlin_synthesis.py
command_line_logs.txt
I created a directory by the name of txt in path mentioned by ydwang above, and created a test file by the name of own_01.txt which has "Summer vacations has started." as a text in it.
Please help me with this issue, by letting me know what i am missing.
Thanks
Utkarsh Vaidya

have you check "/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1/experiments/slt_arctic_demo/test_synthesis/wav/own_01.cmp", is it empty ?

Hi Sebaistein,
Yes, own_01.cmp size is 0 bytes. It is empty.

" 2017-04-06 05:54:13,917 INFO           labels  : loaded /media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1/experiments/slt_arctic_demo/test_synthesis/gen-lab/own_01.lab,   0 labels
2017-04-06 05:54:13,917 DEBUG          labels  : made label matrix of 0 frames x 425 labels
WARNING: no silence found!
2017-04-06 05:54:13,917 DEBUG     acoustic_norm: MinMaxNormalisation created for feature dimension of 425
2017-04-06 05:54:13,917 INFO      acoustic_norm: Loaded min max values from the trained data for feature dimension of 425
2017-04-06 05:54:13,938 DEBUG          labels  : HTS-derived input feature dimension is 416 + 9 = 425
2017-04-06 05:54:13,938 INFO           main    : label dimension is 425
2017-04-06 05:54:13,938 INFO           main    : generating from DNN
2017-04-06 05:54:13,938 DEBUG    dnn_generation: Starting dnn_generation
2017-04-06 05:54:15,463 INFO     dnn_generation: generating    1 of    1: /media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1/experiments/slt_arctic_demo/acoustic_model/data/nn_no_silence_lab_norm_425/own_01.lab
2017-04-06 05:54:15,552 DEBUG    dnn_generation: saved to /media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1/experiments/slt_arctic_demo/test_synthesis/wav/own_01.cmp
2017-04-06 05:54:15,554 DEBUG          main    : denormalising generated output using method MVN "
own_01.lab created by using create_labels_from_text.sh is also empty.In the above log snippet info log is there showing that own_01.lab has zero labels.Is this from where problem got started ?
While running run_demo.sh, all the labels files that are their for training/testing data have non zero label count in their .lab files.

I think it is yes because if there is nothing in the .lab it can't go further. You should try to understand why the labels are empty

Thanks Sebaistein.
I went ahead to understand why .lab is empy. Reason for the same was
"dl_audio@dl-powerbox:/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/egs/slt_arctic/s1$ ./merlin_synthesis.sh
Step 1: creating label files from text...
creating a scheme file from text directory
***********************************check utt text output ******************************* {'own_01': 'Summer vacations have started.'}
generating utts from scheme file
converting festival utts to labels...
own_01
/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/misc/scripts/frontend/festival_utt_to_lab/make_labels: line 32: gawk: command not found
/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/misc/scripts/frontend/festival_utt_to_lab/make_labels: line 33: gawk: command not found
own_02
/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/misc/scripts/frontend/festival_utt_to_lab/make_labels: line 32: gawk: command not found
/media/dl_audio/hdd2/Utkarsh/tts_exp/merlin/misc/scripts/frontend/festival_utt_to_lab/make_labels: line 33: gawk: command not found
normalizing label files for merlin...
own_01.lab
"
gawk was missing, it is required by frontend for processing, when i installed (sudo apt-get install gawk). .lab files were no more empy and accordingly Index error went away.
Audio is getting synthesized for new sentences, but synthesized audio quality is bit bad, reason for same can be, i trained model using run_demo.sh and dataset size for demo is less. Now i am running run_full_voice.sh to train model then will check synthesized audio quality for new sentence.

With gawk installed, issue got fixed for me.
Closing this one here.
Thanks

hi friend,i met the erro
gawk:fatal:cannot  open file 'experiments/slt_arctic_demo'/test_synthesis/prompt-lab/tmp for reading
how to solve the problem, thanks


[EvolutionAbility] Some pokemon's abilities change upon evolution.

Describe the bug
Evolving Abra or Ralts the ability doesn't always stay the same. Sometimes evolving ralts with trace nature, it will become synchronize. Same thing goes for abra. When evolving sometimes abras ability went from inner focus to synchronize. Both on Beta and Live, same issue. Replicable but unable to find the reason for the issue. The issue was not contingent with Gender, level, nature, IVs, EVs, or moves. With 5 of the same pokemon with all the same stats, nature, moves, etc the issue only happened sometimes.
To Reproduce
2. Give yourself 5 Identical ralts
3. /trylevelevo them all
4. Check their stats summary and note the ability.
Expected behavior
The ability should stay consistent before and after evolution.
Screenshots
https://github.com/NebulaMC-GG/Bugs-and-Issues/assets/95523378/836694fb-860e-43fc-aba8-9cef8aff9b0c
Username:_Peyton_7
Server name: FunPolice (all applicable):

This is likely a Pixelmon bug, you should confirm if it happens in base Pixelmon

I was able to replicate on base Pixelmon, definitely a pixelmon bug, ill make a Pixelmon bug ticket

Thank you Peyton! Could you link me back the report here?

https://pixelmonmod.com/tracker.php?p=2&t=21606


Add "ban-types" to tslint:latest.

PR checklist

[X] Addresses an existing issue: #1844
[ ] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
Added a default setting for ban-types. This is the same as the forbidden-types rule used to do in types-publisher.
CHANGELOG.md entry:
[enhancement] Add "ban-types" to tslint:latest.

Looks like there are some lint failures in the build @andy-ms

are the changes to package.json needed?

I added a .d.ts file in a lint rule, which was being linted. Can't make it a .test.ts file, and that seemed unnecessary if we can ignore the entire directory.

@andy-ms thanks!


modules-shrunk: preserve module priorities from build

depmod looks for files modules.order and modules.builtin which are
generated at kernel build time but were previously not passed to
the modules-shrunk derivation.

Motivation for this change
depmod: WARNING: could not open modules.order at /nix/store/fprfhcrkzbnqlivj146j57sjccm5kjpf-linux-4.19.87-modules-shrunk/lib/modules/4.19.87: No such file or directory
depmod: WARNING: could not open modules.builtin at /nix/store/fprfhcrkzbnqlivj146j57sjccm5kjpf-linux-4.19.87-modules-shrunk/lib/modules/4.19.87: No such file or directory

on nixos-rebuild.
Things done

[X] Tested in production
[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@wamserma The branch to target backports is to release-19.09. nixos-19.09 is used for the nixos channels and can't be written to by anyone other than a bot.

@worldofpeace Uh, my fault. Thanks for fixing.

@andir please also here - same as https://github.com/NixOS/nixpkgs/pull/75181

@GrahamcOfBorg test systemd


Using five or more STUN/TURN servers causes problems

Hello :)
I followed tutorial for broadcasting and viewer. (I exactly used same code and only changed keys)
viewer don't show broadcaster's cam video.
And I got this error. Using five or more STUN/TURN servers causes problems
And this is error messages from console.

Is this because keys are of free version? or is this issue?
Thanks

Good catch!

This may be related to other issues faced.
https://github.com/stephenlb/webrtc-sdk/blob/master/js/webrtc-v2.js#L48-L72
Will update...

Did a quick fix: https://github.com/stephenlb/webrtc-sdk/commit/bd71202dc5e0e38618cbf9e1d072ac7690f951b8

Yes, it's now fixed.
Btw, I have one more issue.
viewer don't show broadcasters cam.
Please check here.
broadcast
viewer
It's just stuck after showing this log Fetching broadcaster's video
Thanks

that last one was due to the broadcaster not streaming before the viewer starts.  added a notification system when the broadcaster starts so the viewer can reload.
It's not perfect, its a start though.  https://github.com/stephenlb/webrtc-sdk/commit/89da1078993d527ca954dd662365a6ea3bea6371

Hi @stephenlb
Thanks but unfortunately it doesn't work for me.
I have cloned and deployed without change.
I have tested for both chrome and firefox. (both not working)
Also I have tested with my own pub,sub key pairs for both browsers (both not working)
I have attached screens shots for each browser.

Chrome

broadcaster.html screenshot

It seems to work, as it doesn't show any error in console.
viewer.html screenshot

It has no error message, but it doesn't show any cam in screen. so it's not working

Firefox

broadcaster.html screenshot

Firefox shows errors, and it doesn't show cam also
viewer.html screenshot

viewer also shows errors and don't show any cam.

I didn't test on safari because it doesn't seem to be browser issue.
Maybe I need to find other webrtc framework or should use bare webrtc.
Thanks

Yes this is the start, and is an incomplete example. The app code needs work, as this is just an example.  If you get a chance to also check out https://xirsys.com/ they have a paid solution ready to go!

Should work in Firefox now.  It's not going to be exactly what you might be looking for.  However it's better.


Implement "uires:" resource loading protocol

see AvaloniaUI avares: or WPF pack:
https://docs.avaloniaui.net/docs/getting-started/assets

Currently I am closing this issue, as we have embres protocol. From my point of view on this stage of development there is now need to have any other protocols. We might reopen this issue in future.


404 at /engine/install/ubuntu/linux-postinstall.md

I found a broken link : https://docs.docker.com/engine/install/ubuntu/linux-postinstall.md#manage-docker-as-a-non-root-user
I arrived on this page through: https://docs.docker.com/engine/install/ubuntu/
the broken link is in this section:
https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
specifically the line:
If you would like to use Docker as a non-root user please see the post-installation steps for Linux.
kind regards

@civviGH  Thanks for reporting the broken link issue. This issue has been fixed.


OADP-748: Add nil check before execution of csi snapshot delete

/cherry-pick konveyor-1.9.2

/cherry-pick oadp-1.1


fix(sort by): set date desc as default sort by

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests (npm run test) for the changes have been added (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] PR title and git commit messages conform to the conventionalcommits specification

Pull request type
Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
Sort by dropdown is set to date asc but sorting is set to date desc
What is the new behavior?
Sort by dropdown is set to date desc by default
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

@c-bibby Would it be possible to change this so it merges into master instead of feature/sort-by please?


added review page topics

@edewit FYI

merged https://github.com/openshiftio/appdev-documentation/commits/master


iCub simulator (in Gazebo), Eyes-Version cannot be controlled in torque mode

I am experimenting on the dynamic control of humanoid neck-eye system. Since the real iCub robot does not yet support torque control on eye-neck joints, I have been using the iCub simulator. While the torque mode is working on eyes-tilt motor, it is behaving weirdly by exceeding it's joint limits and giving an offset in eyes-version movements.
Could you please help me solve this issue as I haven't found any workaround myself. Thank you very much.
Regards,
Hari.
UPDATE: the problem arises when the eyes-version movement takes the eyes until joint-limit. Once this limit is touched, the eyes start rotating in a random motion for unknown reason.

Hi @Hteja
Out of sheer curiosity, why do you aim to control the head (even the eyes) in torque mode?

Hi @pattacini
I am implementing optimal feedback control for fast gaze shifts. I have selected fast gaze shifts because they have less complexity to address compared to multi-DOF arm. Basically, if this control mode works, I would be able to model fast gaze shifts through force/torque control.

To obtain fast gaze shifts torque control is not really necessary since you can rely on position-direct mode.
However, I understand that your framework — OFC — might have some peculiarities and you need to get access directly to the torque delivered to the motors. In this respect, I don't know what is the status on the real robot and on Gazebo, honesty. Let me call for @randaz81 too
At worst, you might consider implementing a linear relation that maps torques in velocities.

Thank you very much Ugo. This would help. I will wait for @randaz81 to see what is the status.

@Hteja please try to avoid assigning issues to people 😉
You can certainly summon the help of specific developers using the mentioning mechanism 👋 but triaging the issues is a maintainers' job.

Hi Ugo,
I'm really sorry. I didn't go through carefully the details of how this works. Next time I'll surely take care of. Thanks for letting me know
Regards,
Hari.
On 13-Jul-2017 1:37 PM, Ugo Pattacini<EMAIL_ADDRESS>wrote:
@Htejahttps://github.com/hteja please try to avoid assigning issues to people 😉
You can certainly summon the help of specific developers using the mentioninghttps://github.com/blog/821-mention-somebody-they-re-notified mechanism 👋 but triaging the issues is a maintainers' job.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/robotology/QA/issues/244#issuecomment-315052817, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APyrZbKOI4qU2zHn7K5wjvac95rmWd1lks5sNgGVgaJpZM4OWqUn.

Never mind @Hteja 👍

I have found out that the eyes-version movement is behaving controllable in torque mode until the eyes touch their joint-limits. Once they touch the joint-limits, they are closing inward furiously and never to respond to any other torque commands.
Has this behavior been observed anytime before in any other joints? @randaz81

No, it happens only on eyes joints because they are coupled.
After an accurate analysis I can say that this issue is pretty complicated to be solved, because controlling the eyes in torque mode was never tested and it is currently (partially) working only by chance.
However, it requires a major code refactoring in gazebo simulator (probably next month).
I recommend to use another control mode in the meanwhile.

@randaz81
In the meantime, I have worked around the problem by disconnecting one eye from the eyes_tilt_joint. This is eliminating the coupling effect of one eye on the other eye. I am sharing the 'sdf' hack:

      **eyes_tilt_link
eyes_tilt_link**

0.0 0.0 1.0

-1.5708
1.5708
84
100

1
0
0
0

1

1
1

0
0.2

I hope that this won't effect the overall torque behavior of the neck-eye system.


Incorporate AsyncAPI into Quarkus

Depends on https://github.com/smallrye/smallrye-async-api/issues/1

Any progress on this? ...would be great...

Not at the moment. Are you using the SmallRye Async API currently in any way?

Yes, that was the plan. Until now, we didn't get people asking for it. So let's see if we can move this forward.


getTransactions throw error

I want to get all of the transactions but when I try to do it get the error while doing everything by example
coinbase.getAccount('<My account id>', function(err, account) {
	account.getTransactions(function(err, txs) {
		//...
	});
});

Error
/root/coinbase/node_modules/coinbase/lib/errorHandler.js:60
  if (!callback) {throw "no callback - check method signature";}
                  ^
no callback - check method signature

Adding an empty object as args fixed the error.  Should someone update the docs?
coinbase.getAccount('<My account id>', function(err, account) {
	account.getTransactions({}, function(err, txs) {
		//...
	});
});


expose cgroup metrics to _node expression

this commit adds the missing cgroup metrics introduced on sys.nodes
with 33cab6f914c89db5836830ae263728defeb9b8dc to the _node expression
as well.

Codecov Report

Merging #6628 into master will decrease coverage by 0.03%.
The diff coverage is 62.06%.

@@             Coverage Diff              @@
##             master    #6628      +/-   ##
============================================
- Coverage     83.16%   83.12%   -0.04%
+ Complexity    13377    13374       -3
============================================
  Files          1522     1523       +1
  Lines         49640    49698      +58
  Branches       5927     5938      +11
============================================
+ Hits          41281    41310      +29
- Misses         5550     5567      +17
- Partials       2809     2821      +12

Impacted Files
Coverage Δ
Complexity Δ

...ion/reference/sys/node/local/NodeOsExpression.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...ference/sys/node/local/NodeOsCgroupExpression.java
61.4% <61.4%> (ø)
1 <1> (?)

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...a/io/crate/exceptions/ContextMissingException.java
81.81% <0%> (-18.19%)
1% <0%> (-1%)

...io/crate/protocols/postgres/types/VarCharType.java
91.66% <0%> (-8.34%)
10% <0%> (-1%)

.../main/java/io/crate/monitor/CgroupMemoryProbe.java
48.71% <0%> (-7.7%)
8% <0%> (-2%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
78.94% <0%> (-5.27%)
2% <0%> (ø)

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-4.35%)
4% <0%> (-1%)

.../projectors/BatchIteratorBackpressureExecutor.java
90.66% <0%> (-4%)
21% <0%> (-1%)

.../distributed/TransportDistributedResultAction.java
78.46% <0%> (-3.08%)
9% <0%> (ø)

... and 19 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 c418db9...0fd72e1. Read the comment docs.

@chaudum addressd your comments in another fixup


0.2.8: Fix Readymade::Controller::Serialization collection_response method raised an error.

@dmrAnderson @mashk4
what's the status of the changes?


Error when sharing

Steps to Reproduce:1.2.||Version Data||-:|:-||**extensionName**|VSLS||**extensionVersion**|1.0.1123||**protocolVersion**|2.2||**applicationName**|VSCode||**applicationVersion**|1.33.1||**platformName**|MacOS||**platformVersion**|19.0.0|

@YutakaYamasaki Thanks for reaching out. Can you give us more details about the failure? Were you able to sign in before trying to share?

This issue is being closed due to lack of information. Thank you for reporting on it.


TypeError: Cannot assign to read only property 'key'

We've encountered an intermittent error with the following code
      axios.get(service)
        .then((response) => {
            response.data.key = key; // Blows up here
            return resolve();
        .catch((err) => {
          return reject(err);
        });

Following a ETIMEOUT error we got
TypeError: Cannot assign to read only property 'key' of ��Z�r�6~�{cY�d���A�񌳱7J�������Ep�e�U�y�<�v� ؖ@I&�'�?_��n4��u��Z��������e&FW���U�p�egl)x�
��S�Q���0�QY��G<�G�����u$x0S1/���~�W"�Kw�%Y�
y�_��4��>�_~���Z�7���N؏2_'j�����.��'r�H�\2�r�Qe�D������|��GW��P�<_FW����L=�?�cg��B��<k5�a�r���Ձ���n��㴙vk�	���q�>y�
e�����K���o:�L[#X�c3�'�N�e��?���&�ul.�:f�}

My best guess is that instead of "catch" being triggered, "then" is called with the gzipped response. Whatever the underlying object is it has a read only key property, or is otherwise immutable.
We've received a few timeouts like this, but not had the TypeError problem before.
axios version: "0.7.0"

Getting this on a daily basis. Also after 404s. Instead of an error being sent to catch, it's handled by then

Have you tried updating to latest version (0.8.1)?

Will try it today.

@cressie176 any luck with this?

Sorry - haven't had time to test yet.

0.9.0 running in live now. Will close in a couple of days if the problem resolves.

No - still errors with the same

Strange. Are you running this in the browser or in Node?

Both, but the logs we have are from when it's running on node. I tried to replicate in a standalone script with nock but couldn't. Will keep investigating

Okay, I will try looking into what is happening in node adapter and see if we can get to the bottom of it.

@cressie176 Are you still having this problem?

I've not worked on that part of the app for a while, but we started getting different errors on timeouts (calling then with no response object if I remember) in other parts so we switched it out Axios another isomorphic friendly library. Sorry.


Could not build librealsense 2.35.2 on Jetson

Required Info

Camera Model
D435

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.9.140-tegra

Platform
NVIDIA Jetson TX2

SDK Version
2.35.2

Language
C++

Issue Description
I tried to build librealsense 2.35.2 on Jetson.
But, I could not build librealsense.
Build Instruction
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true -DBUILD_WITH_CUDA=true ..
$ make -j4

Error Message
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/mock/sql.cpp.o
[ 24%] Building CXX object CMakeFiles/realsense2.dir/src/mock/recorder.cpp.o
[ 25%] Building CUDA object CMakeFiles/realsense2.dir/src/proc/cuda/cuda-align.cu.o
[ 25%] Building CXX object CMakeFiles/realsense2.dir/src/proc/cuda/cuda-pointcloud.cpp.o
In file included from /home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.h:5:0,
                 from /home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp:3:
/home/dandelion/librealsense/src/proc/cuda/../pointcloud.h:11:40: error: expected initializer before ‘:’ token
     class LRS_EXTENSION_API pointcloud : public stream_filter_processing_block
                                        ^
In file included from /home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp:3:0:
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.h:10:5: error: expected class-name before ‘{’ token
     {
     ^
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.h:14:15: error: ‘float3’ does not name a type; did you mean ‘float’?
         const float3 * depth_to_points(
               ^~~~~~
               float
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp: In constructor ‘librealsense::pointcloud_cuda::pointcloud_cuda()’:
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp:11:42: error: class ‘librealsense::pointcloud_cuda’ does not have any field named ‘pointcloud’
     pointcloud_cuda::pointcloud_cuda() : pointcloud("Pointcloud (CUDA)") {}
                                          ^~~~~~~~~~
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp: At global scope:
/home/dandelion/librealsense/src/proc/cuda/cuda-pointcloud.cpp:17:26: error: no ‘const float3* librealsense::pointcloud_cuda::depth_to_points(rs2::points, const rs2_intrinsics&, const rs2::depth_frame&, float)’ member function declared in class ‘librealsense::pointcloud_cuda’
         float depth_scale)
                          ^
CMakeFiles/realsense2.dir/build.make:902: recipe for target 'CMakeFiles/realsense2.dir/src/proc/cuda/cuda-pointcloud.cpp.o' failed
make[2]: *** [CMakeFiles/realsense2.dir/src/proc/cuda/cuda-pointcloud.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/realsense2.dir/all' failed
make[1]: *** [CMakeFiles/realsense2.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Hi @atinfinity  There is currently a bug in building Librealsense 2.35.2 for Jetson with -DBUILD_WITH_CUDA=true.  A fix is detailed at the link below.
https://github.com/IntelRealSense/librealsense/issues/6573#issuecomment-643725732

@MartyG-RealSense Thank you for your reply.
I tried to fix refer to https://github.com/IntelRealSense/librealsense/pull/6581. As a result, I can build librealsense. So, I closed this issue.


design: Issue with "trickle down" approach

Letting tasks decide what responses they are interested in and trickling them down may "hide" unsolicited responses.
Consider a server that processes one command at a time:
* OK ...
0.0 CAPABILITY // Pipelined by client, but server only recognizes first command
0.1 LOGOUT     // Pipelined by client
* BYE ...      // Server "wants" to send an "unsolicited bye", but it will be passed to `LogoutTask` consuming it

The problem here is not the hiding itself but the fact that client and server may have different views on the active tasks queue. This is unsettling, but easy to fix. Always give responses to the first active task. Question is: How is this really supposed to work?
Reading a lot on the (now offline) imap-protocol mailing list suggests that this design is still (a bit) off. Need to investigate :-(

Could we not just keep a stack of unsolicited response instead of consuming them straight? Every time a new response comes, we check if the first active task is interested in. If so, then consume and remove active task, take the next task. Otherwise, stack the response and wait for the next one.

I think... this is what we currently do :-) At least I remember I wrote code for this. We can check in the scheduler.


We should support installation of grpc_cli and protoc

protoc https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.4
grpc_cli https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md
install to user's GOPATH or /usr/local/bin/
With target CPU arch and OS system!

@cjphaha


Updated the README with slightly clearer instructions on usage.

Not everyone realizes that they need to add the composer autoloader at the top of the page, so I added that to the usage. I also removed the testing section because there was no need for it. I added instructions to test the hello world application using PHP's inbuilt web server.

It seems you accidentally removed the Testing section.

That was not an accident. I intentionally removed it. There are no tests when you start off with Slim. Anyone who knows how to write unit tests knows how to use phpunit. It's just confusing for newcomers.

@needcaffeine thanks for your improvements to the README, but can you add the Testing section back please?
The Testing section does not confuse new users as new users would be pulling down Slim via composer or git clone the repo, the Testing section is necessary for contributors and there are already tests written for the framework itself.

+1 for restore the testing section, I think who working with the frameworks is a developer so know phpunit :+1:

Okay, noted. I'll spend a little time making that section be more useful and restore it today. Thank you all for your thoughts on the subject.

Here we go.

Is there anything further you'd like me to do to get this merged in?

Thanks for this update @needcaffeine.


[Documentation] Any document to describe how to use the chip-tool to do commissioning for certified matter devices

Documentation issues
Hi
I know how to use the pairing command of chip-tool to do commissioning for development matter devices. I also tried to do the same thing for certified matter devices, but can't succeed. I think I missed something for certified matter devices. Do we have any DOC about that?
Platform
other
Anything else?
No response

Use --bypass-attestation-verifier to do commissioning for certified matter devices. The ticket can be closed.


Syntastic doesn't recognize C++11

I am using Fedora 19, gcc 4.8.1. My compiler supports C++11, the code compiles fine. But syntastic can't recognize C++11 code.
I set the following lines in my .vimrc,
let g:syntastic_cpp_compiler="g++"
let g:syntastic_cpp_compiler_options="-std=c++11 -stdlib=libc++"

This is so freaking annoying.
Why do I even have to fiddle with all these greasy vimscript config variables to support a 6 year old C++ feature. Darn.

@ulidtko Feel free to use some less greasy linter instead of syntastic.  It's that easy.


Accept collections.abc.MutableMapping instances as valid object instances

Hey,
first: Thanks for the great work! I really appreciate your library!
I recently played around with my custom collections, i.e. classes that pretend to be python collections, in particular dict objects.
I derived these custom mappings from collections.abc.MutableMapping. However, passing those instances as schemas to jsonschema.validate yields an error as it cannot be validated that the schema is of type object.
Here is some example code. Basically, the first call to jsonschema.validate works as expected, the second call complains that the schema is not of type object.
import jsonschema
from collections.abc import MutableMapping

# Create my own class that looks a lot like a dictionary.
class MyMapping(MutableMapping):
    def __init__(self, **kwargs):
        self._content = kwargs

    def __getitem__(self, key):
        return self._content[key]

    def __setitem__(self, key, value):
        self._content[key] = value

    def __delitem__(self, key):
        del self._content[key]

    def __iter__(self):
        return iter(self._content)

    def __len__(self):
        return len(self._content)

    @classmethod
    def from_dict(cls, d):
        return cls(**d)

schema = {
    'type': 'object',
    'properties': {
        'name': {
            'type': 'string'
        },
        'age': {
            'type': 'number'
        },
        'descendants': {
            'type': 'array',
            'items': {
                '$ref': '#/human'
            }
        }
    },
    'required': ['name']
}

data = {
    'name': 'John Doe'
}

# First we try the original schema -> This works
jsonschema.validate(data, schema)
# Now, to show that MyMapping works but that jsonschema
# requires a class derived from dict, we create a second
# custom class that also inherits from dict but uses the
# methods defined in MyMapping for item access.
class MyDictBasedMapping(dict, MyMapping):
    pass

jsonschema.validate(data, MyDictBasedMapping.from_dict(schema))

# Finally, just using MyMapping does not work.
jsonschema.validate(data, MyMapping.from_dict(schema))

I tried to break down the problem and assume it relates to this code segment where the type check for object JSON types is set to a Python dict. Would it be possible to relax this to collections.abc.MutableMapping?
Regards,
Henning

Thanks!
Have you read the docs on type customization?

Sorry, that makes sense. I will close the issue.


Debug: If a breakpoint is on the first line of a script the whole script runs

Description of your problem
This is also not going to happen too often.
If a breakpoint is on the first line of a script and there are no other breakpoints, the whole script runs
If a breakpoint is on the first line of a script and there is another breakpoint, the first breakpoint is ignored
What steps will reproduce the problem?

start debugging with this script:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
x = 1 # <- put break point here
print('I ran')
print('Me too')
print('Me three')

start debug
I get:

In [1]: debugfile('/home/user/Documents/debug_test.py', wdir='/home/user/Documents')
> /home/user/Documents/debug_test.py(3)<module>()
      1 #!/usr/bin/env python3
      2 # -*- coding: utf-8 -*-
1---> 3 x = 1 # <- put break point here
      4 print('I ran')
      5 print('Me too')

I ran
Me too
Me three

ipdb>

In [2]:

What is the expected output? What do you see instead?
It should stop at the break point
Versions and main components

Spyder Version: 3.x branch
Python Version: 3.6
Qt Version: 5.6
PyQt Version: 5.6
Operating system:

Dependencies
cython >=0.21    :  0.25.2 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.11.3 (OK)
pandas >=0.13.1  :  0.19.2 (OK)
psutil >=0.3     :  5.0.1 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.1 (OK)
sympy >=0.7.3    :  1.0 (OK)

This is also not going to happen too often.

Leaving for 3.2.1 then. Thanks for helping us to test our debugger thoroughly.

@rlaverde, please take a look at this one. The code that tries to move automatically to the first breakpoint is here:
https://github.com/spyder-ide/spyder/blob/3.x/spyder/plugins/editor.py#L2406-L2408
We need to check if a breakpoint is placed in the first line that is not a comment or part of a docstring to apply it.

Reopening because #5086 doesn't address this in all situations.


Minify dist stylesheets

I'm submitting a feature request
Short description of the issue/suggestion:
We’ve kept dist stylesheets DEV-ish (comments, etc.) so far but we should probably minify dist stylesheets given they may be injected in every EPUB file, etc. If we output map files, dev needs should be covered.
Moreover, minifying CSS is quite a strong recommandation for web perf.
See postcss-clean
Re. #89

Thanks to Daniel for recap’ing our discussion during the Readium Call. New version is available in the develop branch, with highlights and references to source maps removed. In addition, minification of dist stylesheets has been put in place.
So this will be automatically closed once develop is merged into master.


license-gather: add a task for verifying license compatibility

Fixes #46

Alternative option:
enum class CompatibilityType {
    ALLOW, UNKNOWN, REJECT;
}

data class LicenseCompatibility(
    val type: CompatibilityType,
    val reason: String
)

@DreierF , WDYT?
See https://github.com/vlsi/vlsi-release-plugins/pull/49/files#diff-fe8458ed996db9a41bf2a2d964d994e3fe4debc06be8d33ce83c60bb706de5faR97-R118

@vlsi Do you have any timeline for when you plan to release this?

Oh, thanks for the ping. I somehow forgot about all this.
Just wondering: do you think it is all good? (I don't remember if I intended to make more changes)

The functionality LGTM as it is. I also have a working version running against a bigger project.

@vlsi Is there anything missing from your point of view?

@DreierF , I've released 1.78, so please let me know if it works for you.

First of all thanks for your work on this!
All in all it works as expected and I'm glad that I can start using it :)
However, I found some minor issues regarding Groovy compatibility:
	allow(AsfLicenseCategory.A) {
		because("The ASF category A is allowed")
	}

does not seem to work.
It results in
Could not find method allow() for arguments [class com.github.vlsi.gradle.release.AsfLicenseCategory$A, precompiled_ProjectLicense$_run_closure2$_closure11@443721af] on task ':verifyLicense' of type com.github.vlsi.gradle.license.VerifyLicenseCompatibilityTask.

Another minor issue is the usage of the and and or operators. Not sure how this was intended to work. What works is:
import static com.github.vlsi.gradle.license.api.LicenseExpressionExtensions.and
import static com.github.vlsi.gradle.license.api.LicenseExpressionExtensions.or

...
	overrideLicense("...") {
		expectedLicense = and(and(Apache_2_0, LGPL_2_1), MPL_1_1)
		effectiveLicense = or(or(Apache_2_0, LGPL_2_1_only), MPL_1_1)
	}

When the methods would be actual instance methods instead of extension methods this could be written as
	overrideLicense("...") {
		expectedLicense = Apache_2_0 & LGPL_2_1 & MPL_1_1
		effectiveLicense = Apache_2_0 | LGPL_2_1_only | MPL_1_1
	}

but I'm not sure if I might be missing some implementation details that would make this very hard to achieve.
https://groovy-lang.org/operators.html#Operator-Overloading

does not seem to work

Does it happen with 1.78?
I think the test uses allow(....Category.A), it uses groovy DSL, and the test seems to pass

When the methods would be actual instance methods

The methods should be instance in 1.78.
Do they work for you?

🙈 I used 1.78, but completely forgot that I still had an intermediate version in mavenLocal that was picked up instead of the final 1.78 from Maven Central. That resolved all mentioned issues.
Sorry for the false alarm.

No worries 😉 . I added the mentioned changes just a couple of days ago.
My initial intention was to keep License interface minimal, however, now I see the conversion to LicenseExpression is almost always needed, so I just gave up with the said extensions and moved them to the instance methods.


Respect auth and join rate limits when initially making a bot

I found myself running into irc errors when the bot continually tries to reconnect when I make a new bot. Can we delay the attempts to every 5 seconds or something? Deleting auth keys, etc etc didnt work at all. Had to wait to be able to re-auth the bot

the default delay is 2 seconds per reconnect. that would make 5 authentication attempts per 10 seconds. So unless you were setting up 4 bots at the same time I don't see how this could be a problem?

the default delay is 2 seconds per reconnect. that would make 5 authentication attempts per 10 seconds. So unless you were setting up 4 bots at the same time I don't see how this could be a problem?

I mean I'm just taking a shot in the dark, but it's possible it's the reason I'm having issues. Unless you can think of something else?
If I leave the bot un-authed for too long, it just disconnects from irc and refuses to reconnect

I can't reproduce this, so I'm just closing it. Seems people not following basic instructions can't be fixed by code.


Fix new architecture build for rn-macOS (macOS and iOS)

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[x] I am making a fix / change for the macOS implementation of react-native
[ ] I am making a change required for Microsoft usage of react-native

Summary
In rn-macOS 0.71 we have
https://github.com/microsoft/react-native-macos/tree/main/Libraries/AppDelegate
which pass the necessary RCT_NEW_ARCH_ENABLED flag to it's .h and .mm files
https://github.com/microsoft/react-native-macos/blob/main/Libraries/AppDelegate/React-RCTAppDelegate.podspec#L24
We also have:
https://github.com/microsoft/react-native-macos/tree/main/React/AppSetup
which DO NOT pass RCT_NEW_ARCH_ENABLED flag because it gets inherited from:
https://github.com/microsoft/react-native-macos/blob/main/React-Core.podspec
Instead of fixing the latter .podspec we just carry over a more recent rn 0.72 change > moving all files into the same folder / podspec
https://github.com/facebook/react-native/tree/main/packages/react-native/Libraries/AppDelegate
Changelog
[MACOS] [FIXED] - Fix new architecture build for rn-macOS (macOS and iOS)
Test Plan
Create new architecture app
rn-tester % RCT_NEW_ARCH_ENABLED=1 pod install

run it on macOS

run it on iOS

Could you link the change you cherry picked to fix this? Helps when doing merges.

Could you link the change you cherry picked to fix this? Helps when doing merges.

I did not cherry pick a particular change.
There were other changes in between - and this seems to be the simplest and least invasive change to fix the current issue


Fixes redirection to /protected route

Description
This fixes the ssx-test-nextauth example allowing the user to go back to the protected route.
Type

[x] Example update

Diligence Checklist

[x] This change requires a documentation update
[x] I have performed a self-review of my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Codecov Report
Patch and project coverage have no change.

Comparison is base (ce41b1a) 90.45% compared to head (e595d3f) 90.45%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #114   +/-   ##
=======================================
  Coverage   90.45%   90.45%
=======================================
  Files          26       26
  Lines        3404     3404
  Branches      282      282
=======================================
  Hits         3079     3079
  Misses        325      325

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

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

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


Update mission statement to be full sentence

The phrasing could use slight adjustments for clarity - in particular a comma before the "and" in the first sentence! It's also nice to have a mission statement that says "BTAA GIN's mission is to..." so that it can be copied and pasted by external collaborators, fully phrased.

The mission of the BTAA-GIN is to support the geospatial research community by making resources easier to find, and to foster connections among geospatial library professionals through collaboration.
BTAA GIN's mission is two-fold: we support the geospatial research community by building and maintaining a collective open-source spatial data infrastructure with optimized metadata for spatial discovery platforms, and we foster connections among geospatial library professionals, the Big Ten Academic Alliance, and the BIG Collection by sharing expertise, utilizing collective resources, and cultivating a culture of collaboration and interdependence.


Wait for an extra minute before launching GCP tests

Motivation

Specifications

Complex Code or Requirements

Solution

Review

Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Follow Up Work

This seems to make things worse, but it's hard to tell.


✔ Uploaded to EAS --> Unexpected token D in JSON at position 1

Build/Submit details page URL
https://expo.dev/accounts/kernalan/projects/lifesage
Summary
Running eas build --platform ios --profile development triggers a json parsing error as soon as the archive hits the EAS server:
Managed or bare?
Managed
Environment
  expo-env-info 1.2.0 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 18.18.0 - C:\Program Files\nodejs\node.EXE
      npm: 10.8.1 - ~\AppData\Roaming\npm\npm.CMD
    npmPackages:
      expo: ~51.0.31 => 51.0.31
      expo-router: ~3.5.23 => 3.5.23
      react: ^18.2.0 => 18.2.0
      react-dom: 18.2.0 => 18.2.0
      react-native: 0.74.5 => 0.74.5
      react-native-web: ~0.19.10 => 0.19.12
    Expo Workflow: managed

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check npm/ yarn versions
✔ Check for issues with metro config
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

Error output
Compressing project files and uploading to EAS Build. Learn more: https://expo.fyi/eas-build-archive
✔ Uploaded to EAS
Unexpected token D in JSON at position 1
    Error: build command failed.

Reproducible demo or steps to reproduce from a blank project

Run eas build --platform ios --profile development
Encounter the error

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I spent a few hours trying to simplify my setup, and only after removing a dynamic configuration function in my app.config.json did this it fix the issue. I removed the dynamic configuration there in favor of an almost entirely static file.

Hi @KernAlan,
Can you share your dynamic config setup with me? Also, I believe that running a failing command with EXPO_DEBUG=1 would print a whole stack trace of the error giving us more info about the issue.

Here was the problematic app.config.json:
const path = require("path");
const dotenv = require("dotenv");

module.exports = () => {
  // Determine which .env file to use
  const envPath = process.env.EAS_BUILD
    ? ".env.production"
    : process.env.NODE_ENV === "production"
    ? ".env.production"
    : ".env.development";

  console.log(`[DEBUG] Attempting to load environment file: ${envPath}`);

  const result = dotenv.config({ path: path.resolve(__dirname, envPath) });

  if (result.error) {
    console.error(`[ERROR] Failed to load ${envPath}:`, result.error);
  } else {
    console.log(`[INFO] Successfully loaded ${envPath}`);
  }

  console.log("[DEBUG] Environment variables in app.config.js:", {
    API_BASE_URL: process.env.API_BASE_URL,
    NODE_ENV: process.env.NODE_ENV,
  });

  const requiredVars = [
    "FIREBASE_API_KEY",
    "FIREBASE_AUTH_DOMAIN",
    "FIREBASE_PROJECT_ID",
    "FIREBASE_STORAGE_BUCKET",
    "FIREBASE_MESSAGING_SENDER_ID",
    "FIREBASE_APP_ID",
    "API_BASE_URL",
  ];

  requiredVars.forEach((varName) => {
    if (!process.env[varName]) {
      throw new Error(`Missing required environment variable: ${varName}`);
    }
  });

  return {
    expo: {
      name: "lifesage",
      scheme: "lifesage",
      slug: "lifesage",
      version: "1.0.1",
      orientation: "portrait",
      icon: "./assets/icon.png",
      userInterfaceStyle: "light",
      splash: {
        image: "./assets/splash.png",
        resizeMode: "contain",
        backgroundColor: "#ffffff",
      },
      assetBundlePatterns: ["**/*"],
      ios: {
        supportsTablet: true,
        bundleIdentifier: "com.kernalan.lifesage",
        buildNumber: "1",
        googleServicesFile: "./GoogleService-Info.plist",
        entitlements: {
          "aps-environment": "production",
        },
        podfileProperties: {
          "use_modular_headers!": true,
          "use_frameworks!": "static",
        },
        usesAppleSignIn: true,
      },
      android: {
        adaptiveIcon: {
          foregroundImage: "./assets/adaptive-icon.png",
          backgroundColor: "#ffffff",
        },
        package: "com.kernalan.lifesage",
        versionCode: 1,
      },
      web: {
        favicon: "./assets/favicon.png",
        bundler: "metro",
      },
      plugins: [
        "expo-router",
        [
          "expo-build-properties",
          {
            ios: {
              useFrameworks: "static",
            },
          },
        ],
      ],
      extra: {
        eas: {
          projectId: "ad20d820-991c-44ec-8528-26af05ab9834",
        },
        FIREBASE_API_KEY: process.env.FIREBASE_API_KEY,
        FIREBASE_AUTH_DOMAIN: process.env.FIREBASE_AUTH_DOMAIN,
        FIREBASE_PROJECT_ID: process.env.FIREBASE_PROJECT_ID,
        FIREBASE_STORAGE_BUCKET: process.env.FIREBASE_STORAGE_BUCKET,
        FIREBASE_MESSAGING_SENDER_ID: process.env.FIREBASE_MESSAGING_SENDER_ID,
        FIREBASE_APP_ID: process.env.FIREBASE_APP_ID,
        FIREBASE_MEASUREMENT_ID: process.env.FIREBASE_MEASUREMENT_ID,
        API_BASE_URL: process.env.API_BASE_URL,
      },
      owner: "kernalan",
    },
  };
};

I haven't been able to test more, but I suspect EAS expects an object, not a function wrapper. I used the function to be able to do dynamic swapping of env variables here, but getting rid of that approach fixes the issue.

On my case, it has the same issue when I am console logging on the app.config.ts @brentvatne

Same here @Jonatthu @brentvatne it looks like logging to the console in app.config.ts causes the problem. Hopefully the underlying issue can still be addressed.

@brentvatne I'm encountering the same issue as others when using console logs in app.config.ts. Removing the logs resolves the problem for me as well. It seems like there's an underlying issue here that should be looked at.

Hi,
It seems like the error you all describe comes from the EAS Update runtime version resolution logic, which is being run just after uploading the app archive to EAS and before actually starting the build. I believe that at the moment it uses the npx expo export command to resolve config and be compatible with many SDK versions at the same time. I believe what happens here is that parsing the npx expo export output fails when console logs are printed when resolving the config as well.
cc: @wschurman

@szdziedzic Yes, this has been like that for a long time, and we use dotenv which outputs a couple of console.logs I cannot remove, so my CI keeps failing!

@brentvatne @szdziedzic any updates?

Contributors of expo-updates are going to be discussing this soon and will hopefully have a fix soon as well. For now, removing the console.logs is the only option.

Please this is blocking my CI :/

Planning to cherry-pick the above PR into SDK 51 to fix. Will post on this thread when ready to use.

Fix was released in expo-updates 0.25.27.


CATA - Primary & Secondary Talent Automation

The automation options for primary and secondary talent automation aren't available for Classic Cataclysm. Is this a limitation with the forking of the addon or is this something that was missed?

You can do a custom script for this:
-- $EVENTS ACTIVE_TALENT_GROUP_CHANGED
-- $DESC Equips event on Spec Change
-- $SETTING spec={Label="Spec", Type="Number"}

if not isEquipped and GetActiveTalentGroup() == setting.spec then
    print('Equipping Outfit "' .. outfit.Name .. '"')
    equip = true
else
    return
end

Then there will be a setting for the "spec", you would choose "1" for the Primary spec and "2" for the Secondary spec

Just an update for here. It's still on my list. Since the workaround has been here, it hasn't been high priority. Hopefully soon.


Pictures not displaying

Hi,
The pictures don't seem to be displaying on my screen. I double checked the album id, and I even messed around with the dimensions to no avail. I waited 2 minutes but nothing came up. Do I have to wait longer? Here is my code if you would like to check it.{
module: "MMM-GooglePhotos",
position: "top_right",
config: {
albumId: ["ABti5dbhErLiQmIyMOq6duWFJRFtO4je1FHzLKYG0uEOWV9qG6zh_35Mux_KvD_1xw28x2vrP], // your album id(s) from result of auth_and_test.js
refreshInterval: 1000 * 60,
scanInterval: 1000 * 60*10, // too many scans might cause API quota limit also.
//note(2018-07-29). It is some weird. API documents said temporal image url would live for 1 hour, but it might be broken shorter. So, per 10 min scanning could prevent dead url.
	    sort: "time", //'time', 'reverse', 'random'
	    showWidth: "1500px", // how large the photo will be shown as. (e.g;'100%' for fullscreen)
	    showHeight: "800px",
	    originalWidthPx: 800, // original size of loaded image. (related with image quality)
	    originalHeightPx: 600, // Bigger size gives you better quality, but can give you network burden.
	    opacity: 1, // target "opacity" property (https://www.w3schools.com/cssref/css3_pr_opacity.asp)
	    mode: "hybrid", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
	    //ADDED. "hybrid" : if you set as "hybrid" it will change "cover" and "contain" automatically by aspect ratio.
	  }
	},

What your backend-log says?

Hey, I solved it by putting the MMM-GooglePhotos in the modules folder. That solved my issue. I have another question however. When the images show up they go all the way to the left when I do a position of middle-center. It never goes to the center. Could you assist me with that please?

Which position did you put the module? The alignment will be inherited by a module position.

I put it in Center_middle, but it went in the middle but it want to the left. It did not stay in the center of the screen.


Fix width of video preview in panel

Somehow the video preview in the panel wasn’t sized to the width of the column. Instead its placed in original size depending on the video resolution. Have a look at the attached screenshot.

Should be fixed now. :)
Cheers, Simon

Awesome - thank you for improving the plugin

Can you run npm run build and update the PR please? Best to minify the code again and keep it consistent


Custom File - downloading file give id as name

when downloading file from ecb section,
it gives file with file id.extension as file name
this is difficult for client to understand
Initiated by @ashokbhurani
Verified by @mitulpanch

I have checked this. but changing file name requires to download full file to server first then to client
that requires heavy costing
I think we need to put this on hold till better costing comes


remove all module features from buildtest.

Moved ModuleAPI to lmodule project
https://github.com/HPC-buildtest/lmodule
Remove all doc test examples for unused features and update file buildtest/docgen/main.py
Rebuild API docs
Remove all unused imports from files
Remove module section from default configuration (settings.yml)
Remove regtest for module features
Remove buildtest metadata json files such as BUILDTEST_SPIDER_FILE,
BUILDTEST_MODULE_COLLECTION_FILE
For now Lmod check doesn't have to do much since Spider file is not
needed anymore.
Remove top-level examples folder. This will be moved to lmodule project

It looks like you fixed the issue with the args? I'm going to push fixes for black, then I think we can merge.

We also needed to update the git hook - the examples folder doesn't exist anymore so it would hit an error.

We also needed to update the git hook - the examples folder doesn't exist anymore so it would hit an error.

Good catch. I forgot about the hook file.


In table HUM_RESTRICTIONS_AIRLINE reduce VARCHAR sizes from the default max

While Snowflake has no issues with the default max sizes of VARCHARs, some consuming BI tools and ODBC calls could be negatively impacted by the large sizes. For that reason, we should work to eliminate the default max sizes of varchars in these models. If you agree, please update table DDL for HUM_RESTRICTIONS_AIRLINE.
Easiest way to make the change is to clone the existing table, create or replace the table with the new field sizes, insert the records from the clone to the newly defined table, and then drop the clone. Code below:
CREATE TABLE TEMP_HUM_RESTRICTIONS_AIRLINE CLONE HUM_RESTRICTIONS_AIRLINE;

create or replace TABLE HUM_RESTRICTIONS_AIRLINE (
	COUNTRY VARCHAR(128),
	ISO3166_1 VARCHAR(2),
	LONG FLOAT,
	LAT FLOAT,
	PUBLISHED DATE,
	SOURCES VARCHAR(1024),
	AIRLINE VARCHAR(256),
	RESTRICTION_TEXT VARCHAR(8192),
	LAST_UPDATE_DATE TIMESTAMP_NTZ(9)
) COMMENT='COVID-19 travel restrictions by airline';

insert into HUM_RESTRICTIONS_AIRLINE (COUNTRY, ISO3166_1, LONG, LAT, PUBLISHED, SOURCES, AIRLINE, RESTRICTION_TEXT, LAST_UPDATE_DATE)
select COUNTRY, ISO3166_1, LONG, LAT, PUBLISHED, SOURCES, AIRLINE, RESTRICTION_TEXT, LAST_UPDATE_DATE
from TEMP_HUM_RESTRICTIONS_AIRLINE;

drop table TEMP_HUM_RESTRICTIONS_AIRLINE;

Thanks!

I wish this to be that easy. If I recreate the table with create or replace, I have to re-add manually the tables to data exchange share. Is there any way I can do it from SQL? This is why it is pretty painful to change column types: if I need to recreate the table I have to re-share the table again.

Maybe you can use ALTER TABLE statements to avoid recreating the table. The order of columns will change though, unless we also add ALTER TABLE statements for all the columns that don't require refactoring:
CREATE OR REPLACE TABLE TEMP_HUM_RESTRICTIONS_AIRLINE CLONE HUM_RESTRICTIONS_AIRLINE;

TRUNCATE TABLE HUM_RESTRICTIONS_AIRLINE;

ALTER TABLE HUM_RESTRICTIONS_AIRLINE DROP COUNTRY;
ALTER TABLE HUM_RESTRICTIONS_AIRLINE ADD COUNTRY VARCHAR(128);

ALTER TABLE HUM_RESTRICTIONS_AIRLINE DROP ISO3166_1;
ALTER TABLE HUM_RESTRICTIONS_AIRLINE ADD ISO3166_1 VARCHAR(2);

ALTER TABLE HUM_RESTRICTIONS_AIRLINE DROP SOURCES;
ALTER TABLE HUM_RESTRICTIONS_AIRLINE ADD SOURCES VARCHAR(1024);

ALTER TABLE HUM_RESTRICTIONS_AIRLINE DROP AIRLINE;
ALTER TABLE HUM_RESTRICTIONS_AIRLINE ADD AIRLINE VARCHAR(256);

ALTER TABLE HUM_RESTRICTIONS_AIRLINE DROP RESTRICTION_TEXT;
ALTER TABLE HUM_RESTRICTIONS_AIRLINE ADD RESTRICTION_TEXT VARCHAR(8192);

INSERT INTO HUM_RESTRICTIONS_AIRLINE (
COUNTRY, ISO3166_1, LONG, LAT, PUBLISHED, SOURCES, AIRLINE, RESTRICTION_TEXT, LAST_UPDATE_DATE
)
SELECT *
FROM TEMP_HUM_RESTRICTIONS_AIRLINE;

DROP TABLE TEMP_HUM_RESTRICTIONS_AIRLINE;

Yes, I know, but I would keep the order of the columns. Currently, I delete all columns at the end of the table then add the new one, then add back all the trailing columns. pretty painful.
I would do these changes in one round, define the metadata, generate the replace table statements and re-add tables to the share.


Code Formatter Is not working

Type: Bug
It doesn't matter what i try to do the code formatter is not working now, it was working fine before the update, The update broke the formatter somehow.
 All plugin devs will* need to convert. Or you can downgrade to 1.93.1

/needsMoreInfo
What language and what formatter are you using? Do you see any errors?
Please provide more details, expectations and samples.

They switched to esm modules for plugins. All plugin devs will* need to convert. Or you can downgrade to 1.93.1

None of that is true

They switched to esm modules for plugins. All plugin devs will* need to convert. Or you can downgrade to 1.93.1

None of that is true

APC extension?

The update broke the formatter somehow.

@akamnstr Please mention the language you are using and trying to get formatted. Also a small code sample will help. Last, check your settings for formatting related configuration that aren't default

Same here.
I'm using vs-code 1.94 with autopep8 for python code (macos).
Nothing happens when formatting the document.


ZCPU Automated Testing console command & framework

Creates basic framework & concmd that runs an entire list of lua files from a folder (lua/wire/zvm/tests), has options for creating & simulating a virtual IOBus device and/or a simple virtual readable/writable membus, plus 5 7 9 10 example tests at the moment
Video of command output
(only live updates like this if pause is disabled, like in mp)
https://github.com/wiremod/wire-cpu/assets/57756830/2a7ab0d5-f945-4184-b1d8-24146c6cf48b
Command output and usage:

See wire/zvm/tests/example.lua for a simple example of constructing your own tests (Increments R0 in 4096 steps and checks if it's equal to 4096, else it will fail)
This should be expanded later, more tests, smarter tests, I don't know how many of these test cases I can write because I might disappear soon, but hopefully this test framework is enough that the community can get in on it too

When/if this gets a review Ill squash the commits

@Vurv78 & @thegrb93  I'm gonna take a break from editing this further, should be ready for a look now

Don't squash, it'll be squashed when merged

Oh, did you manage to get an auto-squash in? If so, cool!

Skimmed very quickly. Need to look into it further and actually test it later on. Just found this. Initial thoughts:
1. Shouldn't print successful tests, just print Passed/Failed. E2 test suite is currently at 100 tests (and those consist of smaller tests already). Would spam console a lot as the test suite inevitably got larger.

2. On the same note, would be nice if you could suppress that hl-zasm output print

3. I think testing at the entity level is not necessary might be a nightmare to manage. Couldn't you just have an instance manually created and track the addresses it writes to instead?

I can do 1 and 2 easily(sometime in the morning), but I'm a bit confused on what you mean by "testing at the entity level"

Skimmed very quickly. Need to look into it further and actually test it later on. Just found this. Initial thoughts:
1. Shouldn't print successful tests, just print Passed/Failed. E2 test suite is currently at 100 tests (and those consist of smaller tests already). Would spam console a lot as the test suite inevitably got larger.

2. On the same note, would be nice if you could suppress that hl-zasm output print

3. I think testing at the entity level is not necessary might be a nightmare to manage. Couldn't you just have an instance manually created and track the addresses it writes to instead?

I can do 1 and 2 easily(sometime in the morning), but I'm a bit confused on what you mean by "testing at the entity level"

Might've misread the code, I just saw the Wire_TriggerOutput in your code which likely isn't meant to be there and thought of it being entity code

Well, it was copied from the entity implementation, but it seems like I forgot to comment one out, I'll get to it in the morning

This is what the new, shortened output looks like

Now working from the dedicated server console as well as the in-game one, compilation steps were uncoupled from the CPULib compile function and now takes a fraction of the previous time due to running until compile is completed instead of interrupting 15360 compiler steps per second

@Vurv78 Does the code here meet your expectations or is there anything else you think I should work on before it's merge-worthy?

I know I'm very late to review this, but I don't like how much this test framework uses globals and relies on you creating and using a lot of functions you could easily mess up.
I would just want to keep it as simple as possible, zero globals used here:
-- Either have a comment annotation here or have it as a field in the returned table for whether the test *should* fail
local Test = {}

function Test.Setup()
    -- some initial stuff passed here, optional function
end

function Test.Teardown()
    -- also optional
end

function Test.Run(cpu, pass, fail)
    -- do asynchronous stuff and run pass() fail() function callbacks given
end

return Test

If you're going to be the only one working on it, then it's fine as long as you can work with it, but for me, this is just way too complex: I'd probably have a more fleshed out example if I had more knowledge on the cpu. This is a test suite after all and users wouldn't have to interact with it, but if it isn't easy to add tests then it might discourage future devs to create proper tests

If we want zcpu on workshop, probably want to move the tests directory to the top level, so it doesn't bog down the download.
That or include it in the ignored files in addon.json

I'm cool with just putting it in the ignored for now, if you know how to include it from cpu_load.lua in the autorun folder or know another way to force it to be included for those who have it when it's in the base dir let me know and I can do that instead.

I know I'm very late to review this, but I don't like how much this test framework uses globals and relies on you creating and using a lot of functions you could easily mess up.

The test framework can, and probably should go through some revision.
The initial structure this took was because we needed to wait for compile to complete since it was async(ran on a timer), since the compile is now synchronous(the one exposed by ZVMTestSuite) I could simplify it to just return the compiled code(a table of indexed numbers), so we can do away with the RunTest/RunCPU crap.

-- Either have a comment annotation here or have it as a field in the returned table for whether the test *should* fail

I'll probably make intentional fail tracked in the returned local test's table, so we can just check if it "ExpectsFail" and track those as a separate number from the passed tests when counting it on fail.

function Test.Teardown()
   -- also optional
end

If this is intended to be a "cleanup" function, I actually can't imagine what we'd need to cleanup, right now we're creating a fresh VM for every test, not passing the same one around.
I could make one that calls(if it exists) after pass or fail(just "if finished" basically) and call it something like "Test.OnFinish(bool fail)", if that's your intent.

If you're going to be the only one working on it, then it's fine as long as you can work with it, but for me, this is just way too complex: I'd probably have a more fleshed out example if I had more knowledge on the cpu. This is a test suite after all and users wouldn't have to interact with it, but if it isn't easy to add tests then it might discourage future devs to create proper tests

I'd prefer it to have the ability to be powerful without having to reinvent the wheel for most cases, but still simple enough for future devs to pick up and understand without having to look into the internals.
I'd initially thought it was intuitive but if you say otherwise I'll try and work with any suggestions you have to make it more intuitive.
Here's an example of a potential revised test, let me know what you think of it, once we've got the "revised" test to an ideal state I can get to work on implementation and updating the tests.
-- a potential revision using example.lua as a base.

local Test = {}

function Test.Setup(CPU, TestSuite)
end

function Test.OnFinish(CPU, TestSuite)
end

function Test.Run(CPU, TestSuite, passCB, failCB)
       -- Simpler function to compile and upload code to a device
       -- Compile can still exist, if the test creator needs to read or modify the results.
        TestSuite:Deploy(CPU,"x: INC R0 JMP x",Test.CompileError)
	CPU.Clk = 1
	for i = 0, 4096 do
		CPU:RunStep()
	end
	if CPU.R0 == 4096 then
                -- The CPU ran 4096 blocks that were just adding 1 to R0
                -- so it should be 4096.
		passCB()
	else
		TestSuite.Error("R0 is not 4096! R0 is " .. tostring(CPUTest.VM.R0))
                -- Can make the failCB take similar args to Error instead.
                failCB()
	end
end

function Test.CompileError(msg,failCB)
end

return CPUTest

@Vurv78

function Test.Teardown()
   -- also optional
end

If this is intended to be a "cleanup" function, I actually can't imagine what we'd need to cleanup, right now we're creating a fresh VM for every test, not passing the same one around.
I could make one that calls(if it exists) after pass or fail(just "if finished" basically) and call it something like "Test.OnFinish(bool fail)", if that's your intent.

No, I just wanted the simplest api possible, if it's not necessary, great, no need to implement it

Here's an example of a potential revised test, let me know what you think of it, once we've got the "revised" test to an ideal state I can get to work on implementation and updating the tests.
-- a potential revision using example.lua as a base.

local Test = {}

function Test.Setup(CPU, TestSuite)
end

function Test.OnFinish(fail, CPU, TestSuite)
end

function Test.CompileError(msg,failCB)
end
-- ^ This one isn't used by the framework, it's a user func that's passed to
-- TestSuite:Deploy to call on a fail right now, but we could switch the func to return bool
-- on pass or fail instead to allow user to do
-- if TestSuite:Deploy() then
-- work
-- else
-- fail
-- end
-- Whichever way is deemed more intuitive, whether true on success or true on error

function Test.Run(CPU, TestSuite, passCB, failCB)
       -- Simpler function to compile and upload code to a device
       -- Compile can still exist, if the test creator needs to read or modify the results.
        TestSuite:Deploy(CPU,"x: INC R0 JMP x",Test.CompileError)
	CPU.Clk = 1
	for i = 0, 4096 do
		CPU:RunStep()
	end
	if CPU.R0 == 4096 then
                -- The CPU ran 4096 blocks that were just adding 1 to R0
                -- so it should be 4096.
		return passCB()
	else
		TestSuite.Error("R0 is not 4096! R0 is " .. tostring(CPUTest.VM.R0))
                -- Can make the failCB take similar args to Error instead.
                return failCB()
	end
end

return CPUTest

Since you said something like Teardown isn't needed, can remove that part.
For the failCB and passCB part I think I'd prefer just traditional asserts / error handling that the test suite pcalls, if you said that none of this is async anymore. If tests may still be async, maybe it's okay to leave like so. But simplifying that if else statement into just assert(CPU.R0 == 4096) would be nice.
Third option could be Test.RunAsync which has current behavior vs Test.Run which is just a simpler version without callbacks using asserts.

@Vurv78 Got them all to compile and pass with your suggestion.
With assert, we even get the file & line it occurred on, which makes it easier to track down programming errors

@Vurv78 Just wanted to follow up, was there any further modification necessary to the framework before this meets your expectations?
Maybe merge master back into this and update the addon.json to ignore the tests folder?


generate should check cockroach version

Since we generate the diagrams and function docs from the cockroach source, we should check that we don't use an old version of cockroach to generate docs.
When generating docs, we could record the cockroach SHA/commit date to a file ("docs generated from cockroach...") then read that in future runs to warn if we're using an older checkout to generate docs.

We also don't necessarily want to use a newer version. Most of the time we want to generate docs from a beta-tagged version, not necessarily the latest master. (there are exceptions like the new features added to the generator script this week).

wouldn't the tagged beta still be newer than the previous version used to generate?

Ah, right. We can and should at least guarantee that we don't move backwards.

K, Thanks, @mjibson.


flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin.getCursor

Getting following error:
java.lang.NullPointerException
flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin.getCursor
java.lang.RuntimeException:
  at android.os.AsyncTask$3.done (AsyncTask.java:354)
  at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
  at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
  at java.util.concurrent.FutureTask.run (FutureTask.java:271)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.NullPointerException:
  at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin.getCursor (ContactsServicePlugin.java:104)
  at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin.access$500 (ContactsServicePlugin.java)
  at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.doInBackground (ContactsServicePlugin.java:81)
  at flutter.plugins.contactsservice.contactsservice.ContactsServicePlugin$GetContactsTask.doInBackground (ContactsServicePlugin.java)
  at android.os.AsyncTask$2.call (AsyncTask.java:333)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:764)

This issue is affecting 60% of users in production

@Veargan @morozevich my plate is full at the moment... can either of you submit a PR for this issue?

I think we should move this to kotlin since asynctask has been deprecated. I will try to create a PR myself in some days if not then anybody can follow this link for the alternative of asynctask https://techenum.com/async-task-in-android-is-deprecated/

@lukasgit I can't work with open source
@Faiyyazauxy stats of reproducing (300 users)
36% Android 10
32% Android 9
26% Android 8
6% Android 11

This is urgent for me too.

@Veargan i have fixed this in my PR. The said issue happens if i don't give permission and i try to fetch the contacts. You need to add permission check on button click so that you can alert your user accordingly

Fixed in PR #208


vendor/golang.org/x/xerrors/adaptor_go1_13.go:16:14: undefined: errors.Frame ...

What version of Go are you using (go version)?
1.13.0
Does this issue reproduce with the latest release?
Yes
What did you do?
Trying to build my project after upgrading to Golang 1.13.0
And I get those errors:
vendor/golang.org/x/xerrors/adaptor_go1_13.go:16:14: undefined: errors.Frame
vendor/golang.org/x/xerrors/format_go1_13.go:12:18: undefined: errors.Formatter

I saw a related issue there: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240319
But I don't understand what could help me to fix? It seems on Golang side no?
Thank you,

You need to update your vendored golang.org/x/xerrors package.  It was updated for a preliminary version of Go 1.13, but the final Go 1.13 release changed.  xerrors was corrected for that change in May, 2019, and you are missing that correction.

@ianlancetaylor I have deleted all my cache (/go/pkg/mod/ and also /go/src) but the problem persists.
That's the same when building inside a clean Jenkins pipeline.
In my go.sum file I can see:
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522 h1:bhOzK9QyoD0ogCnFro1m2mz41+Ib0oOhfJnBp5MR4K4=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

😢

@sneko 3ee3066db522 is not the latest version of golang.org/x/xerrors. You need version golang/xerrors@a985d3407aa71f30cf86696ee0a2f409709f22e1.
I had the same problem and go get -u golang.org/x/xerrors did the trick.

xerrors is not part of a Go release.  It is from the repo golang.org/x/xerrors.  That repo exists independently and is not updated as part of a Go release.

Thank you both for your answers 😃!
In my case, this is due to a dependency code (https://github.com/google/go-cloud/commit/31e061dd5727ffc5064e16da45f7779b806ff82d) not yet released.


Fix method names

Sorry, I never saw this but I just merged a newer request that does the same thing. Apologies!


Possible bug: Style/EmptyLiteral autocorrector doesn't respect Style/StringLiterals EnforcedStyle config

https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/style/empty_literal.rb#L56-L58
It always generates single-quoted string literals, even if double-quoted are preferred, as far as I see.
        def autocorrect(node)
          name = case node
...
                 when STR_NODE
                   "''"
                 end
...
        end

Can one cop (EmptyLiteral) look in the config of another cop (StringLiterals) and make decisions based on that?

Can one cop (EmptyLiteral) look in the config of another cop (StringLiterals) and make decisions based on that?

Definitely it can. There are plenty of places in the existing code where that is done. Whether it is a good idea or not is another question -- I won't comment on that.

Hmmm, could you show me an example please? Just a link or a cop name, I'll figure out the rest by myself. I tried to find such places - no luck.

Grep for config.for_cop.

Awesome, thanks!
On Wed, Jan 6, 2016 at 3:09 PM, Alex Dowad<EMAIL_ADDRESS>wrote:

Grep for config.for_cop.
—
Reply to this email directly or view it on GitHub
https://github.com/bbatsov/rubocop/issues/2593#issuecomment-169309504.


As a volunteer coordinator, I can check how many events a volunteer has participated in

... so I can keep track of their contributions.

elistv as part of the results display area


C bindings

[ ] Make sure the current API is set (pending @dodomorandi rework)
[ ] Write a capi guarded module.
[ ] Add cbindgen.conf with the minimal features
[ ] Document how to install it in the README.md

Wow, this one looks super interesting. I have no idea how to do this stuff, so definitely a learning opportunity for me! :)
Looking forward to seeing this happening

We can try to make it a show & tell event.

Here how it could look like
#ifndef DGC_H
#define DGC_H

/* Generated with cbindgen:0.20.0 */

#define DGC_MAJOR 0
#define DGC_MINOR 0
#define DGC_PATCH 7

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

/**
 * The main container for one or more DGC entries.
 */
typedef struct DgcContainer DgcContainer;

/**
 * Represents all the possible types of failures that can occure when parsing a certificate.
 */
typedef struct DgcParseError DgcParseError;

/**
 * Represents all the possible outcomes of trying to validate a signature
 * for a given certificate.
 */
typedef struct DgcValidity DgcValidity;

/**
 * Struct used to index all the available public keys which
 * can be used to validate the signature on a given certificate.
 *
 * Keys are indexed by their `kid` (Key ID) which is an arbitrary sequence of bytes.
 */
typedef struct TrustList TrustList;

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

/**
 * Decodes the certificate and returns the [`DgcContainer`] data contained in it.
 *
 * This function is recommended when you don't want to validate the signature but you
 * are just interested in reading the content of the certificate.
 */
const struct DgcParseError *dgc_decode(const uint8_t *data,
                                       uintptr_t len,
                                       struct DgcContainer **container);

/**
 * Parses and validates a given certificate.
 *
 * This function is a high level helper that allows you to extract the data from a
 * certificate and at the same time it tries to validate the signature against a given
 * trustlist.
 *
 * This function will return an error if the certificate cannot be parsed or is invalid.
 * If the certificate can be parsed correctly, this function returns a tuple containing a
 * [`DgcContainer`] and a [`SignatureValidity`].
 *
 * This design allows for permissive validation of the certificate signature.
 * In fact, `SignatureValidity` can be used to determine if the signature is valid and even if it is
 * invalid (or the validity cannot be assessed) you could still access all the information
 * in the certificate.
 */
const struct DgcParseError *dgc_validate(const uint8_t *data,
                                         uintptr_t len,
                                         const struct TrustList *trustlist,
                                         struct DgcContainer **container,
                                         struct DgcValidity **validity);

bool dgc_signature_is_valid(const struct DgcValidity *error);

uint8_t *dgc_container_to_json(const struct DgcContainer *container);

void dgc_container_free_json(uint8_t **json);

#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus

#endif /* DGC_H */


Css for url tabs

I hereby agree to the terms of the AET Contributor License Agreement.

Before

After


Minor: The beginning and ends of the feature are just not displayed due to how things are plotted

The plotting system needs to be fixed to account for this

fixed!


IP addresses

In addition to the URLs listed here, the how-to docs list two IP ranges. Please make the information consistent across these two docs, or have the how-to doc refer back here as the authoritative source.
IP addresses
<IP_ADDRESS>/18
<IP_ADDRESS>/18
https://docs.microsoft.com/en-us/azure/backup/backup-configure-vault#verify-internet-access

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

ID: b566a3bb-80d9-151e-cc27-7bc94d48f363
Version Independent ID: 0f8ca0eb-0153-13b6-5929-0e5996eb418e
Content: Support matrix for the Microsoft Azure Recovery Services agent
Content Source: articles/backup/backup-support-matrix-mars-agent.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

#reassign:saurabhsensharma

@dcbrown16 Thanks for the feedback. We are looking into this and will get back to you shortly.

#reassign:dcurwin

The document has been updated.
#please-close


Move to registry.k8s.io

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Versions
CCM Version:
Environment:

Kubernetes version (use kubectl version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Others:

What happened?
Please migrate to registry.k8s.io for next release as per https://kubernetes.io/blog/2023/02/06/k8s-gcr-io-freeze-announcement/. The old registry has been frozen.
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?

We have migrated to the new registry with release v1.27.0


Fallback for West Europe

Regarding To identify the possible IP ranges for Microsoft-hosted agents, it says to use the format AzureCloud.<region> to look up relevant IP-addresses.
There is also a note for the West Europe region:

If your organization is in the West Europe region, the capacity fallback geography is France.

The Azure Region for France is France Central, but in the weekly file of public Azure IP-addresses there is no AzureCloud.FranceCentral or AzureCloud.francecentral.
Kind regards,
Peter

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

ID: 61db3371-6395-88a2-fb78-09f98790ab1b
Version Independent ID: ef6f1bf7-02b8-9093-b84e-c9bde7d98e57
Content: Microsoft-hosted agents for Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/agents/hosted.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

@pwretmo -- Peter, thank you for your detailed feedback.  This repo is solely for documentation issues, and this seems product-related.  Please add it here:

Developer Community

Also, consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Db production updates/leslie

PR Description

This pr includes backup files for the recent changes to the heroku database and fixes a knex migration/ seed error and nothing else.  🦖

Type of Change

Types of Change:

[] New feature
[x] Refactoring / Bug fix
[] Documentation update

Testing

[x] Yes
[] No
[] Not needed

Completeness
Is this feature complete

[x] Feature Complete
[] Feature Incomplete, user story/trello card linked

PR Requirements

[x] Clean and concise commenting
[x] Clean and comprehensive documentation included
[x] Conforms to engineering standards and checks
[x] There are no merge conflicts
[x] There are no warnings
[x] Corresponding documentation elsewhere has been updated to reflect these changes

Requester Questions

Add any questions, comments, or concerns you have as the person initiating the pull request for your reviewers

Other
Rubric
Template Guidelines

going to merge this since its mainly refactoring and fixing bug that will update the db so it can be deployed with the updated changes


ValueError: optional is None. Raised from: std.internal.types.optional.unwrap:0.  .codon/lib/codon/stdlib/internal/types/optional.codon:80:5

I have run the following python program program7.py by codon.
class L6Z424Xp ():
ki702Y9a30 = 27
LQR770XidT = "4YiBNWaE0"
def C7788020M ( self , mx7bY1E77 : bool )  :
f75NO49 = ( ( ( self.ki702Y9a30 ) ) ) ;
Yx6l2635count=0
while (self.LQR770XidT)!=None :
Yx6l2635count=Yx6l2635count+1
if Yx6l2635count>2:
break
S6y2v5iJ2C = ( self.ki702Y9a30 ) ;
if name == 'main':
wt0717sZ = False
SKQjq0w= L6Z424Xp();
SKQjq0w.C7788020M(wt0717sZ)
print(SKQjq0w.ki702Y9a30)
print(SKQjq0w.LQR770XidT)
And it output error message as follows:
ValueError: optional is None
Raised from: std.internal.types.optional.unwrap:0
.codon/lib/codon/stdlib/internal/types/optional.codon:80:5
Backtrace:
[0x7f08afd228b5] GCC_except_table74 at .codon/lib/codon/stdlib/internal/types/optional.codon:80:5
[0x7f08afd2294f] GCC_except_table74 at codon_program7.py:7:29
[0x7f08afd2776e] GCC_except_table74 at codon_program7.py:15:20
(core dumped) .codon/bin/codon run codon_program7.py
I hava run it by both python3 and pypy3 and output the following content:
27
4YiBNWaE0
The related files can be found in https://github.com/starbugs-qurong/python-compiler-test/tree/main/codon/python_7

Thank you. I have changed the program based on your suggestions, and the error doesn't occur anymore.


Does not work with 7.4.10 when restoring db from server to localhost

The most recent UmbracoAdminReset.dll does not work for 7.4.10. However, when the archived file  from 27/11/2015, it still does not work when logging requesting the url /umbraco/adminreset/useractions/reset
It indicates that the resource cannot be found. Any idea about how to fix this. I do not know why I obtain password issues when trying to copy the server database to the localhost by using restore in SQL Server Management Studio.

@bobi33 The same issue. Let me know if you get it solved, please

Hi, I did not get it working. I had to go into sql, find the user table, reset the HEX password to a known HEX for the word "password". That was how I got in.

@bobi33 Oh, good. Please, write here a hex for "password" for those who has the same issue, it would solve the problem pretty quickly for others :)

@ReVoid here was the article I followed: [https://www.jondjones.com/learn-umbraco-cms/umbraco-7-tutorials/umbraco-troubleshooting/reset-your-umbraco-7-password-manually-via-the-database/]

@bobi33 Thank you!
I followed other way: I just replaced admin email in database and then just use password reminding feature.


node support

Consider:
import { performance } from 'perf_hooks';

for a working-on-node version :)

@damianobarbati good idea, thanks.
Will adding this import be compatible with both node and browser usage?

Unfortunately not, you have to build 2 different files for and specify the following in package.json:
"main": "dist/node.min.js",
"browser": "dist/browser.min.js",

This will work for sure with node and webpack built websites (webpack defaults to "browser" then "main" => https://webpack.js.org/configuration/resolve/#resolve-mainfields)


ACME + Docker-compose labels

What version of Traefik are you using (traefik version)?
Version:      v1.1.2
Codename:     camembert
Go version:   go1.7.4
Built:        2016-12-15_10:21:15AM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml...)?
1st docker-compose.yml
version: "2"
services:
  traefik:
    image: traefik:v1.1.2-alpine
    ports:
      - "80:80"
      - "443:443"
      - "8080:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /dev/null:/traefik.toml
      - ./ssl:/etc/traefik/ssl
      - ./acme:/etc/traefik/acme
    command: --web -c /dev/null  --docker --logLevel=INFO --docker.watch --acme --acme.storage=/etc/traefik/acme/acme.json<EMAIL_ADDRESS>--acme.entryPoint=https --entryPoints='Name:http Address::80' --entryPoints='Name:https Address::443 TLS' --defaultentrypoints=http,https --acme.domains="unstickers.com"
    restart: always
    environment:
      - "affinity:container!=traefik*"
    networks:
      - web
networks:
  web:
    external:
      name: web

What did you do?
2nd docker-compose.yml
version: "2"
services:
  unstickers:
    image: httpd:2.4-alpine
    expose:
     - 80
     - 443
    volumes:
     - ./data:/usr/local/apache2/htdocs/
    labels:
     - "traefik.port=80"
     - "traefik.backend=unstickers"
     - "traefik.frontend.rule=Host:unstickers.com,www.unstickers.com"
     - "traefik.acme.domains=unstickers.com,www.unstickers.com"
    networks:
     - web
networks:
  web:
    external:
      name: web

What did you expect to see?
Creation of ACME certificate with unstickers.com AND www.unstickers.com.
What did you see instead?
Creation of ACME certificate with unstickers.com.
We can't configure ACME certificate outside of the main docker-compose.yml file, it's a design leak.

you can with
config.toml
[acme]
OnHostRule = true

Thank you, it work's :)


Vue cli to typescript

Fixes #39
also make sure to merge https://github.com/snapshot-labs/snapshot-spaces/pull/942, before testing this

@ChaituVR Also deployment is failing on GitHub action you may want to look on this.

@bonustrack once https://github.com/snapshot-labs/snapshot-spaces/pull/1101 this is merged, will change package.json to take master branch

@ChaituVR Ok thanks it's merged


deps: update golang.org/x/net version

What does this PR change?

Update golang.org/x/net version to solve reported vulnerabilities

Does the PR depend on any other PRs or Issues? If yes, please list them.

No

Checklist
I confirm, that I have...

[ ] Read and followed the contributing guide in CONTRIBUTING.md
[ ] Added tests for this PR
[ ] Formatted the code using go fmt (if applicable)
[ ] Updated documentation on the Paralus docs site (if applicable)
[ ] Updated CHANGELOG.md

@niravparikh05 Update commit message to chore(deps): ... before merging.


test for filtering @OneToMany associations by discriminator

see https://github.com/eclipse-ee4j/jpa-api/issues/39#issuecomment-830112571

Thanks @gavinking , I have changed the test to use Junit5 and merged it!

Excellent, thanks!


[5.5] Fix NullSessionDriver due to upstream changes

This is an attempt to fix https://github.com/laravel/framework/issues/22302 that has started occuring due to upstream changes in the Symfony session (see the issue for a very good detailed explanation of the problem by @acarpio89).
The reason the changes only seems to affect the NullSessionDriver is because Laravel actually uses its own implementations of every other driver, and was only using the Symfony Null driver.
So this PR just creates our own Null driver, and we no longer rely on Symfony for it.
On a seperate issue - this is not picked up by any framework tests - because the tests all mock the session handler, and never try to actually create a session (from what I can see). I tried to create a failing test to capture this situation, but I cant work out how to do it inside a framework test?
Would be nice to add a test around this if someone can point me in the right direction.

@taylorotwell - thanks for the quick merge.
Any idea how I can write a test around this? I cant seem to actually generate a session inside the test suite framework. It would be nice to write an integration test against the array driver or something?

@laurencei  Guess this is related here?
auth()->loginUsingId($widget->user_id);
Session name cannot be empty, did you forget to call "parent::open()" in "Symfony\Component\HttpFoundation\Session\Storage\Handler\NullSessionHandler"?.
Can't really find the culprit locally on my mac, this only happens in production after latest update.

I have set the | Session Cookie Name in session.php
Using redis as driver

Does one need to update to symfony 4.x?

Are you running Laravel 5.5.24 or higher?
It doesnt really make much sense, because you are using the Redis driver. It should never call the Null handler.

Indeed, was a symlink error in the project. After 5.5.24 update it works good, seems like only symfony was updated without this patch. Thanks for quick reply.


poly1305/asm/poly1305-x86_64.pl: add poly1305_blocks_vpmadd52_8x.

As hinted by its name new subroutine processes 8 input blocks in
parallel by loading data to 512-bit registers. It still needs more
work, as it needs to handle some specific input lengths better.
In this sense it's yet another intermediate step...
[skip ci]

has anyone else looked at this, who knows something about these instructions?

Yes, it's being looked at. Also note that even though vpmadd52 series are intermediate steps, each step does pass the tests. And this is something anybody can verify with Intel SDE by letting it emulate Cannonlake. And one also needs new enough GNU assembler, >=2.26. And in case it's not obvious, each step simply improves the performance. Yet at the same time code from each step is still used all the time. Which one (or mixture of) depends on input length.


Add breadcrumbs component

crumbs from https://github.com/linode/manager/pull/1625

cherry picking into another branch

Coverage remained the same at 81.231% when pulling 9040b77a813a45056b55ef72cd912324476cd921 on mparke:breadcrumbs into 7b53ea3fe3f0085738116c00690adf40dd98b8f0 on linode:master.


Add Hue outdoor wall 1740193P0

This PR is for adding the Hue outdoor wall 1740193P0

Makes sense. Home Assistant shows it as Hue outdoor wall, but it actually is the Hue Outdoor Lucca.


list of powerups

Proposed powerups (could be spliced in separated issues later):

Higher acceleration rate
Lower deceleration rate
Higher side movement speed

Glide or neutral (no penalty or bonus)
Color swap (0 <-> 1)