Fix/wiki authors

This PR adds the tool I used to fix the author formatting on wikiteam dumps and updates the dolma file creation code that caused the mismatch in the first place.
It also adds the tools I used to find and remove probable transcripts of copyrighted works.

The wikiteam3 scraping tool, which is what most of the wiki's on the internet archive use, doesn't format page revision correctly. It creates the same xml format that the mediawiki format uses (<page><revision>...</revision></page>), but when there are multiple revisions to a single page it creates multiple <page>...</page> elements (one for each revision) instead of folding them into a single page with multiple revisions (<page><revision>...</revision><revision>...</revision>...</page>). We though about reducing these multiple edits into a single document, but we didn't as it would have been hard to tell which edits are useful to keep as full documents and which are small enough that they should be absorbed. Thresholding some kind of edit distance is basically what the (eventual) dedup process will be so it didn't seem worth it.

Hi, I'm wikiteam3 developer, let me explain this.
There are basically two xml dump strategies in wikiteam3:

Export page-by-page (per-page) like the MediaWiki cli tool does. Unfortunately, the 95-5 Rule also exists on wikis, and 95% of wiki pages have never been edited since they were created. Per-page export will waste a lot of request time (to prevent flood, we delay 1.5s between requests) on these unedited pages (each request can export <= 50 edits of a page). And in order to do the per-page export, we also need to request API:Allpages first to get all the page names of the entire wiki, which also takes time.
Use MediaWiki API:Allrevisions . By iterating over the revisions table, each request can steadily get 50~500 revisons (edits) on the entire wiki. This will produce the phenomenon you described (and if pageid of some revisions are the same in one API response, wikiteam3 will try to combine them into one .). But the advantage is that we don't need to get the list of page names in advance, and each request can get more revisions.

The xmldump produced by API:Allrevisions also meets MediaWiki's page export format's requirements.


Client does not detect player/location change after recent game update

Recently Albion Online rolled out a new version with multi-region support. Albion Data Client stopped detecting player and location change.
Repro steps:

Run latest ao-data client.
Start Albion Online and log in.
Appear at any location.
(optional) Try changing location in the game

AR:
Player is not detected, there is no message in the console and scanning market prices results with errors in the console.
ER:
Player and location are detected. market prices can be scanned

There was an update yesterday. I verified the client is still working as of this post (there was another small patch this morning). It's working as expected.
Please update your client. Reopen this issue if there is still a problem after updating your client.


ARM Support on Docker-Hub

I would like to run the docker_exporter on my Raspberry PI. Could you please publish your Docker image for am on Docker-Hub?

+1

for the time being you can use my build for ARMv7 (e.g. raspberry) here


Prepare a generic issue template

Prepare and configure a generic issue template for the project

Prepare a generic issue template


Remove broken link

Currently http://www.marekzaluski.com/ is broken and removed.
@marekweb if you fixed it, open a PR to put it back and reply to this ticket.
/cc @RichardLitt

Thanks @khos2ow


WIndows directory of the linux subsystem

I cant find the windows path of the linux subsystem which is inconvenient as I want to copy files into the directory from windows.

It's located under /mnt/ i.e. /mnt/c is your C drive.

What I mean is the subsystem path in the C directory. I want to access the subsystem path in WIndows Explorer.

My mistake.

Under C:\Users\**user**\AppData\Local\lxss.
You will find:
root folder
home folder
and a hidden rootfs folder (\bin,  \boot,  \dev,  \etc...)
DON'T CHANGE ANYTHINK INSIDE! SERIOUSLY! :rotating_light:
Access Windows files via /mnt/**letter**/bla bla bla partition, then cp -R . ~

@ducminhnguyen -- copying directly into the Linux subsystem from Windows is not supported, according to discussion on other tickets.  There is a directory under AppData somewhere (I forget where) that appears to contain the files for the WSL filesystem.  But if you put new files there, or modify existing files there, your changes are not reflected correctly inside WSL.
My best guess is that Linux needs to store different metadata (and more caching information, etc, since its disk-buffering model is also different) about its files than Windows does, and that this is currently implemented by storing the master copy of the structure of the filesystem in a database of some sort, and just using the filesystem as a convenient BLOB-store for that database.
If you really need to do this, a workaround would be to write a drag'n'drop .bat script or somesuch that does bash.exe -c "mv %1 /home/$USER/".  (You'll have to do some clever work with sed and tr, probably, to translate %1 to a valid WSL path.)
Alternatively -- could you put your files in a Windows directory and, within WSL, do "cd ~; ln -s /mnt/c/path/to/my/files" to make them appear to be in your WSL homedir?

symlinks are suported since 14342.
you can try
ln -s /mnt/c/... ~/winFiles

@ddfznt yeah I wont change anything. I am just tired of typing cp command.
@aseering yeah that could work. I will try it later. Thanks for the suggestion.

Are there any best practices around file storage when installing tools or programs that you want to be available in the wls?

As of 1611, %localappdata%\lxss doesn't seem to exist

What if someone is trashing his Ubuntu subsystem? Is it safe to remove C:\Users\**user**\AppData\Local\lxss then? Does this mean a "freash start" when I start again the Bash window?

If you want a fresh start use lxrun.exe /uninstall /full
Reinstall by running bash.exe when that completes.

Thank You! Meanwhile I already found this in the documentation. I'm using these commands:
# Windows folder:
# C:\Users\[user]\AppData\Local\lxss

# Uninstall with keeping root dir
# lxrun /uninstall

# Uninstall completely:
# lxrun /uninstall /full /y

# New install (root user created):
# lxrun /install /y

Is there any way to make a backup from an actual state (like before package installs)? If I zipping the C:\Users\**user**\AppData\Local\lxss folder that's enough for actual state backups?

Only lxrun.exe can create that folder. It's a special folder with Extended Attributes so copying it manually won't work.
I also like to have a "base" backup without any package installed. You can do this.

close any bash window an go to %LocalAppData%
enble see hidden and system folders
rename folder lxss to lxss.base
now from an admin CMD type lxrun /uninstall and lxrun /install and add same username as before.

After finishing installing there will be 2 folders. If you want to use the "base" folder you just have to rename it back to lxss before launching bash.

So what you saying is lxss folder can be copied but can't be zipped? I read somewhere symlinking this folder into a vmdk, which seems the best option if you cannot do any modification inside lxss from any windows text editors and you cannot copy any file into it.
For creating a new dev environment, I use a massive shell script, which is not nice, but I think this is the nearest let's say for a Dockerfile.
For a dev environment, BashOnWindows is great, but reading from so many people how many times they recreating this from scratch (including me) I definitely not want to store any database inside WSL.

lxss can't be a symlink anymore since build 14388. It will install but at launching bash it will show error 0x80070003.
Before that it was easy attaching a VHDX file to the lxss folder for example.
Anyway Microsoft knows about this problem and they are already thinking about different solutions.
Windows 10 Image System backup can create an image of the entire system drive with lxss folder and its attributes intact but of course it will be a huge image that also contains Windows.

is there a way to change the windows folder into which lxss installs ? my c:/ is running very low on space, I am trying to move all my stuff on to my d:

Hi, I use Win10 and went to C:\Users\[user]\AppData\Local but couldn't find lxss folder. I am able to see hidden files. Where is the lxss folder than? Thanks,

It is marked as system as well. Keep in mind you should not modify anything in that directory.

@benhillis use command line to access it. Or type it in the address bar

@partially-applied - I don't follow your comment.  I'm just warning people that they should not do it.

I agree with @benhillis. Don't edit files there or add new ones (it wouldn't be visible/accessible from ubuntu anyway). Access to that folder should be read-only.

@partially-applied I think you meant to meantion @Benosika. Thank you so much for this, I was going crazy over why I couldn't see this folder and the whole internet seemingly disagreeing with me on the existence of it.

how do I get a windows program that requires node.js to use the wsl installed version? :)

Folks here may have suggestions (I know this is discussed on other tickets and others have made it work in some cases), but you might also want to ask the Sublime developers.  Linux interpreters may have behavior or features that are different from their Windows counterparts, so a really feature-complete integration would require them to know to use the interpreter's Linux interface.

@aseering I have commented on the Sublime issue today.

One option would be to install nfsd and export the rootfs on ubuntu, then you'd need to activate client for nfs under programs & features, configure the service and launch it.. well, you obviously need to know how to get the nfs daemon configured as well but there's plenty of documentation online for that.
I have toyed around and got apache2 with PHP and MySQL running, you just have to manually  start the services and then remember to shut them down before you exit or you could have some database corruption... but that's entirely unrelated =)

This is the most annoying and time consuming thing .. Searching Lxss in the address bar. Still it won't appear. Any suggestions for accessing lxss in the  Local folder of Appdata?

I have win10 Build 16241 , with ubuntu installed through the "store", and the lxss directory no longer exists in C:\Users[user]\AppData\Local

@f0ster - Each distribution you install through the store is installed to that application's appdata directory.  For example: C:\Users<username>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState

I'm using the linux subsystem in windows 10 with ubuntu installed
Sorry,noob here
How do I access the Desktop
cd ~/Desktopis not working for me My current dir is at /home/adrielleTriedlsin the my current dir and it shows up nothing whilels -a` got some hits but it seems that they're all hidden files ,not directories.

@AdrielleKiz - Try "ls /mnt/<system drive>/Users/<user name>/Desktop"

@sunilmut Thanks !

when I copy/move files in my home directory using the explorer, the changes aren't reflected in my terminal. Anyone know how to solve this?

@r3lik , you are now allowed to do that. You should access that folder in a read-only scope.

@davidalbertonogueira it wasn't working for me when I wanted to edit things in c:\Users\path\to\rootfs. I ended up just changing setting HOME="/mnt/c/Users/r3lik" in my .profile as a workaround.

 Learned a lot of Linux stuff using WSL, now I'm starting to think that I should just go fully Linux and drop the windows thing all together, haha

Open a windows terminal and:
subst l: c:\Users\path\to\rootfs
result: a L: drive mapping to your linux root

Would it make more sense to point to lxss than lxss/rootfs? from lxss/ can access /home directories and the such, though I remain wary of testing read/write through windows. I'll probably stick to copying stuff from linux to /mnt/c/Users/user/ for the time being.

lxss does not exist in AppData....

The rootfs for WSL is located at:
Ubuntu:
C:\Users\{username}\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\

KALI:
C:\Users\{username}\AppData\Local\Packages\KaliLinux.54290C8133FEE_ey8k8hqnwqnmg\LocalState\rootfs\

Debian:
C:\Users\{username}\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalState\rootfs\

The behavior that you are trying to carry out is inapporiate and dangerous. The right solution can be see in the following link.
https://devblogs.microsoft.com/commandline/whats-new-for-wsl-in-windows-10-version-1903/

The lxss folder with wslhost.exe is located at: C:\Windows\System32\lxss
bash.exe comes from: C:\Windows\System32\
The rootfs for WSL's are located at:
Ubuntu:
C:\Users\{username}\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\

access via explorer.exe: \\wsl$\Ubuntu
KALI:
C:\Users\{username}\AppData\Local\Packages\KaliLinux.54290C8133FEE_ey8k8hqnwqnmg\LocalState\rootfs\

access via explorer.exe: \\wsl$\kali-linux
Debian:
C:\Users\{username}\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalState\rootfs\

access via explorer.exe: \\wsl$\Debian

it is work!!!

I only see one file in C:\Users\andre\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState
ext4.vhdx

it seems to be a virtual drive that can't be mounted
was it changed somehow?

@AndrewBogdanovTSS - you are using WSL2 which stores the files on an ext4-formatted vhd.

So how than files can be viewed in WSL2?


Crash on looking at Cactus flowers with Jade

Full crash log: https://mclo.gs/YMVVgC7
Jade causes a crash when looking directly at cactus fruit. Judging by the crash log I think Jade wants to fetch the current harvestability growth of the block and DynamicTrees is returning a null somewhere.
Partial mod list:
Jade-1.18.2-forge-5.2.6.jar
JadeAddons-1.18.2-forge-2.4.1.jar
DynamicTrees-1.18.2-0.11.0-Beta8.jar
DynamicTreesPlus-1.18.2-0.2.0-Beta3.jar
DynamicTreesBOP-1.18.2-3.0.0-Beta3.jar
DynamicTreesQuark-1.18.2-2.2.2.jar
Minecraft Version: 1.18.2
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Forge: net.minecraftforge:40.2.1

duplicate of https://github.com/DynamicTreesTeam/DynamicTrees/issues/753


ANDROID: java.lang.UnsatisfiedLinkError when using the published trust wallet core library

Description:
Exception: java.lang.UnsatisfiedLinkError: No implementation found for long wallet.core.jni.PrivateKey.nativeCreate() on creating new Ethereum private key, or trying to call anything from jni pkg.
Steps to reproduce:
1)Add to your apps build gradle:
dependencies {     implementation 'com.trustwallet:wallet-core:0.12.24' }
2) Try to invoke any method that makes JNI call.
Context and environment:
Device: simulator(x86_64 arch)
Tried on android versions: 9.0, 8.0

Have you load wallet core? check the test:
System.loadLibrary("TrustWalletCore")

Oh, thanks, it worked!
I thought that library did it internally.


Is it ok for C++ code to link with _pywrap_tensorflow_internal.so?

I have a Python module written in C++, in which tensorflow serving API is used to load saved model and inference. Unfortunately, some part of my Python application has to use tensorflow python module directly. Because there are some common symbols between libtensorflow_cc.so and _pywrap_tensorflow_internal.so, there will be CHECK failure if the Python module is linked with libtensorflow_cc.so.
The only feasible option seems to link the Python module with _pywrap_tensorflow_internal.so. Is that OK?

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

@tianyapiaozi did you resolve this issue ? were you able to link to it ?

@tianyapiaozi did you resolve this issue ? were you able to link to it ?


[5.3][Database] Make the database path unique to the specific lmdb wrapper instance

This is intended to protect against a crash that can occur if trying to use the same lmdb database path from separate wrapper instances.
rdar://39235399
master: https://github.com/apple/indexstore-db/pull/107

@swift-ci Please test


New package: ADCME v0.1.0

Registering package: ADCME
Repository: https://github.com/kailaix/ADCME.jl
Created by: @kailaix
Version: v0.1.0
Commit: 840bb8cd6e7ccc67d099bdaaa6fbcda6720841b7
Git reference: master
Release notes:

A Julia package for inverse modeling in scientific computing with TensorFlow and PyTorch automatic differentiation backend. The package is specially designed for physics informed machine learning but can be used for general inverse modeling as well.
The homepage provides links to some tutorial in Jupyter notebooks, and the documentation is under construction.
The package uses TensorFlow/PyTorch backend and the syntax is specifically tailored for scientific computing. It inherits the scalability and parallelism from those backends.

Needs compat entries in the project file at least for Julia itself.

Fixed. Thanks.


pip install bia-bob content

@haesleinhuepf where can we see what pip install bia-bob contains? Is that part of this repo or managed somewhere else?
I have to say I did like the pip install . option as then everything was contained in the repo. Maybe that is still the case?!

When running python setup.py sdist bdist_wheel you see which files are packaged.

Should this be the same as this?

understood!


(WIP) Client remote command

have to add bulk command feature

also add ExecStop in client systemd service


Remove code related to prepend and fix baselines

Removes all the APIs and call related prepend and corresponding tests
Fixed the tests that didnt depend on prepend
Also fixed issue with tsserver not baselining the version as FakeMajor.FakeMinor when the callbacks were baselined by passing around the logs

Package size report
Overall package size

Before
After
Diff
Diff (percent)

Packed
5.55 MiB
5.53 MiB
-26.18 KiB
-0.46%

Unpacked
30.86 MiB
30.72 MiB
-143.91 KiB
-0.46%

Files

Before
After
Diff
Diff (percent)

lib/tsc.js
5.62 MiB
5.58 MiB
-43.71 KiB
-0.76%

lib/tsserver.js
8.24 MiB
8.19 MiB
-45.31 KiB
-0.54%

lib/typescript.d.ts
584.73 KiB
580.04 KiB
-4.69 KiB
-0.80%

lib/typescript.js
8.72 MiB
8.67 MiB
-47.20 KiB
-0.53%

lib/typingsInstaller.js
1.68 MiB
1.68 MiB
-3.01 KiB
-0.17%

I feel a bit mixed - it's a little hard to read it casually (thanks GitHub), but what I want to know is:

will users still get an error message explaining why --prepend no longer works?
will the language service stop functioning correctly on projects using --prepend?

If the language service stops working, it means we'll be unable to browse the code of TypeScript 4.9 and earlier with TypeScript 5.5+.

If the language service stops working, it means we'll be unable to browse the code of TypeScript 4.9 and earlier with TypeScript 5.5+.

IIRC --prepend only affected emit, so I would think that everything would still be browsable, but I have not checked myself.

@jakebailey said it correctly.. this affects emit and it shouldnt impact the LS at all.
We do error that prepend is not supported but thats all. the actual functionality of prepending is removed now.

@RyanCavanaugh Thank you! Is there a suggested alternative API to createUnparsedSourceFile?

The only (intended) legal thing to do with createUnparsedSourceFile was to put it into a Bundle, which no longer accepts that. I would just use a string instead if you were using it to ferry around unparsed sources.


Audience Keys

LGTM, would be something I use.
Display names and UUIDs are also something I commonly have attached to my Audience implementations anyway, so those default keys make sense to me.
Assuming those keys will be implemented on Player/ServerPlayer this also cuts back on some boilerplate.

It was suggested to me by @lucko when I first opened this pull request, to add the following - thoughts?
  AudienceKey<HasPermission> HAS_PERMISSION = key(HasPermission.class, Key.key("adventure", "uuid"));

  interface HasPermission {
    TriState hasPermission(final String permission);
  }

It was suggested to me by @lucko when I first opened this pull request, to add the following - thoughts?
  AudienceKey<HasPermission> HAS_PERMISSION = key(HasPermission.class, Key.key("adventure", "uuid"));

  interface HasPermission {
    TriState hasPermission(final String permission);
  }

I can't say for certain if I think it belongs in Audience as a default key, but I would make use of it.
Any abstraction over common Player/ServerPlayer methods is less work on my end.

Some other keys that would be useful (for my uses):
AudienceKey<String> NAME - we have display name already, but this would also be very useful.
AudienceKey<AudienceType> TYPE - would require a new enum (or enum-like) class, but a way to distinguish between an audience that is a player vs a console vs a entity....
Permission hook would be v. useful too, but I think PermissionFunction for the interface name, PERMISSIONS for the field name, and hasPermission returning a boolean would be better.

I think it might make more sense if the actual keys (NAME, DISPLAY_NAME, etc) live in the AudienceKey interface - might be a bit messy to have the in Audience where they'll turn up all over the place, probably cleaner to keep them in one position.
Also, I love the idea of the permissions test thing - alongside some sort of enum to work out "what" the audience is, it would be nice to have some tests to work out "where" the audience is (world, server, etc).

I get what this is about - you want to reduce the amount of platform specific stuff people have to do to, say, determine whether an Audience is a player, or what its display name is, but I'm concerned how much this is beginning to really creep in on the responsibility and design of the host platform API. I'm not against what you're doing here, but, speaking from a Sponge perspective, when placed on top of our interfaces, it's mixing nullable and Optional return types and it will start looking mismatched on the various platforms. I accept on other platforms, if you were to go optional the opposite would happen.
I definately acknowledge that this is a problem you're going to have on some platforms, taking Sponge and Paper as two platforms they have vastly different philosphies. In fact, you have a key like system from Sponge which will probably look somewhat out of place on Paper, but a nullable return type that will look out of place on Sponge with out optional centric design. Other platforms may vary and I leave it to them to comment futher from their perspective.

A comment on the ForwardingAudience and get. There are possibly some cases where some keys may be applicable - the display name or proposed type might be used on a world, for example. However, is that useful? I'm simply going to say, no. So you've ended up with the situation where an Audience is given keys but a specific sub interface is not - and now you have to check for it.
Perhaps have an AdventureKeyHolder interface that may be a key holder, and have that separate from Audience? If you're likely going to have to check for a ForwardingAudience to avoid it, you might as well just introduce such an interface and check for that instead. Indeed, by doing so, a platform could implement Audience in the API, implement AdventureKeyHolder in the impl if they don't really want to expose this, and Adventure users could just typecheck/cast to AdventureKeyHolder to get the Adventure specific methods that an API might not otherwise want to expose for reasons above. I realise that some people here are going to baulk at that idea but please remember that some platforms just may not want this in this way in their API and thus prefer to push developers using their platform alone to use their methods.
Certainly don't throw an exception on it though if you absolutely must do it this way. That's just a bad idea because you don't want an UnsupportedOperationException bringing down the operation itself because a ForwardingAudience wasn't used. If a ForwardingAudience will never return a value, then these methods should never be there. The pitfalls of inheritance, huh?

I know that some of what I say might not be popular, I truly do (I've certainly been at the receiving end of it before, indeed, had my comments twisted and warped over it), but Adventure needs to be careful to not upset the various platforms by imposing methods etc. that are inconsistent with the the way their hosts work. Having a more modular approach where cross platform developers can typecheck feels like it might be a solution here (plus it makes a lot more sense to pull out a "key holder" from its audience, especially if such an approach may get used elsewhere later).
I am not against what you're trying to do here, not at all, I just think that a bit of discussion and thought from the platforms and how they implement this will be warranted.

Oh, I was asked to comment on something else as well:

Some other keys that would be useful (for my uses):
AudienceKey NAME - we have display name already, but this would also be very useful.
AudienceKey TYPE - would require a new enum (or enum-like) class, but a way to distinguish between an audience that is a player vs a console vs a entity.... only needs to cover the basic types, or alternatively be Key based
Permission hook would be v. useful too, but I think PermissionFunction for the interface name, PERMISSIONS for the field name, and hasPermission returning a boolean would be better. Or tbh just use Predicate...

TYPE sounds fine but perhaps just limit it to what would be useful, CONSOLE, PLAYER and maybe RCON sound like the only three that are really of interest, right?
Permissions hooks... well that feels like that's splitting out from keys itself as I'd expect a key to return some data, not a function. I'd argue that if something like that really belongs in Adventure (and I am not convinced it does as permissions are a platform specific thing in the first place, Sponge implicit vs Paper explicit inheritance comes to mind, but other impls might not use dot separated permissions) then that needs to be a separate interface altogether.

I think it might help if I clarify the reasoning for all of this... (at least from my perspective)
@kashike's vision right at the start of the adventure design process was that people would be able to use Audience in place of CommandSender/Source/whatever instances in multi-platform plugins. I was (quite vocally) against having everything implement a highly generic Audience interface across the board for other reasons, but this was cited as the #\1 reason why it had to be this way... ok fine, however...
At the moment, Audience doesn't actually provide enough functionality / information to fulfil this purpose in the majority of cases.
It is very hard to implement a generic command handlers using just Audience because there is no way to find out information about the audience's identity, permission status, etc.
Individual plugins are left to do this abstraction themselves (see here for an example from spark) - yet the whole idea was that this wouldn't be necessary.
It's a shame that Sponge / other platforms might not be on board with this idea - but as far as I'm concerned this was always the goal from the start... and I assumed also the reason why multiple platforms would want to all adopt the same library.

@lucko is correct.
Here are some initial thoughts of mine:

speaking from a Sponge perspective, when placed on top of our interfaces, it's mixing nullable and Optional return types and it will start looking mismatched on the various platforms. I accept on other platforms, if you were to go optional the opposite would happen.

I originally had this system using an Optional before I published the PR, but decided on the overlords that accept defaultValue instead.

Perhaps have an AdventureKeyHolder interface that may be a key holder, and have that separate from Audience?

The problem here lies with what @lucko mentioned - having people casting for very common operations would become annoying, fast, for people who write cross-platform plugins (WorldEdit, LuckPerms, etc).

TYPE sounds fine but perhaps just limit it to what would be useful, CONSOLE, PLAYER and maybe RCON sound like the only three that are really of interest, right?

We would probably go with it being a Key based type, to not limit the choices to ones we define here.

TYPE sounds fine but perhaps just limit it to what would be useful, CONSOLE, PLAYER and maybe RCON sound like the only three that are really of interest, right?

I'd prefer a more generic REMOTE over RCON, since Discord bridges are becoming increasingly more common now.
Key based would probably be better, so one could specify discord over something generic.

The problem here lies with what @lucko mentioned - having people casting for very common operations would become annoying, fast, for people who write cross-platform plugins (WorldEdit, LuckPerms, etc).

Individual plugins are left to do this abstraction themselves (see here for an example from spark) - yet the whole idea was that this wouldn't be necessary.

The design of the feature as is already says the value may or may not be present, having to check the presence of the feature on top of the values it may provide is just extra work for little gain from my perspective.

the display name or proposed type might be used on a world, for example. However, is that useful?

Then don't have worlds return a value for that key.
Any given Audience implementation is not required to provide values for every single key.
If it doesn't make sense or provide much quality to support any given key for an Audience, then simply don't do so.
That being said it may be better to move the default keys into AudienceKey, to better convey this.

it's mixing nullable and Optional return types and it will start looking mismatched on the various platforms.

If each design decision is going to look weird on some platform, then it may not be the best idea to dwell on the fact for too long.
Designing things in a way that's friendly to platforms is a good idea, but there's no pleasing everyone.
This repo is not under the SpongePowered or PaperMC orgs, I don't suspect many plugin devs expect its design decisions to match entirely with the platforms that willingly choose to adopt it.

Standard keys have been extracted to an AudienceKeys class.

@kashike's vision right at the start of the adventure design process was that people would be able to use Audience in place of CommandSender/Source/whatever instances in multi-platform plugins.

I suspect what you're after is a Audience & Subject & Identifiable interface in Sponge terms, something I'm actually surprised we haven't done yet - but that's not really part of this issue.
Let me be clear, the goal here is something I can support, I just don't think this is the right design choice for the reasons I've given above. The problem is the API side of it for the simple reason of the platforms who are using this library in good faith have significant and somewhat irreconcilable differences in style and function. Adventure is in the tricky situation where it's trying to satisfy every platform but it's trying to do so via a monolithic interface that the native platforms must implement alongside their "native" methods. My point is not "we don't support the goal", it's one of what it looks like within those platforms.
In Sponge, what will happen on the Player interface (as it stands) is, as a snippet:
// Adventure Audience
@Nullable T get(AudienceKey<T> key);

// Sponge ValueContainer
Optional<T> get(Key<? extends Value<T>> key);

// Sponge ValueContainer
@Nullable T getOrNull(Key<? extends Value<T>> key);

Now, I'm not saying that Adventure should not use get, in fact I have said quite the opposite, it makes sense to do so - but now you have overloads that look weird and in the Sponge case may cause some confusion from users - especialy those that aren't particularly versed in Adventure vs Sponge. However, even if Adventure used get and getOrNull, I'd still have my reservations, but only because other platforms may now look out of place and this is the sort of thing that we all just need to cast our eyes over.
This is what I'm mindful of.

That being said it may be better to move the default keys into AudienceKey, to better convey this.

I agree.

The design of the feature as is already says the value may or may not be present, having to check the presence of the feature on top of the values it may provide is just extra work for little gain from my perspective.

I knew it wasn't going to be popular.

This repo is not under the SpongePowered or PaperMC orgs, I don't suspect many plugin devs expect its design decisions to match entirely with the platforms that willingly choose to adopt it.

I think we need to be clear here - we choose to adopt Adventure, but that doesn't mean Adventure should be free to do what it likes because there are limits to what the platforms are going to accept. We accept the library on the terms that were apparent to us at the time, and not anything different. The relationship between Adventure and platforms is not the same as a standard library - for a start, @kashike is on most of, if not all of, the platform teams that are using it - the relationship here is not the same as a standard library. Hell, @kashike specifically asked me to comment on this PR - probably because I suspect they knew I was going to be more critical than others (yes, I'm that guy).
For what it's worth, I'm somewhat accepting of what's going to happen here - it's not the end of the world complaining over an optional and as I've said countless times, Sponge (the platform I have an interest in) is not the only platform. You're right, Adventure is not under the control of other platforms but there is an element of trust and good faith here that has to be there. I see this as something that platforms just need to look at and nod their head, voice concerns, whatever - we should not blindly accept changes but scrutinise and challenge because we are going to defend how we see things fit in our own platforms. That is what I'm doing here.
I'm not against this change. I'm critical of it, but not against it.

doesn't mean Adventure should be free to do what it likes
My point there wasn't that "adventure should do what it pleases", just that if any design it chooses in this scenario leads to some platform being unhappy, it's not the healthiest to obsess about the design in that context.
Minimising design conflicts is a good goal, but eliminating it in its entirety in this scenario is unlikely.

I think we should be careful not to change Audience into an identity. Audience is a nebulous group of receivers, it should not expose any identifiers.
If we want to expose more information about players, I think the way to go is with Identity. Though, I would not use a Key system. While it's simple for maintainers, it's not simple for users of the API; and we should bias for solutions that benefit users over maintainers.
We could then expose APIs that allow customizing a Component for a particular Identity.
All in all, I think the Audience interface should stay action-based (e.g. send this, show this) and then either expand Identity or introduce another interface for state-based information (e.g. who is this? what is their locale? what is their name?)

Take this back a step. If you were to do this again for Adventure 5, with the ability to break everything, how would you do it?

Take this back a step. If you were to do this again for Adventure 5, with the ability to break everything, how would you do it?

I've thought about this for the past day, and I keep coming back to what was in this PR prior to my latest commit as the best solution. The only other things that I have thought of, would be cross-platform incompatible (due to return types).

The only other things that I have thought of, would be cross-platform incompatible (due to return types)

I think this is what you need to do then. I don't see any other way that supports this any better given where we are in the way people want it (something else came to mind which I'll talk about below, but I suspect it's only maginally better than the other casting suggestions). It's clear the casting solution doesn't have support - and let's face it, who can blame anyone for that stance?

On @Electroid's point about not using keys - @kashike's point this is the ultimate problem with Adventure when considering APIs and why a key system is actually likely the best option. Adventure doesn't control the platforms, to an extent, Adventure must be considerate of the platforms, it needs to be out of the way as much as possible for the host platforms can do what they want to do. A key system minimises its footprint on other methods in a way that won't affect other methods on the target platform, but I do accept it's a break from how people that use Paper use methods. It does afford flexibility though - Adventure can just provide new keys when it wants to and the host platform won't care - it'll be totally outside of the purview of the host platform.
Now, I concur that in theory these keys are better suited to the Identifiable interface because these keys are all associated with an identifiable object, but as others have pointed out, this becomes inconvenient for consumers who then need to typecheck and cast anyway. There is no clean way to do everything this PR wants to do - so we have to make do.
With that in mind, the only other way I see this working is by having a Optional<Identifiable> asIdentifiable() (or @Nullable, though that potentially turns a one-liner into an if check and such and Java hasn't caught up with null safe operators yet) that lets you check to see if the object is an identifiable and then stick the key methods on there. This is similar to something I think @ItsDoot said with a static helper, but I don't think any platform would begrudge that - it would mean repurposing the Identifiable interface slightly but I don't really see that as a problem. But that might be an Adventure 5 thing.
Either way, rock and a hard place and something that may very well have a better solution in Adventure 5. For Adventure 4, the hand that has been dealt is limited, let's make the best of what we can.

We could then expose APIs that allow customizing a Component for a particular Identity.

I just want to comment here - careful about the scope of Adventure here and how other platforms might want to interact with this. Sponge, for example, has plans to be able to make the display name different based on who is viewing a player via Contextual Data. Now I can't say if this will ever come to pass, but such a method would directly clash with such a system. Adventure could use this internally, but Adventure must be careful to NOT tread on the toes of the platforms, for fear of inconsistencies occurring.


Revert "New Updates"

:warning: This is a Pull Request Template :warning:

Checkout all the things you've done by placing an x within the square braces below.

Proposed Changes

[] I've read the CODE OF CONDUCT and abide to it.
[] I've read the CONTRIBUTING.md
[] I've forked the repository.
[] I've created a branch and made my changes in it.
[] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

nice

Please submit your own code sample instead of modifying someone else's ... thank you! 🙌


Derive Copy for MatchOptions struct

MatchOptions contains 3 boolean values, which are Copy. It would be nice to be able to pass it by-value (rather than borrow it or create a new one on each function call).
Also included in this PR:

Removed a compile warning due to a deprecated trait (::std::ascii::AsciiExt)
Turned on clippy::pedantic and fixed all of its recommendations (don't worry, turned it off afterward)
Turned off a test for macos that counts on a /root directory (my install does not have one)

hi @KodrAus - just wanted to bump this. I installed rust stable 1.24.0 (the current release the last time a PR was merged) and cargo test ran without any errors. Is there an earlier version you'd like me to test?

I've done a more thorough check now. Here's what I found:

1.23.0 and later compile and test successfully
1.17.0 through 1.22.0 require the AsciiExt trait to be in scope
1.14.0 through 1.16.0 require variable names that match struct field names to be repeated after the colon (foo: foo,)
1.13.0 requires a lifetime for const string slices
1.12.0 and earlier don't recognize the format of the Cargo.lock.

All but the last line indeed apply to this PR - how far back do you need to remain compatible?


Ensure the CUDA container image works on most CPUs

This disables AVX2, FMA, and F16C in the CMAKE_ARGS when rebuilding llama_cpp_python to ensure that the container build from this Containerfile will work on any CPU architecture as long as it has the basic avx instruction set.
Fixes #822
This is a reopened version of #823  which accidentally got closed.

this works fine in my system.

Due to other changes in the CUDA Containerfile, this may now actually be obsolete. I see -mno-avx was merged, so will see if I can reproduce any of the crashes with the current state of our CUDA Containerfile. If not, will close this PR.

I have not yet been able to get reliable access to an A100 EC2 node to test again, but testing on an A10 EC2 node (which used to fail), it now works. So, I'm going to close this and will reopen it if I manage to get our container failing again on a node.


support for top volume on last 24h endpoint

↪ Pull Request
Add support for the endpoint at https://min-api.cryptocompare.com/data/top/totalvolfull
💻 Examples
Just one more endpoint supported, nothing else :)
🚨 Test instructions
Debug the integration test provided to check that it works
💥 Does this PR introduce a breaking change?

[X] No

✔ PR Todo

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING.md document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hello @monsieurleberre
Thank you again for this contribution !

My pleasure :) 👍


[llfio,outcome,ned14-internal-quickcpplib] Fix minor nits

Describe the pull request

What does your PR fix?
It prevents the llfio and outcome buildsystems from trying to enable concepts and coroutine support on older standard versions (via -fconcepts and such).
Disable llfio's OpenSSL support (which has been recently implemented) until someone properly upgrades this port with a corresponding feature (I won't).
Properly escapes a path option in the quickcpplib port.

Which triplets are supported/not supported? Have you updated the CI baseline?
unchanged

Does your PR follow the maintainer guide?

Yes

the x64_windows_static_md failure is due to some CI infrastructure issue:
Clearing contents of D:\buildtrees
Failure to remove_all_inside("D:\buildtrees") due to file "\\?\D:\buildtrees\ffmpeg": The process cannot access the file because it is being used by another process.
##[error]vcpkg clean failed

the x64_windows_static_md failure is due to some CI infrastructure issue:
Clearing contents of D:\buildtrees
Failure to remove_all_inside("D:\buildtrees") due to file "\\?\D:\buildtrees\ffmpeg": The process cannot access the file because it is being used by another process.
##[error]vcpkg clean failed

Related: #20889
It is very weird that an agent is still doing something with files inside the buildtrees directory.


Test circuit drawer uses "π" instead of "pi"

Summary
Fixed #4959
Details and comments
Change pi_check function when output is "text" from "pi" to "π". Also, the test cases were updated to check different circuits with the new symbol "π". Different encoders were tested to see if they accepted "π" and gave good results.

@1ucian0 We'd discussed also doing the dagger for sdg, tdg, and sxdg for the text drawer. Something like S†. Unicode is 2020. Easy to do in text drawer special_label but not sure whether there are encoding issues for this and there would be more test modifications. Should we open another issue for this?

I dont think there is † in cp437. I think that one should depend on self.encoding. For another PR...

Thanks! Welcome to the community!

Thank you for helping me. Looking forward to continuing helping

I dont think there is † in cp437. I think that one should depend on self.encoding. For another PR...


Crash when mashing escape after exiting a server

https://bytebin.lucko.me/6QyvZkuX9v

Fixed in version 1.7, thanks for reporting.


PORTING namelist_GlobalOcean.yml into v2.0

I'm going to attempt to port the namelist_GlobalOcean.yml (Ocean BioGeochemistry) namelist into v2, based on the tutorial here:
https://github.com/ESMValGroup/ESMValTool/blob/REFACTORING_extend_porting_guide/doc/sphinx/source/developer_guide2/porting.rst
With some help from @valeriupredoi and @mattiarighi .

I guess this can be closed, also given #615 ?

yes indeed!


Enhancements of the InStream and OutStream functions as a replacement for the file variable.

The previously available functionalities of InStreams and Outstreams are unfortunately very lean. It is now not even possible to determine the length or the current position of a stream. Likewise, an InStream is very difficult to determine the encoding, and whether the stream text or binary works. Can the API be expanded here, if in the future all file handling to be converted to streams. Even the file variable supports much more possibilities.

I tend to combine both classes analogously to CSharp into a stream class. In my opinion, InStream and OutStream were more writers and readers anyway.
The best way would be in my eyes actually the Stream class from CSharp to take over.

Are there any news on this yet? Getting the size of BLOBs and streams without copying them around to a memeorystream (CU704) would be of great help and safe a lot of time.

Hi, length and current position has been added to the InStream. If there is anything that you think it is missing please refer to aka.ms/BCIdeas to log it as idea- this is where we source inspiration for our future improvements.


Change all references to the account number to Account Address

Description
The branding team requested that all references to the account number are now Account Address.
Other changes
After the recipients refactor,  there is no display name that would be set to Mobile #, updated the logic for displaying text in ValidateRecipientAccount accordingly
Tested
not tested

It looks like all instances of 'account number' are changed to 'Account Address' irrespective of previous casing. Is this intentional?

Yes! I was told Account Address should always be uppercase

https://valora.testquality.com requirement R66.

Hi @MuckT We have verified this issue on Latest Android internal build V1.17.0 & Test flight build V1.17.0 and updated the status in test quality tool.
Test quality tool link:

Android:

https://valora.testquality.com/project/12128/plan/21240/run/149557/result/2450278

iOS:

https://valora.testquality.com/project/12128/plan/21240/run/149557/result/2450265

New Bug:

We have observed that user is able to see "Account No." instead of "Account Address" on Payment transaction screens. Also observed same issue for exchange screen for "Add Funds" & "Cash Out" screen

FYI: We have raised bug ticket 921 for above observation
Verified On Devices: iPhone SE (14.2), Samsung Galaxy S4 (4.4.2)
CC: @isabellewei


Keytar

Swaps out clortho dependency for keytar which supports Linux keychains as well as OSX and Windows. This also adds warnings about using plaintext files for credential storage when no keychain can be found, and provides a third authentication option in alks-developer-configure that will have the CLI skip saving a password so that you can be prompted for it each time

I am testing now. Just want to confirm @americk0, I've never used the old CLI to save my password to keychain. Is it normal for this new keytar to constantly ask for your password every single command? That is what is happening today with keytar

That's odd. It shouldn't be prompting for your password every time you do things like generate keys with alks sessions open unless you haven't configured a password/token via alks developer configure, alks developer login, or alks developer login2fa. It defaults to asking every time until you configure it not to but once you configure it to store your password it shouldn't prompt you each time


no SystemTrayMenu in the root

Hi,
New to Tauri, when attempting to start with a Tray, I get 1
| use tauri::{CustomMenuItem, SystemTray, SystemTrayMenu};
  |                             ^^^^^^^^^^  ^^^^^^^^^^^^^^ no `SystemTrayMenu` in the root
  |                             |
  |                             no `SystemTray` in the root

Here is my code:
use tauri::{CustomMenuItem, SystemTray, SystemTrayMenu};
use tauri::Manager;

fn main() {

  let tray_menu = SystemTrayMenu::new(); // insert the menu items here
  tauri::Builder::default()
    .system_tray(SystemTray::new().with_menu(tray_menu))
    .on_system_tray_event(|app, event| match event {
      SystemTrayEvent::LeftClick {
        position: _,
        size: _,
        ..
      } => {
        println!("system tray received a left click");
      }
      SystemTrayEvent::RightClick {
        position: _,
        size: _,
        ..
      } => {
        println!("system tray received a right click");
      }
      SystemTrayEvent::DoubleClick {
        position: _,
        size: _,
        ..
      } => {
        println!("system tray received a double click");
      }
      SystemTrayEvent::MenuItemClick { id, .. } => {
        match id.as_str() {
          "quit" => {
            std::process::exit(0);
          }
          "hide" => {
            let window = app.get_window("main").unwrap();
            window.hide().unwrap();
          }
          _ => {}
        }
      }
      _ => {}
    })
    .run(tauri::generate_context!())
    .expect("error while running tauri application");

}

I'm not understanding what to do to make the process start with the tray.
Thank you for the help

Please fill out the provided template when creating issues. The output of tauri info (annotated with required...) would be helpful here to make sure it's not version related. I can't even count the number of times this was the issue.
Anyway, make sure to add the systemTray property in your tauri.conf.json (example), this automatically enables/disables the system-tray feature  in Cargo.toml

Hmmm actually the problem was with the official Tauri example not being done properly, it's lacking:
SystemTrayEvent in the imports.
This specific part: https://tauri.studio/en/docs/usage/guides/visual/system-tray/#listening-to-system-tray-events
Thank you for the help :)

I don't see how that is related to the error message you posted, but apart from that you're right about SystemTrayEvent missing.

Yeah you are right, I've eventually found a way, tauri config was already modified but it was apparently not being "updated" when starting tauri, I was starting it from a hello-tauri simple example, I've redone everything and it worked (except for the last part).
I think it would actually be awesome to add a lot of working ready-made examples (to download) similar to Electron for beginners to understand better (especially the ones that have never touched Rust in their life)

Yeah, more examples are always better 👍
Keep in mind that we have the repo examples and iirc there's another big one (as a seperate repo i think) in the pipeline.
On top of that you can always check out the didathing-examples channel on our discord or githubs auto generated list.
But i agree that "official" ones are generally better/more accessibile, tutorial-wise.


Opennebula 5.x support

Opennebula 5 was released on Jun, 15th 2016. Could we get compatibility for it?

Hi @mguezuraga , an update to Opennebula 5 at epost is expected to happen somewhere in 2017. Until then we're probably not going to invest too much effort in working on that front. We'd welcome and merge working and tested pull requests and deploy them to puppetforge.
Work on that is already done by @jnoss  in this branch https://github.com/fasrc/opennebula-puppet-module/tree/opennebula_5, so if you're willing to contribute code or testing, that would probably be the best place to start.
Until then we'll close this issue.


Fix leak of the reader/writer goroutines for both formatted and msg conns

Motivation
closes: https://github.com/spacemeshos/go-spacemesh/issues/2508
Writer goroutine of the FormattedConnection/MsgConnection wasn't exiting if write to socket failed.
Reader goroutine of the MsgConnection is waiting in Read, even if the writer exited.
Changes

always close socket and stopListener channel in closeUnlocked
minor tweaks in the buffer for FormattedConnection and MsgConnection

in FormattedConnection we don't need to copy twice since Next always allocates
In MsgConnection allocate buffer once per message and reuse same buffer for reading from socket

Test Plan
TODO
TODO

[x] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

I tested this change on 50 nodes devnet, and goroutine count was consistently low on all miners that I checked for an extended period of time. There is also a possibility that I wasn't able to trigger a behavior that leads to that spike of open goroutines.
goroutine profile: total 265
18 @ 0x43c325 0x44c2af 0xdeb754 0x471ba1
#	0xdeb753	github.com/spacemeshos/go-spacemesh/p2p/net.(*FormattedConnection).sendListener+0xf3	/go/src/github.com/spacemeshos/go-spacemesh/p2p/net/conn.go:236

16 @ 0x43c325 0x44c2af 0xdee234 0x471ba1
#	0xdee233	github.com/spacemeshos/go-spacemesh/p2p/net.(*MsgConnection).sendListener+0xf3	/go/src/github.com/spacemeshos/go-spacemesh/p2p/net/msgcon.go:157

bors merge


Running Fluentd in windows, failed to flush the buffer

Hi Everyone,
I am facing issue flushing buffer from fluentd to elasticsearch. I am new to Fluentd, can you please help?
ElasticSearch version -> elasticsearch-2.4.1
Fluentd Version -> 0.14.7
fluent-plugin-elasticseach -> 1.7.0
OS -> Windows 7

fluent.conf

  @type forward
  port 24224

  @type elasticsearch
  host localhost
  port 9200
  index_name fluentd
  type_name fluentd
  buffer_type memory
  buffer_chunk_limit 256m
  buffer_queue_limit 128
  flush_interval 5s
  disable_retry_limit false
  retry_limit 5
  retry_wait 1s
  max_retry_wait 5s

I'm not familiar with Windows but it seems not fluentd related issue.
Check your environment: http://stackoverflow.com/questions/2972600/no-connection-could-be-made-because-the-target-machine-actively-refused-it

Hi Masahiro,
Thank you very much for your quick response. Please ignore that "No connection could be made.." part that message came when i tried to kill the process by hitting Ctrl + C.
I am able to send log data from Java application to fluentd, i did stdout it was able to print the data. The issue occurs when sending those data to elasticsearch.
Here is my updated fluent.conf file

  @type forward
  port 24224

  @type copy

    @type stdout

  @type elasticsearch
  host localhost
  port 9200
  index_name fluentd
  type_name fluentd
  buffer_type memory
  buffer_chunk_limit 256m
  buffer_queue_limit 128
  flush_interval 5s
  disable_retry_limit false
  retry_limit 5
  retry_wait 1s
  max_retry_wait 5s

Java Code to send log to fluentd
import java.util.HashMap;
import java.util.Map;
import org.fluentd.logger.FluentLogger;
public class FluentdLogger {
final static FluentLogger LOG = FluentLogger.getLogger("fluentd", "localhost", 24224);
public static void main (String [] args) {
	FluentdLogger fluentdlog = new FluentdLogger();
	fluentdlog.doApplicationLogic();
}

public void doApplicationLogic() {

    Map<String, Object> data = new HashMap<String, Object>();
    data.put("from", "userA");
    data.put("to", "userB");
    LOG.log("tag1", data);

}

}

I see.
It seems a regression by https://github.com/fluent/fluentd/pull/1263 .
I will check it.

Could you test this configuration with v0.14.6?

I confirmed this msgpack_each related error on Mac.
I will fix this issue soon.

I found the cause and I'm now writing the patch.
We will release v0.14.8 soon.

Hi Masahiro, Thank you very much for looking into it and writing the patch. Can you please update this thread once v0.14.8 is ready. Thanks again

Release v0.14.8

Thank you very much Masahiro for your quick responses and the fix  :+1:


docker-compose build doesn't run

Current Behavior

I had to pull to pull some changes and after running docker-compose build it throws me this error:
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

even though
docker-compose.yml file specifies version: "3"
Possible Solution

Steps to Reproduce (for bugs)

git pull
docker-compose build && docker-compose up

Context

the server won't start
Your Environment

Version used: 1.8.0
Environment name and version (e.g. Node 7.3.12): Node 8.9.1 and 9.2.0
Operating System and version: Ubuntu 16.04 LTS

Hey @gabimoncha I just pulled the latest changes and ran docker. Everything went well. I didn't got the issue you mentioned. Am on mac with docker version 17.12.0-ce. What version of docker you are on ?

Hi @gabimoncha - Please see https://docs.docker.com/compose/compose-file/compose-versioning/#compatibility-matrix
It appears you have an old docker version.
You need 1.13.0+ for v3.0 files.
Can you upgrade your docker engine and verify?


added gym-lachendorf.de

Adds the Immanuel-Kant-Gymnasium Lachendorf.
It's offical site is https://gymnasium-lachendorf.de/home/
But Emails are sent via gym-lachendorf.de
The offical site refers to this via a link labeled "IServ" on the homepage.
The IT subject is described here: https://www.gymnasium-lachendorf.de/unterricht/faecher/informatik/

@Cookie04DE First stage of verification passed, official domain is gym-lachendorf.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Cookie04DE Thank you for your patience while waiting for a review and processing your request. Pull request merged.


updating cugraph benchmarks to 0.12

replacement for https://github.com/rapidsai/notebooks-contrib/pull/227
For the benchmarks, i'm
Updating

[x] pagerank

[x] READMEs

Creating

[x] SSSP

[x] BFS

#227 was also updating dataPrep.sh and louvain_benchmark.ipynb. Did you drop them on purpose?
~Btw, why do we need another PR?~ [edit] I realized that the other PR was based on branch 0.11 so having a new PR is definitely cleaner/safer.

@afender Missed there being actual changes to louvain in the mix of things.  i'll update :)  thanks for catching that!  Give me a few minutes...
and yeah, after spending an hour cleaning up the branch (which i finished), when i saw what was merged, i was like, "Gah!  This shall not be..."

@afender, can we leave louvain's updates out for this PR.  As agreed, we should check with @BradReesWork why he made certain decisions and wait for the pip install issue with cylouvain to be fixed
I updated dataprep.sh as well.  Let's look at the edgelist warnings.


ActiveRecord_Relation serialization

Right now objects that are created from methods that return ActiveRecord_Relation (like #where) can not be surrealized:
User.where(id: 3).surrealize
# => NoMethodError: undefined method `surrealize' for #<User::ActiveRecord_Relation:0x007f90ae569758>

