Update October2018Update.md

OPS Build status updates of commit 87135d7:
:clock10: Preparing: average preparing time is 43 sec(s)

OPS Build status updates of commit 87135d7:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit 87135d7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/release-notes/commercial/October2018Update.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 893fd7c:
:clock10: Preparing: average preparing time is 43 sec(s)

OPS Build status updates of commit 893fd7c:
:clock10: Incremental building: average incremental building time is 18 sec(s)

OPS Build status updates of commit 893fd7c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/release-notes/commercial/17763.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/October2018Update.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


RailsAdmin 3.0 design is confusing after upgrade

Describe the bug
After updating to RailsAdmin 3.0, I was so confused by the new very contrasted design that I was convinced that something was wrong with my assets because of the Webpacker migration. I spent some time trying to fix it.
I had to install the dummy app with 2.x and 3.0 to understand that this design was in fact expected behaviour.
RailsAdmin 2

RailsAdmin 3

Maybe that's something that should be slightly improved out-of-the-box? (no more flashy blue?)
Another solution would be to add a screenshot somewhere so that people knows what to expect after an upgrade.
I know that "nice design" is very relative but if you are interested, I may try to add a few CSS styles so that the 3.x version looks more like the 2.x version (smoother colors and improved padding).
Please let me know.
Reproduction steps
Fresh install of RailsAdmin 2 and RailsAdmin 3
Expected behavior
A relatively close design.
Additional context
Thanks a lot for this great project! 😉

This can be done by adding a variables.css.scss and adding
// Keep info and primary colors the same as Bootstrap 3
$primary: #428bca;
$info: #5bc0de;

// Force light color for top-nav links
$navbar-dark-color: white;

// Contrast ratio used to calculate color for text within elements (ie. buttons)
// https://getbootstrap.com/docs/5.0/customize/sass/#color-contrast
$min-contrast-ratio: 2;

(not perfect, but close - I'll update the theming docs as well to provide some better direction)

Just added another configuration point in https://github.com/railsadminteam/rails_admin/commit/126f7ac79b2ce7846cbbed7bbca1cc26dfe46fb6. By using this achieving the similar appearance will be easier.


Langchain integration

Is it possible to integrate sqlcoder with langchain?
I tried a couple of approaches:
Approach1:
llm = HuggingFaceHub(repo_id="defog/sqlcoder-7b-2",huggingfacehub_api_token="", model_kwargs={"temperature":0, "max_length": 512})
db_chain = SQLDatabaseChain.from_llm(llm, db, verbose=True)
db_chain.run('question')
Approach2:
tokenizer, model = get_tokenizer_model("defog/sqlcoder-7b-2")
prompt = generate_prompt(question, prompt_file, metadata_file)
eos_token_id = tokenizer.eos_token_id
pipe = pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
max_new_tokens=300,
do_sample=False,
return_full_text=False, # added return_full_text parameter to prevent splitting issues with prompt
num_beams=5, # do beam search with 5 beams for high quality results
)
hf_pipe = HuggingFacePipeline(pipeline=pipe)
db_chain = SQLDatabaseChain.from_llm(hf_pipe, db=db, prompt=PROMPT, verbose=True)
db_chain.run('question')
Apporach1 didn't work because the model is not loaded on the hf inference endpoint and would require a pro subscription
Approach2 didn't work because of an internal hf tokenizer error.
Can you help suggest a solution that integrates langchain with sqlcoder?

may be u can try ollama?

Ollama works fine with langchain

Ollama works fine with langchain

However, ollama does not provide the sqlcoder-7b-2 model. I deployed and ran this model manually on the cloud computing platform, but there are still problems, such as GPU memory overflow.

rt


AttributeError: 'ParameterString' object has no attribute 'startswith'

I am trying to run this tutorial as it is and always run into AttributeError: 'ParameterString' object has no attribute 'startswith', when json.loads(pipeline.definition()) is executed.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-32-d1b69f80bc6f> in <module>
      1 import json
      2
----> 3 json.loads(pipeline.definition())

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline.py in definition(self)
    319     def definition(self) -> str:
    320         """Converts a request structure to string representation for workflow service calls."""
--> 321         request_dict = self.to_request()
    322         self._interpolate_step_collection_name_in_depends_on(request_dict["Steps"])
    323         request_dict["PipelineExperimentConfig"] = interpolate(

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline.py in to_request(self)
    103             if self.pipeline_experiment_config is not None
    104             else None,
--> 105             "Steps": list_to_request(self.steps),
    106         }
    107

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/utilities.py in list_to_request(entities)
     51     for entity in entities:
     52         if isinstance(entity, Entity):
---> 53             request_dicts.append(entity.to_request())
     54         elif isinstance(entity, StepCollection):
     55             request_dicts.extend(entity.request_dicts())

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/steps.py in to_request(self)
    497     def to_request(self) -> RequestType:
    498         """Updates the request dictionary with cache configuration."""
--> 499         request_dict = super().to_request()
    500         if self.cache_config:
    501             request_dict.update(self.cache_config.config)

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/steps.py in to_request(self)
    349     def to_request(self) -> RequestType:
    350         """Gets the request structure for `ConfigurableRetryStep`."""
--> 351         step_dict = super().to_request()
    352         if self.retry_policies:
    353             step_dict["RetryPolicies"] = self._resolve_retry_policy(self.retry_policies)

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/steps.py in to_request(self)
    118             "Name": self.name,
    119             "Type": self.step_type.value,
--> 120             "Arguments": self.arguments,
    121         }
    122         if self.depends_on:

/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/steps.py in arguments(self)
    478             self.estimator._prepare_for_training(self.job_name)
    479             train_args = _TrainingJob._get_train_args(
--> 480                 self.estimator, self.inputs, experiment_config=dict()
    481             )
    482             request_dict = self.estimator.sagemaker_session._get_train_request(**train_args)

/opt/conda/lib/python3.7/site-packages/sagemaker/estimator.py in _get_train_args(cls, estimator, inputs, experiment_config)
   2038         train_args = config.copy()
   2039         train_args["input_mode"] = estimator.input_mode
-> 2040         train_args["job_name"] = estimator._current_job_name
   2041         train_args["hyperparameters"] = hyperparameters
   2042         train_args["tags"] = estimator.tags

/opt/conda/lib/python3.7/site-packages/sagemaker/estimator.py in training_image_uri(self, region)
   3034         trains the model, calls this method to find the hyperparameters.
   3035
