Make lib feature-aware and conditionally import Pyth

This allows environments like Playground to know which dependencies are required without being aware of feature flags
We still use an optional feature + cargo feature flag for the dependency when running locally
The result is Seahorse 🤝 Pyth 🤝 Playground

Closes: #75

Whoops, looks like a lot of conflicts came up when I merged #92. Shouldn't affect the tests though.
I'll review this soon - can you add that this will close #75?

Rebased + added that :)

LGTM!


Displays selected extent in MyList modals

Curious for feedback about placement and styling of this information...
fixes #198

I'm not seeing this showing up... But i don't see any console errors. Could changes with Argo have effected this?

I'm definitely seeing it. It's possible that Pisces was unable to parse an extent for any of the items in your list.

Ok, I'll take another look!

Yeah, I think this looks just fine to me styling-wise. The only tiny thing is that it isn't aligned on the right edge with the modal-saved-items__item-group, but neither is the button aligned with the items on the left edge, so there's a kind of symmetry there.
My hesitation is that I had a bunch of stuff in my list to test, and several of them didn't have extent info (Ford microfilm and a couple of AV things with no extent), so the mismatch was a little confusing. I didn't know what would be a folder and what wouldn't. I don't have a handle data-wise on how common this will be, aside from the fact that there is a lot of microfilm. Do we have extents for objects other than folders?

Let's wait for a design solution before trying to implement this.

The need we did hear from users was for requesting copies - knowing how much they were requesting before agreeing to pay the cost. I could also see value in letting users know that they are requesting microfilm or AV materials, because digitization staff have indicated that folks are sometimes taken by surprise by the format off what they've requested (and I see this in the RR with microfilm). BUT from our previous discussion about copy request formats with Reference, they did not identify this as a major pain point.
My two ideas:

Do not implement this now
Follow the lead of old DIMES and keep the folder extent, but then also list the format types for items that are not in folders. That gets to a place where we may want designer input, though.

OK, that's useful. It sounds to me like there are two problems here:

"As a user requesting copies I want to know the original format of the item I'm requesting" - better indication of format of materials in MyList. I agree that's something to add to the design list.
"As a user in the reading room, I want to know the size of items independently or in aggregate so that I can plan requests"

improved parsing of extents (which affects both the text that this PR introduces but also extent display in RecordsDetail). I think this is something we may be able to improve by tweaking logic in Pisces (see my earlier comment). I've filed RockefellerArchiveCenter/pisces#407

In the meantime, I think we hold off on merging this PR until we've got better data to work with.

@HaSistrunk We should have much better coverage of extents now, so I'd be curious for another review of this PR to see if the functionality is more useful.

Yes, I think so!
I tweaked it so that selected: is at the beginning because I think that reads a bit better when there are a few different formats selected. I also added selected: 0 items when there is nothing, because it seems more predictable as a constant presence. Let me know if those changes look ok to you, though.
One (probably rare) thing I see is that when the extent type is "Pages", the logic for singular/plural doesn't work. Eg. objects/Nu5CfRBmTZXEifWKwi5xS9, which has an extent of "82 Pages" which becomes "82 Pagess."

Cool, let's merge this and deploy and see where that gets us. I'm not sure how rare the plural thing is, but it strikes me this might crop up in other places in the app. If we start seeing those plural issues I'd argue for us using pluralize to handle pluralizing strings.


Jest 20

[x] Write changelog.
[x] Write Blog Post.
[x] Add talk videos to website.
[x] Write documentation for --projects.
[x] Write documentation for new CLI behavior.
[x] Get ready to present at JSConfEU.
[x] Test compatibility with React/Relay/FB.

🎉


Version 1.91 does not boot on macOS Catalina 10.15.7

The previous version of Code 1.90 works fine.
Version 1.91 does not start on macOS Catalina 10.15.7, when I try to open it it closes immediately and I do not receive any error messages.

Exactly the same as above. The latest update dated Jul 1 2024 will not launch successfully on my MBP with macos 10.15.7. If I restore VS Code 1.90.2, all is well until I restart it. After a restart VS Code updates itself fo the Jul 1 version and then it is broken again.

I am having this same issue. I was prompted to update while using VS Code - the update shut down the program as expected. Now updated to Jul 1 2024, VS Code will not launch on macOS Big Sur 11.7.10

This is the previous working version to use in the meantime (v1.90): https://code.visualstudio.com/updates/v1_90


Fresh error with GAP in stable branch

########> Diff in /home/hudson/hudson/workspace/GAP-pkg-update-stable-quicktes\
t/GAPCOPTS/64build/GAPGMP/gmp/GAPTARGET/standard/label/graupius/GAP-pkg-update\
-stable-snapshot/tst/teststandard/bugfix.tst, line 2977:
# Input is:
if LoadPackage("anupq",false) <> fail then
for i in [1..192] do Q:=Pq( FreeGroup(2) : Prime:=3, ClassBound:=1 ); od; fi;
# Expected output:
# But found:
Panic: cannot fork to subprocess.
Error, sorry! Run out of pseudo-ttys. Can't open an io stream.

########

I cannot reproduce this here. But then it really depends on what method it uses to obtain pseudo ttys. Can you perhaps attach the config.h of the machine with the error?

To clarify: the config.h is interesting because I would like to know which of HAVE_POSIX_OPENPT / HAVE_PTSNAME / HAVE_GETPT / HAVE_PTSNAME_R / ... are set; this determines which ptty method is used, and that might explain why it works on some systems and not on others

Yes - here it is:
config.h.txt

OK, thanks to a test case @heikodietrich gave me, I was able to reproduce this. After investigating closer, I discovered that the message regarding pseudo-ttys is a red herring -- it is printed by anupq itself! This is the relevant code:
    iorec.stream := InputOutputLocalProcess( ANUPQData.tmpdir,
                                             ANUPQData.binary,
                                             opts );
    if iorec.stream = fail then
      Error( "sorry! Run out of pseudo-ttys. Can't open an io stream.\n" );
    fi;

And while InputOutputLocalProcess only returns fail CREATE_PTY_IOSTREAM returned fail, the actual cause of that failure can be something other than running out of pseudo-ttys. Indeed, in this case, the message before that is key: Panic: cannot fork to subprocess. This message is generated by the GAP kernel, by function StartChildProcess in iostream.c.
So the fork failed. But why exactly is not clear, and GAP does not help, because it does not analyze the error condition further. At the very least, it should print POSIX errno. I'll modify my version of GAP to do so, and I'll also hack it to use explain_fork. Perhaps that will give some further insights.

Dear  Max
This is not a red herring. When one tries to create an iostream, one can run out of the pseudottys.
It typically happens when one opens and closes iostreams continually.
Of course, it is possible  I might be able to recover a pseudotty once an iostream had closed.
Is there such an approach, that you know of?
Regards,
Greg

From: Max Horn<EMAIL_ADDRESS>Sent: Sunday, August 14, 2016 7:59 PM
To: gap-packages/anupq
Subject: Re: [gap-packages/anupq] Fresh error with GAP in stable branch (#15)
OK, thanks to a test case @heikodietrichhttps://github.com/heikodietrich gave me, I was able to reproduce this. After investigating closer, I discovered that the message regarding pseudo-ttys is a red herring -- it is printed by anupq itself! This is the relevant code:
iorec.stream := InputOutputLocalProcess( ANUPQData.tmpdir,
                                         ANUPQData.binary,
                                         opts );
if iorec.stream = fail then
  Error( "sorry! Run out of pseudo-ttys. Can't open an io stream.\n" );
fi;

And while InputOutputLocalProcess only returns fail CREATE_PTY_IOSTREAM returned fail, the actual cause of that failure can be something other than running out of pseudo-ttys. Indeed, in this case, the message before that is key: Panic: cannot fork to subprocess. This message is generated by the GAP kernel, by function StartChildProcess in iostream.c.
So the fork failed. But why exactly is not clear, and GAP does not help, because it does not analyze the error condition further. At the very least, it should print POSIX errno. I'll modify my version of GAP to do so, and I'll also hack it to use explain_fork. Perhaps that will give some further insights.
�
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/gap-packages/anupq/issues/15#issuecomment-239669939, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFUCEDPkumrUe6ZnT93jOnxeG2dMgDlyks5qfwM3gaJpZM4HHxbu.

Greg,
this is a red herring in so far as that the message is misleading: it suggest that the only possible cause for the error is that the system runs out of pttys -- but in reality, this is only one of multiple possible causes for that error.
And yes, normally, pttys should always be automatically be recovered when the associated child process dies. There used to be a bug in GAP which prevented more than 256 (or so) child processes, but I fixed that many years ago.
Note that GAP prints an error "open pseudo tty failed" if openng a pty fails, but this error was not triggered. Instead, GAP proceeded to fork(), and that failed...
But of course it's still possible that there is another bug related to ptys, which might be the source of this issue. But it could just as well be something completely else. After all, when debugging, it's important to keep an open mind, and not jump to hasty conclusions :-).
Anyway, as described, I restarted the computations with a modified version of GAP, which should provide more insights as to what causes fork to fail

Thanks Max
When running tests back in 2001 or so, I noticed that sometimes I couldn't get an IOStream ... and I essentially responded with the message that GAP gave.
It seemed to make sense ... so I didn't take it any further. It also seemed to be a problem one could avoid by keeping an IOStream open, rather than repeatedly opening and closing them.
Presumably, Heiko ran into this problem in a way, which for him the above approach was not desirable.
I can see it would have been useful to have you around back in 2001.
I wanted to rewrite Eamonn's C program because I hated the way it could fail with a segmentation fault rather than respond with a diagnostic saying something like" "You can't do that because it will cause such and such to be exceeded".
Werner stopped me getting involved with such idea ... probably you would have too ... but then I get the feeling you may have modified the C code in places to cause the program to exit more gracefully.
Regards,
Greg

From: Max Horn<EMAIL_ADDRESS>Sent: Monday, August 15, 2016 12:24 AM
To: gap-packages/anupq
Cc: Gregory Gamble; Comment
Subject: Re: [gap-packages/anupq] Fresh error with GAP in stable branch (#15)
Greg,
this is a red herring in so far as that the message is misleading: it suggest that the only possible cause for the error is that the system runs out of pttys -- but in reality, this is only one of multiple possible causes for that error.
And yes, normally, pttys should always be automatically be recovered when the associated child process dies. There used to be a bug in GAP which prevented more than 256 (or so) child processes, but I fixed that many years ago.
Note that GAP prints an error "open pseudo tty failed" if openng a pty fails, but this error was not triggered. Instead, GAP proceeded to fork(), and that failed...
But of course it's still possible that there is another bug related to ptys, which might be the source of this issue. But it could just as well be something completely else. After all, when debugging, it's important to keep an open mind, and not jump to hasty conclusions :-).
Anyway, as described, I restarted the computations with a modified version of GAP, which should provide more insights as to what causes fork to fail
�
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/gap-packages/anupq/issues/15#issuecomment-239682477, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFUCEPC0kdk-hs6HYJNsb5pTPEK0tNS7ks5qf0FXgaJpZM4HHxbu.

Yeah, I think a segfault is never acceptable -- the program should orderly exit with a sane error message :-).
As it is, I think it would be interesting to rewrite anupq with modern technology, perhaps using C++ or even a higher level language like Julia...
Anyway, that's getting quite off-topic :-). So far, my modified version of GAP did not trigger the error, but I keep trying, so hopefully we'll soon know more.

I finally reproduced the issue, with my extra GAP debugging code active. This is what I saw:
Panic: cannot fork to subprocess (errno 12, fork() failed, Cannot allocate
memory (12, ENOMEM) because insufficient kernel memory was available).

So, pseudo ttys are indeed not the culprit -- at least in my instance of the problem. And running out of kernel memory seems like a pretty good reason :-).
Two immediate tasks that follow:

improve the GAP error message to at least give errno)
change the anupq code to print a better error message.

This issue is not reproducible any more - tests pass in stable-4.10 and master branches of GAP.


using in Angular with quill.js, Insert table doesn't work

Hi, soccerloway, I am using quill.js in my angular project, and decide integrate this awesome table
component to my project, but after setting configs in my project, the [insert table] function doesn't work as expected.
it only generate some

 in my editor, and no error complains
Are you saw this problem in before and Could you tell me where is this problem about? Thank you! 🙏
version:
"quill": "2.0.0-dev.0",
"quill-better-table": "^1.2.4",

And also, this is my component.ts  and html code:
app.html
<button (click)="onInsertTable()">Insert table</button>

app.component.ts
import {Component, OnInit, AfterViewInit, ViewChild, ElementRef} from '@angular/core';
import * as quillBetterTable from 'quill-better-table';

declare const Quill: any;

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit, AfterViewInit {
  constructor() {
  }

  @ViewChild('editable', {static: true}) editRef: ElementRef;

  quill: any;

  ngOnInit() {
    this.initEditor();
  }

  initEditor(): void {
    Quill.register({
      'modules/better-table': quillBetterTable
    }, true);
    // tslint:disable-next-line:no-unused-expression
    this.quill = new Quill(this.editRef.nativeElement, {
          theme: 'snow',
          modules: {
            table: false,
            'better-table': {
              operationMenu: {
                items: {
                  unmergeCells: {
                    text: 'Another unmerge cells name'
                  }
                },
                color: {
                  colors: ['green', 'red', 'yellow', 'blue', 'white'],
                  text: 'Background Colors:'
                }
              }
            },
            keyboard: {
              bindings: quillBetterTable.keyboardBindings
            }
          }
        }
    );
  }

  ngAfterViewInit() {

  }

  onInsertTable() {
    const tableModule = this.quill.getModule('better-table');
    tableModule.insertTable(3, 3);
  }
}

https://stackblitz.com/edit/angular-gxfv1g
I tried your code in the environment above.
I found it worked as expected when I reference quilljs and quill-better-table both via


Symlink Error

Hello, well my problem is that im trying to extract the netgear r6100 v<IP_ADDRESS> firmware, when I run this command:
sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root
To extract everything I got a lot of symlink error that says they point outside the extraction folder here is the prompt:
sheep@sheep:~/Downloads/r6100$ sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root
sheep@sheep:~/Downloads/r6100$ sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root
DECIMAL       HEXADECIMAL     DESCRIPTION
192           0xC0            LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 3346944 bytes
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/var -> /tmp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/home -> /tmp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/www -> /tmp/www; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/wpa2 -> /tmp/etc/wpa2; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/mtab -> /proc/7032/mounts; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/hosts -> /tmp/hosts; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/passwd -> /tmp/config/passwd; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/group -> /tmp/config/group; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/ppp -> /tmp/ppp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/gshadow -> /tmp/config/gshadow; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/fstab -> /tmp/fstab; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/resolv.conf -> /tmp/resolv.conf; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/samba -> /tmp/samba; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/ath -> /tmp/etc/ath; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/passwd+ -> /tmp/config/passwd+; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/TZ -> /tmp/TZ; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/shadow -> /tmp/config/shadow; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/config/wireless -> /tmp/etc/wireless; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/dni_apup -> /tmp/sbin/dni_apup; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/ipconflict -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/daemonv6 -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/coexistence_2.4G -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdsched_wlan_status -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cfg -> /usr/sbin/cgiMain; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/button_test_mode -> /usr/sbin/button-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/coexistence_5G -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/rs_send -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/detwanv6 -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdsched -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/show_coexistence -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/show_all_button_status -> /usr/sbin/button-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdroute -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/private -> /tmp/private; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/lib/smb.conf -> /tmp/samba/smb.conf; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/last_stop_time -> /tmp/ppp/ppp_last_stop_time; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/last_conn_time -> /tmp/ppp/ppp_last_conn_time; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/network_status -> /tmp/ppp/ppp0-status; changing link target to /dev/null for security purposes.
1179776       0x120080        Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 10025227 bytes, 1526 inodes, blocksize: 131072 bytes, created: 2018-06-29 15:02:00
As you can see a lot of files point "outside" the extraction folder, which I guess it is some sort of an error and that they are actually trying to point inside but binwalk recognizes it as it is not and launches some security measures, Im trying to learn about all this and can´t find anyone with this same error.

Me too,I got a information :add "--preserve-symlinks" option to ignore these warngings;
I'm wondering why these warnings appear :<

Hello, well my problem is that im trying to extract the netgear r6100 v<IP_ADDRESS> firmware, when I run this command: sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root To extract everything I got a lot of symlink error that says they point outside the extraction folder here is the prompt: sheep@sheep:~/Downloads/r6100$ sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root
sheep@sheep:~/Downloads/r6100$ sudo binwalk -e R6100-V<IP_ADDRESS>.img --run-as=root
DECIMAL HEXADECIMAL DESCRIPTION
192 0xC0 LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 3346944 bytes
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/var -> /tmp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/home -> /tmp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/www -> /tmp/www; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/wpa2 -> /tmp/etc/wpa2; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/mtab -> /proc/7032/mounts; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/hosts -> /tmp/hosts; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/passwd -> /tmp/config/passwd; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/group -> /tmp/config/group; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/ppp -> /tmp/ppp; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/gshadow -> /tmp/config/gshadow; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/fstab -> /tmp/fstab; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/resolv.conf -> /tmp/resolv.conf; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/samba -> /tmp/samba; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/ath -> /tmp/etc/ath; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/passwd+ -> /tmp/config/passwd+; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/TZ -> /tmp/TZ; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/shadow -> /tmp/config/shadow; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/etc/config/wireless -> /tmp/etc/wireless; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/dni_apup -> /tmp/sbin/dni_apup; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/ipconflict -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/daemonv6 -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/coexistence_2.4G -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdsched_wlan_status -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cfg -> /usr/sbin/cgiMain; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/button_test_mode -> /usr/sbin/button-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/coexistence_5G -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/rs_send -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/detwanv6 -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdsched -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/show_coexistence -> /usr/sbin/coexist-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/show_all_button_status -> /usr/sbin/button-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/sbin/cmdroute -> /usr/sbin/net-util; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/private -> /tmp/private; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/lib/smb.conf -> /tmp/samba/smb.conf; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/last_stop_time -> /tmp/ppp/ppp_last_stop_time; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/last_conn_time -> /tmp/ppp/ppp_last_conn_time; changing link target to /dev/null for security purposes.
WARNING: Symlink points outside of the extraction directory: /home/sheep/Downloads/r6100/_R6100-V<IP_ADDRESS>.img.extracted/squashfs-root/usr/traffic_meter/network_status -> /tmp/ppp/ppp0-status; changing link target to /dev/null for security purposes. 1179776 0x120080 Squashfs filesystem, little endian, version 4.0, compression:lzma, size: 10025227 bytes, 1526 inodes, blocksize: 131072 bytes, created: 2018-06-29 15:02:00
As you can see a lot of files point "outside" the extraction folder, which I guess it is some sort of an error and that they are actually trying to point inside but binwalk recognizes it as it is not and launches some security measures, Im trying to learn about all this and can´t find anyone with this same error.

Me too,I got a information :add "--preserve-symlinks" option to ignore these warngings;
I'm wondering why these warnings appear :<

Me too,I got a information :add "--preserve-symlinks" option to ignore these warngings;
I'm wondering why these warnings appear :<


Core JUnit5 migration [ECR-2023]

Overview
Exonum-java-binding-core module tests migrated to JUnit5.

See: https://jira.bf.local/browse/ECR-2023
Definition of Done

[x] There are no TODOs left in the code
[x] Change is covered by automated tests
[x] The coding guidelines are followed
[x] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[x] The continuous integration build passes

Coverage decreased (-0.3%) to 84.564% when pulling 0f272201183ad4b8dbc1a7192285a52b16bb1101 on ecr-2023 into cb92f3023e9f2f88d7aa03c464575a372d2e2da4 on master.

Please merge with master because I pushed new tests at JUnit4 to the core module


haskell.compiler.ghc924Binary: remove unnecessary hadrian workaround

The fix for the issue we are working around has been released in 9.2.3 already, so we no longer need to apply it manually:
https://gitlab.haskell.org/ghc/ghc/-/commit/302eb4c2185acacecaedf8a232098d142a6d6b38
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Random test whether or not a simple package will build correctly:
@ofborg build haskell.packages.ghc924Binary.pretty-simple

Looks like pretty-simple isn't able to be built, but at least everything up to it is:
https://github.com/NixOS/nixpkgs/pull/212099/checks?check_run_id=10809839330
But the same thing currently happens on haskell-updates at least.  So this PR LGTM!

@cdepillabout Dynamic Libraries are disabled in the binary package sets, so TH doesn't work.


FindAtomEnvironmentOfRadiusN error for small molecules

When using rdkit.Chem.rdmolops.FindAtomEnvironmentOfRadiusN with small molecules like LiF or LiCl, this function returns ValueError for atom index 0.
Found it while reimplementing MAP4 fingerprint.
Code to reproduce:
from rdkit.Chem.rdmolops import FindAtomEnvironmentOfRadiusN
from rdkit.Chem import MolFromSmiles

radius = 2
mol = MolFromSmiles("[Li]F")

assert mol is not None

for atom in mol.GetAtoms():
    idx = atom.GetIdx()
    for r in range(1, radius + 1):
        env = FindAtomEnvironmentOfRadiusN(mol, idx, r)

Returns:
ValueError: bad atom index

Configuration:

RDKit version: 2022.09.5
OS: Windows 10
Python version: 3.9.7
rdkit installed through pip

Root cause: this error happens because there is no radius N for atoms in a molecule with diameter lower than N. This function returns an environment of radius exactly N, not up to N. This is not stated anywhere in the docs, which should be fixed.

This should definitely have a better error message

Bump, still relevant


[Bug]: Can't use signMessage() after updated the firmware to 2.1.0 in VUE

Impacted Library name
@ledgerhq/hw-app-btc
Impacted Library version
10.0.3 - 10.0.5
Describe the bug
I can't use the signMessage() after my ledger nano x & nano s upgraded the firmware to 2.1.0 in my vue project
it keep return "list" argument must be an Array of Buffers, tried on 10.0.3, 10.0.4, 10.0.5
it only happen on vue environment, use parcel + core-js is fine.
Firmware version: 2.1.0
Model: Ledger Nano X / S
@ledgerhq/hw-app-btc 10.0.5
@ledgerhq/hw-transport-webusb 6.27.16
const message = { tokenSn: "1FigxLFf8HkcmPirGWTDcmvoJ8Dh61ujir" }
const signData = {
  ...message
}
const hex = Buffer.from(JSON.stringify(signData)).toString('hex')

const result = await btc.signMessage(this.path, hex)

Full message Error
Ledger.vue:94 TypeError: "list" argument must be an Array of Buffers
at Function.concat (index.js:399:1)
    at ClientCommandInterpreter.addKnownList (clientCommands.js:231:1)
    at AppClient.eval (appClient.js:141:1)
    at Generator.next (<anonymous>)
    at eval (appClient.js:7:1)
    at new Promise (<anonymous>)
    at __awaiter (appClient.js:3:1)
    at AppClient.signMessage (appClient.js:130:1)
    at BtcNew.eval (BtcNew.js:239:1)
    at Generator.next (<anonymous>)

Expected behavior
it should not throw the error
Additional context
my vue project demo: https://github.com/SanIP117/ledger-vue-testing

@bigspider maybe you have an idea? ty ty

No, sorry

@bigspider maybe you have an idea? ty ty

No, sorry

Thanks!

@haammar-ledger maybe this rings a bell, ty ty


Remove deprecated admin server flags

Fixes part of https://github.com/jaegertracing/jaeger/issues/2738
Signed-off-by: pradeepnnv<EMAIL_ADDRESS>

@pradeepnnv Thank you!

Thanks @yurishkuro for your help and guidance. Hope i'll be able to contribute more for Jaeger.


Android - Background  color of picker's popup dialog issue

Background  color of picker's popup dialog issue (always dark) and only in exponent container,
tested in 11.0.1 version

@aliklev - can you provide the code you used for this? cc @jesseruder

I have the same issue. Exponent v12 I'm using it with tcomb-form-native -> https://github.com/gcanti/tcomb-form-native/blob/master/lib/templates/bootstrap/select.android.js

I let @ccheever know that this can be changed here -> https://github.com/exponentjs/exponent/blob/master/android/app/src/main/res/values/styles.xml
And ways to do it are prescribed here -> http://stackoverflow.com/questions/38921492/how-to-style-the-standard-react-native-android-picker/39141949#39141949

resolved in latest version of exponent!


Array is treated as object in certain setup

It happens only on one of my computers and I could not understand why but Immutable fails to detect arrays as such and treats them like regular objects.
The simple reconstruction:
Immutable = require('seamless-immutable')
Immutable([1,2,3])
//output is:
{ '0': 1, '1': 2, '2': 3 }

This also happens in our environment - really frustrating as it makes it impossible to create Immutable arrays. I'd love to see your PR specs fixed up and merged!

Thanks for letting more know I was not the only one affected. At some point
I was losing my mind over it.
My PR seem to be just fine, all the tests poss when I run them locally.
There is some configuration error in the repo that causes all PRs to fail.
If you want to use the fixed version before the PR is merged you can use my
fork for now and subscribe to this thread to know when to switch back.
On Fri, Sep 9, 2016, 01:28 Tom Moor<EMAIL_ADDRESS>wrote:

This also happens in our environment - really frustrating as it makes it
impossible to create Immutable arrays. I'd love to see your PR specs fixed
up and merged!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rtfeldman/seamless-immutable/issues/146#issuecomment-245761781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByTcZMvKNcMgJBZvBBxjR-D1lHYWlJZks5qoIwQgaJpZM4J0f39
.

@tommoor FYI @variant77's fix has been merged and released as 6.1.2!


A couple of minor things I had to modify to get the build to work - Jan 2023

I hope you and your community are OK.
I'm starting a project on esp32 and was looking for an abstraction layer to avoid having to work at the IDF espress C++ level. Your library and the C++ code looked very good when I read the documentation and worked through some of the code. How you managed to write this in the 6 months you mention makes me think you must be a very capable programmer!
Earlier branches did not build due to one or two missing Javascript modules for the web component. I had to study and learn Yarn to work out what was going on.  I had to rename in: core/examples/basic/web-ui/node_modules/@esp32m/ui/dist/components the "Theme" module to change lower case 'theme' directly name to uppercase 'Theme'.
I then had to copy ThemeProvider which I grabbed from  ./node_modules/@mui/system/ThemeProvider and planted into ./node_modules/@esp32m/ui/dist.
At this stage Yarn / Web-Pack succeeded. I still do not understand why these packages were missing from the NodeJs downloads via Yarn?
I then hit a problem with the main ESP-IDF code in tagged releases missing the ./components/esp_adc component. I had to clone the "master" branch which ESP-IDF does not push to get this automatically. Of course, I could have simply copied the folder and files from GitHub.
Now the examples/basic code builds and runs. Looking good.
Is it worth trying to convert to Yarn2 for furute stable use?
Thanks
Nick

Hi, you're right, I use master branch of ESP-IDF. The project is at the very early stage and, to my knowledge, noone uses it for serious stuff except myself. I will introduce versioning to match specific ESP-IDF release sooner or later, but at this point I just
want to keep up with the latest ESP-IDF developments. I understand that this may lead to compile errors now and then, but the best I can suggest at the moment is submitting an issue and I will look into it ASAP.
Regarding the UI issue, I was actually going to switch to yarn3, but I don't think the particular problem you were facing is related to yarn. It may have to do with interoperability of tsc, babel and webpack. I'm glad you figured it out. If you have problems compiling UI in the future, I suggest the following: clone the https://github.com/esp32m/ui.git repository and link it to your web-ui folder using yarn link command. This how I always compile the UI, and it works better than with the @esp32m/ui npm module.
Thank you for the input, feel free to contact me if you have any other issues/questions/suggestions.

Thanks. I'll try that. Next thing on my list is to try and disconnect WiFi on power removal using a "brownout" interrupt. My modem takes a very long time to forget the connection. Hopefully there will be enough time/power to disconnect before the processor dies. Then connect a better than the esp32's real time clock. I have 40+ years background but done very little myself for many years.
It was great to get a response so quickly.

I never thought of disconnecting on brownout, that could certainly be useful, but I wonder if it is possible. The chip must TX to initiate disconnect, and TX draws a lot of power. It may not succeed before the voltage drops to a critical level.

Yes, I am aware of that issue. Experiment will see what happens, I may have
to continue without it, it is a development time issue rather than
production. My modem misbehaves so it needs a 15 minute reboot after an
esp32 reset. So, if brownout can be made to work and has enough power, I
will be much happier. It is the only thing it would currently need to do.
It will be a week or two before I get time to get much farther with this....
Thanks
Nick
On Thu, 9 Feb 2023 at 09:08, dyarkovoy @.***> wrote:

I never thought of disconnecting on brownout, that could certainly be
useful, but I wonder if it is possible. The chip must TX to initiate
disconnect, and TX draws a lot of power. It may not succeed before the
voltage drops to a critical level.
—
Reply to this email directly, view it on GitHub
https://github.com/esp32m/core/issues/4#issuecomment-1423857157, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6CDD54LPY5KXU7NN7LAU3WWSXZTANCNFSM6AAAAAAUVT6DEQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Nick Filer
15 Ravensway
Prestwich
Manchester M25 0EU
Email: @.***


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #49 (6f3e753) into main (e80fa9f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   77.74%   77.74%
=======================================
  Files          11       11
  Lines         364      364
  Branches       32       32
=======================================
  Hits          283      283
  Misses         81       81

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Adapters: boolean defaults from schema not working in modal

This issue was fixed in the related PR; I think it can safely be closed.


Change transform style on Android to fix perf

Description
resolves #751
Change transform style to fix inverted performance issue on Android.
Reviewers’ hat-rack :tophat:
Messages sample should perform flawlessly.
Checklist

[x] I have added a changelog entry following the Keep a Changelog guidelines.

@KYZNCODE-Sebastian-Roese Indeed, checking the upstream patch suggests that we should pass isInvertedVirtualizedList to the inner ScrollView when using inverted lists on Android. This can be achieved by adding overrideProps={{ isInvertedVirtualizedList: true }} to the FlashList.


chore: update workflows folder name

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Windows: piping from another process fails to update editor contents

Issue Type: Bug

From any command line run ping -t github.com | code - or pipe another process that runs indefinitely to code -
Observe that a window does not open and the command does not return.

The file should open and update as new data is piped to the code cli command.
This works on the Mac when you run ping github.com | code - but does not work on Windows.
This is not a 1.67.0 regression
VS Code version: Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47, 2022-05-04T12:06:02.889Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

The underlying reason seems to be that writing to a file via stream API where the file handle is not closed does not trigger file events on Windows at least. Maybe as a workaround we have to use the less efficient appendFile method that opens a file handle each time and closes it.

This bug has been fixed in the latest release of VS Code Insiders!
@croddin, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 668c538b8d2fec1258ed786ae212124d6d68023c of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

I am still experiencing this issue on the version on insiders below.
echo "hi" | code-insiders -  #opens vscode insiders with a file containing "hi"
ping -t github.com | code-insiders - # blocks indefinitely and does not open vscode

Version: 1.69.0-insider (user setup)
Commit: 173f4bea73601a31859372b409cac2c20fa91194
Date: 2022-06-24T06:32:08.615Z (13 hrs ago)
Electron: 18.3.4
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Here is how to verify:

ensure you are on latest insiders
from a terminal on Windows run ping -t github.com | code-insiders -
verify output is updated

I tried on the latest insiders with that command and vscode-insiders still does not not open for me.
If I run ping -t github.com | code-insiders - it hangs and never opens vscode-insiders
If I run without the -t flag, it will open after the command completes.
Version: 1.69.0-insider (user setup)
Commit: e71b6105ebb4fbcfbf38a1b62bcbafdb048d3468
Date: 2022-06-27T07:59:47.622Z (10 hrs ago)
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

This works for me on Windows 11, but may need further investigation @bpasero


Why translations of survey is so terrible in so many languages?

Several of friends of mine have reported that translation of survey this year is terrible.
It feels like it uses google translate and just parses whatever it gets.
So far, I can confirm Simplified Chinese, Traditional Chinese, and Spanish are so awful even regular users can notice.
I fear this will cost community trust as a whole.
What happened this year? And could we update it to make it better?

Sorry for this! We tried to make the admin of the survey a bit easier this year, and it bit us in the end. I'm going to work with folks in Zulip on improving the translations.

This year we hope to do a better job with the translations. We could find volunteers for Simplified Chinese (and Spanish) but not for Traditional Chinese. If you want to contribute @wusyong feel free to get in touch (though we're have pretty short on time at this point).
Going to close this issue, thanks for your contribution


Testing output buffer not closed

A change was made at some point over the last few months, which results in some tests being flagged as "risky". The travis-ci builds, but the risky tests mess up code coverage.
CodeIgniter 4 version
develop
Affected module(s)
Travis-ci log excerpt:

CodeIgniter\CodeIgniterTest::testRunDefaultRoute
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testRunEmptyDefaultRoute
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testRun404Override
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testControllersCanReturnString
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testControllersCanReturnResponseObject
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testRoutesIsEmpty
Test code or tested code did not (only) close its own output buffers
CodeIgniter\CodeIgniterTest::testTransfersCorrectHTTPVersion
Test code or tested code did not (only) close its own output buffers
FeatureTestCaseTest::testCallGet
Test code or tested code did not (only) close its own output buffers

the source of all this is the CodeIgniter::tryToRouteIt where ob_start opens a new buffer but it doesnt close.
workaround : use tearDown to clear open buffers #1242

Fixed by #1242


Suggest using whisper-resize in storage-schemas.conf

When changing retention settings it's not directly obvious that you need to manually resize all data files.
I suggest adding a note to
https://github.com/graphite-project/carbon/blob/master/conf/storage-schemas.conf.example
While looking into this I found that #379 had also been looking for this info.
The documentation does mention this:

This retention is set at the time the first metric is sent.
Changing this file will not affect already-created .wsp files. Use whisper-resize.py to change those.

And I found a few command suggestions in https://gist.github.com/kirbysayshi/1389254

Thanks!
PRs are welcome, btw. :)


add support for migration v2 to the spec

This adds the VFIO_USER_DEVICE_FEATURE, VFIO_USER_MIG_DATA_READ, and VFIO_USER_MIG_DATA_WRITE commands.

@w-henderson I think this can now be merged into master-migv2?

@tmakatos Yes, I think it's all good - go ahead!

@w-henderson looks like there are conflicts?

@tmakatos I have no idea what was going on with the conflicts - Git seemed to be finding conflicts between identical paragraphs of text and the above merge commit is literally an empty commit, but apparently that fixed the conflicts? Anyway it's good to merge now (I hope).

Ugh, I botched the commit message. Anyway, let's fix it when merging to master.


Command refactor

Add UT for CommandExecutor, fix bugs in getCommandInfo.
Modify LOG format.
Fix a UT problem caused by single instance.

@littlezhou Code style fixed. Fix a bug caused by killing mover.


[Tests]Disallow user override of culture options while running tests

Summary of the Pull Request
On some tests, we set a culture to try and compare date in numbers to the expected value in a specific culture. However, this might still be overridden by some user options, causing tests to fail in local dev machines.
This PR disables user overrides when creating the culture info we use for the tests.

Validation Steps Performed
DateTime tests still pass after changing time format to 24 hours.

I've added a commit to also embed Utc in the time date for the Utc tests, so that the tests can run on local machines with different timezones.

I've added a commit to also embed Utc in the time date for the Utc tests, so that the tests can run on local machines with different timezones.

Nice catch.


Docs-add-private-registry

Add private registry docs
https://tigera.atlassian.net/jira/software/projects/DOCS/boards/69?selectedIssue=DOCS-165

Deploy from private registry is now supported for OS via operator
Remove OpenShift note (approved by Karthik)
Requires QA/Dev review of images shown in docs
Merge to /nightly
EE version docs are here: https://docs.tigera.io/master/getting-started/private-registry/. I took out reference to "get a license"

@bmckercher123 is this ready for me to take a look? Or is someone else reviewing?

As discussed, this one needs QA validation per Erik below...
"I don't believe there would be any special testing needed. Though I do want to point out the image lists (docker commands) will change quite a bit since different images (and a lot fewer) are used for OS vs EE.
Ok well I guess it'd be good for someone to run through the docs and make sure it works, though I think that would only be to verify the proper images were included in the docs.
The test would be for the docs, not that the functionality is actually there.

Is this what we've agreed to?

Make a single doc with note for image path
Keep include for private registry
Change TOC to "Deploy image options" with two children (digest and private registry)
Open ticket to validate EE image paths
Karthik is checking to see status of image by digest for EE

Casey, this is one area that we could "share" content better if you are ok with me moving this out of /Operations to /Install. Are you ok with that so we can align better?

I'm having issues with this PR locally. I am closing out and creating a new one.


issue: nessus pukes on plugin updates when registering

@jcwx @jumanjiman
When I use the data container, nessus fails downloading the plugins.
CONTAINER ID        IMAGE                                 COMMAND                CREATED             STATUS          PORTS
              NAMES
f5290269ffae        sometheycallme/docker-nessus:latest   "/opt/nessus/sbin/ne   6 minutes ago       Exited (1) 21 seconds ago
              nessus-unlicensed

It fails at the same spot every time this plugin download is attempted.

This does not occur when running nessus in a single self contained image.  (I'm wondering if this occurs only because of my crappy VM testing environment for docker right now)

@sometheycallme
There is enough space on the VM?  Just a thought.  The image ends up being just over 3 GB once the plugins are installed on the instances I've created.
I too have had the plugin download cause containers to exit such as you have.  The last one that did so I restarted and it completed the process.

There is enough space on the VM?

Probably not.  I also noticed that loading the plugins takes about 3-5GB

Hi,
I'm experiencing the same problem here but I have enough space and I cannot restart the process. I have to say I tried to complete the process anyway, I tought it was OK with nessus registration and plugin download.
docker ps -a --no-trunc=true CONTAINER ID                                                       IMAGE                                 COMMAND                             CREATED             STATUS                      PORTS               NAMES e08ab422ad91aa771ea7c6de82944cd537b7b297f7e98b7e8e32155f0803ad65   nessus:licensed                       "/opt/nessus/sbin/nessus-service"   41 minutes ago      Exited (1) 41 minutes ago                       nessus-licensed 5ea54a1eac8468d51de31ab311c8edfa40c80b0cb7dd79f6a5637c95a68d2de3   sometheycallme/docker-nessus:latest   "/opt/nessus/sbin/nessus-service"   4 hours ago         Exited (1) 3 minutes ago                        nessus-unlicensed 87c66e9e81c5ef50e943c6f9f4850ec6b603c1adbb9db796ec7d417214e6bb90   nessus-unlicensed-data:latest         "true"                              4 hours ago                                                         nessus-unlicensed-data
 docker start -i 5ea54a1eac84 Error -- could not launch nessusd (No such file or directory)
Why nessusd cannot be found ? I followed the docker cp process though.
pwd /home/passe/docks/docker-nessus/nessus-data/sbin ll total 16M drwxr-xr-x 2 root  root  4.0K Oct 19 15:32 . drwxr-xr-x 5 passe passe 4.0K Feb 22 13:55 .. -rwxr-xr-x 1 root  root  4.2M Jul 20  2015 nessus-check-signature -rwxr-xr-x 1 root  root  5.8M Jul 20  2015 nessuscli -rwxr-xr-x 1 root  root  6.1M Jul 20  2015 nessusd -rwxr-xr-x 1 root  root   11K Jul 20  2015 nessus-service
Same issue with the supposedly "licensed" container:
docker run --name nessus-licensed2 -p 8834:8834 --mac-address 02:42:ac:11:00:01 --volumes-from nessus-unlicensed-data nessus Unable to find image 'nessus:latest' locally Pulling repository nessus FATA[0008] Error: image library/nessus:latest not found zsh: exit 1     docker run --name nessus-licensed2 -p 8834:8834 --mac-address  --volumes-from
I noticed we have to specify nessus:licensed in order to run it (I suppose), but I have still the same error as before:
docker run --name nessus-licensed2 -p 8834:8834 --mac-address 02:42:ac:11:00:01 --volumes-from nessus-unlicensed-data nessus:licensed Error -- could not launch nessusd (No such file or directory)
Anyway, the procedure is not working for me and I strictly followed it. Any clue about that behavior ?

@Passe12345
Thanks for trying the procedure out.
Allow me to look at the process once more.   I know that @jcwx has had much more luck in getting the data into the container (pretty sure we tar'd up the directory to present later on in the container runtime).

Interesting, can anyone of you describe how to include all the data into the container then ?
To complete, here is the list of images I have:
docker images
REPOSITORY                     TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
nessus                         licensed            7395be6cb7b3        About an hour ago   837.7 MB
nessus-unlicensed-data         latest              2363db01e419        4 hours ago         67.31 MB
sometheycallme/docker-nessus   latest              f83a7053a9ad        4 months ago        302.3 MB

I wrote things up in a way I hope is understandable here, which includes systemd based services their associated timers.  Instructions for the backup stuff is in there.
https://github.com/jcwx/docker-nessus

@jcwx - when you created your docker-nessus did you go through the registration and pull in the latest (eg scratch build) or did you copy over an already running Nessus with the plugins?

I copied the backup I'd created into the install, so it was using the previous license/config.  It's possible to start from scratch by commenting out the backup restore items in the Dockerfile, however.

Apparently when I launch with the option "--volumes-from nessus-unlicensed-data" several files are missing. This is not the case when I avoid this volume.
docker run -t -i --name nessus-licensed4 -p 8834:8834 --mac-address 02:42:ac:11:00:01 --entrypoint bash --volumes-from nessus-unlicensed-data nessus:licensed
[root@12d9802e326b /]# cd /opt/nessus/sbin/
[root@12d9802e326b sbin]# ls
nessus-check-signature  nessus-service
[root@12d9802e326b sbin]# ls -lash
total 4.2M
4.0K drwxr-xr-x  2 root root 4.0K Feb 22 16:14 .
4.0K drwxr-xr-x 10 root root 4.0K Feb 22 16:14 ..
4.2M -rwxr-xr-x  1 root root 4.2M Jul 20  2015 nessus-check-signature
 12K -rwxr-xr-x  1 root root  11K Jul 20  2015 nessus-service

Without the nessus-unlicensed-data volume:
docker run -t -i --name nessus-licensed3 -p 8834:8834 --mac-address 02:42:ac:11:00:01 --entrypoint bash nessus:licensed
[root@4b28f9e3d136 /]# ls -lah /opt/nessus/sbin/
total 16M
drwxr-xr-x  2 root root 4.0K Oct 19 13:32 .
drwxr-xr-x 12 root root 4.0K Feb 23 11:57 ..
-rwxr-xr-x  1 root root 4.2M Jul 20  2015 nessus-check-signature
-rwxr-xr-x  1 root root  11K Jul 20  2015 nessus-service
-rwxr-xr-x  1 root root 5.8M Jul 20  2015 nessuscli
-rwxr-xr-x  1 root root 6.1M Jul 20  2015 nessusd

This explains why nessusd is not found in my previous post. However, the license is not correctly setup in this docker instance. As I installed it from scratch I have no backup of it.
@jcwx your solution is interesting, but I won't use it since it requires a systemd based system, this is not my case and I don't want to spend much time to make it compliant to my system.

@Passe12345
It appears as though you are getting stuck at the last step I have gotten to in the procedure.  Step 5, adding the license.   There is a middle step after step 5, which is the automatic updates that Nessus tries (plugins) after successfully registering (registering works fine - I've tested it).
I think a good next step would be to try registering offline, and requesting to download the plugins in a tarball that can be added to the nessus-licensed-data container.   When time permits I will try this and update the thread.
If successful, we move to step 6
docker ps
docker stop <container ID>
docker ps -a
docker commit <container ID> <image-name>
docker images

The challenge with Nessus is that the plugins are dynamically updated every 24 hours, so once we have a running data container - it needs to be saved periodically (scheduled job).
The idea with this image was to decouple the nessusd from the nessus-data (license, plugins, scans)

Goal:  Create a newly licensed container, without any historical reference to an organizations existing Nessus Setup. (fresh, brandy new install)
Here are a few links to the process to register offline.
http://static.tenable.com/documentation/nessus_v6_command_line_reference.pdf
https://plugins.nessus.org/offline.php

Apparently when I launch with the option "--volumes-from nessus-unlicensed-data"

Yes, that is correct.  when getting to step 5 - we want to commit the registered data to the volume and create a more permanent data volume.
Another option is to NOT create a data volume and just register Nessus as is (as you mention) without using a separate container.   This way everything is self contained.
Either way - I think that the plugins are the real challenge here.

@sometheycallme I just saw your answers. In the meantime I managed to solve completely the issue by copying "nessuscli  nessusd" binaries from "nessus-licensed3" into "nessus-licensed4" container. By now, my "nessus-licensed4" container works perfectly with the previously registered license.
I believe you forgot to specify those two binaries when creating the "nessus-unlicensed-data" image.

container works perfectly with the previously registered license.

Plugins included?

Everything seems fine yes.
[root@12d9802e326b sbin]# ./nessuscli update

----- Fetching the newest updates from nessus.org -----

Nessus Plugins: Complete

Nessus Core Components: Complete

 * Nessus Plugins are now up-to-date and the changes will be automatically processed by Nessus.
 * Nessus Core Components are now up-to-date and the changes will be automatically processed by Nessus.

@Passe12345
Your help here is appreciated.  we should update our procedures to include steps you took to get this working.

Do you mean this?  Because at that point we might as well just do /opt/nessus :)
COPY var /opt/nessus/var
COPY etc /opt/nessus/etc
COPY sbin /opt/nessus/sbin
COPY cli /opt/nessus/cli
COPY nessusd /opt/nessus/nessusd

# use that data as a volume for startup
VOLUME /opt/nessus/var
VOLUME /opt/nessus/etc
VOLUME /opt/nessus/sbin
VOLUME /opt/nessus/cli
VOLUME /opt/nessus/nessusd

Yes, but it is needed to investigate why nessusd and nessuscli are not present in the volume after the first plugin download. Maybe, during the plugin download phase a Nessus core update is also performed ? It is maybe something related to that, just a guess.

Maybe, during the plugin download phase a Nessus core update is also performed ?

I have a hunch that because (as you pointed out) nessus/cli is missing, the plugins don't work because Nessus is looking for the cli commands via GUI.

Another point, I tried to save / load (on a new physical machine) the 2 volumes after committing the 2 modified images.
Nessus and plugins are loading but the license is invalid, even when using the same MAC address. It is not possible to use it on several environments.

Thanks @Passe12345
Are you running 6.4.3 as placed into this repo?  or did you register and download?

As you could notice, yes I use the version 6.4.3 of nessud and nessuscli which I imported from another container.

Any news on this? I have the same problem

Hey guys.  Sorry for delaying a reply here.  Been busy!
@seccubus added a PR with make file that handles licensing Nessus containers nicely.  If I remember correctly, Nessus needs a static MAC address
cc @jcwx
https://github.com/cleanerbot/docker-nessus/blob/master/Makefile

WRT to the plugins updating, I haven't tested.

#26

#32


hello: Test Travis artifacts

To test multiple distros and build architectures:
matrix:
  include:
    - sudo: false # dist: precise
    - sudo: required # dist: precise
    - dist: trusty
      sudo: required

ruby 1.9.3p551 fails:
https://travis-ci.org/Linuxbrew/linuxbrew/jobs/115956255#L231-L235
Installing simplecov-html 0.10.0
NoMethodError: undefined method `spec' for nil:NilClass
An error occurred while installing simplecov (0.11.2), and Bundler cannot
continue.

See https://travis-ci.org/Linuxbrew/linuxbrew/builds/115956252


add TCR test data

Does the PR in bcellmagic refer to this new data? Then probably needs a merge before pushing dev to master ?

The test data is for the next PR where I will add the TCR tests 😄


Patch revert test

Issue #151 and adds preliminary test files.
Issue #151 was supposedly blocked by https://github.com/Sage-Bionetworks/schematic/issues/732, which has been resolved by https://github.com/Sage-Bionetworks/schematic/commit/65a66741c7c21f714fc4a67d34ad92df34ff0147.

[x] Revert valid values as requested.
[x] Build schematic from source at https://github.com/Sage-Bionetworks/schematic/commit/65a66741c7c21f714fc4a67d34ad92df34ff0147.
[x] Add test manifest with mixed ints and blanks.
[x] Run validate and submit.

Validate works but submit doesn't?
Validate result:
(schematicpy-Nb0N8oaB-py3.8) anh@Io:~/Sage/nf-osi/nf-metadata-dictionary$ schematic model --config config.yml validate -mp tests/GenomicsAssayTemplate.csv -dt GenomicsAssayTemplate -rr
Starting schematic...
The (model > input > location) argument with value './NF.jsonld' is being read from the config file.
The (model > input > file_type) argument with value 'local' is being read from the config file.
JSON schema successfully generated from schema.org schema!
JSON schema file log stored as ./NF.GenomicsAssayTemplate.schema.json
Great Expetations suite will not be utilized.
Your manifest has been validated successfully. There are no errors in your manifest, and it can be submitted without any modifications.

Submit result:
(schematicpy-Nb0N8oaB-py3.8) anh@Io:~/Sage/nf-osi/nf-metadata-dictionary$ schematic model --config ./config.yml submit -mp tests/GenomicsAssayTemplate.csv -vc GenomicsAssayTemplate --manifest_record_type entity --use_display_label -hb -rr
Starting schematic...
The (model > input > location) argument with value './NF.jsonld' is being read from the config file.
The (model > input > file_type) argument with value 'local' is being read from the config file.

UPGRADE AVAILABLE

A more recent version of the Synapse Client (2.6.0) is available. Your version (2.5.1) can be upgraded by typing:
    pip install --upgrade synapseclient

Python Synapse Client version 2.6.0 release notes

https://python-docs.synapse.org/build/html/news.html

 [####################]100.00%   1/1   Done...
Downloading  [####################]100.00%   60.4MB/60.4MB (7.4MB/s) SYNAPSE_TABLE_QUERY_98273300.csv.synapse_download_98273300 Done...
    /home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/synapseclient/table.py:1968: DtypeWarning: Columns (10,11,53,56) have mixed types.Specify dtype option on import or set low_memory=False.
  return _csv_to_pandas_df(self.filepath,
JSON schema successfully generated from schema.org schema!
JSON schema file log stored as ./NF.GenomicsAssayTemplate.schema.json
Great Expetations suite will not be utilized.
Traceback (most recent call last):
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/bin/schematic", line 5, in <module>
    main()
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/home/anh/Sage/nf-osi/schematic/schematic/models/commands.py", line 115, in submit_manifest
    manifest_id = metadata_model.submit_metadata_manifest(
  File "/home/anh/Sage/nf-osi/schematic/schematic/models/metadata.py", line 344, in submit_metadata_manifest
    manifest_id = syn_store.associateMetadataWithFiles(
  File "/home/anh/Sage/nf-osi/schematic/schematic/store/synapse.py", line 843, in associateMetadataWithFiles
    annos = self.format_row_annotations(se, row, entityId, useSchemaLabel, hideBlanks)
  File "/home/anh/Sage/nf-osi/schematic/schematic/store/synapse.py", line 684, in format_row_annotations
    elif isinstance(anno_v,str) and re.fullmatch(csv_list_regex, anno_v) and 'list' in se.get_class_validation_rules(anno_k):
  File "/home/anh/Sage/nf-osi/schematic/schematic/schemas/explorer.py", line 431, in get_class_validation_rules
    class_info = self.explore_class(class_label)
  File "/home/anh/Sage/nf-osi/schematic/schematic/schemas/explorer.py", line 332, in explore_class
    if "subClassOf" in self.schema_nx.nodes[schema_class]:
  File "/home/anh/.cache/pypoetry/virtualenvs/schematic-65a6674/schematicpy-Nb0N8oaB-py3.8/lib/python3.8/site-packages/networkx/classes/reportviews.py", line 193, in __getitem__
    return self._nodes[n]
KeyError: 'cellType'


Can I update some new features?

Hello! I read the paper and want to implement the code, and I want to add some KA features on vit for image classification. My ideas are as below:
Provide a comprehensive and robust pipeline and a data preprocessing method that allows training with own datasets.
Implement KA on vision transformers to accomplish image classification tasks.(finetuned on several datasets such as Stanford Dogs)
Provide a multimodal transfer method to apply KA for audio classification.

Thanks for your update! We'll accept it after the code review.


chore(loglevel): #82 change loglevel to V5

https://github.com/AmitKumarDas/metac/issues/82
change loglevel to V5
Signed-off-by: Florian Koch<EMAIL_ADDRESS>

Thanks @floriankoch

:tada: This PR is included in version 0.2.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Metrics that require probability scores (y_scores)

Hi, I want to use the PR-AUC  (or ROC-AUC) metrics for a few-shot classification problem where the test data is imbalanced.
Therefore, I need the positive (yes) probability to calculate this via scikit-learn, not the y_pred
How can I do that with lm-eval?

Hi! you can get the model outputs as well as the metric score for each each example using --log_samples (use it with --output_path).


Make major and minor version tags of docker images available

I am not sure if this is the best place to post this, however, it would be really convenient if you guys could publish major and minor tags for the docker images.
For example, the latest version as of writing is v3.2.2. Sometimes, we just want to pin our deployment to v3.2 or even just v3. In this case it would be super useful to have a tag for v3 and v3.2.

Done. v3.2 will be tagged for following minor releases (e.g. v3.2.2, v3.2.3, ...)


[FLINK-12556][e2e] Extend some end-to-end tests to run with custom (input) File System implementation

What is the purpose of the change
This pull request extends some end-to-end tests to be independent of origin of input source (be it a local file, s3 or an artificial file system plugin), provided that they all serve the same test data content.
In particular, a new (dummy) file system plugin is introduced to check that different Flink cluster setups are working with additional (external) plugin in lib folder.
Later, those tests can be modified to check that new plugin system also works in different cluster setups (FLINK-11952)
Brief change log

Yarn kerberos docker test is simplified (some code reuse) without changing behavior;
batch wordcount test is generalized and now hosts (deleted) shaded hadoop and shaded presto tests;
introduced a dummy FS plugin that serves hardcoded read-only contents from memory;
add some test runs that use dummy FS plugin as input source.

Verifying this change
This change added tests and can be verified as follows:

The modified end-to-end tests should pass

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@1u0 30 seconds is a lot for a single test :(

Timings of the tests, from the CI logs:
[PASS] 'Running Kerberized YARN on Docker test (default input)' passed after 8 minutes and 13 seconds! Test exited with exit code 0.
[PASS] 'Running Kerberized YARN on Docker test (custom fs plugin)' passed after 4 minutes and 33 seconds! Test exited with exit code 0.

[PASS] 'Wordcount end-to-end test' passed after 0 minutes and 12 seconds! Test exited with exit code 0.
[PASS] 'Shaded Hadoop S3A end-to-end test' passed after 0 minutes and 1 seconds! Test exited with exit code 0.
[PASS] 'Shaded Presto S3 end-to-end test' passed after 0 minutes and 0 seconds! Test exited with exit code 0.
[PASS] 'Custom FS plugin end-to-end test' passed after 0 minutes and 13 seconds! Test exited with exit code 0.

So adding a modified Yarn kerberos test as addition, extends tests run by 4,5 minutes. He it's may look faster, because it reuses the docker build created by previous test run. Otherwise, I expect them to run about the same amount of time in equal conditions.
CC @zentol.

LGTM % renaming, one question and if Chesney is fine with extending the testing time (I would keep the original count of tests)

@pnowojski, thanks for the review again. I have updated the PR and hopefully addressed your comments (except about additional test run time overhead).
If there is strong no, the latter can be also adjusted: both (or either of them), the word count with dummy-fs test (running on PR check) and the old yarn kerberos test with internal input (running nightly) can be removed from test runs.
I'm keeping them included for now, to at least showcase that both (old and new) tests are passed.

@pnowojski, I've rebased the PR.
The CI pass is green 🍀😃.


SimAnt should use Hi-Res version by default

MiSTer is more than powerful and capable enough to run this game at the higher detail, and it was one of the main draws to this game back in the day. 😊

Yep! I'll make HiRes the default but also probably include a "SimAnt (LoRes)" version.


Intrested in contributing to developers as a technical writer as a part of GSODs 2024

I am Mounika Chekka. Currently persuing bachelors in Computer Science stream in IIT Dharwad. I am more passionate towards problem solving , Data strutures and algorithms. This gives me a chance to closely work with the developer community.

Hi! Please follow our standard format for adding your information -- only one line, and only three columns. Thank you!

Closed as contributor opened new PR #1406


Use std::make_unique instead of std::unique_ptr(new ...), NFC

It is, but I guess we've never bothered to fix the pre-14 uses.


Hi when added a guest OTP enabled account to AD, in AD I am getting its email is modified with<EMAIL_ADDRESS>and when trying to login using that account, MSAL email consist of<EMAIL_ADDRESS>which is causing issue with authentication, do we have anything to resolve this?

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@Bibekg001 -
Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding..

https://docs.microsoft.com/en-us/azure/active-directory/external-identities/one-time-passcode
https://docs.microsoft.com/en-us/azure/active-directory/external-identities/customize-invitation-api

@Bibekg001 - Looks like you have an issue with Product and not the doc itself.  It appears that there's no further edits or updates needed to the documentation.
Do you mind opening the issue in Microsoft QnA where our engineers/Community are active in answering questions.
We will now go ahead and close this issue, however if you have any further queries please tag me in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Fixed intersections of primitive unions with exactOptionalPropertyTypes when mixing undefinedType with missingType

fixes https://github.com/microsoft/TypeScript/issues/58174

@typescript-bot test it

@typescript-bot pack this


GlobalAggregation with profile option enabled returns incorrect result

Description
For the case when profile is enabled the check for GlobalAggregator operator will fail as it gets wrapped in the Profiling Aggregator. To fix this the check considers both the cases with profile enabled/disabled and verifies if the unwrapped aggregator instance is of Global type or not.
Issues Resolved
https://github.com/opensearch-project/OpenSearch/issues/7088
Check List

[X] New functionality includes testing.

[X] All tests pass

[X] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #7114 (fa03c8b) into main (a15475a) will increase coverage by 0.04%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #7114      +/-   ##
============================================
+ Coverage     70.65%   70.69%   +0.04%
+ Complexity    59453    59445       -8
============================================
  Files          4852     4852
  Lines        285125   285127       +2
  Branches      41104    41105       +1
============================================
+ Hits         201441   201558     +117
+ Misses        67131    67026     -105
+ Partials      16553    16543      -10

Impacted Files
Coverage Δ

...ensearch/search/aggregations/AggregationPhase.java
51.61% <0.00%> (-1.73%)
:arrow_down:

... and 503 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix eslint config

Make eslint to check all js files.
Fix some eslint issues in __tests__/index.js.

Coverage remained the same at 54.386% when pulling caf7099b91b61d1bd3f8bc73d839fafc59087921 on airt:master into c92578baf67df018e9512f6fa4a71c4a6af0d451 on phodal:master.


Change graph edge label display

Currently the edge label is positioned outside/along the line. Let's move it to in the center of the line with a white outline.
This will eliminate the code that determines whether the text is displayed on the "outside" of the curve, which was error prone and complicated.
Several ways to accomplish this. Will test to see which is best.

I think the performance is too important in this case to actually implement what I said in the original post. As such, changing this issue to "Fix coincident edge label display". I remember seeing a very specific case where the positioning of them is screwed up. Will test various inputs to try to find it, and make sure it can handle anything.


Boxing and unboxing should not be immediately reversed

This pull request is focused on resolving occurrences of Sonar rule squid:S2153 - “Boxing and unboxing should not be immediately reversed”. You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S2153
Please let me know if you have any questions.
Ayman Abdelghany.

I think what Double type more precise for calculation. Are you test modifications and is the same result occured?

Double.valueOf().floatValue() will give the same value of F as long as the return type of the method is float. and some times the second one gives a more precise value.
and yes it's tested and I made you an example to see the result yourself
Code:
int km = 50;
System.out.println(Double.valueOf(km * 0.621371192).floatValue());
System.out.println(km * 0.621371192F);
Output:
31.06856
31.06856

@AymanDF Good :+1:

LGTM, thank you!

@AymanDF my bad for merging this without running the tests but the build is failing https://drone.io/github.com/pires/obd-java-api/98. Can you please fix this?

@pires it'll be perfect to run tests on new pull requests automatically. Instruction can be found here

@Ewg777 just moved to Circle CI but thanks!


support http signatures in all kms/edv calls

Completed with https://github.com/trustbloc/wallet/pull/1823


Responsive in pagination component

Describe the bug
When the pagination component is viewed in mobile screen the UI is distorted.
To Reproduce
View in mobile screens, I have attached the sample screenshot.
Screenshots

UI Issues

The items per page component in the pagination is outside the viewport.
The text “1 to 10 of 27” is not properly wrapped.
The “Next”, “Previous”, “First” and “Last” buttons are just rectangle boxes.

Add labels
We are from Assure Reinsurance team, while testing tables and pagination in mobile view we came across this above issue.

We can try using line breaks to accommodate smaller widths. As the screen gets smaller, sections continue breaking into smaller groups until a minimum width is achieved.

I will log this approach for further exploration in Jira.


feat: add diagnostics for incorrect specs

Description
Hi @ivangsa,

For Incomplete and Incorrect specs, I am using diagnostics and showing the area with syntax errors
Separated the CSS to a new file globals.css

https://github.com/asyncapi/vs-asyncapi-preview/assets/70331875/b6d9f23f-d0ae-4640-ba16-1388c7e63351

@nikhilkalburgi I like the idea very much
maybe if there is a small error but the rest of the asyncapi document is parseable we can just parse "as much as we can" and place the error on top...
sometimes is frustrating as a user not being able to see anything at all just for a small error..


jira use empty connection data without any error

Describe the bug

There are no Connection with ConnectionId 1.
So the jira get an empty struct
But here don't sent an error
The empty sturct are using continue.
It is unsafe.
To Reproduce
Steps to reproduce the behavior:

Debug plugins/jira/jira.go with param “-s 1 -b 1” without the database data of ConnectionID 1.
break after db.Find and look at the err and connection.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Use db.First instead db.Find


Should fix maven build

remove unused file that causes travis build to fail

need to get my build tools right, I meant of course travis and not maven :)

fixed commit message, all hail force push :)

Travis are in a never-finish building...

Removed the osx build from travis. It lookw like it timed out because unit tests take longer than 10 minutes to execute and during this time no output is written to console so travis assumes that something went wrong and kills the process.


Restore previous application focus

This change successfully restores focus to the previously focused application window. Tested on OSX 10.11.6.

I would love to have this, but unfortunately it fails in Windows (TypeError: mb.app.hide is not a function). What version of electron are you using here?

That's a shame. I'm running the latest version of electron v1.4.15.
As I mentioned on your Windows specific implementation for this issue:

It seems we have two OS specific implementations to resolve this issue. My pull request #85 for OSX, and this pull request #87 for Windows. I wonder if any of these PRs resolve the issue on Linux? 🐧

Hmm, mine is 1.6 🙂 Try it with this version https://github.com/electron/electron/releases
Too lazy to see if the API has actually changed, an upgrade is easy enough 😂

(Realizing it may be because I'm using a beta version)

I can confirm that this still works on Electron v1.6.0 (beta) on OSX.

Thanks @jamiestraw! I can confirm that this works on OSX :sparkles:. @patricknelson any chance you can try this out again on Windows?

Unfortunately this still does not work on Windows, same error. See below. It looks like this is an OSX specific API anyway, per documentation: https://github.com/electron/electron/blob/master/docs/api/app.md#apphide-macos

Instead, could either of you try my branch issue-64-refocus (https://github.com/patricknelson/mojibar/tree/issue-64-refocus) to see if my simple incorporation of mb.window.blur() does the trick for you? If not then we can just incorporate a quick if statement to differentiate yet again between Mac and everyone else 😄 See https://github.com/muan/mojibar/pull/86/files#diff-168726dbe96b3ce427e7fedce31bb0bcR3 for an example.

Fixed in #87


[CRASH] 1.20.1 Compiled With Wrong Java Version

Type: [Crash]
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Install Stfu 1.20.1
Open the game

Expected behavior
For the game to launch without any problems.
Minecraft Version: 1.20.1
Logs
https://mclo.gs/xL873pK

I thought i fixed that :(

I thought i fixed that :(

lol :D

Classic gradle misconfiguration, everything should be fixed now!


Nullcheck duplication.

On dart version  2.13.4.
Suppose the following code.
  UserCredential? userCreds;

  User? get currentUser {
    if(userCreds != null){
      return userCreds!.user;
    }
    return FirebaseAuth.instance.currentUser;
  }

I am arguing that the null check in return userCreds!.user is unnecessary.
The code already guarantees that userCreds is not null in that case.
Therefore I propose to add this context-aware linting and compiling to fluter so that the above code would be of this or similar nature.
 UserCredential? userCreds;

 User? get currentUser {
   if(userCreds != null){
     return userCreds.user;
   }
   return FirebaseAuth.instance.currentUser;
 }

This should be part of dart to reduce code written.
EDIT: I believe this is part of kotlin too.
EDIT 2: I would see the issue of needing the null check again if dart would be multithreaded

This is discussed in the guide: https://dart.dev/null-safety/understanding-null-safety#working-with-nullable-fields
In Dart a field can be overriden by a getter which returns unstable value, e.g. first time not-null, the second time null. This means you can't soundly promote a "field access" after a check.
Dart language team is aware of the problem, but has not decided to a single solution yet. See https://github.com/dart-lang/language/labels/field-promotion


Missing ReadBytes() Method

Hey, just want to say you've done some great work on this package. Has made porting some C# code a ton easier.
BinaryReader does not currently support the ReadBytes() method. This isn't really a huge deal but it means instead of simply calling readBytes(count) I would have to iterate and call readByte() multiple times (which I've done easiest through [...Array(count)].map(() => reader.readByte());).

@dhkatz I think I can do something about that :)

I ust published 1.0.1 which includes readBytes on BinaryReader!


.war file leads to 404, ubuntu 18.04, tomcat 9

When uploading the .war file to a tomcat 9 server running on Ubuntu 18.04 I just get a 404 no matter what context path is chosen. Issue does not happen with other .war deploys.

Same here, Ubuntu 20.04, tomcat 9

I remade package from .war to .jar Please try this, and let me know if this solved the problem. Instructions for Ubuntu are in readme. (By default dashboard starts on port 80)

So now we've went from php to a tomcat server to a independent .jar that doesn't require tomcat? You've honestly lost me with the progression of this whole thing.


Polluted namespaces

https://github.com/Adivius/Graphite/blob/a7cadffdfb35faf635afbeab56db2b92f60b12f2/Core/EventScreen.java#L1
https://github.com/Adivius/Graphite/blob/a7cadffdfb35faf635afbeab56db2b92f60b12f2/Core/BufferedScreen.java#L1
https://github.com/Adivius/Graphite/blob/a7cadffdfb35faf635afbeab56db2b92f60b12f2/Core/Pen.java#L1
https://github.com/Adivius/Graphite/blob/a7cadffdfb35faf635afbeab56db2b92f60b12f2/Core/Screen.java#L1
All files' namespaces are heavily polluted

Many aspects of these namespaces are used