Crash caused by depthwise_conv on iOS

Hi
I integrated the same tflite mode to android and iOS app, on android it always works fine, but on iOS the result is incorrect and sometimes app crashed, seems like there's an issue at depthwise_conv.
The crash log is as follows:
Hardware Model:      iPhone7,1
Process:             Demo [287]
Path:                /private/var/containers/Bundle/Application/D412E130-5C9E-45B1-A84D-FD93FFAB9025/Demo.app/Demo
Identifier:          Sensteer.Demo2
Version:             1.0.0 (1.0)
Code Type:           ARM-64 (Native)
Role:                Non UI
Parent Process:      launchd [1]
Coalition:           Sensteer.Demo2 [457]

Date/Time:           2018-01-31 19:08:36.5843 +0800
Launch Time:         2018-01-31 19:06:58.3105 +0800
OS Version:          iPhone OS 11.1.2 (15B202)
Baseband Version:    6.17.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000102ea41dc
VM Region Info: 0x102ea41dc is not in any region.  Bytes after previous region: 16861  Bytes before following region: 15908
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      mapped file<PHONE_NUMBER>e64000-0000000102ea0000 [  240K] r--/r-- SM=ALI
--->  GAP OF 0x8000 BYTES
      MALLOC_LARGE<PHONE_NUMBER>ea8000-0000000102ec8000 [  128K] rw-/rwx SM=PRV

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_platform.dylib      	0x0000000185d21b60 _platform_memmove + 176
1   Demo                          	0x0000000100fcd238 tflite::optimized_ops::DepthwiseConv+ 463416 (float const*, tflite::Dims<4> const&, float const*, tflite::Dims<4> const&, float const*, tflite::Dims<4> const&, int, int, int, int, int, float, float, float*, tflite::Dims<4> const&) + 820
2   Demo                          	0x0000000100fd435c void tflite::ops::builtin::depthwise_conv::EvalFloat<(tflite::ops::builtin::depthwise_conv::KernelType)2>+ 492380 (TfLiteContext*, TfLiteNode*, TfLiteDepthwiseConvParams*, tflite::ops::builtin::depthwise_conv::OpData*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*) + 744
3   Demo                          	0x0000000100fcbc60 TfLiteStatus tflite::ops::builtin::depthwise_conv::Eval<(tflite::ops::builtin::depthwise_conv::KernelType)2>+ 457824 (TfLiteContext*, TfLiteNode*) + 96
4   Demo                          	0x0000000100f827d4 tflite::Interpreter::Invoke+ 157652 () + 316

System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS High Sierra 10.13.2
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): cloned on 2018.1.24
Python version: 2.7.10
Bazel version (if compiling from source): 0.7.0-homebrew

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I tried again with the latest code on 2018.2.23, sometimes panic still exists, sometimes not panic but the result is incorrect.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 89 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 104 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 119 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 134 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 149 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Sorry this isn't resolved, @llyyun, could you please provide a reproducible test case so we can see the model architecture and exact shapes?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 29 days with no activity and the awaiting response label was assigned. Is this still an issue?

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Removing / ignoring the state queuing and done

Think it might be a good idea to remove the state queuing and done from the executioner. I wrote these initially because it's good for a stateless messaging system, but now we have this submission document, queuing is just when both judged and error are both false, and done is just when judged or error is true.
@Daniel5055 is this difficult to refactor? If it is, just ignore it, we can just simply ignore queuing and done downstream.

Nope, this is fine! This will likely only result in about 4 lines of code changed, so I can change that when I get home


Cannot Run It On WS2016

Just downloaded the latest version and tried to run as administrator but nothing shown.

Check if a log file has been created under %programdata%\win-acme or if anything has appeared in the Windows Event Viewer.

Thanks for prompt reply.  I found the following in Windows Application log:

Microsoft.Windows.Apprep.ChxApp_cw5n1h2txyewy:App.AppXc99k5qnnsvxj5szemm7fp3g7y08we5vm.mca

-2144927149

On Mon, Jul 27, 2020 at 3:56 PM Wouter Tinus<EMAIL_ADDRESS>wrote:

Check if a log file has been created under %programdata%\win-acme or if
anything has appeared in the Windows Event Viewer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/win-acme/win-acme/issues/1629#issuecomment-664606171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECR3FIAP5WHWRYIMNLO6SDR5XLYVANCNFSM4PJF2JLA
.

Sounds like this problem: https://github.com/win-acme/win-acme/issues/1491

Thanks again.  Yes, now I can fire up from the command prompt.
On Mon, Jul 27, 2020 at 4:08 PM Wouter Tinus<EMAIL_ADDRESS>wrote:

Sounds like this problem: #1491
https://github.com/win-acme/win-acme/issues/1491
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/win-acme/win-acme/issues/1629#issuecomment-664611710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECR3FI6ERZII2UXBNL7UJTR5XNFJANCNFSM4PJF2JLA
.

Documentation updated with this issue.


fix/variables highlighting

Description
~ only highlight path params pattern in request url bar
~ fix js highlighting in scripts
~ changed 'combinedmode' to 'brunovariables'

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

This is a problem on main as well as in this branch, but since you started working on fixing variables highlighting, I'll let myself report it here: main what you consider a path parameter. The coloring is a bit to greedy - not all : in a URL is a start of parameter word:


Add ctx.cancel when streamExecute catched Exception

add ctx.cancel when streamExecute catched Exception.
Remove sun.misc.BASE64Decoder, it is not available in jdk1.8 or later.

close #37

LGTM


Mlflow artifacts url before watch step (Live status)

Show the MLFLOW logs link before launching the job, and avoid losing it in the thread when the Watch job is getting huge.
Is it possible to clean the terminal, avoiding huge logs at the Watch job step?

This issue is resolve already in main


Proper initialization of lastTxMillis and lastRxMillis required

lastTxMillis and lastRxMillis in FIXConnection are both initialized with 0.
If Keepalive() is called before any data reception or transmission, e.g. in the Receiver of the sample application, Keepalive() triggers a sendHeartbeat() and a sendTestRequest().
No other message than a Logon message should be the first message after a connect.
My quickfix is an initialization of lastTxMillis and lastRxMillis with System.currentTimeMillis() so sendHeartbeat() and a sendTestRequest() are not immediatly triggered after a connect.

Hi @dmech! That's a valid point, and this looks to be a regression in b527f7b5230ddf5a44086710ba62b7b23c62f0e2. Would you like to open a pull request to fix this? It would be nice to add a test case for this too.

Sure, I am on it.


Update override methods in FeatureFlagResolverProtocol

Remove the word “runtime”
Clarify behavior: whether values are set to and removed from all mutable stores or just the first one

Done in 2485110.


hugging face login token in notebook throws error

still error on google colab, though it will log in if token is pasted into the login prompt

Also if the cell is run twice, the error disappears


fix bugs in evaluate_model.py

Thank you for your code! I find that it only use half the dataset to test model. You can print total_seen in evaluate_model.py to see this bug.

Thank you @DoctorKey, you seem to be right. I assume this won't significantly change the results since we were using an unbiased sample from the true dataset, but it may reduce the variance of some of the runs.


gnome-pie hangs up and causes 100% CPU usage

