Custom cast class overrides the related column

Laravel Version
v11.1.1
PHP Version
8.3
Database Driver & Version
sqlite, pgsql, mysql
Description
When you return a new custom class in castable interface's get method, It overrides the related volumn whenever you use the column on the model object
Steps To Reproduce
create a class:
<?php

namespace App\Casts;

class TestCast {}

create a custom castable class and return the above class inside a get method:
<?php

namespace App\Casts;

use Illuminate\Contracts\Database\Eloquent\CastsAttributes;

class AsSetting implements CastsAttributes
{
    public function get($model, $key, $value, $attributes)
    {
        return new TestCast;
    }

    public function set($model, $key, $value, $attributes)
    {
        return [$key => json_encode($value)];
    }
}

Apply this to user's name column (you can add new column to the table doesn't matter)
User.php
protected $casts = [
    'name' => AsSetting::class,
];

I ran these in fresh laravel app:
php artisan db:seed
php artisan tinker

As you can see, when you use ->name, the name column becomes {} for no reason! It doesn't matter if the column type is json, string, etc. it is always overridden by the castable class.
This is really dangerous since this can flush data when you try to save the model after using the attribute.

Hi @foremtehan,
The framework is functioning as expected here. The issue arises from the incompatibility between your get and set methods.
When you access your custom cast using $user->name, an entry is added to the classCastCache array indicating that the class cast has been used. This utilizes your get method to convert the value {"test"} into new TestCast().
However, when you call $user in Tinker or perform an action on the model, such as $user->save() to persist the data into the database, the class cannot be inserted as is; it needs to be serialized.
For normal serialization Laravel uses PHP's __sleep() magic method to prepare the model for serialization. At this point, the $this->mergeAttributesFromCachedCasts() method is called, revealing the issue with your get and set methods.
A part of this method call involves using the custom cast setter to prepare your value. The resulting code essentially does this:
return json_encode(new TestCast());

Since you haven't specified how PHP should serialize your class, perhaps by implementing JsonSerializable, it converts it as best it can, taking class TestCast {} and converting it to {}.
When creating a custom cast, ensure that the output value from your get method can always be passed into your set method and result in the expected output.
I hope this clarifies things. If you have any follow-up questions, I’d be happy to help.

I didn't assign a value to the name column, so why would it trigger the set method on the castable class?
Additionally, note that I tested it, and the framework never invoked the set method when using ->name.