We need to have some kind of schema delegation to the initial object here.

I guess we have two ways here:

Monkey-patch ActiveRecord_Relation so it has #surrealize on an instance.
Force users to use Surrealist#surrealize(instance) directly.
I personally prefer second option.

Could we just map back the surrealization of each element:
    # something like this 🤷🤷 ¯\_(ツ)_/¯
    def surrealize(instance:, camelize:, include_root:)
      instance.map { |i| surrealize(i,camelize, include_root) } if instance.respond_to?(:each) #
      ::JSON.dump(build_schema(instance: instance, camelize: camelize, include_root: include_root))
    end

I think this is similar behaviour as ActiveModel::Serializer.

@AlessandroMinali yeah, you are right, it's a third option and it looks alright. I'll think about it for a while.

Actually, there is the same downside as in the first option - we'll have to monkey-patch Enumerable and else, because otherwise NoMehtodError is thrown:
User.where(id: 3).surrealize
# => NoMethodError: undefined method `surrealize' for #<User::ActiveRecord_Relation:0x007f90ae569758>

Hmm, right.
x = User.where(id: 1)
pp x.ancestors

Shows Surrealist and Instance Methods but for some the methods haven't been included? Not really sure what's going on there.
I guess a simple solution is to introduce a new method like mentioned in the other issue which is just a wrapper to call"
return instance.map { |i| surrealize(i,camelize, include_root) } if instance.respond_to?(:each) #

