numpy dependecies error

Doing: python -m pip install mmcv-full==1.4.8 -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.1/index.html
Looking in links: https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.1/index.html
Collecting mmcv-full==1.4.8
Using cached mmcv-full-1.4.8.tar.gz (498 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
  A module that was compiled using NumPy 1.x cannot be run in
  NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
  versions of NumPy, modules must be compiled with NumPy 2.0.
  Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

  If you are a user of the module, the easiest solution will be to
  downgrade to 'numpy<2' or try to upgrade the affected module.
  We expect that some modules will need time to support NumPy 2.

  Traceback (most recent call last):  File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-qzq000uu/mmcv-full_2509054387c140cd8613f9dc145fd146/setup.py", line 11, in <module>
      import torch
    File "/home/mypath/miniconda3/envs/MCGaze/lib/python3.9/site-packages/torch/__init__.py", line 190, in <module>
      from torch._C import *
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-qzq000uu/mmcv-full_2509054387c140cd8613f9dc145fd146/setup.py", line 11, in <module>
      import torch
    File "/home/mypath/miniconda3/envs/MCGaze/lib/python3.9/site-packages/torch/__init__.py", line 190, in <module>
      from torch._C import *
  AttributeError: _ARRAY_API not found
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Our used numpy version is 1.23.5, I think you should try this:
pip install numpy==1.23.5


Develop

Changes Unknown when pulling afd0a326488eef8c25e37a003c6059298e1e1ff2 on develop into ** on master**.

Changes Unknown when pulling 2c669fb5db72b4c61e82ee93812b13ff628fd3ac on develop into ** on master**.

Changes Unknown when pulling 2c669fb5db72b4c61e82ee93812b13ff628fd3ac on develop into ** on master**.


Bug in function ZIP

Hi there,
I think I found a bug here. If I do
RETURN ZIP(['a11111','b222','c'],['value','value','value'])

It works as expected. If instead I do the equivalent:
LET val=(FOR i in 1..3 RETURN 'value')
RETURN ZIP(['a11111','b222','c'],val)

the output is
[
  {
    "a11111": "value",
    "b22211": "value",
    "c22211": "value"
  }
]

It seems the string buffer is not cleared!
Best,
Miguel

Thanks. Fixed in 2.8 and devel branches.

Thanks!!


Bug in STL10 dataset for all method with KNN, and val_acc_1

Hello,
It is good library, we used it for several our papers. However, it is not completeness.
I found two issues of this library when run on STL10 dataset as follows:
1) since label for trained set comes from "train+unlabelled" then it doese have proper labels when do evaluation, so if you use "--knn_eval" to run any method, it will instantly got error and stop right away. Fail to train anymore. You may test and confirm again just less than 1 minute.
2) Compare to the code of this solo-learn one month ago before the update to the current version, the val_acc_1 in STL10 for all methods are much slower than the initial version (e.g. BYOL at 150 epoch have val_acc_1=82% for the version last month, but now I run your code, it is about 50%). I tried to find but didn't see the bug of your code, maybe you may find it.
So could you fix these two issues and provide the bash files of all method for STL10, too?
Thanks,
PXT

Hi, thanks for reporting these issues. Please, if you use the library in your papers, please cite our publication.

this is reasonable as we didn't test it with STL. Probably an easy fix. Will investigate.

did you notice this behavior only on STL or on other datasets as well? 50% accuracy is very low. We reran CIFAR10 and ImageNet100 recently and got the same results as before, but it's been a long time we haven't run STL10.

Thanks for your quick feedback. Yes, we already cited your work of solo-learn in all of our publications recently using your bib in the main page. Before used openmmlab library OpenSelfsup now I found this library is good enough.
I found it performed well on other datasets like CIFAR10, CIFAR100, ImageNet-100. But STL10 has this issue. I couldn't find where is the problem.
As notice before, results for STL10 in the code version 1 month before is nice. Only issue in this current version for STL10.

Hi @trungpx, thanks for using the library. If you can share the links to your papers it would be good, since we will probably do a "Who's using" section soon. I'm checking the code right now and I'll get back to you very soon.
Also, can you share your bash file?

Hi vturrisi,
Our works have just passed the reviews process, awaiting for a while to get an official decision (one month later). So that I will share you the link of papers.
Here is bash file for simsiam.sh

python3 ../../../main_pretrain.py
--dataset stl10
--encoder resnet18
--data_dir /datasets/
--max_epochs 150
--gpus 6
--precision 16
--optimizer sgd
--scheduler warmup_cosine
--lr 0.5
--classifier_lr 0.1
--weight_decay 1e-5
--batch_size 256
--num_workers 4
--brightness 0.4
--contrast 0.4
--saturation 0.4
--hue 0.1
--gaussian_prob 0.0 0.0
--num_crops_per_aug 1 1
--zero_init_residual
--name simsiam
--project solo-learn-stl10
--entity trungpx
--wandb
--save_checkpoint
--method simsiam
--proj_hidden_dim 2048
--pred_hidden_dim 512
--proj_output_dim 2048
# --crop_size 32
# --knn_eval \

And here for BYOL:

python3 ../../../main_pretrain.py
--dataset stl10
--encoder resnet18
--data_dir datasets/
--max_epochs 150
--gpus 7
--precision 16
--optimizer sgd
--lars
--grad_clip_lars
--eta_lars 0.02
--exclude_bias_n_norm
--scheduler warmup_cosine
--lr 1.0
--classifier_lr 0.1
--weight_decay 1e-5
--batch_size 256
--num_workers 4
--brightness 0.4
--contrast 0.4
--saturation 0.2
--hue 0.1
--gaussian_prob 0.0 0.0
--solarization_prob 0.0 0.2
--num_crops_per_aug 1 1
--name byol
--project solo-learn-stl10
--entity trungpx
--wandb
--save_checkpoint
--method byol
--proj_output_dim 256
--proj_hidden_dim 4096
--pred_hidden_dim 4096
--base_tau_momentum 0.99
--final_tau_momentum 1.0
--momentum_classifier
# --crop_size 32
# --knn_eval \

Sure, thanks! We've changed the augmentations pipeline, so now we need to manually pass crop_size for all datasets. If you do like this, your crop size will be 224x224 (which I assume it will stretch the image a lot or something like this). I'm running barlow (copy pasted from cifar10 and changed crop_size to 96), this is what I have at the moment:

About memory usage, that's also the reason, since you are forwarding a 224x224 image instead of a 96x96.
We will fix the knn stuff soon enough.

Nice, thanks for hard works, I have fixed the manual crop_size to 96 as suggested, the issue of memory is gone now. Since previous it defined the pipeline of augmentation with crop_size for each dataset including STL10, there is no problem when remove --crop_size. But now it is, that the point as you have shown.
I am now can fix them all. Will get back to you in the future.

Yes, we changed this behaviour in order to be more flexible with multicropping and the many different augmentation pipelines that are popping up.

Hey, in the latest version knn is now fixed. Also, when you update, don't forget to update library versions (we are now incompatible with older pytorch lightning versions).


user-server-state.example.js in wrong location?

This file is kind of in a weird place, does it need to be moved into the docs folder or something? As is, I'm not sure what it's doing there.
https://github.com/Shopify/hydrogen/blob/v1.x-2022-07/packages/hydrogen/src/foundation/useServerProps/examples/use-server-state.example.tsx

Turns out there's still a README in the parent folder too

Hey @frehner! This is a remnant from a time where we were generating the Hydrogen docs by stitching together different files (such as example.tsx files). We can safely delete this file. I wonder if there might be other files like this lurking in the /foundation folder -- that might not have been a folder that we cleaned up!
The example is present in the new file we use and copy over to Shopify.dev: https://shopify.dev/api/hydrogen/hooks/global/useserverprops.


Fixes Salad Logo Avatar Selection Bug

need to wait on backend changes to handle 00000000-0000-0000-0000-000000000000 id to be merged in first

@jpark799 The API changes have been pushed live.

@jpark799 The API changes have been pushed live.

yeah, i was working on this earlier today but it was erroring out and i told myself i'd come back to this after finishing my other PR to hook things up in the onboarding pages. hooking things up and addressing scott's comments unfortunately took longer than i had hoped. the error i was getting was because of the line you pointed out above and it's been fixed now. thank you


Mobile browser selects front camera by default

I am using this wonderful library to capture images. It really works well on desktop machine. But when accessed website on mobile android device, its selecting front camera by default. Is it possible to default set rear camera specially for mobile devices?

I have the same issue, can somebody help please?

Android device acquiescently select front camera,but rear camera in iOS,Does it   support  set  this property?

After trying a few things out i found a solution to switch cameras:
var cameras = new Array(); //create empty array to later insert available devices
navigator.mediaDevices.enumerateDevices() // get the available devices found in the machine
.then(function(devices) {
devices.forEach(function(device) {
var i = 0;
if(device.kind=== "videoinput"){ //filter video devices only
cameras[i]= device.deviceId; // save the camera id's in the camera array
i++;
}
});
})
Webcam.set( 'constraints', { //set the constraints and initialize camera device (0 or 1 for back and front - varies which is which depending on device)
width: 1920,
height: 1080,
sourceId: cameras[1]
} );
Webcam.attach('#my_camera');
Now if u set a button that resets the webcam and alternates between the 2 camera ids u get a the swap functionality.
Hope it helps :)


adding .net sdk 1.6.6 release notes

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Purpose
Adding release notes for .NET 1.6.6 SDK.
Internal Harness contributors - Please edit this summary to include preview links after the preview build finishes.
Merge requirements

[X] Successful preview build.
[X] Code owner review.
[X] No merge conflicts.
[X] Release notes/new features docs: Feature/version released to at least one prod environment.

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://660d877cb4d5390fba5dd4d5--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://660e57635ce8bb88fc21f15d--harness-developer.netlify.app


Make IREE TF integrations use TF toolchains

This makes it possible to build the IREE TF integrations using TF's
toolchains and RBE instance (given the appropriate permissions):
~/src/iree/integrations/tensorflow$ bazel build \
  --config=rbe_linux_cuda_clang_py36 \
  --config=tensorflow_testing_rbe_linux \
  ...

