Parallel downloading

Another program, jdownloader, enables parallel downloading, not just of separate files but also of the same file. That increases speed sometimes by up to 40 times.
I want parallel downloading in youtube-dl aswell.

#duplicate
See Parallel youtube-dl.
You could always run multiple instances of youtube-dl.

Your link does not work.
I could run multiple instances for separate files but not for the same, right?

Correct. Though, see also #6319.

Use yt-dlp, or use aria2c as an external downloader.
Also, consider whether you actually need the increased download speed since you may be denying bandwidth to other site users and provoking sites to implement more stringent barriers; therefore causing more work for maintainers of programs like this, or even rendering them impractical to maintain.

consider whether you actually need the increased download [rate]

I've often thought this. But, then, I cut my teeth on dial-up (and a heavily saturated (read: unusable at lunch) T1 line at school).
Media can only be watched at a limited rate. So, what's really gained by downloading 10+ times greater than the playback rate (other than seeing big numbers)?
Smarter strategy helps a lot. Avoid putting yourself in a position where you're having to wait for youtube-dl.

download the next video while watching the previous
download during off-peak hours (overnight); then it can take much longer at a lower rate (because you're asleep); this is an example of being a good network citizen
if wanting to watch a series (especially a playlist), then set --limit-rate to something sensible which is maybe 20% above the playback bitrate; start watching the first video while the others download. The next will be ready by the time you've finished the first
use scripting to automate (e.g. loop-on-failure) fetching, if failure-avoidance is why you're supervising fetches. Use the system scheduler (cron) to trigger the script to start youtube-dl at off-peak hours, so your files await you come the morning
install more storage capacity, to have a larger cache of local videos
use separate hosts for fetching versus watching; this would avoid playback performance issues (e.g. when ffmpeg is running)

More broadly;

I'd rather have 1 video which is 100% fetched, rather than 10 which are each 10%. At least I can watch one whole video, then.
often, I want videos downloaded in a particular order
sequential processing is simpler & more robust
work on something else, while media are being fetched; multi-tasking
don't download high-resolution formats unless you really need them; often 240p & the lowest bitrate audio is just fine for most cases. Sure, music & game play-throughs are different, but you don't need 9720p & lossless audio for a video of someone speaking to camera.  I got by just fine on 2Mbps (and was watching 720p, for some things).

you may be denying bandwidth to other site users and provoking sites to implement more stringent barriers

I've also had that suspicion.
Besides network capacity, the likes of latency & jitter will also (likely) be affected (until anti-bufferbloat AQM is ubiquitous), which risks disrupting those watching streams.
Data-centre grade connectivity isn't cheap (compared to domestic).

aria2c turns out to download with 16 parallel threads alledgedly but only accomplish 150 KB/s instead of 6 MB/s.

If the site is YT and you aren't using the fixed, as yet unreleased, YT extractor (or yt-dlp), aria2c will get the throttled media URLs. Probably the resources of Google are up to the job of throttling all instances of the same download URL going to the same IP address as one, rather than individually.


Support for multiple SCCM servers

Hi!
I added -target-file, so you can specify multiple SCCM servers in a txt file. This enables to create the inventory and to download the files automatically from these servers.
I also changed the if / else part so that you can create the inventory file and download the files afterwards without starting the tool again.

if __name__ == "__main__": 👍
Connecting to SCCM as it's own function 👍
target_file logic 👍
appendToInv logic 👍

Also fixed a bug when target_file was used and options.target_ip not set.
Thanks for the contribution. We owe you a beer


How to convert ur script in Discord Bot?

Can u help me to convert ur python script in discord,py means discord bot

Can't provide help for this, sorry. Should not be hard to do.


Inclusion in Raven.js 1.1?

Would you be interested in getting this plugin included to be distributed with raven.js core?
See: https://github.com/getsentry/raven-js/tree/master/plugins & http://ravenjs.com

Did this happen?

Yeah, see: https://github.com/getsentry/raven-js/blob/master/plugins/angular.js

How does one use the plug-in? Is it better than installing angular raven
through bower?
On Apr 20, 2015 1:25 PM, "Matt Robenolt"<EMAIL_ADDRESS>wrote:

Yeah, see:
https://github.com/getsentry/raven-js/blob/master/plugins/angular.js
—
Reply to this email directly or view it on GitHub
https://github.com/gdi2290/angular-raven/issues/1#issuecomment-94530443.

@henry74 not entirely sure what you're asking. The plugin just needs to be included somewhere on the page. I'm not super familiar with bower, but for raven-js, you can include a script tag like: <script src="//cdn.ravenjs.com/1.1.18/angular,jquery,native/raven.min.js"></script> and that includes the plugin.
Also, I have 0 affiliation with this repository and the angular-raven module, so I can't speak to this.

@mattrobenolt Thanks, Matt.  The code in the plugin is different from what is provided by angular-raven so I was confused by the connection, but you're saying they aren't connected outside of just copying the code here into a plugin.

Yeah, these projects are not linked or affiliated in any way at this point.


[PP-1491] Introduce retries to prevent ObjectDeletedError

Description
This update attempts to solve the problem of occasional monitor failures due to stale data.  I believe the problem arises when two different scripts are updating rows at the same time.   Because the SweepMonitor processes updates in batches of 50-100 books,  a change can be made by one of the circulation monitors to a database resource that is in a member of a batch that has been retrieved from the database but not yet modified.  This can results in both a StaleDataError (not observed but possible) or an ObjectDeletedError (observed).
The following monitors that were showing the behavior:  OverdriveFormatSweep, AxisCollectionReaper, and the Axis360CirculationMonitor.
This update adds retry functionality to the SweepMonitor (and all of its subclasses not overriding process_batch).
The retrier will try a maximum of 10 times, each time exponentially backing off until the sleep time hits 60s.
Similarly I added retry functionality to the Axis360CirculationMonitor with the same retry parameters to the process_book and removed the batched commit calls since batch the commits complicate the retry logic.
Motivation and Context
https://ebce-lyrasis.atlassian.net/browse/PP-1491

How Has This Been Tested?

Checklist

[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

@jonathangreen :  I'm going to rework the PR not to use tenacity as you suggested.  I liked tenacity because it seemed like it would be cleaner but it is more complicated.

@jonathangreen :  I decided to stick with tenacity (esp because it offers nice methods for doing exponential backoff and I think it makes the code easier to read).  I was able to get around the issue I was running into by using a nested transaction.  I believe this solution will perform more or less equally well with what came before.  The only dramatic increase in commits will come with the Axis360CirculationMonitor since commits where being batched 50 at a time.  I don't think this will result in significant performance degradation because almost all of the latency with Axis appears to be due to http communications with the service (about 2-3 per book).   The SweeperMonitor commits are still being batched in groups of 100 and the OverdriveCirculationMonitor still does one commit per book.


Multiple User Data Sources

Hello. I am from the AZWSC and I am reviewing data for the COWSC. Can I retrieve CO data by adding the "nwisco" TNS Service name and Data Source Name under the Oracle ODBC Driver Configuration? Can I have multiple NWIS servers under the ODBC Data Sources? I've added the nwisco TNS Service name to the odbc data source, but I still can't retrieve any data on WQReview 2.0.
Thank you for your help on this!

You can add multiple NWIS servers under the User DSNs in the ODBC administrator (ex. one for nwisaz and one for nwisco) but you may not be able to access them unless your username is added to the read/write access list for each individual NWIS database. I just talked to one of the LDMs for nwisco and they're working on adding you. After you're given access add nwisco and test the connection in the OBDC administrator before starting WQReview.


notworking in the latest version

i was trying to implement the latest version v1.0.53 from the doc.  in this version  the notification isn't working. there is no incoming message.from API. and i got this error in the IDE log
/Pushy: Connect exception:  (0) - java.net.UnknownHostException: mqtt-1570433816.pushy.io
in version 1.0.37 is working fine (same as the sample  version)

Hi @ziahaqi,
Thanks for reaching out, I'd be glad to assist.
It seems our new DNS servers in version 1.0.53 of the SDK are not returning a valid response for your request for some reason.

Can you open this link in your computer connected to the same network?
mqtt-1570433816.pushy.io

Does it work?

Can you please provide the output of running this command in your computer?

dig +trace mqtt-1570433816.pushy.io

Finally, you can still reference SDK 1.0.52 as it uses the old DNS servers if you do not have time to help us track down the issue.

Thanks again!

the response {"healthy":true}
the log

;; global options: +cmd
.                       518400  IN      NS      b.root-servers.net.
.                       518400  IN      NS      a.root-servers.net.
.                       518400  IN      NS      g.root-servers.net.
.                       518400  IN      NS      c.root-servers.net.
.                       518400  IN      NS      m.root-servers.net.
.                       518400  IN      NS      l.root-servers.net.
.                       518400  IN      NS      j.root-servers.net.
.                       518400  IN      NS      d.root-servers.net.
.                       518400  IN      NS      e.root-servers.net.
.                       518400  IN      NS      k.root-servers.net.
.                       518400  IN      NS      h.root-servers.net.
.                       518400  IN      NS      f.root-servers.net.
.                       518400  IN      NS      i.root-servers.net.
;; Received 239 bytes from <IP_ADDRESS>#53(<IP_ADDRESS>) in 52 ms

io.                     172800  IN      NS      a0.nic.io.
io.                     172800  IN      NS      a2.nic.io.
io.                     172800  IN      NS      b0.nic.io.
io.                     172800  IN      NS      c0.nic.io.
io.                     86400   IN      DS      57355 8 1 434E91E206134F5B3B0AC603B26F5E029346ABC9
io.                     86400   IN      DS      57355 8 2 95A57C3BAB7849DBCDDF7C72ADA71A88146B141110318CA5BE672057 E865C3E2
io.                     86400   IN      RRSIG   DS 8 1 86400<PHONE_NUMBER>0000<PHONE_NUMBER>0000 22545 . dIwoOIgWXOIcapUHVy0LZtt84JY73jnjCJxoJ/1BYMmbUSA9w7TM1C2o ziPzGjd+mweaLmCxkeuo8L9SC10i3CSOfhZejRaIioF/7c9K8RUn3P1M MuNSb+wGl1MGvGhFpnKiChmZgwjklpi+5ZHsQGLpvBnG3+HIhdNHFLoC tI88lr1vV9MCdHY216yurashscw2HrJiVi2cGqWI5D7HcCjkczLreyA9 iFu4i6z87bARnaX+vxAR56rehipFfgUeDFx17CeYrws/34e1xPoe/NDa CE/lCeyxtRjStCF+WR4HMjyz9puV3iVuYsNO4Cs7HMDmwCTXZTOJ5qVA QtxNUQ==
;; Received 672 bytes from <IP_ADDRESS>#53(j.root-servers.net) in 50 ms

pushy.io.               86400   IN      NS      ns1.pushy.me.
pushy.io.               86400   IN      NS      ns4.pushy.me.
pushy.io.               86400   IN      NS      ns2.pushy.me.
pushy.io.               86400   IN      NS      ns3.pushy.me.
2iui5t1khct6c5o8i2i67rppatgvegqo.io. 900 IN NSEC3 1 1 1 D399EAAB 2IV073DVU92DLMV2H5L9G1PEODM9RDE6  NS SOA RRSIG DNSKEY NSEC3PARAM
2iui5t1khct6c5o8i2i67rppatgvegqo.io. 900 IN RRSIG NSEC3 8 2<PHONE_NUMBER>9073244<PHONE_NUMBER>3244 23793 io. ZgAnabhst4YiXSBFPRhK27EWCZjYm1tGgrEawgYl6XD5HOqkNO2WFHkT nrLfXfpbJf8WIBiYrGEk6cLa5RERjmXXlEaqpXZ7TyjHToJkMq+/e6+Y lfd0MvF/sjdJnY+ALWeiSix+KJvFAwFGYtGY5C6NUV9TY0wIMaHKxC4M /RU=
pkdi04bbjckhulm9v1gcpqtld3014h52.io. 900 IN NSEC3 1 1 1 D399EAAB PKER46VS598AV72TMAV76MD594135GK9  NS DS RRSIG
pkdi04bbjckhulm9v1gcpqtld3014h52.io. 900 IN RRSIG NSEC3 8 2<PHONE_NUMBER>2151711<PHONE_NUMBER>1711 23793 io. t7HCbp5Z1GENaIMj0g99AjPzuGb8HHX9y+Z2dmMaNLb1fLXi2GN7/bm8 0y6lbLcptwu7Cz0/rt/FNzCTNN9BM1GDKB6/2YzW9aP/b6fZxmuG4HkT XqI2C38keY46ob7884UtrSVRJu1TedY5mqiziMhjWSujr2vKrAIr4hhH xPc=
;; Received 624 bytes from <IP_ADDRESS>#53(b0.nic.io) in 332 ms

mqtt-1570433816.pushy.io. 3     IN      A       <IP_ADDRESS>
pushy.io.               172800  IN      NS      ns1.pushy.me.
pushy.io.               172800  IN      NS      ns2.pushy.me.
pushy.io.               172800  IN      NS      ns3.pushy.me.
pushy.io.               172800  IN      NS      ns4.pushy.me.
;; Received 138 bytes from <IP_ADDRESS>#53(ns1.pushy.me) in 304 ms

@pushy-me btw is it ok if i get the registered token to Pushy.getDeviceCredentials(CONTEXT).token since pushy sdk already store the token to pref ?
because of the docs and the sample app don't have this information

Hi @ziahaqi,
Seems like your computer is able to resolve our DNS endpoint. Maybe it was a temporary network connectivity issue on your device? Is your device able to connect now or did you switch to the 1.0.52 SDK?
As per your question, the function Pushy.register() returns the most up-to-date device token, you can call this method and save the result as the device's current token.
You can still use the method Pushy.getDeviceCredentials(CONTEXT).token but the recommended approach is using Pushy.register() which also validates the currently-assigned token.

i was rolling back the version to 1.0.52, since the v1.0.53 doesnt working.

Maybe it was a temporary network connectivity issue on your device? Is your device able to connect now or did you switch to the 1.0.52 SDK?
i don't think so, it still not working in my computer

HI @ziahaqi,
Thanks for the additional information.
That's fine. You can keep using 1.0.52 without any issue.


Support for Glossary

Glossariers are a really cool feature, and I think this tool needs to support them. They're easy enough to use, just a plist that's a literal dictionary, but they have this "First Use" thing that gets tricky. Here's an amended example from one of Apple's books:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Terms</key>
	<dict>
		<key>while loop</key>
		<dict>
			<key>Definition</key>
			<string>A block of code that runs for as long as a given condition is true. When the condition changes to false, the loop stops running.
</string>
			<key>FirstUse</key>
			<dict>
				<key>PageReference</key>
				<string>While%20Loops/Introduction</string>
				<key>Title</key>
				<string>While Loops</string>
			</dict>
		</dict>
	</dict>
</dict>
</plist>

I haven't figured out what the PageReference or Title are for yet. Help would be appreciated.

Looks like "FirstUse" is used in the overview of the glossary:

Looks a bit funny without a FirstUse, but it might be acceptable. For anyone looking to use glossaries, putting a Glossary.plist file in your Resources directory is sufficient :+1:

Plists aren't exactly the friendliest format to work with, did we want to support glossaries written in, for example, YAML?

Great idea! It wouldn't be too hard to scan through the markdown and look for glossary:// links, to generate the FirstUse programmatically (once we figure out what the PageReference is, I think Title is used in the "Introduced In" column).

Just eyeballing it, the page reference seems to be in the format of <chapter title>/<page title> where both are URL escaped. Does that mean that both chapter and page names have to be unique across the book?

Looks that way, I've verified that works with Apple's books. I think that the chapter title / page title combo needs to be unique, which isn't too bad of a restriction.

So do we think another glossary.plist is a good idea, or should we just include a glossary dictionary in the main book.yml file?

It seems to make sense to me that it should be part of the core book.yml file


Automated Package Upgrade

:tada: This PR is included in version 2.2.317 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(Custom Resolver):Added sdk for custom resolver

PR summary

Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[X] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

LGTM

:tada: This PR is included in version 0.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add service count to "idl list"

for example:
$ idl list

Listing 20 services

- ...
- ...
- ...

Would much rather have a -json flag that can be used with jq for programmability. idl list is for humans first.

nice
On Thu, Oct 22, 2015 at 1:38 PM, malandrew<EMAIL_ADDRESS>wrote:

Closed #14 https://github.com/uber/idl/issues/14.
—
Reply to this email directly or view it on GitHub
https://github.com/uber/idl/issues/14#event-443108028.

--
Junchao Wu
Software Engineer @ Uber


Best Practices to overcome issue running falco upon upgrade to latest AWS-AMI

Based off of other similar issues from the past - like these:
https://github.com/falcosecurity/falco/issues/1643
https://github.com/falcosecurity/falco/issues/1531
https://github.com/falcosecurity/falco/issues/1644
It seems that every time AWS releases a new AMI that has changes to Kernel, it takes some time until a new kernel module/driver is available for falco - making it unusable in the new AMI.
According to documentation - this process (of new module creation for falco) takes anywhere between 1-2 weeks.
Please specify in documentation - what would be considered best practice approach to running falco in an environment that always installs the latest AMI's from AWS?
We prefer not to hard-code the AMI version for AWS.
A best practice org-wide use case is much welcome.
Thanks!

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Hello,
I wanted to thank the team for this great product !
The only issue we experience is exactly what @jonathang-simplex is describing. This is a real problem for many of our clients who have Falco downtime for several weeks each time.
How could we help you with this issue ?

Hello @jonathang-simplex @ThibaultLengagne,
We know this issue and be sure this is one of our top topics for this year. We've several ideas and we'll do our best for improving the UX.
Until that, if you notice a missing driver, you can also help the community by submitting a PR for adding your system in the list of pre-built drivers: https://github.com/falcosecurity/test-infra/tree/master/driverkit
We try to review/merge these PR as fast as possible.
Thanks.

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Let the user determine the order of the table columns.

As a user I want to be able to set the order of the departure time, destination and line columns.

Implemented with pr #31


Instantly close stale issues

Thanks for the great bot!
How to instantly close a stale issue right after commenting/labelling?

Thanks for the explanation. However, 0 is equivalent to "false" in YAML, maybe this is why it doesn't seem to work.
Mind reopening the issue?

@bkeepers 🛎 friendly ping, as this is something I'd love to get to the bottom of!

I'm just popping in to give this a +1. I first saw this issue and changed my stale settings on my test org and totally forgot about this issue. But all my issues have been marked as stale, and none have been closed. I think the best solution @kaelig is to set daysUntilClose: 1. It still won't be automatic, but it will be sooner.
I do think this might be a worthwhile feature though @bkeepers.

Hi. I am currently looking for a bot that can instantly close PRs and Issues (as in "as soon as they are opened). This issue seems somewhat related, so I'm asking here: Would it be possible to use the stale bot to close PRs instantly? (I'm more interested in PRs as github has a way to disable issues, but not PRs).

I wonder if tagging the value as an integer would work (untested):
daysUntilClose: !!int 0

Wouldn't something like -1 work better though?

I confirmed that using daysUntilClose: -1 worked fairly well for me in a test — it closed the issue an hour after marking it stale. An option to close it at the same time as being marked stale would still be useful, though.


Crash on Windows when build.watch is enabled

The dev vite server with the default configs from your template causes a crash on Windows 10 randomly or reliably whenever a new folder on the root drive C:\ is created.
It's similar to this closed vite issue or this one, although the culprit isn't the settings passed to chokidar in your scripts/prepare.ts script, but rather these rollup watcher options
build: {
    watch: isDev
      ? {}
      : undefined,

from vite.config.content.ts
If I comment them out, then vite dev doesn't crash when I create a folder on my C:\ drive. Not sure why the {} (which is also the default in rollup) leads to the watcher watching over the whole drive and thus causing the crash and whether this is a template config issue or an upstream bug (with vite or rollup?) or something

This has been fixed in in Vite 5 per https://github.com/vitejs/vite/issues/13234#issuecomment-1797847644
Unfortunately Vite does not provide instructions on how to upgrade versions so I just used npm-check-updates:
npx npm-check-updates -i --format group

I YOLO'd and upgraded all the packages. Here is what my package.json diff looks like:


Function signature not handled properly when modified by proc-macro

I use the fehler crate in a number of projects, and indeed work on a number of other projects which have similar proc-macros which adjust function signatures.
Here is a simple example of a fehler::throws use where the type inlay for the return is clearly broken:

As you can see, the inlay hint is working on the assumption that the return type of the function openit() is File whereas in reality it'll be Result<File, io::Error> and as a result the inlay is showing <File as Try>::Ok as the result of the ? operator, rather than File as it should be.
I can confirm I have loadOutDirsFromCheck and procMacro.enable turned on, and I have tested this with ff0c976979ad236e725a808fd2dba5e41ff4eace which is HEAD at time of writing this report.
 Reproduction notes
Cargo.toml snippet:
[dependencies]
fehler = "1"

main.rs:
use fehler::throws;
use std::fs::File;

#[throws(std::io::Error)]
fn openit() -> File {
    std::fs::File::open("/oughttofail")?
}

#[throws(Box<dyn std::error::Error>)]
fn main() {
    let _foobar = openit()?;
}

If things were correct, the type hint inlay for _foobar would be File rather than <File as Try>::Ok.
For reference, it doesn't look like the generated code is particularly unpleasant to deal with either.  From cargo expand the openit() function is rewritten as:
fn openit() -> ::core::result::Result<File, std::io::Error> {
    <_ as ::fehler::__internal::_Succeed>::from_ok(std::fs::File::open("/oughttofail")?)
}

Attribute proc macros are not supported yet, so we use the return type as written down. Then we don't fail to detect that File doesn't actually implement Try and show it as a projection.

Attribute proc macros are not supported yet, so we use the return type as written down. Then we don't fail to detect that File doesn't actually implement Try and show it as a projection.

@lnicola Thanks for that info.  Is there an issue I can track for progress on attribute proc-macros?

@lnicola Thanks for that info.  Is there an issue I can track for progress on attribute proc-macros?

Yes, but I don't have it at hand. It should show up in search.

Yes, but I don't have it at hand. It should show up in search.

E.g. https://github.com/rust-analyzer/rust-analyzer/issues/6029

E.g. https://github.com/rust-analyzer/rust-analyzer/issues/6029

Let's close this as a duplicate of #6029.

Let's close this as a duplicate of #6029.


Examine the possibility to replace Stream with BaseStream<X, ?> in method parameters

It's possible to change some StreamEx method signatures to avoid explicit boxing call for parameter:
append(Stream<? extends T>) -> append(BaseStream<? extends T, ?>)
prepend(Stream<? extends T>) -> prepend(BaseStream<? extends T, ?>)

zipWith(Stream<V>[, BiFunction]) -> zipWith(BaseStream<V, ?>[, BiFunction])

headTail(BiFunction<? super T, ? super StreamEx<T>, ? extends Stream<R>>) ->
    headTail(BiFunction<? super T, ? super StreamEx<T>, ? extends BaseStream<R, ?>>)
headTail(BiFunction<? super T, ? super StreamEx<T>, ? extends Stream<R>> mapper,
        Supplier<? extends Stream<R>> supplier) ->
    headTail(BiFunction<? super T, ? super StreamEx<T>, ? extends BaseStream<R, ?>> mapper,
            Supplier<? extends BaseStream<R, ?>> supplier)

Also MoreCollectors method:
flatMapping(Function<? super T, ? extends Stream<? extends U>> mapper
        [, Collector<? super U, A, R> downstream]) ->
    flatMapping(Function<? super T, ? extends BaseStream<? extends U, ?>> mapper
            [, Collector<? super U, A, R> downstream])

This change will allow to skip .boxed() call in some cases. E.g.:
StreamEx.of("a", "b", "c").zipWith(IntStreamEx.ints())...

This change breaks binary compatibility (recompilation will be necessary), so cannot be introduced in patch release.

This change breaks binary compatibility (recompilation will be necessary), so cannot be introduced in minor release.

Hmm, interesting... Personally, I think that breaking binary compatibility between minor releases is OK. After all, I don't see why anyone would just patch a library, incrementing minor releases in a productive build without re-running all build/integration testing, etc.
In this case, though: Why not just overload the methods? Chances are, you're going to eventually overload them with variants that accept Iterator<? super T> and/or Iterable<? super T>, and even T...

As for append and prepend: they are already overloaded with T... and Collection<T>. The headTail and flatMapping methods could not be overloaded due to the same erasure (actually for these methods binary compatibility is not violated). Overloading with Iterable<T> is bad: this may break source compatibility as StreamEx extends Iterable, so ambiguity will be introduced. Having overloads like append(Stream) and append(BaseStream) looks redundant and causes the bloat. Here I would better sacrifice the binary compatibility than to add an overload.
I still think that the last version digit (patch) updates should guarantee binary/source compatibility to some extent. Though according to semantic versioning I can do whatever I want before version 1.0.0. Here I just mean that this change should be introduced in 0.6.0, not in 0.5.6 (there will be no 0.5.6 actually).

Overloading with Iterable is bad: this may break source compatibility as StreamEx extends Iterable, so ambiguity will be introduced.

Yes, I've noticed the same thing in jOOλ. Solution: Overload it 3 times: x(Stream), x(Seq), x(Iterable). This way, there will always be a most-specific type for the compiler to pick.

I still think that the last version digit (patch) updates should guarantee binary/source compatibility to some extent

I completely agree. Although, you said "minor" before editing. Patch releases should remain binary compatible at all costs.

This still makes problems for those folks who tries to live in both worlds (I don't know for sure, but probably they exist!): Seq.of(1,2,3).append(StreamEx.of(4,5,6)) fails to compile but StreamEx.of(4,5,6).append(Seq.of(1,2,3)) works currently.

Although, you said "minor" before editing

My bad.

This still makes problems for those folks who tries to live in both worlds

Well ;-) Just kidding. I haven't thought of this, and you're right. I suspect the source of this confusion is the fact that Stream is not Iterable. I wish it were, but apparently there is some forward compatibility issue with Valhalla.


stepSize = 1; tapping on left half of a star doesn't register that star as rating

Ideally regardless of the localtion, the full star should be registered for step size 1.
Solution Suggestion:
In setNewRatingFromTouch(…)
private void setNewRatingFromTouch(float x, float y) {
  …

  if (stepSize != Float.MAX_VALUE) {
    float mod = rating % stepSize;

    // --> Old code
    if (mod < stepSize/2) {
      rating = rating - mod;
      rating = Math.max(0, rating);
    } else {
      rating =  rating - mod + stepSize;
      rating = Math.min(numberOfStars, rating);
    }
    // <-- Old code

    // --> New
    rating = rating - mod +stepSize;
    rating = Math.min(numberOfStars, rating);
    // <-- New

  }

  …
}

@iontech I like your suggestion, and I just tried it out.
The problem is that once you touch the first star, it's very hard to undo this rating.
The current solution is not great, but it ensures that the user can always choose the rating he/she wants.
What do you think of using if (mod < stepSize/4) ? it seems to improve the overall feeling of the rating.

The platform provided RatingBar in android doesn't let the user set a zero rating by tapping on the first star. The user has to tap and drag their finger off to the left edge of the rating bar to make it zero stars. So, my best argument is that the platform expects users of the widget to discover this ability and use it as the only means to set zero rating.

@iontech The gesture you mentioned is something I would like to avoid. Although it might be true that it's the standard imposed by the stock RatingBar, we have to also take into account that this widget is implemented by subclassing ProgressBar, where that gesture makes more sense.
I'll use mod < stepSize/4 in next release of this library in hope that it will improve the usability, and leave this issue open in case we decide to change it later.

I like mod < stepSize/4's behavior better. Preferable.


Fix typo in assigning publish category to prodcon packages

Fix typo which causes all packages in ProdCon manifest to be labeled "NonShipping=true".
cc @Eilon  - preview1

:shipit:

Verified this locally
aspnet.xml.txt


Adding a service file for the new plugin framework used in simona.

Resolves #11
Adding a service file for the new plugin framework used in simona.

https://github.com/ie3-institute/simona/issues/195

DON'T MERGE YET UNTIL https://github.com/ie3-institute/simona/pull/200 IS MERGED


Special Characters will not format correctly

When viewing German text our special characters called "Umlaute" will be presented as �.
Rendered view:

Original text:

Characters: ä, ö, ü, ß

Why was this closed?
If this is an existing issue, I would like to keep track of it and fix it.
If you have already fixed it, we would greatly appreciate a pull request.

Was probably closed by mistake. Found this issue while beeing at work today and I might falsely hit the wrong button. Sorry about that. Glad you reopened it again


If no sources but binaries are available, consider scanning at least e.g. header files

I gave this some thought again, too. While I still do believe it makes sense to scan header files included in binary artifacts, we will basically have the same problem e.g. in binary Conan packages. So the more generic solution would probably be to continue to only add binary artifacts as binary artifacts in ORT, and not additionally as source artifacts, but add to ORT the (optional) feature to also scan (some files from) binary artifacts. This would at least make sense in the case where only a binary artifact is available, so we do scan at least the header files.
To summarize, I'd now vote to only add the binary artifact here, and implement the feature to scan header files from binary packages at another place in the scanner / downloader, so the logic applies to all package managers.
Originally posted by @sschuberth in https://github.com/oss-review-toolkit/ort/pull/3099#r493255505

Closing as not planned.


Popover: Prevent the Popover from going outside the browser window in some situations

Description
popover-content is positioned based on the parent element of the MudPopover component, and when this parent element is outside the browser window, the popup also goes outside the window and is partially visible or not visible at all, this seems to be a common occurrence in MudDataGrid's simple filter popover when the grid has a scroll.
This behavior can be viewed here: https://try.mudblazor.com/snippet/cOGeEScJpoYZVWLx
This commit attempts to fix the issue by preventing the popover from going outside the window.
It potentially fixes these issues: Fixes #8180, fixes #8173, fixes #7032, fixes #7707
This video shows how it currently is: https://github.com/MudBlazor/MudBlazor/assets/5804803/803e4884-a5b0-4452-ae4c-afe2552c3ed8
This one shows how it will behave after the change: https://github.com/MudBlazor/MudBlazor/assets/5804803/5f30914b-9bd0-4680-a603-246639298a47
How Has This Been Tested?
This change has been tested visually, I made a component out of the TryMudBlazor snippet and tested manually.
Type of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Strangely the notification popover still seems to get clipped: https://github.com/MudBlazor/MudBlazor/issues/7032#issuecomment-2055959684
Shrink the window until it changes layout, click the hamburger menu, then click the notifications icon to see

Strangely the notification popover still seems to get clipped (#7032 (comment))

Shrink the window until it changes layout, click the hamburger menu, then click the notifications icon to see

Do you mean that the popover still goes outside the window after my changes? because I can't reproduce that.

But my notification area looks wrong, maybe that is the reason

That seems to be working now, not sure if i was on the wrong branch before (🤦 )

Seems to be a miscalculation with the scrolling now:
https://github.com/MudBlazor/MudBlazor/assets/7112040/dbe6341c-a205-4f07-98b7-5f82da533c2a

What do you think about this by the way https://github.com/MudBlazor/MudBlazor/issues/1167#issuecomment-2075508364? I want to get the tooltip layout fixed but something needs to be adjusted in the javascript (try settings display: contents on a tooltip then hover over it).

Hi

Seems to be a miscalculation with the scrolling now:

@Saman-00 can you fix that? Then we can merge if there no other issues.

That can be fixed, I just need to not add scrolling offset when position: fixed.
But now I think my approach to the problem might have been wrong from the beginning.
What this PR tries to achieve is force every popover to be within the viewport, but I don't think that is the intended behavior for popover, if you view the Popover example in the doc with these changes, you will notice that everything looks wrong.

All of the popovers jump into view when window resizes.
The only time I can think of where this change would make sense is either when position is fixed, or when LockScroll="true", because in both situations, it doesn't make sense to render the element outside the window, so we force them to stay within the window.
But in case of LockScroll, we can't use it for that either because it is an attribute of Overlay and not Popover, and we can't check the document body's class because the same thing will happen as the image above whenever an Overlay with LockScroll parameter is displayed.
Should I just close this PR or add it only when position: fixed?
What do you think, do you think there is a better solution?

@Saman-00 Would it make sense if

The popover always initially spawns in the viewport
If you resize the window, it resizes proportionally by dimensions; If it was out of view it stays out, but if it was in view it stays in.
If you scroll the viewport, it will stay where it is on the page, not the viewport, so you can scroll it out of view

Me and @Garderoben talked about scroll locking before and the current behavior where you can freely scroll was preferred. MUI does lock it on the other hand.

Maybe we should not even try to fix it, if it's too much work.
There is plan to replace the popover with https://floating-ui.com/
Because nobody wants to maintain our popover js code and I had this arguments to use it:

It's used by most websites in the world, so it's always maintained.
The JavaScript code is not that large.
Our popover is buggy, and nobody wants to touch the JS part.
There's no need for the PopoverProvider.
We need to stop reinventing the wheel, especially for something as complicated as a popover. Popovers cannot be created solely in C# and mostly rely on JS, which makes it challenging for us to ensure quality.

Well butter my biscuit, let me break this down about them popovers objectively!
Here's the question: If we ain't specifically told a popover to flip when it hits the edge, should we be frettin' about it wandering off the screen at all?
Right now, the logic's acting like a cautious cowhand - it won't let popovers get cut off on the top or left unless they're fixing to get completely cut off. But we've been letting them run wild on the right and bottom since:

With overflow behavior on, they'll naturally flip like a cattle dog
If they're already flipped, there ain't no use trying again since there's no more real estate to work with

Sounds to me like if we ain't specifically told that popover to mind its manners (with overflow behavior), we ought to let it do whatever it pleases - even if that means hanging off the edge of the screen like a wayward tumbleweed.
Would you reckon that's what you were getting at?
Also in regards to 7013 and 7707 they are flipping based on the current logic but still being cut off, perhaps I should run the logic twice to cover both sides if it's out of bounds?


IResultCursor.Current.Values changed output format

Describe the bug
Not sure this is a bug, but might be more an undocumented change.
The output of IResultCursor.Current.Values changed format when serialized to a string
with .NET Driver Version 5.17.0 and prior (not sure of 5.18.1, didn't test it) format was: {'someKey':'someValue'}
with .NET Driver Version 5.20.0 format is:
{'Key':'someKey', 'Value', 'someValue'}
To Reproduce
var resultCursor = await tx.RunAsync(query, params);
while (await resultCursor.FetchAsync())
{
  sb.AppendLine(jsonSerializer.Serialize(resultCursor.Current.Values));
}

Expected behavior
I'd expect to see the change documented or mentioned.
Version Info (please complete the following information):

.NET Version: .NET Framework 4.8.1
.NET Driver Version: 5.20.0
Neo4j Server Version & Edition: Enterprise 5.19.0

Additional context
The Summary.Counters ICounter object still behaves the same way it used to. It also uses the same serialization method.

Hi there. Thanks very much for finding this! I'm investigating right now. I wonder if you could tell me how the jsonSerializer variable in your sample code is created, so that I can reproduce your situation exactly? Thanks!

Hey @RichardIrons-neo4j ,
var jsonSerializer = new JavaScriptSerializer();

Oddly, that class is coming from using System.Web.Script.Serialization;
It's an old code base (hence Framework), so not entirely sure why it's using that serializer.
I was able to test using System.Text.Json and that worked correctly as it's supposed to.
Chalk this up to an old System.Web Serializer and how it handles Dictionaries, I guess.


OmniSharp does not respond

OmniSharp v1.32.3
mono '/home/me/.omnisharp/omnisharp-roslyn/OmniSharp.exe' -p 2000 -s '/home/me/Downloads/fesdf/fesdf.sln'
info: OmniSharp.Http.Startup[0]
      Starting OmniSharp on ubuntu 18.4 (x64)
info: OmniSharp.Cake.CakeProjectSystem[0]
      Detecting Cake files in '/home/me/Downloads/fesdf'.
info: OmniSharp.Cake.CakeProjectSystem[0]
      Could not find any Cake files
info: OmniSharp.Http.Startup[0]
      Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
info: OmniSharp.MSBuild.ProjectSystem[0]
      Detecting projects in '/home/me/Downloads/fesdf/fesdf.sln'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Detecting CSX files in '/home/me/Downloads/fesdf'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Could not find any CSX files
info: OmniSharp.Http.Startup[0]
      Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
info: OmniSharp.Http.Startup[0]
      Configuration finished.
info: OmniSharp.Http.Startup[0]
      Omnisharp server running on port '2000' at location '/home/me/Downloads/fesdf' on host -1.

I tried v1.32.1 But it throws the exceptions:
System.AggregateException: One or more errors occurred. ---> System.EntryPointNotFoundException: uv_loop_size
  at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods.uv_loop_size()
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.loop_size () [0x00000] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv uv) [0x0000c] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.ThreadStart (System.Object parameter) [0x00029] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <2943701620b54f86b436d3ffad010412>:0
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <2943701620b54f86b436d3ffad010412>:0
  at System.Threading.Tasks.Task.Wait () [0x00000] in <2943701620b54f86b436d3ffad010412>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.Start (System.Int32 count) [0x00037] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext] (Microsoft.AspNetCore.Hosting.Server.IHttpApplication`1[TContext] application) [0x0044b] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Hosting.Internal.WebHost.Start () [0x00053] in <24af31b64ae843689736582353a19b3a>:0
  at OmniSharp.Http.Host.Start () [0x000ab] in <8959a21458834a128afcd6caf0ea47d5>:0
  at OmniSharp.Http.Driver.Program+<>c__DisplayClass0_1.<Main>b__1 () [0x0004f] in <689cc1cd84ed4fa1ba7232b3270b50a7>:0
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <3239e8b00e0a4ebd9dc65c215d41bd64>:0
  at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x0035b] in <e56ebbc3ed87488b8e26736bbadaa5d3>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <3239e8b00e0a4ebd9dc65c215d41bd64>:0

.vimrc
call plug#begin()

	Plug 'OmniSharp/omnisharp-vim'
	Plug 'vim-syntastic/syntastic'
	Plug 'tpope/vim-dispatch'

call plug#end()

filetype plugin on

let g:OmniSharp_server_use_mono = 1
let g:OmniSharp_timeout = 5

let g:syntastic_cs_checkers = ['code_checker']

set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

SyntasticInfo
Syntastic version: 3.9.0-15 (Vim 800, Linux)
Info for filetype: cs
Global mode: active
Filetype cs is active
The current file will be checked automatically
Available checkers: code_checker mcs
Currently enabled checker: code_checker

When I call SyntasticCheck
https://i.imgur.com/6lIapa4.jpg
What can be wrong?

I can't also get response from any commands like "OmniSharpDocumentation" or "OmniSharpRename"
It print out :
CONNECTION: Remote end closed connection without response

Try removing the g:OmniSharp_server_use_mono line from your .vimrc, then :OmniSharpInstall v1.32.1, since as you've obviously read, the later Roslyn servers are not accepting Http requests correctly.
Make sure you remove the mono line and restart vim before installing the server.
Then try a simple command like :OmniSharpGotoDefinition or :OmniSharpFindUsages, which are good test commands.
If they don't work, please post the full output of running the server from the command line:
/home/me/.omnisharp/omnisharp-roslyn/run -s /home/me/Downloads/fesdf/fesdf.sln

I did everything you said, but it didn't help me; (
When I try to run any command:
CONNECTION: <urlopen error [Errno 111] Connection refused>
response of /home/me/.omnisharp/omnisharp-roslyn/run -s /home/me/Downloads/fesdf/fesdf.sln
info: OmniSharp.Http.Startup[0]
      Starting OmniSharp on ubuntu 18.4 (x64)
info: OmniSharp.Cake.CakeProjectSystem[0]
      Detecting Cake files in '/home/me/Downloads/fesdf'.
info: OmniSharp.Cake.CakeProjectSystem[0]
      Could not find any Cake files
info: OmniSharp.Http.Startup[0]
      Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
info: OmniSharp.MSBuild.ProjectSystem[0]
      Detecting projects in '/home/me/Downloads/fesdf/fesdf.sln'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Detecting CSX files in '/home/me/Downloads/fesdf'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Could not find any CSX files
info: OmniSharp.Http.Startup[0]
      Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
info: OmniSharp.Http.Startup[0]
      Configuration finished.
info: OmniSharp.Http.Startup[0]
      Omnisharp server running on port '2000' at location '/home/me/Downloads/fesdf' on host -1.
System.AggregateException: One or more errors occurred. ---> System.EntryPointNotFoundException: uv_loop_size
  at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods.uv_loop_size()
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.loop_size () [0x00000] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv uv) [0x0000c] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.ThreadStart (System.Object parameter) [0x00029] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <0f9df4881040473f9da7cf6c2e2cb8c3>:0
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <0f9df4881040473f9da7cf6c2e2cb8c3>:0
  at System.Threading.Tasks.Task.Wait () [0x00000] in <0f9df4881040473f9da7cf6c2e2cb8c3>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.Start (System.Int32 count) [0x00037] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext] (Microsoft.AspNetCore.Hosting.Server.IHttpApplication`1[TContext] application) [0x0044b] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Hosting.Internal.WebHost.Start () [0x00053] in <24af31b64ae843689736582353a19b3a>:0
  at OmniSharp.Http.Host.Start () [0x000ab] in <8959a21458834a128afcd6caf0ea47d5>:0
  at OmniSharp.Http.Driver.Program+<>c__DisplayClass0_1.<Main>b__1 () [0x0004f] in <689cc1cd84ed4fa1ba7232b3270b50a7>:0
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <3239e8b00e0a4ebd9dc65c215d41bd64>:0
  at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x0035b] in <e56ebbc3ed87488b8e26736bbadaa5d3>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <3239e8b00e0a4ebd9dc65c215d41bd64>:0
  at OmniSharp.Http.Driver.Program+<>c__DisplayClass0_0.<Main>b__0 () [0x00028] in <689cc1cd84ed4fa1ba7232b3270b50a7>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <3239e8b00e0a4ebd9dc65c215d41bd64>:0
---> (Inner Exception #0) System.EntryPointNotFoundException: uv_loop_size
  at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods.uv_loop_size()
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.loop_size () [0x00000] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle.Init (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv uv) [0x0000c] in <43555eec0dc34d2abb4f01227fa5a2e9>:0
  at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.ThreadStart (System.Object parameter) [0x00029] in <43555eec0dc34d2abb4f01227fa5a2e9>:0 <---

I even tried to remove all files from .omnisharp and install it again with the command in vim but it didn't help me as well.
My .vimrc
call plug#begin()

        Plug 'OmniSharp/omnisharp-vim'
        Plug 'vim-syntastic/syntastic'
        Plug 'tpope/vim-dispatch'

call plug#end()

filetype plugin on

let g:OmniSharp_timeout = 5

let g:syntastic_cs_checkers = ['code_checker']

set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

System is Ubuntu 18

I had libuv-dev installed. Installation libuv1-dev solved the problem.


gpgme: 1.12.0 -> 1.13.0

Upstream release information: https://dev.gnupg.org/T4376
Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Oops, #58388 .  I'm happy closing mine in favor of this but should drop autoreconfHook and such in order to fix version (try gpgme-config --version) which in turn fixes build w/seahorse.

@dtzWill we can also take your PR then (also +1 for dropping git). But we should probably try to avoid this duplication of work in the future :o :D
Feel free to skip all of my packages (I'm normally not missing any updates - at least as long as my notifications work) or to replace me as maintainer (if you'd like to maintain gpgme).
Anyway, thanks for helping to keep everything up-to-date :) Unfortunately we have quite a lot of unmaintained packages :o (in general we should probably try to identify these and focus on them - maybe ping the maintaineres and remove them if they don't respond or are not interested anymore).


FromStream module-level documentation

Now that #271 has been merged we have all of our FromStream implementations! The final touch for this is to add module-level documentation to async_std::stream::FromStream so we can teach people about how FromStream, IntoStream and collect work together.
In practice this means porting the std::iter::FromIterator docs, and replacing it with our Stream code. The only caveat would be that IntoStream is currently not implemented on any types because of the orphan rules. Though I don't believe that should be a blocker for these set of of docs.
I'm marking this as "good first issue" because it should be relatively straight forward to implement, and is a good opportunity to contribute to async-std!
Ref #129.

The issue should close?


chore(master): release 2.7.15

:robot: I have created a release beep boop
2.7.15 (2024-10-02)
Dependencies

deps: update docker/bake-action action to v5.10.0 (5a7cf95)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.7.15
:sunflower:


新包的项目的创建时间全都一样，预期：显示实际创建时间

In GitLab by @cuiaq123 on Jun 28, 2020, 07:01

In GitLab by @cuiaq123 on Jun 28, 2020, 07:03
assigned to @wknet123 and unassigned @liyanq528

In GitLab by @luotian-github on Jun 29, 2020, 07:26
assigned to @luotian-github and unassigned @wknet123

In GitLab by @luotian-github on Jun 29, 2020, 08:11
assigned to @tmon546596046 and unassigned @luotian-github

In GitLab by @luotian-github on Jun 29, 2020, 08:12
Need to add namespace create time in project DB

In GitLab by @tmon546596046 on Jul 9, 2020, 08:00
mentioned in merge request !2555

In GitLab by @wknet123 on Sep 14, 2020, 06:19
closed via commit 5585be3747b584f2f033832ca9cf829869fe114f


Uncatchable crash when parsing strings for types

Version and Platform (required):

Binary Ninja Version: 3.2.3814
OS: Ubuntu
OS Version: 22.04
CPU Architecture  x64

Bug Description:
Crashes when parsing an empty string:
bv.parse_type_string("")

Steps To Reproduce:

Load a binary
In the Python console run this command: bv.parse_type_string("")
You should've crashed.

Expected Behavior:
Binary Ninja windows completely closes. You can't catch it with a Python try-catch

Looks like this is a bug with the parser returning successfully since there was technically no syntax errors, but also not returning a type. This is being fixed so that any parse with no types will return an error for parse_type_string specifically, in dev version 3.2.3919


User Interactive README.md

Is your feature request related to a problem? Please describe.
-Visuals are always a better way to convey any message.
Describe the solution you'd like
-I want to add a few features to the existing README.md

Its already done

Previously, it wasn't so I raise an issue.


test: remove timeout tests that weren't working

Fixes #N/A
Description
Removes the timeout tests that were flaking and causing CI failures. These tests weren't actually testing anything due to how our disruption controller is orchestrated.
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 78.234%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/disruption/expiration.go
2
89.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8267

Relevant Lines:
10567

💛  - Coveralls


Provide distributed tracing pipeline policy and hook

By default, we should make sure that we support opencensus.
Requirements:

pipeline policy that encode the current trace state into outgoing HTTP requests.
All public library methods generate a span if distributed tracing is enabled. No need to add attributes to the span other than the well-known HTTP ones.
No hard dependency on open census (other tracing mechanisms are to be supported.

@johanste please label and put your issue in correct epic :p

cc @suyogsoti

Solved


import_model_data throwing error if merge_file_patterns sent

If merge_file_patterns is not NULL/NA, a for loop runs which looks for each file pattern in my_paths. However, my_paths is never initialized and so an error is thrown.

Implemented fix in next update.


Changed template for mix items & sections

Fixes #8044
Solved the problem in the template _vertical_navbar.html.haml

Solving issue #8044

Thanks to @skateman & @martinpovolny .

@miq-bot add-label bug


Disable disable_os_marketplace hook

It is no longer needed in our CI, so removing it.
As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running
[ ] Appropriate documentation exists and/or is up-to-date:

[ ] README in the role
[ ] Content of the docs/source is reflecting the changes

/lgtm

/approved

/override rdoproject.org/github-check
It's a partial fix to a major issue preventing Zuul to be green. Let's get it in if Prow is happy (lint and other things).

/approve


Change query IDs in CSV results

The query summary of a task stores the query IDs in the format <querysource-hashcode>;<query-id-inside-of-querysource>. which
may working with the file a bit more difficult. The hashcode should be instead written in a separate column.
Example:
queryID     |
------------|
1218510187:0|

should be instead:
queryID     | query-source |
------------|--------------|
          0 |<PHONE_NUMBER>   |

Do you have a example where it is specifically problematic? Because, on the other hand, this makes queryID a unique key for queries even if you have results from different sources in one CSV fil.

Not a specific case, but it just seemed to make more sense to me to split up the query id and the hash of the query-source (also in terms of normalising the table). You could still use both values as the key, as opposed to solely using the queryID row.

query-index
source-hash
query-hash

0
1218510187
8263967382

I would suggest to have these columns then.
queryID should generally be replaced with query-index together with, where necessary source-hash. query-hash is an additional information for easier matching of queries within a source or across sources.


Add zoom functionality to wafermap

Pull Request
🤨 Rationale
The wafer map needs to have a zoom functionality. This is provided by the d3 library.
👩💻 Implementation
Added a d3 zoom event on the canvas that modifies the transform of the zoom-container.
🧪 Testing
Tested the change in the storybook and added test for where we simulate a zooming events.
✅ Checklist

[ x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@arinluca333 friendly reminder to click the "Re-request review" button for Milan and I when this is ready for us to take another look. That's the signal we'll use to know that you've addressed everything you plan to or you need more input from us.

Ignore the above mention. Was experimenting the PR tagging functionalities in GitHub


REST API

All actions done by the GUI interface should be programmatically accessible via a REST API.
This should be pretty simple (if time consuming) based on the current configuration and will make the whole thing easier, clearer, and more maintainable.

Being fixed in #48.

I'm going to close this ticket now because #48 has been merged into master. We don't have full coverage of the GUI now, but I think we should make individual tickets from this point on for making api fixes.

I think the current API covers the core use cases I was concerned with, and I agree it makes the most sense for follow ups to come as their own PRs.


Dev

Coverage decreased (-0.8%) to 75.096% when pulling 998dc3bc298ea744d2ba55432b6f31b323b684b8 on dev into 84839f7a6022dcd1fdc67d182e4452ca459b9b37 on master.


Problem occurs when merging outputs of two shared models

...
qa_model=Model(input=[question_input, answer_input], output=[similarity_value])
good_output = qa_model([question_input, good_answers])
bad_output = qa_model([question_input, bad_answers])
mergedoutput = merge([good_output, bad_output],mode='concat')
training_model = Model(input=[question_input, good_answer_input, bad_answer_input], output=mergedoutput)
training_model.compile(loss=lambda y_true, y_pred: y_pred, optimizer='adam')
pred=training_model.predict([questions,good_answers,bad_answers])

It is OK, when i test qa_model alone
qa_model.compile(loss=lambda y_true, y_pred: y_pred, optimizer='adam')
pred=qa_model.predict([questions,good_answers])

but something wrong with training_model
  File "/Users/Documents/sources/insuranceQA-master/rnn.py", line 186, in build_model
    training_model = Model(input=[question_input, good_answer_input, bad_answer_input], output=mergedoutput)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/keras/engine/topology.py", line 1571, in __init__
    'Keras tensors. Found: ' + str(x))
Exception: Output tensors to a Model must be Keras tensors. Found: Join.0

the full description can be found in This Page

Please provide codes able to reproduce error. good_answers and bad_answers in your codes seems to be argument of function and are unknown for us. And it's a duplicate problem from #2704 ...


Fix the duplicate LastPeriodScreen function.

The LastPeriodScreen has repeated code.
Check and remove the duplicated code and fix the bug.

All the bugs have already been resolved in #101

Hi, I am a GSSoC 20 participant. Can I take this issue.

Yes, go on @dibakar95


Raymarcher that can compute absorption

This PR contains basic raymarcher that is integrated to the PathTracer code, which can render absorption-only participating media.

I also changed DirectLightingIntegrator so that it can be used both for phase function and BSDF. This might be handy while implementing the first version of single scattering. (First distance samplng - then lighting integration just like for BSDF)

Thank you!


Synchronization issue in tasks problem collection

Sometimes old problems hang around even after they're fixed.

To verify you can use one of the extension samples and run the build task. Close all .ts files in VS Code. Open one of the files somewhere else and make two or three change that causes an error in the build task. Fix one error and verify that the problem for it went away. Try adding an error and fixing an error several more times and verify that only the expected problems are in the problems view.


Pinned tabs don't have active border

Testing: https://github.com/microsoft/vscode/issues/98019
It would be great to see the active tab border on active pinned tabs.
Since they have none, the tab icon even jumps up and down by one 1px as it is pinned/unpinned:

@joaomoreno not sure how to reproduce, the setting tab.activeBorder works for me, but maybe you enabled other settings that make this fail.

I was able to repro on a new user data dir and extensions folder:

Start Code afresh
Install Github Sharp, which has a tab.activeBorder color
Pin a tab, the color goes away

Only happens when both tab.activeBorder and editorGroupHeader.tabsBorder are defined. For sticky tabs, editorGroupHeader.tabsBorder wins over tab.activeBorder.
This is very hard to fix due to the use of position: sticky and z-index in tabs. There are a couple of rules:

scrollbar: z-index 3
sticky tabs: z-index 1 (to be above other tabs)
bottom border on (all) tabs: z-index 5
border top/bottom on single tab: z-index 6 to be above the border on tabs

Position sticky seems to have an impact on this and of course z-index also inherit down, so that a lower z-index will not allow a child to have a higher z-index.
The solutions I looked at all brought their own set of issues:

scrollbar not visible over sticky tabs
tabs border not visible over active sticky tab


get rid of global notify

This PR is necessary to move forward with lazy loading / webpack 4 / bundle optimization upgrade because globals break split bundles.
I removed all instances of the notify.xxx() calls and instead used the message toast components + redux tree. this was way more painful that it needed, we should never use globals for anything even if they are "easier."
@mistercrunch @michellethomas @graceguo-supercat
I tested sqllab, explore, dashboard v1, and dashboard v2 apps.
TODO

[ ] convert python flash messages to toasts

@mistercrunch I'm fixing tests, but I don't understand how SQL lab alerts worked previously, they aren't used by any sqllab component, they are only defined in App as a proptype, and they don't seem to feed into the previous AlertsWrapper.
Thoughts?

@mistercrunch @graceguo-supercat this should be good to go.
I made sure flash_messages are displayed, but I'm not sure that it works correctly because of the way we cache sqllab redux state. when I force the backend to add flash messages (they appear in the bootstrap data), the empty messages array from the previous state takes precedence and none are displayed. in any case, this was probably broken before (and still unsure about alerts, from my question above. any thoughts @mistercrunch ?)

ping @graceguo-supercat @mistercrunch, this is blocking webpack 4 integration in #5370 as well.


Add 'past members' section to ensure eternal glory

Added past members to "hall of fame" (see commit).


Add Read You

Add Read You.
Reference:

Icon:

Fixed!

Yea, I'm not sure how I can change this one to still look good and be all lines. Any suggestions?

Yea, I'm not sure how I can change this one to still look good and be all lines. Any suggestions?

Here is my suggestion based on your work:

Please feel free to use if you like it!
read_you.zip

Thanks for your input, @votcher! This is precisely the approach I’d suggest.


Update dependencies for pyproject.

Pylint has been updated from 2.15.4 -> 2.15.6,
cx-Freeze has been updated from 6.13.0 -> 6.13.1,
and flake0 has been updated from 5.0.4 -> 6.0.0.
Tests are suggested to ensure the new tools are functioning as intended.

...why did it only fail on Windows (windows moment)
Anyway, I'll test this in a couple of hours if I get the time. (Also, why didn't @dependabot work lol)

...why did it only fail on Windows (windows moment)
Anyway, I'll test this in a couple of hours if I get the time. (Also, why didn't @dependabot work lol)

Guessing windows-2022 has trouble detecting it properly or something, still surprised on how macOS and Linux managed to install it without issues however.

Run poetry install --no-interaction --no-root --only ci
Creating virtualenv vanilla-installer in D:\a\vanilla-installer\vanilla-installer.venv
Installing dependencies from lock file
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run poetry lock [--no-update] to fix it.
Because vanilla-installer depends on flake8 (^6.0.0) which doesn't match any versions, version solving failed.
Error: Process completed with exit code 1.

why did it only fail on Windows

Run poetry install --no-interaction --no-root --only ci
Creating virtualenv vanilla-installer in D:\a\vanilla-installer\vanilla-installer\.venv
Installing dependencies from lock file
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run poetry lock [--no-update] to fix it.

Because vanilla-installer depends on flake8 (^6.0.0) which doesn't match any versions, version solving failed.
Error: Process completed with exit code 1.

It only fails because of an invalid flake8 version AFAIK.

Yeah, but said flake8 version exists, I'll run a poetry lock and see if that fixes it.


New template orient added

Description
Hello @tarampampam
Thanks for maintaining this cool framework for error pages. I found this project via a link in the depracted project https://github.com/guillaumebriday/traefik-custom-error-pages.
That project used illustrations created for Laravel. Since I wanted to keep using those pages, I migrated the templates from the old Jekyll format to the new Go template format used in this project.
There are four illustrations. I implemented a short random generator that selects one each time the page is refreshed.  Another idea would be to display the illustration that best reflects the user's real time. But for now, I've kept it simple.
Please let me know what you think about the new theme and if it fits in this project.
PS: I used https://yoksel.github.io/url-encoder/ to encode the SVGs for inline use in CSS.
BR, Lars
Added

Tempalte orient

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I wrote unit tests for my code (if tests are required for my changes)
[x] I have made changes in the CHANGELOG.md file

I hope you don't mind some of the corrections I made to your PR :)

And you've done a tremendous job! Thank you!

Hello @tarampampam
Thanks for the code refactoring. Looks much cleaner now. The background selection mechanic is a good compromise.
I'm really happy my change made it into the project. I'm glad you like it.
BR, Lars


x/build/cmd/gopherbot: incorrectly detect the current reviewer assignment status

From the gopherbot log today, I saw the following group of logs appear over and over. If you look at those cls (for example, https://go-review.googlesource.com/c/website/+/405954), they already have reviewers assigned. So, the info in the log messages is not true.
On the other hand, I was trying to figure out why CLs like https://go-review.googlesource.com/c/tools/+/408376 never get reviewers assigned automatically. I couldn't find relevant logs that indicate gopherbot did reviewer assignment for cl/408376.
2022-05-25 12:10:46.227 EDT
gopherbot
2022/05/25 16:10:46 No reviewers or cc: https://go-review.googlesource.com/c/website/+/405954
2022-05-25 12:10:46.313 EDT
gopherbot
2022/05/25 16:10:46 Setting review {Message: Labels:map[] Tag: Comments:map[]<EMAIL_ADDRESS>State:}]} on https://go-review.googlesource.com/c/website/+/405954 would have no effect, continuing
2022-05-25 12:10:46.429 EDT
gopherbot
2022/05/25 16:10:46 No reviewers or cc: https://go-review.googlesource.com/c/mobile/+/212839
2022-05-25 12:10:46.527 EDT
gopherbot
2022/05/25 16:10:46 Setting review {Message: Labels:map[] Tag: Comments:map[]<EMAIL_ADDRESS>State:}]} on https://go-review.googlesource.com/c/mobile/+/212839 would have no effect, continuing
2022-05-25 12:10:46.619 EDT
gopherbot
...

