Cached  Tenancy Resolver not updating or getting invalidated when Tenant data is updated

Bug description
I have a custom tenant model which has a jsonb column called settings. Whenever I save some new settings using the below method:
    $result = $tenant->forceFill($newSettings)->save();

The value is updated correctly in the database however, if i try to retrieve this value using my laravel API i get the previous value being returned. When I try to invalidate the Cache programmatically (i am using Redis), this still remains the same. I have tried the following options:
Cache:flush();
Redis:flushDb();
Cache::forget(config('tenancy.cache.tag_base') . tenancy()->tenant->id);
but none of them work. The only methods which work are:

php artisan cache:clear
logging in to redis-cli and trying FLUSH-ALL

It seems like the offending key is the Tenancy Resolver key which usually is in this format:
_tenancy_resolver:App\Resolvers\TenantResolver:["42c70ecb-10e8-44eb-b07d-4ec262d5f2ae"]
and which stubbornly fails to get invalidated in my case.
Steps to reproduce
Tenant Model:
class Tenant extends BaseTenant implements TenantWithDatabase
{
    use HasDatabase;
    use HasDomains;

    protected $connection = 'central';
    protected $casts = [
        'id' => 'string',
        'settings' => 'array',
    ];
    protected $fillable = [
        'name', 'data', 'friendly_name', 'user_limit', 'settings'
    ];

    public static function getCustomColumns(): array
    {
        return [
            'id',
            'name',
            'data',
            'friendly_name',
            'user_limit',
            'settings',
            'created_at',
            'updated_at',
            'deleted_at'
        ];
    }

    public function users()
    {
        return $this->belongsToMany(User::class, 'tenant_user', 'tenant_id', 'user_id', 'id', 'id')
            ->using(TenantPivot::class);
    }

    public function settings()
    {
        return new TenantSettings($this->settings ? $this->settings : [], $this);
    }

}

From my controller I then call
        $newSettings = ['test' => 'abc', 'testArray' => ['a','b','c']];
        $result = $tenant->forceFill($newSettings)->save();
        return 1;

Expected behavior
Database value in column settings is updated.
Cached value is also updated
Laravel version
8.0
stancl/tenancy version
3.5

Please provide proper steps to reproduce this.
Also, I don't know if $result = ...->save() does what you're expecting it to do. save() generally returns whether something was saved or not.

Hi @stancl , thanks I have added steps to reproduce. In this save seems to work since when I check the value within my database, the newest value provided is read. Therefore save seems to be working from an eloquent point of view.

This seems like a usage thing, I'd recommend asking on Discord.
For reproduction steps, don't just include your code, but include a minimal example that reproduces the issue. You should be able to have code that doesn't reproduce the issue, and code that reproduces the issue, to show the difference when this happens.
If the feature simply "doesn't work" for you at all, but works for everyone else, it's a usage issue.

hi @stancl , I've asked on discord yesterday and while i got a reply, it didn't address the issue. Is there a correct way to manually invalidate the tenancy resolver key specifically? Because I even tried to do this using the following techniques but to no avail:
Cache::forget(config('tenancy.cache.tag_base') . tenancy()->tenant->id);
Cache::tags(config('tenancy.cache.tag_base') . tenancy()->tenant->id)->flush();

I have the same problem, cache is not invalidating when you delete a tenant...

in the end i resolved this using:
Artisan:call('cache:clear');


Petition to change the repository maintainer

Hi! @zenorocha. Could you change the maintainer account of this repository to my real GitHub account: @branivreyes? I would appreciate it.

Sure! I just removed @brandon-irs from the org and invited @branivreyes. Feel free to update the README as well.


HDFS-15672. TestBalancerWithMultipleNameNodes#testBalancingBlockpoolsWithBlockPoolPolicy fails on trunk.

https://issues.apache.org/jira/browse/HDFS-15672
The setting of testBalancingBlockpoolsWithBlockPoolPolicy is

2 NameNodes (2 name spaces)
4 DataNodes (with 500 bytes capacity per node)
blocksize = 100, replication factor = 2
creating 300 bytes file on both name spaces (6 blocks total)
add 2 DataNodes (with 500 bytes capacity per node)
running balancer

If one of the DataNode is chosen for all 6 blocks, no free space is available. The error causes retry of block creation.
2020-11-18 06:01:36,648 [DataXceiver for client DFSClient_NONMAPREDUCE_1983766438_12 at /<IP_ADDRESS>:46158 [Receiving block BP-631108559-<IP_ADDRESS>-1605679293748:blk_1073741827_1003]] ERROR datanode.DataNode (DataXceiver.java:run(324)) - host1.foo.com:43495:DataXceiver error processing WRITE_BLOCK operation  src: /<IP_ADDRESS>:46158 dst: /<IP_ADDRESS>:43495
java.io.IOException: Creating block, no free space available

The garbage breaks assertion about total used space.
2020-11-18 06:01:37,361 [Listener at localhost/43281] INFO  balancer.Balancer (TestBalancerWithMultipleNameNodes.java:runBalancer(172)) - BALANCER 0: totalUsed=1200, totalCapacity=3000, avg=40.0
2020-11-18 06:01:37,361 [Listener at localhost/43281] INFO  balancer.Balancer (TestBalancerWithMultipleNameNodes.java:wait(151)) - WAIT expectedUsedSpace=1200, expectedTotalSpace=3000
...(snip)
2020-11-18 06:01:47,372 [Listener at localhost/43281] WARN  balancer.Balancer (TestBalancerWithMultipleNameNodes.java:wait(161)) - WAIT i=100, s=[3000, 1300]

I tweaked the waiting condition and totalUsed. triggerHeartbeats is just for reducing test time.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 33s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m  7s

trunk passed

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
1m 11s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 48s

trunk passed

+1 :green_heart:
mvnsite
1m 19s

trunk passed

+1 :green_heart:
shadedclient
17m 30s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 24s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
3m  3s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  1s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 10s

the patch passed

+1 :green_heart:
compile
1m 11s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
1m 11s

the patch passed

+1 :green_heart:
compile
1m  2s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
1m  2s

the patch passed

+1 :green_heart:
checkstyle
0m 39s

the patch passed

+1 :green_heart:
mvnsite
1m 10s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m 39s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 51s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
3m  5s

the patch passed

_ Other Tests _

-1 :x:
unit
97m 23s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
asflicense
0m 45s
/patch-asflicense-problems.txt
The patch generated 2 ASF License warnings.

187m 26s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR

hadoop.hdfs.server.namenode.TestFSImage

hadoop.hdfs.server.balancer.TestBalancerRPCDelay

hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2475/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2475

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux d9c811273bac 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 34aa6137bd8

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2475/1/testReport/

Max. process+thread count
4205 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2475/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thank you @iwasakims for your fix!

Thank you @iwasakims for your fix!

Thanks, @aajisaka.

Thanks, @aajisaka.


The dotlottie-wc web component does not display correctly when the height is set to auto. It requires a min-height or explicit height value to render properly.

Steps to Reproduce:
Include the dotlottie-wc component in your HTML.
Set the height of the component to auto (e.g., via CSS).
Observe that the component does not render or display as expected.
Expected Behavior:
The dotlottie-wc component should automatically adjust its height based on the content and display correctly when the height is set to auto.
Actual Behavior:
The dotlottie-wc component does not render or display correctly when the height is set to auto. It only displays correctly when a min-height or explicit height value is provided.
<!DOCTYPE html>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>dotlottie-wc Test</title>

        <dotlottie-wc
          src="https://lottie.host/4db68bbd-31f6-4cd8-84eb-189de081159a/IGmMCqhzpt.lottie"
          autoplay
          loop
        ></dotlottie-wc>

This should help address the issue.

Hi @theashraf , Thanks for your response. Unfortunately, the suggested workaround isn't working for my use case. I am trying to use dotlottie-wc as a background image.
Actual Output: The dotlottie-wc component is taking up the entire screen height instead of the specified height.
Expected Output: The dotlottie-wc component should be 200px in height.
t
`

dotlottie-wc Test

some text

  setTimeout(() => {
            document.querySelector('.demo').style.height = '200px';
        }, 1000);

  `

@vsarangan Gotcha!!
I've updated the example to achieve the expected output
https://codesandbox.io/p/sandbox/dotlottie-wc-test-forked-r4zptd
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>dotlottie-wc Test</title>

      <dotlottie-wc
        src="https://lottie.host/4db68bbd-31f6-4cd8-84eb-189de081159a/IGmMCqhzpt.lottie"
        autoplay
        loop
      ></dotlottie-wc>

Some text

