Notify users when the extension changes a setting for them.

(This is a follow-up to #7444.)
Sometimes the extension changes settings for users.  In many of those cases the setting is changed silently and users might not be aware it happened.  In cases where a setting is changed and the user wouldn't already be aware of the change, it would make sense to pop up a notification that the setting was changed.  This would be one notification per setting changed.
Such a notification may have helped with #7444 by making users aware that something unusual had happened.  Then they would have been more likely to notice any communication we made regarding how to fix the problem.

From our previous discussions, we decided not to show prompts because "too many prompts" was apparently the case.
Sometimes it maybe true that prompts are not needed (for eg. maybe replacing python.unitTesting with python.testing), so I guess we need to find a balance.

I agree.
We would have displayed prompts such as asking user to opt into insiders, that prompt covers changes to settings.
Similarly we display prompts to configure tests, then we update settings.
Or another classic example, user selects an interpreter, and we update the settings. Here use did something, and instantly settings are changed.
In all of these case, the user makes the final decision in some form or the other. Displaying additional messages about changes to setty would end up being more like spam.
I guess this was just a very bad bug.

I think we should make this in a case-by-case basis.


ENH: Add LastUidPublish, which publishes only when run is complete.

Note to self: the EPICS waveform PV should have been FTVL=char with NELM set high enough, though the current implementation does work.


bug: Nest Wallet won't connect to https://www.palomaswap.com/uniswap-v2/

What is happening?
Nest Wallet won't connect to https://www.palomaswap.com/uniswap-v2/.
When trying to connect; It says download Nest Wallet.
After going to https://www.palomaswap.com/uniswap-v2/ and connecting Ethereum wallet; When we try to start Nest Wallet, it asks us to download it even though Nest Wallet is installed. Even though I uninstalled Nest Wallet from the browser and reinstalled it, the problem was not resolved. Details are shown in the image.
Image abou it:
https://www.dropbox.com/s/p9prl82wv1ukxoi/IMG-20230223-WA0005.jpg?dl=0
https://www.dropbox.com/s/26t42ccirl8k1xh/IMG-20230223-WA0006.jpg?dl=0
The Browser console error output:
Denying load of chrome-extension://cjmmdephaciiailjnoikekdebkcbcfmi/popup.html. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Operating system: MacOs Monterey 12.6
Internet browser used: Google Chrome is up to date Version 110.0.5481.77 (Official Build) (x86_64)
Wallet Version: Paloma Nest(Beta) 1.3.3 Beta

This was fixed with version 1.3.4 beta which is now available in the Chrome web store (cc @taariq)

https://chrome.google.com/webstore/detail/paloma-nestbeta/cjmmdephaciiailjnoikekdebkcbcfmi


Adding target error message is not readable

Do not choose any of types of access.

:tada: This issue has been resolved in version 1.13.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Versatile input img axes order

Following #43
This PR should allow user to use any dimension order in cfg.TEST.BY_CHUNKS.INPUT_IMG_AXES_ORDER.

Some change noise comes from trimmed final space ending line.
Propose to refactor the use of cfg.TEST.BY_CHUNKS.INPUT_IMG_AXES_ORDER using util.order_dimension
All change affect the same region than your commit https://github.com/danifranco/BiaPy/commit/c6cc49d8e728d9c1d1f30f57e23ea698eeca4316 + the detection.after_merge_patches_by_chunks_proccess_patch

Concerning after_merge_patches_by_chunks_proccess_patch I was hesitating between:

saving the temporary data with channel in last position here. Or keeping the original user image dimension order
If the orginal user image dimension is kept, then after_merge_patches_by_chunks_proccess_patch had to be adapted too.

But I decided to keep the original user image dimension so I can just superpose the two images using my favorite viewer to look at the different steps easily. I didn't find a test folder but don't hesitate to ask me to add more things or to close the PR if doesn't correspond to standards!

Hello @danifranco as discussed in #43 I made new changes:

Removed commit noise to focus on what is truly changed.
Add the versatile order to the multi gpu process. So it should be versatile everywhere now.

Hopefully ready to merge.
I have to open new issue to solve before everything can work, but I think for this particular issue of versatile loading it is "solved".
If you prefer to have one big PR, i can also do that


Find minimum functionality level to provide data acquisition functionality.

There's a lot of papers online and I don't know a lot of things, but a simple and working version should be chosen.
With this, explore more things.
Note: PCB area is huge, there's space for two design in parallel

Current version seams to be ok.


Problem with the -save_attention flag in translate.lua when using PDBRNN with feattext

Hi, following is the output log of translation using -idx_files, trained with PDBRNN and the latest -save_attention flag.
[09/13/17 17:42:59 INFO] Using GPU(s): 1
[09/13/17 17:42:59 INFO] Loading 'models/char_set/90hr_chars_pdbrnn_layer3_rnn1024_sgd0.1_naive0.3_bs4_curr2_epoch6_1.35.t7'...
[09/13/17 17:43:01 INFO] Model seq2seq trained on feattext
[09/13/17 17:43:02 INFO] FEATS 1: IDX - 0xFzoUVr98JmQ_1 - SIZE 8
[09/13/17 17:43:02 INFO] GOLD 1: <s> a l l e n <space> d i w a n <space> h i <s>
[09/13/17 17:43:02 INFO] GOLD SCORE: -0.54
/data/ASR1/spalaska/torch-lua52/install/bin/lua: ./onmt/translate/Translator.lua:185: bad argument #1 to 'concat' (table expected, got nil)
stack traceback:
        [C]: in function 'concat'
        ./onmt/translate/Translator.lua:185: in function 'buildOutput'
        translate_new.lua:161: in function 'main'
        translate_new.lua:239: in main chunk
        [C]: in function 'dofile'
        ...orch-lua52/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?

This is reproducible for me as well.

Hi, could you please give me an update for this issue? Thanks


⚠ Bofrost.de has degraded performance

In 20d95ea, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1503 ms

Resolved: Bofrost.de performance has improved in c1f2171.


How to visualize the computational graph?

I saw the images that represent the graph, but they were blurred. Are there some ways or scripts  to reproduce the graph during training and inference?  In the file .gitignore it seems it was used visualize.py to generate those pictures. I need this because i think it helps a lot as a first step for a good understanding of the architecture and the functionality of the model itself.

Hi! I agree and weirdly I can't get the script to work anymore.  If you would like to mess with it however, you can find it here.  If you can get it to work, feel free to send a PR as that would be a really nice feature to have.


Overwrite default support interface URL

To make a ticket UI in modern clients possible the support URL must be overwritten.
Currently its default to the official one without a way to change it.
Challenges:

Find function that passes the URL to the BlizzardBrowser.exe
Modify the function to always pass the same domain (for example $PORTAL + "/support")
Find and modify the "trusted domains" function

I think they are using SendMessage for IPC.

To make a ticket UI in modern clients possible the support URL must be overwritten. Currently its default to the official one without a way to change it.
Challenges:
* Find function that passes the URL to the `BlizzardBrowser.exe`

* Modify the function to always pass the same domain _(for example `$PORTAL + "/support"`)_

* Find and modify the "trusted domains" function

The url itself is saved in GlobalStrings and can most likely be hotfixed (tested with a random db2 edit).

Hotfixing did not work, I don't know if VISITABLE_URL50 is even used for the browser.


Error for test with Circle-finder

Hello, I am new to programming and I found your article on ATAC-seq. And I wanted to test it on my plant data to detect circles.
But after installing circle-finder I tried to do the test with hg38 data but it displays this error message.
assane@gwas:~/Circle_finder$ bash scripts/microDNA.InOne.sh /media/assane/DD-2To/fastq_file/Index11_1.fq /media/assane/DD-2To/fastq_file/Index11_2.fq 24 C4-2 49 10000 /home/assane/Circle_finder/output/
[main_samview] fail to read the header from "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.sam".
[E::hts_open_format] Failed to open file "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.bam" : No such file or directory
samtools sort: can't open "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.bam": No such file or directory
[E::hts_open_format] Failed to open file "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.sorted.bam" : No such file or directory
samtools index: failed to open "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.sorted.bam": No such file or directory
rm: impossible de supprimer '/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.bam': Aucun fichier ou dossier de ce type
[E::hts_open_format] Failed to open file "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.sorted.bam" : No such file or directory
samtools view: failed to open "/media/assane/DD-2To/fastq_file/Index11_2.fq.hg38.sorted.bam" for reading: No such file or directory
bash: FromBamExtractProperpairreads2Island2Inetrsect2MappedUnmapped4human.sh: Aucun fichier ou dossier de ce type
bash: microDNA.RunAsOneJob.sh: Aucun fichier ou dossier de ce type
rm: impossible de supprimer 'microDNA.JT.postalign.TeMp1.bed': Aucun fichier ou dossier de ce type
awk: fatal : impossible d'ouvrir le fichier « junction.microDNA » en lecture (Aucun fichier ou dossier de ce type)
awk: ligne de commande:2: $2>1000 && $2<195471971 && $3<195471971 && $3>$2 && ($3-$2)<=
awk: ligne de commande:2:                                                              ^ fin de chaîne ou passage à la ligne inattendu
*****ERROR: Unrecognized parameter: microDNA.prealign.up501.bed *****
Tool:    bedtools getfasta (aka fastaFromBed)
Version: v2.27.1
Summary: Extract DNA sequences from a fasta file based on feature coordinates.
Can I have your help please
Thanks in advance

Hi assane-mbodj,
Sorry for the late reply.
Two things here.

You need to make a new genome index file (your organism of interest)
If your library was not prepared from the circular DNA enriched then please use script "https://github.com/pk7zuva/Circle_finder/blob/master/circle_finder-pipeline-bwa-mem-samblaster.sh".
Hope this helps.
Pankaj


I noticed that in the recent update, the values for width and height seem to have been swapped?

"Hi there,

I noticed that in the recent update, the values for width and height seem to have been swapped?

hi, it should not be the case.
there was an issue last night related to saving width/height and restoring from transforms which should be addressed now in the latest minor release.
can u try updating the node, the graph nodes and reloading the graph (reloading the graph makes an event do something related to initialization which I have to fix).
alternatively, if you know how you can switch to branch #49 which has something more

if you can send me the workflow I will check where the problem is.

workflow - 2024-09-18T192959.317.json

you are totally right, the issue is in the transform extration, I will fix it.

Thank you~The recent updates are very cool

it's now fixed, the fix will affect new changes (update and make sure you move the stuff around to set the new transforms right)

@sky958958   I just realized we would need calculating the bounding box as when you skew/rotate the numbers will not represent the bounding box


Finish migrating dir_creation projects default attrs

As the title says.

Looks good to me.
I just tested it on a dev cluster, and it works.


adding text and/or emojis on images

app has a fair amount of options that an image editor would have, except one i mentioned as the title!

Yup, thanks for the suggestion, this planned and mentioned in #468 :)

Consider switching from SVG emoji to emoji text in Android 13 and above, as you can use the CORL feature to display clearer emojis.

Consider switching from SVG emoji to emoji text in Android 13 and above, as you can use the COLR feature to display clearer emojis.
I can provide some help on whether the system fonts support the COLR feature, because OEMs may negatively optimize emoji fonts on Android13 devices. (Such as : Meizu)
COLRv1.kt

Initially i used emojis as text, that worked great, but on each device that looked different, so i considered switching for svg, so on all devices it'll look the same :)

But they will be still different depending on device isn't it? Also didn't the app size will be increased of storing all entire available emojis?

Also i have some svgs that are not from emojis👀

But they will be still different depending on device isn't it? Also didn't the app size will be increased of storing all entire available emojis?

If using SVG emoji, it definitely cannot support all emojis, so only enable more emoji support or allow users to customize input on Android 13 or above.

You can consider allowing users to customize emoji input on Android 13 devices, which will minimally intrude on existing functions.

You can consider allowing users to customize emoji input on Android 13 devices, which will minimally intrude on existing functions.

Maybe, but it seems to be tricky, maybe when adding text to images I'll add this, but now i'll need to rewrite all emoji parts to achieve using colr

So maybe in the future, not now :)

