Socket.io not found and Echo Error.

Please find any solutions and help me on this.Thanks.

I Installed redis and laravel echo server globally.I am stuck with the configuration with the project.About port and other things.It is not working as required.Please see the below code.
While i run redis-cli :
C:\WINDOWS\system32>redis-cli
<IP_ADDRESS>:6379>
While i run laravel echo server with following configuration.

you've to symlink storage folder, $ php artisan storage:link
also use development mode for laravel-echo-server and proper authHost value in the file.

Cannot read property 'id' of undefined in vendor.min.js .
Why is that so ?

issue has been fixed in latest commit,please check if that solves the problem, if not reopen the issue

This issue is already closed by you.How can i reopen it ? My system still gives me an error mentioned below.
Cannot read property 'id' of undefined in vendor.min.js .

please pull latest code and clear browser cache and retry.

Okay let me try that again.

I don't have experience with windows 10. are you facing any specific error?

Certainly given below on windows 10:
Cannot read property 'id' of undefined in vendor.min.js .
Cannot read property 'state' of undefined

May be,It would be due to configurations of redis or echo server ? isn't ?

On which system it will work flawless ? Is it Linux ?

@ahmadlatif1084 Maybe you can try Homestead...

i've pushed new commit, should fix Cannot read property 'state' of undefined error, can you check that

@ahmadlatif1084 Maybe you can try Homestead...

What do you sense by homestead and how it is going to effect my code into fully running flawless ?

i've pushed new commit, should fix Cannot read property 'state' of undefined error, can you check that

@Hasnayeen
Assured,let me pull new commits and check later.I will get back to you,If required.

Fantastic,I have pulled the code and tried it again and everything starts working.Messages is not running smoothly and didn't get the main idea of using redus along with it.Can you please help me onto this ? .By the way,very thankful for your guidance's,directions and supervisions. 👍
@Hasnayeen @djaca

Well, demo is working...
If you want to use Win10, best option is to use Laravel Homestead. Then, follow instructions here.


5 button pico mapping (fan)

When utilizing a 5 button "fan" pico the top, bottom, and favorite button make sense to me, but is it possible to get the native for the up and down buttons "increase by X" (e.g. 25%→50%→100%) when controlling a fan?

Unfortunately this plugin only send the button presses.  The way I solved that is to use Shortcuts to handle the logic in the Home app.


Feat/admin update product

What does this PR do?
This pr allow super admin to update product status
Checklist:

[x] Add status column to product table
[x] Allow only super admin to change product status
[x] Throw forbidden error when other users call the endpoint
[x] Added Unit test to services

Response
success
{
   "message": "Product status updated successfully",
   "status_code": 200,
   "data":{
       "id": "19cded37-05a4-48dc-9cf2-632f8a253cba",
       "created_at": "2024-07-30T02:19:35.254Z",
       "updated_at": "2024-07-30T02:21:57.126Z",
       "name": "test name",
       "description": "test description",
       "quantity": 20,
       "price": 10000,
       "status": "draft",
       "image": "dddd",
       "stock_status": "in stock"
   }
}

Forbidden response
{
    "error": "Forbidden",
    "status_code": 403,
    "message": "Forbidden user"
}

Test screenshot

Update the PR title please, it should be feat:


aligned with pr 455

this is an update to the package to make the bootstrap secret controller independent of configsync.
it has to be aligned with https://github.com/nephio-project/nephio/pull/455

/lgtm

/approve


Support for ElasticSearch 1.7.1

Hi,
I know we are using a very old version of ElasticSearch. But have some difficulties in migrating the schemas to the new version. We use Prometheus for monitoring and Alerting for all of our system expect ElasticSearch. is there a way i can use this plugin with the ES version 1.7.1?
Thank you

same here!

+1 support for 1.7.x versions are appreciated

Hi,
This is a lot work supporting ES 5.x and 2.x branches on my spare time. Unfortunately I have not enough time for another branch. I am sorry for that, but any PR could be welcomed :)


Create dataset loader for MDIA

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

Dataset
mdia

Description
This is a multilingual benchmark for dialogue generation containing real-life Reddit conversations (parent and response comment pairs) in 46 languages, including Indonesian, Tagalog and Vietnamese. English translations are also provided for comments.

Subsets
ind_dialogue, ind_eng, tgl_dialogue, tgl_eng, vie_dialogue, vie_eng

Languages
ind, tgl, vie

Tasks
Dialogue System

License
Creative Commons Attribution 4.0 (cc-by-4.0)

Homepage
https://github.com/DoctorDream/mDIA

HF URL
-

Paper URL
https://arxiv.org/pdf/2208.13078.pdf

#self-assign


U/chihway/gglensing stellarmass

In this notebook we show the galaxy-galaxy lensing signal ($\Delta \Sigma$) measured from CosmoDC2 where we attempt to match the lens selection to those used in Mandelbaum et al. (2016; M16; 1509.06762). This analysis tests the extent of the simulations that we can trust in terms of:

scales useful for lensing measurements
galaxy-halo connection as a function of stellar mass and colors

Contributors to this test and relevant discussion include:
Chihway Chang, Andrew Hearin, Patricia Larsen