-> 3036         Returns:
   3037             dict[str, str]: The hyperparameters.
   3038         """

/opt/conda/lib/python3.7/site-packages/sagemaker/image_uris.py in get_training_image_uri(region, framework, framework_version, py_version, image_uri, distribution, compiler_config, tensorflow_version, pytorch_version, instance_type)
    497
    498     if tensorflow_version is not None or pytorch_version is not None:
--> 499         processor = _processor(instance_type, ["cpu", "gpu"])
    500         is_native_huggingface_gpu = processor == "gpu" and not compiler_config
    501         container_version = "cu110-ubuntu18.04" if is_native_huggingface_gpu else None

/opt/conda/lib/python3.7/site-packages/sagemaker/image_uris.py in _processor(instance_type, available_processors, serverless_inference_config)
    366         )
    367
--> 368     if instance_type.startswith("local"):
    369         processor = "cpu" if instance_type == "local" else "gpu"
    370     elif instance_type.startswith("neuron"):

AttributeError: 'ParameterString' object has no attribute 'startswith'

Converting ParameterString to str like,
pipeline = Pipeline(
    name=f"HuggingFaceDemoPipeline",
    parameters=[
        str(model_id),
        str(dataset_name),
        str(processing_instance_type),
        processing_instance_count,
        processing_script,
        training_entry_point,
        training_source_dir,
        training_instance_type,
        training_instance_count,
        evaluation_script,
        threshold_accuracy,
        epochs,
        eval_batch_size,
        train_batch_size,
        learning_rate,
        fp16
    ],
    steps=[step_process, step_train, step_eval, step_cond],
    sagemaker_session=sagemaker_session,
)

results in TypeError: Pipeline variables do not support __str__ operation. Please use .to_string()to convert it to string type in execution timeor use.expr to translate it to Json for display purpose in Python SDK.
Is there a way to solve this?

It seems that the error is coming from the sagemaker-sdk itself and was introduced in the past.
Could you open an issue in https://github.com/aws/sagemaker-python-sdk?
As a workaround, you could try installing sagemaker==2.48.0, since that's the version which we used for the workshop

I was able to solve the issue by installing sagemaker==2.77.1 on Pytorch 1.10 Python 3.8 CPU Optimized notebook environment.


[SPARK-46747][SQL] Avoid scan in getTableExistsQuery for JDBC Dialects

What changes were proposed in this pull request?

SPARK-46747 reported an issue that Postgres instances suffered from too many shared locks, which was caused by Spark‘s get table exist query. In this PR, we supplanted "SELECT 1 FROM $table LIMIT 1" with "SELECT 1 FROM $table WHERE 1=0" to prevent data from being scanned.
Why are the changes needed?

overhead reduction for JDBC datasources
Does this PR introduce any user-facing change?

no
How was this patch tested?

existing JDBC v1/v2 datasouce tests.
Was this patch authored or co-authored using generative AI tooling?

no

Thank you @dongjoon-hyun, merged to master

Thank you @yaooqinn , @dongjoon-hyun . Can this patch be pushed to older versions as well, thank you.

For me, this looks like a perf improvement, @bala-bellam .
However, I will not object if someone backports this.

Thank you, @dongjoon-hyun; I backported this to 3.3/3.4/3.5.
Hi @bala-bellam. Considering you are still in 2.3, as I suggested in JIRA comments, you can backport this to your in-house branch.

I just noticed that the latest release of branch 3.3 is 3.3.4, so there will be no official 3.3.5 release that comes out with this patch.

That's too bad.

We are bound to older version because we are stuck with EMR. And we have been moving to EMR 6.8, which comes with 3.3.0.

However, the latest EMR also provides Spark 3.5.0 (emr-7.0.0) and (Spark 3.4.1) emr-6.15.0. I believe AWS support team is capable of delivering next Apache Spark releases without any issues.

https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-spark.html

Given that the situation, it seems that you have another non-Spark blocker issues in your production to block you from upgrading your EMR. Please try to fix it first. You need to catch up the latest EMP and Spark version first while you are waiting, @bala-bellam .


[Bug?] Rounded Border issue for custom nitro profiles

Left bottom border is the only flat border for some reason

i never really paid attention to this, but since i changed the background to something a bit darker now its a bit more apparent? idk since when this began, it only happens with custom profiles for other people though :)

fixed at some point


Add logic for parsing the s3_path properly

A s3_bucket might simply be something like s3_bucket_name or it might contain subdirectories as in s3_bucket_name/my_subdir. Mothership is now doing some trickery to parse that string and call aws s3 cp and aws deployment create with the right arguments.

The work in the following PR, https://github.com/codeship/mothership/pull/6079, changes the AWS deployment models to directly call the scripts within this repo (aws-utilities). Since mothership will now pass the entire string (with subdirs) we need to update the scripts to accommodate that.

The current scripts do not support subdirs.

That's awesome! :shipit:
Shall we possibly update the UI for deployments slightly to claim that we actually support subfolders in buckets, e.g. here https://github.com/codeship/mothership/blob/aab324130fda7700dbdb529f6a0704f74392355d/app/views/s3_deployments/_s3_deployment.html.slim#L17
Given the effort you put into making this solid, I reckon we should also make an effort communicating it better? :)

@LarsFronius what's the weird case you are thinking about? I think we're also doing some validation on mothership.

@nunopato I am thinking about just changing https://github.com/codeship-library/aws-utilities/blob/master/deployment/test/elastic_beanstalk/integration-test#L27 and https://github.com/codeship-library/aws-utilities/blob/master/deployment/test/code_deploy/integration-test#L40 up to use an s3 bucket with a subdirectory, to trigger your codepaths for splitting the s3_bucket into the bucket name and the subdirectory in the integration tests.

@LarsFronius I did that but changed the code back to the current S3. The problem with having both is that the build time increases a lot. We cannot have multiple CodeDeploy deployments in parallel.


is there any large project build with this boilerpate?

is there any large project build with this boilerpate?

Is that an issue?

@zamrq Is that an issue?

Yes. I legally cannot say which ones, but there's a lot of big companies using this boilerplate (including the biggest of them all) for huge projects.


winscp and rust remote desktop install problem

Describe the bug
I selected winscp and rust remote desktop but the script doesn't install them.
To Reproduce
select winscp and rust remote desktop
click start install
crickets  (aka asks me to select programs despite them being selected)
Expected behavior
installation
Screenshots
...
Additional context
I'm using the latest version ofc via git checkout

What happens when you run the script directly from the repository?
iwr -useb https://christitus.com/win | iex

well, pretty much the same

Also, idk if it is of any use, but the terminal output is
====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Winget is Installed...
Winget Already Installed

Will be resolved as soon as the hotfix gets merged

@conkerts as the issue is resolved, please close the issue


rp: relocate programs implicitly during load

this removed the RelocatedProgram construction step from pio uses. there's not all that much to be said for the extra step because the origin can be set on the input program itself, and the remaining information exposed by RelocatedProgram can be exposed from LoadedProgram instead (even though it's already available on the pio_asm programs, albeit perhaps less convenient). we do lose access to the relocated instruction iterator, but we also cannot think of anything this iterator would actually be useful for outside of program loading.

needs rebase


Use terminationDrainDuration in MeshConfig.defaultConfig

Istio upstream drops TERMINATION_DRAIN_DURATION_SECONDS since 1.10
https://github.com/istio/istio/commit/f6502508b04c38f9678c300821dd54e439b832ed.
/kind cleanup

Current latest-mesh test always fails with TestDestroyPod* as https://testgrid.k8s.io/r/knative-own-testgrid/serving#istio-latest-mesh this patch should fix it.

Would this change mean we don't drain properly on 1.9.* or does the new config work there too?

Thank you! The new config works on 1.9.* (istio-stable) so applied it on 1.9 as well.

/cc @ZhiminXiang @arturenault


Consoles: Fix broken Node Overview page

This was just a matter of rearranging the components on the Node Overview page to match the layout of the Prometheus Overview page. I also removed an unneeded closing tag.
Fixes #8876

Thanks, do you want to fix node-disk.html as well while you are at it?

node-cpu also seems to have an issue with the graph going behind the menu :/

Sure, I'll take a look.

I found what might have been the issue you saw, but only for a second across all node pages. It only covered the very top, so I'm not sure if that's what you were referring to.

I believe the issue with the menu behind the graph is fixed now, or at least I can't reproduce it.

I still see the glitch, and on the CPU page I see it also but not every time O_o

It was intermittent but then I stopped seeing it and thought I had solved it

I can't reproduce, although I know it's there

Okay, I will try to have another look. I think some pages still have unclosed html tags.

Yeah, I can go over and try to fix some of that stuff.

Thanks!


Add metrics to Call Details

Add a display of metrics that include:

Number of calls
Percentage blocked
Percentage allowed

Example metrics:


HSEARCH-4947 - fixing loading jar files on windows

HSEARCH-4947

Thanks for the PR, but this doesn't seem like the right way to fix this as other tests are now failing.
I'll let @marko-bekhta have a look when he's back on a Windows-enabled workstation, and I'll personally try to set up a Windows CI.

Superseded by #3730. Thanks again!


Not Working - Windows 10 - Gimp 2.8.16

All icons appear black.
I copied the theme to C:\Users\Username\.gimp-2.8\themes and changed the preferences to use this theme.
Screenshot -

Thanks for opening an issue. Looks like there's an issue with paths on Windows. A PR is welcomed.

I don't know much about theming Gimp but noticed that all the themes I had were using png images and this one uses svg. I copied one of the png's from another theme into the image folder of this one and edited the imagerc and that image showed up with all the others still being blank.

Yes this is due to missing support for vector icons in the Windows build of GIMP. According to the 2.9.4 Release Notes:

Vector icons are an experimental feature, available after using the --enable-vector-icons build configure option.

I don't know whether it is possible to extract the build configuration options from the executable (gimp-console-2.8.exe --version --verbose doesn't do the job), but I guess this option either was not enabled during build, or is not supported for Windows at this moment. Note that I've never created a Windows build of Gimp, so I'm not going to fix Gimp.
As a workaround, I've batch-converted the .svg files to .png and modified the imagerc file accordingly by globally replacing ".svg" with ".png". Batch conversion is pretty easy when using the svg2png npm package. When npm is already installed, you can do this from a Windows command prompt (adapt path to your needs):
npm i -g svg2png
cd "%HOMEPATH%\.gimp-2.8\themes\gimp-hidpi\images"
for %f in (*.svg) do svg2png -w 32 -h 32 -o %~nf.png %f

Thanks for adding these details @bartvanandel

Thanks @bartvanandel! Mine were a bit too small, so I changed a couple of the parameters like this:
for %f in (*.svg) do svg2png -w 64 -h 64 -o %~nf.png %f
Basically, changed the 32 to 64 for width and height.

If you don't have Node installed, you can use Inkscape:
cd .gimp-2.8\themes\gimp-hidpi\images
for %f in (*.svg) do @"\Program Files\Inkscape\inkscape.com" -f %f -e %~nf.png -w 32 -h 32 -y 0.0

Adjust the size (32) to fit your display resolution.
Remember to open imagerc and replace all .svg with .png


[FEATURE] .get/.set for checkButton

For simplicity could we just access a checkButton with  .get/.set(True) functions?
As an alternative to creating a variable for them. (framework could do this automatically)
Same way we can read/write content of Entry boxes without variables.
Creating variables is mandating, naming them, keeping them in sync etc.
Advanced users could still use variables.

This would be nice but changing the signature of ttk.Chekbutton and any built in Tk widgets for that matter is beyond the scope of this framework. If you need this feature, try creating your own custom widget with those methods added.


switch inject to sum

In certain cases I get an error for inject(&:+) however things work fine for inject(:+) and sum. This change to use sum seems to solve it for me (and I otherwise have to use a monkeypatched version which is a bit of a shame).

Is there a reason you chose to use inject(&:+) overall?

for example:
irb(main):004:0* [1,2,3].inject(:+) => 6 irb(main):005:0> [1,2,3].sum => 6 irb(main):006:0> [1,2,3].inject(&:+)

Hi there!
Thanks for the PR!
Which ruby version are you using there? Our tests run against 1.9+ and some basic stuff against 1.8 so it'd be odd for the tests not to catch. And I think Symbol#to_proc was added in 1.9? So it seems odd to cause failures.
The change should be good regardless, just wondering myself.

Thanks for the quick response! I am on Ruby 2.3.0 using active_support core_ext. Based on the definition of sum here I think they even define sum using inject(:+) due to an issue with ruby 2.4 omitted identity in inject. Not sure why this would not be caught by the tests in ruby 2.3.3 though. Might be that it only comes up with active support?

tobi@speedy ~ $ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
tobi@speedy ~ $ irb
irb(main):002:0> [1,2,3].inject(&:+)
=> 6
irb(main):003:0> require 'active_support'
=> true
irb(main):004:0> require 'active_support/core_ext'
=> true
irb(main):005:0> [1,2,3].inject(&:+)
=> 6

Doesn't seem to be, that said I also installed the newest active_support... anyhow it's just an interest thing, the change should be good and most likely even faster either way.
Thanks!

thank you!!


Unable to install software via apt

Hey there,
I tried to install nano via apt install nano and it seems like its using the docker containers etc directory because it says that /etc is a readonly filesystem
logs:
root@84055d82-3975-455f-b6b5-32d46bc74f57:~# apt install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  spell
The following NEW packages will be installed:
  nano
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
1 not fully installed or removed.
Need to get 0 B/544 kB of archives.
After this operation, 2269 kB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
Setting up libc-bin (2.28-10+deb10u1) ...
Updating /etc/nsswitch.conf to current default.
cp: cannot create regular file '/etc/nsswitch.conf': Read-only file system
dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@84055d82-3975-455f-b6b5-32d46bc74f57:~#

Solution found. If you use proot --root-id -R /home/container to execte all commands it will work


No test file test.ipynb

Hi.
The root folder doesn't contain any test.ipynb to test and make sure the installed packages are working properly as mentioned in the course 18. Run Some Code.

Still having this issue? Works fine for me. Did you read the Note carefully?
`
NOTE: This is DIFFERENT from  https://github.com/udacity/CarND-Term1-Starter-Kit.git
git clone https://github.com/udacity/CarND-Term1-Starter-Kit-Test.git
cd CarND-Term1-Starter-Kit-Test
`
Starter-Kit and Starter-Kit-Test are different repositories.

As noted above, that's a different repository; closing out.


[FEATURE REQUEST] Context outside of requests

Is your feature request related to a problem? Please describe.
Currently, nestjs-pino can't add context to Nest.js microservices, CRON calls etc.
Describe the solution you'd like
Ability to somehow set context (by decorator or some function) of non-request calls.
Describe alternatives you've considered
Theoretically, it's possible to access library internals, access AsyncLocalStorage in storage and manually set it for current async context.

duplicate #803


User should be able to deploy Karavan to an AWS Kubernetes cluster

@mgubaidullin , Can you assign this ticket to me?

The current implementation makes use of .yaml files in karavan-cloud/AWS folder. Implementation depends on the creation of 1 cluster Node.

Should we close this issue and create a new one to support AWS installation via the operator?

Yes, please


(graphviz) Outdated

Graphviz iz outdated due to upstream changes. It requires as far as I can see full rewrite which at the end should invoke dot -c in admin console.

Binaries: https://www2.graphviz.org/Packages/stable/windows/
Changelog: https://gitlab.com/graphviz/graphviz/-/blob/master/CHANGELOG.md#2441-2020-06-29

It now provides both x32 and x64 cmake builds:

https://forum.graphviz.org/t/new-simplified-installation-procedure-on-windows/224

FYI the Graphviz maintainers are currently trying to assess the delta in functionality between the 2.38 release and 2.44.1: https://forum.graphviz.org/t/windows-x86-x86-64-builds/305/6

@Smattr
Are you saying for someone to go ahead and work on fixing the update script? The forum thread doesn't make it clear.

I think there's no reason to hold off on updating the Chocolatey script if you have time to work on this. However, be aware there has been lots of turbulence in the Graphviz world between the 2.38 release and the 2.44.1 release. There are likely binaries that ship in the 2.38 release that are missing from the 2.44.1 release. Users who are upgrading may find this surprising.
If you post a PR for this and tag me in it, I can review the changes from a Graphviz perspective.

One other thing, we've had users reporting the 2.44.1 installer is detected by several AV programs. The general thinking is that this is a false positive, but we have limited ability to evaluate these results or influence them: https://gitlab.com/graphviz/graphviz/-/issues/1773.

@Smattr
I will work on updating the update script, but the install/zip files being flagged by VirusTotal is disturbing.
This might not cause issue for FOSS users of chocolatey, but paid users of chocolatey could be denied update/install of the program.
Please keep us updated on the Issue #1773

@RedBaron2 I agree, the amount of anti-virus scanners getting triggered on VirusTotal is disturbing.
And for the chocolatey repository it is way to high (12/53 for the zip archive, and 22/70 for the executable) without a sufficient reason for the flagging (just saying false flags would not be a sufficient reason in this case).
Until there is sufficient reason, or the amount gets less than 10 (then it can be reasoned with false flags) this package should NOT get updated on chocolatey.org.
/cc @gep13 @pauby

Further to what @AdmiringWorm has mentioned, we are in the process of fully adding the package-scanner into the package moderation process.  As such, any package with greater than 10 detections from VirusTotal will be pushed back to the maintainer to investigate.  It will be possible to exempt a package that has greater than 10 detections, but this will be required on a per package version basis.

Sounds like a good idea. In the meantime, Magnus Jacobsson has done some painstaking work jumping through the hoops to get AV vendors to acknowledge and remove the Graphviz false positives. Some (or all) of the installers you may want to pull for Chocolatey should now be detection free: https://gitlab.com/graphviz/graphviz/-/issues/1773

Magnus Jacobsson has done some painstaking work jumping through the hoops to get AV vendors to acknowledge and remove the Graphviz false positives

That is inspirational :) Awesome work guys.

Working on the new update script. This will include the development --pre build for both builds stable and development
I will need to do the finishing touches later this week.

I know it is recommended too have packages be embedded, but to update this package is it absolutely necessary?
/cc @majkinetor @AdmiringWorm
Just looking to see if changing it to be downloaded is that bad.

Just looking to see if changing it to be downloaded is that bad.

Yes, its that bad. Why is embedding it a problem ?

@RedBaron2 https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/master/CONTRIBUTING.md#114-embed-a-package-if-allowed
changing it to a non-embedded package is not acceptable when it can be embedded.

https://chocolatey.org/packages/Graphviz/2.44.1


Add default norm_eps=1e-5 for convnext_xxlarge, improve kwarg merging for all convnext models

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


duration,builtins: fix interval cast involving years to match postgres

PR: https://github.com/cockroachdb/cockroach/pull/43923
From release notes:

Previously, intervals cast to integers and floats would rely on a year being 365 days. To match extract('epoch' from interval) behavior in PostgreSQL/CockroachDB to 365.25 days, casting to integers and floats now values a year at 365.25 days in seconds instead of 365 days. [#43923][#43923] {% comment %}doc{% endcomment %}

Time fixes https://airtable.com/tblD3oZPLJgGhCmch/viwNg2fK3NU3DUY6Z/recgAULbWY1898miw

Fixed by #6785.


Supporting swipe gestures for smartphones

One of the biggest issues of CSSS currently is the complete lack of support for mobile devices. I'm not really that experienced with mobile, so I'd welcome a pull request about this.
Requirements would be:
a) It's small (so no huge libraries please like jQuery touch or whatever)
b) It works on at least Safari iPhone and Opera Mobile on touch-enabled devices.
Thanks in advance to anyone that decides to work on this.

7 months later... how do you envision this behaving? I have a still-a-bit-buggy implementation of left/right swiping firing your .previous() and .next() actions. I was thinking about trying to get up & down swiping to fire .start() and .end(), perhaps.
I also don't have an Opera Mobile device handy, so just testing in iOS for now.
So far, unminified, it's just a shade under 2k with no external dependencies.

I think left/right swiping firing .previous() and .next() is fine, I'd be wary of easily triggering .start() and .end() as they might cause someone to lose where they were in the slideshow (sure, they can press back but still...)
I'd love it if the swipe was real swipe, i.e. you got feedback while dragging by viewing part of the next/previous slide. But I guess that's too hard and would add too much clutter in the codebase :(
2k is fine, as long as it doesn't become 10k after fixing the bugs :)


Breaking on new Nix version

With nix 2.21.3 our CI started failing unable to vendor new cargo deps:
building '/nix/store/yq9yfzmf7nvyq4nbb29fwm4a9zrgzq7r-jsonrpsee-types-0.24.0.drv'...
building '/nix/store/v456bqs4n5ab1yg7nkis1j63468lzq52-jsonrpsee-wasm-client-0.24.0.drv'...
jsonrpsee-types> error checking the existence of https://tarballs.nixos.org/sha256/0feba38a9878d70ccccd2f54b534b15e861d6caa7911d59abfd3e0d8b4de091f:
jsonrpsee-types> curl: (6) Could not resolve host: tarballs.nixos.org
jsonrpsee-types> trying https://static.crates.io/crates/jsonrpsee-types/0.24.0/download
jsonrpsee-types>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
jsonrpsee-types>                                  Dload  Upload   Total   Spent    Left  Speed
jsonrpsee-types>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-types> Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
jsonrpsee-wasm-client> error checking the existence of https://tarballs.nixos.org/sha256/e0da29b570ad645e72c6098716719d2ef58d51a8eb0f084ac5e43a5763839542:
jsonrpsee-wasm-client> curl: (6) Could not resolve host: tarballs.nixos.org
jsonrpsee-wasm-client> trying https://static.crates.io/crates/jsonrpsee-wasm-client/0.24.0/download
jsonrpsee-wasm-client>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
jsonrpsee-wasm-client>                                  Dload  Upload   Total   Spent    Left  Speed
jsonrpsee-wasm-client>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-wasm-client> Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
jsonrpsee-types>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-types> Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
jsonrpsee-wasm-client>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-wasm-client> Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
jsonrpsee-types>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-types> Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
jsonrpsee-wasm-client>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-wasm-client> Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
jsonrpsee-types>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
jsonrpsee-types> error: cannot download jsonrpsee-types-0.24.0 from any mirror
error: builder for '/nix/store/yq9yfzmf7nvyq4nbb29fwm4a9zrgzq7r-jsonrpsee-types-0.24.0.drv' failed with exit code 1;
       last 14 log lines:
       > error checking the existence of https://tarballs.nixos.org/sha256/0feba38a9878d70ccccd2f54b534b15e861d6caa7911d59abfd3e0d8b4de091f:
       > curl: (6) Could not resolve host: tarballs.nixos.org
       >
       > trying https://static.crates.io/crates/jsonrpsee-types/0.24.0/download
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
       > Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: static.crates.io
       > error: cannot download jsonrpsee-types-0.24.0 from any mirror
       For full logs, run 'nix log /nix/store/yq9yfzmf7nvyq4nbb29fwm4a9zrgzq7r-jsonrpsee-types-0.24.0.drv'.

I suspect this is a Nix breakage as we've just upgraded our CI runners. Downgrading to 2.18 fixes the issue.
I don't expect this being immediately actionable, just wanted to notify. Chances are this is yet another Nix version breakage of which there were many in recent months.

Thanks for the report! Yes I have also experienced too much breakage on newer releases that I've taken to pinning my CI to use whatever is in nixpkgs-unstable (currently the 2.18.x series)...

curl: (6) Could not resolve host: static.crates.io

As for this particular issue it seems like it was a DNS/networking issue?

Definitely recommend reporting it to the Nix repo directly in that case!

Going to close this as I don't think there is much we can do here; still recommend opening an issue about this upstream!


Non-square images error

Hi Thanks for this implementation
Would be possible to run bit-diffusion with non-squared images ?
ex:
20x200
Lucas

@LucasSilvaFerreira hey Lucas! yes it is possible, if one can finely specify which dimensions to downsample (and which ones not to)
do you still need this feature for your DNA diffusion work?

Hi Phill,
I think I was using bit diffusion in the incorrect context. But I was able
to adapt it to noon squared images by modifing a little your code.
On Thu, Oct 20, 2022, 8:07 PM Phil Wang @.***> wrote:

@LucasSilvaFerreira https://github.com/LucasSilvaFerreira hey Lucas!
yes it is possible, if one can finely specify which dimensions to
downsample (and which ones not to)
do you still need this feature for your DNA diffusion work?
—
Reply to this email directly, view it on GitHub
https://github.com/lucidrains/bit-diffusion/issues/1#issuecomment-1286294670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABL2CGMCMKT73PGTFXAVNX3WEHNDZANCNFSM6AAAAAAQBWPSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


project changes

:tada: This PR is included in version eslint-config-ruppy-jest-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version eslint-config-ruppy-react-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version eslint-ruppy-v2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Reverse swap: add dynamic statuses

Dynamically determine the reverse swap status based on known fields and current block height.
The key points are:
A) The reverse swap model (what fields we store about a rev swap)
https://github.com/breez/breez-sdk/blob/3dfa492800bbcfc5e2a57b269ffab071ca76f14d/libs/sdk-core/src/models.rs#L128-L153
I tried to include the ones:

needed to determine the state (possible errors, funds confirmed or not, etc)
needed to describe the reverse swap (amount, claim address, etc)

Are these fields enough? Are more necessary?
B) The possible statuses
https://github.com/breez/breez-sdk/blob/3dfa492800bbcfc5e2a57b269ffab071ca76f14d/libs/sdk-core/src/models.rs#L180-L207
Are these states enough? Are more necessary?

Rebased on the latest reverse-swap-feature branch, which was rebased on latest master

As per our latest sync:

I simplified the status handling
reduced locally stored data (instead, lookup what's needed from Boltz)
implemented the "success case" scenario

@roeierez @yaslama the PR is ready for review.


Don't crash on invalid link schemes

Initial attempt at #6, which is currently blocking https://github.com/PyconUK/2017.pyconuk.org/pull/48

Thanks for this!  Tests are failing on Travis, but pass for me locally... any bright ideas?

Oh hang on, they are failing for me locally too.  I was running the wrong tests...
I can see what the problem is, so I'll fix up and merge.

Fixed in #12.  Thanks!


Warning. Error encountered while saving cache on Sass file change

Hi there!
I'm using the Rails 4.2 beta so apolgies if this is premature, but everytime I make a change to a sass file and reload the page, my console is filled with messages like this:
Warning. Error encountered while saving cache b6ab29b2e6a08b27f8f3d063ccca61de1fd7e704/_global.scssc: can't dump anonymous class #<Class:0x007fe882920730>

The page will still load but it adds a considerable amount of time to the request. Superficially it looks like it's related to this: https://github.com/sstephenson/sprockets/pull/536 and https://github.com/sass/sass/issues/1028
More of my Gem deets:
Rails 4.2 from Github Master
gem 'rails', github: 'rails/rails'
gem 'sprockets-rails', :require => 'sprockets/railtie'
gem 'sass-rails', '~> 5.0.0.beta1'
gem 'sass', '~> 3.3.0'
gem 'uglifier', '>= 1.3.0'
gem 'compass-rails', '~> 2.0.1'
gem 'bourbon', '3.2.3'
gem 'foundation-rails', '<IP_ADDRESS>'

Because of annoying gem interdepencies we can't switch to Sass 3.4 until they fix problems with Foundation, and we can't switch back to Sass 3.2.x because of compass-rails 2.0.x.
I'll be happy to provide any more info. Thank you!

Ref: rails/sprockets-rails#182 and rails/sass-rails#292


chore: removed wrong refs to the "graphql-depth-limit" from README.md

Closes https://github.com/sonofmagic/graphql-depth-limit-ts/issues/31

Thank you for pointing out this error. This PR has been merged.


Add pointing arrows towards the world points that's already established

Could be helpful for a more visual queue where you should run when you teleport.

Added more details and relevant RuneLite API's to the PR comment


[AutoPR network/resource-manager] [Hub Generated] Review request for Microsoft.Network to add version 2018-12-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5265

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/1455


Intermediate Algorithm Scripting: Sum All Primes

Describe your problem and - if possible - how to reproduce it
Not pass the test case sumPrimes(977) even the logic is correct
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes
Tell us about your browser and operating system

Browser Name: Google Chrome
Browser Version: Version 66.0.3359.139 (Official Build) (64-bit)
Operating System: window 8

If possible, add a screenshot here

` function sumPrimes(num) {
var arr=[];
var d=0;
//noprotect
for(var i=1;i<=num;i++)
{  //noprotect
var c=0;
//noprotect
for(var j=1;j<=i;j++)
{
//noprotect
if(i%j===0)
c++;
}
if(c==2)
{
//noprotect
arr[d]=i;
d++;
}
}
var num=arr.reduce(function(total,curr){
return total+curr;
});
//document.write(arr+""+num);
return num;
}
sumPrimes(977);`

@NiteshTyagi were you able to get this to pass? Or have any idea what the problem is?

duplicate of 17374, can be closed.

Thank you for reporting this issue.
Closing this as a duplicate, if you think I’m wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.


Update to 1.9.3 and 1.10 rc1

Added dcos_ip_detect_public_filename for 1.10+ because this was the only version that this was working.

Tested install and upgrade. Works successfully!


fix the bug about the param num_update in optimizer.py

Hi，
this is the pulll request for my issue  https://github.com/dmlc/mxnet/issues/5059

more lint errors

Can one of the admins verify this patch?

can you resolve the conflicts? we can merge it once ci tests are passed

I'm going to close this PR since there is no activity for more than 2 months. But please feel free to re-open it and update this branch with the master.


[Model] steg

This should be categorised under Skins.  Roger McManus is the author of the model; EvilGrins is the author of the skins in this archive.

URL: https://unrealarchive.org/models/unreal-tournament/S/steg_bda0368b.html
Hash: bda0368bfa550c11d37cfaee2c21b314771ef2b4
Current name: steg

Since it includes the original model and suitable .int file, just with additional skins added, I've left it under models, but changed the author to "Roger McManus (skins by EvilGrins)"


[web]: flutter run freezes after building with a syntax error

In VS Code 1.38 with the Flutter plugin installed.
When folllowing Write your first app - Step 4: Creating an infinite scrolling ListView, I saved at step 2 after adding _buildSuggestions and ran flutter run -d chrome. That gave me an (expected) error that _buildRow is not defined:
> flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
Building application for the web...                                10.8s
Error compiling dartdevc module:flutter_hello|lib/main.ddc.js

packages/flutter_hello/main.dart:43:18: Error: The method '_buildRow' isn't defined for the class 'RandomWordsState'.
 - 'RandomWordsState' is from 'package:flutter_hello/main.dart' ('packages/flutter_hello/main.dart').
Try correcting the name to the name of an existing method, or defining a method named '_buildRow'.
          return _buildRow(_suggestions[index]);
                 ^^^^^^^^^

AssetNotFoundException: flutter_hello|lib/main.ddc.js
Failed after 279ms
Attempting to connect to browser instance..
(This is taking an unexpectedly long time.)       ⣯

Then, I add the _buildRow method described in step 3, save and nothing happens; it's still doing the loading animation. Pressing R also does nothing, so I have to kill the process and run flutter run -d chrome again. After that, the app works like expected.

Had to revert PR, will reland shortly


tests update

Coverage increased (+10.07%) to 79.86% when pulling 3c08307b0b7798540900bc849e76bfc6a3e55250 on tboro:master into fd602f96fdec5d69721190a0e491f83eaf426d99 on vegas-cmf:master.


Reflection mangling

This is a first attempt to implement the basis needed to handle overloads (runtime demangling). The whole reflection parser was rewritten in a more modular way, and the AST processing showld be now easily extensible. Also support for annotations on the C++ sourcecode was added, implementing C# attributes in top of them.

Oh, sh.. I missed that "please rework" commit.

Ignore the CI results, the build is broken since I introduced the Boost.Coroutine2 example (I don't know why the binary deps are different, it works on Windows). Also the make run-all-examples command may fail since the reflection example doesn't fulfill the contract (First param is -1, precondition says it should be > 0).

GCC 5.3 ICEs when using ctti::type_id_t's hash as template parameter of Reflection template instead of the reflected type. I changed that from type to type id to be able to get all reflection data at compile-time given the class name.


still problems using nested carousels

Hey,
I'm trying to use nested carousels right now. The top level ul works just fine but the one that lies inside of one of its li-Tags lacks the jcarousel-clip und jcarousel-container divs. Additionally no next and preview buttons are created but the superior ones seem to have some strange influence though.
I read about this problem and its solution before (#61) but that doesn't seem to fix this particular bug (?) as I'm using the newest version of jCarousel.
Thanks,
Nico

Could you post a url where i can see your setup?

Nah sorry, my client was impatient - I simply implemented an ordinary fade instead.
I stupidly deleted all the old files so that I can't deliver the 'defect' setup, sorry...
But thanks for your replay anyway!


[1.5.n] make the fcp exception more accurate

when the fcp connections is already 0 and then detach_volume is called again,
exception.SDKObjectNotExistError error should be raised and returned to the zcc caller
instead of SDKGuestOperationError.
so that the caller layer can check the error and ignore as needed.
Signed-off-by: dyyang<EMAIL_ADDRESS>


Export animations when decompiling vmdls

Frame class doesn't load morphs, so only bone channels are exported.

Gltf does handle morphs, did you look at that? Is there something extra that is not yet handled?

I don't see a way to get morph animation data through the Animation class, Frame class only contains data for bones too. I can see morphs in exported gltfs, but they don't seem to be animated either (unless I'm missing something obvious?)

Morph exists separately (LoadExternalMorphData), I'm not entirely sure if there is any morph data that can exists on animations/frames.

They can, one example would be the @catwalk_nag animations of models/creatures/vortigaunt/uncombined_vortigaunt.vmdl_c in HLA.
I've managed to implement MorphChannels in another branch, but I feel like there'd need to be some refactoring on some of the animation classes for a clean implementation. I won't make a pr for it, but it's here if you'd want to take a look at how it works: https://github.com/krotter0/ValveResourceFormat/tree/animation_export_flexes

There might be more success in refactoring that by adding support for animating morphs in the model viewer, that should propagate all the necessary changes that then can be used by the exporter.

I merged this, do feel free to figure out morphs. Jump on discord if you want to discuss it


 Delete the others, including these Instructions.
{{cask_file}} represents the cask file you’re submitting/editing (if applicable).
If there’s a checkbox you can’t complete for any reason, that’s OK. Just explain in detail why you weren’t able to do so.

Changes to a cask
Editing an existing cask

[ ] Commit message includes cask’s name (and new version, if applicable).
[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} left no offenses.

Adding a new cask

[ ] Checked there aren’t open pull requests for the same cask.
[ ] Checked there aren’t closed issues where that cask was already refused.
[ ] When naming the cask, followed the token reference.
[ ] Commit message includes cask’s name.
[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} left no offenses.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.

Changes to the core

[ ] Followed hacking.md.

add Axure RP 8.app

Read and follow the template.

Thank you for the contribution. It needed some fixes, so they were made in 110f3ef48d77573e2ca00b8a379de87a97065215. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

On another note, your lack of reply, together with an underused github account and a suspicious URL, makes me not trust you and wonder if this was an attempt to introduce a malicious URL to homebrew-cask.


Show case HRV Eclipse yourself

eclipse yourself HRV see also web as they alos share your iHealth data with an trainer its somehow a little bit same user case as Vizy Health see youtube Fitness AI

Training is visualised

Links

web page
twitter EclipseYourself
youtube @EclipseYourself-dp3wr

review of the app

Inbox
Youtube Inbox in Eclipse Yourself

you can classify your training
and add custom tags

Share your data with a trainer

video Insights in Eclipse Youtself

iwatch support


(docs): Improve Readme

Description:
The current Readme is auto-generated and lacks user-friendliness.
Objective :
Customize the Readme to make it more contributor-friendly.
Tasks:

Review existing Readme and identify areas for improvement.
Organize and structure the Readme for better readability.
Add clear instructions for contributors on how to get started.
Mention ways to contact and communicate with the project maintainers.

Hi @Arindam200 I want to work on this issue. So kindly assign this issue to me.

@tushar1-000 Go ahead

Hi I have submitted the pull request you can check it.


Dont seem to be able to attach a template

Did paperspace change the template process? I cannot assign the fastai template during the creation of the machine. Later it does provide the option to assign a template, but I still cannot access public templates.
I am on a windows machine and the European Server. I have asked paperspace support.

@eckhardtpasenau

Only the P5000 machines are available at the moment.
Requests take about 4-5 hours to be processed.

If it's taking any longer, you may want to go with the AWS option.


Also accept srcSet with capital S

Because at the end, srcSet the correct attribute name:
https://facebook.github.io/react/docs/dom-elements.html#all-supported-html-attributes

And because; it makes it a little bit more easy to map objects from a <img {...props} /> to the lightbox from react-images.


Add capacity to String constructor

per https://ruby-doc.org/core-2.7.2/String.html
Motivation
Optimization in Stripe pay-server
Test plan
See ruby docs

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NUjrNU6vDLJkQS
→ https://go/builds/bui_NUjrqNuiRneYBj


Add Chinese support in mobile app (RN)

As a user
I want to see all content (name of categories, fields, text description) of the page in Chinese if the chosen language for the device is Chinese
So that I don't need to make the translation of the objects I need to deal with
AC

The user's device has Chinese localization -> The application displays all content in Chinese
The user's device has Russian localization -> The application displays all content in Russian
the user's device has any other non-default language -> The applications displays all content in Russian
the user changes the localization of the device into Chinese -> The application displays all content in Chinese

<EMAIL_ADDRESS>

Verified successfully on RN on production (v.1.3.4 (24) - iphone 13


added my name to the list

updated date to 2018 and added my name (wasn't showing for some reason)


Refactor and add support for inpainting

This is a big PR. It's too big and I know it, but I'm too lazy to break it up into smaller pieces. I'm happy to go through multiple revisions here. The three main changes are:

Extracting common logic into their own methods
Adding support for the inpainting API
Expanding examples in the README

I broke some things, notably:

I used f-string's, which require Python 3.6+
I removed a special batch generation tracking log that was printed by generate_amount()
I changed the image download type from jpg to png

Thanks for the PR and all the feature ideas in the new issues. Really improves this package a lot ❤


[Roll Forward] Tighten the error tolerance requirement by 100x

Related https://github.com/grpc/grpc/pull/26588 https://github.com/grpc/grpc/pull/26593 https://github.com/grpc/grpc/pull/26624
This PR bumps the max_concurrent_requests, so the additional concurrent requests generated by the tighter error tolerance won't be dropped by the xDS LB policy.

Known failures: https://github.com/grpc/grpc/issues/26595 https://github.com/grpc/grpc/issues/26637


Request for feedback

As this is my first formal teaching experience, your feedback on the plus and minus of my teaching would really help me a lot. Especially, it would help in teaching your batch itself in the following semester.
Please be critcial on the review and no kind of feedback will be taken in the negative sense.

Should I offer something better than choki-choki from next time?

Enjoyed every lecture. Thorough teaching and awesome assignments.
Thank you.

amazing lectures, well curated content. Its good that you started from the basics and led us through. The small points that you shared from your experience really help. Precise answers. Thanks.
P.S. - Speaking for myself, choki-choki isn't much of a motivation :p

The assignments were fun and the class was extremely informative. I faced a few problems in the hands-on parts. Stuff like training a CNN could have been taken up in a bit more detail.  Also I loved your case studies on various kinds of networks.
Overall a great experience for me. Maybe you can come teach us again. :)

The classes were very well done, neatly organized and were fun to attend!
Next time maybe we can have some practice/practical/demo sessions also, would like to learn more about good practices and techniques to follow!
Also would love to have you back for the advance course! Please do try!
PS: choki-choki will do just fine :-)


settings.lua:Line 139: nil function called in menu

I was in menu for 5-10 minutes, and when i clicked settings button i got an error and weird text at Number2(0, 0). Probably buttons, text, etc was created but didn't changed position.

Here's screenshot from settings.lua file:

Maybe issue in render quality button.

aduermael, i think u need to check modal.contentStack and self._attr isnt going nil or not. Or maybe #modal.contentStack  not greater than 0.


Fin

Summary

Change Type

Check List Before Merging

[ ] This PR passes all pre-commit hook validations.
[ ] This PR is fully tested and regression tests are included.
[ ] Relevant documentation has been updated.

Additional Information

Codecov Report
Attention: Patch coverage is 42.45810% with 103 lines in your changes missing coverage. Please review.

Project coverage is 44.56%. Comparing base (eccc91d) to head (e065ea7).

Files with missing lines
Patch %
Lines

machinery/objects.go
51.94%
26 Missing and 11 partials :warning:

machinery/phases.go
0.00%
17 Missing :warning:

machinery/comparator.go
67.50%
10 Missing and 3 partials :warning:

machinery/validation/object.go
0.00%
13 Missing :warning:

machinery/validation/phase.go
0.00%
12 Missing :warning:

machinery/validation/violations.go
0.00%
9 Missing :warning:

machinery/errors.go
81.81%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   44.08%   44.56%   +0.47%
==========================================
  Files          15       16       +1
  Lines         980     1333     +353
==========================================
+ Hits          432      594     +162
- Misses        503      681     +178
- Partials       45       58      +13

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


laravel installer not working with 5.5,0?

Laravel Version: 5.5.0
PHP Version: PHP 7.0.22-0ubuntu<IP_ADDRESS>

Description:
I usually do
laravel new blog

to create a new app including the .env file with a generated key. When testing today to check out 5.5 it does not complete the env creation. But there is no error. This is how it usually work, or have I bad memory? I have updated the installer. Running on ubuntu 16.04.
Steps To Reproduce:
laravel new blog

composer global update

Try running a composer self-update to update to the latest version of Composer.

I didnt have access to composer self-update but old composer was indeed the issue. I used the following process to make it work.
sudo apt-get remove composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/bin/composer
laravel new blog

Thanks to all!

While @ajthinking 's answer solved the issue for me as well, it's better to follow install instructions from the original source: https://getcomposer.org/download/

WARNING: Please do not redistribute the install code. It will change with every version of the installer. Instead, please link to this page [...]

I found running composer global update as solution for this issue, but actually running composer global self-update  solved the issue for me


Use null|type instead of ?type in PHPDocs

Keeps it consistent throughout the project

:+1:

Searching for " ?" gives a lot of false positive. I used "@[a-z]+ \?" (with PhpStorm) which gave 18 matches on master, including 15 test cases so 3 actual usages.

still, ?foo is preferred type. as it's real type in php, null|foo is not, as it cannot be typehinted

I thought the project was following PSR-5? Which says it should be x|null not ?x

PSR-5 allows any type that is proper in PHP.
?foo is proper in PHP.

Strictly speaking, I'm not sure that ?foo is a valid syntax according to PSR-5, especially PSR-5 types' ABNF definition.
Also, using ? may bring weird cases when a value can be of several different types in addition to null. Imagine a function with a parameter that can an instance of Foo, an instance of Bar or null. Would you write it ?Foo|Bar? or maybe ?Foo|?Bar? IMO Foo|Bar|null is better in such case.

Also

When the "Type" consists of multiple types then these MUST be separated with the vertical bar sign (|). Any interpreter supporting this specification MUST recognize this and split the "Type" before evaluating.

Again, PHP 7.1. If you could use sth as a type, it's great, you can put it to docblock directly. if not, you need to make such monsters like Foo|Bar|null.
yet.. for nullable type, ?Foo is valid as-is from PHP point of view.

When the "Type" consists of multiple types then these MUST be separated with the vertical bar sign  (|)

exactly,  X|Y, eg Foo|null, is type alternation that cannot be typehinted in php function prototype.
Yet, ?X, eg ?Foo, is proper typehint for php function prototype (since 7.1). it is multiple type, it's single type.
Psr5 happened before PHP 7.1, so it doesn't contain example with ?X.

just my POV:
Foo|Bar|null feels like something is off, either Foo and Bar should be interfaced to the same FooBarInterface or the type hint should be dropped because it doesn't add much.
That said, I really like the intend of this PR to unify how we should type hint and check if new fixers could be in order following PHP7.1.

@SpacePossum , our peace maker

So what's the status on this? A huge majority of the PHPDocs in this project have null|x instead of ?x. PSR-5 obviously doesn't say anything about it due to the last update being before 7.1. I think the best course of action is to normalise all usages to null|x for now, and (if|when) PSR-5 is updated to clarify, a better decision can be made

Makes sense, we never update our CS if we don't have rules/fixers for it.
So I'm :+1: to proceed with this PR and start a new one to create a fixer that takes care of null|X to ?X (and we could discuss null|X|Y fixing there)

and (if|when) PSR-5 is updated

It won't gonna happen. PSR-5 is abandoned.
null|X|Y shall not be touch.

Thank you @ntzm.

If anyone will end up in this PR:
Please do not make any furtner normalization of ?Foo vs Foo manually in our repo, go to https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3562 instead ;)


Fixes #3640 by shuffling endpoints in the round-robin load balancer

Starts the round-robin index at 0, but shuffles the endpoints OnUpdate to prevent every minion in the cluster from pegging the first pod behind a service at the same time.
I'm not super excited about how I updated the unit tests, but they pass.

Thanks! Would it be possible for you to run the e2e test? It requires a cloud provider that supports multiple minions (so, not local-up-cluster.sh).
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/devel/development.md
Otherwise, LGTM.
/cc @thockin

Sure thing, running the e2e tests now.

One failure, the kubernetes RO test failed with a "rate limit exceeded" error. @bgrant0607 Should I re-run?
I0120 17:05:02.981654   10521 driver.go:137] Running test 5 TestKubernetesROService
E0120 17:05:03.034754   10521 roservice.go:33] unexpected error listing services using ro service: request [&{Method:GET URL:https://<IP_ADDRESS>/api/v1beta1/proxy/services/kubernetes-ro/api/v1beta1/services?namespace=default Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[] Body:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:<IP_ADDRESS> Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil>}] failed (503) 503 Service Unavailable: Rate limit exceeded.
I0120 17:05:03.034818   10521 driver.go:140]         test 5 failed
...
I0120 17:06:46.794423   10521 driver.go:43] 1..9
I0120 17:06:46.794427   10521 driver.go:46] ok 1 - TestPodUpdate
I0120 17:06:46.794431   10521 driver.go:46] ok 2 - TestPodHasServiceEnvVars
I0120 17:06:46.794434   10521 driver.go:46] ok 3 - TestBasic
I0120 17:06:46.794437   10521 driver.go:46] ok 4 - TestClusterDNS
I0120 17:06:46.794441   10521 driver.go:48] not ok 5 - TestKubernetesROService
I0120 17:06:46.794444   10521 driver.go:46] ok 6 - TestKubeletSendsEvent
I0120 17:06:46.794447   10521 driver.go:46] ok 7 - TestPrivate
I0120 17:06:46.794450   10521 driver.go:46] ok 8 - TestNetwork
I0120 17:06:46.794453   10521 driver.go:46] ok 9 - TestImportantURLs
F0120 17:06:46.794457   10521 driver.go:151] At least one test failed
2015/01/20 17:06:46 Error running goe2e.sh: exit status 255
not ok 7 - goe2e.sh
...
2015/01/20 17:10:16 Passed tests: basic.sh[1/1] certs.sh[1/1] guestbook.sh[1/1] liveness.sh[1/1] monitoring.sh[1/1] pd.sh[1/1] private.sh[1/1] services.sh[1/1] update.sh[1/1]
2015/01/20 17:10:16 Flaky tests:
2015/01/20 17:10:16 Failed tests: goe2e.sh[0/1]
2015/01/20 17:10:16 1 test(s) failed.

For now, yes, please try again. I'll file some issues about this failure.

Another run through and the test that failed above passes, but others have failed. The 100% successful e2e test run eludes me. Do larger GCE instances help? I'll give that a shot.

2015/01/20 21:02:32 Passed tests: basic.sh[1/1] certs.sh[1/1] goe2e.sh[1/1] guestbook.sh[1/1] liveness.sh[1/1] monitoring.sh[1/1] pd.sh[1/1] update.sh[1/1]
2015/01/20 21:02:32 Flaky tests:
2015/01/20 21:02:32 Failed tests: private.sh[0/1] services.sh[0/1]
2015/01/20 21:02:32 2 test(s) failed.

Sadly e2e is very flaky these days, I believe. Maybe @thockin or @satnam6502 has suggestions.
The previous failure doesn't look like it could be due to this change.
What is the services.sh failure?

services.sh was, I believe, a timeout waiting for "endpoints to propagate"

Waiting for endpoints to propagate
Checking if 4ac53e79-a12e-11e4-b3bf-42010af0e0b34ac57a88-a12e-11e4-b3bf-42010af0e0b34ac69370-a12e-11e4-b3bf-42010af0e0b3  == 4ac53e79-a12e-11e4-b3bf-42010af0e0b3 4ac57a88-a12e-11e4-b3bf-42010af0e0b3 4ac69370-a12e-11e4-b3bf-42010af0e0b3

Waiting for endpoints to propagate
Checking if 4ac53e79-a12e-11e4-b3bf-42010af0e0b34ac57a88-a12e-11e4-b3bf-42010af0e0b34ac69370-a12e-11e4-b3bf-42010af0e0b3  == 4ac53e79-a12e-11e4-b3bf-42010af0e0b3 4ac57a88-a12e-11e4-b3bf-42010af0e0b3 4ac69370-a12e-11e4-b3bf-42010af0e0b3

Waiting for endpoints to propagate
Checking if 4ac53e79-a12e-11e4-b3bf-42010af0e0b34ac57a88-a12e-11e4-b3bf-42010af0e0b34ac69370-a12e-11e4-b3bf-42010af0e0b3  == 4ac53e79-a12e-11e4-b3bf-42010af0e0b3 4ac57a88-a12e-11e4-b3bf-42010af0e0b3 4ac69370-a12e-11e4-b3bf-42010af0e0b3

Waiting for endpoints to propagate
Endpoints did not propagate in time

Those strings seem to be the same minus some whitespace delimiters in one and not the other. :/ Bug in e2e?

There was a short period when private.sh would not have worked because of
changes to the image it tested -- but I think it should be fixed now.
Please let me know if you see any failures involving basic.sh, private.sh
or in the Go tests for TestBasic or TestPrivate.
Cheers,
Satnam
On Tue, Jan 20, 2015 at 9:36 PM, Steve Reed<EMAIL_ADDRESS>wrote:

Those strings seem to be the same minus some whitespace delimiters in one
and not the other. :/ Bug in e2e?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3651#issuecomment-70787152
.

Huh. Seems likely.
I'm running e2e on head. I'll let you know whether I see the same types of failures. Regardless, none of these failures seem like they could be caused by this change.

Latest run:
2015/01/20 21:40:07 Passed tests: basic.sh[1/1] certs.sh[1/1] goe2e.sh[1/1] guestbook.sh[1/1] liveness.sh[1/1] monitoring.sh[1/1] pd.sh[1/1] private.sh[1/1] update.sh[1/1]
2015/01/20 21:40:07 Flaky tests:
2015/01/20 21:40:07 Failed tests: services.sh[0/1]
2015/01/20 21:40:07 1 test(s) failed.

Same services.sh failure (waiting for endpoints to propagate, but it prints what look like equivalent lists of pod ids).

After getting the same endpoints failure in the service.sh e2e test I'm starting to think that my random ordering of the endpoints is affecting this test. I think the e2e test isn't properly sorting the pod IDs, so I'm going to spend some time looking at fixing that. I'll add to this PR if I find anything.

what cloud provider are you using?  services.sh doesn't work on vagrant,
FYI.
On Wed, Jan 21, 2015 at 7:47 AM, Steve Reed<EMAIL_ADDRESS>wrote:

After getting the same endpoints failure in the service.sh e2e test I'm
starting to think that my random ordering of the endpoints is affecting
this test. I think the e2e test isn't properly sorting the pod IDs, so I'm
going to spend some time looking at fixing that. I'll add to this PR if I
find anything.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3651#issuecomment-70860753
.

GCE

I think the container that serves the hostname changed and isn't writing a trailing newline, which is breaking my e2e tests.

Updated PR to include hack to services.sh that gets my e2e tests passing. I tested it out with a duplicate echo (in case the serve-hostname container output changes) and the tests still passed, so this should be safe. Happy to back that out thought if you'd rather see that in another PR.
TL;DR e2e tests pass 100%
@bgrant0607 PTAL

FYI, TestKubernetesROService is failing at head. It's not this change.

Also, regarding the missing newline, apart from a short period when kubernetes/serve_hostname was accidentally made equal to kubernetes/serve_hostname:1.0 I think you should observe the previous behaviour with kubernetes/serve_hostname (i.e. with a newline at the end of the hostname) whereas kubernetes/serve_hostname:1.0 does not have the newline.

And, there was a period where e2e was failing due to expecting more minions than were created. Sigh.
Our latest Jenkins run of e2e passed, and we disabled TestKubernetesROService. Update and try again.

Given that this is an outside contribution essential by a volunteer, I'm
willing to take a larger risk on merging than average.  Can we just merge
here and deal with the breaks if they occur?  I think Steve has already
gone above and beyond the call in running e2e here...
Alternatively I can take over running e2e for this PR...
Brendan
On Jan 21, 2015 4:26 PM, "Brian Grant"<EMAIL_ADDRESS>wrote:

And, there was a period where e2e was failing due to expecting more
minions than were created. Sigh.
Our latest Jenkins run of e2e passed, and we disabled
TestKubernetesROService. Update and try again.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3651#issuecomment-70949832
.

On Wed, Jan 21, 2015 at 10:19 PM, Brendan Burns<EMAIL_ADDRESS>wrote:

Given that this is an outside contribution essential by a volunteer, I'm
willing to take a larger risk on merging than average. Can we just merge
here and deal with the breaks if they occur? I think Steve has already
gone above and beyond the call in running e2e here...
Alternatively I can take over running e2e for this PR...
Brendan
On Jan 21, 2015 4:26 PM, "Brian Grant"<EMAIL_ADDRESS>wrote:

And, there was a period where e2e was failing due to expecting more
minions than were created. Sigh.
Our latest Jenkins run of e2e passed, and we disabled
TestKubernetesROService. Update and try again.
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/pull/3651#issuecomment-70949832>

.

--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3651#issuecomment-70976597
.

Whoa, whoops. Did I rebase when I should've merged?
Anyway, @thockin PTAL, this latest version uses slice util functions to do the copying and sorting, keeping the roundrobin code change to a minimum.

I'm going to close and re-open this, I didn't mean to push all of these commits into the branch. :/

LOL


GROUP BY error on PostgreSQL

I'm runnning "bican/roles": "2.1." with "laravel/framework": "5.1." on PostgreSQL and when I use @permission in my templates I get the following error:
SQLSTATE[42803]: Grouping error: 7 ERROR: column "permission_role.created_at" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: select "permissions"., "permission_role"."created_at" as "p...
^ (SQL: select "permissions"., "permission_role"."created_at" as "pivot_created_at", "permission_role"."updated_at" as "pivot_updated_at" from "permissions" inner join "permission_role" on "permission_role"."permission_id" = "permissions"."id" inner join "roles" on "roles"."id" = "permission_role"."role_id" where 0 = 1 or "roles"."level" < 0 group by "permissions"."id") (View: resources/views/layout.blade.php) (View: resources/views/layout.blade.php)
The problem is in HasRoleAndPermission.php->rolePermissions() on line 165. The query selects all columns, but on the groupBy part only groups by permission id. I'm not quite sure which of the columns the remaining code needs, but those need to be added into the groupBy expression.

I've now done some further tests and by updating line 168 to
->groupBy([$prefix . 'permissions.id', 'pivot_created_at', 'pivot_updated_at']);
fixes the problem.

:+1:  for this

Nice, to here u resolved it!

Insert this in repository, please.

Done. Thanks.


Migrate from Mandrill to Amazon SES

Mandrill will no longer be free after April 27th, 2016.
Plan to use AWS SES because AWS key/id's are required anyway. (and it's pretty cheap)

Closing - fixed


Connect with twitter

Abstract
Added a feature to post a tweet with a generated image using Twitter Web Intent.
Motivation
It is mainly assumed that generated images will be posted to Twitter, but currently it is necessary to go to the Twitter application and post the images by oneself. Therefore, the following four steps must be taken before an image is attached to a tweet.

Copy the image
Go to the Twitter application.
Display the pop-up to create a tweet
Attach the image

It is very time-consuming to do this for every tweet.
Approach
Use Twitter Web Intent. This approach requires only one step before an image can be tweeted.

Click "Tweet" button.

Problem and Solution
Since Twitter Web Intent does not allow direct pasting of images, it is necessary to use some method to represent images as text. The following two methods can be used to represent images as text, but in consideration of edge cases, I chose the first method.

Represent an image as the URL of the Twitter image server

In Twitter, at least images associated with tweets is represented as this URL.
Pros: Wide range of sizes to view entire images
Cons: Low scalability (to support other applications such as Slack or Discord, a separate button must be added)

Set OGP for each image URL

Pros: High scalability
Cons: Difficult to implement, large image size can be seen through

The steps from when the tweet button is clicked until the Twitter Web Intent window opens are roughly as follows.

Client: Click the "Tweet" button
Client: Send a request to the server
Server: Upload an image to the Twitter server
Server: Post a tweet with the image
Server: Extract "pic.twitter.com/...", a URL of the image, from the response
Server: Respond with the extracted URL
Client: Open Twitter Web Intent with the URL

NOTE

Twitter API version to be used is v1.1

Uploading images is currently only possible with that version.

Authentication is performed by a library of my own making.

I couldn't find a maintained OAuth 1.0a (Authentication) library.


In order to use ruff: do I need to install ruff manually? If not where is it installed?

I didn't installed ruff, and I don't see it listed by pip3.
But when turned on I'm getting some (not many) complaints about code formatting, like unused variables, too long line etc.
with ruff issue ID like: ruff(F841).
I'm trying to understand what is going on here.
Where is the ruff? How can I configure it (add exemptions, etc...). Or maybe these messages don't come from ruff?

The package creates a virtual environment in package storage with all required packages installed there. It doesn't affect your global python.
You configure stuff through LSP-pylsp settings or through linter's own configuration files per linter's documentation.


refactor(ecmascript-plugins): update serverdirective signature

Description
Update missing signatures.

Is there a split PR for this?

This is amending previous PR's mistake https://github.com/vercel/turbo/pull/4881


#83 student entity test 추가

Resolved #83

Codecov Report

Merging #84 (024cab4) into main (cd74cd2) will increase coverage by 5.49%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##               main      #84      +/-   ##
============================================
+ Coverage     11.98%   17.48%   +5.49%
- Complexity       14       27      +13
============================================
  Files            24       26       +2
  Lines           317      326       +9
  Branches          3        3
============================================
+ Hits             38       57      +19
+ Misses          279      269      -10

Impacted Files
Coverage Δ

...necia/domain/recruitment/domain/RecruitmentId.java
50.00% <50.00%> (ø)

...benecia/domain/recruitment/domain/Recruitment.java
80.00% <80.00%> (ø)

...its/dsm/benecia/domain/student/domain/Student.java
50.00% <0.00%> (+50.00%)
:arrow_up:

...domain/recruitment/code/RecruitmentStatusCode.java
60.00% <0.00%> (+60.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Keycloak unavailable undistinguishable from "Invalid login!"

This is not really an issue, but in the client it is not distinguishable whether
security.login(user, password)
failed because the keycloak server is down or because the password was wrong because both cases report the same Exception / message.

An invalid Login currently throws DolphinRuntimeException("Invalid login!") and a not reachable server will end in an DolphinRuntimeException with a different message. Yes, I think it makes sense to create a new exception type. Both Java & Spring already define a AuthenticationException so I think we should use a different name.

This issue was moved to rico-project/rico#9


Websocket error: lws_ssl_client_connect1

Hello,
I compiled everything and can use the REST functions without issues, but I'm struggling to find a solution to getting the websocket examples to work.
Without changing the original code, the connection fails with lws_ssl_client_connect1.
If I add LCCSCF_ALLOW_INSECURE, there are no errors, but no data is received.
Any ideas on how can I debug/fix it?

Hi @lbandy , the error suggests that secure SSL session could not be established. I won't be surprised that insecure session is not implemented by Binance endpoint at all for obvious reasons. SSL may fail due to general reasons. The first thing to check is that your system clock is synchronized with an NTP server. Secondly, encrypted connections could be disallowed by your company or network provider - check that SSL works for you in general, e.g. GMail web interface.

Good day!
Seems like I have a simular? issue: REST works fine, but websockets don't. It fails to connect with events like that:
Firstly happens this:
<binance::Websocket::event_cb> LWS_CALLBACK_GET_THREAD_ID
with result
tid == 1
Then this:
<binance::Websocket::event_cb> LWS_CALLBACK_CLIENT_CONNECTION_ERROR
With
N: LWS: 4.1.4-srcinfo-cache, loglevel 7
N: NET CLI SRV H1 H2 WS IPv6-absent
E: SSL error: unable to get local issuer certificate (preverify_ok=0;err=20;depth=1)

After some googling I found something about "my system did not trust server certificate". Hmm... Any ideas?


Multi-gpu training

When I use one gpu for training, the process runs well. But when I use 4 gpus, changing gpus=4, it ran out of memory. How to adjust the code for multi-gpu training?

consider using the huggingface diffusers version which uses accelerate for optimization, see here https://huggingface.co/docs/diffusers/training/controlnet

all duplicates concerning "Multi GPU"
https://github.com/lllyasviel/ControlNet/issues/148
https://github.com/lllyasviel/ControlNet/issues/314
https://github.com/lllyasviel/ControlNet/issues/319
https://github.com/lllyasviel/ControlNet/issues/507

all duplicates concerning "Multi GPU"
https://github.com/lllyasviel/ControlNet/issues/148
https://github.com/lllyasviel/ControlNet/issues/314
https://github.com/lllyasviel/ControlNet/issues/319
https://github.com/lllyasviel/ControlNet/issues/507


[5.5][concurrency] Implement support for Task local exclusivity access sets.

The implemented semantics are that:

Tasks have separate exclusivity access sets.
Any synchronous context that creates tasks will have its exclusive access set merged into the Tasks while the Task is running.

rdar://80492364

CCC
Explanation: Exclusivity and concurrency are incompatible due to exclusivity relying on thread local storage to store exclusive access sets. This results in different Tasks potentially having the same access set (breaking the program model where we have not defined any such relationship) and also the possibility of an access associated with a task beginning on one thread and then ending on a different thread if the task runs on a different thread (causing the exclusivity runtime to crash since it can't find the access).
In this change, I fix these issues by:

Reserving 2 pointers in each AsyncTask to store an access set.
When the task begins executing on a thread, we merge its current access set into the exclusivity thread local access set and when the task ends, we unmerge the Task's access set from the exclusivity access set and serialize the task access set into the task. This is safe since we are guaranteed by the model that all async Tasks will be started from a synchronous context (when we switch tasks, we always pop to a sync context and then push the new context).

Scope: Without this change, Tasks will (depending if they are on the same thread) hit exclusivity violations and the runtime may hit nullptrs at runtime if an access for a Task begins on one thread and is ended on a different Thread that the task runs upon.
SR Issue: rdar://80492364
Risk: Medium. Since this is a semantic change, I think it is a medium risk change. That being said, I think the exhaustive testing significantly reduces the risk.
Testing: I wrote exhaustive tests of all of the cases that the runtime can hit. I provided both runtime tests and specific logging based FileCheck tests.
Reviewer: @mikeash
Example:
// This example crashes without the change since our two Tasks do not have separate exclusivity access sets.
@MainActor func callee2 (_ x: inout Int) async -> Void { ... }

@MainActor
func callee1(_ x: inout Int) async -> () {
    let handle = Task { @MainActor in
        // ==><==. Crash!!! Simultaneous Access?!
        await callee2(&global1)
    }
    await handle.value
}

@MainActor func test() async {
    await callee1(&global1)
}

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 0d4bd2ff5e97a1330f8c049e9a67337818520515

@swift-ci test

@swift-ci test

@swift-ci nominate


MM-39337 set allowFontScaling to TextInput components

Summary
Based on RN documentation allowFontScaling on TextInput should be set as true by default, but it does not seem to be the case anymore, this PR makes sure is enabled for every text input in the app.
Ticket Link
https://mattermost.atlassian.net/browse/MM-39337
Release Note
Fixed Text input font scaling to follow the OS setting

Expected behavior: Font scaling only applies when the font size is changed in the OS setting before starting to write in the text input
Note: @amyblais to determine if this should be included in a dot release or not after speaking with customer support.

Building app in separate branch.


API cleanup

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[x] Other?

I propose the following:

[ ] remove tl.partition -  will be still used internaly
[ ] remove pl.similary_plot  - remove completely with all underlying functions
[ ] remove pl.composition - remove completely
[ ] introduce cellrank.pl.{initial, terminal} states (or cellrank.pl.final_states) to match the low-level pipeline

Internally, there's some dead code (see gene importance or if we remove similarity plot, the counts/Cramer's V) that should also be removed.
@Marius1311 any thoughts on this? This is precursor to #351 so that we can finish that asap.

[ ]  Additional function parameters, change functionality or change defaults?
[ ]  New estimator in cr.tl.estimators?
[ ]  New kernel in cr.tl.kernels?
[ ]  New gene trend model in cr.ul.models?
[ ]  New plotting function in cr.pl?
[x]  Other?

I propose the following:

[ ]  remove tl.partition -  will be still used internaly

agreed. It's very important internally, but we don't need to expose it to the end user

[ ]  remove pl.similary_plot  - remove completely with all underlying functions

agreed.

[ ]  remove pl.composition - remove completely

disagreed. Let's keep it internally please.

[ ]  introduce cellrank.pl.{initial, terminal} states (or cellrank.pl.final_states) to match the low-level pipeline

agreed.

Internally, there's some dead code (see gene importance or if we remove similarity plot, the counts/Cramer's V) that should also be removed.

agreed.

@Marius1311 any thoughts on this? This is precursor to #351 so that we can finish that asap.


Telegram cannot grab audio files from upstream

Resolved by adding a post-hook for suisei-music workflow.