I don't quite understand why assets svg should be copied to the local directory and then loaded.
Are there any advantages to doing this?
private fun Context.getFileFromAssets(cat: String, filename: String): Uri =
    "file:///android_asset/svg/${cat}/${filename}".toUri()

I don't quite understand why assets svg should be copied to the local directory and then loaded.
Are there any advantages to doing this?
private fun Context.getFileFromAssets(cat: String, filename: String): Uri =
    "file:///android_asset/svg/${cat}/${filename}".toUri()

how can I load image without it? Can coil load that directly? If you know, I'll be glad :)

I don't quite understand why assets svg should be copied to the local directory and then loaded.
Are there any advantages to doing this?
private fun Context.getFileFromAssets(cat: String, filename: String): Uri =
    "file:///android_asset/svg/${cat}/${filename}".toUri()

how can I load image without it? Can coil load that directly? If you know, I'll be glad :)

I will submit a PR to implement this optimization https://github.com/T8RIN/ImageToolbox/pull/581

thanks!

now you can use watermark feature to achieve this, hope it fits :)


Made initial peers query

Also removed the need to use .coda-config/peers as it is no longer needed

Yeah, I think I agree that there's probably no need to individually specify the host and port in this case, and we might be alright with a more abstracted string identifier for the peer


Using unscoped when hard deleting an association or appending does not work as expected.

Your Question
Hello there, I cannot make this work for some reason, i have checked some issues and it looks like the unscoped function does not make my query work as expected.
here i want to delete an entry in my many2many table association.
type Calendar struct {
	UUID         uuid.UUID `gorm:"primaryKey;type:uuid;default:uuid_generate_v4()"`
	Name         string
	CalendarLink string
	EmployeeID   uint
	Private      bool
	Type         CalendarType
}

type EmployeeCalendarSubscriptions struct {
	UserID    uint       `gorm:"primaryKey"`
	Calendars []Calendar `gorm:"many2many:employee_calendar_subscriptions_calendars;"`
}

func SubscribeToCalendar(userId uint, calendarUUID uuid.UUID) error {
	db := database.ConnectToDatabase()

	calendar := Calendar{
		UUID: calendarUUID,
	}

	err := db.Model(&EmployeeCalendarSubscriptions{
		UserID: userId,
	}).
		Association("Calendars").
		Unscoped().
		Append(&calendar).Error()
	if len(err) > 0 {
		return errors.New(err)
	}
	return nil

}

func UnsubscribeFromCalendar(userId uint, calendarUUID uuid.UUID) error {
	db := database.ConnectToDatabase()
	calendarTobeDeleted := Calendar{
		UUID: calendarUUID,
	}
	err := db.Model(&EmployeeCalendarSubscriptions{
		UserID: userId,
	}).
		Association("Calendars").
		Unscoped().
		Delete(&calendarTobeDeleted).Error()
	log.Println(err)
	if len(err) > 0 {
		return errors.New(err)
	}
	return nil
}

error: runtime error: invalid memory address or nil pointer dereference
Running any of these functions gives me a nil pointer dereference. which is obvious why, because the struct does not represent the data structure saved in Postgres. In my mind, I think that if I used Unscoped it will not write to the memory address of calendarTobedeleted  or the other variable: calendar in SubscribeToCalendar.
Maybe i am doing something wrong? Anything helps!!

The document you expected this should be explained

Expected answer
How to avoid a pointer dereference.

hit the same issue. its crazy how such a simple concept doesnt have a clear answer in the docs or anywhere online

Have you read our document? I think it's pretty clear
https://gorm.io/docs/associations.html#Delete-Association-Record
https://gorm.io/docs/associations.html#Delete-Associations

hey @jinzhu
i have read the documentation at length and agree with most of the comments i find online claiming that the documentation is very unclear. is it possible it is clear to you because you are the main author?
the documentation:

doesnt show the start \ end state of the db or clearly communicate what the effect will be
doesnt show the resulting sql query so i had to investigate this on my own. it doesnt even state when additional queries will be performed
doesnt state the returned object type (which i have found changes depending on what query i perform)
lots more....

after finding 3 ways in the docs to perform this deletion only 1 worked for me and its the one that uses the Select function to signify that i would like to delete the associated rows from the association table. I am new to GORM but not new to ORMs at all.
I appreciate the hard work but if the users are saying the documentation is unclear you should believe them
cheers


Update Package.swift

Expose ECMAScript as a product. Can we expose this for now until it is added to JavaScriptKit?

Thanks for this!
The Package.swift is actually auto generated, so I've moved this change to the generator and generated the updated Package.swift


Feature: Observability

We'd love to use faststream as part of our application however one thing that popped out for consideration is observability.
We currently live in the opentelemetry world and honeycomb, with some sentry on top of that. Sentry could be integrated through their basic sdk I think, however it'd be nice to have opentelemetry support of some sorts OOB.
Given it's industry standard it should be helpful to a lot of people making observability way easier.
We also thought about getting some kind of kind of a heartbeat from the workers? We'd like to know eg. if it died and wondering if it should be handled eg. a level higher on container level or sth or is it already avaialble?
Awesome work so far.

Thanx for the suggestion, we'll start working on it very soon.

voting for this feature

We are looking into it right now.

We are looking into it right now.

Did you find something there? 👀

I found a project trying to implement this feature: https://github.com/ashambalev/opentelemetry-instrumentation-faststream
But, after 0.5.0 release, I hope, we can implement it as a broker middleware and distribute as optional dependency.

Assigned to @draincoder


winrm escaping the backslash

When i use the below code, the request going to windows server is missing backslash in the username.
I have tried using all the different versions of winrm.
Error Log on windows:
Account For Which Logon Failed:
Security ID:                            NULL SID
Account Name:                     DOMAINusername
Account Domain:
Failure Information:
Failure Reason:                      Unknown user name or bad password.
code:
require 'winrm'
require 'winrm-elevated'
opts = {
endpoint: "http://xx.xxx.xxx.xx:5985/wsman",
user: "DOMAIN\username",
password: "password",
disable_sspi: true
}
conn = WinRM::Connection.new(opts)
conn.shell(:cmd) do |shell|
command_output = shell.run("netstat") do |out, err|
STDOUT.print out
STDERR.print err
end
end

The \ is an escape character in ruby. Try either using single quotes instead or a double backslash \\.


[FEATURE] Incorporate weather from now-discontinued Calendar/Weather module

Would love to see my favorite feature of Calendar/Weather ported over to Simple Calendar, now that the former is no longer maintained.

Yup this is planned to be added. Just working on some other features first.

I would commission this feature if you're interested, wrote an e-mail to your address given on your homepage but got no feedback.

oh, which email? I'm not seeing anything in my spam folders or inbox.

i send it to<EMAIL_ADDRESS>can i reach you somewhere else?

oh wait i did send an email to @vigoren not you. Sorry for the confusion

@Nordiii hey sorry I'm out camping at the moment (don't have reliable service) I'll get back to you as soon as I'm back in civilization lol

Hi @ctbritt, I picked up development of Calendar/Weather a few weeks ago so the module is still alive!
@vigoren this might interest you, there are a few changes that will happen soon on our side and we will partially switch date management from About-Time to Simple Calendar.
We will still take care of events, season and weather so you don't have to worry about this ;) I am still trying to figure out what the new responsibilities of Calendar/Weather will be, but my main goal is to avoid duplicating efforts on features across modules.
I have an open discussion thread on my repo if anyone wants to stay up to date with the discussions we have on our side: https://gitlab.com/jstebenne/foundryvtt-calendar-weather/-/issues/37

I am going to close this issue as the calendar/weather module is being repurposed to add weather support to Simple Calendar. This move names not sense to me as the weather module can then be added if people want. Make sure to keep tabs on their progress for when it is ready 😁


Use ScrollView and Touchable*

Because of https://github.com/necolas/react-native-web/issues/829
But we can't use it for now, because it breaks mouse scroll on TextInputs for some reason. Investigate.

It's not used yet. It should solve issues with taping while scrolling (should stop scroll, but not dispatch top event), but it seems it's not completed yet. Scroll momentum is missing, maybe something else.
Therefore, we have to use position fixed. Ideally, it should be position absolute in something else than body element container.

Then refactor (remove) window.pageXOffset and window.pageYOffset.


Compile fail on v1.0 when --enable-sp=no

Miss a 'SP' macro in ofp_init_pre_global function. Not sure master has same issue. :)
Error log like this.
ofp_init.c: In function 'ofp_init_pre_global':
ofp_init.c:116:5: error: 'struct ofp_global_config_mem' has no member named 'nl_thread_is_running'
shm->nl_thread_is_running = 0;