From the gopherbot log today, I saw the following group of logs appear over and over. If you look at those cls (for example, https://go-review.googlesource.com/c/website/+/405954), they already have reviewers assigned. So, the info in the log messages is not true.

The messages are saying "Setting review [...] would have no effect, continuing". That is a mechanism in gopherbot that was added in CL 236438 to avoid making Gerrit API requests that would fail. As far as I can tell, the log message is accurate, please let me know if I misunderstood.
The general problem of gopherbot taking some repetitive actions is tracked in issue #28320. The current mechanism of determining whether there are enough human reviewers relies on heuristics because there's not enough information available, and there hasn't been progress on that for a while.

On the other hand, I was trying to figure out why CLs like https://go-review.googlesource.com/c/tools/+/408376 never get reviewers assigned automatically. I couldn't find relevant logs that indicate gopherbot did reviewer assignment for cl/408376.

That CL is already submitted, and it's generally easier to investigate this type of problem when it is still ongoing. If you observe this happening again this week, can you please ping me directly and I'm happy to look. Thanks.

Thanks for looking into this @dmitshur
Misleading log message I refer to is:
2022/05/25 16:10:46 No reviewers or cc: https://go-review.googlesource.com/c/website/+/405954
It's still unclear to me why gopherbot keeps looking into those cls (https://go-review.googlesource.com/c/website/+/405954) that already have reviewers. From #28320 title, I thought it was about gopherbot's actions not being applied. But in this case, there is no action gopherbot should take except  updating some internal state gopherbot maintains.

That CL is already submitted, and it's generally easier to investigate this type of problem when it is still ongoing. If you observe this happening again this week, can you please ping me directly and I'm happy to look.

For example https://go-review.googlesource.com/c/tools/+/408375 is not getting any reviewer. According to the dev.golang.org/owners I think gopherbot should be able to pick matloob and other go/analysis owners.

Ah, thanks, that log line is indeed misleading. Sent CL 409654 to improve it.

It's still unclear to me why gopherbot keeps looking into those cls (https://go-review.googlesource.com/c/website/+/405954) that already have reviewers.

I understand the heuristics implemented in humanReviewersOnChange think the existing reviewer (myself) is the original author of the PR, so it's waiting for a second human (what it thinks would be the first human reviewer) to be added.

For example https://go-review.googlesource.com/c/tools/+/408375 is not getting any reviewer. According to the dev.golang.org/owners I think gopherbot should be able to pick matloob and other go/analysis owners.

I've done some printf debugging in dry-run mode, and see that humanReviewersOnChange reports a single human reviewer, Gerrit account ID 5190 which is your Gerrit account. It comes from the call to humanReviewersInMetas:
line "Reviewer: Gerrit User 5190 <5190@62eb7196-b449-3ce5-99f1-c037f21e1705>" resulted in a human reviewer being found

That is definitely a false positive. Some more debugging/investigation would need to happen to move this forward.

Used a short program to print the meta commits on that CL. It seems that leaving the Ru-TryBot+1 vote is what confused humanReviewersInMetas into thinking there's already a reviewer:
[...]

meta 1:
Update patch set 1

Patch Set 1: Run-TryBot+1

Patch-set: 1
Reviewer: Gerrit User 5190 <5190@62eb7196-b449-3ce5-99f1-c037f21e1705>
Label: Run-TryBot=+1, f62fac12d7c8a14999c95b9f2ea711b6a15df2c2

[...]

This change may be a surprise to some users. I frequently send changes without reviewers, but not in the WIP or DO NOT REVIEW state, just to run trybots on it. It's coincidentally never triggered assigning reviewers because of this bug.
We may want to either poll or at least notify people who have trybot access.
I'll send my patch regardless.

Thanks for making progress and mailing a CL @toothrot.
I know there's at least one existing mechanism to opt out of gopherbot's automatic reviewer behavior (see here). Perhaps you and others may want to use it, and perhaps there can/should be additional ways to opt out.
I suspect there are two broad categories of contributors—new contributors and recurring contributors—and gopherbot's automatic reviewer task serves them differently. My general understanding is that if we find the automatic reviewing task to be net helpful and worth keeping, it's likely worth making it work better and more predictably, so if there's a poll, my vote would to fix this as a next step.

Fair enough! It's probably less of a big deal then I thought at first. It just clicked for me that my workflow was changing as a part of it while working on it.


[📚] Firebase Storage SSL Certificate Verification Issue

My project requires viewing images stored on Firebase Storage and my HTTP requests started to fail yesterday, with an error:
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate chain(handshake.cc:393))
I have discovered that I am only able to view the images in my app when using a VPN (I am currently living in Singapore).
Also, I receive a "NET::ERR_CERT_AUTHORITY_INVALID" issue when assessing the link directly on my browser. (Attached in the screenshot below). Is there a way to fix this issue or have I not configured Firebase Storage correctly. Thank you in advance for the help!