Would be nice if it just worked though without a separate method.

Here are monkey-patch attempt and a #surrealize_collection methods  WIPs to compare.
Both have specs for AR, ROM, Datamapper and Sequel.

thanks, @AlessandroMinali! I think #surrealize_collection way is much better than monkey-patching, so we can continue to work on that one. Am I right that the API you are planning to introduce is Surrealist.surrealize_collection(collection)?

Yes, that's correct @nesaulov, with the ability to specific camelize and include root etc. if they so choose.


[FEATURE REQ] OTel Exporter: Report metrics for existing app

Library name
Azure.Monitor.OpenTelemetry.Exporter
Please describe the feature.
Am I missing something or is there no auto-instrumentation feature for feeding OpenTelemetry metrics to Azure Monitor ?
There is the Azure Monitor Application Insights Agent which seems to be an Application Insights-specific way of auto-instrumenting existing applications to send metrics (only for ASP.NET Core applications?) to Application Insights.
And there is the OpenTelemetry .NET Automatic Instrumentation which I think would do what I want if there were an Azure Monitor / Application Insights Exporter option I could enable in OTEL_TRACES_EXPORTER or OTEL_LOGS_EXPORTER environment variables.
The idea being that I want to send metrics from existing applications to Azure Monitor without having to modify the application's code.  If I have to run an agent I guess that's ok, but this should work for ASP.NET Core AND Console .NET Core applications.
Thank you

is there no auto-instrumentation feature for feeding OpenTelemetry metrics to Azure Monitor ?

Correct. Such feature do not exist today.


Wrong order of DAG tasks may appear after sortDAGTasks when using Depends instead of Dependencies

Summary
What happened/what you expected to happen?
Running workflow belows may(about 12% chance to reproduce on my environment) got an error said 'invalid spec: templates.main.tasks.C templates.C-template: failed to resolve {{workflow.outputs.parameters.globalResult}}'
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: sort-dag-tasks-test-
  namespace: argo
spec:
  entrypoint: main
  templates:
    - dag:
        tasks:
          - name: A
            template: A-template
          - depends: A
            name: B
            template: B-template
          - depends: B.Succeeded || B.Failed || B.Errored
            name: C
            template: C-template
      name: main
    - name: A-template
      container:
        args:
          - echo "A instance" >/data/result
        command:
          - sh
          - -c
        image: alpine:latest
      outputs:
        parameters:
          - name: result
            globalName: globalResult
            valueFrom:
              default: ""
              path: /data/result
    - name: B-template
      container:
        args:
          - echo "B instance"
        command:
          - sh
          - -c
        image: alpine:latest
    - name: C-template
      container:
        args:
          - echo "{{workflow.outputs.parameters.globalResult}}"
        command:
          - sh
          - -c
        image: alpine:latest

Diagnostics
sortDAGTasks didn't support topological sorting when using Depends
TopologicalSorting is not stable cause it use map inside, thus this bug cannot reproduce stably
What Kubernetes provider are you using?
self host, k3d
What version of Argo Workflows are you running?
v3.1.1
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
docker
Did this work in a previous version? I.e. is it a regression?
same on v3.0.7, v3.0.8
Are you pasting thousands of log lines? That's too much information.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

I'll submit a PR, make sortDAGTasks supports Depends.
Leaves you another one for discuss, is argo accept unpredicted behaviors like this? a bug cannot stably reproduce
@alexec @terrytangyuan

Closed, #6307


Machine Learning System for Parkinson's Disease Detection

hello @yashasvini121,
Problem Description
Parkinson's Disease is a progressive neurological disorder that affects movement, often causing tremors, stiffness, and difficulty with balance and coordination. Early detection is crucial for improving treatment outcomes and managing the progression of the disease. Traditional diagnostic methods are often invasive, expensive, or time-consuming. The aim of this project is to develop a machine learning model that can accurately detect Parkinson's Disease using accessible data, such as vocal or motor control features, in a non-invasive manner. The solution will help in quicker and cost-effective early diagnosis, improving patient care and treatment management.
Model Description
The machine learning model will use a Support Vector Machine (SVM), a robust supervised learning algorithm particularly well-suited for binary classification tasks like disease detection. SVM works by finding the optimal hyperplane that separates the data into different classes (in this case, Parkinson's vs. non-Parkinson's). The dataset will consist of features such as vocal measurements or motor control indicators. Preprocessing steps such as feature scaling, data cleaning, and splitting into training and test sets will be applied. The model will undergo cross-validation and hyperparameter tuning to improve accuracy. SVM is appropriate for this task because it can handle high-dimensional data efficiently and is known for its effectiveness in medical diagnostics.
Estimated Time for Completion
The estimated time to fully implement and test the model is approximately 1 week.
Expected Outcome
The expected outcome is a reliable, high-accuracy SVM model capable of detecting Parkinson's Disease with significant predictive power. Metrics such as accuracy, precision, recall, and ROC-AUC will demonstrate the model's effectiveness. The model will offer a non-invasive, rapid diagnostic tool for early detection of Parkinson's Disease, which can be scaled for use in medical practices or research settings. Ideally, the system will contribute to faster diagnoses, improving patient care and treatment management.
Additional Context
This model will be based on publicly available datasets such as the UCI Parkinson's dataset, which includes biomedical voice measurements. Preprocessing will involve removing outliers and handling missing values. Libraries like scikit-learn, pandas, and NumPy will play a key role in implementing the model. Visualizations of data and model performance will be generated using matplotlib and seaborn.

Kindly assign this to me and add hacktoberfest and gssoc-extdrelated tags. Thank you.

Sure, @nidhipandey73,  go ahead!. A model for this problem statement has already been added using XGBClassifier. Therefore, please create a new folder with a name that ends with _svm or something else.

Thank you so much for this opportunity.
On Fri, Oct 4, 2024, 9:22 PM Yashasvini Sharma @.***>
wrote:

Assigned #36 https://github.com/yashasvini121/predictive-calc/issues/36
to @nidhipandey73 https://github.com/nidhipandey73.
—
Reply to this email directly, view it on GitHub
https://github.com/yashasvini121/predictive-calc/issues/36#event-14521259162,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A72PA3BRMPUM2BLQBJBGAXDZZ22VXAVCNFSM6AAAAABPKHQTFKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGUZDCMRVHEYTMMQ
.
You are receiving this because you were assigned.Message ID:
@.***
com>

Please assign this task to me and include the tags Hacktoberfest

@akanil18, the issue is already assigned, but feel free to create a new PR explaining your unique approach. We'll review how it complements the existing work.


Invalid error message given when using fromJsonWithType, fromJsonStringWithType on JSON compatible types

Consider the following snippet:
string s = "foobar";
int x2 = checkpanic s.fromJsonWithType(int);
io:println(x2);

The following compile error is given for the above:
error: .::test2.bal:33:25: incompatible types: expected '(int|error)', found '(int|error)'

IINM, this should be allowed at compile time, but should panic at runtime.

The following has the same problem:
int i = 20;
string x2 = checkpanic i.fromJsonWithType(string);

And in fromJsonStringWithType() as well:
string jSon = "10";
string val = checkpanic jSon.fromJsonStringWithType(string);

Doesn't seem to work without checkpanic either.
string s = "foobar";
int|error zz = s.fromJsonWithType(int);

This issue is fixed with #24057


Add a batch functionality using a Dataloader

Done, but the dataloader example is a little bit wonky because of the way it logs the training progress will have too look into that.


Unix socket bind error

Environment
PHP: 7.4.3
Workerman: v4.0.5
Issue
https://github.com/walkor/Workerman/blob/2094b5de07e5881cc9aae070496f7808922f2ef2/Worker.php#L2223-L2233
When using workerman by unix socket, php would throw a fatal error.
stream_socket_server(): unable to connect to unix://tmp/test.sock (Unknown error) in file */vendor/workerman/workerman/Worker.php on line 2233
PHP Fatal error:  Uncaught Exception in */vendor/workerman/workerman/Worker.php:2235

This issue could be reproduced by these codes.
<?php
$errno = 0;
$msg = '';
stream_socket_server('unix://tmp/test.sock', $errno, $msg, \STREAM_SERVER_BIND | \STREAM_SERVER_LISTEN);

Additional
According to PHP document, "Tells a stream created with stream_socket_server() and bound using the STREAM_SERVER_BIND flag to start listening on the socket." which should mean we shouldn't use both STREAM_SERVER_LISTEN and STREAM_SERVER_BIND.

unix://tmp/test.sock is not correct. Try unix:///tmp/test.sock.

Oh, sorry for noob mistake...


make error

Not sure what to fix from this make error
pkg2zip on  master via  v11.4.0-gcc via  v3.10.12
on Linux Mint ➜ make
[C] pkg2zip.c
In file included from /usr/include/string.h:535,
                 from miniz_tdef.h:5,
                 from pkg2zip_zip.h:5,
                 from pkg2zip.c:2:
In function ‘memset’,
    inlined from ‘find_pbp_sfo’ at pkg2zip.c:259:5,
    inlined from ‘main’ at pkg2zip.c:671:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: error: ‘__builtin___memset_chk’ forming offset [10, 15] is out of the bounds [0, 10] of object ‘discid’ with type ‘char[10]’ [-Werror=array-bounds]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
pkg2zip.c: In function ‘main’:
pkg2zip.c:647:10: note: ‘discid’ declared here
  647 |     char discid[10];
      |          ^~~~~~
