CounterPerfTest.VolatileCounter:testSynchronizedCounterWrite                                              ss           0.020            s/op
CounterPerfTest.VolatileCounter:testVolatileCounterRead                                                   ss           0.014            s/op
CounterPerfTest.VolatileCounter:testVolatileCounterWrite                                                  ss           0.017            s/op
robot@ev3dev:~$

Third level of testing:
robot@ev3dev:~$ java -XX:-AssumeMP -jar jvm-benchmark-0.1.0-all.jar
OpenJDK Client VM warning: Option AssumeMP was deprecated in version 10.0 and will likely be removed in a future release.

# VM version: JDK 10, VM 10+46-ev3
# VM invoker: /opt/jri-10-build-46-v2/bin/java
# VM options: <none>
# Warmup: 1 iterations, 1 s each
# Measurement: 1 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 10 threads (1 group; 5x "testAtomicLongCounterRead", 5x "testAtomicLongCounterWrite" in each group), will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: net.learn.java.concurrency.counter.CounterPerfTest.AtomicLongCounter

# Run progress: 0.00% complete, ETA 00:01:06
# Fork: 1 of 1

Hmmm, we should introduce some way of sharing logs without making the issue threads unbelievably long. Do you think a GitHub wiki page, GitHub Gists or a separate pastebin-like repo would be good for that?

EV3 is travelling back in time again:
  200000 float sub:                        -1 ms -200000000 ops/sec
  200000 float mul:                        -1 ms -200000000 ops/sec
  200000 double sub:                       -1 ms -200000000 ops/sec

We should call it Doctor Who benchmark.

robot@ev3dev:/opt$ time java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46-ev3)
OpenJDK Zero VM (build 10+46-ev3, interpreted mode)

real	0m48.478s
user	0m38.040s
sys	0m0.010s

robot@ev3dev:~$ time java HelloWorld
Hello, World

real	1m36.040s
user	0m0.000s
sys	1m12.120s

robot@ev3dev:~$ sudo update-alternatives --config java
There are 6 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                        Priority   Status
------------------------------------------------------------
  0            /opt/jri-10-build-46-zero/bin/java           1         auto mode
  1            /opt/ejdk1.8.0/linux_arm_sflt/jre/bin/java   1         manual mode
  2            /opt/jdk-10-build-46/bin/java                1         manual mode
  3            /opt/jdk-9-build-46/bin/java                 1         manual mode
  4            /opt/jri-10-build-46-v2/bin/java             1         manual mode
* 5            /opt/jri-10-build-46-zero/bin/java           1         manual mode
  6            /opt/jri-10-build-46/bin/java                1         manual mode

robot@ev3dev:~$ time java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46-ev3)
OpenJDK Client VM (build 10+46-ev3, mixed mode)

real	0m7.771s
user	0m4.890s
sys	0m0.000s
robot@ev3dev:~$ time java HelloWorld
Hello, World

real	0m7.311s
user	0m5.480s
sys	0m0.010s

robot@ev3dev:~$ time java -version
java version "1.8.0"
Java(TM) SE Embedded Runtime Environment (build 1.8.0-b132, headless)
Java HotSpot(TM) Embedded Client VM (build 25.0-b70, mixed mode)

real	0m5.988s
user	0m3.850s
sys	0m0.000s

robot@ev3dev:/opt$ time java -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46-ev3)
OpenJDK Client VM (build 10+46-ev3, mixed mode)

real	0m8.715s
user	0m5.940s
sys	0m0.010s
robot@ev3dev:/opt$ cd /home/robot/
robot@ev3dev:~$ time java HelloWorld
Hello, World

real	0m8.978s
user	0m0.000s
sys	0m6.790s
robot@ev3dev:~$ java -jar jvm-benchmark-0.1.0-all.jar
GeneralBench 1.2
       6 byte[16384] manual copies:       108 ms     910222 bytes/sec
    1220 byte[16384] arraycopies:         189 ms  105759153 bytes/sec
      24 int[4096] manual copies:         126 ms    3120761 bytes/sec
    1220 int[4096] arraycopies:           162 ms  123385679 bytes/sec
  200000 byte add:                        107 ms    1869158 ops/sec
  200000 byte sub:                          1 ms  200000000 ops/sec
  200000 byte mul:                          5 ms   40000000 ops/sec
  200000 byte div:                         42 ms    4761904 ops/sec
  200000 short add:                       114 ms    1754385 ops/sec
  200000 short sub:                         2 ms  100000000 ops/sec
  200000 short mul:                         1 ms  200000000 ops/sec
  200000 short div:                        38 ms    5263157 ops/sec
  200000 char add:                        122 ms    1639344 ops/sec
  200000 char sub:                          5 ms   40000000 ops/sec
  200000 char mul:                          5 ms   40000000 ops/sec
  200000 char div:                         42 ms    4761904 ops/sec
  200000 int add:                         121 ms    1652892 ops/sec
  200000 int sub:                           4 ms   50000000 ops/sec
  200000 int mul:                           2 ms  100000000 ops/sec
  200000 int div:                          59 ms    3389830 ops/sec
  200000 long add:                        358 ms     558659 ops/sec
  200000 long sub:                        350 ms     571428 ops/sec
  200000 long mul:                        157 ms    1273885 ops/sec
  200000 long div:                        142 ms    1408450 ops/sec
  200000 float add:                       172 ms    1162790 ops/sec
  200000 float sub:                         4 ms   50000000 ops/sec
  200000 float mul:                         1 ms  200000000 ops/sec
  200000 float div:                         3 ms   66666666 ops/sec
  200000 double add:                      214 ms     934579 ops/sec
  200000 double sub:                        1 ms  200000000 ops/sec
  200000 double mul:                       -2 ms -100000000 ops/sec
  200000 double div:                        2 ms  100000000 ops/sec
  200000 method calls:                     88 ms    2272727 ops/sec
  200000 static method calls:              84 ms    2380952 ops/sec
    2000 string concats:                  700 ms       2857 ops/sec
   20000 string compares (easy):          116 ms     172413 ops/sec
    1000 string compares (hard):            5 ms     200000 ops/sec
   20000 object creations:                136 ms     147058 ops/sec
 6242048 Total Loop Executions:          7741 ms     806361 loops/sec
Note: each Loop Execution includes multiple Java operations
robot@ev3dev:~$ java -jar vmbenchmarks.jar -wi 1 -i 1 -f 1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/robot/vmbenchmarks.jar) to field java.io.Console.cs
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
# JMH version: 1.20
# VM version: JDK 10, VM 10+46-ev3
# VM invoker: /opt/jdk-10-build-46-v2/bin/java
# VM options: <none>
# Warmup: 1 iterations, 1 s each
# Measurement: 1 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.github.vmbenchmarks.DynamicLanguages.groovy

# Run progress: 0.00% complete, ETA 00:00:52
# Fork: 1 of 1
^Crobot@ev3dev:~$ java -jar benchmarks.jar -wi 1 -i 1 -f 1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/home/robot/benchmarks.jar) to field java.io.Console.cs
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
# JMH 1.16 (released 510 days ago, please consider updating!)
# VM version: JDK 10, VM 10+46-ev3
# VM invoker: /opt/jdk-10-build-46-v2/bin/java
# VM options: <none>
# Warmup: 1 iterations, 1 s each
# Measurement: 1 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 10 threads (1 group; 5x "testAtomicLongCounterRead", 5x "testAtomicLongCounterWrite" in each group), will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: net.learn.java.concurrency.counter.CounterPerfTest.AtomicLongCounter

# Run progress: 0.00% complete, ETA 00:01:06
# Fork: 1 of 1
^Crobot@ev3dev:~$

Hi @JakubVanek ,
Yes, paste logs are a bit ugly. We could think in one solution.

Definitively, JRI 10 is the winner in compare to a JDK version. Less class to load, always is better.
 :)

I will run all tests about the virtual machine for the JRI and I will test all regression tests about the main library to run testing everything and close this large issue.
The next train is OpenJDK11 EA and the CI Adventure... :p
Mindstorms Bricks are the new Spectrum!
Juan Antonio

We can also use a spreadsheet for the comparisons between Java versions.
Public URL: https://docs.google.com/spreadsheets/d/1xzXHiqV1psLBmqNF8Aq5E4JK-XxIhbSHvrN60lJWvzY/edit?usp=sharing

robot@ev3dev:~$ java -Xshare:dump
Allocated shared space: 268435456 bytes at 0x80000000
Loading classes to share ...
Loading classes to share: done.
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 1231
    instance classes   =  1170
    obj array classes  =    53
    type array classes =     8
Updating ConstMethods ... done.
Removing unshareable information ... done.
Scanning all metaspace objects ...
Allocating RW objects ...
Allocating RO objects ...
Relocating embedded pointers ...
Relocating external roots ...
Dumping symbol table ...
Relocating SystemDictionary::_well_known_klasses[] ...
Removing java_mirror ... done.
mc  space:      2924 [  0.0% of total] out of      4096 bytes [ 71.4% used] at 0x80000000
rw  space:   2069528 [ 18.2% of total] out of   2072576 bytes [ 99.9% used] at 0x80001000
ro  space:   4617204 [ 40.7% of total] out of   4620288 bytes [ 99.9% used] at 0x801fb000
md  space:      3080 [  0.0% of total] out of      4096 bytes [ 75.2% used] at 0x80663000
od  space:   4655900 [ 41.0% of total] out of   4657152 bytes [100.0% used] at 0x80664000
total    :  11348636 [100.0% of total] out of  11358208 bytes [ 99.9% used]
robot@ev3dev:~$

Tests was executed with latest release.
https://github.com/ev3dev-lang-java/openjdk-ev3/releases/tag/v0.5.0
Last test execution: Full execution of vmbenchamarks.jar

Tests executed with success:
https://gist.github.com/jabrena/90242cc3330297558578cb2432d833cf

Now, the community can use Java 10 features in the development.
In v0.9.0 we should review if increase bytecode compilation output to Java 10 directly.
What is the next step:

