Build broken after #563 (better-npm-run update)

Pull request #563 has broken both dev and prod build. I've checked it also on clean repo clone. Also tried it on node 0.12.6 and 5.0.0. It seems the problem is with reading configuration because it wants to bind to port 80 when starting dev
Error: listen EACCES <IP_ADDRESS>:80

In Better-npm-run README you can read that .env file is loaded from root directory. In our root directory there is .env file with PORT set to 80. So it conflicts PORT config from package.json.
I see that .env is used for Heroku but as i understand heroku is on other branch so i'm not sure if this file should be here.
Other option to fix this (and update better-npm-run) is to rename PORT to something else soethey won't conflict each other.

renaming like PORT to DEFAULT_PORT?
I'm not sure ¯_(ツ)_/¯
how do you think of this, @erikras?

Hmm.... I didn't think that .env was being used by Heroku. Will better-npm-run work if we delete the .env?

Yes, it does work.

<picard>Make it so.</picard>


added 50 minute option for class end/start time

added extra option that professor mentioned in comments to add a 50 min option in iteration 2 presentation assignment.

lgtm


Potential reclassification of genetic cardiac tumor

During our build of EFO 3 beta, we noticed that currently genetic cardiac tumor (MONDO:0017129) is classified as a subclass of heart cancer (MONDO_0001340). May I suggest reclassifying this as a subclass of heart neoplasm (MONDO_0021209) much like rare cardiac tumor (MONDO_0015673) instead?

Thanks!
Additionally, I'm not sure sure about the name "genetic cardiac tumor", changed to "inherited". But really this classification includes Carney complex which is not itself a heart neoplasm but rather a syndrome in which heart myxomas are a feature.


Does delta support wildcard paths ?

Hello,
I have delta tables organized hierarchically like this /raw/[source system]/[year]/[month]/[day]/[delta table] and I would have like to read a month worth of data using a wildcard path like this:
df = spark.read.format("delta").load("/raw/source/2020/12/*/table")

but I get the following exception:
AnalysisException: `/raw/source/2020/12/*/table` is not a Delta table.;

Am I doing something wrong or is this feature not supported (yet) ?

you are not pointing to one delta table but trying to read multiple delta tables which is not allowed. Why don't you modify your data layout so you have one delta table partitioned by year, month, day. The table hierarchically will be
/raw/[source system]/[delta table]/[year=year_value]/[month=month_value]/[day=day_value]
This way you just need to do
spark.read.format("delta").load("/raw/[source system]/[delta table]").where("year == 2020 and month == 12")


[feat] DefaultValuePipe

Do we expect more attributes in DefaultValuePipeOptions besides defaultValue?
Otherwise we could also use DefaultValuePipe(value) instead of DefaultValuePipe({ defaultValue: value }).

I don't think there's need for more options. So, it makes sense to have only one argument.


icon-menu using popover

Reworked from #1845
This means an icon-menu in a dialog can break outside it if needs be

I have noticed one issue, the Menu with various open directions examples of the doc have the same opening direction.

@oliviertassinari this one is good to review again

@chrismcv It's almost ready to be merged :+1:.

@oliviertassinari should be good now

@chrismcv Thanks
@shaurya947 This introduce a breaking change. openDirection was removed anchorOrigin and targetOrigin.

I have just noticed one issue. I feel like there is a delay between a tap on an item and the closing of the menu. Do you confirm?

It may be linked to touchTapCloseDelay. I will investigat tomorrow

Actually, it takes time to disapeard when the component is unmonted. Any idea how we can solve this?

I think the issue is that the Level 1 menu is starting to animate its close (caused by ClickAwayAble) at the same time as the click on the nested one... haven't come up with a solution yet...

@oliviertassinari gotcha. Next release we'll bump the minor version.


Add badges to README

Please add badges to README with links to app stores. See for example https://github.com/AnySoftKeyboard/AnySoftKeyboard/blob/master/README.md

