Not sure if it's a bug, but I can't find a way to set the value of targetSOC_pct.  Setting the value in vehicle.domains["charging"]["chargingSettings"].targetSOC_pct does not seem to have any effect, and I can't find anything in vehicle.controls.  Is there any way to set it?  Otherwise, a great library which has been extremely useful - thank you!

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
IF applicable logs that show the problem. Please take care to remove any confidential data from the logs (e.g. your vehicles VIN number, usernames or passwords)

OS: [e.g. Windows, Linux, MacOS, ...]
Version used [e.g. 0.6.2]

Additional context
Add any other context about the problem here.

hmmm, this should work. What type of car is it?

It’s a VW ID.3 2021 model.
On further investigation, if I immediately read back the value of vehicle.domains["charging"]["chargingSettings"].targetSOC_pct after the update, the change is reflected in the data.  However, it isn’t reflected in the vehicle itself and when I do a subsequent call to weConnect.update() it has reverted to the original value. Am I missing a step to commit the change to the vehicle?
From: Till Steinbach @.***
Sent: 03 September 2023 12:51
To: tillsteinbach/WeConnect-python
Cc: Brian Rayner; Author
Subject: Re: [tillsteinbach/WeConnect-python] Not sure if it's a bug, but I can't find a way to set the value of targetSOC_pct. Setting the value in vehicle.domains["charging"]["chargingSettings"].targetSOC_pct does not seem to have any effect, and I can't find a
hmmm, this should work. What type of car is it?
—
Reply to this email directly, view it on GitHub https://github.com/tillsteinbach/WeConnect-python/issues/146#issuecomment-1704265560 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQVS3BLHDH4IDG6OQRGSYTXYRVL7ANCNFSM6AAAAAA4JF6UAM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ALQVS3AP6H6LBCM5HYYKBUTXYRVL7A5CNFSM6AAAAAA4JF6UAOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFSUDVQ.gif Message ID: @.***>

OK, it's working now.  It appears that the car will only accept increments of 10%, so was not allowing me to set it to 85%.  When I set it to 90% all was well!


add ospdo test_minimal

Adds a ospdo env on the controller nodes to be the source of adoption.
Runs tests agains it

continued here : https://github.com/openstack-k8s-operators/data-plane-adoption/pull/292


add a people page

each person could add links to their portfolios
https://www.qwiklabs.com/public_profiles/41d9c402-f15b-4d9e-b69b-5b58aaa2b531
https://profile.edx.org/u/netskink
https://www.coursera.org/user/45e0a4102512b8ed2ec8255efb605a9c
https://stackoverflow.com/users/1008596/netskink
https://www.datacamp.com/profile/netskink
https://github.com/gdg-cloud-rtp-devpost-tf-2019/tf-hackathon

https://www.youtube.com/watch?v=kcd-NuqMOZ0

https://github.com/GoogleCloudPlatform/training-data-analyst/graphs/contributors


Using codyframe with React

Hey Guys,
I'm trying to use codyframe with React. I'm trying to follow all the steps given, but i don't really understand how to get it working the steps are not very clear. If anyone has managed to get it working could you please send me a guide or give me a helping hand. Thank you very much.

Hi Oliver, could you provide more info on the issues you are experiencing and the steps that are not clear? For example, did you try importing the css files of the framework or the scss? Thanks.

Hi Claudia, I tried import the CSS files and. when I tired using the ReadMore component in the docs and importing the JS inside the component it was not importing into the DOM and keeps have an unexpected error '<' on line 1. The Docs are not very clear to me. I installed codyframe with NPM and referenced the CSS files in my CSS but it does not work all I see is the HTML instead the CSS and JavaScript.

Hi Oliver, sorry but I'm not sure I got your issue. You were able to successfully import the framework, is that correct?
If you imported the framework, then please try importing the component one step at a time. First the HTML (make sure it is properly rendered), then the CSS and finally the JS.
If you get an error when importing the JS, then you are probably using the wrong url for the component JS (the frontEnd.src value depends on your project so make sure to update it). This should fix your issue.

Hi Claudia, I copied the example on the docs with the ReadMore component. and The css was loading in fine. It's the JS i keep having issues with. I keep getting the same error which is "unexpected error < line 1" I also made sure to change the frontEnd.src to match my URL.

Hi Oliver, can you check and see if the <script> is appended to the HTML and the file is found?
Also, which is the line 1 the error refers to? Thanks.

Hi Claudia,
I can see in the HTML that the file is appended in the script tag. But it does not appear in the sources tab inside chrome inspect. I found out if I change the type to in the script tag to type="babel/JavaScript" the error disappears but still does not work. I've followed your docs to the letter but still keep running into the same issue. Thanks

I'm closing this as no additional details were provided. Feel free to reopen it if you are still experiencing the same issue. Thanks!


Added chrome based edge support. New features at hegerdes/browserhistory

Added chrome based edge support.
I don't think this PL gets accepted because there is no activity at kcp18's profile.
As explained in #14 I will try to maintain it at hegerdes/browserhistory

Solved by #24


feat: allow specifying output_dtypes in tests

Description
Allow specifying output_dtypes in run_test(). For some ops whose output is type float but it should be bool to match with pytorch in test. Thus, we need this arg to specify output type.
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[x] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes
[x] I have added the relevant labels to my PR in so that relevant reviewers are notified

@zewenli98 - should just need a rebase, then is good to go

We don't need to do this any more because it's already been merged in my previous PR #2246


Correct image of employee

Contact me here -
Varun Raj
+919176907953
https://www.linkedin.com/in/varunraj/
<EMAIL_ADDRESS>

Please merge ❤


[R-265] Ragas API and docker image

[ ] make ragas metrics deployable as a server
[ ] make testset generation interactive with an API

making a simple documentation site to showcase how this might work would be a great first step to get feedback.
From SyncLinear.com | R-265

https://github.com/explodinggradients/ragas/issues/1270 also refer

that was an error from the bot 😅


Load available attributes from profile

Hello to everyone,
I noticed that in the Attribute Release Policy section of the services ui, when the user chooses RETURN ALLOWED, no attribute was available for him/her to check, even though attributes were present in discovery endpoint/profile.
After a short examination, I ended up with a small code modification in loadAvailableAttributes method of the FormDataFactory class, for the purpose of loading the attributes from the user profile when it is present.

Thank you very much for the contribution!


support inheritance api models defined by interfaces

For example if I have two interfaces:
@ApiModel(value = "Model A", subTypes = {B.class})
public interface A {
    @ApiModelProperty(value = "A")
    String getA();

    void setA(String a);
}

and
@ApiModel(value = "Model B", parent = A.class)
public interface B extends A {
    @ApiModelProperty(value = "B")
    String getB();

    void setB(String b);
}

In UI for class B I can see just properties (with getters) that are defined directly in interface B:
B {
b (string, optional): B,
}

Implementations for interfaces generated automatically (for client and server side) and we aren't able to define annotations on implementations. This pull request fixes the issue.

This should be submitted against the develop-scale_2.10 branch. Can't promise it'll be merged as we not concentrate on critical issues for the 1.3.X releases and concentrate on adding features to the 1.5.X tree.


I am curious what it does, a working example in the documentation or video might help explain

Not sure what it does?
https://sphinx-notes.github.io/snippet/
btw your content is good if you don't mind I may include some of your pages here:
https://pandemic-overview.readthedocs.io/en/latest/
In particular stuff that works I put in here:
https://pandemic-overview.readthedocs.io/en/latest/myGuides/Advanced-Computer-Setup.html
Feel free to say hi to me
https://pandemic-overview.readthedocs.io/en/latest/Help-about/help.html

Hello, it is a "snippet manager" for sphinx dcoument, it index valuable snippet  and you can access them in a extremly fast speed.
Document is not complete yet, I will complete it before I make a stable release. see #1.

Video in https://silverrainz.me/blog/sphinx-as-note-taking-system-2.html#vim may help you understand, but it is Chinese only :'(

Hello @coding-to-music, I purpose to release 1.0 for this project. And document is available here: https://sphinx-notes.github.io/snippet/ , can you please take a review?


Dataloader failing in GEOmetrics example.

Trying out the GEOmetrics example in ImageRecon.
While running the train.py file getting an error on data loading :
NameError: name 'nvl' is not defined

Did u fix it?


Azure DevOps Build pipeline - error caused by warning messages

I get following error when using Publish-NewApplicationToNavContainer in a build pipeline:
##[error]Where-Object : The property 'Name' cannot be found on this object. Verify that the property exists.
##[error]At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\AppHandling\Clean-BcContainerDatabase.ps1:38

##[error]char:127

##[error]+ ...  DependenciesLast | Where-Object { $_.Name -ne "System Application" }

##[error]+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

##[error]    + CategoryInfo          : NotSpecified: (:) [Where-Object], PropertyNotFoundException

##[error]    + FullyQualifiedErrorId : PropertyNotFoundStrict,Microsoft.PowerShell.Commands.WhereObjectCommand

##[error]

##[error]PowerShell exited with code '1'.