Automate execution process on Installer.

Hi, have you tried running Zero variant with CDS too?


No full support for Dapper Methods...

Everything Dapper support, Dapper Transaction support it as well (It's only new extension method calling Dapper)

Dapper supports ExecuteScalarAsync<T>(), while Dapper Transaction not

Hello @MBurchard ,
Are you sure?
Look for me that's already supported: https://github.com/zzzprojects/Dapper.Transaction/blob/master/Dapper.Transaction.Shared/DbTransaction/Extensions/ExecuteScalarAsync`.cs#L18
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Sorry, you are right... may be it's already much too late in Germany... Sorry...


Liquid Majority Judgment

Hello, esteemed heroes ; it's been a while since I last spoke, but I still follow your contribs, watching you from the comfort of my email inbox.
I experimented with Majority Judgment, this past year.
If @virgile-dev has not already told you all about this, it's important and I confidently bet that once you understand how simple and elegant it is you will love it as well.
It's the most elegant polling system there is, in my opinion (and in the opinion of many others).
There even is no need for computers, you can know who won just by looking at the resulting merit profiles.
To roughly sum it up, each participant gives a single grade to each candidate/proposal, and at the closing of the poll we rank the candidates/proposals by their median grade.
It's a beautiful system, and it totally eradicates the "waste your vote" (forced bipartisanship) problem.
It's very resilient to strategic voting, in other words.
Here's a two-minutes plea : https://demo.codimd.org/p/rJrPf448v#/
Here's a "comic" about it, in french (sorry) : https://www.lechoixcommun.fr/content/article/vous-reprendrez-bien-un-peu-de-democratie.html

This polling system is also compatible with liquid decision-making.
Here's a simple algorithm for Liquid Majority Judgment:
Algorithm: Expanding Social Circles
My judgment is, by order of precedence:

My direct judgment
The median of the direct judgments of my 1st degree delegates
The median of the direct judgments of my 2nd degree delegates
The median of the direct judgments of my ... degree delegates
The default grade To Reject (no delegations, or no judgments)

The maximum delegation reach probably ought to be configurable per user, by the users.

Majority Judgment is gaining traction in France (and Chile, I hear, with their ongoing constitutional effort).
I've heard reports from multiple french political groups (greens, ecoliberals, pirates, the new french resistance, …), expressing a need for a secure and usable majority judgment polling platform, for their internal needs.
We're cooking one up as a SaaS with OpenApi (https://mieuxvoter.fr), but it's going to be centralized, and probably not liquid for quite a while.

I'll be glad to answer any question about this as best as I can.
There are many ways to implement such an algorithm, and some are more efficient and scalable than others (but are also harder to understand when looking at the code) ; it's a trade-off, as usual.

Hi @domi41, so nice to see you again here friend! I've heard about it but haven't seen any implementations. Will definitely have a look at it. Have you checked Quadratic Voting? It has given us good results with some pilots we did like this one in Colorado (https://www.bloomberg.com/news/articles/2019-05-01/a-new-way-of-voting-that-makes-zealotry-expensive)
Also check https://gitihub.com/DemocracyEarth/DemocracyDAO .. it's a fork of the MolochDAO code to allow Quadratic Voting. Might be a suitable approach to implement some MVP smart contract for Liquid Majority Judgement.


remove hostPort restriction

What would you like to be added/modified:
remove the restriction of hostport when create deployment or daemonset and pod
Why is this needed:
when you create a pod template on kubernetes, you can add hostPort depending on you needs, but in edgemesh, in order to solve service communication cross host, it require add hostPort in pod template.
In addition, two pods associated with one deployment can't be deployed in the same node, because they have the same hostport.
In the feature of cross lan communication, we add tunnel module resolving the service communication without the dependence on hostport, so we need to remove hostport restriction so that guarantee the same experience as kubernetes.

Is there any progress on this feature? I would like to have two pods on the same host and access them using a loadbalancer but the hostPort requirement is giving me trouble.

@vcozzolino Coming soon 🐱🏍


OverflowException: Value was either too large or too small for an Int32.

Getting the following error when calling Orders.GetAllPagesAsync
Newtonsoft.Json.JsonReaderException: 'Could not convert to integer:<PHONE_NUMBER>409. Path 'orders[10].items[0].orderItemId', line 1, position 26119.'
OverflowException: Value was either too large or too small for an Int32.

1.0.9 will have fix for it - type was changed to long (#45 )
whatever ShipStation changed, it just started to fail recently


CIV-3664 Refactor Judge Makes Decision to Make Decision for reusability

Before creating a pull request make sure that:

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-3664
Change description
Refactor Judge Makes Decision to Make Decision for reusability (Caseworker and judge)
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Test are failing due to unable to find the enum. New enum is available in bankend which is raised in the pr - https://github.com/hmcts/civil-general-applications/pull/466. it should pass once it's backend is merged master


Report issues to curators

It would be good to have some mechanism to collect and report warnings from automated tasks to curators, so they can investigate and fix them, for example:

HAL push failures
Collaboration normalization
Ambiguous reference matches

Idea: we could write to the logs in some specific format and have a separate process extract the data from the logs and send it somewhere (RT, zulip, etc.), either in real time or periodically.

This can now be done with saved searches on Kibana. We need to define exactly what kind of data access is required.

We need to revisit this

@michamos what kind of information we will need for each case? Could we have a detailed example for each?

It's probably better to discuss this in person

@michamos we will ask for more cases to understand better the issue.


Validate: expose tests object as validate.tests

So that consumers can modify it

It would also be great to have a test for the ability to supply custom tests. This further reinforces why exposing the tests was necessary.

:+1:

Assuming comments are addressed

:+1:


Request using Gulp and Libsass

I love this generator, if you don't mind can you create Gulp version and also using Libsass? :)

It is a difficult task. You should give it a shot!
On Monday, February 2, 2015, Rizqi Nizamil Putra<EMAIL_ADDRESS>wrote:

I love this generator, if you don't mind can you create Gulp version and
also using Libsass? :)
—
Reply to this email directly or view it on GitHub
https://github.com/robwierzbowski/generator-jekyllrb/issues/133.

--
Rob Wierzbowski
@robwierzbowski http://twitter.com/#!/robwierzbowski
http://github.com/robwierzbowski
http://robwierzbowski.com

pull requests welcome.

dupe of #116


client: Speed up row access by index

This adss a new api to the cache - RowByIndex which will calculate the
index value and then looks up the stored indexes that match. This is
much faster as it doesn't need to iterate across the entire cache.
The Get API has been updated to use this new function
Fixes: #150
Signed-off-by: Dave Tucker<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 957892934

28 of 31 (90.32%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 74.14%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cache/cache.go
14
15
93.33%

client/api.go
14
16
87.5%

Totals

Change from base Build 950624558:
0.2%

Covered Lines:
3019

Relevant Lines:
4072

💛  - Coveralls


Udocker not working with python 3

Hi, when executing udocker in a python 3 environment I get the following error:
Traceback (most recent call last):
  File "udocker", line 5844, in <module>
    sys.exit(Main().start())
  File "udocker", line 5757, in __init__
    if not self.cmdp.parse(sys.argv):
  File "udocker", line 5618, in parse
    if arg[0] in string.letters:
AttributeError: module 'string' has no attribute 'letters'

Looks like an incompatibility with the python libraries.
Are you planning on supporting python 3?
Thanks

work ongoing on devel3 branch, largely done

+1!

Thanks for the Python 3 progress. As a reminder it will be possible and perhaps common for users of the next Debian release (and other Linux distributions) to have Python 3 but no Python 2.

pre release 1.2.9 soon to be released, considered solved


Include an HTML linter/styler

I installed a VSCode extension that supports working with HTML templates. It also includes a formatter/linter. As I've been going through and renaming files, it's been picking up a lot of leftover html tags that don't seem to trigger a build error, but that are just left over there. So it would be good to include some type of linter/styler for HTML files.
The one that the extension uses in called prettier.

We aren't prioritizing the GUI any time soon, if at all. Closing.


chore: roll new version of the docs

Summary
See https://github.com/facebook/docusaurus/issues/4844#issuecomment-847907257

Test plan
🤷

Nice, GH bugged out.

and it didn't trigger any CI...


Invalid Covariance Matrix Error in DeepDPM_alternations.py

Hello,
Thank you for the amazing work and for publishing the code.
I encountered the following error when running the DeepDPM_alternations.py script on MNIST.
The command I used is the following (copied from the example only with --dir different and --offline added):
python DeepDPM_alternations.py --latent_dim 10 --dataset mnist --lambda_ 0.005 --lr 0.002 --init_k 3 --train_cluster_net 200 --alternate --init_cluster_net_using_centers --reinit_net_at_alternation --dir ./dataset/ --pretrain_path ./saved_models/ae_weights/mnist_e2e.zip --number_of_ae_alternations 3 --transform None --log_metrics_at_train True --gpus 1 --epoch 1 --offline

The error I got is the following. I tried several times, and the error always happened around iteration 30 - 33.
Evaluating...
Epoch 30: 100%|█████████| 548/548 [00:17<00:00, 30.63it/s, loss=0.00362, v_num=]
Epoch 31:  86%|███████▋ | 469/548 [00:14<00:02, 31.33it/s, loss=0.00345, v_num=]Evaluating...
NMI : 0.49259220412522065, ARI: 0.28473904520954585, ACC: 0.30912, current K: 3
Validating: 0it [00:00, ?it/s]
Epoch 31:  86%|███████▋ | 470/548 [00:15<00:02, 30.05it/s, loss=0.00345, v_num=]
Epoch 0:   0%|                                          | 0/548 [07:41<?, ?it/s]
Traceback (most recent call last):
  File "/home/shichang/paper_reproduce/DeepDPM/DeepDPM_alternations.py", line 202, in <module>
    trainer.fit(model, train_loader, val_loader)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 499, in fit
    self.dispatch()
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 546, in dispatch
    self.accelerator.start_training(self)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/accelerators/accelerator.py", line 73, in start_training
    self.training_type_plugin.start_training(trainer)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 114, in start_training
    self._results = trainer.run_train()
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 633, in run_train
    self.train_loop.on_train_epoch_start(epoch)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/training_loop.py", line 203, in on_train_epoch_start
    self.trainer.call_hook("on_train_epoch_start")
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1102, in call_hook
    output = hook_fx(*args, **kwargs)
  File "/home/shichang/paper_reproduce/DeepDPM/src/AE_ClusterPipeline.py", line 250, in on_train_epoch_start
    self._init_clusters()
  File "/home/shichang/paper_reproduce/DeepDPM/src/AE_ClusterPipeline.py", line 121, in _init_clusters
    self.clustering.init_cluster(self.train_dataloader(), self.val_dataloader(), logger=self.logger, centers=centers, init_num=self.init_clusternet_num)
  File "/home/shichang/paper_reproduce/DeepDPM/src/clustering_models/clusternet.py", line 57, in init_cluster
    self.fit_cluster(train_loader, val_loader, logger, centers)
  File "/home/shichang/paper_reproduce/DeepDPM/src/clustering_models/clusternet.py", line 65, in fit_cluster
    self.model.fit(train_loader, val_loader, logger, self.args.train_cluster_net, centers=centers)
  File "/home/shichang/paper_reproduce/DeepDPM/src/clustering_models/clusternet_modules/clusternet_trainer.py", line 42, in fit
    cluster_trainer.fit(self.cluster_model, train_loader, val_loader)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 499, in fit
    self.dispatch()
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 546, in dispatch
    self.accelerator.start_training(self)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/accelerators/accelerator.py", line 73, in start_training
    self.training_type_plugin.start_training(trainer)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 114, in start_training
    self._results = trainer.run_train()
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 637, in run_train
    self.train_loop.run_training_epoch()
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/training_loop.py", line 577, in run_training_epoch
    self.trainer.run_evaluation(on_epoch=True)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 726, in run_evaluation
    output = self.evaluation_loop.evaluation_step(batch, batch_idx, dataloader_idx)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 166, in evaluation_step
    output = self.trainer.accelerator.validation_step(args)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/accelerators/accelerator.py", line 177, in validation_step
    return self.training_type_plugin.validation_step(*args)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 131, in validation_step
    return self.lightning_module.validation_step(*args, **kwargs)
  File "/home/shichang/paper_reproduce/DeepDPM/src/clustering_models/clusternet_modules/clusternetasmodel.py", line 275, in validation_step
    cluster_loss = self.training_utils.cluster_loss_function(
  File "/home/shichang/paper_reproduce/DeepDPM/src/clustering_models/clusternet_modules/utils/training_utils.py", line 235, in cluster_loss_function
    gmm_k = MultivariateNormal(model_mus[k].double().to(device=self.device), model_covs[k].double().to(device=self.device))
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/torch/distributions/multivariate_normal.py", line 146, in __init__
    super(MultivariateNormal, self).__init__(batch_shape, event_shape, validate_args=validate_args)
  File "/home/shichang/anaconda3/envs/deepdpm/lib/python3.9/site-packages/torch/distributions/distribution.py", line 55, in __init__
    raise ValueError(
ValueError: Expected parameter covariance_matrix (Tensor of shape (10, 10)) of distribution MultivariateNormal(loc: torch.Size([10]), covariance_matrix: torch.Size([10, 10])) to satisfy the constraint PositiveDefinite(), but found invalid values:
tensor([[ 0.5951,  0.0092,  0.2854,  0.0728, -0.2996,  0.1251, -0.1172, -0.0078,
          0.0765,  0.1235],
        [ 0.0092,  0.5513,  0.0643, -0.1219,  0.1693,  0.1630, -0.1415, -0.0218,
         -0.1041,  0.0764],
        [ 0.2854,  0.0643,  0.6676, -0.2186, -0.2203,  0.0510, -0.0280, -0.1126,
          0.1910,  0.1136],
        [ 0.0728, -0.1219, -0.2186,  0.8729, -0.1988, -0.1151, -0.0771,  0.1936,
         -0.1680,  0.1279],
        [-0.2996,  0.1693, -0.2203, -0.1988,  0.7979, -0.0535,  0.0689, -0.0186,
         -0.1713, -0.0783],
        [ 0.1251,  0.1630,  0.0510, -0.1151, -0.0535,  0.4169, -0.1412,  0.0098,
          0.0774,  0.1063],
        [-0.1172, -0.1415, -0.0280, -0.0771,  0.0689, -0.1412,  0.5972, -0.0558,
          0.0094, -0.0770],
        [-0.0078, -0.0218, -0.1126,  0.1936, -0.0186,  0.0098, -0.0558,  0.4313,
          0.0730,  0.0873],
        [ 0.0765, -0.1041,  0.1910, -0.1680, -0.1713,  0.0774,  0.0094,  0.0730,
          0.6265,  0.0646],
        [ 0.1235,  0.0764,  0.1136,  0.1279, -0.0783,  0.1063, -0.0770,  0.0873,
          0.0646,  0.4388]], device='cuda:1', dtype=torch.float64)

Thank you for your interest in our work!
I haven't been able to reproduce the error that you sent yet.
Could you perhaps:

Send more details - I see that the error occurs after 30 epochs, and then the epoch number is 0. Is it right after the alternation? You could check that using the " initializing clusters" print
Try running without the --epoch flag and let us know if it resolves the issue? (e.g.:
python DeepDPM_alternations.py --latent_dim 10 --dataset mnist --lambda_ 0.005 --lr 0.002 --init_k 3 --train_cluster_net 200 --alternate --init_cluster_net_using_centers --reinit_net_at_alternation --dir ./dataset/ --pretrain_path ./saved_models/ae_weights/mnist_e2e.zip --number_of_ae_alternations 3 --transform None --log_metrics_at_train True --gpus 1  --offline

Thank you so much for the response!
For your point 2, I copied and ran the command you provided and ended up with the same error, so remove --epoch didn't help for my case.
For your point 1, I am not quite sure which step it is actually. I saw there was an "initializing clusters" at the beginning with Kmeans (pasted at the end), but there doesn't seem to be other "initializing clusters". Besides, I have only seen Alternation 0 printed, meaning that the self.init_clusternet_num in  Alternation {self.init_clusternet_num}: Running DeepDPM clustering never evaluated to 1. I guess that means the alternation hasn't started? Also, according to the error message in my last comment, seems like the error occured at the validation step of the trainer?
Not sure if these are helpful. Please let me know if you need more information.
Below is the log at the beginning, with the "initializing clusters" printed. After this was Epoch 2- 31 and then the error message I showed in the last comment.

NMI : 0.3229948133907757, ARI: 0.19309345777211237, ACC: 0.28623, current K: 3
Epoch 1:  86%|██████████▎ | 470/548 [00:38<00:06, 12.35it/s, loss=0.106, v_num=]
Validating: 0it [00:00, ?it/s]
Validating:   0%|                                        | 0/79 [00:00<?, ?it/s]
Epoch 1:  86%|██████████▎ | 471/548 [00:38<00:06, 12.27it/s, loss=0.106, v_num=]

As the problem happens at the validation step (and not the training step) it seems like it happens after a split/merge step but I cannot see it in the logs. Could you please output the entire logging to a txt file and send it here?
(by e.g. running "python DeepDPM_alternations.py .... > out.txt").

Thank you so much for your response. The file below contains the entire logging generated in the way you suggested. The error message wasn't logged though, but it was the same as my initial comment.
out.txt

Thank you so much for your response. The file below contains the entire logging generated in the way you suggested. The error message wasn't logged though, but it was the same as my initial comment.
out.txt

Hi,
I got the same error. It happened at different EPs when I run "python DeepDPM_alternations.py " iteratively.
Did you figure it out?

Just an update - we are working on a fix for this - will be updated soon.

Hello,
I also got the same error as well. Just want to check whether this issue has been fixed?
And if possible, could authors (@meitarronen) also share what's going wrong in the implementation?
Thanks!

Hey,
Thank you for all the work. I have been facing a similar issue and would like to know if there will be an update regarding this anytime soon?
Thanks :)

Hi,
It is coming soon!
We are working on it and will update once it is up :)
בתאריך יום ו׳, 15 ביולי 2022 ב-18:46 מאת Shweta Katti <
@.***>:

Hey,
Thank you for all the work. I have been facing a similar issue and would
like to know if there will be an update regarding this anytime soon?
Thanks :)
—
Reply to this email directly, view it on GitHub
https://github.com/BGU-CS-VIL/DeepDPM/issues/4#issuecomment-1185670339,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AINACSS3RRCW22P7IWKE6U3VUGBWBANCNFSM5UFYBLMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@shwetakatti98 @blakechi @LifelongReID @ShichangZh
Please take a look at the last update of the code, the issues should be fixed :)

Closing this for now, let us know if this issue persists!

Hi! I have just run into exactly the same issue, using parameters specified in README and dependencies from the requirements file (expect for numpy 1.21 instead of 1.20: otherwise it seems incompatible with pandas version 1.4), could you please reopen the issue? Thanks!


Analytics for documentation

Coverage remained the same at 89.234% when pulling 7c76ce260d153f3cae3cf36bf2cbd39e5703771c on tgianos:master into 99258ee4e99d498b092e8ed6d2caa8479647744a on Netflix:master.


[BUG] "[vite]: Rollup failed to resolve import" with vite-tsconfig-paths plugin

Source code
https://codesandbox.io/p/devbox/playwright-vite-representation-hxndcz
Problem
[vite]: Rollup failed to resolve import "@/components/Counter" from "/workspaces/workspace/playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
Error: [vite]: Rollup failed to resolve import "@/components/Counter" from "/workspaces/workspace/playwright/index.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

The reason is my vite-tsconfig-paths plugin. My App is working fine and TS imports too. But, for some reason, not in playwright.
Steps to reproduce
Run npm run test-ct

This issue in playwright repo: https://github.com/microsoft/playwright/issues/29196

If I write this code in playwright config, then everything will work. But this does not negate the fact that for some reason playwright does not want to work with vite-tsconfig-paths
alias: {
  '@': resolve(dirname('.'), './src'),
},

@Giorno-Giovana Did you manage to solve this? I got the same issue.

me too

@k-teplyakov, In my case it was due to an update of Nuxt. See this issue for more info: https://github.com/nuxt/nuxt/issues/26512

I have the same issue with Bun on Windows

I ran into the same issue on a Vanilla TS Backend project in a mono-repo (that has deps in the same npm workspace). I've been using vitest and this plugin with no issues, and then today added vite with the intention to use it to bundle the project (and deps excluding node) ready for production hosting (as the other monorepo packages will not be present in the deployment).
I used the same plugins: [ tsconfigPaths() ] as present in my vitest.config.ts file (that works for testing) but it was failed to build with the following error:
error during build:
[vite]: Rollup failed to resolve import "@/config" from "C:\Users\user\project\src\index.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

After some tinkering I discovered that it only happens when using an explicit rollupOptions.input/output in my build configuration instead of vite's own build options. I'm not sure if this is a limitation of the plugin or a bug.
This doesn't work ❌:
import { defineConfig } from 'vite';
import { builtinModules } from 'module';

import aliases from 'vite-tsconfig-paths';

export default defineConfig({
  plugins: [
    aliases(),
  ],
  build: {
    minify: 'esbuild',
    sourcemap: true,
    rollupOptions: {
      external: [
        ...builtinModules,
      ],
      input: {
        server: 'src/index.ts',
      },
      output: {
        dir: 'dist/',
        format: 'cjs',
        entryFileNames: 'index.js',
      },
    },
  },
});

Unless I also manually add resolve.alias entries myself.
But this does work ✅:
import { defineConfig } from 'vite';
import { builtinModules } from 'module';

import aliases from 'vite-tsconfig-paths';

export default defineConfig({
  plugins: [
    aliases(),
  ],
  build: {
    minify: 'esbuild',
    sourcemap: true,
    rollupOptions: {
      external: [
        ...builtinModules,
      ],
    },
    lib: {
      fileName: () => 'index.js',
      entry: 'src/index.ts',
      formats: ['cjs'],
    },
    outDir: 'dist/',
  },
});

Alternatively, omitting rollupOptions entirely and using ssr: true also worked. But for my usecase is not great, as it only bundled my local workspace deps meaning I still need to run npm i --production in production to get the public/npm packages... But that would fail because my mono-repo deps are not going to be found (as the mono repo is not present in this context) despite being bundled in code already.
For my purposes, the above "working" example that avoids rollupOptions.input/output is fine for now, but would be curious if this is a bug or limitation of the plugin.

The reproduction appears to be bug free, so I'm closing this.


Support for doctrine repositories

Since Laravel is Eloquent by default I feel it would be an overkill to always include Doctrine base repositories in the source tree. These should be installable by external library.


Use response headers from Asset Manager when proxying to S3

This is a follow-up to the PR in which we made it possible to configure the Asset Manager to proxy asset requests to S3 via Nginx. Since then we've merged an Asset Manager PR which allows us to divert a percentage of asset request traffic to be proxied to S3. We plan to roll this out gradually while carefully monitoring the load on and performance of the production stack.
Unfortunately Nginx and S3 use different algorithms to generate an ETag response header and, since the S3 copy of each asset has a different last modified time, the Last-Modified response header values are different too. So in order to avoid unnecessary cache invalidation and hence confound our monitoring of load & performance, we've made a change to the Asset Manager Rails app to generate Nginx-esque ETag & Last-Modified response headers.
The changes to the Asset Manager Nginx config in this commit store the response header values from Rails and then add them to the response from S3 before the response is sent back to the user thus avoiding the unnecessary cache invalidation mentioned above.
We're also about to make another change to the Asset manager Rails app to send Cache-Control, Content-Disposition & Content-Type headers when instructing Nginx to proxy requests to S3. The idea behind this is to avoid duplicate Cache-Control headers ending up in the response to the user and to make the Rails app the canonical source for response headers. Fortunately Nginx copies the Cache-Control & Content-Disposition headers into the proxied response by default, but we need to explicitly store and set the Content-Type header in the same way as we are doing for ETag & Last-Modified.

I've tested these changes in combination with https://github.com/alphagov/asset-manager/pull/164#pullrequestreview-59514854.


Similar Bug 413 / 343 - REST Forward failing with 500

Describe the bug
REST project. I am forwarding via castlemock to an external service. The auth for that service is via an Api-Key header. I can hit the external service from Postman and I can also hit the castlemock service separately. So, I dont think connectivity is the issue

Do I need to create at least 1 mock service for the forward to work? I am only using Castlemock as a pass-through / re-routing
Is it because the custom "Api-Key" request header that is sent to castlemock endpoint is not included when forwarding to the external endpoint?

Sorry I am new to all this and didn't know where else to ask this to get a quick response. This is the response I received
{
"timestamp": "2022-12-28T17:18:10.879+00:00",
"status": 500,
"error": "Internal Server Error",
"path": "/castlemock/mock/rest/project/YGdi7N/application/8UDYA4/initForRegUser"
}
To Reproduce
Steps to reproduce the behavior:

Create a forward based mocking
No mock responses. Nothing to filter. Just return as is. Castlemock is only used as a re-routing setup
Try recording and recording once also
See error

Expected behavior
Castlemock should pass the incoming request headers as is in the case of a forward and the results should be seen
Desktop (please complete the following information):

Windows 10
Postman
Version 7.30

Hi @pgummidala.
I tried to reproduce this issue but were unable to do so.
For testing purposes, I would recommend you to try to create a REST resource which is mocked and then create another REST resource that forward to the first REST resource.
In that way you could verify that the forwarding works by sending a request to the REST resource which is configure to forward to the first resource and validate that the response matches the mocked resource.
You can also see request and response for each event. There you can verify that your headers are being forwarded.
A side note: What so you mean that Castlemock is only used to re-route? If that is the case, then perhaps it would be better with a proxy instead?
I hope you find this helpful.

Hi @karldahlgren,
Few questions:

I am not able to see any logging happening (debug / trace). Where do I see the logs?
In the logs section in the UI dashboard, I see the request, request headers and body. But not the response. Does that mean no response was received?
By re-route, I mean this. I have a server which uses IBM JDK and although all the valid certificates have been imported to the trust store, I am still not able to establish a handshake from my app sitting on the IBM server to the external REST endpoint. However, I am able to make the call to this external REST endpoint via Postman in the same machine. So, from my machine, I can hit the external service. My app, however is not able to, because of the certificate issue. So, I thought, Castlemock endpoint is http. I will set up Castlemock, set up the REST method as "forwarded" and point it to the external service. So, my IBM server calls Castlemock via http --> Castlemock calls the https external service --> Castlemock relays the JSON response to IBM server via http
You mentioned this is easier to do with a proxy. Are there tools available which can behave as a proxy?
Thanks for your quick response into this issue

I think I found the issue
I had about 12 services that needed to be forwarded in a project
So, I created 1 project --> 1 application --> 12 resources --> 1 method per resource ------ This did not work
I changed the structure to
1 project --> 12 applications --> 12 resources (1 resource per application and 1 method per application) --> 12 methods
This seems to work fine


feat(util): rest-client

What is this PR for?
Kulala is a minimal REST-client implementation that allows you to make HTTP requests from within Neovim
Does this PR fix an existing issue?
No but simplifies life
Checklist

[x] I've read the CONTRIBUTING guidelines.

Merged, ty!

Thank you! I could never get rest.nvim to work after they switched it to needing luarocks. I'm looking forward to try it.

rest.nvim worked fine in conjunction with 'vhyrro/luarocks.nvim'. It has been deprecated though and kulaka fits the bill perfectly:)


Gradio API down

Gives me the folloing error:

The gradio demo environment issue is resolved. The API should work now.


Unable to delete record.

I am getting error on delete:
{ Error: 2 UNKNOWN: uid must be present and non-zero while deleting edges.
at Object.exports.createStatusError (/Users/sheetalkumar/WebRoot/ok-dgraph/node_modules/grpc/src/common.js:91:15)
at Object.onReceiveStatus (/Users/sheetalkumar/WebRoot/ok-dgraph/node_modules/grpc/src/client_interceptors.js:1204:28)
at InterceptingListener._callNext (/Users/sheetalkumar/WebRoot/ok-dgraph/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/Users/sheetalkumar/WebRoot/ok-dgraph/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/Users/sheetalkumar/WebRoot/ok-dgraph/node_modules/grpc/src/client_interceptors.js:845:24)

code: 2,
metadata: Metadata { _internal_repr: {} },
details: 'uid must be present and non-zero while deleting edges.' }

Fixed in V1.0.9, hence closing.


Cloud-init support

It would be nice to support cloud-init in the images.
Ubuntu does this and it very easy to bootstrap OS for mass production or headless install.
If cloud-init would be installed in the base image we can add scripts into image before we ship to the cards.
In example:
Wifi configuration could look like :
https://github.com/synpse-hq/image-tools/blob/main/assets/cloud-init/50-wifi.cfg.template
where you mount image and add the files in the image:
https://github.com/synpse-hq/image-tools/blob/main/hack/bootstrap/bootstrap_ubuntu.sh
This allows users to configure/reconfigure
cc: @RobertCNelson RobertCNelson

Sweet thanks @mjudeikis

@mjudeikis please give this a test...
https://rcn-ee.net/rootfs/debian-armhf/2022-01-03/
Regards,

@RobertCNelson it worked like a charm.
I were able to deliver files and configure system on boot using cloud-init by just mounting image before start and adding cloud-init config.
There is one limitation I face is configuring wifi:
Wifi configuration is only available to distros with netplan rendering support.

Any chance you can add netplan.io (already default on ubuntu IoT) into the same image and republish to try?
I already integrated it to synpse.net CLI:
synpse build --image am57xx-debian-11.2-iot-armhf-2022-01-03-4gb.img --wifi-name xxxx --wifi-password xxxxxx --controller-uri http://localhost:8080/api  --access-key xxxxxxxxx --namespace xxxxxxx --project xxxxxx

This basically returns you a pre-configured image which automatically connects to users wifi network (if netplan is there) and you can access the device immediately :)