Here are some comments for your consideration on the TestGalaxyGalaxyLensingSDSSMain.ipynb notebook.
I used the cosmoDC2_image catalog, which... -> [Here it would be useful to the neophyte to show how you extracted these counts from the cosmoDC2_image catalog]
Next we plot the $\Delta \Sigma$ measurements -> [Not including the measurement code makes sense, but it would be worth adding some details about what (else) you needed to extract from the cosmoDC2_image catalog to feed to treecorr, and how you extracted it.]
Below 20-30 Mpc/h, the simulations show surpressed signal -> [I'm not sure that i see this in the plots.  Do you mean 0.02-0.03 Mpc/h?  Or maybe add some more words for the easily confused.]
Typos:
tests the extent of the simulations that we can trust  -> tests the extent to which we can trust the simulations
sclaes  -> scales
lens selection are -> lens selections are
number of lens galaxies -> number of lensed galaxies [?]
blud galaxies -> blue galaxies
surpressed signal -> supressed signal
number dnesity -> number density

Thanks for the feedback, @sethdigel , and apologies for the embarrassing typos... I believe I have addressed your comments, but let me know if there's anything else I could add to make the notebook clearer.

@sethdigel - might you have a chance in the coming few days to check out whether Chihway's updates satisfactorily address your comments, and if so, leave a review approving this PR?  We'd like to start merging these HackurDC2 PRs soon.
Thanks!

Great, thanks!   @chihway , the last step before we merge is to clear the notebook output following the instructions in this readme.  And then we are all set....

Ok, @rmandelb, I think I just did, let me know if there's further questions.

Great, thanks @chihway !  I'll merge this now.


injection-tck example needs updates to work with Weld 5 (CDI 4)

TCKProducers.java currently makes use of the @New annotation, which was removed as part of CDI 4.  If this TCK is to be used for testing with EE 10, it needs to be updated to remove the usage of this annotation.
Updating the Weld SE dependency to 5.x in example/pom.xml results in the following compilation failure, as one would expect:
[ERROR] /jakarta/jakarta.inject-tck-2.0.1/example/src/test/java/TCKProducers.java:[24,33] cannot find symbol
[ERROR]   symbol:   class New
[ERROR]   location: package jakarta.enterprise.inject
[ERROR] /jakarta/jakarta.inject-tck-2.0.1/example/src/test/java/TCKProducers.java:[49,39] cannot find symbol
[ERROR]   symbol:   class New
[ERROR]   location: class TCKProducers
[ERROR] /jakarta/jakarta.inject-tck-2.0.1/example/src/test/java/TCKProducers.java:[60,44] cannot find symbol
[ERROR]   symbol:   class New
[ERROR]   location: class TCKProducers
[ERROR] /jakarta/jakarta.inject-tck-2.0.1/example/src/test/java/TCKProducers.java:[80,42] cannot find symbol
[ERROR]   symbol:   class New
[ERROR]   location: class TCKProducers
[ERROR] /jakarta/jakarta.inject-tck-2.0.1/example/src/test/java/TCKProducers.java:[89,40] cannot find symbol
[ERROR]   symbol:   class New
[ERROR]   location: class TCKProducers

Ok, I'll update the example to use the https://github.com/weld/core/tree/master/inject-tck-runner content as that is what Weld 5.0.0.x used to pass the injection TCK and create a new service release.

Excellent, thanks.  I knew this had to have been solved somewhere already, but I didn't know what Git repo to poke around in.

The updated 2.0.2 TCK is available:
https://download.eclipse.org/jakartaee/dependency-injection/2.0/jakarta.inject-tck-2.0.2-bin.zip


Styling broken after setting simple aggregation type back from animated one

STR:

Import a point dataset
Set aggregation to animated
Set simple aggregation back
Check the cartoCSS.

It happens due to a bug in the auto-style code.

Still happening?

No, checked in production, JS error has gone.


NH State Representative Steve Hellwig (Hillsborough 31) has 2 'active' entries.

NHL001396, NHL001492

@ronsauers I'm not a project member, but I think this belongs in openstates/openstates, not openstates/documentation.

this has been resolved, but yes, in the future please file over at openstates/openstates


parity vmTrace stack pushes are incorrect

Describe the bug
The code which reports the newly pushed stack elements for each executed opcode is broken, and gives some obviously wrong answers, like this, which shows two elements pushed by a PUSH1:
      {
        "cost": 3,
        "ex": {
          "used": 180751,
          "push": [
            "0x20",
            "0x40"
          ],
          "mem": {
            "off": 2688,
            "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>
          },
          "store": null
        },
        "pc": 371,
        "sub": null,
        "op": "PUSH1"
      },

Looking at the code, I can see that the issue is in trying to use both stack and push_stack to produce this value. I'll put up a PR soon to fix it.
Steps to reproduce
cast rpc trace_replayTransaction --raw '[ "txhash", ["vmTrace"]]'
You'll get wrong answers for basically any transaction.
Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
af8885172313aca66816dfc72537728d0c3c4e36
What database version are you on?
1
What type of node are you running?
Archive (default)
What prune config do you use, if any?
None
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

thanks for flagging,
I figured that these are still not quite right.
will tackle them next

No problem, just posted a PR with a fix


cluster_resource_report.py to check cluster requests/limits

This PR introduces a new python script that if run from a master, will use python-requests to query the API and determine on a per-host basis, what the resource requests and limits are.
It produces output like the following
ose-master1.example.com
         CPU requests in millicores: 1231
         Ram requests in megabytes: 5141
         CPU limits in millicores: 2311
         Ram limits in megabytes: 6652

This is useful in environments that do not have CFM or easy access to the webUI

As per your comments the code has been updated. Sorry for the delay


⚠ ClamAV has degraded performance

In c77a371, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 201 ms

Resolved: ClamAV performance has improved in 0efc9fc.


maxWidth option does not allow value of 'none' or '100%'

maxWidth option has a default of 400 and the code appends 'px' unit to it when it applies the style to the Sezzle widget.
https://github.com/sezzle/static-widgets/blob/production/src/awesomeSezzle.js#L153
This is too restrictive to hardcode the 'px' unit in the widget code. Ideally, it should leave the unit to the consumer of this widget to whatever they want to use, thus also allowing them to also use keyword values such as 'none', 'max-content', etc.

This is not good for responsive websites to have inline style with fixed width and we'll have to override it with !important.

This issue causes the info (i) icon on our product page to wrap to the next line due to 400px max-width.

@aholdahl, any update on this?


upgrade test server python version to 3.6

The ordering of addresses in nodetypes.js is generated differently on the server, and this could be the cause.

DONE


feat: parameters strongly typed

Motivation
I think it is a best practice to strongly type parameters as soon as more than one parameters is available for a function.
Notably for maintainability reason, to ease the usage of the functions by developer and to improve the typing for vanilla JavaScript.
This PR strongly types the public functions of the exposed services of the library.
Changes

in exposed services (icp, account_identifier, ledger and icp) type the parameters of public functions if more than one parameter is available

Note
This is a breaking change.

Main example updated.


Add DataStates-LLM: Asynchronous Checkpointing Engine Support

We are a team at Argonne National Laboratory working on low-overhead asynchronous checkpointing approaches for LLMs and transformers. As part of these efforts, we have developed DataStates-LLM, a library that we would like to contribute to the DeepSpeed community:
https://github.com/datastates/datastates-llm
The key idea we leverage is to allow non-blocking tensor copies during the forward pass and backward pass from the GPU to the host. Only if these copies do not finish until the update phase, then we block. Meanwhile, from the host memory, the tensors are flushed asynchronously to durable storage (parallel file systems, local SSDs, etc).
To enable this capability, our initial implementation makes the scheduler aware of checkpointing, calling a ckpt.wait() primitive before starting the update phase. We illustrated this with the pipeline scheduler. We are also considering a scheduler-independent solution that integrates with DeepSpeed/Megatron and provides a hook for the start of the update phase, which we can leverage to run ckpt.wait().
We appreciate your feedback and look forward to a collaboration in this space.

Hi @mauryaavinash95 - following up on this, would you be able to resolve the merge conflicts with this PR if you are still planning on completing it?

Hi @mauryaavinash95 - I'm going to close this PR now as stale, but we would appreciate the contribution if you are able to come back to this and resolve the merge conflicts?


Fixed double SQL Server in paragraph

SQL Server was being printed twice due to the use of a variable and hardcoded value.

@gbargsley : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks, @gbargsley ! Good catch.
#sign-off

#sign-off
again just to make sure.


[Feature request] SSH: detect ECONNRESET

It would be nice if, when the connection is reset, a way to reconnect is provided.

SSH sessions can be reconnected via the button in the top bar:


Database migrations

[x] Implement DBIx::Class::Migration (tutorial)
[x] Reconsider subclassing for modification dates and rows belonging to users (these columns are common to almost all tables)

Done in fa055c24bd3a1ef2c96631fd55c785206736bc07


add cli flag for to-resource

adds a cli flag for restoring to a different resource (mailbox, user, site) from the one stored in the
backup.

Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included

Type of change

[x] :sunflower: Feature

Issue(s)

#3562

Test Plan

[x] :muscle: Manual
[x] :zap: Unit test

@gmatev added you to the review for checks on flag names and documentation.


When player logs in without game started, checkNextScreen complains

The error on the console is:
ERROR: checkNextScreenButton for player t4p1: jsp = 'welcome-wait',
but GroupRound state is LOGIN, groupround = 0

The player screen shows:

which is the correct screen.

The button also does not turn blue when the facilitator starts the round.

Logging in again does not help either.

Solved. It turned out that we now retrieve the GroupRound matching the PlayerRound in PlayerData, which is round 0 in case the player is logging in. Therefore we need to retrieve the group state in the welcome-wait screen for the GroupRound as follows:
GroupState groupState = GroupState.valueOf(data.getGroupRoundList().get(
    data.getHighestGroupRoundNumber()).getGroupState());

This solves the issue.


When apps_startup() fails, exit with a failure code and a message

print the error stack?

Not sure there will be much to print, but it can't hurt.  Done.  Re-confirm?

Ping?

it was a side-note.  still approved.

Merged.
master: f2da4a4917eae1bf66290e1bd8ccd3db69d3fe63
1.1.0: 6650db730960e5c5429e70db1b998c90228f44a1


[AIRFLOW-626] HTML Content does not show up when sending email with attachment

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-626

Per Apache guidelines you need to create a Jira issue.
Testing Done:

Unittests are required, if you do not include new unit tests please
specify why you think this is not required. We like to improve our
coverage so a non existing test is even a better reason to include one.

Reminders for contributors (REQUIRED!):

Your PR's title must reference an issue on
Airflow's JIRA.
For example, a PR called "[AIRFLOW-1] My Amazing PR" would close JIRA
issue #1. Please open a new issue if required!

For all PRs with UI changes, you must provide screenshots. If the UI changes are not obvious, either annotate the images or provide before/after screenshots.

Please squash your commits when possible and follow the How to write a good git commit message.
Summarized as follows:

Separate subject from body with a blank line
Limit the subject line to 50 characters
Do not end the subject line with a period
Use the imperative mood in the subject line (add, not adding)
Wrap the body at 72 characters
Use the body to explain what and why vs. how

LGTM but let's let the tests run

Note: this is slightly backwards incompatible because it changes the default from alternative to mixed, but IMO it's actually the right default, and allows those who care to keep it the old way if they want.

@illop one other thought: should we update the EmailOperator to allow us to set this?

ah, can do

@criccomini @illop
This is breaking the email test and hence master. I will need to revert. Please consider resubmitting this with the tests fixed. I'm not clear how you were able to submit with broken tests.
https://travis-ci.org/apache/incubator-airflow/jobs/175858834
======================================================================
FAIL: test_custom_backend (tests.EmailTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/apache/incubator-airflow/.tox/py27-cdh-airflow_backend_sqlite/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/travis/build/apache/incubator-airflow/tests/core.py", line 1927, in test_custom_backend
    send_email_test.assert_called_with('to', 'subject', 'content', files=None, dryrun=False, cc=None, bcc=None)
  File "/home/travis/build/apache/incubator-airflow/.tox/py27-cdh-airflow_backend_sqlite/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
    six.raise_from(AssertionError(_error_message(cause)), cause)
  File "/home/travis/build/apache/incubator-airflow/.tox/py27-cdh-airflow_backend_sqlite/lib/python2.7/site-packages/six.py", line 718, in raise_from
    raise value
AssertionError: Expected call: mock('to', 'subject', 'content', bcc=None, cc=None, dryrun=False, files=None)
Actual call: mock('to', 'subject', 'content', bcc=None, cc=None, dryrun=False, files=None, mime_subtype=u'mixed')


Yank zlib 1.2.12

Due to https://github.com/advisories/GHSA-cfmr-vrgj-vqwv

Please don't merge right now

@meteorcloudy I generally only merge after approving if the PR author doesn't have write permissions themselves.

Got it, sounds good!

Not sure why the presubmit is blocked, close and reopen this PR to retry


optimise hash function to use single memory allocation

What kind of change does this PR introduce?
Performance optimisation
What is the current behavior?
Currently the gen function performs atleast 33 separate string memory allocations which  can be avoided
What is the new behavior?
Init a string with 64 bytes and push hashed bytes into that. This is only 1 allocation
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

@andreespirela I have fixed the formatting related faliure, can you approve workflow run please

@AayushyaVajpayee thank you for your contribution!


Update 02-Community-Plugins.md

Added sbt-pmd-plugin

Hi @qvaughan,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.lightbend.com/contribute/cla


Potential block / partial endless loop

I decided to try building a theme, and set up a clean Hugo project. I've got template files, three posts, and a page. Sometimes Hugo builds it just fine:
% hugo

                   | EN
+------------------+----+
  Pages            |  8
  Paginator pages  |  0
  Non-page files   |  0
  Static files     |  0
  Processed images |  0
  Aliases          |  2
  Sitemaps         |  1
  Cleaned          |  0

Total in 19 ms

…and then I can immediately run Hugo again without changing anything, and it will crash:
% hugo
Building sites … runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
fatal error: stack overflow

runtime stack:
runtime.throw(0x1019deb, 0xe)
        /usr/local/go/src/runtime/panic.go:617 +0x72
runtime.newstack()
        /usr/local/go/src/runtime/stack.go:1041 +0x6f0
runtime.morestack()
        /usr/local/go/src/runtime/asm_amd64.s:429 +0x8f

goroutine 104 [running]:
reflect.Value.Type(0xee09e0, 0xc00035bfe0, 0x13, 0x0, 0x0)
        /usr/local/go/src/reflect/value.go:1810 +0x1ac fp=0xc0ac000300 sp=0xc0ac0002f8 pc=0x4c2a8c
text/template.(*state).evalCall(0xc0ac000888, 0xfde940, 0xc0006863f0, 0x16, 0xee09e0, 0xc00035bfe0, 0x13, 0x124e480, 0xc0005bfe90, 0xc000194802, ...)
        /usr/local/go/src/text/template/exec.go:655 +0xa9 fp=0xc0ac000450 sp=0xc0ac000300 pc=0x59a639
text/template.(*state).evalFunction(0xc0ac000888, 0xfde940, 0xc0006863f0, 0x16, 0xc0005bfec0, 0x124e480, 0xc0005bfe90, 0xc0005b7ec0, 0x3, 0x4, ...)
(etc, can provide a full stack trace if it'll help)

Sometimes it'll run fine 4 or 5 times, then crash the 6th time.
Using the official 0.55.3 binary. Same problem on both Linux and macOS. Same problem if I build 0.55.3 myself from source.
I've put the files in a repo at https://github.com/lpar/hugocrash

The problem lives in your header.html partial:
<header>{{ block "header" . }}
    {{ .Site.Title }}
  {{ end }}</header>

I will leave this issue open to see if we can somehow handle this, but I suspect this is something latent with Go's template package, and that the behaviour you see (now it works, now it doesn't) comes from the order the templates gets parsed.
The short story here is this:
The block keyword is not supported in partials.

Ah. Maybe scan the partials for the word block in a {{ directive before compiling, and at least printing a warning?

Duplicate of #5889

But this issue is 5889?


Add external RabbitMQ Transport to README.

Summary

[x] Tell us about the problem your pull request is solving.

It is a simple transport that exposes a way to communicate with the methods of the services by using a RabbitMQ message broker to have async communication with other services/workers.

[x] Are there any open issues that are related to this? No.
[x] Is this PR dependent on PRs in other repos? No.

I have been using this simple implementation in my projects and I only wanted to give my little contribution to this awesome framework.

This is really interesting, thank you for adding! I'll definitely have to check it out.


Windows update broke everything again.

Exclusivity is broken again, I get 2 controllers instead of xbox controller only. Many games do not work like this, Forza Horizon being one of them. Can this be fixed?
Thank you for your effort.

Hello!
I'm working on integrating the new HidHide driver, that will allow to hide the Xiaomi Controller when it is used by mi-360, even if Windows doesn't let open it in exclusive mode.
Stay tuned for the next release!

Exclusivity is broken again, I get 2 controllers instead of xbox controller only. Many games do not work like this, Forza Horizon being one of them. Can this be fixed? Thank you for your effort.

same issue here, :(

same

Exclusivity is broken again, I get 2 controllers instead of xbox controller only. Many games do not work like this, Forza Horizon being one of them. Can this be fixed? Thank you for your effort.

Same, FH5 is just broken

Hi everybody, the new solution with HidHide seems to be working and it has been committed to master. I hope to be able in a short period of time to package it up and release a new version of the software. Hang on for a bit and stay tuned!

dancol90 how is this coming along?

Finally released a new version that uses the new hiding system. Check it out: https://github.com/dancol90/mi-360/releases/tag/v0.6.0


AttributeError: 'XRef' object has no attribute 'sort'

python3.9
macOS Monterey 12.1
angr  9.1.11752
angr-utils  0.5.0
bingraphvis  0.3.0
import angr
from angrutils import *

def cfgfastpng(filename):
    proj = angr.Project(filename, auto_load_libs = False)
    cfg = proj.analyses.CFGFast()
    plot_cfg(cfg, "cfg", format='png', asminst=True, remove_imports=True)

if __name__ == '__main__':
    cfgfastpng('./01_angr_avoid')

WARNING | 2022-03-01 19:55:43,281 | angr.analyses.cfg.cfg_fast | _tidy_data_references() sees an address 0x80d6040 that does not belong to any section or segment.
Traceback (most recent call last):
File "/Users/chenyanzhi/Documents/angr/test.py", line 12, in
cfgfastpng('./01_angr_avoid')
File "/Users/chenyanzhi/Documents/angr/test.py", line 8, in cfgfastpng
plot_cfg(cfg, "cfg", format='png', asminst=True, remove_imports=True)
File "/Users/chenyanzhi/Desktop/angr-dev/angr-utils/angrutils/visualize.py", line 34, in plot_cfg
vis.process(cfg.graph)
File "/Users/chenyanzhi/Desktop/angr-dev/bingraphvis/bingraphvis/base.py", line 309, in process
graph = self.pipeline.process(filter=filter)
File "/Users/chenyanzhi/Desktop/angr-dev/bingraphvis/bingraphvis/base.py", line 286, in process
c.render(n)
File "/Users/chenyanzhi/Desktop/angr-dev/bingraphvis/bingraphvis/base.py", line 126, in render
an.annotate_content(n, n.content[self.name])
File "/Users/chenyanzhi/Desktop/angr-dev/bingraphvis/bingraphvis/angr/annotator.py", line 384, in annotate_content
if dr.sort == 'string':
AttributeError: 'XRef' object has no attribute 'sort'

annotator.py
line 384 :   dr.sort 			->>			dr.memory_data.sort
line 385 :	 dr.insn_addr		->>			dr.memory_data.insn_addr
line 385 :	 dr.content		->>			str(dr.memory_data.content)

Update the following lines in the annotator.py
line 384 : dr.sort 			->>			dr.memory_data.sort
line 385 : dr.insn_addr		->>			dr.memory_data.insn_addr
line 385 : dr.content		->>			str(dr.memory_data.content)

Thank you very much, It works, But I found that the second line should not need to be modified，because if I change it, It will have the following problems
WARNING | 2022-03-03 21:54:15,595 | angr.analyses.cfg.cfg_fast | _tidy_data_references() sees an address 0x804a040 that does not belong to any section or segment.
Traceback (most recent call last):
  File "/Users/chenyanzhi/Documents/angr/test.py", line 21, in <module>
    cfgfastpng("./00_angr_find")
  File "/Users/chenyanzhi/Documents/angr/test.py", line 16, in cfgfastpng
    plot_cfg(cfg, "cfg", format='png', asminst=True, remove_imports=True)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/angrutils/visualize.py", line 34, in plot_cfg
    vis.process(cfg.graph)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 309, in process
    graph = self.pipeline.process(filter=filter)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 286, in process
    c.render(n)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 126, in render
    an.annotate_content(n, n.content[self.name])
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/angr/annotator.py", line 385, in annotate_content
    comments_by_addr[dr.memory_data.ins_addr] = str(dr.memory_data.content)
AttributeError: 'MemoryData' object has no attribute 'ins_addr'

Update the following lines in the annotator.py
line 384 : dr.sort 			->>			dr.memory_data.sort
line 385 : dr.insn_addr		->>			dr.memory_data.insn_addr
line 385 : dr.content		->>			str(dr.memory_data.content)

Thank you very much, It works, But I found that the second line should not need to be modified，because if I change it, It will have the following problems
WARNING | 2022-03-03 21:54:15,595 | angr.analyses.cfg.cfg_fast | _tidy_data_references() sees an address 0x804a040 that does not belong to any section or segment.
Traceback (most recent call last):
  File "/Users/chenyanzhi/Documents/angr/test.py", line 21, in <module>
    cfgfastpng("./00_angr_find")
  File "/Users/chenyanzhi/Documents/angr/test.py", line 16, in cfgfastpng
    plot_cfg(cfg, "cfg", format='png', asminst=True, remove_imports=True)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/angrutils/visualize.py", line 34, in plot_cfg
    vis.process(cfg.graph)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 309, in process
    graph = self.pipeline.process(filter=filter)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 286, in process
    c.render(n)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/base.py", line 126, in render
    an.annotate_content(n, n.content[self.name])
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/bingraphvis/angr/annotator.py", line 385, in annotate_content
    comments_by_addr[dr.memory_data.ins_addr] = str(dr.memory_data.content)
AttributeError: 'MemoryData' object has no attribute 'ins_addr'

I try this and it finally works:
line 385 : dr.insn_addr		->>          dr.ins_addr
But I'm not sure if it's right

In addition，when I run the sample code, I had the same problem as #32
def main(filename):
    proj = angr.Project(filename, load_options={'auto_load_libs': False})
    main = proj.loader.main_object.get_symbol("main")
    start_state = proj.factory.blank_state(addr=main.rebased_addr)
    cfg = proj.analyses.CFGEmulated(fail_fast=True, starts=[main.rebased_addr], initial_state=start_state)
    plot_cfg(cfg, "ais3_cfg", format='png', asminst=True, remove_imports=True)

but I run my code, it will output normally
def cfgfastpng(filename):
    proj = angr.Project(filename, auto_load_libs=False)
    cfg = proj.analyses.CFGFast()
    plot_cfg(cfg, "cfg", format='png', asminst=True, remove_imports=True)

Sorry for my late reply. Thanks for the report and the solution, I will apply the fixes on the weekend.
@mz21g :
When https://github.com/axt/angr-utils/issues/32 was reported, I've tried to check it, but it worked for me.
Could you maybe figure out what is causing the problem? I wrote some thoughts about how to debug it in the original ticket.
I will also try to retest that on the weekend.

I've applied the fix and created a new PyPI version. Thanks for the report!
@mz21g Tried your code to test #32, but it creates the assembly listing for me.


set up CI with Azure

added to Azure organization: https://dev.azure.com/jhipster/ng-jhipster/_build?definitionId=12


(1) deflate/inflate; (2)forum for dialog?

(1) I have a docker image [latest] running. Crawls work.  However, I have been unable to read the data_pages/xxxx-0.deflate file.  (I can read the data_monitor csv files).  I tried "target_storage.data_format.filesystem.compress_data: false" with no change. Any suggestions?
(2) Is there a forum for ache or other place for dialog?  It has taken some blundering about to get as far as running a test crawl!

(1) What data format are you using? The flag target_storage.data_format.filesystem.compress_data: false will work only if you're using one of the FILESYSTEM_* data formats. FILES data format is currently always compressed as of now. I usually use the following commands when I want to quickly visualize raw data on terminal:
alias deflate="perl -MCompress::Zlib -e 'undef $/; print uncompress(<>)'"
cat data_pages/xxxx-0.deflate | deflate

To programmatically read data, you will need something like a InflaterInputStream class in Java or something like zlib in Python or other languages.
(2) Sorry to hear that! There is a Gitter chatroom available for chat: https://gitter.im/ViDA-NYU/ache
Let us know if you have any suggestions to improve documentation or ease to use.

(1) Thank you! Problem was that I uncommented the FILESYSTEM_HTML, but did not comment the FILES lines in the sample ache.yml I retrieved here, so I did not notice that the FILES instruction was over-riding the FILESYSTEM_HTML instruction.
I have zlib installed, so I tried gzip and bzip2 , but no luck.  I will try the command you provided and will eventually connect to my Elasticsearch server.
(2) I had not used docker, but the docker image seemed the best choice to test ache.  But, I was puzzled how to find the "file locations" in the image, especially as my initial runs simply ran help and closed the container.  It is actually straightforward, but depending upon your intended target user, some steps in the structions would be useful:

install docker.  On my system (openSUSE), docker installs to /run/docker
system runs in root/admin mode
docker command line help allows to check for running containers and images
create an ache directory (my linux install has a specific data partition, so I created at /data/ache, with sub directories /data/ache/config, /data/config/model and /data/data.  Another option might be /var/ache,  /var/ache/config, /data/config/model and /var/data/data.  So, in the docker command to run crawl found in the manual, so $PWD is replaced by "/data/ache", "var/ache" or whatever is chosen.
in the config directory download the sample ache.yml from git. (For initial test, comment out the
lines at # Enable this to use the FILES data format and uncomment target_storage.data_format.type: FILESYSTEM_HTML).
create a seeds.txt in the config directory.  For my test, I merely placed the url of one of my own sites.
run the command for single site in-depth crawl (Chapter 3 of manual), eg: "docker run -v /data/ache/config/:/config -v /data/ache/data/:/data -p 8080:8080 vidanyu/ache:latest startCrawl -c /config/ -s /config/seeds.txt -o /data/"
-watch directory /data/ache/data/default/ (which will be created).  "/data/ache/data/default/data_pages" will accrue pages, so you can visualize what the crawler is up to.
make this number a lot smaller if you do not want to accidentally fill up your root partition and disable your computer: "target_storage.visited_page_limit: 10000000"

Be prepared to stop the crawler with "c" on the command line.
(3) I apologize for the lengthy post.  I am very enthusiastic about ache -- I had previously set up an Elasticsearch server with the goal of a project exactly like ache.  Some of my mistakes were:

I right-clicked on the sample ache.yml file and sample_seeds files thinking I was saving the actual github files.  But, it turned out instead I was saving the github web page, so I had very odd feedback when I ran the crawl (as you can imagine).
I generally test crawls against my own webpages to avoid creating a lot of traffic to a known website and risking getting my IP banned.  BUT, I picked one of my own websites that has tons of links off the site, so when I was watching data_pages fill up, before I knew it I had 1490 pages and continuing to grow.
Because I like easy gui launching, I made a script and a .desktop file to launch ache, running in a terminal window and staying open upon termination.  HOWEVER, this meant I could not use c to stop the crawl.  I thought it would stop by closing the terminal window in which it was running, but no, not so.  I did not think ahead and put I small limit on the depth to crawl, so that was a bit of panic -- I called up the linux system activity/task manager.  The most active thread was a java thread, which did not respond to "end process", so I had to send a "kill" signal.  (Also, I will be adding to my launch script to allow modification of the command line at startup).

Thanks for your detailed feedback! We will try to incorporate it in the documentation.


Custom Migration Template

There are a few things I always find myself changing from the default migration template, when creating a new migration (e.g. adding an init function to get the table prefix, changing comments, putting starting braces on the same line as the function def, etc.).  It would be helpful to be able to define a custom template, but currently it looks like the default migration template is hardwired.  I wouldn't mind working on an implementation, if it sounds like a good idea.

For some reason I didn't notice before, but I see that you can set a custom template via a command line argument (I just updated to version 4.4, maybe it's new?).  Anyway, it seems like it wouldn't be difficult to look for the alt template in the config, as well as from the command line (e.g. if not provided via command line, check config).

The „distribution provided“ template is at: vendor/robmorgan/phinx/src/Phinx/Migration/Migration.template.php.dist
To use your own template: $ phinx —template path/to/template.php
You can not set a template via the configuration, yet. Also, the template option is only relevant in „create“.

Duplicate : https://github.com/robmorgan/phinx/issues/528

I had to use -t, when I use -template, I get this:
[InvalidArgumentException]
The alternative template file "emplateC:\inetpub\Intranet_Local\bin/../lib
rary/phinx_migration_template.txt" does not exist

So leaving the -t in works fine for migration and for create (I assume it ignores it in migration), but fails when I run test! That means if I am using a batch file, I have to now have 2 batch files which is a pain.

The parameter has a long --template and a short -t format.

The --template and --class parameters are only applicable to the migration creation command as they create the migration file that you would now edit and execute by using phinx migrate.
As an example, this is one of our template creation classes ...
<?php
namespace xxx\Migration\Phinx;

class Permission extends PhinxCreation
{
    /**
     * Post Migration Creation.
     *
     * Once the migration file has been created, this method will be called, allowing any additional
     * processing, specific to the template to be performed.
     *
     * @param string $migrationFilename The name of the newly created migration.
     * @param string $className         The class name.
     * @param string $baseClassName     The name of the base class.
     *
     * @return void
     */
    public function postMigrationCreation($migrationFilename, $className, $baseClassName)
    {
        echo <<< END_MIGRATION

  The Permission migration file has been created.

  You only need to edit 3 elements in {$migrationFilename} and you are done!

END_MIGRATION;
    }
}

and the corresponding template file is ...
<?php

use xxxx\Migration\Permission;

/**
 * Class $className
 *
 * A xxxx Permission Migration.
 */
class $className extends Permission
{
    public function setup()
    {
        /**
         * The friendly name for this permission.
         *
         * Something like :
         * Reports / Daily Sales Analysis
         */
        $this->friendlyName = '';

        /**
         * The permission name.
         *
         * Something like:
         * report_daily_sales_analysis
         */
        $this->name = '';

        /**
         * The general permissions.
         *
         * This is a bitmask based upon the Permissions values of:
         * PERM_ADD - Allow Add permission
         * PERM_ALL - Allow All permissions
         * PERM_DELETE - Allow Delete permission
         * PERM_EDIT - Allow Edit permission
         * PERM_LIST - Allow List permission
         */
        $this->permissions = self::PERM_LIST;
    }
}

and, finally, the migration class called by this template (NOTE: we only use a single db and have been a bit lazy by using raw SQL),
<?php
namespace xxxx\Migration;

use RuntimeException;

/**
 * Class Permission
 *
 * Migration for a permission.
 *
 * @package xxxx\Migration
 */
abstract class Permission extends AbstractMigration
{
    /**
     * Allow Add permission.
     */
    const PERM_ADD = 1;

    /**
     * Allow All permissions.
     */
    const PERM_ALL = 15;

    /**
     * Allow Delete permission.
     */
    const PERM_DELETE = 2;

    /**
     * Allow Edit permission.
     */
    const PERM_EDIT = 4;

    /**
     * Allow List permission.
     */
    const PERM_LIST = 8;

    /**
     * The friendly name of the permission as viewed in the permissions editing.
     *
     * Often displayed as a "breadcrumb" style name for reports, e.g. 'Report > Daily Sales'.
     *
     * @var string
     */
    protected $friendlyName = null;

    /**
     * The internal name of the permission.
     *
     * This is what is referenced in the code to limit functionality by permission.
     *
     * These are 'snake_cased'.
     *
     * @var string
     */
    protected $name = null;

    /**
     * The permissions that can be granted for this entry.
     *
     * This is a bitmask of PERM_xxxx values.
     *
     * @var integer
     */
    protected $permissions = null;

    /**
     * Rollback
     */
    final public function down()
    {
        $this->validate();

        if ($tableID = $this->getTableID()) {
            $this->writeComment(
                'Removing permission',
                trim(
                    ($this->permissions & self::PERM_ADD ? 'ADD ' : '') .
                    ($this->permissions & self::PERM_DELETE ? 'DELETE ' : '') .
                    ($this->permissions & self::PERM_EDIT ? 'EDIT ' : '') .
                    ($this->permissions & self::PERM_LIST ? 'LIST ' : '')
                )
            );
            $this->execute("DELETE FROM `xpermissions` WHERE `tableID` = {$tableID}");
        }

        $this->writeComment('Removing table     ', $this->friendlyName);
        $this->execute("DELETE FROM `tables` WHERE `name` = '{$this->name}' LIMIT 1");
    }

    /**
     * Migrate
     */
    final public function up()
    {
        $this->validate();

        $this->writeComment('Adding table     ', $this->friendlyName);
        $this->execute("INSERT INTO `tables` (name, friendlyName) VALUES('{$this->name}', '{$this->friendlyName}');");

        if ($tableID = $this->getTableID()) {
            $this->writeComment(
                'Adding permission',
                trim(
                    ($this->permissions & self::PERM_ADD ? 'ADD ' : '') .
                    ($this->permissions & self::PERM_DELETE ? 'DELETE ' : '') .
                    ($this->permissions & self::PERM_EDIT ? 'EDIT ' : '') .
                    ($this->permissions & self::PERM_LIST ? 'LIST ' : '')
                )
            );
            $this->execute(
                "INSERT INTO `xpermissions` (`usergroupID`, `tableID`, `add`, `delete`, `edit`, `list`) " .
                "VALUES(1, {$tableID}, " .
                ($this->permissions & self::PERM_ADD) . ", " .
                ($this->permissions & self::PERM_DELETE) . ", " .
                ($this->permissions & self::PERM_EDIT) . ", " .
                ($this->permissions & self::PERM_LIST) . ")"
            );
        }
    }

    /**
     * Prepare the permission migration.
     */
    abstract protected function setup();

    /**
     * Validate the permission setup.
     *
     * @throws RuntimeException
     */
    protected function validate()
    {
        $this->setup();

        if (empty($this->friendlyName)) {
            $this->writeError(' E R R O R', '$friendlyName cannot be empty');
            throw new RuntimeException('$friendlyName is empty');
        }
        if (empty($this->name)) {
            $this->writeError(' E R R O R', '$name cannot be empty');
            throw new RuntimeException('$name is empty');
        }
        if (empty($this->permissions)) {
            $this->writeError(' E R R O R', '$permissions cannot be empty');
            throw new RuntimeException('$permissions is empty');
        }
    }

    /**
     * Get the unique ID of the recently added permission.
     *
     * @return int
     */
    private function getTableID()
    {
        return (int)($this->fetchRow("SELECT `tableID` FROM `tables` WHERE `name` = '{$this->name}'")['tableID']);
    }
}

We also have an extended AbstractMigration class which allows us some additional formatted reporting and exception handling.
By using an alternative migration template (or a migration template generating class), you can build migrations that are fit your needs more than Phinx currently provides, but without losing all the benefits of Phinx (rollback, database abstraction, different environments, etc.).

You could mock the command line to your own command line, you can check my repo: https://github.com/phalconslayer/slayer/blob/master/bootstrap/src/Support/Phinx/Console/Command/Create.php
Wherein I extended Phinx\Console\Command\Create class and changing the Symfony command name, wherein you could also override the default Options --t to something.

closing as I merged 100f0188b1cf5342bb3bbc402ea88c859e5dda3b


Add arg parser to allow customization without code changes

I added python argparse to allow changing root dir, address, ports etc. without changing the code. Additionally, I set some default vaues different, mainly:

server_name to <IP_ADDRESS> to allow access from other machines in the network
websocket_port to 7007 which is the default from nerfstudio viser
Both can be changed by providing the respective parameter when caling the script.

Happy to get your feedback

Sorry for the late reply. It indeed make the arg part clearer.lgtm!


Update omnibus_overrides for Ruby 3.1

Produce Ruby 3.1 packages by updating omnibus_overrides to ruby 3.1

Replaced with https://chefio.atlassian.net/browse/INFC-25


Cannot auto-detect pandoc in macos

The plugin is unable to read the pandoc path from the $PATH variable on macos. I am using the plugin on macos 13.5.
I have installed pandoc with homebrew:
brew install pandoc
brew install librsvg homebrew/cask/basictex

The path is /opt/homebrew/bin/pandoc. When I add this path in the settings of the plugin, it finds pandoc no problem, but when I modify the $PATH variable in /etc/paths, the plugin cannot auto-detect pandoc. The path is indeed added as when I enter echo $PATH, I can see the newly added path in the output.

/opt/homebrew is not in the preset path environment variables.
https://github.com/mokeyish/obsidian-enhancing-export/blob/7961cfa290ff57932488769b4945df714e6aac8f/src/settings.ts#L127
You can add it manually.

/opt/homebrew is not in the preset path environment variables.
https://github.com/mokeyish/obsidian-enhancing-export/blob/7961cfa290ff57932488769b4945df714e6aac8f/src/settings.ts#L127
You can add it manually.

Hello! Thanks for the help! But I am not a coder, I installed pandoc via home-brew with tutorials, but how might I do to add that home-brew bin? Should I configure some settings in my obsidian plugin config?

Hello! Thanks for the help! But I am not a coder, I installed pandoc via home-brew with tutorials, but how might I do to add that home-brew bin? Should I configure some settings in my obsidian plugin config?

Please set it at settings tab.

I've fix it, please try the latest version.


(Android) support the dynamic fields in standard meetup contract

In the standard Peter's contract (the spawnable contract)'s XML there are some fields whose value is obtained through smart contract calls, not embedded in the tokenID. These must be displayed correctly and refreshed at a suitable frequency lest the contract changes its internal state.
The standard xml is MeetupContract.xml
https://github.com/AlphaWallet/contracts/blob/master/spawnable-contract/schema1/MeetupContract.xml
The parts that need to be displayed on the UI are the following (observe closely the <function> calls)
<attribute-type id="expired" syntax="<IP_ADDRESS>.4.1.14<IP_ADDRESS>.7">
  <origin contract="holding-contract">
    <function>isExpired</function>
  </origin>
</attribute-type>
<attribute-type id="street" syntax="<IP_ADDRESS>.4.1.14<IP_ADDRESS>.7">
  <origin contract="holding-contract">
    <function>getStreet</function>
    <parameter>TokenID</parameter><!-- place holder - actual format undefined yet -->
  </origin>
</attribute-type>
<attribute-type id="building" syntax="<IP_ADDRESS>.4.1.14<IP_ADDRESS>.7">
  <origin contract="holding-contract">
    <function>getBuildingName</function>
    <parameter>TokenID</parameter><!-- place holder - actual format undefined yet -->
  </origin>
</attribute-type>
<attribute-type id="state" syntax="<IP_ADDRESS>.4.1.14<IP_ADDRESS>.7">
  <origin contract="holding-contract">
    <function>getState</function>
    <parameter>TokenID</parameter><!-- place holder - actual format undefined yet -->
  </origin>
</attribute-type>

Refer to iOS development progress at
https://github.com/AlphaWallet/alpha-wallet-ios/issues/869

This issue is a duplicate of https://github.com/lyhistory/Peter-s-Tool/issues/4 which is assigned to me. I'll handle it.

Keenly observe that the data structure around getState has changed.
<tb:attribute-type id="state" syntax="<IP_ADDRESS>.4.1.14<IP_ADDRESS>.15" as="utf8"> <!-- string -->
  <tb:origin contract="holding-contract">
    <tb:function name="getState">
      <tb:inputs>
        <tb:uint256 ref="tokenID"/>
      </tb:inputs>
    </tb:function>
  </tb:origin>
</tb:attribute-type>

https://github.com/AlphaWallet/alpha-wallet-android/pull/552


[5.3][test/Syntax/round_trip_stdlib.swift] Exclude the test for an ASAN build

It is too slow, rdar://64215520
master: https://github.com/apple/swift/pull/32327

@swift-ci Please test

This is test-only change.


create 1.0.28 Nuget package

Would like to have the Stellar Lumens code addition available, which was coded after the current 1.0.27 release. Thanks :)

sure, i'll release tonight


Update announcement_2.md

Updates the hyperlink for the most recent announcement link to point to the actual article instead of nowhere.

Thank you! Great catch.


Change temp directory

Is There a way to change the temp directory for the aerender output as it is currently on my main drive which is only 500gb so it keep running out of space while rendering?
Thanks in advanced.

sure, that directory is called workpath, it can be changed via options
--workpath  for the worker and the cli, and {workpath: 'somepath'} for the core

Awesome thanks for the quick reply


Outdated dependencies

Is there a reason d3 needs to be <= 3.5.0 in the dependencies?
I ran the test suite with updated deps (even v3.5.5 of d3) and everything passed.
"dependencies": {
    "d3": "^3.5.5"
  },
  "devDependencies": {
    "grunt": "^0.4.5",
    "grunt-contrib-concat": "~0.5.1",
    "grunt-contrib-cssmin": "^0.12.2",
    "grunt-contrib-jasmine": "~0.8.2",
    "grunt-contrib-jshint": "~0.11.0",
    "grunt-contrib-uglify": "~0.8.0",
    "grunt-contrib-watch": "^0.6.1",
    "grunt-sass": "^0.18.1",
    "load-grunt-tasks": "~3.1.0"
  }

+1

I'm making this the canonical issue about updating D3 dependencies. Please also see PR #1166, which has a bunch of discussion about the topic.

Is this still relevant? C3 update d3 to ~3.5.0. Does it fix your problem?

D3 was updated to v4, closing as irrelevant anymore.


Fix path to dist for esm/cjs

Current dependencies on/for this PR:

main

PR #122   👈

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Job ID: VSdKLsBAJEEzD0dRxd1B.
See details on graphite.dev


Theme nav is not responsive

Theme nav is not responsive on mobile with more that 5 ideas in the nav.

Hey @lukekhamilton! The theme nav is scrollable:

Ok thanks for that. However I would say that's pretty poor UX as its wasnt
really all that obvious to someone thats pretty tech savvy.
Would really love to see this improved.
Kind regards,
Luke Hamilton
Online business consultant
--
e<EMAIL_ADDRESS>s: lukekhamilton
c: https://calendly.com/lukekhamilton/
https://calendly.com/lukekhamilton/
~ With loving kindness ~
On Sat, Aug 5, 2017 at 3:11 PM, Aileen Nowak<EMAIL_ADDRESS>wrote:

Hey @lukekhamilton https://github.com/lukekhamilton! The theme nav is
scrollable:
[image: theme_nav]
https://user-images.githubusercontent.com/8037602/28993077-2eeb6370-79d7-11e7-9169-afd8cef3f4de.gif
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TryGhost/Casper/issues/344#issuecomment-320412222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFho4Dqls5oc6n_EV5gpZkE_P9rWPQzks5sU_mYgaJpZM4OsAdk
.

This has been raised a few times now as not being obvious/desirable which is a shame considering the overall very positive feedback to Casper 2.0. @JohnONolan just as an FYI


chore: update bindgen

Clang 16 introduced a change which breaks old bindgen versions (https://github.com/rust-lang/rust-bindgen/issues/2312).
This PR upgrades bindgen to be future proof.

why does this remove Debug? Debug is useful.

You get this error when Debug is there:
error[E0793]: reference to packed field is unaligned
I would also like to have it but I don't see any solution than removing it.


Solved participants getting removed error

@ppratikcr7 @RidhamShah what does it mean when PRs are put up in draft mode for a long time? Should I wait until they are fully "opened" to leave comments / approve? I don't know if this is still being worked on.


EXP operation bug.

Hello:
I have tried a few EVM code, most of them works, but for operation "EXP", there is a bug:
PUSH1 1
PUSH1 2
EXP
PUSH1 0x20
MSTORE
PUSH1 32
PUSH1 0x20
RETURN
The result of 12 should always be 1, no matter how big the second number is, but I got the result: 2.
Another example:
PUSH1 5
PUSH1 2
EXP
PUSH1 0x20
MSTORE
PUSH1 32
PUSH1 0x20
RETURN
The result of 52 should be 25, but I got 10 (5 * 2 = 10; but 5 ** 2 = 25)!
It seems the code use multiple in stead of exponent in  this operation.
Please take a look and fix it ASAP.
Thanks,

Hello,
I think you are mixing the order of parameters. The first push will be the second element of the stack, thus it will be the exponent, as you can see https://www.evm.codes/#0a?fork=merge. Your first program is correctly return 2**1, which is 2.
Running your second example I do not get 10 however, I get 32, which is the expected result of 2**5.
Does that solve you issue?

Hi,
Please show me your EVM code, I want to calculate the 5^2 or (5*5 = 25); I don't need 2^5=32.

You need to give the parameters in the correct order: https://www.evm.codes/playground?fork=merge&unit=Wei&codeType=Mnemonic&code='y2~5zEXPwMSTORE~32wRETURN'~zyz\nyPUSH1 w~0x20zwyz~_
Note that the numbers are in hex.

OK, thanks. I understand it now!


Have translation to Turkish, Dari and Farsi updated and check variables

check all strings whether they are still correct (original meaning may have changed)
ensure that variable numbers are not translated, but remain, e.g. %(since)s

I have marked all English fields that contain variables with yellow using conditional formatting so translators can find them more easily when proofreading.
I have also instructed Turkish, Russian, Farsi/Dari and Arabic translator about them and asked them to update.


DwC Importer - containerize errors on retry when one object already added

When I import a recordset, and I do *not* choose containerize
   then I see Errors for rows that have duplicate catalogNumbers
      then I update the settings to select the containerize option
         and I retry to import
            and the record Errors again

Probably not technically a bug.  If we can't fix it we could disable the containerize button after any one record is imported?

Did it error for the same reason or even initial error was actually catalog number already taken? I would expected it to pass when setting containerize even if wasn't set on first try.


Alchemical Metallurgy - Step 3/5 not possible or minor bug?

Hey,
I am not sure why this happends but this is what I get shown in the Thaumonomicon:
https://i.imgur.com/btMKFbe.png
Maybe it is caused by any of the Addons but it could also be a main (minor) issue be.
Would be nice to get feedback on this :)

Not a bug - void ingots and so forth still needs to be implemented.

Ah ok, that's why it show unlocalized name? Thanks for the information :)


360 (VR)

Per your comments (sorry I don't have a M3OC login to reply inline):
https://model3ownersclub.com/threads/dashcam-video-script.11481/post-217392
I believe the following will help achieve the desired affect:
https://github.com/google/spatial-media/releases

Thanks. Will close this issue and have a look at it once Tesla provides all the cameras for Sentry or dashcam. :-)

Is someone already looking into this? Any ETA?


Do not extend either the CMF BaseTestCase or Symfony WebTestCase

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no (not within the BC promise at least).

Deprecations?
no

Related issues/PRs
prerequisite for #2125

License
MIT

Documentation PR
sulu-io/sulu-docs#prnum

What's in this PR?
This PR will removes two classes from the inheritance stack of the SuluTestCase -- the base test case for all functional tests.
It replaces them with a single Sulu KernelTestCase which is:

More targeted at Sulu (expects Kernels to be in a certain place).
Instantiates different instances of the kernel for different needs.

We also:

Remove the db() and getDbManager calls.
Improve the CI output.
Remove dependency on the symfony-cmf/testing component.

Why?
The latest version of the PHPCR-ODM bundle (1.3) automatically closes all PHPCR connections on shutdown, which is good, however this causes problems with the current code base.
$session = $this->getContainer()->get('..phpcr_session');
// ..
$this->createAuthenticatedClient();
$this->session->doSomrthing();

The createAuthenticatedClient created a new kernel instance and shut the existing one down, causing the connection to be closed, and causing an error Transport is closed..
This PR solves the issue by having a kernel instance for the "test" (->getContainer()) and different kernel instances for unique configurations of any clients which are created.
When the test is finished all kernel instances are shutdown.
BC Breaks/Deprecations
This is BC sensitive - if anybody was relying on behavior from the CMF TestCase or the Symfony WebTestCase, then might get failures, although the main API methods are the same (although not static).
Bonuses
Previous issues with the build may be attributable to the fact that the PHPCR connections were not being closed. (e.g. we may no longer need to restart Jackrabbit). Will need to try this with the latest version of the PHPCR Bundle as in the related PR.

Ready for review. @danrot @wachterjohannes

Ready for merge /cc @danrot


Parsers not found

Please help me. After running :checkhealth I found out, that not a single treesitter parser got installed right.
Just getting this error message all the time for every single language.:
python(highlights) is concatenated from the following files:
  | [ERROR]:"C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\python\highlights.scm", failed to load: Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.
- ERROR python(locals): Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.

Here is my nvim --version
NVIM v0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1703942320
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1  -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

Did not found something useful on a quick google search...

Have you tried the suggestions here: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

Thanks. This article helped. I installed mingw manually, not by using choco, and installed the compiliers manually using the mingw interface.
But thanks for the article!


Itermittent test timeout on PersistentFailoverE2ETest.testSimpleConsumerEventsWithoutPartition

Expected behavior
The test is timing out several times. eg:
https://builds.apache.org/job/pulsar_precommit_java8/724/testReport/junit/org.apache.pulsar.broker.service/PersistentFailoverE2ETest/testSimpleConsumerEventsWithoutPartition/
Test thread is blocked on:
https://github.com/apache/incubator-pulsar/blob/8fbb926089effcadf59e199fe69ec65b4bbe4eae/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentFailoverE2ETest.java#L217
In particular it's waiting on the  listener.activeQueue.take().intValue())
https://github.com/apache/incubator-pulsar/blob/8fbb926089effcadf59e199fe69ec65b4bbe4eae/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentFailoverE2ETest.java#L102-L105

discussed with @merlimat - it is a bit unknown how the flaky test can happen after spending a few days on it. so we are going to defer this to 2.1.


Are high versions considered, such as 1.16.5?

No, i dont plan on supporting modern versions. Use fabric-carpet instead


New UI: create a new react app, login and register page

I am staring to build new UI and for this I create a react app and in it I create login and register page.

plz review the code

Sure ,I try my best to make  AccessLint happy
On Fri, 12 Feb 2021 at 12:39, Damien Carol<EMAIL_ADDRESS>wrote:

@damiencarol commented on this pull request.
In my-app/src/components/Login/Signup.component.js
https://github.com/DefectDojo/django-DefectDojo/pull/3808#discussion_r575024653
:

+import React, { Component } from "react";
+import Navbars from "./Navbar.component";
+import "./Login.css";
+export default class SignUp extends Component {

render() {
return (

   <Navbars />

       <form>

Register

           First name

           <input

https://www.w3schools.com/tags/tag_label.asp
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/pull/3808#discussion_r575024653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFM2U4E625KAEJHECYR6KTS6TH37ANCNFSM4XGGUHKQ
.

as discussed, this is just an experiment for now. if we keep it, it'll be probably in another repository. adding the "do not merge" label in case someone wonders


Go Panic on Actors usage (Redis) with PubSub (Redis) on Start

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

What version of Dapr?

1.2.0
Expected Behavior

I would like to utilize Redis as my state store and placement store for Actors as well as create a component to the same Redis for Pub/Sub usage.
Actual Behavior
When executing the following:

Create Actor (see Demo Actor - .NET)
Add component for type: pubsub.redis
Start with the component referenced

Then I see
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x162fca9]

goroutine 140 [running]:
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).getRemindersForActorType(0xc000103080, 0xc000db6720, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:975 +0xe9
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).evaluateReminders(0xc000103080)
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:557 +0x153
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).Init.func1()
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:158 +0x3d
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).updatePlacements(0xc000914c30, 0xc000464100)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:366 +0x48c
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).onPlacementOrder(0xc000914c30, 0xc000464080)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:334 +0x258
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).Start.func1(0xc000914c30)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:176 +0x2ce
created by github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).Start
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:143 +0xf3

My component configuration
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: pubsub-redis
  namespace: default
spec:
  type: pubsub.redis
  version: v1
  metadata:
  - name: redisHost
    value: localhost:6379
  - name: redisPassword
    value: ""
  - name: consumerID
    value: "myGroup"
  - name: enableTLS
    value: "false"

When looking at startup, I see my application starting and Dapr seeing that it started but then crashing instantly. I included a full start-up log of this:
ℹ  Starting Dapr with id dapr-masked. HTTP Port: 3500. gRPC Port: 10200
INFO[0000] starting Dapr Runtime -- version 1.2.0 -- commit 8e960e2  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] log level set to: info                        app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] metrics server started on :34873/             app_id=dapr-masked instance=THE-BEAST scope=dapr.metrics type=log ver=1.2.0
INFO[0000] standalone mode configured                    app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] app id: dapr-masked                        app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] mTLS is disabled. Skipping certificate request and tls validation  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] local service entry announced: dapr-masked -> <IP_ADDRESS>:44627  app_id=dapr-masked instance=THE-BEAST scope=dapr.contrib type=log ver=1.2.0
INFO[0000] Initialized name resolution to mdns           app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] waiting for all outstanding components to be processed  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] component loaded. name: pubsub-redis, type: pubsub.redis/v1  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] all outstanding components processed          app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] enabled gRPC tracing middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.grpc.api type=log ver=1.2.0
INFO[0000] enabled gRPC metrics middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.grpc.api type=log ver=1.2.0
INFO[0000] API gRPC server is running on port 10200      app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] enabled metrics http middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.http type=log ver=1.2.0
INFO[0000] enabled tracing http middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.http type=log ver=1.2.0
INFO[0000] http server is running on port 3500           app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] The request body size parameter is: 4         app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] enabled gRPC tracing middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.grpc.internal type=log ver=1.2.0
INFO[0000] enabled gRPC metrics middleware               app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime.grpc.internal type=log ver=1.2.0
INFO[0000] internal gRPC server is running on port 44627  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
INFO[0000] application protocol: http. waiting on port 10000.  This will block until the app is listening on that port.  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
== APP == Building...