Statement that causes the error:
Publish-NewApplicationToNavContainer -containerName $containerName `
                                 -appDotNetPackagesFolder (Join-Path $baseAppFolder ".netpackages") `
                                 -appFile $app `
                                 -credential $credential `
                                 -useCleanDatabase `
                                 -saveData

I analyzed the error and modified the Cmdlet in order to get the content of following statement:
    #$installedApps = Get-NavContainerAppInfo -containerName $containerName -tenantSpecificProperties -sort DependenciesLast | Where-Object { $_.Name -ne "System Application" }
    $installedApps = Get-NavContainerAppInfo -containerName $containerName -tenantSpecificProperties -sort DependenciesLast
    Write-Host "Installed apps:"
    $installedApps
    $installedApps = $installedApps | Where-Object { $_.Name -ne "System Application" }

Then I get following output in pipeline:
Installed apps:
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 14 days.
WARNING: This license is not compatible with this version of Business Central.

ServerInstance       : MicrosoftDynamicsNavServer$BC
ExtensionDataVersion : 15.0.35178.0
IsInstalled          : True
SyncState            : Synced
NeedsUpgrade         : False
IsPublished          : True
...

Variable $installedApps contains not only the app objects but additionally warning messages that were written to output.
Executing the following statement in a PowerShell window also outputs the warning messages and app objects:
Get-NavContainerAppInfo -containerName $containername -tenantSpecificProperties -sort DependenciesLast | Where-Object { $_.Name -ne "System Application" }

If you are running as administrator, this doesn't happen.
I think the right fix is to replace the last line in Get-NavContainerAppInfo from this:
} -ArgumentList $args, $sort
to this
} -ArgumentList $args, $sort | Where-Object {$_ -isnot [System.String]}
That should get rid of the license warnings.

This fix is shipped in <IP_ADDRESS>


WMS ID - 1681 - Multitenant Lab Changes after OCW Feedback

Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

@srmouli - Could you update the PR with the WMS ID of the workshop?

Updated the WMS ID in the PR name

@rfontcha - Could you confirm if these changes can be approved?

@Anand-GitH
Anand, this change is in line with https://confluence.oraclecorp.com/confluence/display/SYSMGMTPM/OCW22+HOL+improvement+scrum+list


text-align-all: create page or not?

text-align is a shorthand for text-align-all and text-align-last. The latter is supported in FF, the former is not. Should we create a page for this property that is in the spec, but not really used?
https://drafts.csswg.org/css-text-3/#propdef-text-align-all

@chrisdavidmills this doesn't appear to be supported anywhere, and there is a note in the spec that authors should use text-align instead. I think at most we should pop a note on the text-align page.

@chrisdavidmills this doesn't appear to be supported anywhere, and there is a note in the spec that authors should use text-align instead. I think at most we should pop a note on the text-align page.

@rachelandrew let's close this one.

@rachelandrew let's close this one.


Always run unlock script completely even when cancelled or failed

This will avoid leaving the lock in an unexpected state
fixes #6

From the docs

The workflow didn't run, am I configuring the workflow properly? Perhaps it should be pull_request_target instead of pull_request? https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/

Oh I see I don't run the PR on pull requests at all 😆 https://github.com/ben-z/gh-action-mutex/blob/271919c55332938179960557fcf28c8fa78be691/.github/workflows/main.yml#L1

Here you have an example of this failing: https://github.com/fal-ai/fal/runs/6264956528?check_suite_focus=true
Since we had many in the same workflow waiting for the lock, they came to unlock in an unexpected order and some of them just raised "we don't have the lock" errors but then when they did have it, they already had stopped.

I can't seem to find the "we don't have the lock" error. Can you point me to it?

Here you can see the use case in action: 3 waiting jobs are cancelled at the same time and we handle it fine: https://github.com/fal-ai/fal/runs/6601366282?check_suite_focus=true

Oh I see! You are right, the post job assumes that we have the lock. If the post job runs before we even obtain the lock, it's going to fail.
Good changes. I will look again

Changes done @ben-z!

I had to remove the test because I don't see a clear way for them to have a passing status and still test what we want to test: https://github.com/ben-z/gh-action-mutex/commit/54229dd30dfc55e4dbb705e0c7dfd27e511fc6e6

Understood, @ben-z. Thanks for merging. Will you do an alpha release with this?

True, good idea! https://github.com/ben-z/gh-action-mutex/releases/tag/v1.0-alpha-5


Deprecation warning fix

Fixed case where returning strict subclasses of complex in complex doesn't give a deprecation warning.

I ran the cargo fmt --all comand and made another comit. I hope that fixes the issue

If you are interested in making commits cleaner, git rebase is a good friend for open source contributors.
I am ok with it because I can squash it, but you may want to try for a practice.


Added a fallback size to the lightmap baker in case mesh lightmap hint sizes are 0,0

The problem this PR solves is that currently even though a MeshInstance is marked as having "In Baked Light" it still won't bake because the default lightmap hint size is 0,0 and thus the lightmap won't bake since there's no fallback/default size.
This allows the user to define a fallback/default size for lightmaps on the BakedLightmap node.
I set the default value to 256x256
This will also allow the user to quickly prototype what their bake will look like since they can just change the fallback size to something small, then change it to something large once they're happy with that.
Resolves #29839.
If/when this PR is acceptable I can add docs as part of the merge.
Thanks!

Another thing I forgot to mention is that this also solves another problem with lightmap hint sizes. If the mesh resources are built into the imported scene (which is the default option) it seems they can never have anything other than a 0,0 hint size since the resource is built-in. Therefore no lighting can be baked except the mesh resources are first created as separate resources, which causes project clutter.

I've adjusted the code from what I had to instead dynamically get the lightmap size based on the surface area of the mesh. There will be an inspector field that is used to determine how many pixels per game unit the lightmap will be.  For now I've just called the field "texels" although I'm not entirely sure it matches the definition of what a texel is.
I have the surface area portion done, but there are two things I want to implement still:

Add a "power of two" option (which would likely be on by default).
Cap the max size of the lightmaps (probably to 4096 or add an option in the inspector)

I've been taking a look at the way xatlas computes the texture size and I think we can do something similar here. The relevant lines of code are:
https://github.com/godotengine/godot/blob/ab932bb675f7966b94c46da76ca822ebbf24ddd2/thirdparty/xatlas/xatlas.cpp#L6808-L6819
From what I get, the scale factor is computed as the surface area of the mesh (which you already compute) over the parametric area (the total sum of the area of the UV2 triangles) times the texelsPerUnit factor (which would be the equivalent of your new texels property).
So the only information we are missing now is the parametric area. This would allow for a new property default_textels_per_unit (instead of texels) with (I think) much better results.
@NathanWarden I haven't looked too deep into it so if you could give me your opinion on my idea it would be great, since you worked with that code more recently :)

@JFonS Thanks for the reference. All of this seems to make sense and would definitely make the map sizes more accurate. It probably won't take too long to implement either.

@JFonS If you want to double check if I was understanding you correctly or if you agree with this new change... What I did was get the surface area of the UV triangles and then divide 1 by square root of that value in order to get the reciprocal (in order to scale up the texture proportionally to the UV surface area). Then multiplied the square root of the mesh surface area times the texels per unit by that value.
Let me know if that sounds good or if you were thinking something else. The sizes I'm getting with 40 texels per world unit seem about right based on what I've seen in Unity.
Also, should I force (or perhaps give an option) for the lightmaps to be the nearest power of two?
I'm also not sure what the maximum texture size should be so I clamped it to 4096 for now.
Thanks! :)

Thanks!


run_eagerly model option doesn't work in Keras loss

System information

Have I written custom code (as opposed to using a stock
example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g.,
Linux Ubuntu 16.04): Windows 10, x64
TensorFlow installed from (source or
binary): Binary (pip)
TensorFlow version (use command below): TF 2.2.0 (2.2.0.dev20200323)
Python version: 3.7
CUDA/cuDNN version: 10.1 / 7.6
GPU model and memory: Bug appears on several computers with different GPU

Describe the current behavior
When fitting a Keras model in eager mode, by compiling it with the option run_eagerly=True, the loss is not run eagerly, even though the rest of the model is.
This bug does not appear when using  tf.config.experimental_run_functions_eagerly(True) instead of the run_eagerly option to run the model eagerly, in which case the loss is run eagerly.
Describe the expected behavior
Both tf.config.experimental_run_functions_eagerly(True) and run_eagerly=True should have the same behaviour when fitting a model: run all of the model, including its loss, eagerly.
Standalone code to reproduce the issue
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers

# Custom loss
class CustomLoss(keras.losses.Loss):
	def call(self, y_true, y_pred):
		print(tf.executing_eagerly())

		x = y_true + y_pred
		return tf.reduce_mean(x)

if __name__ == "__main__" :
	data = np.random.random((16, 1000, 3)).astype(np.float32)

	inputs = tf.keras.Input(shape=(1000,3))
	outputs = tf.keras.layers.Dense(3)(inputs)
	model = tf.keras.Model(inputs=inputs, outputs=outputs)

	# tf.config.experimental_run_functions_eagerly(True) # runs custom loss eagerly
	# model.compile(loss=CustomLoss())

	model.compile(loss=CustomLoss(), run_eagerly = True) # does not run custom loss eagerly

	model.fit(x=data, y=data)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
logCompileEagerly.txt
logExperimentalRunEagerly.txt

@Lillypucien , to run model eagerly first you need to enable eager execution with tf.enable_eager_execution()
Complete code is:
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
tf.enable_eager_execution()

# Custom loss
class CustomLoss(keras.losses.Loss):
	def call(self, y_true, y_pred):
		print(tf.executing_eagerly())

		x = y_true + y_pred
		return tf.reduce_mean(x)

if __name__ == "__main__" :
	data = np.random.random((16, 1000, 3)).astype(np.float32)

	inputs = tf.keras.Input(shape=(1000,3))
	outputs = tf.keras.layers.Dense(3)(inputs)
	model = tf.keras.Model(inputs=inputs, outputs=outputs)

	# tf.config.experimental_run_functions_eagerly(True) # runs custom loss eagerly
	# model.compile(loss=CustomLoss())

	model.compile(loss=CustomLoss(), run_eagerly = True) # does not run custom loss eagerly

	model.fit(x=data, y=data)

Calling tf.enable_eager_execution() indeed does run all of the model eagerly, including its loss, as described in my post (and shown in logExperimentalRunEagerly.txt).
However, tf.Keras models also have an attribute run_eagerly which, when set to True, allows a specific model to be run eagerly, whithout interfering with the rest of the code. Setting this attribute to True used to run the whole model eagerly, including the loss (tested with tf version 2.2.0.dev20200304). However, with the last tf nightly version (2.2.0.dev20200323), the loss is no longer run eagerly when run_eagerly is set to True, even though the rest of the model is, as shown in logCompileEagerly.txt.

This issue seems to be a direct consequence of issue #37895


MySQL-Injection fix

I know it doesn't hurt to do this type of check, but shouldn't this be down to the end user? You also don't do any checks if a db is available and if they are using mysql or mysqli. Just a few thoughts.

This is actually a good point. We need to discuss this in #51.


Steps to make it work with 'react-redux-universal-hot-example'

Hi,
Could you help me get the lib work with the great react-redux-universal-hot-example project?
I modified the two lines stated here but with no luck.
[Edit]
Now that I read the comments again, I see it should work OOTB. I must do something wrong though.

+1
i tried that too but no luck
i get warnings related to ReduxRouter and diff render between client and server
any help?


crc setup keeps asking for a reboot

Something seems off about the user/group management part of the crc setup.
I have

run crc delete
run crc cleanup
deleted the .crc folder
deleted the crc-users group
Removed and reinstalled Hyper-V
Restarted once every 5 minutes my entire workday yesterday

but it makes no difference. I keep getting this message, when running crc setup:
crc-windows-1.28.0-amd64> .\crc.exe setup --log-level debug
DEBU CodeReady Containers version: 1.28.0+08de64bd
DEBU OpenShift version: 4.7.13 (embedded in executable)
DEBU Running 'crc setup'
INFO Checking if crc-admin-helper executable is cached
DEBU Running 'C:\Users\<<local_user>>\.crc\bin\crc-admin-helper-windows.exe --version'
DEBU Found crc-admin-helper-windows.exe version 0.0.6
DEBU crc-admin-helper executable already cached
INFO Checking for obsolete admin-helper executable
DEBU Checking if an older admin-helper executable is installed
DEBU No older admin-helper executable found
INFO Checking if running on a supported CPU architecture
INFO Checking minimum RAM requirements
DEBU Total memory of system is<PHONE_NUMBER>6 bytes
INFO Checking if running in a shell with administrator rights
DEBU Running '$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent());$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)'
INFO Checking Windows 10 release
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
INFO Checking Windows edition
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
DEBU Running on Windows Professional edition
INFO Checking if Hyper-V is installed and operational
DEBU Running '@(Get-Wmiobject Win32_ComputerSystem).HypervisorPresent'
DEBU Running '@(Get-Service vmms).Status'
INFO Checking if crc-users group exists
DEBU Running 'Get-LocalGroup -Name crc-users'
INFO Checking if current user is in Hyper-V group and crc-users group
DEBU Running 'Get-LocalGroupMember -Name crc-users -Member '<<local_user>>''
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: Get-LocalGroupMember : Principal <<local_user>> was not found.
At line:1 char:43
+ ... yContinue'; Get-LocalGroupMember -Name crc-users -Member '<<local_user>> ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (<<local_user>>:String) [Get-LocalGroupMember], PrincipalNotFoundExc
   eption
    + FullyQualifiedErrorId : PrincipalNotFound,Microsoft.PowerShell.Commands.GetLocalGroupMemberCommand

DEBU exit status 1
INFO Adding current user to group
DEBU Running 'Get-LocalGroupMember -Name crc-users -Member '<<local_user>>''
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: Get-LocalGroupMember : Principal <<local_user>> was not found.
At line:1 char:43
+ ... yContinue'; Get-LocalGroupMember -Name crc-users -Member '<<local_user>> ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (<<local_user>>:String) [Get-LocalGroupMember], PrincipalNotFoundExc
   eption
    + FullyQualifiedErrorId : PrincipalNotFound,Microsoft.PowerShell.Commands.GetLocalGroupMemberCommand

INFO Will run as admin: adding current user to crc-users group
DEBU Running 'C:\Users\<<local_user>>\AppData\Local\Temp\crcScripts970071379\runAsAdmin.ps1'
DEBU Running '$sid = New-Object System.Security.Principal.SecurityIdentifier("S-1-5-32-578")
        @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole($sid)'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
Please reboot your system and run 'crc setup' to complete the setup process

Note that I have replaced my actual username with <<local_user>>.
Let me know, if you need additional info .

was the user part of the crc-users group and/or hyper-v administrators group? Please use the OS tools to verify this.
Also, what was the actual process before you resorted to a deletion and removal process?
$ crc setup
<reboot>
$ ...

Duplicate of https://github.com/code-ready/crc/issues/2446

was the user part of the crc-users group and/or hyper-v administrators group? Please use the OS tools to verify this.

Yes, my domain user AzureAD\<local_user> was part of both groups.

Also, what was the actual process before you resorted to a deletion and removal process?

$ crc setup
<reboot>
$ ...

Yes. I have done this several times. Also this worked fine until, as far as I remember, 1.27. Actually I'm quite sure i got 1.28 up and running last friday (3-4 days ago) but I'm not entirely sure.

Note: sicne you didn't follow the template, essential information is missing. Please indicate if this machine is part of a domain.

I apologize. I did not know there was a template but yes, the user is part of a domain called AzureAD.

For anyone finding this at a later point, this one fixed it for me:
https://github.com/code-ready/crc/issues/2446#issuecomment-865028602

Recent versions introduced a crc-users group to handle the permissions for the daemon; to allow it creating creates the routes, hosts using the user mode network stack. It seems some issues exist when dealing with a domain joined machine.


MTL-1562 STRIPE instead of MIRROR the AUXRAID

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
MTL-1562 STRIPE instead of MIRROR the AUXRAID
This will double the capacity of what is to be considered ephemeral,
pliable space on the RAID array. The final partition on each disk to be
used in the RAID will be striped with one another instead of mirrored.
Before:

Partition 1: Mirror, FSLABEL=BOOTRAID
Partition 2: Mirror, FSLABEL=SQFSRAID
Partition 3: Mirror, FSLABEL=ROOTRAID
Partition 4: Mirror, FSLABEL=AUX

After:

Partition 1: Mirror, FSLABEL=BOOTRAID
Partition 2: Mirror, FSLABEL=SQFSRAID
Partition 3: Mirror, FSLABEL=ROOTRAID
Partition 4: Stripe, FSLABEL=AUX

Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves MTL-1562
Change will also be needed in main
Merge with https://github.com/Cray-HPE/csm-rpms/pull/154

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
No. Installs & Upgrades will adopt this when they rebuild following a wipe.
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[ ] Copyrights updated
[x] License file intact
[x] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Merging this as an administrator due to the time criticality; this just built and tested on MTL via the feature branch. If this waits longer then it would need another metal test which is going to hold things up.


Improve readability, maintainability and increase test coverage for the integration with Publishing API

What
We need to improve the readability and test coverage of the code that handles the integration with Publishing API
Why
The code for the integration with Publishing API is key for our Data Warehouse; there are many reasons for it, but the most important one is that is rules how the Editions dimension grow over time.
We need to have code that is easy to read, to maintain and extend; as of today, our code is not good enough, and need some time and attention.

 (5) Improve readability, maintainability and increase test coverage for the integration with Publishing API


Pass data to MainViewController from MenuViewController

How can I pass to the MainViewController (in my app) which menu was selected. With the current architecture that can be found in the example the app would throw "Could not cast value of type 'UINavigationController' to 'UIViewController"
Thanks

I just started looking at ios programming, so I’m not at all experienced, but I think I managed to do what you need, even though there's probably better ways to do this. I used the example project as the base. In my case I just use the MainViewController (not multiple ones like swift, java, etc) and load in different url's into a webview in the MainViewController based on the menu item selected.
I set up a delegate in the LeftViewController:
protocol MenuItemSelectedDelegate {     func menuItemSelected(url: String) }
and in the switch menu {I use the function:
case .Main:             if (delegate != nil){                 delegate!.menuItemSelected("https://some url I want to send")             }             self.slideMenuController()?.changeMainViewController(self.mainViewController, close: true)
And in the MainViewController I use this:
`class MainViewController: UIViewController, MenuItemSelectedDelegate {``
and add the function needed:
func menuItemSelected(url: String) {         let urlUrl = NSURL(string:url)         let request = NSURLRequest(URL: urlUrl!)         webView.loadRequest(request)     }
And to get the MainViewController to “connect” to the LeftViewController I added this in the AppDelegate:
leftViewController.delegate = mainViewController


android: draw result points/position on screen

To highlight a detected barcode on the screen.
I changed as little as possible, but I had to touch image2View to make it handle 180 degree rotations of arbitrary coordinates. This is important when using the Java implementation for 180 degree image rotations (which is usually one of the landscape orientations).
Please note that scanning 1D barcodes just draws one line as ZXing return just two result points for them.
Also, the result points from the Java implementation do not match exactly with the C++ implementation, at least not for QR Codes. But the difference is probably intentional, I guess.
This code could be optimized a little by storing the result of the scale and offset calculation in image2View in the object instance to avoid having to recalculate them for every point.

Thanks a bunch! I'll merge it, play with it and possibly tune it a bit to my liking... ;).

Great! 😊 And thanks for merging!


feat($http): add $xhrFactory service to enable creation of custom xhr objects

Extract the createXhr function into a service called $xhrFactory which can easily be decorated to be able to construct non-standard or customised XMLHttpRequest objects. This is required for use of the mozAnon and mozSystem options for FirefoxOS.
See https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#XMLHttpRequest() for details.
Alternate solution to PR #9319
Closes #2318

I've left a couple of comments regarding decorators usage, but otherwise it LGTM after taking a quick look.

It's funny, my first thought was to do exactly like you suggested. Then for some reason I decided to only go for the decorator version. Anyways, I've updated the text and the example.

Wouldn't it make more sense for this to use the same mechanism as the httpInterceptors and the httpParamSerializers?
With this PR, users are limited to having one custom xhrObject per app, which is used for all requests. If I remember correctly, we have at least two use cases:

FirefoxOS needs an object passed to the constructor
upload / download progress listeners

Having only one implementation per app might not be the best idea.

@Narretz you will have one xhrObject pr request. The xhrFactory will be called for each request and should return a unique xhrObject every time. It will also be called with the method and the url as parameters so you could customise it to only add certain features for certain urls.
But still, you can't have a separate implementation of the factory for each request, so this implementation only solves the Firefox issue, it doesn't seem like a good solution to the progress listener case.

IMO we shouldn't try to fix progress events here, it is a separate issue. And IMO we shouldn't try to have a factory per-request - this is what we've discussed during a meeting: adding per-request handling will add one more param to the $http's object and this is the very issue we wanted to avoid

Any update on the status of this PR? Anything else I need to do?

This one LGTM, I'm +1 for merging this as-is. @petebacondarwin @caitp @Narretz - any objections?

Still not a big fan of this solution, since it's at odds with the way we do other things for $http. @petebacondarwin to the rescue!

@Narretz do you have a better suggestion for how we could deal with this?

@petebacondarwin I was thinking more about how the paramSerializers are implemented. This would bea) more consistent and b) more flexible. But since I don't know if this per-request flexibility is actually needed, let's just merge it once with switch to 1.5 and then see if somebody needs the flexibility.


bug: reviving new chat panel loses chat model selector

Version
main (c48e141768c669aa16dd23c4d27c764806b7bbe8)
Describe the bug
When you reload a new chat, the chat model selector is not visible:
https://github.com/sourcegraph/cody/assets/153/57bc1caf-a590-4b18-b188-04302f699268
Expected behavior
The chat model selector is still there after reload
Additional context
No response

I can't reproduce the issue on 0.16.2 anymore.
@kalanchan Can you give it a try and let me know if you are able to reproduce the issue?
https://github.com/sourcegraph/cody/assets/68532117/f47d4eff-2f0c-48ed-a16e-3253cc312ac1

Also can't reproduce in v0.16.2 or v0.17.1701443218
https://github.com/sourcegraph/cody/assets/51868853/d61e7b7a-097b-49fc-aaeb-e3d4bdb92a87


pgbouncer: 1.14.0 -> 1.15.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pgbouncer/versions.
meta.description for pgbouncer is: "Lightweight connection pooler for PostgreSQL"
meta.homepage for pgbouncer is: "https://pgbouncer.github.io"
meta.changelog for pgbouncer is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.15.0 with grep in /nix/store/l8d1nynkba0v43hw37sjjkllfy72wijw-pgbouncer-1.15.0

directory tree listing: https://gist.github.com/d3901f9071156e30fe8ffab74f7dab61