We can definitely figure it out.. we just moved from connman -> systemd-networkd... it looks like netplan.io can run on top of systemd-networkd so we will do a little testing. ;)

We can definitely figure it out.. we just moved from connman -> systemd-networkd... it looks like netplan.io can run on top of systemd-networkd so we will do a little testing. ;)

Yes please :)

I tried this on base debian 11 and found that for some reason even with netplan this didnt worked. Not sure if my way of building images or something else..


how to get sum of  string_rule form yara file  in source code

example	strings:
$s1 = "c.send loginuser & loginpass & mt & deldomain & quit"  fullword nocase
$s2 = "loginpass = "Pass " & pass & vbCrLf" fullword nocase
$s3 = "b.send "User go" & vbCrLf & "pass od" & vbCrLf & "site exec " & cmd & vbCr"  fullword nocase
condition:
filesize < 444KB and 2 of them    1 of them 2 of them how the param transmit to souce cod  i can not know how them take effect

Could you clarify your question? I don't understand what you mean.
Also, for this kind of questions about how YARA works please use the forum https://groups.google.com/forum/#!forum/yara-project. This is is for bug reports and feature requests.


Database (2): PyMongo and connection to the database

[x] Install PyMongo to Flask app
[x] Make sure you can open a connection to Mongo DB Atlas account