It doesn't trigger the set when you access it. But when you access you add an entry to the classCastCache array (see: HasAttributes.php:879
Then later on when it needs to serialize your model it calls the set (see: Model.php:2387 for the main method and HasAttributes.php:1823 for the set call.
Try it yourself. Access it with $user->name then access it again straight after. You'll see it doesn't overwrite. It only overwrites once you serialize it.

Overall, this is unwanted behavior. Just imagine using $user->name in your app, and then calling save() somewhere in your codebase afterward. Your data will be lost. I’ll let the maintainer decide whether to close this issue, but I have demonstrated the problem.

You control how the set behaves here so it's up to you to make it work how you want it to work. If you change your get to new TestCast($value), save that value inside the class then on your set retrieve it or implement JsonSerializable you will have no problems.
The comment for the set method even tells you this..

Prepare the given value for storage.

Overall, this is unwanted behavior. Just imagine using $user->name in your app, and then calling save() somewhere in your codebase afterward. Your data will be lost. I’ll let the maintainer decide whether to close this issue, but I have demonstrated the problem.

Is there a real world example of this? because in the end, get should cast to the object value you want it in, and set should use an object value to convert back to a value that can be stored in the database, which in your case isn't happening at all.


Pretected content error in Amazon prime video

Hi, I have the problem that in Amazon Prime Video when I want to play some content it tells me that I have a "protected content error". I would be very grateful if you could help me with this.

Try https://github.com/nativefier/nativefier/blob/master/API.md#widevine

I have read the documentation, it was fixed by adding --widevine when building the app.
It would be like this:
nativefier "https://www.primevideo.com/" --widevine

Try https://github.com/nativefier/nativefier/blob/master/API.md#widevine
Thank you, that solved the problem.


ActionBar Documentation is Incorrect

Versions

Python: 3.6.7
OS: Ubuntu 18.04
Kivy: v1.11.0.dev0
Kivy installation method: manual

Description
The documentation for kivy.uix ActionBar states:

An ActionView will contain an ActionPrevious ...

This implies that an ActionView will automatically include an ActionPrevious, but that is incorrect. The correct documentation should say:

An ActionView must include a child ActionPrevious ...

Actually, there are more errors in the ActionBar documentation. Here is a replacement for the entire second paragraph in the actionbar.py docstring:
An :class:ActionBar must contain an :class:ActionView with various :class:ContextualActionViews <kivy.uix.actionbar.ContextualActionView>. An :class:ActionView must contain a child :class:ActionPrevious which may have title, app_icon and previous_icon properties. :class:ActionView children must be subclasses of :class:ActionItems . Some predefined ones include an :class:ActionButton, an :class:ActionToggleButton, an :class:ActionCheck, an :class:ActionSeparator and an :class:ActionGroup.


Add Container Signing to Bumblebee

Version
No response
Linux Version
No response
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Currently Docker containers allow signing for security purposes. Bumblebee should allow users to verify the provenance of their programs.
Describe alternatives you've considered
No response
Additional Context
No response

Please see the following guides:

https://github.com/sigstore/cosign#ebpf
https://github.com/solo-io/bumblebee/blob/main/docs/getting_started.md#security


feat: print clang-format output

Still working on the feature so that it can support non-utf8 characters.

Should work on files with non-utf8 characters now

I just tried this out. This looks really cool!

Codecov Report

Merging #186 into master will decrease coverage by <.01%.
The diff coverage is 98.18%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
- Coverage   98.15%   98.15%   -0.01%
==========================================
  Files          12       12
  Lines         652      704      +52
  Branches       55       61       +6
==========================================
+ Hits          640      691      +51
- Misses         12       13       +1

Impacted Files
Coverage Δ

test/test-format.ts
100% <ø> (ø)
:arrow_up:

src/format.ts
98.95% <98.18%> (-1.05%)
:arrow_down:

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 d92f876...5c6f5f5. Read the comment docs.

cc/ @jplaisted


Dataset concatenate -  replace AddDim with AddDimWithStatus

Fixes: https://github.com/tensorflow/tensorflow/issues/58290

Thanks, now we are aligned more or less with my first impl.
Without compiling I was confused by the conditional initialization we already had in master:
https://github.com/tensorflow/tensorflow/blob/03fe5eb323e987facea6bd0767e1880a619d5ac2/tensorflow/core/kernels/data/concatenate_dataset_op.cc#L242-L244
But it was already useless in master as the constructors are the same:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor_shape.h#L532

Let me know if we need to rebase it or to extend with a test before merge...

A test would be great. Thanks

A test would be great. Thanks

At what level? Concatenate? Or more e2e like batch as the original ticket?

Either should be ok.

There is an error on copybara

@gbaned Do you have access to the copybara log?

@gbaned Can you see the log?

@gbaned Can you see the log?

Hi @bhack I can't see the log, I have re-triggered the checks and I will keep you posted if I can see. Thank you.

I did a manual import.

Actually, the automated import succeeded too, this time

Thanks


chore(remix-dev): remove unused chalk-animation dependency

@chaance already commented it out in 952b0ce3, but chalk-animation was still in dependencies list.
chalk-animation is also causing high severity vulnerabilities warnings, so let's just remove the dependency for now.

https://github.com/remix-run/remix/discussions/2505
https://github.com/remix-run/blues-stack/issues/24

Since we're using git, we can always get this back if we ever want to.

Aww, too bad. I really liked the animated Remix on the CLI.

@kiliman It's already gone from before v1.3.0

I think they dropped it on 1.3

It would be nice if they still displayed the version number though.
Remix 1.3, dropped the animation AND the version number.

@kiliman A PR for re-adding it could help you with that 😉

@kentcdodds is going to pick up where I left off in https://github.com/remix-run/remix/pull/2500 and will likely get this added there. I'd hold on any new PRs or updating this one in the mean time as that will change quite a bit on the implementation side.

Going to go ahead and close this for now 👍 Thanks!

@chaance it appears that while this was merged, and bot believes these changes are included in 1.4.0, they are in fact not: https://github.com/remix-run/remix/blob/v1.4.0/packages/remix-dev/package.json#L27.
Would you be able to take a look? Please forgive my ignorance if this is expected!

Can confirm that with v1.4.0 installed, I still see the package being pulled with the Grunge stack! Thoughts?

The changes were merged after we started the release process for 1.4.0, but the dependency has been removed on dev. The notice should disappear in the next release unless another of your dependencies pulls it in.

In case you need chalk-animation again, the issues have been fixed in version 2.0.0, and all dependencies are now up to date.
By the way, none of the security alerts were relevant because the affected functions / modules were not used in chalk-animation, but I agree that the alerts were annoying.
Have a good day! :+1:


Add some articles in the "Suggested Mental Health Articles to Read" section

Want to add some articles in the "Suggested Mental Health Articles to Read" section
Improving the responsiveness of the website
Improving the footer section
Please assign this issue to me @tarunsinghofficial

the website already has Suggested Mental Health Articles to Read its not show showing due to some bug.

Want to add some articles in the "Suggested Mental Health Articles to Read" section Improving the responsiveness of the website Improving the footer section
Please assign this issue to me @tarunsinghofficial
the website already has Suggested Mental Health Articles to Read its not show showing due to some bug.


How to require modules from string instead of static files?

What I want:
var n = require('module.exports = Date.now()');

I think the Node way should be working in React Native,
var m = new module.constructor();
m._compile('module.exports = Date.now()', 'now.js');
var n = m.exports;

but it's not, could you tell me how?

What you describe is very specific to node and is private API. You can use eval or new Function instead

@vkurchatkin Thanks, but it seems that eval doesn't support Destructuring.
eval("var React = require('react-native'); var {Text} = React; module.exports = Text;");

The code above will throw an error
Unexpected token {

That's because the JS interpreter doesn't support that feature of the language yet. Write ES5 or transform your code to ES5 before evaling it.

@ide Thanks man.


Add explicit instructions to install cvxopt

Fixes #74

Looks like stuff has been updated since I last tried, so agree this isn't needed


Non of the directives seem to work, what am I missing ?

Hi,
I have a very simple scenario. I want to show a select element if the device is mobile or tablet.
I have this code:
<select *showItDevice="['mobile','tablet']">
...
</select>

in my component I have imported the responsive module like this:
import { ResponsiveModule  } from 'ng2-responsive'
in my app module I have bootstraped the module like it is described in the docs:
import { ResponsiveModule } from 'ng2-responsive'
....

@NgModule({
    imports: [
        ResponsiveModule,
    ....

The problem is that this does not work. When I am on desktop I still see the element, when I try to inspect the element on chrome mobile emulator ( I don't know if the library works with it, does it ? ) I still see the element. What am I missing?
P.S.
I am using angular 4 and ng-responsive 0.8.4
Thanks!

I found the issue. You need to refresh the page when you change between devices.
You can close the issue.


WL-4539 Don’t fail elfinder when can’t access site.

We have secure sites which you can only access once you are 2 factor authenticated and so failing the whole connector request if one of the sites the user is a member of isn’t accessible is wrong. This is a 2 part fix, firstly we filter out the sites that can’t currently be accessed, secondly if someone does attempt to access one we just show it as empty.

The old request to fix this was #87


RestrictChildren does not honor modified TagName value

    [RestrictChildren("div")]
    public class MyTagHelper : TagHelper
    {

    }

    public class OtherTagHelper : TagHelper
    {
        public override void Process(TagHelperContext context, TagHelperOutput output)
        {
            output.TagName = "div";
        }
    }

Results in
The <other> tag is not allowed by parent <my> tag helper. Only child tags with name(s) 'div' are allowed.
<my>
    <other></other>

The check should instead be performed at runtime (rather than parse time) and the designer should flag these as warnings instead of errors.

O_o... Whaaaa, This seems like a horribad idea.

I could see honoring [OutputElementHint] however.

Ahh. We need to update the docs on that attribute to indicate it's a catch all tag helper.

@DamianEdwards We think this behavior is by design.


The dataset viewer associates the wrong audio to a sample

Describe the bug
When I filtered on some new audio datasets, I realized that sometimes the audio were  associated to the wrong sample.
It's easy to notice when playing the first sample of this filtered view:  view (see line_id = EN1321). You'll notice that the audio does not correspond to the transcription.
This also happens when navigating in a private mode.
I've verified manually that this was not a labeling error by sampling loading this dataset with datasets. This time the audio associated with the line_id = EN1321 and speaker_id=6136 was the correct one.
Steps to reproduce the bug
On Google Chrome, open this and look at line associated to line_id = EN1321.
Expected behavior
We expect the audio to corresponds to the transcription.
Environment info
Google Chrome, the 28th November!

Confirming it comes from the back-end: https://datasets-server.huggingface.co/filter?dataset=ylacombe/english_dialects&config=welsh_female&split=train&offset=0&length=5&&where=speaker_id=6136
The audio WAV file at https://datasets-server.huggingface.co/cached-assets/ylacombe/english_dialects/--/ed3d69abb765fd304ccdcc646ec6ca3c49740d15/--/welsh_female/train/62/audio/audio.wav doesn't correspond to the transcription:
{
      "row_idx": 62,
      "row": {
        "line_id": "EN1321",
        "audio": [
          {
            "src": "https://datasets-server.huggingface.co/cached-assets/ylacombe/english_dialects/--/ed3d69abb765fd304ccdcc646ec6ca3c49740d15/--/welsh_female/train/62/audio/audio.wav",
            "type": "audio/wav"
          }
        ],
        "text": "Pillow lavas are lavas that contain characteristic pillow-shaped structures that are attributed to the extrusion of the lava under water",
        "speaker_id": 6136
      }
}

The issue seems to be present as well on /rows: https://huggingface.co/datasets/ylacombe/english_dialects/viewer/welsh_female/train?p=1

line_id = EN1321

Since it's also in /rows it means the issue is in the Parquet files Oo

Are you sure the issue doesn't come from your dataset itself @ylacombe ? The Parquet files used for /rows are the ones you pushed to hub (copied to the refs/convert/parquet branch)

Ah yes it works with datasets indeed ! This requires more investigation

Ok I found the issue: the datasets-server returns the URL of the audio file at row index 62 instead of 162

Maybe related to:

#1920

I think that the issue was fixed by PR:

#2172

Could you please confirm, @ylacombe?

Indeed, it seems fixed!


Write a Python program to find volume of a cuboid

Description
Write a Python program to find volume of a cuboid
Volume of a cuboid = Length × Width × Height
Length : 2
Width  : 3
Height : 4

Volume : 24

How to contribute

Save the solution in find-volume-of-a-cuboid.py file
Add find-volume-of-a-cuboid.py file in find-volume-of-a-cuboid folder

Oh, and i volunteer here also :D

!assign


Perception module CyberRT to ROS

I try to run the perception module standalone and try to change the communication framework from CyberRT to ROS due to the consistency of my own framework. I know that ROS Bridge may be a possible solution for my problem but I do not prefer it right now. Do you have any suggestions for me or any documentation helpful for my problem?

@mertmerci Thanks for your interests in Apollo. Starting from Apollo 3.5, ROS is not supported in Apollo. Apollo itself does not support bridging between CyberRT and ROS. I'd advise that you seek help in ROS community. Thanks again.


Failed to get lease: leases.coordination.k8s.io "<node_ip>" not found

Description
Observed Behavior:
Karperter has been installed with Helm charts (v0.13.1) and it is running properly. When I try to deploy a test application to see it is working, Karpenter launches the EC2 instance but sometimes (random) the nodes stuck with the following message:
"Failed to get lease: leases.coordination.k8s.io "<node_ip>" not found"
Due to that node stuck with "NotReady" on EKS and the pods are not scheduled there. This issue is pretty random and in some pod deployments everything goes well.
NAME                         STATUS     ROLES    AGE   VERSION
ip-10-0-1-248.ec2.internal   Ready      <none>   65m   v1.27.3-eks-a5565ad
ip-10-0-2-18.ec2.internal    Ready      <none>   16h   v1.27.3-eks-a5565ad
ip-10-0-3-74.ec2.internal    Ready      <none>   71m   v1.27.3-eks-a5565ad
ip-10-0-6-59.ec2.internal    NotReady   <none>   67s

Reproduction Steps:
Karpenter on EKS with the following provisioner and nodeTemplate for testing:
---
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: eks-test
spec:
  ttlSecondsAfterEmpty: 60
  ttlSecondsUntilExpired: 604800
  limits:
    resources:
      cpu: 100
  requirements:
    # Include general purpose instance families
    - key: karpenter.k8s.aws/instance-family
      operator: In
      values: [c5, m5, r5]
    # Exclude small instance sizes
    - key: karpenter.k8s.aws/instance-size
      operator: NotIn
      values: [nano, micro, small, large]
  providerRef:
    name: default

apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  name: default
spec:
  subnetSelector:
    kubernetes.io/cluster/test: owned
  securityGroupSelector:
    kubernetes.io/cluster/test: owned

Test application:
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  labels:
    app: nginx
spec:
  replicas: 5
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.14.2
        resources:
          requests:
            cpu: "4"
            memory: 4Gi
        ports:
        - containerPort: 80

Versions:

Chart Version: v0.13.1
Kubernetes Version (kubectl version): v1.27.4-eks-2d98532

Can you upgrade to a more recent version of Karpenter to see if this issue still persists? v0.13.1 is old and we don't plan on making more changes to the v0.13.x series.

@tzneal I noticed the issue happened when Karpenter was trying to launch nodes on public subnets. I'm now forcing only private subnets to fix that. Already updated to the latest Karpenter version. We can close that issue.

Sounds good, feel free to re-open if you run into this again.


Sprial cannot be downloaded from spiral get-binary for Chinese users

the network will timeout when Chinese user to execute vendor/bin/spiral ， so a binary image should be added

Can you try to download it directly from GitHub? Is it being blocked by the Chinese firewall?

Can you try to download it directly from GitHub? Is it being blocked by the Chinese firewall?

It is not blocked by GFW of China, but it's very slow for Chinese developers to download assets from github(with s3 CDN).

Any recommendations? I'm not able to debug it from my end. We can increase the timeout.

My recommendations:

Download the binary from a mirror URL instead of github release. The problem is S3 storage used by github.
You can support an environment variable like SPIRAL_BINARY_MIRROR, when there is such variable in user's enviroment, use it. (Like puppeteer, node-sass, node-sqlite3...)

@wolfy-j You can contact "jsdelivr", they can provide CDN for spiral's binary. It works perfectly both inside and outside China.
See jsdelivr's readme:

We can work together and setup a custom configuration for your project. This way, you can have full control over your files and the ability to utilize the full power of jsDelivr.
This kind of custom hosting can be suitable for:

Binary hosting. Windows executable files and zips.
Frequently updated files.
Projects that can't follow jsDelivr file structure.
Some other use that will blow all of our minds.

Simply send an email to<EMAIL_ADDRESS>with a request for more information.
Current OSS projects using custom configs:

webjars
webpack webpackbin and codesandbox

Thank you for the suggestion! I'll add this thing to our pipeline.

thank u

Please try to download directly from GitHub in the meantime. I can not provide you a clear ETA at the moment.

I downloaded through some tools and it can be used normally at present, but the current situation is very unfriendly to most Chinese users

I downloaded through some tools and it can be used normally at present, but the current situation is very unfriendly to most Chinese users

you can use https://github.com/nkbai/githubdns to solve this issue temporarily.


fix(android): call addObserver on the main thread

This PR provides a fix that executes a picker show method on the main thread.
#89

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP: Changes for xrl to work with gxi

I'll slowly push here as I work on using xrl in gxi.
Current progress:
See https://github.com/Cogitri/gxi/pull/266

Hello :) Just to let you know that I'll review this tomorrow!

Thank you! :)

In 7d27bad899b60fc24704035c53c9f2558ee6a149 can you explain the reason for ViewId -> &ViewId and &mut self -> &self?

Because we don't need to take ownership of ViewId nor mutable access to the core in any of these. ViewId is copy, so I wouldn't mind going back to ViewId, but using &mut self for no reason is a bit annoying for gxi since I'd have to juggle around RefCells then

Good point :+1:

All the changes look really good to me for now. Are there many other things you're planning to address?

Huh, the linecache in combination with xrl's client seems to not be happy when opening exisiting documents:
[2019-05-28T10:10:27Z ERROR xrl::cache] 1 lines left to skip, but only 0 lines in the old cache
thread 'main' panicked at 'cache update failed', /home/rasmus/Projects/xrl/src/cache.rs:161:9

Here's the debug log: https://gist.github.com/Cogitri/c58d0ec5346d49ac453a7bfb63965e56

the linecache in combination with xrl's client
[...]
Maybe that's on my implementation though?

I'm a little confused: are you using gxi's linecache or xrl's ?
I'm afk for lunch but I'll take a look in an hour or so.

Ah sorry that I wasn't quite clear I guess.
I use xrl's linecache, I was talking about my implementation [of xrl's frontend trait].

@Cogitri I see that gxi's changes have been merged, so I assume this is ready?

Ah, I still have to adress the review comments I made here, write tests and let clippy run over this, I'll try to get this done today :)
Thanks!

Alright, I've changed &ViewId back to ViewId, didn't notice it's copy :)

Once CI passes this is good to go, I suppose

This looks really good to me. I'll merge tomorrow to let @bytebuddha comment if he wishes to.
Thanks a lot @Cogitri !

Well, thanks for helping me integrate xrl into gxi and providing this great crate! :)

Thanks @bytebuddha, good luck with your project!

Thanks for taking a look and good luck with your project :)


Pseudo 2 d geom cil

[x] Fill out in direct and adjoint methods of the FiniteDifferenceOperator
[x] Fix arguments in allocate method of the BlockGeometry. Add docs
[x] Fix GradientOperator to handle pseudo 2D geometries.
[x] Add seed for the dot_test method of the LinearOperator

Why was this merged? @epapoutsellis you asked for review and it was not finished.

No, that was discussed yesterday I remove everything relateed to SIRF


ci(gha): update nix action to v20

Not quite sure why this started failing.. anyways updating nix action to 20 fixes it.

bors merge


N42: torchbearer

Part of https://github.com/rust-gamedev/rust-gamedev.github.io/issues/1267

Oops, my vscode plugin updated the whole markdown file, let me revert that first

Okay that is better, ready for review

Merged, thanks!


Fixed disconnection due to serviceWorker termination

With manifest v3, the serviceWorkers are much more aggressively terminated. Writing to the WebSocket before the 30s timeout will keep the serviceWorker alive and avoid disconnection with the host app.

I like the idea. I was thinking about moving all connection logic from the background script to the content script, hoping those scripts aren't as aggresively terminated, but a keepalive solution like yours is much cleaner.
Have you seen this work on your machine though? On my machine, 30 seconds without doing anything still leads to the websocket being disconnected. This seems to be the case even when the host app sends a response to the keepalive.

This has worked for me on 2 different machines where I was working on corporate CodinGame competition for a couple hours. I should note that I'm using Chrome and haven't tested Firefox.
A few of my coworkers were also running into this problem. I've shared the fixed plugin with them, so I'll ask them if they're still seeing the issue.
An alternate solution I was contemplating was this https://developer.chrome.com/docs/extensions/develop/migrate/to-service-workers#keep_a_service_worker_alive_continuously. I wonder if that would be better than sending pings on the WebSocket.

I was testing on Firefox and can confirm it doesn't work there but does work on Chrome. The alternate solution using browser.storage calls seems to work on both Firefox and Chrome, so I've changed it to that.
I'll publish a new release containing this change within an hour, thank you for your help on fixing this bug!


Xamarin.UITest support fo iOS 13 and Xcode 11

I would like to be able to run UI tests on device\simulator running iOS13 (coming with Xcode 11).

Hi, iOS 13 devices are currently selectable for testing. If you use Xamarin.UITest, you may need to update to Xcode 11 and the latest dev release of Xamarin.UITest. Please let us know if you attempt to use the Test service and are unable to select iOS 13 devices.

@GeorgeDarakchiev Just to clarify is this locally or in App Center Test. Our engineers are still working on iOS 13 support for App Center Test as there are some unexpected challenges.

@Oddj0b
Hey, running UI tests on any of the new iOS 13 simulators doesn't work for me since upgrading to Xcode 11.1
I get this error mentioning the iPhone 6 simulator and containing an absolute file path for a developer named Ivan, which is strange.
Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch simulator

ExitCode: 134
	0   CoreFoundation                      0x00007fff4237e2fd __exceptionPreprocess + 256
	1   libobjc.A.dylib                     0x00007fff6ca78a17 objc_exception_throw + 48
	10  FBSimulatorControl                  0x0000000109505457 +[FBSimulator fromSimDevice:configuration:launchdSimProcess:containerApplicationProcess:set:] + 311
	11  FBSimulatorControl                  0x0000000109508aad -[FBSimulatorInflationStrategy inflateSimulators:availableDevices:previouslyIdentifiedContainerApplications:] + 1085
	12  FBSimulatorControl                  0x0000000109508588 -[FBSimulatorInflationStrategy inflateFromDevices:exitingSimulators:] + 1208
	13  FBSimulatorControl                  0x00000001094cd6f1 -[FBSimulatorSet allSimulators] + 145
	14  FBSimulatorControl                  0x00000001094caf8d -[FBSimulatorSet query:] + 173
	15  iOSDeviceManager                    0x00000001092a5e8b +[Simulator withID:] + 246
	16  iOSDeviceManager                    0x000000010929e300 +[Device withID:] + 118
	17  iOSDeviceManager                    0x00000001092a172b +[Command simulatorFromArgs:] + 163
	18  iOSDeviceManager                    0x00000001092adacc +[LaunchSimulatorCommand execute:] + 20
	19  iOSDeviceManager                    0x00000001092a4171 +[CLI process:] + 1111
	2   CoreFoundation                      0x00007fff42399016 +[NSException raise:format:arguments:] + 98
	20  iOSDeviceManager                    0x000000010928f539 main + 121
	21  libdyld.dylib                       0x00007fff6e2463d5 start + 1
	3   Foundation                          0x00007fff44638791 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
	4   FBSimulatorControl                  0x00000001094c561e +[FBSimulatorConfiguration makeDefaultConfiguration] + 558
	5   FBSimulatorControl                  0x00000001094c53a4 __48+[FBSimulatorConfiguration defaultConfiguration]_block_invoke + 36
	6   libdispatch.dylib                   0x00007fff6e1f963d _dispatch_client_callout + 8
	7   libdispatch.dylib                   0x00007fff6e1fad4b _dispatch_once_callout + 20
	8   FBSimulatorControl                  0x00000001094c5358 +[FBSimulatorConfiguration defaultConfiguration] + 136
	9   FBSimulatorControl                  0x000000010950beb0 +[FBSimulatorConfiguration(CoreSimulator) inferSimulatorConfigurationFromDevice:error:] + 704
(
)
*** First throw call stack:
2019-10-09 12:01:54.629 iOSDeviceManager[16737:439713] *** Assertion failure in +[FBSimulatorConfiguration makeDefaultConfiguration], /Users/Ivan/Documents/repos/Xamarin.UITest/FBSimulatorControl/FBSimulatorControl/Configuration/FBSimulatorConfiguration.m:65
2019-10-09 12:01:54.630 iOSDeviceManager[16737:439713] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not obtain OS for Default Device 'Model 'iPhone 6''. Available OS Versions []'
libc++abi.dylib: terminating with uncaught exception of type NSException

Version 3.0.4-dev2 has an update for local simulator tests using Xcode 11: https://www.nuget.org/packages/Xamarin.UITest/3.0.4-dev2
It might be worth giving it a shot @j-hat, though in the past, Xcode's minor version bumps have sometimes required additional updates to Xamarin.UITest and/or the Test Cloud Agent; because despite being minor version bumps they contain changes which are breaking the test flow somehow.

@GeorgeDarakchiev @j-hat does it work on the dev branch?

@Oddj0b we are running the tests locally and I can confirm that version 3.0.4-dev2 works with Xcode 11.0. and Xcode 11.1 and I am not getting the error @j-hat reported (I was not able to create iPhone 6 with iOS 13 simulator, but I have tested it on iPhone 11, iOS 13.1).
Sadly, after upgrading to 3.0.4-dev2 (from 3.0.0-dev1) I am getting the following exception on Android (running on Windows, not tested on Mac):
"Cannot access a disposed object.\r\nObject name: 'System.Net.Http.StringContent'."
at Xamarin.UITest.Shared.Http.HttpClient.SendData(String endpoint, String method, HttpContent content, ExceptionPolicy exceptionPolicy, Nullable`1 timeOut)
   at Xamarin.UITest.Shared.Http.HttpClient.PostUntilExpectedResultReceived(String endpoint, String arguments, String expectedContent, Int32 retries)
   at Xamarin.UITest.Shared.Android.HttpApplicationStarter.Execute(String intentJson)
   at Xamarin.UITest.Shared.Android.AndroidAppLifeCycle.LaunchApp(String appPackageName, ApkFile testServerApkFile, Int32 testServerPort)
   at Xamarin.UITest.Android.AndroidApp..ctor(IAndroidAppConfiguration appConfiguration, IExecutor executor)
   at Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp(AppDataMode appDataMode)
   at TestInitialize.TestInitializer.StartApp()

This can be reproduce by starting the app few times (in my measurements the crash occurs around the 12th start of the app, but it is not always the same):
                    for (int i = 0; i < 25; i++)
                    {
                        try
                        {
                            currentApp = appconfig.StartApp();
                        }
                        catch (Exception e)
                        {
                            Thread.Sleep(1000);
                        }
                    }

Here is my appconfig:
 var appconfig = ConfigureApp
                     .Android
                     .ApkFile(apk)
                     .EnableLocalScreenshots()
                     .DeviceSerial(currentDevice.Serial);

P.S. I am sorry for the late response.

Just a FYI...using xcode 11.1 and the newish Version 3.0.4-dev2 I still get:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not obtain OS for Default Device 'Model 'iPhone 6''. Available OS Versions []'

Can't start any test with new version of Xcode 11.1  and Visual Studio for mac 8.3.4, the problem is still reproducible and really critical. DeviceAgent app could not be installed on simulator and tests fail with error

Same issue on my end. Visual Studio 8.4 Preview, XCode 11.1 installed.

Same issue here too. Any workaround available?

@sebastianferrari my workaround is to have all my UI tests working is to have my xcode at v 11.0

Thank you @gziebold I'll downgrade it to v11.0. As it is now, it works fine on App Center Tests Platform.

@gziebold I was also seeing issues on dev2. After updating to 3.0.4-dev4 everything seems to work for me with Xcode 11.1.

My teammate @ahanag22 has a theory to reproduce this issue, that might line up with the observations of those who can reproduce it vs. can't reproduce it:

I can reproduce the same with our sample.  However, it was working fine just before I’ve updated the visual studio version to 8.4 Preview (8.4 build 1936). Previously, it was running fine on the latest stable version.

Can some of you who have reported that the dev version still doesn't work confirm your Visual Studio version? I'm not sure if we've confirmed that it's the VSMac version itself that causes the issue, or if it could be other tooling linked to that version / update channel. (Other common candidates are Mono & Xamarin.iOS, just because they're the most likely to have some type of interaction.)

PSA: 3.0.5-dev5 has been released.

3.0.4 have been released! 🎆


Relation Interaction Mechanism

It seems like in this code repository, you've only implemented the Fusion mechanism architecture and there's no standalone mechanism, right?

Yes, you are right. We only release the fusion mechanism architecture since it is simpler and better than the standalone architecture. The core functions of these two architecture are the same.


Update ftt_p_main.py

data_dt gives the data at the previous time step. METC is the LCOE with all policies and gamma values included. METCX is the exognous LCOE (from E3ME output). We want to use endogenous LCOE values.

Looks good. What is the new global generation of solar in 2050? (MEWG)

If I am not wrong, the global generation of solar should be 22.71M GWH.


Add option for fixed timestamp

Hi! Thanks for the plugin!
It would be nice to have an option for link that keep timestamp fixed, if I want to keep a link to a specific timestamp.
For example, we can add # symbol after the timestamp value to indicate it's fixed:
[[1725358183721#video:G:\video.webm#00:41:46#]]

This is nice idea. I will add it in next release.


sigh/cert ignores values in .env file

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
It seeams that sigh ignores values defined in .env file. So I have defined for example,

SIGH_SKIP_INSTALL=true
SIGH_FORCE=false
SIGH_CERTIFICATE_ID=${CERTIFICATE_ID}

But log output tell me that this values are ignored.
New certificate has been created and installed locally.
Complete output when running fastlane, including the stack trace and command used
match Log
[10:50:12]: -------------------
[10:50:12]: --- Step: match ---
[10:50:12]: -------------------
+-----------------------+----------------------------------------------+
|                       Summary for match 2.49.0                       |
+-----------------------+----------------------------------------------+
| git_url               | ssh://Bamboo-Daemon@xos-htu-stash:7999/ga  |
|                       | d/ios_certificates.git                       |
| git_branch            | com.company.app.iOSMasterProject          |
| type                  | adhoc                                        |
| app_identifier        | com.company.app.iOSMasterProject          |
| username              |<EMAIL_ADDRESS>                  |
| keychain_name         | login.keychain                               |
| readonly              | false                                        |
| team_id               | TEAM_ID                                   |
| team_name             | company City GmbH                    |
| verbose               | false                                        |
| force                 | false                                        |
| skip_confirmation     | false                                        |
| shallow_clone         | false                                        |
| clone_branch_directly | false                                        |
| force_for_new_devices | true                                         |
| skip_docs             | false                                        |
| platform              | ios                                          |
+-----------------------+----------------------------------------------+
[10:50:12]: Cloning remote git repo...
[10:50:12]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
[10:50:13]: Checking out branch com.company.app.iOSMasterProject...
[10:50:13]: 🔓  Successfully decrypted certificates repo
[10:50:13]: Verifying that the certificate and profile are still valid on the Dev Portal...
[10:50:17]: Couldn't find a valid code signing identity in the git repo for distribution... creating one for you now
+---------------+----------------------------------------------+
|                   Summary for cert 2.49.0                    |
+---------------+----------------------------------------------+
| development   | false                                        |
| force         | true                                         |
| username      |<EMAIL_ADDRESS>                  |
| team_id       | TEAM_ID                                   |
| keychain_path | /Users/user/Library/Keychains/login.keycha  |
|               | in-db                                        |
| team_name     | company City GmbH                    |
| platform      | ios                                          |
+---------------+----------------------------------------------+
[10:50:17]: Starting login with user<EMAIL_ADDRESS>[10:50:19]: Successfully logged in
[10:50:28]: Successfully generated NEW_CERT_ID which was imported to the local machine.
[10:50:29]: Verifying the certificate is properly installed locally...
[10:50:29]: Successfully installed certificate NEW_CERT_ID
+-------------------------------------+-------------------------------------+
|                          Summary for sigh 2.49.0                          |
+-------------------------------------+-------------------------------------+
| app_identifier                      | com.company.app.iOSMasterProject |
| username                            |<EMAIL_ADDRESS>         |
| force                               | true                                |
| cert_id                             | NEW_CERT_ID                          |
| provisioning_name                   | match AdHoc                         |
|                                     | com.company.app.iOSMasterProject |
| ignore_profiles_with_different_name | true                                |
| team_id                             | TEAM_ID                          |
| platform                            | ios                                 |
| adhoc                               | true                                |
| development                         | false                               |
| skip_install                        | true                                |
| team_name                           | company City GmbH           |
| skip_fetch_profiles                 | false                               |
| skip_certificate_verification       | false                               |
+-------------------------------------+-------------------------------------+
[10:50:29]: Starting login with user<EMAIL_ADDRESS>[10:50:33]: Successfully logged in
[10:50:33]: Fetching profiles...
[10:50:34]: Verifying certificates...
[10:50:34]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
[10:50:37]: Creating new provisioning profile for 'com.company.app.iOSMasterProject' with name 'match AdHoc com.company.app.iOSMasterProject' for 'ios' platform
[10:50:38]: Downloading provisioning profile...
[10:50:39]: Successfully downloaded provisioning profile...
/var/folders/lr/5vbfxcnd0vd3nm4djf1py7ycg0qddv/T/d20170727-83624-1ksw9u9/profiles/adhoc/AdHoc_com.company.app.iOSMasterProject.mobileprovision
[10:50:39]: Installing provisioning profile...
[10:50:40]: 🔒  Successfully encrypted certificates repo
[10:50:40]: Pushing changes to remote git repo...
+---------------------+------------------------------+------------------------------+
|                          Installed Provisioning Profile                           |
+---------------------+------------------------------+------------------------------+
| Parameter           | Environment Variable         | Value                        |
+---------------------+------------------------------+------------------------------+
| App Identifier      |                              | com.company.app.iOSMaste  |
|                     |                              | rProject                     |
| Type                |                              | adhoc                        |
| Platform            |                              | ios                          |
| Profile UUID        | sigh_com.company.app.iOS  | 2707a04e-59e8-4afc-a857-fdf  |
|                     | MasterProject_adhoc          | a8228ea44                    |
| Profile Name        | sigh_com.company.app.iOS  | match AdHoc                  |
|                     | MasterProject_adhoc_profile  | com.company.app.iOSMaste  |
|                     | -name                        | rProject                     |
| Profile Path        | sigh_com.company.app.iOS  | /Users/user/Library/Mobile  |
|                     | MasterProject_adhoc_profile  | Device/Provisioning          |
|                     | -path                        | Profiles/2707a04e-59e8-4afc  |
|                     |                              | -a857-fdfa8228ea44.mobilepr  |
|                     |                              | ovision                      |
| Development Team ID | sigh_com.company.app.iOS  | TEAM_ID                   |
|                     | MasterProject_adhoc_team-id  |                              |
+---------------------+------------------------------+------------------------------+
[10:50:41]: All required keys, certificates and provisioning profiles are installed 🙌
[10:50:41]: Setting Provisioning Profile type to 'ad-hoc'
[10:50:41]: Cruising back to lane 'ios setup' 🚘
[10:50:41]: Lane setup completed successfully.
+------+------------------------------+-------------+
|                 fastlane summary                  |
+------+------------------------------+-------------+
| Step | Action                       | Time (in s) |
+------+------------------------------+-------------+
| 1    | Verifying required fastlane  | 0           |
|      | version                      |             |
| 2    | default_platform             | 0           |
| 3    | Switch to ios create_app_id  | 0           |
|      | lane                         |             |
| 4    | produce                      | 4           |
| 5    | Switch to ios sync_signing   | 0           |
|      | lane                         |             |
| 6    | match                        | 28          |
+------+------------------------------+-------------+
[10:50:41]: fastlane.tools finished successfully 🎉

sigh configuration in .env
SIGH_TEAM_ID=${TEAM_ID}
SIGH_TEAM_NAME=${TEAM_NAME}
SIGH_CERTIFICATE_ID=${CERTIFICATE_ID}
SIGH_PLATFORM='ios'
SIGH_SKIP_INSTALL=true
SIGH_FORCE=false

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.4.0

Bundler?
false

Git
git version 2.9.2

Installation Source
~/.gem/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.rbenv/versions/2.4.0/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
de_DE.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/blob/master/fastlane/Fastfile
#
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
#
# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.47.0"

default_platform :ios

desc "Print guide to configure new project"
lane :helpme do
	puts ""
	puts "***********************************************************************".cyan
	puts "*                                                                     *".cyan
	puts "* - Define values in 'fastlane/.env' or 'fastlane/.env.default' files *".cyan
	puts "* - Enable Apple Generic Versioning by follow the guide at:           *".cyan
	puts "*   https://developer.apple.com/library/content/qa/qa1827/_index.html *".cyan
	puts "* - Execute `fastlane setup`                                          *".cyan
	puts "*                                                                     *".cyan
	puts "***********************************************************************".cyan
	puts ""
end

platform :ios do
	desc "Create a new App ID on the Developer Portal"
	lane :setup do
		create_app_id
		sync_signing
	end

	desc "Configure, compile, analyze and deploy app"
	lane :build do
		prepare
		compile
		analyze
		deploy
	end

	desc "Configure app"
	lane :prepare do
		update_build_number
		install_cocoapods
		sync_signing
	end

	# https://docs.fastlane.tools/actions/#gym
	desc "Compile and sign app"
	lane :compile do
		disable_automatic_signing
		gym
	end

	desc "Run tests and static analizers"
	lane :analyze do
		unit_tests
	end

	desc "Deploy app"
	lane :deploy do
		# NOP
	end

	desc "Clean after build"
	lane :clean do
		Dir.chdir(ENV["PWD"]) do
			sh("rm -fr #{ENV['GYM_OUTPUT_DIRECTORY']}")
			sh("rm -fr #{ENV['SCAN_OUTPUT_DIRECTORY']}")
			sh("git co -- .")
		end
	end

	# https://docs.fastlane.tools/actions/#increment_build_number
	desc "Update build number"
	private_lane :update_build_number do
		project = ENV["PROJECT"]
		buildNumber = sh("date '+%Y%m%d%H%M'")

		increment_build_number(
			xcodeproj: project,
			build_number: buildNumber
		)
	end

	# https://docs.fastlane.tools/actions/#cocoapods
	desc "Install cocoapods"
	private_lane :install_cocoapods do
		podFile = ENV["POD_FILE"]

		cocoapods(
			podfile: podFile
		)
	end

	# https://docs.fastlane.tools/actions/#testing
	desc "Runs all unit tests"
	private_lane :unit_tests do
		scan
	end

	# https://docs.fastlane.tools/actions/#match
	desc "Sync certificates and provisioning profiles"
	private_lane :sync_signing do
		match
	end

	desc "Disable automatic code signing"
	private_lane :disable_automatic_signing do
		project = ENV["PROJECT"]
		teamId = ENV["TEAM_ID"]

		disable_automatic_code_signing(
			path: project,
			team_id: teamId
		)
	end

	desc "Enable automatic code signing"
	private_lane :enable_automatic_signing do
		project = ENV["PROJECT"]
		teamId = ENV["TEAM_ID"]

		enable_automatic_code_signing(
			path: project,
			team_id: teamId
		)
	end

	# https://docs.fastlane.tools/actions/#produce
	desc "Generate a new App ID on the Developer Portal"
	private_lane :create_app_id do
		identifiers = ENV["APP_IDENTIFIERS"].split(",")
		names = ENV["APP_NAMES"].split(",")

		if names.count != 0 && identifiers.count != names.count
			raise ArgumentError, "The number of identifiers does not match the number of names"
		end

		identifiers.each_index do |index|
			produce(
				app_identifier: identifiers.at(index).strip,
				app_name: names.at(index).strip
			)
		end
	end

	# desc "Generate release notes"
	# private_lane :release_notes do
	# get_version_number
	# changelog = changelog_from_git_commits
	# version_number = lane_context[SharedValues::VERSION_NUMBER]
	# {}"Release notes #{version_number} Automatic build (Last 5 PR):\n#{changelog}"
	# end

	############################# PRE ###############################

	# This block is executed before every action of all platforms
	before_all do |lane|
		puts "Lane #{lane} started."
	end

	############################# POST ##############################

	# This block is called, only if the executed lane was successful
	after_all do |lane|
		puts "Lane #{lane} completed successfully."
	end

	error do |lane, _exception|
		puts "Lane #{lane} failed to complete.".red
	end
end

`./fastlane/Appfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md
#
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
#
# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# The bundle identifier of the app
app_identifier ENV["APP_IDENTIFIERS"]

# Shared Apple Developer Portal account
apple_id ENV["APPLE_ID"]

# Apple Developer Portal team
team_name ENV["TEAM_NAME"]

# Developer Portal Team ID
team_id ENV["TEAM_ID"]

fastlane gems

Gem
Version
Update-Status

fastlane
2.49.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.11.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170223

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

public_suffix
2.0.5

addressable
2.5.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

json
2.0.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

io-console
0.4.6

openssl
2.0.2

generated on: 2017-07-27

@gtatgh how exactly are you executing the lane here, could you give me an example?

@tutipeti There is no command I typed in. If I right understand .env description this works only with Fastfile. So I used lane for this:
desc "Create a new App ID on the Developer Portal"
lane :setup do
create_app_id
sync_signing
end
Copy from Fastfile, the whole file is added in question under fastlane environment ->fastlane files -> Fastfile

If I use only sigh to create provisioning profile by following command, than right profile will be created.
fastlane sigh --adhoc true --app_identifier 'com.company.app.iosproject' --username<EMAIL_ADDRESS>--team_id 'TEAM_ID' --cert_id 'CERT_ID' --platform 'ios'

@gtatgh well, you must have executed fastlane somehow, right? ;) So there was definitely a command that you typed in. Are the .env files in the same folder as the Fastfile?

Sorry, I have not understand what you mean, so I typed fastlane ios setup to execute a lane. Yes, .env file is in the same folder as Fastfile.

Hey @gtatgh - could you try adding require 'dotenv'; Dotenv.load to the top of your Fastfile and see if that helps at all? 🐙 🚀

I am going to close this issue as a duplicate of https://github.com/fastlane/fastlane/issues/9865. If this is the wrong move, let me know and I am happy to reopen it! 😄 🚀

Hi @ohayon, yes this is the duplicate. Thank you for closing it.

Hi @ohayon, yes this is the duplicate. Thank you for closing it. Any news on #9865?


Add a justified center navbar variant

fixed https://github.com/saadeghi/daisyui/commit/eb268330921de1d1d664e099fbecc72f222543b2


feat!: Partition based on non-numeric and multiple keys

This PR includes code, testing and documentation changes to partition tables based on non-numeric and multiple keys. The partitioned tables can be used to perform validate row and possibly grouped-columns validations without running into MemoryError issues.
One system test was added to the postgres test set to partition a small database with multiple numeric and string keys. The results are checked against the expected value. One unit test was deleted that was written for partitioning a numeric key in pandas - the updated approach with ntile does not work on pandas tables.
This code works correctly with Oracle and Postgres databases - has not been tested with other databases.
BREAKING CHANGE:  generate-table-partitions no longer supports a partition-key parameter, since the primary key(s) are used to partition the table.

/gcbrun

/gcbrun

/gcbrun

Looks great Sundar! One comment - can we also document that we only support Oracle and Postgres for this feature? Also, did you want to refer to the internal partition PRD you created in the main README?


feat: Add the client-side retry support via the GRPC service config

Adding the client-side retry support via the GRPC service config
Cf: https://aip.dev/client-libraries/4221
One important decision here was to parse JSON manually instead of generating the GRPC service config parser with the help of protoc.
This is because the generated class uses google-protobuf gem and cannot be easily integrated with the rest of the microgenerator code which uses a third-party protobuf gem.

Sorry, you may need to rerun generation on your new examples, to pick up the config class doc changes.

Sorry, you may need to rerun generation on your new examples, to pick up the config class doc changes.

no worries, it is to be expected with the long-running PRs


Analytics 11.0.0 (rc2)

Analytics 11.0.0 (rc2) #no-changelog
Note: Reusing GoogleAppMeasurementOnDeviceConversion (rc1)

Going to merge since the spm workflow is broken on main anyway.


[3.x] Mention InputEventJoypadButton's pressure not working

3.x version of https://github.com/godotengine/godot/pull/87676

Thanks!

Cherry-picked for 3.5.4.


Preferred line length marker stays the same when changing font.

When I'm on my laptop I use 13pt Monaco. When I get to work, I change font to 16pt (because of larger screen, higher resolution) and the preferred line length (80 columns) stays the same. I need to close and reopen all files in order to get it to behave correctly.

Duplicate of atom/wrap-guide#25, please subscribe there for updates.


Provide access to saga completion promise

For SSR it can be useful to run some sagas and await their completion before rendering the page. Eg:
// Run apiSaga
const sagaTask = sagaMiddleware.run(apiSaga);
// Send an action apiSaga is waiting for
store.dispatch({ type: 'GET_DATA_FROM_API' });
// Cancel all sagas still waiting for actions
store.dispatch(END);
// Await completion of sagas not waiting for actions
// This allows apiSaga to finish the api query and 'put' the data to the store
await sagaTask.done;
// Render the page including the api data
renderSSR();

This PR adds a function to the redux-dynamic-modules-saga IExtension to get a promise for the completion of all currently running sagas, allowing the above pattern when using redux-dynamic-modules. Eg:
const sagaExtension = getSagaExtension({});
const store: IModuleStore<IState> = createStore(
  {
    initialState: {},
    enhancers: [],
    extensions: [sagaExtension],
  },
  getApiModule()
);
store.dispatch({ type: 'GET_DATA_FROM_API' });
store.dispatch(END);
await sagaExtension.done();
renderSSR();

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

Unfortunately there was a breaking change in<EMAIL_ADDRESS>where they moved Task.done to Task.toPromise(). I've added the last commit to handle this but it's a bit hacky.

@simlrh  Just sign the CLA and I will merge!

Done

Any progress?

Hey. Look at my example. It may be useful to you. And you can learn some new ideas on how to improve your library.
https://github.com/fostyfost/next-with-redux-dynamic-modules

Hey, any news ?


[Example] How to save and reuse model

[Example] How to save and reuse model

Please do not merge, this is demonstrative purpose only

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1314. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1314-202106181528520.91954398155212-c594b4f5d25e04bfbe91fcf15b6699afbd414c72/.


Fix extPanId size in NCP scan result packet

wpantund scan result handler expects extPanId size to be 0 or 8. If not

it stops scan result handling. Because mExtPanId is a pointer, it's
size is architecture dependent, and scanning (by chance) works only on
64bit machines. extPanId size should be (is) a constant.

I signed it!

LGTM 👍

Good catch! Swap out the size with OT_EXT_PAN_ID_SIZE and then I'm all 👍 .

Do you want me to leave two commits, or sqash into one and force push them?

@GiedriusM, I think either is okay.  Currently, this repo is only configured to allow squash merging.

LGTM 👍


Add CaRCC to hpc.social

Please consider adding CaRCC to hpc.social.

Taking a look!

Are these posts of a particular type or tag? E.g., I'm seeing some that are article-like, others more event announcements. Is there perhaps a filter (category or label) we want to choose for the blog?

What types of posts/materials are appropriate for syndication on hpc.social?  The CaRCC posts are pretty low volume and are generally around the "community announcement" theme with an intent to start posting more original content (for example https://carcc.org/2022/10/03/understanding-the-carcc-facings/).

That's a good question! I think my original bias was more personal blog articles, but let's have a quick discussion - pinging @alansill @FCLC.
I think my concern is keeping the blog to be posts with opinions written by people, and not a place that gets muddled by event postings, etc. Possibly we need a different place for those kinds of feeds - something that also is posted to different social media places (slack / Twitter / Mastodon) - akin to a jobs job? But this is my opinion and it might be wrong. My quick thinking is if maybe there are a subset of posts in here that maybe we could identify with a category / tag (which something like wordpress can do) we might better filter the content with that.
Let me know your thoughts!

Taking a look now :blush:

Initial thinking is inline with @vsoch; if we're going to be adding/hosting content for people in HPC and around, by people in and around HPC, it should probably be blog style content.
IMO content that comes to mind is short mussing, personal explorations, technical deep dives, personal projects (#homelab content?), some educational tutorial content (this one I want to be careful with due to affiliation with vendors. I'm not against a post from say Xilinx on how an FPGA can be deployed within a node to build a special, fit for purpose accelerator, but I don't want it to smell like a sales pitch either...)
As for tagging, that's a functionality that we should be looking at. From the example above, long technical deep dives on software should probably be marked differently than a short, humorous rant post on the "meme du jour" (Exascale, Moore's Law etc. )
If that's only a tag at the bottom, a different colour code etc. I'm not sure (UX is hard). As Vsoch said, Wordpress amongst other platforms already has tags, so we can use those on import to get a decent fit for categories and linking those to the UX in accessible ways.
For sharing different events from different centers, orgs etc. (including CaRCC) I'm not certain.
Off the cuff I can picture something like this:
A community calendar hosted somewhere on the main site, where various orgs can submit/send calendar invites to something like<EMAIL_ADDRESS>Something as simple as a bash script+cronjob scrapes the cal.ics and adds to a central calendar marked as UTC for timecode. That calendar is marked as open and users can subscribe to it. Those interested can import/watch the "HPC.social" calendar if they want all events in their feed, or just look at the site to see what's coming up?
Easy to mute, avoids sharing user data with 1001 vendors, provides a service to the community etc. (I wasn't the one to set it up, but my engineering society back in Uni did something similar to avoid/centralize the colossal amount of BS emails different execs were getting for speakers/event planners etc. Made our inboxes much cleaner)
Assuming the calendar invite comes with the event announcement information/link to the host site itself that should be fine? Most mailing list services for events have calendar invite functionality, so it's not extra load onto those wanting to work with hpc.social for event sharing

I think we are in agreement! So to summarize:

blog is for more article-like things (and we could extend this with tags / topics or some other organization)
we have a missing resource we need for feeds / resources related to events (and an easy way to submit).

@MiddelkoopT - let's figure out the best way to add CaRCC. I'm thinking that since you are using Wordpress, if someone is able to create categories for the posts (e.g., community-call, news, article) then we can generate a tag specific feed for the blog site here (e.g., for the articles - an example here - https://carcc.org/2022/05/25/2021-rcd-capabilities-model-community-data-report-now-available/) you site actually already has support for this, actually! E.g., here is a feed https://carcc.org/category/rcd-nexus/feed/ for the "nexus" category. So it would just mean someone going in and adding some extra category tags.
Then we can add that category tag feed here. And I think we do need a way for the CaRCC to share events  or shoutout to look at a community call - @FCLC should we make a new Discussion item with the content that you have above plus a link to CaRCC as an example?

We were thinking along similar lines of having a dedicated tag for hpc.social content.
For content, does the following articles fall into what we are looking for?

https://carcc.org/2022/10/03/understanding-the-carcc-facings/
https://carcc.org/2022/05/25/2021-rcd-capabilities-model-community-data-report-now-available/

If that's good I'll tag the articles and update the branch and push the update and notify.

@MiddelkoopT yes! Those are exactly the two that stuck out to me to fit to include here as well.

Tag implemented on CaRCC side and update pushed.  Ready for publication.

Thanks!

I think we are in agreement! So to summarize:
* blog is for more article-like things (and we could extend this with tags / topics or some other organization)

* we have a missing resource we need for feeds / resources related to events (and an easy way to submit).

@MiddelkoopT - let's figure out the best way to add CaRCC. I'm thinking that since you are using Wordpress, if someone is able to create categories for the posts (e.g., community-call, news, article) then we can generate a tag specific feed for the blog site here (e.g., for the articles - an example here - https://carcc.org/2022/05/25/2021-rcd-capabilities-model-community-data-report-now-available/). And your site actually already has support for this, actually! E.g., here is a feed https://carcc.org/category/rcd-nexus/feed/ for the "nexus" category. So it would just mean someone going in and adding some extra category tags.
Then we can add that category tag feed here. And I think we do need a way for the CaRCC to share events or shoutout to look at a community call - @FCLC should we make a new Discussion item with the content that you have above plus a link to CaRCC as an example?

Will do :blush:

Discussion: https://github.com/hpc-social/hpc-social.github.io/discussions/51

hey @MiddelkoopT I wanted to let you know we are doing some organizing, and placed CaRCC in the bucket of community projects: https://hpc.social/community-blog/. The original site here now is a portal to these new spaces!  https://hpc.social/blog/. We are hoping this makes the blog space we host more inclusive for different kinds of blogs - the current one was strongly "personal blogs" and I suspect some orgs would feel they didn't belong.
It's a fairly simple setup for the time being, but we will improve upon it. I wanted to double check this is OK with you, and if not we can talk about what you'd like instead. Thank you!

Sounds good for now. Tim.
--
Sent from my mobile device.

From: Vanessasaurus @.>
Sent: Saturday, December 24, 2022 8:34:47 PM
To: hpc-social/blog @.>
Cc: Timothy Middelkoop @.>; Mention @.>
Subject: Re: [hpc-social/blog] Add CaRCC to hpc.social (PR #12)
hey @MiddelkoopThttps://github.com/MiddelkoopT I wanted to let you know we are doing some organizing, and placed CaRCC in the bucket of community projects: https://hpc.social/community-blog/. The original site here now is a portal to these new spaces! https://hpc.social/blog/. We are hoping this makes the blog space we host more inclusive for different kinds of blogs - the current one was strongly "personal blogs" and I suspect some orgs would feel they didn't belong.
It's a fairly simple setup for the time being, but we will improve upon it. I wanted to double check this is OK with you, and if not we can talk about what you'd like instead. Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/hpc-social/blog/pull/12#issuecomment-1364615961, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABKNNSFFQ3FNTVWOP5IBQA3WO6XEPANCNFSM6AAAAAASQAVRWQ.
You are receiving this because you were mentioned.Message ID: @.***>


CMake configure step fails when lue_view requested

LUE configure options are
-D LUE_DATA_MODEL_WITH_PYTHON_API=ON
-D LUE_DATA_MODEL_WITH_UTILITIES=ON
-D LUE_BUILD_VIEW=ON \
cmake configure step fails due to imgui::imgui target not found
with LUE_BUILD_VIEW=OFF cmake succeeds

Should work now, with -DLUE_BUILD_VIEW=ON. LUE knows how to build imgui, but this logic was not selected due to a bug in the CMake scripts.


Expose less implementation details in Local

My take on #923
Just added few privates.
I've left Context.mkIsolated and Context.bind public because they are used by TaskLocal

Cool, I'm merging it then but will leave issue open for now in case @alexandru wants to do more


Fixed #35497: Header maxlinelen is set to equal RFC5332 email line length limit.

Trac ticket number
ticket-35497
Branch description
message.sanitize_address and message.forbid_multi_line_headers now generate headers with line lengths up to the maximum allowed for address headers. Changed from 78 (mail.header.Header default) to 998—the RFC5322 suggested and maximum line limit, respectively.
This fixes a bug where a unicode email address caused message.forbid_multi_line_headers and message.sanitize_address to raise a UnicodeEncodeError exception when utf-8 email address exceeded the default maxlinelen of 78.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[x] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[x] I have attached screenshots in both light and dark modes for any UI changes.

@felixxm I appreciate the feedback. Is there anything else that needs to be done on my part?


Rename Symbol does not work with Python Analysis Engine

Environment data

VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): 2019.3.6215
OS and version: macOS 10.13.6 (this issue also happens on macOS 10.14 and a clean Ubuntu 18.04 virtual machine)
Python version (& distribution if applicable, e.g. Anaconda): System Python 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Expected behaviour
When press F2 on a variable, e.g. x, a small rename window is shown. You enter the new variable name y and all related xs are changed to the new name y.
Actual behaviour
Nothing happens.
This bug only happens when using Python Analysis Engine. When using Rope, this command succeeds. Also, I remembered it worked weeks ago.
Steps to reproduce:

Install the latest VSCode
Install the latest VSCode Python extension
Type the following in a Python file:

def x():
    y = 1
    y += 1
    print(y)

if __name__ == "__main__":
    x()

Press F2 on variable y, rename it to s
Nothing happens

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
These are logs produced before running Rename Symbol and there is no log output when running this command.
Starting Microsoft Python language server.
[Info  - 4:18:33 PM] GetCurrentSearchPaths /usr/local/bin/python3
[Info  - 4:18:33 PM] Python search paths:
[Info  - 4:18:33 PM]     /private/var/folders/_l/1qz5sqgd25l5xrh_hpcvfdd5_c6zwq/T/pzqyilvj.jvm
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 4:18:33 PM] Configuration search paths:
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 4:18:33 PM]     /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 4:18:33 PM]     /usr/local/bin
[Info  - 4:18:34 PM] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 4:18:34 PM] Initializing for /usr/local/bin/python3

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
No console output related to this command.

I'm running into this issue even with rope, unless I'm missing something to switch to rope.

Closing in favor of an upstream issue https://github.com/Microsoft/python-language-server/issues/477


Add mail template param

Proposing the following to allow complex/custom html or text email templates.
May be an alternate solution to #2541
This allows for a complete custom template to be defined and referenced in the EmailAgent options

credentials could be an option that works for users with different installation methods like docker

I'd like to know more about how this would work to solve my problem.  This proposed change isn't about supporting different installation methods, it's to provide an option for more richly formatted messages, for example, custom css, etc.
I'm using Huginn for monitoring rss feeds, etc, and some of the content from the feed does not format well, so I want to provide custom css in the header, with a custom footer.   I don't want to sanitize the body, which is forced in the current template.
This might be a little bespoke, but seems useful to me and for what I've been doing, it's worked fantastically without disrupting any other normal use.

Thank you for your contribution @MarkBarbieri!
I don't think that is a good solution, users should not need to put files on the server Huginn runs on to use templates. credentials could be an option that works for users with different installation methods like docker

@dsander It's been a long time coming, but I've updated this PR so that the template can be defined inline using credentials.  It is no longer required to put files on the server


Negative User - Hotspots - Search for Match to Positive Locations

Background
The engineers had a planning meeting and proposed this general shape of work for the sake of time/shipping this first iteration on a Proof of Concept:

Negative phone sends query with the user's anonymized locations to look for matches server-side.
If there are matching positive location results, those are sent back to the negative phone in order to display the matches.
The server does not store the negative user's locations; it only uses them in-the-moment to perform the query and return any matching positive location results based on radius and timeframe.

Implementation Notes

Per the desire to give the user full agency over their locations, we will only be determining locations from the user's current location list.
Locations means physical location where the user as well as date/time at each location

Goals of this Issue

Provide a mechanism by which a person with negative-status to discover they may have come in contact with a person that tested positive
Ensure that the negative-status user's locations are only used for a location match query and are not stored on the server nor able to be used in a way to identify the user

Scenario: Check for Possible Contact
Given I am a negative-status user in the app

[ ] When I open the application
[ ] Then I have a mechanism by which I can compare my locally stored location history with reported hotspots
[ ] And I can determine if I may have come in contact with a person that tested positive

Removing the following:

Then I receive back a percentage which represents the number of times my Locations corresponds with a Positive

Our goal is to show overlaps of times+locations, not to show a percentage. Why? Times+locations that match give the user more actionable insight into where and when they may have come into contact with a COVID-positive person.
Replacing with something about displaying a list of possibly-matched locations.
Further, the following can be clarified:

When I choose to share my Locations

Because we're not really "sharing" the negative user's locations, we're using that negative user's locations to construct a search query.
Ideally, this would happen:

in the background; or
less ideally, when the negative user navigates to the view for matches;
or less ideally, but suitable for this iteration, when the negative user navigates to the view for matches and taps an option along the lines of: "Check my locations to see if I've been in a hotspot."

Grabbing this back to make those edits.

Removing the resources from the scenario for now; can spin them out into a new Issue. Gotta keep this as simple and straight forward as possible.

More information links:
- CDC: Prevent Getting Sick https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/index.html
- CDC: If You Are Sick https://www.cdc.gov/coronavirus/2019-ncov/if-you-are-sick/index.html

[ ] And then I am presented with

[ ] A link to the CDC: Prevent Getting Sick page
[ ] A link to the CDC: If You Are Sick page

@jwietelmann - I think you're most closely working on the query that would get attached to this Issue. Tapping you as well as @CurtisVonRubenhoff and @zhengfu23 who have been working on API stuff.
In #42, we're going to provide users the ability to provide 3 pieces of information alongside their change to positive-status:

Date Symptoms Began
Date of COVID-19 Test
Date of Positive COVID-19 Test Result

I'm confirming with the resources I have available that the date range we should pay attention to re: building queries (or maybe this is better put on #46 "Share Locations to Server"?) is Date Symptoms Began - 14 days.
I wasn't sure where to land this comment so I'm starting here before I lose it / forget.

To make lines of responsibility clear: I am NOT presently working on
reporting at all. I am working onthe endpoint that presumed negatives will
use to find locations where presumed positives have been.
On Thu, May 28, 2020 at 7:39 PM Josh Frank<EMAIL_ADDRESS>wrote:

@jwietelmann https://github.com/jwietelmann - I think you're most
closely working on the query that would get attached to this Issue. Tapping
you as well as @CurtisVonRubenhoff https://github.com/CurtisVonRubenhoff
and @zhengfu23 https://github.com/zhengfu23 who have been working on
API stuff.
In #42 https://github.com/revelry-foundation/nightingale/issues/42,
we're going to provide users the ability to provide 3 pieces of information
alongside their change to positive-status:

Date Symptoms Began
Date of COVID-19 Test
Date of Positive COVID-19 Test Result

I'm confirming with the resources I have available that the date range we
should pay attention to re: building queries (or maybe this is better put
on #46 https://github.com/revelry-foundation/nightingale/issues/46
"Share Locations to Server"?) is Date Symptoms Began - 14 days.
I wasn't sure where to land this comment so I'm starting here before I
lose it / forget.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/revelry-foundation/nightingale/issues/44#issuecomment-635673271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEGP2KC3Q53TIJUEFDWYELRT3Y4TANCNFSM4NNLEUVA
.

Got it, @jwietelmann .
I've opened #46 to handle the sharing of locations, which as I think about it more clearly, would likely be a combo of mobile + backend/API - so more clearly in @CurtisVonRubenhoff and @zhengfu23 's court on the API side and someone else on the mobile side.
Update: added the CDC guidance on the contact elicitation period in this comment on #42.

Gonna try to pick this one up

Pushing this forward to Implement and marking it in progress per @zhengfu23 's comment above.
Probably should self-score it, James, if you can.
Also, since it's been 4 hours and we're approaching pencils down, drop a Comment update and/or call for help getting unblocked.

From Planning Poker in Slack:
Estimates for revelry-foundation/nightingale/44: curtis=5 and josh=8
josh (8): I think the API part is in place or in progress. There is no sketch or wireframe attached, so design ought to be involved in the solution. Tests to make sure we're not exposing privacy.
iamjoshfrank  3:29 PM
I was borderline 5 on this one, with most of the squishiness being around the API / server  part.
Seeing Joel's comment above moves me back down to 5.
James Fu  3:29 PM
I’d like to agree with a 5
jwietelmann  3:30 PM
api is 100% done
tests exist
code prevents any potentially-identifying data from making its way into the db
(addressing all your estimate comments)

@zhengfu23 - since this is a carry-over goal from last week and integral to complete our loop, please call out blockers and/or seek a pairing partner ASAP today. Thanks!

@Samkeer1 I'm still getting set up, but I feel like this would be a good place for me to get up to speed via some pairing with you. LMK when you're available!

FYI from @jwietelmann [at end of All-Hands](fastlane increment_build_number): here's an example of a match between mobile and the server response:
https://nightingale-server.nightingale.revelry.org/api/v1/find_proximate_positives?lat=90&lng=90&when=2020-05-28T17:21:29Z

@iamjoshfrank I have a list of locations in which a user was in close proximity to covid-positive reporting users, just working on a bit of styling before pushing up code.
I know it's not part of this ticket, but are hotspots something that we should also be listing out as well? I noticed hotspot listing on a wireframe and not seeing any sort of ticket for that.

I'm not sure what you mean:

[ ] Then I have a mechanism by which I can compare my locally stored location history with reported hotspots
[ ] And I can determine if I may have come in contact with a person that tested positive

(emphasis added)
I think a solution such as the one sketched out by @HauwaAguillard in #59 is one way to achieve the goals of this Issue (though it needs some refinement)
Doesn't the payload of the API response provide:

The location used to perform the query (the user's location); and
The matching hotspot location?

And so, when trying to show the user their "matches," we should try to show them the pair: their location and the matching location.

To clarify further:

are hotspots something that we should also be listing out as well?

We're not dumping out a list of ALL REPORTED HOTSPOTS BY EVERY USER FROM ALL TIMES into the app.
The "hotspots" feature is solely about showing matching locations.

Moving these wires over here in ref to work done on #59. Also paired with @Samkeer1 to complete design implementation here.

Updated wires:

Current pictures:

Quick response: 👍
Note: we'll need more accurate explanatory copy on the first view (b/c currently it looks like you're using copy related to a positive-status user's option to upload their locations to the server).

Bad assumptions re: what the server spits back as a result from the search request.
Joel is grabbing folks to clear it up.

Discussed the presentation of hotspot information with @HauwaAguillard, @jwietelmann and @NOrzechowski, and we agreed that the simplest way to tie off the core loop is to show text along the lines of 'x' amount of people tested positive, within the 'matching' constraints.
@HauwaAguillard is working on mocking this up currently.
This will allow us to iterate and further flush out data that we're comfortable with displaying to user, as well as to iterate in terms of continuing to define what a hotspot is.
Potentially, in further iterations it was mentioned that we could display more granular data to users. For example, 'the user was x distance away from you, for y amount of time'. etc.

@Samkeer1 @NOrzechowski I'm sure yall already seen these but updating this ticket for our future selves 😄
@iamjoshfrank comments

👍 on this approach.

updated wires:

Thanks @HauwaAguillard, looks great. Let's pair in the AM.


run in the same terminal

Hi,
Is it the normal behavior of the package to
open a new terminal each time one's press f5.
Or is there a way to keep the same terminal
for all the runs?
I tried to open a terminal in interactive mode
but each time I compile the code, it open another
terminal.
Thank you,
Junior

Yes. That's normal.
No, there is no way to change this behavior; you could always take a peek under the hood and tinker with the code to make it work.
To be honest, multiple instances has become an annoyance for me. Issue #75 seems to be a promising fix to this. There just isn't any active development towards that solution right now.
Note that this would be mainly experimental and would create a dependency for this project.
For now, every time F5  or F6 is executed, a new instance will always be created.
It's finally stable (a few strange bugs aside) and I'm sure most users are accustomed to the way this package currently works.
Creating a new branch will introduce new bugs and issues which can be troublesome... hence the idea to create an experimental branch (until it's stable; bugs and issues will happen regardless).
You can always help out. We could use it!


A number of improvements to algorithm complexity and performance...

Thanks @jimbozhang, as per your request. Sorry, I did not have much time to work on the test harness to demonstrate construction using a variety of different containers. Hopefully this helps solve your problems as it is for mine.

Thanks @kiplingw .
It is really a great job. However, I think it is too complicated.
I suggest you make this a new project, rather than merging here.

Thanks @kiplingw .
It is really a great job. However, I think it is too complicated.
I suggest you make this a new project, rather than merging here.


Hybrid - Attachment-Attachments become unavailable after sending them to the chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.65-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5241952
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Launch staging new.expensify Hybrid app and sign in with gmail account.
Open 1:1 chat.
Tap + icon near the compose box.
Select "Add attachment".
Select any option and tap Send.
Observe chat history.

Expected Result:
Attachment is available for viewing in the chat after sending it.
Actual Result:
Attachment become unavailable in 1-2 seconds after sending it to the chat. Preview of the image in the chat turns blank.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[x] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/05a43639-fa8e-46f5-b415-943b7d2df751
View all open jobs on GitHub

I can't reproduce this issue. This attachment in the ticket is the Expensify source. Maybe we have updated the backend, which is why we can't reproduce it anymore.
https://github.com/user-attachments/assets/c802d70c-3e09-4a41-840d-1e14a759e128

Yes, agree. I cannot reproduce either.


remove const from ibspdm_register_transport_layer_func

Fix: #708
Signed-off-by: Qi Zhang<EMAIL_ADDRESS>

coding style issue. merge.


fix(proto): clone instead of copy

Description
New version of protobuf puts a mutex into a message. This causes copying mutex which could lead to race condition.
pkg/registries/docker/metadata_v1.go:75:13: copylocks: assignment copies lock value to latest: github.com/stackrox/rox/generated/storage.ImageLayer contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex (govet)
			latest = *layer
			         ^
pkg/booleanpolicy/augmentedobjs/construct.go:197:9: copylocks: assignment copies lock value to img: github.com/stackrox/rox/generated/storage.Image contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex (govet)
	img := *image
	       ^
sensor/common/admissioncontroller/settings_manager_impl.go:46:15: copylocks: assignment copies lock value to *settings: github.com/stackrox/rox/generated/internalapi/sensor.AdmissionControlSettings contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex (govet)
		*settings = *p.currSettings
		            ^

https://github.com/stackrox/stackrox/actions/runs/8483665309/job/23245169186#step:9:31
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
CI
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#10764  👈
#10768
#10767
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @janisz and the rest of your teammates on  Graphite


Trim whitespaces in manifests

preview is here
original

Thanks @makocchi-git
/label tide/merge-method-squash

Since there is a hold until the release is out, would you rebase your changes to a single commit?
/remove-tide/merge-method-squash

/remove tide/merge-method-squash

Still trying out the commands 😕
/remove-tide merge-method-squash

@kbhawkey (cc @sftim)
Thank you for your comments. I squashed.

/lgtm

Trying this again,
/remove-label tide/merge-method-squash

/approve


Add jitter to the run chart?

Item 1 is to investigate if this is possible and worth the time to implement.

@zhen0 @billpalombi considering we're looking at replacing the scatter plot altogether I vote we close this issue.


ERROR: Invalid interpolation format for "app-prod" option in service "services": "VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}"

Describe the bug
When we do a docker-compose  up getting below error
RND ENV [root@devang bolt.diy-0.0.3]$ docker-compose  up
WARNING: The GROQ_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The HuggingFace_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The OPENAI_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The ANTHROPIC_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The OPEN_ROUTER_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The GOOGLE_GENERATIVE_AI_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The OLLAMA_API_BASE_URL variable is not set. Defaulting to a blank string.
WARNING: The TOGETHER_API_KEY variable is not set. Defaulting to a blank string.
WARNING: The TOGETHER_API_BASE_URL variable is not set. Defaulting to a blank string.
ERROR: Invalid interpolation format for "app-prod" option in service "services": "VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}"
Link to the Bolt URL that caused the error
It is installtion issue
Steps to reproduce
Download tar.gz and run docker-compose  up
Expected behavior
docker can start
Screen Recording / Screenshot
No response
Platform
OS : Red Hat Enterprise Linux release 8.9 (Ootpa)
Docker : Docker version 26.1.3, build b72abbb
docker-compose : docker-compose version 1.26.2, build eefe0d31
Provider Used
No response
Model Used
No response
Additional context
No response

Supported Docker Compose version v2.32.0 +


Improve the algorithm for detecting unwanted images.

The modified algorithm solves this problem. It is as follows:

Count the number of pixels with high brightness

Count the number of pixels with medium brightness

If numberOfBrightPixels is below 2.5% AND numberOfMediumBrightnessPixels is below 30%, then the picture is too dark.

Tests performed (required)
Tested on device Motorola Moto G(5) (Android 7.0, API 24), with build variant betaDebug.

Codecov Report

Merging #1798 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1798      +/-   ##
=========================================
+ Coverage    3.57%   3.57%   +<.01%
=========================================
  Files         190     190
  Lines        9503    9498       -5
  Branches      840     840
=========================================
  Hits          340     340
+ Misses       9140    9135       -5
  Partials       23      23

Impacted Files
Coverage Δ

...ain/java/fr/free/nrw/commons/utils/ImageUtils.java
0% <0%> (ø)
: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 b73535f...ab55704. Read the comment docs.

@Mansi449 Can you elaborate upon the test plan. Based on that anyone who doesn't have the full context about the "dark" images issue would be able to test it. :)

@maskaravivek Can you please provide some clarification for the kind of 'test plan' that you want me to provide?

@maskaravivek Thanks for the clarification!
The following images (all of which are perfectly valid) pop up the warning when being uploaded from the master branch but not when being uploaded using my PR:
https://drive.google.com/open?id=1UzxErrFyWf4Bvvad9lomFXybQxbRG1e0
https://drive.google.com/open?id=1DeVSbWRoRXHSWn8IHpjCZOWN8A3sZqvw
https://drive.google.com/open?id=1jozlI1XMmgxb29qkLZEFu4WnlK6uSufE
https://drive.google.com/open?id=1ZZy4B5pZJ8XIrldACfJwRXeqwqvn9W3u

Could you please also test with pictures that would definitely be considered too dark?
Here are a few ones:

@nicolas-raoul @maskaravivek Are there any changes that you think I should do?

I think this PR does what it should do:) Being dark or valid can be very variable. But with this PR, we let night photos too. I tested with example images above, and didn't distracted as a user, so merging as soon as you fixed Travis Cl fail. Thanks @Mansi449 !

@neslihanturan the Travis CI fail has been fixed. The PR can be merged now.
Thanks!