du listing: https://gist.github.com/1f1ccb5a3c275dd1bf78b15f6ff2b184

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pgbouncer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l8d1nynkba0v43hw37sjjkllfy72wijw-pgbouncer-1.15.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pgbouncer https://github.com/r-ryantm/nixpkgs/archive/ce6c6fa81f127b9d86520e8dacdbc1b68d48ca29.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l8d1nynkba0v43hw37sjjkllfy72wijw-pgbouncer-1.15.0
ls -la /nix/store/l8d1nynkba0v43hw37sjjkllfy72wijw-pgbouncer-1.15.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

pgbouncer

Maintainer pings

Result of nixpkgs-review pr 105340 1

1 package built:

pgbouncer


Two small fixes

Link to Ticket
TITLE Link
Description of Proposed Changes

added http:// to Jesse's website link so it would properly load when clicked
removed the : from behind Greg's name on the list of thank yous.

Steps to Test
Outline the steps to test
git fetch --all
git checkout gl-WebsiteLinkFixTypoFix

Load site via Http-server
Navigate to Jesse's profile and click the link to her website. Make sure her page loads successfully in a new tab or window
Impacted Areas in Application
List general components of the application that this PR will affect:

cohort.json
Index.html

Mentions @username
Tag users that need to review this code

good catch! I thought I had gotten all the links fixed but must've overlooked jesse's


Move (or remove) the "Close" button in the GUI

The "Close" button is very close to the "Cut" button in the GUI. Using the GUI, I nearly clicked "Close" a few times by mistake trying to cut.

Is this button necessary? Normally desktop managers already include close buttons when you open a program in a window

If you wish to keep it, could it be placed completely to the right side of the menu, separated from other buttons?

@baldurmen can you provide a screenshot?

@baldurmen it's a hack because we had issues with the gui getting stuck and we added an option for the operator to quickly restart the gui. We use a custom window-manager which has no buttons. As we don't use the cut functionality, the problem never hit us.
You can easily disable the close-button via a config-option: https://github.com/voc/voctomix/blob/master/voctogui/default-config.ini#L27
I'll leave this ticket open as a reminder, to move the close-button to the right in the toolbar.

@MaZderMind  thanks! That's very helpful.


The library 'hostpolicy.dll' required to execute the application was not found

Description
After I pull and build.cmd, I get this error
The library 'hostpolicy.dll' required to execute the application was not found
Repro steps
Please provide the steps required to reproduce the problem

Have correct prerequisities (.NET Core Preview4)

Clone the repository

Run build.cmd,

Expected behavior
To start the server and browser
Actual behavior
Server is not started.
Known workarounds
Sorry, not found.
Related information

Operating system: Windows 10 Enterprise  Version 10.0.14393
Branch: master
.NET Runtime, CoreCLR or Mono Version: dotnet --version is 1.0.0-preview4-004233
Performance information, links to performance testing scripts: none

Will want to look into this later today, just reporting in case someone else would also experience the same.

Sorry, we need to write a proper readme for this, but actually preview4 is not the requirement, it is preview5 which is not released yet. So you need to download the latest bits: https://github.com/dotnet/cli#installers-and-binaries

Latest bits are for rc4 and I want to put that into the build process today
Am 23.01.2017 09:43 schrieb "Alfonso Garcia-Caro"<EMAIL_ADDRESS>
:

Sorry, we need to write a proper readme for this, but actually preview4 is
not the requirement, it is preview5 which is not released yet. So you need
to download the latest bits: https://github.com/dotnet/cli#
installers-and-binaries
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fable-compiler/fable-suave-scaffold/issues/17#issuecomment-274429001,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNBoII20kAEqg0WulCEQTF1_VkFhoks5rVGgYgaJpZM4LqsLe
.

OK I used the latest form the link and it seems to be 1.0.0-rc4-004711 (also shown at the GitHub page mentioned). Not sure it is preview5.
Anyway I got No executable found matching command "dotnet-compile-fsc".
Please advise, thanks!

Hmm, that's strange. I can build the project also with 1.0.0-rc4-004711 on Windows 10. Maybe @enricosada can provide some insight?

