date limits are not working well

Hi,
First of all, thank you so much for the package, it's amazing.
I have been using it since yesterday, and I realized that when you enter since and/or until dates (in the correct format YYYY-MM-DD), the scraper does not work as expected (it searches tweets, but finds and extracts just a little amount).
As an example, look what happens when I search for term "musk" with and without date restrictions:
with:

without:

I also realized that when I do not set a "number" parameter, the scraper fails:

Do you know what could be the problem and how to fix it?

Same problem here.

Hello, I would like to reopen this issue because I have the same problem. Could you please fix it again?


Has this been abandoned?

Installed this for Craft 5 as I came across it in the plugin store. Looks useful but could see an issue whereby users with permission to view Guide could just see settings rather than the guide content, and then spotted that the docs refer to Craft 4 and there have been no releases for some time.

Hi, @russback. No the plugin is still in development, however, I've kept it under beta until I have fully tested everything out.
The Craft 4 mention is probably something I missed in the docs and I will look out for it and update the docs (thanks for the heads up).
Regarding the settings page, it's currently required that you save the settings to set a template directory. Then the Organizer should be available and once you've created at least one guide and have moved it to the CP Section you should be able to view them from the Guide CP section (instead of being re-directed to the settings pages). If there are no guides in the CP Section then you should get redirected to the Organizer.
If that doesn't work please let me know and I'll take a look. It sounds like it would be a good idea to show the reason why you got redirected in the UI.

Hey @wbrowar
A couple of things that might be helpful then.
When no asset volume was set, changes to the fields in the Variables tab aren't saved.
Once that's set and variables are set, the admin user sees this:

And a user in a user group with that Overview permission sees this (still no content to view)

Anytime slideins will comeout :) waiting 2 years for that one..  :)

@russback, I was looking through the points you made above and I don't think there are currently any bugs, however, there's an opportunity for me to improve usability.
Regarding the settings in the Variables tab, those are independent from the settings in the General tab and there shouldn't be anything on the General page preventing Variables settings from saving. I'll continue to test this out, but could it be that you needed to hit Save before moving between General and Variables? In testing this myself I get an error in Chrome warning that hitting the General tab will not save changes on the Variables tab, however, I don't know that every browser will show this warning.

Please take a look and let me know if this is still an issue for you. If it is, I'll see if there is something going on with the plugin settings themselves.

Once that's set and variables are set, the admin user sees this:

Screenshot 2024-06-25 at 22 41 08
And a user in a user group with that Overview permission sees this (still no content to view)
Screenshot 2024-06-25 at 22 40 53
For your second note I can see why it’s not clear. The guides need to be moved to the Guide section before they will appear in the Guide section for all users. In the next major version of Guide I plan on re-thinking the Organizer section to make it more intuitive.

Also to your point about the docs displaying Craft 4 info, my plan in the next major version in to remove that separate docs site and to move more back to the README file.. This way different versions of the docs will be version controlled along with Guide itself.
Thanks again for your input and I'll keep this issue open until some of the UI issues are addressed in the next major version of Guide.


amir says make forum, sounds reasonable

We could add a Gitter chat. That's easy, lightweight and done in a minute.
It's even possible to add the very same chat room as a "sidecar" to the website!  :trophy: (see the Chocolatey website for a real-world example)

Nah, I'm not into that so much now. (This ticket is a decade old, like most of the tickets you replied on now.)

I like Gitter a lot, though. It feels very light and it there's a very low barrier to people to join the conversion. Yet still, it seems like chat SPAM is almost non-existent; probably because the audience is really tech-savvy developers.
Take these examples, and make up your mind (again):

Django (high traffic)
LEGO ev3dev (medium traffic)
pyenv (medium-low traffic)
behave BDD (low traffic)
behave-django (even less traffic)

The chat is integrated with GitHub, which makes it easy to refer to issues, PRs and commits.
Some repos add a badge on top of the README to signal that this communication channel is available.

Okay, sounds good, feel free to create one and add that badge if you'd like.

Cool, created.

If you care about adding the forum also to your website simply add the following code at the end of the document's <body>:
<script>
((window.gitter = {}).chat = {}).options = {room: 'PythonTurtle/Lobby'};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

(from: https://sidecar.gitter.im/)


flip-link: 0.1.3 -> 0.1.4

Motivation for this change
Update flip-link to the latest; changelog.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Whoops, there is already a PR for this at: https://github.com/NixOS/nixpkgs/pull/123962
Closing.


fix doc link

@ellisonbg or @ruv7 without one of you approving I can't merge this. Unless we make @tgeorgeux code owner as well.


Publishing<EMAIL_ADDRESS>broke SDK 36 support

Background: Expo SDK 36 only works with<EMAIL_ADDRESS>see issue #700 and PR #691.
On my SDK 36 project that has @bugsnag/expo pinned to 6.5.1, @bugsnag/expo brings in<EMAIL_ADDRESS>which brings in<EMAIL_ADDRESS>which is not compatible with SDK 36.
As a result, my app  throws the error "RNCNetInfo.getCurrentState got 3 arguments, expected 2" at startup.
Relevant entries from my yarn.lock:
"<EMAIL_ADDRESS>  version "6.6.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-rJFO3BXvlxaLfcN4DopGDqHdPOvUNlWz1cboxx+G4jfW0Elfyw17JTU2VO9kMQpTndUtuAi8A8TZDJPEdDkH+w==
  dependencies:
    "@bugsnag/core" "^6.5.0"
    "@react-native-community/netinfo" "5.5.0"
    expo-file-system "^6.0.2"

"<EMAIL_ADDRESS>  version "6.5.1"
  resolved<EMAIL_ADDRESS>  integrity sha512-htJb5bwyfvq54/wrW+pok/Gf5QCJyv6MPgevUvAppBsIEsnooZHupaawl6IdeqWOl9G2ciMSR6sXElqRZKct3A==
  dependencies:
    "@bugsnag/core" "^6.5.0"
    "@bugsnag/delivery-expo" "^6.5.1"
    "@bugsnag/plugin-browser-session" "^6.5.0"
    "@bugsnag/plugin-console-breadcrumbs" "^6.5.0"
    "@bugsnag/plugin-expo-app" "^6.5.0"
    "@bugsnag/plugin-expo-device" "^6.5.0"
    "@bugsnag/plugin-network-breadcrumbs" "^6.5.0"
    "@bugsnag/plugin-react" "^6.5.0"
    "@bugsnag/plugin-react-native-app-state-breadcrumbs" "^6.5.0"
    "@bugsnag/plugin-react-native-connectivity-breadcrumbs" "^6.5.1"
    "@bugsnag/plugin-react-native-global-error-handler" "^6.5.0"
    "@bugsnag/plugin-react-native-orientation-breadcrumbs" "^6.5.0"
    "@bugsnag/plugin-react-native-unhandled-rejection" "^6.5.0"
    bugsnag-build-reporter "^1.0.1"
    bugsnag-sourcemaps "^1.1.0"
    expo-constants "^6.0.0"

@srmagura thanks for the report! We are taking a look at this.

For anyone facing this issue, while we figure out how to resolve this problem, you can explictly install<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Ok<EMAIL_ADDRESS>should now pin the correct dependencies for Expo SDK 36.
Please install that version and let us know if you have any further issues. Cheers.


Integration with SSLService

Integrating SSLService into Kitura-net.
Description

3 file changes:
1 - Package.swift: we need both new versions of BlueSocket and SSLService.
2 - HTTPServer.swift: add the delegate to the socket.
3 - IncomingSocketHandler.swift: In handleRead() make sure to close the connection incase of error in SSLservice or Socket.
Motivation and Context

How Has This Been Tested?

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

ok made the changes. Let me know.


allow passing theme colours that aren't tailwind defaults

Describe the feature
it would be nice to allow customising colours - maybe passing in a hex value and auto-generating a colour palette?
Additional information

[x] Would you be willing to help implement this feature?

We use nuxt ui colors. Do you find a simple method to allow overriding it with custom hex?

Thinking of something like https://github.com/bobthered/tailwindcss-palette-generator or https://github.com/dantzjs/tw-shades.

Nice! I think maybe if the colour provided is a hex value? That seems a clear indication to create a palette.

Feel free to try adding it 👍🏼


Deploy Rstudio via conda-store?

@costrouc , Could conda-store be a solution to the issue below, providing a way for JupyterHub users to use Rstudio?
https://github.com/pangeo-data/pangeo-docker-images/issues/163#issuecomment-730498775

Also check out rocker if you are thinking of putting rstudio in a container. They’ve implemented it very nicely.

@rsignell-usgs conda-store could absolutely be used for packaging rstudio environments. I don't know much about R and conda packaging. I'm closing this issue but it would be nice to have a demo conda store environment that creates an R environment with RStudio inside.


Error with (4) Setup Docker images

Got an error with the following command:
fab -r eval/fabfile.py -H localhost install-docker --uname="zhangys"
(txn) zhangys@191host033:~/CobraHome/CobraBench$ fab -r eval/fabfile.py -H localhost install-docker --uname="zhangys"
Traceback (most recent call last):
  File "/home/zhangys/local/anaconda3/envs/txn/bin/fab", line 8, in <module>
    sys.exit(program.run())
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/invoke/program.py", line 363, in run
    self.execute()
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/invoke/program.py", line 532, in execute
    executor.execute(*self.tasks)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/invoke/executor.py", line 129, in execute
    result = call.task(*args, **call.kwargs)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/invoke/tasks.py", line 128, in __call__
    result = self.body(*args, **kwargs)
  File "/home/zhangys/CobraHome/CobraBench/eval/fabfile.py", line 15, in install_docker
    conn.run('curl -fsSL https://get.docker.com -o get-docker.sh')
  File "<decorator-gen-3>", line 2, in run
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/fabric/connection.py", line 29, in opens
    self.open()
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/fabric/connection.py", line 615, in open
    self.client.connect(**kwargs)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/client.py", line 437, in connect
    passphrase,
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/client.py", line 749, in _auth
    raise saved_exception
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/client.py", line 720, in _auth
    filename, pkey_class, passphrase
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/client.py", line 571, in _key_from_filepath
    key = klass.from_private_key_file(key_path, password)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/pkey.py", line 206, in from_private_key_file
    key = cls(filename=filename, password=password)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/rsakey.py", line 55, in __init__
    self._from_private_key_file(filename, password)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/rsakey.py", line 175, in _from_private_key_file
    data = self._read_private_key_file("RSA", filename, password)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/pkey.py", line 279, in _read_private_key_file
    data = self._read_private_key(tag, f, password)
  File "/home/zhangys/local/anaconda3/envs/txn/lib/python3.7/site-packages/paramiko/pkey.py", line 289, in _read_private_key
    raise SSHException("not a valid " + tag + " private key file")
paramiko.ssh_exception.SSHException: not a valid RSA private key file

I could do login without error on both client1 and localhost:
(txn) zhangys@191host033:~/CobraHome/CobraBench$ ssh localhost
Linux 191host033 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Mar  5 17:24:07 2021 from ::1

zhangys@191host033:~$ ssh zhangys@xxx
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-72-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Fri Mar  5 09:34:09 UTC 2021
...

I have checked ~/.ssh/config, and the RSA file path is correct.
Do you have any idea how this should be fixed? Thank you :)

@zcgeng , can you take a look at this? I think the problem is that fabfile.py cannot find the correct rsa key, whereas ssh can find it.


Is slog-syslog dead?

I don't see any updates to it for a long time.

AFAIK, it works OK. I am not planning to work on anything there myself. But if anyone needs to add/improve anything, they are free to do so.

I believe this can be closed. @dpc @alexreg?


Add Read the Docs?

Hi there, I was wondering whether this is on the plan. It rarely goes down, but when it did it felt like snow day… ;)

Hi @loikein I'm not sure I understand what do you mean :D

Thank you for your prompt reply! Bad jokes, never mind.
Anyways, in case you are unfamiliar, Read the Docs is a documentation hosting service that my team use. The official status page is here. It would be helpful to have it in the app, but I am just saying…

Oh okay got you 😂
It's using a Pingdom which we don't support yet :D Would be awesome if someone would help us with this :D
Even Pingdom's status page doesn't use pingdom 😂

Even Pingdom's status page doesn't use pingdom

Oh, ok… nice to know, I guess…
Thank you very much! I will close the issue now.

Let's keep it open :D
It uses a rare service (for status pages) but it'd be cool to support it :D


Initial Resources proposal

Copied from #12149 to the document
cc @bgrant0607 @davidopp @erictune @vmarmol @vishh @smarterclayton @derekwaynecarr @ncdc @mwringe @jszczepkowski @mwielgus @fgrzadkowski

Per our discussion, I would like to support building a graphical user interface where the user presents the image they want to run, and the user interface is able to query the Kubernetes system to ask what resources it recommends they should request before they actually submit the pod to the server.
This would then let the user make any of the following decisions:

click a check box to say ignore resources altogether and do best-effort
make an informed decision on if they choose to move the slider left or right to set more or less resources from a good starting point
have an idea of how much resource an object will consume so they can request an appropriate amount of ResourceQuota.

So in general, an API that lets me query the same value the admission control plug-in will auto-insert is very useful in building user experiences in this space.

Could you insert linebreaks? It's hard to add comments when Github thinks the entire doc is ~5 sentences. (I did the same thing in a doc a while ago and didn't realize it until Brian pointed it out to me.)

Overall proposal looks reasonable; I made some small comments.

@derekwaynecarr Seems like a good idea. Added paragraph for future work.
@timothysc Added Abstract and Motivation paragraphs. If the proposal is still unclear please let me know.
@davidopp Thanks for review and a very good suggestion to insert linebreaks.

I like this proposal - it will be a very useful plugin!
+1 to @derekwaynecarr's comment of layering an API on this (in a future iteration).

@AnanyaKumar thanks for comment!
Regarding to your doubts 2. may help. In general the attitude is to launch something and then tune it on a real data.

cc @afein since he's working on metric aggregation :)

AFAIK @derekwaynecarr is on vacations so reassigning to @davidopp

@davidopp comments replied. PTAL

LGTM
I would suggest (in a followup PR) add to next steps two possible ideas (I am not saying to necessarily do them, but they are worth considering):

add ability to disable InitialResources when user did not specify Request
add ability to enable InitialResources when user did specify Request

Thank you all for your feedback!


BUGFIX: ensure that tabs functions exists

Before trying to call function which uses them. Fixes #5301

Interesting... How does this solve the issue?

Maybe check if ('.cms-edit-form') has tabs applied instead of applying tabs straight out? I think it was $elem.data("tabs") for jQueryUI.
I guess this stems from the scaffolder for DataObjects defaults to always having tabs, and not normally seen to have a form without at least 'Root.Main' container

@dhensby it makes sure a tabset exists for it to query. That tabset can then return false rather than being an undefined function.
@flamerohr I don't know if I want to code in a specific use case action rather than applying a generalised fix which will work in other situations apart from this one?

Would a try {} catch block work? It just feel nasty to instantiate it like this...

I don't know about applying tabs in that area for .cms-edit-form, might be a reason it's not instantiated? ;)
Checking if it has been instantiated is less intrusive
But anyway, if it needs to be instantiated always, then I'd rather point to putting it in the $('.cms-edit-form').entwine({onmatch: function () { /* ...here? */ }); so you'd have keep the tabs manipulation in a similar scope.
Javascript is so evil in that way...

@stevie-mayhew are you in a position to get this over the line or shall we close?

No reply for a couple of months, I'll close for now, but you can re-open it if you want @stevie-mayhew


Remember username plugin remembers too early

If remember username is enabled in your local config, but disabled in your synced config it will still remember your username.

Fixed in de2ce71e694f41443e6ae1805148e2a818fff9c2


GORA-630 Move hadoop-common dependencies from gora-hive pom to gora parent pom

Issue Link: https://issues.apache.org/jira/browse/GORA-630
Move hadoop-common dependencies from gora-hive pom to gora parent pom as recommended on the ticket

@khadijm Thank you for the PR. we basically had transitive dependency issue where the same jar exists multiple versions in class path that made a build failure. Please do full build using mvn clean install and see whether there s build failure when running tests. And see how can avoid this particular dependency conflict.


build: Update Swagger to 0.30.3

Update Swagger to 0.30.x that is the first version with arm64 compatible images at quay.io/goswagger/swagger. This allows Cilium APIs to be regenerated on arm64 platforms.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

@gandro Had to push a fixed version as endpoint state in Endpoint Status had changed to a pointer, which required changes in couple of call cites. Not sure if we could change the input yaml instead to keep the old non-pointer.

@jrajahalme it seems the CI has legitimate failures.

Marking the PR as draft since CI is failing. Feel free to mark it as ready for review once CI is fixed.

@aanm Status pointer comparisons were not a good idea, fixed (cilium policy wait was broken because of this). Hopefully CI passes now :-)

Rebased.


Fix test for Cholesky factorization conversion

Codecov Report

Merging #211 (a378423) into master (efff2cd) will decrease coverage by 1.47%.
The diff coverage is n/a.

:exclamation: Current head a378423 differs from pull request most recent head e9e383d. Consider uploading reports for the commit e9e383d to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
- Coverage   73.35%   71.88%   -1.47%
==========================================
  Files          20       20
  Lines         683      683
==========================================
- Hits          501      491      -10
- Misses        182      192      +10

see 18 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Don't tell me what to do, @codecov-commenter.


[Duplicate of #7073] - Create a Python App that Extracts images, Scan For text Info, Transcribe and save to a txt file

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

`This closes #6897

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Check this @srishilesh

Thanks @WanjaMIKE for assigning this PR to me. I forgot to assign it to myself.

Starting my final review

Review is in-progress. Will complete it by tomorrow.

@Wachira48
Any updates? I believe they are very minor suggestions.
Ping me when you are done.
Thanks.

Hello, yes, @srishilesh I want to update the PR.

@Wachira48
Are the changes done?
Before you push the changes to this PR, just reopen the PR by yourself. And, ping me when me the changes are pushed.


Development

just copy over comments from tut so that help messages useful for modify routines; will need further edits in future

should go to development branch


streams cannot be ended by stream.destroy()

streams cannot be ended by stream.destroy()
in the end i get exceeded connection limit  error so i cannot use api at all

I've tried this fork https://github.com/petitchevalroux/node-twitter and it seems to work fine.

It is not this API problem, it is a twitter's limitation:
You should not make more than 1 connection to the streaming API, per the documentation [https://dev.twitter.com/streaming/public]
Someway you could make one connection at server side, and forward it through ...

I was wrong, stream.destroy() doesn't work as expected.
What I need is to create stream, and then change track/follow options in statuses/filter. I thought, that I can just close stream, and then open new one.

@ra100 is there a way to update the track for an already-open stream? I've been banging my head against the wall trying to work out how to close and re-open the stream with new options...

@unwitting I'm sorry, but I haven't found a way to do it. I just close(destroy) stream, wait and start a new stream with new parameters.

@ra100 ok - what actual call do you use to close it? .destroy()?

this is how I'm doing it:
https://github.com/desmondmorris/node-twitter/issues/159#issuecomment-229915367


WARN：discard long time none reveived connection

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
nacos1.4.2 + seata1.6.1，启动后出现warn信息，在哪里设置参数做连接保活呢
Ⅱ. Describe what happened

@S540J521 currently not supported, welcome to submit a pr to optimize it.


Update readme to improve group message docs

This PR aims to improve the docs to make it more clear how to actually make the adapter send message to different telegram groups as I struggled a bit until I managed to find out how to get the chat ids of the groups I wanted to send messages to.
closes #196

Thank you!


Implement Employee Invitation Controller

Closes: #104
What?

Add a controller for employee invitation.

Why?

Now, managers can add new employees to their companies.

How to test it?

On container:

docker compose exec api bundle exec rspec spec/requests/employee_invitation_spec.rb

Locally:

bundle exec rspec spec/requests/employee_invitation_spec.rb

@allcontributors add @aq-simei for code


Memory leak in MPSC unbounded channel

The following code produces a memory leak:
use futures::channel::mpsc::*;
use futures::StreamExt;

#[tokio::main]
async fn main() {
    let (tx, rx) = unbounded();
    tokio::spawn(listen(rx));
    for _ in 0..10_00_000 {
        tx.unbounded_send(()).unwrap();
        // tokio::task::yield_now().await;
    }

    loop {}
}

async fn listen(mut receiver: UnboundedReceiver<()>) {
    while let Some(msg) = receiver.next().await {
        println!("{:?}", msg);
    }
}

The listener will print a bunch of ()s, so I am pretty sure that it is actually running and popping from the queue. Furthermore, yielding in the loop {} doesn't make the memory usage climb back down (and neither does .awaiting on futures::future::pending). The reason I believe this to be a futures bug rather than a Tokio bug is that it produces the same behaviour with async_std, and also with manually spawning threads and blocking on the futures.
Changing the upper bound of the range will change the magnitude of the leak. Uncommenting the tokio::task::yield_now().await; line will fix this leak.
EDIT: I just retried with uncommenting that yield_now line and it doesn't fix it anymore? I'm not really sure.

how exactly are you measuring the memory to figure there is a leak? I am unable to confirm those findings on latest master. Using the following code, we should see increasing memory usage every 2 seconds, if this was leaking. Instead I am seeing a constant usage.
use futures::channel::mpsc::*;
use futures::StreamExt;
use tokio;
use std::time::Duration;

#[tokio::main]
async fn main() {
    let (tx, rx) = unbounded();
    tokio::spawn(listen(rx));
    for _ in 0..10 {
        for n in 0..1000 {
            tx.unbounded_send(n).unwrap();
        }
        println!("sleeping");
        tokio::time::delay_for(Duration::from_secs(2)).await;
    }
    println!("done");
    tokio::time::delay_for(Duration::from_secs(10)).await;
}

async fn listen(mut receiver: UnboundedReceiver<i32>) {
    while let Some(msg) = receiver.next().await {
        println!("{:?}", msg);
    }
    println!("done");
}

I think you might have been fooled by memory paging: the default way in which most operation system assign a process more memory is in fixed batches ("a page") and as long as there is at least one active item in a page, the page isn't cleared but instead reused. This reuse is what you can see happening in the example where we only add 1000 items at a time, here. Though we use a total of 1_000_000 items, too, they are not allocated at once and thus don't raise the memory. Once they are dropped from within rust / your program, the OS probably isn't clearing them yet but keeps the pages around for reuse.
This is more prominently visible if the amount of data is pretty small (compared to like allocating a movie) and a bit scattered, because it means creating a lot more pages and not reusing enough.

I will test the old sample on latest master as well as your example. I was using the resource monitor of my OS. However, shouldn't the OS be freeing the pages when the memory usage gets into the gigabytes? This wasn't observed and on a few occasions with large sizes I almost crashed by machine.

@Restioson that example was using up memory in the the Gigabytes? That would have been really bad indeed.

However, shouldn't the OS be freeing the pages when the memory usage gets into the gigabytes?

It does, but it will only free page that are completely empty.

It was basically the same example just with higher bounds. I'll try it out again when I have time. Anything specific I should run or test for?

I can't reproduce the original behaviour of getting gigabytes of ram usage anymore (that was crashing my dev machine :sweat_smile:), so I'll go ahead and close.

This problem can be reproduced regularly in my tests. When the test panic, memory detector reports some memory leak. Last week, I fix the panic issue. But you can still panic here  again and you will see memory leaks happen.
RUST_BACKTRACE=1 RUSTFLAGS="-Z sanitizer=address" cargo test -p tests-and-examples -- test_early_exit
I have a lot of other work to do so have no time these days.


Timer doesnt work??

It never says hi??
import haxe.Timer;
import haxe.ui.Toolkit;
import haxe.ui.HaxeUIApp;

class Main {
	public static function main() {
		Toolkit.theme = "dark";
		var app = new HaxeUIApp();
		app.ready(function() {
			app.addComponent(new MainView());
			app.start();
		});
		var timer = new Timer(Math.floor(1000));
		timer.run = () -> {
			trace("hi");
		}
	}
}

the in built haxe timer wont work, no. It required an event loop, you can however use the haxeui Timer class (haxe.ui.util.Timer)... these are cross framework timers

you are so right


[feat] Alarms in home assistant

Command class 113 contains alarm information that is not being included in home assistant as sensors. Below is an example of this command class from a smoke/fire detector.
The only value that I need to tell if smoke or CO2 is detected is the alarm_type field, but I believe that two sensors should be created. One for the alarm_type and one for the alarm_level just for completeness.
A contact sensor I have for the garage door also transmits a "burglar" message. I'm not sure what it does, but it may be good to include that also (see second image below).

@jshridha What component do you think I should create on hass when detecting alarm command class? A sensor?

I have this: https://github.com/OpenZWave/open-zwave/blob/master/config/Localization.xml#L8 Does your sensor send binary states or multilevel states (from x to y levels) ?

Yes - I'm thinking it should be a sensor. I'm thinking one sensor for each value just to stick with the convention that hass already has.

It sends multiple levels. The alarm_type will be either 1, 2, 12, or 13.

Ok I could create by default a sensor with generic class and a custom icon like the mdi:alarm-light

@jshridha Please try this and let me know if it works :)

@robertsLando This works partially. I'm getting the alarm_type in hass, but the alarm_level is sending its discovery to the same topic as alarm_type. It looks like alarm_level is being overwritten by the alarm_type discovery. Also, the burglar value is not being sent at all.
Both of these messages are sent to the same topic (homeassistant/sensor/laundry_first_alert/alarm/config)
Sent at 07/22/2019 2:57:29 PM:
{
  "icon": "mdi:alarm-light",
  "value_template": "{{ value_json.value }}",
  "state_topic": "zwave/laundry_first_alert/113/1/0",
  "json_attributes_topic": "zwave/laundry_first_alert/113/1/0",
  "device": {
    "identifiers": [
      "zwave2mqtt_laundry_first_alert"
    ],
    "manufacturer": "First Alert",
    "model": "0x0002",
    "name": "ZCombo Smoke and Carbon Monoxide Detector",
    "sw_version": "0.05"
  },
  "name": "laundry_first_alert_alarm",
  "unique_id": "zwave2mqtt_laundry_first_alert_26-113-1-0"
}

Sent at 07/22/2019 2:57:30 PM:
{
  "icon": "mdi:alarm-light",
  "value_template": "{{ value_json.value }}",
  "state_topic": "zwave/laundry_first_alert/113/1/1",
  "json_attributes_topic": "zwave/laundry_first_alert/113/1/1",
  "device": {
    "identifiers": [
      "zwave2mqtt_laundry_first_alert"
    ],
    "manufacturer": "First Alert",
    "model": "0x0002",
    "name": "ZCombo Smoke and Carbon Monoxide Detector",
    "sw_version": "0.05"
  },
  "name": "laundry_first_alert_alarm",
  "unique_id": "zwave2mqtt_laundry_first_alert_26-113-1-1"
}

Thanks @jshridha I forgot to check the value index, now I publish only the alarm level. Please try this again and let me know :)

That gets us close. #62 gets us the rest of the way there.


License check failed

Hey there. I am using this action to install qt for our project. You can find our yml file here: https://github.com/LorenzE/mne-cpp/blob/master/.github/workflows/main.yml
The Qt install step seems to run fine but I run into the following errors:
sh: 1: /home/runner/work/mne-cpp/Qt/5.10.1/gcc_64/bin/: Permission denied
Project ERROR: License check failed! Giving up ...
https://github.com/LorenzE/mne-cpp/commit/1c696986008faecbc8fd0d06a2735eca34e42896/checks?check_suite_id=324925917
Windows build gives me the same error:
https://github.com/LorenzE/mne-cpp/runs/316826096
Any idea why the license check failed?

Figured it out. The problem arises in aqtinstall in the qconfig.pri: fix QT_LICHECK line. This was already fixed in the v0.6a2 pre-release.

Okay, thanks for diagnosing it. Sorry you're having issues. Do you know why it happens only on your build? I'm not very familiar with the issue at hand here.

I guess your tests run fine since you do not use qmake directly? I only get the error when running qmake on my .pro files.


Remove parallel execution of keywords (:PARALLEL ) because it doesn't work correctly and requires special syntax

Originally submitted to Google Code by @pekkaklarck on 26 Feb 2010

Parallel execution of keywords using the special :PARALLEL syntax is
currently pretty buggy. The root cause for these problems is that the
keywords are executed in separate threads and the framework or libraries
aren't thread safe. If the keywords, for example, manipulate variables or
other internal state of the framework the end results may vary between
different runs, and in worst cases the result is crash or hang.
Making the framework fully thread safe would be a huge task, and it could
be that some of the current functionality even cannot be made thread safe.
On the other hand, handling parallel execution on test libraries based on
the actual needs is normally pretty easy and allows better customization.
Another problem with :PARALLEL is that this special case requires special
syntax. For example RIDE doesn't currently support it too well, and adding
the support would be quite a big task.
Because of these problems the core team has decided to remove :PARALLEL
in RF 2.5 unless someone comes up with very good counter arguments.

Is there a way to run robot keyword on parallel ?


[SU-71] Use select instead of radio buttons to choose change attribute types

Use a select menu instead of radio buttons to change the type of an attribute in a data table. This was requested by UX. It also avoids having to find space for another radio button when we add support for editing JSON attributes in the UI (SU-57).
Before

After

To get to this modal, hover over a cell in a data table and click the edit button.

Rebased to get the fix for the run-catalog-filter integration test.

Converted to draft since the original author will be on vacation for a while.

Closing this as "won't do".

While there is a plan to include an additional option here, plans can change, and such a change would cause this regression to have an indefinite duration.

Time has proven this statement wise. After discussion in #3049, we decided to only show the JSON option if the cell contains JSON. So most cells will still only have four options.


Mardown: in a child list, "inversion" does not work / partially works.

With the default configuration and the following buffer:
1. Top level
  - 1
  - 2
  - 3
2. Top level
  1. a
  2. b
  3. c

Inverting an item of the unordered child list with the <C-r> keymap only inverts the line the cursor is on.
Inverting an item of the ordered child list with the <C-r> keymap does not invert anything and the cursor moves one character to the left.

alright, for some reason ive tried everything but cant get the cursor to move to the end of the line, but now inverting can invert the entire list. Try it out!


SCSS problems when using Covalent

Currently i'm stuck on importing Covalent 0.10.1 to starter/no-universal-support branch:
https://github.com/Teradata/covalent
https://github.com/Teradata/covalent-quickstart
I have created repo to show this issue:
https://github.com/akalitenya/angular-webpack2-starter-covalent-test
https://github.com/akalitenya/angular-webpack2-starter-covalent-test/commit/147d0f33e58357f023f5fbd739e1640bbe9919e3
when running 'yarn sass' i get this error:
{
"status": 1,
"file": "/Users/aleksandrkalitena/angular-webpack2-starter-covalent-test/src/app/styles.scss",
"line": 6,
"column": 1,
"message": "It's not clear which file to import for '@import "@covalent/core/common/platform"'.\nCandidates:\n  @covalent/core/common/platform.scss\n  @covalent/core/common/platform.css\nPlease delete or rename all but one of these files.\n",
"formatted": "Error: It's not clear which file to import for '@import <EMAIL_ADDRESS>     Candidates:\n         @covalent/core/common/platform.scss\n         @covalent/core/common/platform.css\n       Please delete or rename all but one of these files.\n        on line 6 of src/app/styles.scss\n>> @import '@covalent/core/common/platform';\n   ^\n"
}
error Command failed with exit code 1.
when running 'yarn start' i get bunch of these errors:
ERROR in<EMAIL_ADDRESS>Module parse failed<EMAIL_ADDRESS>Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :host {
|   font-size: 12px;
|   font-weight: bold;
<EMAIL_ADDRESS>138:21-66
<EMAIL_ADDRESS><EMAIL_ADDRESS>@ ./src/app/app.module.ts
@ ./src/main.browser.ts
@ multi main
styles.scss file complains about imports"  it can't resolve first directory:
"@import '@angular/material/core/theming/all-theme';"
What the difference with this:
"@import '~@angular/material/core/theming/all-theme';"   ?
^
I can't figure out proper way of dealing with scss files in this repo, especially when using 3rd party libraries. Guide will be very useful.
I appreciate your work on this repo!

It's not clear which file to import for '@import <EMAIL_ADDRESS>Candidates:\n @covalent/core/common/platform.scss\n @covalent/core/common/platform.css\n Please delete or rename all but one of these files

Which one of these files should i delete?

any, it doesn't matter.

is it expected to delete .css in third party node module?
if i delete platform.css and run 'yarn sass' i got new error:
{
"status": 1,
"file"<EMAIL_ADDRESS>"line": 1,
"column": 1,
"message": "File to import not found or unreadable<EMAIL_ADDRESS>style sheet<EMAIL_ADDRESS>"formatted": "Error: File to import not found or unreadable<EMAIL_ADDRESS>     Parent style sheet<EMAIL_ADDRESS>      on line 1 of<EMAIL_ADDRESS>@import '../../../../node_modules/@angular/material/core/theming/palette';\n   ^\n"
}
https://github.com/Teradata/covalent/issues/232
anyway this doesn't resolve "You may need an appropriate loader to handle this file type." when running 'yarn start'

finally, issues were resolved by doing this inside Covalent library folder:
delete platform.scss (platform.css stays untouched)
replace "\0" with "" in platform.css
replace ".scss" with  ".css" in styleURLs in Covalent files
replace<EMAIL_ADDRESS>with<EMAIL_ADDRESS>imports in Covalent .scss files
then run "yarn sass", "yarn build:dev", "yarn start" without issues
Is it only and/or right way to deal with 3rd party scss/css with this starter?

@akalitenya it's just how node-sass deals with the issue of having scss and css files with the same names, not fully sure if you run into it without node sass...but typically, if you run into a 3rd party vendor who packages their stuff in such a way to cause an issue, you can just add a postinstall script that removes those files


How to fragment?

I am using https://github.com/nareix/joy4 to consume RTMP FLV stream and transcode it into multiple small MP4 chunks that I want to serve as live stream to users over http. The thing is that HLS or DASH are essentially for downloading complete video files, not for streaming as such. In order to support proper streaming I need to produce fragmented mp4 files which is supported by the media source extension in web browsers. Non-fragmented MP4 files will simply fail to play.
So I am greatly interested in this library and I wonder how can I use it to either take existing mp4 "monolith" file and recode it into fragmented mp4 or or better yet ,take h264 packets fro the FLV demuxer and write fragmented files right away.
edit:
So I jsut started toying with this but I am stuck on an endless dependency tree. Is there a way out of this rabbit hole?
		vid, _ := mp4.CreateHdlr("video")
		aud, _ := mp4.CreateHdlr("audio")

		vmi := mp4.NewMinfBox()
		vmi.....
		vMed := mp4.NewMdiaBox()
		vMed.AddChild(vmi)
		vMed.AddChild(vid)

		aMed := mp4.NewMdiaBox()
		aMed.AddChild(aud)

		trackHeader := mp4.CreateTkhd()

		vTrack := mp4.NewTrakBox()
		aTrack := mp4.NewTrakBox()

		vTrack.AddChild(trackHeader)
		aTrack.AddChild(trackHeader)

		vTrack.AddChild(vMed)
		aTrack.AddChild(aMed)

		moov := mp4.NewMoovBox()
		moov.AddChild(vTrack)
		moov.AddChild(aTrack)

                file := mp4.NewFile()
		file.AddChildBox(mp4.CreateFtyp(), 0)
		file.AddChildBox(moov, 0)

and that is just the setup, i haven't wrote enything into it yet ...

Parsing a monolithic MP4 file should be possible, but it has not been the focus so I don't have any example code for that.
Going directly from FLV for AVC/H.264 and AAC is relatively straight forward but requires some code to extract parameters, change time scaled. You shouldn't need to generate all the boxes, but rather use the right high-level commands to generate segments. Some example code from an simple RTMP server receiving video over RTMP.
`type videoWriter struct {
dirPath     string
vmd         sbrtmp.VideoMetaData
initCreated bool
currSegment *mp4.MediaSegment
nextSegNr   uint32
}
func initVideoWriter(path string, vmd sbrtmp.VideoMetaData) *videoWriter {
vw := &videoWriter{
dirPath: path,
vmd:     vmd,
}
return vw
}
func (vw *videoWriter) onVideo(timestamp uint32, vd flvtag.VideoData) error {
flvBody := new(bytes.Buffer)
if _, err := io.Copy(flvBody, vd.Data); err != nil {
return err
}
videoBytes := flvBody.Bytes() // Temporary. TODO
log.Debugf("FLV Video Data: Timestamp = %d, FrameType = %+v, CodecID = %+v, AVCPacketType = %+v, CT = %+v, Data length = %+v",
timestamp,
vd.FrameType,
vd.CodecID,
vd.AVCPacketType,
vd.CompositionTime,
len(videoBytes),
)
if vd.AVCPacketType == 0 {
	log.Infof("Packet 0 data: %s", hex.Dump(videoBytes))

	// The data is decoder config
	// Could create init segment here

	return nil
}
if vd.AVCPacketType != 1 {
	panic("Strange video packet type")
}

if !vw.initCreated {
	var spsNALU []byte
	var ppsNALUs [][]byte
	pos := 0
	for pos < len(videoBytes) {
		nalLength := int(binary.BigEndian.Uint32(videoBytes[pos : pos+4]))
		nalType := videoBytes[pos+4] & 0x1f

		log.Debugf("NAL unit: type=%d, length=%d\n", nalType, nalLength)
		if nalType == 7 {
			spsNALU = videoBytes[pos+4 : pos+4+nalLength]
			log.Debugf("SPS: %s", hex.Dump(spsNALU))
		} else if nalType == 8 {
			ppsBytes := videoBytes[pos+4 : pos+4+nalLength]
			log.Debugf("PPS: %s", hex.Dump(ppsBytes))
			ppsNALUs = append(ppsNALUs, ppsBytes)
		}
		pos += 4 + nalLength
	}
	if len(spsNALU) > 0 && len(ppsNALUs) > 0 {
		initSeg := mp4.CreateEmptyMP4Init(VideoTimeScale, "video", "und")
		trak := initSeg.Moov.Trak[0]
		trak.SetAVCDescriptor("avc1", spsNALU, ppsNALUs)
		outFilePath := filepath.Join(vw.dirPath, "video_init.mp4")
		ofd, err := os.Create(outFilePath)
		defer ofd.Close()
		if err != nil {
			log.Fatalln(err)
		}
		initSeg.Encode(ofd)
		vw.initCreated = true
	}
}
if vw.currSegment == nil {
	// Now create a segment
	vw.currSegment = mp4.NewMediaSegment()
	frag := mp4.CreateFragment(vw.nextSegNr, 1)
	vw.currSegment.AddFragment(frag)
}
decodeTime := int64(timestamp * VideoTimeScale / FLVTimeScale)
cto := int32(vd.CompositionTime * VideoTimeScale / FLVTimeScale)
presentationTime := uint64(decodeTime + int64(cto))
flags := mp4.NonSyncSampleFlags
if vd.FrameType == 1 { //IDR
	flags = mp4.SyncSampleFlags
}
dur := uint32(180000 / vw.vmd.Framerate) // TODO. Improve to remove drift
sample := &mp4.SampleComplete{
	Sample: mp4.Sample{
		Flags: flags,
		Dur:   dur,
		Size:  uint32(len(videoBytes)),
		Cto:   cto,
	},
	DecodeTime:       uint64(decodeTime),
	PresentationTime: uint64(presentationTime),
	Data:             videoBytes,
}
frag := vw.currSegment.Fragments[len(vw.currSegment.Fragments)-1] // TODO
frag.AddSample(sample)

//TODO. Introduce a proper segment duration and make new segment as it is passed.
if frag.Moof.Traf.Trun.SampleCount() == 48 {
	// Write segment
	sPath := filepath.Join(vw.dirPath, fmt.Sprintf("video_%d.cmfv", vw.nextSegNr))
	ofd, err := os.Create(sPath)
	defer ofd.Close()
	if err != nil {
		log.Fatalln(err)
	}
	vw.currSegment.Encode(ofd)
	log.Infof("Wrote %s", sPath)
	vw.currSegment = nil
	vw.nextSegNr++
}

return nil

}`

So the essential things are to first create an init segment:
 initSeg := mp4.CreateEmptyMP4Init(VideoTimeScale, "video", "und")
 trak := initSeg.Moov.Trak[0]
 trak.SetAVCDescriptor("avc1", spsNALU, ppsNALUs)
 initSeg.Encode(ofd)`

and then create media segment (files) with one fragment in each segment and add samples to the fragment:
vw.currSegment = mp4.NewMediaSegment()
frag := mp4.CreateFragment(vw.nextSegNr, 1)
vw.currSegment.AddFragment(frag)

sample := &mp4.SampleComplete{
	Sample: mp4.Sample{
		Flags: flags,
		Dur:   dur,
		Size:  uint32(len(videoBytes)),
		Cto:   cto,
	},
	DecodeTime:       uint64(decodeTime),
	PresentationTime: uint64(presentationTime),
	Data:             videoBytes,
}
frag := vw.currSegment.Fragments[len(vw.currSegment.Fragments)-1]
frag.AddSample(sample)

thanks, I'm on it.

Good luck. The code above is from a small experiment having the RTSP demo server in https://github.com/yutopp/go-rtmp/blob/master/example/server_demo/handler.go writing out mp4 segments from incoming RTMP stream.

I spent few hours on this today, no success. I give up. I will look for other library. I am limited by the fact that there is very few good RTMP servers in Go, so I am stuck with joy4, for now, and finding fMP4 library that would be compatible is quite hard. So I will prefer to stick with RTMP server that is working for me and look for another way to fragment the files. Thanks anyway.

I just made a PR #10 with example code on how to segment a progressive mp4 file into init segments and media segments. Hope that is helpful to you.


The project doesn't have a license

Hi @ryan-keenan,
Notice that our project doesn't have license, that's a little unprofessional for a open source project, especially there has much extends adoption and development in an online education project. "No license terms" means users don't know it can be used freely. Another reference is Can I call my program "Open Source" even if I don't use an approved license?.
So here I suggest the project add license, recommend we choose one of the below license, firstly because they're all Permissive Licenses, but they have different redistribution disclaimer:

MIT
Apache-2.0
BSD-3-Clause

Regards,
Brandon

Added!


Add directedGraph to module exports for extensibility

directedGraph is not part part of the module exports which makes it impossible to modify the prototype in any way.
To avoid doing a very extensive Encapsulation of the entire library to add a piece of functionality lets expose the prototype. That will allow other developers to add functionality like getGetEdgesForVerticeWithProperty
directedGraph.prototype.getGetEdgesForVerticeWithProperty = function(v, p) {
  const outEdges = this.outEdges(v);
  return _.filter(edges, (possibleEdge) => this.getEdgeProperty(possibleEdge) === p);
 }

Hello, @rosinbum --- I've been busy and just noticed this PR. I've been planning another wave of effort related to all the libraries in the Encapsule/arccore package (including jsgraph) and will take a closer look at your suggestion when I get to this later in the month.
I like your use case; filtering vertex and edge queries based on call-provided predicate is a very common operation. I have a whole system for doing this in my own derived code that I've been considering folding into the jsgraph library for vNext release.
Can you imagine other use cases where modification of the DirectedGraph prototype might be useful? My general philosophy w/this library is to be very careful about separation of concerns; DirectedGraph doesn't implement any algorithms but is rather limited to providing a normalized encapsulation API of CRUD operations. Algorithms (including filtering) I think should be handled in code that derives from this low-level API. But, I would be interested to hear other arguments about the need to affect modification of the DirectedGraph prototype. Thanks!

I'm closing this pull request. If you circle back to this thread and wish to discuss this further, please respond on this thread or follow-up w/me directly via e-mail. Thanks.


bitwarden-{cli,desktop}: 2024.2.0 -> 2024.2.1

Description of changes
Diff: https://github.com/bitwarden/clients/compare/cli-v2024.2.0...cli-v2024.2.1
Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.2.1
Diff: https://github.com/bitwarden/clients/compare/desktop-v2024.2.0...desktop-v2024.2.1
Changelog: https://github.com/bitwarden/clients/releases/tag/desktop-v2024.2.1

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'll remove https://github.com/NixOS/nixpkgs/pull/294220/commits/76215129798e9344ce2568e2fb1a3b4a6ae9e845 because I don't know how to make bitwarden-desktop build.


WFL2 - Budget - Allow configuration of decimals for budget items

Story
Allow Organizations to configure if they want to use decimals for budget items or NOT use decimals to budget items.
Humanitec/TolaDataV2
https://app.zenhub.com/workspace/o/humanitec/toladatav2/issues/872
Activity: Budget amount with decimals are not saved
Acceptance Criteria
GIVEN a user is entering a budget item for their WFL2
WHEN they enter a decimal for a budget item and click submit
AND if their Admin has allowed decimals in their currency settings
THEN the budget is saved with the decimal number entered

frontend ticket: https://app.zenhub.com/workspace/o/humanitec/toladatav2/issues/1047
In Admin Console: Configuration
yes
*ok


Text column with unlimited length in aggregate database

Hi,
It looks like creating specific length columns used to be supported, but there doesn't appear to be much documentation for how to do this using the newer app designer with formDef.json. Currently I'm only able to get column types of varchar(255), how can I get unlimited length text columns or arbitrary length text columns.
Aggregate: 1.4.12
App designer: 206b
Database: postgres 9.4.4

For the 2.0 tools, this requires creating a model sheet in your XLS file.
You may also need to update to ODK Aggregate v1.4.13 though string length
should work prior to that release (that release is required for fully
custom data types, and perhaps array storage size changes).
Attached is an exemplar form (which ONLY works on v1.4.13 because, in
addition to exercising string length settings, also defines custom data
types).
The way to define the column length is via the number in the ()'s under the
elementType column. E.g., string(500) will declare a varchar(500) column or
equivalent.
In the model sheet, the name column is the field name of the field.
'col5' is an example of increasing a string field to a longer length (you
can also decrease the storage size)
'col14' is an example of increasing a select-multiple field to a longer
length.  This is also something to verify -- that you have enough space to
store all selected choices ( the JSON serialization of all the data_value
from the choice list ).  Note that unbounded or very large select-multiples
will eventually exceed storage capabilities. In that case, moving to a
parent-child-form would be required -- like in the household /
household-member form. In that implementation, the child form would have a
select-one from the choice list, and hold the instance id of the parent
form. The parent form then can display all choices the user has selected
via the prompt types derived from linked-table linking to this child form.
'col12' and 'col1a' are examples of defining an array of integer values and
an array of geopoints (e.g., for a different type of select multiple or a
geoshape-like field -- no prompt type exists for these in our software, but
you could create one).
On Mon, Jan 16, 2017 at 8:23 PM, Andrew Bentley<EMAIL_ADDRESS>wrote:

Hi,
It looks like creating specific length columns used to be supported, but
there doesn't appear to be much documentation for how to do this using the
newer app designer with formDef.json. Currently I'm only able to get column
types of varchar(255), how can I get unlimited length text columns or
arbitrary length text columns.
Aggregate: 1.4.12
App designer: 206b
Database: postgres 9.4.4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opendatakit/opendatakit/issues/1265, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACLO09t3HFheyFTVI8kADh8m3zmO1qY7ks5rTEIxgaJpZM4LlN4G
.

--
Mitch Sundt
Software Engineer
University of Washington
<EMAIL_ADDRESS>

The attachment is missing

Must have been swallowed by antivirus software.
Here's the link to this file in the repo.
https://github.com/opendatakit/app-designer/blob/master/app/config/tables/datatypes/todo/forms/datatypes/datatypes.xlsx
Click the "Download" button to retrieve it.
On Thu, Jan 19, 2017 at 3:12 PM, Andrew Bentley<EMAIL_ADDRESS>wrote:

The attachment is missing
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/opendatakit/opendatakit/issues/1265#issuecomment-273928571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLO04lP96El0ozqDHYYhUWzI_terATfks5rT-3rgaJpZM4LlN4G
.

--
Mitch Sundt
Software Engineer
University of Washington
<EMAIL_ADDRESS>

Thanks Mitch, got this working now. I had to upgrade to 1.4.13 though.

Good morning,
maybe I should create a new issue...
We are facing this problem and we "solved it" by modifying the xml (AGGREGATE 1.4.3 on PostgreSQL 9.6 and earlier version)
We collect geoshape data and aggregate translate the type in a character varying(255) column.
So we add a calculate hidden field named obs_coord: the string corresponding to the geoshape input value.
We need to modifiy the xml attribute for the field (odk:length="2000") and modify the header of the xml form
(xmlns:odk="http://www.opendatakit.org/xforms" ):
`

<h:html xmlns:odk="http://www.opendatakit.org/xforms" xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>EXO_MOBILE_8</h:title>

<exo_mobile_8 id="exo_mobile_8" version="1">

<id_etude/>
<id_protocole/>
<code_releve/>

<saisie_observateur jr:template="">
<saisie_structure/>
<search_observateur/>
</saisie_observateur>
<saisie_date>
<date_obs/>
<duree_obs/>
</saisie_date>
<option_localisation/>
<obs_geopoint/>
<obs_geoshape_type>
<obs_localisation/>
<obs_coord/>
</obs_geoshape_type>
<local_rqs/>
<saisie_observation jr:template="">
<recherche_esp>

<searchtext_latin/>
</recherche_esp>
<search_nom_latin/>
<lb_cd_nom_latin/>
<carac_observation_flore>
<flore_effectif/>
<effectif_textuel/>

</carac_observation_flore>
<carac_observation_faune>
<faune_effectif/>

</carac_observation_faune>
<statut_repro/>
<remarques_obs>
<obs_rqs/>
</remarques_obs>
</saisie_observation>

</exo_mobile_8>

Informations sur le relevé effectué

Etude

nom_etude
id_etude

Protocole

libelle
libelle_id

Code du point de relevé

Observateurs du relevé

Structure de l'observateur
Saisissez une structure

nom_structure
id_structure

Observateur
Ajoutez un observateur

nom_observateur
id_observateur

Date et durée du relevé

Date de l'observation

Durée de l'observation
en minutes

Choix du type de localisation des espèces

Prendre le point GPS où je suis
gps_auto

Placer un point sur la carte
map_object

Localisation GPS automatique

Localisation sur la carte

Saisie de la localisation sur la carte
Saisissez un polygone ou une ligne pour localiser votre observation

Remarques sur la localisation des observations

Saisie observation d'une liste d'espèces

Recherche d'une espèce

Règne animal ou végétal ?

Animal
animalia

Végétal
plantae

Recherche d'une espèce nom latin
Tapez au moins 3 lettres du début du nom d'espèce.

Espèce nom latin

lb_nom_key
lb_nom_cd_key

Description de l'observation flore

Effectif
Saisir effectif OU abondance

Abondance

i
i

r
r

+
+

1
1

2
2

3
3

4
4

5
5

Strate

Strate arborée
Strate arborée

Strate arbustive
Strate arbustive

Strate sous-arbustive
Strate sous-arbustive

Strate herbacée
Strate herbacée

Strate muscinale
Strate muscinale

Strate lichénique
Strate lichénique

Sol nu
Sol nu

Litière
Litière

Phénologie

État végétatif
État_végétatif

En graine
En_graine

En bouton
En_bouton

En fleur
En_fleur

En fruit
En_fruit

Fané
Fané

Plantule
Plantule

Description de l'observation faune

Effectif

Age

Oeuf/ponte
Oeuf/ponte

Juvénile
Juvénile

Adulte
Adulte

Indéterminé
Indéterminé

Sexe

Mâle
Mâle

Femelle
Femelle

Couple
couple

Indéterminé
Indéterminé

Statuts / Reproduction

libelle_statut_repro
id_statut_repro

Remarques

Remarques sur l'espèce vue

`

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain beorse.net has exceeded the max emails per hour (296/250 (118%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o4.sgmail.github.com ([<IP_ADDRESS>]:44087)
by hp159.hostpapa.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89)
(envelope-from<EMAIL_ADDRESS>id 1dgMDc-000f27-T1
for<EMAIL_ADDRESS>Fri, 11 Aug 2017 22:32:05 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=akbdEEQNsBu/nK3XSiR7Uq6/TaQ=; b=bma84WbVoCuTBism
Zw5xOFp7XCAsn1ZxKIL1mgMLZPanfWvNo8qVRL1960t1ERn8nsBx1adGPzeiql1G
T4N1nvZSvWGybL8uIdk79C1oqbPatlu90UWJIeYWqqyfsjBmYZ7YyEr+JukVwBjs
Uqt6rDKrIjvtOV0WoM32kOEDQg4=
Received: by filter0424p1mdw1.sendgrid.net with SMTP id filter0424p1mdw1-3182-598E687C-D
2017-08-12 02:31:24.144946132 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [<IP_ADDRESS>])
by ismtpd0024p1mdw1.sendgrid.net (SG) with ESMTP id vAhiG16DR12MKqaUhQuOHA
for<EMAIL_ADDRESS>Sat, 12 Aug 2017 02:31:24.081 +0000 (UTC)
Date: Sat, 12 Aug 2017 02:31:24 +0000 (UTC)
From: Open Data Kit<EMAIL_ADDRESS>Reply-To: opendatakit/opendatakit<EMAIL_ADDRESS>To: opendatakit/opendatakit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [opendatakit/opendatakit] Text column with unlimited length in
aggregate database (#1265)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_598e687bc6785_34ec3fd01df59c2c527bb";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: opendatakit-bot
X-GitHub-Recipient: jbeorse
X-GitHub-Reason: subscribed
List-ID: opendatakit/opendatakit <opendatakit.opendatakit.github.com>
List-Archive: https://github.com/opendatakit/opendatakit
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AAUZr-37IOAhkRQug9I8Vg5qEv8aOvQIks5sXQ57gaJpZM4LlN4G
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-SG-EID: JVRD81wLmvjBgNlAmNtibjEbEEhcPGKEESixoxP2c44T7QrCDd0Vz7vJ+24BaszGdnDcXG02MBcIpA
QvQDG3E6Opy1IBdq+gHEoB2avgExqq0pOgaVVYwR7JtZ0ddT+m5EpY+BC4mc7L32GFf+NIEN2m9/Hi
yKqC/uyDra+hIks8aK8RFYf6Uc91AhqnXYMJ5hN/IxkLmmVgV8zZtofyzhZk2ducuE/UhN8jzm55sp
I=
----==_mimepart_598e687bc6785_34ec3fd01df59c2c527bb
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #1265.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/opendatakit/opendatakit/issues/1265#event-1203484543
----==_mimepart_598e687bc6785_34ec3fd01df59c2c527bb
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #1265.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_598e687bc6785_34ec3fd01df59c2c527bb--


Question: Nit Benchmarks

Do you have any benchmarks of how it compares to other languages?

We do not have any formal benchmarks.
One may need to do #716 for some kind of fair comparison.
The only recent peer-reviewed thing we have is for subtype tests: http://info.uqam.ca/~privat/publications/TerrasaPrivat-icooolps13-EfficiencyOfSubtypeTest.pdf
More older works are for OO-related implementations http://info.uqam.ca/~privat/publications/DucourEtal-oopsla09-OOImplementation.pdf and http://info.uqam.ca/~privat/publications/PrivatDucour-paste05-LinkTimeStaticAnalysis.pdf
Otherwise, with nitc --semi-global I can usually achieve some reasonable performances (in the C/C++ range).
For some IA programs (same algorithms) I have a performance comparable to Java.
Is some bad and unoptimized cases (eg. naive arrays of integers) people can achieve performances between java and python.
Note that because or the FFI, performance is mostly not a problem since it is easy to implement things in C or in another language.


add minor windows install notes to  README.rst

@nicholasmhughes sorry for the markdown use of a table messing up the pre-commit rstcheck. Hope we are passed that now.

I hope that is it. @nicholasmhughes  thanks for you patience.

absolutely, whatever works. I am so sorry, I do not have pre-commit, so I could not check it myself. same of course for the same entry on your saltenv git repo.


Error

After Update afew day.
bittrex not work
api can not execute
pls check
I run with
./zenbot.sh trade --period_length=1m --profit_stop_enable_pct=10 --profit_stop_pct=4 --trend_ema=36 --sell_rate=-0.06 --paper
next error :
with BTC-USDT can not work because

when BTC up we need sell
When BTC down we need buy

but now

When BTC up bot buy
When BTC down bot sell :(

Not good

Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings,
🤖


a small improvement on the way clear_completed and clear_failed are

When the status queue is too big, wait to clear_completed and clear_failed to check all items if they are completed/failed and them remove the items  takes too much time. This approach removes when encounters the completed?/failed? item and then keeps returning the hashs of removed items.
And i've removed the glueoutputbuf from redis-test.conf since it doesn't work on redis >= 2.6

Thanks - this saves an extra iteration through the list of items too :+1:

:+1:


No more images

Hi,
Thanks for your program, it's great
Though since today, images stopped to load in feeds
Thanks

I'm glad you're finding it useful!

Could you give me an example timeline that you're seeing this problem for?
Can you run with the -verbose flag and attach the output?
Which format are you using (atom, json, rss)?

I'm seeing embedded images in feeds that were created about two hours ago, and it also looks like images are included when I run twittuh -force -format json -pages 1 -verbose librarycongress librarycongress.json right now.

twittuh -force -format json -pages 1 -verbose archillect archillect.json
I've been forced to add .txt to be able to upload it
archillect.json.txt
My command is : /usr/local/bin/twittuh archillect /tmp/go-touit.rss and images are broken
Thanks a lot for your help

Thanks for the details!
Hmm, in your attached file (and in what I get when I scrape the same feed), it looks like the content_html properties include  tags. For example, the top item has this content:
"\u003cdiv class=\"tweet-text\" data-id=\"1308780876206092288\"\u003e\n      \u003cdiv class=\"dir-ltr\" dir=\"ltr\"\u003e  \u003ca href=\"https://t.co/8G3ZFneKGP\" data-pre-embedded=\"true\" rel=\"nofollow\" data-entity-id=\"1308780873085485059\" dir=\"ltr\" data-url=\"https://twitter.com/archillect/status/1308780876206092288/photo/1\" data-tco-id=\"8G3ZFneKGP\" class=\"twitter_external_link dir-ltr tco-link has-expanded-path\" target=\"_top\" data-expanded-path=\"/archillect/status/1308780876206092288/photo/1\"\u003e\u003cimg src=\"https://pbs.twimg.com/media/Eim5RRUWAAM6BbV.jpg:small\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n    \u003c/div\u003e"

Decoded and pretty-printed, I think that that turns into:

There's an  tag pointing at https://pbs.twimg.com/media/Eim5RRUWAAM6BbV.jpg:small at the end there, and it looks properly-formatted to me and I'm able to load it in my browser -- let me know if you see something that I'm missing.
What software are you using to read the feed?

Strange, I'm using tt-rss self hosted

Indeed it works in a desktop rss reader (liferea)
Sorry for the noise and thanks again !


Fix chain_id decision mechanism to be compatible with ruby-eth v0.4.9

This PR is related to the issue discussed at https://github.com/EthWorks/ethereum.rb/issues/94.
It implements a decision mechanism on how to set the chain id on the transaction based on the version of ruby-eth that has been detected (ruby-eth has introduced breaking changes on their API in a minor version, v0.4.9).
It also refactors the mechanism used to send raw transactions, which was previously duplicated int Eth::Client and Eth::Contract, in order to implement the chain id decision mechanism in one single place.

It also refactors the mechanism used to send raw transactions, which was previously duplicated int Eth::Client and Eth::Contract
Thank you for this!

eth 0.4.10 Undid the name change for the config variable (back to chain_id). So things will work as is. However, it's still debatable whether we should be setting chain id at the tx level.

@aurelienshz
Thanks for the PR. Please migrate as we will maintain the eth.rb library here. ;)


accept passphrase from stdin

Passphrase: **
Confirm Passphrase: **
in addition to --pass

Prints "Missing passphrase." if called w/o passphrase from a script.
Prompts for passphrase if launched in a terminal.


Fix set_version.sh in release scripts

The script was broken when editing Dataflow container versions.

set_version.sh 2.29.0 --release would set the version to just beam- without the version
set_version.sh 2.30.0 really shouldn't modify it because when we move to the next version
on the main branch we keep the same beam-master-<date> container.
Go was not included, because the script was not used by the other scripts so it rotted.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM

CC @emilymye that the reason this is pulled into one script is that it should be the one place where we collect knowledge about what are all the places that need editing. It can advance the current clone to the next snapshot version or set to a non-snapshot version for RC building.


Add Font Awesome and Flags icons

Font Awesome and Flags icons are in the demo page, but not in tabler-react.
For now, there is only Feather icons.

@Zarkus13 I will update the docs to reflect this but currently, you need to include font-awesome yourself
The flag icons should be included in the distributed package, please can you try installing the latest version and double check they are not working?

@jonthomp you're right sorry, flags and payments icons are ok ;) Thanks !


Must have different ways to replay data in source

For source (where Cosmos DB is the source), provide different ways to replay the data, Example ChangeFeed, Queries and Read Feed

@skarri-microsoft & @arramac  do you think we need all 3 for P0, or just ChangeFeed, and add the others later?

I think only Change feed is P0. Read Feed is redundant since change feed can support read from beginning, which is change feed. Query is really a workaround because we don't have filtered change feed, I'd like to leave it out unless early adopters (Walmart) absolutely need it

I'll add a "nice to have" (P2) for query support.


what if I convert the codebert to longer tokenize?

In this :https://github.com/microsoft/CodeBERT/issues/278#issuecomment-1646589487, I know we can expand the length of longcoder to unlimit length,  but I can also expand the codebert maximum length by this function, could this be a good choice? Do I have to re-train the model from the beginning?

Yes. It's good choice. You don't need to re-pretrain the model

Thanks for ur kindly help~~


Code constantly prompts to install recommended extension which are all intsalled

VSCode Version: Code 1.19.2 (490ef761b76b3f3b3832eff7a588aac891e5fe80, 2018-01-10T15:55:03.538Z)
OS Version: Windows_NT x64 10.0.17074
Extensions:

Extension
Author (truncated)
Version

bracket-pair-colorizer
Coe
0.10.14

prettier-vscode
esb
1.1.0

sort-typescript-imports
mic
1.4.1

debugger-for-chrome
msj
4.0.0

Steps to Reproduce:

Just open VS Code in git repo root directory.
Get prompted about recommended extensions, click "install"
Get message that all recommended extensions are already installed.  Why did it prompt in the first place then?

Reproduces without extensions: No - since it's related to extensions

I managed to reproduce this.
The problem is due to having a uppercase in the extension name ( Orta.vscode-jest for example)
If we add  "Orta.vscode-jest" in the extension.json, the popin will recommended extension popin will always show up. Followed by a "Recommended extensions are already installed"
Renaming it to lowercase remove the popin.

@rrousselGit This has been fixed in the latest insiders


About the Context M and C SET

The set generation of average masks and the composition of M are in persudo-mask, sege is a separate semantic segmentation model

The next cycle is to use the trained model to generate the training data or to use the pseudo-mask generated by persudo-Mask.

Hello, do you know which part of the code M_t corresponds to?


How to detect if cached composition data is obsolete?

Let's say my main assembly has version <IP_ADDRESS>. I serialize its composition data to disk:
await cacheManager.SaveAsync(configuration, stream);

Then I update my assembly version to <IP_ADDRESS>. Finally, I successfully (and a bit unexpectedly) deserialize the composition data from the previously saved cache:
var epf = await cacheManager.LoadExportProviderFactoryAsync(stream, resolver);

I expected this to fail, since the version has changed. Viewing the serialized data, I can see the old version number lurking around. Running the application seems to work, but I guess there could have been a problem if the dependencies had changed.
Not sure how to interpret these findings. What is the expected behavior, and why?
More importantly, is it possible to detect if a serialized cache is obsolete?

This vs-mef library does not address cache invalidation at all, at present. When we use this within Visual Studio itself, we have a great deal of code to handle cache invalidation. It's something on our backlog to someday rewrite that into this repo and make it a proper (and hopefully simpler) feature.
The reason it worked for you when you loaded a stale cache is vs-mef has two modes: if the cache matches the assemblies exactly, it will use "fast reflection"; if the cache appears stale, it will failover silently to "slow reflection" and do the best it can with what you gave it. This means, as you suggest, that if you've made significant changes to the MEF graph itself, there could be runtime failures because no scanning of MEF parts occurs when you load a cache.

Thanks for your explanation.
In our case it would be good if we could force the cache loader to fail if the assemblies do not match exactly. Is it possible to disable slow reflection, throwing an error instead?

Is it possible to disable slow reflection, throwing an error instead?

You probably don't really want to do that. The feature to silently failover keeps your app from failing when Microsoft services Windows / .NET Framework assemblies via Windows Update. The MEF cache file includes metadata tokens from any assembly that is required in the graph, and that includes reference assemblies of the assemblies actually in the catalog. So if you have MEF assembly "a.dll", and it of course references mscorlib.dll, System.Runtime.dll, and/or netstandard.dll, then any time those reference assemblies change that can cause fast reflection to fail and slow reflection to automatically kick in.
What I suspect you want is for the app to fail (or even better, the cache to be automatically refreshed) on startup of your app if any of the first-order MEF assemblies (the ones that actually define MEF parts) have changed. And that's what the cache invalidation code (that isn't offered yet by this repo) would do for you. It might even kick off a refresh in the background if slow reflection ever kicked in (for the reference assemblies) for better performance the next time.
Is it possible for you to do this with vs-mef as is? Sure--after all VS does it today. But we don't rely on assembly version or even assembly file version, since those values don't change nearly as frequently as an assembly does in general. Instead, we use the modified timestamp and the assembly MVID, both of which you can look up and store with the cache in order to invalidate the cache when loading it.

Thanks. I decided to serialize the scanned assembly timestamps together with the graph data. If the timestamps differs, the cache is invalidated.

Sounds good. FYI you can get a full list of all the assemblies that were included in the cache (which is more than the ones you passed in to be scanned, since it includes relevant reference assemblies) by calling the GetInputAssemblies method.

Brilliant! So that gives you the ability to check timestamps of assemblies e.g. in the GAC (that might have been updated)?

Yes

The timestamp seems to be correct for all but Nuget assemblies, including Microsoft.VisualStudio.Composition:

Microsoft.VisualStudio.Composition: 1904-03-23 04:08:04

Why do these DLLs have these weird timestamps? Are nuget packages built with the /deterministic flag?

Yes, vs-mef assemblies are built with the deterministic flag.
When I said check timestamp, I wasn't talking about its internal timestamp. I was talking about the last write timestamp from the file system.

I realized that my timestamp check is very slow. Do you know when this type of timestamp check is absolutely necessary? I'm thinking that it might be enough to check the timestamp during development. But in production, what would happen if a Windows Update causes some serialized .NET dependencies to be updated?
Do you have any suggestion on how to determine when it is necessary to perform this check? E.g. A Windows was updated event or similar? Obviously, we want to avoid runtime errors at all cost!
Currently, I have this code for timestamp verification.
Check timestamps when reading graph from disk.
DateTime CreateTimestamp(AssemblyName assemblyName)
{
    var path = new Uri(assemblyName.CodeBase).LocalPath;
    return File.GetLastWriteTime(path); // This is slow!
}

// Then, after catalogManager.LoadAsync()...
var timestamps = LoadTimestamps(stream);
bool isValid = timestamps.SequenceEqual(catalog.GetInputAssemblies().Select(CreateTimestamp));

Another idea is to only check timestamps on our own assemblies, not anything from the system/GAC.

VS-MEF can tolerate Windows Updates that touch .NET assemblies. It has a dual-path for cache scenarios: fast path and slow path. It uses fast path if the assemblies haven't changed at all since the cache was created, and it quietly falls back to the slow path if they have changed in order to avoid a runtime failure.
In VS we have a complicated and tuned cache invalidation system that I hope to one day move into this repo to share with everyone. But it needn't be so complex if your app isn't extensible after it ships. If it's not extensible, I would use the AppHost package to build the cache on build and ship it, without worrying about invalidating the cache.

Great! Our app is not extensible for sure. So we should be safe if we put the timestamp check inside an #if DEBUG (for developing)?
We are considering creating the cache and ship it, but another possibility is to create it on load if it doesn't exist. That way we have a fallback. Only first execution would be a bit slower.

I'm not sure why you would need it for DEBUG, if every time you build it will check and/or refresh the cache.
Yes, you could create it on startup if it's missing, and thus avoid shipping the cache file. I'm not sure there is much/any benefit to that, and you'd have more code to write and maintain.
If VS-MEF ever picks up more of the cache management features, it would certainly offer this option.

Thanks for your quick response.
In DEBUG a developer might add a new export, and the previously created cache will not include it. So that will confuse the developer.
Maybe I should add a custom buid step to delete the cache on Build.
I want developers to both benefit from the cache and allow them to add new exports without any hassle. Tricky!

I agree. But the cache should be built on every build, so if the developer adds an Export, on the very next test run or debug launch they'll be running with the new cache.


Accept a Function object as index option

This is a streamlined from scratch reimplementation of issue #89 on top of master code to be as minimal and focused as possible.


Could not locate unexpired trusted ticket

Hi,
I have installed the confluence module and have whitelisted the IP of my confluence server in tableau server.
I get the mentioned error message: Could not locate unexpired trusted ticket
Any help would be appreciated.
At the moment no SSL cert is set for the tableau server. Confluence however is using SSL. Is it possible that this is the reason for the problem?
I'm using Confluence 6.8.2 and tableau 2018.1
BR, jg

@java-guy is this message shown in you browser or in the log? It seems like confluence was not able to authenticate. Every request to confluence triggers an authentication request to tableau (which is an expirable trusted ticket). That is passed to the client, the browser is than requesting content from Tableau client side based on that ticket.
Few steps to take into account:
indeed make sure both are behind SSL otherwise you would end up with mixed content
make sure that both have the same users. The user logged into confluence is the user logged into tableau. The link is trusted between the two (confluence is adding the user) and both should have the same user (and domain in case of AD)
make sure the user has access to the site in tableau
HTH

Hi,
Atlassian Confluence 6.8.2 reporting your plugin is not compatible. Same with ver 6.9 of Confluence. Could this be cause of plugin not working with Confluence?
Anyway, that error "Could not locate unexpired trusted ticket" shows up on Confluence pages, even everything above you listed is fulfilled.
Only I'm not sure if I understand this correct - every user on Confluence must exist with same username on Tableau ? Or it is enough that user who create page and use plugin to fetch data from Tableau exist on both servers?

Also, just found this.
When I open browser console on wiki page with embeded Tableau report...
It give interesting error:
{noformat}
Refused to execute script from 'https://tableau.server.com/vizql/v_201811805101418/javascripts/vizqlserver/hide-load-indicators.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
{noformat}
and link which is posted to Tableau is:
https://tableau.server.com/trusted/<!DOCTYPE html><html><head><meta charset=
And that is not what should be posted to trusted link... So, instead to post https://tableau.server.com/trusted/something?admin it POST beginning of HTML page code... and that can be cause Tableau return expired ticket, as username was not sent...
From doc:

The web server sends a POST request to the trusted Tableau Server (for example, https://tabaserver/trusted, not https://tabserver). That POST request must have a username parameter. The username value must be the username for a licensed Tableau Server user.

Error from Tableau server (if helps):

2018-07-01 23:19:17.458 +0200 (,,-,WzlFVa7nnitKUiRPIi8uFQAAAW4) catalina-exec-135 : ERROR wgsessionId=sxVIHQmtTauWC6DQNRG8Cg com.tableausoftware.model.workgroup.service.TrustedTicketServiceImpl - an attempt was made to redeem a ticket with the wrong format for this server


reduction: Add an extra operation for data type casting as SYCL reduction kernel doesn't support dynamic cast so far.

As pytorch comment https://github.com/pytorch/pytorch/blob/8ea4c72eb275d9ca97917dfd9386c93f16f4b49f/aten/src/ATen/native/ReduceOps.cpp#L1569.
Reduce backbone do not support dynamic input cast. Using make_reduction_from_out_ty instead of make_reduction.
fix for case on mtl:
"test_python_ref__refs_all_xpu_complex128",
"test_python_ref_executor__refs_all_executor_aten_xpu_complex128",
"test_python_ref_torch_fallback__refs_all_xpu_complex128",
and
"test_compare_cpu_all_xpu_complex128" in extended test

need to futher inspect why these case pass in PVC before


Other scripts on loaded page

Great work , thanks !
My question may sound quite rookie , however I am sure someone else may have same question as well.
Once Swup completes the transition of page A to B  , after  XX ms  I'd like to have other css formations to happen as well ( screw , rotate , change colour etc ) .
to make it much clearer , currently I have other JS's are making parallax effects on elements on page load .But I'd like to keep those elements still part of transition done by Swup .

Hi @logoswind,
any chance you can provide some code example/demo/image of what you have in mind? I'm not sure I understand what is it that you want to achieve.


Missing docs for cilium uninstall

Bug report
In cilium-cli v0.8.5 there is an uninstall command but no cleanup command:
https://github.com/cilium/cilium-cli/blob/master/internal/cli/cmd/install.go#L98
Whereas in the cilium docs (v1.10), there is a cleanup command but no uninstall command:
https://github.com/cilium/cilium/blob/master/Documentation/cmdref/cilium_cleanup.md

Thanks for the report. I'm marking this as a question instead of a bug, because there are two binaries called cilium:
One is the Cilium CLI hosted in https://github.com/cilium/cilium-cli/, which is used to install and validate Cilium on new clusters. It contains cluster-wide operations for e.g. connectivity validation or uninstalling Cilium from a cluster.
This binary is typically installed on workstations. It has a uninstall command, but no cleanup command.
The other binary is also called cilium but it is only used inside the Docker container to configure the local cilium-agent instance. It has a cilium cleanup command which removes all Cilium-related state from the local node - but if you want to uninstall Cilium from a cluster, that's not sufficient, you will have to use cilium uninstall for that.
To summarize:

The cilium binary available alongside the cilium-agent on each node has its source here (https://github.com/cilium/cilium/tree/master/cilium) and is documented here (https://docs.cilium.io/en/v1.10/cmdref/cli_index/)
The cilium binary called the Cilium CLI is has it's source here (https://github.com/cilium/cilium-cli/) and currently has no hosted documentation.

We have since renamed the cilium binary inside of the cilium-agent pod to cilium-dbg, to avoid further confusion with "Cilium CLI".
All documentation should have been updated. cleanup is a command for cilium-dbg which is only available inside of the cilium-agent pod.


call start review mutation once

close in favor of #78

 StartReview mutation is firing too many times:


fix(shared): Fix missing js-cookie and swr deps

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[x] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Fixes issue with js-cookie missing dependency from @clerk/shared when using @clerk/clerk-react  or any other dependent package.
The failure is caused due to the fact that js-cookie is currently a devDependency of @clerk/shared and it's not included in the final build.

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


how to load specified css ?

thanks for great work!
how to load specified css ? I cant find a way to do this in docs。

Hi, I wrote a wiki page that explains how it works:

https://github.com/murlokswarm/app/wiki/CSS

Please reopen if more info are needed.

nice!
good job!
thanks!


Add support for Cross Origin Resource Sharing (CORS)

We have added cors field in route config. By default, it is disabled but can be enabled by setting appropriate environment variables.

@mohak1712 There is no usage of the cors config though. Is this PR  a WIP?


Authorisation found that doesn't match target

Unable to create or renew certificate.
To Reproduce
Create certificate with [dns-01] Create verification records manually (auto-renew not possible) method
Log
[VERB] Source converted into 1 order(s)
[DBUG] Reading certificate cache
[DBUG] No cache files found for renewal
[DBUG] Reading certificate cache
[DBUG] No cache files found for renewal
[VERB] Obtain order details for Main
[VERB] No existing order found
[VERB] Creating order for hosts: ["DnsName: *.mydomain.com"]
[VERB] Constructing ACME protocol client...
[VERB] Getting service directory...
[DBUG] Send GET to https://acme-v02.api.letsencrypt.org/directory
[VERB] Request completed with status OK
[DBUG] Loading signer from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Signer_v2
[DBUG] Loading account from C:\ProgramData\win-acme\acme-v02.api.letsencrypt.org\Registration_v2
[VERB] Using existing ACME account
[VERB] ACME client initialized
[DBUG] Send HEAD to https://acme-v02.api.letsencrypt.org/acme/new-nonce
[VERB] Request completed with status OK
[DBUG] Send POST to https://acme-v02.api.letsencrypt.org/acme/new-order
[VERB] Request completed with status Created
[VERB] Order https://acme-v02.api.letsencrypt.org/acme/order/390461350/88623816656 created
[DBUG] Send POST to https://acme-v02.api.letsencrypt.org/acme/authz-v3/108545708586
[VERB] Request completed with status OK
[EROR] (InvalidOperationException): Authorisation found that doesn't match target
[DBUG] Exception details: InvalidOperationException {TargetSite=PKISharp.WACS.Context.ValidationContextParameters <RunAuthorizations>b__2(PKISharp.WACS.Context.AuthorizationContext), Message="Authorisation found that doesn't match target", Data=[], InnerException=null, HelpLink=null, Source="wacs.lib", HResult=-2146233079, StackTrace="   at PKISharp.WACS.RenewalValidator.<>c__DisplayClass7_1.<RunAuthorizations>b__2(AuthorizationContext context)\r\n   at System.Linq.Enumerable.SelectListIterator`2.ToList()\r\n   at PKISharp.WACS.RenewalValidator.RunAuthorizations(IEnumerable`1 authorisationContexts, RunLevel runLevel)\r\n   at PKISharp.WACS.RenewalValidator.AuthorizeOrders(IEnumerable`1 orderContexts, RunLevel runLevel)\r\n   at PKISharp.WACS.RenewalExecutor.ExecuteOrders(List`1 orderContexts, RunLevel runLevel)\r\n   at PKISharp.WACS.RenewalExecutor.HandleOrders(ILifetimeScope execute, Renewal renewal, List`1 orders, RunLevel runLevel)\r\n   at PKISharp.WACS.RenewalExecutor.HandleRenewal(Renewal renewal, RunLevel runLevel)\r\n   at PKISharp.WACS.RenewalCreator.SetupRenewal(RunLevel runLevel, Steps steps, Renewal tempRenewal)\r\n   at PKISharp.WACS.Host.Wacs.MainMenu()\r\n   at PKISharp.WACS.Host.Wacs.Start()"}
[VERB] Exiting with status code -1

Platform:

OS: Windows 11
Version: Build 22000.675, 64 bit

Glad you fixed the issue.
When is version 2.1.22 going to release and do I have to wait or is there any workaround to make it work right now?

https://ci.appveyor.com/project/WouterTinus/win-acme-s8t9q/builds/43548113/artifacts

Sorry, the issue was automatically closed by the commit. You can get the build from the link above or wait for the <IP_ADDRESS> release. As per my testing, a workaround should be to include the root domain into the certificate. So create a certificate for *.mydomain.com and mydomain.com.

Released in <IP_ADDRESS>


Get Location

is there any way to capture the location of the person in the chat?

https://github.com/Schmavery/facebook-chat-api/blob/master/DOCS.md#listen
If the location is available, it will be in the message.  It is not always available.

and Is There Any Another way I can capture a location without using a Location facebook ? For example , Making a Call a service que Some web back to something Location OR do Gender.

when I click to send my location, this string is sent to the server : https://fbexternal-a.akamaihd.net/static_map.php?v=17&size=545x280&zoom=15&markers=-25.367732%2C-49.220971&language=en', which contains the latitude and longitude . How do I read this URL in the application and extract the markers ?

I'm sorry, you'll have to figure this out another way.  Currently we don't know of any other way to get the location using our api.


tgcalls is not installing on reqs

pip3 install -U pip && pip3 install -U -r requirements.txt
it's already explained in README, try reading next time

Oh sorry sir,
anyway it worked
thank you sir


Getting E5060 with neovim0.2

Since the update to neovim v0.2, using ag for file listing in neovim-fuzzy produces a Vim(call):E5060: unknown flag 'w'.
See:
https://github.com/neovim/neovim/pull/6427/files#diff-deb695d507653839019814f54242d47bR17430
The culprit lies here:
https://github.com/cloudhead/neovim-fuzzy/blob/master/plugin/neovim-fuzzy.vim#L73
Changing this line to call writefile(a:ignorelist, ignorefile, 's') fixes the issue.

Fixed in 5f7afa98b8f109c0c62dcfc824f0debf1e5d7212, please confirm it works.

Just tested with NVIM v0.2.0 and can confirm it works. Thanks.


Impulse Repsonses: support files with ".WAV" extension

See: https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues/300

Out of scope; oops!