Hi @theashraf , Thank you for your reply. We've already implemented the suggestion mentioned above, and it's functioning well as provided earlier [codesandbox(https://codesandbox.io/p/sandbox/dotlottie-wc-test-forked-p7pzz2?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clx1e3fpk00073j6jkya7u77y%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clx1e3fpj00033j6j1w7vrfnh%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clx1e3fpj00043j6jw8aks7j8%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clx1e3fpj00063j6jpkj603sg%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clx1e3fpj00033j6j1w7vrfnh%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clx1e3fpj00023j6jyz9ifjj4%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A14%252C%2522startColumn%2522%253A12%252C%2522endLineNumber%2522%253A14%252C%2522endColumn%2522%253A12%257D%255D%252C%2522filepath%2522%253A%2522%252Findex.html%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clx1e3fpj00033j6j1w7vrfnh%2522%252C%2522activeTabId%2522%253A%2522clx1e3fpj00023j6jyz9ifjj4%2522%257D%252C%2522clx1e3fpj00063j6jpkj603sg%2522%253A%257B%2522id%2522%253A%2522clx1e3fpj00063j6jpkj603sg%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clx1e3fpj00053j6ju8z64gqa%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clx1e3fpj00053j6ju8z64gqa%2522%257D%252C%2522clx1e3fpj00043j6jw8aks7j8%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clx1e3fpj00043j6jw8aks7j8%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D) We now have a use case where we need to retrieve the height and width information of the .lottie file. Is there any available option to obtain this information?

@vsarangan Glad that it works
There is no direct way at the moment to retrieve the original width and height of the animation

@theashraf , Thanks for the prompt responses. It helps a lot

Hey @theashraf, I have a question about an error I'm encountering. Here's the error message:
dotlottie-wc :
chunk-O5GMJN34.js:1 Uncaught DOMException: Failed to construct 'ImageData': The source width is zero or not a number.
Could you help me understand what might be causing this?

The animationSize method has been added to dotlottie-web v0.26.0.
You can now get the Lottie animation size and update the canvas styles accordingly after the animation is loaded.
Here is a code example:
dotLottie.addEventListener("load", () => {
  const animationSize = dotLottie.animationSize();

  canvas.style.width = `${animationSize.width}px`;
  canvas.style.height = `${animationSize.height}px`;

  dotLottie.resize(); // Must call this method after the canvas is resized so dotLottie can resize its internal frame buffer size accordingly.
});

I hope this CodePen achieves what you're looking for: https://codepen.io/lottiefiles/pen/xxNNGxE

Hey @theashraf, I have a question about an error I'm encountering. Here's the error message:
dotlottie-wc :
chunk-O5GMJN34.js:1 Uncaught DOMException: Failed to construct 'ImageData': The source width is zero or not a number.
Could you help me understand what might be causing this?

@vsarangan Sorry, i missed this one
do you display: none on DotLottieReact or its parents ?


automatically update view data when new segments are generated

automatically update view data when new segments are generated
I used the way of real-time + offline to import data in my work. When using the plug-in "materialized view maintenance", the view data will be generated after the specified delay. But when my offline data is generated, I find that the view data has not been updated. I think this operation should be updated automatically, so we added this logic. I think this should be This is a general requirement, so this PR was submitted.
In order not to affect the original logic, I added the parameter isautoupdate in the context. The default value is false, which means not to update automatically. When it is changed to true, it means to enable this function, that is, to update the view data automatically when a new segment is generated

@liguifa thank you for the contribution!
@zhangxinyu1 would you take a look?

@zhangxinyu1 Haven't logged in to gihub in a long time?


Update version to 2020.07.0

Description
Fixes #99
Fixes #101
Checklist

[x] Added link to Github issue or Trello card
[ ] Added tests

Have a look at the issue #99 and let me know if I am omitting anything. I will then copy and paste to the changelog and in the release.

Codecov Report

Merging #100 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   76.69%   76.69%
=======================================
  Files          38       38
  Lines        1652     1652
=======================================
  Hits         1267     1267
  Misses        385      385

Impacted Files
Coverage Δ

wellcomeml/__version__.py
100.00% <100.00%> (ø)

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 3a8097b...4eeb805. Read the comment docs.

Do you also need to update the CHANGELOG.md in this PR? (could just write what you wrote in the issue description #99)

Thats the plan

We are live https://pypi.org/project/wellcomeml/. For some reason this does not have an approval yet but the new version is up both in pypi, github and aws @lizgzil @aCampello

How does it fix https://github.com/wellcometrust/WellcomeML/issues/101

How does it fix #101

Forgot to push the commit for that. Doing that now.

How does it fix #101

Forgot to push the commit for that. Doing that now.

I think I would have a preference to add to the Makefile (https://github.com/wellcometrust/WellcomeML/issues/101), but if you want to merge we can do that in a subsequent PR

How does it fix #101

Forgot to push the commit for that. Doing that now.

I think I would have a preference to add to the Makefile (#101), but if you want to merge we can do that in a subsequent PR

I would agree that it makes more sense as the docs requirement is only needed for docs and not for the entire library. I am not 100% sure whether the requirements should live in the docs folder but this is a separate discusssion. Will do the change here.


Collect frames and create animated rain map gif

Good idea, but I'm not sure this is the right way to implement this.
get_image is only called when the frontend is open, so unless your frontend is open for a long while, you won't see any animation.
You should probably GET the last 12 rain images so that you can get your animation loaded right when the frontend is open. Then update the animated gif when a new frame is ready.

have implemented this feature in the main branch. thanks for the suggestion


[ogre-next] update to 2.3.0

Library name: ogre-next
New version number: 2.3.0
Other information that may be useful (release notes, etc...)
It has been 3 year since this port was last updated.
https://github.com/OGRECave/ogre-next/releases

The port [ogre-next] has been updated to 2.3.0 #22058, please use the latest vcpkg and run the command git pull


The bugs with Kendrick on Pharo 7

Whenever I run a model with Kendrick on Pharo 7 I have bugs or errors. Even when I make a simple copy of the models of the kendrick benchmark. The execution of the model does not succeed.

Yvan, you have to learn how to do bugs report ! You need to be much more informative if you want to someone reply to you. Which version of Pharo, which OS, wich version of Kendrick you use ? What model breaks ? What are exact message error ? etc ...

I fix the execution errors in last commits.


Make Jest work and add unit tests

This is important. And also super weird as it still doesn't even work for just trying to import react, even though I added the moduleDirectories that's supposed to be the fix. When I find time later I think I will try to install it again from scratch and see if there's anything little wrong there.
When Jest is up and running, also use it to thoroughly test and rewrite/fix the expandCache to make it work with all possible edge cases

There is some kind of transform / rewrite hook, that lets you manipulate imports before jest sees them. Probably it is just incorrectly written. It's a little finicky to make it work with webpack.

Done


chore: dot notation for functions where I missed it the most

Can I add a file that isn't included with import Mathlib please?
I would like these dot notations optional but ready to be used.

I would like these dot notations optional but ready to be used.

This is what scoped attribute is for (though I don't know if that's legal for app_unexpander)

I'm not really sure what to do with these, and whether to make them scoped, but maybe maybe you could put these in Mathlib/Util/ExtraDelaborators.lean and leave them un-scoped. They're relatively harmless, and it might be ok if they're activated when people import Mathlib.
Making them scoped means you'd have to activate them with an open in every module where you want to use them, which seems unpleasant.
Regarding Mathlib.lean, every module in mathlib must appear without exception.


Hiera php::config::settings not modiying /etc/php.ini

I hope I'm just being stupid, but setting hiera values for php::config::settings: is not modifying /etc/php.ini.  If this is not the correct way to set/modify /etc/php.ini, the please let me know the correct way or update README.md.  I could not understand in the manifest files nor README.md for how do achieve this.
If I declare values for 'php::cli::settings', then /etc/php-cli.ini gets modified correctly.  For example, here's excerpts from my host.yaml file -- (some formatting/spacing is lost in this post)

classes:
- apache
apache::default_confd_files: false
apache::default_mods: false
apache::default_vhost: false
apache::server_tokens: ProductOnly
apache::server_signature: 'Off'
apache::trace_enable: 'Off'
apache::mpm_module: prefork
apache::mod::prefork::startservers: 8
apache::mod::prefork::minspareservers: 5
apache::mod::prefork::maxspareservers: 20
apache::mod::prefork::serverlimit: 1024
apache::mod::prefork::maxclients: 1024
apache::mod::prefork::maxrequestsperchild: 2000
php::config::settings:
php::cli::settings:
php::global::settings:
php::global:
PHP/engine: 'On'
PHP/short_open_tag: 'On'
PHP/aps_tags: 'Off'
PHP/precision: 14
PHP/output_buffering: 4096
PHP/zlib.output_compressionr: 'Off'
PHP/implicit_flush: 'Off'
PHP/serialize_precision: 100
PHP/zend.enable_gc: 'On'
PHP/expose_php: 'Off'
PHP/max_execution_time: '300'

I appear to be having the same issue. Also, php.ini doesn't seem to get touched at all, even if I directly add the settings in the manifest instead of hiera.

Is this with 3.4.2 or the current master branch? Note that some parameters are different between these versions.

We look to be running 3.4.2 ---
From CHANGELOG.md
3.4.2

Fix a bug that changed the default of php::manage_repos to false on
Debian-based operating systems except wheezy. It should be turned on by
default. (#116)
Fix a bug that prevented reloading php-fpm on Ubuntu in some cases.
(#117, #107)

I see you're up to 4.0.0.  Is the issue addressed in the 4.0.0 version?  If not I was thinking of making a Pull request and adding it in.
p.s. -- Thanks for the response =)

@centric-jim I don't know if it's fixed or not, just wnated to point out that the paramter docs you'll see when reading docs online here on GH already apply only to a later version. If you found a bug and can fix it, please do open a PR :)

@mmoll -- From what I'm reading, it looks like the module manages config files for phg-cli and php-fpm .. and I'm pretty sure you understand php way better than I do.  We're using mod_php for apache2 and it's getting it's settings, I believe, from /etc/php,ini.  If I should be using php::fpm to manage the config instead of keeping settings in /etc/php.ini then this really isn't an issue.  But If I should be using /etc/php.ini then I'll create a PR and see what I can come up with.

I just tried today with master branch from GitHub instead of 3.4.2 from Puppet Forge and it works correctly for me. Both using Hiera and directly in the manifest.

seems to be fixed with current master, closing.


Create a mechanism for turning the profiler off

Create a mechanism for turning the profiler off  (Useful to sort out early on, so that it doesn't become difficult to add later.) e.g. A const logical/boolean so that they are removed by optimising compilers.
Will need looking into, unsure exactly what the requirements are, @mo-mglover can you provide more detail.

I'm going to close this one. I disagree with myself over the wisdom of building the logicals into Vernier.  Different client applications would have different needs.
Also, the if test is best done in the application, for reasons of compiler optimisations outlined above.


Intrinsics setting when processing custom data

Dear devs,
Thanks for your great work! I have tried using the custom data and found results to be surprisingly good.
The question lies in that, as the intrinsics of the data is from COLMAP, I convert it into OpenCV format using the provided code, but I observed the result is nearly the same as the one without converting. I'm wondering is this indicates that both format of intrinsics are feasible to NoPoSplat even the data is from COLMAP.

Hi, I am glad to know it works well on your data. As far as I know, the only difference between the COLMAP intrinsics and the OpenCV intrinsics is that the principal points (cx, cy) need to be adjusted (0.5, 0.5). The differences are minor, and our method are relatively robust to the intrinsic change.

Got it. Thanks for your reply.


Problem with event.next()

Description
[During the lookup the event I get InvalidFormatException]
How to reproduce
[event.next()]
What do you expect
[Will get event.action and event.actor]
What happened instead
[Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.spotify.docker.client.messages.Event$Type from String "service": value not one of declared Enum instance names: [container, volume, image, daemon, network]]
Software:

docker 17.06.0-ce: [Add the output of docker version here, both client and server]
Spotify's docker-client version: [Add docker-client version here]

Full backtrace
[Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.spotify.docker.client.messages.Event$Type from String "service": value not one of declared Enum instance names: [container, volume, image, daemon, network]
 at [Source: org.apache.http.conn.EofSensorInputStream@2b355cec; line: 1, column: 9] (through reference chain: com.spotify.docker.client.messages.Event["Type"])
	at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:74)
	at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:1410)
	at com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:926)
	at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:189)
	at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:126)
	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:504)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:511)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:400)
	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1191)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148)
	at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3770)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2099)
	at com.fasterxml.jackson.core.JsonParser.readValueAs(JsonParser.java:1627)
	at com.spotify.docker.client.EventReader.nextMessage(EventReader.java:58)
	at com.spotify.docker.client.EventStream.computeNext(EventStream.java:45)
	... 14 more]