F-Droid badge will follow later (#763)

done


fix(settings): remove unused space setting tabs

@dgutride snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-933-fabric8-ui.int.rdu2c.fabric8.io


GoTestFunc -count=1 Go test cache is not disabled

-count=1 This parameter is invalid

29a23a31e34379315551afc1a8bb5344a0ec2f3e
add option:   -n 1
You can not use -count, as -c was mapped to compile

I see, thinks


reboot: Make a:focus behave the same as a:hover

It seems like we want to have keyboard focus affect basic links the same way that mouse hover does.
If this is on purpose, can we document this? The only thing I could find was about btn-link and that situation resulted in an underline being added for focus.

It seems like we want to have keyboard focus affect basic links the same way that mouse hover does.

Why's that?

i think it could be nice to at least adopt the same color on focus, but happy to leave the underline only on hover (as the browser's default outline does a good job of visually showing where the focus is already, without the extra underline)

speaking strictly from a standards point of view, the current approach of underline-less links only identified through a colour change compared to regular static text does follow this sufficient technique https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G183
while that technique does not specifically mention outline, it also does not explicitly mention that the browser outline is not sufficient. from https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G165 it can be argued that WCAG counts default focus indication as a valid "focus visible" indication, and it can therefore be argued that relying on the focus indication alone (or, my preferred option, color change and focus indication) counts as a visual/visible change and additional indication that would fall under the spirit of G183
however, taking a step back: this is, above all else, a stylistic/opinionated decision on the part of Bootstrap. it arguably passes WCAG 2.0 with the above rationale. but bootstrap only aims to provide a baseline. if you feel it's not adequate enough, by all means strengthen it. but I suspect for many users of the project this highly visible change will be seen as too disruptive at this stage.

Thank you for citing some helpful sources! For the highly visible change,
are you referring to the default underline or the “make focus have a
consistent experience like hover” change?
On Tue, Apr 24, 2018 at 6:50 PM Patrick H. Lauke<EMAIL_ADDRESS>wrote:

speaking strictly from a standards point of view, the current approach of
underline-less links only identified through a colour change compared to
regular static text does follow this sufficient technique
https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G183
while that technique does not specifically mention outline, it also does
not explicitly mention that the browser outline is not sufficient. from
https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/G165 it can be
argued that WCAG counts default focus indication as a valid "focus visible"
indication, and it can therefore be argued that relying on the focus
indication alone (or, my preferred option, color change and focus
indication) counts as a visual/visible change and additional indication
that would fall under the spirit of G183
however, taking a step back: this is, above all else, a
stylistic/opinionated decision on the part of Bootstrap. it arguably passes
WCAG 2.0 with the above rationale. but bootstrap only aims to provide a
baseline. if you feel it's not adequate enough, by all means strengthen it.
but I suspect for many users of the project this highly visible change will
be seen as too disruptive at this stage.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/26370#issuecomment-384103797, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAmKkrIPHNeVGkPWME49tW19Nuf2IKADks5tr6wmgaJpZM4Tgs0W
.

--
Jonathan Champ
PHP Developer / Information Architect
DELTA
P:<PHONE_NUMBER>
delta.ncsu.edu http://www.delta.ncsu.edu
NC State University
Campus Box 7113
Center for Technology & Innovation
1010 Main Campus Drive
Raleigh, NC 27695
All electronic mail messages in connection with State business which are
sent to or received by this account are subject to the NC Public Records
Law and may be disclosed to third parties.

This is off-topic, but G183 does note that underlined links is the best practice:

While using this technique is sufficient to meet this success criteria, it is not the preferred technique to differentiate link text. This is because links that use the relative luminance of color alone may not be obvious to people with black/white color blindness. If there are not a large number of links in the block of text, underlines are recommended for links.

we may revisit this in future, but i'd say at this juncture, we're having to pass on this as it's potentially too disruptive a change. i (subjectively) believe that the current behaviour does meet the spirit of the guidance of SC 1.4.1 (with the exemption/suggestion for links in G183) at the most basic level. authors are of course free to take it further if they feel it's insufficient.


Severity level is represented as a number

Description
Currently in azure application insights we see under severityLevel the number of ther severity level and not the text like information, error,...

Reproduction
  "Serilog": {     "Using": [       "Serilog.Sinks.ApplicationInsights"     ],     "MinimumLevel": {       "Default": "Debug",       "Override": {         "Microsoft": "Information"       }     },     "WriteTo": [       {         "Name": "ApplicationInsights",         "Args": {           "restrictedToMinimumLevel": "Information",           "telemetryConverter": "Serilog.Sinks.ApplicationInsights.Sinks.ApplicationInsights.TelemetryConverters.TraceTelemetryConverter, Serilog.Sinks.ApplicationInsights",           "instrumentationKey": "key"         }       }     ],     "Enrich": [ "FromLogContext" ],     "Properties": {       "Application": "Sample"     }   }
Expected behavior
The severityLevel should be represented as a string.
Relevant package, tooling and runtime versions
Serilog.Sinks.ApplicationInsights: 3.1.0

After further investigations I saw that application insights just offers nummeric values for the severity level. So it's not a serilog issue as I initialy thought.

Thanks for following up 👍


Add svg rotation transform support

Fixes #8166 - ChatGPT wrote the matrix transformations. I merely fixed type and import errors and verified the code works.

Maintainer merge checklist

[x] Title is descriptive/clear for inclusion in release notes.
[x] Applied a Component: xxx label.
[ ] Applied the api-deprecation or api-break label.
[ ] Applied the release-highlight label to be highlighted in release notes.
[x] Added to the milestone version it was merged into.
[x] Unittests are included in PR.
[ ] Properly documented, including versionadded, versionchanged as needed.

I didn't include unittests, as I didn't see any other unittests for svg support and so I couldn't pattern logic and organization off of that. Would be happy to add tests if I had another example to work off of. I did include an example svg, which rendered properly once I figured out the build-run-verify workflow.
I'm not certain about label adding and whatnot, as those feel like discretionary decisions that core developers should be making.

These don't feel like real unittests, but at the very least these screenshot-based tests allow someone to check whether a specific change introduces a regression.

Comments addressed and ready for re-review. Thanks for looking!


fix(client): Update rendering #55367 logic of block tags

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #55367

Hey @shivansh84ya
Thank you for opening this pull request.
As there was different PR - #55368 - making all necessary changes, merged recently, we are going to close this one.
Thank you and happy coding! 😊

If you have any questions, feel free to ask questions on the 'Contributors' category on our forum or the contributors chat room.


Add option to handle errors from start().

3.x is returning a promise from start() that can result in unhandled exception errors unless the promise is accounted for.  It seems like this API is fine, as it allows users to handle errors as appropriate in their app, but does result in a bit more code.  A possible solution would be to add a config option that would control catching internal errors, and perhaps console.error them.

Look like this was linked to a merged PR.  @davidlehn can this be closed?

This had been left open on purpose to track a potential feature.  Idea was maybe to add code to handle start() errors by default.  But that hasn't happened yet.  Should we close such things?  We could label them with "help wanted" "enhancement" or something.  Or it could just be closed, as there's nothing actually wrong, just the API could just be easier to use.  Is a code TODO better?

I'm reopening this since I think it should still be addressed somehow.  I just now ran into unhandled errors in bedrock-mongodb test suite.  Something to avoid needing patches like this would be good:
- bedrock.start();
+ bedrock.start().catch(err => console.error(err));

This is handled now. Unhandled promise rejections get caught and the process exits -- and app creators may optionally handle errors thrown by bedrock.start() if desired.


"Error: You did not pass an authentication token" with notebook/agentchat_lmm_llava.ipynb

Hi,
I always get this replicate_token authentication error when running the notebook, tried both setting environment variable and just putting the token on the notebook,  the replicate account with credit card info has been set already, what's wrong?
I appreciate your soon help!

Let's figure out what the "authentication" is for.
Can you try to create a new file and run the replicate tutorial first? https://replicate.com/docs/get-started/python
If you still get the same error, it should be the Replicate issue.

@BeibinLi I encountered this issue while going through agentchat_lmm_llava example. When I got the error I tried using replicate sdk directly but still got the error. After I restarted my notebook the error wasn't present in both AutoGen and replicate.

@EteimZ  I believe in your case, you added the replicate API key into the environment variable? If that is the case, you would need to restart the terminal or "source ~/.bashrc" to update environment variable.

@EteimZ I believe in your case, you added the replicate API key into the environment variable? If that is the case, you would need to restart the terminal or "source ~/.bashrc" to update environment variable.

Okay thanks @BeibinLi

Hi @leonpalm ,  is your issue resolved? If yes, could you please close this issue? Thanks.

This is still broken  -- I tried restarting the terminal and adding source ~/.bashrc and it didn't work.


Assign only Writers the ability to create testimonies

Please do work for this task in a branch called issue-213.

Worked on the branch iissue-213v2


describe how to define project as a circle in the data repo

we add a new field is_circle = {bool} in the info toml part in the project @despiegk OK?


C++ server completion queue 'ok' flag is vague

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Yes.
What version of gRPC and what language are you using?
grpc 1.4.x release, c++ api
What operating system (Linux, Windows, …) and version?
N/A
What did you do?
Created an async server, ran a loop on its completion queue, i.e. cq->Next(&tag, &ok), and sometimes got ok == false
What did you expect to see?
Status code/message telling me why ok == false
What did you see instead?
There's no way to tell what caused 'ok' to be false. From my experiments, it may be caused by server shutdown, or client side call time out, or client side stream close, or perhaps something else. After digging into the source codes, I found out that when something on the server side goes wrong in the underlying core, gRPC only sets a cancelled flag in ServerContext  (which can be queried with its IsCancelled() api), and swallows the actual status code of the error. So when ok == false, the only clue I can get is the cancelled flag, which isn't very helpful.

@hellishfire  Thanks for filing this. I have the same complaint. In fact, we ended up having our own is_is_shutdown state variable to distinguish between ok=false caused by client connection reset or other issues mentioned above - in this situation we do need to re-register tag, - and ok=false caused by true shutdown when we don't want to re-register tags.

+1, MARK

I gave this answer recently on the grpc-io forum, but should have also posted it here. Here goes:
Server-side request an RPC: ok indicates that the RPC has indeed been started. If it is false, the server has been Shutdown before this particular call got matched to an incoming RPC. This is actually the case that you were interested in, but I've gone ahead and documented the other cases below.
Client-side start an RPC: ok indicates that the RPC is going to go to the wire. If it is false, it not going to the wire. This would happen if the channel is either permanently broken or transiently broken but with the fail-fast option.
Client-side Write, Client-side WritesDone, Server-side Write, Server-side Finish, Server-side SendInitialMetadata (which is typically included in Write or Finish when not done explicitly): ok means that the data/metadata/status/etc is going to go to the wire. If it is false, it not going to the wire because the call is already dead (i.e., canceled, deadline expired, other side dropped the channel, etc).
Client-side Read, Server-side Read, Client-side RecvInitialMetadata (which is typically included in Read if not done explicitly): ok indicates whether there is a valid message that got read. If not, you know that there are certainly no more messages that can ever be read from this stream.
Client-side Finish: ok should always be true
Server-side AsyncNotifyWhenDone: ok should always be true
I won't close the issue until we document it more officially.

Merging this into #13019

@vjpai For Client-side Read, what does it mean for there to be "certainly no more messages that can ever be read from this stream"? Which events (on the client, or on the server) can cause this condition?


Paths in --files-from files that include brackets aren't backed up

Output of restic version
restic 0.9.5 compiled with go1.12.4 on windows/amd64
How did you run restic exactly?
To circumvent #233, I'm using the --files-from flag to pass a file containing a pre-filtered list of paths to backup. This file consists of absolute paths to files/dirs on an NTFS disk, without any escaping performed on them. I use the following (simplified) command to do this:
D:\> restic -r local:E:\ backup --files-from path-test.txt

What backend/server/service did you use to store the repository?
A local repository.
Expected behavior
Restic should parse file paths in a --files-from file that include brackets, and include these in the backup if they exist.
Actual behavior
The contents of a --files-from file seem to be evaluated as glob patterns. Paths containing brackets, that are allowed in paths on NTFS volumes, are never matched.
Steps to reproduce the behavior
D:\> dir /B D:\[example].txt
[example].txt

D:\> type path-test.txt
D:\[example].txt

D:\> restic -r local:E:\ backup --files-from path-test.txt
pattern "D:\\[example].txt" does not match any files, skipping
Fatal: nothing to backup, please specify target files/dirs

Do you have any idea what may have caused this?
Looking at the git history, the desired behavior seems to have been present until #1892 was merged. Parsing asterisks as wildcards isn't a problem for me, since these are not allowed in filenames on most filesystems. However filepath.Glob treats more characters as special, which seems to cause the problem at hand as a side-effect.
Do you have an idea how to solve the issue?
Restic should parse all valid file paths from a files-from file literally, which is implied by the docs. That makes is possible to pass all filenames that are valid in the containing filesystem, without having to do any escaping.
--files-from could also remain using filepath.Glob patterns, but that would be counter-intuitive to the use case that is mentioned in the docs. That use case states that --files-from is useful to pass a pre-filtered list of file paths, using e.g. find | grep.
If --files-from keeps interpreting the paths in the file as glob patterns, the docs should be updated to include that certain characters (that are considered "special" in a glob pattern) within a path should be escaped. However, that wouldn't fix the problem on Windows, since escaping doesn't seem to be possible there. (Currently, I replace brackets by question marks in the file, which makes it work for now, but isn't the same.)
Did restic help you or made you happy in any way?
Yes, the encryption and deduplication functionality, and the extensive backend support make Restic my tool of choice for my personal backup setup :)

@tomwassenberg I think you nailed the analysis completely on this one. Your assessment is correct from what I can tell, and you also noticed the inability to escape brackets on Windows.
FWIW I've slightly updated the documentation about this in PR #2472.
In general I agree that whether the globbing should still apply for --files-from should definitely be discussed/reconsidered. I'm thinking there are use cases for both - some might want to list paths that should be globbed in the --files-from, while some might want to just list as you say pre-filtered paths directly.

@rawtaz Thanks for improving the docs a bit in this regard already. I agree there are use cases for both behaviors, so perhaps adding an extra flag could be another option.
I wasn't aware of #2276 by the way, which seems to describe the same problem, so I'll close this issue in favor of that one.


Add juno snapshot in readme

Are these snapshots for the main branch or v0.3.1? We won't want them in the readme if users can't run with latest release.

edit: just saw that version is mentioned in the table. Never mind :)
Are these snapshots for the main branch or v0.3.1? We won't want them in the readme if users can't use them with latest release.

Actually, it's a good point, I marked is as v0.3.1 but indeed it's snapshot from current main which gonna be v0.4.0. I changed Version in readme to 0.4.0 and I guess we should wait with merging this PR until release to avoid users question, as we have with --eth-node now


Add support for optional published and modified dates for URL data

So I'm finding timeline analysis is a lot easier when the Source URLs are tagged with time data, can I suggest we add an (optional, not required) support for a publishedDate and lastModifiedDate, e.g. almost all Red Hat RHSA's have it (Issued: 2017-11-16 Updated: 2017-11-16), Debian DSA (Date Reported: 09 Mar 2022), and so on.

Thanks @kurtseifried  This seems like really useful information that would ideally be tracked in database_specific. We are trying to keep the schema lean. Even if these are optional fields, adding more to the spec will unfortunately make it harder to understand.
Of course, if there is more demand from other vulnerability databases for this, we'd be much more open to adding this.
I'll keep this open for further discusison.

Closing due to lack of discussion on this.


What's needed to work with OpenStreetMap?

Figure out how to work with OpenStreetMap, and if something is needed to make this easier.
Maybe zoom-level in OpenStreetMap compared to number of characters in a GeoHash? So, make a table or translater go get the correct zoom-level for a given point. Also try to center on correct point.
https://www.openstreetmap.org/#map=19/59.91004/10.74897

Make specific functions for OpenStreetMap, since people may want to work with other map solutions that has it's own issues, quirks and ways of doing things.

Try OpenLayers. It's free and partly based on OpenStreetMap.

Maybe this can work:
https://openlayers.org/en/latest/examples/icon.html

Skip Openlayers, go with LeafletJS


firefoxpwa: add fhs wrapper to run downloaded binaries

Description of changes
Fixes https://github.com/NixOS/nixpkgs/issues/302431?notification_referrer_id=NT_kwDOAGnFH7MxMDE2Mzg4NjI2Mzo2OTMxNzQz#issuecomment-2053956619

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

What does " This PR does not cleanly list package outputs after merging" mean?

Would this PR potentially fix this issue that I am having?
https://github.com/NixOS/nixpkgs/issues/306167

Apparently the problem was with stale .local/share/firefoxpwa and deleting it should fix the issue

Good to hear. This avoids quite a bit of unnecessary complexity :)