In file included from /usr/include/string.h:535,
                 from miniz_tdef.h:5,
                 from pkg2zip_zip.h:5,
                 from pkg2zip.c:2:
In function ‘memset’,
    inlined from ‘find_pbp_sfo’ at pkg2zip.c:259:5,
    inlined from ‘main’ at pkg2zip.c:671:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:10: error: ‘__builtin___memset_chk’ forming offset [10, 15] is out of the bounds [0, 10] of object ‘discid’ with type ‘char[10]’ [-Werror=array-bounds]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
pkg2zip.c: In function ‘main’:
pkg2zip.c:647:10: note: ‘discid’ declared here
  647 |     char discid[10];
      |          ^~~~~~
cc1: all warnings being treated as errors
make: *** [makefile:57: pkg2zip.o] Error 1

             ...-:::::-...                 spearmint@spearmint
          .-MMMMMMMMMMMMMMM-.              -------------------
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 21.3 x86_64
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Host: A520 AORUS ELITE
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Kernel: 5.15.0-124-generic
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Uptime: 1 day, 12 hours, 33 mins
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Packages: 2942 (dpkg), 43 (flatpak)
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Shell: bash 5.1.16
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   Resolution: 1920x1080
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   DE: Cinnamon 6.0.4
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM: Mutter (Muffin)
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   WM Theme: Mint-Y-Dark-Teal (Mint-Y)
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Theme: Mint-Y-Dark-Teal [GTK2/3]
  :MMM:MMM:`                `:MMM:MMM:     Icons: Mint-Y-Dark-Teal [GTK2/3]
   .MMM.MMMM:--------------:MMMM.MMM.      Terminal: gnome-terminal
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       CPU: AMD Ryzen 9 3900X (24) @ 3.800GHz
       '.-MMMM``--:::::--``MMMM-.'         GPU: NVIDIA GeForce GTX 1070
            '-MMMMMMMMMMMMM-'              Memory: 14309MiB / 32010MiB
               ``-:::::-``

Looks like the find_pbp_sfo function tries to write 16 bites into a 10-byte array.
I'm not bothering to look into what the best way to fix this is, but I can give you a way that is adequate for it to compile, which is to change line 647 from
    char discid[10];
to
    char discid[16];
This way the memset call in find_pbp_sfo won't write past the end of the array. It's possible the discid field really is meant to be only 10 bytes, in which case it might be better to change line 259 from
    memset(discid, 0x00, 0x10);
to
    memset(discid, 0x00, 0x0A);
But at a guess I'd say making the array larger is marginally less likely to break things.


Make sure prefix detection starts from start of the file name

Fix #54728
CC: @isidorn

@Krzysztof-Cieslak thanks for the pr 🍻


Make it easier to create links on a mobile device

It would be nice to have some kind of help for creating links on mobile. Those [ ] characters are hidden away on most keyboards.
Ideally it should be easy both to insert a new link from scratch, and also select text and turn it into a link.
Some projects add a toolbar on the bottom when using a mobile device (logseq for instance), but commands could also be an option i guess