This allows building our TF integrations in an only moderately-absurd
amount of time on my workstation (10 minutes for a clean build):
https://source.cloud.google.com/results/invocations/6ffa186a-4b52-46c6-b49c-194281ea405d
and decently fast rebuilds (20s after bazel clean):
https://source.cloud.google.com/results/invocations/246478f0-5b6b-4ad3-94f8-49e7e435936e
It also works in monolithic mode (--config=monolithic).
This does not yet change how any CI is configured. It just makes the
configs available.
This also allows us to delete all TF and python configuration from our
main bazelrc, since it is no longer used in the integrations.

@phoenix-meadowlark could you try out local building and see how it works for you. I'll send you a link for how to get the necessary permissions.
@stellaraccident what should I test to make sure this doesn't break your release setup? So far this is just fiddling with the bazelrc, so it would only be a problem if something is relying on options coming from iree.bazelrc through this bazelrc.


[CARBONDATA-2353] Added cache for datamap schema provider and added tests

Problem:
Currently, there is no cache for datamap schema provider, so every time it reads schema from disk.
Solution:
Add cache to the DiskBasedDMSchemaStorageProvider and refresh the cache depends on the modified time of datamap mdt file.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?

[x] Any backward compatibility impacted?

[x] Document update required?

[x] Testing done
Tests added

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3841/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5063/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5074/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3891/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5112/

please fix CI failure

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3894/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5115/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3899/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5120/

please rebase master

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3905/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3908/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5129/

LGTM

LGTM

please rebase again, because there is  merge conflict during rebase apache master

@QiangCai squashed commits,  please merge

LGTM

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3919/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5140/


Stdin pipe not working

Hi! When you try to use an io.Reader input and specify 'pipe:' like this:
	fd, err := os.Open("./file.mp3")
	if err != nil {
		panic(err)
	}
	err = ffmpeg_go.Input("pipe:", ffmpeg_go.KwArgs{"format": "mp3"}).
		WithInput(fd).
		Output("./playlist.m3u8", ffmpeg_go.KwArgs{"c:a": "aac", "b:a": "320k", "hls_list_size": "0", "hls_time": "20"}).
		OverWriteOutput().ErrorToStdOut().Run()

It doesn't work as expected:

If you try to do the compiled command with a pipe
cat file.mp3 | ffmpeg -f mp3 -i pipe: -b:a 320k -c:a aac -hls_list_size 0 -hls_time 20 ./playlist.m3u8 -y

It should work.
As I can see, the library  uses the 'Stdin' key on the context to save the io.Reader, but when it calls Output() it creates an output node, then calls Stream(),  which is initialised with context.Background() as seen here:
https://github.com/u2takey/ffmpeg-go/blob/8af5c3849807dcda756406a7b2b3631a5c90d53b/node.go#L28-L36
This makes the previous keys like 'Stdin' to not exist anymore.
One solution would be setting somewhere the previous stream context to the next stream that output returns.
Maybe by doing it here?
https://github.com/u2takey/ffmpeg-go/blob/8af5c3849807dcda756406a7b2b3631a5c90d53b/ffmpeg.go#L81-L91
It happens on github.com/u2takey/ffmpeg-go v0.4.1

Any update? Facing the same issue...

I have this PR:
https://github.com/u2takey/ffmpeg-go/pull/90
But you can also use this fork that I created with the fix:
https://github.com/gabivlj/ffmpeg-go
If you see any issues lmk.

https://github.com/u2takey/ffmpeg-go/pull/90 closing


Add trussed abstraction and nkpk subcommand

This PR adds a new abstraction layer by extracting most of the functionality from the nk3 module to a trussed module and introduces the nkpk subcommand that uses this abstraction.
Currently available commands for nkpk:

list
provision fido2
reboot
rng
status
test
version

did some testing on this to find a regression, but nothing so far... nice!
tested with: nk3am + nk3an means mostly the nk3 and fido2 sub-commands - not yet tested with the nkpk
lgtm!

Ah, good catch.  That’s due to this ugly hack:
https://github.com/Nitrokey/pynitrokey/blob/970377341f6964cf3776cbb417a9ef20ba791db6/pynitrokey/cli/__init__.py#L106-L110
Maybe there is a typesafe replacement for this code.

Should be fixed now.


[NEW ICON] awslambda and  bitbucket

Skill Name
AWS lambda and bitbucket
Why?
AWS lambda is a popular serverless lambda architecture on which even the vercel is based upon.
Bitbucket, on the other hand is a very known version control system likee gitlab and github.
You can add these two in svg format with 256x256 size by accepting my pull request created using my account Ambar-06
Reference Image
No response

Ambar-06:AwsLambdaAndBitbucketicons
my commit is from the above branch


GimKit "Cheating Detected" is detecting global variable "Exploit". (Proposed fix included)

GimKit is detecting the global variable "Exploit", as it was similarly doing for my bot (See
https://github.com/ecc521/gimkit-bot/issues/8#issuecomment-629786886). You can fix this by encapsulating your code in an IIFE.

Sorry, you have this fixed already. My bad.


Invalid indentation in lexer.get_tokens_unprocessed() in Pygments 1.6

(Original issue 956 created by tetburr on 2014-02-18T11:45:27.626558+00:00)
The main 'else' statement within the for loop of get_tokens_unprocessed() is incorrectly indented, such that when m is None the else statement is not reached and the while loop runs again. This results in the following exception:
'Exception occurred:
File "E:\Jython\jython2.5.2\Lib\site-packages\pygments-1.6-py2.5.egg\pygments\lexer.py", line 579, in get_tokens_unprocessed
m = rexmatch(text, pos)
RuntimeError: maximum recursion depth exceeded'
Resolution:

Indent the else block (lines 606 - 618) an extra 4 spaces.

(Original issue 956 last updated on 2014-10-07T22:00:14.742600+00:00)
(Issue automaticaly closed due to status in Bitbucket: invalid)

(Original comment by tetburr on 2014-02-18T11:57:32.733081+00:00)
Sorry, missed a piece of information: it's get_tokens_unprocessed() method of the RegexLexer class within pygments.lexer.py

(Original comment by birkenfeld on 2014-10-07T15:46:35.850891+00:00)
The indentation of the "else" clause is correct: it should only be executed after all rules of the current state have been tried.
Of course you shouldn't hit the recursion limit during highlighting, but to debug that I'll need more information about the code you tried to highlight, and the lexer that was used. A full traceback would also be needed.

(Original comment by birkenfeld on 2014-10-07T22:00:14.753253+00:00)
See http://bugs.jython.org/issue1891 last message:
it hints that the recursion error is a bug in Jython's RE impl.


Update remix-example.md

In reference to issue #8
Updated the documentation

Updated images

This is approved


Open in editor not working in notebook

Fixed in https://github.com/cedric05/dothttp-runner/commit/6a7ac3ae435759546c1829f56c55c65ccd83494a


build: remove cjs tsconfig.json.

Remove tsconfig.cjs.json after updating babel-dual-package.

Codecov Report
Patch and project coverage have no change.

Comparison is base (5261c41) 100.00% compared to head (2d130be) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          261       261
  Branches        92        92
=========================================
  Hits           261       261

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


Pass drawing options to reducer

What does this PR do?
It extends PR #811
forgot to pass the drawing options from the action to the reducer where
it is used as a prop in the component

Coverage remained the same at 96.23% when pulling 7b3acfe92da2ef75e4a935da04b9c3a24fe03e9b on milafrerichs:add-drawing-mode-options-reducer into 300a0b6fdae45582403d8d35e41b847494b0161d on boundlessgeo:master.


Number input improvements

Allow configuration to sett the following for number inputs

Allow only integers / floats
Allow / disallow negatives
Set max / Min

The number min/max is finished in #26

[ ] Allow only integers / floats
[ ] Allow / disallow negatives
[x] Set max / Min


Update create-collections.md formatting

Seemed to be some issues with markdown formatting - see https://docs.microsoft.com/en-us/sccm/core/clients/manage/collections/create-collections for why. I've attempted to fix.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@robstackmsft For your review.

@shuurajou @arob98 Hi, this is a great catch! Thanks for spotting these, and fixing them. I'm signing off on this fix.

#sign-off


.NET API Browser should include when type is a ref struct

For example:

public struct Utf8JsonReader

should be

public ref struct Utf8JsonReader

ref struct can be used in more limited ways than regular struct, so it would be good if the documentation clearly shows the difference.

Ping @joelmartinez @dend
This is an important suggestion from @tmds  We should add the ref modifier in our docs where applicable.

@BillWagner indeed ... there is an existing issue to track this here:
https://github.com/mono/api-doc-tools/issues/260
/cc @mimisasouvanh

Closing this one then since it's an engineering bug and we have a tracking issue already.


[FEATURE REQUEST] Abstract state implementation: trace partitioning

Description
Implementing trace partitioning as an abstract state should make it easy for all analyses to gain precision effortlessly.

This got implemented in #270 without it being tracked


modify pom to support auto deploy workflow

Codecov Report

Merging #21 (8beb0aa) into master (43d1158) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #21   +/-   ##
=========================================
  Coverage     74.02%   74.02%
  Complexity      152      152
=========================================
  Files            24       24
  Lines          1567     1567
  Branches        247      247
=========================================
  Hits           1160     1160
  Misses          264      264
  Partials        143      143

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 43d1158...8beb0aa. Read the comment docs.


Documentation Changes

Add Table of Contents to Developer Guide & Settingup
Edit PPP
Edit DG
Updated documentation for code reuse block - DeliveryDateTime#isLeapYear

Codecov Report

Merging #255 (65988de) into master (2360e06) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #255   +/-   ##
=========================================
  Coverage     67.38%   67.38%
  Complexity      693      693
=========================================
  Files           122      122
  Lines          2330     2330
  Branches        275      275
=========================================
  Hits           1570     1570
  Misses          639      639
  Partials        121      121

Impacted Files
Coverage Δ

...va/seedu/address/model/order/DeliveryDateTime.java
63.63% <ø> (ø)

.../main/java/seedu/address/model/order/Complete.java
58.82% <0.00%> (ø)

...n/java/seedu/address/storage/JsonAdaptedOrder.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


⚠ Bofrost.de has degraded performance

In 95bb56a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 927 ms

Resolved: Bofrost.de performance has improved in c8eb12a after 43 minutes.


Add working undo button to undo submit.

Closing this since this repo is obsolete.

Reopening this as READ THE DESCRIPTION OF THIS REPO

The reason why I closed this is because of this: #34


Parse and translate individual values, and more

I did the following:

parse and translate individual values using postcss-values-parser
migrate Yarn to pnpm (if you don't like this I'll change it back to yarn), but pnpm is faster. I should have discussed this first to be honest
migrate tests to use @csstools/postcss-tape.

I forgot to add documentation around the testing, I'll add it tomorrow.


Request New Feature

Is your feature request related to a problem? Please describe.
No. Yeah, a little. For some newbie(s) it's a little confused to install
Describe the solution you'd like
Adding more feature(s) with good quality and a clear instruction(s)
Describe alternatives you've considered
More responsive display of the program and some loops
Additional context
How about if you're planning to add a feature about Web Information Gathering. It will be very nice !. I'll contribute by share this program to my social media. Great program sir !

I'm working on it ! :)

Okay, i've done it. I've just released the v1.2 with 2 new feature options. Take a look :)