Can you provide more info about how to reproduce this? It seems clear that, A. docker added swarm events with type service, and B. your docker daemon was doing something that produced one of those events. Can you tell me what you were doing to produce that event?
These service events aren't documented in docker's swagger.yaml. I believe you when you say you saw one, I just need some help reproducing the event so I can see it myself before I can work on it.

Sure. What i am doing is creating a service, check if a service is up and running, look up a container, exec into this container, tar some files, and exit.
If you need code example, i can post it tomorrow.
Thanks a lot,
Oleg
Be aware it's docker 17.06.0-ce. In 17.05 was working.
---- On Sun, 09 Jul 2017 11:47:45 -0700<EMAIL_ADDRESS>wrote ----
Can you provide more info about how to reproduce this? It seems clear that, A. docker added swarm events with type service, and B. your docker daemon was doing something that produced one of those events. Can you tell me what you were doing to produce that event?
These service events aren't documented in docker's swagger.yaml. I believe you when you say you saw one, I just need some help reproducing the event so I can see it myself before I can work on it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

From the docker events:
2017-07-10T09:05:52.923785680+03:00 service create ezyk8pyl4h2wyd6jzkj7rno9z (name=secretBackupService)
2017-07-10T09:05:52.924606543+03:00 service update ezyk8pyl4h2wyd6jzkj7rno9z (name=secretBackupService)
2017-07-10T09:05:55.470294686+03:00 image pull tutum/curl:latest (name=tutum/curl)
2017-07-10T09:05:55.585513408+03:00 container create 8891f769b7cbd856d3deeffec7dce2061d8aaf869052b92c9bf53c66b61b4227 (com.docker.swarm.node.id=1ygqcypbrli5kbnvufzpmgssa, com.docker.swarm.service.id=ezyk8pyl4h2wyd6jzkj7rno9z, com.docker.swarm.service.name=secretBackupService, com.docker.swarm.task=, com.docker.swarm.task.id=8ax1ccmstxr89rqauqnb6t7rz, com.docker.swarm.task.name=secretBackupService.1.8ax1ccmstxr89rqauqnb6t7rz, image=tutum/curl:latest, name=secretBackupService.1.8ax1ccmstxr89rqauqnb6t7rz)
2017-07-10T09:05:55.734295044+03:00 network connect jy1t20lkkf6o0wkcptguvlw8z (container=8891f769b7cbd856d3deeffec7dce2061d8aaf869052b92c9bf53c66b61b4227, name=epic_default, type=overlay)
2017-07-10T09:05:56.275005065+03:00 container start 8891f769b7cbd856d3deeffec7dce2061d8aaf869052b92c9bf53c66b61b4227 (com.docker.swarm.node.id=1ygqcypbrli5kbnvufzpmgssa, com.docker.swarm.service.id=ezyk8pyl4h2wyd6jzkj7rno9z, com.docker.swarm.service.name=secretBackupService, com.docker.swarm.task=, com.docker.swarm.task.id=8ax1ccmstxr89rqauqnb6t7rz, com.docker.swarm.task.name=secretBackupService.1.8ax1ccmstxr89rqauqnb6t7rz, image=tutum/curl:latest, name=secretBackupService.1.8ax1ccmstxr89rqauqnb6t7rz)
	private void checkEvents(EventStream es) { 		int countDown = config.getRetryPolicyMaxAttempt(); 		while (countDown-- > 0) { 			Event event = es.next(); 			if (event.actor().attributes().containsKey(KEY_DOCKER_SWARM_SERVICE_NAME) && event.actor().attributes().get(KEY_DOCKER_SWARM_SERVICE_NAME).contains(SECRET_BACKUP_SERVICE) && event.action().equals(ACTIONS.start.name())) { 				log.info(event.action() + ", " + event.actor()); 				break; 			} 		} 	}

Ok, I think I see what you're doing here. You are trying to pull out the container start event, correct? You can do a workaround until we get the service events to parse correctly: when you get the EventStream, don't get the full stream, filter it to just the type of events you want.
EventStream es = dockerClient.events(EventsParam.type(Event.Type.CONTAINER), EventParams.event(ACTIONS.start.name()));

That will return a stream with only container start events. If you're interested in a different event instead, tailor to suit your needs.
 And as a bonus it will save a tiny amount of bandwidth and CPU cycles.

Thank man !!!

FYI,
they updates its swagger about 8 hours ago. Services are in.


Cannot read property concat of undefined in jest-editor-support

I've just installed this amazing plugin - thanks a lot for all the hard work put into it.
Unfortunately, even though the plugin seems to load and run tests fine (I see the little jest button at the status bar in the bottom of the screen) - I don't see the pass/fail indicators in the gutter (those precious green/red dots)
In the dev console, is see the following log each time I navigate to one of my .spec.js files:
TypeError: Cannot read property 'concat' of undefined
    at babylonParser (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/node_modules/jest-editor-support/build/parsers/BabylonParser.js:57:32)
    at Object.parse (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/node_modules/jest-editor-support/build/ScriptParser.js:31:12)
    at JestExt.triggerUpdateDecorations (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/out/src/JestExt.js:118:51)
    at JestExt.updateWithData (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/out/src/JestExt.js:262:14)
    at Runner.jestProcess.on.on (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/out/src/JestExt.js:41:18)
    at emitOne (events.js:96:13)
    at Runner.emit (events.js:188:7)
    at readFile (/Users/guy/.vscode/extensions/Orta.vscode-jest-2.0.5/node_modules/jest-editor-support/build/Runner.js:61:18)
    at tryToString (fs.js:455:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)

I'm working on a react-native project and to be honest, I'm pretty new to the whole Js ecosystem - it's possible my setup is wrong and or missing some config?
Orta.vscode-jest-2.0.5
react-native 0.38.2
vs code 1.8.1

It looks like it's trying to parse your .babelrc file and not finding a plugins section in the file.  Just based on the stacktrace message.

hmm, I added an empty plugins object to my .bablerc file - still getting same stack trace 😢
{
  "presets": ["react-native"],
  "plugins": []
}


[DOCS] How do you actually install and try this?

Description
I can't seem to find how to actually install and use this extension. My understanding is https://github.com/salt-extensions/saltext-vault/blob/main/README.md is just to install for development.
The install doc here https://github.com/salt-extensions/saltext-vault/blob/main/docs/topics/installation.md says to just salt-pip install saltext-vault but that does not exist.
What am I missing? How do I actually get this installed and try it?
Suggested Fix
Better docs or a link to how to install extensions?
Type of documentation
Guide
Additional context
I am running on a fresh install of salt 3006.5 on almalinux 9.3
Eager to help test but need some guidance please!

Thanks for your interest in this extension! You're correct, this has not been released to PyPi yet. The reason is that imo having a working link to the rendered docs embedded in the release is quite important for this extension, but there is no organization-wide infrastructure for hosting them yet. @nicholasmhughes Has there been any progress regarding hosting the docs for extensions inside the org? Anything I can help with?
For the time being, you would have to build a release yourself to install it:
git clone https://github.com/salt-extensions/saltext-vault
cd saltext-vault
# optionally create a venv
python -m pip install build
python -m build --outdir dist/

This will yield a built wheel at dist/saltext.vault-0.1.dev<...>-py2.py3-none-any.whl, which you should be able to install on your nodes via salt-pip.

Thank you! I thought my pip wasn't setup correctly...
I'll give this a try and report back...

Thanks! Was able to get it to build and install with your instructions.
[vagrant@saltmaster ~]$ sudo salt-pip list | grep vault
saltext.vault      0.1.dev986+g91e2d10

It seems like my vault.read_secrets are still working as expected...and I haven't made any changes. Is there a way to know I am using this ext instead of the default vault modules?

You're welcome. :)
The configuration is backwards-compatible, so it should have still been using the updated modules while warning about the need for updated config (the log message is in fact proof that you were using the modules from this extension). It's still important to update the config though to avoid unnecessary overhead.
Vs the 3006.* vault modules, there are many differences, most of which are marked by .. version(added|changed):: 1.0.0 in the code. An easy check would be to run salt-call vault.list_secrets some/path keys_only=true, which should only work with this extension.

Has there been any progress regarding hosting the docs for extensions inside the org?

Not yet. It's still on my list, and should get some attention soon.


news release ? updated guide :)

Hello , thank you for your jobs ,
possible to share news release with full updated guide according this release ? :)
have a nice days

I plan to release an update before the end of the year.  I will update the wiki guides after that.

dxwrapper and the guide has been updated.


Fix logging format error in retrain.py

This fix fixes the logging format error in tensorflow/examples/image_retraining/retrain.py.
This fix fixes #16735.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