Hi
i have some issues with gnomepie right now and i couldnt figure out what causes this trouble ...
sometimes gnome-pie runs in some sort of deadlock and raises cpu usage to 100% and doesnt respond at all ... i have to SIGKILL the executable and when i restart everythings runs fine.
the only error i get right now is the following
[WARNING] Failed to fetch path: No such interface `org.ayatana.bamf.application' on object at path /org/ayatana/bamf/application0x1db9ae0
but i have no idea, if this has something todo with the deadlock
im using
[MESSAGE] Welcome to Gnome-Pie 0.5.5!
with mate 1.6 on an debian-testing

Hey there! Sorry for the late reply --- Does this still occur with the latest version?

hi usign the lates version from sid repositories and ýeapp, still happening.
https://packages.debian.org/sid/gnome-pie

I have updated today to 0.5.7 and I don't seem to have the problem anymore, thanks !
(previously I was using a script to kill gnome-pie whenever it was using 100% cpu for too long, I'm glad I can remove it)

Same on my end - fixed by upgrading from 0.5.6 to 0.5.7. Thanks!

Hi everyone!
I still see this issue from time to time in version 0.5.7.
I'm running Ubuntu 14.04 LTS (I saw it in the 32 and the 64 bits version).
I attached gdb and found that during the almost 100% cpu use, gnome-pie is in a thight loop dispatching messages.
Here are 5 snapshots of the stack (captured in a VM running the 32bit version):

g_poll()
g_main_context_check() -> g_source_get_time() -> g_get_monotonic_time()
g_main_context_prepare() -> dbus_connection_get_dispatch_status()
g_main_context_dispatch() -> g_mutex_lock()
g_main_context_prepare() -> g_source_get_time() -> g_get_monotonic_time()

note: g_poll is where the program normally wait for events.
I put some prints in the code and saw that the hang occurs after the gnome-pie window is destroyed (after that, no more calls are received in the event filter function)
To generate this bug: open/close/open/close/.. "a lot" of times in a rapid series over the launcher, the auto-hide scrollbars, the screen corners, etc.
Best regards,
Gabriel

Same thing with Ubuntu MATE 14.04.
Seems that with less memory the issue shows up easier.

More info in case someone can figure out what's happening...
I can hang up gnome-pie in Ubuntu 14.04 64 bits with some easy (the system is up to date).
I'm using "glossy" but I saw the hang up with other themes as well.
When I stopped gnome-pie in a hanged condition, I saw 4 threads in gdb named: "dconf_worker", "gdbus", "gmain" and "gnome-pie". The fist 3 are all waiting in "poll()". The last one moves continuously as indicated before, dispatching some event for ever.
I will try to hang up gnome-pie with another distribution because my 3 test cases are Ubuntu 14.04 based.
I saw the problem usually after closing the pie but sometimes it happens opening it from the launcher and the whole system stop responding to mouse/keyboard until gnome-pie is destroyed.

Couldn't hang up version 0.5.6 in Ubuntu 12.04... and I really tried to!
By now seems something related to Ubuntu 14.04... I'll keep testing it.

Hi Simon,
I think I finally got something here!
I added some stress option to gnome-pie to auto open-close one given pie 500 times with some small delay in between.
I discovered that the program sometimes hangs up when you move the mouse during opening/close cycles (entering/leaving the pie window).
I tried commenting a lot of code and the issue only gone away after commenting out the POINTER_MOTION_MASK event filter. Since after that all works the same, I commented out the add_events() call completely and everything works as usual, but with the big difference that the issue hasn't shown up by now in over 1000 open-close cycles!!
Uncommenting it, hungs up again after a random number of cycles (could be less than 100).
Could you please comment this line in pieRenderer.vala and confirm it could be removed?
// set up event filter
/*        this.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK |
Gdk.EventMask.KEY_RELEASE_MASK |
Gdk.EventMask.KEY_PRESS_MASK |
Gdk.EventMask.POINTER_MOTION_MASK |
Gdk.EventMask.SCROLL_MASK );
*/
I've tested it only in Ubuntu 14.04 64bits by now. I'll confirm if this solves the issue in 32bits and MATE 14.04 version as well.
Regards, Gabriel.

Solved in MATE 14.04.2 (32 bits) too!! over 1000 cycles OK with this line commented out....
Only 100 cycles to hung up with this line in.
Now I'm using it normally all seems to work properly.
Congrats for 0.6 release!
I'll update and make a pull request with this line commented out.

Awesome! I'll test it and release 0.6.1 asap!

I have put it in a quick 0.6.1. Let's see how it goes :-)

You can read the post at my homepage: http://simmesimme.github.io/news/2015/04/18/gnome-pie-061/


Add MM-Map Prediction to the cheat.

it would be nice to be added an Map Prediction for MM.

We are trying

Added.


Make AvailableTask public

This change should allow custom TaskStorage implementations

@Dirbaio this is working pretty well. You can see a crude demo here if you'd like, it's working pretty well.
I've taken the liberty of moving the wall of explanative text into AvailableTask, as I believe it is now a better place for it. I've also deduplicated the functions that looked the same.


HTTP Error 404 when training ControlNeXt SD 1.5

Hello,
Thank you for providing this work. I tried training on stable diffusion 1.5 training command, specifically,
CUDA_VISIBLE_DEVICES=0,1,2,3 accelerate launch --main_process_port 1234 train_controlnext.py \
 --pretrained_model_name_or_path="runwayml/stable-diffusion-v1-5" \
 --output_dir="checkpoints" \
 --dataset_name=fusing/fill50k \
 --resolution=512 \
 --learning_rate=1e-5 \
 --validation_image "examples/conditioning_image_1.png" "examples/conditioning_image_2.png" \
 --validation_prompt "red circle with blue background" "cyan circle with brown floral background" \
 --checkpoints_total_limit 3 \
 --checkpointing_steps 400 \
 --validation_steps 400 \
 --num_train_epochs 4 \
 --train_batch_size=6 \
 --controlnext_scale 0.35 \
 --save_load_weights_increaments

However, I get the below 404 error.
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/tokenizer/tokenizer_config.json

It seems that this address no longer points to something that exists, or could be mistakenly placed as an arg? There is probably an alternative but I am not sure which one is ok to use with the codebase.
Thank you for the support!

It seems to be relevant to a news that runwayml (the one who released sd1.5) deleted all his models (include sd1.5) recently.
So you may download it's checkpoint from 'v1-5-pruned-emaonly.safetensors' and set --pretrained_model_name_or_path to it.

Thanks for the help! SD 1.5 can train!


feat: add support for computing the derivative of cardinal sine (cosc)

Resolves #224
Description

What is the purpose of this pull request?

This pull request:

added support for #[RFC]: add support for computing the derivative of cardinal sine (cosc) #224

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #[RFC]: add support for computing the derivative of cardinal sine (cosc) #224

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

/stdlib merge

@RiyaChy072 Looks like this PR is missing a number of expected package files. I suggest examining other packages with C implementations in the math/base/special/* namespace (e.g., math/base/special/erf) and ensuring that this package has similar files (e.g., README, etc).

@kgryte Can you kindly check if i have anything left? Thank you.

/stdlib update-copyright-years

/stdlib update-copyright-years

@AbhijitRaut04 Followed the spacing conventions, still run tests are failing. Can you kindly check? Thank you.

I think the expected values in the fixtures are not matching with output values against the input x that could be the reason for failing testcases.

@kgryte Can you check if there's any issue?

@AbhijitRaut04 Followed the spacing conventions, still run tests are failing. Can you kindly check? Thank you.

I think the expected values in the fixtures are not matching with output values against the input x that could be the reason for failing testcases.

So what changes i have to make now? Can you help me?

@AbhijitRaut04 Followed the spacing conventions, still run tests are failing. Can you kindly check? Thank you.

I think the expected values in the fixtures are not matching with output values against the input x that could be the reason for failing testcases.

So what changes i have to make now? Can you help me?
From where you got the fixtures ?

Took them from SINC and added some changes

Took them from SINC and added some changes

Have you changed the expected values by running your cosc function for each of x values  ?

I just calculated some of the values and changed them accordingly. Should i run the cosc function locally and then get the values?

@AbhijitRaut04 I just calculated some of the values and changed them accordingly. Should i run the cosc function locally and then get the values? Actually I'm just a beginner, that's why facing many issues and unable to perfectly execute

You can get expected values by running a for loop in another file (which will not contribute to PR) by writing code suggested in Readme.md file. Then you can run cosc( x ) and get the particular expected values by consoling and you can copy them.

@AbhijitRaut04 Did what you suggested. The values were same. I mentioned with 3values after decimal point, but maybe the result wasn't coming with many 3values after decimal point. So i added .toFixed(3) for getting the same value as expected. Still the run_tests_coverage failed. What do you think i should do now?

@RiyaChy072 I have suggested to change fixture expected values for each value of x .

Here is example of secant function.

@AbhijitRaut04 Still getting error :(

The difference between the expected value and computed value needs to be 0.0.
@kgryte What needs to be done to overcome this ?

@AbhijitRaut04 Maybe i did something wrong. Trying to fix this and will update soon

@kgryte Can you please check if it's done?

@AbhijitRaut04 Thanks for your guidance. CI activity has been passed

@RiyaChy072 Thanks for working on this. Some of the CI checks are failing. Can you please update this PR accordingly?

@gunjjoshi Is it done now?

@gunjjoshi Can you please tell me if i have anything left to do?


Put evaluated timescale and length_scales on solution

Description
Previously models would not evaluate timescales if they are functions of input parameters. If an input parameter doesn't change during a solution but was created for purposed of reusing models with different input parameters then it should result in consistent scaling and should be allowed. To address the problem the scaling are saved to the solution and used here for processed variables. A check is made when stepping that the inputs that affect scaling do not change
Fixes # (issue)
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

@tinosulzer @tlestang - the script now runs. It is a bit hacky but I think the way this example was written was already hacky copying data into a solution from an external model - might want to think about supporting this better with a nice wrapper. Also it only failed on Linux but the error was also there on windows so there is some inconsistency between which things get tested on various platforms

@tinosulzer just mac failing on this one now


chat: channel is visible and has history, but cannot be posted to by group members

The same is also true for the Tlon > Bridge channel, so we can use that as a starting point for troubleshooting

Feel free to tag me here or DM if you'd like me to try anything

FYI @arthyn , this is still afflicting my group :( is there something I need to do manually?

there's another part to this maybe. did the channel you're speaking about have any kind of permissions? I'm working on something to reset permissions that would have to be manually run on the host.


Set deployment target to 9.0 to match the podspec file

Hey - thanks for the help! XCoordinator 1.0 should resolve this issue.


HM-MOD-RPI-PCB und anlernen des HmIP-DRAP

Is your feature request related to a problem? Please describe.
Using a Raspberry Pi4 8GB along with HM-MOD-RPI-PCB with the latest Raspberrymatic. Unfortunately I get the message "Die Nutzung eines HmIPW-DRAP oder HmIP-HAP Access Points setzt den Einsatz eines RPI-RF-MOD Funkmodules voraus."
Describe the solution you'd like
The EQ3 MOD module should be supported for the DRAP as well
Describe alternatives you've considered
NONE
Additional context
...

Well, this is nothing we (the independent RaspberryMatic project) can do about! The whole rf-module development (incl. Firmware) is closed source. Thus, no chance to implement this by us. So please forward your request to eQ3. However, be prepared that you will receive no reaction there because the RPI-RF-MOD is the successor of the HM-MOD-RPI-PCB and thus there will be probably no further firmware updates for it. So time would be better invested in upgrading to the RPI-RF-MOD if you require to add a HmIPW-DRAP or HmIP-HAP!

Thought it was the other way around so I ordered HM-MOD-RPI-PCB instead of RPI-RF-MOD. Will change it! Thanks for clarification.


Replace CODEOWNERS with component owners

Right now almost all SIGs have write permissions to the opentelemetry.io repository, this is required because of the CODEOWNERS file. Other otel repos have fixed this issue already by implementing @dyladan's component-owner:
https://github.com/dyladan/component-owners
Relevant for https://github.com/open-telemetry/community/pull/1793 (cc @austinlparker)

Reopening until component owners actually works.

they work now, closing this


Revise flavor sizes to have some that have >10G <100G disk size.

Revise flavor sizes to have >10G < 100G disks
Also create flavors that have 1TB disks with 64 cores/384G RAM so two such VMs can be allocated on each worker (some workers don't have enough disk to create 2x2TB vDisks)

Probably best to add 'point' flavors - small number - to accommodate these.
Also related to fabric-testbed/software-planning#103

For promethues storage, fabric racks are currently keeping 60 days of data which takes around 16GB for most racks (3workers) & up to 26GB(6?workers) for the bigger racks. So depending on the size of a slice, 32GB should give about a month's worth of data on 12 nodes.  Or a week worth of data on 48 nodes.

For ELK slice that has 3 worker nodes sending filebeat, metricbeat, packetbeat data, 4GB storage is required per day.
Per 1 worker node that sends all 3 beats data to the measurement node, it requires 1.33GB storage per day or 40GB per month.  Users may need to turn off beats if they need to spin up large number of worker nodes.
For CPU, the measurement node should have at least 4 cores and 16 GB RAM.

Please add the following images configs to FABRIC for educational use:
Core, RAM, Disk
1, 4, 10
1, 8, 10
1, 16, 10
1, 8, 50 (If needed, this could be 32 or 40 instead)
1, 16, 50 (If needed, this could be 32 or 40 instead)
1, 32, 50 (If needed, this could be 32 or 40 instead)

This is addressed in #194


How to use emoji in Signal Desktop?

The version of Signal Desktop is the Chrome App which is being deprecated (0.46.4). Seeing as I wanted to be using the latest versions of Signal Desktop for security & emojis, I downloaded and installed the Linux version in Crouton and then started up the client in my chroot.

Sync the Linux app to phone through QR code and everything is golden. The only downside is that crouton needs to run. Luckily, the Chromebook Flip & Pixelbook are both Crouton capable.


Add MFA options to user profile.

u2f section added to profile, basic registration, still needs workflow cleanup, future issue.


Exploitable XSS vulnerabilities in OrchardCMS

Please, see zipped videos with two different XSS exploitations:
orchard.zip

Thank you, I am removing the attachment to prevent any more disclosure. I will treat these and come back to you when it's fixed. From what I see these are only exploitable by a user with dashboard with specific permissions, so this should limiting the scope.


add in AppArmor

Adding AppArmor would allow us to do security tutorials like this:
https://github.com/docker/labs/tree/master/security/apparmor

apparmor has been enabled. @ManoMarks take into account that current labs will need to be tweaked as alpine doesn't have apparmor binaries to display applied profiles.


Rows.Scan scans as null for non null strings

I have tried both string and sql.NullString for scanning a NVARCHAR column, but it reads null even the row has non null value.

Happens to me as well.. Especially for NVARCHAR columns

@anandbose or @jeremejazz Can either one of you post a reproducible example?

I'll see if I can
Here is the SQL Table definition
Collation: SQL_Latin1_General_CP1_CI_AS

COLUMN_NAME
DATA_TYPE
TYPE_NAME
PRECISION
LENGTH
SCALE
RADIX
SQL_DATA_TYPE
CHAR_OCTET_LENGTH
SS_DATA_TYPE

OBJECTID
6
float
15
8
NULL
10
6
NULL
109

Status
-9
nvarchar
255
510
NULL
NULL
-9
510
39

Addr_type
-9
nvarchar
255
510
NULL
NULL
-9
510
39

X
6
float
15
8
NULL
10
6
NULL
109

Y
6
float
15
8
NULL
10
6
NULL
109

PMT_ID
4
int
10
4
0
10
4
NULL
56

fcs_id
6
float
15
8
NULL
10
6
NULL
109

epa_id
12
varchar
1000
1000
NULL
NULL
12
1000
39

name
-9
nvarchar
4000
8000
NULL
NULL
-9
8000
39

addr1
-9
nvarchar
4000
8000
NULL
NULL
-9
8000
39

addr2
-9
nvarchar
4000
8000
NULL
NULL
-9
8000
39

city
-9
nvarchar
255
510
NULL
NULL
-9
510
39

county
-9
nvarchar
255
510
NULL
NULL
-9
510
39

state
-9
nvarchar
255
510
NULL
NULL
-9
510
39

country
-9
nvarchar
255
510
NULL
NULL
-9
510
39

using the following code :
type MSSQLResult struct {
	Status               string
	X                    float32
	Y                    float32
	Pmtid                int
	Fcsid                int
	Epaid                int
	Propname             string
	Propaddr1            string
	Propcity             string
	Propcounty           string
	Propstate            string
	Propcountry          string
}

...

query := "select status, x, y, pmt_id, fcs_id, epa_id, name, addr1, city, county, state, country "
query += " from mytable order by pmt_id"
query += " offset " + strconv.Itoa(offset) + " rows fetch next " + strconv.Itoa(limit) + " rows only"

stmt, err := m.conn.Prepare(query)

if err != nil {
	panic(err)
}

for results.Next() {
		var status string
		var x,
			y float32
		var pmtid,
			fcsid,
			epaid int

		var propname,
			propaddr1,
			propcity,
			propcounty,
			propstate,
			propcountry string

	results.Scan(&status, &x, &y, &pmtid, &fcsid, &epaid, &propname, &propaddr1, &propcity, &propcounty, &propstate, &propcountry)
	fmt.Println("Test Output:", status, x, y, pmtid, fcsid, epaid, propname, propaddr1, propcity, propcounty, propstate, propcountry)

}

From here the output I am getting is
Test Output: M -87.537445 33.208057 40 3280 0
Test Output: M -85.96762 33.62325 109 3349 0
Test Output: M -87.49709 33.243145 498 3738 0
Which is expected to Print the name, address, city, county, state, country fields
The status field is Printed though as 'M' along with x, y, pmt_id, and epa_id  the has no value even though there is in the database based on the pmt_id.
I hope this helps.

I have tried this on python and I am getting a results for the non null fields that displayed null

Above code was using sqlserver connection string. I have also tried odbc connection but the output produced is still the same

Can you enable verbose logging and provide log output?


use TS type guards over : boolean in type check functions (R.is, R.is[X])

We now have e.g. is(ctor: any, val: any): boolean;, which the TS docs tell us we can further strengthen using type guards. Let's do that. :)
Edit: on second thought, I don't think at the type level we get enough information to better type the other is functions, beside the generic one...

Could sombody take a look at this mr, please? I just meet a use case that might need to merge this mr,
function grepSomethingRecursively(grepPatterns: String | String[]) {
    if (R.is(Array, grepPatterns)) {
        R.forEach(doSomething, grepPatterns)
        //throw exception: argument of type 'string | string[]' is not assignable to parameter of type 'string[]'.
    } else {
        ...
    }
}

R.forEach is required to take array as its parameters.
And with running R.is the type of grepPatterns cannot be inferred by the checker. So it throw an exception.
In contrast, the lodash works fine due to the definition.

Hi @tycho01 ,I just copy your mr and try to run with this function,  it throws the exception also.
//throw exception: argument of type 'string | string[]' is not assignable to parameter of type 'string[]'.

@TylerYang: thanks for reporting this! I just merged in your use-case as a new test and implemented a fix.

NP : )


Can't seem to upgrade the jenkins version

I changed the version of jenkins as the tutorial lists a very old version. However when changing the Jenkins_version number and the Jenkins_sha value it seems to not be able to start the docker container.
I had changed the values to 2.46.1 and the acumpaning sha256 (which I changed the sha check in the docker file to match)

Can you put the trace back here?

Yea I'd like to see it. Sometimes for testing I remove the SHA check and just do the download. Also post your current dockerfile if you can.

I should comment at this point that what I did was download the current Repo Version of the Jenkins-master Dockerfile and that fixed it.
What I had done is use the old version with 1.625.3 (I think that was the jenkins version number) and had simply changed the values. I can try and reproduce and find the trace but when running the make run command it would say it was starting the nodes and then docker ps  would show no nodes active.


Dropdown Text as Parameter

Hi
I love your plugin.
Here's a small improvement:
The default text of the dropdown-tab is hardcoded as "Dropdown"
on line 58 $('>a', dropdown).html('Dropdown ');
For multilanguage purposes it would be a nice feature to make this configurable
ie: add after Line 16 this: dropdownLabel              : "Dropdown",
and change the above code to $('>a', dropdown).html(s.dropdownLabel + ' ');
then this can be set by parameters: $('.droptabs').droptabs({dropdownLabel: 'myLabel'});
hope this helps
Dirko

I was working on a PR to take care of this issue, and I'm wondering if it would be better to pull that from the DOM when it initializes (since you have to manually add the dropdown tab to the DOM anyway).  That way when you create the tabs, you can't have your initial dropdown label be "Foo" and the options set it to "Bar" (since the option would only be referenced when a tab is shown, not on-init).
I'll try to have a PR for this in a bit.


Add fellows reflections blog

Add image

Pinging @NPDebs to see if I've broken anything and to hand to Berenice to merge when ready.

Thanks for improving things - I knew internal links can be made smarter but that's when I usually start breaking stuff 😆 - @bebatut happy for this to get merged whenever you're okay with it.


Adding wso2bps k8 artifacts

Added wso2bps Docker file and related scripts
Added kubernetes artifacts and scripts

Thanks for the contribution @pubudu538!! This is now merged to the master branch.


openvscode-server: 1.62.3 -> 1.63.0

Motivation for this change

Updated to 1.63.0.
Darwin builds were failing with PermissionError: [Errno 1] Operation not permitted: '/usr/sbin/pkgutil'. Version 1.62.3 originally built successfully for Darwin on OfBorg when 1.62.3 was released, but now fails to build locally on my macOS 12 machine. I had trouble determining what changed to cause builds to start erroring, but was able to fix the error by upgrading npm's built-in node-gyp to the nixpkgs version.
Added CoreServices framework. Fixes the following Darwin build warnings: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'., No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'., No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
Removed the download of nodeSources, instead linking the headers from the nodeJs package as suggested by https://nixos.org/manual/nixpkgs/stable/#javascript-tool-specific under "having trouble with node-gyp?"

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Superceded by #152266


Scrollbar not working on certain lines of code inside

Hello,
I am using the latest version of highlight.js through a Wordpress plugin, and am having problems.
When the code stretches out longer than the maximum width of the container the scroll bar appears BUT in certain code you can't click and move it. It seems frozen. You can get inside the box and highlight the code from within, but the scroll bar is totally frozen!
Here is are 2 line of code that DO NOT have a working scroll bar:

sudo su -c 'dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

![non-working-scrollbar](https://user-images.githubusercontent.com/12832280/28683201-9f90eb54-72f7-11e7-8a0e-280a13984299.png)

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf sudo sysctl -p

and here is one that works perfectly:

sudo sed -i "s/User apache/User $USERNAME/g" /etc/httpd/conf/httpd.conf

If I get rid of the class="shell" then it still has the exact same problem. Any idea? I attached a screen shot  of a not working scrollbar. THANKS!

I’m closing this issue because it has been inactive for over a year. This probably means that it is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version.
Thank you!


[Source Request] url: mreader.co and url: mangareader.to

Add these please

Make separate issues for separate sources


Missing Header Files in SDK

I am currently writing a custom engine implementation for using OSVR.  In it, it would be nice to have tighter coupling with the underlying data types for better inspection.  Can I request that the RenderManagerOpenGL.h and RenderManagerD3D.h header files are included in the install target in CMakeLists.txt?

See this commit for example:
https://github.com/MarkVabulas/OSVR-RenderManager/commit/789098bd7b95d59e18b25f282976c25b81ec80b2

Go ahead and do a pull request into master on the Sensics site.  We ended up making the D3D base class header public to enable tighter integration with another engine.  We'd like to be able to do everything through the C API, but that is currently somewhat limited.
To enable static casting (or the safer dynamic casting and checking for nullptr) is it sufficient to declare the classes and not fully specify them in the code you are using?

Sadly, it is not.  This is due to wanting to access some of the local variables.  I'm actually inheriting from the class and then allowing const access to the Context information so I know what framebuffer it's expecting.  This makes it simpler to deal with multiple framebuffers, and always be sure that if we change the OpenGL framebuffer state we can put it back where the Render/Display expects.  Right now, if you change the Framebuffer/DrawBuffer in the callback, it's lost forever without a glGetInteger telling us the previous framebuffer (performance issues).  This is all actually a workaround for not having the framebuffer specified for the callback, or associated with the colorbuffer/depthbuffer.

Interesting.  Glad for the pull request but wanted to let you know that the OpenGL render code should always be setting the things it needs to within its methods and it should also be saving and restoring the states that it modifies; if not, we missed one and will be glad to add it.  We are calling a lot of glGet calls to retrieve them, can you elaborate on the performance issues?

No particular performance issues, just warnings from zealous compilers.  It's obviously best practices to use known/expected values from libraries which are already in main memory instead of having to hit up the driver before a render pass.

Okay, good.  If you can let me know which state is not being set or preserved properly, I can add code to save and restore it.  Sounds like the framebuffer/drawbuffer; anything else?

Normally in OpenGL a texture which is bound to a framebuffer is specified as based on glDrawBuffer() calls, after being attached using glFramebufferTexture2D() calls.  The problem is that this is a pair of FBO ID and Texture ID, and if you change the bound framebuffer, then calls to glDrawBuffers will fail because the framebuffer it's associated to isn't available anymore.  Can I request that the framebuffer ID which the CurrentColorBuffer is bound to is supplied to render callbacks, in case the bound framebuffer changes mid-call and needs to be reset.

pull request was merged #332 , and a fixed one was also merged #334 .
FWIW, the C++ API is not terribly stable/fixed, though if you're deriving your own classes from the provided ones you're probably pretty closely coupled. If something needs to be passed back and forth, feel free to open a new issue or new pull request. I'm going to close this issue because the actual main issue described has been fixed :)


[4pt]  - Display Reservations pop up with selected item's details - Student C

Create a reservations popup only with the top section (displaying details of the selected item)

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.
Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

STATUS: REQUIRED CHANGES ♻

Hi @chelobotix and @FevenSeyfu ,

Good job so far! There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

[ ]... ✅ Well created the issues

Required Changes ♻
Check the comments under the review.

[ ] While you have done appreciable work, there are some sections you guys missed to implement, since you are a group of 2 students, the requirement asks that all issues with the C flag should be removed, only stay with student A and B.
[ ] The second one, you did not do is to assign each student to his corresponding issue of your choice, student A maybe @chelobotix  and student B @FevenSeyfu, work on assigning issues tasks and resubmit your work for checking.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me(@joskalenda) in your question so I can receive the notification.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Dear @joskalenda You commented on the wrong Issue. The correct issue is https://github.com/chelobotix/Retro-Watchers-Capstone/issues/21. I need to removed this Issue because it belongs to the coding partner "C".
Please post your observation on the correct issue, as I can delete this one without problems.
Thanks!

Dear @joskalenda ,any new?


Implementation of a service to take registration requests

This service shall have two routes:

User information: when called with user credentials encoded in a JWT, this endpoint shall return the Object Storage endpoint, bucket (or container name) and path the processor can place its files. As the integration with the PEP/PDP (user authorization) is not yet understood, this needs to be mocked to a single bucket + path prefix.
Registration: this route shall take the prefix of data to be registered into the data-access component. Again, the users credentials are passed via a JWT. The path shall be placed into the redis registration_queue of the VS

This service shall be implemented by the means of any Python web framework (suggestion: Flask).

I believe this is done right @constantinius? Could you link to the PR and close this? Thx


Fix for signBeforePrefix breaking getRawValue

Should hopefully fix issue #524 in a non-breaking manner.

Has a small issue that needs fixing

Updated unit test parameters and added unit test for getPrefixStrippedValue with signBeforePrefix

Thanks, even though when this kinda format could be used? -test123.45

Thanks, even though when this kinda format could be used? -test123.45

We use it to display monetary values, which are sometimes negative (ie. for discounts, refunds, etc.) - eg. "-£123.45". Sometimes you might also want to display currency codes, ie. "-USD123.45".


typescript shows error about import with new URL

Bug Report
🔎 Search Terms
new URL, import, dynamic import
🕗 Version & Regression Information

This is a crash
TypeScript 4.1.5

⏯ Playground Link
Playground link with relevant code
💻 Code
const url = new URL('/file.js', import.meta.url)

import(url)

export {}

🙁 Actual behavior

TypeScript shows an error: "Dynamic import's specifier must be of type 'string', but here has type 'URL'.ts(7036)"
Intellisense and type checking stop working in VSCode

🙂 Expected behavior

TypeScript shows no error
Intellisense and type checking are working normally in VSCode

Stacktrace from VSCode tsserver log:
Err 139   [22:05:40.607] Exception on executing command delayed processing of request 25:

    Debug Failure. False expression: Containing file should be a module.

    Error: Debug Failure. False expression: Containing file should be a module.
        at checkImportMetaProperty (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:70401:22)
        at checkMetaProperty (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:70376:24)
        at checkExpressionWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72737:28)
        at checkExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72628:38)
        at checkNonNullExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:67648:37)
        at checkPropertyAccessExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:67693:85)
        at checkExpressionWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72708:28)
        at checkExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72628:38)
        at checkExpressionWithContextualType (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72275:28)
        at getSignatureApplicabilityError (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:68797:35)
        at chooseOverload (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:69306:25)
        at resolveCall (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:69180:26)
        at resolveNewExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:69649:24)
        at resolveSignature (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:69961:28)
        at getResolvedSignature (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:69990:26)
        at checkCallExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:70116:29)
        at checkExpressionWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72719:28)
        at checkExpression (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72628:38)
        at checkExpressionCached (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72304:38)
        at checkDeclarationInitializer (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:72317:148)
        at getTypeForVariableLikeDeclaration (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:50953:74)
        at getWidenedTypeForVariableLikeDeclaration (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:51355:56)
        at getTypeOfVariableOrParameterOrPropertyWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:51497:24)
        at getTypeOfVariableOrParameterOrProperty (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:51392:28)
        at getTypeOfSymbol (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:51735:24)
        at checkVariableLikeDeclaration (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:75078:41)
        at checkVariableDeclaration (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:75158:13)
        at checkSourceElementWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:77850:28)
        at checkSourceElement (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:77695:17)
        at Object.forEach (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:190:30)
        at checkVariableStatement (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:75169:16)
        at checkSourceElementWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:77819:28)
        at checkSourceElement (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:77695:17)
        at Object.forEach (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:190:30)
        at checkSourceFileWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:78040:20)
        at checkSourceFile (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:78007:13)
        at getDiagnosticsWorker (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:78096:17)
        at Object.getDiagnostics (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:78082:24)
        at /snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107275:85
        at runWithCancellationToken (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107237:24)
        at getBindAndCheckDiagnosticsForFileNoCache (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107263:20)
        at getAndCacheDiagnostics (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107539:26)
        at getBindAndCheckDiagnosticsForFile (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107260:20)
        at getSemanticDiagnosticsForFile (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107257:60)
        at getDiagnosticsHelper (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107179:24)
        at Object.getSemanticDiagnostics (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:107192:20)
        at Proxy.getSemanticDiagnostics (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:149195:47)
        at IOSession.Session.semanticCheck (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:159618:52)
        at /snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:159674:31
        at MultistepOperation.executeAction (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:158624:25)
        at /snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:158603:100
        at IOSession.Session.executeWithRequestId (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:160908:28)
        at Object.executeWithRequestId (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:159386:87)
        at Immediate._onImmediate (/snap/code-insiders/638/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js:158603:41)
        at processImmediate (internal/timers.js:456:21)

VSCode suggestions stop working:

Just wanted to note I'm also/still seeing this — just had to undo another dev's mass rewrite of import('<path>') to import(url.pathToFileURL('<path>').toString()) because TypeScript incorrectly flagged that URL isn't a valid dynamic import target when it actually is. 😬

this issue is still persistent in 2022

any news here?


Bump RSPM version to 2021.12.0

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


Cut command

Hi,
do you think if it's possible to cut between 2 texts, no cutmark ?

See Section 'Print multiple PNG images at once (saves tape)' in the README.  The example there uses --pad 10 to add 10px of padding between labels/images.  You can use that as an alternative to --cutmark.  Print to an PNG image to preview the final result.

DId @Hotfirenet actually mean to add invisible cutmark or meant to make the PTouch cut each label automatically?
At least, in my case, I would like to know if you would be able to send a cut between 2 images or provide a parameter that says at which pixels the PTouch should cut.
That cut feature would allow cutting many labels without wasting label (except at the beginning).
Here's a visual of it:
# ¦ is a drawn cutmark
# | is a real cut

# Without the cutting feature
| Blank at the beginning ¦ Img 1 ¦ Img 2 ¦ Img 3 ¦|

# With that cutting feature

| Blank at the beginning |
| Img 1 |
| Img 2 |
| Img 3 |

# So each label automatically come out of the PTouch individually cut

I have made a little Babashka script that uses this ptouch-print. I believe all I would need would be to be able to tell at which pixel there should be a cut (plus the cut at 0 pixel which would be the blank label). So there wouldn't be a need to add logic in ptouch-print,  it would be hanldled by the user.

Oh, didn't consider that some PTouch devices can cut automatically; my PT-450) has a manual cutter.
Reopening, but I think this needs to be a feature request to the upstream ptouch-print project.

I have a PT-P710BT and would like this feature as well. I cannot figure out how to request support upstream. I don't speak German and I'm not familiar with whatever Git hosting service upstream is using.

+1
On PT-P750W, it has a auto full cut function like all others.
But amazingly, it also has a Half Cut that only cuts the label, not the backing paper. Super useful when printing multiple labels
https://youtu.be/Q0e_GeUizLg?si=oRbgQcSiwKKprpOz&t=54

AFAIK all P-Touches have a chain mode that can be used to save tape. On units with automatic cutters it will trim the start of the first label as normal and leave it partially in the machine until the next label is printed. When the following label is printed, it advances the tape and cuts when the previous label fully exits the machine. On manual units, it works similarly without the gaps between labels. You need to exit chain mode for the last label in the sequence to ensure it feeds out of the printer.
It would be nice if there was a way to take advantage of that function instead of concatenating labels into one image.


rx.upload failed to upload files with size larger than about 5 MB

I am not sure this is a bug.
I copied the code from the example of rx.upload in the reflex doc into my project in order to upload some images. It always uploads successfully when the file size < 1 MB, but failed sometimes when the file size is between 1MB and 5MB, and always failed when the file size > 5MB.
Whenever I clicked the "Upload" button, the whole page will automatically reloads again. When it is failed, no image file is uploded to the upload_dir, but rx.selected_files() returns the correct file names.
I encounted the problem with reflex 0.4.3, python 3.11 at the dev mode in a docker container. Then I updaged reflex to 0.4.5, but it behaviors the same.
I thought it might due to the upload limitation of the Nginx config, so I add client_max_body_size 100M; to the configuration, but the the problem still exists.
so, does anyone encounted the same problem, and how can I resolve it?

If you have your upload button inside of an rx.form, try adding type="button". Your button might be triggering submit logic which redirects the page and inadvertently cancels the upload.
Anecdotally, i've been able to upload files larger than 70mb with the sample code in the docs.

If you have your upload button inside of an rx.form, try adding type="button". Your button might be triggering submit logic which redirects the page and inadvertently cancels the upload.
Anecdotally, i've been able to upload files larger than 70mb with the sample code in the docs.

thanks, you saved my life, it works with adding type="button".


Pushing back to map view, shows only blank (Repo provided)

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ X ] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[ X ] bug report
[ ] feature request
Current behavior:
In view 1 I have the map, when I push view 1 to view 2 then when I try to go from view 2 to view 1 by doing .setRoot() I get a blank view !
Expected behavior:
It Should show the map
Steps to reproduce:
Here is a BitBucket repo you may clone to reproduce the issue :
<EMAIL_ADDRESS>Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
    @ionic/cli-utils  : 1.8.0
    ionic (Ionic CLI) : 3.8.0

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : ios 4.4.0
    Ionic Framework    : ionic-angular 3.6.0

System:

    ios-deploy : 1.9.2
    ios-sim    : 6.0.0
    Node       : v8.1.3
    npm        : 5.4.2
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b

Hello! Thank you for opening an issue with us!
The problem is that you are opening about as a modal on top of home. When you do this, home still exist. When you do a setRoot() back to home you are creating a second 'HomePage' as the first one was never destroyed (you can verify this by running your app on an iOS device and then using Web Inspector to look at the elements (and Android device / Chrome)). So at that point you have two divs that have the id of "map" and it will probably re-draw the map in the first div it finds while you are actually looking at the second div with that id.
You will also see that this messes around with the title bar, etc.
You should use consistent navigation. So, since you open the modal with viewCtrl.present() you should close it by injecting the controller into the modal and calling viewCtrl.dismiss().
Similar if you push a page you should pop it to close, etc.
It seems the about should have also drawn a map on creation based on your code, but I didn't look into that as that is no Ionic Framework related. For that, you may want to ask a question on our forum or on our slack channel open an issue in the ionic-native repo if it turns out to be a bug in the plugin.
Thank you for using Ionic


chore: updated invalid prop types

Closes #1120
Summary
Small fix to the prop types that are incorrectly defined.
Removed the default prop type for deprecated prop type to avoid a constant set of warning about it being deprecated even when it wasn't being used.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Convert to static site for readability and menus

Consider what to do with scripts which are meant to be run locally or as a webserver. Perhaps the resource docs can be moved to a separate repo.
Consider the repeated format of resources and even install steps could be standardized and moved to Jekyll templating. With markdown files or data files.

See my coding blog post for options.
One of the important things is automatically building menus.
To use something with a build other than Jekyll, look at Netlify.
Use code theme.

This is low priority though because it is still presentable and usable as is.

Consider moving everything to a central learntocode directory.

Jekyll has a menu plugin and also its easy enough to loop over pages within the current section.
That can be a menu on a section page rather than just navbar.
Nested droplist menu won't be nice.
Jekyll is nice for repeated structure and data can even go in metadata - that can be edited in Jekyl Admin.
Docsify menus are automatic within a section (and each language could be section on the top or left) but then would need to make a super long file for each to get the menus. Or have to manually update a sidebar file which is not good for large project.

Use lowercase and underscore names for files and folders. It makes everything consistent and easy to link.
This means that menu configuration or some index/README in a folder with no direct files might be needed to name a folder on the frontend.

Jekyll would be great for using file linking to test broken URLs.
Then using a Ruby tester for external URLs.

An auto placement of external link fontawesome icon will help differentiate between internal and external URLs.
Any links to Github repos could also be supplemented with icon or badge

See if the templating and theme and admin view can be common between this and cheatsheet repo. Cheatsheets needs to be on its own so its a quick reference, but they can look consistent and share a common 3rd theme repo.

Jekyll might be a good choice here for templating.
Jekyll handles templating easily.
Perhaps Docsify and MkDocs can do that but I haven't covered that or there are plugins needed.
Jekyll can also check broken links - otherwise use Netlify or similar CI check or that Ruby tool.


Request for a package release of the .Net Stnd 1.1 build

So, I am able to build my projects in debug with the old DNFW 4.6/4.7 package, but I am stuck in a nether-region where my Android projects can't build package with the old version, and don't support the newer version.
If you could just release a new package based off the changes you merged, I won't have to fork and create a variant package, we can all use this same code base!
Thanks!

@MatejFranceskin I second the request of @jasells. A new release (1.0.3?) with support for .NET Standard 1.1 would be very useful. In particular this is necessary for targeting UWP, which only supports .NET Standard up to 2.0 right now, but not 2.1 (which is required by GeoidHeightsDotNet 1.0.2).

@MatejFranceskin I second the request of @jasells. A new release (1.0.3?) with support for .NET Standard 1.1 would be very useful. In particular this is necessary for targeting UWP, which only supports .NET Standard up to 2.0 right now, but not 2.1 (which is required by GeoidHeightsDotNet 1.0.2).

re: Have you been looking into any CI/CD pipeline?
Yes, I have a DevOps pipeline already connected to my fork and test built the repo.

Ok, so you're using Azure there apparently. However, I cannot access those builds. I'd actually prefer to use Github Actions if possible, so that we really have everything in one place. Or do you see any major advantage in using Azure?
Maybe for now I'll start by tagging a release 1.0.3 and building the package manually. We can still figure out a CI/CD solution afterwards ...

Alright, version 1.0.3 (based on .NET Standard 1.1) has been built, tagged and uploaded to nuget.org.
Thus, I'm closing this issue 🎉


Updated hoobs from 3.3.5 to 3.3.6 and hue plugin crashes

Updated hoobs from 3.3.5 to 3.3.6 and hoobs crashes with hue plugin:
6.7.2021, 18:36:25 [Hue] ConBee II: 38 accessories6.7.2021, 18:36:25 Initializing platform accessory 'ConBee II'...6.7.2021, 18:36:25 [Hue] ConBee II: 2 services6.7.2021, 18:36:25 [Hue] homebridge: error: AssertionError [ERR_ASSERTION]: Services must be created with a valid UUID.
at new Service (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/Service.ts:289:11)
at parseServiceJSON (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:124:19)
at /usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:69:21
at Array.forEach ()
at Object.parseAccessoryJSON (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/AccessoryLoader.ts:68:17)
at Server.createHAPAccessory (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:402:36)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:376:44
at Array.forEach ()
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:370:29
at /usr/local/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at HuePlatform.accessories (/home/hoobs/.hoobs/node_modules/@hoobs/hue/lib/HuePlatform.js:312:5)6.7.2021, 18:36:26 [Hue] BM Flurtür: set homekit dark from 0 to 1

I'm sorry, I have no idea.  Best contact hoobs support.  If they think the issue is with Homebridge Hue, I need to know which service on which accessory they think has an invalid UUID.

Solved with hoobs 3.3.7. Tnx


authenticator.keyuri does not uri encode user and service

Describe the bug
keyuri should probably uri encode user and service to allow spaces etc, although this would be a breaking change. Or at least mention in the documentation that uri encoding is needed.
To Reproduce
otplib.authenticator.keyuri("{secret}", "acme co", "JBSWY3DPEHPK3PXP")

Thanks for the feedback @tobdub
Will add in to the documentation for the next minor release,
and have it encoded in the next major release.

released in https://github.com/yeojz/otplib/releases/tag/v11.0.0


Create rebass-base package?

I think it would be useful to have src/Base.js and its dependancies be moved into a rebass-base package so you could build standalone rebass components without pulling in the entire library.

How would this be different than import Base from 'rebass/dist/Base'?

FWIW I've created a separate higher order component that has a lot of the same functionality as the Base component here: https://github.com/jxnblk/robox


No data points when adding query, Status: 404 "No HTTP resource was found..."

I am having an issue pulling in data points from my PI database.
Grafana appears to be able to see the database, as in the second photo you can see that I have the elements and attributes selected.
When I open the Query Inspector, the request still shows localhost:8080 rather than pulling from the PI database and the response is a Status: 404 with a message "No HTTP resource was found that matches the request URI..."
Any help on the issue would be greatly appreciated!

Hmm... I've seen this issue before but I'm trying to remember what the solution was.

So to be clear, the URL is not localhost:8080, correct?
Double and triple-check your username and password. Try them in a browser to make certain that they function by navigating through the PI WebAPI.
Try taking the 's' off of your URL for the secure option, just to check if you need it. Sometimes if it's not configured it can freak. But I suspect you'll need it.
It's possible that there needs to be a change to your PI AF config settings. We had an issue that needed this change in our servers. I'll need to ask our techs what the change was.

Yes, Pi Server URL is not localhost:8080,  localhost:8080 is the location of Grafana on my computer

I verified the username and password within the browser and also had another admin input his username and password to double check.

I tried taking of the 's' from the URL, but when I click Save & Test, it gives me an "HTTP Error Not Found," so I need the 's'

Within our PI database: "AuthenticationMethods": [
"Kerberos",
"Basic"
]
Unless there are other config settings that could be an issue?

Thanks for your help!

@derjuscar, did you ever find a resolve for this? I am having the exact issue.

@derjuscar Did you ever resolve this? We are facing the same issue.

Is this just an issue with localhost as the server? Perhaps try using the loopback IP address (<IP_ADDRESS>).

Dear @derjuscar / @nitinkumartech !
Do you have any fix about this problem? .... I am getting exacly the same problem...

 Thanks!

Lowreno.

@lowreno I was able to fix this issue. I'll raise a PR for the fix. Thanks!

Didn't see any PR. Also we have new plugin framework. See #62.


Update Apache HttpClient to version 5

This PR provides dependency updates for httpclient and httpcore. Following the migration guide, all classes are reimported and conflicts are resolved.
Support for deprecated fields was dropped, but I've seen that HttpProcessor can be re-added with providing HttpRequestInterceptor and HttpResponseInterceptor objects to the HttpClientBuilder. But therefore we have to decide whether to use add...InterceptorFirst(...) or add...InterceptorLast(...). Any opinions on that?

I've implemented registering the HttpRequestIntercepror first and the HttpResponseInterceptor last. This shouldn't make any difference as we only have one HttpProcessor. But maybe we could allow usage of more objects in upcoming versions and then the new HttpProcessor does outermost evaluation.


Question: Receiving on jars other than #0

The UI plans for a a shortcut option to let the user receive funds directly to any jar via the main wallet view. Until now we've purposefully avoided this and forced the user to receive on jar #0.

Imo by default a user should be able to send funds only to jar #0. They can then still use the Send screen to send from this jar any other jar they want (ideally using a collaborative transaction, but they may choose not to do so).

Advanced users, can of course still toggle the "Advanced" options on the Receive screen and choose any jar they want. But they don't need the shortcut on the main wallet view for that.

Thoughts on that?

its tricky. we can of course remove the "receive" short cut to any jar for the simplicity but then the jars wouldn't have any function. or do you think we should allow "look inside" / zoom in already on empty jars?

Discussed in Figma. Receive shortcut on empty Jar 0 only. "Look inside" in all other cases.
Now that I'm thinking of it again, since we don't have the privacy levels anymore, receiving on any jar wouldn't be such a problem wouldn't it? 🤔 😅


Sway Book: 404 links for library implementations

https://fuellabs.github.io/sway/v0.43.2/book/sway-program-types/libraries.html?highlight=string#reference-sway-libraries
String has been moved into the std so it's no longer in the libs repo.
StorageMapVec has been removed so it shouldn't be mentioned at all.

@Braqzen Can I work on this issue.

@AnmolSirola it looks like this has been fixed a long time ago and this issue has not been closed so there is no work to be done.
Closing the issue


PowerToys background crash

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
Powertoys crashed in the background while I wasn't using it. I used PowerToys run 2 minutes before the crash, uninstalled an app (Logi Options) and the popup "Something went wrong" appeared.
2023-02-12.txt

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/dup #18166
Can you please update to the latest? (0.67.1)
We released a fix recently on that version.

For any users that are able to replicate this consistently, can you please update to 0.68.1 and disable thumbnail generation to verify if it fixes the issue? Please let us know on #18166!


Do not trigger multiple times on the same commit with different updated at timestamp

This fixes https://github.com/zarplata/concourse-git-bitbucket-pr-resource/issues/32. Because it is sorted by updated_at, deleting the field will not work. It needs an intermediary pipe to capture the full output before removing the field.
This prevents multiple triggers on updating a PR description. However,  updating a PR title will trigger another build because title is still a field in the output.

@sfunkhouser thanks for your contribution!


cp.js cpdirSyncRecursive doesn't correctly handle symlinks on windows

The change https://github.com/arturadib/shelljs/commit/74ed9ca300a069092d5d3e62f8716a568aa25872 has broken recursive folder content copying on windows 8 when using symlinks. Instead of copying the symlink, it creates a junction link which links to the original file as if it was a directory not a file. This causes errors when using the files.
Came across this issue when using cordova CLI to do an Android build. See screenshot below - original folder is on the left, resulting folder on the right. There is some discussion of the issue of junction links here https://github.com/arturadib/shelljs/pull/104

@gatkinsNZ do you know if this is unique to Windows 8, or does this apply to Windows 7 as well? If so, I can try this out on my Win7 machine.

@nfischer This is an issue on windows 7 also - just tested and got the same result when using a .png file.
Just to clarify:

I have a symlink to a file
the file that is being copied is the symlink, but instead of the symlink being copied as is to the new location, a junction link is created instead, which links to the very original file as if it was a directory not a file

To get around this for now I have undone change 74ed9ca in my local file
e.g.
/* fs.symlinkSync(symlinkFull, destFile, os.platform() === "win32" ? "junction" : null); */
fs.symlinkSync(symlinkFull, destFile);

This may also be resolved by #322.

@gatkinsNZ would you be able to check out #322 (or check out the master branch once that is merged)? Reading your description, it looks like #322 will probably resolve it.

@gatkinsNZ This is merged in master. If the issue is now fixed, feel free to close.

@nfischer The issue I am striking is in cp.js, while #322 is a fix in ln.js. However the same solution I assume would work for cp() too..

Ah, I see. Sounds like we'll have to open a new PR and add some more tests. Should be fairly straightforward, if someone wants to take it up.

@gatkinsNZ is this now fixed on the latest version of shelljs? We did a lot of work surrounding symlinks.

I don't think this is entirely fixed. At least not for shell.cp. For context, I have a git repository which contains a symlink.

Repo: https://github.com/sass/sass/tree/embedded-protocol-2.1.0
Symlink: spec/README.md -> spec/spec.md

When I do shell.cp(pathToRepo, newPath) I get the error described above.
Using dir (or ln -l in bash.exe) shows that the symlink spec/README.md now points to spec/spec.md/ (absolute path tho).


Apply remap workspace edits for CodeActions

This allows, for example, the Razor tooling to remap a CodeAction targeted against NavMenu__virtual.cshtml.cs to NavMenu.cs and make any associated changes.

@filipw it seems like I don't have permissions to merge this, I assume you do?

Looks good to me. @JoeRobich you alright with this going in?


Join to jazzband

Hello,
I suggest move repository to jazzband organization.  This repository looks slightly deserted. It has proposals for changes that are simple, have votes of support, but have not been considered.

Jazzband is a cooperative experiment to reduce the stress of maintaining Open Source software alone.
The goal of the Jazzband is to offer relief by sharing responsibility for open source work with other like-minded people. It offers maintainers and contributors the ability to play in the same band instead of being forced into “artist” and “audience” roles by the tools GitHub provides

CC: @jezdez

As maintainers sometimes our lives are busy (including work), and we don't have the time to go through PRs. Yes, we are behind right now.
I just went through about 10 that change source code, and only 3 of them had matching tests. So most of them aren't ready for merging anyway.
Still, if anyone would like to join as a maintainer, and help us with this backlog, please let @bmihelac know.
Otherwise, as always, you are free to fork this library here on GitHub, and then you will be able to reference your fork as a dependency in your project, e.g. your requirements.txt file.

@ad-m thanks for taking time to write this suggestion. It is worth to think over this idea and to see what should be done before joining Jazzband if they would want us in their band :)
Regardless few thing that should be done with django-import-export in near future:

there are lot of issues that are indeed support requests and probably it would be better to direct them to stackoverflow in issue template
lot of pull requests have not tests at all, bringing danger of breaking things - we should make it clear in issue template what is needed for PR to be considered
we should add code of conduct

As @shaggyfrog said we would love to welcome new maintainers that would help us, so if anyone would love to help, ping us :)

@bmihelac I'd certainly like to help you and @shaggyfrog out with maintaining django-import-export.  It's very useful, implemented very well, and I believe very valuable to the Django community.

@mgrdcm thanks:) I send you an email.

@bmihelac and other maintainers - thank you! Very useful package.
Are there any plans for updating the Pypi version? Or should we keep using the development version going forward?

@wasabigeek, published:
https://pypi.python.org/pypi/django-import-export/0.6.0

Hi all, what's the latest on this?

Hi @jezdez and thanks for continuing this conversation. Since this issue was opened team got new strengths and I would like to hear their thoughts on this matter. Jazzband is for sure a great community and concept.

@bmihelac Understood, no worries, I'm glad things are better for the project!


docs: new docs

decided to the new docs into a separate repository. will keep this PR to clean up some leftovers from old docs


Integration test fix

W.r.t the issue - https://github.ibm.com/kms/kmk/issues/948
integration test cases has been fixed

This changes is not required. Hence closing the issue


⚠ AGEG website (prod) has degraded performance

In 4e1a8a4, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5437 ms

Resolved: AGEG website (prod) performance has improved in 9d90cc5.


Make global creds isLocal false

When saving globally, should be isLocalCreds false.
Signed-off-by: campionfellin<EMAIL_ADDRESS>Fixes #356
Did not do below steps, because they are already broken. Will be fixing in follow up PRs.

[ ] npm run test succeeds.
[ ] npm run lint succeeds.
[ ] Appropriate changes to README are included in PR.

Thanks.
This would be a big bug if I npm published without this fix.


Get "No unused variables" Error when import type definitions in TypeScript

What version of standard?
12.0.1
What operating system, Node.js, and npm version?
OS: Mac OS X 10.14.5 18F132
Node.js version: v12.0.0
Yarn version: 1.16.0
What did you expect to happen?
I want format my typescript code use standard **/*.ts --fix and I run standard with @typescript-eslint/parser and @typescript-eslint/eslint-plugin .
It should be error free.
package.json
{
  "standard": {
      "parser": "@typescript-eslint/parser",
      "plugins": [
        "@typescript-eslint/eslint-plugin"
      ]
    }
}

types.ts
export type TypedObject<T> = {
    [key: string]: T
}

test.ts
import { TypedObject } from './types'
export const myObject: TypedObject<Date> = {}

What actually happened?
It caused an error below:
standard: Use JavaScript Standard Style (https://standardjs.com)
  ******/test.ts:1:10: 'TypedObject' is defined but never used.

You can fix this per file by adding:
/* eslint no-unused-vars: "off" */
/* eslint @typescript-eslint/no-unused-vars: "error" */

Obviously, this isn't a great solution for projects with many .ts files.
I think #1283 address this and some other issues better.

I'd like to have solve this in a future version of standard. In the meantime, you can use standardx:

npm install standardx
Rename the "standard" field in your package.json to "standardx"
Add a new "rules": [] section with the following rules:

"rules": {
  "no-unused-vars": "off",
  "@typescript-eslint/no-unused-vars": "error"
}

Let's close this issue in favor of: https://github.com/standard/standard/issues/1283#issuecomment-520266170


Ver 7 do all errors have to be thrown now

Laravel Version: 7
PHP Version: #.#.#
Database Driver & Version:

This is in reference to closed issue https://github.com/laravel/framework/issues/31673
Please see that first.
The php manual clearly states:

Throwable is the base interface for any object that can be thrown via a throw statement in PHP 7, including Error and Exception.

But via a throw statement.  How are regular errors going to be handled with this code
    public function report(Throwable $exception)
    {
        parent::report($exception);
    }

Similar in vendor, says Throwable?  Are you saying that to have an error now you have to specifically throw an error?
Again the PHP manual clearly states that:

PHP classes cannot implement the Throwable interface directly, and must instead extend Exception.

If for example someone has code that will throw an error, they shouldn't have to throw it every time themselves, php has both
https://www.php.net/manual/en/function.set-error-handler.php

https://www.php.net/manual/en/function.set-exception-handler.php

Which is supposed to take care of such things.
I don't see how (Throwable $exception) will do anything except handle an error if you use the "throw" keyword.
So if letting a framework handle errors:
 handler ( Exception $ex ) : void

But if having to use the "throw" word every where
 handler ( Throwable $ex ) : void

Even with the second line there, somewhere you still need handler ( Exception $ex ) to handle errors that did not come from the "throw" keyword.
But why both when the first line handles both:

Since PHP 7, most errors are reported by throwing Error exceptions, which will be caught by the handler as well.

I already explained why we need to use the throwable type here.

Laravel's exception handler is also called by more code than just php's own error handler.

https://www.php.net/manual/en/function.set-error-handler.php

This does NOT refer to Errors. This handles errors raised by trigger_error. These errors are not the same as what happens when an instance of Error is thrown. Those are handled by the "exception" handler, which has that name for historic reasons.

Don't believe me? https://3v4l.org/AkeHi


Feature/Add Player in the Tournament

Feature

Added maxPlayer (numbers), players: [] and matchSchedule: [] in the tournament model
Added AddPlayerToTournament in TournamentService. It will add player based on user_id. Service will also through appropriate error when requirements are not matched.
Tournament Controller: added a put method with a separate URL to update tournament information.

@vilbedawg, all the requested changes has been implemented.


Fixed the paths to the FreeType headers.

Fixes #819

@fizixx Could you give this a try?

After deleting the CMake cache and configuring from scratch, the exact error was still there.

What version of CMake are you using?
Does FindFreetype.cmake exist in C:\Program Files (x86)\CMake\share\cmake-3.2\Modules?

I was using CMake <IP_ADDRESS> which does include the FindFreetype.cmake file.
I switched to using 3.2.0-rc2 just now and regenerated everything and it works fine.
So it seems CMake 2.8 is not supported any more?

Interesting. My guess is, that the FindFreetype.cmake shipped with CMake 2.8 was made for the older FreeType2 version. Their header structure changed and thus it won't "find" FreeType2 anymore.
I guess we're left with two options:

Ship our own FindFreetype.cmake
Change the cmake_minimum_required version number.

Hm... this is tricky, but I'd rather vote for pushing the CMake version to 2.9 rather than duplicating code. A bundled CMake script wouldn't work with different versions either, so you're just moving the issue either way.

Does CMake 2.9 contain the new FindFreetype.cmake?

Didn't actually check. Replace "2.9" with "whatever version fixes it", unless it's too new?

2.9 doesn't even exist. :wink:

Here is the change log for the FindFreetype.cmake file in CMake if that helps at all.  I don't really know how the find_package stuff works internally.
http://www.cmake.org/gitweb?p=cmake.git;a=history;f=Modules/FindFreetype.cmake;h=7d46d1563f9c84edf54cee12b234d16fab612107;hb=HEAD

Since changing the minimum required CMake version would cause issues for Ubuntu and Debian users, I instead added the FindFreetype.cmake module which should work find with the old and the new FreeType2 paths.

Haven't had a look, but the new FindFreetype.cmake will find old and new versions?

It has the new and the old path.

Trying out CMake 2.8 on Windows, it seems like the current source code (including the 2.2 tag) uses cmake_parse_arguments() which isn't part of CMake 2.8. So if we wanted to be compatible, we'd have to ship that file as well.
Plus I had to slightly modify the FindFreetype.cmake file.

Looks like the missing file was added in CMake 2.8.3, so that version is fine for Debian and alike. I've simply changed the minimum required version to 2.8.3 instead of 2.8.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


ngChange: allow locals to be passed from ngModel

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
In order to support transient information (metadata) about the operation that occurred for custom controls that implement ngModel, you have to do something like assign the relevant information to a property on your controller and unset it after the $setViewValue call.
What I'm proposing is the ability to pass a $locals argument to $setViewValue that will then be made available in the ngChange expression if one exists.

It would have to pass through several layers to get to ngChange :smiley:
$setViewValue --> debounce --> parse --> validate --> $viewChangeListeners --> ngChange
I'm not sure it's worth the trouble. I wonder if it would be more straight-forward to have a custom directive and augment the NgModelController.
I'm not saying I couldn't get convinved otherwise...
(Whatever you do, don't call it $locals though :stuck_out_tongue:

@gkalpak It's actually not bad at all.  I wrote up a quick PR that accomplishes what I described in #14684.  If it seems reasonable, I'll clean it up with tests and docs and get it merge ready.


Introduce BaselineOutputFormatter

Hello,
here is a possible solution to create a baseline for Deptrac.
With this simple formatter it's possible to use deptrac in a CI/CD environment without fixing all existing violations

Hi @marcelthole,
thank you for contribution!
What do you think about implementing this as a feature like phpstan and/or psalm does? Having two options --update-baseline=deptrac.baseline.yaml and --set-baseline=deptrac.baseline.yaml or a similar approach.

My first idea was a baseline.yml file. But is there a solution for including yml files in yml files?
I dind't find anything in the symfony documentation about it.
Without an include option, a manually copy into the configuration is required?

There is no such feature in the YAML-Component but of the DependencyInjection-Component. They read values of a key an import the files and use an array_merge for imported values.

Thanks for the input. I looked at the DependencyInjection Component but didn't find a way to solve the current situation because it's not a configuration. I implemented a YmlFileLoader with the function of including one basefile.
I will check the Build and conflicts and update this pr soon.
(Btw. its hard to run the build tools locally because they are not defined in the require dev section :see_no_evil: )

I'm using phive for tools installation. There is a Makefile which includes all necessary commands.

Thank you, @marcelthole !


Pipelined calls within multi should not fail

This turns out to be a problem when testing resque_solo.

PR https://github.com/brigade/mock_redis/pull/125

Thanks for the fix, @brucek!


cargo-deny in CI

Codecov Report
Base: 87.18% // Head: 87.18% // No change to project coverage :thumbsup:

Coverage data is based on head (a8045e3) compared to base (4adb83a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #262   +/-   ##
=======================================
  Coverage   87.18%   87.18%
=======================================
  Files         114      114
  Lines       14574    14574
=======================================
  Hits        12706    12706
  Misses       1868     1868

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

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


Changes for stereo audio.

Could you suggest some changes for stereo audio. I tried making some changes. Could you please suggest the changes for stereo sound.

First off, why do you need stereo audio?
HiFi-GAN may already be capable of what you want or another option may exist

I have a dataset that is stereo. I have converted it to mono but I still wanted to make the changes for stereo. Due to the additional channel there is an additional dimension to handle.
AssertionError: 4D tensors expect 4 values for padding.
I tried making some changes but ended up with more errors.

I'm using pretrained models to generate the files. My next step is gonna be to train it on the dataset.

I still do not understand the exact problem you're trying to solve by using stereo audio.
I'd recommend sticking to mono unless there is a serious reason. The spectrograms used as input for HiFi-GAN will also be stereo, and HiFi-GAN is built to convert speech spectrograms to waveforms. Speech generally doesn't benefit from stereo.
If you need something like directional audio you can use something like https://github.com/facebookresearch/BinauralSpeechSynthesis which convert mono audio to stereo after synthesis.

OK thanks. Only reason for that is I wanted to make it general. I am getting new datasets regularly and I wanted to skip the step of conversion.


Changes to reputation system required

Currently the reputation system looks great, however, a few tweaks are required:
-We need to be able to differentiate between buyer/seller/arbiter as they are obviously very different roles. A person could be a good buyer but a first-time horrible merchant, we should be able to see the following on an aliases profile:
-rating for each role (buyer/arbiter/seller)
-the amount of ratings per role
-the comments associated with those reviews

Because lack of space I just averaged the ratings. The amount I just added together and the reivews are all inline... I seperated the feedbacks per role on the RPC side so BM can easily do this.

please test in testnet 2b.... rating for each role and amount are shown on alias page

close #106


Defining an array of routes to the block or subclass

It would be better if there is support for multiple routes as array when defining routes, in case there are multiple ways to reach a url.
So a situation i came across is my domain.com/contact was the same route as support.domain.com/request/new so i had to create two routes like this.
self.router[@"contact"] = ^(DPLDeepLink *link) {
    NSLog(@"DeepLink: Opening Support Page");
    [weakself feedbackAction];
  };

self.router[@"/requests/new/"] = ^(DPLDeepLink *link) {
    NSLog(@"DeepLink: Opening Support Page");
    [weakself feedbackAction];
  };

If it was possible to create to something like this would be awesome:
self.router[@"contact", @"/requests/new/"] = ^(DPLDeepLink *link) {
    NSLog(@"DeepLink: Opening Support Page");
    [weakself feedbackAction];
  };

I found the simple way to keep it clean for now would be:
self.router[@"/requests/new/"] = self.router[@"contact"];

Why not
void(^feedBackRouteHandler)(DPLDeepLink *) = ^(DPLDeepLink *link) {
    NSLog(@"DeepLink: Opening Support Page");
    [weakself feedbackAction];
}
self.router[@"contact"] = feedBackRouteHandler;
self.router[@"/requests/new/"] = feedBackRouteHandler;


Enhancement/forms accessibility

Hi !
I add some aria-labels for the accessibility ;)

Blind persian users of Vulcan are thanking you :tada: :iran:


[GCB] vcpkg errors with GCS

Maybe we need to install zip and some other tools, or maybe the build is configured incorrectly?
Step #3: sh: zip: command not found
Step #3: gsutil failed to upload with exit code: 256
Step #3: CommandException: No URLs matched: /workspace/cmake-out/vcpkg/buildtrees/crc32c/x64-linux.zip
Step #3: Uploaded binaries to 0 GCS remotes.
Step #3: sh: zip: command not found
Step #3: Failed to store binary cache /h/.cache/vcpkg/archives/92/926697d4df9301ed4ba18664196f961651db3267.zip: Invalid cross-device link

https://pantheon.corp.google.com/cloud-build/builds/12b88506-fd54-496a-9c69-c83c01c98c0b;step=3?project=cloud-cpp-testing-resources

Try ubuntu-bionic. I use vcpkg in another build on that distro and it works.

Sadly ubuntu-bionic's CMake version seems to be too old:
CMake Error at cmake-out/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (list):
  list does not recognize sub-command JOIN
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:94 (include)
  CMakeLists.txt:26 (project)

I am testing with zip(1) installed for fedora and seems to be working.


RDP Wrapper Win10 10.0.18363.657 - Seems ok but not working

Hello everyone,
i have installed last RDP Wrapper's version an then applied isuue 860
https://github.com/stascorp/rdpwrap/issues/860
but i am not able to connect RDP from local lan with private address
From "RDPConf" everything seem to work perfectly i also ping private address.
Any suggestion?

SOLVED
It wasn't wrapper's issue. Just need to check if Terminal Server" is ok. It should be enable by default, but i don't known why it disabled itself ....
Anyway open "regedit" and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server", if value key  "fDenyTSConnections" is "1" then it's disabled so change it to "0" (don't need reboot). Install last "RDP Wrapper" and apply #860


Affinity group deletion gets stuck with CloudStack API errors

/kind bug
Describe the solution you'd like
When deleting affinity group, the controller issues a delete API for affinity group which can fail due to reasons including

Networking issues like flaky network
Cloudstack management server issues

These issues can cause the API to return an error but can proceed and deletes the affinity group on CloudStack. In the subsequent reconcile loops, the controller does not find the affinity group on CloudStack and doesn't remove the finalizer. This results in affinity group resource to be stuck in deletion.

Closing as #340 is merged


ENGESC-5190 Make Hue follow the HDFS failovers using WebHDFS

This was done upto 7.2.7 via #9628
7.2.8 template must have been in code-review at that time.
So the template change did not reflect in the future versions.
Without this customers cannot use Hue Oozie editor in DE HA cluster.

@sidseth

Does CM auto-configure Hue to use HTTPFS?

Yes, it does.

Adding HTTPFS itself, does it get deployed with security enabled, are there other config parameters which may need to be set?

I do not know the answer, but this was already vetted by HDFS team in ENGESC-5190. This jira simply fixes what was missed in the template copy for runtime releases.