Can no longer deploy Cloudformation where API Gateway is in a different file than the Lambda

We had to separate our API Gateway put it in one file (api.yaml) and have our lambdas in another (serverless.yaml), and then have the API being a imported value in serverless.yaml
  BaseRequest:
    Type: AWS::Serverless::Function
    Properties:
      ...
      Events:
        GetResource:
          Type: Api
          Properties:
            RestApiId:
              Fn::ImportValue:
                !Sub ${Service}-apigateway-${Environment}
            Path: /{countryId}/{path}
            Method: GET
        PostResource:
          Type: Api
          Properties:
            RestApiId:
              Fn::ImportValue:
                !Sub ${Service}-apigateway-${Environment}
            Path: /{countryId}/{path}
            Method: POST

This was never an issue up until a week ago, where we now receive the following error:
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [BaseRequest] is invalid. Event with id [PostResource] is invalid. RestApiId must be a valid reference to an 'AWS::Serverless::Api' resource in same templatemake
One option would be to move the depending Lambda to api.yaml but we would like to have all of our Lambdas together in one file.

Is this error fixed for you?
What wonders me the most is that, how did you make it working as we couldn't ever extract our API Gateway out from the SAM Template file as the SAM would fail with error "The RestApiId must be a valid reference of serverless:api type resource in the same template file".
Would you mind sharing your Api gateway SAM file (or did you use plain CF and not SAM) that you used to create the Api Gateway?

Any updates on what you did to resolve this (if you did)? Running into the same issues.

We currently only support !Ref for RestApiId. We'll update documentation to reflect this.


Llama3 Tokenizer

What is the issue?
I requanted the llama3 Sauerkraut with the newest release of llama cpp which should have fixed the tokenizer, but when I load the model into Ollama, I still get the wrong output while people using llama cpp get the right one. So I'd say that there is still something buggy in ollama. Here is the Output.
"What is 7777 + 3333?
Let me calculate that for you!
77,777 (first number) + 33,333 (second number) = 111,110
So the answer is 111,110!"
OS
Linux
GPU
Nvidia
CPU
AMD
Ollama version
0.1.32

Yeah, same here. Freshly converted GGUFs of both original L3 Instruct and various finetunes that give proper answer to this question in llama.cpp (b2776) fail when imported into ollama (0.1.32).

Duplicate? https://github.com/ollama/ollama/issues/4026

Oh yeah duplicate, Im gonna close this then.


DaVinci CRD CDS Hooks example/service

A draft pull request that moves towards a working example of the DaVinci CRD, seen in #12.
The first thing this does is add support for the extensions key. According to the spec:

...rather than proposing a change to the base CDS Hook specification, this IG leverages the CDS Hook extension mechanism to
provide an experimental approach to specify and control the types of information returned to users.

This is what a CRD service config options using Sero could look like (shortened for brevity):
const options = {
  hook: "order-select",
  title: "Payer XYZ Order Selection Requirements",
  description:
    "Indicates coverage requirements associated with draft orders, including expectations for prior authorization, recommended therapy alternatives, etc.",
  id: "order-select-crd",
  prefetch: {
    patient: "Patient/{{context.patientId}}",
    medications: "MedicationOrder?patient={{context.patientId}}",
  },
  extension: {
    "davinci-crd.configuration-options": [
      {
        code: "priorauth",
        type: "boolean",
        name: "Prior authorization",
        description:
          "Provides indications of whether prior authorization is required for the proposed order",
        default: true,
      },
      {
        code: "prior-auth-form",
        type: "boolean",
        name: "Prior Authorization Forms",
        description:
          "Indicates any forms that should be completed as part of a prior authorization process",
        default: true,
      },
      ...
    ],
  },
};

To do this, Sero needs to support extensions, which means extending the Service class. More on this here.
According to the spec, the value of an extension must be a pre-coordinated JSON object. In the object, The key is the name of the extension and the value is the extended data made available to the CDS service. Extensions are loosely defined, as incorporating all valid requirements would make this specification very cumbersome and difficult to implement. Thus, all additional information a service needs will be implemented as an extension.
This is not a working example yet but publishing this to master means the sero npm package can support it and examples can be made in isolation.

^ whoops on the re-request, adding some changes


API GET PEER online, traffic possible?

Hi is it possible to get any information about the peer, if he is online or traffic stats or something, like in Backend but over API?
In Backend there's that Information.

This will be added in the new version.


TableOptions are being overwritten with multiple tables on the screen.

We are seeing an issue where the options are overwritten and all the tables on the screen end up with the same options, including columns.
https://plnkr.co/edit/AKy4ZtuLmpmrMk83F2sW

Any update on this?  It's preventing us from using the module and we would really like to use it.  Thanks!

Duplicate of #103, work in progress.


publish<EMAIL_ADDRESS>

Requested by: @kamilogorek
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave the #retract comment under this issue to retract the release (original issuer only).
Targets

[x] gcs
[x] npm
[x] brew
[x] github
[x] registry
[ ] pypi
[ ] sentry-pypi

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

All targets succeeded except the PyPI. This is not a meaningful release in any way, so if thats fine, we can just skip this release there, cc @asottile-sentry

2.20.3 has been already released with a valid pypi release (which also failed on the first pass, odd). This can be closed.


Make solve() function async

In the readme, it seems that solve is async. You have the following example where you await for solve:
final newton = Newton("2*x+cos(x)", -1, maxSteps: 5);
final solutions = await newton.solve();

However, solve is not async and does not return a Future.

Thank you! Functions are synchronous, I am going to updated the readme 😄


Handle more fatal errors

This adds more robust handling for fatal errors including fatal error: concurrent map read and map write
Thanks!!

@max-b did you find a way around this?

@max-b did you find a way around this?

It's been a little while, but I'm pretty sure we ended up just working off the branch that this PR is from: https://github.com/getlantern/panicwrap :shrug:


Ardupilot performance tips

Hi!  @tfoote
For performance on ardupilot, I recommand you to not use mavproxy but directly use the binary with console param as you are already using mavros and QGC to control the uav.
ex : /home/khancyr/Workspace/ardupilot/build/sitl/bin/ardurover -S -I1 --home -35.363261,149.165230,584,353 --model rover --speedup 1 --defaults /home/khancyr/Workspace/ardupilot/Tools/autotest/default_params/rover.parm --console 2>&1 > /dev/null
(redirect ouput to garbage otherwise you get all garbage )
This will prevente mavrpoxy and python to slow down everything.
Moreover, using speedup parameter doesnt works well with mavproxy, as mavprox isn't speeding up. So you with -S10 you send hearthbate 10th per second and mavproxy only catch and respond once per second, so you will be at failsafe limit. Nevertheless I don't know if mavros or QGC got the same limitations.

Thanks for the suggestion on the speedup. I'd noticed that with it enabled I could actually run gazebo at higher than realtime up to the speedup parameter. But if it may cause timeouts, I'll drop it down or out as running above realtime is not a priority for development now.
Can the autopilot natively send mavlink messages? I was under the impression that mavproxy connected to the autopilot and then provided the mavlink interface with which then mavros exposed at ROS interface on top of. Dropping a layer of the abstraction would be great, with a large number of drones the overhead of the many processes adds up quickly.

Of course it can! otherwise it couldn't fly ^^ ! But I can't make it works with --console param. Without it wait a connection on tcp port 5760, 5761, 5762 that are uart simulated. So connection mavros directly on that works a launch everything !

BTW I rebase multi-sitl branch on master and make some correction, like for in address that mustn't be the same that gazebo address , but I see you also found this wrong and already correct it on gazebo !


issue with this game

story_prefab_211.zip
Could not parse the game, Can you see the problem? thank you!

Load the game with AlchemyStars profile and set the unity version manually in Options -> Specify Unity Version as the version is stripped from bundle.

worked, thank you


Collapse button jumps to the top of page

(The bug seems to exist only on iPhone with safari browser and chrome browser)
This issue happens when there's a long text above the collapse button and a long text that is hidden and being expanded.
Clicking on the collapse button to close the expanded text - jumps to the top of the page, instead of staying in the same position of the page.
Steps to repeat -

On an iPhone device, scroll down until you can see the button to collapse.
Click on the button once to expand the text.
(The page will jump to the top, instead of staying in the same position)
Scroll down until the button is on top of the view.
Click on the button again to collapse the text.
(The page will jump to the top, instead of staying in the same position)

https://codepen.io/shaal-the-reactor/full/ERMWJG/

Upgrading to latest releases seems to fix this for me.


VULN4OS-99 fix(manager): comma is allowed search character in fulltext search

Codecov Report

Merging #87 (7940ceb) into master (810bce7) will decrease coverage by 0.75%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
- Coverage   40.43%   39.68%   -0.76%
==========================================
  Files          13       13
  Lines         643      635       -8