This issue was fixed on:
commit aa858aba7200c7f7bd34414841e1d89f1f266030
Author: Bogdan Pricope<EMAIL_ADDRESS>Date:   Wed Dec 9 10:41:28 2015 +0200
Fix error obtained when building OFP without slowpath support

Signed-off-by: Bogdan Pricope<EMAIL_ADDRESS>Reviewed-and-tested-by: JosĂŠ Pekkarinen<EMAIL_ADDRESS>

Note: the comment was created automatically with bugzilla2github tool

Bugzilla bug ID:  3
Renumbered to issue: #126


BF robustness check documentation and test

Updated the DESCRIPTION file.
Added the first function (Bayes Factor robustness check) and its documentation. Created a tests folder with thestthat and also created the first test for the BF robustness check.

Nice work. I think this is a really well suited test because you can clearly specify what numerical output to expect when everything goes as it should. Also nice that you set up a test folder with use_testthat. I have no recommendations for improvement


generate.py didnt work : ModuleNotFoundError: No module named 'PIL'

python3 generate.py -n "C:\Program Files\Hugin\bin\nona.exe" Panorama1.jpg
Traceback (most recent call last):
File "generate.py", line 31, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
on Windows 10 64bit

fixed by running this on command prompt
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow


Adds plugin system, hook points, supporting libs

Description
This commit adds support for "registering" Ruby plugin code to be called at the beginning or end of the various CPI v2 method-handling functions. While any BOSH CPI could use plugins, only the vSphere CPI has been modified to handle plugins and call plugin hook sites.
This commit also adds what should be a fully-functional toy plugin in the 'src/vpshere_cpi/src/cpi_plugins/example' directory. This plugin serves as both a demonstration to vSphere CPI plugin authors, and as a mechanism for the CPI Integration tests to use to ensure that the plugin load and call machinery is functioning correctly.
Because we currently have only one user of this plugin mechanism, we are very, very open to changes to the plugin code, the data passed in to the various hook sites, the location of said sites, and so on. What we have is good enough for our uses, but it's hard to design an actually-good interface when one only has a single user.
For more information on vSphere CPI plugins, their use, and their configuration, examine
'src/vsphere_cpi/src/cpi_plugins/example/README.md', added by this commit.
TODO

Documentation for the new feature needs to be written and posted to bosh.io, if this PR is approved.
Integration tests need to be run through CI, with changes made to program code or test code as required.

Related PR and Issues
https://github.com/cloudfoundry/bosh-cli/pull/662, which adds backwards-compatible support for CPIs which might contain multiple Jobs. Without this PR, the bosh CLI will refuse to process manifests that include a CPI Plugin alongside the CPI. No Director changes were required for this work.
Impacted Areas in Application

Added "pre" and "post" hooks to each function that handles the CPI v2 calls.
Made very minor changes to CPI configuration handling in VSphereCloud::Cloud#initialize
Added an example CPI plugin that serves as tutorial and integration test tool.

Type of change

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

How Has This Been Tested?

Unit tests for the new feature were created and run.
All unit tests were run.
Integration test for the new feature was created and run, with the caveat that much of the test setup code and guts of the CPI were commented out, as we were not actually running the integration tests against a vCenter.
Integration tests for the rest of the system WERE NOT run.

Checklist:

[ ] My code follows the standard ruby style guide
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Integration tests need to be run through CI, with changes made to program code or test code as required.

I configured vsphere-cpi pipeline to use this branch and verified integration tests pass.


Add internationalization to component block tooltips in Blocks Editor

We currently allow translations of component block tooltips (Method/Event/Property Descriptions in the OdeMessages file), but the blocks editor doesn't display the internationalized strings. This PR fixes that bug.

This PR still needs review. The Korean (and Polish when released) translations have strings for the component block tooltips.


builtin(str): implement withCapacity