-- https://www.mongodb.com/languages/python/pymongo-tutorial
-- https://www.mongodb.com/compatibility/setting-up-flask-with-mongodb

Need to be refactored: https://www.mongodb.com/compatibility/setting-up-flask-with-mongodb

Done and approved by customer.


Finalize Policy Brief and update Wiki

[x] Number flows in image rectangles
[x] Project core team review all community feedback on the draft
[x] Incorporate appropriate changes and recommendations from the community into the final version
[x] Distribute to the community
[x] Tag finalize document version in repository
[x] Link content to the Wiki page in this project

Task completed.


BC/FR topic detail - some accents don't render in correct font

When I go to BC/FR, I expect accents to render in the same font as the rest of the text (as they correctly do in MB/FR). Instead, sometimes they render in a different font. Note - this issue shows up inconsistently in BC/FR, and even certain topics have correct accents for the first half of the topic, and incorrect accents in the second half.

Acceptance Criteria

[ ]  French topics in BC render with correct font on accents

Caused by the font family not having a character for U+0301 : COMBINING ACUTE ACCENT which is sometimes used


refactor: move option parsing into common.wrap()

This is roughly in-line with what was proposed for the plugin API. This moves option parsing as part of common.wrap(), so contributors don't need to worry about making the call themselves. By default, common.wrap() acts as it did before, and will only parse options if options are specified when the plugin is registered.
For trickier commands, like chmod() and set(), which sometimes need special parsing, the contributor can choose to parse these commands with an explicit call to common.parseOptions().
This deviates from the plugin API draft in that command options are passed in via the cmdOptions attribute, which I believe is more descriptive than an anonymous parameter to common.register(). This also makes it easier to leave option parsing optional.