Hey,
If you're using a custom domain, please check https://stackoverflow.com/a/37765371.
It doesn't seem related to FlutterFire tho, so I'll close this.


Live feed

Related to a problem?
Apparently no automatic live feed functionality
Solution
It would be cool if there was an option to get a periodically updated feed (say once a day) for new searches on the services that are supported, particularly DeviantArt, Twitter and Youtube.
Describe the Alternatives
No response
Anything else?
No response
Is there an existing feature request for this?

[X] I have searched the existing feature requests

Good idea. One of the biggest reasons why is that the APIs themselves don't really provide the live data. Rin was designed to fetch static data mostly. The only APIs that I can think of that may provide it is Spotify, but that requires a premium account in order to stream via the API. May include this later it I get the time and figure out how to do so

Good idea in theory, poor idea in practice. In order to update each message (eg from a ws connection), there would either need to be a way to create new embeds, or ideally edit the message to show the new data. For example, if Rin connects to a twitch stream that has hundreds of messages being sent, and the code is written to edit each message, this would hit Discord's rate limit fairly fast. Thus, if Rin was deployed to multiple servers, and multiple users use said feature, it would hit up to 50+ requests per second, thus Rin will get rate limited by Discord's API
So for now, i'll close this issue


Fix the --manifest flag

--manifest doesn't appear to be outputting the assertion results, only the green compiled manifest dot indicator. More integration tests around this would be ideal.

