Incorrect schema in Microsoft.Web/sites/slots, Microsoft.Web/sites?

Bicep version: v0.9.1 (a2950a16df)
Describe the bug
Azure requires that a sites and a sites/slot requires a properties.serverFarmId.
To Reproduce
Try this bicep script:
// param applicationName string = ...
resource serverfarm 'Microsoft.Web/serverfarms@2022-03-01' = {
    name: applicationName
    location: region
    kind: 'app'
    sku: {
        name: 'P1v2'
        tier: 'PremiumV2'
    }
    properties: {
        reserved: true
    }
}

resource webapp 'Microsoft.Web/sites@2022-03-01' = {
    name: applicationName
    location: region
    kind: 'app,linux'
    identity: {
        type: 'SystemAssigned'
    }
    dependsOn: [ serverfarm ]       // No, it's not unnecessary; otherwise it'll error (null reference).
    properties: {
        siteConfig: {
            alwaysOn: true
            appSettings: []
            ftpsState: 'Disabled'
            remoteDebuggingEnabled: env == 'dev' ? true : false
            netFrameworkVersion: '5.0'
        }
        httpsOnly: true
    }
}

resource staging 'Microsoft.Web/sites/slots@2022-03-01' = {
    name: '${applicationName}/staging'
    location: region
    dependsOn: [ webapp, serverfarm ]
    properties: {
        cloningInfo: {
            sourceWebAppId: webapp.id
        }
        siteConfig: {
            push: {
                properties: {
                    isPushEnabled: false
                }
            }
            alwaysOn: true
        }
    }
}

However, this one works:
resource serverfarm 'Microsoft.Web/serverfarms@2022-03-01' = {
    name: applicationName
    location: region
    kind: 'app'
    sku: {
        name: 'P1v2'
        tier: 'PremiumV2'
    }
    properties: {
        reserved: true
    }
}

resource webapp 'Microsoft.Web/sites@2022-03-01' = {
    name: applicationName
    location: region
    kind: 'app,linux'
    identity: {
        type: 'SystemAssigned'
    }
    dependsOn: [ serverfarm ]
    properties: {
        serverFarmId: serverfarm.id
        siteConfig: {
            alwaysOn: true
            appSettings: []
            ftpsState: 'Disabled'
            remoteDebuggingEnabled: env == 'dev' ? true : false
            netFrameworkVersion: '5.0'
        }
        httpsOnly: true
    }
}

resource staging 'Microsoft.Web/sites/slots@2022-03-01' = {
    name: '${applicationName}/staging'
    location: region
    dependsOn: [ webapp, serverfarm ]
    properties: {
        cloningInfo: {
            sourceWebAppId: webapp.id
        }
        serverFarmId: serverfarm.id
        siteConfig: {
            push: {
                properties: {
                    isPushEnabled: false
                }
            }
            alwaysOn: true
        }
    }
}

Even though Bicep will allow the script through, and it'll pass ARM pre-checks, it'll always result in a bad request.

For a serverfarm you need to specify the serverFarmId on the site.
Microsoft.Web/serverfarms and Microsoft.Web/sites are not bicep parent/child resources, however a serverfarm has to exist before the site create be created (serverFarmId).
Now by passing serverFarmId from the resource outputs, then you can can remove the dependsOn and let Bicep figure it out.
e.g.
resource webapp 'Microsoft.Web/sites@2022-03-01' = {
    name: applicationName
    location: region
    kind: 'app,linux'
    identity: {
        type: 'SystemAssigned'
    }
    dependsOn: [ serverfarm ]       // <-- Remove this - Not required because...
    properties: {
        serverFarmId: serverfarm.id // <-- this is a 'implicit dependency'
        siteConfig: {
            alwaysOn: true
            appSettings: []
            ftpsState: 'Disabled'
            remoteDebuggingEnabled: env == 'dev' ? true : false
            netFrameworkVersion: '5.0'
        }
        httpsOnly: true
    }
}

https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/child-resource-name-type
https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/resource-dependencies#implicit-dependency

@naveedaz / @seligj95 -- can you take a look at this one?

@coolhome Hm, maybe I was thinking that setting a dependsOn would hint at bicep that the serverFarmId would then be hinted for bicep to figure it out.


darwin.stdenv: propagate sdkRoot via extraBuildInputs

Description of changes
This ensures it is properly dropped when cross-compiling.
I tested by building the Darwin bootstrap on aarch64-darwin and building psutil in the bootstrap to confirm the sdk root is being propagated correctly. It should have an SDK version of 11.0 (and did).
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Closed by https://github.com/NixOS/nixpkgs/pull/346043


Work related to Caddy

TODOs:

use format console, see https://caddyserver.com/docs/caddyfile/directives/log. @emanuelschuetze  and I both did not succeed in applying the config and get it working. It produces too much logs (at least during development). For the production @gsiv may want it to be reduced, too.
Fix the ssl protocol error when deploying productive version. Currently http works, https gives the error.
Add a configuration option to use http, https (self signed), https (provide custom cert)

outdated


"Invalid by_month value" error message on RRULE definition

If I feed the following definition to rrule then I get an Invalid by_month value error from rrule:
"DTSTART;VALUE=DATE:20211206\nRRULE:FREQ=YEARLY;UNTIL=20211205T230000Z;INTERVAL=1;BYMONTHDAY=6;BYMONTH=12".parse::<RRuleSet>().unwrap()

The same definition but with a BYMONTH=11 works.

Thanks for reporting this issue. It should be fixed in v0.7.1.
Feel free to reopen if the issue persist.


Update Windows Tailwind executable download path

Hello. When I run python .\manage.py tailwind runserver I get the message:

Tailwind CSS CLI not found.
Downloading Tailwind CSS CLI from 'https://github.com/tailwindlabs/tailwindcss/releases/download/v3.3.5/tailwindcss-windows-amd64'

Which errors with 404 not found. The download link in Tailwind Labs repository is:

https://github.com/tailwindlabs/tailwindcss/releases/download/v3.3.5/tailwindcss-windows-x64.exe

With the differences being:

x64 instead of amd64
Includes .exe suffix

If I update these two functions it downloads the correct Tailwind CLI executable:
def get_system_and_machine(self) -> Tuple[str, str]:
    """Get the system and machine name."""
    system = platform.system().lower()
    if system == "darwin":  # pragma: no cover
        system = "macos"

    machine = platform.machine().lower()
    if machine == "x86_64" or 'amd64':  # pragma: no cover
        machine = "x64"
    elif machine == "aarch64":  # pragma: no cover
        machine = "arm64"

    return (system, machine)

def get_download_url(self) -> str:
    """Get the download url for the Tailwind CSS CLI."""
    system, machine = self.get_system_and_machine()
    extension = '.exe' if system == 'windows' else ''
    return (
        "https://github.com/tailwindlabs/tailwindcss/releases/download/"
        f"v{self.tailwind_version}/tailwindcss-{system}-{machine}{extension}"
    )

With the changes being:

Add or 'amd64' to if machine == "x86_64" or 'amd64':
Add extension = '.exe' if system == 'windows' else ''
Update the f-string to include the {extension}

I'm using Python 3.11.3 64-bit on Windows 11 with Django 4.2.4

It also has issues recognizing tailwindcss.exe when installed via scoop (linked in ~/scoop/shims/ by default)

@rtr1 I plan to work on this issue on Friday. I would be happy to see someone let the test suite run on Windows, as I only have Macs and Linux machines at hand. Could you do this for me?

@oryon-dominik I think you are referencing to the same topic as Jeff did in his discussion entry (https://github.com/oliverandrich/django-tailwind-cli/discussions/65). I plan to add the functionality to reference an externally installed CLI. I will create a seperate ticket for this.


Disabled button text color?

Which platform(s) does your issue occur on?
Both
iOS 14 / Android 10
Both. iPhone 7+, iPhone 11 Pro Max, Xiaomi Redmi Note 8
Please, provide the following version numbers that your issue occurs with:
CLI: 7.0.9-rc.0
Cross-platform modules: 7.0.3
Runtime(s): 7.0.0
Plugin(s):
  "dependencies": {
    "@mdi/font": "^5.6.55",
    "@nativescript-community/ui-material-activityindicator": "^5.0.6",
    "@nativescript-community/ui-material-bottomnavigationbar": "^5.0.6",
    "@nativescript-community/ui-material-bottomsheet": "^5.0.6",
    "@nativescript-community/ui-material-button": "^5.0.6",
    "@nativescript-community/ui-material-cardview": "^5.0.6",
    "@nativescript-community/ui-material-core": "^5.0.6",
    "@nativescript-community/ui-material-floatingactionbutton": "^5.0.6",
    "@nativescript-community/ui-material-progress": "^5.0.6",
    "@nativescript-community/ui-material-ripple": "^5.0.6",
    "@nativescript-community/ui-material-slider": "^5.0.6",
    "@nativescript-community/ui-material-tabs": "^5.0.6",
    "@nativescript-community/ui-material-textfield": "^5.0.6",
    "@nativescript-community/ui-material-textview": "^5.0.6",
    "@nativescript/core": "latest",
    "@nativescript/firebase": "11.0.0",
    "@nativescript/iqkeyboardmanager": "^2.0.0",
    "@nativescript/theme": "rc",
    "nativescript": "rc",
    "nativescript-vue": "latest",
    "nativescript-vue-navigator": "^1.2.0",
    "vuex": "^3.5.1"
  },
  "devDependencies": {
    "@babel/core": "~7.11.6",
    "@babel/preset-env": "~7.11.5",
    "@nativescript/android": "7.0.0",
    "@nativescript/ios": "7.0.0",
    "@nativescript/webpack": "~3.0.0",
    "babel-loader": "~8.1.0",
    "nativescript-vue-template-compiler": "~2.8.1",
    "node-sass": "^4.7.1",
    "scss-symbols-parser": "^2.0.1",
    "string-replace-loader": "^2.3.0",
    "vue-loader": "~15.9.3",
    "vue-property-decorator": "^9.0.0",
    "typescript": "^3.9.7",
    "@nativescript/types": "latest"
  }

Can't change MDButton text color neither using attributes (like color="#fff" nor CSS like MDButton { color: #fff }.

@butaminas please can you share a example, possible sample app?

@farfromrefug my bad, I think it was some sort rendering issue on my simulator where the color was not changing, the text color on button is actually working properly. However, it is not working when I am using isEnabled attribute to disable the button.
If I use isEnabled then the text color is dark / black and I can't change it
Also, :disabled css rule didn't help.
My code
page.vue:
<MDButton height="50"
          flexGrow="0"
          width="125"
          borderRadius="25"
          text="Next"
          :isEnabled="!disabled"
          @tap="$navigator.navigate('/home', { clearHistory: true,
             transition: { name: 'flipLeft', duration: 500 }})"
/>

page.scss:

MDButton {
    color: $primary-dark;
    background-color: $primary;
    &:disabled {
      color: #fff;
    }
}

Sorry for the confusion!