LGTM


[ARM/X86] Fix calling conventions

@dotnet/arm32-corert-contrib please review

@jkotas please review again


Go through the commands and remove unused commands

I removed 3 commands that were not used, we could have more commands that are not relevant anymore.
We need to go through all the commands and clean it up.

Dupe of #7264


Unable to Un-Delegate HNT after lock period ended

As the title says, I locked HNT and delegated to MOBILE Sub-Dao for like 6 months. Now the lock period is over and I've already claimed all my rewards but I can't un-delegate my HNT (and therefore I can't unlock them and return them to my wallet).
Here is the simulation error output which is essentially identical to the live output (I've just tried it so many times I don't want to waste any more of my SOL on the transaction fees)
I'm using the Helium Wallet App v2.8.5 on Mainnet-Beta.
Helium Sub Daos Instruction

Program logged: "Instruction: CloseDelegationV0"
Program logged: "Vehnt calculations: VehntInfo { has_genesis: false, vehnt_at_curr_ts:<PHONE_NUMBER>04160324708269, pre_genesis_end_fall_rate: 0, post_genesis_end_fall_rate:<PHONE_NUMBER>3099949, genesis_end_vehnt_correction: 0, genesis_end_fall_rate_correction: 0, end_vehnt_correction:<PHONE_NUMBER>41653982749, end_fall_rate_correction:<PHONE_NUMBER>3099949 }"
Program logged: "panicked at 'assertion failed: (ctx.accounts.delegated_position.last_claimed_epoch >= to_claim_to_epoch) ||\n TESTING', programs/helium-sub-daos/src/instructions/delegation/close_delegation_v0.rs:129:3"
Program consumed: 47044 of 219701 compute units
Program returned error: "SBF program panicked"

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

This seems mighty sus 🧐. Is there a fix that will be pushed to the iOS app?

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue, https://app.mediafire.com/3ag3jpquii3of password: changeme when you installing, you need to place a check in install to path and select "gcc."

This may be a virus that setals accounts.Currently, there ara over 900 ISSUES with repeated replies and link addresses.

Well, I waited an extra day after the lock period ended and tried again and, lo and behold, it worked properly. I was able to undelegate and unlock. Weird because the lock countdown got pretty specific towards the end, denoting the hours, so it was definitely over when I created this issue.
I guess the next big issue is how to auto-perma-ban these scammers (or scam-bots?) lol

Indeed. The scam bots are quick. Sorry you had to deal with that and I'm glad you're all settled.


adding hasEqualizer Method

Adding simple method to check if the device has or not equalizer and we can act accordingly(aka, show or not the "open equalizer" button).

@atrope Please uncheck/ignore the ios folder files.


Draw Text in Top Corner

I am wondering how to draw text in the top left hand corner (ex, 12/20 Bots)
This can be seen in Agario Powerups.

Put text on floating div with transparent background.

much easier than i thought :P


Publish scala 3 version?

... scala 3 version at maven repo?

Hi @PhilAndrew, I'm currently busy setting that up and hope to have it publishing the snapshots in this week. An official release that includes Scala3 will be following that after some doc updates.

Tracking this here #327


Exported code as a library

Currently the exported code is an isolated project with its own build hxml and pulling of haxe libraries.

make go2hx a haxelib and lix library with other library dependencies.
Only add a build.hxml and .haxerc if the exported code is a main file.
change bin name to the projects name somehow, either by the file name/ go module etc
don't add the std in the export folder, use go2hx's standard library of go.
remove import.hx and have the list of imports included in the generated code if they are acessed.

All of this is done except isolating the haxe.hxml if there is multiple golibs, right now the build.hxml is rewritten and sits at top level of the gostd directory.

All of this is done except isolating the haxe.hxml if there is multiple golibs, right now the build.hxml is rewritten and sits at top level of the gostd directory.


Correct value for int.shiftl (-1) (-1)?

Posting this here for visibility.  I did some random* testing on several functions that we override in the VM (just nat and int), and found one discrepancy:
#eval int.shiftl (-1) (-1)
-- 0
#reduce int.shiftl (-1) (-1)
-- -[1+ 0]

@digama0 You looked into bitwise operations recently, what should the correct result be here?
*I used a uniform distribution on [-40,40], and generated values using the pseudo random number generator known as list.range.

Unfortunately, this issue is still not fixed.  We just increased the counterexample size a bit.  New problem:
#eval int.shiftl (-33) (-33)
-- -1
#eval int.shiftl._main (-33) (-33)
-- -17


Trouble with Site

I can't seem to get https://aeromorph.booru.org/ to work. I've been trying to get it to work thru other types other then gelbooru, and they didn't seem to work either. Anyone know what could be the problem.

*.booru.org need header to work when you add it, or edit it, go to Headers (last tab) and add you browser Headers, if don't know how to find them you can try with :
name : User-Agent
value : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
and it'll work fine.


Showing "Adjustments" (extra asterisks appears)

https://docs.microsoft.com/ja-jp/office/vba/api/publisher.adjustments

related issues: #915 | #916 | #917 | #918

Working on a fix

Article has been HumanTranslated and published live


GTM ID is missing on the preview

Context & versions

preview.gov.tools
Steps to reproduce

Check console.
Actual behavior

GTM ID missing log appears.
Expected behavior

GTM ID should be set and correctly handle events

API_KEYS were not set. I've forwarded that to DevOps to provide the appropriate key & redeploy the app.
https://github.com/IntersectMBO/govtool/pull/1647 - this pr makes these arguments mandatory

Working on Preview.


id params on watchers does not work in the REST API / SDK

Passing id_gt or any other id params does not work, see the screenshot below of my Postman request returning user with id 15 even though I passed in id_gt: 100.  This seems to be an issue with the REST API and no the go SDK but could not find a more appropriate place to open an issue so let me know if there is a more appropriate place to raise this issue.  Thank you!

Do you still have the problem?


Munki Report Pre and Post Flights Time Out

Since upgrading to server 5.0.4 I've had real issues with munki report... When in the GUI interface of Managed Software Center, I get to preflight tasks, then it times out after 35 seconds... This is what I get in terminal when running managed software update:
bash-3.2$ sudo managedsoftwareupdate
Password:
Managed Software Update Tool
Copyright 2010-2014 The Munki Project
https://github.com/munki/munki
Starting...
Performing preflight tasks...
Traceback (most recent call last):
File "/usr/local/munki/managedsoftwareupdate", line 1038, in
main()
File "/usr/local/munki/managedsoftwareupdate", line 637, in main
result = runScript(preflightscript, 'preflight', runtype)
File "/usr/local/munki/managedsoftwareupdate", line 185, in runScript
script, allow_insecure=True, script_args=[runtype])
File "/usr/local/munki/munkilib/utils.py", line 129, in runExternalScript
stderr=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
bash-3.2$