ℹ  Updating metadata for app command: dotnet run
✅  You're up and running!   Status: Running. Init Elapsed 1215.1367ms  app_id=dapr-masked instance=THE-BEAST scope=dapr.runtime type=log ver=1.2.0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x162fca9]

goroutine 214 [running]:
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).getRemindersForActorType(0xc00020b680, 0xc00081ec10, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:975 +0xe9
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).evaluateReminders(0xc00020b680)
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:557 +0x153
github.com/dapr/dapr/pkg/actors.(*actorsRuntime).Init.func1()
        /home/runner/work/dapr/dapr/pkg/actors/actors.go:158 +0x3d
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).updatePlacements(0xc0008fa4e0, 0xc000822cc0)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:366 +0x48c
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).onPlacementOrder(0xc0008fa4e0, 0xc000822c80)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:334 +0x258
github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).Start.func1(0xc0008fa4e0)
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:176 +0x2ce
created by github.com/dapr/dapr/pkg/actors/internal.(*ActorPlacement).Start
        /home/runner/work/dapr/dapr/pkg/actors/internal/placement.go:143 +0xf3

Update: also appears to happen on other components 🤔 tried it with PubSub for RabbitMQ and doesn't work either.

I think need to wait dapr/components-contrib make a release including https://github.com/dapr/components-contrib/pull/757, it would add Ping() to check store state. @artursouza
/assign @daixiang0