==========================================
- Hits          260      252       -8
  Misses        364      364
  Partials       19       19

Flag
Coverage Δ

unittests
39.68% <100.00%> (-0.76%)
:arrow_down:

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

Impacted Files
Coverage Δ

manager/middlewares/filterer.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Syntax eror refers to the line that doesn't exist

Tested versions
4.2.1. stable
System information
4.2.1. stable win
Issue description
Syntax eror refers to line that doesn't exist when the function body is empty. This is an unexpected behavior

Steps to reproduce
remove any content in function body
Minimal reproduction project (MRP)
not requred

Duplicate of https://github.com/godotengine/godot/issues/81046


Feature/67 testing improvements

Added a testing suite for the console utils
Github actions now also print a coverage report
evaluation of improvements for testing have been documented in #67

Great work on adding a testing suite for the console utils. and it's fantastic to see that GitHub Actions now includes a coverage report.


Add Decimal256Builder and Decimal256Array (generic approach)

Which issue does this PR close?

Closes #1999.
This is alternative PR that implements Decimal256Builder and Decimal256Array in generic approach.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

As this has some issues, I'd close this and prefer #2000 now.

👍 Thank you for the trying @viirya .


Cache revisions in memory

Don't load revisions from git every time they are requested. This should improve performance a little.

Related to #48.


Build shared library on Windows.

Checklist

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

Maybe this fixes #53.

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