Provides Str.withCapacity : Nat -> Str (see #664)

@ayazhafiz PTAL

Oops! Forgot to get rid of the newline


:sparkles: Add UltiDex

I would be super happy if my project is added!
Thanks for the hard work collecting these awesome projects! 💖
fixing #63

@UltiRequiem Thanks for the submission. Nice work too! 👍
This Repo is meant as a collection of learning resources. I'm closing this PR cause I don't think UltiDex is quite at the level where others can learn that much from it yet. Keep it up though and feel free to submit future work!


cmfnns.c

What the program do ?
Solve calculations of the four basic mathematical operations using two numbers. Both the operation and the numbers are chosen by the user.
In what programming language it is written?
C

This pull request do not contains files in specific folders. Please fix it and reopen


[FEATURE] Documentation to be loaded into the app

Description
Markdown files could be loaded into the app, so they can be seen directly on there
Screenshots
No response
Additional information
No response

Adding Basic Profile

Edit Basic Profile

Statistics

Social shortcut icons

GitHub Action fail

Tags

Markdown in bio

Milestones

Events

Sara's profile


Allow negative values in an indicator parameters

I want to have the ability to set negative values in an indicator parameters. For example I have an volume indicator with a negative parameter value

@liihuu can you please review it? it's really important issue for me :)


Drop legacy code

WITH_PKGNG=yes was required for FreeBSD versions earlier than 10.x, and
this module supports FreeBSD 10 or 11, see:
https://www.freebsd.org/doc/handbook/pkgng-intro.html#pkgng-initial-setup
Likewisely, pkg2ng was needed for switching to pkg, which does not look
like a responsibility for a configuration management system like puppet
but for an orchestration system like MCollective.  It was unused by the
way.

Tests are failing because of the metadata, but I also had to set FACTER_GEM_VERSION=2.4 because facterdb does not know facts for facter 2.5 on FreeBSD…
Hint: Travis-CI now supports cron jobs, that allow you to run the tests suite every day.  Quite handy to detect when some dependency gets updated and somthing breaks on your side :wink:

Thank you!


Don't call IServiceProvider.GetService from MEF export constructors

This could deadlock VS according to @AlexEyler

I wonder if this one should be extended to "Don't introduce thread dependencies to a MEF constructor". The diagnostic could be:

Any calls to a VS service that has threading dependencies (very similar to VSTHRD010 - the fix would be pretty different, though, since we wouldn't want to switch to the main thread at any point in the constructor). This includes a GetService call as well.
Any thread switching in the constructor.

Code fixes would be pretty complex for this diagnostic, since it totally depends on what you're doing:

If you're calling GetService, you should probably move the GetService call to an AsyncLazy and then have the AsyncLazy factory create the service (which would happen on first use, which is hopefully outside of the MEF ctor).
If you're calling into a service (e.g. IVsSolution.SetProperty()), then... I don't know. It really depends.
If you're thread switching in the constructor, the fix is to stop doing that :).

@AArnott thoughts?

Agree on all points. An analyzer without a code fix provider may be the way to go (at least initially) here.

Maybe we should do this after #10

Agreed, we'd probably want to re-use a lot of the code there.

Dupe of https://github.com/Microsoft/vs-threading/projects/1#card-1455219

Given I think it makes sense to keep general thread affinity checks inside the newly data-driven VSTHRD010 analyzer, I'm going to proceed with a MEF analyzer in vs-threading as well.
https://github.com/Microsoft/vs-threading/issues/214


Roll Engine from a36eac0a341c to e725a92a4ecb (1 revision)

https://github.com/flutter/engine/compare/a36eac0a341c...e725a92a4ecb
2021-10-04<EMAIL_ADDRESS>Roll Dart SDK from 7fe995e95e37 to aea166168df4 (1 revision) (flutter/engine#29005)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


use pvc to expand volume (#2422)

Proposed Changes
use pvc to expand volume to resolve ticket 'Application couldn't mount the volume after expanded the volume' (#2422)

Modify 'Expand' API to provide PVC/PV expand

Types of Changes
Bug fix
Verification
GIVEN:
- Kubernetes cluster deployed
- Longhorn deployed
- a statefulset/deployment with mounted volume deployed
WHEN:
- scale down replicas for statefulset/deployment to zero
- POST `Expand` to `longhorn_backend`
THEN:
- wait for pvc/pv successful expand
- statefulset/deployment scale replica to 1 and disk attached successfully

Curl API
ACTION=expand
curl -sSX POST -H 'Content-Type: application/json' "http://${BACKEND_URL}:${BACKEND_PORT}/v1/volumes/${PV_NAME}?action=${ACTION}" -d '{"size":"4Gi"}'

if volume is not detached will receive error like this
{
  "actions": {},
  "code": "Server Error",
  "detail": "",
  "links": {
    "self": "http://longhorn-backend.longhorn-system.svc.cluster.local:9500/v1/volumes/pvc-5d3833f1-5530-426f-bb8e-cb7b6aef467a"
  },
  "message": "invalid volume state to expand: pvc-5d3833f1-5530-426f-bb8e-cb7b6aef467a",
  "status": 500,
  "type": "error"
}

Linked Issues
Refs: https://github.com/longhorn/longhorn/issues/2422
Further Comments
Signed-off-by: Clark Hsu<EMAIL_ADDRESS>

@shuo-wu what is the reason for recreating the pvc in point 5?
If the related StorageClass doesn't exist, e.g., the volume and PVC/PV are all created by Longhorn UI, Longhorn should recreate the PVC with larger size. And expand the volume.

@joshimoo A PVC can be expanded only if it is dynamically provisioned by a StorageClass with option allowVolumeExpansion enabled. Otherwise, the following error will be triggered:
$ k edit pvc vol1
error: persistentvolumeclaims "vol1" could not be patched: persistentvolumeclaims "vol1" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize
You can run `kubectl replace -f /tmp/kubectl-edit-aux52.yaml` to try this update again.

@shuo-wu I have address first 4 points in previous update.  For point 5, I am still thinking if this scenario is what we wanted:

User has an original storage class with allowVolumeExpansion: false.
User scaled down workload.
User deleted the storage class.
User expand volume in Longhorn UI. Longhorn-manager will create a storage class with same name and allowVolumeExpansion: true.

I feel like we shouldn't concern ourselves with the storage class, i.e. let kubernetes evaluate whether the pvc expansion is valid or not.
Together with this point above, I think we should consider creating the pvc/pv with the longhorn storage class instead of the non existing longhorn-static class.
@shuo-wu @cclhsu What do you think?
The PR currently doesn't evaluate the PVC size vs requested size.
Since this API endpoint will be called by the csi driver, after the user has manually updated the PVC size.
There is no need to try to update the PVC in that case.

@joshimoo @shuo-wu Any additional concern with current implementation?

The question is, where Longhorn can expand PVC and PV. expanding PVC will lead to the CSI resizer call the existing Expansion API. That's why I mention Hide the old expansion API above.
@joshimoo What do you think about the 2 solutions commented on by Clark and me?

kubernetes regular expansion flow:
pvc update -> csi resizer -> csi plugin -> longhorn api expand -> expansion done -> csi resizer will expand PV with new capacity.
Since expansion calls, need to be idempotent. I think it should be okay to use a single expansion api.
How I could see this working:
longhorn api call:

check pvc size < requested size:  -> update pvc
check volume size < requested size -> update volume size (this should already be implemented)

Since the first api call will update the pvc, this will trigger the csi flow above.
Which will call the expansion api, since the volume/pvc size is already update that is a noop.
Then the polling in the csi plugin will wait for successful volume size update.
Once that is done, control returns to the csi resizer which will update the PV with the new size.
In the case where a PVC is present, I don't think we need to update the PV size as part of the longhorn api call.
Since it will be the responsibility of the csi resizer to do so, there is currently no harm in doing it a head of time.
In the case where no PVC is present, updating the PV size after the volume update seems reasonable.
Tere is some upcoming discussion on resize failure handling, here, that might change this part.
https://github.com/gnufied/enhancements/blob/master/keps/sig-storage/1790-recover-resize-failure/README.md

@cclhsu can you explain why we need to process the storage class?
We should be able to just try updating the PVC and let kubernetes handle whether that update is valid, based on it's internal criteria (storage class exists & storage class allows for volume expansion)
No need for us to concern ourselves with that evaluation since it's already handled by kubernetes during the pvc update.
That's why I also think that we should make the restored volumes use the longhorn storage class so that their expansion settings are tied to the user configured settings instead of the non existing longhorn-static class with hardcoded params.
@shuo-wu @cclhsu what do you think about this part?

check pvc size < requested size:  -> update pvc
check volume size < requested size -> update volume size (this should already be implemented)

Yes, this sound close to what I did in the first implementation, where UI will issue pvcexpand api, and added @shou suggestion to hide original api.

can you explain why we need to process the storage class?

Seem like side effect when pack everything to original expand function.  I remember I encounter a situation where pvc didn't expand as state in storage class but pv was expand, so I add check to prevent it from happening. I think we can ignore it since we are moving back to first implementation.
I have rechecking the first implementation with some updates.
From my testing I have yet to encounter the scenario I need to recover.  I will try with scenario in the document.  When recover, if user change setting.longhorn.io/default-longhorn-static-storage-class to another storage-class, e.g. longhorn-xfs.  Shouldn't we use it instead of longhorn?

@joshimoo @shuo-wu as show in sprint demo, any additional concerns?  Please help review.

@shuo-wu @innobead I dismissed the stale reviews, since we discussed the solution during PR team meeting, so I can merge the PR.


fix(coding):  update instructions to CSS Flexbox challenge in Portuguese

Change the positions of some words to be in accordance with the syntax rules of the Portuguese language.
Change some translated words back to English for clarity of the instructions.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@thefrontendwizard At this point, I think we should either close this PR due to it being stale or just remove the added line breaks if that is the only thing wrong with this challenge.

I'll remove the line breaks and merge it in.

I don't have push access to the branch. I'll close this one.


Adding Custom Edges for Linking Django Views and Templates

Adding Custom Edges for Linking Django Views and Templates
Describe the issue
I'm using the Fraunhofer CPG to analyze Django codebases. In Django, views (Python files) often render HTML templates. I'd like to add custom edges to the CPG to represent these "RENDERS" relationships between view nodes and template nodes.
Here's an example of a simple python view function that will "call" a html template and sending a dictionary with context as key
# views.py
from django.shortcuts import render

def my_view(request):
    return render(request, 'my_template.html', {'context': 'data'})

I am guessing i need to extend the standard python frontend but i am not sure how just by reading this alone https://fraunhofer-aisec.github.io/cpg/CPG/impl/language/
A (ugly) workaround i can think of is i generate a cpg for the python part of a django codebase. After that i use a different parser generator to read just the various views functions in the codebase, then update the generated code property graphs (which I assumed are in neo4j) with custom edges and nodes.
So this way i avoid the need to write a separate frontend that works with Django
Which way is easier to implement and is more defensive for me considering that Fraunhofer-aisec/cpg will be constantly evolving over time?

We are in the process of adding a generic „Overlay“ node that can represent any additional logic that is needed to be added as extra nodes.
Most likely you can extend these overlay nodes to implement something like a „TemplateNode“ and then connect it to the original ast node.
Unfortunately we do not have any documentation on this yet, since we just recently merged this into main.

See https://github.com/Fraunhofer-AISEC/cpg/pull/1897

Hi @simkimsia , I think it would make sense to write a custom pass rather than a new frontend. This will also be easier to maintain in almost all cases.


goodpractice has been removed from CRAN

Got removed 27 April 2022. Don't know why, but the build action now fails without it. Easy to fix here by inserting a remote install line. @assignUser do you wanna take care of that?

@assignUser This commit https://github.com/ropensci-review-tools/pkgcheck/commit/87a45c8b33b1d80c689635f43976108296f3a85b updates the pkgcheck Docker container by installing goodpractice from GitHub which should propagate changes over to here once it builds.

https://github.com/MangoTheCat/goodpractice/issues/154 - still not there, but on the way it seems

It's back


error when running my code

What steps will reproduce the problem?

when running my code that error appears
my codes run in Python IDLE.
i think input structure in spyder occurs this error

Hey @alirezabaghi73, thanks for reporting. This error is already fixed in our latest version (5.3.1).
Since it's still not available in Anaconda, you have two options:

Use our Windows installer, which you can find here.

Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:
 conda create -n spyder-cf -c conda-forge spyder
 conda activate spyder-cf
 spyder


Iptc read data missing

When I read a jpg file and get it iptc metadata with the key "Iptc.Application2.Keywords"
It should be a stringlist or at least "a,b,c...,y,z"
but I only get "z"

It's interesting that I can use
goexivImg.GetIptcData().FindKey("Iptc.Application2.Keywords")

to get the first element "a"

Thanks for reporting
Unfortunately I don't have the resources or the need to look into this right now.
If you or someone else contributes a fix, that would be great.


I want to add leetcode solutions for problems 36(medium) and 37(hard).

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
How many minimum questions' solutions do I need to provide for getting assigned a task?
Suggested Change
I will provide varied approaches and solutions in languages to solve this issue which I myself did in leetcode.
Rationale
No response
Urgency
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar  I had raised this issue seeing that the solutions of these problems were not visible in the website, however, in GitHub folder directory the .md file is there and I can see someone has the documentation written. What should I do now?

@AbhishiktaRay03 , I apologize for not providing feedback some time ago moment as I am occupied with my tasks. If you would like to write your code for our documentation, please work in the dsa-solution directory.

@AbhishiktaRay03 Please complete your task otherwise I will close it.

I was stuck with my exams. I'll complete it by tonight.


the broken links

How do we access the examples now?  The links are broken.

@pelikhan

You can put those files under website/static and they will be copied as is to the deployed website

I added the output of the builds of the examples to website/static - but not sure how to reference the added files

try https://microsoft.github.io/msagljs/editors/msagl.html, you'll need to patch some paths

Sorry, I do not understand.

The content of the static folder are copied as is to the GitHub pages host; however it seems that they fail to load which is probably because they assume some paths on dependent files.

From: Lev Nachmanson @.>
Sent: Friday, April 21, 2023 8:46:50 PM
To: microsoft/msagljs @.>
Cc: Peli de Halleux @.>; Mention @.>
Subject: Re: [microsoft/msagljs] the broken links (Issue #59)
Sorry, I do not understand.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/msagljs/issues/59#issuecomment-1518496591, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKKJMXCHS4DPUVSIDCDXCNICVANCNFSM6AAAAAAXFWVBFQ.
You are receiving this because you were mentioned.Message ID: @.***>

Do you say it is enough to put links to this folders to msagl.html?

remove website/static so it will be something like website/static/foobar ->>  https://microsoft.github.io/msagl/foobar


vnc-recorder is not able to write recordings Linux permissions?

I always get errors, that the recording can not be moved to the target destination. The reason is, that the file to be moved does not exists. The screen.flv is not created. I use Linux as my build server, under MacOS it works.
Could not move recording file from .tmp-volume-1513089992384/screen.flv to target/FAILED-SeleniumContainerTest-simplePlainSeleniumTest-20171212-154641.flv

Wild guess: I read about permission problems writing to the host filesystem under Linux.

How is your build server setup? If the file is still there, can you please make a ls -la on the file and on your /target dir?
Sounds like something that might happen if the Docker container writes the files with root user id and so other users aren't allowed to move/delete it.

The movie file is never created. The vcr-container dies instantly. The tests are run with an unprivileged user who has write permissons to the target/ directory
1a25bef353cf        richnorth/vnc-recorder:latest            "flvrec.py -o /recor…"   3 seconds ago       Exited (139) 1 second ago

It runs the Docker entrypoint with the following arguments
[-o /recording/screen.flv -P /recording/password vnchost 5900]

Quick googling for exit code 139: segfault?
Any idea how I can debug this further?

BTW I can connect to the selenium/standalone-chrome-debug with VNC and see the test running.

Hi @kwbr,
Good news - it's already fixed in #526 :) We will merge &release it soon, you can also try it yourself with jitpack:
https://www.testcontainers.org/usage.html#maven-dependencies

Thanks, I'll test it out as soon as it's merged and released. Just subscribed for notifications on the issue.

I suspect that, if not already fixed, #888 may finally fix this.


Improve formatting in README.md

Improve formatting hierarchy in Swift Package Manager section by using #### instead of ### for Prerequisites and Steps subsections.

Hi @larrylegend I appreciate your enthusiasm to contribute but I want to avoid establishing a pattern of accepting minor spelling/grammar/formatting PRs because I've seen this scale into an unmanageable level in other repos. If you want to resubmit this as part of a bugfix for one of our various pending issues I'd be happy to review.

Sounds good, thanks @ZachNagengast, sorry for the distraction!


Add project scaffolding from cookiecutter-data-science

This PR adds some project scaffolding to the repository. It was generated using Cookiecutter Data Science, a popular project template for data projects. (Disclosure: I am one of the maintainers for this project template.)
A few choices made here:

Nominally using Python 3.12
Using Ruff for code formatting and linting with a few options set

@jayqi Thank you!


Content for Get An Idea

See #173

[ ] Write Text
[ ] Review on Thursday
[ ] Enter into CMS

Reference: http://bizport.longbeach.gov/plan/get-idea

New copy in the PLAN section under Get An Idea: https://docs.google.com/a/codeforamerica.org/document/d/1l5PIDZLrkQpMwqDwpxD-TpEtbE6IyWeQLdXvygtjQWU/edit?usp=sharing

Reviewed with Caitlin, entered in the CMS.


test.dart should have a progress bar

The new test.dart script wraps test.py and waits until it's done to report new failures. test.py has a nice progress bar but test.dart doesn't. It should use the one provided by test.py.

Done.


CVS import issue

The cvs import option for multiple rules on numbers is broken and just generates empty rules

It's based on column headers, plz check the balloon tip.

I'll add a warning when the .csv doesn't contain the required column "pattern".

Oh I pretty much just downloaded the cvs file and tried to see if that worked.

Please tell me there is a tutorial...

I think there would be video tutorials in the future, but currently the balloon tooltips are the best instructions.
In your case, just add a column header at the top of the .CSV file, like:
pattern, other_optional_columns, ...
11111, ..., ...
222
333, ...


Update GA snippet

In user testing the snippet is the legacy google analytics, updating to analytics.js syntax. Also add a link to Google analytics doc.

Thanks!


error mmintrin.h included without enabling WMMX/WMMX2 instructions

I am getting this error. How can I resolve this? where would I enable these instructions?
[ 45%] Building CXX object src/CMakeFiles/NonMetricSpaceLib.dir/method/hnsw.cc.o
In file included from /home/pi/dev/nmslib/similarity_search/src/method/hnsw.cc:30:0:
/usr/lib/gcc/arm-linux-gnueabihf/6/include/mmintrin.h:28:2: error: #error mmintrin.h included without enabling WMMX/WMMX2 instructions (e.g. -march=iwmmxt or -march=iwmmxt2)
#error mmintrin.h included without enabling WMMX/WMMX2 instructions (e.g. -march=iwmmxt or -march=iwmmxt2)
^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/6/include/mmintrin.h: In function ‘__m64 _mm_packs_pi16(__m64, __m64)’:
/usr/lib/gcc/arm-linux-gnueabihf/6/include/mmintrin.h:82:68: error: ‘__builtin_arm_wpackhss’ was not declared in this scope
return (__m64) __builtin_arm_wpackhss ((__v4hi)__m1, (__v4hi)__m2);
Here is my host info. I am using arm71/linux
$uname -a
Linux xyz 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

ARM! oh-oh
It's probably not impossible to make it work on ARM, but I don't have a host to test this. In particular, Amazon cloud doesn't have any ARM CPU.

@Botship I think it would work. Thanks!

Thanks, could I reach out to you directly on your @cs.cmu.edu address? Will send email.

Hi @Botship yes, sure.

Sent. Looking forward to your great support on this!

hi, can you please tell me that how you solved this problem. I am facing the same problem in SDK (vivado)

@muffys currently, I cannot support ARMs, sorry. I need to re-write a lot of code to make it possible.

@searchivarius , yesterday I kept on trying and with some internet help I am able to include "mmintrin.h" into my project.
Can you tell me how to include the other libraries like pmmintrin.h, xmmintrin.h, emmintrin.h in SDK. Actually I saw that mmintrin.h library is different in arm environment and in eclipse (C) environment. but with some settings I am able to add that mmintrin.h in the project.
But if I directly take the pmmintrin.h,xmmintrin.h from eclipse (standard C library) and put it in sdk, it throws these errors
error is "cant convert a value of type int to vector type _vector(4)"
What I have done is taken a viterbi decoder code which is working in C (eclipse and linux) and I want to migrate that code to arm environment.

@muffys just to be sure: are you talking about ARM? Here the primary issue is with this thing not working on ARM. If this is Intel, I think this should be fixable. What's your OS/environment?

I am not using any OS. I am using xilinx SoC based FPGA. It has dual core arm processor. In the SDK arm application I am trying to migrate the Eclipse or Linux running code of Viterbi decoder.
In there it uses libraries (names pmmintrin.h,emmintrin.h,xmmintrin.h,mmintrin.h). In this xilinx based arm environment, I found that it has mmintrin.h header file but it throws the error (#error mmintrin.h included without enabling WMMX/WMMX2 instructions (e.g. -march=iwmmxt or -march=iwmmxt2) ).
I got its solution by adding extended command "-march=iwmmxt" in the other flags. So now my project is not throwing any error for mmintrin.h.
Now I have to include the other header files (mentioned above) in the arm project but they are not present in the xilinx arm library (I checked all folders and paths). If I directly take those gcc header files from eclipse project then after including those header files in my project, I get error i( 1) attribute target sse is unknown 2) "cant convert a value of type int to vector type _vector(4)" ) in the header file at multiple places.
Are there any other headers or their alternatives in arm for that functionality.
Or is it like some codes from linux or eclipse environment can't be migrated to arm.
Is there a way around to make this possible.

@muffys it seems like a lot of pain, sorry. Again, I actually did try to compile things on ARM and I think I have to change a lot to make it work, did you have a look at https://github.com/nmslib/hnswlib ? I think it might be easier to compile on ARM, but I am not 100% sure.

@searchivarius thanks a lot. I'll try the link you provided.

@searchivarius I wrote the code for that without the use of those libraries. I was wasting too much time in searching for methods to solve the error to include those libraries in arm.
I still need on help. I am getting this error and didn't found solution yet
undefined reference to posix_memalign in Arm.
This is perfectly working in Eclipse environment and I am not getting any error. But in arm (vivado SDK) I am getting this error "undefined reference to posix_memalign"  .

@muffys I don't think hnswlib uses posix_memalign directly. In any case, posix_memalign  should be available on Linux (and ARM platforms mostly use Linux I believe). Make sure you link against the standard library.

@searchivarius thanks a lot. :-). I am not using Linux on arm thats why things are a bit difficult. But I did the other way round and removed all the posix statements and did using memset. Thanks a lot for all the help. It really helped me and gave directions to me for finding out the solutions. Thanks a lot :-)

I am glad this was helpful, @muffys could tell a bit more about what you removed?

Actually the main problem was, I wrote a C code, implemented in eclipse and in that I used Cygwin compiler. And then I used the same C code in arm and its not working. Actually in arm (xilinx SDK), I am not using any OS (linux etc) so the libraries (pmmintrin.h,emmintrin.h,xmmintrin.h) were not working and I checked the lib, bin and other folders and didn't found those header files. Even I tried finding those header files for arm and still they were not useful (my guess bec they all might need an OS support). So I wrote the whole code again taking integer variables. Then I got the error for "undefined reference to posix_memalign". It seems, POSIX is also not supported in pure C (I tried changing the flags in C for proper linking and inclusion on stdlib.h header). Then instead of using those functions for aligned memory, I used malloc and calloc and wrote the loops in such a way that it won't mis-align while reading those memories.
(PS: sorry for poor explanation, I find it difficult to explain when I get 2-3 technical words in a sentence.)

@muffys POSIX is surely shouldn't be supported in pure C, this makes a lot of sense. Thank you for details!


missing closing quote in class "remaining,  step1-02

small typo, could be confusing to those copy/pasting the instructions from step 4 of the exercise.

Thanks for noticing that! I've included a fix along with some other changes I'm making.


Submit Transaction: scroll to result after submit

Scroll to result after submit
Fix re-render XDR JSON when buttons are clicked

lab-submit-response-scroll.webm

Preview is available here:http://laboratory-pr1048.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr1048.previews.kube001.services.stellar-ops.com/


Provide an easy way to get the request host name.

To get the host name in :authority or Host header, a user has to do one of the following:

Strip the port number from req.authority()
ctx.routingContext().hostname()

Perhaps we could provide a simpler way to get the request host name, e.g.

req.authority(boolean withPort) or
req.authorityWithoutPort()

Alternatively, because we have the host name already in RoutingContext, it may be just better adding a shortcut method to RequestContext. (or we could do both)

@Tobias- said:

Although getting the whole uri could be nice. Then it's easy to get the hostname, path, schema, port or authority. Not sure it's worth implementing though

@Tobias- said:

I don't agree tbh. Getting hostname is an edge case

Maybe.. Guava's HostAndPort does the job nicely. https://guava.dev/releases/24.0-jre/api/docs/com/google/common/net/HostAndPort.html


Metronic datatables buttons

Hi ! Im using metronic templates everything is ok, but when the view is rendering it doesn't recognize the reload and reset buttons, how can i put them?

The problem was solved, but i have a question how can i change the class of the server button ? like print or reload

Just publish the asset and modify dataTables.buttons.server-side.js accordingly.

@josedejesusjaime if you have time can u try u implement as picture.

I'm trying to modify dataTables.buttons.server-side.js.

Closing old questions. Please open a new one if still having issues. Thanks!


Problem with Gifski

Bare Gifski works fine. Any idea why this happens?
v2.11 with all default settings
Gifski v0.7.0
Win7 x64

Sorry, it works with Gifski v0.6 but not v0.6.2 or v0.7.
The next release of ScreenToGif should take care of this bug.

Hi, thanks for the great program. Just wanted to let you know that the link for Gifski in Options->Extras downloads gifski.exe, and not gifski.dll.
Regards,
Winter

If the download button isn't working for you, here's the link to download Gifksi:
http://screentogif.com/downloads/Gifski.zip

Sigh, It was working when I was implementing the integration, but it's not working now. I'll have to fix this during this week.

@NickeManarin
can I ask you, where do you get the Gifski DLL ? There is no DLLs on the official gif.ski website

@user3323 I downloaded the source and compiled it into a dll.

@NickeManarin Maybe a more descriptive error message for people who mistakenly use the exe? I had one left over from a previous version that was auto-detected, and it only came up as Error in the encoding output.

Windows 10 says that this DLL is not supposed to be run on Windows. How to fix this error?
gifski.dll is not blocked and placed in C:/gifski.

Here I could't download the gifski dll inside the program, and I downloaded it manually using the link you provided below, and error when exporting to GIF, with the latest version:
at ScreenToGif.Windows.Other.Encoder.d__24.MoveNext()
Result:
2


optimize process gas

There is no need to obtain gas-related information from the store every time

So the idea here is to only get the Global once instead of letting the metering middleware get it multiple times? How much improvement can this create?


ECO-238: Update registration step and padding for mobile/desktop

Ref: https://linear.app/coinbase/issue/ECO-238/mobile-pills-registration-page

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


POC: demo one device controlling another

[x] #54

[x] Sensor_SHT85 measuring humidity and temp

[x] Two devices - one with relay, other with sensor

[ ] #97

[x] control_xxx to watch humidity exceed certain level and send a message

[x] #43
[x] configuration of control to subscribe to humidity (from same device)
[x] configuration of that control to send message to a certain other device   B/relay

[x] Advertisement that specifies a value wants to know a digital topic to connect to

[x] Slider control for humidity level
[ ] https://github.com/mitra42/frugal-iot-client/issues/5

[x] HTML control to select a topic to configure from digital outputs

[x] Test that it all works together.

[ ] Future

[ ] #96
[ ] #43 - completion: genericize control_demo_mqtt to have controllable input / output / setpoint and as template/class

Closed - basic version works - all others have own Issues


How often built-in logging obtain the log

How often built-in logging obtain the log?
Is log will be obtained by per x minute base?

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

ID: 13672b67-22ea-3dda-8b6b-3332c24e6030
Version Independent ID: fdc60aeb-9971-1d9f-a6ba-b3ad818cf0d5
Content: Monitor Azure Functions
Content Source: articles/azure-functions/functions-monitoring.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@KeiroKamioka0000 The built-in logging stuff in the document is stale. You can track the referenced (https://github.com/MicrosoftDocs/azure-docs/issues/19517) post for the details.
The logs will be generated during the function execution. All the invocation logs will be sent to the Application insights.

@KeiroKamioka0000 Checking in to see if the above post helped answering your question.

Thanks! Sorry for delayed notification!


pdf.js worst case: openclassrooms pdfs

Download a pdf file from this website:
http://fr.openclassrooms.com/
Pdf.js performs poorly. horrible performance!! My native pdf reader shows them without problems
Edit:
I retried again with the latest dev version. Performance is better but it is still SLOW. when i scroll, Firefox freezes completely.
My OS: Fedora 20
Firefox Ver: 27.0.1
Hardware: Memory: 3.7 GiB, Processor: Intel® Core™ i3 CPU M 370 @ 2.40GHz × 4, OS type: 64-bit, Graphics: Intel® Ironlake Mobile)
JavaScript console warning: Just few l10n warnings "[l10n] #document_properties_producer missing for [chrome://global/locale/intl.properties]"
I had the same problem with older versions of firefox and in an other linux (Mint 13)
Here is a PDF file i downloaded from that site.
The table of content (pages 2, 3) is shown line by line in pdf.js whereas the whole page is rendered instantly in Evince (My native pdf reader). At first, scrolling is unresponsive, then firefox freezes until i switch to an other tab.

This has most likely been fixed by #6590, causing much less DOM elements to be created, hence I'm closing this issue as resolved.


noob errors

Hi,
I am a noob to the android development. From my side, its really hard learn how to create a project of the image cropping with an out clear guide of implementation. Can anyone take the responsibility to create a quick video of Android studio implementation?
You are the guy like me in a learning stage, you started learning a programming language by your self with out ordinary style of teaching don't know why we should use a particular command, coming messy errors to figure out takes lots of time.  Please help Me and starters like we.

Android tutorials, stack overflow..


Small tweaks on Grid and LocalMap

Delete reference to map_size in localmap.tscn
instantiate class pathfinder directly with the class_name instead that preload gd file

Thanks!


bug(node): range end index 409300136 out of range for slice of length 624

LanceDB version
0.8.0 @lancedb/lancedb
What happened?
thread 'tokio-runtime-worker' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-0.15.0/src/dataset.rs:355:43:
range end index 409300136 out of range for slice of length 501
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

range end index 409300136 out of range for slice of length 565

thread 'tokio-runtime-worker' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-0.15.0/src/dataset.rs:355:43:
range end index 409300136 out of range for slice of length 624
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: Panic in async function
 code: "GenericFailure"

thread 'tokio-runtime-worker' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-0.15.0/src/dataset.rs:355:43:
range end index 409300136 out of range for slice of length 624
error: Panic in async function
 code: "GenericFailure"

Are there known steps to reproduce?
https://github.com/memfreeme/vector-test/
Here are the simplest steps to reproduce.
https://github.com/memfreeme/vector-test/tree/main/broken-data  Is the data directory corrupted

Hi @ahaapple what operation gave you that failure? I have downloaded that table and I am both able to scan it and make a vector query successfully. Could you share the line that caused you to get the error message?

bun test test/index-jsonl.test.ts

insert or compaction.
These lines of code:
export async function ingest_jsonl(url: string, userId: string) {
  const data = await readFromJsonlFile(url);
  const table = await append(userId, data);
  if (Math.random() < 1 / 10) {
    await table.optimize({ cleanupOlderThan: new Date() });
    console.log(`${userId} table optimized`);
  } else {
    console.log(`${userId} table not optimized this time`);
  }
}

Yes, the strange thing is that the query does not fail. But in my test today, this error was reported dozens of times, and it did not report an error when testing based on local files, but it did report this error when testing based on S3.

Hi @ahaapple.
We think the error message you are seeing looks like a bug you would hit if you originally created the table with LanceDB 0.5.2, and then wrote to the same with a newer version. There was a bug in LanceDB 0.5.2 that would write tables that could not be read by later versions.
This is because of a combination of two things:

A bug was introduced in 0.5.2 in #1352 that made the experimental new file format the default
In version 0.6.0 there was a breaking change in the experimental format, which made V2 files from earlier versions unreadable (upstream PR: https://github.com/lancedb/lance/pull/2426)

Could you double check the versions of LanceDB you were reading and writing these table with? If this aligns with the story I've outlined above, the solution is likely we need to migrate all your tables forward.

I think the version should be 0.8.0,  After I upgraded to version 0.8.0, I have been using version 0.8.0.
1 On the day of the failure, all my tables were rebuilt using the 0.8.0 version of the SDK
export async function reCreateEmptyTable(tableName: string) {
const db = await getConnection();
return await db.createEmptyTable(tableName, schema, { mode: "overwrite" });
}

When I reproduced the issue for you, I also only used version 0.8.0.


Change in error messages #269

Changed the references in error messages from raise a jira to raise a Github issue.

Thanks for asking. I have figured out the issue and submitted a new PR.


Append to an existing file, or create a new one

Hi,
I am trying to export my data to xlsx sheet. Also, if some data already exists in the sheet, I should be able to append it to the same sheet.
Any leads on how to append?
Thanks

Hi @gracehopper17 ,
Were you able to find any solution ?
I can think of a possible workaround here. We may read the sheet if it is present, then append new data to its contents and then write back the contents to the sheet.
Not sure if above will work, but in my case the sheet size may be large sometimes. So above operation would be heavy and might hamper the performance as well. If there is any in built way, it would be great.
Thanks

Exporting arrays of data is supported through aoa_to_sheet and json_to_sheet.  Appending data to existing worksheets is supported with sheet_add_aoa and sheet_add_json

@SheetJSDev is the append method memory friendly? As in, it won't open up the whole file into memory to append one line?

I'm curious about this too @Noitidart, did you ever learn if it is memory friendly?

I'm curious about this too @Noitidart, did you ever learn if it is memory friendly?


Support ios safari

Looks ios 12 safari already supported getUserMedia

Don't reformat the file its really hard to tell what you actually changed.   Just submit a PR with the bare minimum changes to the code.

@melloware updated

Thanks!  Released v1.0.26 with this change.


Help with license

Hello team,
I was wondering if it is possible to clarify your license in npm (https://www.npmjs.com/package/map-fns). I realized that your package is under MIT license on GitHub, but it lacks license on npm page.
Thank you very much for reviewing this issue.

Hey, thanks for reaching out!
The license is not being included in the npm bundle because of an oversight in the build:copy-files script in package.json, which failed to copy LICENSE.
I've amended that in #33, but it seems that the release CI run failed (see run). Might be an expired CI token or outdated dependencies (I don't have time to analyze now).
I'll take a look at fixing the release this weekend, I have some free time then.

Sorry for the wait! The npm page now correctly shows this package as MIT licensed (and the LICENSE file is included in the package contents)


nav2 problem GetRouterOutlet

issue
I copied the Nav2 example but I'm having this error with a duplicate bottom nav bar I don't know why.
EXCEPTION CAUGHT BY WIDGETS LIBRARY
The following assertion was thrown building GetRouterOutlet(dependencies: [_RouterScope], state:
_RouterOutletState<GetDelegate, RouteDecoder>#1d033):
Assertion failed:
file:///home/medtito/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/framework.dart:4812:12
../…/widgets/framework.dart:4812
child == _child
is not true
The relevant error-causing widget was:
GetRouterOutlet
Another exception was thrown: Duplicate GlobalKey detected in widget tree.

My code

code client root
ClientHomePage & SearchPage are just a container

i got same issue
the sample is ok
but it's wrong in my project.


Proposal for a new API.

The current API for embedding SWF is not easy to use. Some parameters are optional, others are not. Without a good IDE it's difficult to keep track how many null arguments must be passed before one reaches the position in the argument list for parameters.
Thus I'm proposing to implement a new API for SWF embedding by utilizing the builder pattern to describe optional arguments and kicking off the actual embedding.
Old:
embedSWF('myContent', document.getElementById("my-target-element"),
         '480px', '320px', '9.0.0', null, null, {AllowNetworking: 'none'});

New:
swfobject.embed('myContent.swf', "480px", "320px", '9.0.0')
         .parameters({AllowNetworking: 'none'})
         .into(document.getElementById("my-target-element"));

Maybe the necessary arguments can also passed through the builder pattern but I guess it would be to noisy to specify height and width this way.
What do you think?

+1 I like this idea.

Swfobject development is mostly dead these days. It's unlikely that you'll see a new realese unless there's some major change in the way swf files are embedded or we see some renewed use of the flash file format.
Flash is dead. If you really want to spend the time updating the swfobject api I suggest you fork the project and go for it, but personally I'd recommend you spend your time on something more worthwhile :)

There are still some Use Cases left for flash. There is also an active community around it. I don't like it either but I accept it. And within this community they still create new Flash Animations which are pretty nice.
Only because Silicon Valley wants Flash dead doesn't mean it is actually dead. Mozilla works on a Flash Runtime Environment in Javascript called Shumway. This will extend the lifetime of Flash and brings it to different platforms. Shumway mimics the API defined in this library. My long(er) term plan was to simplify the API here and then walk over to them and propose the same API again.

Your proposal is sound, but the swfobject team has pretty much moved on. We have no plans to update swfobject at this time.
As an aside, my personal preference would be to use a configuration object:
Old:
swfobject.embed('myContent', document.getElementById("my-target-element"),
        '480px', '320px', '9.0.0', null, null, {AllowNetworking: 'none'});

Your proposal:
swfobject.embed('myContent.swf', "480px", "320px", '9.0.0')
    .parameters({AllowNetworking: 'none'})
    .into(document.getElementById("my-target-element"));

My preference:
swfobject.embed("myContent.swf", {
    width: "480px",
    height: "320px",
    requires: "9.0.0",
    params: { AllowNetworking: "none" },
    flashvars: { foo: "bar" }
}).into(document.getElementById("my-target-element"));

It may be more verbose, but it follows the convention of using an object for passing optional arguments.


Fix clipdel escaped only first '#'

Clipdel only escapes the first '#'. Repro steps:

copy and run clipdel '#foo#', you get:
sed: -e expression #1, char 9: comments don't accept any addresses

This PR fix this by using bash expansion subtlety, from bash reference:

${parameter/pattern/string}
... If pattern begins with ‘/’, all matches of pattern are replaced with string...

Well, that's a fuckup. Thanks!


[Jest Dom Mocks] FileReader

In online-store-web we need to use FileReader for processing image uploads.
Upon trying to test, we found that we could not properly mock FileReader within a test.
To unblock ourselves, we did the following:
interface WindowWithFileReader extends Window {
  FileReader: any;
}

interface MockFileReader {
  result: string;
  onerror(): void;
  onload(): void;
  readAsDataURL(): void;
}

class MockFileReader {
  onerror() {}
  onload() {}
  readAsDataURL() {
    this.result = 'result';
    this.onload();
  }
}

describe('<LegacyImageSetting />', () => {
  const originalFileReader = FileReader;

  beforeEach(() => {
    (window as WindowWithFileReader).FileReader = MockFileReader;
    timer.mock();
  });

  afterEach(() => {
    (window as WindowWithFileReader).FileReader = originalFileReader;
    timer.restore();
  });
});

This may not be the best solution, but it does unblock us.
What we probably need is something more like the Storage mock.
Questions to answer

[ ] Is there value here for other codebases (not just online-store-web)?
[ ] Does this belong in quilt?
[ ] Who should own this?

cc/ @utkarshsaxena93

Closing due to inactivity, if folks still want this feel free to reopen or make a PR :)


Not converting temp files after successful download

There are two situations when this is happening:

I get an error saying "Cannot copy from temporary path to actual path"
No errors at all are shown. However, the file shows 0 MB. When checked in the filemanager, we see that there are two files, eg, abc.mp3 and abc.mp3.temp. The abc.mp3 file has 0 MB, while the actual download has happened to the temp file. For some reason, we feel the function copyTempFileToActualFile is not called. Wanted to know what scenarios can this happen.

We need to handle both these scenarios as our mobile app on android is not able to play the music file that it downloaded. This issue is not consistently happening. We feel there is a possibility of network speed or something causing it to happen sometimes. Please advise on help to handle these issues.
Thanks & Regards,
Naresh.

Going to review pending PRs and issues today, do you have code snippet I can use to repro this issue? Also, what Android version do you use?

Hi @NareshKumarSuruvu, we've made a number of improvements recently. Please try to update plugin and check if the issue gone.
I'll close it for now but please feel free to reopen it if the issue is still actual for you.


alumni tracking system

Description 📜
a system that brings college graduate together and connected
dynamic with various features
this template was originally created for mits gwallior hackathon
now i would like to contribute it to open source
implies backend + user friendly UI and dashboard
Fixes #989

Type of change 📝
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[x] Add a new project
[] Modified or enhanced the existing projects
[] Improve the readme of any project

Domain of Contribution 📊
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[] Project using only HTML & CSS
[] Project using HTML, CSS & JS
[] Project using ReactJs

Checklist ✅
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[] I have performed a self-review of my own code or work.
[] I have commented on my code, particularly in hard-to-understand areas.
[] My changes generates no new warnings.
[] I'm GSSoC'22 contributor

Screenshots / Gif (Recommended) 📸
https://mitss.vercel.app/
backend haven't be hosted along with dashboard yet

@gurjeetsinghvirdee bhai backend project tha

still level 2

waise abhi soye nhi lol

waise abhi soye nhi lol

Sona ye ky hota h


inconsistent  command emphasizing

[Enter feedback here]
Open the IntelliCode page by choosing View > Other Windows > IntelliCode Model Management.
Team completions is a preview feature for C# and is disabled by default. It can be enabled through Tools > Options > IntelliCode > C# team models for completions.
command chains should be bold as remaining article are

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

ID: c2089e9f-f405-f6a4-2bf2-9da8acfe2885
Version Independent ID: 56ce5868-6ade-0d11-0038-068ffbcd6841
Content: IntelliSense based on your code - Visual Studio IntelliCode
Content Source: docs/custom-models.md
Product: visual-studio-family
Technology: intellicode
GitHub Login: @markw-t
Microsoft Alias: mwthomas

Tagging @catycaldwell who now owns IntelliCode completions (inc model management)


Added a notebook for testing the accuracy of get_panel().

This notebook is used to show the efficacy of finding panel members in case documents. It compares different lists of judges, as search patterns for panel members, using the code that is currently implemented. It then uses a hard-coded list of judges, alongside SpaCy's Pattern Matcher, to achieve results that correctly identify panel members approximately 97% of the time. This shows that the Phrase Matcher should be used instead of the current method.

I think the best way to view the actual notebook is to click on Files changed, find the ..., click it to bring up a submenu, and click View File.

Closing to correct.


documentation or setup not working for angular spa vs .net core api

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I followed tutorial at https://github.com/azure-samples/ms-identity-ciam-javascript-tutorial/tree/main/2-Authorization/2-call-api-angular, I am able to run the solution and launch the angular, when I click login I am forwarded to microsoft login prompt.
This is the url at this time which shows a correct redirect uri (in my opinion localhost/auth)
https://dhoogherealestateoutlook.ciamlogin.com/9c26678d-90ad-4288-b428-1b838fdd09c7/oauth2/v2.0/authorize?client_id=811f36ab-9115-48cb-99f9-0dc026a93db3&scope=openid profile offline_access&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fauth&client-request-id=d3144278-4915-4ead-829a-8f6d7c7d4414&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.38.3&client_info=1&code_challenge=qpRh8jfQaSM9gKFbxZj2NXxWVS9ftTXmdclQsok26_o&code_challenge_method=S256&nonce=6c254ce5-c461-48d2-8ee1-b8dad275d5fd&state=eyJpZCI6ImUxNjZkNDExLTBkODItNDEwYi1hMjYyLWRjZGNhNjViZTgxZSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D
But after logging in I get a screen saying
We're unable to complete your request
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

In the configuration of the spa we can see the redirect urls configured correctly :

Any log messages given by the failure

invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.
Expected/desired behavior

redirect to spa /auth path.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 11

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Well, I got it working by using a different authority url.
https://login.microsoftonline.com//
This was not clear to me at all by the docs, I am unsure if the ciamlogin should work or not.
Do you have any idea what I did wrong?

I think I have a similar issue in react example that I've described here where the mentioned above solution with changing authority doesn't work. Does any one have any advises?


added functionality for prerelease packages

I want an easy way to trigger prereleases, so I can test raw ingest from a nuget package

If approved, please merge to master so I can create a prerelease package on nuget asap :)


Set Up and Generate a New SAP Fiori App Project

Tutorial URL: https://developers.sap.com/tutorials/fiori-tools-generate-project.html
Please specify the step you are referring to
npm start
Behind the proxy the setup does not work. We faced the same during the beta testig. You should publish what all needs to be done behind proxy specifically

Presently I am getting below log from npm start
npm start

<EMAIL_ADDRESS>start C:\BrahamLEarn\project1
ui5 serve --open test/flpSandbox.html#masterDetail-display --

info server:ux-proxy Proxy started for http://services.odata.org
info server:ux-proxy Proxy started for https://ui5.sap.com
info server:liveload Livereload middleware started for port 35729 and path webapp
Server started
URL: http://localhost:8080
info server:ux-proxy /test-resources/sap/ushell/bootstrap/sandbox.js
info server:ux-proxy /resources/sap-ui-core.js
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._finishInit (_tls_wrap.js:916:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12)
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._finishInit (_tls_wrap.js:916:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12)
info server:ux-proxy /resources/sap-ui-core.js
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._finishInit (_tls_wrap.js:916:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12)

Hi @brahammittal,
Could you please try setting ignoreCertError: true in your configuration like in the snippet below and check again? This is not a good practice but I would like to narrow down the issue you are seeing.
customMiddleware:
    - name: fiori-tools-proxy
      afterMiddleware: compression
      configuration:
        ignoreCertError: true
        backend:
          - path: /sap
            url: http://services.odata.org
            scp: true
        ui5:
          path:
            - /resources
            - /test-resources
          url: https://ui5.sap.com

Looping official id
On Thu, Jul 30, 2020, 12:16 AM Tobias Queck<EMAIL_ADDRESS>wrote:

Hi @brahammittal https://github.com/brahammittal,
Could you please try setting ignoreCertError: true in your configuration
like in the snippet below and check again? This is not a good practice but
I would like to narrow down the issue you are seeing.
customMiddleware:
- name: fiori-tools-proxy
afterMiddleware: compression
configuration:
ignoreCertError: true
backend:
- path: /sap
url: http://services.odata.org
scp: true
ui5:
path:
- /resources
- /test-resources
url: https://ui5.sap.com
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAPDocuments/Tutorials/issues/5572#issuecomment-665837311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4VHKFVKT4HXAAV57FYDM3R6BVA5ANCNFSM4PHNJHCQ
.

Hi Team,
After this setting change, its moving ahead, but there seems to be some setting in our network which gives below error
Access to XMLHttpRequest at 'https://services.odata.org/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN' (redirected from 'http://localhost:8080/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN') from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I am checking with network team to see what is the issue and what can be expected.
Kind Regards,
Braham Mittal
Senior Solution Analyst – Software Development, SAP Applications
Global IT ,Cargill
Mobile: +91<PHONE_NUMBER>
From: Braham Mittal<EMAIL_ADDRESS>Sent: Thursday, July 30, 2020 5:01 PM
To: SAPDocuments/Tutorials<EMAIL_ADDRESS>Braham Mittal<EMAIL_ADDRESS>Cc: SAPDocuments/Tutorials<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [SAPDocuments/Tutorials] Set Up and Generate a New SAP Fiori App Project (#5572)
[EXTERNAL] This email came from outside of Cargill. Do not click links or open attachments unless you recognize the sender. If you suspect this is spam, send this email as an attachment to spam<EMAIL_ADDRESS>Looping official id
On Thu, Jul 30, 2020, 12:16 AM Tobias Queck <notifications<EMAIL_ADDRESS>wrote:
Hi @brahammittalhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_brahammittal&d=DwMFaQ&c=h2Fu29X6B8vuaRkwP4jdQg&r=2dl6P1eaALpI4aM-oQzmywh_2Q_0k6-IJ4h464LeUq8&m=yFfE5uzXESU8aB-fxATrh2XnqXPP_XzIDM4wS9u8yNw&s=b5cjKkBSFHA0GPymT0yTi63J48ZRnBx-IyvBz4s4Q2k&e=,
Could you please try setting ignoreCertError: true in your configuration like in the snippet below and check again? This is not a good practice but I would like to narrow down the issue you are seeing.
customMiddleware:
- name: fiori-tools-proxy

  afterMiddleware: compression

  configuration:

    ignoreCertError: true

    backend:

      - path: /sap

        url: http://services.odata.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__services.odata.org&d=DwMFaQ&c=h2Fu29X6B8vuaRkwP4jdQg&r=2dl6P1eaALpI4aM-oQzmywh_2Q_0k6-IJ4h464LeUq8&m=yFfE5uzXESU8aB-fxATrh2XnqXPP_XzIDM4wS9u8yNw&s=f3-LXMO_Cs20Q3y1-x86y7Nc2-B-n61a5gtQaM2eZHc&e=>

        scp: true

    ui5:

      path:

        - /resources

        - /test-resources

      url: https://ui5.sap.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__ui5.sap.com&d=DwMFaQ&c=h2Fu29X6B8vuaRkwP4jdQg&r=2dl6P1eaALpI4aM-oQzmywh_2Q_0k6-IJ4h464LeUq8&m=yFfE5uzXESU8aB-fxATrh2XnqXPP_XzIDM4wS9u8yNw&s=WdrumYMQnvM0xEgOcs4vB1QJpHypdKnPj6BsfJh6xYU&e=>

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_SAPDocuments_Tutorials_issues_5572-23issuecomment-2D665837311&d=DwMFaQ&c=h2Fu29X6B8vuaRkwP4jdQg&r=2dl6P1eaALpI4aM-oQzmywh_2Q_0k6-IJ4h464LeUq8&m=yFfE5uzXESU8aB-fxATrh2XnqXPP_XzIDM4wS9u8yNw&s=xnmTb5S8bbnAPxrIK33wyx7H3o02KTXvzA6lrMYxkUc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AH4VHKFVKT4HXAAV57FYDM3R6BVA5ANCNFSM4PHNJHCQ&d=DwMFaQ&c=h2Fu29X6B8vuaRkwP4jdQg&r=2dl6P1eaALpI4aM-oQzmywh_2Q_0k6-IJ4h464LeUq8&m=yFfE5uzXESU8aB-fxATrh2XnqXPP_XzIDM4wS9u8yNw&s=fg-UBOm5y_6SaaqBtTUNcVSNFypDl04PNqDnkDFMmVM&e=.

@brahammittal can you try using 'https://services.odata.org in your ui5.yaml instead of the http one? Seems like there is a hiccup with the redirect.

Its http and not https
On Thu, Jul 30, 2020, 11:38 PM Tobias Queck<EMAIL_ADDRESS>wrote:

@brahammittal https://github.com/brahammittal can you try using
https://services.odata.org in your ui5.yaml instead of the http one?
Seems like there is a hiccup with the redirect.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAPDocuments/Tutorials/issues/5572#issuecomment-666571981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4VHKDQ6AK7LKWBPCCSXGTR6GZI3ANCNFSM4PHNJHCQ
.

What I tried to say is that you should not use the http url but you should use the https url to get rid of the redirecting issue indicated in your log
Access to XMLHttpRequest at 'https://services.odata.org/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN' (redirected from 'http://localhost:8080/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN') from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hi Team,
Sorry for misunderstanding. Changing to https it worked.
Now can you please help us with the ssl issue as well as you said the
initial setting is not recommended.
On Fri, Jul 31, 2020, 11:32 PM Tobias Queck<EMAIL_ADDRESS>wrote:

What I tried to say is that you should not use the http url but you
should use the https url to get rid of the redirecting issue indicated in
your log
Access to XMLHttpRequest at 'https://services.odata.org/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN' (redirected from 'http://localhost:8080/V2/Northwind/Northwind.svc/$metadata?sap-value-list=none&sap-language=EN') from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAPDocuments/Tutorials/issues/5572#issuecomment-667258136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4VHKBSHKSVWKCH7JZJZEDR6MBMLANCNFSM4PHNJHCQ
.

@brahammittal those certificate errors can be fixed by adding the server certificate or its CA to the list of trusted certificates for npm. I have checked the cert used for https://services.odata.org and its CA is trusted by npm, therefore, something else seems to 'hijack' your connection. As you mentioned in the very beginning of this conversation, your corporate proxy seems to be the culprit here. To fix that issue we need to make npm trust your proxy.
You need the CA used for signing your proxy server's certificate (if self-signed you need the certificate itself). The certificate needs to be exported and then added to the list of trusted certificate for npm. How to do it is explained at https://help.sap.com/viewer/a9f57505bbb34a6da3c5ba3a49d409d8/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html.
Please give it a shot and let us know whether it solved your issue or not.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.

Hi Team,
Sorry for a very late reply, I followed the steps but still I am not able to get past this issue.


Real-ESRGAN V<IP_ADDRESS>, how to update it?

There is a new version of models: https://github.com/xinntao/Real-ESRGAN/releases
I tried replacing them but i get errors:

Mine is working by replacing these 3 files:
realesrgan-ncnn-vulkan.exe
vcomp140.dll
vcomp140d.dll

You can turn on debugging mode / show cmd window, for knowing what gives you those errors.


Release with #161

A release containing #161 would be very much appreciated, because the current snow 0.9.2 on crates.io depends on curve25519-dalek =4.0.0-rc.1 which prevents me from using this crate with other crates also needing curve25519-dalek on major version 4.

friendly ping @mcginty.
The RUSTSEC-2022-0093 released yesterday is blocking some CI's like the libp2p one.
Thanks for all the work on snow.

v0.9.3 is released, sorry for the wait!


AdjustWindowExForDpi expects WINDOW_STYLE and WINDOW_EX_STYLE, but CREATESTRUCTW only provides i32 and u32 respectively

Summary
I am uncertain if this is a bug per-se since the Windows documentation for AdjustWindowRectExForDpi and CREATESTRUCTW differ.
However, I found it confusing that they do not share the same types WINDOW_STYLE and WINDOW_EX_STYLE. That is to say, when handling WM_CREATE and attempting to use AdjustWindowRectExForDpi, the types of style and dwExStyle disagree with the function's parameters.
It's easy enough to cast-and-wrap, but preserving type safety would be nice here.
Crate manifest
windows = "0.53"
Crate code
fn adjust_size(hwnd: HWND, csw: &CREATESTRUCTW, size: (i32, i32)) -> RECT {
    let dpi = unsafe { GetDpiForWindow(hwnd) };

    let mut rect = RECT::Default();
    unsafe { GetClientRect(hwnd, &mut rect) }.unwrap();

    rect.right = rect.left + size.0;
    rect.bottom = rect.top + size.1;

    unsafe {
        AdjustWindowRectExForDpi(
            &mut rect,
            csw.style, // this fails to typecheck
            None,
            csw.dwExStyle, // this also fails to typecheck
            dpi
        )
    }
    .unwrap();

    rect
}

I'll transfer to the Win32 metadata repo for resolution.


Refactoring the core security code.

As opposed to a flat directory, we now have the following structure:

security

context
credentials

composite
fake
google_default
iam
jwt
oauth2
plugin
ssl

transport
util

We have not refactored the test code yet but this PR is already large
enough...

Structure looks good.
Looks like it needs:
tools/distrib/check_include_guards.py --fix && tools/distrib/clang_format_code.sh

Looks like jenkins is green enough except maybe for this issue:
https://github.com/grpc/grpc/issues/6523

Looks greenish again. PTAL.

LGTM. Flakes look unrelated.


add +popupwin feature and rename FEAT_TEXT_PROP to FEAT_PROP_POPUP.

Codecov Report

Merging #5291 into master will decrease coverage by 0.16%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5291      +/-   ##
==========================================
- Coverage   82.21%   82.04%   -0.17%
==========================================
  Files         134      134
  Lines      147604   144924    -2680
==========================================
- Hits       121347   118898    -2449
+ Misses      26257    26026     -231

Impacted Files
Coverage Δ

src/window.c
88.18% <ø> (-0.16%)
:arrow_down:

src/change.c
81.95% <ø> (-0.24%)
:arrow_down:

src/indent.c
78.4% <ø> (-0.28%)
:arrow_down:

src/beval.c
83.59% <ø> (-0.38%)
:arrow_down:

src/fileio.c
81.6% <ø> (-0.13%)
:arrow_down:

src/textprop.c
88.29% <ø> (-0.05%)
:arrow_down:

src/mouse.c
75.95% <ø> (-0.64%)
:arrow_down:

src/evalfunc.c
90.87% <ø> (-0.17%)
:arrow_down:

src/version.c
92.41% <ø> (+0.3%)
:arrow_up:

src/main.c
73.41% <ø> (+0.24%)
:arrow_up:

... and 141 more

Continue to review full report at Codecov.

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