As a note for everyone (@forki @alfonsogarciacaro ) please use always released version. Latest is rc3 see https://github.com/dotnet/core/blob/master/release-notes/rc3-download.md . Dev version (like rc4), are nightly, and can give issues.
Anyway let me try locally

same for me, i can build it.
@davidpodhola can you please try

dotnet --version from cmd
C:\Users\%USERNAME%\AppData\Local\dotnetcore\dotnet --version
dotnet build src\Server\Server.fsproj -v d
check if C:\Users\%USERNAME%\.nuget\packages\dotnet-compile-fsc\1.0.0-preview2-020000 exists

I just installed RC3, but you may need to uninstall RC4 to prevent it gets precedence. You can use Programs and Features but I also had to delete manually the folder in C:\Program Files\dotnet\sdk

https://github.com/fable-compiler/fable-suave-scaffold/blob/master/build.fsx#L29
^^ this is where decide which version is used

dotnet --version from cmd: 1.0.0-preview2-003131
C:\Users\%USERNAME%\AppData\Local\dotnetcore\dotnet --version: **The system cannot find the path specified.
dotnet build src\Server\Server.fsproj -v d: Specify --help for a list of available options and commands. Unrecognized option '-v'
check if C:\Users\%USERNAME%\.nuget\packages\dotnet-compile-fsc\1.0.0-preview2-020000 exists: yes, C:\Users\david.podhola\.nuget\packages\dotnet-compile-fsc\1.0.0-preview2-020000\dotnet-compile-fsc.1.0.0-preview2-020000.nupkg  exists

the build script should use the one from the sdkPath where we downloaded it: https://github.com/fable-compiler/fable-suave-scaffold/blob/master/build.fsx#L34

Ok got it.
Probably build script dont add dotnetsdk directory ti PATH
But i'll fix it in fsharp.net.sdk, because is not necessary to have it in that case, so better fix it for everyone

In msbuild target i do dotnet compile-fsc without full location of dotnet used to run the fsproj. Usually is the one in path, so is ok.
That explain why fails, use the wrong one, preview2 Who is json based and dont see the cli tool dotnet-compile-fsc

As a note, please use rc3 https://github.com/dotnet/core/blob/master/release-notes/rc3-download.md in this repo and others (not rc4), because i am sending some breaking changes to fsproj template (easy to fix, but dont know exactly when they will be included in rc4).

thanks @enricosada, yes, if I install rc3, it works. Anyway it seems it download rc4 too (?).

@davidpodhola yes as @forki said in https://github.com/fable-compiler/fable-suave-scaffold/issues/17#issuecomment-276722444, the build script downloaded the bleeding edge rc4 (maybe a PR should change that 😄 )


java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

When I'm using the fetch function in my react native apps send https request, gives an error in android. The error is 'TypeError: Network request failed'. Doing a bit of debugging, I found that the cause of the error seems to be the following: 'java.security.cert.CertPathValidatorException: Trust anchor for certification path not found'.
please help me,I was blocked for many days, the development can't proceed!

Sounds like a problem with certificate: http://stackoverflow.com/questions/25122287/java-security-cert-certpathvalidatorexception-trust-anchor-for-certification-pa

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found'.
Having the same issue when using https:// fetch / xmlhttprequests. Please look in to this.

+1

+1

+1

Are your certs valid? Can you post links to the HTTPS endpoints here so that we can see the cert chain?

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/javasecuritycertcertpathvalidatorexception-trust-anchor-for-certification-path-not-found
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.

I am also have this problem. Maybe someone have a workaround or any updates on this?


RtcEngine.create() not woking on Android

RtcEngine.create()

maybe your appid is invalid?

pls check error log in android logcat

maybe you can refer to #361

./gradlew clean should help


When distance computation is expensive how to gradually build graph

Hello pynndescent team,
I am in a situation where, distance computation is very expensive (genomic sequence), all versus all distance as input is not possible (it takes forever for all versus all distance computation). I am wondering how to compute distance only when necessary in NNDescent() building, that is k graph is build gradually without the need to compute all versus all in the dataset but only those are needed, e.g., 2 datapoint that are far away from each other in k graph, we do not need their distance. Any idea how, original data as input and we have our own distance function.
Thanks,
Jianshu

Others may have better advice but here is my perspective (FWIW I have spent a reasonable chunk of my spare time looking at how approximate nearest neighbors and nearest neighbor descent specifically can give sub-optimal results for high-dimensional datasets).
The problem I have seen with high dimensional datasets is the existence of hubs, which in turn implies the existence of anti-hubs, objects which have the following unfortunate properties:

there are not in the k-nearest neighbors of other objects
the heuristic that the neighbor-of-neighbors are good candidates for trying tends to be less true

this is bad news for the efficiency of nearest neighbor descent, which already tends to repeat distance calculations a lot.  This is a scenario where setting low_memory=False might help if you have enough RAM because the cost of storing previously calculated pairs and the repeated application of the hash function is still going to save time over repeating an expensive distance calculation.
Apart from that, tweaking the nearest neighbor descent parameters to be more thorough doesn't seem to be very cost effective compared to: using default build parameters, creating the search graph and then querying the dataset (with some amount of backtracking via the epsilon parameter). I think the contents of https://github.com/lmcinnes/pynndescent/blob/master/doc/how_to_use_pynndescent.ipynb is still a good guide for that.
Although this also depends on your distance function, you could also try reducing the dimensionality of the data with something cheap like a truncated SVD, do nearest neighbor descent on that, and then run nearest neighbor descent on the high dimensional data using the knn graph from the previous step as initialization via init_graph. Obviously this requires those initial steps to be pretty fast as well as being a better guess for the real results than RP tree in the high dimensional space gives you. Unfortunately I haven't been impressed with the results I've got from this, but you never know how it might work for you.

Hello James,
Thanks for the response and detailed explanation. In my case, dimensions is not a problem. The reason that distance computation is expensive is not because it has a lot of dimension but the genomic sequence manipulation (some sequence alignment related steps). In the case you mentioned, where nearest neighbor descent tends to repeat distance calculations a lot, is there a value, e.g. what faction of the dataset distance, was used to have a very good k graph (if pairwise distances as input, that is how many of them are used)? 90%? or all the pairwise distances are used. I am comparing it to HNSW because only a very small fraction of pairwise distances was used to build the graph (I noticed that in hnsw computation of distance happened only when a pairwise distance was needed), which makes it very efficient when distance computation is very expensive. However, it works only for metric distance like hamming or Euclidean distance. The distance I am using this time for k graph is not a metric so HNSW does not work.
Thanks,
Jianshu

In the case you mentioned, where nearest neighbor descent tends to repeat distance calculations a lot, is there a value, e.g. what faction of the dataset distance, was used to have a very good k graph (if pairwise distances as input, that is how many of them are used)? 90%? or all the pairwise distances are used.

I doubt there is anyway to know because it will be highly dataset dependent. The more hubness the true nearest neighbor graph displays, the more repeated calculations there will be: by definition hubs will appear in the neighbor list of other objects at a much  higher frequency than other observations. That means they will get involved in a large number of distance calculations many of which are redundant. If hubness is an issue for your dataset then it can be detected even when the nearest neighbor graph is quite rough, e.g. it will be apparent after one iteration of NND. Unfortunately, at this point you have still carried out a large number of distance calculations and there isn't a good way to fix the problem.


fix(@embark/whisper): show message when geth port is already taken

The problem that Teller had was that it still used the old port for WS, so it tried to start Geth on the same port as the blockchain.
I tried using findNextPort, the function that detects if the port is used and tries the next one, but it doesn't work with WS. Then I figure, it will just be confusing for the user if the port is changed, so instead, he should get a message when the port is in use.
So I changed the Geth process to print the errors as errors (duh), so for ports taken or just other errors, users will see it. The error itself I think is clear enough that the port is taken, so it should be changed.
I always added a warning if the port is the same as the node port, as seen in the config.
I'll also add a line in the migration guide to tell users to change that port.

This has landed as https://github.com/embark-framework/embark/commit/23f9a8c49c7990381baf6e74bb54b24e5a842d53 and https://github.com/embark-framework/embark/commit/14dbb63775a7d7ea944384d3b0e44a61bf78d7ac
Good job @jrainville !


Add code for parameter validation

This code will check null, empty or other validations on input parameters. SDK will pass validation array to go-autorest Validate() method which will check listed validations on parameter value using reflect package.
For example, if CreateOrUpdate() method has resource group and subscription as required parameters, then it will call Validate() on[]autorest.Validation like below...

func (c client) CreateOrUpdate(resourceGroupName string, subscriptionID string) (result, error) {
	if err := autorest.Validate([]autorest.Validation{
		{client.SubscriptionID,
			[]autorest.Constraint{{"subscriptionID", "Empty", true, nil}}},
		{resourceGroupName,
			[]autorest.Constraint{{"resourceGroupName", "Empty", true, nil},
				{"resourceGroupName", "MaxLength", 10, nil},
				{"resourceGroupName", "MinLength", 3, nil},
				{"resourceGroupName", "Pattern", "[a-zA-Z0-9]+", nil}}},
		},
	}); err!=nil {
		return err
	}

	Preparaer..
	Sender..
	Responder...
}

