Brunch build - bus-error

Description
Getting a bus error on brunch build , on debian 8 amd64 bit
Expected behavior
Should have build successfully.
Actual behavior
I have a react project, I have my frontend js and jsx files inside a lib directory.
.
+-- lib
|  +-- js
|       +-- components
|           +-- App.react.jsx
|       +-- api
|            +-- App.js
|  +-- scss
|       +-- main.scss
|       +-- _app.scss
+-- package.json
+-- bower.json
+-- brunch-config.json

Here is the link to my package.json, bower.json and brunch-config.js
Basically I want to output my react, redux etc into vendor.js, my lib/js into app.js, and stylesheets into styles.min.css and put them in the dist folder
Environment

Brunch: 2.8.0
Node: 4.2.x
NPM: 2.14.x
Operating system: Debian 8, 64 bit

brunch:config Trying to load brunch-config +0ms
[1]    5237 bus error  brunch build -d
If there's an unexpected error during brunch build/brunch watch, please attach the compilation log with the debug flag (-d) and stack traces enabled (export LOGGY_STACKS=true).
If something worked with previous versions of brunch, but stopped with a newer one, please include these details as well.

It does look like a system error on your machine. Maybe your storage failed... Does a reboot help?
Also, please try removing node_modules and bower packages and installing them afresh.

ok, trying a fresh install .. after reboot .. its gonna take some time. will be back. and one more question, do I need to exclude the devDependencies or its ok to keep things as it is

What do you mean exclude devDependencies? Leave them as is, I guess

ok, I rebooted and removed node_modules and bower_components and I don't get a bus error now. I have one more question, I have removed that vendor.js file because it was taking all the node_modules like request, airbrake and concatenating them into vendor I guess. so I only have 'app.js': /^(lib\/js)/ this line .. even then why does it go it lib/tests ? I have tried 'app.js': 'lib/js' as well

Only the things you require and their deps get into bundled files — so if you didn't require airbrake, it should not have appear in the output file.
By default brunch watches app, test and vendor, which could be the cause in your case if the server side code is in app or something.
You can tell brunch with directories to watch by setting paths.watched in config (should be an array of string paths — like lib/js, for example)

so I only have 'app.js': /^(lib/js)/ this line .. even then why does it go it lib/tests ? I have tried 'app.js': 'lib/js' as well ..

This is strange, that regexp should not match lib/tests/anything... care to create a repo that reproduces that?

no, it wasn't lib/test , it was just test. thanks for your help. will close the issue

how I fix these
lib/brunch-config.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/autoprefixer/lib/autoprefixer.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/babel-polyfill/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react/react.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/intl/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-dom/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-router/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/history/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-redux/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/intl/lib/core.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/brunch/node_modules/deppack/node_modules/browser-resolve/empty.js compiled, but not written. Check your javascripts.joinTo con

its not writing to the dist/ folder

lib/brunch-config.js compiled, but not written. Check your javascripts.joinTo config

Hmm, do you have two brunch configs, one in root and one in lib? Why?
7 May 09:27:22 - warn: node_modules/autoprefixer/lib/autoprefixer.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/babel-polyfill/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react/react.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/intl/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-dom/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-router/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/history/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/react-redux/lib/index.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/intl/lib/core.js compiled, but not written. Check your javascripts.joinTo config
27 May 09:27:22 - warn: node_modules/brunch/node_modules/deppack/node_modules/browser-resolve/empty.js compiled, but not written. Check your javascripts.joinTo con

— because none of your output files match node_modules/. It looks like you are using react, redux, etc on the front-end, and to let brunch add them to the output somewhere, you could change the regexp to something like /^(lib\/js|node_modules)/

its not writing anything to the dist/ folder

Right, because by default brunch is configured to write into public. You can change that using config.paths.public — http://brunch.io/docs/config.html#-paths-
Note that in this case, your joinTo config won't need to have dist/ in keys then, i.e. be something like 'app.js': /regexp/.

cool, I thought adding node_modules would add all the libs from node_modules.

I have added this
conventions: {
    assets: [ /img[\\/]/, /svg[\\/]/]
  }

I have the images and svg inside lib/img and lib/scss , so is it possible to add the files to their respective directories.. like dist/img
module.exports = {
  files: {
    javascripts: {
      joinTo: {
        'js/app.js': /(lib\/js)|(node_modules)|(bower_components)/
      }
    },
    stylesheets: {
      joinTo: {
        'css/styles.min.css': /^(bower_components)|(lib\/scss)/
      }
    }
  },
  conventions: {
    assets: [ /img[\\/]/, /svg[\\/]/]
  },
  paths: {
    watched: [
      "lib"
    ],
    public: "dist/"
  },
  plugins: {
    babel: {presets: ['es2015', 'react', 'stage-2']},
    postcss: {processors: [require('autoprefixer')]}
  }
}

For the time being I have done it like this:
module.exports = {
  conventions: {
    assets: [/lib[\\/]/],
    ignored: [
      /scss[\\/]/,
      /config\.rb/
    ]
  }
}

presently no node_modules or jsx files are getting concatenated inside app.js .. I have added this pattern babel: {presets: ['es2015', 'react', 'stage-2'], pattern: /.(jsx?)$/},

It could be because you are declaring all of lib/ as assets — in which case, they won't be compiled, analyzed for node dependencies, and concatenated. Could this be it?
If it's not... debug outputs would help quite a bit, we are no mind readers.

Yeah, you are awesome, its because the whole directory was being treated as assets

@goshakkk
Hi,
This is my brunch config,
module.exports = {
  files: {
    javascripts: {
      joinTo: {
        'js/app.js': /(lib\/js\/|node_modules\/|bower_components\/)/
      }
    },
    stylesheets: {
      joinTo: {
        'css/styles.min.css': /(bower_components\/|lib\/scss\/)/
      }
    }
  },
  conventions: {
    assets: [/lib\/assets\//]
  },
  paths: {
    watched: [
      "lib/js",
      "lib/scss"
    ],
    public: "dist/"
  },
  plugins: {
    babel: {presets: ['es2015', 'react', 'stage-2'], pattern: /\.(jsx?)$/},
    postcss: {processors: [require('autoprefixer')]}
  }
}

Now the problem is, its not copying stuff from app/assets to dist/ ? and when I do brunch build -d, it concatenates the javascript and stylesheets and then its paused there, it doesn't end until I do a Ctrl + C . what is happening?


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 10:00:37 on 2023.06.06
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 23420
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=23420

Problem has been resolved in 8m 52s at 10:09:29 on 2023.06.06
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 23420


Number question

https://github.com/skygragon/leetcode-cli/blob/5245886992ceb64bfb322256b2bdc24184b36d76/lib/core.js#L92
return x.fid === keyword || x.name === keyword || x.slug === keyword;
Suggested to replace with
return Number(x.fid) === keyword || x.name === keyword || x.slug === keyword;
I'm using this command "leetcode show 1" show Problem not found! because of this...

why  @skygragon not accept this pr?

I have no problem running "leetcode show 1"
|| [leetcode show 1]
|| [1] Two Sum
||
|| https://leetcode.com/problems/two-sum/description/
||
|| * algorithms
|| * Easy (45.03%)
|| * Likes:    13338
|| * Dislikes: 487
|| * Total Accepted:    2.5M
|| * Total Submissions: 5.6M
|| * Testcase Example:  '[2,7,11,15]\n9'
||
|| Given an array of integers, return indices of the two numbers such that they add up to a specific target.
||
|| You may assume that each input would have exactly one solution, and you may not use the same element twice.
||
|| Example:
||
||
|| Given nums = [2, 7, 11, 15], target = 9,
||
|| Because nums[0] + nums[1] = 2 + 7 = 9,
|| return [0, 1].
||
||
|| [Finished in 2 seconds]

I have the same problem: command "leetcode show 1" but got errors: "Problem not found".
snippet from @wfatestaynight solves!
return Number(x.fid) === keyword || x.name === keyword || x.slug === keyword;


Feature/update database

In this milestone

I implement the queries and the transaction.
I added screenshots with the results of the queries and play transactions.

Kindly review and give me a star ⭐ ⭐

Kindly review and give me a star ⭐ ⭐

Thank you @emmanuellekamwa


Hardware Ref

Hi,
Can someone suggest me a a dvbc hardware solution.
thanks

Hello,
I don't fully understand the question. This project's hardware and software should work for any system that implements the DVB CSS protocols.
kind regards
Matt

Hi matt,
regards for your reply. But what hardware do you suggest firmware should be built upon. If aiming for 4k. In addition it have to be cost effective too. I have been looking into some chips from st and broadcoam, but a little confused.

The README in the /hardware subdirectory of this project gives full details of what hardware is needed to build the calibration/measurement system. This is resolution independent and is not based around a TV or STB chipset.
Is your question actually about implementation of DVB CSS / HbbTV 2 in a TV/STB? This is technically outside the scope of this github project, however you are welcome to contact me directly be email (see bottom of README).

hi matt this is a very basic and far away from what i am wanting for this project. I wonder if arduini due is capable of delivering good results. I am going through the read me but cant see a way to contact you matt.
Regards.

Hello. Contact details are at the bottom of the main README. See the heading "Contact and discuss".
Regarding the suitability of the arduino: we have built and used this system and can therefore confirm from experience that it works. In practice we have been able to make measurements that are accurate to within a few milliseconds.

I can't find contact link in read me.
Can u please send me the link.
Thank you

The email addresses are not provided as links. This is done to avoid spam. The names of the "original authors" near the end of the README can be translated into email addresses.

invain i tried to contact but no replies from the admins.

I don't understand - nobody in this project is identified as an admin.
Matt 'dot' Hammond 'at' bbc.co.uk

Closing this issue as the conversation appears to have ended


Refactor: Use enum for need category

This refactor uses an enum for category in the need model, which simplifies working with the list of categories a bit.
Significantly, it moves the border/stroke colours to CSS. This involves hard-coding categories in CSS classes. I considered simply having a CSS variable that was a list of colours, and the stroke colour would be based on the index in the enum. That would probably be better but might be a bit less obvious what's going on, so this seemed fine. I could go either way though.
I've got some failing cucumber tests, and I think it may be because of some of my refactoring in the triage controller. In particular, I'm not sure what merge_contact_needs was meant to do or if we still need it now that colours aren't involved in the list. @jamiebuckley can you take a peek when you have a free minute?
This is not an urgent feature — and I'm fine with discarding it — but my hope is it may make it slightly easier to implement some of the other features we need to do, and also demonstrates how to fix the filtering bug on the status column (cc @go8soft).

Thanks @timwis, what is the filtering bug on status column you are talking about?

Vast majority of the test failures look to be a mismatch between 'Phone triage' and 'Phone Triage', e.g. just the case difference.
An explanation of merge_contact_needs:
The helper (which was just a method returning labels and CSS mappings) was the only real part of the code that defined all the needs.  The triage form would - when doing a new triage, use this helper to generate the list of forms items to present the user.
When a user submitted a triage form and got a validation error - or when the session repopulates the form - this info (label and css field) would be lost, and so would need to be merged back in.

 Replacing split needs triage form/needs helper with needs enum


Can not get the lets encrypt part to work.

Hi!
Any one more then me having problem setup ssl?
I get the folowing hint in the log?
headscale    | 2021/10/03 17:05:22 http: TLS handshake error from <IP_ADDRESS>:58247: Get "https://acme-v02.api.letsencrypt.org/directory": x509: certificate signed by unknown authority

---
server_url: https://urskog.ddns.net
listen_addr: <IP_ADDRESS>:443
ip_prefix: <IP_ADDRESS>/10
log_level: debug
private_key_path: private.key
db_type: postgres
db_host: postgres
db_port: 5432
db_name: headscale
db_user: foo
db_pass: bar
derp_map_path: derp.yaml
ephemeral_node_inactivity_timeout: 30m
#tls_cert_path: ""
#tls_key_path: ""
tls_letsencrypt_hostname: urskog.ddns.net
tls_letsencrypt_cache_dir: tls_cache
tls_letsencrypt_challenge_type: HTTP-01
tls_letsencrypt_listen: :http
dns_config:
  nameservers:
    - <IP_ADDRESS>

This worked for me as recently as yesterday.
It looks like your computer can not establish a TLS handshake with the Let's Encrypt directory endpoint at "https://acme-v02.api.letsencrypt.org/directory". Maybe your local list of CA certificates is out of date?

I use the docker image, from https://hub.docker.com/u/headscale
FROM headscale/headscale:0.9.2

@urskog84 are you still having this issue?

@juanfont I'm getting this error as well, using the docker image headscale/headscale:latest
EDIT: I updated to the image that was pushed recently and it's now working just fine!

That confirms what I thought; this was caused by the Let's Encrypt root cert change, and the new docker images have the necessary updates. Closing this issue.


KOGITO-4346: Move VSCode UI test execution into it-tests github workflow

Add new job for vscode it tests
Move the tests execution from build:prod
Rename script name from ui-test to test:it
Add archiving of artifacts for it tests of vscode
cc @tiagobento @jstastny-cz
Videos and screenshot are not possible as of now :)