@butaminas talking iOS or Android

@farfromrefug double checked to make sure - it is only not working on iOS, you can change the text color via :disabled css attribute.
However, on Android, disabled button background color is light and you can't change it via background-color css (don't know if this is because how Android operate disabled buttons).

@butaminas i see why! i need to think at about this. Will let you know

@butaminas just tested it will work with color. You can set it in disabled. I added an example in the demo-vue app.
Now it did not work with backgroundColor or strokeColor.
Made it work for backgroundColor. But cant do it for strokeColor for now.
Released 5.0.9


Cannot connect

I have the app running locally, but with TrainerRoad running and my Hue credentials/IP address populated, the app won't connect to either TrainerRoad or my lights. Screenshots included. Please let me know if this is simply user error or if there's an issue in the code. Notably, when I look at the console I see three errors pop up. Thank you! Can't wait to get this thing running.

Hey @mreese84,

For the trainerroad error, could you confirm that you had trainerroad open and were logged in prior to opening roadlight?

For the philips hue bridge error, did you create a user in the bridge as shown in this video (https://www.youtube.com/watch?v=CijfE7AFNEM)? The philips hue instructions start at 57 seconds.

I had forgotten to make the video above public, so apologies for the lack of setup instructions :sweat_smile:
Also, not sure if you already use the Hue Sync app, but based on the trainerroad comment here it sounds like this can also be setup within the app.

@tcampb,

Yes... I open TR, let the app load completely, and confirm I am logged in (note, I am already connected to my Kickr as a power meter. Not sure if that matters or not. I tried doing it with my Kickr unplugged and still got an error.) I then open my terminal, run npm start and the Electron app opens. I get an error immediately saying it can't load Hue lights and another error saying it can't connect to TR.
As for the hue error... definitely did not follow those instructions. I was using my normal hue username and IP address from the philips hue app. I'll follow those steps now.
Thanks for the quick reply!

@tcampb, okay... I'm connected to the bridge. Those instructions were great. Just need to solve the TR connection issue now.

A couple more clues for you...

I'm on macOS 11.7.4
I'm using npm 9.8.0
TrainerRoad version is 2<IP_ADDRESS>5
When I open Dev Tools, I see this error in the console...

Thanks for taking a look!

Thanks for all of the additional information @mreese84, this is very helpful! It looks like a recent update to the Trainerroad client changed the name of the process that outputs power information. Just wanted to give you a heads up that I am looking into this now and will hopefully have an update soon.

Hey @mreese84, it looks like the EmbeddedDeviceService that roadlight connects to is no longer started automatically when the Trainerroad application is run. It looks like they now connect directly to the bluetooth / ant device file descriptor from what I can tell.
That said, it looks like the EmbeddedDeviceService is still packaged in the Trainerroad application. I was able to connect to it by manually starting the EmbeddedDeviceService:
cd /Applications/TrainerRoad.app/Contents/Resources/EmbeddedDeviceService/Mac/TrainerRoad.Embedded.Mac.app/Contents/MacOS/TrainerRoad.Embedded.Mac

./TrainerRoad.Embedded.Mac --version 1 --channel channel

I'm not sure what exactly the version and channel arguments do, but they are required so I just passed in a random value.

Hmm, weird. I was able to start EmbeddedDeviceService and get rid of the error. So that's great. However, Roadlight isn't getting power numbers from TR. It says that it is connected, but nothing is synced. I'm not seeing any warnings or errors anywhere in the console or terminal either. Any ideas?

Ah, that makes sense. Since it's not being started by the Trainerroad application it is not receiving the power info.
I'm thinking at this point it probably makes sense to drop the EmbeddedDeviceService dependency and instead use the web bluetooth api to connect to the power meter.
It's been a while since I've done any electron development so I'll have to do some research :sweat_smile:
Do you know if your Kickr can be paired with multiple devices at once, for example Trainerroad and Roadlight so that they both can receive the power data?

Ahh, bummer. That's unfortunate. As for your question, I just tested it and yes I am reading power from my Kickr on both TR and a Garmin watch. So I take that as a good sign the Kickr could connect to both TR and Roadlight.

Additionally, if we're talking about connecting directy to the trainer/power meter, I think this would be better than connecting through an app like TR because if you connect directly to the Kickr, that opens up usability to anyone using a bluetooth-capable power meter, not just TrainerRoad users. This is something the cycling/hue-user world have wanted for a while. You'd be a legend if you made this happen!

Thanks @mreese84, this is really helpful information! I was able to create a quick proof of concept to connect over Bluetooth instead of using Trainerroad.
I'll try and push up those changes for testing tomorrow. I had originally stopped working on this since I thought an app already existed, so this is really helpful info!

@tcampb fantastic! Looking forward to it. The Hue Sync thing is an okay stopgap, but not what people are really after. The ability to customize colors like you have (even though it would require altering the code) is great. With Sync you're stuck with whatever color whatever app has decided to use. I love the ability to set different values for different power zones (and eventually heart rate ;-) ). Setting colors from within the UI would be killer, but beggers can't be choosers. I'm happy to poke around in the code to update those myself.

Awesome. I just pulled it down, but the app doesn't start up when I run npm start. Not sure how to get the UI open.

Ok, app loads fine. I'm able to connect to my Hue lights and pair with my power meter. However, when I pedal the app isn't actually getting power numbers. I've tried both with TrainerRoad running and not running. Any thoughts?

When you click "Connect" you should get a prompt to select a bluetooth power meter to connect to:

Are you seeing any output in terminal or in the browser console? Also, I sent a LinkedIn message if you'd like to coordinate setting up a video call to debug.


Added 2024.6.1 strings

Added 2024.6.1 strings (Mac and Win).

Thank you but entries are already in ae-builds.json


Feat: Adding Phi-3 deployment notebook

Adding Phi3 deployment notebook

[X] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[X] Passes all the required formatting and linting checks. You can locally test with these instructions.

Merge on July 31st, 2024.


gunzip error if input is not compressed

If the input is not compressed (e.g. fq instead of fq.gz); several steps result in the error
gzip: stdin: not in gzip format
This is because several steps include "gunzip -c"
It has a very simple solution: "gunzip -cf"
by adding the -f flag to gunzip, if the input is not compressed, it would be cat instead. This is the same option as using "zcat" instead of "gunzip -c".
So, I would recommend replacing "gunzip -c" with "gunzip -fc" or "zcat" in all cases.
Thanks.
E.g. of the error in action:
Caused by:
  Process `alignment_wf:diamond (Align to the gene catalog)` terminated with an error exit status (1)

Command executed:

  set -e

  for fp in final_pure_reads_1.fastq final_pure_reads_2.fastq; do
      cat $fp |         gunzip -c |         awk "{if(NR % 4 == 1){print \"@$fp\" NR }else{if(NR % 4 == 3){print \"+\"}else{print}}}" |         gzip -c         > query.fastq.gz

      diamond         blastx         --query query.fastq.gz         --out $fp.aln.gz         --threads 4         --db genes.dmnd         --outfmt 6 qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore qlen slen         --min-score 20         --query-cover 50         --id 80         --top 1         --block-size 8.3333333333         --query-gencode 11         --compress 1         --unal 0
  done

  cat *aln.gz > 16.aln.gz

Command exit status:
  1

Command output:
  (empty)

Command error:

  gzip: stdin: not in gzip format

This is a great suggestion, thank you! I wish I had known about that flag a long time ago!

FYI, I implemented this on the dev branch (which you can run with -r dev)


Simplify volume mounts

To reduce operational burden and make it simpler to deploy, there should only be one volume needed like /app or something, and the application should then deal with having the right folders in place.
Love the tool thanks for making it

@MeurillonGuillaume the only thing stopping the app from being able to be fully deployed in a single volume is the data protection keys which has to live in /root/.aspnet/DataProtection-Keys instead of /App but you're right, all the other paths can technically be simplified to just /App and the app will create the folders automatically.
As for the docker compose...yeah, it's pretty outdated and I ought to update it someday, it was created a long time ago, but there are concerns about existing users missing their data if they are updating from multi volume to single volume since their data won't be in there.
I'm still going to leave this ticket open because it's not fully capable of running on a single volume due to the data protection keys volume.

I've deployed the application using a single volume mounted to the /App path and it seems to work fine for me, but the docker-compose.yml could probably be updated, unless there is a specific reason to have it this way.

Care to share?

@Judman this should work.
---
version: "3.4"

services:
  app:
    image: ghcr.io/hargata/lubelogger:latest
    build: .
    restart: unless-stopped
    # volumes used to keep data persistent
    volumes:
      - lubelog:/App/
      - keys:/root/.aspnet/DataProtection-Keys
    # expose port and/or use serving via traefik
    ports:
      - 8080:8080
    env_file:
      - .env

volumes:
  lubelog:
  keys:

@Judman @hargata that is indeed pretty similar to how I have it deployed, works just fine.

@hargata Have you tried to store /DataProtection-Keys in the lubelog volume and create a link to this directory.
I don't know how the directory is created and initialized but I mean something like this in the Dockerfile:
RUN mkdir /root/.aspnet
RUN ln -s /App/DataProtection-Keys /root/.aspnet/DataProtection-Keys

(with proper creation and initialization of the DataProtection-Keys directory)
Then it would be a true single volume

As pointed in the https://github.com/hargata/lubelog/issues/407 issue, this a pretty bad idea to make /app de volume.
I did not realize that /app contained code AND data.

@redge76 that makes sense, I'll re-open this story, but making this a single volume app is not going to be prioritized anytime soon.

Adding my two cents:
I was not able to run the application with the given docker-compose file. I had to extract all the data directories separately, because it was not finding the startup file. This is the config that wored for me:
services:
  lubelogger:
    image: hargata/lubelogger:v1.4.0
    container_name: lubelogger
    hostname: lubelogger
    restart: unless-stopped

    volumes:
      - ./data/appConfig:/App/config
      - ./data/appData:/App/data
      - ./data/appImages:/App/wwwroot/images
      - ./data/protectionKeys:/root/.aspnet/DataProtection-Keys

    ports:
      - 8080:8080

    env_file:
      - .env


ISPN-15313 Fix bug in caches by role REST API

https://issues.redhat.com/browse/ISPN-15313

Thanks @karesti


updated Kraken currencies, assets and markets

Thanks for the commit, I actually had it working already on the develop branch. There were actually more changes needed for Gekko to get all markets working, see 780c166.


:recycle: Chore: Remove @ethereumjs/utils references

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1006  👈
#1005
#1004
#1003
#1002
#1001
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


distributed training

Hi!
I am trying to run the training across 2 gpus using the multi_gpu distributed training. I was wondering if this codebase support it. If yes, how can I do it? Thank you so much!
Bests,
Cristian

Yep! You can assign policy and train GPUs/TPUs via --jax.policy_devices=0,1 --jax.train_devices=0,1.


setting the multiminer to mint

I set up the miner on windows- 15 minutes and everything works. But there were problems with installing on mint. My algorithm of actions:

I read the instruction:
Linux Installation (Debian-Based)
Install the latest version of Mono

sudo apt-get install mono-complete
Install your chosen mining engine
sudo add-apt-repository ppa: unit3 / bfgminer
sudo apt-get update
sudo apt-get install bfgminer
Download and extract the .zip file at the GitHub Releases page
Run MultiMiner.Win.exe using mono:
mono MultiMiner.Win.exe
2) Install the latest version of Mono                                                                - did it, it turned out
3) Install your chosen mining engine                                                              - did it, it turned out
4) Download and extract the .zip file at the GitHub Releases page               - did, it turned out
5) Run MultiMiner.Win.exe using mono                                                          - miner started, but there is one problem: miner does not determine the video card, there is an assumption that scan hardware does not start.