@brendandixon @ahmetalpbalkan please comment.

Looks cool. It appears like there is massive test coverage. It'd be good to add reflection-specific tests as well (i.e. the field is not found, or field is not of the type we expect etc) and see how we handle those (if we are supposed to).

Also I'm gonna suggest this should be another package. It doesn't have much to do with "azure".

@ahmetalpbalkan What do you mean by reflection-specific tests and handling those? Code has type checks like below and we have tests for these.
case reflect.Array, reflect.Slice, reflect.Map:
	err = validateArrayMap(item.TargetValue, constraint)
default:
       err = createError(item.TargetValue, constraint, fmt.Sprintf("unknown type %v", v.Kind()))

r, ok := v.Rule.(int)
if !ok {
	return createError(x, v, fmt.Sprintf("rule must be integer value for %v constraint; got: %v", v.Name, v.Rule))
	}

@garimakhulbe fair enough, I saw that you don't handle the not-found case from FieldByName and adding a test should be good enough.

I suggest moving this to autorest/validation/ directory as it is completely independent and will pollute the godoc for the autorest/azure package.

@ahmetalpbalkan Updated for comments. Take a look.

@ahmetalpbalkan All comments are addressed. Please take a look.

I've got 2 more general comments:

can you please make the pkg name singular and not plural
can you make sure errors returned from exported methods of this package are prefixed with autorest/validate?

@ahmetalpbalkan updated for comments.

@ahmetalpbalkan code updated. merging it.

@ahmetalpbalkan Thanks for the comments. Merged.


Md Mahedi Hasan Riday(#244)

Hi @MHRiday,
Are you active?

@atin I have made some changes. But it is showing I want to merge 4 commits.  Can you help me?

@ming-tsai I'm active. Sorry for late.

Hi @MHRiday,
Thanks for contribution and welcome to our team

The invitation link


Train on my dataset

Hello, I looked into the repo and I didn t find any code to train the networks from scratch with a custom dataset. Are you planning to add this feature in the future?

No


Suspend-DbcCheck - Suppressing of known problems for a (short) period of time.

Some of the errors are critical enough to drop everything and go fixing. Some are not.
I was thinking about ability to have a 'severity' settings for errors. So disk space at 30% would be a warning, that we need to do something, perhaps order a new disk, but at 10% it's probably time to go and get the disk yourself if 'provisioning' got kicked in the long grass of project management. That is difficult as it would require changes to Pester. Alternative would be to simply set the test at the warning level, but that means we would be pestered with known problem we are dealing with already and which is not critical yet. Seeing, or worse, expecting failures in the checks could lead to missing a new problem.
So how about suppression mechanism? After running a test, when required action has been initiated or scheduled, one could do something like Suspend-DbcCheck -SqlInstance $instance -DatabaseName $database -Check policy.mycheck -ForDays 7. That check then would either pass, or not be run for the specified period of time unless we really want to see all of the errors again which could be achieved with Invoke-DbcCheck -IncludeSuspended option. You could even add second threshold value to the policy configuration like policy.diskspace.percentfree.critical after reaching which the suspension would be ignored.
I realise that probably not that many of the current 80 checks is like policy.diskspace where it might be useful, but if it was implemented in such a way that it can be used by custom checks I could see it useful for a number of my checks which in itself are not mission critical, and apply to the processes using SQL Server, but which I know will become critical if ignored for too long.
Suspensions could be stored locally in a json file and could be shared using a repo, or could be centralised through a database.
What do you think? I'm happy to work on the implementation but would like to have some opinions first.

I get the problem
When this came up in our pre-con - off the top of my head I suggested a seperate config for each warning level as  Pester is Pass or Fail there is no other level we can use easily and I do not want to get away from a test result is Pass or it is Fail
So you can run the immediate action test configurationn every day adn the warning test cofiguration every week
I like this idea of a configuration item i worry about it getting very complex very quickly and making it difficult or new people to easily get into using dbachecks

That was actually my question in the pre-con. Two separate configurations go only so far and they cover only the scenario where we have a warning and error level. A slightly different is with errors that take time to rectify. Do we want to see them red all the time? It ties with the JIRA integration too.
I'm not sure how to best implement my proposed solution to make it easy, but I'm sure it would have to be easy to use to be useful. Perhaps using the -Skip of It? Perhaps some conditional logic outside of It?
Let's leave it here for now. I got busy looking at the performance of the tests which is absolutely essential for me to be able to use it outside of few little dev servers I have. I'll come back to it and think about it some more.

The more discussion there is about this the more I think that this is not functionality that we should be putting into dbachecks. I think a different configuration is the best way to answer this one

I still think that different configuration doesn't resolve my problem, but the more we discuss it and the more I understand the internals of dbachecks, I think it might be a separate function within the project or in another module, to which we could pipe the results from Invoke-DbaCheck and that would create jira tickets, or sent a slack message, or allow for suppression.

I'm going to close this issue for now. I think we should handle any resulting action on the output of the checks via seperate commands rather than within dbachecks - If need be we can have an additional module dbachecks-actions forexample


Add ISA-specific targeting and additional JIT control options

ISA means "instruction set architecture", by the way.
Heavy lifting by Alex Wells, some refactoring and adding options by LG.
A number of additional controls over the JIT process are added to the
ShadingSystem:

"llvm_jit_target" Can be set to the name of an architecture ("none",
"x64", "SSE4.2", "AVX2", "AVX2_noFMA", "AVX512", "AVX512_noFMA") to
request that the JIT choose instructions for a specific machine ISA.
Also "host" means to select whatever the host natively supports.
It checks if the host CPU supports the requested architecture and
will automatically restrict it to a choice your machine supports.
The default is "none" meaning not to generate code for anything beyond
the default Intel target. There seems to be little benefit to using
this at this time for single-point shading, but we anticipate that
it will be important to the forthcoming batch shading mode.

"vector_width" Can set the vector width for SIMD instructions,
independently of the JIT target (for example, you could JIT for
AVX512 but still only make 8-wide SIMD instructions). The current
default is 4, meaning it will not generate 8-wide or 16-wide
vector ops, even when targeting and running on AVX512. We have found
significant performance penalties when running single point shading
mode on AVX512 hardware, unless we use this restriction (but no such
slowdown on AVX2 hardware).

"llvm_jit_fma" Enables use of fused multiply-add instructions on
architectures that support them.  When enabled, resulting code is
slightly faster improves rounding accuracy for some computations.
But the default is 0, because enabling it can make results differ
slightly on machines with different architetures (bad for testing,
and maybe leading to problems if you have machines with differing
architectures working on different frames of the same shot).

"llvm_jit_aggressive" Enables the "aggressive" JIT option, whatever
that means. Currently defaulted to 0.

"llvm_dumpasm" a debugging mode that lets developers see the actual
JIT code as assembly language.

The bottom line here is that the defaults are carefully chosen to be
performance-neutral on all architectures. We do not currently advise
adjusting these settings for single-point shading mode. When we add
batch-shading mode, we will probably have different defaults or
guidance to offer when using that mode (and the specific advice may
depend on the specific architecture you are running on).
Signed-off-by: Larry Gritz<EMAIL_ADDRESS>

Any movement on this?

Pushed update that addresses all the review comments.


update docker run command

update docker run -v source code in /var/local dir

为什么将其更改为/var/local？

in /var/local/thirdparty not download third application script

为什么将其更改为/var/local？

in /var/local/thirdparty not download third application script

This docker image already contains all pre-compiled thirdparties, no need to download them again.

Long time passed. And I find this PR isn't essential.
Close it.
If you have some question, feel free to contact me by @jackwener / reopen this PR.


[BUG] : Android 및 iOS 앱 빌드 하면서 발생하는 에러 및 이슈

Is there an existing issue for this?

[X] I have searched the existing issues

Version of @mj-studio/react-native-naver-map
2.2.0
Version of react-native
0.75.2
What os are you seeing the problem on?
Android, iOS
What device types are you seeing the problem on?
Simulator
What architecture types of react native are you seeing the problem on?
Old Architecture(Bridge)
Version of device(android API, iOS OS version, etc...)
Android 34, iOS 16
Expo App

[ ] I am using Expo

What happened?
라이브러리 사용을 위해 환경설정을 마치고 앱을 빌드했을때, Android 와 iOS 모두 정상적으로 실행이 되지 않으며 터미널에 에러가 떴습니다.
Relevant a package.json.
No response
Relevant log output
No response
Reproducible Sample Repository
https://github.com/KnuReviewAppProject/KnuReviewApp
Code of Conduct

[X] I agree to follow this project's Code of Conduct

package.json
{
  "name": "KnuReviewApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start -- --reset-cache",
    "test": "jest"
  },
  "dependencies": {
    "@mj-studio/react-native-naver-map": "^2.2.0",
    "@react-native-firebase/app": "^20.4.0",
    "@react-native-firebase/auth": "^20.4.0",
    "@react-native-firebase/firestore": "^20.4.0",
    "@react-native-firebase/functions": "^20.4.0",
    "@react-native-firebase/storage": "^20.4.0",
    "@react-navigation/bottom-tabs": "^6.6.1",
    "@react-navigation/native-stack": "^6.11.0",
    "axios": "^1.7.7",
    "react": "18.3.1",
    "react-native": "0.75.2",
    "react-native-bouncy-checkbox": "^4.1.2",
    "react-native-dotenv": "^3.4.11",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-otp-textinput": "^1.1.6",
    "react-native-safe-area-context": "^4.10.9",
    "react-native-screens": "^3.34.0",
    "zustand": "^4.5.5"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.75.2",
    "@react-native/eslint-config": "0.75.2",
    "@react-native/metro-config": "0.75.2",
    "@react-native/typescript-config": "0.75.2",
    "@types/react": "^18.2.6",
    "@types/react-native-dotenv": "^0.2.2",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "18.3.1",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  }
}

Android 로그
npm run android

><EMAIL_ADDRESS>android
> react-native run-android

info A dev server is already running for this project on port 8081.
info Installing the app...

> Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_app:firebase.bom using default value: 33.1.2
:react-native-firebase_app:play.play-services-auth using default value: 21.2.0
:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_app:version set from package.json: 20.4.0 (20,4,0 - 20004000)
:react-native-firebase_app:android.compileSdk using custom value: 34
:react-native-firebase_app:android.targetSdk using custom value: 34
:react-native-firebase_app:android.minSdk using custom value: 23
:react-native-firebase_app:reactNativeAndroidDir /Users/parkjongjoon/project/KnuReviewApp/node_modules/react-native/android

> Configure project :react-native-firebase_auth
:react-native-firebase_auth package.json found at<EMAIL_ADDRESS>:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_auth:firebase.bom using default value: 33.1.2
:react-native-firebase_auth package.json found at<EMAIL_ADDRESS>:react-native-firebase_auth:version set from package.json: 20.4.0 (20,4,0 - 20004000)
:react-native-firebase_auth:android.compileSdk using custom value: 34
:react-native-firebase_auth:android.targetSdk using custom value: 34
:react-native-firebase_auth:android.minSdk using custom value: 23
:react-native-firebase_auth:reactNativeAndroidDir /Users/parkjongjoon/project/KnuReviewApp/node_modules/react-native/android

> Configure project :react-native-firebase_firestore
:react-native-firebase_firestore package.json found at<EMAIL_ADDRESS>:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_firestore:firebase.bom using default value: 33.1.2
:react-native-firebase_firestore package.json found at<EMAIL_ADDRESS>:react-native-firebase_firestore:version set from package.json: 20.4.0 (20,4,0 - 20004000)
:react-native-firebase_firestore:android.compileSdk using custom value: 34
:react-native-firebase_firestore:android.targetSdk using custom value: 34
:react-native-firebase_firestore:android.minSdk using custom value: 23
:react-native-firebase_firestore:reactNativeAndroidDir /Users/parkjongjoon/project/KnuReviewApp/node_modules/react-native/android

> Configure project :react-native-firebase_functions
:react-native-firebase_functions package.json found at<EMAIL_ADDRESS>:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_functions:firebase.bom using default value: 33.1.2
:react-native-firebase_functions package.json found at<EMAIL_ADDRESS>:react-native-firebase_functions:version set from package.json: 20.4.0 (20,4,0 - 20004000)
:react-native-firebase_functions:android.compileSdk using custom value: 34
:react-native-firebase_functions:android.targetSdk using custom value: 34
:react-native-firebase_functions:android.minSdk using custom value: 23
:react-native-firebase_functions:reactNativeAndroidDir /Users/parkjongjoon/project/KnuReviewApp/node_modules/react-native/android

> Configure project :react-native-firebase_storage
:react-native-firebase_storage package.json found at<EMAIL_ADDRESS>:react-native-firebase_app package.json found at<EMAIL_ADDRESS>:react-native-firebase_storage:firebase.bom using default value: 33.1.2
:react-native-firebase_storage package.json found at<EMAIL_ADDRESS>:react-native-firebase_storage:version set from package.json: 20.4.0 (20,4,0 - 20004000)
:react-native-firebase_storage:android.compileSdk using custom value: 34
:react-native-firebase_storage:android.targetSdk using custom value: 34
:react-native-firebase_storage:android.minSdk using custom value: 23
:react-native-firebase_storage:reactNativeAndroidDir /Users/parkjongjoon/project/KnuReviewApp/node_modules/react-native/android

> Task :mj-studio_react-native-naver-map:compileDebugKotlin FAILED
202 actionable tasks: 16 executed, 186 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor.

* What went wrong:
Execution failed for task ':mj-studio_react-native-naver-map:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error.  * What went wrong:
Execution failed for task ':mj-studio_react-native-naver-map:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details * Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org. BUILD FAILED in 6s.
info Run CLI with --verbose flag for more details.

iOS 로그
 npm run ios

><EMAIL_ADDRESS>ios
> react-native run-ios

info A dev server is already running for this project on port 8081.
error Command was killed with SIGABRT (Aborted): xcodebuild -list -json -project /Users/parkjongjoon/project/KnuReviewApp/ios/KnuReviewApp.xcodeproj
2024-09-18 17:00:14.607 xcodebuild[52781:2136912] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorFoundation (/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0109): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file)" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0109): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), NSBundlePath=/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework, NSLocalizedDescription=The bundle “IDESimulatorFoundation” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0000): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file)

A required plugin failed to load. Please ensure system content is up-to-date — try running 'xcodebuild -runFirstLaunch'.
Error: Command was killed with SIGABRT (Aborted): xcodebuild -list -json -project /Users/parkjongjoon/project/KnuReviewApp/ios/KnuReviewApp.xcodeproj
2024-09-18 17:00:14.607 xcodebuild[52781:2136912] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorFoundation (/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0109): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file)" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0109): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), NSBundlePath=/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework, NSLocalizedDescription=The bundle “IDESimulatorFoundation” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/IDESimulatorFoundation, 0x0000): Library not loaded: /Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads
  Referenced from: <0A806C17-3233-3AF0-A1A4-81009131BB0D> /Applications/Xcode.app/Contents/Frameworks/IDESimulatorFoundation.framework/Versions/A/IDESimulatorFoundation
  Reason: tried: '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file), '/Library/Developer/PrivateFrameworks/DVTDownloads.framework/Versions/A/DVTDownloads' (no such file)

A required plugin failed to load. Please ensure system content is up-to-date — try running 'xcodebuild -runFirstLaunch'.
    at makeError (/Users/parkjongjoon/project/KnuReviewApp/node_modules/execa/lib/error.js:60:11)
    at module.exports.sync (/Users/parkjongjoon/project/KnuReviewApp/node_modules/execa/index.js:194:17)
    at /Users/parkjongjoon/project/KnuReviewApp/node_modules/@react-native-community/cli-platform-apple/build/tools/getInfo.js:81:41
    at Array.reduce (<anonymous>)
    at getInfo (/Users/parkjongjoon/project/KnuReviewApp/node_modules/@react-native-community/cli-platform-apple/build/tools/getInfo.js:74:15)
    at getConfiguration (/Users/parkjongjoon/project/KnuReviewApp/node_modules/@react-native-community/cli-platform-apple/build/commands/buildCommand/getConfiguration.js:36:37)
    at Object.func (/Users/parkjongjoon/project/KnuReviewApp/node_modules/@react-native-community/cli-platform-apple/build/commands/runCommand/createRun.js:113:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Command.handleAction (/Users/parkjongjoon/project/KnuReviewApp/node_modules/@react-native-community/cli/build/index.js:118:9)

2.x 버전 부터는 New Arc에서만 사용할수 있다고 공식문서에 기재되어 있어, Old Arc를 유지한채 라이브러리를 2.2.0 -> 1.5.9 버전으로 다운그레이드 하여 앱을 다시 빌드해봤으나 같은 에러가 발생합니다.

해당 코틀린 소스에서 override 제거하시면 됩니다.

Android는 Fabric 전환 설정을 해줘서 해결되었으나 iOS는 해결되지 못했습니다.
iOS Fabric 전환은 어떻게 하셨는지 여쭤봐도 될까요?

Android 및 iOS Fabric 설정을 해주니 해결되었습니다.
변경 방법에 대한 내용은 제 블로그에 기록해둬서, 필요한 개발자분들을 위해 링크 공유합니다.
https://velog.io/@whdwnsdk8111/React-Native-프로젝트-Architecture-type-변경하는-방법Bridge-Fabric


Add resource.refreshPaths helper method

That calls this.$loadPaths(paths, Date.now(), path_prefix, root_uri).
For apps that by default want to refresh resources.

Fixed by #34.


Does Starscream work with WAMP v1?

First of all, good work!
WAMP v2 seems to be supported, but is there also the possibility to use this with WAMP v1? Thank you! :)

Thanks! The library isn't specifically designed to support WAMP, but from my quick check, it appears both the V1 and V2 protocols use websockets. I would assume another library could be built using Starscream to support both WAMP V1 and V2.
http://wamp.ws/spec/wamp1/