Addressed in #21


Configurable Allow/Reject List in Besu Transaction Pool

Description
As a user, I would like to have an allowlist/reject list for certain types of transactions. Besu should have an aware reject-list where when transactions from certain (configurable) addresses enter my mem pool, I can eject them without much fuss. Or specify a certain allowlist where only transactions from this list are accepted. This can be useful for certain private networks and public networks use pertaining to regulations or ethical concerns.
Acceptance Criteria
Reject List

User defines a list of addresses that they want to reject from executing.
Besu's mem-pool receives a transaction from an address on this list.
Besu's mem-pool ejects the transaction and logs in the console what it has done.
User does not execute reject list address tx.

Allow List

User defines a list of addresses from where they are interested in executing transactions.
Besu's mem-pool receives a transaction from an address on this list.
Besu's mem-pool executes the transaction.
User executes accept list address tx.

2a. Besu's mem-pool receives a transaction from an address not on the list.
3a. Besu's mem-pool ejects the transaction outright.
4a. User does not execute transactions not on the allow-list.

@fab-10 does any of the recent tx pool work make this simpler to implement?

not really, and I think it is better to delegate this feature to a plugin, the plugin interface could allow for generic added validation/checks of the tx on top of the standard validation /checks done by default-

@Brindrajsinh-Chauhan are you still working on implementing this as a plugin? We're also actively collecting feedback with the aim to improve docs and devx of the plugin API!