I have a prototype on this, pls. assign
/assign @beiwei30


closeOnClickOutside don't work after tooltip show() method.

CodePen demo
https://codepen.io/anon/pen/ZMPJQb
Steps to reproduce the problem

Open the demo.
Click the button "Click me"
Tooltip will show itself.
Try to click outside the tooltip.
Tooltip wont close.
If you click on "Tooltip", it works correctly.

What is the expected behavior?
I expect when trigger show from button and appear on the page, Tooltip close when I click outside.
Any other comments?
Is this a bug or normal behavior ? How can I make it work like default show() method ?

Hi @lotr1903 ,
Perhaps simulating the click action might help by using .click() instead of calling tooltip.show() directly.
So your js file should look something like:
$(document).ready(function(){
 var elmt =  $('.icon');

	var tooltip = new Tooltip(elmt, {
    placement: 'bottom-end',
    title: 'Test Text',
    closeOnClickOutside: true,
    trigger: "click",
    modifiers: {
      flip: {
        behavior: ['left', 'right', 'bottom']
      },
    },
  });

  var button = $("#button");
  button.on("click", function(e) {
    elmt.click();
  });
});

Hope it helps.

Not a solution for dynamic content, usualy onClick does some other operations, not just displaing the tooltip...

Hi, I'm interrupting the development of the tooltip.js library to focus on the development of @popperjs/core (Popper.js v2).
Please consider switching to Tippy.js, which is a way better alternative to Tooltip.js and is well maintained. Tippy.js still uses Popper.js under the hood, so you will find all your favourite features.
I'll close this issue.