@caisq Thanks for the review. The PR has been updated.


Remove unnecessary validations for upgrade management components

Issue #, if available:
Description of changes:
Testing (if applicable):

Manual testing
Running E2E tests

--- PASS: TestVSphereKubernetes128UpgradeManagementComponents (747.19s)
PASS

--- PASS: TestDockerKubernetesUpgradeManagementComponents (615.07s)
PASS

--- PASS: TestCloudStackKubernetes128UpgradeManagementComponents (854.62s)
PASS

Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


a/b testing demo

Trello Card - Implement instrumentation for A/B Testing
Google Optimize is a tool to help running A/B testing (among others), part of the Google Marketing platform. We can run up to 5 concurrent experiments for free.
To start an experiment, we need to:

Create the Experience in https://optimize.google.com/
Add the experiment ID to the enum
Implement the variants

Example
The following code will render A for users with the original variant, and B for the rest. This can be tested by opening Incognito windows until hitting both variants.
<Experiment id={ExperimentID.DONATE_FOOTER}>
  <Variant id={VariantID.A}>A</Variant>
  <Variant id={VariantID.B}>B</Variant>
</Experiment>

Closing, will use as a reference if we need to use A/B testing in the future


Fix test failures resulting from change in Exceptions

This PR addresses test failures in https://github.com/NVIDIA/spark-rapids/issues/6988
Before this PR running arithmetic_ops_test we have
 284 failed, 517 passed, 14 skipped, 2 xfailed in 178.43s (0:02:58)

After this PR we have
236 failed, 565 passed, 14 skipped, 2 xfailed in 167.59s (0:02:47)

This PR is closed in favor of https://github.com/NVIDIA/spark-rapids/pull/7687


Perform a new minor release with ansys-api-dyna v0.4.0

Following https://github.com/ansys/ansys-api-dyna/pull/13 I performed a release on ansys-api-dyna. This is blocking for the entire PyAnsys ecosystem. Once https://github.com/ansys/pydyna/pull/501 is merged, we request you @ansys/pydyna maintainers to do a new minor release. This is urgent.
For more details see https://github.com/ansys/ansys-tools-protoc-helper/issues/29#issuecomment-2286136182

@zhangzhanqun @wenhuiuy @kanthadya - please respond

@RobPasMue what I should do is to build a new release v0.4.1, right?

I recommend doing a new minor version IMO, so v0.5.0

Hi @RobPasMue ,I tried to release v0.5.0 from Releases->Draft a new release->Choose a tag(v0.5.0)->Publish release, but it seems that it is incorrect, there are no .whl and .tar.gz files in Assets, could you please give me some details on how to release this project from github-actions?

Please follow the instructions on how to release... https://dev.docs.pyansys.com/how-to/releasing.html
These are standard for all projects. You should be familiar with them. In your case you are releasing a minor version (0.5) so follow the instructions accordingly (create a release/0.5 branch, modify the needed version references, create tag from release branch...)

Hi @RobPasMue, thank you for your information, release 0.5.0 have been created, please check it.

Hi @zhangzhanqun - I meant that you should do a release 0.5.0 on the PyDyna repo, not on the ansys-api-dyna one... Please read this issue's description.
Perform a new ansys-dyna-core release whenever possible.

Hi @RobPasMue sorry for that, I perform a new pydyna release and it create a pull request, please check if it is correct, it is my first time to perform release, so any problems please tell me.

Release was created successfully :) No need to create a PR - just let the branch on its own. I closed it for you this time. Thanks a lot @zhangzhanqun and congrats on your first release!


CRC internal login registry issue .

Hi CRC Team,
*We are running CRC on Windows 10 pro.

Trying docker build and push binaries to internal CRC  registry for deployment , But we can able to build and not able to push the image to CRC internal registry & Also not able to do docker login with help of " Kubeadmin" & " Developer" user.  Given VM logs below.

=========
C:\Users\karthi> crc setup                                                                                INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached                                                                                INFO Checking if CRC bundle is cached in '$HOME/.crc'                                                                                INFO Checking if running as normal user                                                                                INFO Checking Windows 10 release                                                                                INFO Checking if Hyper-V is installed and operational                                                                                INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
Setup is complete, you can now run 'crc start' to start the OpenShift cluster
C:\Users\karthi> crc start -n <IP_ADDRESS>                                                                                WARN A new version (1.10.0) has been published on https://cloud.redhat.com/openshift/install/crc/installer-provisioned
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if running as normal user
INFO Checking Windows 10 release
INFO Checking if Hyper-V is installed and operational
INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
INFO Starting CodeReady Containers VM for OpenShift 4.3.8...
INFO Verifying validity of the cluster certificates ...
INFO Adding <IP_ADDRESS> as nameserver to the instance ...
INFO Will run as admin: add dns server address to interface vEthernet (Default Switch)
INFO Check internal and public DNS query ...
INFO Check DNS query from host ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p https://api.crc.testing:6443'
INFO To login as an admin, run 'oc login -u kubeadmin -p  https://api.crc.testing:6443'
INFO
INFO You can now run 'crc console' and use these credentials to access the OpenShift web console
Started the OpenShift cluster
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation
fiedErrorId : CommandNotFoundException
C:\Users\karthi> crc oc-env                                                                                $Env:PATH = "C:\Users\karthi.crc\bin;$Env:PATH"
Run this command to configure your shell:
& crc oc-env | Invoke-Expression
C:\Users\karthi> $Env:PATH = "C:\Users\karthi.crc\bin;$Env:PATH"                                                                                C:\Users\karthi> oc login -u kubeadmin -p kKdPx-pjmWe-b3kuu-jeZm3 https://api.crc.testing:6443                                                                                Login successful.
You have access to 54 projects, the list has been suppressed. You can list all projects with 'oc projects'
Using project "axisodc".
C:\Users\karthi> crc config view                                                                                C:\Users\karthi> crc config                                                                                Modifies crc configuration properties.
Configurable properties (enter as SUBCOMMAND):

bundle
cpus
disable-update-check
enable-experimental-features
http-proxy
https-proxy
memory
nameserver
no-proxy
pull-secret-file
skip-check-administrator-user
warn-check-administrator-user
skip-check-bundle-cached
warn-check-bundle-cached
skip-check-hyperv-installed
warn-check-hyperv-installed
skip-check-hyperv-service-running
warn-check-hyperv-service-running
skip-check-hyperv-switch
warn-check-hyperv-switch
skip-check-user-in-hyperv-group
warn-check-user-in-hyperv-group
skip-check-windows-version
warn-check-windows-version

Usage:
crc config SUBCOMMAND [flags]
crc config [command]
Available Commands:
get         Get a crc configuration property
set         Set a crc configuration property
unset       Unset a crc configuration property
view        Display all assigned crc configuration properties
Flags:
-h, --help   help for config
Global Flags:
-f, --force              Forcefully perform an action
--log-level string   log level (e.g. "debug | info | warn | error") (default "info")
Use "crc config [command] --help" for more information about a command.
C:\Users\karthi> oc policy add-role-to-user registry-viewer kubeadmin                  clusterrole.rbac.authorization.k8s.io/registry-viewer added: "kubeadmin"
C:\Users\karthi> oc policy add-role-to-user registry-editor kubeadmin
clusterrole.rbac.authorization.k8s.io/registry-editor added: "kubeadmin"
C:\Users\karthi> oc project openshift-image-registry
Now using project "openshift-image-registry" on server "https://api.crc.testing:6443".
C:\Users\karthi> oc get pods
NAME                                              READY   STATUS    RESTARTS   AGE
cluster-image-registry-operator-5c4dc465b-ncpkf   2/2     Running   10         41d
image-registry-7fc96b9dc4-tcb4j                   1/1     Running   4          41d
node-ca-crff4                                     1/1     Running   5          41d
C:\Users\karthi> oc getall
Error: unknown command "getall" for "oc"
Run 'oc --help' for usage.

C:\Users\karthi> docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing --engine-tlsverify=false
unknown flag: --engine-tlsverify
See 'docker login --help'.
C:\Users\karthi> docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://default-route-openshift-image-registry.apps-crc.testing/v2/: x509: certificate signed by unknown authority
C:\Users\karthi> docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing TLSVerifyClient=never
"docker login" requires at most 1 argument.
See 'docker login --help'.
=============================

C:\Users\karthi> docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing TLSVerifyClient=never
"docker login" requires at most 1 argument.

docker login doesn't support  --tls-verify=false or any other options for tls verification, what you need to do is open your docker for desktop perference and add default-route-openshift-image-registry.apps-crc.testing as insecure registry and then following should works.
$ docker login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing

Thanks Praveen. Its working now .


Is Note about avalibility on Outlook connected to Exchange correct?

The note says

The on-send feature is currently supported for Outlook on the web in Exchange Online (Office 365), Exchange 2016 on-premises (Cumulative Update 6 or later), and Exchange 2019 on-premises (Cumulative Update 1 or later). This feature is also available in the latest Outlook builds on Windows and Mac, connected to Exchange Online (Office 365). The feature was introduced in requirement set 1.8 (see current server and client support for details).

I understand it that way, that the on-send will not work, in Outlook 2016 connected to an Exchange 2016. Because it must be connected to Office 365.
However I have an Outlook addIn written and it uses the on-send feature and it works on an Outlook 2016 connected to Exchange 2016 CU 6.
Did I missinterprete the note?

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

ID: 9e12d688-9620-e8f2-871d-922ec98008b5
Version Independent ID: a8b409f3-44f7-97e5-d722-cbf04edc0653
Content: On-send feature for Outlook add-ins - Office Add-ins
Content Source: docs/outlook/outlook-on-send-addins.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@ElizabethSamuel-MSFT can you route this to right person? Thanks!

Outlook for Office 365 supports on-send add-ins when connected to Exchange 2016 CU6. Could you provide the version of Outlook you are using?

I use Outlook 2016 (Build 12228.20332) Connected to Exchange 2016 CU6 and it works (which I find great).

It appears that version of Outlook is part of Office 365. We will update our documentation to make sure this is reflected