Any interim work/notes/designs might be useful for EIP-7547 so users could write their own censorship detection heuristics.

@Brindrajsinh-Chauhan are you still working on implementing this as a plugin? We're also actively collecting feedback with the aim to improve docs and devx of the plugin API!

@matthew1001 raised a valid point in the linked issue ticket #6521, account permissioning which can be controlled via smart contract provides similar functionality that this spec requires. Do we need a plugin to achieve a similar functionality? Unless I got this wrong. I currently use GoQuorum and I use a smart contract-based whitelist to control the accounts whitelist. Both Besu and GoQuorum have this similar feature.
@CommandLine.Option(
      names = {"--permissions-accounts-contract-address"},
      description = "Address of the account permissioning smart contract",
      arity = "1")
  private final Address permissionsAccountsContractAddress = null;

  @CommandLine.Option(
      names = {"--permissions-accounts-contract-enabled"},
      description =
          "Enable account level permissions via smart contract (default: ${DEFAULT-VALUE})")
  private final Boolean permissionsAccountsContractEnabled = false;

thanks @krsh24 for the details on how to achieve this with permissioning.
@non-fungible-nelson I think we can close this ticket, since or via plugin or via permissining contracts, we are not implementing this in core Besu, wdyt?

We can share some relevant details as we update plug-in docs.