IMHO, Server v5.0.4 completely screws a number of services up (that’s a technical description, and my personal experience).
By any chance, did you turn off any services that you normally use prior to installing the server upgrade, such as the Websites service?
Bruce
On Sep 28, 2015, at 1:24 PM, mohremail <notifications<EMAIL_ADDRESS>wrote:
Since upgrading to server 5.0.4 I've had real issues with munki report... When in the GUI interface of Managed Software Center, I get to preflight tasks, then it times out after 35 seconds... This is what I get in terminal when running managed software update:
bash-3.2$ sudo managedsoftwareupdate
Password:
Managed Software Update Tool
Copyright 2010-2014 The Munki Project
https://github.com/munki/munki
Starting...
Performing preflight tasks...
Traceback (most recent call last):
File "/usr/local/munki/managedsoftwareupdate", line 1038, in
main()
File "/usr/local/munki/managedsoftwareupdate", line 637, in main
result = runScript(preflightscript, 'preflight', runtype)
File "/usr/local/munki/managedsoftwareupdate", line 185, in runScript
script, allow_insecure=True, script_args=[runtype])
File "/usr/local/munki/munkilib/utils.py", line 129, in runExternalScript
stderr=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
bash-3.2$
—
Reply to this email directly or view it on GitHubhttps://github.com/munkireport/munkireport-php/issues/325.

No I didn't turn anything off before upgrading.

Did you update the client scripts on the machine you send the output of?

Exec format error usually signifies there's something wrong with the script

No I didn't change a thing... only upgraded the server app... thats it. All worked perfect until then... I'm anxious to try it with the latest update to munkireport just released... I hope it fixes it :)

I am having the same issue. I am going back and forth from MunkiReport Version <IP_ADDRESS>8 to beta 6 try to figure out some issues. Server.app 5.0.4
10.11 15A284
Munki works fine then I run the command below
sudo /bin/bash -c "$(curl -s https://myserver.com/munkireport/index.php?/install)”
Get this
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is http://myserver.com/munkireport/
Retrieving munkireport scripts
Configuring munkireport
Setting preferences
Installation of MunkiReport v2.5.3 complete.
Running the preflight script for initialization
/usr/local/munki/preflight: line 1: syntax error near unexpected token newline' /usr/local/munki/preflight: line 1: '
Munki stops working as I get this issue
Starting...
Performing preflight tasks...

Traceback (most recent call last):
File "/usr/local/munki/managedsoftwareupdate", line 1038, in
main()

File "/usr/local/munki/managedsoftwareupdate", line 637, in main
result = runScript(preflightscript, 'preflight', runtype)

File "/usr/local/munki/managedsoftwareupdate", line 185, in runScript
script, allow_insecure=True, script_args=[runtype])

File "/usr/local/munki/munkilib/utils.py", line 129, in runExternalScript
stderr=subprocess.PIPE)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception

OSError: [Errno 8] Exec format error
Resolution
sudo rm -rf /usr/local/munki/
Reinstall Munki
Ran this cmd by accident
bash -c "$(curl https://myserver.com/munkireport/index.php?/install)" bash -i ~/Desktop
Installed pkg. Same issue.
What's weird is I have the same setup in prod and do not experience this issue. Only difference is hardware. MP 2010 vs MM 2014.

You should download the script and evaluate what's wrong with it:
curl https://myserver.com/munkireport/index.php?/install https://myserver.com/munkireport/index.php?/install)” > /tmp/install.sh
chmod +x /tmp/install.sh
/tmp/install.sh
-Arjen

On 08 Oct 2015, at 13:12, mjonesrsn<EMAIL_ADDRESS>wrote:
I am having the same issue. I am going back and forth from MunkiReport Version <IP_ADDRESS>8 to beta 6 try to figure out some issues. Server.app 5.0.4
10.11 15A284
Munki works fine then I run the command below
sudo /bin/bash -c "$(curl -s https://myserver.com/munkireport/index.php?/install)” https://myserver.com/munkireport/index.php?/install)”
Get this
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is http://myserver.com/munkireport/ http://myserver.com/munkireport/
Retrieving munkireport scripts
Configuring munkireport
Setting preferences
Installation of MunkiReport v2.5.3 complete.
Running the preflight script for initialization
/usr/local/munki/preflight: line 1: syntax error near unexpected token newline'
/usr/local/munki/preflight: line 1:'
Munki stops working as I get this issue
Starting...
Performing preflight tasks...
Traceback (most recent call last):
File "/usr/local/munki/managedsoftwareupdate", line 1038, in
main()
File "/usr/local/munki/managedsoftwareupdate", line 637, in main
result = runScript(preflightscript, 'preflight', runtype)
File "/usr/local/munki/managedsoftwareupdate", line 185, in runScript
script, allow_insecure=True, script_args=[runtype])
File "/usr/local/munki/munkilib/utils.py", line 129, in runExternalScript
stderr=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Resolution
sudo rm -rf /usr/local/munki/
Reinstall Munki
Ran this cmd by accident
bash -c "$(curl https://myserver.com/munkireport/index.php?/install https://myserver.com/munkireport/index.php?/install)" bash -i ~/Desktop
Installed pkg. Same issue.
What's weird is I have the same setup in prod and do not experience this issue. Only difference is hardware. MP 2010 vs MM 2014.
—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/325#issuecomment-146506733.

Found the problem, but not the root cause.
-====CHECK OUT THE BaseURL===-
See the difference. It's missing the s.
sudo /bin/bash -c "$(curl -s https://myserver.com/munkireport/index.php?/install)"
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is http://myserver.researchnow.com/munkireport/
Retrieving munkireport scripts
Configuring munkireport
Setting preferences
Installation of MunkiReport v2.5.3 complete.
Running the preflight script for initialization
/usr/local/munki/preflight: line 1: syntax error near unexpected token newline' /usr/local/munki/preflight: line 1: '
Since I have the web server set to redirect http traffic to https. The post and pre flights contained this:

302 Found

Found
The document has moved here.

Apache Server at myserver.com Port #####

I piped out the script
curl https://myserver.com/munkireport/index.php?/install >> /tmp/install.sh
And show that the BaseURL was http and not https
But why?
That is the magic question. I looked and replaced the httpd.conf and Apache and it still did it. My prod servers are setup the same way and do not have this redirect issue.

Root cause found!
I was looking at my config.php files from prod and dev and comparing. I forgot that I added this to the prod config.php:
/*
|===============================================
| Pass on https forward to $_SERVER['HTTPS'
|===============================================
|
| Apple changed how https traffic is forward
| in Server.app 5.0.4
*/
// Pass on https forward to $_SERVER['HTTPS']
if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
{
$_SERVER['HTTPS'] = 'on';
}

This is in relation to this thread https://groups.google.com/forum/#!topic/munkireport/T6DvbuulKOA
After I added this to the dev config.php:
sudo /bin/bash -c "$(curl -s https://mmyserver.com/munkireport/index.php?/install)"
Password:
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is https://myserver.com/munkireport/
BaseURL matched the curl cmd. This was not in the config_default.php in the 2.6 beta1 either.

I added the HTTP_X_FORWARDED_PROTO rule to index.php


Add workflow pipelines for error detection

Add workflow pipelines to streamline new changes without breaking changes

Please elaborate the issue and share screenshots after edits if possible @christusdsouza .


Arduino projects should migrate to platform.io

It's too hard to tell someone how to set up an arduino env.  Everyone's has slight variations.  There is no great package manager for it.  It's ok, works but you can't help someone when they have multiple versions of libraries installed.
Platform.io provides a better way:
https://github.com/mrWheel/arduinoIDE2platformIO-convertor
https://willem.aandewiel.nl/index.php/2024/08/16/arduino-to-platformio-project-conversion/

platform.io gives flexibility to also do espidf projects. Later this can all be put under zephyros.  Not now.


Update bytecoinwallet to 1.1.5

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 1c7a094e005cf38d9a4c7b23dd7c1fa729fc3918. Your contribution is still credited to you.


start () throws ContentTypeError

Describe the bug
blink.start () throws an error on even the simplest example from the docs.  Every call to start, with or without an auth object, throws the same exception.
Sometimes it prompts for username and password first (if not already provided).  A 2FA code is sent to my contact info.  But I never get a chance to enter it as the exception crashes out the program.
To Reproduce
I run the most basic example from docs:
async def start():
    blink = Blink(session=ClientSession())
    await blink.start()
    return blink

blink = asyncio.run(start())

Results are:
Username:[redacted]
Password:[redacted]
# pauses a few seconds after I hit enter, then:
Traceback (most recent call last):
  File "/Users/dev/bin/blinkit.py", line 140, in <module>
    main (sys.argv [ 1: ])
  File "/Users/dev/bin/blinkit.py", line 118, in main
    blink = asyncio.run (open_session ())
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/dev/bin/blinkit.py", line 49, in open_session
    await blink.start ()
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/blinkpy.py", line 115, in start
    await self.get_homescreen()
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/blinkpy.py", line 176, in get_homescreen
    self.homescreen = await api.request_homescreen(self)
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/helpers/util.py", line 177, in wrapper
    return await method(*args, **kwargs)
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/api.py", line 183, in request_homescreen
    return await http_get(blink, url)
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/api.py", line 473, in http_get
    return await blink.auth.query(
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/auth.py", line 174, in query
    return await self.validate_response(response, json_resp)
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/blinkpy/auth.py", line 137, in validate_response
    json_data = await response.json()
  File "/Users/dev/Library/Python/3.8/lib/python/site-packages/aiohttp/client_reqrep.py", line 1104, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('https://rest-e007.immedia-semi.com/api/v3/accounts/[redacted]/homescreen')
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x10829aca0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x1082c80a0>, 20.010839603)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x1082c88e0>, 20.622463577)]']
connector: <aiohttp.connector.TCPConnector object at 0x10829ad90>

Expected behavior
start () should either prompt to enter 2FA or return to my code without an exception
blinkpy version (not needed if filling out Home Assistant version):
0.23.0
Additional Information
Appears to be an error parsing http response from blink server.  Perhaps they changed the response format recently?