@LokiMidgard We've updated the docs to clarify this. The changes should be published soon.
Let us know if you need further clarification or face some other issue.
Thanks!


Update message24.rst

Update name

Can you edit message24-condensed.txt to update the Interpretation section too?

Related: #37 and #38.

It's already done


Build Nazara on macos (everything compile except NazaraVulkan/OpenGLRenderer)

What this PR does:

Change some functions name in NazaraCore (remove 64 suffix not present in macos)
add the proper defines for Newton and Physics3D
add functions for pthread_barrier (taken from https://blog.albertarmea.com/post/47089939939/using-pthreadbarrier-on-mac-os-x)
allow brew files to be used
set cocoa video driver for macos with sdl
add openal libs name on macos
use std::sin and std::cos for macos (no sincos)
Fix a call to Value(std::size_t&) which should be SizeT(std::size_t&)
Fix TCP_KEEPIDLE, MSG_NOSIGNAL and IP_MTU not being present on macos
Fix ShaderNodes compilation on macos

LGTM, Thanks

LGTM, Thanks


Injection error

Injection error
osxinj :
module: 0xFF500000
bootstrapfn: 0xAD32D90
pid: 99174
image name: /Users/alonzo/Downloads/buteosx/bootstrap.dylib
mach_inject: found threadEntry image at: 0x10ad32000 with size: 28400
wrote param with size 44

Ok, mate. Put the osxinj within bootstrap (same folder i mean). Than send that command to terminal:
sudo ./osxinj csgo_osx64 libButOSX.dylib.
I'm going to upload compiled library within 1-2 minutes. Check it out...

ok and where will you upload bootstrap

Bootstrap is osxinj's thing. It doesn't concern me. I only uploaded the ButOSX.
Note: I don't take any responsibilites about using it. Use at your own risk...


Extensibility - please allow a way to run this report from within PHP

Following @danslo's presentation at Mage Titans UK 2023, @pykettk and I discussed creating a Magento module to wrap this plug-in, and surface the results in the admin portal and trigger alerts, etc. Kiel has done this in https://github.com/element119/module-sansec-composer-integrity-checker :+1:
However, it doesn't seem possible to access the report from this plug-in without invoking Composer. Please can you create a public PHP interface so that the report can be retrieved from within PHP? This will help with extensibility.

I'm unsure if this is possible, as we currently rely on composer object to get installed packages as well as locked versions.
It should be possible to manually read composer.lock of course, but I'm not sure I want to implement that.
I could provide a PackageResolverStrategy interface rather than relying on Composer\Composer, so at least anyone can do what they want. Would that work for you?

This should be fixed with https://github.com/sansecio/composer-integrity-plugin/pull/14. I've posted an example in that PR.


Skip golint on golang 1.4

apparently lint dropped 1.4 support.

@gmarek

Thanks for fixing this.


Incorporate nic_ui into lwaftr run.lua; use CSV stats.

This patch incorporates the guts of the lwaftr "nic_ui" script into
the lwaftr's program script, with the goal of removing nic_ui later
and avoiding having to document it for now.  It also uses a new
CSV statistics module instead of the Statistics element that we
added last week.  The CSV stats module uses timers and counters to
get its information instead of apps, which should result in a lower
overhead.

LGTM.

Fixed nit.  Tx for review


pytest tests celfie-ish fails?

@GuIrene does pytest tests work for you currently?  I get a failure on the celfie-ish test.
It is in this line of celfie_ish.py::filter_no_coverage(self):
self.x = list(np.array(self.x, dtype=object)[has_cov])
The error I get is:
ValueError: could not broadcast input array from shape (100,2) into shape (100,) for the pytest test.

co-pillot suggests this is the way to fix it, but I don't really know if it's right:
self.x = [item for item, cov in zip(self.x, has_cov) if cov]

Thanks, it should work now


One of the reference links in the README is out of date

Hi!
The link to https://owasp.org/www-project-cheat-sheets/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#encryption-based-seal-pattern appears to be out of date. I couldn't find anything related to a seal there. Perhaps it should be updated?

Thanks, I believe this moved here: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#encryption-based-token-pattern
(seal => token)
updating the readme now.

I think the link is outdated again. Could you please point to the documentation that could be checked regarding this? Not clear for me if this library implements/adds any CSRF protection. I think no much more apart from SameSite attribute implicit protection which is not enough as not all browsers support it. Any guidance/documentation about how to properly implement such protection?
I guess I could do a first request to get a CSRF token created in the session and get it back and persist it in a variable, hidden field, meta element, etc. and send it later when doing requests to API protected endpoints by sending it as part of the request headers.
I would have to check in the handler or in a middleware created for such purpose.
How does it sound? Thanks.

Hey @rporrasluc this library does not implement CSRF tokens automatically.
If you find ways to forge attacks to websites using next-iron-session I am very interested in your findings. I am no security nor auth expert at all. This may sound scary because I built next-iron-session but this is the reality. I made everything so that the attack surfaces should be low but there's always a way I guess.

This page explains it well I would say: https://portswigger.net/web-security/csrf/samesite-cookies

Just updated the link here: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#samesite-cookie-attribute

Thanks @vvo , I pretty much know how same site attribute works. However, this attribute is a protection led by the browser, and not all browsers support it. It's quite well described here:
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#samesite-cookie-attribute
It's good to use same site attribute... but not enough by itself.

You're right, I did not implement CSRF tokens at all because to be honest I did not know exactly what to do. For my own websites, I am fine with the way it is today.
If you find a no-too-complex way to have better csrf protection with Next.js and next iron session please report back. Good luck

Thanks @vvo. Will let you know if I figure out something, thank you for the work on this great library.


No contact page

There is no contact page to this website.
@khushi-joshi-05 I would like to make it for you website. Assign me this task under GSSOC'24.

Hi,
I am contributing under GSSOC'24. I am having good knowledge in web development projects. I think I can handle it. Could you please assign me this issue.

@khushi-joshi-05 Please label this issue as GSSOC, I have already rectified it and it has been merged successfully with your main branch too.

hey @khushi-joshi-05 Ready to transform clicks into conversations!
Assign me the tasku under gssoc and let's engineer a contact page that sparks meaningful dialogues
thankyou!!


Added Cerebrium for self-deployment

@Bam4d Am I able to get a review on this please

@Bam4d @sublimator @sophiamyang Can I get a review on this please

LGTM, thanks !


Massive update & minor tweaks

Update gradle
Update mixinbooter & its dependencies
Update gradle plugins
Update GitHub actions
Make AZUL vendor configurable

Going to update it without the azul option, advanced users can change the vendor if they wish themselves in build.gradle


Make a compiled version of the code

Not everyone has python, so I suggest you to compile the code to binary so everyone can use it without installing python

Thanks to your suggestions!
I can compile my Python code into .exe and .out, that is not a problem!

Good, the only problem I encountered while trying to do that is that the python interpreter didn't get statically linked with the executable

Will do it tomorrow😂

Ok


Fix setup.py

Add python packages directly from requirements.txt file and avoid setting the code in setup.py:
https://github.com/HCGB-IGTP/XICRA/blob/d5348dc00eac1a279fb3542d90ea93d056a9eeea/XICRA_pip/setup.py#L31-L33
Set VERSION to be retrieved from VERSION file
https://github.com/HCGB-IGTP/XICRA/blob/d5348dc00eac1a279fb3542d90ea93d056a9eeea/XICRA_pip/setup.py#L10
Check examples on how to add VERSION and requierements in BacterialTyper setup.py
def get_require_modules():
    """
    Get main python requirements modules
    """
    with open("./BacterialTyper/config/python/python_requirements_summary.csv", 'r') as f:
        myModules = [line.strip().split(',')[0] for line in f]

    return myModules

def get_version():
    """
    Original code: PhiSpy setup.py
    https://github.com/linsalrob/PhiSpy/blob/master/setup.py
    """
    with open("VERSION", 'r') as f:
        v = f.readline().strip()
    return v

Then in setup()
setup(
    version=get_version(),
    install_requires=get_require_modules()
    ....
)

It is done already!


Fix license headers

Questions
Answers

Description?
Applied vendor/bin/header-stamp --license=vendor/prestashop/header-stamp/assets/afl.txt --exclude=vendor,node_modules to fix license headers

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?

Thank you @matks


[feature request] Make publication-ready charts with beakerx

I think that beakerx is mature enough to start using it in scientific "production". I mean, we can really use it to produce pictures, which could be used in publications. For now it lacks customization for that. I will try to outline some points which are in my opinion are needed to achieve the goal:

[ ]  Add custom format for tick labels. Currently there are problems with labels for very small values since labels do not support scientific format.

[ ] Add box controls. Some styles suppose fully boxed plots, in some cases only left and bottom axis are drawn.

[ ] Add ability to remove All and checkboxes from the legend. The controls are very useful, but do not look so good in the pdf.

[ ] Make a list of pre-generated styles that could be applied to the plot. Maybe allow to use some parameters which are not accessible via object model (expose d3 or whatever it is underneath). General user should not play with those styles, only apply it to the plot as additional parameter.

I will try to update the list as I go.

Probably related to #6572.

@altavir Tweaks to the current API are certainly reasonable.  If an entirely new API is going to be put in place, it makes sense to consider how well the candidates support the goal of generating publication-ready charts.


Create dataset loader for TydiQA

Dataloader name: tydiqa/tydiqa.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?tydiqa

Dataset
tydiqa

Description
TyDi QA is a question answering dataset covering 11 typologically diverse languages with 204K question-answer pairs. The languages of TyDi QA are diverse with regard to their typology -- the set of linguistic features that each language expresses -- such that we expect models performing well on this set to generalize across a large number of the languages in the world. It contains language phenomena that would not be found in English-only corpora. To provide a realistic information-seeking task and avoid priming effects, questions are written by people who want to know the answer, but don’t know the answer yet, (unlike SQuAD and its descendents) and the data is collected directly in each language without the use of translation (unlike MLQA and XQuAD).

Subsets
primary_task_indonesian, primary_task_thai, secondary_task_indonesian, secondary_task_thai

Languages
ind, tha

Tasks
Question Answering

License
Apache license 2.0 (apache-2.0)

Homepage
https://github.com/google-research-datasets/tydiqa

HF URL
https://huggingface.co/datasets/tydiqa

Paper URL
https://aclanthology.org/2020.tacl-1.30/

Hi @SamuelCahyawijaya, we have tydiqa_id, which was carried over from NusaCrowd. Would it be better to unify the implementation?

#self-assign

For the secondary task, Thai is removed since the lack of whitespace breaks some tools. We can find the information at HF URL.

#251


testThatConnectionFailsToOpenIfStopCalledDuringNegotiate flakey

To repro the test run thet test together with testThatConnectionFailsToOpenIfNegotiateResponseNotValid
This might be a real issue. The test fails because connectionDidFailToOpenHandler fails. From the logs it seems that the connection was closed and then there was a webSocket error (likely because the connection was closed?) and then the state was changed to .stopped once again even though the state was already stopped. Then the connectionDidStop handler was called. At least one issue exists: connectionDidStop was called but connectionDidOpen was not called. The expected behavior is that the connectionDidStop should not be called if connectionDidOpen was not called, so either the connectionDidOpen call was missing or connectionDidFailToOpen should be called and connectionDidStop should not be called.
Failing:

Test Suite 'Selected tests' started at 2020-03-14 22:18:11.441
Test Suite 'SignalRClientTests.xctest' started at 2020-03-14 22:18:11.443
Test Suite 'HttpConnectionTests' started at 2020-03-14 22:18:11.446
Test Case '-[SignalRClientTests.HttpConnectionTests testThatConnectionFailsToOpenIfNegotiateResponseNotValid]' started.
2020-03-15T05:18:11.591Z debug: HttpConnection init
2020-03-15T05:18:11.593Z info: Starting connection
2020-03-15T05:18:11.593Z debug: Attempting to chage state from: 'initial' to: 'connecting'
2020-03-15T05:18:11.594Z debug: Changing state to: 'connecting' succeeded
2020-03-15T05:18:11.595Z debug: Negotiate completed with OK status code
2020-03-15T05:18:11.595Z debug: Negotiate response: {}
2020-03-15T05:18:11.596Z error: Parsing negotiate response failed: invalidNegotiationResponse(message: "connectionId property not found or invalid")
2020-03-15T05:18:11.596Z debug: Attempting to chage state from: '(nil)' to: 'stopped'
2020-03-15T05:18:11.596Z debug: Changing state to: 'stopped' succeeded
2020-03-15T05:18:11.596Z debug: Leaving startDispatchGroup (failOpenWithError(error:changeState:leaveStartDispatchGroup:): 169)
2020-03-15T05:18:11.597Z debug: Invoking connectionDidFailToOpen
2020-03-15T05:18:11.598Z debug: HttpConnection deinit
Test Case '-[SignalRClientTests.HttpConnectionTests testThatConnectionFailsToOpenIfNegotiateResponseNotValid]' passed (0.146 seconds).
Test Case '-[SignalRClientTests.HttpConnectionTests testThatConnectionFailsToOpenIfStopCalledDuringNegotiate]' started.
2020-03-15T05:18:11.600Z debug: HttpConnection init
2020-03-15T05:18:11.601Z info: Starting connection
2020-03-15T05:18:11.601Z debug: Attempting to chage state from: 'initial' to: 'connecting'
2020-03-15T05:18:11.601Z debug: Changing state to: 'connecting' succeeded
2020-03-15T05:18:11.601Z debug: Negotiate completed with OK status code
2020-03-15T05:18:11.601Z debug: Negotiate response: {"connectionId":"6baUtSEmluCoKvmUIqLUJw","availableTransports":[{"transport":"WebSockets","transferFormats":["Text","Binary"]},{"transport":"ServerSentEvents","transferFormats":["Text"]},{"transport":"LongPolling","transferFormats":["Text","Binary"]}]}
2020-03-15T05:18:11.602Z debug: Negotation response received
2020-03-15T05:18:11.602Z info: Starting WebSocket transport
2020-03-15T05:18:11.614Z info: Stopping connection
2020-03-15T05:18:11.614Z debug: Attempting to chage state from: '(nil)' to: 'stopped'
2020-03-15T05:18:11.614Z debug: Changing state to: 'stopped' succeeded
2020-03-15T05:18:11.687Z info: WebSocket error. Error: InvalidResponse(HTTP/1.1 200 OK)
2020-03-15T05:18:11.687Z info: Transport closed
2020-03-15T05:18:11.688Z debug: Attempting to chage state from: '(nil)' to: 'stopped'
2020-03-15T05:18:11.688Z debug: Changing state to: 'stopped' succeeded
2020-03-15T05:18:11.688Z debug: Previous state stopped
2020-03-15T05:18:11.689Z debug: Invoking connectionDidClose (transportDidClose(_:): 260)
2020-03-15T05:18:11.690Z info: WebSocket close. Clean: false, code: 0, reason:
2020-03-15T05:18:11.692Z debug: Transport already marked as closed due to an error - ignoring close
/Users/moozzyk/source/SignalR-Client-Swift/Tests/SignalRClientTests/HttpConnectionTests.swift:461: error: -[SignalRClientTests.HttpConnectionTests testThatConnectionFailsToOpenIfStopCalledDuringNegotiate] : Asynchronous wait failed: Exceeded timeout of 5 seconds, with unfulfilled expectations: "connection did fail to open".
Test Case '-[SignalRClientTests.HttpConnectionTests testThatConnectionFailsToOpenIfStopCalledDuringNegotiate]' failed (5.134 seconds).
Test Suite 'HttpConnectionTests' failed at 2020-03-14 22:18:16.733.
	 Executed 2 tests, with 1 failure (0 unexpected) in 5.281 (5.287) seconds
Test Suite 'SignalRClientTests.xctest' failed at 2020-03-14 22:18:16.734.
	 Executed 2 tests, with 1 failure (0 unexpected) in 5.281 (5.292) seconds
Test Suite 'Selected tests' failed at 2020-03-14 22:18:16.735.
	 Executed 2 tests, with 1 failure (0 unexpected) in 5.281 (5.294) seconds
Program ended with exit code: 1

Leaving as is just updating the test to no longer fail. There is already a precedence where connectionDidStop is invoked without connectionDidOpen.


Newsletter api

#17
-Could you please take a look at the code that has been written and provide feedback?
-It is important to conduct a test as well.

Please regenerate the docs with php artisan scribe:generate
Please implement a way to handle errors from the 3rd party API (specifically for the already subscribed scenario) as described in the issue.


react-native run-ios fails on mac

[11/12/2016, 10:18:19 PM]  Building Dependency Graph
[11/12/2016, 10:18:19 PM]  Crawling File System
[Hot Module Replacement] Server listening on /hot
React packager ready.
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
ERROR  Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1026:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1274:11)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
~
Process terminated. Press  to close the window
other terminal gives(at the same time):
Signing Identity:     "-"
/usr/bin/codesign --force --sign - --timestamp=none /Volumes/LaCie/sam.lacie/snowflake/ios/build/Build/Products/Debug-iphonesimulator/snowflake.app/PlugIns/snowflakeTests.xctest

** BUILD SUCCEEDED **
Installing build/Build/Products/Debug-iphonesimulator/snowflake.app
No devices are booted.
Launching mobi.snowflake.demo
No devices are booted.
I'm fairly new to using a mac with dev & react-native as well so please let me know if I'm missing something keep in mind I followed the install instructions correctly...
git clone
npm install
cp config.js
react-native run-ios // also the test command works and says I should have no errors and everything passed.... please help SOS

What version of xcode do you have?  I'm on 7.3.1
You could install Genymotion and set up an Anroid environment to confirm it
works.
On Nov 12, 2016 10:25 PM, "iSamuelBarney"<EMAIL_ADDRESS>wrote:

[11/12/2016, 10:18:19 PM]  Building Dependency Graph
[11/12/2016, 10:18:19 PM]  Crawling File System
[Hot Module Replacement] Server listening on /hot
React packager ready.
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-11-12 22:18 node[3583] (FSEvents.framework) FSEventStreamStart:
register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
ERROR Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for
changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1026:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1274:11)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
~
Process terminated. Press  to close the window
other terminal gives(at the same time):
Signing Identity: "-"
/usr/bin/codesign --force --sign - --timestamp=none /Volumes/LaCie/sam.lacie/snowflake/ios/build/Build/Products/Debug-iphonesimulator/snowflake.app/PlugIns/snowflakeTests.xctest
** BUILD SUCCEEDED **
Installing build/Build/Products/Debug-iphonesimulator/snowflake.app
No devices are booted.
Launching mobi.snowflake.demo
No devices are booted.
I'm fairly new to using a mac with dev & react-native as well so please
let me know if I'm missing something keep in mind I followed the install
instructions correctly...
git clone
npm install
cp config.js
react-native run-ios // also the test command works and says I should have
no errors and everything passed.... please help SOS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bartonhammond/snowflake/issues/162, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABORPCAjAGSuFqa6o0cUJOzO4oentFX2ks5q9pElgaJpZM4KwmvA
.

Yeah, I'm not up to xcode 8.  If you figure it out, consider a PR.
On Nov 13, 2016 5:59 PM, "iSamuelBarney"<EMAIL_ADDRESS>wrote:

xcode version: 8.1
I'm checking out Genymotion now, thanks for the advise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bartonhammond/snowflake/issues/162#issuecomment-260223198,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABORPFbV13hsNsm5binPxBp65eQeDkC6ks5q96RcgaJpZM4KwmvA
.

I'm looking @ https://github.com/facebook/react-native/issues/8108 relating to issues with react-native on xcode 8+ build fails... also I've fixed 1 of the 2 build fail errors so only 1 left. Will update if next fix works.

Great.  I have limited band width so upgrading is difficult.
On Nov 13, 2016 6:14 PM, "iSamuelBarney"<EMAIL_ADDRESS>wrote:

I'm looking @ facebook/react-native#8108
https://github.com/facebook/react-native/issues/8108 relating to issues
with react-native on xcode 8+ build fails... also I've fixed 1 of the 2
build fail errors so only 1 left. Will update if next fix works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bartonhammond/snowflake/issues/162#issuecomment-260223981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABORPDqjjKlsv59Om7DbKTIoalWUPuqvks5q96fTgaJpZM4KwmvA
.

Think I found it... issue with Sierra testing the workaround now. ref:https://github.com/facebook/react-native/issues/9309

FYI, definitely was an issue with watching files or some limit that applies to Sierra using react-native I actually didn't use the workaround above although I might at some point. The fix for me was:
installing brew brew install watchman
I guess watchman does a good job at handling watching that many files in Sierra so the error is gone now and it works.. hmm. Thanks so much for the help @bartonhammond looking forward to using this project on our next release in the app store so happy to get it working.

So xcode 8 requires update of osx?
On Nov 13, 2016 6:48 PM, "iSamuelBarney"<EMAIL_ADDRESS>wrote:

Think I found it... issue with Sierra testing the workaround now. ref:
facebook/react-native#9309
https://github.com/facebook/react-native/issues/9309
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bartonhammond/snowflake/issues/162#issuecomment-260226036,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABORPPpbXDLMrWfgJlcIU1BEeqiqdiO4ks5q96_LgaJpZM4KwmvA
.

Xcode 8+ requires brew watchman or https://github.com/facebook/react-native/issues/9309 workaround to run react-native run-ios is the take away from this

Having the same, but https://github.com/facebook/react-native/issues/9309 helps.


fixed broken link and updated contributors.html

fixed the broken link and also balanced out the formatting

@kumarsomeshunos

Good work. I am merging your PR.
Do give us a star by hitting the star button of this repo!


Open block devices using the Block.Config interface

The mirage-block-unix has a revamped disk configuration interface where a Block.Config.t represents a desired configuration including parameters

whether using buffered I/O or not
whether honouring flush or not (possibly more options here in future)
the path to the file