Cleaning up PreciseHostname godocs

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Cleans up a confusing part of our godocs for PreciseHostname.
Which issue(s) this PR fixes:
Fixes https://github.com/kubernetes-sigs/gateway-api/pull/1086#discussion_r846361750
Does this PR introduce a user-facing change?:
NONE

/lgtm


Page number buttons are missing the shadows

http://www.elkarte.net/community/index.php?topic=2508.0

I was pretty sure I fixed that, but apparently I did only in a dream. xD

thanks @Ant59


Update dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
761

Relevant Lines:
761

💛  - Coveralls


Doom 3 began to stuck on loading game

Describe the Issue (If applicable)
Hello, I have RG353VS and using Portmaster I did download Doom 3, loaded own game files and everything worked perfectly (with cca 25-30 fps with limited CPU to 1,4 GHz, I was impressed).
But after few minutes in game it crashed to emulationstation (it happened when I pressed L2+R2 together - save and load by mistake) and when I tried to start game again it is stuck on loading in the game.
I tried to uninstall Doom 3 from Portmaster, delete doom3 folder and doom3.sh file from \ports and repeated installing and loading own files to Doom 3 and loading is stuck again even with this fresh install.
What is strange is that even with fresh install in game were saves that I created in first time start and graphics setting were already changed by me from first installation.
So could you let me know, where are these metadata saved to clear them all and try to start the game again from zero? Don't you know what can be wrong?
What device are you using?
RG353VS
What version of ArkOS are you on?
27.1.2024

