Workflow Documentation & Status

Is your feature request related to a problem? Please describe.
It is unclear what steps need to be manually undertaken and in which order for us to cut a release. Further, unless you REALLY know where to look && are in direct conversation with the cutters, it is absolutely impossible to know what the publishing status is. Further, it is possible that you try to update source but not everything is available at the proper version, so you get an error.
Describe the solution you'd like

Updated documentation of the process
status.tauri.app or something like that where people can go to see that stuff is done (with a ping to an endpoint at each stage?)
speed up process possible

Chromium have a good dashboard
https://chromiumdash.appspot.com


Getting Object reference error using any value type on receiver.

I have an Event Receiver component setup to receive a simple string for testing this osc plugin. But I keep getting this error, no matter which data type I use. The error line  obviously changes depending on the datatype, but it all points to the same file. I used to use this plugin on an old project in 2019.2 and it worked fine, but now I'm using 2021.1.11f1.
NullReferenceException: Object reference not set to an instance of an object OscJack.OscEventReceiver.Update () (at Assets/OscJack/Runtime/Unity/OscEventReceiver.cs:207)

Thanks for reporting the issue. Could you provide a minimal project that reproduces the issue?

I tried creating a simple project to reproduce the error, but then I wasn't getting the same error. So it was an issue in my own project. I reimported everything and got it working with no errors.
I apologize for creating an issue out of nothing, but thanks non-the-less for taking the time to try and resolve my issue!


Conti - Scraping Error

Describe the bug
Error Message Below:
Traceback (most recent call last):
File "/app/ransomwatch.py", line 66, in main
s.scrape_victims()
File "/app/sites/conti.py", line 56, in scrape_victims
last_li = page_list.find_all("li")[-1]
AttributeError: 'NoneType' object has no attribute 'find_all'
To Reproduce
Steps to reproduce the behavior:
This error has happened several times over the last 24 hours while ransomwatch has been run on a cron job.
Expected behavior
Parse the contents of the Conti site with no errors or have additional error handling built in to handle this error.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Traceback (most recent call last):
File "/app/ransomwatch.py", line 66, in main
s.scrape_victims()
File "/app/sites/conti.py", line 56, in scrape_victims
last_li = page_list.find_all("li")[-1]
AttributeError: 'NoneType' object has no attribute 'find_all'
Environment

OS: Ubuntu 20.04
How you are running it: Docker via cron job (read me best practices implementation)

Additional context
Add any other context about the problem here.

Errors occurred at 3PM and 5PM CT on 6/27/21 and 3AM and 5AM CT on 6/28/21.

Thank you @GRIT-5ynax for reporting this!
I only see this once in my logs, at 2:10am PDT on June 28th, which aligns with when you saw it. I didn't see it at any of the other times, which makes me think that it was possibly an error by the operators when they added data? Or a site bug perhaps.
Since it's not currently reproducible and the scraper for Conti is working properly still, I am going to close this. But please feel free to open any other issues for scraping issues you have. Thank you!


Attempt to update for SE-0103 (@noescape by default)

This updates libdispatch for the changes in https://github.com/apple/swift/pull/4388 (which has not yet been merged).
@tkremenek What is the process here? Who should review and merge this PR?

I'll just merge this myself for now, since the other PR got merged, and the build is broken without this one.

@das is the release manager for libdispatch.


Adapt vouch query to other chains

This PR allows for using the vouching query on other chains.
Results can be checked with this test query.

Looks good!


X marks the docs alternatives

According to the cutting room floor site
“The documents could spawn at one of two random locations for every war camp and most Jarl's residences, with the exceptions being Castle Dour, which has three possible locations, and Dragonsreach, which has four possible locations where they could spawn.”
Is it possible to randomise the location of the war documents to be either in the war camp or in the Jarls residence?

I think I can do this :)

This has been added to https://github.com/schofida/CWORR/releases/tag/v1.0.15a


tweak crowdrocks in site header

the name of the site as displayed in the header is currently two words, but when translating the name into other languages it may be necessary to rearrange the words and also that the translation may be more than two words. Because of this, change the site text string in the header to a single word: crowdrocks. This means we won't have the nice styling difference between the two words, but in other languages this could be 3 or more words, so oh well.

this means we will be adding a new site text word in our site text list. ask Hiroshi how best to do this. feel free to use google translate to create the translations that we auto-load on server init on an empty database.


MAINT: Add numba lower version bound

Fixes build, closes #3817

@thatlittleboy it would be great to have a review on this if poss, to un-break the CI :)


fix unusual behaviour on deselecting an icon

Fixes #82. Earlier, for deselecting an icon it took double clicks and the search and URL params didn't get cleared. A video is attached below to show the current behavior after fixing the issue.
https://user-images.githubusercontent.com/55888723/157908533-26efc1a1-3925-4b6a-a614-aa26704a2f67.mp4

@ayushsatyam146 The functionality is not working for animated icons, It will be great if you can implement the same feature for animated icons.

Preferable in a separate PR :). Smaller PRs rather than clubbing in a separate PR.

@Abhirup-99 @vinayaksh42 I am opening an issue for the functionality of the animated icons and will make a separate PR for that. If everything is good with this PR can you please merge it?


quay.io master tag points to latest stable instead of pre-release

At this moment there is no mobile tag that can used to point latest development version of molecule because both master and latest point to last release.
Pre-releases were published but the user using them are forced to manually update versions for each of them.
https://quay.io/repository/ansible/molecule?tab=tags

Master points to an older tag?
bash-4.4# ansible --version
ansible 2.7.9
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.7.2 (default, Mar  7 2019, 22:40:59) [GCC 8.2.0]
bash-4.4# molecule --version
molecule, version <IP_ADDRESS>a3.dev12


mod: updated readme

Updated the README.md with information and examples.

Wow. Write good doesn't seem to like my "weasel words" at all, but I'll take the suggestions and make a few changes to clarify meanings and whatnot.

Probably need to set up write good with some more constraints as well.

Looks fine. Can't get it perfect on the first.... second try.


Error in runExample.sh

I am running "runExample.sh" in Windows7 using cygwin. The following error message occurs every time I run "runExample.sh"
$ bash runExample.sh
runExample.sh: line 6: bc: command not found
=============== Index Docs =============
index file:  ../sample-data/doc_info.txt
write file:  ../output/doc_wids.txt
n(w)= 28634
write: ../output/voca.txt
=============== Topic Learning =============
runExample.sh: line 29: make: command not found
../src/btm est 20 28634  0.005 500 501 ../output/doc_wids.txt ../output/model/
runExample.sh: line 31: ../src/btm: No such file or directory
================ Infer P(z|d)===============
../src/btm inf sum_b 20 ../output/doc_wids.txt ../output/model/
runExample.sh: line 36: ../src/btm: No such file or directory
================ Topic Display =============
K:20, n(W):28634
Traceback (most recent call last):
File "topicDisplay.py", line 53, in
pz = read_pz(pz_pt)
File "topicDisplay.py", line 18, in read_pz
return [float(p) for p in open(pt).readline().split()]
IOError: [Errno 2] No such file or directory: '../output/model/k20.pz'

Hi @kevinbsc, bc is an arbitrary precision numeric processing language. You need to install the bc package first. The package can be found in https://cygwin.com/packages/package_list.html.


Feature request: Add drop database command in context menus

It would be really nice to have a contextual menu for a database that allows you to drop it.

I might look into this over christmas.. should be simple enough to implement


Add to twinpack-registry

Hey! Thanks for this string builder library, it's great! Do you mind adding it to twinpack-registry so I could download and install it via Twinpack?
Looks that it is pretty finished, despite having "only" pre-releases?

I may not do that just yet since the development of this library is still very early. I'm also planning on making a polished version of this for the Fs libraries I'm working on.


How much time is needed to get all the dependencies installed ???

I tried using your instructions and am running this on -
Operating System: Debian GNU/Linux bookworm/sid
          Kernel: Linux 5.17.0-1-amd64
    Architecture: x86-64

I was able to clone the repo without an issue -
~/games$ git clone https://github.com/electron/electron-quick-start
Cloning into 'electron-quick-start'...
remote: Enumerating objects: 1146, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1146 (delta 0), reused 2 (delta 0), pack-reused 1142
Receiving objects: 100% (1146/1146), 909.23 KiB | 46.00 KiB/s, done.
Resolving deltas: 100% (691/691), done.

Now here is where it becomes interesting -
~/games/electron-quick-start$ npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile

It took almost half an hour to at lodash although it finally completed -
added 91 packages, and audited 92 packages in 15m

9 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

One thing to note, Debian already has npm -
$ apt-cache policy npm
npm:
  Installed: 8.11.0~ds1-1
  Candidate: 8.11.0~ds1-1
  Version table:
     8.12.1~ds1-1 100
        100 http://deb.debian.org/debian unstable/main amd64 Packages
 *** 8.11.0~ds1-1 900
        900 http://deb.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status

So when I run npm start I'm not sure which npm is being used -
Anyways, I do get the following -

><EMAIL_ADDRESS>start
> electron .

Hello World!
We are using Node.js 16.14.2, Chromium 102.0.5005.63, and Electron 19.0.2.

Thanks for reaching out!
Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this Discord that should be willing to point you in the right direction.


[Feature Request] Clip grad norm

Hello,
First of all, thanks a lot for this repo =).
I'm currently experimenting with RL (re-implementing gym and RL algorithms in rust) and I noticed that clip grad norm was not available yet.
I know that clip grad value is implemented here:
https://github.com/LaurentMazare/tch-rs/blob/db9fb60f158f9b7a9765ce00fec6d9d5c7b0c007/src/nn/optimizer.rs#L197
but this is not what is normally used in RL...
See Stable-Baselines3 A2C implementation for instance.
vs
https://github.com/LaurentMazare/tch-rs/blob/db9fb60f158f9b7a9765ce00fec6d9d5c7b0c007/examples/reinforcement-learning/a2c.rs#L142
Would it be possible to implement such feature?
(I'm still pretty new to Rust and tch-rs so I cannot unfortunately offer a PR yet...)

Thanks for the suggestion, I just pushed some changes adding a backward_step_clip_norm variant which implementation should be similar to the pytorch one (except that it only handles L2). Let us know if you run into any issue using this.

Thanks for the suggestion, I just pushed some changes adding a backward_step_clip_norm variant which implementation should be similar to the pytorch one (except that it only handles L2). Let us know if you run into any issue using this.

Merci pour la réactivité =)
Works like a charm.
I'll probably do a PR at some point to improve A2C/PPO implementations ;)

Merci pour la réactivité =)
Works like a charm.
I'll probably do a PR at some point to improve A2C/PPO implementations ;)

Merci pour la réactivité =)
Works like a charm.
I'll probably do a PR at some point to improve A2C/PPO implementations ;)

Sure, quite curious to see if the clipping change has some actual impact on model training.

Merci pour la réactivité =)
Works like a charm.
I'll probably do a PR at some point to improve A2C/PPO implementations ;)

Sure, quite curious to see if the clipping change has some actual impact on model training.


Roll Packages from 07b4b298face to 179928a1f7cc (4 revisions)

https://github.com/flutter/packages/compare/07b4b298face...179928a1f7cc
2023-11-17<EMAIL_ADDRESS>Update release step to 3.16 (flutter/packages#5416)
2023-11-17<EMAIL_ADDRESS>[file_selector_web] migrate to pkg:web (flutter/packages#5413)
2023-11-16<EMAIL_ADDRESS>[video_player] Improve macOS frame management (flutter/packages#5078)
2023-11-16<EMAIL_ADDRESS>Roll Flutter from e8c2bb135659 to 53a57adcf136 (39 revisions) (flutter/packages#5412)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Update cats-effect, cats-effect-kernel to 3.2.3

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-kernel

from 3.1.1 to 3.2.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, semver-minor

Superseded by #409.


Explicit latency constraint between two stream objects which accesses to external resources outside of the stream.

thread.stream has some external operators to access outside of the stream pipeline, such as ToExtern/FromExtern, read_RAM, write_RAM. Additionally, RingBuffer and Scratchpad uses on-chip RAM as a random access buffer.
The result of such the external operators are sensitive to their read/write timings. So scheduler has to support the explicit latency constants between two (or more) linked external operators.

This issue is not resolved yet, but the same thing can be realized by using Substream.

This issue is not resolved yet, but the same thing can be realized by using Substream.


Provide a rounded icon for Nougat

No more info than http://android-developers.blogspot.fr/

Google released more info at https://developer.android.com/preview/api-overview.html

It's because we don't use the right markup
Apps can now define circular launcher icons, which are used on devices that support them. When a launcher requests an app icon, the framework returns either android:icon or android:roundIcon, depending on the device build configuration. Because of this, apps should make sure to define both android:icon and android:roundIcon resources when responding to launcher intents. You can use Image Asset Studio to design round icons.


Number of plots completed

Display the number of plots completed in a project of the total. Maybe as approximation to account for multiple users?

Add to where?  This information is available in many places on the site.

Ah yep. I forgot about the plot summary information in the header--I'll pass that on to the user requesting.

Ah yep. I forgot about the plot summary information in the header--I'll pass that on to the user requesting.


How to update the same file by modifying xtos

 const xtos = (sdata) => {      var out = utils.book_new();      sdata.forEach(function(xws) {        var aoa : any = [[]];        var rowobj = xws.rows;        for (var ri = 0; ri < rowobj.len; ++ri) {          var row = rowobj[ri];          if (!row) continue;          aoa[ri] = [];          /* eslint-disable no-loop-func */          Object.keys(row.cells).forEach(function(k) {            var idx = +k;            if (isNaN(idx)) return;            aoa[ri][idx] = row.cells[k].text;          });        }        var ws = utils.aoa_to_sheet(aoa);        utils.book_append_sheet(out, ws, xws.name);      });      return out;   }
how would i update the same file with data from the xspreadsheet ? I know i have to use sheet_add_aoa but dont know how to modify xtos accordingly

There are 3 general approaches:

use xtos to generate the worksheets, then use sheet_add_aoa to fill data:

const new_wb = xtos(sdata);
new_wb.SheetNames.forEach(name => {
  if(!old_wb.SheetNames.includes(name)) return XLSX.utils.book_append_sheet(old_wb, new_wb.Sheets[name], name);
  const aoa = XLSX.utils.sheet_to_json(new_wb.Sheets[name], {header: 1});
  XLSX.utils.sheet_add_aoa(old_wb.Sheets[name], aoa, { origin: "A1" });
});

Note that this approach will use merge cells and other metadata

use xtos to generate the worksheets, then just replace it in the old workbook:

const new_wb = xtos(sdata);
new_wb.SheetNames.forEach(name => {
  if(!old_wb.SheetNames.includes(name)) old_wb.SheetNames.push(name);
  old_wb.Sheets[name] = new_wb.Sheets[name];
});

This wipes out all of the worksheets that are in both the original and new workbook.

Bind to the x-spreadsheet cell-edited event and apply the change to the workbook every event (see https://github.com/myliang/x-spreadsheet#bind-events for more details).

In theory this is the best approach, but certain actions like inserting and deleting columns do not currently appear to have an event (see https://github.com/myliang/x-spreadsheet/issues/555 )


Replace ChannelOption if / else checks with Map lookups

Motivation:
Finding the right method to call for a specific ChannelOption may need multiple if branches.
Modifications:
Use a Map that holds mappings for fast lookup
Result:
Cleaner code and less if / else

@franz1981 @trustin @chrisvest @Scottmitch I only implemented this for AbstractChannel and NioDatagramChannel atm to show the idea. I am not sure if this is better then what we have atm

I don't think map lookups can constant fold.
We could reduce it to a single if-else chain by having a protected method that return VarHandles to the field-based options, which sub-classes can override and add to. Then getOption/setOption/isOptionSupported would rely on that, in addition to having their own short if-else chains for the occasional non-field-based option.
I suggest trying the different approaches in a benchmark and see how they fare.

I don't think map lookups can constant fold.
We could reduce it to a single if-else chain by having a protected method that return VarHandles to the field-based options, which sub-classes can override and add to. Then getOption/setOption/isOptionSupported would rely on that, in addition to having their own short if-else chains for the occasional non-field-based option.
I suggest trying the different approaches in a benchmark and see how they fare.

Imho this looks very ugly for a method that users might want to implement / override

Let close this for now


Refactoring Open Collective's help docs

I'm working on a project to clean up and improve our help documentation, and I'm going to use this issue to get input and develop a plan.
Help docs currently live in multiple places:

Website FAQ - easier to find, but not as detailed info, harder to update
Wiki on Github - hard to find, more detailed info, but no great way to organise it
Forum on Discourse - enables asking questions and users helping each other, but not given enough attention to be alive

We also offer support via email and slack.
I propose:

Pick one single place for static help documentation and redirect the others there
Make links to help much more visible (eg, in the user menu and top of the website, change from 'faq' to 'help' to make it more clear, etc)
Continue support via email and slack and let questions we get guide improving the docs

So: which ONE place should help docs live - Website, Github Wiki, or Discourse Forum?

OK, we're getting ready to launch the new help docs! See it at https://docs.opencollective.com

List of links to docs
Theses need to be added or updated for the new help docs:

Add to nav bar on top of homepage next to discover and blog: 'help & docs' > https://docs.opencollective.com
Website footer FAQ: remove
Website footer 'wiki': change to 'docs & help' > https://docs.opencollective.com
Bottom of How it Works page: add button 'more details' > https://docs.opencollective.com
In user dropdown menu: add 'help' > https://docs.opencollective.com
Tax form bot: change 'more info on our wiki' to 'see docs for more info' > https://docs.opencollective.com/help/expenses/tax-information
Onboarding emails: add links to docs
Github wiki: deprecate
Discourse forum: deprecate
Website FAQ pages: deprecate

@piamancini @xdamman where else are the wiki or faqs linked from?

Why not keeping a FAQ? I love browsing FAQs when I'm on a website that I'm trying to understand.
For the onboarding emails, not sure in which particular you wanted me to add the link and where So I've just added this to the day 2 on boarding email:
If you have any questions, have a look at our documentation and help website on https://docs.opencollective.com.
  We have also published this helpful guide on our blog: Ten
    Steps to Successful Open Source Crowdfunding

@xdamman all of the FAQ content has been moved to the gitbook - I didn't leave anything important out. The point of this project was to centralise everything into one place. If we have multiple places, they will quickly get out of sync and we'll be right back where we started with help all over the place and things out of date. So I feel strongly that we should remove the FAQ from the website and direct all links to the docs.

Not arguing against that, just arguing that people like look for a FAQ. Maybe there could be such section in the docs? Or you think that even that is hard to maintain? I guess it’s a balance between that and what the users expect.

I see. Well, each of the chapter top level pages are basically FAQs. But if someone is specifically scanning for 'FAQ' they might not realise this from the table of contents. The thing is, there is actually a huge amount of info that can be considered FAQ, which is why there's one for backers, one for core contributors, one for hosts, etc.
We could try to boil it down to the most important and put a page called FAQ in the gitbook. What do you think are actually the most F asked Qs?

Yeah maybe the FAQ is just short answers with a link to the appropriate place in the documentation. It’s an easy way for people to scan through it. Think of it as another entry point.
What are the most frequent questions?
You tell me ;-)
From my side I’d start with:

what’s an open collective?
who is this for?
what’s the different with other crowdfunding platforms?
how much does it cost?
does it work in my country?
can I get an invoice for my donations?
where can I learn more?
how can I contact you?
how can I contribute to open collective?

Another idea would be to have a glossary to help define the different terms. What do we mean by host, collective, admin, backer, organization, etc. It will also be helpful for the team! :-)

@xdamman I put the FAQ as suggested on the welcome page, and changed the 'roles' page to 'glossary' because that's what it was anyway.

Mmmm... but there is also a FAQ in About: https://docs.opencollective.com/help/about
What about making FAQ at the same level of "About"? (and link to it from the welcome page)

I'm not 100% sure what you mean, but feel free to move stuff around!
On Thu, 14 Feb 2019 at 00:26, Xavier Damman<EMAIL_ADDRESS>wrote:

Mmmm... but there is also a FAQ in About:
https://docs.opencollective.com/help/about
What about making FAQ at the same level of "About"? (and link to it from
the welcome page)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/opencollective/issues/1612#issuecomment-463163652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPn_ubZZxl5_3cGMX0coYJmqFmkIeR8ks5vM_ZUgaJpZM4Z0lop
.


Using BodyParser (URLencoded) Breaks Stormpath

If you load the bodyParser.urlencoded(...); middleware BEFORE the Stormpath middleware, the library breaks on registration / login. When the form is submitted, the server hangs indefinitely.

Isn't this a duplicate of #194?

Oh, good catch. Somehow didn't see that :x


v0.1.0

add github actions for a new release

@NorthernMan54 any chance you can help us with getting these GitHub actions to work correctly 😉

@donavanbecker Let me dig into them, may be a few days though

accidents published this.... so we will have to publish v0.1.1


Crawl follows  links in , surprisingly prerendering rss feed generating endpoints

Describe the problem
Currently, when crawl is enabled, build will crawl seemingly any tag with a href, src, or srcset attribute, and does not contain a rel="external" attribute. Normally, these pages are prerendered: https://github.com/sveltejs/kit/blob/623fa495c46e22213185199e56fad5a3fbaa2f80/packages/kit/src/core/build/prerender/crawl.js#L184
As a result, using an endpoint to generate dynamic data, like an rss/atom/json-feed will cause the feed endpoint to be prerendered and the resulting feed on the site to be static and frozen. That might be desirable for static site rendering, but for dynamic sites, it's a problem. It's also surprising to encounter this, because endpoints (may change with: #4093) do not seem to support the export const prerender = bool option. It appears the only way to ensure endpoints aren't prerendered and frozen like this is to set rel="external", disable prerendering/crawling entirely, or totally avoid outputting any tags with href/src/srcset attributes pointing to endpoints in html.
While it maybe feasible to use <link rel="alternate external" href="/path/to/feed.atom"> it feels semantically wrong because it is not an external resource, and I worry if we can really trust feed readers to have such a nuanced understanding of rel attribute semantics.
Describe the proposed solution
I'm not sure what the right answer is, but here are some ideas:

Don't crawl anything in <head>/<svelte:head>? Would this break any useful workflows? do people dynamically generate stylesheets or social media open graph type of resources through <head>?
Adjust crawler to skip rel="alternate" specifically to support feeds usecase? Would this break static site builders where a static prerendered feed maybe desirable?
Support export const prerender = false in endpoints, and have that behaviour somehow refuse the page's inclusion in the prerender output?
Implement a second rel attribute that functions the same as "external" for svelte crawler purposes but has no other existing semantics on the web, so we can control crawler at the link level without having undesirable effects on search engines.

Maybe a composite answer is good. Is it surprising that the crawler follows <link>'s in head? I think so. Maybe crawling of <link> tags should be opt in? <link rel="stylesheet svelte-prerender" href="/styles-compiler-endpoint.css"> maybe? Maybe it should be opt in in dynamic site builds but default on with fully static adaptors? But that feels like a messy answer.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

I've never liked that you have to use external for something you don't want to be a client-side navigation even if it's not actually external to your domain. It could be nice to introduce a new attribute for this
Marking endpoints as prerenderable is something we're considering: https://github.com/sveltejs/kit/issues/4093
I also wonder about your question of skipping link rel="stylesheet" or perhaps any links in the _app directory. Neither of these seem like they'd solve your problem though, but might be nice optimizations. We could go further and skip all link tags, but then that seems like it'd have the potential to break something, so I don't know that I'd go that far.


Report generated by LAMS includes views that do not exist in an project

We have added LAMS to our project and have found that some reported issues were due to views that don't even exist in our codebase, digging into it I discovered that those views come from the lookml-parser dependency that includes them to be linted with the project  (i.e. https://github.com/fabio-looker/node-lookml-parser/blob/9cf49326ece2bd9834535bf77cec1087554ccbfe/test-projects/002-ndt/ndt.view.lkml)

Also when created a new project and LAMS is added it fails to run because of those same views that the parser is including, it raises the following error ⬇
TypeError: Cannot read property 'match' of undefined
    at pkNamingConvention (/home/marcelolx/looker/node_modules/@looker/look-at-me-sideways/rules/k1-2-3-4.js:28:23)
    at Array.filter (<anonymous>)
    at module.exports (/home/marcelolx/looker/node_modules/@looker/look-at-me-sideways/rules/k1-2-3-4.js:38:61)
    at module.exports (/home/marcelolx/looker/node_modules/@looker/look-at-me-sideways/index.js:111:17)
    at async /home/marcelolx/looker/node_modules/@looker/look-at-me-sideways/cli.js:26:2
error Command failed with exit code 1.

And when checking why it fails I can see that it fails on a dimension from the view that only exists in lookml-parser
{
  '$strings': [
    '@$type',
    ':',
    ' ',
    '@$name',
    ' ',
    '{',
    [ 'hidden', 'hidden', ':', ' ', '@' ],
    '}'
  ],
  '$type': 'dimension',
  '$name': 'user_id',
  hidden: true,
  '$view': 'user_90_day_facts'
}

I have created a project if that helps https://github.com/marcelolx/looker

checkout
yarn install
yarn lint

Well, this is quite the interesting issue. I don't think I expected anyone to have their LookML project folder also be a Node project with a node_modules folder.
However, looking at your project I assume that this was an unintentional situation since I don't see any other javascript in your folder. It seems you probably omitted the -g (global install) flag when installing LAMS, so that's why you ended up with it inside your project folder

We have it this way because it makes it much easier for people to run the linter locally without having to install it globally (just a yarn install & yarn lint).
Couldn't LAMS just ignore the node_modules folder from the scan? 🤔

Yes, I think so, and I can include that in the next release that I am working on (probably a week or two out from release) Until then, I think you can exclude it explicitly in the source argument

Implementation note:
Glob docs: https://www.npmjs.com/package/glob
Argument to be passed through: ignore

Yes, we changed our scripts to only lint the folders from our project. Thanks for the quick responses!

Implemented in commit ced9a1af08163a9014f05f3cca3eddaf1f4e8294 and will be included in the next release

Thank you!

This is now published to NPM under v2.1.0
To exclude a folder pass something like --ignore=folder_name/**


Remove type workaround for local storage data

This type was used module-internal only anyway.
The typed return values could be reintroduced with a publicly exported type later on.
The PR is a suggestion only. Feel free to stick with the workaround and close it.

IMHO the portal-app should not recreate any types from the SDK (see types.ts), instead any missing type exports should be reported to the SDK-team so this can be fixed – and all recreated SDK-types can be removed from the portal-app code with the next SDK release 🧹
Otherwise we are loosing some type checking of SDK releases through the portal-app as an early-adopter 😢
WDYT?
Probably out of scope for this PR.
/cc @kostia

This should also be replaced by a type from the SDK IMHO:
https://github.com/Scrivito/scrivito-portal-app/blob/3a2d6b1f6f31dd87ee70276e1c932087bd70f943/src/Objs/defaultPageLayoutComponent.tsx#L9


One more strings.Compare to == replacement

Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

I won't bother about this since this file will be deleted in https://github.com/submariner-io/submariner-operator/pull/2077 but instead open a similar PR in subctl repo.

I won't bother about this since this file will be deleted in #2077 but instead open a similar PR in subctl repo.

Ah yes, so it will!


Attempt to Validate Binaries

Proposed change
We are not currently validating binaries are being deployed to machines that support the binaries architecture.  For example, if we attempt to deploy a linux/arm64 binary to a no-sandbox windows node, it will attempt to run it.
This issue proposes we attempt to validate a binary as best we can prior to deployment using the file headers.
Use case
nex run and nex devrun should error if a binary is attempted to run on a machine with a different OS/Arch
Contribution
No response

to be more specific, nex run and nex devrun should error because the nex node rejects the run request prior to attempting to run/deploy the executable


Cloud App Security Documentation not current

https://docs.microsoft.com/en-us/cloud-app-security/
None of the above document seems applicable any longer.  The Quick Start Guide doesn't match, and neither does Basic Setup.

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

ID: 47cc4f8f-f7d2-07ce-4fb2-4e87eef26655
Version Independent ID: 33d5a394-9e8b-2db5-6a8b-ec6219463b30
Content: Set up your organization's settings in Cloud App Security
Content Source: CloudAppSecurityDocs/general-setup.md
Service: cloud-app-security
Product: ****
Technology: ****
GitHub Login: @shsagir
Microsoft Alias: shsagir

@VNJoe Thanks for your feedback. Please can you provide a little more detail on the issue you raised? Which information do you feel is no longer applicable. Thanks.

Step 1
From the settings cog, select App connectors.
Click the plus sign to add an app and select an app.
Follow the configuration steps to connect the app.

Nope.

Previously, clicking Security took me to Protection instead of the Security 9 days ago when I opened this issue.  This looks like that piece is resolved, now its just the rest of it.

@VNJoe Thanks for your feedback. After investigating the option in a few tenants, we've discovered the option is still there. Therefore, no change is required to the referenced page to include the information and functionality that you're asking for, we are closing this issue. We do thank you for your input, however; we always appreciate feedback on our documentation.
As we understand it, you're describing a problem with your environment and not with the product documentation. To get assistance or support for your product issue, please open a support ticket or Send feedback.

What are you talking about? Show me that its there, otherwise keep the ticket open.  You've not shown what it should look like, but I'm showing you that it isn't there.


Add label and/or tooltip to line actions

Current status:

@Kriesse do you want to add the labels too, or is this feature ready?

done :)
https://github.com/dat-land/dat-desktop/pull/584


Feature/local-rate-limiter

Is your feature request related to a problem? Please describe.
This feature adds a Local Rate Limiter using the bucket4j library. Devs who do not want to use the Redis limiter and avoid the IO might find this rate limiter useful.
Describe the solution you'd like
The local rate limiter gives a simple ratelimiter that operates the same way the Redis one does. It can be useful on scenarios of singular rate-limiter or a hot stand-by.
Describe alternatives you've considered
The alternatives considered is to avoid the bucket4j and implement the token bucket algorithm.
Additional context
This rate limiter will work is the Bucket4j library is included and if there is not Redis and Redis Rate Limiter related configuration present.

I'd rather not introduce another dependency. Gateway already depends on resilence4j, would you be willing to rework and use that library since we already manage it? https://github.com/resilience4j/resilience4j#ratelimiter

I'd rather not introduce another dependency. Gateway already depends on resilence4j, would you be willing to rework and use that library since we already manage it? https://github.com/resilience4j/resilience4j#ratelimiter

Hi I am more than happy to use the one you mentioned!
I will do this on the same pull request.

perfect

Hi @spencergibb ! The rate limiter has been switched to the resilience4j rate limiter. Currently I am working on the testing.
Some notes on the resilience4j rate limiter.
It acts like a fixed window. For example in a 60 secs period if all the tokens are consumed the refill is happening after the 60 seconds have passed.
In the case of bucket4j the token refill is spread through that period.
Also there is no burst capability (I might proceed on a pull request on their project and add it).
Due to the above I reckoned it will help the users to give them the choice on specifying the window of the requests using the
configuration variable refreshPeriod

The related ticket is #88

Hi,
Is this going to be merged or does it needs a rework?  I think it can be quiet a useful feature.

@korektur I am available if people want to reboot it.
Also I have implemented a Refill Rate limiter for Ressilience4j In case a more smooth Rate Limiting is needed.

Hey,
+1 for this one, it's a pretty useful feature without setting separated component like redis.
@spencergibb is that PR not merged only due to codecov check? Not mentioning current conflicts ofc.
@gkatzioura would you still have a will to finish this PR?

Hi @mafias
I am available for this. If I see engagement from @spencergibb and team can resume.

+1
This will be a super useful feature addition. Not all scenarios require distributed rate limiting.


Issues with /claiminfo when specifying another player

Ok I was running <IP_ADDRESS>7 with the initial issue I was having, but as we should...I updated to latest everything. Updating has led to morphing the problem into something different, so I'll outline both, as the problem prior to updating is probably still there too.
Previous to updating
SF 3190
LP 4.2.31
GP <IP_ADDRESS>7
Using /claiminfo <player>  on a playername that is known to have claim(s), would display "No claims found in world" under OWN tab in list, and display your own claims under ALL.
After updating
SF 3201
LP 4.2.32
GP <IP_ADDRESS>2
Using /claiminfo <player>  on a playername that is known to have claim(s), would display "There's no claim here"

/claiminfo only supports claims and has never supported player. The reason for the above is, /claiminfo supports a claim UUID. The command you want to use is /claimlist <player>.

Now that I'm rereading, I assume you meant /claimlist =) I'll test...

Yes meant /claimlist...whoops

Using /claimlist <player> on a playername that is known to have claim(s), would display "No claims found in world" under OWN tab in list, and display your own claims under ALL.

That is indeed what I am facing also... I have granted users with griefprotection.user.* but they are still unable to view other player's claim list. lp check <username> griefprevention.user.claim.command.list returns true.
Using GP build 628, LP 4.2.17, and sponge 1.12.2-2705-7.1.0-BETA-3206 (w/ forge 2705)


Support ELF .relr relocations

https://maskray.me/blog/2021-10-31-relative-relocations-and-relr has an explanation of the format.

Is there anything in particular you want to be able to use this to do?

At the very least I would like reader support for .relr relocations. Arch Linux started using them 6 months ago: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/merge_requests/6 As did Fedora: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/5fca01a Without .relr support in object, this would mean every user of object that wants to read all relocations in executables would miss a ton of relocations in executables compiled by Fedora and Arch.


Formatting of local %increased phys mods

Currently, local %phys mods such as "LocalIncreasedPhysicalDamagePercent8" or "LocalIncreasedPhysicalDamagePercentAndPierceInfluence4_" display as "No Physical Damage" (either through kalandralang find or when displaying an item with these mods).
This is caused by using a default value of -9999 for a stat when it is not present (in Stat_translation.translate_one and Stat_translation.values_for_mode) which causes kalandralang to assume there is a "local_weapon_no_physical_damage" stat accompanying the "local_physical_damage_+%" (matching the condition listed here: data/stat_translations.json:22666-22681).
Replacing -9999 by 0 solves the issue (matching the condition listed here: data/stat_translations.json:22700-22718).

Nice find! Thanks a lot for looking into this.


how to move shared directory ?

Is there a way to move original data folder ?
I shared my folder with dat mydata --watchFiles
I got message:
Sharing mydata

Share link: MYHASH

Then I downloaded this data to some clients with dat MYHAS ..
Now I want to stop the originating dat process and move mydata to newdataFolder folder (with .dat folder). Probably I want to move it to another PC.
Now I start: dat newdataFolder --watchFiles
But I am getting message:
There is a dat process already running in this directory.

my mistake. the move works.


Change Navigation Item alignment and update docs/examples

Change NavigationItem flex alignment so it works well with longer labels
Add new --salt-size-indicator to --navigationItem-bar-size css var
Update description on blurSelected prop
Add longer label example to storybook
Add FlexLayout to storybook examples
Update docs following content review

When using keyboard 'space' to toggle group expansion, should focus remain on the parent item given no navigation would happen?

Good point, I'll amend it


integration points CI CD

Does Kpow offer a rest api in order to integrate its features to Continuous Integration pipelines?

Hi @leonardotorresaltez this is the next major feature we are bringing to Kpow: REST API for Gitops/CI. This will include a Terraform module.
I'll leave this ticket open so that I can update you on the progress.
FYI we are not sure whether this feature will be placed in our paid product or included in our community edition yet.

Hi @leonardotorresaltez,
Kpow v93.1 introduces an OpenAPI 3.1 REST API to control Kafka, Schema, and Connect resources.
https://factorhouse.io/blog/releases/93-1/
The API is currently only included in the commercial version of our product (not the community edition) but if you would like to try it out you can sign up for a trial here: https://factorhouse.io/kpow/get-started/


SAAS-5317 1.0.9 first release.

First release:

Fixed SSL configurations
Cosmetics / docs / small fixes.

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


First run on Mint 19.2: SIGNATURE VERIFICATION FAILED

Tried twice with same result.

Following command will fix your problem.
gpg --auto-key-locate nodefault,wkd --homedir ~/.local/share/torbrowser/gnupg_homedir --locate-keys<EMAIL_ADDRESS>

Many thanks. That worked perfectly.

How would i resolve this same issue for Ubuntu 18?


Add ruby-package and dependencies for https://rubygems.org/gems/cf-uaac

Description of changes
Added package for cf-uaac.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Hi colleagues, could I kindly ask you to comment if there is something left to do for this change? Or could it be merged already?

Hi colleagues, could I kindly ask you to comment if there is something left to do for this change? Or could it be merged already?

I guess that this PR does not proceed due to the "missing checkmarks". This PR (only) provides the inclusion of a ruby-cli via the standard-approach in nixpkgs. I have not "tested" running it across all architectures (just "x86_64-linux"), but this should not be necessary.
⚠  As I don't know what to do else, I now mark every checkbox. If this is wrong, please don't merge and instead explain what needs to be done.


Gauge equivariant mesh CNN implementations

🚀 Feature
Implementation of the model in https://arxiv.org/abs/2003.05425
Motivation
I would find it very useful to have an implementation of the model in the Arxiv paper above, as I think I will be needing it for a research project.
Additional context

Thanks for the pointer. I would really love to integrate this model into PyG. Please let me know if you are willing to help.

I'd love to help but I am right now helping with the integration of Pytorch Geometric into Pytorch Lightning Flash, and I would prefer not to overload myself with work. Perhaps when I finish with that I can work on this thing, if nobody has done it yet.

Hey @rusty1s. I think I would like to give this a try, even if it might be a bit complicated since I have seen no public implementations so far. Which template do you recommend?

I'm not that familiar with this work, but the unofficial implementation looks great to me TBH.

I left an issue some time ago in https://github.com/Kommiu/GEM-CNN/issues/2 but I did not get any reply. Would it be ok if I give it a try integrating his code (and making reference to it)?

Yes, as long as reference it everything should be fine :)

It will be great to integrate the GEM-CNN paper into PyG!


docs: add guide to use next-cloudinary with custom domain

Description

Issue Ticket Number
Fixes #405

Type of change

[ ] 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)
[x] Fix or improve the documentation
[ ] This change requires a documentation update

Checklist

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have created an issue ticket for this PR
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have run tests locally to ensure they all pass
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

Hello @colbyfayock, Please approve the deploy and review this. Thank you. 😊

thanks @Prathamesh010 overall looks gerat! have a few requests in the comments

thanks @Prathamesh010 overall looks gerat! have a few requests in the comments

I have addressed the comments. Please have a look. 🙂

gerat work, thanks @Prathamesh010
thanks for your contribution. this PR is eligible for free Cloudinary Hackatoberfest swag. Please send me an email at<EMAIL_ADDRESS>with your name, GitHub username, and a link to the PR where I'll send further instructions.
Happy Hacktoberfest!

@all-contributors please add @Prathamesh010 for doc


Mobile Price Classification  by SVM, Random Forest, Logistic and finding the best mobile

Hello @khusheekapoor,
I am a GSSOC'23 contributor
I want to do this project
I will be using this dataset:-https://www.kaggle.com/datasets/iabhishekofficial/mobile-price-classification

Hello @khusheekapoor,
I am a GSSOC'23 contributor
I want to do this project
I will be using this dataset:-https://www.kaggle.com/datasets/iabhishekofficial/mobile-price-classification

@Viswaraje  - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!  Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.

I would like to work for this project under gssoc'23


Cmd throttling

improving debounce test and doco to warn against misuse
adding command factories for throttling and buffered throttling (guaranteeing the last message is dispatched)

The throttling methods are intended for stuff like throttling Progress<> updates from background tasks like the following search does while yielding results from an IAsyncEnumerable:

    let private searchCmd model =
        fun dispatch ->
            async {
                let command = mapToSearchCommand model

                let dispatchProgress = Cmd.bufferedThrottle 100 (fun progress ->
                    System.Diagnostics.Debug.WriteLine("progress dispatched " + progress.ToString())
                    SearchProgress progress)

                let reporter = Progress<BatchProgress>(fun progress ->
                    System.Diagnostics.Debug.WriteLine("progress reported" + progress.ToString())
                    dispatchProgress progress
                        // dispatch messages from returned command
                        |> List.iter (fun effect -> effect dispatch))

                use cts = new CancellationTokenSource()

                do! searchAsync(command, reporter, cts.Token)
                    // yield results from IAsyncEnumerable as they're available, see https://github.com/fsprojects/FSharp.Control.TaskSeq
                    |> TaskSeq.iter (fun result -> SearchResult result |> dispatch)
                    |> Async.AwaitTask

                dispatch SearchCompleted
            } |> Async.StartImmediate
        |> Cmd.ofEffect

I'm a Fabulous and F# freshie, so please have a good hard look at my changes and above intended use case. Feel free to point out anything that looks weird or cumbersome to you - I'm here to learn :)

@h0lg Thank you very much for your PR. It's looking very good.
Sorry for the wait, I was quite busy lately.
Would you have an example where Cmd.bufferedThrottle would be useful compared to Cmd.debounce.
I feel like they are doing more or less similar in that it dispatches only the last message in a given interval.

Would you have an example where Cmd.bufferedThrottle would be useful compared to Cmd.debounce.
I feel like they are doing more or less similar in that it dispatches only the last message in a given interval.

Sure, please have a closer look at above example. It uses Cmd.bufferedThrottle to continuously dispatch the most recent progress event at a max. rate of 100ms (dropping some like Cmd.throttle would do) while also making sure the last progress update is dispatched (kind of like Cmd.debounce does).
A progress is a good example for a buffered throttle because if you want to throttle the dispatch, you don't want to risk losing the last update that completes the progress to regular throttling, which by default doesn't guarantee this.
I've tried to describe this here:
https://github.com/fabulous-dev/Fabulous/pull/1070/files#diff-5e8d1d8af957012671e1fe3e5b793de08e468693877f4eac75ab21fe7526cefcR258-R262
Feel free to suggest a better name for the concept. Maybe rateLimitedStack, throttledStack or lastThrottled?
I found this visualization helpful to grasp the difference between throttle and debounce: https://web.archive.org/web/20220117092326/http://demo.nimius.net/debounce_throttle/

I've added a batchedThrottle variant that throttles the dispatch while returning the pending values in a list message.

type Msg = | Batch of int list // enables batching values of the same type for dispatch

// a factory that batches and dispatches the pending values every 100 ms; takes a value and produces a Cmd
// declare per program or long running background task
let createThrottledMsgBatchCmd = batchedThrottle 100 (fun values ->
    System.Diagnostics.Debug.WriteLine("dispatching a batch of values to the MVU loop " + values.ToString())
    Batch values)

// an optional wrapper for usage inside of Cmd.ofEffect giving the factory function a dispatch signature
let dispatchToThrottledFactory value =
    System.Diagnostics.Debug.WriteLine("dispatching a single value to the throttled batch factory " + value.ToString())
    createThrottledMsgBatchCmd value |> List.iter (fun effect -> effect dispatch) // make the MVU dispatch available to the returned command

produceIntegersFast dispatchToThrottledFactory // prevents this function from spamming the MVU loop

I've added a second return value to Cmd.batchedThrottle that allows waiting for the next dispatch to make sure dispatch has completed from outside of the factory method.
let createCmd, awaitNextDispatch = Cmd.batchedThrottle 100 NewValues
... some awaited (!) producers using createCmd ...
// wait until next dispatch plus a little optional buffer to avoid race conditions
let! _ = awaitNextDispatch (Some(TimeSpan.FromMilliseconds(10)))
// I can be sure now all messages have been dispatched

What do you think about this pattern? Cmd.debounce and Cmd.bufferedThrottle could benefit from a similar mechanism.

In the latest iteration I've rewritten Cmd.batchedThrottle to be a Dispatch extension - because I found it awkward how the Cmd method forced me to iterate the contained effects to make the dispatch available to them. See the |> List.iter (fun effect -> effect dispatch) above.
This version, dispatch.batchThrottled, I found to fit more naturally in my scenario, which is a rapidly producing and progress reporting IAsyncEnumerable<'value> on a background task , i.e. with dispatch available.
I can for example write extensions like
type AsyncEnumerableExtensions =

    [<Extension>]
    static member dispatchTo((this: Collections.Generic.IAsyncEnumerable<'result>), (dispatch: 'result -> unit)) =
        async {
            let results = this.GetAsyncEnumerator()

            let rec dispatchResults () =
                async {
                    let! hasNext = results.MoveNextAsync().AsTask() |> Async.AwaitTask

                    if hasNext then
                        results.Current |> dispatch
                        do! dispatchResults ()
                }

            do! dispatchResults ()
        }

    [<Extension>]
    static member dispatchBatchThrottledTo
        (
            (this: Collections.Generic.IAsyncEnumerable<'result>),
            throttleInterval,
            (mapPendingResultsToBatchMsg: 'result list -> 'msg),
            (dispatch: 'msg -> unit)
        ) =
        async {
            // create a throttled dispatch of a batch of pending results at regular intervals
            let dispatchSingleResult, awaitNextDispatch =
                dispatch.batchThrottled (throttleInterval, mapPendingResultsToBatchMsg)

            do! this.dispatchTo dispatchSingleResult // dispatch single results using throttled method
            do! awaitNextDispatch (Some throttleInterval) // to make sure all results are dispatched before calling it done
        }

and then throttle the progress reporting as well as the result dispatch effectively:
type Msg
    | SearchProgressReports of BatchProgress list
    | SearchResults of SearchResult list

let private searchCmd model =
    fun dispatch ->
        async {
            let command = mapToSearchCommand model
            let dispatchProgress, awaitNextProgressDispatch = dispatch.batchThrottled(100, SearchProgresses)
            let reporter = Progress<BatchProgress>(dispatchProgress)
            use cts = new CancellationTokenSource()
            do! searchAsync(command, reporter, cts.Token).dispatchBatchThrottledTo (100, SearchResults, dispatch)
            do! awaitNextProgressDispatch (Some 100) // to make sure all progresses are dispatched before calling it done
            dispatch CommandCompleted
        } |> Async.StartImmediate
    |> Cmd.ofEffect

Whether - and if, in what form - you want this in Fabulous is up to you. But I found it this helpful to prevent the MVU loop from choking up when feeding too many messages into it too rapidly.


CORGI-811 many to many models 2

This is an updated version of PR#719 which fixes some of the issues identified in that PR. It bases on top of the changes in PR#722, so it's best to review that change first. When reviewing this PR, only look at the last commit. I will merge this PR and close PR#722 one both are approved.
This PR changes the productstreams attribute of the ProductVariant model from a ForeignKey to a Many-to-Many relationship.
It also consolidates the ofuri generation logic into a single function of ProductModel. This new version uses the ProductNodes to build the ofuri for a Product. This change means that we now need to create the ProductNode tree before creating the ProductModel. Because we need the ProductNode tree in place before generating an ofuri I've also changed the way we build the product[version,stream] attributes so that they are populated when save_product_taxonomy is called.
Another major change is the way we remove a ProductModel from a Component. Now we always reset the product taxonomy from what is in the relations table. Because of the change of productstreams attribute, it was no longer possible to infer sibling in the ProductNode tree before removing parent models.
I've change the way ProductNodes for the relationship between stream and variant is created in the parse_errata_info function of prod_defs, update_products task so that it always updates the type to DIRECT if an existing relationship (of type INFERRED) exists. I do this because quarkus-2.13 at least tried to create both INFERRED and DIRECT relationships. The whole function happens in a transaction, so any switch will take effect only at the end of the update_products function, in an atomic fashion.

@RedHatProductSecurity/corgi-devs please review


Explain common error

Instructions for enabling the endpoint are already linked to, but adding in the error message that's encountered when a user misses this step to make these instructions more easily findable.

@MarkMpn As you mentioned, we have already mentioned how to enable this feature so adding this note again seems redundant. So, I am closing this PR without merging.
Thanks for contributing to our docs/


KAFKA-7599: Don't throttle in Trogdor when targetMessagesPerSec is 0

This PR solves the feature request KAFKA-7599
Instead of disabling throttling when targetMessagesPerSec is absent, it will disable when the value is set to 0. This commit also allows an unrestricted number of messages when maxMessages is set to 0.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Testing shows results are in line with what is expected:
produce4-produce-workload.2020-04-06T21:11:40Z.cc-trogdor-service-agent-7.topic-experiment1-topic1004-step-0-start-1586207500089": {
15:12:37        "state": "DONE",
15:12:37        "spec": {
15:12:37          "class": "org.apache.kafka.trogdor.workload.ProduceBenchSpec",
15:12:37          "startMs":<PHONE_NUMBER>089,
15:12:37          "durationMs": 3586000,
15:12:37          "producerNode": "cc-trogdor-service-agent-7",
15:12:37          "bootstrapServers": "SASL_SSL://pkc-qrdjd.us-west-2.aws.devel.cpdev.cloud:9092",
15:12:37          "targetMessagesPerSec": 0,
15:12:37          "maxMessages": 0,
15:12:37          "keyGenerator": {
15:12:37            "type": "sequential",
15:12:37            "size": 4,
15:12:37            "startOffset": 0
15:12:37          },
15:12:37          "valueGenerator": {
15:12:37            "type": "uniformRandom",
15:12:37            "size": 512,
15:12:37            "seed": 0,
15:12:37            "padding": 0
15:12:37          },
15:12:37          "commonClientConf": {
15:12:37            "compression.type": "lz4",
15:12:37            "auto.offset.reset": "latest",
15:12:37            "linger.ms": "100",
15:12:37            "security.protocol": "SASL_SSL",
15:12:37            "sasl.mechanism": "PLAIN"
15:12:37          },
15:12:37          "activeTopics": {
15:12:37            "experiment1-topic1004": {
15:12:37              "numPartitions": 1000,
15:12:37              "replicationFactor": 3
15:12:37            }
15:12:37          },
15:12:37          "inactiveTopics": {},
15:12:37          "useConfiguredPartitioner": false,
15:12:37          "skipFlush": false
15:12:37        },
15:12:37        "startedMs":<PHONE_NUMBER>090,
15:12:37        "doneMs":<PHONE_NUMBER>098,
15:12:37        "cancelled": false,
15:12:37        "status": {
15:12:37          "totalSent": 20817847,
15:12:37          "averageLatencyMs": 294.23782,
15:12:37          "p50LatencyMs": 265,
15:12:37          "p95LatencyMs": 603,
15:12:37          "p99LatencyMs": 782,
15:12:37          "transactionsCommitted": 0
15:12:37        }
15:12:37      }

In the consume bench constructor, I see we're setting the per-period throttle to Integer.MAX_VALUE if the given target messages per second is lte zero.
https://github.com/apache/kafka/pull/8434/files#diff-12238995758b8c7c71e48a9be7a3d1caR208-R214
But we don't have the same logic in the produce bench constructor. Maybe that's the change we need to make here?

Actually, maybe we can move this logic into WorkerUtils.perSecToPerPeriod so that anything using a throttle has the ability to run un-throttled with a value of zero

I changed the Throttle class so that Throttle.increment() would be a noop when maxPerPeriod <= 0

0 to mean infinite is a bit confusing. Maybe we can use -1 instead?

0 to mean infinite is a bit confusing. Maybe we can use -1 instead?

This is anything 0 or less though.  I would prefer 0 because our current clients do calculations before submitting the values and -1 would make this incredibly difficult.
0 is not a valid input for producers in the current code, which is why we figured 0 would be OK here.

This is anything 0 or less though. I would prefer 0 because our current clients do calculations before submitting the values and -1 would make this incredibly difficult.

Can you elaborate on this? It's unclear to me why -1 would make it incredibly difficult.

@ijuma
Without getting too much into our testing details, our test harness takes a desired throughput and partitions it up among the Trogdor nodes as ProduceBenchSpecs.  Our messagesPerSecond parameter is calculated.  Our calculation is Math.Ceiling(ThroughputBps / (Trogdor Nodes * (MessageSize + KeySize)))
If the end value we need is -1 we have to rework all our equations or the test harness itself to get exactly -1.  If we use 0, we can still use the same harness and just specify a throughput of 0.
This change would make any non-positive number run unbounded.  -1 would still work as unbounded.  Non-positive numbers are already invalid inputs for these functions, which is why I had hoped 0 would be acceptable.


New release and Spark 3

Is your feature request related to a problem? Please describe.
Spark 2 will be soon discontinued in Databricks and other platforms. Spark 3 is more than year old at this point
Describe the solution you'd like
New official release of MMLSpark, that would support low latency serving of Spark 3 MLlib models with Spark Serving
Additional context
Latest release proper seems to be v0.18.1 from Aug 20, 2019. There are serveral relases marked as rc after that. Latest from Oct 2, 2020.
Even though repository seems to be actively maintained.
It would be great to know, what are the plans with MMLSpark in near future. If the repository will be actively maintained and if there will be regular releases.

This library seems great but abscence of Spark 3 stops us from using it on all our projets.
Keep up the good work though.

By the way I am kind of suprised, that there is not a plenty of questions about Spark 3 support and release frequency. Maybe I am just missing something?

Would also love an update on Spark 3 support timeline.

Spark 3 already supported though we haven't cut the release due to largely bureaucratic reasons ;). The official cut will be coming in the next month or so.
The latest master coordinates are:
MMLSpark Build and Release Information
Maven Coordinates
com.microsoft.ml.spark:mmlspark:1.0.0-rc3-148-87ec5f74-SNAPSHOT
Maven Resolver
https://mmlspark.azureedge.net/maven
Documentation Pages:
Scala Documentation: https://mmlspark.blob.core.windows.net/docs/1.0.0-rc3-148-87ec5f74-SNAPSHOT/scala/index.html
Python Documentation : https://mmlspark.blob.core.windows.net/docs/1.0.0-rc3-148-87ec5f74-SNAPSHOT/pyspark/index.html

@mhamilton723 checking in on the status here. Any updates with Spark 3 release?

Spark 3.1.2 is supported on master though we haven't cut the release due to largely bureaucratic reasons ;). The official cut will be coming in the next month or so.
The latest master coordinates are:
MMLSpark Build and Release Information Maven Coordinates com.microsoft.ml.spark:mmlspark:1.0.0-rc3-148-87ec5f74-SNAPSHOT
Maven Resolver https://mmlspark.azureedge.net/maven
Documentation Pages: Scala Documentation: https://mmlspark.blob.core.windows.net/docs/1.0.0-rc3-148-87ec5f74-SNAPSHOT/scala/index.html Python Documentation : https://mmlspark.blob.core.windows.net/docs/1.0.0-rc3-148-87ec5f74-SNAPSHOT/pyspark/index.html

Looks like this coordinate is outdated. What is the newest coordinate and can I find them myself?


Add support for updating corral add instructions in README.md

This commit expands the scope of the action-readme-version-updater to
be focused not only on updating our standard action READMEs. This
change makes the action-readme-version-updater useful with our normal
library READMEs that include instructions on how to use the library
via corral. "Corral add" instructions can now include the proper
current version.
This change will result in action-readme-version-updater being renamed
to readme-version-updater-action.

Hi @SeanTAllen,
The changelog - added label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 14.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.


Game crashes when changing audio output (to bluetooth speakers)

Operating system or device - Godot version:
Android 6.0.1, 6.0.0, 5.1.1, 5.0.2 - Godot 2.0.3
Issue description:
Godot crashes when I'm starting the app with my phone speakers as audio output, and then connect the phone to Bluetooth speakers while playing.
Steps to reproduce:
Run a Godot game and connect to bluetooth speakers.

Related to #1684.

Not critical for the upcoming 2.1, so moving to the next milestone (though for the stable branch would be very welcome).

Most likely fixed in 2.1.3 as mentioned by @timoschwarzer on #7272. Might reopen if still present.


refactor(graph-gateway): deduplicate indexer and subgraph info

Part of https://github.com/edgeandnode/gateway/issues/791


Body is not being detected

I ran PyKinectBodyGame.py, and stood in front of the sensor. No body is detected, yet when I use another library, my body is detected. Is there anything I can do?

what other library did you use ?

Thanks for replying... LibKinect2 (https://github.com/sshh12/LibKinect2).

Try unistalling KinectStudio and installing it again. I remember that in order to detect the body you have to have a distance from the sensor.

Hey!!, I was going through the same situation and it got solved as soon as I downgraded python from ´3.8´ to ´3.6´ , and as stated in other issues make sure comtypes is installed in version ´comtypes==1.1.4´
Hope this helps! :)


L-BFGS for HessianUpdateStrategy

When the input vector is large, BFGS and SR1 HessianUpdateStrategy give memory error. Is it possible to use L-BFGS for the Hessian update, which should reduce the memory requirements for Hessian.

Any updates?

First, I assume that you are using trust-constr, as HessianUpdateStrategy is only available for that method. Only SR1 and BFGS are available at this time. If you were to implement a class that inherits HessianUpdateStrategy and implements its methods then you would also be able to use that.
Is it imperative that you use trust-constr?

Hi, yes, I am using trust-constr and the existing Hessian update strategies can easily exceed the memory limit of normal computer when large scale optimisation required. Adding L-BFGS hessian update will make the trust-constr a more general optimisation algorithm. I tried to code it up, but have not been able to do it...I just wandering if anyone is familiar with the L-BFGS hessian update and could help on this.

@MarcYin, is there a reason why you can't use L-BFGS-B directly?

Hi, it seems that the trust region method is more robust when the optimised variables are highly correlated compared to the L-BFGS-B from here: http://fa.bianp.net/blog/2013/numerical-optimizers-for-logistic-regression/.
In my case, I have a large number of variables (more than 300,000) that are highly correlated, so I want to have a go with the trust region method but with limited memory requirement, to see if there is an improvement on the reduction of iterations or total optimisations time.

Hi what is the status on this? If the documentation is correct, lots of the scipy.optimize optimizers do now support HessianUpdateStrategy. There is also now some evidence in the literature that L-BFGS Hessian update is robust enough to be used in other scenarios than the L-BFGS-B paper (there is for instance, this paper dealing with this). I think it could be useful to port it into HessianUpdateStrategy. I'd be happy to submit something if that's useful

Hi again @paulestano , in general you can pick up any issue as long as there is no open PR yet. :)


[Bug] release template has sth wrong with KEY URL

What happened
KEY URL in the release email template is wrong.
What you expected to happen
we should use the official KEY URL.
How to reproduce
See https://inlong.apache.org/development/how-to-release
Environment
No response
InLong version
master
InLong Component
Other for not specified component
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

closed by https://github.com/apache/incubator-inlong-website/pull/169


[FEATURE]: make X-Super-Client header required

What problem does it solve
It requires clients using the hosted version of the API to send along a X-Super-Client header that identifies their application, and optionally a X-Super-Contact header with developer contact info.
This allows us to identify applications and contact developers when implementing breaking changes or if their apps are causing problems.
What is the solution
Make the header required (after a grace period)
Existing alternatives
none
Added value
This allows us to identify applications and contact developers when implementing breaking changes or if their apps are causing problems.
Additional notes
Provide a way to disable this check for self-hosted containers

What kind of grace period are we looking at for mandatory implementation?

mostly depends on how fast I can identify most developers and communicate the changes
We left the Elixir version up and running for approximately 30-50 days

HellCom Support PR #11


Time doubles when using countdown timer in background

I have a countdown timer that runs in the background using observables but the time doubles when put in background mode. Thoughts?

Probably because its getting reduced cpu priority once in background. How's the timer implimented?
If its something like a setTimeout/setInternval ... Perhaps it might be better structured like below where its not requiring every tick to increment itself.
var endTime = 412341412;
if(now >= endTime){
//timer ended
}else{
console.log( (now/endtime)*100 +  "  % completed" )
}

Yeah it's a pomodoro timer... code is below:
timerTick() {
setTimeout(() => {
if (!this.runTimer) { return; }
this.remainingTime--;
this.displayTime = this.getSecondsAsDigitalClock(this.remainingTime);
if (this.remainingTime > 0) {
this.timerTick();
}else {
this.hasFinished = true;
console.log("time's up");
}
}, 1000);
}
I don't know how to implement your version, but I wonder if I could just set a condition that if it's in background mode, to divide the timer by 2.

Timers in javascript are annoyingly inaccurate... When the app gets put in the background it does indeed put in secondary priority for the CPU, hence slowing down it's timers.
Have you tried the option that disables webview optimisations? I doubt it will be perfect to the milisecond but you might find it helps a bit.


MSI Mainboard LEDs

Hi!
I'd like  to know if you can also change the colours of the LEDs on the mainboard with yout tool (my mainboard is a MSI Z170A Gaming Pro Carbon). If not, is it possible to add this feature to your tool or create a new tool, which can do that? Because I really don't want to use the Gaming App.
Thank you

This tool only focuses on the GPU. I suppose it would be possible to make one for motherboards as well, but I don't own any MSI hardware myself so when I created the GPU variant others tested it for me. In this case you can be a test dummy if you want... 🚀

Hi!
What could happen at worst if i am your test dummy? Can my mainboard get damaged? If nothing can happen i will be your test dummy :)

Not really. It's a bit difficult to explain, but breaking your motherboard is pretty much impossible. I just need someone to confirm that it does what it should do.

Ok. Then i will be your man. Just tell me what to do :)

I'm currently out of the country. I might have something for you to test somewhere during the weekend.

Alright. Thank you!

This feature would be great, i can also help to test a new program.


Attachments [feature request]

It would be nice if we could send an attachment together with the message. Maybe somebody wants to send the APK directly in the message or you could generate a QR code for the install page and include that one as attachment.

Thanks for the feature request @SamuelDebruyn !

Seconded!

Anyone, feel free to send a PR with the implementation - we'll try to allocate time for this, but we have other, higher priority tasks in our list we have to finish first.

Also, if you don't have time to implement this you could still help us/someone who will implement it with information like:

How the attachment would be constructed in terms of a Step input? What would be the input?
Would there be multiple slots/inputs for multiple attachments?

I think this was implemented in https://github.com/bitrise-io/steps-slack-message/pull/14
Should work for QR codes too.
If something's still lacking just let us know and we'll re-open this issue!


chore: release 3.2.1

:robot: I have created a release *beep* *boop*
3.2.1 (2021-10-01)
Bug Fixes

do not output install cmd if no dependencies (#371) (7942711)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/project-calavera/project-calavera/releases/tag/v3.2.1 :sunflower:


Update and rename content/github/site-policy/github-community-guideli…

…nes.md to obsah/github/zásady lokality/github-community-guidelines.md
#2063 #5704 #8111 #8107 0

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

G


keras.layers.GRU behaves differently in GPU and CPU

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.18, tf 2.19
Custom code
Yes
OS platform and distribution
WSL Ubuntu 22.04.5 LTS
Mobile device
No response
Python version
3.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
12.6/9.6
GPU model and memory
No response
Current behavior?
The result of the following code is the length of the GRU output variable.
The result is 2 when I executed the code with no GPU by export CUDA_VISIBLE_DEVICES= .  One is the output sequence, and the other is the state of GRU. However, the result is 5 = 1 + batch_size when I executed the code with GPU. The first is the output sequence, and the others are the state of GRU with batch unpacking.
Standalone code to reproduce the issue
import tensorflow as tf
from tensorflow.keras.layers import GRU

batch_size = 4
time_steps = 10
rnn_dimension = 16
input_dim = 8

x = tf.random.normal((batch_size, time_steps, input_dim))

gru = GRU(rnn_dimension, return_sequences=True, return_state=True)

gru_output = gru(x, training=True)
print(len(gru_output))

Relevant log output
No response

Hi @lwk8891 , Apologies for the delay, and thank you for raising your concern. I tried running your code on Colab using TensorFlow 2.18.0 with both CPU gist and GPU and faced the same issue. The reason behind this issue is that when running on a GPU, TensorFlow uses the cuDNN-optimized GRU kernel. Even if you set implementation=2, the output may still differ on the GPU because the GRU layer internally optimizes for cuDNN, which can unpack the batch dimension for hidden states.
To resolve this, you need to explicitly disable the cuDNN kernel for the GRU. I achieved this by setting reset_after=False, and it produced the expected results. Please find the gist here for your reference. Thank you!

Thank you. It solved the problem.
However, would setting reset_after=False affect the performance of the program by disabling the cuDNN kernel?

Hi @lwk8891 ,
Glad to see your issue is resolved. However, I suspect there might be a performance impact when using reset_after=False.
Thank you!


Invalid argument(s): Failed to lookup symbol 'load_ml_model': dlsym(RTLD_DEFAULT, load_ml_model): symbol not found

When using
await PytorchLite.loadClassificationModel(         "assets/models/best.pt",         640,         480,         9,         labelPath: "assets/labels/labels.txt",       );

What platform are you testing on,
Also did you close the app and rebuild it after adding the package?

iOS
Yes, I also tried cleaning and removing the podfile.

I will try to test, but can you provide an example repo? Or configuration since my integration tests work

https://github.com/tnghieu/sharkeye

Hello, thank you for the repo, sadly I am not available this week

Hi @zezo357, I've made updates and used the export to torchscript and I am still seeing the same error. Is this compatible with iOS?

Using my GitHub actions, yes it works on both iOS and Android
I will need more details, like the version you are using in pubspec
Flutter doctor -v

[✓] Flutter (Channel stable, 3.13.1, on macOS 13.5 22G74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.80.2)
[✓] Connected device (3 available)
[✓] Network resources
pytorch_lite: ^4.0.0
My repo has latest changes with the model weights.

Thank you, can you wait for next weekend? Since I can't try now as I mentioned

Yes I can wait. Thank you for your time.

been trying for a while the only solution i found is to add the cpp file in Compile Source in xcode
which is a very bad workaround since whenever i update the package you will have to update it
so i am thinking of going back to native

Think this will fix the large size on both android and ios
Having good speed since it will use native ways to handle images

i will try to maintain new interface and just change the back logic
sadly it may take sometime to completely migrate back and add the ios logic since i dont understand obj c or swift
sorry for the inconvenience and if i can help with something else let me know
btw loved the idea of your project simple and does the job very good

Thank you. I look forward to the updates.

Hi @zezo357 , I see you've made a new update/PR. Thank you for the work!
I do have a question - does this library support object detection models? I ask because google-ml-object-detection library in Flutter can only use custom image classification models.

Hi @zezo357 , I see you've made a new update/PR. Thank you for the work!
I do have a question - does this library support object detection models? I ask because google-ml-object-detection library in Flutter can only use custom image classification models.

yolov5 and yolov8 are supported yes

please check version https://pub.dev/packages/pytorch_lite/versions/4.1.0-dev
camera code is tested on android but not tested on ios hopefully it works (will need someone to test it and report its status)

Fixed in 4.2.0


not working

I tried to load the tpk file but nothing happens...

@amarshilpakar the official version of the library is over in this repo: https://github.com/Esri/offline-editor-js/tree/master/lib/tpk
Did you get any console errors? How did you create the TPK?


os-telegraf : ping6 broken in 22.1

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[X] The title contains the plugin to which this issue belongs

Describe the bug
Under Opnsense 22.1.1_3, Ping Hosts (IPv6) doesn't work anymore and generates an error message in logs. The same setup worked correctly under 21.7 before upgrade.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Go to Telegraf > Input
Enable Ping (IPv6) and input an IPv6 address in Ping Hosts (IPv6)
Go to Log File
No ping6 metrics are generated and an error message appears for each ping6 attempt :

2022-02-26T17:14:40 |   |   | E! [inputs.ping] Error in plugin: host 2001:db8::1: ping6: illegal option -- x |
-- | -- | -- | -- | --
  |   |   | [-W waittime] [-z tclass] [IPv6-hops ...] IPv6-host, exit status 1 |
  |   |   | [-p pattern] [-P policy] [-S sourceaddr] [-s packetsize] [-t timeout] |
  |   |   | [-I interface] [-i wait] [-k addrtype] [-l preload] [-m hoplimit] |
  |   |   | ping [-6AaDdfHnNoOquvyY] [-b bufsiz] [-c count] [-e gateway] |
  |   |   | [-z tos] IPv4-mcast-group
  |   |   | [-S src_addr] [-s packetsize] [-T ttl] [-t timeout] [-W waittime] |
-- | -- | -- | -- | --
  |   |   | [-l preload] [-M mask | time] [-m ttl] [-P policy] [-p pattern] |
  |   |   | ping [-4AaDdfHLnoQqRrv] [-C pcp] [-c count] [-I iface] [-i wait] |
  |   |   | [-s packetsize] [-t timeout] [-W waittime] [-z tos] IPv4-host |
  |   |   | [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr] |
  |   |   | [-g sweepminsize] [-h sweepincrsize] [-i wait] [-l preload] |
  |   |   | ping [-4AaDdfHnoQqRrv] [-C pcp] [-c count] [-G sweepmaxsize] |
  |   |   | usage:
Expected behavior
No error should appear in logs and ping6 metrics should be generated.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
If applicable, information from log files supporting your claim.
Additional context
The ping utility changed in FreeBSD13, -x doesn't exist anymore.
Environment
Not relevant

You're right, bug is located upstream. I couldn't find a bug report there, I opened https://github.com/influxdata/telegraf/issues/10743

Bug is fixed upstream in release 1.24.4, can you update please ?


Default Sia directory

It would be useful if Sia defaulted to a standard directory instead of defaulting to the current directory on startup if the -d or --sia-directory flags are not specified.
We could follow Bitcoin and set the default directory to:
~/.sia for Linux
~/Library/Application Support/Sia for OS X
%APPDATA%\Sia for Windows

Please don't put the data directly in the home directory, my home dir is already bloated enough with all those spec-breaking steam games. You can use ~/.local/share/sia instead. It's the recommended location for app data according to the freedesktop specification.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Also, ubuntu doesn't set the XDG variables by default, it's recommended to fallback to $HOME/.local/share: http://askubuntu.com/questions/538526/is-home-local-share-the-default-value-for-xdg-data-home-in-ubuntu-14-04

I will also mention that last time we had sia default to a specific directory people lost millions of coins because multiple instances of Sia started overwriting the same files in incompatible ways.
The wallet today is much, much safer, so the result wouldn't be millions of coins lost, but I'm sure there would be headaches nonetheless.

You could append the wallet version number to the wallet file, and then add a button or API call to import the previous version wallet. That may not always be necessary, since the wallet code doesn't change with every version.
Maybe you could even add a different versioning scheme for wallet code so only incompatible wallets need to be imported.

The real problem I think came from people having multiple running at a time, especially when trying to transfer coins from one to the other.
I was thinking we could have a different directory for each port. But then if you want to launch siad on a new port number you'll either need to copy it, or you won't have your data.
We're already pretty overwhelmed with the UX stuff just trying to figure out how to make the API secure. We might make siad installable at some point, but I think our time is best spent on the other UX stuff for now.

@DavidVorick #1225 would prevent multiple instances using the same directory and corrupting the files.

I think for the time being we want to keep siad portable, this is especially doable since we have in-place updates.

so is it possible to set --datadir for sia?


example of Mamba being trained on a continuous time series classfication task

can you please provide an example of Mamba being trained on a continuous time series classfication task

Mamba has the same interface as any other deep sequence model. There are many examples of how to use e.g. Transformers to perform time series classification. You can do the same thing for Mamba.


cannot find pysparkkernel by using python version >=2020.2.62710

Bug: Notebook Editor, Interactive Window, Editor cells

I was using command 'kernelspec install' to install kernel for pyspark as pic1. I found that if the python version >=  >=2020.2.62710. The warning msg is as pic2. I didn't make any changes to my own code . Hence, I suspect that some changes in that version break it. Would you mind take a look at it? Thanks in advance!

pic1

(a)

(b)
pic2

Your Jupyter and/or Python environment
Version: 1.42.1 (user setup)
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:45:59.656Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363
Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

What do your pyspark kernel json files look like? If they don't specify 'python' as the language we'll ignore them.

I specified it. Previously, it would work if I specify it

Does jupyter kernelspec list find it? That's how we search for it. You'd have to run that from whatever jupyter we're using (should be able to tell from the Jupyter output tab)

it does not find it when I run 'jupyter kernelspec list'

How did you install it? Jupyter needs to be able to find it in order for us to use it.

I use 'jupyter kernelspec install'.

It seems that the Jupyter cannot find the pysparkkernel even if I specify the language as python. I didn't do any code changes from my side when I try it. Also, the pysparkkenel can be seen if I just use ms-python whose version is less than 2020.2.62710

Until jupyter kernelspec list finds it, it won't work. Not sure why jupyter isn't finding it. Do you have a way I can try the same kernel?

Looks like you have some funky kernel locations:

Run juyter kernelspe  list
Find where the kernelspecs are located (directory)
Copy the kernelspec folder for pysparkkernel into the above directory manaully
Run juyter kernelspe  list, confirm the pyspark kernel is in the list.

Hello @rchiodo
Thanks for your reply! You can try as following steps:

download our extension through here:https://marketplace.visualstudio.com/items?itemName=mshdinsight.azure-hdinsight

install three packages as this:

ctrl+shift+p(windows) to get a command list, and run command 'Azure sign in'

create a python file, and run command 'pyspark interactive' by selecting a piece of code and clicking on the command

test.py file is sent to you by teams
Thank you!

Also, @rchiodo , please remove this file: C:\Users\zes.msvscode.hdinsight before you try a different version of ms-python each time. we install the kernel file under this folder: C:\Users\zes.msvscode.hdinsight\hdinsightJupyter\share\jupyter\kernels

Hello @DonJayamanne ,
Thanks for your reply! I copy the file folder for pyspark kernel to the C:\Users\zes\AppData\Roaming\jupyter\ and run 'juyter kernelspe list'.

full path is :C:\Users\zes.msvscode.hdinsight\hdinsightJupyter\share\jupyter\kernels

@zesluo I can't get the virtualenv to work with the window's store python  so the hdinsightJupyter installation never works. Can I use 'venv' instead?

@rchiodo we're working on fixing that issue

@rchiodo please download python from this link:   https://www.python.org/downloads/..  thanks

The main cause is that python cannot get the kernel in virtualenv. In fact, we expect to start a jupyter in a virtualenv which is installed to the cx's user folder by our tool. However, when the python version is higher than 2020.2.62710, the logics for starting a jupyter has changed. As a result, it goes to C:\Users\zesluo\AppData\Roaming\jupyter to search for the jupyter instead of virtualenv.

So after going through your install steps, you're using your own jupyter. We use a different one. That's why we don't find your kernelspec.
You should be able to change the jupyter we use to match yours but we can't seem to find it. This command here should allow you to select the pyspark jupyter:

@DonJayamanne do you know if we support finding virtualenvs? On my local box, our interpreter list never includes the custom one installed by the pyspark extension.

do you know if we support finding virtualenvs?

Yes we do.

On my local box, our interpreter list never includes the custom one installed by the pyspark extension.

We look in specific folders. If you want you can add the root directory where pyspark virtual env is into the the following section in settings.json
python.venvPath

@zesluo  let us know if changing the jupyter interpreter works for you.

that works for me. Thank you!

Hello @DonJayamanne, @rchiodo, I' m using the above method to refer to the virtual python. However, it cannot work.
The pic below can work for me. But users have to take this extra action every time they install our tool.
Is there any better solution for this issue? Thanks a lot

@zesluo I think a better solution would be to provide some sort of extensiblity API for your team to use.
I believe the crux of the problem is you need the user to use your pyspark kernel, right? So if we had an API that would allow your extension to provide kernels in our kernel drop down, that would solve the general problem?
I don't believe we want to have the user use your jupyter server if we can help it, which is what the command above is doing. Unless there's something specific to that jupyter server that needs to be there for pyspark to run.
However if you do need your jupyter server to be used, then maybe another way to do this would be to use the extensibility API that the AML extension uses. We should talk through e-mail / teams about what your team needs.

is it fixed？

No there is no such API. This was likely closed in error (or at least we should have added more information). @zesluo can you submit an issue (or send an e-mail) asking for the extensibility point?
Thanks.


Memory usage on Windows

Hi, we've been battling memory usage on Windows at Subspace for a while and the gist of it is that Windows is just horribly bad at not using huge amounts of memory with memory-mapped files or any other files that don't disable buffering completely (I don't think https://github.com/paritytech/parity-db/pull/235 has a major impact).
I tried to convince Windows developers that it makes no sense, but they remain unshakable, see discussion at https://github.com/rust-lang/rust/issues/122473
TL;DR: To get controllable memory usage on Windows the only solution is to throw Windows kernel's file system "smartness" out of the window to the maximum extent possible with FILE_FLAG_WRITE_THROUGH | FILE_FLAG_NO_BUFFERING and do direct reads manually. I wrote a wrapper for this purpose that I think may deserve to become a library.

Is this really an issue? Did you observe the software actually running out of memory?
To me it seems the difference beween linux and windows is just in a way memory usage is reported to the user. Task manager in windows shows mapped memory as being "used". But this memory is not locked. As soon as there's memory pressure it can be unmapped by the OS reducing the working set.

This is an issue, yes it is possible to run out of memory, which is why we switched from memory-mapped I/O at Subspace. In fact Windows will use memory-mapped I/O even for regular file system operations internally unless buffering is explicitly disabled.
The core issue is that while that memory is hypothetically reclaimable by the kernel, Windows is spectacularly bad at that. So on one hand it is an issue for a user that they see high (often close to 100%, but not quite 100%) memory usage, on the other hand since Windows placed a bunch of useless crap into memory, apps that actually need memory for something useful start to lag and when Windows is not able to reclaim memory fast enough simply crash outright.
It is a bit smaller issue with database due to physical size of it, with multi-TB files we had a really horrible user experience with memory-mapped I/O. But it is still work fixing and moving logic into applicaion domain with proper control over what is stored in memory and for how long.


Export all the average metrics in the sqlite database

Missing metrics are

build
epsilon
largeepsilon
indexsize
queriessize

This will be fixed by #16