@paulovmr FDB fails on kie-wb-common build, unrelated. Ready for merging when approved from your side :)

It doesn't look like https://github.com/kiegroup/kogito-tooling/pull/409 will be affected.
However please confirm if I need to make any changes for the new IT tests in the referenced PR.

@manstis Yes #409 should be good, only thing that will change is the command to run the IT tests yarn run test:it


Symlink install option in Python packages overwrites data files in source directory

We are building a Python - ROS2 package with colcon and noticed that whenever we use the --symlink-install option "some" of the data files in the source directory of our package get overwritten and become symlinks pointing to themselves, effectively breaking the source package.
We noticed this behavior with the following package (master branch), steps to reproduce:

Create a colcon workspace, clone the package into src directory
Source ROS2 eloquent
Run colcon build --symlink-install

Command output:
Starting >>> traffic_editor
[Processing: building_map_msgs, traffic_editor]
Finished <<< building_map_msgs [31.7s]
Starting >>> building_map_tools
Finished <<< traffic_editor [32.0s]
--- stderr: building_map_tools
error: can't copy 'building_map_generators/textures/blue_linoleum.png': doesn't exist or not a regular file
---
Failed   <<< building_map_tools	[ Exited with code 1 ]

Summary: 2 packages finished [32.9s]
  1 package failed: building_map_tools
  1 package had stderr output: building_map_tools

Now when checking the source directory:
cd src/traffic_editor
git status

This is the output
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	typechange: building_map_tools/building_map_generators/textures/blue_linoleum.png
	typechange: building_map_tools/building_map_generators/textures/blue_linoleum_high_contrast.png
	typechange: building_map_tools/building_map_generators/textures/wall.png

no changes added to commit (use "git add" and/or "git commit -a")

The data files became symlinks pointing to themselves.
I tried to have a look at the code that is doing the linking and copying here but when I added a few debug print statements I noticed that the files in the build space exist even before that part of the code runs, so got a bit lost.
Something interesting I found is that if the data files are in the same folder as the setup.py the wrong behavior does not occur and everything works fine!
cd src/traffic_editor/building_map_tools
cp building_map_generators/textures/* .
vim setup.py # Edit the data files path to point to package root directory

If you have any suggestion on what might be wrong I can have a look as well.
Cheers
/Luca

Thank you for the report. I was able to reproduce the problem with the provided steps. Please see #301 for the proposed fix.


Inconsistent handling of escape character inside variable body

This problem can be demonstrated with the following examples utilizing the extended variable syntax:
*** Variables ***
${X}              X
${Y}              Y

*** Test Cases ***
Example 1
      Should Be Equal    ${X + 'Y' + '\n'}    XY\n

Example 2
      Should Be Equal    ${X + '${Y}' + '\n'}    XY\n

When these examples are executed, the former passes but the latter fails with this error message:

Resolving variable '${X + 'Y' + '
'}' failed: SyntaxError: EOL while scanning string literal (, line 1)

The reason for the failure is that when there are internal variables (${Y} in this case), Robot resolves variables in the variable body and at the same time unescapes possible escape characters (\). Unescaping turns a literal \n into a newline character which then causes problems when the extended variable syntax part is evaluated. The latter version could be made to work using \\n instead of \n.
At the moment this inconsistency doesn't cause big problems because you are most likely to encounter it in situations where you are using the extended variable syntax with internal variables and have \ somewhere. This is a pretty rare combination.
In the future when we plan to add the inline Python evaluation syntax (#3179) with syntax ${{expression}} it gets more likely to encounter this issue. The reason is that the whole expression is always evaluated and possible lone { and } in the expression needs to be escaped (see #3288 for a related issue).
I'm not yet certain what's the best way to handle this situation. Regardless the solution, one of the above examples will behave differently afterwards.

This was fixed so that escaping in variable body is not required except for these special cases:

Lone { and } need to be escaped like \{ and \}. Matching curly braces do not need to be escaped.
Literal strings looking like variables such as ${x} need to be escaped like \${x}.

Escaping is needed in both of these cases to make it possible to parse the whole variable before even evaluating its value. These escapes are removed before otherwise processing the variable body.
The end result of this change is that both of the examples in the original description nowadays pass.


Won't work on Pentium 4

Hey, just to let you know, the upgrade to Chrome 47 breaks electron for Linux users with Pentium 4 processors. Chrome fails to work on my system since the upgrade to 47. Chromium works, so if you want full compatibility, I can recommend switching to Chromium. I found a workaround that involves turning off a proprietary driver, but in my version of Elementary OS, the option isn't available.

The prebuilt binaries of Electron are compiled with clang binaries provided by Chromium, which is very new and doesn't seem to support your processor. As for the chromium browser, its binaries are provided by community and are usually compiled with the default compilers of the Linux distribution, I think that's why it works.
The solution is to compile Electron with your Linux distribution's compilers, and I'm merging this to #259.


Sort Order - Firewall : Aliases

Sort Order - Firewall : Aliases
Aliases are sorted case sensitively.  Causing un-natural sort order.  myAlias should come before YourAlias.  Always.
Sort order should be:
my Alias
Your Alias
Not:
YourAlias
myAlias

not sure about this, if it should be standard behaviour, the alias controller might not be the right spot

Whether it should be the behavior; It's a human interface.  It should accommodate humans in the way that humans work.  As humans we don't typically sort lists in a case sensitive manner unless there is a specific need/reason to do so.  When looking in a sorted list for "beUserFriendly" we don't typically expect to find it after "Zebra".  Yes I missed an alias because of the case sensitive sort order.
This is where it is being done here until something else comes along.

https://github.com/opnsense/core/commit/c929c73a50de525e6b8a192b11b6b8ad169f2850


css class for the coolest member of fpp...........

+1

+1

-10

wtf..........
On 3 Mar 2015 14:48, "Rohan Singh"<EMAIL_ADDRESS>wrote:

-10
—
Reply to this email directly or view it on GitHub
https://github.com/Rohansi/RohBot/pull/21#issuecomment-76958519.

+1

ultra epic 👍valve add this please

+1
On 4 Mar 2015 14:24, "Marcin Kozłowski"<EMAIL_ADDRESS>wrote:

ultra epic 👍valve add this please
—
Reply to this email directly or view it on GitHub
https://github.com/Rohansi/RohBot/pull/21#issuecomment-77165977.

😎

+1
On 5 Mar 2015 13:56, "Jamie Hankins"<EMAIL_ADDRESS>wrote:

😎
—
Reply to this email directly or view it on GitHub
https://github.com/Rohansi/RohBot/pull/21#issuecomment-77367073.


Crawler deployment on k8s GPU tainted nodes

Description
In kubernetes/armada environment, gpu nodes are going to be tainted to restrict random pods being schedule on them. We need to add toleration annotation in the deployment manifest (pod specs) to enable crawler deployment on these gpu tainted nodes.
Currently armada cluster is using k8s v1.5.x, so we need to enable this annotation in the backward format.
annotations:
        scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","value":"gpu-task","effect":"NoSchedule"}]'

once the server version is upgraded to v1.6 we need to change it to new pod.spec format:
      tolerations:
      - key: "dedicated"
        operator: "Equal"
        value: "gpu-task"
        effect: "NoSchedule"

PR #327  merged.
Closing this issue.


Do we really need IAlterMigrationOperation

Question came from API review.

There is a polymorphic usage in AlterOperationBuilder to implement the OldAnnotation extension method.


Bump dependency version bounds

Hey Nick, always fun to see a familiar name attached to a package I'm using! This is just updating the upper bounds for the base and polysemy dependencies to work with the most current versions. It builds fine with just a few warnings about missing Safe Haskell annotations and suggestions to use ImportQualifiedPost syntax - I figured I'd address those in a different PR, but let me know if you'd prefer to have them in this same one instead. No rush, I'm just playing around with stuff and found this little library helpful!

Hey, Katie! Thanks for this PR; I haven't been paying attention to versioning issues at all over the last year. I can go ahead and add the fix for the warnings -- best thing is to just turn them off (ImportQualifiedPost is nice, but it requires a hard dependency on GHC >= 8.10.1). Once I've done that, I'll push the new version to Hackage.


Jekyll Theme

http://jekyllthemes.org/themes/dash/

I think the jekyll-theme-minimal is fine for now. Closing this issue


Updating Protocol Version. To Support new Versions

Hello, I'm new to raknet and self-learning it , after some searching found that the server protocol & client protocol versions are outdated , can you update them or make a way for updating it?

What are the files of issue? Are you referring to the RakNet protocol, or the Minecraft protocol?

Server & Client Protocol Should be 11 , not 10

Could you link to me the files which need to be changed?


Add service canary

Will make actions correct after https://github.com/megaease/easemesh-api/pull/16 merged

Codecov Report

Merging #104 (2adb597) into main (a09fff8) will decrease coverage by 1.58%.
The diff coverage is 5.30%.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   79.09%   77.50%   -1.59%
==========================================
  Files          63       64       +1
  Lines        5199     5309     +110
==========================================
+ Hits         4112     4115       +3
- Misses        846      953     +107
  Partials      241      241

Impacted Files
Coverage Δ

emctl/cmd/client/command/delete/deleter.go
92.51% <0.00%> (-7.49%)
:arrow_down:

emctl/cmd/client/command/flags/flags.go
94.52% <ø> (ø)

emctl/cmd/client/command/get/getter.go
93.15% <0.00%> (-6.85%)
:arrow_down:

emctl/cmd/client/resource/resource.go
94.23% <0.00%> (-5.77%)
:arrow_down:

emctl/cmd/client/resource/servicecanary.go
0.00% <0.00%> (ø)

emctl/cmd/client/util/visitor.go
68.18% <0.00%> (-0.70%)
:arrow_down:

emctl/cmd/client/command/apply/applier.go
92.46% <12.00%> (-7.54%)
:arrow_down:

...tl/cmd/client/command/meshinstall/base/k8sutils.go
64.50% <100.00%> (+0.07%)
:arrow_up:

.../client/command/meshinstall/controlpanel/deploy.go
52.11% <100.00%> (+0.68%)
:arrow_up:

Continue to review full report at Codecov.

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


Segmentation fault in tf.quantization.quantize_and_dequantize

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.2.0-rc4-8-g2b96f3662b 2.2.0
Python version: 3.7.6
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
tf.quantization.quantize_and_dequantize produces a segfault  when input is a tensor in any shape of float32 or float64 and axis is specified to a large number.
Describe the expected behavior
No segfault
Standalone code to reproduce the issue
import tensorflow as tf
tf.quantization.quantize_and_dequantize(input=[2.5, 2.5], input_min=[0,0], input_max=[1,1], axis=10)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Segmentation fault (core dumped)

Reopening since #42109 seems to not be solving this issue (this op is V2, the PR fixes on V1)

Does the CVE-2020-15265 Vulnerability Affect 1.15.5?

Yes, but we no longer patch 1.15. Please update post 2.1

Hi. Not in 2.3.4, as the 2.3.x has reached end of life.
It is already included in 2.4.0 and later

@mihaimaruseac noted on this, thank you for the feedback.


Define a schema for the output

I ran the output through linkml-model-enrichment:
id: https://w3id.org/example
name: example
description: example
imports:
- linkml:types
prefixes:
  linkml: https://w3id.org/linkml/
  example: https://w3id.org/example
default_prefix: example
types:
  biolink identifier:
    typeof: string
  identifier:
    typeof: string
classes:
  example:
    slots:
    - document id
    - type
    - start position
    - end position
    - matched term
    - preferred form
    - entity id
    - origin
    - sentence
    slot_usage: {}
slots:
  document id:
    range: integer
    examples:
    - value: '507072'
  type:
    range: biolink identifier
    examples:
    - value: biolink:organismalentity
  start position:
    range: integer
    examples:
    - value: '18591'
  end position:
    range: integer
    examples:
    - value: '18594'
  matched term:
    range: string
    examples:
    - value: all
  preferred form:
    range: string
    examples:
    - value: root
  entity id:
    range: identifier
    examples:
    - value: ncbitaxon:1_synonym
  origin:
    examples:
    - value: ecocore.json
  sentence:
    range: string

This is so cool! I didn't know linkml-model-enrichment would do that! :D

I didn't know linkml-model-enrichment would do that! :D
yep, and it's getting more powerful all the time :-)

we should take this opportunity to lowercasify the headers. We should have this in our best practice guide for column headers


Missing letter in TH title ?

If you look at https://github.com/mulle-nat/mulle-readme-cms it reads "Description" but in the local preview, the "n" is missing. Which is ... weird.

fixed, problem was in mulle-markdown-preview


Disentangle stxutils from Cur

Commit 659c8d305b69c3db6345ba1b0fcee561faf63afe adds some stxutils, (part of #79) which seemed like they would be generally useful. Unfortunately, I can't disentangle them from Cur (all stxutils ought not to depend on Cur). The new subst and stx=? functions apparently needs to know about binding structures, and find-in apparently needs to be able to do identifier equality by name instead of by scopes. The new ntac tactics rely on breaking hygiene abstractions in these ways due to some issue with scopes.
I've tried abstracting them a bit here: https://gist.github.com/wilbowma/477954b228e94bd682bffdc4d15ff0bf
but I can't get the new versions to work, and I'm not even sure the approach makes sense.
@stchang, if you have thoughts, otherwise I think I'll just move the utils into rewrite.rkt until we sort out the scope issues.

One possibility is putting them in a separate collect?
Otherwise, I'm fine with putting them in rewrite.rkt or having a separate stx-utils.rkt in cur/ntac.


Can not convert Null to Double

I keep getting this exception when I send large texts to translate
I get it randomly and I can't really predict when it's thrown
this is the stack trace and I send the text I am sending as well
at Newtonsoft.Json.Linq.JToken.op_Explicit(JToken value)
at GoogleTranslateFreeApi.GoogleTranslator.GetTranslationCorrections(JToken response)
at GoogleTranslateFreeApi.GoogleTranslator.ResponseToTranslateResultParse(String result, String sourceText, Language sourceLanguage, Language targetLanguage, Boolean additionInfo)
at GoogleTranslateFreeApi.GoogleTranslator.GetTranslationResultAsync(String originalText, Language fromLanguage, Language toLanguage, Boolean additionInfo) at GoogleTranslateFreeApi.GoogleTranslator.TranslateLiteAsync(String originalText, Language fromLanguage, Language toLanguage)
at FreeTranslatorApiRest.Controllers.TranslateController.TranslateLongText(TranslationObject translationObject, String targetLang, String sourceLang) in {MyWorkSpace}\TranslateController.cs:line 142"
the text I am sending :
sample.txt

Thanks for an issue, will fix it


Feat/bucket refs

Codecov Report

Merging #89 (5fa3539) into develop (d428df5) will decrease coverage by 8.79%.
The diff coverage is 56.64%.

@@             Coverage Diff             @@
##           develop      #89      +/-   ##
===========================================
- Coverage    88.87%   80.08%   -8.80%
===========================================
  Files           72       81       +9
  Lines          944     1250     +306
  Branches        83      118      +35
===========================================
+ Hits           839     1001     +162
- Misses         105      248     +143
- Partials         0        1       +1

Impacted Files
Coverage Δ

src/api/documents/v0/document-ref.ts
100.00% <ø> (ø)

src/resources/api.ts
5.00% <5.00%> (ø)

src/resources/schedule.ts
14.28% <14.28%> (ø)

src/faas/v0/start.ts
37.62% <44.44%> (-0.65%)
:arrow_down:

src/api/secrets/v0/secrets.ts
97.14% <50.00%> (ø)

src/resources/topic.ts
51.28% <51.28%> (ø)

src/resources/collection.ts
57.57% <57.57%> (ø)

src/resources/queue.ts
64.28% <64.28%> (ø)

src/api/documents/v0/query.ts
95.12% <80.00%> (+0.06%)
:arrow_up:

src/resources/bucket.ts
84.21% <84.21%> (ø)

... and 8 more

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 d428df5...5fa3539. Read the comment docs.


tesseract4 x64 Windows dlls?

The current master only builds Win32.  Are there x64 builds or build processes available for tesseract4?

Please use tesseract user forum for asking questions


allow 6 digit code check

I've made three updates to this:

If 6 digit codes are allowed, don't interrupt the user while typing by showing the spinner while the 6 character code is processed, just do it silently in the background
Add a little more logging to see what's going on in the console
Updated to latest master to fix conflicts with 16 digit deep link codes


[DOCS] Specify new behavior on {} starting in Flow 0.89

This behavior surprised our team and we're not the only ones (see #7491 #7456 #7463)
This change in behavior should be mentioned in the changelog at the least.

Can you explain how this works with Flow Try, to me looks like a bug

You can see some examples in the issues I linked in this PR. There seems to be some disagreement about whether or not this is a bug. @dsainati1 says this is an intentional change and @jbrown215 that it is something that they hope to fix. Regardless of the result, we should at least mention that this change happened in the changelog (what this PR is for) and the discussion can continue somewhere else if needed


Feature/appcontentparser

@AlecNgZW @barkhyehyeon This PR contains slight amendments to UI and Logic components.
@BennTay This allows the extension of cross context command within Recipe Context.
@LimShiMinJonathan Do make use of ur parser here.

Please review and merge. Test all your personal features as this change risk the altering of the program's logic.


Problem with building a jar with flexmark-all dependancy

I am using flexmark-all jar as a dependency in my maven project as below. When I ran from my Mac it is building properly.But when I ran at my testing instance on Linux it is not able to find the transitive dependencies. I tried to find the dependencies in my local and test environment by using mvn dependency:tree command. It is showing all the dependencies in my local but when it comes to test environment it is just showing flexmark-all jar with 2KB jar downloaded. Can some one please suggest how to resolve this issue who are came across this issue earlier.
<dependency>
    <groupId>com.vladsch.flexmark</groupId>
    <artifactId>flexmark-all</artifactId>
    <version>0.22.8</version>
</dependency>

Error in my Linux test environment :
[WARNING] The POM for com.vladsch.flexmark:flexmark-all:jar:0.22.8 is missing, no dependency information available.
Let me know if you need any additional inputs, thanks in advance.

We were able to resolve this issue locally.
Resolution: After removing the existing pom.xml and artifact issue has been resolved.


Default to using first 5 tags on new post instead of 1

https://chainbb.com/chainbb-support/@andersrh/using-multiple-tags
There's no reason why it should use the first tag instead of all specified. The end user can choose to remove some if they want (for whatever reason).

This will have to be a configurable option for forum owners as well. Some forums use tags differently that causes this use case to be inconvenient.


(Native Question) How can I enable inline styling in a React-Native Styled-Component ?

Hi,
I know there was a template but I couldn't find the one for my problem.
So I'm using styled-components in React-Native and I was wondering how can I add inline css styles?
I've installed the babel plugin but I'm getting can't find variable css, even though I've installed the plugin and restarted my server.

Hey there, please use stack overflow or spectrum for general help / environment questions. Thanks!


contrib/rpm: Bump to re-build RPM release now Copr is fixed

Should close #499

Local mock RPM tests have been run, only way to confirm fix is to re-run Copr build.


Combined files "UIImage + Alpha" and "UIImage + Thumbnail" and created Swift extension.

Adds methods for applying alpha to UIImages, scaling to create thumbnail.

@JALsnipe please review and merge

Reviewing.

Looks good.


Added extra field to compare argument to compare generated potential secrets

#326
@KevinHock, I have added a new argument --extra-field-to-compare tuple with only allowed choices and passed along the workflow. Included unit tests as well.

Hi @dryoni / @yonidrayerman, would this be something you'd want as well, re: your auditing PR?
I'm wondering if we want a boolean --include-lineno-in-secret-hash or this PR, and you may be interested in it. If we want more than just --line-number to matter, it would be good to say now.
It seems like there is a tradeoff, between
'state of the world' , auditing all existing secrets quickly and efficiently (multiple potential secrets with the same hash in the same file [this PR], thousands of secrets in huge huge file [#332], etc.)
vs.
'from now on prevention', not being a pain to developers using the pre-commit hook (line number affecting the secret hash, would do this, even if we analyzed only the lines changed like arc does, or like we could do if we really wanted to e.g. call git diff).
Both your PRs address pain points in the former.

Hi @KevinHock, I think that only the line number make any difference.
Duplicate secrets one the same are probably very rare, but can be detected in the future by the CodeSnippet.highlight_line function and have all occurrences highlighted.
I agree there's a tradeoff here, but it's mostly due to the the current one-secret-at-a-time audit process.
One of the steps to improve the auditing experience and allow new auditing options is having faster raw secret retrieval which is the essence of my PR: https://github.com/Yelp/detect-secrets/pull/332
It doesn't add any complexity to the developers or the auditors.
https://github.com/Yelp/detect-secrets/pull/335 adds more pain to developers but provides better security, and I highly recommend adding it.
Auditing is ultimately the responsibility of the security team, so improving the security on the cost of adding a few more duplicate secrets to audit, sounds like a good tradeoff.
It might be worth adding a special Inline Allowlisting comment to ignore all duplicate secrets on the same file.
Adding a comment on every duplicate line, especially if it's all false-positives can be very annoying, so developers might just skip pre-commit tests.

@KevinHock are you awaiting any additional changes on this PR before you review?

@OiCMudkips, could you take a look at this PR?

Have we determined feasibility of counting the secrets in the files? :thonk: 🤔
That way, moving lines around doesn't affect developers -- yet we will have the alerting for multiple secrets in the same file. The best of both worlds.

Hi @shaikmanu797,
Thanks for your contribution to this project, and I apologize for it taking so long to merge. I will be taking the next couple of days to personally review the backlog that has been stacking up over the past months, and hope to see many of these great community additions being added to this tool.
Reading this PR makes my heart pang -- all you wanted to do was change something in PotentialSecret, and you had to touch >200 lines to do so. We are currently undergoing a large re-architecture of this tool to make development easier (pre-v1-launch branch), and hopefully that will make issues like this much easier to modify in the future.
Within that branch, I will have a PR out to optionally remove line numbers from baselines, and ultimately seal the long discussion on whether or not line numbers should be part of it. I realized that since line numbers are used for auditing alone, as long as we disable the auditing feature if the baseline was generated without line numbers, we should be able to leave teams with the decision of whether or not to keep the line numbers around when generating baselines.
Do you think that would address this issue?

Hi @shaikmanu797,
Thanks for your contribution to this project, and I apologize for it taking so long to merge. I will be taking the next couple of days to personally review the backlog that has been stacking up over the past months, and hope to see many of these great community additions being added to this tool.
Reading this PR makes my heart pang -- all you wanted to do was change something in PotentialSecret, and you had to touch >200 lines to do so. We are currently undergoing a large re-architecture of this tool to make development easier (pre-v1-launch branch), and hopefully that will make issues like this much easier to modify in the future.
Within that branch, I will have a PR out to optionally remove line numbers from baselines, and ultimately seal the long discussion on whether or not line numbers should be part of it. I realized that since line numbers are used for auditing alone, as long as we disable the auditing feature if the baseline was generated without line numbers, we should be able to leave teams with the decision of whether or not to keep the line numbers around when generating baselines.
Do you think that would address this issue?

@domanchi, I will take a look at the branch you mentioned, this is a very cool project and I'm interested to learn more about the re-architecture soon.
I agree with your point where a small change leads to changes in multiple files right now thereby causing confusion at times to ensure everything works as expected.
My requirement behind PR is to avoid multiple re-scans if the same secret is encountered multiple times by adding line_number to compare fields at secret filtering.

My requirement behind PR is to avoid multiple re-scans if the same secret is encountered multiple times by adding line_number to compare fields at secret filtering.

To be clear, are you suggesting an optimization that doesn't require O(num_plugins) to scan the line, when we have already identified that it is indeed a secret (on the same line)?


Carthage support

Someone don't want to use CocoaPods to change their project structure, Carthage is a much simpler alternative

@nihgwu thanks for bringing this up. I don't think there is anything actively preventing someone from using Carthage (though I'm not 100% sure). If you can figure this out, I'd love to add some instructions to the docs.
Without trying this myself, I think the main thing is that you might have to install both React and Native Navigation with carthage if you end up doing this, but I'm not sure.
Long term, the right solution might be to get React Native core to also add a dynamic framework target in addition to the static lib target, which I think could solve a lot of these issues.

Carthage requires an xcodeproj, and a shared scheme, which this currently does not have that I can see. That would be the only thing needed to get Carthage support in, which I'd love to see.
@lelandrichardson any reservations against adding an xcodeproj? I can submit a pull request pretty quickly for this.

@benkraus I don't have any problem with this. A PR would definitely be appreciated!

How are you guys building the target currently?

On Mar 29, 2017, at 5:06 PM, Leland Richardson<EMAIL_ADDRESS>wrote:
@benkraus I don't have any problem with this. A PR would definitely be appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@benkraus native-navigation is pulled in via cocoapods with a podspec in the example project currently

Correct me if I am wrong, but from what I can gleam, native-navigation is being developed as a development pod from the example xcodeproj?

@benkraus that is correct

Just wondering if anybody got this to work with Carthage already? Thanks!


Sign in with GitHub redirect+uri improperly doubles the site address

Including utternaces in my blog, whenever I click on sign in with github to post a comment, the redirect leads to an improper page with url entered twice in a row.
See the following page for an example of the issue:
https://vergend.com/test/2021/03/25/test.html
If you right-click and view page source there, you will see that
link rel="canonical" href="vergend.com/test/2021/03/25/test.html"
is set correctly, but still the redirect for sign in is corrupted.
Is there anything I can do to fix that, or is it an issue with utterances which I can't control?
Utterances would be the perfect comments solution for my blog, but if this issue persists it will make it virtually unusable, since I can't expect visitors to recognize that the redirect doubled the input of the url and remove half of it by hand...

Nevermind! Turns out, in _config.yml I had to make sure that the url: entry starts with https:// instead of the site name. Including https:// there fixed the issue.


Doorbell No response / No Video

Hi there,
I have updated to the newest Version of this Plugin this morning. But my Doorbell don't stream any Video.
HomeBridge says: Failed to start stream: spawn ffmpeg ENOENT Doorbell
Has any1 a solution for this ?
/ HomeBridge runs on a Mac with High Sierra.
/ All other Eufy Devices are working great.

That looks like ffmpeg is not perhaps not installed.

FFMPEG ist installed on the Mac. The Stream starts at one of ten trys. At the most time I've got the White "eufy" Screen or the Home-App says "Ne response".

OK, so I've moved across to this plugin from this one:-
https://github.com/birkir/homebridge-plugin-eufy-security
At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably. Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here.

@PeterAlexander75 i'm having issues getting the stream to start. Not even getting the eufy logo. The logs say that it's starting the stream but it just times out and stops. I have checked and the account i'm using (a secondary account) can access eufy so it's not logged out.
I've tried updating to<EMAIL_ADDRESS>and latest but still not working. What version did you upgrade to?

UPDATE: Don't worry @PeterAlexander75 i re-read your comments which i should have done before replying. I've updated to latest version of eufy node client and this seems to have done the tick. I can also confirm that at first this disn't work until i logged into the eufy app on my ipad as well so it would seem your way of setting things up is correct.
Note: while troubleshooting I also noticed my VPN wasn't playing nice. I was trying to stream but it kept timing out. Disabling my VPN has sorted this issue out. I'd prefer to have it on but i'm guessing there is either a latency issue or the VPNs DNS (although I don't think it's their DNS because i can resolve the eufy security website ok).
I'f anyone is getting issues stream, might be an idea to disable your VPN if you have one just to see if it works.

This plugin doesn't use the eufy-node-client actually as it's no longer being worked on. It uses eufy-security-client instead.
I have started a discussion topic to help solve some of the issues, so if you could please comment [here] (https://github.com/samemory/homebridge-eufy-security/discussions/32), it would help us diagnose what's going on.

OK, so I've moved across to this plugin from this one:-
https://github.com/birkir/homebridge-plugin-eufy-security
At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably (see this comment). Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here.
UPDATE: I've just updated the plugin to 0.2.0, cleared the Doorbell from the accessory cache, rebooted Homebridge and streaming is working. It might be worth noting that people using barker's plugin had issues with being locked out their accounts and streaming not being awfully reliable. The only difference to my setup was that I used the same account on an iPad and stayed logged in using both the app and the plugin using the same secondary account.
UPDATE 2: Had trouble with getting the stream to start or move beyond the "Eufy" logo to in some instances. Manually updated eufy-node-client and issues appear to be resolved.

How/where do I manually update the eufy-node-client?

OK, so I've moved across to this plugin from this one:-
https://github.com/birkir/homebridge-plugin-eufy-security
At version .1.8 and with the latest eufy-node-client installed manually, this did stream reliably (see this comment). Although the homebridge-plugin-eufy-security by birkir appears to be abandoned, it does work at present with doorbells, so perhaps this will help the development team here.
UPDATE: I've just updated the plugin to 0.2.0, cleared the Doorbell from the accessory cache, rebooted Homebridge and streaming is working. It might be worth noting that people using barker's plugin had issues with being locked out their accounts and streaming not being awfully reliable. The only difference to my setup was that I used the same account on an iPad and stayed logged in using both the app and the plugin using the same secondary account.
UPDATE 2: Had trouble with getting the stream to start or move beyond the "Eufy" logo to in some instances. Manually updated eufy-node-client and issues appear to be resolved.

How/where do I manually update the eufy-node-client?

I found instructions here - https://github.com/birkir/homebridge-plugin-eufy-security/issues/45#issuecomment-842929624.
Hope this helps

Please test again with the newest version of the plugin.

Please test again with the newest version of the plugin.

Working for me same as before:

Video stream but no Audio
Get alerts when status changes from Home to Away etc
Get doorbell ring alerts but not motion (never tried to answer one - assume doesn't work esp with no audio on live view)

Thank you so much for your hard work! Even just the Live View video HUGE for me. Can view on Apple TV.
Misc info:

Running on Rasberry Pi4 Homebridge official install
Home hub is Apple TV running newest dev TVos15 beta
iPhone Xs ios15 dev beta 3
Using "Guest account" on Eufy with only doorbell shared to it (cam2's and 2c's natively in HK already)
may or may not have a beta tester of an E40 cam en route. can neither confirm nor deny ;)

FYI - Homebase firmware updated today.
Plugin still working as before.
Should this plug in support the cams that do not require a homebase?

I don't have solo device to test it but if it follow the same patch than camera which require base it should work.

Can confirm my non-homebase came is not working. I see error in log "unsupported device". It is in the Eufy app and shared to same guest account I'm using with the plug in.

@deadrubberboy Please supply full log.

@deadrubberboy Please supply full log.

I removed things that looked like I shouldn't post in public and lines referencing other plug ins.
[03/08/2021, 13:53:21] [Homebridge UI] Homebridge restart request received
[03/08/2021, 13:53:21] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[03/08/2021, 13:53:21] [Homebridge UI] Sending SIGTERM to Homebridge
[03/08/2021, 13:53:21] Got SIGTERM, shutting down Homebridge...
[03/08/2021, 13:53:26] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[03/08/2021, 13:53:31] [HB Supervisor] Restarting Homebridge...
[03/08/2021, 13:53:31] [HB Supervisor] Starting Homebridge with extra flags: -I
[03/08/2021, 13:53:31] [HB Supervisor] Started Homebridge v1.3.4 with PID: 3241
Initializing HAP-NodeJS v0.9.4...
[03/08/2021, 13:53:32] Loaded config.json with 1 accessories and 5 platforms.
[03/08/2021, 13:53:32] Loaded 26 cached accessories from cachedAccessories.
[03/08/2021, 13:53:33] ---
[03/08/2021, 13:53:33] Loaded plugin<EMAIL_ADDRESS>[03/08/2021, 13:53:33] Registering platform 'homebridge-config-ui-x.config'
[03/08/2021, 13:53:33] ---
[03/08/2021, 13:53:34] Loaded plugin<EMAIL_ADDRESS>[03/08/2021, 13:53:34] Registering platform 'homebridge-eufy-security.EufySecurity'
[03/08/2021, 13:53:35] Loading 5 platforms...
[03/08/2021, 13:53:35] [Config] Initializing config platform...
[03/08/2021, 13:53:35] [Config] Running in Service Mode
[03/08/2021, 13:53:35] [EufySecurity] Initializing EufySecurity platform...
[03/08/2021, 13:53:35] [EufySecurity] Loading accessory from cache: Doorbell
[03/08/2021, 13:53:35] [EufySecurity] Loading accessory from cache: EufyHomeBase
Preparing Advertiser for 'Homebridge CA96' using bonjour-hap backend!
 Not sure if I got everything out of there I should have

@deadrubberboy what camera dl you have?

@deadrubberboy what camera do you have?

I'm not at liberty to say at this time.
Sure has been hot and sunny out this summer hasn't it?

LOL. Ummm. Ok.

???

LOL. Ummm. Ok.

???

NDA

@deadrubberboy Totally fair. I figured as much. Not really much we can do currently then. If the device is unsupported in the eufy client library you could try to get bropat to support it. But without the model he probably will wait.

@lenoxys @schliemann
Starting with eufy-security-client 1.1.0 I tried to support @deadrubberboy's camera. But since I didn't get this device shared by anyone, I can't say what works or not ;)

@lenoxys @schliemann
Starting with eufy-security-client 1.1.0 I tried to support @deadrubberboy's camera. But since I didn't get this device shared by anyone, I can't say what works or not ;)

Hey @bropat, I think we solve most of part and it's on our hands now 👍
https://github.com/samemory/homebridge-eufy-security/discussions/32#discussioncomment-1208553
https://github.com/samemory/homebridge-eufy-security/discussions/32#discussioncomment-1208614
I've asked him to open a dedicated issue for his problem so we can track that.
Thanks again !


MagickGetImageBlob returns nil

Hi there,
after try running the test I figured out that all 'ImageWandTests.swift' tests fail.
In the one listed below I figured some more informations out. Hopefully someone has a solution.
Thanks
In func testInitWithData() this fails:
XCTAssertNotNil(imageWand!.data, "ImageWand should have Data")
Here: ImageWand.swift in line 41 it returns nil:
guard let imageBlob = MagickGetImageBlob(self.pointer, &size) else {             return []         }

There could be a problem with your ImageMagick installation.
The last time the same problem happened the reason was in PNG library dependency not being installed.

I've tried to cover dependency installation for macOS in the readme, but seems like it's not completely working.

I will give it later one more try :]


"Assistant not found..." error seen when trying to chat with my assistants listed in "+" option in chat view.

Electron build with commit id ac04ff04166
Steps to reproduce the problem:
Pre Req - Create new assistants which are private.

Launch chat view.
Use "+" option and select any of your assistants that you own which is private .
User is presented with the following message:

Note - If I make the assistant public then I dont see this problem.

can you retest?

This issue is not seen anymore when testing with latest builds - a8d8c5c39b3d5


var initialization and string comparison

Error when one mixes up assignment operator and variable short declaration.

Also, did you write the HTML by hand? If so I will help show you how to write it in markdown so that the HTML is generated via the hugo so its easier in the future 😄  I really need to add a good README describing how to do that moving forward.

See #2 for the undefined variable error. This PR only had the HTML and I needed to add the proper hugo files. Happy to explain how I generated them all if you want me to :)

Also, just FYI, you CAN use == to compare strings in Go. See https://golang.org/pkg/strings/#Compare, https://stackoverflow.com/questions/34383705/how-do-i-compare-strings-in-golang, and most importantly the spec (https://golang.org/ref/spec#Comparison_operators) for a little more info on this.


Add GPS params

Description
This pull request introduces essential GPS parameters to the NavSat plugin, enabling seamless GPS functionality within the Ignition Gazebo simulation environment. The NavSat plugin is a crucial component for simulating GPS data in Panther robot simulations.

Should we also add GPS for husarion_office, pointing to office location?

No, husarion_office is not compatible with Ignition, so there is no need to include it in this world.


leaking goroutines after SIG USR1 with proxy directive's healthcheck worker

I recently ran into an issue where caddy (with the proxy directive) was flooding its backends with healthcheck requests... on the order of 15+ healthcheck requests per second to each backend.
I was able to determine that it's due to caddy reloads via the USR1 signal mechanism.  Each time caddy is reloaded, it starts sending another healthcheck every health_check_interval. Over time and with multiple reloads... the healthchecks really start to add up.
1. What version of Caddy are you running (caddy -version)?
Caddy 0.9.4 (+8464020 Sun Jan 15 10:11:28 UTC 2017)
2. What are you trying to do?
Use the proxy directive, and occasionally trigger a reload via SIGUSR1 when the Caddyfile is changed.
3. What is your entire Caddyfile?
localhost:80 {
    proxy / http://localhost:8081 {
        health_check /healthcheck
        health_check_interval 10s
    }
}

4. How did you run Caddy (give the full command and describe the execution environment)?
running this via
sudo caddy -conf /path/to/Caddyfile

with 0.9.4 on MacOS Sierra 10.12.3 (caddy installed via homebrew)
The same issue is present when running from source (go1.8, same OS)
Also present on our CentOS 7 hosts, with caddy built from source.
5. What did you expect to see?
Even after sending USR1 to reload from the updated Caddyfile, I expected that the healthchecks would continue to be sent to the proxy backends at the configured health_check_interval (once per 10s)
6. What did you see instead (give full error messages and/or log)?
The number of healthcheck requests that are sent to the backend server increases with each reload of caddy.
 How can someone who is starting from scratch reproduce this behavior as minimally as possible?

create the Caddyfile above
run a simple "backend" server on localhost:8081 that prints access logs with timestamps (I used python -m SimpleHTTPServer 8081 .)
run caddy, configured with the Caddyfile given
observe /healthcheck being requested once every 10 seconds as expected.
run sudo kill -s USR1 <caddy_pid> 5 times
observe /healthcheck being requested six times in each 10 second window

also—you can see the number of goroutines increase consistently with each caddy reload by adding a simple ticker like this into caddy's Run() function:
// Run is Caddy's main() function.
func Run() {
	// ...

	go func() {
		ticker := time.NewTicker(2 * time.Second)
		for {
			select {
			case <-ticker.C:
				fmt.Printf("---- %d goroutines\n", runtime.NumGoroutine())
			}
		}
	}()

	// ...
}

here's caddy's stdout content after adding that ticker:
Activating privacy features... done.
http://localhost
---- 11 goroutines
---- 11 goroutines
---- 11 goroutines
---- 11 goroutines
---- 11 goroutines
---- 11 goroutines
---- 11 goroutines
---- 13 goroutines  <--- after a reload
---- 13 goroutines
---- 13 goroutines
---- 15 goroutines  <--- after another reload
---- 15 goroutines
---- 17 goroutines  <--- another
---- 19 goroutines  <--- another
---- 21 goroutines  <--- another
---- 23 goroutines  <--- another

My  use case (if anyone is interested) is that I am using consul-template to dynamically re-render the Caddyfile whenever the list of its backends changes. Basically, consul-template is set up to watch for membership changes in a consul service pool. Whenver new nodes are added or removed from the consul service, it updates the Caddyfile's proxy directive with the current list of hosts.
That's coupled with an orchestration system (nomad), which spins up/down new backend instances occasionally as needed, within a pool of available hosts. So I end up with caddy being reloaded on a fairly regular basis... which is how I got into the situation of having 15+ healthchecks per second. (I hadn't needed to restart caddy for ~30 days or so).

For whatever it's worth... I have just started poking around in the code to see if I can come up with a solid fix, but I'm pretty new to Go still.
It looks like it may just need a "stop" channel passed into the call to
go upstream.HealthCheckWorker(nil)

(here) instead of passing nil. Then I think it'd just be a matter of listening to the stop channel, and breaking from the HealthCheckWorker's ticker loop, here. Otherwise new healthcheck workers just get spun up with each call to inst.Restart(), since NewStaticUpstreams() appears to be called each time the proxy directive's setup() func is called—with an additive effect.
I could also be on the completely wrong track 😄

Oops, you're right. That's a TODO. 😓 Those goroutines need to be shut down with the server when restarted.

I suggest implementing the technique described by Rachel in https://rakyll.org/leakingctx/


Add control for resampling images

This PR changes the default value of --pipeline.datamanager.train-num-images-to-sample-from to 300 to avoid OOM when caching train data for large datasets. Also, the configuration --pipeline.datamanager.train-num-times-to-repeat-images is added which controls how often to resample images from the total dataset, if it is too large to cache.
The Record3D data parser's --max_dataset_size configuration is now bypassed, since the handling of cached data is done better in the DataLoader.
I also add some console debug logging, to warn users when not all the training images are being used.
Looking for feedback on this PR!
This finishes the remaining tasks in #833

@tancik Thanks for taking the time to give feedback! :)


Instead of a patch, why not submit a PR?

Other than the fact that it'll probably sit in the queue for a while, that is.

I submitted the patch to vlad's fork and it's already merged to upstream, so the patch for vlad's fork is no longer needed.
I don't know if a111 will ever come back though.

It seems a111 is back, at least on the dev branch
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/dev
The patch doesn't work, so I had to do the changes manually in the files


Add search box to view content from other accounts

Enables copying of public items like described in #43.
Create tabs at the top of the left hand column:

My Content
Search for Content (or some better name)

Switching to the search tab lets you submit an advanced search and copy those items to a destination account you own.

Added in #64.


⚠ Samsung has degraded performance

In ada1da6, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2558 ms

Resolved: Samsung performance has improved in 7e1ebbb.


Investigate pragma once for header files

Now that we can compile on lassen, we should test for convenience C++ feature such as pragma once.

The working compiler configuration on Lassen supports #pragma once - are there any other convenience features that should be investigated?


Cannot take the mean of single or two axis euler rotations

Note that mean() is fully broken on master. To reproduce this you'll have to checkout the fix/mean branch on my fork (will be merged after I write a test) and do the following.
julia> r=[RotZ(pi/2) for _ in 1:5000];

julia> mean(r)
ERROR: MethodError: RotZ{Float64}(::Quat{Float64}) is ambiguous. Candidates:
  (::Type{RotZ{T}})(theta) where T in Rotations at /home/colinxs/workspace/Rotations.jl/src/euler_types.jl:17
  (::Type{SA})(a::StaticArrays.StaticArray) where SA<:StaticArrays.StaticArray in StaticArrays at /home/colinxs/.julia/packages/StaticArrays/mcf7t/src/convert.jl:5
Possible fix, define
  (::Type{RotZ{T}})(::StaticArrays.StaticArray)
Stacktrace:
 [1] mean(::Array{RotZ{Float64},1}) at /home/colinxs/workspace/Rotations.jl/src/mean.jl:50
 [2] top-level scope at none:0

julia> r2=[RotXY(0,pi/2) for _ in 1:5000];

julia> mean(r2)
ERROR: Cannot construct a two-axis rotation from a matrix
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] Type at /home/colinxs/workspace/Rotations.jl/src/euler_types.jl:232 [inlined]
 [3] Type at /home/colinxs/.julia/packages/StaticArrays/mcf7t/src/convert.jl:5 [inlined]
 [4] mean(::Array{RotXY{Float64},1}) at /home/colinxs/workspace/Rotations.jl/src/mean.jl:50
 [5] top-level scope at none:0

julia> r3=[RotXYZ(0,0,pi/2) for _ in 1:5000];

julia> mean(r3)
3×3 RotXYZ{Float64}(3.14159, 0.0, 3.14159):
 -1.0          -1.22465e-16   0.0
 -1.22465e-16   1.0          -1.22465e-16
  1.49976e-32  -1.22465e-16  -1.0

Hmm... this is unfortunate - we should fix this.
I'm also wondering if mean should just do the AbstractArray thing (not return a rotation) and we should have some other function for mean rotations (or closest orthogonal matrix or whatever)?


Check for toml file before creating package instances

When installing a package with a wrong path via package_manager actor or j.tools.threebot_packages or even from the dashboard, we cannot deal with it later, because it checks for the package.toml in _init method.
This need to be refactored, factory should have something like from_toml or so, instead of checking for the package.toml file after getting an instance.
3BOTDEVEL:3bot:~: kosmos -p
JSX> j.tools.threebot_packages.get("aa.bb")
Fri 17 15:04:20 e/ThreeBotPackage.py - 307 - config_load                        : EXCEPTION:
    cannot find config file in path /package.toml for package aa.bb
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in get
    120    jsconfig = self._create(name=name, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _create
    96    jsconfig = jsconfig_klass(parent=self, jsxobject=jsxobject, **kwargs_to_class)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in __init__
    66    self._init(**kwargs)
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackageBase.py in _init
    12    self.config_load()
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in config_load
    307    raise j.exceptions.Input(f"cannot find config file in path {tomlfile} for package {self.name}")
-----------------------------

Even when trying to delete it:
JSX> j.tools.threebot_packages.delete("aa.bb")
Fri 17 15:05:14 e/ThreeBotPackage.py - 307 - config_load                        : EXCEPTION:
    cannot find config file in path /package.toml for package aa.bb
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in delete
    302    self._delete(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _delete
    306    child = self._get(name=name, die=False)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _get
    179    res = self.find(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in find
    263    item = self.get(id=id, reload=reload)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in get
    116    jsconfig = self._get(name=name, id=id, die=needexist, reload=reload)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _get
    171    return self._create(name, obj)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _create
    96    jsconfig = jsconfig_klass(parent=self, jsxobject=jsxobject, **kwargs_to_class)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in __init__
    66    self._init(**kwargs)
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackageBase.py in _init
    12    self.config_load()
/sandbox/lib/jumpscale/Jumpscale/tools/threebot_package/ThreeBotPackage.py in config_load
    307    raise j.exceptions.Input(f"cannot find config file in path {tomlfile} for package {self.name}")
-----------------------------

Scenarios

adding a package and package.toml doesn't exist:
will not add the package and raises an exception

Existing package and package.toml is missing
will remove the package and raise an exception

verified.


fixes deprecations for sudo -> become and always_run -> check_mode

This change is

cla /done

/lgtm
/approve


passing missing parameters to ZarrStore.open_store when opening a datatree

[ x] Closes #9376
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

Nice catch. Does this make opening the store as fast as you would expect?

Yeap. In the example provided here it went from 2 mins to 5 secs


Update Ionicons to 4.4.6

Please update. It has got a lot of improved and new icons. 🙏
https://ionicons.com/

I had missed to clear cache and rebuild the project. I could find the updated icon sets.


⚠ Bofrost.lu has degraded performance

In 0922b19, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 979 ms

Resolved: Bofrost.lu performance has improved in 0d2efd1 after 8 minutes.


bug: Notifications seems block ui.select

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.1
Operating system/version
Arch Linux
Describe the bug
When there is notification, ui.select seems to be blocked from being shown. Hitting escape/q makes it visible and disappear without taking any input.
Issue appears with both nvim-notify and mini
Issue appears with notify.replace = true
Steps To Reproduce

Open nvim with provided repro.lua
Use keymap to trigger notification followed by ui.select

Expected Behavior
Destroy the notification or move it down and let ui.select come to foreground and accept user input.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
        {
            "folke/noice.nvim",
            config = true,
            event = "VeryLazy",
            dependencies = {
                "MunifTanjim/nui.nvim",
                -- "rcarriga/nvim-notify",
            }
        }
    }
})

local function get_selection(choices, selection_opts)
    local co = coroutine.running()
    local selection_made = false
    local selected_choice = nil

    vim.schedule(function()
        vim.ui.select(choices, selection_opts, function(choice)
            selection_made = true
            selected_choice = choice
            if co then
                coroutine.resume(co)
            end
        end)
    end)

    if co and not selection_made then
        coroutine.yield()
    end
    return selected_choice
end

local function test_input()
    vim.notify("Send notification")
    local os_choices = {
        "Linux",
        "macOS",
        "Windows",
    }

    get_selection(os_choices, {
        prompt = ("Choose remote OS (found OS '%s'): "):format(os),
        format_item = function(item)
            return ("Remote host is running %s"):format(item)
        end,
    })
end

vim.g.mapleader = " "

vim.api.nvim_set_keymap('n', '<leader>t', '', {
    noremap = true,
    callback = test_input
})

I have the same issue,
The workaround of downgrading to 4.4.7 also worked for this issue.

Downgrading did not solve this for me. However hacking into vim.ui.select, for instance by installing telescope-ui-select.nvim, did it.

+1, installed dressing.nvim to fix this behavior, disabled input, only need vim.ui.select

This is still an issue.  Confirming work around of using dressing.nvim (defaulting to telescope) for selection worked well for me.

This is an issue, yes. It seems to be because ui.select() seems to want synchroneous user input, so nvim-notify only gets the chance to render the first frame of the notification animation. As a workaround, I modified the default animation to skip the fade-in animation, which I actually seem to prefer.
As a more permanent fix, I think we need a better UI for selections instead of relying on nvim-notify.
https://github.com/dapetcu21/nvim-notify/tree/slide-out
{
    "dapetcu21/nvim-notify",
    branch = "slide-out",

    config = function ()
      local notify = require("notify")

      notify.setup({
        render = "wrapped-compact",
        stages = "slide_out", -- <==== This is the workaround
      })
      vim.notify = notify
    end,
  },

I am also facing this issue. Installing telescope-ui-select allowed me to get around this.

+1, still an issue. Code actions are shown in notifications and therefore cannot be selected.

This issue still persists in 4.6.0 when using nvim-notify (uncommented the dependency in the above repro).
I am on nvim v0.10.0 and Windows 11.

tested 4..60 on nvim 0.10.0 on ubuntu and osx.
still seeing this issue as well.


Low-priority UI element nits

Issue by @colleenm:
general / all pages

[x] language menu should be 100% opacity, not transparent -- currently looks weird with the text behind it
[x] upper-left github link should open in a new tab (most important for report view but should be consistent)

report creation: csv upload & config

[x] in the info bubbles, headings are about 50% bigger than they need to big
[x] there is a pipeline icon in the lower-right corner that has a pointer cursor on hover but does nothing when clicked -- why is this here? if it's meant to indicate "you're on a the report generation page," remove the pointer cursor on hover
[x] red outlines on text inputs usually indicate error states, not focus states. change the text input focus colors on this page to be blue, which usually indicates focus (or yellow-orange if someone really wanted contrast with the rest of the blue UI :) )

report view

[x] the box with the bubble view is oddly placed relative to the text below it -- should be centered, and maybe a little larger.
[x] the box with the bubble view would look better with a border or box shadow when a user zooms into a cluster (TODO @colleenm give exact spec for this when site is live again)

there is a pipeline icon in the lower-right corner that has a pointer cursor on hover but does nothing when clicked -- why is this here? if it's meant to indicate "you're on a the report generation page," remove the pointer cursor on hover

This functionality probably needs to be stripped out.

Head over to a report that is not your own, e.g https://tttc-turbo.web.app/report/mina-protocol
Click on the lower right pipeline icon shows the pipeline to non report-owners

Done.


FEAT: file locking

Making file writing atomic is a great feature.  Another feature that might be a good fit is locking files for e.g. appends.
Use Case: I have multiple processes that periodically write (append) to a log file "example_shared_log.txt" and need to prevent them from clobbering each other.  One way to accomplish this is with fcntl:
def locked_write(fd, content):
    fcntl.flock(fd, fcntl.LOCK_EX)
    try:
        fd.write(content)
    finally:
        fcntl.flock(fd, fcntl.LOCK_UN)
        fd.close()

but that loses atomicity.  A better solution would be to combine a lock on the original path with the rotation that atomicwrites uses.
If I put together a PR, would a feature like this be welcome?

I think it's out of scope for this library, sorry.


Reverse dns for IPv6

When creating a reverse DNS entry, it works fine for IPv4. But when you make one for IPv6 you have to specify what ending of the IPv6 you want the entry for, because Hetzner gives you a ::/64 IPv6 subnet.

Example of the IPv6 reverse DNS entry

Create a input field for users to specific what part of the ::/64 IPv6 subnet they want to use.


Issues with pharokka_multiplotter.py: IndexError: index -1 is out of bounds for axis 0 with size 0

pharokka version: 1.7.2
Python version: 3.10.12
Operating System: Ubuntu 22.04.4 LTS (Jammy Jellyfish)

Description
Hello,
I ran pharokka on a contigs.fasta file with 55 contigs, this completed successfully. Next I was running pharokka_multiplotter.py on the output pharokka.gbk file, and the command crashed with the following output below.
Please help thank you
What I Did

/home/aryeh/pharokka-1.7.2/bin/./pharokka_multiplotter.py -g pharokka.gbk -o pharokka_plots_output_directory
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:103 - Starting Pharokka v1.7.2
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:104 - Running pharokka_multiplotter.py to plot your phages.
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:105 - Command executed: Namespace(genbank='pharokka.gbk', outdir='pharokka_plots_output_directory', force=False, label_hypotheticals=False, remove_other_features_labels=False, title_size='20', label_size='8', interval='5000', truncate='20', dpi='600', annotations='1', plot_title='Phage', label_ids='')
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:106 - Repository homepage is https://github.com/gbouras13/pharokka
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:107 - Written by George Bouras<EMAIL_ADDRESS>2024-06-24 13:20:32.493 | INFO     | __main__:<module>:108 - Checking your inputs.
2024-06-24 13:20:32.493 | INFO     | __main__:<module>:194 - All files checked.
2024-06-24 13:20:32.674 | INFO     | __main__:<module>:244 - Plotting contig_1
2024-06-24 13:20:34.830 | INFO     | __main__:<module>:244 - Plotting contig_10
2024-06-24 13:20:36.539 | INFO     | __main__:<module>:244 - Plotting contig_11
2024-06-24 13:20:38.375 | INFO     | __main__:<module>:244 - Plotting contig_12
2024-06-24 13:20:40.120 | INFO     | __main__:<module>:244 - Plotting contig_13
2024-06-24 13:20:41.692 | INFO     | __main__:<module>:244 - Plotting contig_14
2024-06-24 13:20:43.284 | INFO     | __main__:<module>:244 - Plotting contig_15
2024-06-24 13:20:44.818 | INFO     | __main__:<module>:244 - Plotting contig_16
2024-06-24 13:20:46.423 | INFO     | __main__:<module>:244 - Plotting contig_17
2024-06-24 13:20:48.095 | INFO     | __main__:<module>:244 - Plotting contig_18
2024-06-24 13:20:49.671 | INFO     | __main__:<module>:244 - Plotting contig_19
2024-06-24 13:20:51.247 | INFO     | __main__:<module>:244 - Plotting contig_2
2024-06-24 13:20:53.248 | INFO     | __main__:<module>:244 - Plotting contig_20
2024-06-24 13:20:54.761 | INFO     | __main__:<module>:244 - Plotting contig_21
2024-06-24 13:20:56.273 | INFO     | __main__:<module>:244 - Plotting contig_22
2024-06-24 13:20:57.790 | INFO     | __main__:<module>:244 - Plotting contig_23
2024-06-24 13:20:59.328 | INFO     | __main__:<module>:244 - Plotting contig_24
2024-06-24 13:21:00.970 | INFO     | __main__:<module>:244 - Plotting contig_25
2024-06-24 13:21:02.485 | INFO     | __main__:<module>:244 - Plotting contig_26
2024-06-24 13:21:03.950 | INFO     | __main__:<module>:244 - Plotting contig_27
2024-06-24 13:21:05.499 | INFO     | __main__:<module>:244 - Plotting contig_28

/home/aryeh/.local/lib/python3.10/site-packages/pycirclize/circos.py:888: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.
  fig = plt.figure(figsize=figsize, dpi=dpi, tight_layout=True)

2024-06-24 13:21:07.063 | INFO     | __main__:<module>:244 - Plotting contig_29
2024-06-24 13:21:08.539 | INFO     | __main__:<module>:244 - Plotting contig_3
2024-06-24 13:21:10.432 | INFO     | __main__:<module>:244 - Plotting contig_30
2024-06-24 13:21:11.857 | INFO     | __main__:<module>:244 - Plotting contig_31

Traceback (most recent call last):
  File "/home/aryeh/pharokka-1.7.2/bin/./pharokka_multiplotter.py", line 246, in <module>
    create_single_plot(
  File "/home/aryeh/pharokka-1.7.2/bin/plot.py", line 970, in create_single_plot
    quantile_length = np.quantile(length_list, annotations)
  File "/home/aryeh/.local/lib/python3.10/site-packages/numpy/lib/function_base.py", line 4543, in quantile
    return _quantile_unchecked(
  File "/home/aryeh/.local/lib/python3.10/site-packages/numpy/lib/function_base.py", line 4555, in _quantile_unchecked
    return _ureduce(a,
  File "/home/aryeh/.local/lib/python3.10/site-packages/numpy/lib/function_base.py", line 3823, in _ureduce
    r = func(a, **kwargs)
  File "/home/aryeh/.local/lib/python3.10/site-packages/numpy/lib/function_base.py", line 4721, in _quantile_ureduce_func
    result = _quantile(arr,
  File "/home/aryeh/.local/lib/python3.10/site-packages/numpy/lib/function_base.py", line 4830, in _quantile
    slices_having_nans = np.isnan(arr[-1, ...])
IndexError: index -1 is out of bounds for axis 0 with size 0

Hi @aryehjc ,
Have you tried plotting contig_31 with the regular pharokka plot function? I suspect that it may just have no CDS (and so a plot would be a bit useless :) ). Alternatively, please upload it and I will try and replicate it.
George


研究一下

PR types

PR changes

Describe

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

点错了


Idea: "events with no instructors" on the main page

While working on the #221 I had an idea: we're highlighting events that do not have any instructors assigned in all_events view. We could put these events in the dashboard.
@gvwilson do you think this would be helpful?

On Mon, Mar 09, 2015 at 10:19:45AM -0700, Piotr Banaszkiewicz wrote:

… we're highlighting events that do not have any instructors
assigned in all_events view. We could put these events in the
dashboard.

For my earlier ideas on recording an event's instructor slots, see
1.  I'm not sure how useful it is to single out events with no
instructors when you're also interested in events that don't have
their desired complement of instructors.

Closing because we don't have space on index page anymore. And we show events without instructors for unpublished events.


homekit_switch  Please set HOMEKIT_PATH to esp-homekit-sdk repo (MEGH-2267)

What is causing this problem?

@oksimple Since you are trying to compile the homekit_switch example, you would indeed also require the esp-homekit-sdk repo. Have you followed the instructions in this example's README?

@shahpiyushv Yes, I strictly follow the documentation to compile, and I can compile several other examples successfully, but the compilation of homekit_switch fails.

@oksimple , none of the other examples require the esp-homekit-sdk, so they are expected to compile withoit requiring any additional setup. Have you explicitly followed these steps as per above mentioned README?
Setup
Compiling this example would need the esp-homekit-sdk repository. Clone it at a suitable location using:
git clone --recursive https://github.com/espressif/esp-homekit-sdk.git

Export the path to this repository using:
export HOMEKIT_PATH=/path/to/esp-homekit-sdk/

@shahpiyushv  thank you for your answer, I will try it later, and finally, can I use esp-rainmaker commercially?

@oksimple , sorry I forgot to reply to your second query. The public RainMaker is not allowed to be used for commercial purposes, but we do have commercial variants of ESP RainMaker. Please send an email to<EMAIL_ADDRESS>for more info.

Closing this issue as appropriate answer has been provided.

Where (from what path) should i start for typing "export HOMEKIT_PATH=/path/to/esp-homekit-sdk/" ? I can only from F:/GitHub/esp-idf. But it seems to not work:
F:\GitHub\esp-idf>export HOMEKIT_PATH=\GitHub\esp-homekit-sdk Setting IDF_PATH: F:\GitHub\esp-idf
When I try from other locations (e.g. from "F:\GitHub\esp-homekit-sdk" i see error that "'export' is not recognized as an internal or external command, operable program or batch file.".
I got stuck...


[EventRequest] Report "Copy G/L Budget Name": Event after finding GL Budget Name Entry

Hi, can you please implement the following Event? Thank you!
index a83cabc..538dd76 100644
--- a/CopyGLBudget.Report.al
+++ b/CopyGLBudget.Report.al
@@ -251,6 +251,7 @@ report 96 "Copy G/L Budget"
                 Commit();
             end;
         end else begin
+            OnPreReportOnFindGlBudgetName(GLBudgetName);
             BudgetDim1Code := GLBudgetName."Budget Dimension 1 Code";
             BudgetDim2Code := GLBudgetName."Budget Dimension 2 Code";
             BudgetDim3Code := GLBudgetName."Budget Dimension 3 Code";
@@ -617,5 +618,10 @@ report 96 "Copy G/L Budget"
             Message(Text011)
         end;
     end;
+
+    [IntegrationEvent(false, false)]
+    local procedure OnPreReportOnFindGlBudgetName(var GLBudgetName: Record "G/L Budget Name")
+    begin
+    end;
 }

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Opening log file crashes tree view colors of changed files

Hi :),
at first: I love this package because it fits nicely into my tool chain, so I am able to stay at atom watching the log file gets filled up with debug information. No need anymore to switch to terminal!
Unfortunately, the colors of changes files in the tree view crashes if the log file gets opened by terminal command "atom -a path/to/log".
Do you need more information about this? Maybe you are able to reproduce this bug on yourself.
Thanks & cheers,
Flo

Hi, I'm not sure I understand what '...the colors of changes files in the tree view... means. Could you add a screenshot that shows this. If something crashes, Atom normally presents to you a dialog for making a Github issue with details on the crash. Also if you say the tree view package crashes, you should point that issue to https://github.com/atom/tree-view.

Hey,
I just played a little bit around with your package and the atom core/atom core package. Sorry, this issue is not related to your package because the colors of the tree view are gone, too - even I had disabled/uninstalled your package.
Wishing you a good Sunday afternoon,
Cheers.


Add async support

Description
After a bit of thinking, I've determined a way to implement async support in the most minimal way possible.
By creating an AsyncRequestHandler and having variants of the *arrs (ex. AsyncSonarrAPI) use this subclass, this allows for the existing code to return async.
As a result, sonarr/radarr/readarr/etc models will not need to be modified to maintain async support.
Task List

[x] Create async request handler
[ ] Create async *arrs that use this new request handler
[ ] Develop some way of automatically rewriting the type hints for async *arrs endpoints to indicate that they are awaitable. Maybe using a mixture of typing.cast and inspect.getfullargspec?

Maybe the base class can inherit a ReturnType that all methods use? Not sure whether python type hinting is flexible enough to handle this though.

[ ] Add tests for async functions

Related issues

fix #149

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] CI / Tests update

How has this been tested

[ ] I have added new tests where required
[ ] I have run nox -s tests locally and passed
[ ] I have tested this feature in a python script

Closing this since the PR is stale, and I don't know when I'll have time to finish this.


Previews don't work with Next.js + frontend only

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3aqki25vehjct
Region
us-east-1
Amplify Hosting feature
Previews
Describe the bug
I've been attempting to setup frontend-only Previews for our Next.js app. Clicking "Deploy this version" in the Amplify Hosting console works for a specific branch however, when submitting a PR, Amplify Hosting attempts to either build the backend or cannot find the aws-exports.js file.
version: 1
env:
    variables:
        AMPLIFY_BACKEND_PULL_ONLY: true
backend:
    phases:
        build:
            commands:
                - '# Execute Amplify CLI with the helper script...'
                - amplifyPush --simple
frontend:
    phases:
        preBuild:
            commands:
                - yarn install
                - export NODE_OPTIONS="--max-old-space-size=5120"
        build:
            commands:
                - yarn run build
    artifacts:
        baseDirectory: .next
        files:
            - '**/*'
    cache:
        paths:
            - node_modules/**/*

Expected behavior
In the documentation for Previews, there is a section that looks promising by stating:
For full-stack applications do one of the following:

Choose, Create new backend environment for every Pull Request. This option enables you to test changes without impacting production.

Choose Point all Pull Requests for this branch to an existing environment.

These options do not exist. Have they been removed?
I've made sure that the "Enable full-stack deployments" option is off.

I've tried removing this section:
backend:
    phases:
        build:
            commands:
                - '# Execute Amplify CLI with the helper script...'
                - amplifyPush --simple

but this results in the aws-exports.js not found issue...
If I include the backend section, this error occurs:
2022-06-22T08:24:34.270Z [INFO]: ----- 🪝 pre-push execution start -----
2022-06-22T08:24:34.316Z [INFO]: TypeError: Cannot read property 'envName' of undefined
                                 at updateAppSyncAPIAdminRoles (/codebuild/output/src801838739/src/------------/amplify/hooks/pre-push.js:11:38)

The above error may be something different entirely from the issue I'm facing whereby the pre-push hook doesn't receive the correct variables...
Here is the relevant section of code in my pre-push script.
const parameters = JSON.parse(fs.readFileSync(0, { encoding: 'utf8' }));
/**
 * Updates the custom-roles.json file in AppSync API backend folder.
 */
const updateAppSyncAPIAdminRoles = () => {
    try {
        // Get the amplify environment
        const amplifyEnvironment = parameters.data.amplify.environment;
        const envName = amplifyEnvironment.envName;

Reproduction steps

Setup Previews for a Next.js site that also has an amplify backend folder.
Create a PR.
See that the PR fails and tries to create the backend, or does not include the aws-exports.js file.

Build Settings
version: 1
env:
    variables:
        AMPLIFY_BACKEND_PULL_ONLY: true
backend:
    phases:
        build:
            commands:
                - '# Execute Amplify CLI with the helper script...'
                - amplifyPush --simple
frontend:
    phases:
        preBuild:
            commands:
                - yarn install
                - export NODE_OPTIONS="--max-old-space-size=5120"
        build:
            commands:
                - yarn run build
    artifacts:
        baseDirectory: .next
        files:
            - '**/*'
    cache:
        paths:
            - node_modules/**/*

Additional information
No response

Hi @kylekirkby 👋🏽 We have not removed those options from the console. I just tried to repro and was able to successfully create a preview with my SSR app. I 'm also able to see these options in the console:

I'm going to research this further to determine why you are not able to see these options.

Hi @kylekirkby, can you try the following steps to see if you are then presented with the "Manage preview settings for branch" workflow:

Disable PR previews on your develop branch
Navigate to App settings -> General -> Reconnect repository
Enable PR previews on your develop branch

Additionally, you can setup frontend only PR Previews as follows:

Remove the backend phase from your buildSpec (amplify.yml file)

version: 1
frontend:
    phases:
        preBuild:
            commands:
                - yarn install
                - export NODE_OPTIONS="--max-old-space-size=5120"
        build:
            commands:
                - yarn run build
    artifacts:
        baseDirectory: .next
        files:
            - '**/*'
    cache:
        paths:
            - node_modules/**/*

Set the AMPLIFY_SKIP_BACKEND_BUILD environment variable to true within your app: https://docs.aws.amazon.com/amplify/latest/userguide/environment-variables.html#amplify-console-environment-variables:~:text=AMPLIFY_SKIP_BACKEND_BUILD
Create a PR and it should only run the frontend build phase.

Hi @Jay2113 ,
We've dropped the idea of using Amplify Hosting now. We spent too much time trying to get things working. I do remember trying the above approach and remember that it still failed to build. Either the backend build was still attempted or we got a missing aws-exports.js file error.
The missing options issue, I think, came from the fact that when I connected the repo initially to Amplify Hosting, a new project was created with the name of the repo instead of being added to the existing project in Amplify Hosting. Essentially we ended up with two Amplify projects somehow...
Sorry I can't be of more assistance in debugging this one but we're sticking with serverless-nextjs for now.


Hard code axes ranges in filter representations

The axes in the filter representations are currently calculated based o the data samples. This can lead to confusion as different axes may have different ranges in the samle plot.
Instead, we should calculate reasonable ranges for each representation and have them as static configurations.

I'm not sure but i think this is solved in #434
see src/script/utils/FilterLimits.ts
Perhaps we just need to move the limits inside StaticConfiguration?


ci: Use FOSSA in dependency review workflow

Closes #6393

@tayloramurphy @DouweM could you please review the FOSSA report at https://app.fossa.com/projects/custom%2B32406%2Fgithub.com%2Fmeltano%2Fmeltano/refs/branch/6423%2Fmerge/6292392c8423e6255a44806e1f07c9c8a29def36, and resolve the alerts for licenses that are acceptable. For the licenses that are unacceptable, we'll have to find ways to remove the dependencies that introduce them.
I've gone ahead and resolve the alters for licenses that seem acceptable, and for the cases where FOSSA misidentified licenses (e.g. detecting a GPL license within some example code or docs that aren't part of the library itself).

The official FOSSA GitHub action doesn't provide a link to the report in the step that reports the error (fossa test), and it doesn't use a fixed version of fossa-cli, so I'm going to make a custom action that uses fossa-cli.

This same workflow is also being added to the SDK: https://github.com/meltano/sdk/pull/831

The official FOSSA GitHub action doesn't provide a link to the report in the step that reports the error (fossa test), and it doesn't use a fixed version of fossa-cli, so I'm going to make a custom action that uses fossa-cli.

Before reading this, I posted and deleted a comment asking if you'd considered their github action.


More coverage

Goal : 80 %

Coverage increased (+2.4%) to 73.928% when pulling a7859e43c4a417f83c88c5457fcb9dece0c41d30 on Coverage into 9f685f47b29b78bf52e31b3cdb2d4e92211f37ce on dev.


Question

Hi,
Could you add it to Mozilla Firefox add-on marketplace
Or there is special requirement, that make it impossible for now ?
Thanks you

Hello!
We are working on a completely new version of the extension with a popup directly integrated into the Epitech intranet website.
So, it's not a priority at the moment.However, it's the next update because a lot of people have asked to add it to Firefox.