This patch simplifies the mirage block interface by using Block.Config.of_string rather than manually parsing a URI here. The device can then be opened with Block.of_config. In future if mirage-block-unix gains some extra parameters, this code won't have to be modified (hopefully)
Note this new interface is not yet in a released version, so this PR includes an extra opam pin in the circle.yml.
This is part of a workaround for [docker/for-mac#668]
Signed-off-by: David Scott<EMAIL_ADDRESS>

Note this new interface is not yet in a released version, so this PR includes an extra opam pin in the circle.yml.

Looks like you might have missed that bit out of the commit?

Code changes LGTM (to the extent of my ability to adjudge ocaml).

@ijc25 indeed -- I forgot to git push that extra patch!

@samoht could you do me a favour and have a quick read through the OCaml code in this PR?

Thanks!


Certificate Assocation lost after ACL is edited

When editing an ACL Subnet list associated with a proxy host with an SSL Cert the cert becomes unassigned and reverts back to the localhost cert

+1 I am also experiencing this.

mee too.

+1 the same problem here. When editing an ACL, all assigned hosts with LetsEncrypt Certificates will loose their SSL configuration.
To recreate:

Createn an ACL with one or more allow xxx.xxx.xxx.xxx and one deny all entry
Create a proxy host with its own LetsEncrypt SSL certificate
Assign it to said ACL
Verify that everything works as expected
Edit and save the ACL
SSL is now broken on said proxy host

A proxy host configuration before editing the ACL:
# ------------------------------------------------------------
# <REDACTED>.mydomain.tld
# ------------------------------------------------------------

server {
  set $forward_scheme http;
  set $server         "<REDACTED_proxy_host>.mydomain.tld";
  set $port           6012;

  listen 80;
  listen [::]:80;

  listen 443 ssl http2;
  listen [::]:443 ssl http2;

  server_name <REDACTED>.mydomain.tld;

  # Let's Encrypt SSL
  include conf.d/include/letsencrypt-acme-challenge.conf;
  include conf.d/include/ssl-ciphers.conf;
  ssl_certificate /etc/letsencrypt/live/npm-22/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/npm-22/privkey.pem;

  # HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
  add_header Strict-Transport-Security "max-age=63072000; preload" always;

  # Force SSL
  include conf.d/include/force-ssl.conf;

  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection $http_connection;
  proxy_http_version 1.1;

  access_log /data/logs/proxy-host-11_access.log proxy;
  error_log /data/logs/proxy-host-11_error.log warn;

  location / {

    # Access Rules
    allow <IP_ADDRESS>/8;
    allow <IP_ADDRESS>/32;
    allow <IP_ADDRESS>/12;
    deny all;

    # Access checks must...
    satisfy all;

    # HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
    add_header Strict-Transport-Security "max-age=63072000; preload" always;

    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;

    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

Same config after editing the ACL:
# ------------------------------------------------------------
# <REDACTED>.mydomain.tld
# ------------------------------------------------------------

server {
  set $forward_scheme http;
  set $server         "<REDACTED_proxy_host>.mydomain.tld";
  set $port           6012;

  listen 80;
  listen [::]:80;

  server_name <REDACTED>.mydomain.tld;

  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection $http_connection;
  proxy_http_version 1.1;

  access_log /data/logs/proxy-host-11_access.log proxy;
  error_log /data/logs/proxy-host-11_error.log warn;

  location / {

    # Access Rules
    allow <IP_ADDRESS>/8;
    allow <IP_ADDRESS>/32;
    allow <IP_ADDRESS>/12;
    allow <IP_ADDRESS>/16;
    deny all;

    # Access checks must...
    satisfy all;

    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;

    # Proxy!
    include conf.d/include/proxy.conf;
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

Screenshots:


Terms for modelling Processes by objective or by mechanism

An upcoming paper titled: "The Ontological How and Why - Action and Objective - of Planned Processes in the Food Domain" invites community feedback for what would become (or be adopted by) FoodOn for an upper-level food processing term hierarchy.  The terms are located mainly towards the top of the "Process" tab of this google sheet:
https://docs.google.com/spreadsheets/d/1VJtz4m67tdUNDqRe3m1Okdxll64nTR46GSvCOmb0APE/edit#gid=119984623
You are welcome to post recommended term label or definition changes in this issue.

Highest level:

By Mechanism:

By Objective:

A note that https://www.ebi.ac.uk/ols/ontologies/chmo may be a good home for process model components.

However, the CHMO's field of action seems to be very much oriented towards laboratory techniques or analytical methods:
"CHMO, the chemical methods ontology, describes methods used to collect data in chemical experiments, such as mass spectrometry and electron microscopy prepare and separate material for further analysis, such as sample ionisation, chromatography, and electrophoresis synthesise materials, such as epitaxy and continuous vapour deposition It also describes the instruments used in these experiments, such as mass spectrometers and chromatography columns. It is intended to be complementary to the Ontology for Biomedical Investigations (OBI)."


Add forwardRef2/memo2 which fixes jsification of Dart props

Motivation
Dart forwardRef components and memo-wrapped components were being passed JSified props due to the use of JS component factories, when they expected to be getting non-converted Dart props.

Solution
tl;dr: I added forwardRef2/memo2, added a bunch of tests around refs, and fixed a bunch of issues surfaced by test failures.

Add forwardRef2 and memo2, which return Dart component factories so they don't convert props

I had to make new versions because fixing the issues required return type changes that would be breaking. We can consume these new versions under the hood in over_react's memo/uiForwardRef without any breakages.

Remove prop de-converting logic from forwardRef2
This was only a partial solution to wrapping JS components, only applying to callbacks
Also, now that we're using Dart component factories, this logic would prevent Dart event handlers from being converted.
So, since we'll need a more holistic solution to the problem of wrapping JS components, and it wouldn't be easy to retain this logic without breaking other behavior, it was removed.

Update common factory tests:

Refactor simple ref tests use ref test case objects for consistency and to DRY up setup
Add tests for all Dart factories (including forwardRef2/memo2) that Dart props are passed in without being converted
These verify that the main issue that motivated this PR (converted JS props being passed to Dart components) is fixed
Add tests that verify that all ref types work with forwardRef
Add tests that chainRef works with refs that come from forwardRef2 callback args (as well as ReactElement, since it experienced a similar problem)

This required some code changes in different places to get these passing

Add test cases JS ref objects are populated with the correct values

Update event handler tests to not test de-conversion of props via forwardRef

QA Instructions

Verify unit tests pass (CI passes)
Verify the function components in WSD that originally surfaced these issues still work (@aaronlademann-wf)
Smoke test examples
Perform QA instructions in over_react PR consuming these in uiForwardRef and memo: https://github.com/Workiva/over_react/pull/620

Public API Changes
Recommendation: :bangbang: Major version bump (fyi @Workiva/semver-audit-group )
@@ line 37: package:react/react_client/react_interop.dart @@
abstract class React
-     static ReactClass memo(dynamic Function(JsMap, [JsMap]) wrapperFunction, [bool Function(JsMap, JsMap) areEqual])
+     static ReactClass memo(dynamic wrapperFunction, [bool Function(JsMap, JsMap) areEqual])
//    `type` of `wrapperFunction` has changed.
//    Changing a parameter signature is a major change.

@@ line 38: package:react/react.dart @@
+  typedef DartForwardRefFunctionComponent = dynamic Function(JsBackedMap props, dynamic ref)
// Adding a typedef is a minor change.

@@ line 232: package:react/react_client/react_interop.dart @@
+  ReactComponentFactoryProxy forwardRef2(dynamic Function(Map<dynamic, dynamic>, dynamic) wrapperFunction, {String displayName})
// Adding a top-level function is a minor change.

@@ line 232: package:react/react_client/react_interop.dart @@
+  ReactComponentFactoryProxy forwardRef2(dynamic Function(Map<dynamic, dynamic>, dynamic) wrapperFunction, {String displayName})
// Adding a top-level function is a minor change.

@@ line 303: package:react/react_client/react_interop.dart @@
+  ReactComponentFactoryProxy memo2(ReactComponentFactoryProxy factory, {bool Function(Map<dynamic, dynamic>, Map<dynamic, dynamic>) areEqual})
// Adding a top-level function is a minor change.

Click to see 2 more API Changes

@@ line 303: package:react/react_client/react_interop.dart @@
+  ReactComponentFactoryProxy memo2(ReactComponentFactoryProxy factory, {bool Function(Map<dynamic, dynamic>, Map<dynamic, dynamic>) areEqual})
// Adding a top-level function is a minor change.

@@ line 364: package:react/react_client/component_factory.dart @@
+  class ReactDartWrappedComponentFactoryProxy extends ReactComponentFactoryProxy with JsBackedMapComponentFactoryMixin
// Adding a class is a minor change.

+     ReactClass get type
//    Adding a field is a minor change.

+     ReactElement build(Map<dynamic, dynamic> props, [List<dynamic> childrenArgs = const []])
//    Adding a method is a minor change.

+     ReactDartWrappedComponentFactoryProxy ReactDartWrappedComponentFactoryProxy.forwardRef(dynamic Function(JsBackedMap, dynamic) dartFunctionComponent, {String displayName})
//    Adding a constructor is a minor change.

+     ReactDartWrappedComponentFactoryProxy ReactDartWrappedComponentFactoryProxy(ReactClass type)
//    Adding a constructor is a minor change.

      From package:react/react.dart
+     dynamic call(Map<dynamic, dynamic> props, [dynamic c1 = _notSpecified, dynamic c2 = _notSpecified, dynamic c3 = _notSpecified, dynamic c4 = _notSpecified, dynamic c5 = _notSpecified, dynamic c6 = _notSpecified, dynamic c7 = _notSpecified, dynamic c8 = _notSpecified, dynamic c9 = _notSpecified, dynamic c10 = _notSpecified, dynamic c11 = _notSpecified, dynamic c12 = _notSpecified, dynamic c13 = _notSpecified, dynamic c14 = _notSpecified, dynamic c15 = _notSpecified, dynamic c16 = _notSpecified, dynamic c17 = _notSpecified, dynamic c18 = _notSpecified, dynamic c19 = _notSpecified, dynamic c20 = _notSpecified, dynamic c21 = _notSpecified, dynamic c22 = _notSpecified, dynamic c23 = _notSpecified, dynamic c24 = _notSpecified, dynamic c25 = _notSpecified, dynamic c26 = _notSpecified, dynamic c27 = _notSpecified, dynamic c28 = _notSpecified, dynamic c29 = _notSpecified, dynamic c30 = _notSpecified, dynamic c31 = _notSpecified, dynamic c32 = _notSpecified, dynamic c33 = _notSpecified, dynamic c34 = _notSpecified, dynamic c35 = _notSpecified, dynamic c36 = _notSpecified, dynamic c37 = _notSpecified, dynamic c38 = _notSpecified, dynamic c39 = _notSpecified, dynamic c40 = _notSpecified])
//    Adding a method is a minor change.

Showing results for e200d485c3e763085c924ce2763f507d27be1044

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.0
Browse public API.

@aaronlademann-wf @smaifullerton-wk All feedback has been addressed! (including adding a test case for wrapping forwardRef2 with memo)

QAing now... I think this just needs to be formatted?

[x] Verify unit tests pass (CI passes)
[x] Smoke test examples
[x] Perform QA instructions in over_react PR

QA+1 for every step except:

[ ] Verify the function components in WSD that originally surfaced these issues still work (@aaronlademann-wf )

QA +1

[x] Verify the function components in WSD that originally surfaced these issues still work


SPLIT_HAND_PIN for cherry v3

Hi,
I was wondering if the cherry v3 PCBs have a pin that is always low or high depending on the hand of the PCB? The default firmware binary does not work correctly if the right hand is connected to USB and setting this option in the firmware looks like the easiest and most flexible option to correct the issue.

They do not. The easiest thing to explore is either setting EE_hands or Master_right. Search "qmk docs handedness".

Thanks for the answer. I read the doc already and I am aware of all the options. I just did not knew if crkbd had hardware support for this feature. I suppose soldering a cable on the  underside of the PCBs is also an option, albeit not the cleanest looking.

For users who use VIA etc. and do not edit the firmware directly, flag control like Master_right may be troublesome, so consider using SPLIT_HAND_PIN.

v4 is released and SPLIT_HAND_PIN is enable
https://github.com/foostan/crkbd/releases


HA stack not coming up in AWS+ELB environment

Rancher Version: 1.0.1
Docker Version: 1.11.1
OS and where are the hosts located? (cloud, bare metal, etc): RHEL 7.2 in AWS
Setup Details: (single node vs. single node, internal DB vs. external DB) Multinode, external DB (AWS Aurora), behind ELB, SSL terminated at Rancher Server
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce:
Followed the instructions for HA up to the point when running rancher-ha.sh in a node. The database is an Aurora RDS.
Results:  The HA stack does not finish starting and there are errors in the logs of the components of the stack.
rancher-ha.log.txt
rancher-ha-cattle.log.txt
rancher-ha-zk.log.txt
Expected: We expected the web interface to be accesible at port 18080

It was a problem with security groups, now opened a new one with the ELB access (#4738)


How to use gpt-neox/megatron trained gpt-2 models for the evaluation?

Hello, We are using the gpt-neox to train gpt-2 models, and would like to use this repository to implement custom evaluation tasks. Is there any wrapper implemented to load and use such models?

There is currently a somewhat hack-y way to do it using the evaluate.py function in GPT-NeoX. By calling ./deepy.py evaluate.py 20B_checkpoints/configs/ 20B.yml --eval_tasks lambada  you will call the evaluation harness’s lambada task from within GPT-NeoX. The API is slightly different (spaces vs comma delimiting is the big one), but it’s functional.
There’s currently an ongoing effort to revamp the interface between GPT-NeoX and the evaluation harness to provide a cleaner and more natural experience. Coming soon:tm:

It seems " ./deepy.py evaluate.py 20B_checkpoints/configs/ 20B.yml --eval_tasks"  only support zero shot evaluation.   When I try to evaluate 20B model on other tasks such as "sst" using fewshot,   it raise error "unrecognized arguments: --num_fewshot"

@StellaAthena Thank you for your suggestion.
With 20B model, I evaluated few tasks such as CB (from SuperGLUE) and PIQA but it turned out that the resulting accuracy is about random guessing.
This is clearly unexpected. I was wondering if you have evaluated any tasks with GPT-Neox 20B model and observed reasonable result ?


fix(alonzo): ExUnits steps overflow

fix https://github.com/txpipe/oura/issues/113
based on https://github.com/txpipe/oura/issues/113#issuecomment-1025171447

@rinor awesome!


Refactor Cloudmos Deploy into Akash Console

Refactor all the components from material ui into tailwindcss + shadcn
Refactor nextjs pages into app folder
Rebrand the app into the Akash Console with Akash colors
Remove Cloudmos landing page

Update January 23rd 2024:

Started refactoring Cloudmos deploy into tailwindcss/nextjs14. No issues or roadblocks.

Update January 30 2024:

Most of the layout is refactored, started working on individual pages.

Update February 6 2024:

Refactored generic reusable components
Improved and refactored the layout
Started working on the deployment wizard pages

Update February 13 2024:

Working on refactoring the SDL Builder and deployment creation pages
I will fix this issue as well on the rebranded Console

Update March 12 2024:

Deployment creation is done with deployment list
Starting deployment detail

What's left:

Provider pages
Settings
Authz
Get started
Templates
User profile pages
FAQ

Update March 19 2024:

Done with deployment detail
Started working on provider pages

Update March 26 2024:

80% done with provider pages
Will start working on template pages after

Update April 2n 2024:

Provider Pages done
Starting template page and others (Settings, Authz, Getting started)

Update April 9 2024:

Template pages are done
Done with settings page. Authz next.

What's left:

Get started
User profile pages
FAQ
Fixing the styling (light/dark, mobile, etc) and few other components
Other details

Update April 23 2024:

Had some issues when implementing the user pages with the nextjs app router, decided to refactor and revert back to pages router as it was before to avoid delaying the rebrand. The refactor back to pages router is done and pr will go live today.
I will finish up the last pages this week and start tackling all the details left behind during the refactor.

Update April 30th 2024:

All the pages are done
Fixing component and styling issues
Will release to staging this week

Update May 7 2024:

All the pages are refactored
Staging is live in testing
Need to finish and test dark mode + responsive
Fixing all the issues from testing and more testing

Update May 14 2024:

Fixed a lot of small details after the rebrand
Pr created to finally merge the rebrand branch back to main
We will release on http://console.akash.network today or tomorrow, then update Cloudmos with a banner to redirect to Console with a migrate script for the localStorage transfer


cuda runtime error (2) : out of memory

I finally made the training run but very quickly I get this error:
RuntimeError: cuda runtime error (2) : out of memory at  ...\install\pytorch2\pytorch\aten\src\thc\thcstorage.cpp:132
How can I fix it? Thanks!

@yuliiasergeeva Which gpu device do you use? What about the batch_size?

@chi0tzp NVIDIA Quadro K1200. I left batch size 32, the way it was. I tried to change it to 8 but run in another issue. I saw somewhere in the issues on this page that changing the batch size requires some other adjustments.

@chi0tzp okay, thanks, I'll try it

Would you recommend to use SSD at all if I need it for detection of a logo and a person? I've been advised to try it but I've been running in a lot of issues even during installation of the required packages. Only with yours I went this "far".

@yuliiasergeeva I think that SSD should do the job. But first you need to have an appropriate dataset for this purpose. Also, I think that you cannot do that without a good GPU (a 1080(Ti) or Titan X(p)); since it's not only the training time, but also the quality of the detection that changes when you train with very few samples per iteration. I also had many problems with this repo; some of which due to the version of pytorch that it's written for (it's on 0.3), while I'm working on the current stable version. But in general I think it's a very good work.