Run BFGMiner with the -h argument and ensure it is compiled with the opencl driver as seen below:
./bfgminer -h
bfgminer 5.5.0-unknown
  Lowlevel: ftdi hid pci pci:uio spi usb vcom
  Drivers: antminer avalon avalonmm bfx bifury bigpic bitforce bitforce:pci bitfury cairnsmore cointerra compac drillbit dualminer erupter gridseed hashbuster hashbusterusb hashfast icarus klondike littlefury modminer nanofury opencl proxy proxy:getwork proxy:stratum rockminer twinfury x6500 zeusminer ztex
  Algorithms: Keccak SHA256d scrypt
  Options: ncurses

If you do not see the OpenCL driver you will need to install (or compile) a version of BFGMiner with the opencl driver enabled.
If the opencl driver is enabled, run the following command. It should list your OpenCL devices. If not, check with the BFGMiner author / support in their respective thread / issue tracker.
./bfgminer -S auto -d?

 [2018-02-04 12:05:21] Started bfgminer 5.5.0-unknown
 [2018-02-04 12:05:23] /dev/cu.usbmodem3A21 is already in use by another process
 [2018-02-04 12:05:23] Devices detected:
 [2018-02-04 12:05:23]  Device (driver=opencl; procs=1)
1 devices listed


Additional resource loading with CDI

Currently, we have an option to load additional checks and commands dynamically through ServiceLoader. Would it be beneficial for users to have an option for Checks and Commands to be CDI beans?
This would require that we extract the Tyr "core" module that can be added to any application as a dependency (tyr-runner would still be available with quarkus runtime). The application can depend on the tyr core module, declare it's own checks and commands (only annotate with a custom qualifier) and add a runtime on its own. Similar to what smallrye project is doing for MP specifications. Would this be a good addition to this project?

I think this could be useful feature. Additional resources (commands and checks) could be then "injected" more easily. But I can see that it will be really time consuming work.


use temporary transposed matrix to set dirichlet BCs

According to codecov, this function is not tested. Please wait while I test it on one of my (complicated) problem

According to codecov, this function is not tested. Please wait while I test it on one of my (complicated) problem

If the script works as expected, the function is tested with the integration tests in the heat_equation tutorial at least. But I will wait for your feedback.

According to codecov, this function is not tested. Please wait while I test it on one of my (complicated) problem

If the script works as expected, the function is tested with the integration tests in the heat_equation tutorial at least. But I will wait for your feedback.

I've checked and everything's working fine. But let me write a tiny unit test to improve coverage.


[GitHub] Menu bar icon doesn't update until dropdown is open

Extension
https://www.raycast.com/raycast/github
Description
When I mark all the notifications as read on the menu bar item, the icon doesn't become white (from orange), I have to press on the dropdown again for it to update
Steps To Reproduce
See above
Current Behaviour
See above
Expected Behaviour
See above

I can't reproduce it. Could you share a recording? It'll make it easier to see what's happening.

I did disable the menu bar after I opened this issue, I went to enable it again to record a clip and now everything seems to work properly 🤔

AH! wait, it happened again, I need to find a way to record it...


AWS Lambda function for RASA Server

I was wondering how can I write AWS lambda function for RASA-NLU.
Like how can I train my model through python script with using S3 Bucket and then start my server and can able to parse it.
Initially I uploaded rasa-nlu-master folder in AWS lambda environment and now no clue what to do.

Unfortunately rasa_nlu cannot be run in Lambda due to the size of the final deployment package. Rasa uses spacy by default, which will not fit into a lambda, due to the lambda deployment size limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). I would suggest trying with an EC2 server or ECS container.

@vbankov can you guide me about ECS container? have you used this?

@AbdurRub yes I have used ECS. I am not in the position to guide you as it depends on what you want to achieve. There is plenty of documentation online, you could start here : https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_GetStarted.html

could make sense now?

@existeundelta probably not, sadly... https://forum.rasa.com/t/rasa-aws-lambda/17879/3

Hi, would it be possible to deploy rasa(rasa nlu) in aws lamba as a docker container?
the container image code package size is 10 GB.
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html


Doesn't work on Google Chrome for me anymore. All is fine on all other browsers.

Operating system / операционная система
Windows 11 23H2
Running as service / Запуск программы как сервис
I run it as a regular program / Запускаю программу обычным образом
Describe the bug / Опишите ошибку программы
Doesn't work on Google Chrome for me anymore. All is fine on all other browsers.
Additional information / Дополнительная информация
Doesn't work on Google Chrome for me anymore. All is fine on all other browsers.

Disabled Kyber on Chrome flags and now it's working

https://github.com/ValdikSS/GoodbyeDPI/issues/330


Fix #4053: Occasionally connection status is displayed as yellow

Triggers are replaced by bindings.

Ping

👍


Add a screen to block users from viewing from an unsupported device size

Add an overlay that blocks users viewing from a device which have a screen width of less than 1280px, for these users it should tell them "this game is not optimized for this device".

please can i have this?

Sure

Hi chief I would love to work on this

@all-contributors please add @Oshioke-Salaki for code.


Unable to import TimelineHeaders, DateHeaders or SidebarHeaders

import Timeline,  {     TimelineGroup, TimelineItem, TimelineHeaders } from "react-calendar-timeline";
Tells me 'Module '"react-calendar-timeline"' has no exported member 'TimelineHeaders'. '

@Intruder0404  please make sure you are on the latest version of the package.

"react": "^16.8.6",

"typescript": "^3.5.3"

"@types/react-calendar-timeline": "^0.16.1",
"react-calendar-timeline": "^0.26.1",

On Wed, Sep 11, 2019 at 6:01 AM Ahmad Ilaiwi<EMAIL_ADDRESS>wrote:

@Intruder0404 https://github.com/Intruder0404 please make sure you are
on the latest version of the package.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/namespace-ee/react-calendar-timeline/issues/640?email_source=notifications&email_token=AJ3GWBCFSYBHU5ULGWCHUQLQJC6XHA5CNFSM4IQEOHWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6N6X2Q#issuecomment-530312170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ3GWBGCOZ2KZX6QZ2YYKDTQJC6XHANCNFSM4IQEOHWA
.

So if my project is into typescript I have a major problem?
On Wed, Sep 11, 2019 at 10:30 AM Ahmad Ilaiwi<EMAIL_ADDRESS>wrote:

@Intruder0404 https://github.com/Intruder0404 yes, the types package is
out of date. We don't officially maintain it here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/namespace-ee/react-calendar-timeline/issues/640?email_source=notifications&email_token=AJ3GWBH2ODXLAH3EAAR6CXDQJD6H5A5CNFSM4IQEOHWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6OV62A#issuecomment-530407272,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ3GWBFDTMH53Y45QP3HZR3QJD6H5ANCNFSM4IQEOHWA
.

@Intruder0404  no just don't include the typescript definitions and it will take it as any type

I had to put the noImpliciteAny to false in the tsconfig to have it accept
it.The imports work now. I just need to use them and see if the rest works.
At least I get the base stuff up and working thanks.
On Wed, Sep 11, 2019 at 10:41 AM Ahmad Ilaiwi<EMAIL_ADDRESS>wrote:

@Intruder0404 https://github.com/Intruder0404 no just don't include the
typescript definitions and it will take it as any type
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/namespace-ee/react-calendar-timeline/issues/640?email_source=notifications&email_token=AJ3GWBBTRM7PT24ZRY4GDITQJD7RZA5CNFSM4IQEOHWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6OXHDI#issuecomment-530412429,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ3GWBDVPDTJIPEAZHLSTU3QJD7RZANCNFSM4IQEOHWA
.

@Intruder0404 good to hear. If you would like to maintain and update the types please open an issue and tag me in it and that would be a great contribution from you


part of #170 : Support editing existing comment if one exists

This PR adds a new option for whether to update the existing comment from a previous run of the action, or whether to create a new comment. Defaults to creating a new comment for backwards compatibility.
@abenhamdine fyi! 😄

@abenhamdine thanks! (and thank you for the awesome action, it's helped our team massively with our Herculean effort to finish our flow -> typescript migration).
I wasn't sure how the release process works for this action, so if there's anything I've missed, please let me know 👍

@abenhamdine thanks! (and thank you for the awesome action, it's helped our team massively with our Herculean effort to finish our flow -> typescript migration).
I wasn't sure how the release process works for this action, so if there's anything I've missed, please let me know 👍

Thank you, I'm glad if this action can be useful.
I wil run some tests, and release a new version soon.


Switch from coveralls to codecov

Switching from Coveralls to Codecov to get working Github status API, where Pull Requests show if they reduce coverage.

See the two checks in this PR.

@david-a-wheeler

gem 'codecov' reports its version as '0.1.4', which is pretty low.  Okay, version numbers are arbitrary, but should I worry that it's not ready for prime time?
The changes look reasonable enough.
Do we lose any important functionality by switching?  Or is there some other big downside?

The services seem identical except that:

codecov UI is  faster. Compare https://coveralls.io/builds/6118761/source?filename=app%2Fmodels%2Fproject.rb to https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/src/dan-codecov/app/models/project.rb
Codecov correctly reports to the Github Status API, and I couldn't get Coveralls to.
Codecov founder responded within 5 minutes to an email, and Coveralls hasn't responded after a week.

I don't think version number means anything, although I wish people would just switch to 1.0.0 as soon as they hit MVP functionality.

That's a compelling argument!  I'll merge, but I'm going to intentionally delay merging til probably tomorrow.  I'm about to push from staging to production; I expect 0 problems, byt I want to be ready to immediately respond to problems with changes while keeping everything else static.

I merged in master so this is also ready.


app-debug.apk for showcasing UI

Hi Microsoft Team,
Thanks for bringing fluent UI for android platform,
Can you please add the app-debug.apk file
as when I check didn't find it yet, if its there please let me know by providing us some link to it.
Hope it would be love by the android devs.!!!

the debug apk will be located in FluentUI.Demo/build/outputs/apk/
Closing this issue, Please feel free to reopen if there are any further questions

Hi @joyeeta26
Thanks for your response
However been 2 weeks this issue resolved i was wondering if directory FluentUI.Demo/build/outputs/apk/ really there ?

Hi @virtualvivek, you need to build the demo app for this to be present


Audio - Sprint 2

Description
Team 11 will work on creating and implementing audio and music into the game. We will collaborate with other teams to create audio that matches the aesthetic and theme of the rest of the game. Sound effect and music cues will then be implemented throughout the code as necessary. Audio is very important for all games to build immersion, convey the theme of the game and connect players to what they're seeing. In the final product, audio will be prevalent troughout the game; different music will play depending on what's happening, and sound effects will play ambiently, for player actions and for enemies.
Dependencies

Enemy sounds will depend on their appearance and behaviour
Music will depend on day / night cycle
Players will require a menu to toggle music & sound on / off
Environmental ambient sounds will depend on the scenery
Other teams must implement features and give us enough time to implement sounds for them

Milestones
List of sub-features you intend to have done and in Master by the end of the sprint.

[x] Goal 1 (Sep. 3)
Plan all audio for the sprint
Communicate with other teams for details on dependencies
[x] Goal 2 (Sep. 6)
Begin creating new must have sounds
Begin implemented random music playing
Implemented previously created sounds
[ ] Goal 3 (Sep. 9)
Have all must have sounds made
Implemented the majority of sounds
Implemented all music
[ ] Goal 4 (Sep. 12)
Finalise and polish implementation

Completion Deadline: Sep. 13
Extras (optional)

[ ] Storyline audio
[ ] Ambient music
[ ] UI Audio

Documentation

Main description of feature

Members

Matthew Bezett (mattbezett) (Matthew Bezett)
Reuben Joseph (ReubenJOJO) (Reuben Joseph)
Wanqi Ma (lalala66888) (Wanqi Ma)
Yincheng Wu (tinymuscle) (Yincheng Wu)

Discussed enemy types and movement with Team 4 to get an idea of what sounds need to be created.

[10/09] Discussed with Team 6 about a sound file for a failed shop purchase

[07/09] Discussion with other teams in class about which sounds need to be implemented based on dependent features they are creating.


[Witherspoon] Unable to boot till the login prompt using RHEL

Unable to boot to the login prompt using RHEL on the witherspoon system.
[  786.463168] blocking rcu_node structures: l=1:54-107:0x800000/.[  786.463263] Task dump for CPU 77:[  786.463323] swapper/77      R  running task        0     0      1 0x00000800[  786.463423] Call Trace:[  786.463464] [c000003fd4f63b20] [c000003fd4f63e20] 0xc000003fd4f63e20 (unreliable)[  786.463554] [c000003fd4f63cf0] [0000000000000000]           (null) |
-- | --

RHEL Version:
Red Hat Enterprise Linux Server (4.11.0-10.el7a.ppc64le) 7.4 (Pegas)

System Configuration:
BMC Details:
root@witherspoon:~# cat /etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="v1.99.10-139"
VERSION_ID="v1.99.10-139-g3202561"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) v1.99.10-139"
BUILD_ID="v1.99.10"

PNOR Version:
root@witherspoon:~# cat /media/pnor-ro-46e65782/VERSION
IBM-witherspoon-ibm-OP9_v1.19_1.60
        op-build-v1.19-147-gc4823a9
        buildroot-2017.08-8-g5e23247
        skiboot-v5.8-150-gabb1d4e81f33
        hostboot-b01e6bb
        linux-4.13.5-openpower1-p402ce7c
        petitboot-v1.6.0-pf254bee
        machine-xml-389c56f
        occ-ba4e81e
        hostboot-binaries-d9d2910
        capp-ucode-p9-dd2-v2
        sbe-374add4

Loks like something hanging in the kernel. You'll need the full kernel log to be able to work out what, as that looks to be a very mangled one. Can you get into xmon and dump out the log?

Call Traces after booting using RHEL :
[ 1000.536710] Call Trace:
[ 1000.536732] [c000003fce317390] [c000000000b5f370] sched_show_task.part.61+0x78/0x90 (unreliable)
[ 1000.536800] [c000003fce317400] [c000000000b5f9d0] rcu_dump_cpu_stacks+0xd0/0x134
[ 1000.536858] [c000003fce317450] [c0000000001b5f14] rcu_check_callbacks+0xbf4/0xcd0
[ 1000.536915] [c000003fce317570] [c0000000001be80c] update_process_times+0x7c/0xf0
[ 1000.536972] [c000003fce3175b0] [c0000000001da364] tick_sched_timer+0x84/0x190
[ 1000.537071] [c000003fce3175f0] [c0000000001bf588] __hrtimer_run_queues+0x118/0x3e0
[ 1000.537159] [c000003fce317690] [c0000000001c07c4] hrtimer_interrupt+0xf4/0x300
[ 1000.537217] [c000003fce317760] [c000000000023f70] __timer_interrupt+0x90/0x270
[ 1000.537274] [c000003fce3177b0] [c000000000024380] timer_interrupt+0xa0/0xe0
[ 1000.537324] [c000003fce3177e0] [c000000000008f84] decrementer_common+0x114/0x120
[ 1000.537383] --- interrupt: 901 at smp_call_function_single+0x180/0x2a0
[ 1000.537383]     LR = smp_call_function_single+0x208/0x2a0
[ 1000.537467] [c000003fce317b30] [c000000000296920] perf_reboot+0x100/0x1a0
[ 1000.537515] [c000003fce317bc0] [c00000000013e508] blocking_notifier_call_chain+0x98/0x100
[ 1000.537573] [c000003fce317c10] [c000000000140f6c] kernel_power_off+0x2c/0x150
[ 1000.537630] [c000003fce317c80] [c00000000012e410] process_one_work+0x1c0/0x660
[ 1000.537687] [c000003fce317d20] [c0000000001314dc] worker_thread+0xac/0x6d0
[ 1000.537736] [c000003fce317dc0] [c00000000013aa90] kthread+0x160/0x1a0
[ 1000.537786] [c000003fce317e30] [c00000000000b368] ret_from_kernel_thread+0x5c/0x74
[ 1001.506438] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 1001.506498]       Tainted: G             L ------------   4.11.0-10.el7a.ppc64le #1
[ 1001.506581] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1001.506693] swapper/0       D    0     1      0 0x00000800
[ 1001.506761] Call Trace:
[ 1001.506804] [c000003fd4c83940] [c00000000001b910] __switch_to+0x300/0x470
[ 1001.506900] [c000003fd4c839a0] [c000000000b4b688] __schedule+0x3a8/0xb70
[ 1001.506997] [c000003fd4c83a70] [c000000000b4be90] schedule+0x40/0xb0
[ 1001.507086] [c000003fd4c83aa0] [c0000000001afab4] _synchronize_rcu_expedited.constprop.58+0x444/0x4b0
[ 1001.507230] [c000003fd4c83b60] [c0000000001afec4] synchronize_sched+0xb4/0xd0
[ 1001.507354] [c000003fd4c83bd0] [c0000000006f41e0] register_sysrq_key+0xa0/0x120
[ 1001.507478] [c000003fd4c83c10] [c000000000e5d594] setup_xmon_sysrq+0x24/0x3c
[ 1001.507601] [c000003fd4c83c30] [c00000000000cca0] do_one_initcall+0x60/0x1c0
[ 1001.507705] [c000003fd4c83cf0] [c000000000e44434] kernel_init_freeable+0x28c/0x36c
[ 1001.507807] [c000003fd4c83db0] [c00000000000d4fc] kernel_init+0x2c/0x2b0
[ 1001.507911] [c000003fd4c83e30] [c00000000000b368] ret_from_kernel_thread+0x5c/0x74
[ 1001.508059] INFO: task kworker/1:1:975 blocked for more than 120 seconds.
[ 1001.508142]       Tainted: G             L ------------   4.11.0-10.el7a.ppc64le #1
[ 1001.508259] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1001.508365] kworker/1:1     D    0   975      2 0x00000800
[ 1001.508443] Workqueue: events wait_rcu_exp_gp
[ 1001.508511] Call Trace:
[ 1001.508545] [c000003fcfe87750] [c000003fcf684280] 0xc000003fcf684280 (unreliable)
[ 1001.508652] [c000003fcfe87920] [c00000000001b910] __switch_to+0x300/0x470
[ 1001.508749] [c000003fcfe87980] [c000000000b4b688] __schedule+0x3a8/0xb70
[ 1001.508846] [c000003fcfe87a50] [c000000000b4be90] schedule+0x40/0xb0
[ 1001.508936] [c000003fcfe87a80] [c000000000b52074] schedule_timeout+0x374/0x550
[ 1001.509038] [c000003fcfe87b60] [c0000000001af020] rcu_exp_wait_wake+0x120/0x720
[ 1001.509147] [c000003fcfe87c80] [c00000000012e410] process_one_work+0x1c0/0x660
[ 1001.509254] [c000003fcfe87d20] [c0000000001314dc] worker_thread+0xac/0x6d0
[ 1001.509350] [c000003fcfe87dc0] [c00000000013aa90] kthread+0x160/0x1a0
[ 1001.509444] [c000003fcfe87e30] [c00000000000b368] ret_from_kernel_thread+0x5c/0x74
[ 1016.876437] INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 8-... } 61643 jiffies s: 5 root: 0x1/.
[ 1016.876544] blocking rcu_node structures: l=1:0-53:0x100/.
[ 1016.876603] Task dump for CPU 8:
[ 1016.876632] kworker/8:1     R  running task        0   985      2 0x00000804
[ 1016.876763] Workqueue: events poweroff_work_func

Is this still being seen with current released firmware? IF so, let's reopen.


Docs add screencast

Show install and main functions on a screencast

I recommend this tool to record screen Loom
Free and great 👌


proposal: crypto/x509: writing certificates in PKCS12 format

The code contributed to the go-pkcs12 repo for reading PKCS12 format had a pull request for writing PKCS12 format too, but it was decided to hold off on write support until after read support was merged.  I propose that this change now be included.
@AGWA is the original author, but I am happy to bring his changes over too.

An updated version of my PKCS#12 writing code can be found here: https://github.com/AGWA-forks/golang-crypto
I believe it's in good shape, but I haven't had chance to deal with the CLA yet.

Given @agl's objections on the CL, I am declining and closing this proposal. Thanks.

Also, while parsing PKCS#12 files is a plausible use since they do exist, they should be strongly discouraged. Supporting their serialisation seems counter to this.

There are plenty of other cryptography packages in Go who's use is discouraged. https://github.com/golang/go/issues/14395
It's a bit unfortunate that after Microsoft made an effort to add pkcs12 to x/crypto, they are left forking it to support writing, which will likely leave x/crypto outdated compared to a more complete implementation elsewhere.
In my particular case, Apple appears to be moving away from pkcs12 certificates, at least in the case of push notifications, so I don't have a strong argument to support them.


[Feature][UI Next] Add security environment manage.

Purpose of the pull request
7894

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #8057 (ee38ff6) into dev (0c353d6) will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8057      +/-   ##
============================================
+ Coverage     41.33%   41.43%   +0.09%
+ Complexity     3730     3726       -4
============================================
  Files           637      637
  Lines         27129    27109      -20
  Branches       3083     3075       -8
============================================
+ Hits          11215    11232      +17
+ Misses        14838    14797      -41
- Partials       1076     1080       +4

Impacted Files
Coverage Δ

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.70% <0.00%> (-2.82%)
:arrow_down:

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
:arrow_down:

...inscheduler/api/service/impl/UsersServiceImpl.java
75.26% <0.00%> (-0.41%)
:arrow_down:

...heduler/api/service/impl/ResourcesServiceImpl.java
53.88% <0.00%> (+1.44%)
:arrow_up:

...eduler/api/service/impl/DataSourceServiceImpl.java
50.60% <0.00%> (+1.76%)
:arrow_up:

...scheduler/api/service/impl/ProjectServiceImpl.java
77.65% <0.00%> (+2.39%)
:arrow_up:

...rver/master/processor/queue/TaskResponseEvent.java
100.00% <0.00%> (+6.45%)
:arrow_up:

...er/master/processor/queue/TaskResponseService.java
68.18% <0.00%> (+18.18%)
:arrow_up:

Continue to review full report at Codecov.

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


self-hosted-registry-assessment charts

Adding the Falcon Self Hosted Registry Assessment Charts

ping @mhyson-cs @gpontejos


Layout issue in queue page when containing a long-name Add-on

Steps to reproduce:

Sign in to AMO stage Developer Hub page https://addons.allizom.org/en-US/developers/
Submit an Add-on with a long name (i.e. https://addons.allizom.org/en-US/developers/addon/longnaaaaaaaaaaaaaaaaaaaaaaaaa/edit )
Go to Editor Tools and observe the queue where the “long-name” Add-on is listed

Expected results:
The page has no display or layout issues.
Actual results:
The page has layout issues.
Notes/Issues:
Verified on FF42(Win 7). Issue is reproducing on AMO-stage and AMO-dev.
Screenshot for this issue:

I don't think we'll get to this to be honest until we get to rewrite the reviewer tools.

Verified as fixed on AMO-dev FF45(Win 7).
Postfix screenshot:


ippevesubmit: Add outer JSON wrapper

Right now the JSON output is not a complete JSON value, just the fragment for the array.
Add a dummy top-level definition to make it a complete JSON value that can be validated.

[master 084127e] Fix issues discovered after last call:


Feat: Add machin to Fetch a single transaction

Test: in this commit
--one passing test
--one failing test

@allcontributor please add @haastrupea for test and code

@all-contributors please add @haastrupea for  tests and code

@all-contributors please add @DominusKelvin for infrastructure, tests and code


Add Documentation on : how to protect page with specific Stripe Subscription

For now even with the subscription added and user registered but nothing is protected
So we should ...
Documenting the process of protecting a page with a Stripe Subscription is essential for several reasons:
Clarity and Accessibility: Documentation serves as a clear guide for developers and non-developers alike, ensuring that everyone involved in the project understands how the Stripe Subscription integration works and how it's used to protect content. This reduces confusion and helps new team members get up to speed quickly.
Best Practices: It promotes the adoption of best practices in implementing subscription-based access control. By following documented steps, you're more likely to adhere to security and implementation standards recommended by Stripe and web development guidelines.
Troubleshooting and Support: Well-documented processes help in troubleshooting issues that may arise during or after the implementation. When developers or support staff need to resolve problems, they can refer to the documentation to understand the setup and configuration, making it easier to diagnose and fix issues.
Scalability and Maintenance: Documentation makes it easier to scale and maintain the system. As your application grows or undergoes updates, having a documented setup helps in making informed changes that won't disrupt the existing subscription management.
Legal Compliance and Transparency: For services offering subscription-based access, it's important to maintain transparency about how user access is managed and protected. Documentation helps in ensuring compliance with legal requirements related to subscriptions and digital content access.

Closing this for now. Will reopen if it becomes active again.


added mvetherwallet to list.

This was caught by the levenstein check. So do we want to add this to the blacklist?

I don't think MetaMask are using the levenshtein logic yet, but they are using the list, so let's add it to https://github.com/MyEtherWallet/ethereum-lists instead - we are migrating to over there very soon.

ok


Rethink the documentation meeting

Problem statement

we could set up a regular monthly documentation meetings.
we fail to gather in the scheduled documentation meetings several times.

Possible solution

set up an issue for each scheduled monthly documentation meeting, preferable with tentative agenda.

@hfu Thank you for this! As part of the automation I am working on (sorry for the delay, as I have been traveling and will be able to do some work when I get to Tokyo starting tomorrow!) There will be a nightly cron job that automatically creates/edits a GitHub Issue from the shared Google Calendar. My question is, where should the single source of truth be:
a) GitHub Issues -> Creates the Google Calendar Events
b) Google Calendar -> Creates/Modifies the GitHub issues
Though I would love to go with a) I feel like Google Calendar might be easier to work with for events. But, I defer to you!

@albertkun Thank you. For myself, I am not able to follow Google Calendar events from our office. If we have an issue for each documentation meeting, it would be great to share the agenda before hand and thus remind all of us about the event.
I suppose the GitHub issue on the meeting is somewhat unstructured and flexible to additional inputs or even splitting into separate issues.
What do you think is the easiest way to connect a calendar item and unstructured issue(s)? I think that would be a preferable solution on this issue.

I think we are successful in somewhat merging Monthly (Pacific) meeting and Documentation (Core Strategy) meeting.
#274

I agree! And the new format works well I think! :)


Add WarpShare to the readme (AirDrop implementation for Android)

This one I don't want, because it only works one way (Android -> Mac) and doesn't actually implement any of AWDL (because that does require a kernel module to talk to the WiFi chip at a low enough level, no getting around it unfortunately).

The README.md claims the following:

Utilizes the AWDL protocol, the same technology found in AirDrop, for faster file transfers between Mac and non-Apple devices.

Is it incorrect? If so, does it mean that AirDrop doesn't necessitate AWDL no matter what in order to work?

See also: https://play.google.com/store/apps/details?id=com.neure.anddrop


Karpenter does not disrupt/consolidate nodes that are underutilised

Description
Observed Behavior:
Karpenter does not terminate nodes that are underutilised
Expected Behavior:
Karpenter should terminate underutilised nodes when the consolidation policy has been set to WhenUnderutilized
Reproduction Steps (Please include YAML):
These are the NodePool and EC2NodeClass resources. I'm using version 0.34.0
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
  name: default
spec:
  template:
    metadata:
      labels:
        scope: "application"
    spec:
      requirements:
          - key: kubernetes.io/arch
            operator: In
            values: ["amd64"]
          - key: kubernetes.io/os
            operator: In
            values: ["linux"]
          - key: karpenter.sh/capacity-type
            operator: In
            values: ["on-demand"]
          - key: karpenter.k8s.aws/instance-category
            operator: In
            values: ["c", "m", "r"]
          - key: karpenter.k8s.aws/instance-generation
            operator: Gt
            values: ["2"]
      startupTaints:
      - key: node.cilium.io/agent-not-ready
        value: "true"
        effect: NoExecute
      nodeClassRef:
        apiVersion: karpenter.k8s.aws/v1beta1
        kind: EC2NodeClass
        name: default
      limits:
        cpu: 100
  disruption:
    consolidationPolicy: WhenUnderutilized
---
apiVersion: karpenter.k8s.aws/v1beta1
kind: EC2NodeClass
metadata:
  name: default
spec:
  amiFamily: AL2
  blockDeviceMappings:
    - deviceName: /dev/xvda
      ebs:
        volumeSize: 40Gi
        volumeType: gp3
        encrypted: true
  subnetSelectorTerms:
  - tags:
      karpenter.sh/discovery: "cluster-name"
  securityGroupSelectorTerms:
  - tags:
      karpenter.sh/discovery: "cluster-name"
  role: "KarpenterNodeRole"

Versions:

Chart Version: 0.34.0
Kubernetes Version (kubectl version): 1.28

The nodes in the cluster have less than 10% CPU and around 30-50% Memory usage. How can I make sure the cluster uses less nodes? My goal is to have as few nodes provisioned from Karpenter as possible, with a large pod density per node and making sure at least 80% of the CPU/Memory/Disk are used.

Oh, I meant kubectl describe nodepools, that's my bad. I'm not super familiar with Lens, but it looks like you can choose to monitor real-time utilization or resource requests. Do you know which this is? Karpenter, and the kube-scheduler, schedule based on requests. Karpenter isn't going to shrink the requests and then consolidate if there's low actual utilization.

Another factor could be that there is something preventing the nodes from consolidating, be that PDBs, pods with the karpenter.sh/do-not-disrupt annotation, etc. If you describe the node or nodeclaim there could be events describing why the nodes are unconsolidatable.

We're rolling out karpenter and I've been investigating similar behavior. I am pretty sure this is because the consolidation rules are not that smart. Not sure if this is still the latest behavior:
https://github.com/aws/karpenter-provider-aws/blob/64ad272b856ea8262fa6506c786752760218a540/designs/consolidation.md?plain=1
It will not attempt to replace multiple small existing nodes with a larger node.

In this case I'm surprised Karpenter couldn't consolidate via node deletion. Karpenter fliters out more expensive node if one of the existing nodes we're trying to consolidate is in the list of available replacement options. This is because we can do better by just deleting the node. Have you seen any luck with increasing the node size and are you sure there aren't any other factors that could be effecting Karpenter's ability to consolidate?

I added some minimum CPU/RAM requirements to my nodepool and ended up with closer to the behavior I expected.
The attached screenshot illustrates the behavior I saw before.
Looking at the kubeflow-admin nodepool, we had:
10 c6/c7.medium nodes with max Pods values of 8
3 ??.large nodes with maxPods of 29
Daemonset overhead of "cpu":"155m","memory":"120Mi","pods":"7"
All of these nodes were maxing out their number of pods while remaining less than half utilized.
This group of pods does contain a topology spread constraint for redis, but that only requires 3 nodes to satisfy.

When you are expecting nodes to be consolidated, do you see any events on the nodes that you expect to be consolidated that would indicate that Karpenter thought that it couldn't act on the node for some reason? Karpenter will add the DeprovisioningBlocked and Unconsolidatable events to nodes when it thinks that it can't act on the node for some reason.

It will not attempt to replace multiple small existing nodes with a larger node.

This is no longer the case. Karpenter will take multiple, small nodes and convert them into a large node if it can and there are no scheduling requirements that are preventing it from doing so.
The other thing to consider here is the pod requirements that you have. Would you be open to sharing some of the pod manifests that are scheduling to these nodes? Topology spread constraints and affinities are all going to have impact here and Karpenter also treats preferences as requirements when it comes to provisioning and consolidation, which also may be at play here if you are seeing Karpenter not doing anything but only have a small number of pods on each node.

I will try to recreate this when I get some time.
I was pretty sure I disabled any active schedules, because I did previously have a schedule set and a consolidation policy of whenEmpty, which I changed and then expected to see consolidation happen.
I've attached the pod manifests that were running on this nodepool.
pod_manifests.zip

Mystery solved - at least for us - another team ran a tool yesterday to change many deployments requests down and while pod number didn't change in the cluster, requests did and I think while karpenter was still trying to satisfy topologySpreadConstraints it just didn't have enough pods to put on those nodes. It might recover in days.


updated guzzle version to ~7.0

Received this error when updating from composer:
composer update
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is about to be released and the older 1.x releases will self-update directly to it once it is released. To avoid surprises update now to the latest 1.x version which will prompt you before self-updating to 2.x.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.0.x-dev, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.1.0, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.1.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.2.0, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.1.x-dev, 6.5.x-dev].
- sc0vu/web3.php 0.1.4 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
- Installation request for sc0vu/web3.php ^0.1.4 -> satisfiable by sc0vu/web3.php[0.1.4].
- Installation request for guzzlehttp/guzzle ^7.0.1 -> satisfiable by guzzlehttp/guzzle[7.0.1, 7.0.x-dev, 7.1.0, 7.1.1, 7.2.0, 7.1.x-dev].

Seems guzzlehttp 7.2 didn't support php 7.1, I think we have to keep ^6.3 in the package.json (#191).


Get the Galaxy chart working on GKE by running kubectl command manually

The process should be as follows:

[ ] Launch a GKE cluster (need k8s version 1.13, which installs only via gcloud command)
[ ] Install Helm (supposedly does not work on GKE v 1.13)
[ ] Add CloudVE helm charts repo to helm repos (will need to add packaged galaxy chart to https://github.com/CloudVE/helm-charts/tree/master/charts)
[ ] Install a persistent volume + claim for postgres (as per Galaxy chart installation Readme)
[ ] Install the Galaxy chart

Some helpful notes:

Setting up gcloud command-line: https://cloud.google.com/pubsub/docs/quickstart-cli
Creating a gke cluster with k8s 1.13: gcloud container clusters create [name] --cluster-version=1.13.5-gke.7 --enable-kubernetes-alpha --no-enable-autorepair --disk-size=30 --num-nodes=2
Generate k8s manifests with helm (no need for a tiller pod): mkdir [dir-name] && helm template --name [release-name] --output-dir ./[dir-name] .
Note: When creating a cluster with gcloud while having docker for mac running, the context for k8s will change to the gke cluster. i.e. running kubectl even locally will actually deploy in the GKE cluster, so there is no need to copy the files to the GKE console or otherwise setup helm there to deploy the k8s manifests.
Note 2: You can kubectl create -f dashboard.yml then kubectl proxy locally (when the context is set to the GKE cluster) then access the dashboard on http://localhost:8001 which is generally more helpful than the GKE dashboard (especially for logs) imo.

Valid cluster-version for GKE is now 1.13.5-gke.10 instead of 1.13.5-gke.7

I did some more testing on GKE the past few days.
Some notes in case they are helpful to someone who knows the chart (especially postgres) better than me:
-The (new) initdb-configmap has a name that varies based on the release, but it is referenced directly as galaxy-initdb (I believe from .Values.initdbScriptsConfigMap in other places). A quick fix is to just hard code the name of the configmap for now: https://github.com/CloudVE/galaxy-kubernetes/pull/8
-The init-chmod-data container has commands: chown -R 1001:1001 /bitnami as well as if [ -d /var/lib/postgresql/data/data ]; then chmod  0700 /var/lib/postgresql/data/data; fi. The first one errors out because chown: cannot access '/bitnami': No such file or directory, so I manually removed that part  and that seemed to have fixed the problem (no more error logs in that container).
-The gpsql container errors out with message mkdir: cannot create directory ‘/var/lib/postgresql/data/pgdata’: Permission denied. One thing to note is that this is the specified .Values.postgresqlDataDir, but the init-chmod-data container specified above is currently chmod-ing the{{ .Values.persistence.mountPath }}/data directory it seems, with the default mountPath currently specified to /var/lib/postgresql/data (not sure if this is intended and both /var/lib/postgresql/data/data and /var/lib/postgresql/data/pgdata directories should exist or if it's a mismatch that needs to be fixed.
Some things that I tried:
-Removing the chown /bitnami (always). Result: no more error logs in the init-chmod-data container
-Setting postgresqlDataDir: "/var/lib/postgresql/data/data" and persistence.mountPath: "/var/lib/postgresql/data" and manually changing the command to if [ -d /var/lib/postgresql/data ]; then chmod -R 0700 /var/lib/postgresql/data; fi OR if [ -d /var/lib/postgresql/data/data ]; then chmod 0700 /var/lib/postgresql/data/data; fi. Same result in both cases: still having mkdir: cannot create directory ‘/var/lib/postgresql/data’: Permission denied in the gpsql container
-One thing that did change the error message was setting .Values.postgresqlDataDir=.Values.persistence.mountPath=/var/lib/postgresql/data. Even without changing anything in init-chmod-data container (i.e. still having the /bitnami error), the log message in the gpsql container becomes:
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
 The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
 Data page checksums are disabled.
 initdb: could not access directory "/var/lib/postgresql/data": Permission denied

Changing the init-chmod-data container command to remove the chown /bitnami part and have if [ -d /var/lib/postgresql/data ]; then chmod 0700 /var/lib/postgresql/data; fi removes the init-chmod-data container error message as before, but does not affect the gpsql container whatsoever.

P.S.: The above was all done by having the kubectl context pointing to a GKE 1.13.10 cluser. I'm pasting the main commands used in case it's helpful:
helm template --name alex-gxy --output-dir am-alex-testing-manifests/ .
kubectl create -f postgres-pv.yaml
kubectl create -f am-alex-testing-manifests/galaxy/templates/configmap-initdb.yaml
kubectl create -f am-alex-testing-manifests/galaxy/charts/postgresql/templates/

The commands for the init-chmod-data container changed in: am-alex-testing-manifests/galaxy/charts/postgresql/templates/statefulset.yaml
Also, found this
The bottom part might or might not be relevant: https://github.com/kubernetes/kubernetes/issues/2630#issuecomment-485885319

Re. the initdb-configname: Nuwan's PR to the upstream chart should fix that: https://github.com/helm/charts/pull/13705

I've already fixed some of this in the chart. Let me push them in

Re: slack conversation
Helm v2.8.0 works on GKE with alpha cluster 1.13.5(.10).
From GKE cloud console to get it working:
First time:
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.8.0-linux-amd64.tar.gz && tar zxfv helm-v2.8.0-linux-amd64.tar.gz && cp linux-amd64/helm . && kubectl create clusterrolebinding user-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account) && kubectl create serviceaccount tiller --namespace kube-system && kubectl create clusterrolebinding tiller-admin-binding --clusterrole=cluster-admin --serviceaccount=kube-system:tiller && ./helm init --service-account=tiller && ./helm update
Any time you change clusters:
kubectl create clusterrolebinding user-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value account) && kubectl create serviceaccount tiller --namespace kube-system && kubectl create clusterrolebinding tiller-admin-binding --clusterrole=cluster-admin --serviceaccount=kube-system:tiller && ./helm init --service-account=tiller && ./helm update
(and run from the local binary ./helm
Will test newer versions and a better setup later, but thought i'd quickly put this here before bed

Works very well on GKE so closing this issue


CI: add nightly upstream development test

The idea here is to run tests once per day against the nightly numpy and scipy releases, in order to catch future errors earlier. In theory this would allow us to fix issues like https://github.com/google/jax/issues/11221 before the problematic code is released.

I think this is in good shape - in order to test the scheduled run, we need to submit to the main branch.
This should be safe to submit: the worst that can happen is a failed workflow in our Actions tab, and by design this won't block any PR submissions.


ci: removes continue on error for OAS validation

blocked by https://github.com/microsoft/OpenAPI.NET.OData/issues/600


Combining characters should be supported

Currently Typeset::Marker is incremented and decremented according to unicode codepoints, but for the purposes of user interaction is should really be according to unicode graphemes. At the very least, the user should be able to write strings and comments with diacritics for example. See

https://unicode-org.github.io/icu/userguide/boundaryanalysis/#character-boundary
https://github.com/unicode-org/icu

Ultimately I think it makes more sense to codegen the grapheme handling. At some point I'll have to refine the various hashing in the system- replace std::unordered_map and std::unordered_set with either high perf alternatives or static hashing.


Add a No-code Data Engineering tool QuickTable to the awesome list

I add QuickTable into the new category Data Engineering.

I have added awesome big data to our github repository:
https://github.com/kycloudtech/QuickTable-resouces


.save() never returns

Hi. I'm trying to follow your example and having difficulties.
my project structure is:
app.ts
server.ts
models
-->user.model.ts
routes
-->users.ts
in app.ts I'm defining the connection to the database:
constructor() {
    this.mongoose = new mongoose.Mongoose();
    this.express = express();
    this.express.use("/users", usersRouter);
    this.mongoose.connect("mongodb:\/\/localhost:27017/example", (err) => {
        if (err) {
            console.log('[-] Error connecting  to database mongodb:\/\/localhost:27017/example" - ${err.message}');
            throw err;
        } else {
            console.log('[*] Connected to database mongodb:\/\/localhost:27017/example');
        }
    });
}

server.ts is only there to start the server itself:
let app = new App();
app.express.listen(3000, () => {
    console.log('[*] server started on port 3000');
});

I've created a user model with Typegoose and added an API call via express to add a user to the system:
routes/users.ts (where i call 'addUser' from the model):
private static readonly UserModel = new User().getModelForClass(User);
usersRouter.post("/register", (req, res, next) => {
    let newUser = new Models.UserModel({
        email: req.body.email,
        name: req.body.name,
        password: req.body.password,
        username: req.body.username,
    });
    UserModel.addUser(newUser, (err, user) => {
        if (err) {
            res.json({
                msg: "Failed regisgter user",
                success: false,
            });
        } else {
            res.json({
                msg: "registered user",
                success: true,
            });
        }
    });
}

models/user.model.ts
export class User extends Typegoose {
    @staticMethod
    public static async addUser(newUser: InstanceType<User>, callback: (err: any, product: InstanceType<User>) => void)) {
        await newUser.save(callback);
    }
    @prop({required: true})
    public email: string;
    @prop()
    public name?: string;
    @prop({required: true})
    public password: string;
    @prop({required: true})
    public username: string;
}

everything's going fine until the line newUser.save();
the callback never get called... I also don't see any traffic in mongo.
The project work on JavaScript, now I'm trying to move to TS. Is there something I missed during the transmission or is it an issue?

Hello
This is actually a feature and this isn't about Typegoose but it's how Mongoose's API works.
Mongoose supports both callback and Promise interface. Since you are using async/await meaning you .then on the operation in the behind scenes the callback gets ignored.
If you want to use the callback style, remove the async/await keywords from the code and it should be fine.

Thanks for the answer.
unfortunately, the same behavior happens when I use the following function:
@staticMethod
    public static addUser(newUser: InstanceType<User>, callback: (err: any, product: InstanceType<User>) => void) {
        newUser.save(callback);
    }

The request just wait forever until timeout.

Hi @roeibh
Since you said that the above solution worked, I close the issue.
If you have any new question feel free to create a new issue.
Cheers,
Daniel


Fix flaky tests in HTTPClientSOCKSTests

Motivation
fixes #497
Changes
Bind to a port a random free port defined by the operating system instead of using 1080

@swift-server-bot test this please
Looks like it is fixed. But just to be sure let's run it a couple of times.

@swift-server-bot test this please
Great, and another time

@swift-server-bot test this please
One last time


F-KCE-4: Error polling for Kafka topic

Hi guys,
Trying to connect Exasol (on prem, 7.1.25) with Kafka (some local docker), got an error:
[2024-12-03 11:29:31] [22002] VM error: F-UDF-CL-LIB-1127: F-UDF-CL-SL-JAVA-1002: F-UDF-CL-SL-JAVA-1013:
[2024-12-03 11:29:31] com.exasol.ExaUDFException: F-UDF-CL-SL-JAVA-1080: Exception during run
[2024-12-03 11:29:31] com.exasol.cloudetl.kafka.KafkaConnectorException: F-KCE-4: Error polling for Kafka topic 'ticker' data. It occurs for partition '0' in node '0' and vm '140236459338560'. This is an internal error that should not happen. Please report it by opening a GitHub issue.

To reproduce:
create schema KAFKA;

OPEN SCHEMA KAFKA;
CREATE OR REPLACE JAVA SET SCRIPT KAFKA_CONSUMER(...) EMITS (...) AS
  %scriptclass com.exasol.cloudetl.kafka.KafkaConsumerQueryGenerator;
  %jar /buckets/bucketfs1/bucket1/exasol-kafka-connector-extension-1.7.9.jar;
/

CREATE OR REPLACE JAVA SET SCRIPT KAFKA_IMPORT(...) EMITS (...) AS
  %scriptclass com.exasol.cloudetl.kafka.KafkaTopicDataImporter;
  %jar /buckets/bucketfs1/bucket1/exasol-kafka-connector-extension-1.7.9.jar;
/

CREATE OR REPLACE JAVA SET SCRIPT KAFKA_METADATA(
  params VARCHAR(2000),
  kafka_partition DECIMAL(18, 0),
  kafka_offset DECIMAL(36, 0)
)
EMITS (partition_index DECIMAL(18, 0), max_offset DECIMAL(36,0)) AS
  %scriptclass com.exasol.cloudetl.kafka.KafkaTopicMetadataReader;
  %jar /buckets/bucketfs1/bucket1/exasol-kafka-connector-extension-1.7.9.jar;
/

create or replace table KAFKA.WIKIPEDIA_STREAM(
    bot varchar(128),
    comment varchar(512),
    id int,

    KAFKA_PARTITION DECIMAL(18, 0),
    KAFKA_OFFSET DECIMAL(36, 0));

IMPORT INTO KAFKA.WIKIPEDIA_STREAM
FROM SCRIPT KAFKA_CONSUMER WITH
  BOOTSTRAP_SERVERS   = '<IP_ADDRESS>:9092'
  SCHEMA_REGISTRY_URL = 'http://<IP_ADDRESS>:8085'
  TOPIC_NAME          = 'ticker'
  TABLE_NAME          = 'KAFKA.WIKIPEDIA_STREAM'
  GROUP_ID            = 'exasol-kafka-udf-consumers'
  CONNECTION_NAME     = 'KAFKA_123_123_CONNECTION';
;

CREATE OR REPLACE CONNECTION KAFKA_123_123_CONNECTION
TO ''
USER ''
IDENTIFIED BY 'SECURITY_PROTOCOL=SASL_PLAINTEXT;SASL_MECHANISM=PLAIN;SASL_USERNAME=admin;SASL_PASSWORD=secret;'

Any ideas?
Regars,
VV

Hi!
It might happen in situations when kafka cluster is configured to use internally-resolvable node names or internal addresses which are not reachable from exasol DB.
The process of Exasol-Kafka communication looks like this:

kafka-connector-extension udf is started inside the exasol db (in a container)
it connects to bootstrap nodes of kafka cluster and receives cluster configuration (list of kafka nodes)
then it connects to those nodes to get the partition data or write into partitions

If kafka cluster is configured in a way that list of nodes it provides on a step 2 cannot be resolved by exasol (records are not present in DNS, or internal network is used), you can observe the above situation.
So, I'd start with kafka configuration check.
@tkilias we had similar problem recently, do you have more suggestions how to troubleshoot it?


Empty PR To Test

JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Fixing it with PR-199


SAK-44301 Forums populate forum and topic beans in service vs templates

Before patch with 200+ groups and 500+ topics: 14.65 sec as instructor and 6.02 sec as student
After patch: instructor: 9.37s, student: 2.29s


pkg/restore/restore.go: remove case hasDeleteReclaimPolicy

Thank you for contributing to Velero!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)
Please indicate you've done the following:

[ ] Accepted the DCO. Commits without the DCO will delay acceptance.
[ ] Created a changelog file or added /kind changelog-not-required.
[ ] Updated the corresponding documentation in site/content/docs/main.

Was already reviewed and approved in #6, dropped accidentally in latest rebase


build: add semantic-release/github

Description
Include a description of your changes here, along with a link to any relevant Jira tickets and/or Github issues.
Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added FollowTarget sample for 3D.

@anttikajanus - Could you take a quick look? #442 in SDK repo.

Comment what you are doing with the camera and it's good to go.


Promise: unhandled rejection warning

Detect unhandled rejects by tracking attached handlers.
This only applies at the time the promise is first rejected.

:+1:


[DCOS-37811] Fix Kafka cipher test flakes

Don't blow up if we don't have the RFC name for an OpenSSL cipher.
Warn us when OpenSSL includes new ciphers.

With these changes:

Tests won't break if new ciphers are added to OpenSSL
Tests will output the list of ciphers we're missing from our list, so we can add them at our convenience

Thanks @elezar. Fwiw, we're still logging roughly the same amount of lines as before.

Retriggered CI: This PR was affected by an outage of json-schema.org in one of our dependencies. That's since been cleaned up so we should be good to go.

HW failures are unrelated to the PR, merging.


Follow Standard in Examples

It's a tiny thing, but it bugs me that the examples at the very end don't follow the standard! I propose the above correction. I don't think there's anything else wrong.
Let me know what you think!

Thanks @skorlir


Not correct Date in News

[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
https://vmware.github.io/clarity/news
0.11.19 & 0.11.20 Released May 24, 2018 - You need fix it :)

Thanks for reporting this. I missed it yesterday.
I just pushed a fix that will go live soon.


version 2.4 Unknown problem

Information
Apktool Version (apktool -version) - 2.4.0
Operating System (Mac, Linux, Windows) - Windows
APK From? (Playstore, ROM, Other) - Site
Stacktrace/Logcat

JAVA Decompiler -  Search

Exception:
An unhandled exception occurred.Press "abort" to terminate the  program.
"Retry" to exit the program normally and "Ignore" to try to continue.
Versions below 2.4 will not appear .

This looks like a "Software Specific" issue that's using @iBotPeaches Apktool based upon the information you had provided (little to none).
It does look familiar to the current issue experienced on the APK Easy Tool software by @evildog1 (also being addressed by evildog1 as well).
~Ibuprophen

Yeah no idea what this report means. Apologies, but nothing I can do about this.


t_rlog_dirty_operations test possibly flaky?

Apparently, this test is failing on CI occasionally.
It seems that the RLOG agent is dying with reason shutdown while in the normal state twice in a failing run.
For the same commit:

Example of successful run
Example of failed run
https://github.com/emqx/mria/runs/5278750333?check_suite_focus=true#step:8:5653

Logs from failures:
failure_logs.zip

Very old issue, both code and tests have changed ever since.


Privacy feature: Hide Balance.

Hides balance with asterisks when the user taps on the balance, on the dashboard, or in the navigation drawer. Solves #713 .

cc @tomsmith8 @tomastiminskas

https://github.com/stakwork/sphinx-kotlin/assets/29070932/e61eb67d-8cca-417f-a42b-84ae540c9e2a
PR in action

@KotlinGeekDev the changes look great overall. I was testing and found some issues and adjustments needed:

After restoring the balance won't show up until you tap on it to hide/show it. Or after you navigate to a different view and go back to dashboard. I think it might be related with collecting hideBalanceStateFlow inside the collection of the getAccountBalance() but not 100%
When showing ****** instead of the balance itself, the * chars are top aligned. This is not an issue since it's how the ***** look, but I think we can improve this by changing the height of the textView on each state (WRAP_CONTENT for actual balance, 16dp for *****)

Let me know if it makes sense to you. Once these changes are done, we are ready to merge the PR. Thanks in advance

@tomastiminskas Thanks for the feedback. Please when you say the balance doesn't show up, do you mean it remain hidden until you tap to show?

@KotlinGeekDev no, it shows the default value set on the xml (...) like if it was never set to **** or actual balance on the code.

@tomastiminskas noted. Let me investigate and get back to you.

Please @tomastiminskas should the height of the NavDrawer balance TextView be adjusted as well?

@KotlinGeekDev ideally yes, it should be. Also the balance label should have WRAP_CONTENT on the width since right now when changing to ***** it keeps the width and there is a big margin between the ***** and the "sats" label

@tomastiminskas please do you mean changing the width to WRAP_CONTENT when the balance is hidden?

@KotlinGeekDev changing it in the xml to be applied when it's hidden and when it's visible should work. Since it will adapt to ****** or the actual balance.

@tomastiminskas PR adjusted based on your feedback. It's ready for review again.

@tomastiminskas I hope it met the expectations :slightly_smiling_face:

@KotlinGeekDev absolutely. Thanks for your work on this!


Last updates has broken array support

I used to have multiple objects (from Sequelize) included as a subarray property. Everything has been working before the last update.
Example:

response
[name, description, [Users(name, facebookProfile], [Companies(name)]]

with the current version I am getting Companies(name) as a response schema no matter what.

I believe this is the same problem as #103, which I have just fixed. Can you try latest version 0.6.5 and see if it now works again.


Not possible to use Temporal tables with entity framework?

Temporal tables have several restrictions https://msdn.microsoft.com/en-us/library/mt604468.aspx including no cascading deletes or "instead of" triggers.
Does this mean that either you cant use entity framework for deletes (and instead need to write custom procedures that delete related entities) or you cant use temporal tables? (I suppose you could also write entity framework code to delete the related items from the bottom up as well but I don't want dozens of little calls from my API app back to my database)

@slubowsky I believe temporal tables should be usable with EF, with a couple of limitations as described here: #4693.
With regard to cascade deletes, EF does not require cascade deletes on the database in order to function correctly. However, if the database does not have cascade deletes, then all related entities must be loaded into the context before the delete happens to ensure that everything is deleted that should be.


cmd/go/internal/test: test concurrency limited by sequential printing

What version of Go are you using (go version)?

$ go version
go version go1.20 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
Ran go test -debug-trace=trace -debug-actiongraph=actiongraph ./...
What did you expect to see?
Tests are run with maximum concurrency
What did you see instead?
test run tasks are started but not doing any work, blocking other work from progressing.

Example simple reproducer:
for i in a b c d; do
	mkdir -p $i
	cat <<EOF > "$i/${i}_test.go"
package $i

import (
	"testing"
	"time"
)

func TestSleep(t *testing.T) {
	if "$i" == "b" {
		time.Sleep(time.Second)
	}
}
EOF
done
for i in e f g; do
	mkdir -p $i
	cat <<EOF > "$i/${i}.go"
package $i

EOF
done
GOMAXPROCS=2 go test -debug-trace=trace ./...

Basically this just makes a few packages, one with a slow test, and a few empty packages.
When we run this, I would expect to have one worker blocked on the b test (sleep 1), while the rest execute in the other worker and quickly complete.
Instead, we see this:

This looks odd - the e package doesn't have any tests, so why is test run e taking 1.3s?
The reason seems to be related to https://go-review.git.corp.google.com/c/go/+/448357 (although I am not certain it worked different before that CL). One the runTestActor starts, it is immediately blocked on <-r.prev. This, in turn, means it is blocked until the previous test (d) finishes.
Ultimately, this blocks an entire worker doing nothing.
A real world example of this can be found here (warning: 170mb). You can see it occurring in a few places, most prominently around 300s we have almost all 16 workers blocked, most/all on "no test files" packages.
I think based on the way actions are pushed into the ready queue, any action that has zero remaining dependencies may be pushed onto the queue. In some of my testing, I saw the occasionally some of the very last packages in the test ordering would get scheduled first - blocking an entire worker for almost the entire process.

I believe this new logic is only need for -json mode. One option is to just enable it only if -json is enabled.
I tested this locally against the same repo as the "real world example" above.
With Go 1.20, the tests took 70s to execute. With the patch, they took 30s.
With the same patch, the simple reproducer looks as expected:

Before trace After trace (warning: 150mb)

Another approach is to add each test run action as a dependency for the previous, to serialize the ordering. However, this makes things far worse, as this is serializing things much stricter -- the current serialization just ensures the starts are serialized, while this approach would make sure the entire test execution is as well - not what we want.
In my testing this made things worse.
A similar approach may be to make another action type test start, but I didn't test this out

I opened https://go-review.git.corp.google.com/c/go/+/508515 with approach 1

I know this isn't the most productive comment but its a bit frustrating to have found a regression causing tests to take 2x as long, and submit a fix, and not have any comment at all within 2 months.
Is there anyway to move this forward?

CC @bcmills @matloob

Sorry for the delay — I think I had mentally lumped this in with #60203, although it's clearly a separate issue. 😅
I've replied on the CL.

In case it is helpful: I think we have run into this with the tests for https://github.com/DataDog/datadog-agent (thanks to @hush-hush for debugging this). Going from Go 1.19 to Go 1.20 makes the tests about 20-30% slower (an extra ~17 seconds for a 60 second test run). We can help verify a fix once one is ready, although it looks like the conversation on https://go.dev/cl/508515 has stalled (last comment Sept 6th).

I'd love to pick this up again if there is some guidance on what would be an acceptable solution.

I don't have a lot of context on this but I think bcmills's suggestion to log an event that contains the information about the ordering of the test packages sounds reasonable? @aclements , what do you think?


error: the following arguments are required: --input_path, --model_path An exception has occurred, use %tb to see the full traceback.

I am a novice and I want to learn your code. But when running your model, the following problem always appears. Could you tell me how to solve it？ Thanks！

I would prefer running the python file from a terminal instead of Ipython console. As mentioned in README, the command will be:
python global_classifier.py --input_path examples/modified.jpg --model_path weights/global.pth
Hope this help!


Portal db

Coverage decreased (-0.9%) to 44.344% when pulling 288579d798722b983e104c26a1492a25e6b61847 on lepdou:portal_db into 65168953e7b4146d72760402152dc27b8c3a808d on ctripcorp:master.


testing out hound integration

Coverage remained the same at 41.59% when pulling c75c8bd86c8a926b222c25a13dc696953df26077 on hound_test into 9b9081218c451f1ddf02994e61a825acf0b920b5 on master.

Coverage remained the same at 41.59% when pulling 9f08268c9940dcf54a962261492934adc74f8168 on hound_test into 9b9081218c451f1ddf02994e61a825acf0b920b5 on master.

Coverage remained the same at 41.59% when pulling 5db51fcc5d39831d82198621409b9498e95b5610 on hound_test into 9b9081218c451f1ddf02994e61a825acf0b920b5 on master.

Coverage remained the same at 41.59% when pulling 5db51fcc5d39831d82198621409b9498e95b5610 on hound_test into 9b9081218c451f1ddf02994e61a825acf0b920b5 on master.

Coverage remained the same at 41.59% when pulling 5db51fcc5d39831d82198621409b9498e95b5610 on hound_test into 9b9081218c451f1ddf02994e61a825acf0b920b5 on master.


Gitlab CI Jobs randomly fail

Did you ever encounter weird phenomena like these:
Running with gitlab-runner 13.8.0 (775dd39d)
  on newest xxxxxx
Resolving secrets
00:00
Preparing the "docker" executor
...
Preparing environment
00:01
Running on runner-xxxxxxxx-project-169-concurrent-0 via c9efa222138c...
Getting source from Git repository
00:04
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/<group>/<project>/.git/
fatal: shallow file has changed since we read it
Cleaning up file based variables
00:02
ERROR: Job failed: exit code 1

?
It happens randomly to different jobs (mostly linux and windows export stages), sometimes files go missing, sometimes I get this. It's frustrating. I'm running a docker-in-docker gitlab-runner setup.
EDIT: I am running a docker-in-docker runner configuration and set concurrent=4 in the runner toml file so there should never be more jobs than this setting allows. I was able to workaround this issue by adding retries to the jobs inside the .gitlab-ci.yml file. Unsure if this is a GitLab, Godot command line or godot-ci -specific bug.

I started getting these errors for Windows build recently as well.
There's a link to https://api.itch.io/wharf/builds/... in the log, here's it's contents:
{
  "errors": [
    "method not supported"
  ],
  "details": "The HTTP method you used (GET) does not work with this API endpoint"
}

I run into the same issue today, for me it turned out that I was using 2 gitlab-runner services on the same runner config:

One that I'd started after registering a runner using gitlab-runner run
And another running in the background from the gitlab-runner.service. I didn't think I would have that one since I never explicitly run gitlab-runner install/start.

Also noticed that, something weird was going on since even though I had set concurrent = 1, two jobs were being picked up at the same time on my custom runner.
I figured it out when, finally, I tried to create the service seeing that it was already there :man_facepalming:
The issue was resolved after killing the manually started runner ^ ^
TLDR
If you have manually started a runner (eg. using gitlab-runner run) make sure that there is no other runner instance running against the same config (could be a manual or a service one - eg if systemctl status gitlab-runner.service shows the service as active)


Fix content IDs and remove obsolete documents

The Finding Things migration checker has detected an inconsistency in
the state of 5 documents across Whitehall > Publishing API > Content
Store.
These items do not exist in the content store, and have mismatched
content IDs in Whitehall/Publishing API. Further detail is provided in
the data migration.

👍


Layout items onClicks not working

Hello,
onClick attributes are not working in dialog hich i define in layout xml. Here is an example :
<ImageButton
                android:id="@+id/genderMaleButton"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/button_male"
                android:background="@color/transparent_color"
                android:onClick="selectMale"/>

selectMale method is defined in caller activity and it works if i embed layout xml contents into main layout xml.
King Regards
PS : i found that parent must be defined while inflating : http://stackoverflow.com/questions/5444516/inflated-layouts-buttons-onclick-listener-not-working i do not know if this is the solution but wanted to share if in any case it has any help

Until fix release, if anyone had same problem can implement onclicklisteners manually after dialog initialization :
buttonMale = (ImageButton) findViewById(R.id.sexMaleButton);
            buttonMale.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    selectMale(view);
                }
            });


Command documentation and running tests for binary install?

After cargo install xsv, the executable is in ~/.cargo/bin as expected.
Is there command documentation?... Something like a man page?
Is it possible to run the package tests on the installed binary?

Is there command documentation?... Something like a man page?

No. There's a README and xsv --help. I don't have the bandwidth to maintain a man page for this project at this time.

Is it possible to run the package tests on the installed binary?

No, sorry, although you could probably do it with a bit of hacking. If you want to run the tests, then checkout the repo and run cargo test.


Readd .gitignore

From https://github.com/szepeviktor/w3-total-cache-fixed/blob/v0.9.4.x/.gitattributes

See also https://github.com/szepeviktor/w3-total-cache-fixed/wiki/How-to-add-our-files-to-an-upstream-release

If someone adds our files back I'll set v0.9.5.x as the default branch.
Readme may need rephrasing.

Ok... i close this issue.

So we won't switch to 0.9.5.x?

Whenever you guys want to switch to 0.9.5.x i'm cool with it.

How about right now?

I'd like to get nigrosimone feedback too first, in case he has something to add before a switch happens.

@nigrosimone Hurry up!
It is too late already: https://github.com/szepeviktor/w3-total-cache-fixed

Have you seen this?


Cursor on horizontal bar

How I can change the defaut cursor on horizontal bar by cursor pointer on hover?
thx

@saloumfall you're going to need to write a plugin that detects when the mouse is over the chart and changes the pointer style. This will be easier once #3718 is released in v2.5

Per the above comment, this will be doable in v2.5. See https://jsfiddle.net/rsz3g4ok/1/ which used an early 2.5 version.
The onEvent plugin call was renamed to afterEvent after that was created but before 2.5 is released. This will mean the plugin will need an afterEvent call rather than onEvent but nothing else changed.
Closing as answered


Fix for react hook

Ref: https://github.com/inventree/InvenTree/pull/7150#discussion_r1588775847

@wolflu05 any idea why this is failing?

Sorry, no idea about these playwright tests.


Setup HowTo?

So I downloaded the source, and added it to the bundled-modules file for companion, but I am having issues. Is there a specific way this has to be compiled for it to work?
Asking because I am getting an (Cannot Find package "@companion-modular/base")  error, so I am assuming I am assuming I added it to the wrong spot, am missing a dependency, OR it has to be compiled in a specific way I am unaware of.

Module is now included in Companion, therefore no manual interaction is needed.


Remove fast_finish flag

It has been confirmed that the fast_finish flag is responsible for triggering multiple build notifications on #zftalk.dev.

Thanks, @Koopzington!