It sounds like the saves are stored in the OS somewhere and not in the ports folder as it should be.  You can try searching in the /home/ark/.config location and see if you find any references to doom3 there.   Otherwise, check with the portmaster team for further guidance on the issue.  Good luck.


[BUG] Unhandled Exception: type 'Future<ByteData?>' is not a subtype of type 'Future'

Describe the bug
Whenever I start a new app I hit some break point in VSCode and an unhandled exception gets printed to the console:
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: type 'Future<ByteData?>' is not a subtype of type 'Future<ByteData>' in type cast
#0      _loadFontByteData package:google_fonts/src/google_fonts_base.dart:187
<asynchronous suspension>

To Reproduce
Steps to reproduce the behavior:

`flutter create blah
Add a Text widget in a Column in a Center
Use this:

   Text(
        "blah blah",
        style: GoogleFonts.lato(
          textStyle: TextStyle(
            color: Colors.cyan[900],
            fontSize: 16,
            wordSpacing: 3,
            letterSpacing: 7,
            fontWeight: FontWeight.bold,
          ),
        ),
      ),

Expected behavior
App doesn't throw an exception
Include the contents of your google_fonts directory
No google_fonts directory
Screenshots

Emulator:

OS: iOS
Version: 14.4
Model: 12 Pro Max

google_fonts version: "2.0.0-nullsafety.0"

I have the same issue, without Column or Center widget. Just with a Align widget :
Align(alignment: Alignment.bottomCenter,
	child: Padding(
		padding: const EdgeInsets.only(
			bottom: 20,
			left: 20,
			right: 20),
			child: Text('blah blah',
				textAlign: TextAlign.left,
				style: GoogleFonts.roboto(
					textStyle: const TextStyle(fontSize: 15),
				color: Colors.white))))`