Unfortunately coinor-cmake does not use the standard BUILD_SHARED_LIBS variable, but a custom ENABLE_SHARED_LIBRARIES        ( https://github.com/traversaro/coinor-cmake/blob/ipopt-conda-forge-build/Ipopt/CMakeLists.txt#L36 ) that however is on by default.

@traversaro Thanks.


Problem with finding collapsed nodes.

Hi.
I have tree in which I'm looking for node by its id. Everything is ok, when node which I'm looking for is visible(his parent has state opened), but when its parent is closed jstree can't find that node.  For example:
$(document).ready(function(){
$('#jstree_demo_div').jstree({ 'core' : {
'data' : [
{ "id" : "ajson1", "parent" : "#", "text" : "Simple root node" },
{ "id" : "ajson2", "parent" : "#", "text" : "Root node 2" },
{ "id" : "ajson3", "parent" : "ajson2", "text" : "Child 1" },
{ "id" : "ajson4", "parent" : "ajson2", "text" : "Child 2" },
]
}});
$("#jstree_demo_div").on("select_node.jstree", function(){
console.debug($(this).jstree(true).get_node("#ajson4"));
});
});
When 'Root node 2' node is opened there is an object returned to console, but when I close 'Root node 2' there is no node founded and false returned...

Thanks vakata!
This also solves my problem when i update nodes of collapsed parents!


Maven plugin: diktat should have it's own maven plugin

Describe functionality and prepare a POC

Plugin should let:

Set config file location
Have a task to generate config (basically, copy default config file from inside the jar to working directory)
...

Another drawback of current implementation via antrun is from here: 'Requires dependency resolution of artifacts in scope: test'. The dedicated plugin should not need any of project dependencies in order to only analyze source code.


Substitution

Note: This replaces the previous PR #20 (which was from my master branch).
Adds substitution capability suggested in #13.
Now you can do:
var sepia = require('sepia');

sepia.substitute('<MYSECRET>', function () { return process.env.MY_ACCESS_TOKEN; });
sepia.substitute('<MYSECRET2>', function () { return process.env.MY_ACCESS_TOKEN2; });
// etc.

And the fixtures will contain <MYSECRET> and <MYSECRET2>, while the requests will contain the value of MY_ACCESS_TOKEN and MY_ACCESS_TOKEN2.
I added tests, but couldn't quite figure out how to test the fixture files themselves.  I did check that they look right, though.
@avik-das - Could you take a look?

I like this idea a lot.  Trying to understand the code.  Does it have limits to how many secrets you can set up?  Or limits on how many secrets can be in a single response?

@jimmyeisenhauer No limits.  Just call sepia.substitute(...) with a new key and function.

thanks for the info!  I got your PR working.  I think it will be really helpful for my needs and my guess others as well.  Not just secrets but any kind of replacement you want to do.  I am working on DateTime values to be relative instead of hard coded.
I did notice it is only 1 replacement per secret per response.   For example if you had actual_value multiple times in the api response that you wanted to sub you would need to create two secret_values with the same actual_value.
I was looking at maybe looping the substituteWithRealValues but curious if you tried this and if performance takes too big of a hit?

Thanks for catching that, @jimmyeisenhauer.  I pushed a fix which uses text.split(key).replace(value) to do the substitution in a single pass per substituteWith* call.

Is anyone still maintaining this repo? There are a couple of other PRs that would be nice to get merged.
Ping @vslosh @egoldblum @ethankao @deepankgupta @salvipriyanka @ashimaatul

@aneilbaboo I'm not at LinkedIn anymore, but I'm trying to track down someone there to get the ball rolling.  Thanks for your patience.

Awesome.  Thanks.

@egoldblum - any luck finding the maintainers?

@aneilbaboo I'll try to find you a maintainer

@egoldblum This seems like a nice fix.  It would be really good to get this and other PR's (like my bug fix for Windows) merged.  Collecting too many good fixes spread across forks for now.


Storage queue drain test

It's a unit test to ensure the storage queue is drained.

Thank you for your contribution. Good work 👍

@chkr1011 I missed an import.  You got it covered?

Yes I fixed it.


bug: synchronize the default layout model

Describe the bug
Currently, unstructured and unstructured-inference use different default layout models, so there are many differences in the elements extracted by the two libraries.

unstructured: detectron2_onnx (old model)
unstructured-inference: yolox_quantized (updated in the unstructured-inference PR #201)

To Reproduce
PDF: references.pdf

unstructured

    elements = partition_pdf(filename, strategy="hi_res")
    print(len(elements))

unstructured-inference

    layout = process_file_with_model(filename="references.pdf", model_name=None)
    print(len(layout.pages[0].elements))

Screenshots

Elements extracted with the unstructured Library

Elements extracted with the unstructured-inference Library

Expected behavior
The elements extracted by the two libraries shouldn't be too different.
Environment Info
unstructured             0.10.18
unstructured-inference   0.6.6

Additional context
This issue is related to issue #1602.

Addressed by PR #1607


Change illustration in transnational exposure logging screen (EXPOSUREAPP-5450)

This small PR changes the illustrations of the Transnational Exposure Logging Screen, so that the Switzerland flag is now next to the EU flag.
This screen is accessible

from Exposure Logging Settings
Delta-Onboarding (Added in 1.5)

Norway is a member of the EEA, but not of the EU.
Should it then be listed similar (separate flag) to Switzerland?

@Thusid thank's for your feedback, I forwarded it to the corresponding colleague.


add metadata to analyzers, use it to trim required resources

This PR does the following:

Analyzers now return a structured Metadata object instead of just their name, including fields that list what resources they need.
When getting data from Kubernetes, we trim out any resources we don't need for a significant performance improvement. (See https://github.com/istio/istio/issues/17036)

[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
8ba3a28dbc93b847e5c557bf4db9fe080865f777
link
/test integ-mixer-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


FIXING NAVBAR overflow

the navbar content is overflowing that seems Unappropriate .
i can fix this issue and fix the overflow .

Please assign this issue to me as I would like to work on fixing it. also add the label GSSoC 2024 Extd relaevant and lvl.

Go ahead. Also, fix the navbar in mobile view.

Can work on this issue?

As this issue is not resolved for more than a week, and the website is now updated with new changes


Invisible reCAPTCHA

In your comments, you said you were opposed to a CAPTCHA because it would be too invasive for users to complete a CAPTCHA every time they want to fill in a pixel. This is not actually the case. Google provides an Invisible reCAPTCHA that only pops up if Google suspects you are a bot. Calling this when placing a pixel will provide a transparent user experience while also preventing botting.

I would argue that some paintings can only be accomplished with a Bot. Therefore I See no Rayon to actively prevent Botting

Any painting can be created with a sufficiently dedicated fanbase. An Invisible reCAPTCHA wouldn't prevent userscripts that display a overlay of where to place tiles, and a simple painting would be repaired by passers by who repair a stray pixel or two.
What this would prevent is people leaving their computers on 24/7, preventing new art from being created over old. Humans know when to give up, bots do not.

I agree to your Point, that 24/7 bots should be prevented, but whats I referred to a "Bots" Werne Userscripts. In my eyes the User would be affected by the Captcha, because after a few Funktion Falls Google nicht suspect he is a bot, because he is not acting "human" e.g. moving the mouse inside the webpage etc.

Google will usually back off with captchas if they successfully complete a few after being suspected. I think users will much rather solve a few captchas than compete with userscript bots.
There's no way to differ between userscript bots and 24/7 bots, because you can run a userscript bot all night long. For a human, they have to sleep and eat, putting them at a disadvantage compared to the botters.

Invisible ReCAPTCHAs won't do much. The bot could always use a technique to move the cursor smoothly.

 A human
will move his mouse in fast, inaccurate movements that are hard to
replicate with a bot. Google uses these movements and other metrics to
detect botting.
On Apr 4, 2017 10:01 AM, "hjroh0315"<EMAIL_ADDRESS>wrote:

Invisible ReCAPTCHAs won't do much. The bot could always use a technique
to move the cursor smoothly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xSke/Pxls/issues/3#issuecomment-291509195, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE-bYg0D3u0Uom-Dxf1PgdwUR2Q7VIF1ks5rsk07gaJpZM4Mx862
.

https://github.com/xSke/Pxls/commit/0d52418ab6faf5a0dafcb8d6ab94b21e893a7ac3


test: migrate mocha.opts to .mocharc.json

Migrate mocha.opts to .mocharc.json.

gulp-textlint is used 6.x mocha, So changed it to the same version as other packages.
I seem that<EMAIL_ADDRESS>is an unnecessary file. So removed it.

ref #672

I seem that<EMAIL_ADDRESS>is an unnecessary file. So removed it.

Yes. It histtorical reason. It is not nessary now.


Update cas-server version to use the forgot password feature in cas

Miao,
Two comments:

Is there functionality in eureka that implemented the old forgot password functionality that needs to be deleted?
I try to avoid committing dependencies on a SNAPSHOT release to upstream. Once there is an Alpha release of cas that implements the new forgot password functionality, depend on that instead.

Thanks!

Answers your questions:

There should not be any code in eureka for old forgot password functionality, I already deleted it. But I will double check, there might be some code related to old forgot password function in user-* projects, I will look into those modules to make sure
Okay, got it, thanks.

You are right.
By default, views are cached to improve performance.
To disable it only for a single state, just add cache: false to the state definition.
So for eliminating the caching that occurs when the user first navigates to Eureka, I should not put cache:false over there.
I took it out now, please review again


FIX: Keep db_connect wrapper from blowing away docstrings.

Before:
In [2]: insert_run_start?
Type:        function
String form: <function inner at 0x1041bb8c0>
File:        /Users/dallan/Documents/Repos/metadatastore/metadatastore/commands.py
Definition:  insert_run_start(*args, **kwargs)
Docstring:   <no docstring>

After:
In [2]: insert_run_start?

Type:        function
String form: <function insert_run_start at 0x1041bb8c0>
File:        /Users/dallan/Documents/Repos/metadatastore/metadatastore/commands.py
Definition:  insert_run_start(*args, **kwargs)
Docstring:
Provide a head for a sequence of events. Entry point for an
experiment's run.

Parameters
----------
time : float
    The date/time as found at the client side when an event is
    created.
beamline_id: str
    Beamline String identifier. Not unique, just an indicator of
    beamline code for multiple beamline systems
beamline_config: metadatastore.odm_temples.BeamlineConfig, optional
    Foreign key to beamline config corresponding to a given run
owner: str, optional
    Specifies the unix user credentials of the user creating the entry
scan_id : int, optional
    Unique scan identifier visible to the user and data analysis
custom: dict, optional
    Additional parameters that data acquisition code/user wants to
    append to a given header. Name/value pairs

Returns
-------
run_start: mongoengine.Document
    Inserted mongoengine object
(END)

:+1: Just waiting on travis.

Changes Unknown when pulling b38df551f5767e46154ee1d8a54db50eafdef636 on danielballan:wrap-better into ** on NSLS-II:master**.


corrected field used in conditional for canary doc typing (#555)

Something must have changed with the GELF logging in canary module.  It looks like it uses numeric (probably syslog) facility now, so I changed the conditional used to retype the message to use the "service" field.
Reviewers

@vichargrave
Description

Related Issue

closes #555
Motivation and Context

Saved searches related to canary should work now.
How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

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

Checklist:

[ ] My change requires new model migrations.
[ ] I have executed makemigrations (if necessary).
[ ] My change requires new docker images for development.
[ ] I have created and pushed new docker images (if necessary).
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly (if necessary).
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed locally.
[ ] Test coverage percentage has improved.
[x] PEP8 passes (for python code).
[ ] Pylint score has improved (for python code).

[Current coverage][cc-pull] is 69.01%

Merging [#579][cc-pull] into [develop][cc-base-branch] will not change coverage

@@            develop       #579   diff @@
==========================================
  Files            37         37
  Lines          1336       1336
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            922        922
  Misses          414        414
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [3f1ba7a...e119232][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Solinea/goldstone-server/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/Solinea/goldstone-server/compare/3f1ba7a3e6ce0c58183dcc2ea76df062e63045b2...e119232da0dbe0b44c7277656fab860ff2079e41
[cc-pull]: https://codecov.io/gh/Solinea/goldstone-server/pull/579?src=pr

👍


use script

What can I use your's script in the dwm.
Give me a example. such as weather script.
Thank you very much!

Just see the repository call scripts https://github.com/theniceboy/scripts


.pyc in pypi package

Hello,
The pypi package version 8.1.0 contains the .pyc files
They were not present in previous packages and now causes some packaging issues.
is it possible to remove them ?
Regards

That's weird, shouldn't happen. Will look into it.

Op 26 jan. 2017, om 17:16 heeft Invenis<EMAIL_ADDRESS>het volgende geschreven:
Hello,
The pypi package version 8.1.0 contains the .pyc files
They were not present in previous packages and now causes some packaging issues.
is it possible to remove them ?
Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/dyve/django-bootstrap3/issues/365, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFBi-Uy_0l2Za2WCcv2WjtEnCkyxBPyks5rWMbdgaJpZM4Lu0Zp.

It was a bug in setuptools.
I have added a global exclude in the newest release to make sure it can't effect django-bootstrap3 again.

Op 26 jan. 2017, om 18:04 heeft Dylan Verheul<EMAIL_ADDRESS>het volgende geschreven:
That's weird, shouldn't happen. Will look into it.

Op 26 jan. 2017, om 17:16 heeft Invenis<EMAIL_ADDRESS><EMAIL_ADDRESS>het volgende geschreven:
Hello,
The pypi package version 8.1.0 contains the .pyc files
They were not present in previous packages and now causes some packaging issues.
is it possible to remove them ?
Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/dyve/django-bootstrap3/issues/365, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFBi-Uy_0l2Za2WCcv2WjtEnCkyxBPyks5rWMbdgaJpZM4Lu0Zp.

Cool. Thank you !

it's solved please close the issue


Visual Update - Buttons

Make buttons take up the complete width of the side they are on

Completed here: https://github.com/DunkleMango/StarboundModManager/commit/a5ab57b9e62b406e9e91755c51298d3387774999


Revert "Updated Gaffer version to 1.19.0"

Reverts gchq/gaffer-tools#936

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@2e95105). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #937   +/-   ##
==========================================
  Coverage           ?   56.10%
  Complexity         ?        6
==========================================
  Files              ?       16
  Lines              ?      508
  Branches           ?       36
==========================================
  Hits               ?      285
  Misses             ?      204
  Partials           ?       19

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 2e95105...973af2a. Read the comment docs.


[Bug] Cannot Open after installing on Discord Canary

Description
After installing BetterDiscord on Canary, I get this error message:

To Reproduce

Install Discord Canary
Download and install BD on Canary

Expected Behaviour
BetterDiscord running on Discord Canary
Screenshots
Located Above
Discord Version
Canary  (The latest I guess, fresh install just before this issue)
Additional Context
I just converted to Canary now this
really annoying

One more thing I forgot: Repairing doesnt work

This is a known issue, see #821.

Discord's latest update includes pushing Electron 13, please be patient while fixes are made. In the meantime use stable or just uninstall BD on Canary.

Duplicate of #821


Feature request: Keyboard shortcut to clean up entire object and combine with ABAP Formatter

Hi Jörg-Michael, my regular shortcut usage looks like this currently:

SHIFT+F1 to use the ABAP Formatter on the entire class
CTRL+A, then CTRL+SHIFT+4 to use the ABAP Cleaner on the entire class
CTRL+SHIFT+F3 to save and activate everything

That's quite some finger acrobatics. 😄 My request is for a keyboard shortcut to use the ABAP Cleaner on the entire class without having to select the entire class beforehand. (So essentially: Have a shortcut that uses the same selection mechanism as the ABAP Formatter.)
My second request is for a possibility to include the ABAP Formatter in the shortcut. The ABAP Cleaner doesn't fully replace the ABAP Formatter yet, so I still see the need to use it. (I can open a separate issue for this if you want to.)
In my ideal scenario I could then put this new shortcut on SHIFT+F1 and work like I used to.

Hi ConjuringCoffee and @jelliottp,
just to be sure: the idea is to have an extra pair of shortcuts such as Ctrl+5 / Ctrl+Shift+5 (indeed those don't seem to be used in Eclipse yet), so the developer could control whether to clean the selection or current object (Ctrl+4) or the entire code document (Ctrl+5), right? So you don't mean a setting with which developers could configure the cleanup scope of Ctr+4 (e.g. "current object" / "entire code document") inside ABAP cleaner.
The request isn't new (it already came up during the Inner Source phase), but I always wondered whether blocking 4 shortcuts and adding 4 entries to the "Source Code" menu may be a bit (too) much?
Regarding ABAP Formatter, I don't think we could technically include it in the ABAP cleaner shortcut; however, I would be interested in examples of where ABAP cleaner doesn't replace ABAP Formatter yet!
Kind regards,
Jörg-Michael

Regarding ABAP Formatter, I don't think we could technically include it in the ABAP cleaner shortcut; however, I would be interested in examples of where ABAP cleaner doesn't replace ABAP Formatter yet!

I can collect the examples I find if you want. How do you want to receive them? In this issue or in a separate issue?

Hi ConjuringCoffee and @jelliottp,
so here's what you will find in the next release: Next to the profile selection, the interactive UI now offers the new setting "Default cleanup range" (I reworked the whole section a bit):

"Default" means that if you select a specific range of code, ABAP cleaner will always only change this selected range. However, if the cursor is at some place inside the editor, but nothing is selected, ABAP cleaner will derive a "default cleanup range" from the cursor position. So far, ABAP cleaner used "Default cleanup range: Current method etc."; now you can change that into one of the following settings:

As with the profile, the last setting from the UI is also the new setting for automated cleanup – so if you set it to "Entire code document", Ctrl+4 will afterwards always do exactly that (until you change it again on the UI).
So, as long as you don't want to switch all the time, this might help :-) And as Josh wrote:

We are almost always applying rules to a whole class, and most engineers are used to the ABAP formatter behaving this way already

Kind regards,
Jörg-Michael

Cool, thank you. But what is the difference between Current class and Entire code document?

Regarding ABAP Formatter, I don't think we could technically include it in the ABAP cleaner shortcut;

So.. in today's DSAG session it sounded like this could be possible after all? 😉


docs(deployment): add permissions config to github action file in v2.4.3

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[x] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

this is already documented in the latest version by commit 35183d7d87df4935101a6bf62c98cb9cb7d7711b
See also #8877
This is also working for v2.4.3 and needed for using GitHub Pages and Actions with the default setting for the action's automatic GITHUB_TOKEN
Since v2.4.3 is the current version, which is shown by default, doc readers should also see the permission config, so they don't run into permission issues.
Test Plan
no code change, only mdx

Test links
Scroll down to Triggering deployment with GitHub Actions

Tab Same -> Expander GitHub action files -> Code box .github/workflows/deploy.yml
Tab Remote -> Expander GitHub action files -> Code box .github/workflows/deploy.yml

Deploy preview: https://deploy-preview-9377--docusaurus-2.netlify.app/docs/deployment#triggering-deployment-with-github-actions
Related issues/PRs

Thanks ;)


CARDS-1767 - Questionnaire wizard refactoring and polishing; CARDS-1770 - Questionnaire designer: Make questionnaire title editable

Status

This PR is a DRAFT until #1033 is merged, as it depends on some changes made on the CARDS-683 branch.

Includes:

CARDS-1767 - Questionnaire wizard refactoring and polishing

Refactored to remove duplicate code and to improve code readability
Added tooltip to the Edit buttons
Better display of ConditionalGroup (as "Conditional group") in the UI
Overall layout, spacing and font style fixes
Added the ability to collapse all questionnaire items
Used theme colors for avatars
Added a background with transparency to questionnaire entry cards to give a better idea of the depth of each item
This issue is not yet complete. The reorganization of components and files will be done separately.

CARDS-1770 - Make questionnaire title editable

What to test:

The entire functionality of the questionnaire wizard

Reviewing:

As usual, reviewing individual changes commit by commit might be easier than file by file.

One small cosmetic thing that I noticed. When creating a new questionnaire Maximum forms of this type per subject is not shown in the view mode. The blank means Unlimited, however Unlimited will show up only if I press edit button and resave.
Similar thing with the SubjectType field. It is not shown because it is blank. In previous versions we would display Any.
Perhaps by default we may either put all of the subject types?
This is very small cosmetic thing that I noticed when comparing to the previous version. Functionality-wise all is good.

Rebased on the latest  CARDS-683 and made ui adjustments per discussion: reduced the indentation of child entries, used the text/label in the title bar.


Cannot save volumes using the button in the volume widget

In quantiphyse v.0.9.3.post2 installed via pypi, when I try to save a volume using the save button at the bottom of the volumes widget I get an error:

I select the file location and name in standard ubuntu save dialog, and when I click save the error above appears.
I can still save the file, however, if I select the volume and then do file>save current data or ctrl+s.

Fixed on master. Odd one - although the bug is clear in the code I couldn't actually get it to reproduce myself. Awaiting pypi release.

v0.9.5


Wallpanel on Nexus 7/Android 6.01

I run Wallpanel for a while already on a wallmounted Nexus 7 with Android 6.01. Every now and then I do a clean setup after a factory reset, because for some reason it starts to behave strange. In the past this worked w/o issue, but today Playstore told me that Wallpanel is no longer available for my device. It still reads „Android 4.4“ as minimum version, so what am I missing? It‘s a naked clean 6.01 setup with Chrome and WebView updated to latest versions.
Can you please check whether you mistakenly unchecked Nexus devices in supported devices on Playstore?

This is something that Google has changed, they seem to have stopped supporting some older devices as well as Amazon tablets through the play store.  You will need to install the application manually from the release section of GitHub.

Strange enough there are no restrictions on other software for me, so it wasn't somehow generally blocked now on Playstore. I also don't think that Google switches off supported devices just out of the blue w/o notifying (I am a dev. with SW on the Playstore myself...). If so I'd say you've set some flags somewhere that make it fall out of the matrix, but you could easily check in playstore under supported devices and search for e.g. Nexus. Given that OS is more than sufficient, there must be some other constraints that creeped in.
Installed now via APK and it runs fine. Just thinking that you loose some users, because these Nexus devices make some really nice wall panels these days (I made some advertisement for you even on this Reddit post :-) : ).

Yeah I have checked and it’s happening to Amazon tablets as well for my app.  I haven’t changed support for Wallpanel, it has minimum sdk version 19.   What I have done recently is update the dependencies including Google Services.  I’m Google Play console no devices are restricted.
I did a search and I can’t find anything related, so for now I am assuming Google has done something on their end.  So far only older devices, Amazon tablets have reported this issue.
I will continue to investigate, perhaps it’s something obscure such has hardware acceleration.  You’re welcome to look at the manifest and gradadle build file to see if your discover anything.
For now the simplest solution is to install manually until I can be returned to the matrix.

Might even be Google Services then. I usually only update WebView after factory reset. Everything else pulls in too much crap, but maybe next time I also update Google Services for a try. Obviously it's not required, because APK just runs fine w/o updating, but maybe dependency resolution from Playstore is more strict here.

Your solution for waking the device with an external sensor is brilliant, just read through your article.   I am going to do some tests today on my older Nexus 10 device without updating Google Services to see if it can install WallPanel.  I know google reads the manifest for compatibility, perhaps this is the hardware acceleration flag, I recently changed it from false to true because others where having crashes with camera use (which your external sensor idea solves as well :D).

Search of supported devices in Google Play no longer shows Nexus 7 or Nexus 10:

List of unsupported devices:

The reason:

This device isn’t supported in your app’s APK manifest. Users with this device can’t install or update your app.```

I am pretty sure its the hardware acceleration flag, let me remove that and update the app in Google Play.  That is the only thing I have changed since the previous updates due to the camera support issues.  There is a flag in the settings that turns on/off this feature as well.

However, I do use WallPanel with HW Acceleration switched on in the Wallpanel settings (don't know if this is the same thing than setting in manifest, though...)

In addition to the hardware support flag, I recently added support to allow the microphone on the WebView.
  <!-- Permissions to record audio from web page -->
    <uses-permission android:name="android.permission.MICROPHONE" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

    <!-- Features supported -->
    <uses-feature android:name="android.hardware.audio.low_latency" />
    <uses-feature android:name="android.hardware.audio.pro" />
    <uses-feature android:name="android.hardware.microphone" />

The only way to test is to upload a new version to the store and then see if the device is supported.  I will let you know if I resolve this.   Thanks for help!

Ok

One other thing I noted with the latest Beta-APK I am now using: the Rest command for waking the screen does no longer work. It responds 200/result:true, however the screen doesn't switch. Any other changes in the SW that I haven't yet considered? It's not the first time I did this whole clean setup procedure, but so far I never had to change anything in the device setup other than installing Wallpanel, allowing the RestAPI and setting the dashboard URL.

You need to send a wake command differently, now adds a time to wake.  This was a feature change so you can wake the device for a set amount of time without the screensaver (built-in) activating.    If yo just send wake/true the screen wakes until the screensaver (user inactivity time) kicks in only.
I have fixed the manifest issue, it was the new microphone permissions, they needed the required=false flags or they will exclude devices without those features.  That was a mistake on my part.

For waking the screen, send something like this {"wake": true, "wakeTime": 180} to wake for 3 minutes, or whatever, it's in seconds.

I think if you just send {"wake": true}, the time is set to 0, which makes no sense since it won't wake the device.  It was set to 30 seconds default, but it should be set to the user inactivity time, the timeout you set in the settings to turn on the sceensaver or let the screen sleep.    I will fix this by adding either a 30 second default wake time or use the settings for the user inactivity time.

Yeah, I saw that on another issue and as I wrote, it doesn't matter. Tried with different wakeTimes, no change. It also seems to be a different issue altogether, as other commands also no longer work. reload, settings, speak -- none do anything, but all respond 200. RestAPI is enabled on port 2971. But Wallpanel just ignores everything.

I have tested these with the rest command, I was able to use speech without issue and wake.

This is working for me for TTS:
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "speak": "\xc2\xa1\x41\x6c\xc3\xb3\x21 mundo"
}```

I am also able to wake the device:
 curl --location --request POST 'http://<IP_ADDRESS>:2971/api/command' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "wake": true
}'
{"result":true}%

This a stupid question, but did you check the IP address in the settings for your device, on the http screen I post the address of the device with the port.   I know you said you clean your device, perhaps it has a new IP address.  Yeah, I am sure you checked this, but you know... haha.

The device gets a fixed IP (based on MAC) from my router, but yes...I also checked to be sure  :-)
And as said, using Postman instantly returns 200 and a proper result json ({"result": true"}). If I e.g. don't set the content type properly ("application/json"), it would also correctly respond with "result": false.
I have a bunch of ready-made Postman templates from when I initially tried the RestAPI, and all of them don't do anything (like I said reload, speak etc.) They all worked until yesterday...
Just seeing Betas in Github. Is there a list of releases also, so I can just try a Playstore/release version from like 4-6 weeks ago, if it makes a difference?

You can go back to previous releases in the store, but I am not able to reproduce any issue on the current version in Google Play store that was released in the last hour.  The app is always in beta, just avoid the pre-release versions.  I will be posting the current play version to github in a few.

Here is my postman with wake, just using content type json header:

These are my headers:

This worked on the latest release, that is up in the release section now.

With speak command:

TTS may be related to Google Play services, but I think the app will display an error if not supported.

Yeah, same here.

It's just not doing anything for any of the commands...

I can't reproduce the issue, did you try with https://github.com/thanksmister/wallpanel-android/releases/tag/v<IP_ADDRESS>?  That is the latest release.   Maybe some parsing json error, but the commands have not been changed in the way they parse json for many releases.  You can try with an old release, before I used the code to open the settings: https://github.com/thanksmister/wallpanel-android/releases/tag/v<IP_ADDRESS>

Yes, as soon as my "day job" lets me I will try different versions. Need to walk to the device, as it's glued to the wall ;-)

Yeah no issue, maybe you should try with a basic command, TTS could be dependent on Google Services.   Try just a different URL  {"url": "http://www.google.com"}.

No, that is what we return on success.   My point about using the url command is that it doesn't depend on Google Services, and it's not the revamped wake command.  It's like a baseline test.  If this doesn't work, it's you man, not me (maybe).

Setting the URL doesn't return/times out.

That’s really strange, it works as expected from postman.  Check your headed maybe?  Make sure you have correct quotes.

You're right, fck German quote signs that look exactly the same... ;-)   (should it hang then, though?)
Anyway, same here with correct quotes. Returns 200/result:true, but nothing happens. It's just continuing to show my dashboard.

That's not the behavior, a wake simply removes the screensaver.  There is a separate call to reload and that is not called at any time during a wake.    This might be some connection issue with HA, is it a reload of the page or do you see the connection reload in HA.   Maybe WebView support?

Looking closer it seems rather like the whole website is reloaded as if it would have been freshly started, i.e. as if the Wallpanel was just started and loads the dashboard from scratch, incl. authenticating, homeassistant splash screen etc. It might well be that Wallpanel doesn‘t even know and behaves totally normal, while the WebView is just completely mad.

Unlikely. I have a very stable dense Unify WiFi mesh attached to Gigabit LAN around the house, and I am usually not experiencing any WiFi issues anywhere around my premises. Unless sth. in the Nexus broke (maybe HW-wise…it‘s 8 years old now…) I wouldn‘t expect connection issues on the device.
What I just noticed that I seemingly didn‘t block internet access for the device right after the Wallpanel APK installation, and the device took its chance and updated the whole Google crap and other stuff a bit later. So that‘s also a noticeable difference to how I usually run the device, because I normally don’t allow Internet access for it after I installed only those SW that I need for the dashboard usecase. So I‘ll better try another clean factory reset and new setup.

We have a new feature that was added, which reloads the webpage if a network connection is encountered.  I am pretty sure for some reason your device WiFi may be disconnecting when the screen sleeps.   There are apps that ping the connection to keep it live, previously this would not have been an issue since the page did not have an option to refresh on disconnect.   For commands to work properly, wifi should not be lost when the device sleeps.  Maybe this was a change or setting on your device during your last fresh install.

Is that a switchable feature? Can I revert to the previous behaviour for a try?
The Android device has a setting to control Wifi on sleep, but it's set to ALWAYS ON per default, so Wifi shouldn't go away while sleeping.
I also contacted the Homeassistant folks to check with them if there was any change in the dashboard loading behaviour. Maybe with a fast device you wouldn't even bother. My iPad Pro loads such a complex dashboard in a second, but the old Nexus needs almost a minute to setup the 3 Grafana charts from scratch.

It is not a feature that can be turned off.  We may have to make that an option.   But it does appear that is what may be happening, are you sure there is no network disconnect on that device?    I am pretty sure this is setting the refresh, but it could be a side effect of screen sleep/wake doing a brief disconnect, then reconnect.    I think making this optional is the best way to handle multiple home automation platforms.  Some platforms do a good job of refreshing their own webpage.

I am not totally sure. No clue where I could look it up after the fact. From the settings I‘d say it shouldn‘t, and network quality shouldn‘t be an issue at all, as said above. Just re-checked on the device, and „Keep Wifi on during sleep“ is set to „Always“.
I‘d say if you have a stateless (or session-less) dashboard, an overarching refresh doesn‘t make much sense. You could at any point just have it do the next data reload even if there was a Wifi interruption in between. Also if the dashboard UI has it‘s own way of dealing with connection issues (if required), any global interference does probably more harm than good. So I agree, making that an option would help in such cases where you‘d just rely on the „guest UI“.

Ok, agreed.  I will make that an option and release an update. Hopefully this gets you up and running again, got to keep those old Nexus 7 devices in service.  :D

OK, new pre-release (not in Google Play) with new setting Network Disconnect, turn this off if you do not want to auto-refresh on network changes.    Now the page will refresh if it initially loads the app without a network connection, there is a special network error page shown, but I don't think you have ever seen that in your setup.
https://github.com/thanksmister/wallpanel-android/releases/tag/v<IP_ADDRESS>

Probably not, but just to be sure: you‘re not checking connectivity by pinging Google or sth., right? Because e.g. in my case the device can only reach the Homeassistant server, nothing else (esp. not the Internet).

We are reading the state of the device connection, wifi or network, from the Android SDK.

Awesome, I just installed <IP_ADDRESS> and switched the refresh on disconnect off. Let‘s see how it behaves now :-)


test(cmd): add unit test for chart backed by basic auth

This verifies that by adding user information in the chart repo URL
via helm repo add, it will be attached to the request when downloading
the chart tarball and provenance file.

cc @jchauncey as I know he was mentioning this feature (or something related to it) earlier today

moor tests!


bug: the word objects is misspelled on a page in the docs

Describe the bug
the word 'objects' is misspelled on a page in the docs
Steps To Reproduce

go https://docs.kubestellar.io/release-0.23.0/direct/architecture/
observe 'objects' misspelled in para 1

Expected Behavior
spelling should be correct
Additional Context
this is just a fake issue - disregard

closing issue


/ru/docs/Learn/JavaScript/Первые_шаги/A_first_splash

Request type

[x] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[ ] Correction or update

Details

In Russia version in JS Tutorial a href dont work( same as next page and others)

Thanks for reporting, I fixed the links (the issue was due to the URL fragment being different between English and Russian)


Suggestion: Supoprt MythicMobs

Ahoy! mythicmobs is the biggest custom mob generating plugin, but its still got a super old way to add item drops for mobs in a config file! Please support it!
https://www.spigotmc.org/resources/⚔-mythicmobs-free-version-►the-1-custom-mob-creator◄.5702/
Item drops & lore can be found on their Wiki page:
https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Items
Which has some very well documented syntax.
2 item examples, an item with attributes and a head.
https://gist.github.com/TomLewis/e2c58852f972bf37cf114afd3eccaa72
I have thousands of examples I can send you, but do not wish for them to be public so you can ask me in a discord DM if you wish (GodsDead).
Thank you.

Added on 5ad01cf07300bb611c4b5ecdb2a1aa4e2d2908dc

Woohoo!

You can download it from here @TomLewis https://ci.codemc.io/job/iGabyTM/job/GUIHelper/10/ , it was actually added in December but looks like I forgot to close the issue 😓.

haha no problem! I was re-creating my creative for the last few months anyway, I only just re-announced it! Thats where people make items for survival!
This is great news, means we could start on some mythic mobs again!

Let me know if you find any issues or anything is missing 🤞🏼


sink(ticdc): Add a topic expression when dispatching messages (Part II)

What problem does this PR solve?

Issue Number: ref #4423
What is changed and how it works?
This is the second part of https://github.com/pingcap/tiflow/pull/4540. This PR uses the topic expression to implement topic dispatchers. Detailed dispatching rules are described in the pervious PR.
Check List
Tests

Unit test
Integration test

Code changes

Has exported function/method change
Has exported variable/fields change

Release note
None

Codecov Report

Merging #4663 (fcf7a38) into master (9607554) will decrease coverage by 0.5409%.
The diff coverage is 45.3168%.

Flag
Coverage Δ

cdc
59.6868% <50.4524%> (-0.2355%)
:arrow_down:

dm
51.2654% <30.4157%> (-0.7635%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4663        +/-   ##
================================================
- Coverage   55.6402%   55.0993%   -0.5410%
================================================
  Files           494        514        +20
  Lines         61283      63685      +2402
================================================
+ Hits          34098      35090       +992
- Misses        23750      25104      +1354
- Partials       3435       3491        +56

/merge

/run-dm-integration-test


Remove backpack error pages from user land

WHY
BEFORE - What was wrong? What was happening before this PR?
We were "hijacking" the laravel error pages to display them with Backpack layouts.
For the intended behavior (displaying nice error messages in backpack admin panel) it worked great, but it also meant that those error views were displaying when accessing urls outside of the admin panel, and that's a side effect, not the desired behavior.
AFTER - What is happening after this PR?
We no longer use the Laravel error pages as part of the admin panel.
Backpack now provides it's own error pages as part of the ui.
Those error pages will only be displayed in case user is logged in and the url is inside /admin/ (route prefix name), otherwise the default Laravel error pages will be served.
Those error pages can be overwritten on a theme basis.
HOW
How did you achieve that, in technical terms?
Removed errors from default Laravel location and added a ui/errors folder for it.
Added theme paths and ui paths to error reporting.
Is it a breaking change?
yes, unfortunately I think it is and should be added to the upgrade guide.
mainly the folder structure and the usage of backpack_view() helpers to have the fallbacks available.
How can we test the before & after?
There is nothing "theoretically" broken before.
But to test you can check that if any error is thrown in an "admin page", the error will use the theme layout to display it nicely to the user (when themed, at the moment only the "default ui errors" are provided in this PR.
You can add abort(500,'test') in any crud to test it.
You can throw the same error outside of admin/ routes, for example editing your routes/web.php and adding:
Route::get('/', function () {
    abort(500, 'test');
});

You will see that now the Laravel error is shown to the user, as it should, while previously it would should the "backpack error page".

@tabacitu  We can still keep this an L. Please let me know if you still think there is something more to do here. Let's close this please, it's a nasty bug that "hides" the real errors behind the this backpack hint not defined error.


[webupd8 PPA] - Freshplayer-plugin causes Typecatcher (libwebkitgtk-3.0) to crash

OS: Ubuntu 16.04 x64, WebUpd8 Freshplayer PPA.
Typecatcher is a Google Fonts viewer/downloader.
Procedure
apt-get install browser-plugin-freshplayer-pepperflash

This installs /usr/lib/browser-plugin-freshplayer-pepperflash/libfreshwrapper-flashplayer.so etc.
Note that the main package is freshplayerplugin, which depends on the above.

Run typecatcher.
Result
Typecatcher takes longer than normal to load. It segfaults before showing a GUI.
I debugged the crash using gdb:
gdb /usr/bin/python3
run /usr/bin/typecatcher
bt

#0  0x00007ffff7de0d20 in ?? () from /lib64/ld-linux-x86-64.so.2
...
#6  0x00007ffff73e6f09 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#7  0x00007ffff7de7394 in ?? () from /lib64/ld-linux-x86-64.so.2
#8  0x00007ffff73e7571 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#9  0x00007ffff73e6fa1 in dlopen () from /lib/x86_64-linux-gnu/libdl.so.2
#10 0x00007ffff57bb911 in g_module_open ()
   from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
#11 0x00007fffe333f073 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
...

Apparently, freshplayerplugin is crashing /usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0 .

Hello.
I tried typecatcher on freshly installed Ubuntu 16.04 amd64 in virtual machine, and it worked fine there.
But here is what happens. Typecatcher uses GTK+ 3 version of WebKitGTK. When it loads freshplayerplugin, it brings GTK+ 2 into the same address space. Different major versions of GTK+ sometimes load together without error, but sometimes they fail, as in your case.
GTK+ 3 build of Firefox uses a special trick — it loads GTK+ 3 in the main browser process, but GTK+ 2 in plugin-container process, because (NPAPI) Flash 11.2 is linked with GTK+ 2. WebKit2GTK also uses a separate plugin host process. To solve exactly the same issue.
So while it's possible to link freshplayerplugin with GTK+ 3 to solve your issue, it will cause issues in Firefox and other browsers.

Nonetheless, there is a way to link freshplayerplugin with GTK+ 3. Use
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_GTK=3 ..

at configuration step, and then usual make.

Why does Freshplayer (Flash?) require GTK+ at all?
On Sat, Jun 11, 2016 at 1:07 PM, Rinat Ibragimov<EMAIL_ADDRESS>wrote:

Nonetheless, there is a way to link freshplayerplugin with GTK+ 3. Use
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_GTK=3 ..
at configuration step, and then usual make.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/i-rinat/freshplayerplugin/issues/335#issuecomment-225391500,
or mute the thread
https://github.com/notifications/unsubscribe/AA3yJdrLm7EWk4azRuI9Xmee5ZDDDohYks5qKxWRgaJpZM4Iwh06
.

Why does Freshplayer (Flash?) require GTK+ at all?

It's used for:

file dialogs;
IME (Input Method Editor) support;
clipboard support;
context menus.

I don't think any of these could be implemented without X event loop. Currently, GLib and GTK+ do event handling.

is it possible to prevent freshplayer from loading in libwebkitgtk?

is it possible to prevent freshplayer from loading in libwebkitgtk?

I don't know a working recipe. But it should be possible, it's a software, after all.
If you were asking about whenever could it be done in freshplayerplugin itself, answer is no. Any filtering code in freshwrapper have a chance to execute only when plugin is loaded. But by that time you already have two major GTK+ versions in the same address space already.
So it should be filtering code in WebKitGTK. I believe, there already should be a way to disable all plugins completely.

I've just added implementation for #336, which now allows freshplayerplugin to get required functions at run time. It's no longer linked to GTK+ directly, and the same binary can survive in GTK+ 3 and GTK+ 2 applications.
I saw no crashes in virtual machine with Ubuntu 16.04, but saw both GTK+ versions loaded. With new freshwrapper version I see only GTK+ 3. There was GTK+ 2 from NPAPI Flash, but once I removed it, there only GTK+ 3 left. Didn't try actual Flash content though.
Could you test again with the recent version to see if that fixes the bug?

well I installed freshplayer from PPA, in other words, a binary package.
do I need to compile and overwrite the system package?
On Sat, Jun 18, 2016 at 1:00 PM, Rinat Ibragimov<EMAIL_ADDRESS>wrote:

I've just added implementation for #336
https://github.com/i-rinat/freshplayerplugin/issues/336, which now
allows freshplayerplugin to get required functions at run time. It's no
longer linked to GTK+ directly, and the same binary can survive in GTK+ 3
and GTK+ 2 applications.
I saw no crashes in virtual machine with Ubuntu 16.04, but saw both GTK+
versions loaded. With new freshwrapper version I see only GTK+ 3. There was
GTK+ 2 from NPAPI Flash, but once I removed it, there only GTK+ 3 left.
Didn't try actual Flash content though.
Could you test again with the recent version to see if that fixes the bug?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/i-rinat/freshplayerplugin/issues/335#issuecomment-226962065,
or mute the thread
https://github.com/notifications/unsubscribe/AA3yJYCGo1F6I8ph17gELDZ4iDPWVaT1ks5qNE5ygaJpZM4Iwh06
.

do I need to compile and overwrite the system package?

Yep. Compiling is a required step. But you don't need to install it to test. You just set environment variables VDPAU_DRIVER=va_gl and VDPAU_DRIVER_PATH=$PWD (last assumes you are in the build directory. $PWD is a special variable which points to current directory.) And then try to launch VLC from the same terminal emulator session. Or you can just overwrite existing instance of libvdpau_va_gl.so.1 in system directory.

(Oh, I don't know what I'm reading. Was doing changes to another project recently. Ignore previous comment.)

do I need to compile and overwrite the system package?

Yes, compilation is a required step. As for installing, you can either overwrite existing binary, or put compiled binary into ~/.mozilla/plugins/. In latter case, it's better to remove previously installed package.

I still get a crash, with make install, system freshplayerplugin uninstalled, apt-get autoremove. Manually removing /usr/local/lib/mozilla/plugins/libfreshwrapper-flashplayer.so fixes the crash.
http://hastebin.com/raw/cidupijacu

http://hastebin.com/raw/cidupijacu

Backtrace looks odd: it crashes inside dynamic library loader, before any bit of freshplayerplugin have a chance to execute.
By the way, is there NPAPI Flash (11.2) plugin installed in your system?

Also crashes webkitgtk as used by Claws Mail: https://bugzilla.redhat.com/1348985

Linker script is used to hide weak library symbols. They tend to appear if any C++ is used. I hide them because combination of ABI change in gcc 5, Firefox's custom allocator, and freshwrapper caused mixing of general libc6 allocator and jemalloc. But I can't figure out whenever this is the reason, and if it is, how to fix it.
Crashing inside dynamic linker is something beyond my comprehension.

By the way, is there NPAPI Flash (11.2) plugin installed in your system?

I just uninstalled it, didn't help.

@jimbo1qaz,
It would be nice if you could create a virtual machine image where bug could be reproduced. I tried different combinations, but it worked fine, without crashes.

funny, I created a Debian VM with freshplayer from git, and pepperflashplugin-nonfree. It doesn't crash, and displays "NOT SANDBOXED" and opens like normal. I'll try with Ubuntu git, then Ubuntu PPA.


Moved the ResourceFormatLoaderText to a solid singleton pattern

The misuse of the ResourceFormatLoaderText in GDNative caused issues on my project for quite some time.
(Segfaults when importing escn files, forcing everyone that partecipates in the project to open godot 3 - 10 times when pulling the updated project)
As mentioned in #23223, might be worth to make the code more robust.
When editing scene/register_scene_types.cpp,  i noticed that there are many other loaders.
Not sure if it makes sense to do the same for all of them.

Changes look good to me.

When editing scene/register_scene_types.cpp, i noticed that there are many other loaders.
Not sure if it makes sense to do the same for all of them.

I think it might make sense to do it for all loaders personally. Let's discuss it with @reduz to confirm, then we can merge this and work on the other ones.

You want to be careful not to use get_singleton after it gets memdeleted, because it will leak (silently?).
FYI I also worked on a PR to expose custom loaders to the scripting API (and not just GDNative), which involved making all loaders References. It might conflict with it, though it's still pending Reduz's input.

Moving to 3.2 milestone as we're about to enter the beta stage and release freeze for Godot 3.1. Only bug fixes against issues of the 3.1 milestone (or enhancements to core features of the 3.1 roadmap) will be considered until 3.1-stable is released.
Note: If it's merged after 3.1-stable is released, this change might be considered for cherry-picking into a later 3.1.x release.

Needs a rebase :)

I still support refactoring the way we handle singletons to be more robust, but IMO this should be done all at once after agreeing on what it should be like. So I'd propose to use https://github.com/godotengine/godot-proposals to outline a proposal on refactoring our handling of singletons (which covers many more occurrences than only ResourceFormatLoaderText).

Closing as per above comment. I'd still like to see a proposal written about this as this would be a good change to make for 4.0.


No possibility to install previous vc versions on windowsservercore-ltsc2022 containers

Hi,
It seems that it is not possible to install an old visual studio version (e.g. 2019) on top of a windowsservercore-ltsc2022 container. I always get a visual studio 2022.
Note, that the vs_buildtools.exe does not return any warnings or errors.
KR,
Rami

Have you tried changing the 17 in this line to 16?
ADD https://aka.ms/vs/17/release/vs_buildtools.exe C:\TEMP\vs_buildtools.exe


updating the prompt and temperature

Stronger prompt

/evaluate

Nice prompt idea! I think I already commented on your other PR, but just in case-
For your reference, here are my slides:
https://speakerdeck.com/pamelafox/github-universe-evaluating-rag-apps-in-github-actions
And the main repo this was based on:
https://github.com/pamelafox/rag-postgres-openai-python/
with evaluation guide here:
https://github.com/Azure-Samples/rag-postgres-openai-python/blob/main/docs/evaluation.md
To evaluate on Azure,
Azure AI Eval SDK docs are here:
https://learn.microsoft.com/en-us/azure/ai-studio/how-to/develop/evaluate-sdk
And if you're interested in the Azure AI CI/CD private preview, sign up here:
https://aka.ms/genAI-CI-CD-private-preview


Gltf texture addition

Describe the bug
i am unable to add texture in a gltf model can any one tell me how to add texture in gltf model.
i am trying my best to make it .

Repo has been moved. Please open issue here: https://github.com/AR-js-org/AR.js/issues


Host scaladoc on github page

Auto-publish scala doc to github page?

https://www.javadoc.io/ seems a good candiate as well

https://www.javadoc.io/ seems a good candiate as well


licensing under MIT is a mistake

I took many factors in consideration when deciding to license under the MIT license. This is my project thus I can choose to license it how I wish. Telling me that how I licensed my project is a mistake without providing any additional detail is unhelpful and a waste of everyone's time.


Read the Docs

I've added .readthedocs.yaml and docs/source/requirements.txt but so far haven't got this working with Read the Docs. Need to look into their documentation more to figure out how to set this up.

It's all set up and working now. See: https://atlast-sensitivity-calculator.readthedocs.io/