Add regressions for uniCOIL noexp on MS MARCO v1 corpora

hey @MXueguang can you do a sanity check against results on your end?

Codecov Report

Merging #1789 (e080436) into master (49581c7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1789   +/-   ##
=========================================
  Coverage     57.72%   57.72%
  Complexity     1042     1042
=========================================
  Files           175      175
  Lines          9872     9872
  Branches       1357     1357
=========================================
  Hits           5699     5699
  Misses         3692     3692
  Partials        481      481

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 49581c7...e080436. Read the comment docs.

there are slightly difference but within 0.001


Better separation between admin and open pages

See also https://github.com/langrenn-sprint/result-service-gui/issues/40


Certain actions cause scenes to revert

Certain things cause scenes to revert back to default size. Here's a video of it happening when you delete a scene, it also happens when you navigate between scenes. The smol-foundry settings will come back on a reload.

Still happens with the current version installed. Found the bug when I moved a scene within the Scene tab (i.e. reordering my scenes).


Focal Point Selection Help

Hi,
Would you please explain this,
Crop Focal Point
This is defined using two offset percentages: crop-x%-y%.
<&fit=crop-25-75">
How actually this x% and y% works. I am not getting desired results and need help to understand it. Also does any body know, how to select desired focal points percentage from an image easily so that it can later be used with this wonderful Glide library.