The problem is that byteData which is passed to loadFontByteData is a ByteData? future, but when passed to fontLoader.addFont it is wrongly cast to a ByteData future. I think, the test await byteData != null is supposed to make sure, that the future's value is never null, and therefore the cast is possible, but this isn't how casts work. Furthermore, the result is thrown away.
This is a simple workaround (see https://github.com/material-foundation/google-fonts-flutter/blob/develop/lib/src/google_fonts_base.dart#L187) to correctly "cast" the type:
    fontLoader.addFont(byteData.then((data) => data!));

However, it seems wasteful to first await the future and then not to use the value, so this might be a better approach:
  if (byteData != null) {
    final fontData = await byteData;
    if (fontData != null) {
      final fontLoader = FontLoader(familyWithVariantString);
      fontLoader.addFont(Future.value(fontData));
      await fontLoader.load();
    }
  }

Any news ? This is pretty blocking so it would be great if it could be fixed. The mixed isn't even hard.

I cannot replicate this issue. Could you please post your entire lib/main.dart here?

The static type error in line 187 should be obvious just by looking at the linked source code I, but here you are:
void main() {
  runApp(ProviderScope(child: MyApp()));
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.amber,
        textTheme: GoogleFonts.lailaTextTheme(),
      ),
      home: Scaffold(),
    );
  }
}

This emits
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: type 'Future<ByteData?>' is not a subtype of type 'Future<ByteData>' in type cast

upon running the above code on iOS.

I could not repro on iphone 12 pro max on macos 11.2.1. Could you share your pubspec? Or just the environment sdk version?

Sure.
[✓] Flutter (Channel master, 1.27.0-5.0.pre.115, on macOS 11.2.1 20D74 darwin-x64, locale de-DE)
    • Flutter version 1.27.0-5.0.pre.115 at /Users/sma/Work/flutter
    • Framework revision b5139515c1 (26 hours ago), 2021-02-23 11:25:01 -0800
    • Engine revision 07afcf7d0f
    • Dart version 2.13.0 (build 2.13.0-52.0.dev)

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

environment:
  sdk: ">=2.12.0-0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_riverpod: ^0.13.0-nullsafety.3
  google_fonts: ^2.0.0-nullsafety.0

Ok I was able to reproduce.
With:
environment:
  sdk: ">=2.1.0 <3.0.0"

there is no issue,  but if that is changed to:
environment:
  sdk: ">=2.12.0-0 <3.0.0"

then the error is produced:
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: type 'Future<ByteData?>' is not a subtype of type 'Future<ByteData>' in type cast
#0      _loadFontByteData (package:google_fonts/src/google_fonts_base.dart:187:33)
<asynchronous suspension>

@kevmoo any idea why that might be?

Yup. The static type is different.
So this is why we'd have to wrap the value with Future.value(...) in the PR

@kevmoo Is there anything wrong with my PR ?

PR 149 does not fix the static type error, as it still tries to cast a Future<ByteData?> to a Future<ByteData> in line 189. See above for two alternative fixes I proposed.

@sma it does.

Since about 8 minutes :-)

My bad, worked on the example so I assumed it would work. Didn't make the tests fail either. Weird. Fixed it :)


body_expression_wrapping=multiline without function-signature

I would like to have a rule forbidding code accepted with ktlint_function_signature_body_expression_wrapping=default:
// no readability, should be forbidden
fun someFunction(a: Any, b: Any): String = "some-result"
    .uppercase()

without doing other things function-signature does.
This is really horrible formatting from a cognitive load point of view. People scan code vertically (this is why we have line length limits). In the code above, "some-result" has lots of common with .uppercase() but the visual distance is big and there is no visual link guiding your eyes (it's not adjacent if you move your eyes horizontally or vertically). Neither of those 2 has much affinity to the function signature, but the visual layout forces the reader to look for some relationship with the function signature.
I know it's what the IntelliJ formatter does, so I am not asking of changing intellij_idea style.
I'm not able to set ktlint_function_signature_body_expression_wrapping=multiline because the way function-signature works makes it unacceptable to me.
Expected Behavior
Code above is rejected. Optionally, automatic formatting is applied, resulting in
// makes sense from readability point of view
fun someFunction(a: Any, b: Any): String =
    "some-result"
        .uppercase()

Current Behavior
ktlint_function_signature_body_expression_wrapping=multiline with function-signature rejects the bad code above, but I cannot accept enabling function-signature.
Problem with function-signature
function-signature makes functions behave like unstable substances, with 2 locally stable but very different states. Plus there is the 'butterfly effect', where a tiny change far away can cause radical change in local code.
Example:
fun someFunction(a: SomeObject, b: String): String =
  a.one(SECRET_61).withUsedElement(b).baz(SECRET_69)

Now imagine that someone edits a different file (SomeObject.kt) and automatically renames withUsedElement to useIt. function-signature notices someFunction now fits into 100 line length limit. The current file is reformatted to look completely different:
fun someFunction(a: SomeObject, b: String): String = a.one(SECRET_61).useIt(b).baz(SECRET_69)

Rename useIt back and you will start shotgun surgery returning you back to 2 lines.
Additional information

Current version of ktlint: 1.2.1

root=true
[*]
indent_style = space
indent_size = 4
max_line_length = 100

[{*.kt,*.kts}]
ktlint_code_style=intellij_idea
ktlint_function_signature_body_expression_wrapping = multiline

Maybe what I want to forbid is only related to chaining in functions using expression body, and not as generic as function-signature, so deserves a new rule.

I have read your issues multiple times. I am puzzled what your problem is, and how to resolve it.
One thing that we seem to agree on, is that code below (ktlint_function_signature_body_expression_wrapping=default) is not well readable:
// no readability, should be forbidden
fun someFunction(a: Any, b: Any): String = "some-result"
    .uppercase()

To improve readability, the "some-result" is to be wrapped, resulting in code:
fun someFunction(a: Any, b: Any): String =
    "some-result"
        .uppercase()

This is either done by ktlint_function_signature_body_expression_wrapping=multiline or ktlint_function_signature_body_expression_wrapping=always.
But this code is unacceptable to you. So what code would you have expected?

If you read again the section 'Expected Behavior' at the top of the page, you will find exactly the same code you included in 'resulting in code'. I don't think we disagree on the code that is expected.
What I disagree with is the way to achieve this code.
If you show me a configuration that reformats someFunction in expected way while avoiding the butterfly effect in otherFunction(1), I will be more than happy. My opinion is that the current implementation of function-signature has unacceptable characteristics.
Those characteristics are: making function formatting overly sensitive to renames, with functions jumping from 2 lines to 1 and back. Adding noise to code: create 2 functions like otherFunction that are identical, but make 1 of them 5 characters longer (to cross line length boundary). function-signature will make those 2 almost identical functions wildly different: one will be 1-line, the other 2-line. A formatting where line is broken after= is much less prone to unstability, as you get more 'buffer' before reaching max line length.
(1) I renamed the second function (originally also someFunction), to avoid confusion.

A formatting where line is broken after= is much less prone to unstability, as you get more 'buffer' before reaching max line length. But with the current implementation, I see no way to configure function-signature to avoid compressing the function into 1 line.

use ktlint_function_signature_body_expression_wrapping=always. But I do not expect you want to use that as multiline is already not acceptable.
I get the feeling that your expectations can never be met by Ktlint. Ktlint is not tracking what the user is doing. It looks on a file by file base at the content of the file, and then just lints/format that file without considering the context that caused the changed.

Ok, I think ktlint_function_signature_body_expression_wrapping=always is the best solution for function-signature.


Can't set multiple cookies

We can't set multiple cookies using one set-cookie header (can't find it in any RFC), only the first k=v pair will be stored and the browser will think the following pairs are directives
https://github.com/kennethreitz/responder/blob/85e5ec0a9ac583d0f5233efe71721d700ab24050/responder/api.py#L295-L298
A little test
def test_cookies(api):
    @api.route("/")
    def cookies(req, resp):
        resp.cookies["sent"] = "true"
        resp.cookies["hello"] = "world"

    r = api.requests.get(api.url_for(cookies))
    assert "sent" in r.cookies
    assert "hello" in r.cookies

see #293


347 - Use regex to replace server URL

Closes #347
Use a regular expression to replace the URL in the BomAnalyticsClient repr. Raise a ValueError if no match is found.

Codecov Report

Merging #348 (616f32d) into main (dfe5511) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #348   +/-   ##
=======================================
  Coverage   95.23%   95.23%
=======================================
  Files          10       10
  Lines        1386     1386
=======================================
  Hits         1320     1320
  Misses         66       66