can not open vscode in wsl1

Port for #192506 to release/1.82

Marking as draft until 1.82.1 is out


Uncommenting controlnet components breaks extension

If I uncomment these components for saving, the extension won't load.

Same thing happens when uncommenting adetailer options for img2img tab. The preset ui disappears from the img2img tab.

Using sd-webui-forge (https://github.com/lllyasviel/stable-diffusion-webui-forge)
with ControlNet integrated and adetailer v24.1.2

This is an Automatic1111 extension, not a Forge extension.


Add Buckeye transcriptions to formant export

Add the underlying and surface transcriptions to the formant track export script.

looks good -- assuming you tested this?

Looks good. assuming you tested this?

Yeah it is tested & correctly adds the transcription columns for Buckeye. Waiting to check a dataset for when the formants issue is resolved.

Great
On Fri, Jul 19, 2019 at 4:53 PM James Tanner<EMAIL_ADDRESS>wrote:

Yeah it is tested & correctly adds the transcription columns for Buckeye.
Waiting to check a dataset for when the formants issue is resolved.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MontrealCorpusTools/SPADE/pull/48?email_source=notifications&email_token=AAGC5UJHKEYGFUFA5567OPLQAHPOTA5CNFSM4IE7GMSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2MAYMY#issuecomment-513281075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGC5UO4OO53EE3YT6C7OVDQAHPOTANCNFSM4IE7GMSA
.


Prune a non-terminated branch on route removal

For example, in case of the routing table has the following routes:
      R
     /
   [0] Terminal Node A
     \
      1 Path Node A
     /
    0 Path Node B
   /
 [0] Terminal Node B

When it removes a route of "Terminal Node B", then that node is no longer to have any children to the branch becomes not terminated.  From the looking up performance perspective, that unterminated branch should be removed. In this scenario, "Terminal Node B" and the not terminated ancestor nodes (i.e. "Path Node A" and "Path Node B") should be pruned.
This commit makes it prune a non-terminated branch on route removal.
Benchmark Result
$ go test -bench=. -benchmem
goos: linux
goarch: amd64
pkg: github.com/moznion/go-iprtb
cpu: 12th Gen Intel(R) Core(TM) i7-1280P
Benchmark_New-20        211061150                5.562 ns/op           0 B/op          0 allocs/op
Benchmark_Old-20        29355026                40.87 ns/op            0 B/op          0 allocs/op
PASS
ok      github.com/moznion/go-iprtb     2.999s

As this describes, the new route removing logic brings better performance to lookup a route.
Benchmark Code:
package iprtb

import (
	"net"
	"testing"
)

func Benchmark_New(b *testing.B) {
	rtb := NewRouteTable()

	dst := &net.IPNet{
		IP:   net.IPv4(192, 0, 2, 0),
		Mask: net.IPv4Mask(255, 255, 255, 0),
	}
	target := net.IPv4(192, 0, 2, 100)

	_ = rtb.AddRoute(&Route{
		Destination:      dst,
		Gateway:          net.IPv4(192, 0, 2, 1),
		NetworkInterface: "ifb1",
		Metric:           1,
	})
	found, _ := rtb.FindRoute(target)
	if !found {
		b.Fatal("precondition unmatched; route not exists")
	}

	_ = rtb.RemoveRoute(dst)
	found, _ = rtb.FindRoute(target)
	if found {
		b.Fatal("precondition unmatched; route exists")
	}

	for n := 0; n < b.N; n++ {
		rtb.FindRoute(target)
	}
}

func Benchmark_Old(b *testing.B) {
	rtb := NewRouteTable()

	dst := &net.IPNet{
		IP:   net.IPv4(192, 0, 2, 0),
		Mask: net.IPv4Mask(255, 255, 255, 0),
	}
	target := net.IPv4(192, 0, 2, 100)

	_ = rtb.AddRoute(&Route{
		Destination:      dst,
		Gateway:          net.IPv4(192, 0, 2, 1),
		NetworkInterface: "ifb1",
		Metric:           1,
	})
	found, _ := rtb.FindRoute(target)
	if !found {
		b.Fatal("precondition unmatched; route not exists")
	}

	_ = rtb.RemoveRouteOld(dst)
	found, _ = rtb.FindRoute(target)
	if found {
		b.Fatal("precondition unmatched; route exists")
	}

	for n := 0; n < b.N; n++ {
		rtb.FindRoute(target)
	}
}

The logic of RouteTable#RemoveRouteOld() function took from RouteTable#RemoveRoute() at f03a9ca4d529ad7996f99422776d6ca3a0cd75ef
Close #7

Codecov Report

Merging #8 (8c3d5c0) into main (f03a9ca) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   99.15%   99.21%   +0.06%
==========================================
  Files           2        2
  Lines         236      254      +18
==========================================
+ Hits          234      252      +18
  Misses          2        2

Impacted Files
Coverage Δ

iprtb.go
99.18% <100.00%> (+0.06%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Cannot read property 'width' of undefined

You did a good job.
I've tried your library on my code and it still looks a little weird sometimes when scrolling up and down.
If I suddenly scroll up, it doesn't displays upper list items and if i try scrolling gesture rapidly many times, it shows me such error.
Please have a look.

hm, looks like the onLayout function fails to measure the item size.
Can you make a reproduction repo of it?

@binzailani3136 did you solve this issue?

I am having the same error here!

I wasn't able to solve this issue.

Even I'm facing the same issue

I am having the same error here!

Me too


Failed to load resource on server.

Bug Report
Hi there,
I’ve just started with Payload. I’ve hosted a simple Todo starter on a Plesk server using Docker and it is up and running here,
http://rc17a0412.dnh.net:8081/admin/
However, while creating a new user it is looking for resources from localhost and gets this error.
POST https://localhost:8081/api/users/first-register net::ERR_CONNECTION_REFUSED
Expected Behavior
Should call http://rc17a0412.dnh.net:8081/api/users/first-register
and load the dashboard.
Current Behavior
Get this error
POST https://localhost:8081/api/users/first-register net::ERR_CONNECTION_REFUSED
Detailed Description
My server config is like this.
`const PORT = process.env.PORT || 8081
const HOST_NAME = process.env.HOST_NAME || 'localhost'
export default buildConfig({
serverURL: https://${HOST_NAME}:${PORT},
admin: {
user: Users.slug,
},
collections: [
TodoLists,
Users,
CustomTodo
],
});`
And my console log:
[11:32:19] INFO (payload): Starting Payload... [11:32:20] INFO (payload): Payload Api URL: https://rc17a0412.dnh.net:8081/api [11:32:20] INFO (payload): Payload Admin URL: https://rc17a0412.dnh.net:8081/admin App is running on port 8081 [11:32:20] INFO (payload): Connected to Mongo server successfully! [11:32:20] INFO (payload): E-mail configured with mock configuration [11:32:20] INFO (payload): Log into mock email provider at https://ethereal.email [11:32:20] INFO (payload): Mock email account username<EMAIL_ADDRESS>[11:32:20] INFO (payload): Mock email account password: dXPrKuUHGQccrMPcdh [11:42:04] ERROR (payload): NotFound: The requested resource was not found.     at new ExtendableError (/app/node_modules/payload/src/errors/APIError.ts:26:11)     at new APIError (/app/node_modules/payload/src/errors/APIError.ts:43:5)     at new NotFound (/app/node_modules/payload/src/errors/NotFound.ts:6:5)     at Payload.findByID (/app/node_modules/payload/src/collections/operations/findByID.ts:88:33)     at processTicksAndRejections (internal/process/task_queues.js:93:5)     at Payload.findByID (/app/node_modules/payload/src/collections/requestHandlers/findByID.ts:19:17)
Payload version: 0.6.6

@aljubaer Thanks for the report.
Do you have the Dockerfile that is actually being deploying and with what commands? If I had to guess, this is likely due to how Docker handles networking resolution. I'd try changing the HOST_NAME to <IP_ADDRESS> or <IP_ADDRESS> and see if that makes a difference.

@denolfe
Thanks for your quick reply.
Yes, I am using Dockerfile,
FROM node:14
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
ENV PORT=8081
EXPOSE 8081
CMD ["npm", "start"]
I also changed HOST_NAME to <IP_ADDRESS> but still getting the same error. One thing to mention URLs with "..../admin/...." are working fine but the APIs with "..../api/...." aren't updating according to HOST. They always remain localhost.

It looks like your env variable is falling back to localhost. It isn't available because it needs to whitelisted for webpack by Payload using PAYLOAD_PUBLIC_ as a prefix on the env var.
The docs explain it here: https://payloadcms.com/docs/admin/webpack#admin-environment-vars

@DanRibbens Thanks. I solved the issue by removing env vars and hardcoding them.


RFC: Named pipe protocol

This is a request for comments on a proposal to fix issue #142. I can polish the changes some more, but I wanted to get feedback on the general direction and see if there are any other alternatives that should be considered.
Consolidates the protocol GVFS uses for communicating over Named Pipes (e.g. between git hooks and gvfs mount process, between gvfs mount and gvfs service, etc...) into a common pattern. This is to address problems GVFS currently has with transmitting messages that include newline characters over the named pipe as run into with #142.
GVFS currently writes to the NamedPipe using a TextWriter derived class (i.e. StreamReader), which use newlines characters to indicate message boundaries. These classes will have trouble transmitting newline characters as part of the message content itself. Any encoding scheme we use will need to be implemented by multiple clients (Managed implementations for the GVFS mount process, GVFS service, Git hooks, test implementations, etc...)
The fix here is to write utf8 encoded bytes into the NamedPipe (instead of text characters), and use a different byte value to indicate message boundaries (in this case x3, which is an ASCII control character for End of text).

I don't think this is really a new protocol per se,

Right - this is just a tweak / refinement of the existing behavior. I can tweak the PR description to make the intention more clear.

Changing the encoding could also be a reasonable thing to do, as long as it's meaningfully improving reliability and not overly hurting perf.

I wasn't trying to change the encoding (as you point out - UTF8 encoding doesn't afford extra protection) - but am just being explicit about it now. GVFS currently uses UTF8 (implicitly via the StreamWriter), and the native readers currently expect ASCII / UTF8. I can also include this in the PR description to make this point more clear.

This is ready for review now. Thanks for the initial feedback on the approach!
/cc @sanoursa @benpeart @wilbaker


Print Multiplication Table

Description
Input  : 2

2 x 1 = 2
2 x 2 = 4
2 x 3 = 6
2 x 4 = 8
2 x 5 = 10
2 x 6 = 12
2 x 7 = 14
2 x 8 = 16
2 x 9 = 18
2 x 10 = 20

Program added successfully :tada:
Thanks for your contribution :hugs:


Link in readme

Looks like the links to ZipkinHttpTraceInjector and other files are broken in main README file.

Thanks a lot, we didn't notice it !


Upgrade dry-monads to ~> 1.0

This is an improvement in terms of using newer codebase, and also for those who are already using newer dry-monads in their projects.
Perhaps it would be nice to also have CHANGELOG.md file, and document there the difference between api_struct versions 0.1.0 and 1.0.0

thanks!


GDS API Adapters no longer work with 'gov.uk/api/organisations'.

This started when trying to run tests in the transition-config repo, which make the following call GdsApi::Organisations.new('http://gov.uk').organisations. This only return 20 entries.
Further investigation shows that the adapter code is unrolling a paginated response from gov.uk/api/organisation, using a header which no longer exists.
I started changing the API adapters to work with the response body instead of the missing headers, but it might be better to figure out why the headers are no longer available and fix that. Here's an example query with the right headers.
curl --verbose -H 'Host: whitehall-admin' localhost/api/organisations`

......

< X-Content-Type-Options: nosniff
< Link: <http://whitehall-admin/api/organisations?page=2>; rel="next", <http://whitehall-admin/api/organisations?page=1>; rel="self"
< Cache-Control: max-age=900, public

Will be fixed by https://github.com/alphagov/collections/pull/770


Add to package manager

Could you add this to package manager? Manual installation across multiple workstations is tedious.

https://packagecontrol.io/packages/Pawn syntax :)

Neat :+1:


AttributeError: module 'toga_iOS.factory' has no attribute 'Table'

Expected Behavior

toga.Table(headings=["smth","smthelse"]) should work on iOS
Current Behavior

When I run my program it works on macOS and displays a table, but when I try to run it on iOS it gives AttributeError: module 'toga_iOS.factory' has no attribute 'Table'.
Steps to reproduce

import toga
from toga.style import Pack
from toga.style.pack import COLUMN, ROW

class HelloWorld(toga.App):
    def startup(self):
        # Create a main window with a name matching the app
        self.main_window = toga.MainWindow(title=self.name)
        table = toga.Table(headings=["smth","smthelse"])

        # Add the content on the main window
        self.main_window.content = table

        # Show the main window
        self.main_window.show()

def main():
    return HelloWorld('Hello World', 'com.example.helloworld')

run in terminal
$python3 setup.py ios

open the project in Xcode and run it

Your Environment

on MacBookPro using Toga 0.3.0.dev9 and Briefcase 0.2.6

Python Version 3.6.2
macOS - version: High Sierra v10.13.6

Toga Target (the type of app you are trying to generate)

iOS

If you need the full debugger output I can provide it

Just went through the docs again and saw that table isn't available on iOS. I apologize for the mistake.


Failed to login to ACCOUNT: [Errno -2] Name or service not known

I've been trying to add user-level proxies for accounts using this setup following from the Proxy examples:
async def main():
	api = API()
	proxy = "http://USER:PASS@<IP_ADDRESS>:1111"
	await api.pool.add_account(username,twitterpass,email,email_pass, proxy=proxy)
	await api.pool.login_all()

if __name__ == "__main__":
    asyncio.run(main())

After adding the accounts this way and trying to login, for every account I get the error:
Failed to login to USERNAME: [Errno -2] Name or service not known
I've used the proxies with requests with no issues, and tried with several different proxies so I don't think that's the source of the issue.

Update - based on the error I was receiving, I think it was related to logging into the email server to get the verification code. Maybe its trying to log in to the email server with the proxy and that's not working right? I was able to work around it by logging in manually and using a cookie.

Yes, most likely a proxy error.

I have the same problem:
root@capturest:/home/newsearch# twscrape login_accounts
2024-05-08 20:35:53.352 | INFO     | twscrape.accounts_pool:login_all:183 - [1/3] Logging in account1 -<EMAIL_ADDRESS>2024-05-08 20:35:54.329 | ERROR    | twscrape.accounts_pool:login:165 - Failed to login 'account1': [Errno -2] Name or service not known
2024-05-08 20:35:54.348 | INFO     | twscrape.accounts_pool:login_all:183 - [2/3] Logging in account2 -<EMAIL_ADDRESS>2024-05-08 20:35:55.488 | INFO     | twscrape.accounts_pool:login:158 - Logged in to account2 successfully
2024-05-08 20:35:55.505 | INFO     | twscrape.accounts_pool:login_all:183 - [3/3] Logging in account3 -<EMAIL_ADDRESS>2024-05-08 20:35:56.513 | ERROR    | twscrape.accounts_pool:login:165 - Failed to login 'account3': [Errno -2] Name or service not known
{'total': 3, 'success': 1, 'failed': 2}

What im doing wrong?

To get around it, I signed in manually with the proxy, then extracted the
ct0 and auth_token cookies. Then, when I added the account, I included the
proxy:
proxy = "http://{}:{}@{}:{}".format(proxy_user, proxy_pass, proxy_host,
proxy_port)
await api.pool.add_account(twitter_username, twitter_password, email,
email_pass, cookies = cookies, proxy=proxy)
await api.pool.relogin(twitter_username)
On Wed, May 8, 2024 at 7:43 PM Patricio Segovia @.***>
wrote:

I have the same problem:
@.:/home/newsearch# twscrape login_accounts
2024-05-08 20:35:53.352 | INFO     | twscrape.accounts_pool:login_all:183 - [1/3] Logging in account1 - @.
2024-05-08 20:35:54.329 | ERROR    | twscrape.accounts_pool:login:165 - Failed to login 'account1': [Errno -2] Name or service not known
2024-05-08 20:35:54.348 | INFO     | twscrape.accounts_pool:login_all:183 - [2/3] Logging in account2 - @.***
2024-05-08 20:35:55.488 | INFO     | twscrape.accounts_pool:login:158 - Logged in to account2 successfully
2024-05-08 20:35:55.505 | INFO     | twscrape.accounts_pool:login_all:183 - [3/3] Logging in account3 - @.***
2024-05-08 20:35:56.513 | ERROR    | twscrape.accounts_pool:login:165 - Failed to login 'account3': [Errno -2] Name or service not known
{'total': 3, 'success': 1, 'failed': 2}
What im doing wrong?
—
Reply to this email directly, view it on GitHub
https://github.com/vladkens/twscrape/issues/145#issuecomment-2101723495,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNNJR4LOLFUTWV7PE6MO7DZBLBDRAVCNFSM6AAAAABEYPQTAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRG4ZDGNBZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Orleans tutorial updated to work with Orleans 7

Summary
As I tried out the new Orleans 7 features, I found out that the 'Orleans Basics' tutorial was out of date. I migrated the code and edited the text to work with Orleans 7.

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


Fix printing page breaking inside elements

What is the context of this PR?
Fixes: #2625
Also updates some css that was being repeated when there was a mixin available to use
How to review
Test the comparison between printing a page on the main branch with this one and see that elements aren't broken by page breaks

 DS changes for printing bugs


fix(interactive): Support Gremlin Subquery in Calcite-Based IR Layer

What do these changes do?
as titled.

Related issue number

Fixes

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.76%. Comparing base (d46a354) to head (dd1ddc2).
Report is 10 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3636   +/-   ##
=======================================
  Coverage   27.76%   27.76%
=======================================
  Files         178      178
  Lines       16245    16245
=======================================
  Hits         4511     4511
  Misses      11734    11734

Continue to review full report in Codecov by Sentry.

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


kymotracker: bugfixes

Why this PR?
There were bugs. They are fixed now.
The bugs in question were:

If the ROI selection resulted in no tracks remaining, track_greedy would crash. Now it returns an empty group.
If no points are above the threshold track_greedy would return an empty list. Now it returns a group (more consistent with its regular output).
refine_tracks_* used to raise with a numpy error if there were no tracks in the group. Now it just returns an empty group.
fit_binding_times(1) and plot_binding_histogram() used to raise with a numpy error if there were no tracks, now you get a clean exception.

I am not sure I trust the 3rd commit but the other commits in this patch set look fine to me.

I changed the third commit slightly to make it less of a change.

Tested, works!

Thank you.


Paradigm's RWBY TTRPG Update V1.2 - 9/16/2022

9/16/2022
Aligned Signature Action section with new book updates. Shared Resources are now applied to each tab

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


google authentication fails on ios

Hi, with all the correct info in the plist files, I can push the button to log in using google, it launches safari on accounts.google.com page, and produces an error:

access blocked authorization error
missing required parameter: redirect_uri
error 400L: invalid request

Probably, there is an issue with custom url schemes in iOS side. Please make sure you followed all steps in Firebase Google Sign-In for iOS.
https://firebase.google.com/docs/auth/ios/google-signin

This issue is not related to library itself, so I'll close this.

Hey, I just came back to say - yes you're absolutely right. It is now working like a charm. I don't even know what was causing the issue, I spent some (a lot) of time rebuilding the iOS project from the ground up, and now it works. Wow iOS devt environment is horrible!


Receiving "Connection Already Closed Error on Creating Producer"

Expected behavior
I would expect the client to connect and build, or give a more useful error.
Actual behavior
When attempting to create the producer, I receive this error:
Exception in thread "main" org.apache.pulsar.client.api.PulsarClientException: Connection already closed
	at org.apache.pulsar.client.impl.ClientCnx.channelInactive(ClientCnx.java:169)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at org.apache.pulsar.shade.io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:377)
	at org.apache.pulsar.shade.io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:224)
	at org.apache.pulsar.shade.io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1409)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:231)
	at org.apache.pulsar.shade.io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:927)
	at org.apache.pulsar.shade.io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:822)
	at org.apache.pulsar.shade.io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
	at org.apache.pulsar.shade.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
	at org.apache.pulsar.shade.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
	at org.apache.pulsar.shade.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
	at org.apache.pulsar.shade.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

Steps to reproduce
We are not able to reproduce this issue with the python library. Here is the java code:
messageBus = PulsarClient.builder()
                .serviceUrl(messageBusUrl)
                .tlsTrustCertsFilePath("/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-ca-cert.pem")
                .authentication("org.apache.pulsar.client.impl.auth.AuthenticationTls",
                        "tlsCertFile:/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-public.pem,tlsKeyFile:/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-private.pem")
                .build()

System configuration
This was originally encountered with 2.0.1-incubating (as referenced for the import in the java client import), and also persists in 2.1.0 and 2.1.1

@MrThreepwood I think you need to set enableTls to true.
 messageBus = PulsarClient.builder()
                 .serviceUrl(messageBusUrl)
+                .enableTls(true)
                 .tlsTrustCertsFilePath("/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-ca-cert.pem")
                 .authentication("org.apache.pulsar.client.impl.auth.AuthenticationTls",
                         "tlsCertFile:/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-public.pem,tlsKeyFile:/Users/josh/Documents/myriadmobile/kernel/translator-mono/core/src/main/resources/pulsar-private.pem")
                 .build()

This configuration will be unnecessary in 2.2.0 or later.
cf. https://github.com/apache/pulsar/pull/2315

The message is still misleading. It would be good to have something a bit more explicit to say that the client was not able to connect to the remote endpoint.

This appears to be working for me, thanks. It is not mentioned as part of the documentation here however:
https://pulsar.apache.org/docs/latest/security/tls/
I also agree with ivankelly that this is very misleading. Clearly I'm encountering an auth error, so simply closing the connection and throwing the first time I attempt to create a producer or consumer isn't behavior that I would expect.

@MrThreepwood I think the documentation in the latest website is correct. You were checking the old website.
Closing this issue for now. If you need more help from us, feel free to reopen it.

I have the same issue running for Python version 2, pulsar version 2.4.0.
Ubuntu 18.04.2 LTS (Bionic Beaver) running under Virtual Box in Windows 10
import pulsar
client = pulsar.Client('pulsar://localhost:6650')
producer = client.create_producer('my-topic')
producer.send("testing")
client.close()
2019-07-16 18:19:47.192 INFO ConnectionPool:72 | Created connection for pulsar://localhost:6650
2019-07-16 18:19:47.193 ERROR ClientConnection:360 | [ -> pulsar://localhost:6650] Failed to establish connection: Connection refused
2019-07-16 18:19:47.193 INFO ClientConnection:1297 | [ -> pulsar://localhost:6650] Connection closed
2019-07-16 18:19:47.193 ERROR ClientImpl:182 | Error Checking/Getting Partition Metadata while creating producer on persistent://public/default/my-topic -- 5
2019-07-16 18:19:47.193 INFO ClientImpl:482 | Closing Pulsar client
Traceback (most recent call last):
producer = client.create_producer('my-topic')
File "/usr/local/lib/python2.7/dist-packages/pulsar/init.py", line 476, in create_producer
p._producer = self._client.create_producer(topic, conf)
Exception: Pulsar error: ConnectError
2019-07-16 18:19:47.200 INFO ClientConnection:222 | [ -> pulsar://localhost:6650] Destroyed connection
changing 'pulsar://localhost:6650' -> 'http://<local_ip>:6650' doesn't work either.
I am really confused with this library.

hi, is the issue above solved? i am confused with that error "Error Checking/Getting Partition Metadata while creating producer" too @gurgen2727


Tif with mask to transparent png

Hello,
i try to convert a tif with a mask to a png file with a transparent background.

Unfortunately i cannot manage to get it done. The output image still has a white background.
For some other images with an alpha channel it is working:

My Code:
       newFileName =${newFileName}.png         console.time(newFileName);         sharp(file)             .resize({width: 3500, height: 3500, fit: "inside"})             .withMetadata()             .png({compressionLevel: 9})             .toFile(newFileName)             .then(() => {                 console.timeEnd(newFileName)             });
Thanks!

Please can you provide a sample input image that exhibits this behaviour.

Hi, thanks for your quick reply.
https://drive.google.com/file/d/1dd3yitrt-8dCjnn_d1ukeI-EyOLsYwm7/view?usp=sharing

Thank you, this is a 3-channel TIFF without alpha transparency.
$ identify -verbose<PHONE_NUMBER>_perspektive_2.tif
Image:<PHONE_NUMBER>_perspektive_2.tif
  Format: TIFF (Tagged Image File Format)
  Geometry: 2682x3312
  Class: DirectClass
  Type: true color
  Depth: 8 bits-per-pixel component
  Channel Depths:
    Red:      8 bits
    Green:    8 bits
    Blue:     8 bits
  Channel Statistics:
    Red:
      Minimum:                     0.00 (0.0000)
      Maximum:                 65535.00 (1.0000)
      Mean:                    44092.35 (0.6728)
      Standard Deviation:      24074.22 (0.3673)
    Green:
      Minimum:                     0.00 (0.0000)
      Maximum:                 65535.00 (1.0000)
      Mean:                    46612.19 (0.7113)
      Standard Deviation:      24439.37 (0.3729)
    Blue:
      Minimum:                     0.00 (0.0000)
      Maximum:                 65535.00 (1.0000)
      Mean:                    42534.78 (0.6490)
      Standard Deviation:      24615.20 (0.3756)
  Resolution: 300x300 pixels/inch
  Filesize: 50.0Mi
  Interlace: No
  Orientation: TopLeft
  Background Color: white
  Border Color: #DFDFDF
  Matte Color: #BDBDBD
  Page geometry: 2682x3312+0+0
  Compose: Over
  Dispose: Undefined
  Iterations: 0
  Compression: Zip
  Artist: REV Ritter GmbH
  Copyright: REV Ritter GmbH
  Timestamp: 2021:04:21 14:41:32
  Make: Canon
  Model: Canon EOS 7D
  Software: Adobe Photoshop 22.0 (Windows)
  Signature: 7e5c3750c02c9347abfb67b343a6d52051f53173ac98997288c50a4ce716d87b
  Profile-color: 560 bytes
  Profile-iptc: 12724 bytes
    unknown:
  ��
  Profile-XMP: 16707 bytes
  Tainted: False
  User Time: 0.210u
  Elapsed Time: 0m:0.198964s
  Pixels Per Second: 42.6Mi

I think the IPTC metadata might contain a mask in a proprietary Photoshop format, but that's not part of the TIFF standard.

Thank you very much!


Change the translations to show a valid command that exits vim

As stated in issues https://github.com/vim/vim/issues/1719 and https://github.com/vim/vim/issues/1720, plenty of new users of vim do not know how to exit vim.
Apparently, some of them type what they see on the screen :quit<Enter>, but this is not a valid vim command, as this produces a E488: Trailing characters.
The proposal is to change the message to :quit|<Enter>, which is a valid command (and exits vim).

Those who type what they see, will exit vim
Those who get the idea of typing :quit, then <Enter> will also exit vim

Codecov Report

Merging #1727 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1727      +/-   ##
==========================================
+ Coverage   75.01%   75.02%   +0.01%
==========================================
  Files          76       76
  Lines      124906   124945      +39
==========================================
+ Hits        93698    93745      +47
+ Misses      31208    31200       -8

Impacted Files
Coverage Δ

src/version.c
79.29% <0%> (-1.02%)
:arrow_down:

src/channel.c
83.57% <0%> (-0.24%)
:arrow_down:

src/window.c
81.25% <0%> (-0.14%)
:arrow_down:

src/evalfunc.c
81.1% <0%> (-0.03%)
:arrow_down:

src/message.c
68.52% <0%> (+0.05%)
:arrow_up:

src/gui_gtk_x11.c
47.49% <0%> (+0.2%)
:arrow_up:

src/os_unix.c
58.63% <0%> (+0.29%)
:arrow_up:

src/if_xcmdsrv.c
85.18% <0%> (+0.37%)
:arrow_up:

src/if_py_both.h
76.01% <0%> (+0.45%)
:arrow_up:

src/gui_beval.c
44.89% <0%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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

Alvaro Garcia wrote:

As stated in issues https://github.com/vim/vim/issues/1719 and https://github.com/vim/vim/issues/1720, plenty of new users of vim do not know how to exit vim.
Apparently, some of them type what they see on the screen :quit<Enter>, but this is not a valid vim command, as this produces a E488: Trailing characters.
The proposal is to change the message to :quit|<Enter>, which is a valid command (and exits vim).

If even getting that  is a key is too difficult for some people,
how about this:
Type  :quit  and press <Enter> to exit Vim

That's also easier to translate.  In case the user accidentally made
changes (hitting random keys) we could make it:
Type  :qa!  and press <Enter> to abandon all changes and exit Vim

--
BLACK KNIGHT: The Black Knight always triumphs. Have at you!
ARTHUR takes his last leg off.  The BLACK KNIGHT's body lands upright.
BLACK KNIGHT: All right, we'll call it a draw.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Hello @brammool,
I will convert it to Type  :quit  and press <Enter> to exit Vim
How are the specific translations updated? Should I leave it empty, wrong, unmodified, so others can contribute translations in other languages?
Thanks,

Hello @brammool,
I've changed the text as you suggested.
I've updated the msgids in all the translation files.
How can we translate the missing translation files?
Thanks in advance,
As a guide, I've translated:

ca.po
es.po
fr.po

But these translations are missing:

af.po
de.po
eo.po
fi.po
ga.po
it.po
ja.euc-jp.po
ja.po
ja.sjis.po
ko.UTF-8.po
ko.po
nb.po
nl.po
no.po
pl.UTF-8.po
pl.cp1250.po
pl.po
pt_BR.po
ru.cp1251.po
ru.po
sk.cp1250.po
sk.po
sv.po
uk.cp1251.po
uk.po
vi.po
zh_CN.UTF-8.po
zh_CN.cp936.po
zh_CN.po
zh_TW.UTF-8.po
zh_TW.po

There are some translation files that do not need further action (e.g., en_GB), as they do not contain the original msgid in the first place.

Alvaro Garcia wrote:

Hello @brammool,
I've changed the text as you suggested.
I've updated the msgids in all the translation files.
How can we translate the missing translation files?

The maintainers of the translations need to do this.
Unfortunately some of them have not done anything recently, it's time to
poke them and perhaps find new translators.

Thanks in advance,
As a guide, I've translated:

ca.po
es.po
fr.po

But these translations are missing:

af.po
de.po
eo.po
fi.po
ga.po
it.po
ja.euc-jp.po
ja.po
ja.sjis.po
ko.UTF-8.po
ko.po
nb.po
nl.po
no.po
pl.UTF-8.po
pl.cp1250.po
pl.po
pt_BR.po
ru.cp1251.po
ru.po
sk.cp1250.po
sk.po
sv.po
uk.cp1251.po
uk.po
vi.po
zh_CN.UTF-8.po
zh_CN.cp936.po
zh_CN.po
zh_TW.UTF-8.po
zh_TW.po

There are some translation files that do not need further action (e.g., en_GB), as they do not contain the original msgid in the first place.

--
|
Ceci n'est pas une pipe.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

How are the specific translations updated?

I think you should leave it unmodified. If you modify it, translators might not notice the change.

Hello,
The coverage for this fell by a -0.009%.
How can I fix this, so the PR goes through?
Thanks in advance,

The coverage for this fell by a -0.009%.

It's probably because of compiler optimization or some flaky tests, not because of your change.
You don't need to care about it.

Closing as this change made it to master already: https://github.com/vim/vim/commit/28a8193e3113f676f89fb6312b099d849df881d3


Tried to ape template sample project<EMAIL_ADDRESS>Permission denied (publickey). fatal: Could not read from remote repository. [APE-1159]

Environment information

ape and plugin versions:

$ ape --version
0.6.11

$ ape plugins list

Installed Plugins:
  ens          0.6.1
  vyper        0.6.8
  solidity     0.6.6
  etherscan    0.6.7
  infura       0.6.2
  template     0.6.1
  hardhat      0.6.9
  alchemy      0.6.2
  foundry      0.6.11
  tokens       0.6.1
# ...copy and paste result of above command here...

Python Version: 3.10.6
OS: win

Problem:
~/contracts$ ape template git@github.com:ApeAcademy/ERC721.git
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: y
Please type 'yes', 'no' or the fingerprint: yes
ERROR: git clone failed with error: Cloning into 'ERC721'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Traceback (most recent call last):
File "/home/snar/.local/bin/ape", line 8, in
sys.exit(cli())
File "/home/snar/.local/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/snar/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/snar/.local/lib/python3.10/site-packages/ape/_cli.py", line 36, in invoke
return super().invoke(ctx)
File "/home/snar/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/snar/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/snar/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/snar/.local/lib/python3.10/site-packages/cookiecutter/cli.py", line 194, in main
cookiecutter(
File "/home/snar/.local/lib/python3.10/site-packages/cookiecutter/main.py", line 69, in cookiecutter
repo_dir, cleanup = determine_repo_dir(
File "/home/snar/.local/lib/python3.10/site-packages/cookiecutter/repository.py", line 106, in determine_repo_dir
cloned_repo = clone(
File "/home/snar/.local/lib/python3.10/site-packages/cookiecutter/vcs.py", line 95, in clone
subprocess.check_output(  # nosec
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'clone', 'git@github.com:ApeAcademy/ERC721.git']' returned non-zero exit status 128.

no offense, just trying to gauge: have you ever used git with github before? Do you know that your dev env is setup to use to be able to clone repositories from git?
you will get issues like this when your auth is not set up right.
https://stackoverflow.com/questions/13509293/git-fatal-could-not-read-from-remote-repository#40009598

I have used it extensively but on pure linux. I'm working now on windows WSL which appears to be a completely different confusing situation. Thanks for the direction, never had issues with cloning repos from github on my usual linux environ before.  And some mentioning of it in the docs would be great.


Thread Local Storage

cxgo doesn't support thread local storage yet.
We can emulate it by passing a *TLS object to all the functions that use it, and to all their callers, similar to how context.Context is passed in Go.

Goroutine local storage: https://github.com/jtolio/gls
Fast goroutine local storage:https://github.com/cosmos72/gls


formData support for PUT and POST

Two fixes here:

Method can be manually set via method: 'post', so we need the method check to be not case sensitive #63
Sometimes form data is required for PUT requests

Looks good to me :+1:


Use a thread pool to run message handlers

Might need to consider thready-safety in the TicketLinker.

Subsumed by #7


Standalone code for OSLO

Thanks for sharing the code.
If I want to test OSLO on some query and support features how can I do a standalone inference using OSLO from this code?

Hi, sorry for the delay! You can find the inference code for OSLO here.

Thanks 👍


hasNotch() is not working properly.

Summary
hasNotch() is not working properly. I am getting hasNotch() value true in iphoneX but in Iphone Xs Max it is giving false. It should return true for all the latest iphones notch devices.
| Version     | 0.24.3   |
| Affected OS | IOS   |
| OS Version  | 12.1   |
| React-Native | 0.55.1 |
Current behavior
hasNotch() is giving false in iphone Xs Max.
Expected behavior
hasNotch() should return true for iphone Xs Max. For iphoneX it is working perfectly.

Try running DeviceInfo.getDeviceName() and check if the device name is different than "iPhone XS Max".  There is a custom version of MAX and XR for the Asia Market that might have a different deviceName.
Heres the list of devices that hasNotch() will return "true" on
https://github.com/rebeccahughes/react-native-device-info/blob/65374808dc8aea1d6b989927a8f42c4732eaab60/deviceinfo.js

@lapto : getDeviceName is giving iPhone XS Max
Now i am receiving hasNotch : true
I think there was an issue with my installed react-native-device-info or I was using an old version.

Returning promise on DeviceInfo.hasNotch() check and not a Boolean value.

Try running DeviceInfo.getDeviceName() and check if the device name is different than "iPhone XS Max". There is a custom version of MAX and XR for the Asia Market that might have a different deviceName.
Heres the list of devices that hasNotch() will return "true" on
https://github.com/rebeccahughes/react-native-device-info/blob/65374808dc8aea1d6b989927a8f42c4732eaab60/deviceinfo.js

Hi Lapto
I can not get the hasNotch: true
in the android devices
Do you have any Ideas about it. I'm using the nokia X7 and It can change the status bar from notch to full bezel.

@danieltran3110 if you don't see the device in the list of devices that will return true, then it will not return true. Propose a PR that adds the device and we can release an update

Hi Please add Huwawei Y6P to the has notch list.
Modal - MED-LX9

@maduraherath8 propose a PR


[WIP] Provide better  conversion functions

Related to #622

cc @JohanMabille I'm very happy of this kind of update that removes redundant code :-)


Run pdk update to obtain .travis.yml template update

See full description here: puppetlabs/pdk-templates#300
.travis.yml was unmanaged by the PDK, which I have now removed. Could do with a 2nd opinion from someone who knows more about this particular module as to why this was the case and whether or not there would be adverse effects from merging this

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a920f1f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #104   +/-   ##
=========================================
  Coverage          ?   84.56%
=========================================
  Files             ?        3
  Lines             ?      162
  Branches          ?        0
=========================================
  Hits              ?      137
  Misses            ?       25
  Partials          ?        0

Continue to review full report at Codecov.

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


Compile API group regexp only once

As API group regexp is reused when loading routes and the expression itself doesn't change, should make sense to compile it only once.

Related Issue
--
Motivation and Context
--
Screenshots (if appropriate)
Types of changes
Improvement.
Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

@matiasinsaurralde Can you sign off your commit to pass DCO check ? Follow this: https://github.com/dragonflyoss/Dragonfly2/pull/2135/checks?check_run_id=11733752762


Help me understand framerate disrepency

I have two Reolink RCL-820As setup in Frigate and I noticed a difference in the reported fps between the feed direct from the camera an the feed via go2RTC.
I have started doing some digging and when I grabbed the steam using ffmpeg
ffmpeg -i rtsp://user:pass@camera:554/ -use_wallclock_as_timestamps 1 -c copy /ff/camera.mkv

Then I get this for the direct camera feed (there are some issues in there but the metadata does show up as 15fps which is what I had changed it to for testing.

ffmpeg camera output
[rtsp @ 0x1d8c000] max delay reached. need to consume packet
[rtsp @ 0x1d8c000] RTP: missed 24 packets
[h264 @ 0x1d90e00] error while decoding MB 106 35, bytestream -5
[h264 @ 0x1d90e00] concealing 8743 DC, 8743 AC, 8743 MV errors in P frame
[rtsp @ 0x1d8c000] max delay reached. need to consume packet
[rtsp @ 0x1d8c000] RTP: missed 21 packets
[h264 @ 0x1d90e00] error while decoding MB 23 44, bytestream -7
[h264 @ 0x1d90e00] concealing 7386 DC, 7386 AC, 7386 MV errors in P frame
[rtsp @ 0x1d8c000] max delay reached. need to consume packet
[rtsp @ 0x1d8c000] RTP: missed 5 packets
[h264 @ 0x1d90e00] concealing 3885 DC, 3885 AC, 3885 MV errors in P frame
[rtsp @ 0x1d8c000] max delay reached. need to consume packet
[rtsp @ 0x1d8c000] RTP: missed 47 packets
Input #0, rtsp, from 'rtsp://user:password@camera:554/':
  Metadata:
    title           : Session streamed by "preview"
    comment         : reolink rtsp stream
  Duration: N/A, start: 0.000313, bitrate: N/A
    Stream #0:0: Video: h264, yuv420p(progressive), 2560x1440, 15 fps, 15 tbr, 90k tbn, 30 tbc
    Stream #0:1: Audio: aac, 16000 Hz, mono, fltp
Output #0, matroska, to '/ff/camera.mkv':
  Metadata:
    title           : Session streamed by "preview"
    comment         : reolink rtsp stream
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(progressive), 2560x1440, q=2-31, 15 fps, 15 tbr, 1k tbn, 90k tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 16000 Hz, mono, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x1df3800] Non-monotonous DTS in output stream 0:0; previous: 386, current: 78; changing to 386. This may result in incorrect timestamps in the output file.
[matroska @ 0x1df3800] Non-monotonous DTS in output stream 0:0; previous: 386, current: 198; changing to 386. This may result in incorrect timestamps in the output file.
[matroska @ 0x1df3800] Non-monotonous DTS in output stream 0:0; previous: 386, current: 220; changing to 386. This may result in incorrect timestamps in the output file.
[matroska @ 0x1df3800] Non-monotonous DTS in output stream 0:0; previous: 386, current: 263; changing to 386. This may result in incorrect timestamps in the output file.
[matroska @ 0x1df3800] Non-monotonous DTS in output stream 0:0; previous: 386, current: 358; changing to 386. This may result in incorrect timestamps in the output file.
[rtsp @ 0x1d8c000] max delay reached. need to consume packetbitrate=7357.6kbits/s speed=1.59x
[rtsp @ 0x1d8c000] RTP: missed 2 packets
[rtsp @ 0x1d8c000] max delay reached. need to consume packetbitrate=6666.6kbits/s speed=1.26x
[rtsp @ 0x1d8c000] RTP: missed 4 packets
frame=  933 fps= 15 q=-1.0 Lsize=   64338kB time=00:01:02.96 bitrate=8370.7kbits/s speed=1.04x
video:63834kB audio:488kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.025104%

ffmpeg go2RTC output
Input #0, rtsp, from 'rtsp://<IP_ADDRESS>:8554/hall_camera_frigate':
  Metadata:
    title           : go2rtc/1.9.2
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264, yuv420p(progressive), 2560x1440, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac, 16000 Hz, mono, fltp
Output #0, matroska, to '/ff/go.mkv':
  Metadata:
    title           : go2rtc/1.9.2
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(progressive), 2560x1440, q=2-31, 90k tbr, 1k tbn, 90k tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 16000 Hz, mono, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  954 fps= 15 q=-1.0 Lsize=   65705kB time=00:01:04.93 bitrate=8288.7kbits/s speed=1.05x

which does seem to suggest the feed is 15fps but the metadata appears to have bee lost (not sure what tbr, tbn, tbc mean)
If I open up the go2RTC stream in VLC it is reporting the frame rate as 29.97 (but if I play the mkv output from above there is no fps at all)
Now the go2RTC feed appears to play better than the direct camera feed and I am trying to work out what (if anything) go2RTC is doing to change the feed (or is this just an issue with what VLC is showing as the metadata ?)

Some utilities can show FPS from stream metadata. Some utilities check real FPS from stream. Metadata can lie.

Some utilities can show FPS from stream metadata. Some utilities check real FPS from stream. Metadata can lie.

I understand that but it is sourced from the same stream so it is go2rtc that is causing the difference.   If go2rtc was just restreaming without any repackaging or adjustments they would be the same and it is that I am trying to understand.
when streaming from the camera is says
 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(progressive), 2560x1440, q=2-31, 15 fps, 15 tbr, 1k tbn, 90k tbc

but when putting this stream through go2rtc it is says
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(progressive), 2560x1440, q=2-31, 90k tbr, 1k tbn, 90k tbc

whilst writing this I came across https://superuser.com/questions/1362410/what-is-fps-tbr-tbn-tbc-in-ffmpeg which I guess explains the 90k values.
I guess my question is what go2RTC is doing to the RTSP stream?  Is it just repackaging the stream into a transport stream container?   (Several facets to this, I am seeing 25% CPU usage from go2RTC which would seem a bit high if it isn't doing anything, I have had some issues with a couple of camera feeds not working properly and I would just like to understand this at a lower level)

If go2rtc accepts RTSP stream, it outputs RTSP stream without any changes. Same SDP info and same RTP packets. In case of other transport formats - it can convert the data.

If go2rtc accepts RTSP stream, it outputs RTSP stream without any changes. Same SDP info and same RTP packets. In case of other transport formats - it can convert the data.

Which is what I was expecting.   The go2RTC bit of my Frigate config is
go2rtc:
  streams:
    landing_camera_frigate:
      - rtsp://{FRIGATE_REOLINK_USER}:{FRIGATE_REOLINK_PWD}@landing-camera/Preview_01_main
    hall_camera_frigate:
      - rtsp://{FRIGATE_REOLINK_USER}:{FRIGATE_REOLINK_PWD}@hall-camera/Preview_01_main

but as you can see from the above, the output of viewing that RTSP stream directly and viewing it via go2RTC are giving different output (both in VLC and via ffmpeg directly).   so something is different in the two streams


FilePond uploaded file preview and validation issue

Hello!
Congratulations for create this wonderful package.
We are using FilePond component with ImagePreview plugin but I have a few questions.
<x-tw-form-group label="Image" name="user.avatar">
    <x-tw-file-pond name="user.avatar" class="mt-1" wire:model="user.avatar" />
</x-tw-form-group>

Everything works fine, image preview (registered in app.js), etc. but the validation does not seem to work with an object model like the example above.
Another question is how to show a preview of an uploaded file when you are editing an entity. For example, when you are editing an User I want to show his current avatar in database. Ex: /images/avatars/10.jpg
I look forward to your help as it is very important for us to be able to use this component.
If you need more information, please do not hesitate to ask.
Thank you!

Thank you for your interest in this package.

Everything works fine, image preview (registered in app.js), etc. but the validation does not seem to work with an object model like the example above.

Unfortunately that is outside the scope of this package but I believe referring to the livewire docs should point you in the right direction for that.

Another question is how to show a preview of an uploaded file when you are editing an entity. For example, when you are editing an User I want to show his current avatar in database. Ex: /images/avatars/10.jpg

This is also outside the scope of this package, but I'm pretty sure this is covered in the livewire docs which will show you how to retrieve the uploaded file's temporary preview. As far as the user's current avatar, that all depends on how you are storing them in your filesystem/database.


operation: fix SetConfig races

This PR fixes some races between SetConfig and ioLoop. I had a few panics https://github.com/abiosoft/ishell that related to these races.

@chessman Thanks !


NPO module - inconsistent links break translation links

BUG -
Due to inconsistency with the way the NPO routes builds its inner links, the rest of the application doesn't work.
Overview of the problem
This is about the Spark NPO module
I am sure this issue is not a duplicate?
Description
(location - routes/npo_routes.js - I believe it's line 3 but not sure)
Within the NPO routes the links handling is modified.
Instead of using full paths, the routes of NPO ignore the language part.
This means that req.url === '/npo' and not '/:lng/npo'.
(location - view/includes/page.jade - lines 30 and 35)
The translation links (flags in navbar) use a substr of the url to change language.
Therefore the generated link is wrong and causes a 404.
Steps to Reproduce

Navigate to NPO
Try to change language.

Expected behavior
redirect to same page with different language.
Actual behavior
Redirect to 404 due to bad link

@amotenko - Please review and add to project / milestone if necessary.

@mickeyil - is this related to your pull request #119 ? (issue #106)

@OriHoch - it sounds like issue #106. It is fixed in pr #119.

cool! two for the price of one

Nice, didn't notice this exists already.

I'm closing it.
Cheers!


Add graphic file for Expanse

Status
Ready/In Progress/In Hold (Reason for hold)
Related Issues
fixes: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.
Screenshots
Paste here any images that will help the reviewer

Closing this one, as I moved the file to #529


NEwbe Question

Hello,
First I would like to say thank you for this program.
Regarding email address
Does Gmail still work was having issues with authentication errors.
What email services do work the best for setting up the email messages.
And is there any free services for sending text SMS messages
thanks!!!!
Jeff

Hi, Gmail uses Oauth2 for authentication.  For myself I created a throwaway gmail account and relaxed the security setting to not use Oauth2.
Oauth2 is kind of overkill in my opinion.
I explain how to do it in issue #6 at this link
https://github.com/alaudet/raspi-sump/issues/6
Cheers

Happy new year!
Thank you thank you I overlooked a typo in the config file and re-reviewed all my setting. Was not sure if it was me or gmail but since I know you still currently use Gmail it had to be me.
Got everything working
Is there a way or an open request for some sort of heart beat email ie: 1 email a day so you know everything is still running an on-line?
Thank you again this is so awesome!

There is no open request but if you submit a feature request detailing what you would like I can look at it when I have time.  Although I have to admit I have not worked on RaspiSump in some time.  It's been stable for me and other things in life have taken precedence.  I would like to get back into the program and add features I have wanted previously.  It's just a matter of committing to it again.  That being said if something breaks due to a dependency in a library  I am using I would try to fix it asap.

One other question, I have 3 sump pumps in my basement. Little over kill by the previous home owners. Wanted to do this on three . Is there a way to hook up 2 or even 3 sensors to one pie, instead of going the route of have separate pie's for each pump.
Thanks again and Happy New Year

Its technically possible but not with this program.


Can you install a build for all Useres on a local windows 1o machine?

I build the sln on my local admin account. The Problem is I cant access it from my other accounts because the files are stored in %appdata%. When trying to build on the other accounts i get an error that another user already installed the aplication. Can i build for all Useres or is the install limited to one Windows User?

The install is limited to per user and you would have to install separately. You can use the sideload option at https://files.community/download to install for other user rather then VS


pkg/importer/feed: staticcheck

Closing this, see my comment here:

https://github.com/perkeep/perkeep/pull/1405#issuecomment-894727096


protoxform: Shift protoxform test to bazel and rename -> protoprint

Commit Message:
Additional Description:
This shifts the protoxform/protoprint test to bazel and renames it to //tools/protoprint:protoprint_test on the basis that what is actually being tested is the protoprint proto visitor
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

this incorporates #21795 which didnt land (yet) due to merge conflict

/retest

@htuch i think this one should be ready to land
it does pretty much the same thing as now - save that the protoxform/print test has been renamed and it makes use of the protoxform aspect rule to derive the xformed protos
behind this i have another PR that adds a protoprint aspect and generates the the final protoprinted protos using an aspect chain - protoxform_aspect -> protoprint_aspect -> protosync/protoprint_test
this now pretty much works - just tidying it up and trying to figure if we can land just the updates required for the protoprint_test first, separating out the changes to proto_sync itself after.
if i can get this to work i think it will give some extra assurance that nothing is changing in terms of outputs/tests and will make the next PR a bit more digestable

if i can get this to work

i wasnt able to separate out changes to proto_sync <> protoprint_test as when the protoprint module changes they both need to change (and vice versa)
this is mostly for the next PR anyhow - but i think we will get the assurance, because if the protoxform -> protoprint -> proto_sync chain was not working correctly then it would try to add/remove api files (as it has done getting it working)


Missing links of social media in social section of footer

I will add the links of social media accounts in the footer section of social links  , I think we should place the social section below our footer , with icons

@arghadipmanna101 assign this issue to me , I am working under gssoc24

@Meetjain1 go ahead .

@arghadipmanna101 sure

@arghadipmanna101 sir , please label it as Gssoc24 . Thankyou

@arghadipmanna101 PR #47 is already merged for this issue and hence this issue is completed ,
I request you to please label this issue as gssoc24, so that I will close this issue . Thankyou

@arghadipmanna101 sir please label this issue under gssoc . Thankyou


[gonum/optimize/convex/lp] Feature Request: Integer Programming

I'm proposing to add integer programming to gonum.
How does Gonum not allow you to achieve your goal?
Integer programming is a specific variant of linear programming in which some or all variables are constrained to be whole integer numbers.
Currently the gonum/optimize/convex/lp package only features a Simplex function, which is only able to optimize for real numbered variables.
It is missing an integer programming optimizer, and these are complex enough to not expect a user of the library to implement for themselves. Thus I'm requesting to add such functionality to the library itself.
Is this feature absent from the current master?
Yes
Are you able to help contribute the feature?
I'd be willing to try & implement some parts of it.

I've implemented a basic branch & bound algorithm in my own project I'm working on I could add to the library if it's accepted, it might not be the most efficient solution but it's better than nothing.


Update .gitignore

Issue #, if available:
Description of changes:
Adds 1.20 go sum to gitignore
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


No error is given, when file is not found

[accuraten-web] gulp favicons                                       v2  ✗ ✭ ✈ ✱
[11:06:47] Using gulpfile ~/projects/accuraten-web/gulpfile.js
[11:06:47] Starting 'favicons'...
[11:06:47] Finished 'favicons' after 12 ms

Config
gulp.task("favicons", function () {
  gulp.src("./src/img/favicon.png").pipe(favicons({
      appName: config.appName,
      appDescription: config.appDescription,
      developerName: config.developerName,
      developerURL: config.url,
      background: "#000000",
      path: "favicons/",
      url: config.url,
      display: "standalone",
      orientation: "portrait",
      version: 1.0,
      logging: true,
      online: false,
      html: "./public/favicons/favicons.html",
      replace: true
  })).pipe(gulp.dest("./public/favicons"));
});

@dandaka No error is thrown because it should write the file if it doesn't exist.

I mean source ./src/img/favicon.png does not exist. Nothing happens, no error, no action.

Ahhh okay the source file isn't found. I'll look into this.

@dandaka Looked into how Gulp handles missing source files, apparently it just doesn't run. Did a test with gulp-less and a file that doesn't exist, just did the following:
[09:59:30] Using gulpfile ~/Projects/less-test/gulpfile.js
[09:59:30] Starting 'default'...
[09:59:30] Finished 'default' after 9.71 ms

So as intuitive as I think a message would be, the Gulp ecosystem recommends just leaving it.


Chisel and Treadle need an elegant Plusargs mechanism

see https://github.com/freechipsproject/chisel3/issues/1396
Rocket-chip use Verilog blackbox plusarg_reader to implement this. While a pure chisel/treadle solution is more elegant, so that Treadle can simulate Rocket-chip firrtl.

Closing, more specific Issue should be created for any further work on this


Assertions one-column-query and members can't find referenced connectionString

Current, the default-type of a column with role"value" is systematically "numeric" and can't be overridden. If you've a result-set where all the value columns are "text" you need to create one-by-one the tags "column" and redefine the type for each column. It should be possible to simplify this.
Should be possible to define
<equalTo keys="first" values-default-type="text">
...
</equalTo>

in place of
<equalTo keys="first">
    <column index="1" role="value" type="text"/>
    <column index="2" role="value" type="text"/>
    <column index="3" role="value" type="text"/>
    <column index="4" role="value" type="text"/>
...
</equalTo>

https://ci.appveyor.com/project/CdricLCharlier/nbi/build/<IP_ADDRESS>012


Objective-C code question

Objective-C code is over or I just missed something? Thanks!

See the latest release notes: https://github.com/RNCryptor/RNCryptor/releases/tag/RNCryptor-4.0.0
v4 is Swift, but bridges completely to ObjC. For those desiring a pure ObjC implementation, see v3, which is fully compatible.
If there is strong interest in a updated, pure ObjC implementation (to avoid overhead of linking the Swift standard library, to support pre-Swift platforms), then I'll consider continuing that branch.

Ok. Thanks!