A bottom bar would be nice, but as far as I can tell this is still technically impossible to achieve using web technology (you'd want a bar on top of the keyboard, right?). Perhaps on Android it can be made to work, but I don't think it can be on iOS. An (additional) top bar could be possible, but not sure how that should operate from a UX perspective.
A command of course we can do, but not sure that is actually helping? Triggering a command to insert a link will also take a few taps and typing in (part of) the command name.

Ah, yes, your are right, those bottom bars are probably not in the pure web interface, only in the apps.

It is my understanding that this may be possible to do even with PWAs.  I'm not a frontend expert, but can't you write javascript to detect when a screen resize happens that matches the screen resolution of a text entry window happening and then add the button bar, and remove it when the resolution gets bigger?  Could you use CSS Media Queries?  And possibly only doing this when there are other solid indicators of running in a mobile browser?   This would be helpful for more than just adding links, but could work like hotkeys for mobile, allowing users to map to any buttons they'd want would be huge and allow mobile users to have a much better app experience


Add Policy B data and test

Adds support for different policies, and the data for Policy B and a test of the same.  Enjoy!

Codecov Report

Merging #140 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #140      +/-   ##
=========================================
+ Coverage   98.48%   98.5%   +0.01%
=========================================
  Files          31      31
  Lines         927     937      +10
=========================================
+ Hits          913     923      +10
  Misses         14      14

Impacted Files
Coverage Δ

src/AbatementCosts.jl
98.54% <100%> (+0.09%)
:arrow_up:

src/getpagefunction.jl
100% <100%> (ø)
:arrow_up:

src/load_parameters.jl
88.23% <100%> (+0.73%)
:arrow_up:

Continue to review full report at Codecov.

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


Using drywall with an iOS application

Hello all,
(I've never used the Github wiki, so unsure how to mark this as a discussion and not an issue).
I'm building an iOS application that requires a username & password login, I was suggested drywall as a simple way to create the website side.
I'm not used to web development at all, but keen to learn. I've managed to set up the website correctly, following the setup guide &  so my question is -
Is it possible to connect to drywall through a mobile application? Has anyone attempted?
I see that the login is using Passport? Is that the best starting point to look at?
Any advice is appreciated.

@AJ9 did you finally integrated it? Thanks

Unfortunately not

Did you try and was very complicated or finally you didn't try?

i didn't know enough backend programming to get it to work. It's probably not that complicated for someone that knows what they're doing, but as an iOS dev I didnt get very far

I ended up using a Python, GAE stack with EngineAuth instead. That was easier

@AJ9 thanks :)

Also be sure to checkout Frame which is the core API of Drywall, built with Hapi instead of Express. My more recent user system project, Aqua was built on top of Frame.


Test fix for Milo PR1490

Milo PR1490 changed the selectors of price elements.

Codecov Report

Merging #451 (a8a8219) into stage (bb6e3cf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            stage     #451   +/-   ##
=======================================
  Coverage   96.58%   96.58%
=======================================
  Files          26       26
  Lines        2871     2871
=======================================
  Hits         2773     2773
  Misses         98       98

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


Tests for completion.py 🧪

UPDATE - autoge/oai/completion.py, added tests for each function in the script.

Why are these changes needed?

As discusses here completions.py is lacking comprehensive unit tests.
Related issue number
Reference: #131

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report

Merging #392 (955d2ce) into main (6438625) will decrease coverage by 1.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
- Coverage   42.33%   40.94%   -1.39%
==========================================
  Files          19       18       -1
  Lines        2393     2386       -7
  Branches      539      539
==========================================
- Hits         1013      977      -36
- Misses       1302     1329      +27
- Partials       78       80       +2

Flag
Coverage Δ

unittests
40.94% <ø> (-1.31%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 4 files with indirect coverage changes

@AaronWard, is this PR still active? Do you want to add tests in a new PR?

@qingyun-wu Hey, yeah i opened this but life got in the way so i never got around to finishing it unfortunately. It's stale code now so i will close this PR.


[TC-CNET-4.9] Test case get fails in UI

Describe the bug
TC-CNET-4.9 test case is failing in step 2, 4, 7, 8, 10, 12, 14.
Steps to reproduce the behavior

From the Test-Harness user interface loaded the Network Commissioning Test Plan(WiFi).xml PICS file to select the test cases.
Selected the TC-CNET-4.9 Semi-Automated test case to executed.
Executed the below mentioned command to put DUT into a commissionable state, ./chip-all-clusters-app --wifi
Click the Start button on Test-Harness user interface.

Expected behavior
TC should execute successfully without error.
Log files
CNET-4_9_2023_12_13_16_58_50.log
Report:
TC-CNET-4.9.pdf
PICS file
Network Commissioning Test Plan(WiFi).zip
Screenshots

Environment
Version: main - dev
Sha: f17efc4

Hi @KishokG,
Analyzing the erros in the logs I noticed some results entries with 'NetworkID': b'GRLPrivate' while the expected value is 'NetworkID': b'zigbeehome'.
That happens because the default value for the SSID name is indeed "zigbeehome" as you can see below:
# TC-CNET-4.9 YAML file
config:
    nodeId: 0x12344321
    cluster: "Network Commissioning"
    endpoint: 0
    PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID:
        type: octet_string
        defaultValue: "hex:7A6967626565686F6D65" # zigbeehome in hex string

Can you try something for me?
Try editing the project's config file, changing "test_parameters" to the following:
"test_parameters": {
      "PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID": "hex:47524C50726976617465"
    }

The value "hex:47524C50726976617465" is equivalent to the string GRLPrivate.
Let me know the results.

@antonio-amjr As per your instruction I ran the test case and now it's failing in step 12 and 14. Because after disarming the fail safe, the network should be connected in PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID. But in UI it's not connecting to the PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID after disarming the fail safe.
I ran this test case manually using TH image sample app and SDK and it's passing.
Here is the TH image log and report:
CNET-4_9_2023_12_15_09_47_44.log
TC-CNET-4.9_report.pdf
Manual ran Logs:
TC-CNET-4.9_chip-tool.txt
TC-CNET-4.9_DUT.txt

Thanks for the reply @KishokG, I'll have to look into it.
Meanwhile, could you send me the DUT's log from the TH UI execution as well?

Hi @KishokG,
I didn't manage to test this unfortunately, since I don't have two RaspberryPi for the BLE-WiFi pairing mode.
Did you have the chance to gather the DUT's from the TH UI so I could take a look?

Hi @antonio-amjr
Here is the DUT 's log: TC-CNET-4.9_DUT_TH_UI.txt

Hello again @KishokG,
Analyzing the TH UI DUT's log, the only thing that caught my eyes was the following error:
wpa_supplicant: failed to save config: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: Not allowed to update configuration (update_config=0)
I was wondering if this is related to the network connection not coming back since update_config is disable and it didn't manage to save the configuration.
From the manual run DUT's log, this operation was a success with the following:
wpa_supplicant: save config succeeded!
So, If you haven't already, please try the instructions from the doc for the wpa_supplicant config in the link below:
Enable WiFi supplicant permission in Ubuntu server

Hi @KishokG,
Did you have the chance to verify the above?
Let me know if I can help.
Thanks

Hi @antonio-amjr Sorry for the delayed response. Will check and let you know the status

As per the above instructions updated the wpa_supplicant config file and now the test case is passing.
Thank you @antonio-amjr


how can i use mark.js to regx next string?

Describe your issue here.
Hello , i have use markjs highlight all the string that i want. however, i want choose one of them by order just like chrome find. how can i do it  does mark.js surport this function?

there is . i have find it.   thank you! https://jsfiddle.net/julmot/vpav6tL1/


Feature Request: Default handler for when codes don't have specific handlers

As I understand it, currently only handlers specific for each command will be invoked when each G-Code line is interpreted. It would be useful if we could also provide a defaultHandler function (that accepts cmd and args as parameters) that would be called when a command does not have a specific handler.
For example,
const interpreter = new Interpreter(
  {
      handlers: { /** handlers for specific command */ },
      defaultHandler: (cmd, args) => {},  // Called when no handler is found for a command.
  }
);

Published v2.1.0
Thank you.


IAM Role based s3 access for input artifacts

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
The loading of a hard-wired input artifact from s3 using IAM role instead of accessing it directly via credentials.

This is supported. If access key/secret key are not supplied, argo assumes IAM role authentication


Tag Text Colour off with Galaxy Theme

The tag text colour is off for the galaxy theme.
Within a project:

It is alright though when view from the dashboard:

Yuck.

Hey, it happens sometimes. No real big deal.
Oh, I've also asked him for a tweak, hehe.

Ya, we both are currently pouring our souls into a joint project, so we will get to it.

Okay, is this going to be fixed? I understand you're busy, but this should be a quick fix no?

Since you asked me twice, I'll try and do it tonight.

let me know if that was what you were looking for, or not.

Seems to have done the trick, thank you very much!


Searching large files is slow.

I opened a 1gb postgres dump and ran a search for "2035428" which is contained a few times in the file and xi-gtk took roughly 2 seconds (Not sure how to time this).
I ran the same search using time grep 2035428 data.pgbk and got the time
real	0m0.660s
user	0m0.528s
sys	0m0.131s

I'd be happy to retest with some better measurements for xi-gtk if anyone would like to help me with a better way to record it.

Could you please open an issue in the core repository for that? The search is performed by the core and not by the front-end.

Done Should this issue be closed then?

Should this issue be closed then?

Yes.


pypip.in down?

Badges are not working and pypip.in does not seem to respond.

Same here

+1

same here

still not responding...

See #37

my own pipy badge generator with blackjack and ...
based on shields.io https://github.com/estin/pipybadge
deployed on http://badges-etatarkin.rhcloud.com/
Sorry for my poor English

This comment might be useful: https://github.com/badges/pypipins/issues/37#issuecomment-183937233


Exception thrown when using OneDrive On-Demand Files

The following code results in an exception being thrown when picking a file from FileOpenPicker.PickMultipleFilesAsync, when the file is a OneDrive On-Demand file, even when the file has been downloaded before.
                    using (StorageItemThumbnail thumbnail = await file.GetThumbnailAsync(Windows.Storage.FileProperties.ThumbnailMode.PicturesView))
                    {
                        await Bitmap.SetSourceAsync(thumbnail);
                    }

That throws a System.ArgumentException The parameter is incorrect. streamSource
Changing to use ThumbnailMode.SingleItem makes it work though.
Docs should be updated to note this bug (I assume this is a bug, it seems like it definitely should work, otherwise this is an AppCompat issue).

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

ID: 8e9b19b5-9b36-67ac-f224-722356a4ffc0
Version Independent ID: aae2ca06-7de3-76fb-2b0c-995f84736f9f
Content: StorageFile.GetThumbnailAsync Method (Windows.Storage) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.storage.storagefile.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hi @andrewleader , it seems this Issue has remained stale since the initial submission. I'm currently assigned so I'll create an internal work item to drive this to completion. If otherwise, let me know. I'll mark this Issue as Closed now. Feel free to follow-up either directly in this thread or via Teams/email. Thanks!

Hey lastnameholiu, sounds good! I think I used this API in one of my old Windows Phone apps and I no longer maintain that app, but hopefully other people benefit from the fix!


[backport] Add compile option to build on Windows

This PR is a backport of #244.
The original change has mixed changes to be backported and not to be backported, so this backport PR has different change from #244, only to be backported.

LGTM!


BitBar 1.5 beta 1 causes high CPU load and energy drain

Started using BitBar (1.5 beta 1) today and really loving its potential. I have 3 plugin scripts: Spotify, df and some simple curl output script.
I've noticed my Macbook getting significantly slower since BitBar is running, seemingly caused by high CPU time (constantly between 25%-35%) which in turn drains energy.

Switching to v1.4 solved this for me.

I haven't seen any issue with this.

I'm running a fairly intensive 'system data reporting' plugin I wrote with the BitBar 1.5 beta and I'm not seeing high CPU usage. I only have the one plugin in BitBar right now, so I wonder if this has something to do with using multiple plugins at once? Have you tried disabling one or two and seeing if the issue goes away? Also, what refresh frequency are the plug-ins set to?
Lastly, I see that the OS is telling you to service your battery as per your screenshot, which means your battery is not functioning correctly. I had this happen on an older MBP and I saw the battery drain rapidly in that condition even when not using any power hungry applications. Just saying.

Refresh rates:

curl script: 5 seconds
df script: 1 minute
spotify script: 10 seconds

After disabling the Spotify script (which seems to me would take the most resources), the situation did not improve. After removing version 1.5 beta 1 and installing version 1.4, the problems have vanished.

I've also seen high CPU load on 1.5 b1, in fact I've been forced to quit Bitbar while on battery to not waste too much time. At first I thought it was related to this issue https://github.com/matryer/bitbar/issues/195, but maybe it's two issues?

What plugins were you running?

On 13 Feb 2016, at 08:59, Eric Ripa<EMAIL_ADDRESS>wrote:
I've also seen high CPU load on 1.5 b1, in fact I've been forced to quit Bitbar while on battery to not waste too much time. At first I thought it was related to this issue #195, but maybe it's two issues?
—
Reply to this email directly or view it on GitHub.

@matryer
I'm running the following:
caffeinate.1h.sh
filewatcher.1m.sh
pomodoro.1s.sh
trello.5s.sh
worldclock.30s.sh

caffeinate.1h.sh doesn't do much and is at 1h
filewatcher.1m.sh is a custom script, it simply runs "ls" on a folder and changes output based on amount of files in the folder
pomodoro.1s.sh could probably be causing some issues given it's run every second, however it's not very advanced operations
worldclock.30s.sh is the standard worldclock plugin, but upped to 30s as I don't need the granularity
trello.5s.sh is my own custom plugin (don't know if it's worth upstreaming yet), this is probably the most taxing one as I run a couple of curl requests every time to speak to the API, parsing them through the 'jq' utility.

But in general I don't see them being super heavy. My 'Avg. Energy Impact' for bitbar according to OS X is 71.72. :snail:
Usually restarting bitbar helps solve it briefly, seem to be some kind of leak. I'll try downgrading to 1.4 and see if it helps.

Small note after reading @eripa's report: I've extended the Spotify script also to make curl requests to their web API and parse the output through the jq utility also.

Please try the latest 1.5 release. We think we've fixed some memory leaks.

Please try this with v1.5.1 release and let us know.

Still experiencing this issue. Seem to be related to either curl or jq in plugins. Those are the ones ranking high on energy consumption according to Activity Monitor
Eric

On 17 Feb 2016, at 12:31, Mat Ryer<EMAIL_ADDRESS>wrote:
Please try this with v1.5.1 release and let us know.
—
Reply to this email directly or view it on GitHub.

If that’s the case, then I think it’s outside the scope of BitBar? Or do you see something BitBar could do to mitigate it?

On 17 Feb 2016, at 13:26, Eric Ripa<EMAIL_ADDRESS>wrote:
Still experiencing this issue. Seem to be related to either curl or jq in plugins. Those are the ones ranking high on energy consumption according to Activity Monitor
Eric

On 17 Feb 2016, at 12:31, Mat Ryer<EMAIL_ADDRESS>wrote:
Please try this with v1.5.1 release and let us know.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub https://github.com/matryer/bitbar/issues/209#issuecomment-185203668.

Have you tried sampling BitBar to see if anything useful appears in the sample?

Still seeing very high CPU usage on 1.5.1

I'm running on v1.6 and I'm also experiencing high cpu-usage and energy drain as well. Currently BitBar is using more power that Google Chrome (with like 20 tabs open), which doesn't make any sense for something just running a few scripts in the background.
I only have two plugins: pomodoro and nowplaying and I have each of them running at 10s hoping that would decrease the cpu usage (it didn't)...
Anyone have ideas? I suppose I could try 1.4, but if something got messed up between 1.4 and 1.5 we should probably figure it out haha. :D

I noticed lots of WindowServer[214]: _CGXUnregisterWindowWithSystemStatusBar: Invalid window (1266) messages in the Console app while BitBar was running, and they seemed to stop when I quit it. There were also periodic CPU usage spikes for WindowServer, so maybe something in BitBar is forcing a lot of UI calculations.

This should be fixed as well by bfb47b3 and c352e7e.


Always set destination table in BigQuery query config in Feast Batch Serving so it can handle large results

This pull request updates query configuration in Feast Serving for BigQuery store such that the query result is always saved explicitly to a destination table.
BigQuery has a default maximum response size of 10 GB compressed when query results are written to a temporary table managed by BigQuery. To overcome this limit, an explicit destination table is provided.
These destination tables are only intermediate tables used by Feast Batch Serving to create the final features output, hence Feast set them to expire in 1 day (BigQuery will auto delete them when they expire) by default.

/retest

This pull request updates query configuration in Feast Serving for BigQuery store such that the query result is always saved explicitly to a destination table.
BigQuery has a default maximum response size of 10 GB compressed when query results are written to a temporary table managed by BigQuery. To overcome this limit, an explicit destination table is provided.
These destination tables are only intermediate tables used by Feast Batch Serving to create the final features output, hence Feast set them to expire in 1 day (BigQuery will auto delete them when they expire) by default.

Are you sure you shouldnt configure the allow large results flag in the job options?

Are you sure you shouldnt configure the allow large results flag in the job options?
We only need to set allow large results flag when we're using legacy SQL which we do not use.

/lgtm