Okay, what I understand, x is 25% from left and 75% remaining is y.

Sorry, not exactly.
The first value is 25% from the left, yes, but the second value represents the vertical positioning, so in your case it 75% from the top.

Thanks for reply. But I observed that second parameter has no effect actually. I tried by keeping first parameter constant and change second parameter but the result is same all the time something like this:
glide/index.php/img/20180202180359_305327369.jpeg?w=720&h=1280&fit=crop-62-28
glide/index.php/img/20180202180359_305327369.jpeg?w=720&h=1280&fit=crop-62-70
glide/index.php/img/20180202180359_305327369.jpeg?w=720&h=1280&fit=crop-62-90
glide/index.php/img/20180202180359_305327369.jpeg?w=720&h=1280&fit=crop-62-0
All cases result is same.

Depending on the height of your image, it may not. For example, if your crop uses the full image's height, that value will not do anything. It's a focal point...

The image, i am using in my experiment has width 4757 and height 2672 and I am trying to crop it to 720x1280 (desired image) like above. And all images cropped with varying focal point y% are the same as in above example.

@reinink can you give any example of offset y% in action because I am not able to understand it's usage.


Restore locust_start_hatching functionality

Is your feature request related to a problem? Please describe.

Previous versions of Locust included an event called locust_start_hatching. This event was similar to test_start, except that it was fired on all threads, not just on the master thread, when distributed. There was even a separate master_start_hatching that functioned identically to test_start does currently, so the removal of the locust_start_hatching event seems to be a pure loss of functionality, which one of my projects relied on. It is useful for my worker threads to instantiate certain data at the time of test initialization, which is currently only possible through some very unfortunate hacks.
Describe the solution you'd like

