Webpack and Docker

We should add instructions how to use them together or raise a warning if both of them are selected.
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python3.5/site-packages/django/core/handlers/wsgi.py", line 177, in __call__
    response = self.get_response(request)
  File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 230, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 289, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File "/usr/local/lib/python3.5/site-packages/django_extensions/management/technical_response.py", line 6, in null_technical_500_response
    six.reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/site-packages/six.py", line 686, in reraise
    raise value
  File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 174, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py", line 172, in get_response
    response = response.render()
  File "/usr/local/lib/python3.5/site-packages/django/template/response.py", line 160, in render
    self.content = self.rendered_content
  File "/usr/local/lib/python3.5/site-packages/django/template/response.py", line 137, in rendered_content
    content = template.render(context, self._request)
  File "/usr/local/lib/python3.5/site-packages/django/template/backends/django.py", line 95, in render
    return self.template.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 206, in render
    return self._render(context)
  File "/usr/local/lib/python3.5/site-packages/django/test/utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/usr/local/lib/python3.5/site-packages/django/test/utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/loader_tags.py", line 69, in render
    result = block.nodelist.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/usr/local/lib/python3.5/site-packages/django/template/library.py", line 201, in render
    output = self.func(*resolved_args, **resolved_kwargs)
  File "/usr/local/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py", line 40, in render_bundle
    return render_as_tags(_get_bundle(bundle_name, extension, config))
  File "/usr/local/lib/python3.5/site-packages/webpack_loader/templatetags/webpack_loader.py", line 32, in _get_bundle
    bundle = get_loader(config).get_bundle(bundle_name)
  File "/usr/local/lib/python3.5/site-packages/webpack_loader/loader.py", line 54, in get_bundle
    assets = self.get_assets()
  File "/usr/local/lib/python3.5/site-packages/webpack_loader/loader.py", line 33, in get_assets
    return self._load_assets()
  File "/usr/local/lib/python3.5/site-packages/webpack_loader/loader.py", line 26, in _load_assets
    self.config['STATS_FILE']))
OSError: Error reading /app/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?

Nodejs needs to be available for the npm commands to work (the missing webpack-stats.json is generated when you run npm start). I'm not very familiar with docker but I can look into including node somehow.

Thanks! This was more of a reminder for myself than a call to action :)
I've managed to create a working hybrid setup with python running in docker and node running locally.
I'd love to move node into it's own container tough. There are some missing parts to do that:

the node server has to be started on <IP_ADDRESS>
there needs to be a command to run the node server on it's own, without calling python manage.py runserver. I've tried to run node run dev, but this didn't work.
I need to find a way to safely bake npm install into the image.

I´m not using docker, just webpack on a windows machine, and having this same error. First I changed the start script adding SET to NODE_ENV and it was able to start without errors, but when I request any route it fails. Any advice?
Thanks

@OkuraSt I'm not familiar with windows machines so any troubleshooting you do would be helpful information to make this webpack setup work better with windows.
That's react-router intercepting the routes. There's a redirect you can remove in routes.js that will stop this behavior.
It might be a good idea to remove react-router from the webpack project because it really depends on how you want to configure your project to route. If you want to use react to control routes it makes sense to use it but if you're using django for routes you may not want to use react-router.

@jayfk do you found way to use docker with webpack together? Can you tell me how to do this or show me config files? I mean

a working hybrid setup with python running in docker and node running locally

Thank you.
ps sorry for my English

@jayfk  Is this now moot since the webpack/react extravaganza has been removed from the main project?


[#51] Support Sealed Boxes API

Introduced new module LibSodium.Bindings.SealedBoxes that holds two function bindings (cryptoBoxSeal and cryptoBoxSealOpen) and one constant cryptoBoxSealbytes
Fixed #51

@s-and-witch Can you check the module links generated by cabal haddock libsodium-bindings  --open all work? I'm suddenly not that certain that single quotes also work for module names.

@s-and-witch Can you check the module links generated by cabal haddock libsodium-bindings --open all work? I'm suddenly not that certain that single quotes also work for module names.

Now everything linked right

@s-and-witch Thank you very much for this PR!!


Adding delete of namespaces

Description
Deleting namespaces based on a namespace regex string and/or label_selectors
Fixes
https://github.com/cloud-bulldozer/kraken/issues/122

Can one of the admins verify this patch?


Add Spring Boot Documentation

Summary
Add Spring Boot Documentation to our Docs + Readme
How was it tested?
yarn start on localhost

LGTM


Deploy Failed without Guide for resolution

Describe the bug
We have a project we are just starting, and it fails to properly deploy.
Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)
Steps to reproduce
Steps to reproduce the behavior:

created project and it all worked well till deployment ending with this message.

Expected behavior
Deploy and preview.

@sosensible As the error message says, with a Cloudflare free plan you can only deploy an app which is 1 MB or less (gzipped). So you must be including a heavy package in your app. You should get a paid plan for your app.
E.g. this is from the build logs for one of my small apps which deploys successfully.
Σ Total size: 1.17 MB (334 kB gzip)
This app has the below dependencies
"dependencies": {
  "@iconify-json/simple-icons": "^1.1.104",
  "@nuxt/eslint": "^0.3.13",
  "@nuxt/ui": "^2.16.0",
  "@nuxthub/core": "^0.6.4",
  "@nuxtjs/i18n": "^8.3.1",
  "@nuxtjs/sitemap": "^5.2.0",
  "nuxt": "^3.11.2",
  "nuxt-simple-robots": "4.0.0-rc.17"
}

The 1MB worker limit is quite annoying indeed and it can easily go over if you use a package like @nuxt/content
Honestly the $5/month plan is the best investment I made so far and you can host up to 500 Nuxt applications with it.

I cannot find which plan says there is an increased limit. They did have a page to sign up for a beta of increased limits. A friend sent me the link, and I am hoping they will do that, but if you have some docs that say the $5 a month will work, I will go ahead and do that.

You can go on https://hub.nuxt.com/pricing and scroll down do the Cloudflare pricing, I worked on regrouping most of their pricing.
When clicking on the Cloudflare Workers card you will be redirected to Cloudflare docs, then on clicking on Limits, you will finally find it: https://developers.cloudflare.com/workers/platform/limits/#worker-size
I know, they should improve their docs/marketing 😅
But they do have a very competitive pricing as they are in stocks and not a startup anymore and got a very powerful network.

I think I found it, and it was easier than navigating AWS. (a.k.a. less painful, or as you said, they could update these features)
Thanks!!!


🆕 Software Suggestion | Sharik

Basic Information
Name: Sharik
Category: File Sharing
URL: https://github.com/marchellodev/sharik
Description
Sharik makes the user able to share files under the same network. Files like jpg, png, gif, android apks, zip, rar, 7z, pdf, txt are supported, available for Linux systems, Android and others.
Why I am making the suggestion
There's no centralized server. This software would work well along with Briar.

Sharing videos isn't possible, there's no supoort for bluetooth connection and there's no encryption under roaming connection at the moment.
My connection with the software

There's no connections between me and the developer.

[x] I will keep the issue up-to-date if something I have said changes or I remember a connection with the software.

Sounds like a nice software but IMHO it doesn't add any value in terms of functionality or privacy compared to other already listed solutions such as wormhole, which works across the internet with just an ID and can send files of any size in a P2P manner and can bypass firewalls, and OnionShare which is fully privacy-friendly and can also share files of any size but is a bit more cumbersome.
I'm not part of the PTIO team but it is my understanding that for new apps to be listed, they either need to provide at least as much features (ie, being an alternative) or something more/new in terms of ergonomy or privacy compared to already existing solutions. Or if previously listed solutions are outdated because they are deprecated/unmaintained, this happens too.


Doc tests won't compile with rustc 1.42

[nix-shell:~/gimli]$ cargo test

...

   Doc-tests gimli
error[E0514]: found crate `stable_deref_trait` compiled by an incompatible version of rustc
  --> /Users/ggreif/gimli/src/lib.rs:48:9
   |
48 | pub use stable_deref_trait::{CloneStableDeref, StableDeref};
   |         ^^^^^^^^^^^^^^^^^^
   |
   = help: please recompile that crate using this compiler (rustc 1.42.0 (b8cedc004 2020-03-09))
   = note: the following crate versions were found:
           crate `stable_deref_trait` compiled by rustc 1.41.1: /Users/ggreif/gimli/target/debug/deps/libstable_deref_trait-d67f561f714a4168.rlib

error: aborting due to previous error

error: test failed, to rerun pass '--doc'

I am using a (mostly) stock
[nix-shell:~/gimli]$ rustc --version
rustc 1.42.0 (b8cedc004 2020-03-09)

That seems like a rustc or cargo bug. Try a cargo clean + cargo update.

Nope, that didn't help yet, I did
cargo update
cargo clean
cargo build
cargo test

with the same outcome. I'll watch this.
On 4/22/20, Philip Craig<EMAIL_ADDRESS>wrote:

That seems like a rustc or cargo bug. Try a cargo clean + cargo update.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/gimli-rs/gimli/issues/488#issuecomment-617650242

Are you sure that rustc and rustdoc have the same version?

[nix-shell:~/wasmtime]$ rustdoc --version
rustdoc 1.42.0 (b8cedc004 2020-03-09)
[nix-shell:~/wasmtime]$ rustc --version
rustc 1.42.0 (b8cedc004 2020-03-09)
I guess so. But my suspicion is that some tool picks up a different version.
I am running rustup from nixpkgs and don't have individual
components installed (in theory, of course my nix cache has a bunch of
stuff in it).
On 4/22/20, bjorn3<EMAIL_ADDRESS>wrote:

Are you sure that rustc and rustdoc have the same version?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/gimli-rs/gimli/issues/488#issuecomment-617708452

It looks like cargo picked rustc 1.41.1 to compile stable_deref_trait, but then used rustc 1.42.0 (b8cedc004 2020-03-09) to run rustdoc. Do you have rustc 1.41.1 somewhere?

$ ls -ld /nix/store/*rustc-1.41.1*/
dr-xr-xr-x 3 root nixbld  96 Jan  1  1970
/nix/store/5hl77iigq8fkm4a2hss6hfhbbg90spkk-rustc-1.41.1-doc/
dr-xr-xr-x 5 root nixbld 160 Jan  1  1970
/nix/store/cp7zz8jvz9kfclacff457r7c0ybagpzh-rustc-1.41.1/

On my other server (Linux) there is no such thing, and cargo test succeeds.
On 4/22/20, bjorn3<EMAIL_ADDRESS>wrote:

It looks like cargo picked rustc 1.41.1 to compile stable_deref_trait,
but then used rustc 1.42.0 (b8cedc004 2020-03-09) to run rustdoc. Do you
have rustc 1.41.1 somewhere?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/gimli-rs/gimli/issues/488#issuecomment-617762281

Hmmm, I blew away both with nix-store --delete and now
$ cargo test
error: could not execute process `/nix/store/cp7zz8jvz9kfclacff457r7c0ybagpzh-rustc-1.41.1/bin/rustc -vV` (never executed)

Caused by:
  No such file or directory (os error 2)

so it looks like (the installation of) rustup picked up the reference (not using its own rustc) and now it's baked in. I'll reinstall rustup and retry.

What does whereis cargo return? ~/.cargo/bin/cargo or some file inside /nix/store?

There is no system cargo:
[nix-shell:~/wasmtime]$ whereis cargo

[nix-shell:~/wasmtime]$ which cargo
/nix/store/pg8393pra5ip2b8ihv4927lnx4mkm589-rustup-1.21.1/bin/cargo

[nix-shell:~/wasmtime]$ ls -l /nix/store/pg8393pra5ip2b8ihv4927lnx4mkm589-rustup-1.21.1/bin/cargo
lrwxr-xr-x 1 root nixbld 6 Jan  1  1970 /nix/store/pg8393pra5ip2b8ihv4927lnx4mkm589-rustup-1.21.1/bin/cargo -> rustup

This all is still a mystery to me (reinstalling ~/.rustup/ didn't work), but I strongly doubt that this is a gimli problem, so closing.

Okay, now I figured it out. Some nix-shell (along the waaaay) injected these gems into my env:
rustc=/nix/store/cp7zz8jvz9kfclacff457r7c0ybagpzh-rustc-1.41.1
RUSTC=/nix/store/cp7zz8jvz9kfclacff457r7c0ybagpzh-rustc-1.41.1/bin/rustc

Hmmm.


Update buffer size on scaled displays (macOS)

Might need testing in Windows and Linux

I close this PR because we should create the window in the developer defined window size.


chore: added template chooser

Summary
Adds a "template chooser" which customizes the view at: https://github.com/Kong/kong/issues/new/choose to include 2 new sections:

"Questions" section to help route users to participate in the Kong discussion forum
"Security Vulnerability" section to help users understand how to submit vulnerability inquiries.

 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.

Very nice! Is this in addition to or replaces the two default entries (Bug Report and Feature Request)?

This is 'in addition to' the two default entries bug report, feature request. The result is a list of 4 options when creating new issues.


Link to Sentinel documentation is incorrect post product rename

The link to get to the Sentinel docs to set up the MCAS connector is incorrect post rename.
Step 4 here:
https://docs.microsoft.com/en-us/defender-cloud-apps/siem-sentinel#how-to-integrate
Links to this:
https://docs.microsoft.com/en-us/azure/sentinel/data-connectors-reference#microsoft-cloud-app-security-mcas
It should be this link:
https://docs.microsoft.com/en-us/azure/sentinel/data-connectors-reference#microsoft-defender-for-cloud-apps

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

ID: c7baccc9-aded-5134-33bf-bdd20ca52637
Version Independent ID: 2c646a17-0782-0352-ced5-822354a68271
Content: Microsoft Sentinel integration with Defender for Cloud Apps
Content Source: CloudAppSecurityDocs/siem-sentinel.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your comment. We'll investigate and get back to you.

Thanks, we've updated the link.


Max in/out degree

New parallel methods in the Graph class to get the maximum in/out degree.

AppVeyor tests fail because MSVC does not support the OpenMP reduction. Please disable parallelism on Windows using #ifdef (@manpen what is the #ifdef that we should use for that?).

Thank you, I just used that and it worked.


Replace "blacklist/whitelist" terminology in Java APIs

Is your feature request related to a problem? Please describe.
Replace the "blacklist/whitelist" terminology in all Java APIs, including field, method, class, and package names.
The "Java APIs" refers to those packaged in Java libraries and are published to Maven (https://search.maven.org/search?q=g:org.opensearch https://mvnrepository.com/artifact/org.opensearch)
Impact:
All plugins, clients and tools that use OpenSearch Java APIs from OpenSearch Java libraries which contain non-inclusive terminologies have to make corresponding changes to call new APIs, if they want to upgrade the dependency to a future major version of OpenSearch.
A part of #1483
Describe the solution you'd like
Replace the "blacklist/whitelist" terminology with "denylist/allowlist" in all Java APIs that are exposed in Java libraries.
Describe alternatives you've considered
None.
Additional context
Locations of "blacklist/whitelist" in API of Java library:
1 Painless SPI - multiple classes with name “Whitelist”
Code: https://github.com/opensearch-project/OpenSearch/tree/1.0.0/modules/lang-painless/spi/src/main/java/org/opensearch/painless/spi
Javadoc: https://opensearch.org/javadocs/1.0.0/OpenSearch/modules/lang-painless/spi/build/docs/javadoc/org/opensearch/painless/spi/package-summary.html
2 Subclasses of the Painless SPI classes: ProcessorsWhitelistExtension
Code: https://github.com/opensearch-project/OpenSearch/blob/2.0.0/modules/ingest-common/src/main/java/org/opensearch/ingest/common/ProcessorsWhitelistExtension.java
The regex to filter the lines with public or protected class definition contains "whitelist" terminology:
(public|protected)(.)+(class|interface)\s(\w)*Whitelist
List of the classes need renaming:
In package org.opensearch.painless.spi
final Whitelist
final WhitelistClass
WhitelistClassBinding
final WhitelistConstructor
WhitelistField
WhitelistInstanceBinding
final WhitelistLoader
WhitelistMethod
interface WhitelistAnnotationParser
In package org.opensearch.ingest.common:
ProcessorsWhitelistExtension

I decided to add back the old usages of the public classes or interfaces that contains whitelist in the name, and deprecate them before directly replacing them, while keeping the new usages with allowlist name.

There is one usage of the impacted classes or methods in opensearch-project organization:
https://github.com/opensearch-project/alerting/blob/3b8bfe7c7b2cdc42a4da338af63edf9e1150cbd4/alerting/src/main/kotlin/org/opensearch/alerting/AlertingPlugin.kt#L115
which overriding the method Map<ScriptContext<?>, List<Whitelist>> getContextWhitelists()

There is one usage of the impacted classes or methods in opensearch-project organization

This appears to be used by the k-NN plugin as well

After an incomplete attempt to provide alternative allowlist APIs as well as keeping the existing whitelist APIs in PR https://github.com/opensearch-project/OpenSearch/pull/4101, I decided not to deprecate the whitelist APIs before removing in a future major version.


How to deal with dbpedia updates ?

How do you do to apply dbpedia/wikipedia updates to a database that already contains data ?

Drop the database and restart. This project is meant to do batch offline processing of the DBpedia dumps (released every couple of months or so) with fast bulk uploads (hence no integrity checks and delayed index creation). If you want online / incremental DBpedia access you should probably a regular triple store such as Jena TDB or Sesame along with the dumps provided by http://live.dbpedia.org/ and a crontab that applies the incremental changes from: http://live.dbpedia.org/liveupdates/

thanks.


Doc: improve examples

Why change the name of the module?

A module name ending with "Live" will be closer to other module names in a LiveView application. Example names from the official docs: MyAppWeb.ThermostatLive, DemoWeb.ClockLive.

Yes, but those are live views which are supposed to end in Live per phoenix conventions. On mount hooks I'm not sure if they should follow that convention (because then they look like live views)

But if there is phoenix convention for that we should follow it 👍

Hmm, not sure myself. I'll revert that filename change.

🚀 Thank you for your contribution! 🚀


Allow specifying remote when uploading

Fixes https://github.com/markdownreveal/markdownreveal/issues/28

@looneym By the way, did you take a look at #30? Does it work fine for you now?

Codecov Report

Merging #31 into master will decrease coverage by 0.29%.
The diff coverage is 12.5%.

@@            Coverage Diff            @@
##           master      #31     +/-   ##
=========================================
- Coverage   84.37%   84.07%   -0.3%
=========================================
  Files          13       13
  Lines         512      515      +3
  Branches       41       42      +1
=========================================
+ Hits          432      433      +1
- Misses         74       77      +3
+ Partials        6        5      -1

Impacted Files
Coverage Δ

markdownreveal/commands.py
46.6% <12.5%> (-0.34%)
:arrow_down:

markdownreveal/convert.py
84.74% <0%> (+1.13%)
: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 fa4251d...5ff0d31. Read the comment docs.

@Peque thanks for the review! I've updated the code, could you take another look please?


Using alias directives not supported

To solve conflicting type names C# supports using aliases i.e:
using ClassAlias = N1.N2.Class;
MSDN reference
Currently this gets treated as an namespace in Cake and fails.
Haven't looked into details yet if this is doable or not.

Shouldn't be a problem as long as Roslyn supports it. We should take a look at the using line processor and make sure it understands thst it should not process those lines. If using aliases need to appear at the top of the script, we might need some additional processing.

Should be resolved by #339 when merged.


new file:   .github/workflows/linters.yml

new file:   .gitignore
new file:   .hintrc
new file:   .stylelintrc.json
modified:   README.md
new file:   helloworld.html
new file:   package-lock.json
new file:   package.json
new file:   styles.css

please merge into main


Fix indexes examples

Coverage remained the same at 83.112% when pulling 05dcbbae4831161ff70f19f077ce06257f869808 on akreal:patch-1 into 066ec1750c44f47e1a34d0b9411b7c4068178383 on mongodb:master.

Thank you!


Some cookies are missing(?)

import browser_cookie3, rookiepy

print(f'{len(rookiepy.firefox())=}')
print(f'{len(browser_cookie3.firefox())=}')

print(len(rookiepy.firefox(['google.com'])))
print(len(browser_cookie3.firefox(domain_name='google.com')))

On my Windows 10 system the above scripts prints:
len(rookiepy.firefox())=675
len(browser_cookie3.firefox())=7104
47
51

Not sure if my method of comparison above is correct, but it looks to me that browser_cookie3 is able to find more cookies.

either cookies are missing or there are dupelicate cookies
is it possible you can check for dupelicates?

@5j9
You right, some cookies from current session are missing.
but from what you sent something is strange,
len(rookiepy.firefox())=675
len(browser_cookie3.firefox())=7104

what's the numbers 675 and 7104?

Not sure if my method of comparison above is correct

Me neither.
Idea: Print the cookies names.  With rookie and  for comparison with browser_cookie3.

Idea: Print the cookies names. With rookie and for comparison with browser_cookie3.

Here is another example with names printed:
import browser_cookie3, rookiepy

print('rookiepy:')
for c in rookiepy.firefox(['github.com']):
    print(c.name)

print('\n\nbrowser_cookie3:')
for c in browser_cookie3.firefox(domain_name='github.com'):
    print(c.name)

Prints:
rookiepy:
_octo
logged_in
_device_id
dotcom_user
fileTreeExpanded
_docs-events
user_session
__Host-user_session_same_site
has_recent_activity

browser_cookie3:
_octo
logged_in
dotcom_user
fileTreeExpanded
color_mode
preferred_color_mode
tz
_device_id
user_session
__Host-user_session_same_site
has_recent_activity
_gh_sess
ignored_unsupported_browser_notice
tz
_docs-events
_csrf
LiSESSIONID
_gh_sess
_helphub_session
state
logged
token
_support_session

what's the numbers 675 and 7104?

They are the result of python f-string evaluation.
print(f'{1+1=}')
# prints:
# 1+1=2

@5j9
Oh I see, but I'm still not sure how many cookies you have from each function
len(rookiepy.firefox())=675 <- this is the len?
len(browser_cookie3.firefox())=7104 <- this is the len?
47 <- what's that?
51 <- what's that?

Sorry for the messy example. I should've used the same syntax for all print statements. Basically

length of rookiepy.firefox()  was 675.

length of browser_cookie3.firefox()  was 7104.

length of rookiepy.firefox(['google.com'])) was 47.

length of rookiepy.firefox(['google.com'])) was 51.

Thanks.
I'm working on adding session cookies to rookie in firefox as well.
in the meanwhile, if it's possible for you to check again the length with little modification in browser_cookie3 it would be great.

Navigate to the browser_cookie3 folder (just click some function in your ide it should go there)
and then change here:

browser_cookie3/__init__.py LINE 980
browser_cookie3/__init__.py LINE 980
just comment out both in your library which you installed on your PC, and check again the lengths to see if it's the same as from rookiepy

comment out both in your library which you installed on your PC, and check again the lengths to see if it's the same as from rookiepy

After the change the difference is almost gone (actually rookiepy is showing a few more cookies this time):

length of rookiepy.firefox()  was 668.
length of browser_cookie3.firefox()  was 587.
length of rookiepy.firefox(['google.com']) was 47.
length of browser_cookie3.firefox(domain_name='google.com') was

Thanks for checking, that means it probably the reason,
I published new version which takes session cookies as well :)
You can update it with
pip install -U rookiepy

Great!
With the version 0.2.5 installed:
* length of `rookiepy.firefox()`  was 7401.
* length of `browser_cookie3.firefox()`  was 7096.

* length of `rookiepy.firefox(['google.com'])` was 6779.
* length of `browser_cookie3.firefox(domain_name='google.com')` was 50.

Note that now specifying domains seems have lost its filtering effect and rookiepy.firefox(['google.com']) returns an usually hight number of cookies.


Support receiving overly-simple specs without metadata/names

We do this both by inserting dummy values,
and by raising informative errors

One nit, otherwise LGTM.

Also generally, are you ok with me fixing such minor nits and pushing + merging? I know many people aren't, and some are :)

Definitely OK with it, especially in an early-stage project like this.

Done, will merge after tests pass!

  I'll remove it, fix the comment, and merge.

OMG, that is terrible :| I was trying to use vscode's git commit feature
ugh...
 I'll remove
it, fix the comment, and merge.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/daskernetes/pull/40#issuecomment-364689945, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAB23mGRJagszOZPIjIIfWNy-bsXxOiaks5tTf1cgaJpZM4SA_2i
.

--
Yuvi Panda T
http://yuvi.in/blog

Ha!

@mrocklin fixed it up properly now...

When it said 'commit all changes' I assumed it was going to do a 'git commit -a', not a 'git add .'!

I've already force-pushed.
I downloaded vscode yesterday as a result your tweet.  Still not using it day-to-day, but I'm looking forward to getting used to auto-complete/intellisense to see how to build projects to better support it.

Cool :)
Yeah, I'm always skeptical of any IDE's git support, but VSCode's python
autocomplete feels pretty good (and also makes it easier for me to write
docstrings, which is great!)
On Sat, Feb 10, 2018 at 12:37 PM, Matthew Rocklin<EMAIL_ADDRESS>wrote:

I've already force-pushed.
I downloaded vscode yesterday as a result your tweet. Still not using it
day-to-day, but I'm looking forward to getting used to
auto-complete/intellisense to see how to build projects to better support
it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/daskernetes/pull/40#issuecomment-364690160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAB23hhVmZyh9ZDfo8k4_8BBU0feYoA6ks5tTf4BgaJpZM4SA_2i
.

--
Yuvi Panda T
http://yuvi.in/blog

and also makes it easier for me to write docstrings, which is great!

I'll be curious to see how it motivates this :)

I found this extension
https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
which does exactly what I want. Could never find that for spacemacs /
vim!
On Sat, Feb 10, 2018 at 12:41 PM, Matthew Rocklin<EMAIL_ADDRESS>wrote:

and also makes it easier for me to write docstrings, which is great!
I'll be curious to see how it motivates this :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/daskernetes/pull/40#issuecomment-364690423, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAB23mXRJHNDBZtFXVY3rBNZbNYEaGsqks5tTf78gaJpZM4SA_2i
.

--
Yuvi Panda T
http://yuvi.in/blog


Select uses latest version if none is specified

Closes #85

Can you manually add release notes to "next-release.md" as I haven't completed all the work on that yet?

@Theodus with https://github.com/ponylang/ponyup/pull/140 merged, you can add a "regular release notes" file like "139.md" rather than modifying "next-release.md" directly and we can verify that works.

Release notes look good @Theodus. Any thoughts on test(s)?

The select command is currently tested through the automatic select that happens on update, so there isn't an easy way to add a test for this feature. Note for #48

@SeanTAllen I don't think the release notes bot worked

@Theodus yup. im a dumbass. can you...

remove your file and manually update next-release.md
rename .release_notes to .release-notes

thanks.

fixed: f67d4fd


Crash (Cannot read property of undefined on device.deviceType) with manually configured lights

What issue do you have? Please be as thorough and explicit as possible.
Manually configured two devices through the plugin UI
[Meross] [undefined] could not be initialised as Cannot read properties of undefined (reading 'toUpperCase') at default.initialiseDevice (file:///homebridge/node_modules/homebridge-meross/lib/platform.js:434:42).

here's that line in the code
      // Generate a unique id for the accessory
      const hbUUID = this.api.hap.uuid.generate(device.uuid);
      device.firmware = deviceConf.firmwareRevision || device.fmwareVersion;
      device.hbDeviceId = device.uuid;
      device.model = device.deviceType.toUpperCase().replace(/-+/g, '');

Details of your setup.
Homebridge v.1.6.0
homebridge-config-ui-x v4.50.2
Nodejs v18.13.0
Docker
homebridge-meross v9.0.2 (also happens in v9.0.1)
Two Meross Light Bulbs configured, both MSL120DR
Config
with the attempted workaround (below) included
        {
            "name": "Meross",
            "username": "xxx",
            "password": "xxx",
            "lightDevices": [
                {
                    "name": "Splash Lamp",
                    "serialNumber": "2103259766383090847348e1e967557e",
                    "connection": "local",
                    "deviceUrl": "<IP_ADDRESS>",
                    "deviceType": "msl120dr"
                },
                {
                    "name": "Desk Lamp",
                    "serialNumber": "2103259309682490847348e1e96757c9",
                    "connection": "local",
                    "deviceUrl": "<IP_ADDRESS>",
                    "deviceType": "msl120dr"
                }
            ],
            "_bridge": {
                "username": "xxx",
                "port": 0000
            },
            "platform": "Meross"
        }

Logs
[4/6/2023, 11:32:52 AM] [Meross] [Splash Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:32:52 AM] [Meross] [Desk Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:32:52 AM] [Meross] [undefined] could not be initialised as Cannot read properties of undefined (reading 'toUpperCase') at default.initialiseDevice (file:///homebridge/node_modules/homebridge-meross/lib/platform.js:433:42).
[4/6/2023, 11:32:52 AM] [Meross] [undefined] could not be initialised as Cannot read properties of undefined (reading 'toUpperCase') at default.initialiseDevice (file:///homebridge/node_modules/homebridge-meross/lib/platform.js:433:42).
[4/6/2023, 11:32:52 AM] [Meross] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!

attempted workaround
manually adding deviceType: "msl120dr" to each light's config doesnt work:
[4/6/2023, 11:34:16 AM] [Meross] Initialising plugin v9.0.2 | System linux | Node v18.13.0 | HB v1.6.0 | HAPNodeJS v0.11.0...
[4/6/2023, 11:34:16 AM] [Meross] Config entry [lightDevices.2103259766383090847348e1e967557e.deviceType] is unused and can be removed.
[4/6/2023, 11:34:16 AM] [Meross] Config entry [lightDevices.2103259309682490847348e1e96757c9.deviceType] is unused and can be removed.
[4/6/2023, 11:34:16 AM] [Meross] Plugin initialised. Setting up accessories....
[4/6/2023, 11:34:16 AM] Homebridge v1.6.0 (HAP v0.11.0) (Meross) is running on port 41911.
[4/6/2023, 11:34:18 AM] [Meross] [Splash Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:34:18 AM] [Meross] [Desk Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:34:18 AM] [Meross] [undefined] could not be initialised as Cannot read properties of undefined (reading 'toUpperCase') at default.initialiseDevice (file:///homebridge/node_modules/homebridge-meross/lib/platform.js:433:42).
[4/6/2023, 11:34:18 AM] [Meross] [undefined] could not be initialised as Cannot read properties of undefined (reading 'toUpperCase') at default.initialiseDevice (file:///homebridge/node_modules/homebridge-meross/lib/platform.js:433:42).
[4/6/2023, 11:34:18 AM] [Meross] ✓ Setup complete. This plugin has been made with ♥ by bwp91, please consider a ☆ on GitHub if you are finding it useful!

misread the code, the config actually needs to specify model, not deviceType. manually specifying this in the config does work, not sure why the field isn't in the plugin config UI or being set internally.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] has been added to Homebridge.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] initialising with options {"adaptiveLightingShift":0,"brightnessStep":1,"connection":"local"}.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] initialised with id [2103259766383090847348e1e967557e}].
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] has been added to Homebridge.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] initialising with options {"adaptiveLightingShift":0,"brightnessStep":1,"connection":"local"}.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] initialised with id [2103259309682490847348e1e96757c9}].

If you have your Meross username and password configured, the plugin will take the model from the cloud information, therefore not needed to be configured (and does not appear in the settings UI).
The option will appear in the settings UI when you specify a user key instead of user+pass.
I believe I have fixed the error you produced in a new beta version of the plugin. It was a particular mix of config entries that was a case I had not thought about! I know you have got this working yourself, I mean if you were to how you had your config when the error was appearing, with the beta it should no longer show this error.
Thanks for finding this!


[FligRPC][C++] Deprecate UCX prior to removal

Describe the enhancement requested
As a first step to remove UCX:

https://github.com/apache/arrow/issues/43296

We should deprecate it. This PR is to track the deprecation.
Some of the initial discussion can be followed here: https://github.com/apache/arrow/pull/43297#issuecomment-2550810967
Component(s)
C++, FlightRPC

Issue resolved by pull request 45080
https://github.com/apache/arrow/pull/45080


Give a more distinct name to the structure family currently called "node"

In Tiled we have defined structure families:
https://github.com/bluesky/tiled/blob/6b1ee862e571a6e6493f5446652996600ec98638/tiled/structures/core.py#L12-L16
One them is "node". It is a container that has no structure or data in itself, but it has children. It may correspond to a directory, a dictionary-like object, an HDF5 group, or any similar structure.
Confusingly, we also use the word "node" to refer to any object in tiled, whatever its structure. To give just one example, the endpoint /node/metadata/x/y/z accesses the metadata for the node at /x/y/z whether it's an "array" or "dataframe" or "node". We have received feedback from several directions that this is very confusing.
I propose to change

StructureFamily.node -> StructureFamily.container
tiled.client.Node -> tiled.client.Container

This is an important change but it is a fairly targeted one that I think will not affect very much code. Some aspects can be made backward-compatible, but not all.
Other names considered but rejected in favor of "container":

tree
mapping
group
collection

Discussed with @dylanmcreynolds

While we're at it I think we should simplify our URLs from /node/metadata, /node/search and /node/distinct to just /metadata /search and /distinct. The /node prefix made sense early on but now it's just extra typing.
From the perspective of "documentation-driven development" I like the idea of teaching...
http :8000/api/v1/metadata
http :8000/api/v1/search

That's still a bit of a mouthful due to the /api/v1 namespace, but it's one step more memorable than :8000/api/v1/node/metadata.
This can be done in a backward compatible way, with undocumented aliases or redirects.

My $0.02…

“container” is a good name for these StructureFamily objects
removing “node” from the URL paths is a useful simplification


Keep the name of vertex/edge expression.

Require https://github.com/vesoft-inc/nebula-common/pull/553

 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.


Show running version in UI

Is there a way to show the actual version (or git hash before release)  (UI, Server) in the UI ?

Do you mean git hash of your own microservices? Yes, it's possible. When the microservice instantiates Jaeger tracer, it can set tracer tags which will be shown in all spans under Process in the UI. For example, jaeger automatically captures its own library version and the host name as those Process tags. You can also add your microservice version / hash.

nice to know, but i meant to show the Jaeger Version self.

We can expand jaegertracing/jaeger-ui#113 to include the version or SHA of Jaeger services.
@yurishkuro What do you think?

just the sha of the query service.


Devices are not showing up

i followed the following tutorial by https://codelabs.developers.google.com/codelabs/smarthome-washer/#0
from start to end as it is but when i click on my [test] My App it redirects me to the same page (Add devices) and nothing happens. Also not a single device is shown in google home app

Have you tried this flow from different Android/iOS devices? Do you get the same behavior across them all?
You should also check in the StackDriver logs for your Actions project to see if any errors are being reported.

Got the same issue. Any update?
`D 2020-04-17T06:29:59.914250036Z fakeauth 8po8aa3o6puf Function execution started fakeauth 8po8aa3o6puf
I 2020-04-17T06:29:59.925Z fakeauth 8po8aa3o6puf https://oauth-redirect.googleusercontent.com/r/smarthomeproject-for-cod-143f2?code=xxxxxx&state=AFVGnUG9j4a3s78K-DHsFDHfp8OzUmLOiIa92Dsjtep-XeLD2I2Djey6XBZndMLcJQYxHRkwMgqT900u4M4fGW_LTH3BMdMZ12YcSqvihG8BKmYx1qN4M6ySEFgtzS4yVyZPSaHBMtrXM0JioqlbyTioW3ebEqIQkp9huYq-uh_LYeakNbGQqbO1jFGl_2K74ITCEqcndwiD3nzrDivWT4q7Yyf0BfLy5rEzSeFFAs0EGLJPekSVz3MlPME8DYPXaaGeoH1zlcl1jemw5WCt9jzlzxQZwKePXCgCkeBGiEgniO8ksekC8o6dm_arfC1DnBUh4xutEjV7PIvuZcjr-p3e3N3UeKIkai19x_91e6a4fqSY7YDQdlH9gEenamPe969OvwvEnIrZghfw8QxHdRljaxlN83JQPQAPc39DJxM8a9lSanCHBIFC9EF_hqMJQsBlGvhP6GzS1k0QdSHziPO1CfiifO7Q_-xbRVnSniYdInBdehHq2buf1IQ9sKkyk6Kw2ulwqLx_k4ZpiNPmcqRcP8lz2J09iWzhWsxeEAtv1ZDgV4ktHTgkdxjOLEbS498PKy3w_vi__zyC2aH8QH9JvrGAB6M1csT2cqbEYPYkxMpnxqQUD3PHrsqe8A_3-R6hfZknTLIkgxxVrq7bcmc_NKAsORByd3gT-JIbtrl5K2AybxOrkB6DOADAoPO1y143yIElYFP7 fakeauth 8po8aa3o6puf
D 2020-04-17T06:29:59.928137243Z fakeauth 8po8aa3o6puf Function execution took 14 ms, finished with status code: 302 fakeauth 8po8aa3o6puf
undefined
`
Can see these log entries in the logs.

We have observed this happening on some devices when there is no authorization UI presented, so we've added a fake login page to the codelab project to address this. Feel free to open a new issue if you are still experiencing the problem with the updated code.
Fixed with a1d4102f12e4e31aac0e550d5ad730fab6d70529


Multitech Conduit: mqtt-forwarder randomly enters an invalid state in which downlink are no longer sent sent to end-devices

What happened?
Using Multitech Conduit (MTCDT) gateway:
At some point during normal operation, the mqtt-forwarder will stop processing downlink correctly to end-devices (i.e: end-devices will no longer receive any downlink). However, uplinks from end-devices that already joined the network will continue to work as expected until they issue another join request, in which case they will never be able the join back since downlink stopped working.
From there, for each downlink received by the mqtt-forwarder, the following can be seen in logs (log truncated to keep only relevant messages, see Log Output section for full log):

2023-12-07T18:58:18.339111+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received uplink frame, uplink_id: 926004756
2023-12-07T18:58:18.339607+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending uplink event, uplink_id: 926004756, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/event/up
2023-12-07T18:58:18.736102+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received message, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down, qos: 0
2023-12-07T18:58:18.736680+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received downlink command, downlink_id: 416456622, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down
2023-12-07T18:58:18.737035+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending downlink frame, downlink_id: 416456622
2023-12-07T18:58:18.740470+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Enqueueing timestamped packet, downlink_id: 416456622, counter_us:<PHONE_NUMBER>, current_counter_us:<PHONE_NUMBER>
2023-12-07T18:58:18.838115+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Handling message error, error: Could not read down response
2023-12-07T18:58:19.300778+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Scheduled packet for TX, downlink_id: 416456622, count_us:<PHONE_NUMBER>, freq: 924500000, bw: 500000, mod: LoRa, dr: SF7
2023-12-07T18:59:12.029305+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Frame received, uplink_id:<PHONE_NUMBER>, count_us:<PHONE_NUMBER>, freq: 903700000, bw: 125000, mod: LoRa, dr: SF7
2023-12-07T18:59:12.032160+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received uplink frame, uplink_id:<PHONE_NUMBER>
2023-12-07T18:59:12.032640+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending uplink event, uplink_id:<PHONE_NUMBER>, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/event/up
2023-12-07T18:59:12.393714+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received message, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down, qos: 0
2023-12-07T18:59:12.394289+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received downlink command, downlink_id: 939217614, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down
2023-12-07T18:59:12.394646+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending downlink frame, downlink_id: 939217614
2023-12-07T18:59:12.406672+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Handling message error, error: Operation cannot be accomplished in current state

The MQTT forwarder will remain in this state, until the process is manually restarted.
NOTE: i've noticed this behavior only with the MTCDT (Multitech Conduit).
What did you expect
I'm expecting this error not to occur and downlinks continue to be processed correctly as it should.
Steps to reproduce this issue
Unfortunately, I haven't been able to systematically reproduce this issue all the time. It happens from time to time, randomly. Since uplinks continue to work as it should, it becomes only noticeable when we manually issue a downlink to a end-device and realizes that the downlink is not received by the end-device itself.
Log output

2023-12-07T18:58:18.339111+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received uplink frame, uplink_id: 926004756
2023-12-07T18:58:18.339607+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending uplink event, uplink_id: 926004756, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/event/up
2023-12-07T18:58:18.360461+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1ee8 Instr=0xe79a7009 Address=0xb6f50e52 FSR 0x001
2023-12-07T18:58:18.360595+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1f38 Instr=0xe7962007 Address=0xb6f50ee1 FSR 0x001
2023-12-07T18:58:18.371507+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1f40 Instr=0xe5992004 Address=0xb6f50ee5 FSR 0x001
2023-12-07T18:58:18.736102+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received message, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down, qos: 0
2023-12-07T18:58:18.736680+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received downlink command, downlink_id: 416456622, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down
2023-12-07T18:58:18.737035+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending downlink frame, downlink_id: 416456622
2023-12-07T18:58:18.740470+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Enqueueing timestamped packet, downlink_id: 416456622, counter_us:<PHONE_NUMBER>, current_counter_us:<PHONE_NUMBER>
2023-12-07T18:58:18.826949+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: GPS time reference is not valid, age:<PHONE_NUMBER>.8265858s
2023-12-07T18:58:18.838115+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Handling message error, error: Could not read down response
2023-12-07T18:58:19.300778+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Scheduled packet for TX, downlink_id: 416456622, count_us:<PHONE_NUMBER>, freq: 924500000, bw: 500000, mod: LoRa, dr: SF7
2023-12-07T18:59:12.029305+00:00 mtcdt chirpstack-concentratord-sx1301[7183]: Frame received, uplink_id:<PHONE_NUMBER>, count_us:<PHONE_NUMBER>, freq: 903700000, bw: 125000, mod: LoRa, dr: SF7
2023-12-07T18:59:12.032160+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received uplink frame, uplink_id:<PHONE_NUMBER>
2023-12-07T18:59:12.032640+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending uplink event, uplink_id:<PHONE_NUMBER>, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/event/up
2023-12-07T18:59:12.056587+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1ee8 Instr=0xe79a7009 Address=0xb6f51912 FSR 0x001
2023-12-07T18:59:12.056723+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1f38 Instr=0xe7962007 Address=0xb6f51992 FSR 0x001
2023-12-07T18:59:12.067794+00:00 mtcdt kernel: Alignment trap: chirpstack-mqtt (7261) PC=0x001f1f40 Instr=0xe5992004 Address=0xb6f51996 FSR 0x001
2023-12-07T18:59:12.393714+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received message, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down, qos: 0
2023-12-07T18:59:12.394289+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Received downlink command, downlink_id: 939217614, topic: us915_0/gateway/XXXXXXXXXXXXXXXX/command/down
2023-12-07T18:59:12.394646+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Sending downlink frame, downlink_id: 939217614
2023-12-07T18:59:12.406672+00:00 mtcdt chirpstack-mqtt-forwarder[7255]: Handling message error, error: Operation cannot be accomplished in current state

In this log transcript, two events can be seen and chances are they might something have to do with the current issue:

kernel alignment trap error (this occurs frequently, as soon as mqtt-forwarder process is started)
"GPS time reference is not valid" message from concentratord (this messages occurs at every ~1s after concentratord is started)

Environment

Component
Version

Gateway HW
MTCDT-0.1

Gateway OS
mLinux 5.3.31 (custom image)

MQTT Forwarder
4.1.3 (installed from here)

Concentratord
4.3.4 (installed from here)

Chirpstack
4.6.0 (cloud based)

EDIT: added custom image detail to Gateway OS

Adjacent: Do you have the option to use mPower firmware on that model? I have not run into anything similar on my MTCAP models.
https://www.multitech.net/developer/downloads/
It looks like all the tested models are using mPower (which is also the recommended install when I've spoken with MultiTech in the past):
https://www.chirpstack.io/docs/chirpstack-mqtt-forwarder/install/multitech.html

As far as I know, mPower is just the Multitech Application Enablement Platform (AEP) that sits on top of mLinux. I'd expect the kernel alignment trap issue to occur as well on mPower (with same mLinux version). I might give it a try to confirm this.
Also, we are using a custom built mlinux image (that's why we don't use mPower). Might try with a fresh standalone mLinux as well to confirm this.

I confirm this happens with latest version of mPower as well (6.3.1)

Handling message error, error: Operation cannot be accomplished in current state

This is a ZeroMQ error, so it seems that the Concentratord <> MQTT Forwarder communication somehow breaks.
I'm looking into this right now. I have a Multitech Conduit which I'm now upgrading to 6.3.1 after which I will try to reproduce the issue.

I can reproduce the error:

kernel: Alignment trap: chirpstack-mqtt (5772) PC=0x001f1ee8 Instr=0xe79a7009 Address=0xb6a42303 FSR 0x001

I have tried with the latest master version, and I no longer see the error.
The latest master version replaces paho-mqtt by rumqttc. The first links against the Paho C library, which also depends on OpenSSL. rumqttc is a pure-Rust MQTT client, for TLS it depends on Rustls which is also pure-Rust. I suspect that the alignment trap issue was caused by the cross-compiling and linking to C code.
I will create a MQTT Forwarder v4.2.0-test.1 build for you today for testing.

Could you try again with this build:
chirpstack-mqtt-forwarder.zip
It is the latest master version built for the Conduit (you need to unzip first, as GitHub doesn't allow .ipk uploads in comments). I have also added this change: https://github.com/chirpstack/chirpstack-mqtt-forwarder/commit/95439f1edb7c07fdfac1afc6012a1e37bfdd2d54. In case there is a ZeroMQ error on the REQ socket, it will automatically reconnect as after an error the socket might be in a 'dirty' state.

The build you provided seems to resolve the kernel panic issue. I'll let the gateway run for a while and see if the issue ever occurs again. If so, i'll open a new ticket and refer to this one.

I'm able to reproduce after upgrading my Conduit AP to 6.3.1, would be happy to see the 4.2.0-test.1 build for that device.

Hi @bconway , please find attached the test build for the Conduit AP.
chirpstack-mqtt-forwarder.zip
I was hoping to create an "official" test build, but during the refactor from Paho (with OpenSSL dependency) to Rumqttc (with Rustls dependency, based on ring) I missed that ring does not yet support mips- targets. There was a MIPS related pull-request which got merged, but this was only for mipsel- targets (little endian). There is a new PR for mips- targets which hopefully will get merged soon.

Great, thanks! With the change in MQTT client, are there any configuration changes under [mqtt], or was everything existing still supported? Thanks.

The MQTT config options remained the same :)

As there hasn't been any activity on this issue, I assume the proposed fix that is part of the latest version(s) did solve the issue. Please let me know if this was not the case.


[bounty] google-photo like memories resurfacing pipe

i am one of the first user of google photo and love it!

their memory resurfacing feature + face ID etc are amazing and would love to see this in screenpipe as a pipe, for example:

remember this call with your customer John?
remember when you wrote this poem to your wife?
did you notice that Alice always do X, Y, Z?

next versions could be:

AI generate a loom-like memory of all the times with your wife, customer, or friend (eg. #583)

/bounty 100
i think it should be a nextjs pipe
will add bonus if great UX
definition of done:

i can enable the pipe and set some settings like interval of the memory and what to focus on or avoid through custom prompt or some intuitive interface
it will show up memories at specific intervals or randomly

technically some ideas:

i recommend using vercel/ai SDK which makes it easy to build JS agents/AI stuff
make it possible to use either local AI (like ollama) or openai, or anthropic if you want
can be just a piece of code that runs at interval and have an agent do function calling(s) on screenpipe data kinda randomly and put together some nice memories and show in the UI then

if you want you can brainstorm some ideas before starting, or just send a PR if you have clear idea in mind

Some ideas
Excalidraw timeline of memories
Basically AI find some cool screeenshots relevant to your goals in terms of memories and put together on a Timeline with time etc

did a v0


Better markdownlint config

They support a prettier-friendly-config themselves now

@dapirian this looks like either the snapshots will need to be updated or the config will need some tuning to turn off line_length and blank_lines


feat: support new version rax-app

Codecov Report

Merging #34 into master will increase coverage by 1.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   78.66%   79.67%   +1.01%
==========================================
  Files          27       27
  Lines        1031      920     -111
  Branches      198      182      -16
==========================================
- Hits          811      733      -78
+ Misses        216      180      -36
- Partials        4        7       +3

Impacted Files
Coverage Δ

packages/generate-project/src/fommatProject.ts
79.10% <0.00%> (-3.71%)
:arrow_down:

...s-cli/src/command/generate/generateMaterialData.ts
73.77% <0.00%> (-7.92%)
:arrow_down:

packages/iceworks-cli/src/utils/getNpmTarball.ts
93.75% <0.00%> (-0.99%)
:arrow_down:

.../iceworks-cli/src/command/add/addBlockToProject.ts
94.54% <0.00%> (-0.84%)
:arrow_down:

...ackages/iceworks-cli/src/command/generate/index.ts
86.88% <0.00%> (-0.81%)
:arrow_down:

packages/generate-material/src/index.ts
90.24% <0.00%> (-0.67%)
:arrow_down:

packages/iceworks-cli/src/utils/config.ts
95.83% <0.00%> (-0.60%)
:arrow_down:

packages/generate-project/src/index.ts
70.96% <0.00%> (-0.47%)
:arrow_down:

packages/ice-npm-utils/src/index.ts
87.61% <0.00%> (-0.09%)
:arrow_down:

packages/generate-material/src/ejsRenderDir.ts
80.00% <0.00%> (ø)

... and 9 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 9433076...6a6d586. Read the comment docs.


[R] Fix global feature importance.

Add implementation for tree index.  The parameter is not documented in C API since we
should work on porting the model slicing to R instead of supporting more use of tree
index.

Fix the difference between "gain" and "total_gain".

Related: https://github.com/dmlc/xgboost/issues/7260#issuecomment-960535728.

@hcho3 @hetong007 Please take a look when you are available.

Just to confirm, with this patch, xgboost won't break EIX/radiant.model, right?

I ran devtools::check() on radiant.model and it passed.  For EIX, the vignettes failed to build and it doesn't have any test in its repository https://github.com/ModelOriented/EIX .
  installing the package to build vignettes
E  creating vignettes (26.5s)
   --- re-building ‘EIX.Rmd’ using rmarkdown
      [[ suppressing 19 column names 'satisfaction_level', 'last_evaluation', 'number_project' ... ]]
   Warning: ggrepel: 2 unlabeled data points (too many overlaps). Consider increasing max.overlaps
   Quitting from lines 157-165 (EIX.Rmd)
   Error: processing vignette 'EIX.Rmd' failed with diagnostics:
   non-numeric matrix extent
   --- failed re-building ‘EIX.Rmd’

   --- re-building ‘titanic_data.Rmd’ using rmarkdown
   Warning: ggrepel: 4 unlabeled data points (too many overlaps). Consider increasing max.overlaps
   Quitting from lines 81-86 (titanic_data.Rmd)
   Error: processing vignette 'titanic_data.Rmd' failed with diagnostics:
   non-numeric matrix extent
   --- failed re-building ‘titanic_data.Rmd’

   SUMMARY: processing the following files failed:
     ‘EIX.Rmd’ ‘titanic_data.Rmd’

   Error: Vignette re-building failed.
   Execution halted
Error in (function (command = NULL, args = character(), error_on_status = TRUE,  :
  System command 'R' failed, exit status: 1, stdout + stderr (last 10 lines):

Same error as you have shared.  Rerunning tests with 1.4

@hcho3 sorry, pushed a new commit for the fix in prediction leaf, where input is only one sample but we need to return a matrix.  I rewrote the prediction conditions to mimic the old code exactly and ran tests with those reverse dependencies.

@hetong007 I have tested both packages using devtools.

I will back port


Missing Momentjs

Missing momentjs library
http://cdnjs.com/libraries/moment.js/

Send a PR for the libraries.js file. This is entirely managed by community, not by me.


Include third parties library imports in exported package.json

Currently, when we download (or export to CodeSandbox) a SolidJS Playground project that imports third parties packages, the generated JSON file does not include the imported packages in the dependencies list.
For instance, when I export this small project, that includes lodash, the generated package.json is the following:
{
  "scripts": {
    "start": "vite",
    "build": "vite build"
  },
  "dependencies": {
    "solid-js": "1.4.1"
  },
  "devDependencies": {
    "vite": "^2.9.9",
    "vite-plugin-solid": "^2.2.6"
  }
}

while we would expect dependencies to be like so:
...
  "dependencies": {
    "solid-js": "1.4.1",
    "lodash": "^4.17.21"
  },
...

This isn't  a big problem in iself, as we can npm install  the missing deps when we download the project, or just add them on CodeSandbox. However it would improve the dev experience to have them already included in the package.json when exporting it.
I already managed to obtain the same result in this project of mine, a React Playground (still in beta, it might be broken), by extracting the imported packages from the bundle imports metafile (I use esbuild, but there is a similar feature in Rollup) and either find the version in the import (in case the user has done someting like import { camelCase } from<EMAIL_ADDRESS>or sending a request to UNPKG to get the last version (fallback being 'name-of-the-package': 'latest').
This would make the export creation slightly slower than it currently is, as we would have to wait for the responses from UNPKG, but still we are talking about milliseconds, and it would anyways be faster than adding the deps manually for the developer.
I would like to submit a PR to implement this feature.
Would it be ok for the maineiners of this repository, or would it be considered as an unnecessary modification?

This sounds awesome, and I would love a PR. (note that it will be quite a bit of work to weave the communication from rollup in a way that doesn't bloat the api)

There is no problem, thank you for taking the time to reply :)
I am planning on pushing the PR by the end of this week, so that I can show what I had in mind for the communication from rollup.

I updated the branch to master, and I am having a problem with the new compiler worker.
babel-preset-solid is throwing :
/main.tsx: _assert is not a function
    at ImportInjector._applyDefaults (babel-preset-solid.js?v=86f140c7:15593:11)

Is it my machine, or there is a bug there ?

Is it possible you haven't run pnpm i recently?


Update configure-oracle-dataguard.md

Updated the redo log scripts with notes to have the standby redo as the same size as the primary redo for request #65214
https://github.com/MicrosoftDocs/azure-docs/issues/65214

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/MicrosoftDocs/azure-docs
Private repo URL: https://github.com/MicrosoftDocs/azure-docs-pr
We have closed this pull request. Please resubmit the updates through the private repo. For more information, [see the contributor guide].(https://docs.microsoft.com/en-us/contribute/)

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/MicrosoftDocs/azure-docs
Private repo URL: https://github.com/MicrosoftDocs/azure-docs-pr
We have closed this pull request. Please resubmit the updates through the private repo. For more information, [see the contributor guide].(https://docs.microsoft.com/en-us/contribute/)


feat(TagsInput): support multiple delimiters via RegExp

Resolves #1400.
Added support for RegExp delimiter prop in TagsInput.
Open questions:

Should we do our own validation of passed RegExp to ensure global flag is set. Without global flag String.prototype.replaceAll will produce the following error: Uncaught TypeError: String.prototype.replaceAll called with a non-global RegExp argument
Consider support for string[] delimiter. If we do then decide:

Convert string[] into RegExp. Seems somewhat tricky to do it correctly and account for all the edge cases, e.g. escaping special characters.
Iterate delimiters and replace/split for each delimiter. Quite straightforward but will require slightly bigger rework in handleInput and handlePaste.

Do you have any thoughts on these @zernonia? Or maybe other suggestions?

We also need to apply the changes to handlePaste

@zernonia thanks for the review.

We also need to apply the changes to handlePaste

I don't think any additional changes are needed for handlePaste. String.prototype.split accepts RegExp argument. I tested it with /[ ,;]+/ and it worked as expected on paste.
Would you like me to add an example to docs showcasing multiple delimiters usage?

PR updated:

switch to replace instead of replaceAll to not require global flag on regexp
updated delimiter prop description
added example for multiple delimiters usage with regexp

Nicely done @romansp !! Working well! 🚀
We have freeze any new feature to main branch, perhaps we can push this to v2? 😁
Also, do you mind quickly adding in some test case for this?

@zernonia Thanks! I'm good with this being pushed to v2. Do you want me to change target branch or you do it?
Let me check what type of test case we can add here. We could probably verify that typing text with delimiters creates tags correctly? I will try to add coverage for paste event as well.

Super welcome @romansp !! Once again thanks for the PR!
Sorry I messed up the branch, I've cherry-picked your commit to https://github.com/unovue/radix-vue/pull/1414 😁


Cherry-picked webhook fix #712 for upcoming 0.9.1-rc.1

Context: This release branch is blocked by https://github.com/GoogleCloudPlatform/prometheus-engine/issues/696. This PR is meant to cherry pick #712 which fixed this in the main branch. See more context about the fix in the #712
Signed-off-by: bwplotka<EMAIL_ADDRESS>

Can you provide a little more context in the PR description for the approach and motivation?

Edited PR description PTAL

Approving if it unblocks. However, I'll defer to @bernot-dev for the domain expertise here.


Upgrading from 1.1.0 -> causing crashes

Hey there,
Until this weekend, I have been using v1.1.0 in a project.
In a "library" upgrade sweep, I decided to try the latest, and it yields crashes.
(command buffers abort and then the device is lost)
I am doing a "very slow binary search" for which version change causes the crashes, 1.1.7 def does, now checking 1.1.3.
(1.1.3 works, now trying 1.1.5). Hopefully I'll be able to tell what change is causing the crash, and thereby identify the error.
Are there any documents you would suggest reading?
(besides general change logs).
Have there been similar issue you know of.
Do you have any advice for debugging problems of this nature?  (command buffers aborting)
Thanks for any advice.

1.1.0->1.1.4 works correctly for me, 1.1.5 crashes on an assertion and 1.16->1.1.latest crashes with the device being lost, probably from the command buffers causing error and timeout)
Anyhow, again, if anyone has any advice on debugging this, or if anyone else has seen a similar problem, please let me know..

Will do the errors next week.  Don't have a demo app, but maybe can make one if the errors don't help.


Not sending Hex when HEX is too long

Hi I will include my config below, but my problem is that I have Livolo Switches that receive RF codes, but when I send the code that I need it not work, but when I send a shorter code it works perfectly, any idea how to solve it?
{
"bridge": {
"name": "Panta 4 Homebridge",
"username": "CD:23:3D:E3:CE:30",
"port": 51828,
"pin": "033-45-156"
},
"description": "Panta 4 Homebridge",
"accessories": [
],
"platforms": [{
	"platform": "BroadlinkRM",
	"name": "Broadlink RM",
	"accessories": [
		{
			"name": "TV Caio",
    "type": "switch-repeat",
			"sendCount": 1,
    "host": "<IP_ADDRESS>",
    "data": "26008c0095921435143614351313121213111311141213361335143613111411151013121213131014361411131114121311131113111436131114351437123613361435143613000ac395921435153414351411131213131211131213361336143514111410151014111410151013361412121114111312131114111336141113361338113614361435133614000d05000000000000000000000000"
		},
		{
			"name": "TV Panta",
			"type": "switch-repeat",
			"sendCount": 1,
    "host": "<IP_ADDRESS>",
			"data": "26008c0095921435143614351313121213111311141213361335143613111411151013121213131014361411131114121311131113111436131114351437123613361435143613000ac395921435153414351411131213131211131213361336143514111410151014111410151013361412121114111312131114111336141113361338113614361435133614000d05000000000000000000000000"
		},
  {
			"name": "Desligar Luzes",
			"type": "switch-repeat",
			"sendCount": 1,
    "host": "<IP_ADDRESS>",
			"data": "e97324001006050b05050b0a0a06050605060605050a06050a06050a0a06050b05050b06050a050600000000"
		},
  {
			"name": "Luz Sacada",
			"type": "switch",
    "host": "<IP_ADDRESS>",
			"data": "e90384030405050905050905050a09050406040505090505040505050f06040a04040a0a090605040405060405090505090604090a0504050505040a0504050504051005040b04040a0a0906040505040505060806040a0505090a0505050405040a0605040504070e05050905040a090a05060404050604050906040a0604090a0504050505040a0504050505041005040a05040a090b04040506040505040a05040a05040a0a0405050505040a0504050504051004050a05040a090a06040505050405050a05040a06040a0a0405050405050a0505040406040f05050a04050a090a06040505050504050a04050a050509090505050405050a0405050405050f06050805050a090a05040605040405050b04050a05040b08060405040604090505050405050f0505090505090a0a05040505050405050a04050906040b0805050504050509050505050405110405090505090a0a05040704050405060805050a05040a0a040505040505090505060405051004040a0605080a090604050405050505090505090505090a050407040704090505050406040f05040a05040a0a0905050504050505050905040a0505090a0504050505040a0506040504060f05040a0506080a0a04050505040505040a0506080505090a0505040506040a0504060404051006040a05040a0a0905050504050505040a05040a05040a0a0504060405040a0504050504070e05040a05040a0b0805060404050505040a06040b04040a0a0504050505040b0404060405050f05040a05040a090b04040505050406050905040a05040a090505060406040a0504050504050f06040a04050a0b0805050405060405050a05040a05040a090604050405050a0504050405050f05050907040a090a05050405050405050905050a05040b08050505040704090504050405050f0505090505090b0905040505050405050905060805050a09050505040505090604050405050f06040a0405090a090604050405050505090505090505090a050506040506090405050405050f0505090505090a0905060404060504040a0505090604090a0504050505050a0405040505050f05040a05040a0a0905050504050605040a05040a0505090a0504050505040a0505040504051005040a05040a0a0905050504050505040a05040b0406080a0504060405040b0504050504051005040a05040a0a0905040604050505050905040a05040a0a0504070404040a05040704"
		}
  ]
}]

}

Where have you gotten the code from?

@Iprhodes I exported from Android broadlink App, my workaround was using a short HEX code from another "remote control" that accepts my "Livolo's Switch".
Did you try to send a long HEX code?

I'm unsure what really constitutes as long or short...
You could try learning with this module though?

Yep, I also tried learning by the module, same HEX, same result, I dont know either what is a long or short HEX but a HEX, but take a look in these 2, the first I consider short and the second long:
{
"name": "Desligar Luzes",
"type": "switch-repeat",
"sendCount": 1,
"host": "<IP_ADDRESS>",
"data": "e97324001006050b05050b0a0a06050605060605050a06050a06050a0a06050b05050b06050a050600000000"
},
{
"name": "Luz Sacada",
"type": "switch",
"host": "<IP_ADDRESS>",
"data": "e90384030405050905050905050a09050406040505090505040505050f06040a04040a0a090605040405060405090505090604090a0504050505040a0504050504051005040b04040a0a0906040505040505060806040a0505090a0505050405040a0605040504070e05050905040a090a05060404050604050906040a0604090a0504050505040a0504050505041005040a05040a090b04040506040505040a05040a05040a0a0405050505040a0504050504051004050a05040a090a06040505050405050a05040a06040a0a0405050405050a0505040406040f05050a04050a090a06040505050504050a04050a050509090505050405050a0405050405050f06050805050a090a05040605040405050b04050a05040b08060405040604090505050405050f0505090505090a0a05040505050405050a04050906040b0805050504050509050505050405110405090505090a0a05040704050405060805050a05040a0a040505040505090505060405051004040a0605080a090604050405050505090505090505090a050407040704090505050406040f05040a05040a0a0905050504050505050905040a0505090a0504050505040a0506040504060f05040a0506080a0a04050505040505040a0506080505090a0505040506040a0504060404051006040a05040a0a0905050504050505040a05040a05040a0a0504060405040a0504050504070e05040a05040a0b0805060404050505040a06040b04040a0a0504050505040b0404060405050f05040a05040a090b04040505050406050905040a05040a090505060406040a0504050504050f06040a04050a0b0805050405060405050a05040a05040a090604050405050a0504050405050f05050907040a090a05050405050405050905050a05040b08050505040704090504050405050f0505090505090b0905040505050405050905060805050a09050505040505090604050405050f06040a0405090a090604050405050505090505090505090a050506040506090405050405050f0505090505090a0905060404060504040a0505090604090a0504050505050a0405040505050f05040a05040a0a0905050504050605040a05040a0505090a0504050505040a0505040504051005040a05040a0a0905050504050505040a05040b0406080a0504060405040b0504050504051005040a05040a0a0905040604050505050905040a05040a0a0504070404040a05040704"
}

I believe #148, #144, #135 and this will all be fixed in one go.
@cpvbruno I assume you've tried learning the codes with the Scan RF accessory built into this plugin?

Hi!
I have the samd problem. Everything work but only one garage door can't open.
When I scan frequency:
[Hex Code: b20384030813081308120912091208130912081308120912091209120912081308130812091209120912091208130813081308120912091209120813081209120912120912091109120a081212091209110a081308121209091212091209120812090900013111131a1b121209090912110a081209120912091209120912110a1109120909120912110a110a0813110a08120912091209121209091109121209091209120813091208120a1109120912091209120813081308120912091212090912081309120813081209120912091208120a1109120912091209120912091109130812091209120912091109120912091209120912091209110a120812091209120912081308120a110912120912091209120908121209120912090912091212090912110a1109120912090800013112121b1b1113080a0813110a08120912091208130912081212091209120909120813110a11090912120909120912081308131109091209121209091209120813081209120912091209120813081308120912091209120912110a08130812091209120912091209110913081209120912091209120813081308130813081209120912091208130813081209120912091209120813081308120912091209120912091208130812120912091209110a081312091109120909120912110a081311091209120912090900013111121b1b1212090908131109091308120912081309120812120912091209091209121209110909121209091209120912091212090813081212090912091208130813081308120912091209120912081209120912091209121209081209130812091209120813091208130812091209120912081308130911091209120912091209120912081308120912091209120912081308120913081209120912081308130912081209121209120912091109091311091209120909120912110a081311091209120912090900013012121b1a121308090912120909120813091208130812091212091209110a08130813110a1109091212090912081308130812120909120912120909120812091209120912091209120813091208120912091209120912091211090a110912091209120912091208130813081209120912081309120911091308120912091208130813081209120912091209120813081308120912091209120912081308120912091209120912110a110a110912090912110a120912090812091212090912110a110005dc00000000]
The Broadlink flash when I send the code but nothing happen.
I updated broadlink plugin to the latest<EMAIL_ADDRESS>Any news?
Thanks!
Josh

What I did was search for a short hex that Works to me. In my case was a
Livolo's Switch, I searched for Livolo's on the broadlink remote app and
used another preset of remote control.
Em sáb, 2 de set de 2017 às 18:09, santajosh<EMAIL_ADDRESS>escreveu:

Hi!
I have the samd problem. Everything work but only one garage door can't
open.
When I scan frequency:
[Hex Code:
b20384030813081308120912091208130912081308120912091209120912081308130812091209120912091208130813081308120912091209120813081209120912120912091109120a081212091209110a081308121209091212091209120812090900013111131a1b121209090912110a081209120912091209120912110a1109120909120912110a110a0813110a08120912091209121209091109121209091209120813091208120a1109120912091209120813081308120912091212090912081309120813081209120912091208120a1109120912091209120912091109130812091209120912091109120912091209120912091209110a120812091209120912081308120a110912120912091209120908121209120912090912091212090912110a1109120912090800013112121b1b1113080a0813110a08120912091208130912081212091209120909120813110a11090912120909120912081308131109091209121209091209120813081209120912091209120813081308120912091209120912110a08130812091209120912091209110913081209120912091209120813081308130813081209120912091208130813081209120912091209120813081308120912091209120912091208130812120912091209110a081312091109120909120912110a081311091209120912090900013111121b1b1212090908131109091308120912081309120812120912091209091209121209110909121209091209120912091212090813081212090912091208130813081308120912091209120912081209120912091209121209081209130812091209120813091208130812091209120912081308130911091209120912091209120912081308120912091209120912081308120913081209120912081308130912081209121209120912091109091311091209120909120912110a081311091209120912090900013012121b1a121308090912120909120813091208130812091212091209110a08130813110a1109091212090912081308130812120909120912120909120812091209120912091209120813091208120912091209120912091211090a110912091209120912091208130813081209120912081309120911091308120912091208130813081209120912091209120813081308120912091209120912081308120912091209120912110a110a110912090912110a120912090812091212090912110a110005dc00000000]
The Broadlink flash when I send the code but nothing happen.
I updated broadlink plugin to the latest<EMAIL_ADDRESS>Any news?
Thanks!
Josh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/119#issuecomment-326769544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFig1_F88GT4IH_oexrrQzQn85KGH1fFks5secP8gaJpZM4N2fhA
.

--
Bruno Pantaleão

Hi Bruno!
Thanks! This is a Roger (Italian) gate opener RF. I can't find short hex code....:(

Did search into the broadlink app? Try search for "Roger", if you do not
find it then I don't know how to help you, I really think this is a issue
with the plugin
Em dom, 3 de set de 2017 às 11:33, santajosh<EMAIL_ADDRESS>escreveu:

Hi Bruno!
Thanks! This is a Roger (Italian) gate opener RF. I can't find short hex
code....:(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lprhodes/homebridge-broadlink-rm/issues/119#issuecomment-326808617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFig10O_kRmGBXmzrT-cLHrTLPGEpBcbks5seri3gaJpZM4N2fhA
.

--
Bruno Pantaleão

Any news? Or some long hex to short converter?
The broadlink app can open the gate but from homebridge nothing happen only the yellow led blinks when I push the gate open...

Is this a good way?
https://github.com/mjg59/python-broadlink/issues/45
Solution:
https://github.com/mjg59/python-broadlink/pull/70
I can't find a similar file...

It's unrelated unfortunately. There's no timeout in the javascript version of the code.
I don't have any RF devices to test on at the moment, sorry.
I've added a debug option (enabled on a per-accessory basis) which provides some additional information that may be useful.
It'll be included in the next update

Once it's released if you could please enable the debug option and send further logs

I solved my problem exporting the hex codes directly from android app, they are totally different from the ones that scan shows

Waaaoo...ios app can do the same? I will test as soon I get an android phone ...

it does not work on iPhone, you can emulate android on your pc/Mac

Great. And in the android app how can I get the hex code?

@cpvbruno did you try on the iPhone app in the most recent updates? I wonder if they fixed it.

You mean, the Broadlink app? If so.. yes, an Android is needed because you will need to plug into a computer and extract some files that the app export

Sure, ok - probably easier to us the emulator for me to see what commands the app is sending to the device too.

The debug option is available now, hopefully it sheds some light

I get an android, put the broadlink app, restore the config. Connect to a computer...Which file should I use to get the hex?

If you already have your remotes learned on E-Control app you can use this method to “copy” them to Home Assistant.
First get or learn all the remotes you want to add to Home Assistant in E-Control
Download
Get the script from here.
Dump the data from the app
Open the E-Control app on your mobile device. On the left side menu choose “Share” and then “Share to other phones in WLAN”. It will generate the files you will need for the script.
Get data from your Android device
Connect your Android device to your computer and browse the SD card/External Storage folder “/broadlink/newremote/SharedData/”. You need to get the following files and put them in the same folder as this script:
jsonSubIr jsonButton jsonIrCode
Install Requirements
Run pip install simplejson. You must install simplejson in the same python version you will use to run the scripts. You can ensure that the current version is installed by attempting to install again and confirming that you see “Requirement already satisfied”.
Get the data from the device
Navigate to the folder you downloaded and run python getBroadlinkSharedData.py. Follow the steps on screen. NOTE: These scripts were only tested with Python 2.7.
Install python-broadlink library:
git clone https://github.com/mjg59/python-broadlink.git
cd python-broadlink
sudo python setup.py install

Source: https://home-assistant.io/components/switch.broadlink/
At the end of the page

Thanks for the help. I found a faster way.
I get an android, put the broadlink app, restore the config.
Install Broadlink RM Plugin Lite app for Android
Start the Broadlink RM Plugin Lite app
In the app config HTTP bridge
From a browser go to the http://IPoftheandroid:9876
And in the web page you can find the HEX code.
Aaaaaand its working!!!! Thanks for all the help!!!! Now my gate is opening :)

Same problem with my RF garage gate. Any news? Even in eControl app it's not possible to open the gate. All other RF devices work grate...

@matosbsb Sounds like it may have rolling/secure codes


Dartium error on startup: libudev.so.0: cannot open shared object file: No such file or directory

On Ubuntu 13.04, Linux Mint 15, Dartium issues the following error on startup and terminates:
Dartium stdout: /home/user/Applications/dart/chromium/chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

To get this working on 32bit Ubuntu MATE
sudo ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0

BUMP!
Ubuntu 15.04 64-bit
Still same error! This issue is TWO years old and still not fixed...

+1

+1 on Fedora 22

This issue is still occurring. It's been 2 years, why isn't this fixed?

+1 Please fix this

+1

+1 Still hitting this on Ubuntu 15.10 64-bit - The sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0 workaround does the trick

Until this issue is solved by the upstream a somewhat cleaner solution is to use LD_PRELOAD instead of symlinking in your system which could lead to other apps loading an incorrect version of the library.
Steam ships it's own 32-bit and 64-bit libudev.so.0 here's an example of running dartium using that library preloaded:
LD_PRELOAD=/home/mulander/.steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libudev.so.0 ./chrome


Return impersonation flag in SSO data (Old 319)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
As title suggests.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:12
Now returning the impersonation flag on SSO returns.  Resolves issue #488415 (319).
@jpfox ready for you to do stuff with in the RTS system once deployed later today.
ÔåÆ <<cset 6df33f80d025>>
ALawrence66 - 2015-05-17T14:27:58.445908+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:12
Working on for 2.1.9
ALawrence66 - 2015-05-17T13:12:47.443353+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:14
mentioned in issue #124

In gitlab by @A-Lawrence on Aug 31, 2015, 01:17
mentioned in issue #271

In gitlab by @A-Lawrence on Aug 31, 2015, 01:17
mentioned in issue #272


Update Credstash Item for Dict Key Check before Null Check

I updated to perform a check if the key exists in the dictionary before the default null check. Otherwise before the inline null check is performed, it will fail if the "digest" key isn't even present in the dictionary.

Duh sorry.  I forgot how generic Dictionaries work apparently

No worries, thanks. Will the merge automatically create a new nuget version?

I see it already published. Thanks.

I'm manually creating the version number and I messed that up.  Doing too many things at once.
You'll want 1.0.3 when that gets published and indexed on Nuget.  Should be shortly.

OK great. Sounds good. 👍


BUG at RigidEntity.set_friction_ratio()

RigidEntity.set_friction_ratio() has some implementation bugs and does not work properly. Here are the fixes available.
    def set_friction_ratio(self, friction_ratio, link_indices, envs_idx=None):
        """
        Set the friction ratio of the geoms of the specified links.
        Parameters
        ----------
        friction_ratio : torch.Tensor, shape (n_envs, n_links)
            The friction ratio
        link_indices : array_like
            The indices of the links to set friction ratio.
        envs_idx : None | array_like, optional
            The indices of the environments. If None, all environments will be considered. Defaults to None.
        """
        geom_indices = [
            self._links[j]._geom_start + i
            for j in link_indices
            for i in range(self._links[j].n_geoms)
        ]

        expanded_ratios = torch.cat(
            [
                ratio.unsqueeze(-1).repeat(1, self._links[j].n_geoms)
                for j, ratio in zip(link_indices, friction_ratio.unbind(-1))
            ],
            dim=-1,
        )

        self._solver.set_geoms_friction_ratio(
            expanded_ratios,
            torch.tensor(geom_indices, dtype=torch.int32),
            envs_idx,
        )

Hello, we tried to solve the issue.
This is what we did:
This change fixes the implementation bugs in the set_friction_ratio() method of the RigidEntity class. The main improvements are:

Correctly handle the shape of friction_ratio tensor
Properly expand the friction ratios for each geom
Use the correct dtype for geom indices
Simplify the logic for creating geom indices

You can review changes in this commit: https://github.com/wwqwq2313/Genesis-Embodied-AI-Genesis-97/commit/eb908b51db5b0f03e05c101c1d02d5278919e6ed.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


A bug in the contributors list counter

Describe the bug
When I go to the last page (page number 369) in the contributors list, the number besides the user that indicates his order in the list is wrong, all the users in that page have the same wrong number. Even when I change the page, the same number sticks. The wrong number being shown is 15 when the filtered period is last 30 days, and 67 when the period is this year.

and of course the correct number of users should be 1979 according to the API call (or even by calculating 396*5). But the problem here isn't just counting, because at some point it sticks to the number and keep it the same for all users.
When I tried using Next button in the pagination (or just navigating using numbers, one by one) to navigate through pages, I got a different (even more strange) behavior, in the second page I've got 2 users with the same number 6.

Then on the third page I got 3 users with number 9

Then it kept counting wrong as the screenshots below show

Everything worked again as expected when I changed the filtered period.
To Reproduce
Steps to reproduce the behavior:

Go to https://contributions.josa.ngo/contributors
Scroll down to 'Top Developers in Jordan' list section
Navigate through pages as described above
See error

Expected behavior
The list should show the correct number of the user in any page.
Screenshots
In the bug description.
Desktop (please complete the following information):

OS: Manjaro Linux
Browser Firefox 108.0.1

Smartphone (please complete the following information):

Device Xiaomi Redmi Note 8
OS: Android 11 - Lineage OS 18.1
Browser Firefox
Version 108.1.1

Note: Same problem on mobile in landscape mode since the number isn't even shown in portrait mode.
Additional context
None.
EDIT:  I just realized that this is supposed to be a rank, not a counter. And duplicate ranks mean the same score. So this is not an issue.

This is by design. Users with same score should be ranked the same. So, you have multiple users ranked 15 if they all have the same score.
See: Dense Ranking (Wikipedia):

In dense ranking, items that compare equally receive the same ranking number, and the next items receive the immediately following ranking number.


When getting the lock by blocking methods, such as waiting in the blocking queue, lock() must be put outside the try block.

See file: AbstractScriptCache.java
Lock lock = readWriteLock.writeLock();
try {
    lock.lock();
    cacheMap.put(k, v);
} finally {
    lock.unlock();
}

better change to the following style to avoid other thread lock exception:
Lock lock = readWriteLock.writeLock();
lock.lock();
try {
    cacheMap.put(k, v);
} finally {
    lock.unlock();
}

it is also an alibaba p3c blocker issue:

When getting the lock by blocking methods, such as waiting in the blocking queue, lock() must be put outside the try block. Besides, make sure there is no method that throws Exception between the lock() and try block, in case the lock won't be released in the finally block.
Explain 1: If there was any Exception thrown between the lock() and try block, it won't be able to release the lock, causing that the other threads cannot get the lock.
Explain 2: If there was lock() in the try block and a method that throw Exception between the try block and lock(), it is possible that unlock() won't work. Then AQS(AbstractQueuedSynchronizer) method will be called(depends on the implementation of the class) and IllegalMonitorStateException will be thrown.
Explain 3: It is possible that when implementing the lock() method in Lock object, it would throw unchecked Exception, resulting in the same outcome of the Explain 2. java.concurrent.LockShouldWithTryFinallyRule.rule.desc

@ahlfors Yes, it's a good suggestion.


doc: releases: 4.1: Mention "imply NVS" removal in OpenThread.

The NET_L2_OPENTHREAD symbol no longer implies the NVS Kconfig option. Platforms using OpenThread must explicitly enable either NVS or ZMS option.
A release note and migration guide entries were added.

Rebased and resolved conflicts.


themes don't work standalone

create simple hypergrid demo and load a css theme, you cannot see the fixed area text as it has the same color as the background color

fixed


Remove wallet package

This package currently only contains a wallet file, which I don't think is used anywhere.

Turns out this was something only on my end, and thus is invalid.


Duplicate task upload

Need to add some id field in task.jsonso authors can update task uploading it one more time.
Now tasks are just duplicated.

Yep, I guess a random string will do. We can also check for collisions and warn if there is a task with the same id but with different title.


Display commit history details in app

Great new list of all commits! But each cell opens to github. I’m pretty sure this was by design as a mvp for commit history but just want to make an issue to track it.
Sent with GitHawk

Yup exactly. Commit details will be a meaty chunk.
Sent with GitHawk

Once this gets implemented, it should also get connected to commits in PRs.

@rnystrom Should this be 2.0 Milestone? So we can keep track of it?
Sent with GitHawk

I haven't really been tracking milestones for a while

Oh. Well then never mind lol
Sent with GitHawk

Do we have a roadmap of sorts?

Not really 😞 I'd love for someone w/ a PM to help out w/ that. Only so much I can do.


Support Schema

We should support Schema resources and data sources.

Physical Schemas are implemented. For virtual Schemas, we are lacking support/understanding of Adapter Scripts.
Current impementation of virtual Schemas is here: https://github.com/abergmeier/terraform-provider-exasol/pull/5


WIP: Skip node reboot test

This is to test what happens if I skip the node reboot when doing the 4.5 renaming
This is https://github.com/SUSE/skuba/pull/1294/commits but with removing the node reboot test.

https://github.com/SUSE/skuba/pull/1294 it is green without it


Added a selection for dates.

This adds a selection for dates in a similar manner as PR #31.

Added selectedDate as a stored variable for the (now class-only) protocol YoshiDateSelectorMenu.
Set the selected date for a new DebugDatePickerViewController to the last selected date.

👍

👍


refactor: use adaptive pooling

Replaces the pooling_strategy which has to be set by the user with a fixed AdaptiveAvgPooling2d layer (=np.mean).
This takes the burden thinking about pooling strategies from the user by removing one parameter from the class.

LGTM! Good job @slettner !


use soft docs need update

searching for use on the new site, I see:
http://<IP_ADDRESS>:10010/language/functions#Re-dispatching
Language: use soft (pragma)
Pragmas: soft
The first one should not be indexed.
the language page has the text

Routines can be inlined and as such provide an obstacle for wrapping. Use the pragma use soft; to prevent inlining to allow wrapping at runtime.

while the pragma page has nothing. Move this text to the pragma with any extra context needed, remove the first index.

Related to https://github.com/Raku/doc/issues/4055#issuecomment-1105628778 <- "Pragmas page is COMPLETELY broken, every item there has wrong format, everything breaks"


The PowerShell package doesn't match the public API

Bug Report
Prerequisites

[x] Can you reproduce the problem in a MWE?
[x] Are you running the latest version of AngleSharp?
[x] Did you check the FAQs to see if that helps you?
[x] Are you reporting to the correct repository (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)?
[x] Did you perform a search in the issues?

For more information, see the CONTRIBUTING guide.
Description
I've installed the latest, 0.8.1 version of the PowerShell package via NuGet. After I imported it into the PS session, however, it lacks certain types in the assembly, for example BrowsingContext and in general the API seems to mismatch the one in the main branch, so my options are limited in regards to working with the library. I used the tests as reference FWIW.
Steps to Reproduce

Install-Package AngleSharp
Add-Type -Path (Get-ChildItem -Filter '*.dll' -Recurse (Split-Path (Get-Package -Name 'AngleSharp').Source)).FullName
Invoke autocompletion (Ctrl+Space) after typing out [AngleSharp., note the lack of the BrowsingContext type, only the base interface is present.

Expected behavior: The public API matches the current described behavior.
Actual behavior: It doesn't.
Environment details: Windows 10 19045.2251, PowerShell Core v7.3.1.
Possible Solution
N/A

I've installed the latest, 0.8.1 version of the PowerShell package via NuGet

There is no PowerShell package (not sure what you refer to) and the latest version is 0.17.1 (https://www.nuget.org/packages/AngleSharp/). If you have 0.8.1 - this version is more than 7 years old and surely diverged from main.

As I said I installed the package from the NuGet package provider of PowerShell. For some reason it installed that old version that I assumed to be the latest. Today after the hint it was not the latest, I reinstalled it and after working around the "dependency loop" error, got the latest package version but w/o dependencies.