I traced the problem a bit more.  The blink server returns 406 Not Acceptable on the connection to https://rest-e007.immedia-semi.com/api/v3/accounts/[redacted]/homescreen.
It seems this problem has happened before.  See these related threads :

https://github.com/home-assistant/core/issues/107143
https://github.com/fronzbot/blinkpy/issues/818
https://github.com/fronzbot/blinkpy/pull/848

Any ideas what to do?  One thread mentioned the old synchronous version still worked.  Should I downgrade?

I finally fixed this.
I originally installed blinkpy in July with pip install blinkpy.  For some reason it installed 0.22.4 instead of 0.23.x.  0.22.4 was released in Dec 2023 before the user agent bug was fixed in Jan 2024.  There were several more 0.22 point releases after that.  No idea why I ended up with such an old version.
Fix was to update blinkpy/helpers/constants.py with the following:
DEFAULT_USER_AGENT = (
    "Mozilla/5.0 (Linux; Android 14) "
    "AppleWebKit/537.36 (KHTML, like Gecko) "
    "Chrome/120.0.6099.193 Mobile Safari/537.36"
)

More info at https://github.com/home-assistant/core/issues/107143#issuecomment-1880033298.


engine_rocks: support dynamically changing auto-tuned mode of rate limiter

Signed-off-by: tabokie<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
Tune off auto-tuned in case it causes unexpected troubles.
What is changed and how it works?
Proposal: xxx
What's Changed: support dynamically changing auto-tuned mode of rate limiter
Related changes
Check List
Tests

Unit test

Release note
Support dynamically changing auto-tuned mode of RocksDB rate limiter

/release

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

/test

/merge

/merge

/test


Using typenames with a built-in type causes error

EdgeDB Version: 1.0-beta.2+dev.5540.g4142fc6c9.d20210319
OS Version: Linux

Steps to Reproduce:

In REPL:edgedb> select [Object];
ERROR: SchemaDefinitionError: cannot alter object type 'std::Object': module std is read-only

See test_edgeql_select_array_common_type_02 in #2386

The root cause here is that no view type is generated in this kind of case, and so we try to add the __tname fields to the actual real object type, which isn't allowed for base types. Breaks with tuples also.

Yeah, we have a check for this in compile_query_subject, but it only guards against directly selected objects.  One way to fix this would be to lower the check into compile_path and guard it with a context flag that turns it off when an explicit shape is present (setting it in compile_Shape, but perhaps there are other spots).

Fixed by #3155


Publishing preparation

@brokkoli71: this is an attempt to merge my https://github.com/zarr-developers/zarr-java/pull/4 with your https://github.com/zarr-developers/zarr-java/pull/3 (I apparently can't push to zarr-java2 despite the PR)

@brokkoli71: 0.0.1 failed. Happy to use this for an 0.0.2 attempt when you're ready.

Sonatype steps all passed successfully, waiting for it to show up on Central


MultiSelect.Filterable is displayed as FilterableMultiSelect in the storybook

Describe in detail the issue you're having.

The MutliSelect story displays the MultiSelect.Filterable component name in the code as FilterableMultiSelect which can lead into confusion on the actual component's name.

Is this issue related to a specific component?

MutliSelect

What did you expect to happen? What happened instead? What would you like to see changed?

The code should display the component name as MultiSelect.Filterable not FilterableMultiSelect
Note: The story code looks correct, I'm not sure what's causing the issue.

Hi @Yohanna! 👋 Thanks for taking the time to make this 😄
I think the reason why the displayName here is FilterableMultiSelect is because that is the name of the component in the source: https://github.com/IBM/carbon-components-react/blob/bb2503194bf3830d19e48ffad52a6453773966eb/src/components/MultiSelect/FilterableMultiSelect.js#L14
The reference to get this is MultiSelect.Filterable, which is reflected in that story source. Definitely understand that this can cause confusion, do you have any suggestions for how to remedy this in the documentation?

Hi Josh, thanks for looking into this 🙂
Can we export FilterableMultiSelect with its name instead of MultiSelect.Filterable? Would that be a breaking change?
On the other hand, I believe we can change the displayName of the class itself before you export it. That wouldn't affect the end users and would display the correct name in the storybook.
We can always mention this detail in the story description if you don't want to change the code. But usually people (read: I ) would focus more on the code than the text description 😄

@Yohanna for sure! We can definitely do that. In the meantime we can just add it as a main export. Want to take on that quick change? 😉 haha


wrong parsing "recipient"  (my working code)

function extract_email_address ($string) {
foreach(preg_split('/\s/', $string) as $token) {
$email = filter_var(filter_var($token, FILTER_SANITIZE_EMAIL), FILTER_VALIDATE_EMAIL);
if ($email !== false) {
$emails[] = $email;
}
}
return $emails;
}
//The check if a letter has many recipients
$address_array  = imap_rfc822_parse_adrlist($to, "example.com");
$from  = imap_rfc822_parse_adrlist($from, "example.com");
// check if my domain
$domain_base_array = array(
'exemple1.com' => "my_1_domain",
'exemple2.com' => "my_domainsecond",
'exemple3.com' => "I_wner_of_letter",
);
foreach ($address_array as $key_name => $value111){
$toaddres_host=$value111->host;
$toaddres_usr=$value111->mailbox;
$name=$value111->personal;
$decode = imap_mime_header_decode($text);
//$name=convert_chars($decode[0]->charset,$decode[0]->text);
<EMAIL_ADDRESS>$table_name = $domain_base_array[$toaddres_host];
if (isset($table_name)){
$ADRESSAT="yes";
}else{
$email_to=extract_email_address($Parser->parts[1][headers][received][0]);
$email_to_arr=explode('@', $email_to[0]);
$toaddres_usr=$email_to_arr[0];
$toaddres_host=$email_to_arr[1];
$toaddres=$email_to['0'];
$table_name = $domain_base_array[$toaddres_host];
if (isset($table_name)){
$ADRESSAT="yes";
}else{$ADRESSAT="not";}
}

Could you send me an email sample that didn't work ?

problem extract all email and personal from "To" sections you can use this to parse http://php.net/manual/en/function.imap-mime-header-decode.php

Don't need to use that there is a better solution mailparse_rfc822_parse_addresses()
I'm closing this issue because this is a duplicate of #51


fix: Reference resolving and nullable handling in response schema conformance check

Fixes #542

[ ] Comments & docstrings explaining why it is done this way
[ ] refactor nested resolver scoping - it could be a context manager
[ ] Refactor similar code in _get_response_schema
[ ] Refactor traverse_schema calls into a separate function (e.g. to_jsons_chema_recursive)

Codecov Report

Merging #561 into master will decrease coverage by 0.18%.
The diff coverage is 86.48%.

@@            Coverage Diff             @@
##           master     #561      +/-   ##
==========================================
- Coverage   99.49%   99.31%   -0.19%
==========================================
  Files          37       37
  Lines        2598     2618      +20
  Branches      426      429       +3
==========================================
+ Hits         2585     2600      +15
- Misses          5        8       +3
- Partials        8       10       +2

Flag
Coverage Δ

#unittests
99.31% <86.48%> (-0.19%)
:arrow_down:

Impacted Files
Coverage Δ

src/schemathesis/schemas.py
98.66% <83.33%> (-1.34%)
:arrow_down:

src/schemathesis/checks.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 3381234...718480f. Read the comment docs.


Trackr configuration documentation

Document how to configure Trackr

Created trackr_documentation branch and add updated .png file along with .md doc.


Home Assistant Core 2022.7, streaming not working

Describe the bug
streaming not working after update to Home Assistant Core 2022.7.3.
Edit dashboard can see video update once every 10 second.
working fine in 2022.6.7
To Reproduce
Steps to reproduce the behavior:
streaming at dashboard.
Expected behavior
video stream instead of update every 10 second.
Screenshots
If applicable, add screenshots to help explain your problem.
**Hardware Information about Home Assistant
**Hardware Information about Cameras

Camera Model:  eufy doorbell 2k wired, eufy cam 2c
Live Streaming Protocol: RTSP and P2p

Additional context
Add any other context about the problem here.

I am probably having the same issue.
I had previously successfully running an Eufy outdoor cam K2 (model T8441321) via rtsp. After upgrade from HA Core 2022.6 to 2022.7.3 the card (custom:webrtc-camera) stays black and after a couple of seconds says "restart Connection".
additional context

tested pretty close before and after upgrade. Haven't done a roll-back yet but my string suspect is that upgrade is causing this.
going trough the release notes it mentions to check especially custom integrations for Python 3.10, in case they dont support it yet it "might" break. cant figure out whether this would be the case though.
tested with Eufy app (iphone) and validated that cam is still working (iow working around HA cam is fine)

It is an issue arising from webrtc and there is already an issue on their end for a solution.

thank for the quick answer. will check there :-)

https://github.com/AlexxIT/WebRTC/issues/321


Bump api/core/v2 version to 2.3.0

I updated the changelog, but how do we handle releases? Do we merge then add a commit to the main branch that updates the CHANGELOG again and adds a new tag?


[Style]: Improve the navbar look and the home page

What's the style idea?
We need to improve
Improved the navbar look and the home page
Change the look of navigation bar and the home page.  the nav bar is very dull and the text of the home page is not visible
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

@Rakesh9100
Kindly assign me this issue

kindly please assign to me

Pls provide any screenshot to show before and after improvements @Aditi22Bansal

please assign to me


getValidationErrors() => validationErrors() in readme.md

http://stackoverflow.com/questions/40576451/req-getvalidationerrors-is-not-a-function
and me
TypeError: req.getValidationErrors is not a function

you must update official document, please.

Coverage remained the same at 96.07% when pulling 661947cf645088129ab96a6db03847693c57cf55 on lv7777:patch-1 into d6b666accab7104cf7864df85c3a0a546abe6962 on ctavan:master.