Use apt-mirror to mirror Ubuntu repos

To enable cloning the Ubuntu repositories, edit the apt-mirror.list
file.

Also fixed a few dependency problems in the mirror state found while testing

Works like a charm with and without the ubuntu repos to mirror

yeah, I wasn't too comfortable adding an s to Ubuntu. Fixed now


Don't set format to raw

format: 'raw'overwrites the scopes model when used within other directives, ie ui-bootstrap tabs

I decided to instead default to html format, and allow the user to override with format set on options passed to ui-tinymce.
Thanks for taking the time to help out and make a pull request.


base on wphc v2.0 ,fix apprate and customLocale config

just for v2.0.0, i update some plugin ,but apprate new version have some change ,i fix : #317 ,add CustomLocale config ,now is ok!
you can custom you apprate text.

Look forward to 3.0, today I have seen the branch v3.0 :)


Deprecate Ruby CLI in favor of our new node-based Bump CLI

Now that we releases our new node based CLI (https://github.com/bump-sh/cli) we can warn our Ruby gem users that this gem will not get any update and that they should migrate to our new CLI.

Thanks for the review! :slightly_smiling_face:


Project Skill metrics overlooked skill tag seems inconsistent

skills with a high number of in progress users but a low number of achieved users can be tagged as both high activity AND overlooked skill simultaneously which doesn't seem accurate.

PR: https://github.com/NationalSecurityAgency/skills-service/pull/1361


sqlite Migrations

Bit of a short one here:
Are there any plans to add sqlite support to ormlite-cli? Or potentially wrap sqlx-cli?

i don't use sqlite enough to build it myself. all the machinery is based on sqlmo and sqlx, though, so it shouldn't be too hard to add support for it, and i'd welcome that PR. the only thing unique to postgres is the queries that autodetect the schema of the existing library - i don't know offhand how to do the same introspection with sqlite, though i'm sure it's doable.


Rework docs; move README.md contents into docs/index.md

Prep for further extending/clarifying the docs.
Closes: https://github.com/containers/bootc/issues/108

Preview up at https://cgwalters.github.io/bootc/


0.23.0 shipped not compiled

0.23.0 is a bunch of files instead of one compiled file (making it very slow in RunKit)

We still bundle a compiled version in dist. Would it help if we follow the directions here to provide an example like this? Is there something else you recommend?

I'm going to have to go back to look at those discussions.  I thought that this new version was a way to make it easier to test, and that perhaps eventually it would help us make it easier to do a require('ramda/map').  But I don't think I understood clearly that it would turn the standard Node loading into a large number of file calls.  Is there any benefit to that?  I can't see one at the moment.

Let me think about it tomorrow

Thank you.

Any movement on this? This is actually also a big slowdown for naive gulp setups, since browserify will traverse hundreds of files instead of just one.

We're updating our build here: #2254. Let's wait until that is merged to address any concerns related to this issue.

This issue is stale now that #2254 has been merged.


A companion tool to convert to .chd/.rvz

Would convert from the Redump-native formats and zipped/7-zipped versions of them.
Called 'compressdump'?

Should check if there's a good tool for batching this already to avoid reinventing the wheel.

You can create a simple batch script and use the existing command line tools (DolphinTool.exe, chdman.exe) to achieve this.


ISPN-6292 Upgrade to Hibernate Search 5.6.0.Alpha2 and Lucene 5.5.0

https://issues.jboss.org/browse/ISPN-6292

I've run the full suite locally, and the failures are not related to query

Integrated. Thanks @gustavonalle!


[Docker] Add support for arm32/64

This adds arm32v7 and arm64v8 containers to the dockerhub "latest" tag.
To see how this looks like on dockerhub, check my test image:
Latest tag containing all three architectures: click
Build Rules:

You would need to change the branch name to "master" but keep everything else exactly how it is (docker tag and dockerfile location with the names).
The way the post script works is that you will have to run all image generations at least once (it will fail once for every image). Starting from the second run, all images will be flagged as "successful". That is because the post script wants to link all 3 images under one tag. If you are building them one by one, this step will fail every time because at least one of the images is not available at that point. This will solve itself on the second run though.

Also touches #2099

Looks fine for me.
@captn3m0, asking for your review as you introduced Docker.

This is magic 💯.
This is how the build rules currently look:

There's 3 tags pushed: latest (for what's on master), stable (for the last tag that was pushed), and $tag (for the actual tags themselves).
This PR would only work for the first, and not the remaining 2 builds. The setup instructions (in Wiki and elsewhere) always recommend installing the latest stable release - hence I'd prefer if this could be made to work with all 3 of the builds (since latest might not always be the best version to run).
If it's too much work, we can merge this for just latest support for ARM builds (I'll setup the rules on Docker Cloud), and add the others in a separate PR.

I'll check out if I can combine all 3 builds into my script.
As a general thing though: 90% of people use the :latest tag.. usually. No one is going to use a version tag from 2019 (so they are basically garbage laying around), no one should actually use a container from 2019 (os version updates, security etc), so it's almost dangerous to still have them up.
Also, as a user, if I see that "latest" is 10 days old and "stable" is 10 months old, i'm going with latest.
So in my opinion: Get rid of the individual tag builds (the third row) and maybe keep the "stable" that updates on tag pushes.
@captn3m0 opinions?

Ask and ye shall receive. I added a second manifest file for the stable tag.
This is what it will look like on dockerhub:

You need to set up the auto builds like this:

Use "master" for the latest builds of course. Keep the rest as is.
Again: The builds will fail on the first run because the post action will fail. You will have to re-run the builds once all images have been built once. Then they will all succeed (as you can see on the screenshot).

Also, I wouldn't build a release specific tag anymore. With latest and stable, all use cases should be satisfied without creating a giant backlog of versions and also keep everyone on a somewhat recent version.
Maybe even delete the old tags after the move so people will have to switch to either latest or stable.

I agree nobody should be running old versions, but it's nice to have a tag for each version. We provide the older releases on GitHub as well, doesn't mean we endorse running them. Having an older docker image might be helpful in some cases: makes debugging easier for one, lets you downgrade temporarily in case the new release has a breaking change you can't adapt to yet etc.
Using latest tags also causes concerns with some deployment patterns (k8s considers using latest an antipattern for eg).
Setting up the docker cloud rules 👍🏽

Updated the rules on DockerHub. This can be merged and tested 💯.

I'm reworking the approach, dont merge yet

Alright, I did a full rework of the process, 'inspired' (read "almost copied it all") by https://github.com/ckulka/baikal-docker .
You need to configure the dockerhub builds like this:

This is easier to maintain, easier to read and does all three things wanted:

"latest" tag with all three architectures, updated on each new commit
"stable" tag with all three architectures, updated on release
version based tag (e.g "2021-05-06") for longer availablity for a specific version, also with all three architectures.

Please review this new setup and test it.
I will create a new PR at the end for merging since this one became pretty chaotic.

This also won't fail on the first run @captn3m0 since this splits the build and the push. So one run and you're good to go.

So @captn3m0 I assume thats a positive review? @em92 do you want another docker person to look at it? If not, I would generate the clean PR and link this one.

I'll test it by tomorrow and confirm.

Also, today I learned something new :D How to squash and fixup commits. So I won't be creating a new PR, I'm just going to fixup all the commits in this one into one.
Yay git :)

@em92 when you merge the commit, you will have to do a release to trigger the stable and version builds . after that, you should probably go into dockerhub and delete all versions prior to the latest and maybe the last 2 named versions. All other tags can go.

Just to note: Build rules are configured correctly. So this can be merged 👍🏽.

when you merge the commit, you will have to do a release to trigger the stable and version builds . after that, you should probably go into dockerhub and delete all versions prior to the latest and maybe the last 2 named versions. All other tags can go.

TBH, I am not owner of that docker hub account. @captn3m0 is. So probably that message is for him.

Looks like everything is working.
gj @Bockiii and @captn3m0 !


belinda-closet-nestjs-02-78-creator_add_products_endpoint

Resolves #78
I want to update the add product endpoint to allow users with the CREATOR role to add new products from the front end.

So I went ahead and tested this on my own in postman and mongodb, as you can see below a user can't add a new product but a creator can.


Web app improvements/enhancements

[ ] Advanced filtering (#148)
[ ] Translation (Use Google Translate?) (#152)
[ ] Search (mis)spelling, fuzzy string search (#141)
[ ] Provide legitimate alternative version that meets accessibility guidelines (AKA new fpdcc.com, Q4 2017) (#124)
[ ] Refine sign/activity icon sizes at different zoom levels (especially mobile) (#106)

Re-opening the individual issues and closing this. It is easy to track issues when they are separated.  Grouping can be done using Milestones, Projects, tags, etc.


Fix error response for unsupported grant type error

This PR updates integration test for unsupported grant type error response. oauthErrorMsg for unsupported grant type has been changed to not.authorized.for.requested.grant.type with https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1901.

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2955912554

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2955912554
Status: success


feat: edit documentation

BREAKING CHANGE: edit the CONTRIBUTING.md doc

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: