mib_first_files causes crash

I get the following crash when I have mib_first_files set:
===> Stack trace to the error location: [{rebar_erlc_compiler,
                                                 compile_mib,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_erlc_compiler.erl"},
                                                  {line,408}]},
                                                {rebar_base_compiler,
                                                 compile_each,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_base_compiler.erl"},
                                                  {line,108}]},
                                                {rebar_erlc_compiler,compile,
                                                 3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_erlc_compiler.erl"},
                                                  {line,99}]},
                                                {rebar_prv_compile,compile,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,93}]},
                                                {rebar_prv_compile,
                                                 '-build_apps/3-lc$^0/1-0-',3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,77}]},
                                                {rebar_prv_compile,
                                                 '-build_apps/3-lc$^0/1-0-',3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,77}]},
                                                {rebar_prv_compile,do,1,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,57}]},
                                                {rebar_core,do,2,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_08_10T15_01_14_145966/_build/default/lib/rebar/src/rebar_core.erl"},
                                                  {line,124}]}]

I have to fix by making ensuring every app in the lib or app directory has a priv directory. What I think is happening is every time rebar_core_compile is called for each application the mib_first_files are appended to the list which causes rebar3 to try compile the mibs even though there isnt any to compile (hence it works without mib_first_files).

Rebar3 report
version 3.0.0-beta-1
generated at 2015-08-10T14:09:31+00:00
Please submit this along with your issue at https://github.com/rebar/rebar3/issues (and feel free to edit out private information, if any)
Task:
Entered as:

Operating System: x86_64-apple-darwin14.4.0
ERTS: Erlang/OTP 17 [erts-<IP_ADDRESS>] [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false]
Root Directory: /Users/jo/.erln8.d/otps/OTP-<IP_ADDRESS>/dist/lib/erlang
Library directory: /Users/jo/.erln8.d/otps/OTP-<IP_ADDRESS>/dist/lib/erlang/lib
Loaded Applications:
bbmustache: 1.0.3
common_test: 1.10.1
compiler: 5.0.4
crypto: 3.5
erlware_commons: 0.13.0
eunit: 2.2.9
inets: 5.10.9
kernel: 3.2
providers: 1.4.1
relx: 3.3.0
sasl: 2.4.1
stdlib: 2.4
syntax_tools: 1.6.18
tools: 2.7.2

Escript path: /Users/jo/.erln8.d/rebar3s/master/rebar3
Providers:
app_discovery as clean compile cover ct deps dialyzer do edoc escriptize eunit help install_deps list lock new pkgs release relflow relup report shell tar unlock update upgrade upgrade version xref

Well no I am not sure. Let me try recreate before you spend time on this:
===> Uncaught error: {badmatch,{error,eexist}}
===> Stack trace to the error location: [{rebar_erlc_compiler,
                                                 compile_mib,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_erlc_compiler.erl"},
                                                  {line,408}]},
                                                {rebar_base_compiler,
                                                 compile_each,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_base_compiler.erl"},
                                                  {line,108}]},
                                                {rebar_erlc_compiler,compile,
                                                 3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_erlc_compiler.erl"},
                                                  {line,99}]},
                                                {rebar_prv_compile,compile,3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,93}]},
                                                {rebar_prv_compile,
                                                 '-build_apps/3-lc$^0/1-0-',3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,77}]},
                                                {rebar_prv_compile,
                                                 '-build_apps/3-lc$^0/1-0-',3,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,77}]},
                                                {rebar_prv_compile,do,1,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                                                  {line,57}]},
                                                {rebar_core,do,2,
                                                 [{file,
                                                   "/private/var/folders/l0/bsbqw5dx0fvg64cf7j9ymsy80000gn/T/2015_07_16T17_58_46_091081/_build/default/lib/rebar/src/rebar_core.erl"},
                                                  {line,124}]}]

Out of curiosity, how did you set the mib first file? Do you happen to have many apps in the project (in apps/ or lib/, for example) but only one that actually needs the mib first file?

Here is the relevant part of the rebar.config:
{mib_first_files, ["lib/stats/mibs/O2O-MIB.mib"]}.

and yes I have a a great many apps in /lib and three in /apps...long story..
Only one app in /lib actually needs the mib_first_files feature

Yeah then putting that entry at the top-level is going to ask that all files find the mib there and likely move it to priv.
The easiest way to fix this is to go in lib/stats/ and put a rebar.config file on there with that mib_first_files line so that it only applies to that application.

Thinking about it, it should be a bug that the compiler doesn't create its own priv/ directory when putting data in there.

Yes, move that to the stats rebar.config.
@josephDunne does this solve the issue and we can close this ticket?

yes thank you


Restarting arena can cause cards to get stuck

I saw this on a stream, extension was not showing the corect cards but ones that were played in older games. Streamer was able to fix it by exiting MTGA, removing the MTGA log file(it was ~300MB) and starting MTGA
Hopefully this can help you figure out what the underlying issue is.


Pointer events not supported in some browser versions released 2019

See: https://caniuse.com/pointer

Pointer events could be specifically polyfilled: https://github.com/wessberg/Polyfiller

The action this refers to has been deleted


Cookies are empty when site comes from redirect

Hi, thanks for this package. It's really been helpful.
I noticed this issue, originally posted here.
I have tried setting the sameSite to 'lax' but id didn't seem to solve the issue.  In my case, it's redirecting from a payment page on a third party site.
Do you have any ideas or solution?

@nelsonweze thanks for reporting! It so happens that I was already looking into this issue. Will keep you posted here :-)

@nelsonweze, I have reproduced the scenario in following configurations:

Redirect from http domain A to http domain B and back
Redirect from http domain A to https domain B and back
Redirect from https domain A to https domain B and back

All seem to work fine when sameSite is set to lax.
You can test it here: https://next-firebase-auth-edge-static-demo.vercel.app/
Login via google account, click "go to profile page" following by "redirect" at the bottom.
Note that happens between different https domains.
Here's the middleware.ts implementation for example above: https://github.com/awinogrodzki/next-firebase-auth-edge/blob/main/examples/next13-typescript-static-pages/middleware.ts#L29
Could you confirm that the cookies are set with samesite=lax in browser dev tools?


Remove /laboratory/ prefix from docker image

The image is not in use yet and we'd like to simplify architecture a little bit

Something went wrong with PR preview build please check

I think you'll have to remove this line for this to work. Build right now emits assets that assumes they're hosted from laboratory/

Preview is available here:http://laboratory-ad9c4fd.previews.kube001.services.stellar-ops.com/laboratory/

I think you'll have to remove this line for this to work. Build right now emits assets that assumes they're hosted from laboratory/

@vcarl thanks, this is a very good point. I think we need a transition period so I added rewrite rule to the dockerfile to support /laboratory/ prefix. This way we don't change anything for existing deployment while allowing dockerized one to strip the prefix.
I added @brahman81 to reviewers to get review for ops perspective as well.

https://laboratory.stellar.org/laboratory 404's whilst https://laboratory.stellar.org/laboratory/ doesn't. (trailing /)

Preview is available here:http://laboratory-e3c4456.previews.kube001.services.stellar-ops.com/laboratory/

https://laboratory.stellar.org/laboratory 404's whilst https://laboratory.stellar.org/laboratory/ doesn't. (trailing /)

@brahman81 that's fixed now


Added Portuguese (Brazil) translations.

Thanks. I've merged it locally. The translation will be present in the next release.


chore(pr): alert reviewers about breaking changes

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
https://www.notion.so/Risingwave-data-directory-got-overwritten-eaa78cb886c24fee8fa536f4b5bf122c?d=a79cdca34a694c9797123dd86253c7eb#fcfd56a59c6d4b70a37fe1892e876970

Checklist For Contributors

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

make a PR a breaking change by default, probably more likely that people will be cautious about this.

🤔 From my understanding we should NOT have any changes that breaks backward compability. So it looks a little bit weird to me.

🤣  you are right, let me rephrase it


button simulator responds 15 times to status report query

repro:

run devtools
spin button simulator
look at packet console - see 15 repetitions of get status_code

not blocking

cli devtools?

yeah, the ones from npm

There is definitely this bug that could have affected you, it created the repeated packets. Might be more.
https://github.com/microsoft/jacdac-docs/commit/6d8580a868e49b952c88ebcff65ca574b291b29a

SHould be fixed now.


[Bug]: llamaindex-cli fails to initilize

Bug Description
I'm getting this error when trying to run llamaindex-cli (fresh install):
(test) $ llamaindex-cli rag --create-llama
Traceback (most recent call last):
  File "[...]/bin/llamaindex-cli", line 8, in <module>
    sys.exit(main())
  File "[...]/lib/python3.10/site-packages/llama_index/core/command_line/command_line.py", line 269, in main
    args.func(args)
  File "[...]/lib/python3.10/site-packages/llama_index/core/command_line/rag.py", line 369, in <lambda>
    instance_generator().handle_cli(**vars(args))
  File "[...]/lib/python3.10/site-packages/llama_index/core/command_line/command_line.py", line 74, in default_rag_cli
    from llama_index.vector_stores.chroma import (
ModuleNotFoundError: No module named 'llama_index.vector_stores'

Version
0.10.3
Steps to Reproduce
Install latest version of llamaindex with pip install llama-index chromadb, then run the cli command.
Relevant Logs/Tracbacks
No response

@GiovanniGatti you need to install chromadb as well
pip install llama-index-vector-stores-chroma
hidden deps aren't fun -- we are moving the CLI to its own package in the next week or so, so that deps are nicely handled

Hi @GiovanniGatti, are you using a fresh new venv when moving over to v0.10? If llama-index v0.9.xx is installed on your venv, then it will surely cause issues, and perhaps is what's causing this circular import.
I just tried this import statement in a fresh virtualenv where I installed llama-index v0.10.3 and it worked:
pyenv virtualenv venv
pyenv activate venv
pip install llama-index

While venv is still active, invoking python interpreter (i.e., via python)
>>> from llama_index.core.prompts.base import PromptTemplate
[nltk_data] Downloading package stopwords to
[nltk_data]     /Users/nerdai/.pyenv/versions/venv2/lib/python3.11/sit
[nltk_data]     e-packages/llama_index/core/_static/nltk_cache...
[nltk_data]   Unzipping corpora/stopwords.zip.
[nltk_data] Downloading package punkt to
[nltk_data]     /Users/nerdai/.pyenv/versions/venv2/lib/python3.11/sit
[nltk_data]     e-packages/llama_index/core/_static/nltk_cache...
[nltk_data]   Unzipping tokenizers/punkt.zip.
>>>

(Please don't mind the nltk data that is downloaded since it recognizes this is a fresh install)


Wrong link for Watchman Installation guide

The link for the Watchman installation on the environment setup page redirects to https://facebook.github.io/watchman/docs/install.html#buildinstall, which doesn't exist (anymore ?).

Refs: #1811

You could have waited until one of PRs is merged before closing this issue, but thank you for reporting this anyway 👍

@Simek sorry, should i reopen it?

Probably we will need to wait few days until one of the PRs will be merged by a maintainer, but it might happen earlier. Having this issue open could prevent someone from creating similar one, but it's not that crucial, there are duplicates anyway. I leave the decision to yourself.

Ok. I'll reopen it then until a PR is merged.

#1809 was merged 😉


Implement a method with copy semantics for stats.Stats;

What type of PR is this?

[ ] API-change
[ ] BUG
[x] Improvement
[ ] Documentation
[ ] Feature
[ ] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
Fixes #
What this PR does / why we need it:
Not Available
Special notes for your reviewer:
Not Available
Additional documentation (e.g. design docs, usage docs, etc.):
Not Available

Support copy semantics for stats.Stats in order to avoid race condition.
Related issue: https://github.com/matrixorigin/matrixone/pull/2449


ssrExchange deletes synchrnous errored results too eagerly on rehydration

urql version & exchanges:
"@urql/exchange-graphcache": "^3.0.1"
"urql": "^1.9.8"
Hello I have a question, I'm currently using server side rendering with URQL. I'm fetching the data on server side using react-ssr-prepass. Then I send the data to client side with ssr.extractData(). So in this case I'm hydrating the data into the ssrExchange cache on client. So on the client side if I want to reference the cache that I already populated from the server side by using cache-only instead of cache-first so that I don't have to use another API call on the client side.
export const useQueryUserMe = (): UseQueryResponse<UserMe> => useQuery({
    query: GET_ME,
    requestPolicy: typeof window !== "undefined" ? "cache-only" : "cache-first"
});

So on the client side I'm using cache-only and on the server side I'm using cache-first. The reason why I'm doing this is because if I get a 401 unauthorized error on server side, I don't want to call this again on the client side. But I do want to use the query to check if user exist in the cache or not. However the issue I'm getting on client-side is that the data is always null if I use cache-only even though the cache should already been populated from server side hydration. Is there a way that I can call the query only on server side only and on the client side I will only fetch it from the cache regardless if it is already hydrated or not from ssr?

The cache-only request policy relates to caches, and technically the ssrExchange is not a “cache exchange” but a fetch-like exchange that replays past responses once.
So when you pass cache-only then the actual cacheExchange won’t have your result yet and will abort.
The crucial thing here is that the ssrExchange already does what you expect with cache-first actually. https://github.com/FormidableLabs/urql/blob/master/packages/core/src/exchanges/ssr.ts
You can see in the code base that it actually handles errors and outputs/hydrates them to avoid this second call exactly as what you’re looking to do, since that’s the correct behaviour for SSR caching.

Hi @kitten, thank you for taking your time to answer my questions. So I did try the cache-first approach, however, for some reason on the client side, it is still making the call even though the server side already returns errors for it.

To give you context in the console, the first undefined is the data and the boolean in the middle is the fetching flag and the the last console output is the error. As you can see from the screenshot, the server side already hydrated the error that was received on the server side. But, on the client side, it is making the call again and fetching is set to true. Is there anything that I may have missed, because according to your answer above, cache-first should already provide that functionality if I'm not wrong?
This is my current setup for createClient
const options: ClientOptions = {
        url: "/api/graphql",
        exchanges: [
            dedupExchange,
            cacheExchange({}),
            ssr, // Add `ssr` in front of the `fetchExchange`,
            fetchExchange
        ]
    };

The main concern for me is that if I were to use the same query in like, for example, 24 other different places of my app. Will the query be making 24 calls to server on the client side with all 24 returning the same 401 error? In the case, should I just store the call in one place and just pass it down via props/context to other components?

It’s certainly always a good idea to reduce the amount of queries with GraphQL to get as much out of individual queries as possible, especially with the document cache to avoid excessive queries / network requests.
I think the problem you’re describing is actually an issue as at least the first synchronous queries from the SSR cache are supposed to be resolved as they were on the server-side. I’ll look into that!
I think we may be removing results from the ssrExchange too eagerly.
Apart from that though, after rehydration any additional query will hit the cacheExchange, which doesn’t cache errors, so you’ll have to react to the 401 error appropriately to avoid it if you’re making further asynchronous queries.

Thank you for taking a look into this, much appreciated. As for the errors that are captured on client side via cacheExchange I would certainly react to it appropriately, thank you for the tip.


Can it be an open source project?

Searching through the repository I cannot find any mention to open source licence. By this project being on Github, I am allowed to fork it by the Github TOS (Terms Of Service). However I am not allowed to create derivative works from it (pull requests). Meaning I cannot fork this repository, change its code and perform pull requests without the danger/liability of being prosecuted by violating the All rights reserved copyright granted by berne convention law.
The original prime theme for Sublime Text has the licence following open source licence:
The MIT License (MIT)

Copyright (c) 2014 Karel Vuong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

https://github.com/karelvuong/st-primer/blob/master/LICENSE

Can the project have the same licence?

Related issues:

https://github.com/gamcoh/QuickEdit/issues/2 Can it be an open source project?
https://github.com/SublimeText/LaTeXTools/issues/1175 Can it be an open source project?

Feel free to send a PR adding an MIT-license LICENSE file!

Thanks!


bug: Subscription completes immediately

I have been trying to implement subscriptions and came across some strange behaviour.
Additional information
We are trying to build a messaging application. In order to get real time updates subscription endpoints are created.
Since authentication headers are not passed with websocket requests, we currently send a user id to the server in order to determine which notifications should be sent. We know, this is not production ready and a security issue, please ignore this for now. If anyone has a hint on how to get the access token passed as a payload to the first websocket request in DGS, feel free to comment. Although this issue is not about that.
The problem with the current set up is, sometimes subscriptions complete right away.
Expected behavior
When connection via websocket to a subscription endpoint, subscriptions should not be completed and therefore terminated right away.
Actual behavior
Sometimes, especially when reloading the website often, subscriptions complete right after they were created.
2022-01-30 14:24:39.063  INFO 13292 --- [nio-8080-exec-5] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription started for 1
2022-01-30 14:24:39.063  INFO 13292 --- [nio-8080-exec-5] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription completed for 1

When the client then tries to reconnect, same thing is happening again, the counter is increasing.
2022-01-30 14:24:44.280  INFO 13292 --- [nio-8080-exec-7] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription started for 2
2022-01-30 14:24:44.281  INFO 13292 --- [nio-8080-exec-7] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription completed for 2

2022-01-30 14:24:49.456  INFO 13292 --- [nio-8080-exec-8] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription started for 3
2022-01-30 14:24:49.456  INFO 13292 --- [nio-8080-exec-8] c.n.g.d.s.w.DgsWebSocketHandler          : Subscription completed for 3

Steps to reproduce
Set up a subscription endpoint:
type Subscription {
    subscribeToMessages(userId: UUID!): Message
}

Create a data fetcher for it
@DgsSubscription
public Publisher<Message> subscribeToMessages(@InputArgument UUID userId) {
    return messagingService.subscribeToMessages(userId);
}

In order to understand, what is going on here, I will provide the relevant parts of the MessagingService class:
private final Sinks.Many<MessageInfo> messagesSink = Sinks.many().multicast().onBackpressureBuffer();

public Publisher<Message> subscribeToMessages(UUID userId) {
    return messagesSink.asFlux()
            .parallel()
            .filter(messageInfo -> messageInfo.getRecipient().getId().equals(userId) || messageInfo.getMessage().getSender().getId().equals(userId))
            .map(MessageInfo::getMessage);
}

private void publishMessage(MessageInfo messageInfo) {
    messagesSink.tryEmitNext(messageInfo).orThrow();
}

Whenever a message is sent all publishers are informed via messagesSink.tryEmitNext.
Each publisher filters out only the relevant messages for themselves.
Information is passed via subscription to the client.
Works as expected, most of the times.
Sometimes the described case takes place.
It would be great to get any feedback, whether anyone is having similar problems.

Thanks for reporting @LexanRed . We haven't heard of or encountered this particular issue. Have you verified that the flux is still continuing to emit events in the problematic scenario? The subscription gets closed when the publisher stops publishing.

Thanks for your response! The publisher never completes, at least should never completes. It goes on in case of a successful connection. If you reconnect a few times, it stops immediately after the DgsWebsocketHandler establishes a connection. You can see that in the timestamps in the log file.
The publisher also "remains".  On the frontend I tried to reconnect if the connection was lost. The log was then polluted with pairs of "Subscription started for x" and "Subscription completed for x". x is counting up.
If you reload the page, the "physical" connection gets reset and alle the empty sessions get cleaned up. There is a check in the DgsWebSocketHandler which does that.
That means, that the Publisher remains.

Sorry for this bug report, it actually worked as intended.
A Reactor Sink completes by default after all connections are lost. To prevent this, one can use another constructor, which takes two arguments. Buffer size and whether to autoCancel or not.
Sinks.many().multicast().onBackpressureBuffer(Queues.SMALL_BUFFER_SIZE, false);

That did the trick. I will leave this report here, in case anyone else runs into the same problem.

Great, thanks for the update!

On Feb 7, 2022, at 8:30 AM, Alexander @.***> wrote:

Closed #848.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


Align behaviour when user presses Esc while in search bar between online editor and desktop client

On the client application, whenever you press Ctrl + F to search from something, while the focus is still in the search bar, if you press Esc, the search bar is closed and the focus is returned to the editor area (where you were last editing).
On the web client (https://vscode.dev/), the behaviour is different. While the focus is in the search bar (after Ctrl + F), if you press Esc, focus is lost altogether - it's neither in the search bar nor in the editing area. The user then has to perform extra steps to return focus to the editor.
I'm not sure if this is a bug or should be a "new feature," but aligning the above behaviour to what we're used to from the client application would be quite a quality-of-life improvement to my experience using VSCode.

seems to be working correctly now


FontAwesome loading and not loading in same page

Hi folks,
I love implementing FontAwesome (FA) icons in my test site (using FA 4.4 for the time being).
However, there are cases where the icons load and don't load in the same page, (which I think is a bit strange), depending on the CSS classes used.
FA never loads inside .alert Bootstrap classes, but at the same it loads inside .pfbc-error dialog boxes!
The icons are the same and the associated tags too (i/em/span).
I analyzed all the CSS and can't find any apparent conflict. Is this related to JQuery somehow?
Any tips would be welcome.

I also tried Glyphicons, and the same error happens - you can't use them inside .alert classes.

The version of font awesome used is not the current one. Think the current is 4.7 and the installed version is 4.4 (of the top of my head) so only some of the icons work!

Yes, fontawesome latest version is 5, but I am using some old icons to ensure backward compatibility.


[KOGITO-9348][OPERATOR-KSW] API version not updated in workspace module

See:https://issues.redhat.com/browse/KOGITO-9348

Description of the change:
Motivation for the change:
Checklist

[ ] Add or Modify a unit test for your change
[ ] Have you verified that tall the tests are passing?

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

/jenkins test

@desmax74 I'll rename workspace into workflowproj to have a clean and correct git history


Be able to copy the memo of a message to the clipboard

I am using it to send addresses and urls. I need to be able to copy those. Also, long message go far across the screen. The view screen for memo should wrap at about 60 characters or so

Accepted as an enhancement: the memo to be visualized in a better dialog box, in a text area with approx 60 characters per line. An additional button should allow the memo to be copied to clipboard.

The issue is now partly fixed in the Git master branch:
https://github.com/ZencashOfficial/zencash-swing-wallet-ui/tree/master
The transaction memo is copied to the clipboard.

The memo is now shown wrapped on the screen (in the latest commit), so long memos do not create extremely wide UI message boxes. The matter of "an additional button" is not yet implemented. The memo is always automatically copied to the clipboard. This issue will be closed at a later time when a new UI dialog is created to have an additional button...

@zennermac should be able to close this one.


Expression matrix

Adding a test dataset for downstream gene expression analysis, per discussion at https://nfcore.slack.com/archives/CJRH30T6V/p1665153847518509.
Process of derivation described in a README, but I wasn't quite sure of the directory structure I was aiming for, so that might need revision.

Was going to suggest having a more generic folder name like counts instead of rnaseq_expression but it's all good.

Nice work with the docs too 🙏🏽


AttributeError: 'Connection' object has no attribute 'user'

I'm attempting a standard implementation per the current tutorial of flask-social 1.6.2 with Flask 0.10.1 with SQLAlchemyDatastore running on localhost.  After a user has authorized the app on Facebook and attempts to log in, this error occurs.
The only spot I've diverged from the quickstart is adding full_name to the Connection class because it was getting returned by the Facebook provider and throwing an error not being in the model.
class Connection(db.Model):
    ...
    full_name = db.Column(db.String(255))

I thought perhaps it was actually looking for user id, but digging a little deeper to login_user(...) in flask_login.py states Logs a user in. You should pass the actual user object to this.
I'm not sure if I'm doing something wrong in my implementation, or if this is actually a bug.
Full traceback after clicking the Login with Facebook button:
Traceback (most recent call last):
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask_social/views.py", line 215, in login_callback
    return login_handler(response, provider, query)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask_security/decorators.py", line 205, in wrapper
    return f(*args, **kwargs)
  File "/Users/taylor/Documents/ce2/venv/lib/python2.7/site-packages/flask_social/views.py", line 171, in login_handler
    user = connection.user
AttributeError: 'Connection' object has no attribute 'user'

it's work. thanks a lot


Fabric 2.3.3 does not work

Version
3.1.0
Development Environment
latest Google Chrome
Current Behavior
I get canvasImage.setAngle is not a function when using Fabric 2.3.3.
Fabric 1.6.7 works fine.
Expected Behavior
It should probably work with Fabric 2.3.3 or theDependency section should mention that Fabric 2.3.3 is not supported.

Currently, fabric 2.x.x does not guarantee normal operation.
Because the major version of fabricj has changed, there is a break change with the old version.
However, we will soon fix this issue for the continued improvement of the image editor.
thank you.


Bug Report: Notes move choppy

While playing on the remastered version, i noticed that the notes move across the screen noticeably pretty choppy, especially compared to 0.2.8 and even your own legacy branch. I’m not exactly sure where in source this issue would be located.

got this same issue too, but the screenshot i posted fixes it being choppy for some reason

Apologies for the late response, I've been in bed with Covid for almost a week.
This is an issue caused by a change in the v0.2.8 PlayState update script, where Ninjamuffin (for some reason) decided to use the (more accurate although choppier) sound time rather than incrementing the variable based on how much time has elapsed (smoother).
There's a possibility that this may just be a preprocessor conditional for web targets (since sound works different on browsers), but I would have to check through some coding VODs to be sure, since preprocessor conditionals don't show in the compiled JS code.

I've been searching for any VODs to see if I can prove my theory true, however I am unable to find any clips around the time of v0.2.8's development showing that specific section in PlayState.hx. I'm gonna close this issue for now, but if you can find any VODs relating to this, feel free to reopen this issue.

The SiIvaGunner Ugh rip has these same stuttering notes, more evident by going frame-by-frame.
https://user-images.githubusercontent.com/15317421/208073848-111893e9-58b5-4fb8-85dc-d3e0fee5bb89.mp4

Might be worth mentioning that the SiIvaGunner Ugh rip has these same stuttering notes, more evident by going frame-by-frame.
2022-12-16_02-01-41_vivaldi.mp4

if i was playing fnf at 144fps and the notes were choppy i wouldnt let that slide lol


Tile Assembly Job has wrong Pool

Running version
3.12.2
Describe the bug
Tile assembly jobs in Deadline don't get the assigned to the pool configured in Maya or in project_settings/deadline/publish/ProcessSubmittedJobOnFarm. They always end up in none.
To Reproduce

Submit a tile rendering to Deadline from Maya.
Check the assigned pools of the tile assembly job

Expected behavior
The tile assembly job should get assigned to the pool configured in Maya or in project_settings/deadline/publish/ProcessSubmittedJobOnFarm. Or there could be an extra setting to configure the tile assembly pool.
Screenshots

Desktop (please complete the following information):

OS: Windows
Host: Maya, Deadline

[cuID:OP-4140]

do you really need to specify a pool for running draft? None means any worker can do the job
limiting it to maya pool is not good imo
maybe it should get the same pool as publish job?

None means right now that no machines pick up the job until someone assigns a pool by hand.
Same pool as publish job would be preferable.

to force deadline not to serve jobs with None pool you would need this option on

which I suppose is not your case as it is off by default


fix(callouts): When there are two or more nested callouts, the max-height of the parent callout may be incorrect when expanded.

(Official website example)[https://quartz.jzhao.xyz/features/callouts#:~:text=Yes!%2C they can. And collapsed!]
When clicking "Can callouts be nested?" twice and then clicking on its child callout, the max-height of [!question] does not change correctly. (I also tested this locally, and it's the same.)

[!question]+
Can callouts be nested?

[!todo]+ Callouts1

[!example]- Callouts2
You can even use multiple layers of nesting.

Reason: After a child callout is interacted with, it will traverse up the entire callout tree from the current callout being operated on to update the max-height of all parent callouts, but it fails to traverse correctly. The child callout is located one level below the callout-content, not directly below the callout.

I don't see any problems, but I am also not sure which edge cases it has the potential to break.


Fix PHP 7.3 deprecation warnings

Fix PHP 7.3 deprecation warnings. Those flags are implied by FILTER_VALIDATE_URL.

Thanks for the PR :+1:
It took me a while to figure out that those flags actually have no meaning whatsoever, even in PHP 5.6 (which is currently the primary version for this project). To my surprise it has been in the code sind PHP 5.2.1. Not sure why they didn't explain that in the official documentation :confused:
The bug report on the PHP bug tracker explains everything:
https://bugs.php.net/bug.php?id=75442
Anyway, you are absolutely right to remove them. There are, however, other places in the code where those flags are used. Those should be removed as well. Could you do that in this PR to keep it simple?

Done, that's all of them I think?


e2e test - mark test as error

Request
Add an e2e test that when a test is marked as error, it is struck out in the results list and the correction is sent to ReportStream.

Should be enough here to verify that the correction gets queued.


feat: Added Studytonight Details in 3 Files in websites Category

Fixed Issue #422
Changes Proposed

Added Studytonight Details in html.json, css.json and javascript.json Files in websites Category.
This Studytonight Website Offering Multiple Type of Options created like Challenges, Learning Paths Etc.

Hi @jayk-gupta . Please Review on this PR. My JSON Format is well and Good. But, Did not Pass JSON Validation.

resolve the merge conflicts

Hi @jayk-gupta . I resolved Merge Conflicts. Please Check ?

please resolve conflicts

please resolve conflicts

Solved Merge Conflicts. Please Check @jayk-gupta

json file is not correct


Traffic controller requires app IDs to be GUIDs

Hey Loggregator folks,
Thank you for this project!
We use loggregator+diego outside of CF deployment without CAPI.  I was trying to upgrade us to loggregator 103.0 from an older version and started having requests to TC for recent app logs fail because of "Unauthorized error".     After some debugging I determined that the cause is these lines https://github.com/cloudfoundry/loggregator/blob/90854bdf206786d79bd09ee56f7d2caab533bbf4/trafficcontroller/internal/proxy/log_access_middleware.go#L27
added in this PR https://github.com/cloudfoundry/loggregator/pull/29
Currently we don't actually store application logs by GUID, we store them by something like domain--appname, so unfortunately this breaks for us.
I'm somewhat curious why this code was added (I can't view the associated pivotal tracker issue for more context).
Would you be adverse to changing this or adding a new bosh parameter  like "require_guids" that defaults to false that I can set to true?  Alternatively, I can switch us to use GUIDs.
I'm also aware that TC is in planned deprecation based on your README - will/does the RLP have the same restriction?   If not I can investigate switching us to querying RLP instead of TC for recent application logs if it is suitable for such things currently, if that is recommended.   We currently rely on TC for recent application logs + application log tailing.
I hope that all makes sense.  I am also on the CF slack if that would be a better place/way to have a convo.
Thank you!!

Thank you @bradylove!

@scottschulthess as Brady mentioned the GUID enforcement is something we want as default behavior for Cloud Foundry security reasons. That said I am not opposed to exposing it as a flag Operators can override for these types of use cases. It was probably something we should have considered when we added the patch. I'll use the above story that was created to track the work.
This is a fascinating use case btw. You may find log-cache release to be a nice companion release and it has options for deploying without the cf-auth mechanism.  There is a (new) slack channel you can go ask questions about this on if you want to experiment with it.


Suggestion: Player instead of int

For similar reasons why there is typedef int64_t Action I'd like to suggest to use typedef int Player as well.

We actually already have it as an enum (which makes it compatible with int): https://github.com/deepmind/open_spiel/blob/626c762e7811ba0f9e2c6a45aaf6f9436aaafae6/open_spiel/spiel.h#L36
.... but's not consistently used across the code base. It probably should be; at least some of the core API functions should use it instead of int. It's a rather big change to make, though. I'll bring it up with the other team members to see what they think, but overall I think this is a good idea.

Yes, the type exists, but its barely used. I agree it would make things clearer to use it more consistently - PRs welcome!


Issue While Switching to beta channel

Steps to Reproduce

In terminal run  flutter channel beta

Logs
Switching to flutter channel 'beta'...
git: From https://github.com/flutter/flutter
git:    48d5fcabb..483f49962  master               -> origin/master
git:  * [new branch]          pub-version-mismatch -> origin/pub-version-mismatch
git:    87654ae84..d2995caa9  revert-49827-revert_stuart -> origin/revert-49827-revert_stuart
git:  * [new branch]          revert-50775-dialog_padding -> origin/revert-50775-dialog_padding
git:  * [new branch]          revert-51418-perf1   -> origin/revert-51418-perf1
git:  * [new branch]          sjindel.type         -> origin/sjindel.type
git: D  bin/flutter
git: Branch 'beta' set up to track remote branch 'beta' from 'origin'.
git: error: unable to create file bin/flutter: Permission denied
git: Switched to a new branch 'beta'

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.17763.973], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] VS Code (version 1.42.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

Hi @Richu98 ,
opening an issue please try to provide
all or some of the information indicated in the template

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.

Yes Provided the information @VladyslavBondarenko

@Richu98
what the permissions do you have for your flutter sdk directory?
isn't it 755?
can you switch to beta after running chmod 755 flutter */?

Still the same error is coming

Hi @Richu98
could you please run flutter upgrade --force --verbose
and provide the output
thank you

Hi @Richu98
where have you placed flutter folder?

place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\src\flutter; do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges).
source

Thank you

Hi @iapicca
Yes I have placed the flutter SDK in C:\src\flutter

Closing this as a duplicate of https://github.com/flutter/flutter/issues/50880. Please follow that issue for more context.


Orderer v3: remove solo from orderer/consensus

Type of change

Improvement (improvement to code, performance, etc)

Description
Remove solo from orderer/consensus
Related issues
Issue: #3514
Epic: #3511

@tock-ibm , could you pls have a look here
https://github.com/hyperledger/fabric/actions/runs/3384086237/jobs/5620703269
The UT failure doesn't seem to be related to this change but I'd like you to pls confirm.

@tock-ibm , could you pls have a look here
https://github.com/hyperledger/fabric/actions/runs/3384086237/jobs/5620703269
The UT failure doesn't seem to be related to this change but I'd like you to pls confirm.

@ale-linux right, it seems like the old annoying raft UT flake...


Does not satisfy peer dependencies

When running
npm install react-loopback
I get the following:
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
and react-loopback does not install.

I'm running into the same issue when trying to install this plug in


Update ch6-collections.md

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Just suggested a fix to what I believe to be a typo.

I believe that you are correct. I think the actual module is object_table, though. https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/packages/sui-framework/sources/object_table.move#L17.
Thanks for submitting, @bwhli!


Fix error with non-ASCII  commit messages

I managed to fix my previous issue. Hope that helps someone.

Note: Error report is found in https://github.com/flowdock/flowdock-svn-hook/issues/4
Thanks for this PR and sorry it took our team so long to get to it! The change looks great! Unfortunately there's a merge conflict. Would you mind updating your PR code and resubmitting?


Add pthread, pipe, etc.

string.h

strcasecmp, strncasecmp, strstr, strdup

fcntl.h

fcntl: add another parameter in fd_table to indicate flag, and implement fcntl

sys/resource.h

getrlimit, setrlimit: currently ignore set

signal.h

signal, sigaction

setjmp.h

setjmp: currently only implement aarch64 setjmp

pthread.h

pthread_create, pthread_exit, pthread_join
Add c app called "pthread_sleep" in apps/c/

unistd.h

pipe, pipe2: inspired by rCore

fix a bug in usleep

@coolyjg Good work!


Citybike sensor error

Home Assistant release with the issue:
0.77.3

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Docker.

Official Docker Image running on a ubuntu 18.04 server.
Component/platform:

https://www.home-assistant.io/components/sensor.citybikes/
Description of problem:
Adding the basic citybikes component configuration doesn't work and prevent the server from restarting.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
  - platform: citybikes
    radius: 500

Traceback (if applicable):
Sun Sep 09 2018 20:19:40 GMT+0200 (CEST)

Error executing service <ServiceCall homeassistant.restart (c:1973bf7a02cd4f209c9ab6dc05f6d008)>
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/core.py", line 1117, in _event_to_service_call
    await service_handler.func(service_call)
  File "/usr/src/app/homeassistant/components/__init__.py", line 175, in async_handle_core_service
    errors = yield from conf_util.async_check_ha_config_file(hass)
  File "/usr/src/app/homeassistant/config.py", line 793, in async_check_ha_config_file
    check_ha_config_file, hass)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/scripts/check_config.py", line 372, in check_ha_config_file
    platform = loader.get_platform(hass, domain, p_name)
  File "/usr/src/app/homeassistant/loader.py", line 62, in get_platform
    return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
  File "/usr/src/app/homeassistant/loader.py", line 94, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/src/app/homeassistant/components/sensor/citybikes.py", line 173, in <module>
    class CityBikesNetwork:
  File "/usr/src/app/homeassistant/components/sensor/citybikes.py", line 177, in CityBikesNetwork
    NETWORKS_LIST_LOADING = asyncio.Condition()
  File "/usr/local/lib/python3.6/asyncio/locks.py", line 303, in __init__
    self._loop = events.get_event_loop()
  File "/usr/local/lib/python3.6/asyncio/events.py", line 694, in get_event_loop
    return get_event_loop_policy().get_event_loop()
  File "/usr/local/lib/python3.6/asyncio/events.py", line 602, in get_event_loop
    % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'SyncWorker_4'.

Additional information:
I've spun up a local instance on my macOS 10.13.6 machine with python 3.7 on the dev branch and I can't reproduce this bug on it.

is this still a problem? is the current version of Home Assistant showing the same error?
Do you have more info on when this error occurs?

I've just spun up a new docker instance, with 0.79.3 and I'm still getting the same error.
Steps:
Installed via compose:
version: '2'
services:
  homeassistant:
    image: homeassistant/home-assistant
    environment:
      - TZ=Europe/Paris
      - /etc/localtime:/etc/localtime:ro
    restart: always
    ports:
      - 8124:8123

Edited configuration.yaml by adding at the end (after commenting the default sensor: platform: yr):
sensor:
  - platform: citybikes
    radius: 500

Clicked "Check Config" and in the log in the info pane:
Log Details (ERROR)
Wed Oct 03 2018 00:39:00 GMT+0200 (CEST)

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/static.py", line 66, in staticresource_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/auth.py", line 68, in auth_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/ban.py", line 66, in ban_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/auth.py", line 68, in auth_middleware
    return await handler(request)
  File "/usr/src/app/homeassistant/components/http/view.py", line 113, in handle
    result = await result
  File "/usr/src/app/homeassistant/components/config/core.py", line 24, in post
    errors = yield from async_check_ha_config_file(request.app['hass'])
  File "/usr/src/app/homeassistant/config.py", line 795, in async_check_ha_config_file
    check_ha_config_file, hass)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/scripts/check_config.py", line 372, in check_ha_config_file
    platform = loader.get_platform(hass, domain, p_name)
  File "/usr/src/app/homeassistant/loader.py", line 60, in get_platform
    return get_component(hass, PLATFORM_FORMAT.format(domain, platform))
  File "/usr/src/app/homeassistant/loader.py", line 92, in get_component
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/src/app/homeassistant/components/sensor/citybikes.py", line 173, in <module>
    class CityBikesNetwork:
  File "/usr/src/app/homeassistant/components/sensor/citybikes.py", line 177, in CityBikesNetwork
    NETWORKS_LIST_LOADING = asyncio.Condition()
  File "/usr/local/lib/python3.6/asyncio/locks.py", line 303, in __init__
    self._loop = events.get_event_loop()
  File "/usr/local/lib/python3.6/asyncio/events.py", line 694, in get_event_loop
    return get_event_loop_policy().get_event_loop()
  File "/usr/local/lib/python3.6/asyncio/events.py", line 602, in get_event_loop
    % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'SyncWorker_0'.

Gents, are you using the latest HASS release now? A big number of issues have been fixed in the core and this might be solved as a consequence. Could you please try and update (and hopefully close the issue) if it woroks now? Thanks!

Will try it, lets see
El vie., 22 mar. 2019 1:37, Gerardo Castillo<EMAIL_ADDRESS>escribió:

Gents, are you using the latest HASS release now? A big number of issues
have been fixed in the core and this might be solved as a consequence.
Could you please try and update (and hopefully close the issue) if it
woroks now? Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/16523#issuecomment-475453536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeuEe6B7YfPQlTMmQUcNu1-dCSn1J9lks5vZCXMgaJpZM4WgZGA
.

Issue still exists in 0.90.1 (Raspberry Pi, Python venv)
When sensor.citybikes is added I get following error when checking configuration:
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 33, in real_ip_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 206, in auth_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py", line 112, in handle
    result = await result
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/config/core.py", line 21, in post
    errors = await async_check_ha_config_file(request.app['hass'])
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config.py", line 785, in async_check_ha_config_file
    check_ha_config_file, hass)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/scripts/check_config.py", line 371, in check_ha_config_file
    platform = loader.get_platform(hass, domain, p_name)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 105, in get_platform
    base_paths)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 166, in _load_file
    module = importlib.import_module(path)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/citybikes.py", line 171, in <module>
    class CityBikesNetwork:
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/citybikes.py", line 175, in CityBikesNetwork
    NETWORKS_LIST_LOADING = asyncio.Condition()
  File "/usr/lib/python3.5/asyncio/locks.py", line 284, in __init__
    self._loop = events.get_event_loop()
  File "/usr/lib/python3.5/asyncio/events.py", line 671, in get_event_loop
    return get_event_loop_policy().get_event_loop()
  File "/usr/lib/python3.5/asyncio/events.py", line 583, in get_event_loop
    % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'Thread-11'.

This is a bug in the platform module. The hass event loop must be passed to the asyncio.Condition and the asyncio.Event` when those are created, since the creating (function) scopes aren't coroutines.


Add the ability to define a pan area different from the zoom area for InteractiveViewer

Use case
I'm looking for a way to scale an image in a fullscreen mode, without scrolling outside the image boundaries when it's zoomed in.
i.e:
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    super.key,
    required this.title,
  });

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SizedBox.expand(
        child: InteractiveViewer(
          child: Image.network(
            'https://storage.googleapis.com/cms-storage-bucket/images/Cupid_Dash_BlueBG.width-635.png',
          ),
        ),
      ),
    );
  }
}

This will result in:
https://github.com/flutter/flutter/assets/70890146/b17b4821-5154-4106-8de6-11acb3dafe29
Instead, we want to be able to define a behavior similar to Google/Apple photos or other popular apps.
Check for example the iPhone photos:
https://github.com/flutter/flutter/assets/70890146/edd4ed70-cb3a-4ab1-b1ae-08137043eafd
You can start the zoom from anywhere but you can only move within the image boundaries.
Proposal
I think we can achieve this behavior by offering a way to define a pan area different from the zoom area.
There's a proposed workaround to use Clip.none but this doesn't work as expected, because:

It has a zoom out stuck issue as described at https://github.com/flutter/flutter/issues/145426.
We'll still not be able to start the zoom from outside the image boundaries. i.e: If the image height is small, you've to make the two fingers too close inside the image boundaries to zoom in (which is not the case with Google/Apple photos or other popular apps as described above).

I just use extended_image package for this feature. But yeah it would be good to build it into InteractiveViewer too. The coordinate space should not be the same shape as the Widget container but instead the content.


Enhance support for List/Set/Map to cover all primitive data types

Currently the List/Set/Map properties only support the following types:

String
Long
Double
Boolean
DatastoreKey

Enhance the framework to support all other primitive types (e.g. int, Integer, float, Float, Enum, etc.).
This can only be supported if the Model objects use parameterized collections (e.g. List<Integer> or List<Gender> where Gender is an enum.
In case if the model object does not use parameterized collections, falls back to the current functionality.

Lists, Sets and Maps now support all types that entities support, provided the collection is parameterized. In case of raw collections and wildcard collections where the type of item is not known, we support the basic types we always did. A lot of refactoring was done and PropertyConverters are now Mappers. Mapper interface is now in the public package so we can allow custom mappers in future.


How to update value data field from calculation (manually)?

How to update value data field from calculation (manually)?
example
field3 is integer
field1 is integer
field3=field1 * 5;
so how to update field3?

@fauzan1505 Do you mean in the front? in the back?

@leopinzon in the back, but i have got it by myself.. thanks for replay


Convert Time Profile Editor to Angular

Purpose or Intent
This PR converts the Time Profile Editor to Angular.
It also includes directives that ensure that at least one day and one hour are checked.
Note that checkboxes have been replaced by bootstrap switches as shown in the screenshots below.
Screenshots:
Before:

After:

With directives in play:

@AparnaKarve Something is wrong with the bot...please don't react to the rubocop things just yet.

@Fryguy Thanks for the heads-up... I was about to address them.

@AparnaKarve I think we need to always show the detailed options below the All Days and All Hours option.  It makes it easier to, for example, turn on all days, then just turn off Sat and Sun if I want the 5 weekdays.  This is how it worked before.
In addition, if All is chosen and one of the detail options below is turned off, then All should turn off.  Likewise, if I check all of the detailed options, All would turn on.

@dclarizio Please retest/review. Thanks.
CI error looks unrelated to the PR changes.


Not meeting a foreign key constraint causes error, callback not beeing called

Hi,
I'm currently trying to do an INSERT which conflicts with my foreign key constraints and to detect if that's the case. Sadly, the callback I'm passing to query is not beeing called. Here's my code:
const query = (query, args = []) => new Promise((resolve, reject => {
  connection.query(query, args, (error, results, fields) => {
    this._releaseConnection(connection)

    if(error) {
      console.log('AN ERROR OCCURED!!!')
      reject(error)
    } else {
      resolve({ results, fields })
    }
  })
})

I'm expecting to have an AN ERROR OCCURED!!! printed to my console and to be able to catch the rejected Promise. However I'm only getting an extended log of the error (with callstack) and the callback is not beeing called. Here's the log:

    ER_NO_REFERENCED_ROW_2: Cannot add or update a child row: a foreign key constraint fails (`test`.`xxx`, CONSTRAINT `xxx_ibfk_1` FOREIGN KEY (`yyy`) REFERENCES `zzz` (`aaa`) ON DELETE CASCADE ON UPDATE CASCADE)

      at Query.Sequence._packetToError (node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)
      at Query.ErrorPacket (node_modules/mysql/lib/protocol/sequences/Query.js:77:18)
      at Protocol._parsePacket (node_modules/mysql/lib/protocol/Protocol.js:279:23)
      at Parser.write (node_modules/mysql/lib/protocol/Parser.js:76:12)
      at Protocol.write (node_modules/mysql/lib/protocol/Protocol.js:39:16)
      at Socket.<anonymous> (node_modules/mysql/lib/Connection.js:103:28)
          --------------------
      at Protocol._enqueue (node_modules/mysql/lib/protocol/Protocol.js:145:48)
      at PoolConnection.query (node_modules/mysql/lib/Connection.js:208:25)
      at _getConnection.then (src/shared/mysql/adapter.js:94:42)

Is this a fault on my end?
Thanks in advance for any help,
DragonRaider5

Very strange. Where in your code are you printing that error out to the console? I don't see that in the code snipplet you provided. That may help track down what is happening. Just taking the code snippet you provided is working fine for me on Node.js 6.12.0.

I did change this._releaseConnection(connection) to connection.release() in my version, because I have no idea that this is and what that function does since it wasn't provided and wrapped it in a pool.getConnection as well. May help if you can provide complete code I can run without altering in case that is why I'm not able to reproduce since I have to make a lot of assumptions just to get the code to run at all.

Hi,
I'm sorry for not providing everything. The this._releaseConnection() simply is a wrapper for connection.release(), like this:
_releaseConnection(connection) {
  connection.release()
}

Besides that, the this context belongs to my wrapper class (hexagonal architecture, hiding implementation/lib details from my main code).
I am printing out the error nowhere, that's what confused me and what my problem is ^^ it seems to get printed somewhere in mysqljs, as my callback is not beeing called (otherwise the console.log('AN ERROR OCCURED!!!') should be printed). I am calling my query function like this:
const query = (connection, query, args = []) => new Promise((resolve, reject => {
  connection.query(query, args, (error, results, fields) => {
    connection.release()

    if(error) {
      console.log('AN ERROR OCCURED!!!')
      reject(error)
    } else {
      resolve({ results, fields })
    }
  })
})

const getConnection = (pool) => new Promise((resolve, reject) => {
  pool.getConnection((error, connection) => error
    ? reject(error)
    : resolve(connection)
  ))
}

const reproduceTheError = async () => {
  const pool // init a connection pool
  const connection = await getConnection(pool)

  const result = await query(connection, 'SOME INSERT STATEMENT NOT MEETING A FOREIGN KEY CONSTRAINT')
    .catch((error) => console.error('An error occured', error.msg))
}

Also I'm on Node v.8.9.0 inside a Docker container.
Does this help? Thanks for your quick response and patience!

Unfortunately it doesn't help :( There is no where in this module that would print the error (unless you can point out where to me) and running that on Node.js 8.9.0 does call the callback for me. Maybe we should get a sync on the exact steps such that we are running the exact same things. Can you provide all the following, please?

Version of this module
Version of your Mysql server
Complete code that I can just copy and paste into a file and run without modification.
Some DDL and data to setup my database in order to get the exact error you're getting.
Complete instructions on how to get it all setup and running to see the issue you are describing.

Thanks!

"at _getConnection.then (src/shared/mysql/adapter.js:94:42)"
This does not seem to be a part of mysqljs.
If this is your wrapper could it be, that it does not catch the mysql-error correctly and simply throws it instead of pipeing it through to your callback?

Hi,
thanks to all of you!  I've made my changes in the wrong function ^^
The problem appeared in my integration tests and for some reason I kept editing the wrong function (the one that passed the test), so that's why I didn't see any results.
I'm sorry for waisting your time - I appreciate your afford very much. Lesson learned 😭


License

Would you mind choosing a license for this project?

Hey, will add a license soon along with a updated version. @jake-normal

This is done


Playbook Not Found

Hi
I am trying use this resource type to execute my ansible playbook but always getting can not find playbook error.Is there any specific folder structure need to be followed?
Traceback (most recent call last):
File "/opt/resource/out", line 449, in
rcode = r.run(os.path.basename(file))
File "/opt/resource/resource.py", line 146, in run
rcode, response = self.update(self.workfolder, source, params)
File "/opt/resource/out", line 436, in update
config = self.configure(folder, source, params)
File "/opt/resource/out", line 389, in configure
raise ValueError(msg)
ValueError: Cannot find playbook file '/tmp/build/put/ansible-playbook/site.yml'
Thanks
Sasikanta

Yep, its here: https://github.com/SpringerPE/concourse-ansible-resource#ansible-playbook-repo-structure
BTW, the ansible version is quite outdated, be aware of that.


Cursor visual glitch on external display with Nouveau

Cursor visual glitch

Configuration File:
The default /etc/sway/config

Description:
When the cursor changes it's icon, sometimes that goes wrong. This results in a buggy looking icon. This will go away when changing the icon again.

Steps to reproduce
Connect to an external display via HDMI (I wasn't able to reproduce this on my laptop's internal display).
Open two windows of gnome-terminal side-by-side.
When you move your mouse between the two, the cursor will change very quickly between different icons. There is now a chance that the cursor icon is a blend between two or more cursor icons. This will stay until the cursor icon changes again. This is shown in the linked video. I noticed as well that the cursor position isn't correct all the time either.

Somehow I wasn't able to reproduce this when recording video with wf-recorder. This may have to do with the fact that I have two GPU's. The nvidia gpu is the only one connected to the HDMI port. The internal display is connected to both GPU's I couldn't screenshot it either, because grim changed the cursor before screenshotting.

Debug Log:
Log

Info

sway version 1.5.1
xf86-video-nouveau 1.0.16-2
mesa 20.2.3-1
Laptop: HP Zbook Studio G5
dGPU: GP107GLM [Quadro P1000 Mobile]
iGPU: Intel Corporation UHD Graphics 630 (Mobile)

cursor_glitch.zip

I think the workaround in https://github.com/swaywm/wlroots/blob/c9760569ae380d99df4fb9c7d1f00d0c70f9e580/backend/drm/drm.c#L984 is no longer working.

For reference, upstream Nouveau bug: https://gitlab.freedesktop.org/drm/nouveau/-/issues/40

For reference, upstream Nouveau bug: https://gitlab.freedesktop.org/drm/nouveau/-/issues/40

This seems to be fixed, since I haven't experienced it in a long time

Cool, feel free to re-open if you notice it again.


Document what models are good for RAG.

I'm trying it out locally on my laptop with a RTX3060 6GB. Small 7B models work perfectly with Ollama for chat. I yet have to try RAG. Can you please add a paragraph to the wiki stating what models work well at the moment for RAG embeddings?

Ah nice! It didn't show this prompt when running .rag some-name

Welcome to aichat 0.19.0
Type ".help" for additional help.
> .rag
No available embedding model

Any embedding model I could run with Ollama and add to yaml config?

Please search ollama library and add manually.

This should work well. https://ollama.com/library/mxbai-embed-large Thanks.

@sigoden I get
Select embedding model: ollama:mxbai-embed-large
Invalid embedding model 'ollama:mxbai-embed-large'

This is my config
model: ollama
rag_embedding_model: ollama:mxbai-embed-large
clients:
- type: ollama
  api_base: http://<IP_ADDRESS>:11434
  api_auth: null
  models:
  - name: gemma2
    max_input_tokens: null
  - name: llama3
    max_input_tokens: null
  - name: mxbai-embed-large
    max_input_tokens: null

Am I missing anything?

https://github.com/sigoden/aichat/blob/6fdaabf9a83e8187a2443371f2615c867d4362c2/config.example.yaml#L97

Thank you! That was missing. Awesome.


Use this with angular 2+

Can you make a demo, implementing this plugin with angular?

https://github.com/EddyVerbruggen/nativescript-pluginshowcase/tree/master/app/input


[Libcurl 7.80.0 + Openssl-3.0.7]: Getting (35) Insufficient randomness error during SSL connect via libcurl

Getting SSL Connect error (35) with "Insufficient randomness" when using libcurl-7.80.0 with Openssl-3.0.7 for SSL connection to server via libcurl related API's. Here are the details:

Openssl-3.0.7 built with configure options: shared, zlib
Libcurl-7.80.0 built with configure options: --with-openssl, --enable-openssl-auto-load-config, --without-libssh2, --disable-ldap, CFLAGS="-O2 -g -w -DCAVIUM_SSL -DMC2 -g -O", CXX=g++, CC=cc
Only above libcurl and openssl versions work for getting successful libcurl build. Although, I have not seen mentioned about versions compatibility anywhere in the web, with lower versions of libcurl than 7.80.0, builds with Openssl-3.x is not building, so it looks like only these versions (and higher) for both software supports.
Linux kernel version: 4.17.00
As per checking, PR https://github.com/curl/curl/pull/7856 introduced in libcurl-7.80.0 is the change which is causing this error.
Multiple options are tried in the process of fixing the error, but was not helpful. Details of options tried:

Building with older than libcurl-7.80.0 with openssl-3.0 -- Does not work
Building with older than libcurl-7.80.0 with openssl-3.0 -- Does not work
Kernel entropy improvement patch - Did not work

Backported kernel entropy improvement from 5.15.16 kernel to 4.17.00 kernel

Random seed with OS (although OS is default, but tried with explicit build to seed randomness from OS) -- Did not work
Random seed with CPU (rdcpu) -- recommended for older kernels than 5.18 -- Did not work
As per known issues and discussions on the same issues (like :

Tried provider (default) setting explicitly for openssl -- Did not work

Updated libcurl code to add randomness explicitly -- Did not work

The issue is happening because RAND_status() in libcurl (in lib/vtls/openssl.c) is always returning FALSE, irrespective of randomness is sufficient or not. Randomness on the node seems to be ok, as per checking with test code provided in openssl (test directory) and also using below code snippet:

#include <openssl/rand.h>
#include <stdio.h>
int main(int argc, char **argv)
{
	int r1 = RAND_poll();
	printf("RAND_poll() said %d\n", r1);
	unsigned char byte;
	int r2 = RAND_bytes(&byte, 1);
	printf("RAND_bytes() said %d\n", r2);
	int r3 = RAND_status();
	printf("RAND_status() said %d\n", r3);
	if (r3 == 1) {
		puts("RAND_status is okay!");
	} else {
	puts("RAND_status said we aren't seeded?");
	}
	return 0;
}

Output:
--------
RAND_poll() said 1
RAND_bytes() said 1
RAND_status() said 1
RAND_status is okay!

Note: This issue is seen when trying to migrate both libcurl and openssl versions to support openssl-3.x from the current libcurl-7.74.0 and openssl-1.1.1.
Could you please help with what can be the issue here. Looks like it is not actual issue with randomness insufficiency, but libcurl itself is blocking in its code checking RAND_status() output. Not sure why RAND_status() in libcurl is throwing always FALSE, probably randomness seeding inside libcurl is not sufficient which I am not able to figure out from libcurl code. As I understand, if backend (like openssl) supports random number generation, then libcurl does no random number generation by itself. Then, why does it fail at this point. Any pointers and help will be helpful.

Response from libcurl on the same: https://github.com/curl/curl/discussions/11022#discussioncomment-5718621.
Could you please help in understanding why RAND_status() is returning FALSE only when used with libcurl, although libcurl is not performing randomness generation by itself. Any pointers or solutions would be helpful. Thanks

Hi @t8m, Could you please help here. Thanks

Look like a lake of entropy .
 I have no idea how it else could be that the standalone program works fine but when curl is involved the RAND_status() returns 0.
Can you possibly strace the program linked with curl? Do you see there any getrandom() calls?

Looks like a lack of entropy . Are you testing inside a VM ?

Hi @FdaSilvaYY - Yes I am using VM deployed on VMWare. If there is entropy problem, standalone program should also have same error or RAND_status() should have returned FALSE. I have even tried backporting kernel entropy improvement patch  from 5.15.16 kernel to 4.17.00 kernel as I mentioned in the ticket description and checked, but having the same issue still.

Can you possibly strace the program linked with curl? Do you see there any getrandom() calls?

Hi @t8m - I have checked strace with sample program with all the curl options to trigger the connection. getrandom() calls are seen when TLS connection is initiated from client (for curl_easy_handle() and curl_multi_handle() options), but with curl_multi_socket_action(), TLS connection itself is not initiated. I have also raised this query with curl: https://github.com/curl/curl/discussions/11022#discussioncomment-5733618.

associated curl discussion seems to have resolved this with a libcurl update
marking as inactive, will be closed at the completion of 3.4 dev without further input

I stumbled upon this when openssl.cnf was changed to specifically enable the default provider, but the service itself had not yet been restarted.


#53 Reproduce behaviour with generic methods

@yegor256 please, pay attention to this pull request

Job gh:yegor256/jpeek#54 is in scope.

@sergey-karazhenets thanks! See above

@sergey-karazhenets what's up with this one?


Twitter function not working

Example: https://gleam.io/1dzS7/enshrouded
No "Unfollow" and "Delete retweet" button show up after doing the required action.
Script version: 2.8.4 (newest).
Haven't verified if this is a Twitter or Gleam.io bug yet.

Closing this in favor of using Issue #42 for this problem.


Upload figures

Resolves #151

Did you change the design? Although looks good to me. Thank you!

Design change was not intended, but maybe I used a different puml to png converter than usual?

LGTM, too. However, we might consider using svg files on the long run (cf. #156).


Question types replies do not work properly (even if triggers are identified correctly).

I have defined four gambits to test question matching:
?:WH *
- This is a WH question

?:YN *
- This is a yes/no question

?:TG *
- This is a tag question

?:CH *
- This is a choice question

If I ask Who is Matt Damon? or Do you want to eat? or Is Mary taller than Tom?, I always get the first reply, This is a WH question, and whatever question I test in the editor, it seems that it matches all the gambits:

Most likely related to: https://github.com/silentrob/superscript-editor/issues/25
/cc @Laurian

@mariusursache can you confirm if this is an editor issue or a superscript issue. If it is tha editor, lets move it there and close this.

Editor. Did not try it in the latest commit. I can't write a test but I can definitely write a script to help you replicate stuff. Will do that tomorrow between flights.

This should work fine in SS. If there are issues I will investigate further. I think this is just a bug in the editor.


New Actions (+Inventory and -Inventory)

@chuushi Hi!
Can you add actions inventory(inventory drop(-inventory) and puck(+inventory))?
Thanks!

I don't think this is further developed, but would love to see this, too.

I would like to reiterate that when looking at container transactions it is very hard to figure out whether it got added or taken from a chest.
In or out - no clue.


Rustfmt

Coverage remained the same at 75.619% when pulling de6da98fd3a78dbad296036d1094a7256dd3a54f on rust-av:rustfmt into 97538d104f3548fc55ec594579eed24ab7bb6abd on xiph:master.

Already landed.


Typo? on Binding overrides in children scopes

regarding wiki https://github.com/stephanenicolas/toothpick/wiki/Modules-&-Bindings#binding-overrides-in-children-scopes
- Scope S0 : IFoo.class --> Foo.class
+ Scope S0 : IFoo.class --> Foo1.class
  \
   \
  Scope S1 : IFoo.class --> Foo2.class
    \
     \
    Scope S2

OR
- Toothpick.inject(a, s0); // => a.foo is an instance of Foo1
+ Toothpick.inject(a, s0); // => a.foo is an instance of Foo
Toothpick.inject(a, s1); // => a.foo is an instance of Foo2
Toothpick.inject(a, s2); // => a.foo is an instance of Foo2

which is correct ? or current one is true ?

Thx ! (You can create PRs on wiki pages).


Error code 65 for command: Ionic mobile app

From @YuvarajManickam on June 10, 2016 9:18
Hi Team,
Today I started to learn Ionic for hybrid mobile application. Am trying to set up the environment on my Mac OS X. I installed Node-js, npm, cordova and created one sidemenu app. But, am not able to build and run the app through Terminal. Am getting the following error while doing build ios,

** BUILD FAILED **
The following build commands failed:
CompileC build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/MainViewController.o myApp/Classes/MainViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/cordova/build-debug.xcconfig,-project,myApp.xcodeproj,ARCHS=i386,-target,myApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/sharedpch

Can anyone please help me to fix this issue? Thanks.
Copied from original issue: driftyco/ionic#6837

From @iignatov on June 10, 2016 9:31
Try uninstalling and reinstalling XCode. See this forum post for more information. If this doesn't help, could you provide more details, e.g. the output of ionic info?

From @YuvarajManickam on June 10, 2016 10:4
Thank you for your reply @iignatov .
Here is the info on ionic,
ionic info

Your system information:
Cordova CLI: 6.2.0
Ionic Framework Version: 1.3.1
Ionic CLI Version: 1.7.15
Ionic App Lib Version: 0.7.2
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v4.4.5
Xcode version: Xcode 7.3.1 Build version 7D1014

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications. npm install -g ios-sim (may require sudo)
Install ios-deploy to deploy iOS applications to devices. npm install -g ios-deploy (may require sudo)

Also, when I tried to when I tried to install ios-deploy am getting following warning,
"><EMAIL_ADDRESS>preinstall /usr/local/lib/node_modules/ios-deploy
> ./src/scripts/check_reqs.js && xcodebuild

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! WARNING: You are on OS X 10.11 El Capitan, you may need to add the
!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`
!!!! WARNING:   or else it will fail.
!!!! WARNING: link:
!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2016-06-10 15:05:57.476 xcodebuild[40108:288797] launchctl print returned an error status: 256: exited? 1,1 signaled? 0,0 stopped? 0,1
2016-06-10 15:05:57.477 xcodebuild[40108:288797] CoreSimulator is attempting to unload a stale CoreSimulatorService job.  Detected Xcode.app relocation or CoreSimulatorService version change.  Framework path (/Applications/Xcode 7.3.1.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (209.19) does not match existing job path (/Applications/Xcode 7.3.1.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc/Contents/MacOS/com.apple.CoreSimulator.CoreSimulatorService) and version ((null)).
Could not switch to audit session 0x18d01: 1: Operation not permitted
2016-06-10 15:05:57.479 xcodebuild[40108:288797] Failed to us launchctl asuser, falling back to not using asuser.
2016-06-10 15:05:57.736 xcodebuild[40108:288797] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.   Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"
npm ERR! node v4.4.5
npm ERR! npm  v2.15.5
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script './src/scripts/check_reqs.js && xcodebuild'.
npm ERR! This is most likely a problem with the ios-deploy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./src/scripts/check_reqs.js && xcodebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ios-deploy
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls ios-deploy
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/yuvarajmanickam/Documents/Cordova Projets/myApp/npm-debug.log
"

My Xcode version is 7.3.1. Can you please help me on this? Thanks.

From @iignatov on June 10, 2016 10:14
@YuvarajManickam Have you tried reinstalling XCode?

Also, when I tried to when I tried to install ios-deploy am getting following warning,

Well, IMHO everything is explained pretty well in the warning, just do what it says:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! WARNING: You are on OS X 10.11 El Capitan, you may need to add the
!!!! WARNING:   `--unsafe-perm=true` flag when running `npm install`
!!!! WARNING:   or else it will fail.
!!!! WARNING: link:
!!!! WARNING:   https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

From @YuvarajManickam on June 10, 2016 11:59
@iignatov Thank you for your reply.
I have reinstalled the XCode 7.3.1 in my machine and executed the same command "ionic build ios". But, getting the same error,

"** BUILD FAILED **
The following build commands failed:
CompileC build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/MainViewController.o myApp/Classes/MainViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/cordova/build-debug.xcconfig,-project,myApp.xcodeproj,ARCHS=i386,-target,myApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ym/Documents/Cordova Projets/myApp/platforms/ios/build/sharedpch"

Also, I have added "--unsafe-perm=true" on npm install like below one,

"sudo npm install -g ios-deploy --unsafe-perm=true"

Can you please help me on this? Thanks.

From @iignatov on June 10, 2016 12:28

Can you please help me on this?

Unfortunately - not really, I'm not using OS X.
However I would recommend you to check the following links:

http://stackoverflow.com/a/34168511
https://software.intel.com/node/607876
https://software.intel.com/en-us/forums/intel-xdk/topic/610929

If the above links don't help you, you could also try the following (source):
ionic platform remove ios
ionic platform add ios

Hello, thanks for opening an issue with us. As this issue is and issue with the Ionic CLI and not the Ionic framework I am going to be moving this issue to the ionic-cli repo. Thanks for using Ionic!

@iignatov Thank you dude. It works for me. Builded successfully. Thank you again.

Worked for me too.
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config

Thanks @jgw96 For that awesome tip!

ionic platform remove ios
ionic platform add ios

I am also facing same issue when i have upgrade my OS form IOS 9 to 10 and Update Xcode version from 7.2 to 8, after lots of research i have find solution and based on that solution i have write a blog.
http://satvasolutions.com/microsoft-visual-studio-tools-for-apache-cordova-build-failed-error-code-65-for-command-when-using-xcode-8-and-ios-10/

I did
ionic platforms rm ios
ionic serve
close ionic serve
ionic platforms add ios
And opened xcodeproj file
work for me!

Thanks, AlexMota! Your solution worked for me (when the others didn't):
ionic platforms rm ios
ionic serve
close ionic serve
ionic platforms add ios
And opened xcodeproj file

ionic remove platform  ios
ionic platforms rm ios
ionic platforms add ios
ionic run
Worked for me as well, thanks  AlexMota

ionic platforms add ios
Open Xcode, setup id, team, project
then
ionic build ios

iOS

Open platforms/ios on XCode
Find & Replace io.ionic.starter in all files for a unique identifier
Click the project to open settings
Signing > Select a team
Go to your device Settings > General > DeviceManagement

Trust your account/team

ionic cordova run ios --device --livereload


fix(nunit-support): Change test attribute variable name to match name used in queries

Hey Thanks for the hard work on the adapter.
While I was getting things setup I noticed a variable name mismatch in nunit queries file. This was causing my tests to not be found. This a pull request to fix that issue.

Hi @charleslambert - Good catch! Thanks for the PR. I really need to get some unit tests set up for this project 😄


[Scope map] Miscellaneous improvements (and a hack) for unqualified name lookup

Introduces several fixes to match the way unqualified name lookup currently works (e.g., w.r.t. local computed properties), as well as improving bad source locations in the AST on ill-formed code.

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test Linux


Coverage report includes test LOC

Right now we're using a tool called cargo-travis that provides a convenience wrapper to kcov for generating and publishing coverage reports to Coveralls. It does not expose the --exclude-pattern or --exclude-file options that would allow us to keep lines of test code out of the report.
It would be nice to manage building/caching/running kcov without the cargo-travis wrapper in order to get a more accurate representation of our current test coverage.

I'm pretty happy with cargo-travis these days :+1: