[web]: TextField with Input Decoration has top part invisible

In Chrome, MacOs Version 74.0.3729.131 (Official Build) (64-bit):
import 'package:flutter_web/material.dart';

void main() {
  runApp(ShowMeAroundApp());
}

class ShowMeAroundApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  @override
  State<HomePage> createState() {
    return _HomePageState();
  }
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white70,
      body: Center(
        child: SizedBox(
          width: MediaQuery.of(context).size.width * 0.4,
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text("Test", style: TextStyle(fontSize: 20, fontStyle: FontStyle.italic),),
              SizedBox(height: 50,),
              TextField(

                decoration: InputDecoration(
                    disabledBorder: OutlineInputBorder(
                        borderRadius: BorderRadius.all(Radius.circular(5.0)),
                        borderSide: BorderSide(color: Colors.black)),
                    border: OutlineInputBorder(
                        borderRadius: BorderRadius.all(Radius.circular(5.0)),
                        borderSide: BorderSide(color: Colors.black)),
                    labelText: "Test..."

                ),
              )
            ],
          ),
        ),
      )
    );
  }
}

Produces the following:

When clicking on the field, it shows the correct outline

I also tried to remove the elements above the TextFormField (the SizedBox and Text), but the outcome was the same

Im also having this issue :)
I tried putting a Container and BoxDecoration to wrap it for some radius values the container boarder also gets invisible
  Widget build(BuildContext context) {     return Scaffold(       body: Container(         child: Center(           child: Container(             decoration: BoxDecoration(               borderRadius: BorderRadius.circular(8.0),               border: Border.all(color: Color(0xFF103F54), width: 1.0),             ),             width: 447.0,             child: TextField(               decoration: InputDecoration(                 hintText: "enter your new password",               ),             ),           ),         ),       ),     );   }

@yjbanov this issue was added to the June milestone but appears to have missed it, has it been reprioritised by chance?

Still i am facing same issue, any fixes available

@rvowles

has it been reprioritised by chance?

No, I just wasn't using the labels correctly (had to re-learn https://github.com/flutter/flutter/wiki/Issue-hygiene#milestones)
@venkimurthy07

Still i am facing same issue, any fixes available

We fixed a separate border issue and thought that might fix this too, but apparently it didn't. There's also https://github.com/flutter/flutter/issues/34511 which may be caused by the same bug. @ferhatb do you recall any more details about this?

Issue fixed, will land in github shortly.

Thanks, please let me know once deployed :)

jbbj


running through the readme

Hey I'm in desperate need for something like this to just work with android projects.  I followed your readme and got this output
:sodium-jni joshualederman$ ./build-sodiumjni.sh
Already up-to-date.
./build-libsodium.sh: line 9: ./autogen.sh: No such file or directory
./build-libsodium.sh: line 26: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-arm.sh: No such file or directory
build-libsodium: built armv6!
./build-libsodium.sh: line 33: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-armv7-a.sh: No such file or directory
build-libsodium: built armv7-a!
./build-libsodium.sh: line 40: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-mips32.sh: No such file or directory
build-libsodium: built mips32!
./build-libsodium.sh: line 47: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-x86.sh: No such file or directory
build-libsodium: built x86!
libsodium built.
sodium_wrap.c:1358:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    arg1 = (unsigned char *) (*jenv)->GetByteArrayElements(jenv, jarg1, 0);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sodium_wrap.c:1389:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    arg1 = (unsigned char *) (*jenv)->GetByteArrayElements(jenv, jarg1, 0);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Android NDK: ERROR:/Users/joshualederman/git/sodium-jni/jni/Android.mk:sodium: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /Users/joshualederman/git/sodium-jni/jni/libsodium/libsodium-android-armv7-a/lib/libsodium.a exists  or that its path is correct
/usr/local/Cellar/android-ndk/r10d/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

any help would be appreaciated

Make sure that you cloned the repo with the --recursive flag set
On Apr 16, 2015 2:01 AM, "joshua-bv"<EMAIL_ADDRESS>wrote:

Hey I'm in desperate need for something like this to just work with
android projects. I followed your readme and got this output
:sodium-jni joshualederman$ ./build-sodiumjni.sh
Already up-to-date.
./build-libsodium.sh: line 9: ./autogen.sh: No such file or directory
./build-libsodium.sh: line 26: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-arm.sh: No such file or directory
build-libsodium: built armv6!
./build-libsodium.sh: line 33: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-armv7-a.sh: No such file or directory
build-libsodium: built armv7-a!
./build-libsodium.sh: line 40: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-mips32.sh: No such file or directory
build-libsodium: built mips32!
./build-libsodium.sh: line 47: /Users/joshualederman/git/sodium-jni/jni/libsodium/dist-build/android-x86.sh: No such file or directory
build-libsodium: built x86!
libsodium built.
sodium_wrap.c:1358:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
arg1 = (unsigned char *) (*jenv)->GetByteArrayElements(jenv, jarg1, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sodium_wrap.c:1389:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
arg1 = (unsigned char *) (*jenv)->GetByteArrayElements(jenv, jarg1, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Android NDK: ERROR:/Users/joshualederman/git/sodium-jni/jni/Android.mk:sodium: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /Users/joshualederman/git/sodium-jni/jni/libsodium/libsodium-android-armv7-a/lib/libsodium.a exists  or that its path is correct
/usr/local/Cellar/android-ndk/r10d/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
any help would be appreaciated
—
Reply to this email directly or view it on GitHub
https://github.com/JackWink/sodium-jni/issues/15.

Also, until libsodium cuts a new release with the updated android scripts, I have to build this repo off the master branch, which means you'll need to have installed autotools to build libsodium... I believe I installed them all with homebrew:
brew install automake autoconf libtool


Need to check for winning player

Is your feature request related to a problem? Please describe
Currently the method to check if a player has won is unimplemented (see Game.PlayerWon).
Describe the solution you'd like
The function needs to be finished so that it returns true when the specified player has won.
This could be accomplished by iterating through each position in the game state, looking for one of the player's tokens. When it finds one, search around it to check for other pieces belonging to the player. Then, continue checking in a line to see if there are four in a row.
Describe alternatives you've considered
There are probably much better ways of doing this, suggestions?
Additional context
Possible optimization:

Start the search at the top
When a piece is found, only check the pieces below it (the pieces above were already checked).
Do not need to go all the way to the bottom (need four in a row; if the starting piece is less than four away from an edge, it is impossible to have four in a row in that direction).
See the diagram below; starting at the piece in the top left, only the bold pieces need to be checked:
o o o o
o o o o
o o o o
o o o o

Currently working on this; will give implementation updates.

Suggestion: only make checks around the most recently placed piece. If there are pieces of the same playerToken in immediate proximity, check for connect-4s in those directions.

Update: feature successfully implemented using 8 recursive functions. It may be possible to abstract them into 1. The code may be optimized not to use recursion.

Update: realized that 3 of the 8 functions are completely pointless due to the nature of the game. We never need to check for a connect 4 above the current piece because gravity dictates that there will never be a piece there.

Update: I revoke the last comment. Only checking directly above is redundant. The other 7 directions are necessary

Update: Condensed all 7 functions into 1. Removed recursion. Testing has proven successful.

Changes from #15 were brought over to #17. This can now be closed as #17 has been merged.


Starting a server without a DataManipulator present corrupts all TileEntities that had the data attached.

I accidentally started up my CraftBook test server earlier today without the plugin injected into the classpath - this of course caused all of the data to disappear. However, when I started it up again with the plugin, all of the signs that had the data attached are corrupted.
This is what they look like ingame, http://imgur.com/tE6HySD
There are no errors beyond the initial ones from the data manipulator being missing on the first startup without the plugin.
I believe that instead of the entire tileentity becoming corrupt, it should just not deserialize the data and keep it as is.

Superseded by https://github.com/SpongePowered/SpongeCommon/issues/1102


Prevent collapsing of tabsbar and new look 2

Fixes #617
Describe the changes you have made in this PR -
To tackle issue of collapsing tabsbar/ simulator:

added new way of circuit's name display (with ellipsis ie, ...)
made max_display_size 7 , eg:
ckt name: 1234567      ckt_name: 12345678
tab_ame : 1234567      tab_name: 123456... which displays full name on
hovering

Screenshots of the changes (If any) -

testing 2

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage remained the same at 84.279% when pulling 1fb99aae4ab5b8acf9e68bd6c63cb5be22f5fadb on krishanu-2001:master into 12c644d1bb6e5ba07bd2cb19b95e192740ed36bf on CircuitVerse:master.

Also I have implemented the alternate one. Ie the one with diminishing name. It looked better!
Please rewiew

I think the ..... is better, make it color faded like how it is now. I also think, 6 characters is nothing. Even full adder doesn't fit. So maybe limit to 15 characters or something. Also it should limit only if there is no space, see how chrom does it.

ok, I will change

max tab name: 12
above 12 it collapses at border cases like 'MMMMMMMMMMMMMMMMM'
photo:

@satu0king please check,
if size required is 15  - I will do it, but it collapses on 'MMMMMMMMMMMMMMMMMMMMM'

@krishanu-2001 , can you try and make it collapse only if there is no space left on the bar. This is because some users actually prefer very verbose titles but have only 2-3 circuits which easily fit.

ok. I'll give it my best

please see PR #1349


Adapt to dependency scanner outputting canonical Clang PCM output paths

This change adapts to the modulePath of Clang modules in the dependency scanner output being the output path for such PCMs. Implemented in https://github.com/apple/swift/pull/62067.
The change temporarily handles the previous case to ensure the driver CI can work with both kinds of compilers/scanners.

@swift-ci test

@swift-ci test


Implement thread safe calls for NodeJS

Implement this technique: https://github.com/metacall/core/commit/bed13df08d982b60f1877cc0a95f6796c1a60be1 for the rest of NodeJS calls (including await) and drop support for NodeJS 8.

Solved: https://github.com/metacall/core/commit/bd667a945c7e70281ec9c5bf01967b78e404a30c


Possible incorrect decompilation for multi-dimension array of structs within another struct

On Ghidra 10.1, Windows 10, Java 11.0.12.
I'm looking at a classic Mac OS driver file (32-bit big-endian PowerPC code).
I defined a structure SomeStruct like this:

... mostly undefined bytes to offset 0xC6...
QHdr[7][8] QueueHeaders;
... mostly undefined bytes to end of the struct...

struct QHdr is ten bytes long: a short followed by two pointers.
There are 56 QHdr structs, one for each of 8 LUNs on 7 targets, arranged in memory like this (target.LUN):
QHdr0.0, QHdr0.1, ..., QHdr0.7, QHdr1.0, QHdr1.1, ..., QHdr1.7, ... ... ..., QHdr5.7, QHdr6.0, QHdr6.1, ..., QHdr6.7
Looking at the decompiler output of a function which accesses that array, it seems one line is decompiled incorrectly:
pQVar4 = param_1->QueueHeaders[targetId & 0xffff] + lun;

The surrounding decompiler output:
void FUN_10003154(SomeStruct *param_1)

{
  ...
  uint targetId;
  SCSI_IO *unaff_r28;
  ushort lun;
  QHdr *pQVar4;
  ...

    bVar1 = false;
    bVar2 = false;
    targetId = 6;
    while( true ) {
      if (bVar1) break;
      lun = 0;
      while (!bVar1) {
        if (7 < lun) break;
        pQVar4 = param_1->QueueHeaders[targetId & 0xffff] + lun;       // <-- I think this is wrong
        if (pQVar4->qHead != (QElemPtr)0x0) {
          unaff_r28 = (SCSI_IO *)pQVar4->qHead;
          if (((pQVar4->qFlags & 2U) == 0) || (((unaff_r28->header).scsiFlags & scsiQEnable) != 0))
          {
            .glue::CallUniversalProc(*(UniversalProcPtr *)&param_1->field_0x4,1);
            .glue::PBDequeue(unaff_r28,pQVar4);
            .glue::CallUniversalProc(param_1->procPtr,1);
            param_1->TotalQueuedRequests_maybe = param_1->TotalQueuedRequests_maybe + -1;
            bVar1 = true;
            bVar2 = true;
          }
        }
        lun += 1;
      }
      targetId -= 1;
    }

I think the code should be doing pQVar4 = param_1->QueueHeaders[targetId & 0xffff][lun];
In other words, pQVar4 should point to address SomeStruct + [offset of QueueHeaders array] + targetId×8×10 + lun×10
Looking at the disassembly that does seem to be the case -- though I am definitely no PowerPC (or C) expert. The most relevant instructions:
rlwinm     r0,targetId,0x0,0x10,0x1f	; Zero-extend targetId variable into r0
mulli      r3,r0,0x50			; Multiply that by 80 = 8*sizeof(QHdr)
rlwinm     r0,r29,0x0,0x10,0x1f		; Zero-extend lun variable into r0
mulli      r0,r0,0xa			; Multiply lun by 10 = sizeof(QHdr)
add        r3,r3,r0			; So r3 contains (targetId * 8 * sizeof(QHdr)) + (lun * sizeof(QHdr))
addi       r31,r3,0xc6			; Add offset in SomeStruct of QueueHeaders array. So r31 contains the offset in SomeStruct of the QHdr we want.
add        r31,r30,r31			; Add offset to struct address so r31 points to the QHdr we want
lwz        r0,0x2(r31)			; Get qHead field from the QHdr struct
cmplwi     r0,0x0			; Is it 0?

I tried changing the SomeStruct structure definition from QHdr[7][8] QueueHeaders; to QHdr[56] QueueHeaders;. That caused the decompiled source line in question to change:
pQVar4 = param_1->QueueHeaders + (uint)lun + (targetId & 0xffff) * 8;

To reproduce this download the attached project (same file as for issue 3733).
Ghidra_SCUSBee_20211209.zip
A larger extract from the disassembly is below:
    li         r27,0x0
    li         r25,0x0
    li         targetId,0x6
    b          LAB_1000323c
LAB_10003190                                    XREF[1]:     10003240(j)
    li         r29,0x0
    b          LAB_10003224
LAB_10003198                                    XREF[1]:     10003234(j)
    rlwinm     r0,targetId,0x0,0x10,0x1f
    mulli      r3,r0,0x50
    rlwinm     r0,r29,0x0,0x10,0x1f
    mulli      r0,r0,0xa
    add        r3,r3,r0
    addi       r31,r3,0xc6
    add        r31,r30,r31
    lwz        r0,0x2(r31)
    cmplwi     r0,0x0
    beq        LAB_10003220
    lwz        r28,0x2(r31)
    lha        r0,0x0(r31)
    rlwinm.    r0,r0,0x0,0x1e,0x1e
    beq        LAB_100031dc
    lwz        r0,0x14(r28)
    rlwinm.    r0,r0,0x0,0x6,0x6
    beq        LAB_10003220
LAB_100031dc                                    XREF[1]:     100031cc(j)
    lwz        r3,0x4(r30)
    li         r4,0x1
    bl         .glue::CallUniversalProc                         ; long
    lwz        r2,local_4c(r1)
    addi       r3,r28,0x0
    addi       r4,r31,0x0
    bl         .glue::PBDequeue                                 ; undefined PBDequeue()
    lwz        r2,local_4c(r1)
    lwz        r3,0x0(r30)
    li         r4,0x1
    bl         .glue::CallUniversalProc                         ; long
    lwz        r2,local_4c(r1)
    lhz        r3,0x36a(r30)
    subi       r0,r3,0x1
    sth        r0,0x36a(r30)
    li         r27,0x1
    li         r25,0x1
LAB_10003220                                    XREF[2]:     100031bc(j), 100031d8(j)
    addi       r29,r29,0x1
LAB_10003224                                    XREF[1]:     10003194(j)
    rlwinm.    r0,r27,0x0,0x18,0x1f
    bne        LAB_10003238
    rlwinm     r0,lun,0x0,0x10,0x1f
    cmplwi     r0,0x8
    blt        LAB_10003198
LAB_10003238                                    XREF[1]:     10003228(j)
    subi       targetId,targetId,0x1
LAB_1000323c                                    XREF[1]:     1000318c(j)
    rlwinm.    r0,r27,0x0,0x18,0x1f
    beq        LAB_10003190

I may have come across another example of this issue, but one which doesn't involve arrays.
See the attached screenshot.

In the decompiler output is this line:
.glue:BlockCopy(whoKnows,pb + 1,0x10);

BlockCopy is a Mac OS function to copy memory. I have its function signature set to void BlockCopy(void * srcPtr, void * destPtr, dword byteCount).
Here whoKnows is void *, pb is struct USBPB *, sizeof(USBPB) is 0x48.
From the disassembly, it looks like the destination argument to BlockCopy should be pb + 0x48, not pb + 1. [So the pb argument to FUN_100003a0 is actually a pointer to memory/structure which has USBPB as its first element, followed by more/other data. The BlockCopy call copies 0x10 bytes to that other data.]
Decompiler output:
void FUN_100003a0(void *whoKnows,USBPB *pb)

{
  byte bVar1;

  if (*(char *)((int)whoKnows + 0x12) == 1) {
    bVar1 = .glue::USBMakeBMRequestType(kUSBOut,kUSBVendor,kUSBInterface);
    pb->usbBMRequestType = bVar1;
  }
  else {
    bVar1 = .glue::USBMakeBMRequestType(kUSBIn,kUSBVendor,kUSBInterface);
    pb->usbBMRequestType = bVar1;
  }
  pb->usbBRequest = 0;
                    // srcPtr
                    // destPtr
                    // byteCount
  .glue::BlockCopy(whoKnows,pb + 1,0x10);
  pb->usbReqCount = (uint)*(ushort *)((int)whoKnows + 0x10);
  pb->usbWIndex = (ushort)*(byte *)((int)whoKnows + 0x13);
  Submit_USBDeviceRequest(pb);
  return;
}

Disassembler output:
             void __stdcall FUN_100003a0(void * whoKnows, USBPB * pb)
               assume r2 = 0x10001ce0
     void              <VOID>         <RETURN>
     void *            r30:4          whoKnows
     USBPB *           r31:4          pb
     undefined4        Stack[0x14]:4  local_res14                             XREF[3]:     100003bc(R),
                                                                                100003d8(R),
                                                                                100003f8(R)
FUN_100003a0                                    XREF[2]:     10001dcc(*), 10001dd0(*)
    lbz        r0,0x12(whoKnows)
             assume r2 = <UNKNOWN>
    cmplwi     r0,1
    bne        LAB_100003c8
    li         r3,0x0
    li         r4,0x2
    li         r5,0x1
    bl         .glue::USBMakeBMRequestType                      ; byte USBMakeBMRequestType(usb_direction direction, usb_request_types type, usb_recipients recipient)
    lwz        r2,local_res14(r1)
    stb        r3,pb->usbBMRequestType(r31)
    b          LAB_100003e0
LAB_100003c8                                    XREF[1]:     100003a8(j)
    li         r3,0x1
    li         r4,0x2
    li         r5,0x1
    bl         .glue::USBMakeBMRequestType                      ; byte USBMakeBMRequestType(usb_direction direction, usb_request_types type, usb_recipients recipient)
    lwz        r2,local_res14(r1)
    stb        r3,pb->usbBMRequestType(r31)
LAB_100003e0                                    XREF[1]:     100003c4(j)
    li         r0,0x0
    stb        r0,pb->usbBRequest(r31)
    addi       r3,whoKnows,0x0                                  ; srcPtr
    addi       r4,pb,0x48                                       ; destPtr
    li         r5,0x10                                          ; byteCount
    bl         .glue::BlockCopy                                 ; void BlockCopy(void * srcPtr, destPtr, dword byteCount)
    lwz        r2,local_res14(r1)
    lhz        r0,0x10(whoKnows)
    stw        r0,pb->usbReqCount(r31)
    lbz        r0,0x13(whoKnows)
    sth        r0,pb->usbWIndex(r31)
    b          Submit_USBDeviceRequest                          ; int Submit_USBDeviceRequest(USBPB * pb)

Well this is embarrassing. After reading up on how C pointer arithmetic and pointers to structures work, the decompiled source is probably correct.
Hopefully I'm not the first C noob to have been tripped up by that!

Hi @M-a-r-k Sorry to comment here but I couldn't find another way to contact you. I'm trying to find the original SCUSBee drivers and I'm also curious if you made any progress on a modern driver (I'm assuming that's what you're working on)?

You should be able to download the (classic Mac OS) driver for SCUSBee via
http://web.archive.org/web/*/http://www.2ndwave.com/download/*
It may be possible to set up a Mac VM (if any emulator supports emulating USB host controller and passing through to USB device on host -- qemu???). Then capture USB traffic on the host to figure out the protocol. I didn't figure out how to do that though.


Re-visit integration testing

Integration testing has been broken for quite some time. This time around, instead of trying to fix our own half-hacked solution, I'd like to come up to something similar to what we've done in openSUSE/portusctl.
One idea that comes to mind is to:

Define a matrix with the different versions.
Run some bats tests (e.g. docker login, push, etc.)
Run portusctl's test-integration against each environment.

When done, re-visit the wiki page.

 portus: re-visit integration testing.

Another check we can add is whether the swagger documentation is reachable (thinking on PRs such as #1704).


OSSM-1985: Update terser to 4.8.1

main change is in package.json and yarn.lock. The others are to update the assets bundle that's shipped with prometheus


two readmes

It seems we have a readme both in md and rst. It can be a bit annoying to maintain two. Do you have  a preference for either? In the SimPEG repo, we stuck with the rst file as it was the same as the rest of the docs, but it doesn't make much difference, sphinx can handle both. So just suggesting we have one rather than two :-)

I saw that too.  I put everything in the .md file, and removed the .rst.

there is only one readme now


entered value is mistakenly duplicated across all literal fields in Profile

I have a profile with one resource template and 4 literal fields. I open in Linked Data Editor, enter a value in one field, hit enter, and the value I entered now shows up beneath all 4 fields. (No default values are specified in this profile). Profile JSON and video attached.

several_literal_fields.json.txt

related to #122


Control over synthesize console output

After each synthesize run, cdk8s synth outputs a list of YAML files it has found in the output directory or the "No manifests synthesized" message if none.
For the purpose of example, let's say our CDK wants to generate a custom file system hierarchy:
cluster/
├── namespaces
│   └── demo
│       ├── deployments
│       │   └── test.k8s.yaml
│       └── service-accounts
│           └── test.k8s.yaml
└── roles
    └── custom-role.k8s.yaml

The console ends up with the "No manifests synthesized" message as only files directly under the output directory are checked for: https://github.com/cdk8s-team/cdk8s-cli/blob/main/src/util.ts#L50-L60
I can think of few possible changes to address this:

walk the file system recursively to look for YAML files (which might be far from ideal, e.g. possible amount of sub-folders)
keep the current fs.readDir call as is and introduce a --silent (or --quiet) flag to skip this kind of output

The second solution might be implemented by moving the code block mentioned before here https://github.com/cdk8s-team/cdk8s-cli/blob/main/src/cli/cmds/synth.ts#L42 and rely on the newly implemented flag.
I'll gladly provide you with a PR given that my solution suits to you. Please let me know what do you think about this.

What do you think about this? Could such a PR be of interest?

This sounds reasonable - go for it! I think listing all generated YAML files in the output directory (regardless of whether they are nested within folders) seems like the most natural behavior to me. glob can be used to do the work of traversing the file system tree.


More documentation work

Clean up old mentions of packages/channels/luet.
Remove some pages with unneeded info (known issues/selinux-package/cosign).
Add documentation for elemental init command.
Fixes #1793

Codecov Report
Patch and project coverage have no change.

Comparison is base (6c3b71b) 75.82% compared to head (9fd5e80) 75.82%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1819   +/-   ##
=======================================
  Coverage   75.82%   75.82%
=======================================
  Files          63       63
  Lines        5787     5787
=======================================
  Hits         4388     4388
  Misses       1090     1090
  Partials      309      309

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update import statements

Updating import statements as reflected on the latest CHANGELOG.
The PR only updates the import statements in the example apps and one occasion in the deprecation message of the source code.
The PR does not include any tests and fixes the failing example apps:
❯ gulp build
[03:07:01] Using gulpfile ./browserify-gulp-example/gulpfile.js
[03:07:01] Starting 'browserify'...
[03:07:01] Bundling app.js...
[03:07:01] Starting 'markup'...
[03:07:01] Finished 'markup' after 28 ms
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/raised-button' from './browserify-gulp-example/src/app'
[03:07:03] Bundled app.js in 1.89 s
[03:07:03] Finished 'browserify' after 1.9 s
[03:07:03] Starting 'build'...
[03:07:03] Finished 'build' after 7.4 μs
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/dialog' from './browserify-gulp-example/src/app'
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/flat-button' from './browserify-gulp-example/src/app'
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/MuiThemeProvider' from './browserify-gulp-example/src/app'
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/styles/colors' from './browserify-gulp-example/src/app'
[03:07:03] gulp-notify: [Compile Error] Cannot find module 'material-ui/lib/styles/getMuiTheme' from './browserify-gulp-example/src/app'

Not sure if should the same updates be applied to the docs/ directory.
And thanks for including 2 good example projects! They were exactly what I needed :)

Oops. Thanks!

@aliismayilov Can you please fix the commit message to have [Examples] at the start? Thanks!

done!

@aliismayilov Thanks!


Infinite momentum of near-by entities with barbed_wire

Basic Information: Slimefun v4-DEV949, DynaTech DEV131, No CS-Corelib, MC v1.17.1, Spigot 3178... for 1.17.1
/sf versions

Discovery: One of the players on my server wanted to move mobs from a(n electric) spawner very fast so their limit of 6 nearby mobs would never be met.
They used barbed wire because it seemed very effective and cheap, and even now- I agree, VERY effective and extremely cheap / early game.

Their set-up was ran overnight (afk is allowed on the server) and upon the morning, the server had strangely crashed.
World file (pruned to only include regions/poi starting with "4"): https://www.dropbox.com/sh/s4920ll11zily23/AAAv8bY2dCn6tPi50mKV6RdOa?dl=0
The problem: The barbed wire was actually TOO effective at moving entities away quickly.
The following crash reports resulted, but I'd like to note that the server crashed 10's of times while I tried to figure this out.
Crash Report 1: https://pastebin.com/yHV8FAac
Crash Report 2: https://pastebin.com/NzGhhtbP
Crash Report 3: https://pastebin.com/ibN9UbVs
Note: slimefun/error-reports remains empty.
I used the following guide for NBTExplorer to delete the chunk (-104,407) within region (-4,12), where the entities are located.
https://gaming.stackexchange.com/questions/359445/how-do-i-delete-an-entity-from-the-minecraft-world-folder
This definitely removed the entity, but upon re-logging, new entities were simply created.

I then removed both DynaTech and Electric Spawners and tried both of them individually.
When having DynaTech disabled and Elecctric Spawners enabled, the spawner behaved normally.

I then just removed the barbed wire before readding FluffyMachines to the server.
Currently, I am still using both plugins and all is working fine since I removed the barbed wire.

I thought I capped the momentum 🙇 Will be fixed shortly


Go to another CI

Travis CI is pretty deprecated and buggy, as I know.
There are builds, yes, but where is their status for my PR?

Also you can see https://github.com/tycooon/memery/issues/28 and https://github.com/excpt/moments/issues/3
I'm satisfied with Cirrus CI, but GitHub Actions and Circle CI are good too.

Merged #77 to move to github actions.


Add list_invoices rpc call

Adds the function and struct references for the list_invoices call.

@daveajones Looks good! Do you mind signing your commit? If you do, I could go ahead and merge this.

@daveajones Looks good! Do you mind signing your commit? If you do, I could go ahead and merge this.

Sure.  Let me figure out how to do that.  I've never signed commits before.  :-)


Some spanish docs [skip ci]

Sorry I am requesting from Master, but apparently github had some problems updating the tree and I thought it was something of my config.
Then I deleted the branch and pushed to master.
Now it's working again.

All fine, just make sure to reset your master properly. Thanks for your work!


SDK javascript one liner for react widget

1 line way to embed react widget into html page using script tags

Hey, I would like to work on this.

Hey, I would like to help !

Hello, @IlyasOsman
How's it going with the implementation?

Hello, @dartpain
I just saw I've been assigned the issue.
Will get to work and keep you posted.

Hey @utin-francis-peter if you can check out the existing PR and help fix it, would be appreciated

Hey @utin-francis-peter if you can check out the existing PR and help fix it, would be appreciated

I've effected updates and made a PR. Kindly have a look at the README for testing guide.
PR link: https://github.com/arc53/DocsGPT/pull/973


Reference ID generation is from db serial

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.50%. Comparing base (8452358) to head (ba32176).

Files with missing lines
Patch %
Lines

src/app.py
60.00%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
- Coverage   88.88%   87.50%   -1.39%
==========================================
  Files          10       10
  Lines         324      328       +4
  Branches       23       24       +1
==========================================
- Hits          288      287       -1
- Misses         23       27       +4
- Partials       13       14       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


context menu do not work when launched from the taskbar

Windows Terminal version
1.11.2921.0
Windows build number
22000,348
Other Software
No response
Steps to reproduce
Right click and select a profile from the taskbar icon.
Expected Behavior
I expect the profile to be opened, as it did
Actual Behavior
It say that "the item you selected is unavailable. It might be moved, renamed or removed. etc..."

Can I get a screenshot of the error message? Does launching the Terminal from the taskbar work normally? Do any profiles work, or are they all broken?


some ifsc codes giving branch names containing special characters

this one is for ICIC0006255. instead of MYSORE MAIN it has an additional á.

Would give you more soon if encountered.

just saw your icici.json file.. its almost everywhere in it

just saw your ICICI.json file. looks like its almost everywhere in it

This is an encoding issue at RBI end. You can verify this by downloading the original RBI excel sheets as well.
See https://github.com/razorpay/ifsc/issues/32 and https://github.com/razorpay/ifsc/issues/29
If you have a suggestion on how this can be handled cleanly, feedback is welcome :+1:

https://stackoverflow.com/questions/10207354/how-to-remove-all-of-the-diacritics-from-a-file
would this help? (probably replace the diacritic with space or empty char)
or
https://stackoverflow.com/questions/3264915/remove-non-ascii-characters-in-a-file ?
PS: i havent written bash codes .. yet..
PPS: + i just mailed rbi regd this issue.. hope they check and correct it in this century

These are all encoding issues. Likely newlines and other characters getting converted. However, I'd rather have RBI fix these at their end.


Commits pushed with deploy keys not shown in owner/member dashboard

Description
After upgrading from 1.15.x to 1.17.2, all commits pushed by an organization using deploy keys with write access are not shown in the dashboard of owner or member users of the org/repo receiving the push. The commits are shown on the dashboard of admin users. Tried "Resynchronize pre-receive, update and post-receive hooks of all repositories." without luck.
Reproducible on 1.17.2, not reproducible on 1.15.x and 1.16.x.
Steps to reproduce:

Spin up Gitea instance as Docker container: docker run -p "3000:3000" -p "2222:22" gitea/gitea:1.17.2
Walk through first time setup with defaults and 'testadmin' admin user
Create 'testuser' normal user through site admin
Create 'testorg' organization with private visibility
Create 'testteam' team in 'testorg'
Add 'testuser' to 'testteam'
Create 'testrepo' repo in 'testorg' with private visibility
Add 'testteam' as collaborator in 'testrepo'
Generate SSH key and add it as deploy key with write access in 'testrepo'
Checkout 'testrepo', make commit and push to server with deploy key
Verify commit is visible in dashboard
Login as 'testuser' and verify commit is visible in dashboard

Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker container on Docker Engine 20.10.17.
Database
SQLite

Still reproducible on 1.18.1.

Still reproducible on 1.19.2.

Thank you for the detailed steps and sorry for the inconvenience.
I was going to take a look at it but recently I have some high priority PRs. Hopefully some people could help to look into this problem. 🙏


No internet access after installing - Unified hosts = (adware + malware)

As title suggests, had to go into safe mode to return to original host file that solved the issue.
OS Name:	Microsoft Windows 10 Pro
Version:	        10.0.19045 Build 19045

Hello @dephunk thank you for your question and I'm sorry to hear about your issue.
Please see the discussion in...

#2064

... which seems to resolve the problem.  This is a Windows issue. No other OS has problems with hosts files like ours.
Closing.


Add New Bypass to oko.sh

Link
https://oko.sh/YXu7D
Version
Manifest-v3
What browser(s) are you using?
Firefox browsers, Chrome browsers (includes brave, edge, opera, etc)
What platform are you using?
Computer (Windows, Linux, MacOS)
(Optional) Anything else?
No response

The bypass wasn't working for me either, but it seems like it's not implemented despite the bypassed site list saying it is. https://github.com/FastForwardTeam/FastForward/blob/main/docs/Bypassed.md


[WIP] Tensor Shape Specification

We have a few open/outdated issues that relate to tensor shape: #13, #17, #14,  #22
Also #12 might be relevant
This PR aims to unite the discussed changes and refine the existing specification and in particular documentation.

mentioned in today's bioimage.io meeting:

yes, we need this.

todos:

[ ] fully implement in schema

Superseded by #42.


fix hash computations

with Nushell 0.100.0, to nuon has changed and now quotes strings that contain a ., thus breaking hash computations...
this PR does the following

formats the registry NUON file so that it's easier to read and maintain
relax the "newline" test on registry files, not sure why we want to have newlines in registry files
fix the computation of the hash of pkg files by using to nuon instead of open --raw
pin the Nushell version to 0.100.0 in the CI because having a moving target in a CI is very hard to work with

Note
point 1, 2 and 3 are probably debatable and not mandatory for this PR but it was by far the easiest to get this PR going :yum:

The newline test was me working around Windows \r\n vs. Unix \n. I guess the nuon route is probably better. Since the tests now pass, let's ship it! Thanks!


[DOCFIX] Update code-conventions

@calvinjia

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4217/
Test PASSed.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.0 please.


WIP: traefik ingress per domain of java integration test

Add domainTraefikIngress.yaml where 2 new attributes are introduced: "loadBalancer" and "ingressperDomain"
Class ITOperator: new test method testTraefikIngressPerDomainInDefaultNS
Class Domain: new Boolean variable ingressPerDomain to match "ingressPerDomain" value in
the  domain.yaml ;
2 keys are added into ldMap: ingressPerDomain and clusterName
Class LoadBalancer: TRAEFIk ingressPerDomain will be created if lbMap.get("ingressPerDomain") is true

Sorry for the mistake. The new branch should be merged to the develop not master one


nonetype object is not subscriptable

When i Just Run it, Its just showing nonetype' object is not subscriptable

nvm, i problem solved, its just wrong Token


test: fix test in airgap for canvas context prop

This test spec was working fine on EE/CE this fix is to handle airgap scenario

/ci-test-limit-count run_count=25


json-rpc: get stuck when there is a on flight command

When there is a command that get stuck, like fundchannel the json-rpc is not able to handle other commands, this
can be a limitation of my code and this means that there is a bug in it.
For now this required more reseach

This was a deadlock that now should be fixed


Remove yarn.lock and package-lock.json.

Resolve #45
yarn.lock and package-lock.json shoud be checked into source control.
yarn.lock

All yarn.lock files should be checked into source control (e.g. git or mercurial). This allows Yarn to install the same exact dependency tree across all machines, whether it be your coworker’s laptop or a CI server.

package-lock.json

This file is intended to be committed into source repositories, and serves various purposes

Absolutely agreed. Came up here in order to make the same pull request.


Rehash "down" support on erase

Hello.
Are there any plans to support hashtable "shrink" on erases and reaching sufficiently low load_factor (like maybe 0.125) ?

Hello,
I could add a min_load_factor similar to google::dense_hash_map if it fits yours needs. I'll see to add that in the next few days/weeks depending on when I can find some time.

Cool, thank you!
Basically the use case that i have is time-series, in the sense that data is coming in, and is inserted into robin_map, then after some time - it's no longer needed and is removed.
Absense of shirink is not a problem most of the time (as we get to some plateau of max size and live happily). But when there is a sudden surge of traffic - the table grows to super large sizes and stays there, essentially forever.
I guess the workaround could be to check size()/bucket_count() periodically and rehash manually, but feels like a hack :)

Hi,
I created the necessary branch min_load_factor with a first draft. I still have some tests to do, I'll probably merge the branch this weekend.
The implementation doesn't shrink the map on erase operations as shrinking the map invalidates all the iterators. All the erase operations have to return the next iterator and there is no meaningful way to do that if we invalidate the iterators. The following code must continue to work without deleting the 5 first elements of the map even if we reach a low load factor:
assert(map.size() > 5);
auto it = std::next(map.begin(), 5);
while(it != map.end()) {
    it = map.erase(it);
}

Instead the shrinking is done when inserting a new element after some erase occurs and the load factor is below the min_load_factor().

I merge the changes.

Thanks! will give it a try.


Android 4.2 nav.setRoot does not work/does not resolve

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When calling in app.component.ts:
this._app.getRootNav().setRoot(xxx).then(() => {
    ...
});

...the setRoot doesn't work and the promise never resolves.
Expected behavior:
The setRoot function should work and the promise should resolve.
Steps to reproduce:

Download my app:
AddVideo on Google Play

Run on Android 4.2 device, e.g. Samsung S3 mini

You will see splash screen never hides.

This is the code that is running (this works on Android 5, 6 and 7):
    this._app.getRootNav().setRoot(LoginPage).then(() => {
      setTimeout(() => {
        this._SplashScreen.hide();
      }, 100)
    });

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Davids-MacBook-Air:AddVideo2 daveshirman$ ionic info

  Your system information:

    Cordova CLI: 6.5.0
    Ionic Framework Version: 2.2.0
    Ionic CLI Version: 3.0.0-beta.4
    ios-deploy version: 1.9.1
    ios-sim version: 5.0.8
    OS: OS X El Capitan
    Node Version: v6.10.0
    Xcode version: Xcode 8.2.1 Build version 8C1002

Hello, thanks for using Ionic! Are you using crosswalk on this project?

I'm not using crosswalk no, as its support has been discontinued.
On Mon, Apr 24, 2017 at 4:36 PM, Justin Willis<EMAIL_ADDRESS>wrote:

Hello, thanks for using Ionic! Are you using crosswalk on this project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic/issues/11319#issuecomment-296709467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANnlXgTqkGTKBq-YKqrL7GbQ6z3XXSA5ks5rzMGJgaJpZM4NFJ8h
.

Hello @daveshirman , while active development on crosswalk has been discontinued we still recommend using crosswalk for Android below 4.4.4. The last crosswalk release, while not running the latest chrome webview like an Android device running Android 5.0 and up will, is still built on a newer version of chrome than the webview on an Android 4.2 device.


use over forwarded X11?

I'm wondering if it's possible to use pyimgui over a forwarded X11 connection.  I've (clumsily) tried switching the SDL2 integration over to using an SDL software renderer, but I've not familiar enough with the API to have any success.
If there's a fundamental reason why this would never work, I'd like to know before I put any more time into trying!
Specifically, I have an python application running in a docker container and I'd like it to create an imgui window on another machine.
Thanks!

X11 forwarding is supposed to forward a stream of what is essentially vector data. In imgui's case that vector data would very likely be larger than an equivalent raster image, since it's re-drawing on every frame. Of course there's no reason you couldn't send raster data over that ssh connection instead.
Unfortunately x11 forwarding hasn't really been maintained, and is in a generally sorry state.
I think is should be fine with anything based on NoMachine, as that streamed raster data over x11. You could try x2go or xpra. RDP will very likely work.
It sounds like the issues you're running into is related not to x11, but to your application not being able to access the graphics card? That would be a problem unrelated to X11.

Closing due to inactivity


Saving the scraped data to csv file

please did you have made a feature to save the scraped in to some file csv or txt ?

You should be able to just write the file out as csv or json using python's native methods

Hi, actually no. You have to write your own code to export result to csv.

Hello,
This is how I did it.
import logging
import csv
from linkedin_jobs_scraper import LinkedinScraper
from linkedin_jobs_scraper.events import Events, EventData, EventMetrics
from linkedin_jobs_scraper.query import Query, QueryOptions, QueryFilters
from linkedin_jobs_scraper.filters import RelevanceFilters, TimeFilters, TypeFilters, ExperienceLevelFilters, RemoteFilters

# Change root logger level (default is WARN)
logging.basicConfig(level = logging.INFO)

job_data = []

# Fired once for each successfully processed job
def on_data(data: EventData):
    job_data.append([data.title, data.company])

# Fired once for each page (25 jobs)
def on_metrics(metrics: EventMetrics):
  print('[ON_METRICS]', str(metrics))

def on_error(error):
    print('[ON_ERROR]', error)

def on_end():
    print('[ON_END]')

scraper = LinkedinScraper(
    chrome_executable_path='/Users/voi/chromedriver', # Custom Chrome executable path (e.g. /foo/bar/bin/chromedriver)
    chrome_options=None,  # Custom Chrome options here
    headless=True,  # Overrides headless mode only if chrome_options is None
    max_workers=2,  # How many threads will be spawned to run queries concurrently (one Chrome driver for each thread)
    slow_mo=3,  # Slow down the scraper to avoid 'Too many requests 429' errors (in seconds)
    page_load_timeout=25  # Page load timeout (in seconds)
)

# Add event listeners
scraper.on(Events.DATA, on_data)
scraper.on(Events.ERROR, on_error)
scraper.on(Events.END, on_end)

queries = [
    Query(
        options=QueryOptions(
            optimize = True,
            limit=2000  # Limit the number of jobs to scrape.
        )
    ),
    Query(
        query='',
        options=QueryOptions(
            locations=['United States', 'California', 'Texas','New York', 'Michigan'],
            apply_link = False,  # Try to extract apply link (easy applies are skipped). Default to False.
            limit=500,
            filters=QueryFilters(

                relevance=RelevanceFilters.RECENT,
                time=TimeFilters.ANY,
                type=[TypeFilters.FULL_TIME, TypeFilters.INTERNSHIP, TypeFilters.PART_TIME],
                experience=None,
            )
        )
    ),
]

scraper.run(queries)

fields = ['Job', 'Company']
rows = []

for x in job_data:
    i = 0
    rows.append([x[0], x[1]])
    i = i + 1

with open('GFG', 'w') as f:
    write = csv.writer(f)

    write.writerow(fields)
    write.writerows(rows)

I changed the on_data method to just save the job title and company name (as a list) to the job_data list.
Then, at the very end, I wrote in some code that saved the job_data information to a csv file.
Keep in mind that this will only work if you run the script to completion; if you stop it,  or it crashes, it won't save the data to a csv file.


Add pretty rounding numbers

Yay. First rails PR!

:+1:

Boo yah

This is an amazing gif

@MaxWofford you betcha :)


Heater: do not fall into Fault::SensorNoHeatSupply so fast

@dron0gus please provide a status update :)

Heater logic was changed. Now SensorNoHeatSupply is safe place to wait for heater supply.


Additional features (refresh keyword, better parameter passing, terminal window bug fix)

Hi !
I'm really interested in this project, and have added a few features that I needed for a few scripts
Refresh keyword
Adding the keyword refresh after the | adds an action to the menu item. Upon clicking this button, the plugin will be refreshed immediately.
Better parameter passing
The logic for parsing the parameter string felt a bit weak and prevented passing path containing spaces (or including small bash scripts inline)
I've refactored the way parameters are scanned using an NSScanner, which should be a bit more legible and robust. The legacy behaviour is kept, but this kind of lines are now possible
Say something | bash="say Hello world"
Say something else | bash:'say Goodbye moon;exit' terminal=true
Terminal window management
Launching a bash script by clicking a button failed when the frontmost terminal window was already running. I've changed the AppleScript to make sure to run the script in a new terminal window if terminal=true.
We might also include a keyword to close this window if the script returned a no error (0) status code
Let me know if you'd prefer multiple pull request

Multiple PRs would be great - I need to better understand some of what you've done. That ok?

Would you be interested in contributing to the project? I am considering a Swift rewrite.

No problems at all !
I'll do that in the next few hours (and i'll make sure to update the
documentation as well.
Jean Caillé
Ecole Polytechnique
On 5 January 2016 at 11:27, Mat Ryer<EMAIL_ADDRESS>wrote:

Multiple PRs would be great - I need to better understand some of what
you've done. That ok?
—
Reply to this email directly or view it on GitHub
https://github.com/matryer/bitbar/pull/40#issuecomment-168965743.


error AA after bios update.

hello, I need help uploading the bios and after restarting there is an AA error and the system cannot load. I can enter the bios.
no windows system and I can't upload a copy of the bios.
I need help how to fix this.

fix :)


Auth token support

Description of what you did:
Authentication token support. If the token is correct, a signed cookie is set.
This behaviour mimics the Jupyter notebooks web service.

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[x] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

Thanks @jesusprubio!
/approve
/lgtm

/approve
/lgtm


Switched to codecov GH action

Closes #804

Codecov Report

Merging #805 (2d9562f) into master (09dfaea) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #805   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          163       163
  Branches        20        20
=========================================
  Hits           163       163


SCB-831 fix test case failed on windows environment in LoadBalancedClusterMessageSenderTest

Signed-off-by: zhengyangyong<EMAIL_ADDRESS>Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.2%) to 94.32% when pulling e1a5ff6658ed740fe57f1a8d4af08678750eaf53 on zhengyangyong:SCB-831 into 37c483b4d3c9807c7ee2c72a325250666bb7b662 on apache:master.


jxl-color: Fast color transforms

Fast math routines are ported from libjxl.

Test failure bisected to 6de86cf45c7a6c489d29872e19c70d6862ccd689

Oops, it was a typo


Assignment two

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
created logical models for 3 different prompts, created queries involving coalesce, window functions, did string manipulations, written queries involving Union, Cross Join, insert, update etc.
What did you learn from the changes you have made?
writing SQL queries pulling data from multiple table. almost every query had a different learning, not an easy assignment on SQL
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Yes tried multiple approaches, sometimes straight joins didn't work, had to work through subqueries.
one of the subquery also took more than an hour to understand that I was returning multiple columns and update statement expects only value - amazing satisfaction after resolving that issue.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
one of the subquery also took more than an hour to understand that I was returning multiple columns and update statement expects only value - amazing satisfaction after resolving that issue! hit and trial, solving one query at a time.
How were these changes tested?
testing in SQLlite browser
A reference to a related issue in your repository (if applicable)
Checklist

[ yes] I can confirm that my changes are working as intended

took  6 mins extra to submit, was facing issues with git to commit the .md file!

Thanks, Ernani, for your feedback! I have updated the two queries based on your feedback! I also found the issue with COALESCE not working. This was not working for product ids without a match in the vendor_inventory table. So I applied at the subquery. Kindly review!

Thanks, Ernani for reviewing my changes
On quick look, I checked again and updated delete query, update is working fine! Kindly review again.
For Delete query
For Delete, it shows that I forgot to remove the previous code so it’s not working correctly. I have removed the previous code and committed again!
Here is how I validated it, kindly check and let me know if I am missing something here. I inserted 3 records with product_id = 24.
After this I ran the delete query, that got executed successfully as shown in second column! And in the second row, when I executed the select query – it shows the last 2 records and the oldest one was deleted
Hope this is the correct output!
@.***
@.***
@.***
FOR Update query
There is no update to this query, I re-ran the query, it executed successfully and shows current-quantity column have zero values instead of NULL values!
@.***
@.***
Hope this time it works expected!
Regards
<EMAIL_ADDRESS>www.rsystems.comhttps://www.rsystems.com
.
Amit Sindhwani
Dir.- Client Services & Technology
Mobile: +14168360142tel:+14168360142
From: Ernani Fantinatti @.>
Sent: December 23, 2024 4:22 PM
To: amitsindhwani/sql @.>
Cc: Amit Sindhwani @.>; Author @.>
Subject: Re: [amitsindhwani/sql] Assignment two (PR #2)
CAUTION: This message is sent from outside of "R SYSTEMS". Please DO NOT CLICK links or open attachments unless you recognize the source of this email and know the content is safe.
@efantinatti requested changes on this pull request.
Hi Ait
I still see issues on DELETE and UPDATE.
The DELETE must delete the same product name with an older date.
The UPDATE is running into error. Result: near "SET": syntax error
—
Reply to this email directly, view it on GitHubhttps://protect.checkpoint.com/v2/r02/___https:/github.com/amitsindhwani/sql/pull/2%23pullrequestreview-2521154993___.YzJlOnJzeXN0ZW06YzpvOmU0ZGYwZjU2MGNjOWVmNzQ3N2I1YTI5YTNiYTdiYjczOjc6ZWFlYTozOWU1YTc5YjBlNTQwODcwMzI0NjI4N2Y1ZmQ1MTU2OTFkMzEyZTFiMzQyNmM1MDRmZDhkZTkzMzJkYWJhZThlOmg6VDpO, or unsubscribehttps://protect.checkpoint.com/v2/r02/___https:/github.com/notifications/unsubscribe-auth/BM6JQW2BIUKJG6VWNUJKC332HB5GPAVCNFSM6AAAAABUCMYOMOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMRRGE2TIOJZGM___.YzJlOnJzeXN0ZW06YzpvOmU0ZGYwZjU2MGNjOWVmNzQ3N2I1YTI5YTNiYTdiYjczOjc6NDlhNTpjMTRmYTJlZWYzOTZhNmE4MjU5NDdkMTc4YTEwYTE1ODU3OGI5OGE2ZjFjNGY1MjM5ZTY5MGMwYTJjY2ZjNDE5Omg6VDpO.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hello Ernani
I replied to the feedback email and the screenshots didn't came through, attaching the email for your kind review.
regards
Amit
Delete and Update query screenshots.docx

Hi Amitsindhwani
Please put the file in your repo.
On Mon, Dec 23, 2024 at 5:01 PM Amit Kumar Sindhwani <
@.***> wrote:

Hello Ernani
I replied to the feedback email and the screenshots didn't came through,
attaching the email for your kind review.
regards
Amit
Delete and Update query screenshots.docx
https://github.com/user-attachments/files/18233700/Delete.and.Update.query.screenshots.docx
—
Reply to this email directly, view it on GitHub
https://github.com/amitsindhwani/sql/pull/2#issuecomment-2560360392, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLMDBRUXOLLWGO6NUYP5YD2HCB5FAVCNFSM6AAAAABUCMYOMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGM3DAMZZGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello Ernani, Added the screenshots in repo folder - "02_activities/assignments/images/Delete and Update query screenshots.docx" Kindly review


Author needs help?

There is a lot of issues and PRs opened.
Do you need some help @sferik ?

CC @mshibuya


Matrix testing with actions-rs

This changes the GHA workflow to use actions-rs where feasible, and runs build, test, clippy, and rustfmt under rust stable, beta, and nightly-2022-04-29.

Current dependencies on/for this PR:

main

PR #94

PR #95

PR #96

PR #97

PR #98

PR #99

PR #101
PR #100

PR #102


Initial Sphinx documentation setup

This PR provides a basic setup for Sphinx-based documentation.

For newbies like me, could you add a short guide on the wiki on how to generate the docs locally?

I didn't touch the tround warning because it was added in theano-0.9. But that was in 2017 I think... so we can consider it as well

For newbies like me, could you add a short guide on the wiki on how to generate the docs locally?

This PR adds a docs target to the Makefile; that should perform all the steps necessary to generate the (html) documentation locally.

We should make a push on this one, to start adding better documentation and examples

We should make a push on this one, to start adding better documentation and examples

Feel free to take over this PR; I don't know when I'll have time to get back to it.


[docs] Fix external storage load doc typo.

Fix external storage load doc typo.

@rohitrs1983 Shall we need to merge this fix? Thanks.


Develop Item Table

Develop static header (column labels) and footer (subtotal, total, tax)
Use FlatList for dynamic item, populate 2 or 3 dummy items.

Used hard-coding data
Couldn't make +, - buttons work
Not sure how the "Discount" works, so I put 0 in it
Put style one by one, so it became messy, should use custom components


Enhanced UX

Cool project I thought I'd suggest some changes
I also forgot to mention that the background of the slider is colored based on slider position so when the slider is turned all the way down it cannot be seen except for the slider thumb you can see it in the attached screenshot.

Slider coloring based on the 3d image on the stem player website

Hey, @RealEzra. Glad you like the project. I appreciate the input. I've already moved away from the slider implementation, so I won't be implementing those changes. I like the colors though. I'll probably implement your color scheme and figure out how to make the dots colored and pulsing tomorrow.

Glad to help. Do you have a discord I may have some useful ideas and I figured out away to use the official stem player api to make request, so we could implement it into this project and people can upload a song to be processed through the api and generate the 4 stems. Of course they could make their api more secure in the future which would kill this whole idea.

@RealEzra I like it. My discord is lukew3#6464


Not working in GridView

It works fine when i use it in an activity but when i try to use the setBlur(int) in a GridView or ListView i get a compile time error
" The method setBlur(int) is undefined for the type ImageView " Please can you fix😭

Sorry, this issues was a silly mistake on my part, i was calling the setBlur(int) on an imageView rather than com.jgabrielfreitas.core.BlurImageView


Language problem and score not showing

Describe the bug
When I translate Turkish from the browser, the score does not appear, everything seems to be zero.
Reproduction

System Info
Browers

Logs
Go-ibax

Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Please refer to this discussion: https://github.com/IBAX-io/go-ibax/discussions/453#discussioncomment-2031685


How to use?

Hey I hav found this Mod on Modrinth and want to use it, but I dont know how 😅. Is there a documentaion or a wiki?
Currently I have installed the Mod on my Fabric server and my Fabric client.
I would be grateful for any help. Thank you very much!

Hi, you need to install it alongside a minimap mod on the client. VoxelMap is currently the best supported, others are in beta and you may experience issues with those currently. Then, your waypoints will automatically be shared with everyone else on the server who also has minimap sync on their clients, unless you set the waypoint to private. There is also the /waypoint command to interact with waypoints via commands.

Okay, so I need to install minimap-sync on both the client and server, for every user?

Seeing other players on the minimap works now. How can sync the waypoints global for every player?

It should happen automatically. You need the mod on all clients.

Okay Thanks! Currently it does not work. I have installed Xaero Minimap and minimapsync on both the clients and the server but the only thing that gets synced are the players on the minimap. But not the waypoints. Are there some settings for the minimap or the minimap sync that I need to change?

Yeah that sounds like a bug to me then. I have only verified it to work properly on VoxelMap. I will look into it when I get the chance.

Thanks a lot! I really like this Mod. It really connects all my friends on our server!


5.1 Compatibility?

Since 5.1 is the Long-Term Support version of Laravel, I'm wondering if it would be appropriate to support that as well? What features have been included in 5.2 that aren't in 5.1?
This is a very important concern for LTS-only organizations who don't want to upgrade Laravel every 6-12 months.

Well, unfortunately the main reason this library was able to be updated from nightmare hellstew to nice and clean was the new global scope features in 5.2.

Ah, makes sense.


Fix[LocalStorage/Fix-Scheduler-bug]: fix scheduler bug about capacity not deal with correctly when add/del pvc fluently

… not deal with correctly when add/del pvc fluently
Signed-off-by: jie.li<EMAIL_ADDRESS>
What this PR does / why we need it:
Fix[LocalStorage/Fix-Scheduler-bug]: fix scheduler bug about capacity not deal with correctly when add/del pvc fluently
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report

Merging #228 (20dee63) into main (c943b5e) will decrease coverage by 1.01%.
The diff coverage is 3.76%.

@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
- Coverage   17.15%   16.13%   -1.02%
==========================================
  Files          72       73       +1
  Lines        7146     7641     +495
==========================================
+ Hits         1226     1233       +7
- Misses       5799     6285     +486
- Partials      121      123       +2

Impacted Files
Coverage Δ

...ocalvolumemigrate/localvolumemigrate_controller.go
10.71% <0.00%> (-1.06%)
:arrow_down:

pkg/local-storage/member/controller/manager.go
0.00% <0.00%> (ø)

...l-storage/member/controller/scheduler/scheduler.go
18.33% <0.00%> (+0.73%)
:arrow_up:

...al-storage/member/controller/volume_task_worker.go
25.47% <ø> (+0.01%)
:arrow_up:

pkg/local-storage/member/csi/node.go
0.00% <0.00%> (ø)

pkg/local-storage/member/node/configer/drbd.go
1.01% <ø> (+<0.01%)
:arrow_up:

pkg/local-storage/member/node/manager.go
0.00% <ø> (ø)

.../local-storage/member/node/storage/executor_lvm.go
0.00% <0.00%> (ø)

pkg/local-storage/member/node/storage/registry.go
0.00% <0.00%> (ø)

pkg/local-storage/utils/tools.go
0.00% <0.00%> (ø)

... and 3 more

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


Add otter datascience plotly

No need to push back this original, example repository for your changes.  You should consider the repository you are maintain as the primary branch deployment.
I think you can safely close this PR without merging.


MTL-2380 Fix carriage returns

Pull in Rusty's fix for cms-ipxe:
https://github.com/Cray-HPE/cms-ipxe/pull/89
CMS 1.6 backport:

/backport release/1.6


Why can't I send message to actors spawned in function?

I cannot send message to batch created actors.
I am spawning actors in the receive func of a supervisor actor, using function:
func startActor(ctx actor.Context, producer actor.Producer) actor.PID {
	props := actor.PropsFromProducer(producer)
	return *ctx.Spawn(props)
}

I create actors in batch using startActors function:
func (state *supervisorActor) startActors(ctx actor.Context) {
	cid := startActor(ctx, func() actor.Actor { return &RestfulActor{} })
	state.RestfulActorID = cid
	cid = startActor(ctx, func() actor.Actor { return &CreateSrcActor{} })
	state.CreateSrcActorID = cid
}

The receive func goes like this:
func (state *supervisorActor) Receive(ctx actor.Context) {
	switch ctx.Message().(type) {
	case *actor.Started:
		log.Println("started supervisorActor")
	case *message.CmdStartOnce:
		state.startActors(ctx)
		log.Println(state.RestfulActorID.Id)
		ctx.Send(&state.RestfulActorID, message.CmdStartRestful{})
         }
}

However in the receive function of RestfulActor, I cannot receive the message CmdStartRestful.

Note that if I do not use startActor function, instead I do direct call in startActors:
props := actor.PropsFromProducer(func() actor.Actor { return &RestfulActor{} })
	pid := *ctx.Spawn(props)
	state.RestfulActorID = pid
	ctx.Send(&state.RestfulActorID, &message.CmdStartRestful{})

This message can be successfully received in RestfulActor's receive func, which is confusing

@zhuguoliang  Hi, your switch case is *message.CmdStartRestful. It's a pointer, so your message must be a pointer too.
If you really really don't want using pointer, go for it.
func (state *supervisorActor) Receive(ctx actor.Context) {
	switch ctx.Message().(type) {
	case message.CmdStartOnce:
		state.startActors(ctx)
		log.Println(state.RestfulActorID.Id)
		ctx.Send(&state.RestfulActorID, message.CmdStartRestful{})
         }
}

props := actor.PropsFromProducer(func() actor.Actor { return &RestfulActor{} })
pid := ctx.Spawn(props)
msg := message.CmdStartRestful{}
ctx.Send(pid, msg)

BUT, it would waste memory, and does'nt works on remote.

Thanks


GeoGuess Demo on outdated build

Describe the bug
https://demo.geoguess.games/ is using an older version of geoguess that doesn't support light/dark themes etc.
To Reproduce
Go to https://demo.geoguess.games/
Expected behavior
It's out of date
Describe alternatives you've considered
No response
Screenshots
No response
What is your OS ?
MAC
What browsers are you seeing the problem on?
Firefox, Chrome, Safari
Version
1.0.0
Additional context
No response
Code of Conduct

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

Hello,
v1.0.0 not include dark mode, I will create new version

v1.1.0 released


pkg-config: add private libs to main libs for static-only build

fixes: #276

Hmm, I wonder if pkg-config --static was exactly meant to spit out the link-line for the static case. With this patch, the generated pc-files become specific/dependent on STATIC=0|1.

For me (without the patch) the pkg-config stuff looks like:
PKG_CONFIG_PATH=/path/to/libxsmm/lib pkg-config libxsmm --libs
-L/path/to/libxsmm/lib -lxsmm

and for the static link-line:
PKG_CONFIG_PATH=/path/to/libxsmm/lib pkg-config libxsmm --libs --static
-L/path/to/libxsmm/lib -lxsmm -lpthread -lrt -ldl -lm -lc

Is this not what you wanted?

I understand what you would like to achieve:

Pickup static library (if it is present); link-line incluses "private libraries".
Pickup shared library if no static library is available.

However, for instance SHARED is not what is seems to be (though STATIC=0 is already "shared"). In fact, SHARED is only a handy key to trigger building static as well as shared libraries (was/is needed for the Debian package deployment). Anyhow, what people eventually do is building LIBXSMM twice (make and make STATIC=0; and the order is people's choice). The logic proposed by the patch cannot infer what's needed (check existence of static library) because people can first execute either make or make STATIC=0; it makes the default link-line suggested by pkg-config unreliable.
I will refine the patch and try to achieve what you propose.

no, the order is quiet the other way round (matching the order in which compilers are resolving the -lxsmm in the absence of -static):

Pickup shared library if available (pkg-config --libs libxsmm should give just -L... -lxsmm, pkg-config --libs --static libxsmm should give -L... -lxsmm -ldl -lrt ... if a static library is also available, otherwise the same as without --static)
Pickup static library if no shared library available (pkg-config --libs libxsmm should give -L... -lxsmm -ldl -lrt, pkg-config --libs --static libxsmm should give the same thing)


Add mc-sgx-core-types crate

Add the initial mc-sgx-core-types crate.  It is currently empty and
with the intent to add the desired wrappers in follow on commits

Current dependencies on/for this PR:

develop

PR #80   👈

This comment was auto-generated by Graphite.


Fix warnings

Pull Request doc
Purpose
Fix warnings raised by our test suite. Went from 130 warnings down to 7.
What the code is doing
Most warnings come from pandas. These were:
* FutureWarning: Passing a set as an indexer is deprecated and will raise in a future version. Use a list instead
* FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
* SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame
* FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.

Remaining warnings come from from third party packages and a user warning, see below:
.tox/pytest-local/lib/python3.9/site-packages/pypsa/descriptors.py:31
  /Users/brdo/CEM/PowerSimData/.tox/pytest-local/lib/python3.9/site-packages/pypsa/descriptors.py:31: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    _nx_version = StrictVersion(nx.__version__)

.tox/pytest-local/lib/python3.9/site-packages/pypsa/linopf.py:37
  /Users/brdo/CEM/PowerSimData/.tox/pytest-local/lib/python3.9/site-packages/pypsa/linopf.py:37: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    pd_version = LooseVersion(pd.__version__)

.tox/pytest-local/lib/python3.9/site-packages/setuptools/_distutils/version.py:351
  /Users/brdo/CEM/PowerSimData/.tox/pytest-local/lib/python3.9/site-packages/setuptools/_distutils/version.py:351: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    other = LooseVersion(other)

powersimdata/design/investment/tests/test_investment_costs.py::test_calculate_gen_inv_costs_not_summed
  /Users/brdo/CEM/PowerSimData/powersimdata/design/investment/investment_costs.py:471: UserWarning: No cost data available for Nuclear for Advanced cost case, using Moderate cost case data instead
    warnings.warn(

powersimdata/input/tests/test_export_to_pypsa.py::test_export_grid_to_pypsa
powersimdata/input/tests/test_export_to_pypsa.py::test_export_grid_to_pypsa
powersimdata/input/tests/test_export_to_pypsa.py::test_export_grid_to_pypsa
  /Users/brdo/CEM/PowerSimData/.tox/pytest-local/lib/python3.9/site-packages/pypsa/components.py:701: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
    new_df = cls_df.append(obj_df, sort=False)

-- Docs: https://docs.pytest.org/en/stable/warnings.html

Testing
Run tox successfully
Where to look
Several modules are concerned. No major refactoring, only converting set to list, etc. The largest change is using get_indexer() in place of get_loc().
Usage Example/Visuals
N/A
Time estimate
5 min

What happens with the linter?

What happens with the linter?

It's installing a newer version of click which it seems black isn't compatible with.


[youtube] change of default player clients to ios,tv breaks -f b and getting m3u8 URL with both video and audio in a single stream

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Latest release yt-dlp 2024.08.01 and specifically commit https://github.com/yt-dlp/yt-dlp/commit/efb42763dec23ccf6a2e3bac3afbfefce8efd012
This breaks getting youtube m3u8 live-stream URLs for usage with VLC/m3u8 players (think apple tv and not wanting to use the crappy youtube app)
It used to be a simple as yt-dlp -g -f b -v https://www.youtube.com/url > stream.m3u8
but with the above change -f b doesn't work any longer and removing -f b or using -f "bv+ba" one gets a m3u8 file with 2 m3u8 urls (one for video and one for audio) which in many m3u8 players are seen as 2 entries and therefor wont work.
possible fix is yt-dlp -g -v -f b --extractor-args "youtube:player-client=ios,web" https://www.youtube.com/url > stream.m3u8
other solutions welcome given the multiple WARNING: [youtube] Webpage contains broken formats (poToken experiment detected) with the above "fix"
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[x] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-g', '-v', '-f', 'b', 'https://www.youtube.com/watch?v=FkP_Qxw5xns']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ffd7781d6] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg n7.0.1-6-gf0b747ef1a-20240614 (setts), ffprobe n7.0.1-6-gf0b747ef1a-20240614
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=FkP_Qxw5xns
[youtube] FkP_Qxw5xns: Downloading webpage
[youtube] FkP_Qxw5xns: Downloading ios player API JSON
[youtube] FkP_Qxw5xns: Downloading tv player API JSON
[youtube] FkP_Qxw5xns: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
ERROR: [youtube] FkP_Qxw5xns: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2977, in process_video_result
yt_dlp.utils.ExtractorError: [youtube] FkP_Qxw5xns: Requested format is not available. Use --list-formats for a list of available formats

and now with "fix"

[debug] Command-line config: ['-g', '-v', '-f', 'b', '--extractor-args', 'youtube:player-client=ios,web', 'https://www.youtube.com/watch?v=FkP_Qxw5xns']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ffd7781d6] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg n7.0.1-6-gf0b747ef1a-20240614 (setts), ffprobe n7.0.1-6-gf0b747ef1a-20240614
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=FkP_Qxw5xns
[youtube] FkP_Qxw5xns: Downloading webpage
[youtube] FkP_Qxw5xns: Downloading ios player API JSON
[youtube] FkP_Qxw5xns: Downloading m3u8 information
[youtube] FkP_Qxw5xns: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] FkP_Qxw5xns: Downloading 1 format(s): 300
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1722819499/ei/S8-vZtaUMc-06dsP5IzAiAI/ip/<IP_ADDRESS>/id/FkP_Qxw5xns.1/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/rqh/1/hdlc/1/hls_chunk_host/rr4---sn-5hnekn7l.googlevideo.com/xpc/EgVo2aDSNQ%3D%3D/playlist_duration/30/manifest_duration/30/spc/NO7bAX9bm24r4uuHxsLbVPKjTfLkpHW3xP_e_fOSGLfR5FkBR22doGwU3Z5cHk8/vprv/1/playlist_type/DVR/initcwndbps/2953750/mh/jv/mm/44/mn/sn-5hnekn7l/ms/lva/mv/m/mvi/4/pl/21/dover/11/pacing/0/keepalive/yes/mt/1722797562/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,rqh,hdlc,xpc,playlist_duration,manifest_duration,spc,vprv,playlist_type/sig/AJfQdSswRgIhAJRKYA7Q667t6xD-oqlUk6GJ0oiUZSwLor8c0He10poLAiEAqwatEqcpZJa9f-Lt3LBndqdjyfkLXC2wj0vWn7WU0kI%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AGtxev0wRQIhANru6o4EuJTI0zzmSK0zqiKakHBnjVHKuvemlnvA05vtAiBzNGdY7pIdc1_2BWGtWjiKDOzxiM_8c5UiBmZ_exK5ow%3D%3D/playlist/index.m3u8

The problem is that the web client will probably soon stop working entirely, as YouTube now requires browser integrity checks.
If you do need these pre-merged formats, I would either use the web_creator or mediaconnect client.
Note that both could also be subject to integrity checks soon, and mediaconnect tops out at 480p for some livestreams.
We will consider changing the default for livestreams to ios,web_creator

I was afraid of that, but understood, thanks for the insight.


Query about sharing my fine-tuned model

Hi everyone,
I'm very new to this. I have a question. After I fine-tune a model through PaLM API on my own dataset how do I share my tuned model with others?
Thanks.

There is a PermissionService in the API. It's not particularly well documented, but I started putting together a sample that shows how to share a tuned model over in #170. It's not approved or merged yet (my bad) but hopefully you can see the code.

Yes, no docs aside from the generated api-reference, and no support in the python SDK (google.generativeai), just the low-level client library (google.ai.generativelanguage).
Here's the entry point for the generated api-reference: https://ai.google.dev/api/python/google/ai/generativelanguage/PermissionServiceClient


Issue 157 fix circuit constraint

This pull request is fixing issue #157
This issue appears when a circuit of 1 element (or even no element) is created and it crashes both "ortools" and "gurobi".
The bug appears when the "decompose" method of the expression is called, in _post_constraint(). The decompose method is called only in ortools and gurobi and that is why this happens there.
In the decompose method of Circuit, it is assumed that it contains more than one variables. So, "order" is assumed to be an array of variables
order = intvar(0,n-1, shape=n)
and then an index is used to define that the last one has no succesor.
order[n-1] == 0
However, when only 1 variable is given, then n = 1, resulting in "order" not being subscriptable.
This could be handled by just returning True when only one variable is given (as there is no real ordering required in that case), but that creates a different problem:
If Circuit([x]) is the only constraint involving the variable x, then the when the cpmpy model tries to get the value of the variable, it crashes, as the solver doesn't have the variable (no constraint involving x as Circuit([x]) is replaced with True).
This happens in both ortools and gurobi. E.g. in ortools.py it starts at lines 186-187:
            for cpm_var in self.user_vars:
                cpm_var._value = self.ort_solver.Value(self.solver_var(cpm_var))

as we have stashed the variable in solver vars (i.e. self.user_vars), but then we never added a constraint involving this var in the solver.
        # add new user vars to the set
        self.user_vars.update(get_variables(cpm_con))   <- here we add the variable

        # apply transformations, then post internally
        cpm_cons = flatten_constraint(cpm_con)
        cpm_cons = reify_rewrite(cpm_cons)
        cpm_cons = only_numexpr_equality(cpm_cons, supported={"sum", "wsum","sub"})
        cpm_cons = only_bv_implies(cpm_cons)

        for con in cpm_cons:
            self._post_constraint(con)   <- here we do not post the constraint

Thus, the command self.ort_solver.Value(self.solver_var(cpm_var)) crashes (a few function calls later).
The issue is solved by returning a true constraint, that involves the variable given to the Circuit constraint, so it will be considered in the solver. That is, the constraint var >= lower bound of var is returned.
In case no variables are given to the Circuit constraint, an exception is raised.

It feels a little hacky, but I wouldn't know of another way to fix this...
The only thing that can be done I think is to explicitely make the variables when adding the non-decomposed version of the constraint to the solver.
I.e., for OR-tools, on line 312, we can do self.solver_vars(get_variables(cpm_cons)) but this will create some overhead when posting constraints. In fact, I believe this is the way we did it some time ago...
No strong opinion which fix to chose. Fine to merge for me.

I resolved a conflict that existed with master.
I think it is ok to merge this way, to avoid adding an overhead. Just adding a fake constraint if only one variable is given resloves this, and I think we have done it in other cases.

It seems that the post_constraint() has changed in ortools.py from when the issue/pull request has opened. Instead of decomposing, now Circuit constraint is directly posted to ortools.
In order to do that, First the arcs are are found and are then given to the Circuit constraint of ortools
        elif cpm_expr.name == "circuit":
            # ortools has a constraint over the arcs, so we need to create these
            # when using an objective over arcs, using these vars direclty is recommended
            # (see PCTSP-path model in the future)
            x = cpm_expr.args
            N = len(x)
            arcvars = boolvar(shape=(N,N), name="circuit_arcs")
            # post channeling constraints from int to bool
            self += [b == (x[i] == j) for (i,j),b in np.ndenumerate(arcvars)]
            # post the global constraint
            # when posting arcs on diagonal (i==j), it would do subcircuit
            ort_arcs = [(i,j,self.solver_var(b)) for (i,j),b in np.ndenumerate(arcvars) if i != j]
            return self.ort_model.AddCircuit(ort_arcs)

So, the previous problem has been removed. Now, in the case of 0 or 1 variables given in the Circuit constraint, the system prints the following error: "ValueError: AddCircuit expects a non-empty array of arcs". it is good that it is not crashing, but I think we would need a more informative message for the user, instead of posting the error from ortools.
I am changing the pull request. Will just add a CPMpy exception at that point, printing to the user an appropriate message.

sorry for that, I didn't realize it would intervene here.
But for gurobi (or z3, or... any other using the decomposition) it would still be an issue? So better add the raise exception in the decompose too? You can reopen this branch and do that here (e.g. it would be what is in this branch?).

It is indeed better that way.
I just introduced an exception when the constraint is initialized, checking how many variables the constraint is given. This covers all constraints.


Standardize handle separators

We have too many handle separators, we need to come up with some kind of standardization and use it across the framework if we can stand to.

Usage
Separator
Example

Assets
-
javascript-conditionals

IOC bindings
/
helper/concrete/file

Config
.
concrete.cache.blocks

Events
_
on_before_render

Javascript Events
none
ImageEditorWillSave

This is in large part my fault because I've added two of these things without minding the need for a ubiquitous form factor. I say that we should adopt the / as a standard form factor for every string handle that we add from now on. Thoughts?

I kind of like that they are all different, I can tell at a glance what it is (is it a config entry or a file path, etc)

@KorvinSzanto can you give samples of what you think these would look like with the /? To me the / indicates a level of hierarchy or nesting of some sort, mostly curious what this looks like for events that are currently multiple words such as something like controller/on_before_render.

@EC-Joe to be clear this is for new constructs that we add, not to change existing constructs.
But if I may, the event would be render/before and render/after.

Makes sense to me. :+1: I'm good with the / but I think additionally there should be some definition in this standard for multi words as I think it would be short sighted to think we could always cram every chunk into just one word. How about using _ for word breaks as we do in the config (e.g. concrete.url.title_format)?

:+1:


System API authentication

the system API needs some sort of authentication which is not based on an instance
Acceptance criteria

[ ] calls to system API fail without correct authentication

for the start we can go with HMAC


Gogo-stream API

not complete yet?

i dont understand, the gogo-stream api it works all that was said in the maincontroller.
Everything is working, if not, just open the issue and as soon as i can i will fix and update it.


I2C transaction breaks I2c trait contract

According to I2c trait transaction contract is as follows:
Transaction contract:
- Before executing the first operation an ST is sent automatically. This is followed by SAD+R/W as appropriate.
- Data from adjacent operations of the same type are sent after each other without an SP or SR.
- Between adjacent operations of a different type an SR and SAD+R/W is sent.
- After executing the last operation an SP is sent automatically.
- If the last operation is a `Read` the master does not send an acknowledge for the last byte.
- `ST` = start condition
- `SAD+R/W` = slave address followed by bit 1 to indicate reading or 0 to indicate writing
- `SR` = repeated start condition
- `SP` = stop condition

Using following simple test code:
use embedded_hal::i2c::blocking::{I2c, Operation as I2cOperation};
use linux_embedded_hal::I2cdev;

fn main() {
    let mut i2c_dev = I2cdev::new("/dev/i2c-1").unwrap();

    let data = [0xaa; 1];
    let mut ops = [I2cOperation::Write(&[0x40]), I2cOperation::Write(&data)];
    i2c_dev.transaction(0x3d, &mut ops).unwrap();
}

I'm expecting no SR "repeated start condition" to appear as both operations are of the same type (Write). Unfortunately I can see SR "repeated start condition" on the bus as well as SAD+R/W "slave address followed by bit 1 to indicate reading or 0 to indicate writing" (positions 6 and 8). This was captured using logic analyzer on embedded Linux board for the sample code attached above:

Interesting find!
Following the code path you can see that two linux write messages are created and sent to the underlying rust-i2cdev library.
There it is received and the message addresses filled and then sent to the kernel via FFI.
The kernel documentation states:

The function will write or read data to or from that buffers depending on whether the I2C_M_RD flag is set in a particular message or not. The slave address and whether to use ten bit address mode has to be set in each message, overriding the values set with the above ioctl’s.

So the code path seems to be correct and this is just how the linux kernel works: it sends the messages without a stop in between, although it does send a restart with the same address for each message regardless of the type of the last one.
In order to uphold the transaction contract what we could do is to consolidate operations of the same type that follow each other into a single message for the kernel here.
This needs to be done for transaction_iter as well, but the _iter part of it is internally already collected and not immediately sent so it should be doable.

The I2C_M_NOSTART flag does fix the issue, but it assumes that the i2c device supports it. This can be checked using the I2C_FUNCS operation of ioctl. One potential issue with the fix is that it needs to be implemented in the rust-i2cdev repo as the i2c_mgs.flags field is private. If we can assume that the LinuxI2CDevice::transfer call should always fulfill the contract then this isn't an issue at all.

I am not opposed to make rust-i2cdev fulfill the contract of embedded-hal::i2c::I2c. However, it is possible to set the NO_START message flag entirely from this crate by using with_flags(). i.e. LinuxI2CMessage::write(w).with_flags(I2CMessageFlags::NO_START).
One would need to play a bit with the chain here, though, in order to set it only when appropriate.


On the summation of some multivariate normal distributions

Describe your issue.
How can one adds up two multivariate_normal objects in scipy? None of the following tries work.
Reproducing Code Example
from scipy.stats import multivariate_normal

Z0 = multivariate_normal([1,2], [[2,0],[0,2]])
Z1 = multivariate_normal([1.1,2.2], [[2.1,0],[0,4.1]])

# First try:
Z = Z0 + Z1

# Second try:
Z = sum(Z0,Z1)

Error message
# The error associated with the first try:

TypeError: unsupported operand type(s) for +: 'multivariate_normal_frozen' and 'multivariate_normal_frozen'

# The error associated with the second try:

TypeError: 'multivariate_normal_frozen' object is not iterable

SciPy/NumPy/Python version information
1.3.1 1.19.5 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)

It seems that I was just supposed to call pdf() after each distribution instance, say,
Z = Z0.pdf() + Z2.pdf().

I'm guessing you are trying to model the sum of two normally distributed random variables. Z = Z0.pdf() + Z2.pdf() will raise an error because pdf needs an argument, but even with that fixed, you wouldn't get the PDF of the distribution you seem to want. Issues here on the GitHub repo are for bug reports and enhancement requests, but this is more of a usage question, so I'd suggest posting your question on Stack Overflow


Fixing website link

The link pointed to the old location.

@chulakar when you have a chance, please have a look at this pull request. Thanks!


Ability to create a connection without database name (cross-database query)

Is your feature request related to a problem? Please describe.
Explicit title: As we can't create a connection without a database name, we can't execute cross-database query
Use case: I have 20 databases on the same MySQL server. There's no workaround to run the same query 20 times, the only way is to create a connection for each database even if it's on the same server.
Describe the solution you'd like

Ability to create a connection without giving a database name
Ability to run a request without a given database name

Describe alternatives you've considered
No workaround is available for now except running the cross-database request using another software

Related to #727

When you connect to your MySQL server does the tree show all 20 databases, with the one you named in the connection being first, followed by the other 19 in alpha order?
When you run a SELECT in which you prefix the table name(s) with databasename. do you get the data from the expected place?

For now the workaround has been to create a connection using "mysql" as database name (config database) ... I'm able to see all databases afterwards


Replace Joda-Time with java.time in CalendarFXView

Note that the $ mvn install fails without de728a2 from #48 but succeeds with it on my machine.