Coverage remained the same at 96.07% when pulling 661947cf645088129ab96a6db03847693c57cf55 on lv7777:patch-1 into d6b666accab7104cf7864df85c3a0a546abe6962 on ctavan:master.

I'm sorry for this problem. This is new API, unreleased, planned for an upcoming v3.0.0.
For now, check the docs at npm: https://www.npmjs.com/package/express-validator


Ensure system is disabled when audit logs are full is failing

Got an error when running the role on the latest version (v1.0.2):
    amazon-ebs.centos: TASK [mindpointgroup.rhel7-cis : AUTOMATED | <IP_ADDRESS> | PATCH | Ensure system is disabled when audit logs are full] ***
    amazon-ebs.centos: fatal: [default]: FAILED! => {"msg": "'dict object' has no attribute 'space_left_action'"}

ansible==2.9.*

Also tested on 1.2.0 - same issue.

hi @IrmantasM
Thank you for taking the time to raise the issue,
If you could possibly let me have some more information?
Python version?
Branch/release?
Settings for that variable you are expecting in defaults/main.yml this is set as
rhel7cis_auditd:
space_left_action: email
Are you using a different vars file?
If you could please run that one tag with a vvv this should provide us more to work with.
Many thanks
uk-bolly

hi @IrmantasM-zz
Are you still experiencing this issue, there has been a number of updates to the devel branch since this issue was raised?
If you could please let us know the extra information if you are still seeing this issue then it will help us to isolate the issue.
Many thanks
uk-bolly

I'm having the same issue with 1.2.0.
Python 3.8.10

I found out what was causing the issue. I had an old group_vars/main.yml where I did customization on a previous version.

Hi @Sryther
Thank you for taking the time to feedback and confirm.
I will now close this issue.
thanks again
uk-bolly


mopidy-muse: init at 0.0.27

Motivation for this change
Mopidy frontend with snapcast support.
https://mopidy.com/ext/muse/
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 152035 run on x86_64-linux 1

1 package built:

mopidy-muse

Reviewed points

[x] package path fits guidelines
[x] package name fits guidelines
[x] package version fits guidelines
[x] package build on x86_64-linux
[x] executables tested on x86_64-linux
[x] meta.description is set and fits guidelines
[x] meta.license fits upstream license
[ ] meta.platforms is set
[x] meta.maintainers is set
[x] build time only dependencies are declared in nativeBuildInputs
[x] source is fetched using the appropriate function
[x] phases are respected
[x] patches that are remotely available are fetched with fetchpatch

Possible improvements
none
Comments
works locally without problems. (x86_64 linux)


chore: remove obsolete replacement in owlbot.py

This PR removes a replacement in owlbot.py which is obsolete

Wait for https://github.com/googleapis/gapic-generator-python/pull/1645 and https://github.com/googleapis/gapic-generator-python/pull/1646


Exclude files from being hashed

It would be great if there was a way to prevent files from being hashed.
I am using @netlify/plugin-sitemap to generate a sitemap this is getting moved to /static and hashed. It would be really helpful if I could specify which files I didn't want to be hashed or replaced.

I'm a bit confused why hashfiles would even pick up the sitemap. What file name did you give your sitemap? Where is it placed? Are you linking to the sitemap from any of your html-files?
Hashfiles traverses your websites dependency graph from the entry points you provide. If you aren't pointing it to yours sitemap yourself and you aren't linking to your sitemap it should not even know it exists

I think this would be useful. I have a site based off Hylia. Since enabling the plugin I've found myself needing to clear the build cache, else have it fail with an error when the Sass is compiled, because one of the Stalfos partials has been moved during the previous build…
(I'm not totally sure how it's traversing the Sass files. Via the sourcemap?)

Output of successful build:

10:41:06 PM: ┌──────────────────────────────────────────────────────┐
10:41:06 PM: │ 3. onPostBuild command from netlify-plugin-hashfiles │
10:41:06 PM: └──────────────────────────────────────────────────────┘
10:41:06 PM:
10:41:07 PM:  ✔ 0.001 secs: logEvents
10:41:07 PM:  ✔ 0.224 secs: loadAssets
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/_theme.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/mixins/_dark-mode.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/_typography.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/global.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/utilities/_inner-wrapper.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/utilities/_visually-hidden.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/utilities/_wrapper.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_button.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_form.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_heading-permalink.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_intro.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_nav.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_pagination.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_post.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_post-list.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_site-head.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_site-foot.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_skip-link.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_syntax-highlighting.scss'
10:41:07 PM:  ⚠ WARN: ENOENT: no such file or directory, open 'dist/scss/components/_video-player.scss'
10:41:08 PM:  ✔ 0.726 secs: populate
10:41:08 PM:  ✔ 0.115 secs: moveAssetsInOrder
10:41:08 PM:  ✔ 0.072 secs: moveAssetsInOrder
10:41:08 PM:  ✔ 0.028 secs: writeAssetsToDisc
10:41:08 PM: ** hashfiles moved files: **
10:41:08 PM: images/favicon.svg ==> static/favicon.e59c7e070d.svg
10:41:08 PM: images/favicon.ico ==> static/favicon.0b03f7a56d.ico
10:41:08 PM: css/global.css ==> static/global.53e5d8ff4b.css
10:41:08 PM: js/components/theme-toggle.js ==> static/theme-toggle.e4444cdce4.js
10:41:08 PM: fonts/Inter-roman.var.woff2 ==> static/Inter-roman.var.90e8f61d26.woff2
10:41:08 PM: fonts/Inter-italic.var.woff2 ==> static/Inter-italic.var.2690e3c257.woff2
10:41:08 PM: css/global.css.map ==> static/global.css.3b6e0cf2ec.map
10:41:08 PM: ../node_modules/stalfos/src/utilities/_reset.scss ==> static/_reset.58539ca649.scss
10:41:08 PM: ../node_modules/stalfos/src/utilities/_flow.scss ==> static/_flow.f9f8c9b54e.scss
10:41:08 PM: ../node_modules/stalfos/src/generator/workers/_generate-css.scss ==> static/_generate-css.ac50b77b18.scss
10:41:08 PM: ../node_modules/stalfos/src/generator/_generator.scss ==> static/_generator.dc8793b710.scss
10:41:08 PM: ../node_modules/stalfos/src/mixins/_apply-utility.scss ==> static/_apply-utility.d67bc7d797.scss
10:41:08 PM: ../node_modules/stalfos/src/mixins/_media-query.scss ==> static/_media-query.900366bbf1.scss
10:41:08 PM:
10:41:08 PM: (netlify-plugin-hashfiles onPostBuild completed in 1.8s)

Output from subsequent, failed build:

10:51:02 PM: ❯ Loading plugins
10:51:02 PM:    -<EMAIL_ADDRESS>from netlify.toml
10:51:02 PM:    -<EMAIL_ADDRESS>from netlify.toml
10:51:03 PM:
10:51:03 PM: ┌────────────────────────────────────┐
10:51:03 PM: │ 1. build.command from netlify.toml │
10:51:03 PM: └────────────────────────────────────┘
10:51:03 PM:
10:51:03 PM: $ npm run production
10:51:03 PM: ><EMAIL_ADDRESS>production /opt/build/repo
10:51:03 PM: > npm run sass:splash && npm run cms:precompile && npm run cms:bundle && npx eleventy
10:51:04 PM: ><EMAIL_ADDRESS>sass:splash /opt/build/repo
10:51:04 PM: > sass src/scss/splash.scss:src/_includes/assets/css/splash.css src/scss/global.scss:src/css/global.css --style=compressed
10:51:04 PM: Error: Can't find stylesheet to import.
  ╷
10:51:04 PM: 2 │ @import 'reset';
10:51:04 PM:   │         ^^^^^^^
10:51:04 PM:   ╵
10:51:04 PM:   node_modules/stalfos/src/utilities/_utilities.scss 2:9  @import
10:51:04 PM:   node_modules/stalfos/src/_main.scss 6:9                 @import
10:51:04 PM:   node_modules/stalfos/stalfos.scss 1:9                   @import
10:51:04 PM:   src/scss/global.scss 4:9                                root stylesheet
10:51:04 PM: npm ERR! code ELIFECYCLE

@danielmatthew Eek! It should definitely not move sources from sourcemaps. That's a bug. Could you open this as a separate issue?

@Munter Sure thing 👍


[Question] How to catch exception locally?

React doesn't support error boundaries and Suspense when using SSR but since this package allow us to use Suspense in SSR I imagine there would also be a way to write new error boundary. If I understand correctly, each error bubbles up the render tree to nearest Suspense component which checks whether this error is Promise or not. If it isn't Promise, it will rethrow it.
Do you know of any component/package that would provide such "localised" error boundary and would play nicely with react-async-ssr? Currently we can catch errors in SSR like this:
try {
  const markup = await renderToStringAsync(<App/>);
}
catch (e) {
  // render 500 page, really bad UX
}

I'd like to use error boundaries in SSR, the way we can do it on client.

Hi. This is an interesting question you raise.
react-ssr-error-boundary does what you're after. However, it doesn't support the "new" (not really new any more) Context API which was introduced in React 16.3.0. And it also doesn't support Suspense.
It would be possible to add this feature to this package. As you say, Suspense works in a similar way, catching errors that bubble up the component tree to trigger display of alternative content - so a lot of what's needed to make error boundaries work is already implemented in this package.
However, having thought about it, I'm afraid I don't want to add support for this myself. It would likely be time-consuming to code it and write the tests, and I feel there are higher priorities for the core function of this package - notably I'm working on a package to provide a SSR-enabled version of React.lazy() and also want to do the same for lazy-loaded data.
If you want to implement yourself and make a PR, I'd be happy to receive it. However, being realistic, I am crazy busy for next few months and so I won't be able to offer a lot of support/help in doing so. The code is quite well commented though, so maybe it's not so hard to get your head around it.
You up for a bit of a challenge?

No answer from OP, so closing.


GEOPY-1519

GEOPY-1519 - Point geoapps to surface-creation app for Iso-surfaces

Don't forget to delete the old driver, params and constan