The addition of an event that fires when any thread starts a test
Describe alternatives you've considered

My current hack is to check if the required data has been initialized in all of my user constructors, and initialize it there if not. This is obviously not a good solution.
Additional context

The event was removed in commit 220f9cea, seemingly because its purpose was unclear and it was missing tests. Hopefully this feature request can clarify its purpose, but if not I'd be happy to expound upon it further.

I agree, that does sound like a loss of functionality. Tbh, I think the appropriate solution is making test_start fire on all nodes (you could then check the environment.runner type to see if you are on master or slave, as needed). I think that was probably the way it was intended - I just documented it the way @heyman implemented it.
Any chance you could contribute such a fix? (and update the docs accordingly, maybe with an example that shows how to check master/slave) I dont think I have time for this...

I will see if I can put up a pull request soon.


Add development version for GIMP to gimp package

See https://www.gimp.org/downloads/#development-snapshots.
The development builds executables are a 7-Zip SFX archive. Need to adapt the package to support that in addition to the official installer.

Closed for a lack of implementation after a year.

2.8.22 is the official version, but does not save MetaData and may delete existing metadata.  A dev option would be great.


Connected peers details view show both consumed and reserved metrics

Description
This PR updates the details view of a connected peer:

Under Resource Used will be displayed (for both CPU and RAM) the percentage of resources reserved (the total of requested memory and cpu for each pod in relation to the total of shared resources) as well as the actual percentage of resources consumed. Hovering with the mouse over one of the percentages will tell if it refers to the consumed resources or the reserved. Besides the percentage, the actual value of resources reserved/consumed is shown (represented by m for CPU and Mi for RAM).

If there are no metrics servers available the consumed resources will be the same as the reserved ones.

Other features:

Switched details and properties in the dropdown menu of a connected peer.
Fixed a bug where the resources metrics would not update when the pod count dropped to zero

Pull Request Test Coverage Report for Build 241788996

92 of 92 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 92.132%

Totals

Change from base Build 239608562:
0.07%

Covered Lines:
1523

Relevant Lines:
1603

💛  - Coveralls

/rebase


Homework

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Wrote some queries for advanced SQL
What did you learn from the changes you have made?
Union, Coalesce, Windowed Function like Rank, Count, Row_Number
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
N/A
How were these changes tested?
N/A
A reference to a related issue in your repository (if applicable)
N/A
Checklist

[x] I can confirm that my changes are working as intended

Good Job on HW 4, 5, 6 Passed.


Add feature flag for deprecation UI/endpoint

The feature is on DEV but is not visible to me as expected.


fix vScroll calcuation, refs #5658

This PR is an alternative fix for #5658: calcVScroll now bounds viewportTop so that additional checks should not be necessary.
@LIU-shuyi, can you verify that this works as expected please? 😃

Hi, I tested it, but didn't work well in the scene i described in #5658. Same error as before.
the return value of calcVScroll() in onViewportUpdate() will not influence viewportTop directly.
viewport.scrollTop is set to viewport.scrollHeight in AutoScroll.tsx: componentDidUpdate()
base on your change , I add code as fallows, and it works:
diff --git a/web/src/js/components/FlowTable.jsx b/web/src/js/components/FlowTable.jsx
index 45f12e9d3..6bb1873b9 100644
--- a/web/src/js/components/FlowTable.jsx
+++ b/web/src/js/components/FlowTable.jsx
@@ -85,7 +85,10 @@ class FlowTable extends React.Component {
         })

         if (this.state.viewportTop !== viewportTop || !shallowEqual(this.state.vScroll, vScroll)) {
-            this.setState({ vScroll, viewportTop })
+            this.setState({
+                vScroll,
+                viewportTop: Math.min( viewportTop, vScroll.end * this.props.rowHeight),
+            });
         }
     }

Thanks! 🍰 Seems like I wasn't testing with enough rows. I've been able to reproduce it now, and incorporated your fix. Can you confirm that this works now? 😃

Aha, the code works well this time.

Awesome, thanks for the initial PR and the quick confirmation! 🍰


UX improvement. Fixed links and cursor

In the activities view, since reordering by clicking anywhere on the row to drag feature is replaced with dragging the row by clicking on the vertical ellipsis, we need to make the cursor pointer when the user hovers on the icon such that he can know that there's an action associated with that icon.

On the navbar, the name of the pages is a clickable link.
They're replaced with divs in this PR.

The XO icons in some pages have cursor pointer associated with them. It makes the user think that they're buttons instead of images.

Fixed:

Make sense.


Compile error --  [babel] Unknown option `czech'

Hi, I'm trying to compile my GitHub repository but I'm getting an error
[babel] Unknown optionczech'`
I have not used latex-online before, but at a first glance, it seems to me that the latex installation is outdated. I am able to compile the repository locally without any problems.
This is the link I used.
http://latex.aslushnikov.com/compile?git=https://github.com/ondrejtichacek/ROZ&target=d.tex

Hi Ondřej!
It looks like the language package lacks czech; i'll take a look on the weekend.

@ondrejtichacek builds fine for me now!


Consider allowing PeerPoolSubscribers to specify types of messages they're not interested in

What is wrong?
Some PeerPoolSubscribers (e.g. LightPeerChain, TxPool) are only meant to handle a subset of msg types, so it is rather wasteful to have PeerPool deliver all messages to their queues.
How can it be fixed
We could make it possible for PeerPoolSubscribers to specify what types of msgs they aren't interested in, so that they never get those. Or they could specify the types of msgs they are interested in, but the problem with that is we need to remember to update the list if/when they're extended to handle more msg types

I think it makes a lot of sense for us to update the signature of Peer.add_subscribe to take a list of commands and to only add messages to the queue that are of those types.  Should be very easy to implement.
class PeerPoolSubscriber:
    @property
    def subscription_msg_types(self):
        # returns a tuple of `Command` classes that it is interested in.
        ...

class PeerPool:
    def subscribe(self, subscriber):
        for peer in ...:
            peer.add_subscriber(subscriber.msg_queue, subscriber.subscription_msg_types):

Considerations:

Potentially make PoolSubscriber.subcriber_msg_types a method which takes the Peer as an argument so that the subscriber can select what message types it wants based on the type of peer it receives.

My concern with having subscribers specify the types of messages they want is that it's not easy to ensure that each msg type is handled by at least one subscriber, but if we make BasePeer log a warning when it receives a msg of a type for which there are no subscribers, that should not be that big of a deal

I think your comment is saying that you think a whitelist can work, but just in case it isn't, here's my reasoning.
A whitelist should be:

future proof against new commands showing up
most reliable reduction in p2p cmd traffic over the queues
subscribers can be written to throw errors on unexpected commands making things more explicit

It should be easy for the Peer class to detect when it has no subscribers for a message type and to log a warning (like I think you were saying above).


Implement new dsl_tiler_frame_numbering_enabled_get/set services

Problem - the NVIDIA tiler plugin sets the frame-number to 0 for all outgoing frames.
Solution - add new services to get/set a new feature of the DSL Tiler component, that when enabled, adds a new specialized pad probe handler to add an incrementing frame_number to each frame meta structure that crosses the Tiler's source pad.
Note: the frame-number will be reset each time the Tiler is linked (i.e when the parent Pipeline is called to play)
New services
/**
 * @brief Gets the current frame-numbering enabled setting for the named Tiler.
 * @param[in] name unique name of the Tiler to query.
 * @param[out] enabled if true, the Tiler will add an incrementing frame number
 * to each frame metadata structure -- for each buffer flowing over the Tiler's
 * source pad -- overwriting the 0 value set by the NVIDIA Tiler plugin.
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_TILER_RESULT
 */
DslReturnType dsl_tiler_frame_numbering_enabled_get(const wchar_t name,
    boolean* enabled);

/**
 * @brief Sets the frame-numbering enabled setting for the named Tiler.
 * @param[in] name unique name of the Tiler to update.
 * @param[in] enabled set to true to have the Tiler add an incrementing frame number
 * to each frame metadata structure -- for each buffer flowing over the Tiler's
 * source pad -- overwriting the 0 value set by the NVIDIA Tiler plugin.
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_TILER_RESULT
 */
DslReturnType dsl_tiler_frame_numbering_enabled_set(const wchar_t name,
    boolean enabled);

Merged into v0.26.alpha


Categorized secrets are not listed properly

shroud list lists the top-level category, but not the secret. It should look something like this:
shroud ls

> 3 secrets found
work
|__ github.com
|__ gmail.com
personal
|__ github.com

See shroud/issues/#1


Update withNestedDir to remove everything

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

Project coverage is 82.06%. Comparing base (a1ad8e8) to head (1791f00).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

io/local/writer.go
0.00%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
+ Coverage   81.09%   82.06%   +0.97%
==========================================
  Files          85       85
  Lines        4617     4835     +218
==========================================
+ Hits         3744     3968     +224
+ Misses        613      607       -6
  Partials      260      260

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


wdb_transfer: filter out password in output messages

Plain-text DB password can be displayed in error messages, it needs to be filtered out or displayed in masked form.

Thanks Alex @staticlibs

Closing as completed.


temp fix for empty team name handling (never merge)

fixes #8095 @amaltaro, Alan I think this should prevent pulling down the team with empty string

Patch looks good, Seangchan.

test this please

test this please

test this please

@amaltaro, The unittest failure is real.  Since unittest assumes 'TeamName' is optional in WQ.
but that shouldn't be the case. Anyway, I am not going to merge this patch since it is temp patch for production agents. Alan's team patch should fix this problem.

real fix by Alan is added


Error: Template warning: 'round'

Im getting this.
Logger: homeassistant.helpers.template
Source: helpers/template.py:1210
First occurred: 5:14:30 PM (3 occurrences)
Last logged: 5:14:30 PM
Template warning: 'round' got invalid input 'None' when rendering template '{%- if roundtemp == true -%} {{- state_attr(weather_provider, "temperature") | round -}} {%- else -%} {{- state_attr(weather_provider, "temperature") -}} {%- endif -%}' but no default was specified. Currently 'round' will return 'None', however this template will fail to render in Home Assistant core 2021.12

Thanks for the head's up @xHirscHx !  I've pushed updates to all blueprints which should address this warning in the log.  Here's some info on that.
If you don't update, the device should still function but will continue to log errors.  The updated blueprints should avoid those log messages.

Closing issue after releasing fixes to impacted blueprints


Fixed JSON escaping of HL7 strings from lambda bots

coverage: 94.286% (-0.006%) from 94.292% when pulling 505f4aaa761e9006a433bddb01947f572edc5868 on cody-fix-hl7-lambda-bot-string-encoding into eb0e84d598c2f478258fc60cc08165322e9cf21d on main.


your site not worked

I want to see your site and your result, but the site is 404

His sight is off for now.


Add giscus? Or disqus?

Debating whether to have some comment system on the site.
It's simple to enable Giscus and hook it in here, but commentors need GitHub accounts, which won't with so well for friends and family.
Disqus may work out better in that regard, but likely comes at a cost. Research needed.

Decided I don't really need this. Closing.


Add Prometheus metrics

@mochi-co , I had to do go vendor to add modules in go.mod. So you may want to ignore go.mod and go.sum and regenerate them on your side.

I was originally thinking creating a sub-module, but since all its data are coming from the System, so it may make sense just be part of that.
The way I registered the metrics, there is really no activities on it unless there is a pull on the handle.
I was thinking of putting as a config into the sysinfo, but that config only contains TLS and is shared with many other listeners. As a result I hardcoded into the sysinfo listener. I'm open to suggestion how you would like to have this implemented:

implement at server level, add config to server Options
implement at sysinfo listener, use sysinfo specific config
as a hook, but i'm not sure if it's appropriate, as it really is just a one time registration, and connect to a HTTP handler

I'll resubmit a PR in the future.


PostgreSQL bytea accept_ function not being decoded

I have a .wav file stored in the database and would like to be able to download it with an accept_ function.

My thinking is that we don't need this. I am open-minded if the community speaks up but here is what I am thinking.
Storing .wav files in the database is not something that people should do generally, and in those rare cases where it seems ok, I would express caution. It should not be done without careful consideration.
But let's say they really need to do it. We aren't going to be able to solve their problems without re-architecting Envelope or at the very least, building an additional API just for this. In fact, an API most likely wouldn't work, we'd probably need to build a companion program. Because for this kind of data you must stream, there isn't really any other way to do it right.
For these reasons, and until I hear of a use case that causes me to re-think it, it wouldn't be smart for us to spend that much in resources on such a niche feature.
However, there is little lost. Most users, if not all of them, will find they can do many different things within Envelope that will work very well. People should start with #1 on this list and work their way down until they find the best fit for their use case.

Use Envelope for access control and store/fetch the files from the file system(the 'role' folder was made for this use case).
fetch a text representation of the data through Envelope and make it a binary in the javascript.
provide a way around Envelope.


New version: FractionalDiffEq v0.3.5

Registering package: FractionalDiffEq
Repository: https://github.com/SciFracX/FractionalDiffEq.jl
Created by: @ErikQQY
Version: v0.3.5
Commit: ede46d348e3f6866138f9e8af002f0a245753f1a
Reviewed by: @ErikQQY
Reference: https://github.com/SciFracX/FractionalDiffEq.jl/commit/ede46d348e3f6866138f9e8af002f0a245753f1a#commitcomment-140441560
Description: Solve Fractional Differential Equations using high performance numerical methods

[merge approved]


Support certificates rotation

Cockroachdb support certificate rotation on sighup, can we have the same in visus on both the http server and the db connection.
Proposed solution is to:

Update pgxpool to v5
Use the Reset function in the pool to close the connections without closing the pool
Set the tls config on both http server and the pool config to reload the certificate

I do have the changes ready but I can't seem to be able to push new a branch.

Hi @ihab-soliman-form3,  if you'd like to submit a change for review, please fork the repo into your github account, push the change to a branch on your own fork, then open a PR to the main branch on the this repository. I'll be happy to review your changes.

Thanks @sravotto, I am aware of that process 😄 just needed confirmation and find a way that would work with our policies

Thanks @sravotto, I am aware of that process 😄 just needed confirmation

@sravotto I also created this PR https://github.com/cockroachlabs/visus/pull/100


updates rubocop; corrects represntable specs

Coverage increased (+0.5%) to 98.6% when pulling c893b377df472a552407d25447aa94d54ed6b30c on LeFnord:master into 9e5720adf03a7e3d390f573eff75233faf16573e on ruby-grape:master.


False Positives

We recently discovered that we were getting some false positives with the chai-webdriverio assertions.  If we didn't include the parenthesis, our tests would continue without failing.  Ouside the scope of chai-webdriverio?
.to.be.visible

instead of
.to.be.visible()

Also, the README shows 2 different ways to use not.  Which is correct?
.to.not.be.visible()
.not.to.have.text('property')

I'll answer your second question first: You can put not anywhere in the chain that sounds good to you :) It's just a flag that gets set for the final assertion.
As for leaving off the parenthesis, that is an issue with the new paradigm of "calling functions" without parenthesis, if you happen to access visible it in a context where visible is not defined, it will not cause an error, since .visible just returns undefined.   .visible() raises an exception, which is what you'd normally expect, so I would recommend always using the parenthesis.
There is talk about adding a .dom or other such accessor to prefix the method chain which would fix this issue, and make it fail even if you didn't use parenthesis, because .dom would be undefined, and trying to chain anything onto that would raise an exception.
I've added a new issue for this, in case you care to comment! https://github.com/marcodejongh/chai-webdriverio/issues/38


WLAN Pi reboots some seconds after starting in server mode

The Pi is rebooting unexpectedly seconds after starting in server mode, switching back to classic mode.

This problem is caused by the non-persistence mode (a mode that is used to ensure the Pi switches back to classic mode in the next boot) running prematurely, switching the Pi back to classic mode immediately after booting in server mode, leaving the Pi in a bad state. We've decided to disable the non-persistence mode for now as it will need to be reimplemented in a different way now that FPMS (which is responsible for setting up the non-persistence mode) is run as a service.


brew install mitmproxy - uncertain dependency between version 2 and 3 of python

Problem Description
When running 'brew install mitmproxy' it have dependency to just python without specifying Python2 or Python3, resulting that Python2 is removed on Mac OS Catalina.
Steps to reproduce the behavior:

brew install mitmproxy
Try to run 'python2' afterward

Solution
Change dependency from 'python' to 'python3' as described where:
https://docs.brew.sh/Homebrew-and-Python
Where to change:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/mitmproxy.rb
https://formulae.brew.sh/api/formula/mitmproxy.json

Temporarily workaround for users having problem after running 'brew install mitmproxy':
brew reinstall python@2

Please report this to homebrew directly.
We, the mitmproxy maintainers & community, have no direct control or responsibilities for the downstream packaging and distributors.


Fix checking for pgort*.dll

This change is

@Cellule review please?

:+1:

Thanks @Cellule. Merging.