Exception while calling fromZigbee converter

Description of the issue

After switching to version 1.35.1-1 I started to encounter the error in question.
From this moment on, zigbee2mqtt no longer sends anything to home assistant (Mosquitto broker)
-The device generating the error is a PJ-MGW1203
The system block occurs 2/3 times a day randomly

Addon version
v1.35.1-1
Platform
Core 2024.1.2
Supervisor 2023.12.0
Operating System 11.4
my configuration
homeassistant: true
mqtt:
  server: mqtt://core-mosquitto
  user: *****
  password: *****
serial:
  port: /dev/ttyACM0
  adapter: ezsp
frontend:
  port: 8099
advanced:
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
  log_syslog:
    app_name: Zigbee2MQTT
    eol: /n
    host: localhost
    localhost: localhost
    path: /dev/log
    pid: process.pid
    port: 123
    protocol: tcp4
    type: '5424'
  channel: 25
  log_level: info
device_options:
  legacy: false
devices:
  '0xe0798dfffea826ff':
    friendly_name: Router ZBDongle-E
  '0x003c84fffef0ecca':
    friendly_name: ZigBee Termosifone Camera Mat
  '0xa4c1380483ecb1b5':
    friendly_name: ZigBee Termometro Sala
  '0xa4c13878a044e674':
    friendly_name: ZigBee Termometro Soggiorno
  '0xa4c138fa78091d52':
    friendly_name: ZigBee Presa Frigorifero
  '0xa4c138bab31104b2':
    friendly_name: ZigBee Luce Terrazzo Camera Matrimoniale
  '0xa4c13831eaf7dbba':
    friendly_name: ZigBee Tapparella1 Sala
  '0xa4c138c3b27cee34':
    friendly_name: ZigBee Lampada Luna
  '0xa4c138bcec51d379':
    friendly_name: ZigBee Luce Sala
  '0xa4c1383aad8d029e':
    friendly_name: ZigBee Presa Sala TV
  '0xa4c138e52b567c58':
    friendly_name: ZigBee Presa Camera Grande Play
  '0xa4c138fe60c0d996':
    friendly_name: ZigBee Presa Camera Grande PC
  '0xa4c138ddd7cffecf':
    friendly_name: ZigBee Presa Soggiorno TV
  '0xa4c1388b23a3bf79':
    friendly_name: ZigBee Porta Frigo
  '0xa4c1382e0495eafe':
    friendly_name: ZigBee Porta Congelatore
  '0xa4c138a06155b4d5':
    friendly_name: ZigBee Luce Camera Grande
    power_precision: 1
    power_calibration: 3000
    current_calibration: 100
    energy_precision: 1
    voltage_precision: 1
    current_precision: 1
    state_action: true
  '0x70ac08fffe366ce1':
    friendly_name: Zigbee Power Meter Casa
    energy_precision: 2
    energy_calibration: 1
    current_precision: 2
    power_precision: 2
    voltage_precision: 2
    current_calibration: 1
    power_calibration: 1
    voltage_calibration: 1
  '0xa4c13851ad8d6f9b':
    friendly_name: ZigBee Termometro Esterno
    temperature_precision: 1
  '0xa4c1383a8254d9ae':
    friendly_name: ZigBee Termometro Camera Grande
  '0xa4c1382c28303539':
    friendly_name: ZigBee Termometro Camera Piccola
  '0xa4c13818fe6c6cd3':
    friendly_name: ZigBee Porta Ingresso Interna
  '0xa4c13800b40af798':
    friendly_name: ZigBee Porta Ingresso Esterna
  '0xa4c1380aa558d939':
    friendly_name: ZigBee Presa Camera Piccola
  '0xa4c138af878589ac':
    friendly_name: ZigBee Presa Camera Mat
  '0xa4c138351db79811':
    friendly_name: ZigBee Sensore Acqua Esterno
  '0x4c5bb3fffe2eeaf7':
    friendly_name: Zigbee Power Meter Cucina
    description: Cappa Cucina + le due prese
    current_calibration: 1
    current_precision: 2
    power_precision: 2
    voltage_precision: 2
    energy_precision: 2
    power_calibration: 1
    voltage_calibration: 1
    energy_calibration: 1
  '0x00124b00291ffbe0':
    friendly_name: ZigBee Termometro Camera Mat
blocklist: []
availability: false

Logs of the issue (if applicable)
log.txt
**`error 2024-01-12 16:11:45: Exception while calling fromZigbee converter: Command 0x4c5bb3fffe2eeaf7/1 manuSpecificTuya.mcuGatewayConnectionStatus({"payloadSize":1,"payload":1}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (sendZclFrameToEndpointInternal error)}
`**

@diaz66 do u have solved the problem?

I am facing the same problem.

Can you check with the latest dev branch?

The edge branch, as I am consuming it in HA, is exhibiting the same issue. Let me pull my debug logs.


Remove most of the hostMount requirement for the nsenter mounter

there is 2 calls remainnig, where we need to replace the os.stat invocation
with a namespaced stat invocation and parse the results of the command
manually.
longhorn/longhorn#2063
Signed-off-by: Joshua Moody<EMAIL_ADDRESS>

manually tested on k3os (1node)
manually tested on ubuntu dev cluster (3nodes)
currently running core tests.

test passed except unrelated failure in
test_csi.py::test_allow_volume_creation_with_degraded_availability_csi FAILED


Update setup.py

PR Type
enhancement

Description

Added a print statement to the setup.py file to output "aaa" for debugging purposes.

Changes walkthrough 📝
Relevant filesEnhancement

setup.pyAdd print statement for debugging in setup.py

setup.py

Added a print statement to output "aaa".

+1/-0

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/help


Add support for certificate and static token authentication to the Kubernetes driver

This pull request updates Kubernetes container driver so it now also supports client side certificate and static bearer token authentication
Background
Previously the driver only supported HTTP basic auth which is now deprecated.
Implementation Details
Most of the code for handling various types of authentication mechanism was already there (either available in the Kubernetes container driver or the KubeVirt compute one),
this PR just updates it to make it more re-usable.
This way we avoid duplicated (copy and pasted) code and re-use those base connection classes by both of the Kubernetes driver.
Testing
I tested the Kubernetes container driver and KubeVirt compute driver against a local minikube deployment.
It probably wouldn't hurt if KubeVirt one gets more testing (cc @Eis-D-Z).
On that note, for compliance with the base API (I missed that during the review), token_bearer_auth KubeVirt driver constructor argument has been renamed to ex_token_bearer_auth.
TODO

[x] Refactor auth classes tests and also use them with the KubeVirt compute driver tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (trunk@72bfabd). Click here to learn what that means.
The diff coverage is 96%.

@@           Coverage Diff            @@
##             trunk    #1421   +/-   ##
========================================
  Coverage         ?   86.08%
========================================
  Files            ?      370
  Lines            ?    77495
  Branches         ?     7655
========================================
  Hits             ?    66710
  Misses           ?     7885
  Partials         ?     2900

Impacted Files
Coverage Δ

libcloud/common/base.py
90.48% <ø> (ø)

libcloud/test/storage/test_google_storage.py
97.04% <ø> (ø)

libcloud/storage/drivers/google_storage.py
90.78% <100%> (ø)

libcloud/test/common/test_kubernetes.py
100% <100%> (ø)

libcloud/common/kubernetes.py
80.8% <93.33%> (ø)

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 72bfabd...d72f000. Read the comment docs.


BUG:Effective Ui of Resume

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
here resume user Interface is not like a resume look :

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@PatilHarshh ,please assign this issue

Hey @PatilHarshh ,also add the level 1,2,or 3

i make a resume like a proffessional

@Varsani2520

@Varsani2520  was too much busy. unable to maintain the repo ! or assign issue to the contributors ! will you interested to handle issue assign part to contributor?

are you interested in assigning issues to contributors in this repo?

@Varsani2520


There is a small chance that the editor settings will be reset when you quit to the project list or exit godot

Godot version
4.0,4.0.1 rc2
System information
Win11
Issue description
I'm not sure if it's my local machine environment issue, but this happened 2 or 3 times and I had to copy the backup editor_settings-4.tres file in case the whole editor settings were reset. Currently I can't reproduce the bug, just a low probability of it happening.
Steps to reproduce
quit to the project list or exit Godot and rerun Godot.
Minimal reproduction project
I can't reproduce the bug, sorry!

Just a heads-up: when I had a similar issue, the disk (SSD) failed several months later

Just a heads-up: when I had a similar issue, the disk (SSD) failed several months later
That should cause random problems with anything, including other software or OS. But anything is possible. Who knows. Thanks for the reminder, I'll keep an eye out

Duplicate of https://github.com/godotengine/godot/issues/40968.


Crypto

I hope you guys have somebody looking into using cryptocurrencies and blockchain perks like guaranteed proof of ownership as a way to donate to artists and help fight some of the attempts to steal content.

No plans for this sorry.


can't open the application

Hello, i unzipped the file, tried to start it from there. Doesn't work.
I downloaded the .exe file, doesn't work.
Run it as administrator, doesn't work neither.
I tried like almost every older version - doesn't work....
running on windows 11 with a wired xbox one elite controller
I watched the yt video (retrorgb): he just starts the .exe and everything works. For me: There is nothing happening??

Perhaps the program is blocked on your computer by some non-standard antivirus

negative, i am only using the Windows proprietary antivirus system :/
i would have loved to try this application, but idk what else i can do
John Punch @.***> schrieb am Mi., 28. Aug. 2024, 08:48:

Perhaps the program is blocked on your computer by some non-standard
antivirus
—
Reply to this email directly, view it on GitHub
https://github.com/cakama3a/Gamepadla/issues/13#issuecomment-2314453205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BK2XCLVAQHN5HLIB66NSLGLZTVXCLAVCNFSM6AAAAABNHI4CAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJUGQ2TGMRQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Well, my program doesn't seem to require any additional libraries to work, so I don't know. All the same, it is important to update Net Framework, Microsoft C++ in case of any eventuality.

@Aviqu  Try unzipping it with a third party program like 7zip or winrar. Sometimes security flags set when unzipping or downloading an executable hinder execution.
@cakama3a Are you using PyInstaller for packaging? This might be the source? Though I guess windows will just throw an error if the dll is missing.


After successful authentication take me to the smartnote I was hoping to view

Current behavior:

Assume I am not signed in
I navigate to a smartnote e.g. https://smartnote.dev/questions/2f3448b4-a9a8-47dd-a074-5674750fcd56
I click Sign In and sign in
I am taken to / (https://smartnote.dev/)

Desired behavior:

Assume I am not signed in
I navigate to a smartnote e.g. https://smartnote.dev/questions/2f3448b4-a9a8-47dd-a074-5674750fcd56
I click Sign In and sign in
I am taken to the URL / smartnote that I originally landed on e.g. https://smartnote.dev/questions/2f3448b4-a9a8-47dd-a074-5674750fcd56

Closed with 6278a1f7bc16c4d85f99b2ac90ce38f536fd44ea


Dart2js statically rejects a Set literal in an annotation

The same code that causes a stack trace on the VM (https://github.com/dart-lang/sdk/issues/36040) is statically rejected by dart2js. I don't see a CFE error on the VM so I'm not sure if it's the same root cause or not.
Minimal repro:
class Foo {
  const Foo(Set<String> s);
}

@Foo({'a'})
void main() {}

Attempting to compile with Dart-to-JavaScript compiler (dart2js) version: 2.2.0 results in:
Error: Not a compile-time constant.
@Foo({'a'})
     ^
Error: Compilation failed.

DDC does not report any errors.

Note: this error no longer shows in master but still needs to be fixed in the CFE. To properly reproduce it, pick a commit before 15cd12beb4f7f342f1eeaa51b3d5de75c802c9c2.
In particular:

We have disabled the CFE lowering and we now handle Set literals directly in dart2js.
earlier CLs that add some of the features to be able to do this lowering included handling of set-literals in constants. That logic hides the CFE bug.

These changes are not in the stable channel and, IMO, should not be cherry-picked.

/cc @kmillikin

CFE bug is fixed in https://dart-review.googlesource.com/c/sdk/+/93941


Fix Warning - Update rocBLAS re-org PATH

Updated rocblas include path.
Fix internal build warning (reorg deprecated version warnings)

@arvindcheru This change has to be reverted since it breaks MIOpen CI.
It is another backward Incompatible change which could be problematic with MIOpen CI, staging CI, and even mainline builds
Could you let us know the coordinated sync up timing for this change to happen?


Updated af (Afrikaans) translation

Commit made via Stringlate

Thanks for your work!

A pleasure. Thank you for developing a platform that allows self-translation.


Create image with marketplace for store

Update image that is currently on the website to show the new marketplace to this can be added to the Start9 store.

I don't like that BWT shows, but this is the only page that fills and shows the most available options

We can remove bwt from beta, I'm not making progress on it and I don't think we're planning to release it with 0.3

Completed images can been seen here


[WIP] RPi4 workflow

Now the first implementation of the cli and rest api of the Rack of Labs system is ready. But it is in the stage of active development and testing, and at this stage I think it is inappropriate to include it as part of EDEN. But we can already test versions of EVE in automatic mode on RPi4.
For this workflow, we need to add some secrets:
ROL_OVPN_CONF_BASE64
ROL_API_URL
ROL_API_KEY
ROL_PROJECT
Signed-off-by: Aleksandrov Dmitriy<EMAIL_ADDRESS>

Yep, we need add secrets before merge this PR, I have all secrets that needed for this workflow.
but I don’t know who is better to ask them to add, I will clarify that.
And there are 2 problems with the rpi4 workflow tests.

Floating error, it can be fixed by updating the kernel to 5.10.67. Details here: https://github.com/lf-edge/eve/pull/2356
EVE update test on RPI4 always fails (WIP).

What @nordmark is saying is that perhaps having a conditional test for presence of secrets to give a clear error message would be very helpful. Can you do that @Insei ?

@rvs okay, no problem


serde_json breaks type inference of user code in some cases

I'm not sure whether this is serde_json's issue or rustc's. If you think this is not related tho this repo, but rather a bug in rustc, file it to them or tell me and I'll do this.
OK, now the issue. This code does not compile unless the first line is removed:
use serde_json;

#[cfg(test)]
mod test {
    #[test]
    fn into_iter() {
        assert_eq!(10, vec![1, 2, 3, 4].iter().sum());
    }
}

The problem is that compiler cannot infer types for sum(). However, removing or putting the use serde_json; into a comment makes it compile.
The problem is even more strange as it brakes similar code in other modules of the same package.
I made a demo repo that shows the problem.
It brakes only with_serde json. At least importing serde and failure does not brake it.

I managed to localize the issue in serde_json. This macro  expansion causes it: src/value/partial_eq.rs#L90.
Without this macro expansion inference works.
If I understand correctly, rustc cannot figure what I want to compare in the assert_eq, because the partialeq_numeric makes the primitives all equatable to Value. And this makes
I can see that the macro is used only in tests. The main library compiles fine, without this.
But it cannot be moved into tests because of the rust's orphan rules for trait implementations. Neither #[cfg(test)] will work. Because the tests module implemented as a separate crate (very strange as for me, why not in the same carte?), and uses serde_json as a regular dependency. Which builds as regular depndency and throws all of the #[cfg(test)] code.

Thanks for the report -- I'll close this in favor of https://github.com/rust-lang/rust/issues/46257 / https://github.com/serde-rs/json/issues/380.


[bug]: {"context": "client"} undefined is not a function.

Description
I'm getting errors after running the project`

After reloading I don't get errors, but getting one when trying to open the walletconnect modal`
{"context": "client"} undefined is not a function.
Any idea why I can get these errors?
WalletConnect Modal SDK version
^1.0.0-rc.3
Output of npx react-native info
nfo Fetching system and libraries information...
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 Intel(R) Core(TM) i5-10500H CPU @ 2.50GHz
Memory: 4.94 GB / 15.83 GB
Binaries:
Node: 16.19.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Visual Studio: Not Found
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
info React Native v0.72.1 is now available (your project is running on v0.71.8).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.71.8
info For more info, check out "https://reactnative.dev/docs/upgrading".
Expo Version (if applies)
^48.0.7
Steps to reproduce
run the project or open walletConnect modal
Snack, code example, screenshot, or link to a repository
  import { View, TouchableOpacity, Text } from 'react-native';
  import { SafeAreaView } from 'react-native-safe-area-context';
  import { WalletConnectModal, IProviderMetadata, useWalletConnectModal } from '@walletconnect/modal-react-native';
  import '@walletconnect/react-native-compat';
  import { styles } from './styles';

  const App = (): JSX.Element => {

  const { isConnected, provider, open } = useWalletConnectModal();

  const handleButtonPress = async () => {
      if (isConnected) {
          return provider?.disconnect();
      }
      return open();
   };

   const providerMetadata: IProviderMetadata = {
      name: 'test',
      description: 'test',
      url: 'https://walletconnect.com/',
      icons: ['https://avatars.githubusercontent.com/u/37784886'],
      redirect: {
        native: 'test://',
      },
    };

  const sessionParams = {
   namespaces: {
     eip155: {
       methods: [
         'eth_sendTransaction',
         'eth_signTransaction',
         'eth_sign',
         'personal_sign',
         'eth_signTypedData',
       ],
       chains: ['eip155:1'],
       events: ['chainChanged', 'accountsChanged'],
       rpcMap: {},
     },
   },
 };

  return (
      <SafeAreaView style={styles.container}>
          <View>
              <TouchableOpacity onPress={handleButtonPress}>
                  <Text>Connect</Text>
              </TouchableOpacity>
          </View>
          <WalletConnectModal
              projectId={'my_id'}
              providerMetadata={providerMetadata}
              sessionParams={sessionParams}
          />
      </SafeAreaView>
  );
};

here is my project Repo

Yes am also have this can you pls help

@ignaciosantise can you please take a look here?

hey @NarekAv-Solicy thanks for providing an example repo to reproduce. What u need to do to make it work is move the expo-shim import above @walletconnect/modal-react-native
It should look like this:
import './expo-crypto-shim';
import { WalletConnectModal, useWalletConnectModal, type IProviderMetadata } from '@walletconnect/modal-react-native';
import { useNetInfo } from '@react-native-community/netinfo';

Please confirm it this solves your issue

@ignaciosantise thanks it's solved issue


Localize to arabic

See no need for arabic, we do not have any visitors with that browser setting.


Add html input attributes to ToolbarSearchProps

Fixes #646
ToolbarSearchProps are missing type definitions for $$restProops. With this PR svelte-check no longer complains and editors can show propose code completions. E.g. VS Code:

Limitations
This is just a very specific case. The proper definition of $$restProps in other components is subject to further work.
As an alternative to svelte.JSX.HTMLAttributes I would like to suggest Partial in a separate PR.

Thanks for taking the time to respond. I have updated the PR as you suggested. So, it’s analogous to:
https://github.com/IBM/carbon-components-svelte/blob/cff16e5d7de19652df6a905360bbfe01ea6d0d7f/src/Tag/Tag.svelte#L2
Great tooling by the way. I’m Impressed by sveld.

Available in v0.34.0 (release notes)


feat: Add the legacy getInputs function

consider also merge #85 before release

could we update the classic package to 1.1.9?

could we update the classic package to 1.1.9?

Updated

Why don't we return the callData (but only callDataLength) here?

Why don't we return the callData (but only callDataLength) here?

I think that's just what we used to do in arb-ts, i cant really remember. This function wont exist in nitro though.


Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection.

On line 1112:
this.modelObjs[key] = NGI.Model.instance(key, values[key], depth + 1);

I'm getting this error:
Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection.

Hey @clabough -- unfortunately we're going to need more information to figure out why you're getting that error.
To start with, can you identify:

What version of Angular you're using
What browser you're using (Chrome or Safari)
What you are doing that triggers the error (are you opening angular inspector? Are you clicking on an item in the inspector?)

Additionally, if you have a live example you feel comfortable linking to hear, that would make the troubleshooting efforts a lot quicker.

This was some time ago and I no longer receive this error.  Perhaps an update to Angular or Chrome took care of it. I've always used Chrome with AngularJS 1.3.x

Cool deal. Let us know if the issue creeps up again.


Can't put custom left icon on scenes wrapped inside a tabbar

Version

react-native-router-flux v3.26.0
react-native v0.24.1

I'm using a tabBar in my app but I can't manage to put a custom icon or title on the left button (nor can I put a custom action on press)… The scene title is not getting displayed either.
On the other hand, I can customize the right button without problems.
On my scenes which aren't wrapped in a tabBar, everything is working fine, left/right icons and actions.
Do you have any idea where this might be coming from ?
Cheers,

it could be the reason that Back button displayed when stack length is greater than 1.

So there is no way to get a custom left button while using a tabbar ?
Even when putting an onBack action, I can't modify the default behavior of the left button…

Have you tried to change backButton ?

After testing something else, I realized that nowhere in my app, I can put a custom left button... I might be doing something wrong :/
<Scene key='searchResults' component={SearchResults} title='Résultats' titleStyle={{ color: '#7A7A7F' }} leftButtonImage={settingsIcon} onLeft={() => { Actions.filters(); }} rightButtonImage={mapIcon} onRight={() => { Actions.filters(); }} panHandlers={null}/>
This is what I'm using inside my tabbar. I'm doing the same for right and left but only right button is working.

I noticed same thing and could isolate it, but i have no idea how to fix:
Naviging from one tabbed  component to another tabbed or nested scene => No Left Button => Route Stack is 0
Navigating from one tabbed  component to another Scene which is NOT nested => Back Button Visible => Stack Size 1 - Everything works like expected

After upgrading to the latest version of RNRF and RN, I don't seem to have any problems with my navbar.

I don't have any problems with the navbar styling but when doing routing from a scene from inside the tabbar to a scene which is outside of the tabbar (a regular scene), the navbar is not displayed a the scene to which i'm routing the user…
Do I need something specific to jump from the tabbar to a scene outside of it ?


FE-homwork-15

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
0

code_smells
2

reliability_rating
A (0 Bugs)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0


Remove version: Alibaba.aDrive version 4.10.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://cdn.aliyundrive.net/downloads/apps/desktop/update/4.10.0/win32/ia32/aDrive-4.10.0.exe
OK
(Automated message - build 910)


[e2e]: delegator-generic workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5804429156
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Wed Aug  9 03:10:39 UTC 2023

InternalError: error creating tlog entry: FetchError: network timeout at: https://rekor.sigstore.dev/api/v1/log/entries

Seems to be a transient error.

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5804714233
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Wed Aug  9 04:07:42 UTC 2023
Tests are passing now. Closing this issue.


Create standard library

One of the most important elements of making Basil more accessible to new users is providing those users with access to useful library functions. In its first form, this will look like:

data structure operations (lists, strings, etc.)
math
control structures (for-in loops, etc.)

Each separate category of operation will be defined in it's own file, allowing users to import library functions as they're needed.
The overall goal for the Basil standard library is to be easy to use and to have enough breadth that it covers the majority of programmers' average use cases.

This deserves deeper discussion and evaluation - how much of a stdlib do we consider necessary for 1.0? Adding this to the 1.0 release column, but it might be reasonable to split this up.

I think that the stdlib which will be forever shipped (and forever maintained) with Basil shall be really minimal (let's call it a tier 1 stdlib) and have strong focus on "meta" things.
What I mean by "meta" is to meticulously define and technically enforce "namespace" division and related release & distributed (among different groups with different goals - e.g. commercial sector vs academia vs consumers etc.) management.
This is to avoid the disaster which happened to the Tcl ecosystem. I.e. people wanted to write lots of Tcl extensions and modules but because of missing coherent structure how such separately (totally in isolation) developed code should mix with other such code, Tcl struggled for about 20 years to slowly and very painfully reintegrate a (rather small) subset of the extensions & modules into the official distribution.

The concept of from future import X, Y, Z or alike is inevitable and has to be strictly enforced by technical means. It seems to be so far the best solution to the problem of getting a new behavior of the lang only in strictly delimited parts of the program.
There has to be a solution to allow development of several (many) "different stdlibs" designated as "tier 2 stdllibs" and to allow mixing them safely (including mixing two versions of the same tier 2 stdlib project).
The minimal standard library (tier 1) should thus comprise of macros which meet a certain level of quality (e.g. support many different platforms, guarantee compile time error if the Basil version they're being tried to run on is incompatible, have tests, etc.). Over time this'll accumulate a small amount of carefully chosen stuff from tier 2 stdlibs, but hopefully not much.
The point is to always have a way to say suddenly STOP and simply switch to an alternative tier 2 stdlib as the new default.
There shall be one chosen tier 2 stdlib to be distributed with Basill by default but it should be made explicit that it's a "flavored Basil" and that this "flavor" can change any time (among major versions of course; not in minor nor bugfix releases).
Maybe use SemVer?

Thoughts?


Initial integration of the Monaco Editor

Very basic proof of concept which configures metadocJS to use the editor.

Next step will be to write the API (or transpile the typescript API) and define the Scala language configuration, e.g. based on https://github.com/Microsoft/monaco-languages/blob/master/src/java.ts

Very nice! How do I run the local server?

Next step will be to write the API (or transpile the typescript API) and define the Scala language configuration

Seems like that would be a nice contribution to https://github.com/Microsoft/monaco-languages/blob/master/src/csharp.ts

It's using the webpack dev server: https://scalacenter.github.io/scalajs-bundler/cookbook.html#webpack-dev-server

Wow, amazing, this gives a super nice edit/run/debug workflow 👍
This is a great start. I believe it's possible to depend on https://github.com/Microsoft/vscode-languageserver-node/tree/master/client via npm and manually instantiate the editor with that plugin enabled. Here are some docs on implementing "go to definition". The examples assume the textDocument/definition handler is implemented server side, but I believe it's possible to implement it client side with a web worker or similar.


How to do when two way factor enabled?

You authenticate with the idmsa service, which causes a code to pop up on the device. You then pass that back to the library to complete the two-factor auth.
Check out this area for an example:
https://github.com/tmyroadctfig/icloud4j/blob/79d6734a6eed03c685a1f1b8ffe8fb589d351611/src/test/java/tmyroadctfig/icloud4j/ICloudTestUtils.java#L68

It's clear and working fine in my case.
I have one more question how can i get list of backups available for one device?

To get backups you need to use this project:
https://github.com/horrorho/InflatableDonkey

Thanks for the Reply,
I am getting error like this after entering PassCode
java.lang.IllegalStateException: Failed to verify code: HTTP/1.1 401 Unauthorized
at tmyroadctfig.icloud4j.IdmsaService.sendIdmsaCode(IdmsaService.java:192)

Please help me . I'm in deep search

You'll need to provide a bit more info on what you're doing. Can you send over a code snippet or something?

I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized

I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized


Gas wanted is higher than gas used

As far as I can tell, this is the DefaultGasLimit and just wrong wording on the UI:
vendor/github.com/cosmos/cosmos-sdk/client/flags/flags.go:19:   DefaultGasLimit      = 200000

Here a screenshot from Cosmos/ATOM:


ControlClient.CLI, ControlClient.GUI projects

What is the right way to launch these projects? I open ReactiveTrader-WPF.sln, whenever I try to run ControlClient.CLI with opened Server.GUI there is the following error (while Server.GUI and Client.GUI run successfully):
2016-03-02 20:11:55,587 INFO  -   ____  ____    __    ___  ____  ____  _  _  ____
2016-03-02 20:11:55,592 INFO  -  (  _ ( )  /\  / )( )(  _)( / )( )
2016-03-02 20:11:55,593 INFO  -   )   / ))  /()( (_   )(   )(  \  /  ))
2016-03-02 20:11:55,593 INFO  -  ()_)(___)()()_) () ()  /  ()
2016-03-02 20:11:55,593 INFO  -    ___  _____  _  _  ____  ____  _____  __
2016-03-02 20:11:55,593 INFO  -   / )(  _  )( ( )( )(  _ (  _  )(  )
2016-03-02 20:11:55,593 INFO  -  ( (  )()(  )  (   )(   )   / )()(  )(
2016-03-02 20:11:55,593 INFO  -   _)()(_)_) () (_)_)(____)(____)
Please enter your name (logging purposes only):
asdf
Please enter your authorization token:
asdf
2016-03-02 20:11:59,478 INFO  - Initializing reactive trader API...
2016-03-02 20:11:59,525 INFO  - Reactive trader API initialized in 38ms
2016-03-02 20:11:59,525 INFO  - API Connecting...
2016-03-02 20:11:59,728 INFO  - ConnectionStatus: Connected, Server: http://localhost:8080, TransportName:serverSentEven
ts
2016-03-02 20:11:59,743 INFO  - API Connected.
2016-03-02 20:11:59,743 INFO  - Enter currency pair symbol and new state. Either E or D for enabled or disabled, or A or
S for active or stale
Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Ther
e was an error invoking Hub method 'ControlHub.GetCurrencyPairStates'.
at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
at System.Reactive.ExceptionHelpers.ThrowIfNotNull(Exception exception)
at System.Reactive.Subjects.AsyncSubject`1.GetResult()
at Adaptive.ReactiveTrader.ControlClient.CLI.Program.d__3.MoveNext() in C:\OneDrive\Projects\DemoOther\React
iveTrader\src\Adaptive.ReactiveTrader.ControlClient.CLI\Program.cs:line 79
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Adaptive.ReactiveTrader.ControlClient.CLI.Program.Main(String[] args) in C:\OneDrive\Projects\DemoOther\ReactiveTr
ader\src\Adaptive.ReactiveTrader.ControlClient.CLI\Program.cs:line 34

Hi
What are you trying to achieve?  Run the desktop app and web app?

I just wanted to run CLI, command line project to see basic functionality. What is the right way to launch it?

I've just pulled the code, battling to compile to be honest.  Will have to follow up hopefully later today

The Adaptive.ReactiveTrader.ControlClient.CLI and Adaptive.ReactiveTrader.ControlClient.GUI tools are for controlling a deployed instance of the Server. If you were to use them, you would need to populate the app settings to be able to know which server you are connecting to and passing the authentication credentials.
<appSettings>
  <!--<add key="servers" value="https://reactivetrader.azurewebsites.net/signalr" />-->
  <add key="servers" value="http://localhost:8080" />
  <add key="AuthToken" value="" />
  <add key="Username" value="" />
</appSettings>

To be honest, this is the set up I use (and can run from current master)

get latest master
open the src\ReactiveTrader-WPF.sln solution
set Adaptive.ReactiveTrader.Client.GUI and Adaptive.ReactiveTrader.Server.GUI as start up projects
hit F5 (rebuild, get nugets etc)

I don't have experience running the web stack however.

Client.GUI and Server.GUI run successfully together (as I have mentioned in the question), still I couldn't run ControlClient.CLI. But I also understood that I do not need it. Thanks.


🐛 [firebase_messaging 8.0.0-dev.3] App crashes on iOS device when calling getToken()

Bug report
@Salakar
Describe the bug
When calling FirebaseMessaging.instance.getToken(), app crashes with the following logs from Crashlytics
Device: iPhone X, iOS 14.1
Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x1a6545114 __exceptionPreprocess
1  libobjc.A.dylib                0x1b9de1cb4 objc_exception_throw
2  CoreFoundation                 0x1a64559b8 -[NSOrderedSet initWithSet:copyItems:]
3  CoreFoundation                 0x1a6547758 ___forwarding___
4  CoreFoundation                 0x1a65496cc _CF_forwarding_prep_0
5  Runner                         0x104b11bcc -[FIRMessaging retrieveFCMTokenForSenderID:completion:] + 582 (FIRMessaging.m:582)
6  Runner                         0x104c2d690 -[FLTFirebaseMessagingPlugin messagingGetToken:withMethodCallResult:] + 589 (FLTFirebaseMessagingPlugin.m:589)
7  Runner                         0x104c2b1f4 -[FLTFirebaseMessagingPlugin handleMethodCall:result:] + 139 (FLTFirebaseMessagingPlugin.m:139)
8  Flutter                        0x105d0b29c (Missing)
9  Flutter                        0x1057c85ac (Missing)
10 Flutter                        0x105aab930 (Missing)
11 Flutter                        0x1057d1b7c (Missing)
12 Flutter                        0x1057d3af0 (Missing)
13 CoreFoundation                 0x1a64c5a30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
14 CoreFoundation                 0x1a64c5634 __CFRunLoopDoTimer
15 CoreFoundation                 0x1a64c4b14 __CFRunLoopDoTimers
16 CoreFoundation                 0x1a64beeb0 __CFRunLoopRun
17 CoreFoundation                 0x1a64be200 CFRunLoopRunSpecific
18 GraphicsServices               0x1bc63b598 GSEventRunModal
19 UIKitCore                      0x1a8d87bcc -[UIApplication _run]
20 UIKitCore                      0x1a8d8d1a0 UIApplicationMain
21 Runner                         0x104979fc0 main + 6 (AppDelegate.swift:6)
22 libdyld.dylib                  0x1a619d588 start

Steps to reproduce
Steps to reproduce the behavior:

Call FirebaseMessaging.instance.getToken()

Expected behavior

able to fetch token successfully

Additional context
This does not happen on dev.2 release. On dev.2 there are other issues however like unable to read the Data message on iOS when listening to onMessageOpenedApp stream or when calling getInitialMessage()..
The app also functions perfectly on iOS when using latest stable 7.0.3 firebase messaging.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.6 19G2021, locale en-SG)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.50.1)
[✓] Connected device (2 available)

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
- cloud_firestore_platform_interface 2.1.3 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.0+5 [flutter flutter_web_plugins firebase http_parser meta firebase_core cloud_firestore_platform_interface js]
- firebase 7.3.2 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_platform_interface 2.1.2 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.1+2 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.1.2 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_messaging_platform_interface 1.0.0-dev.2 [flutter meta firebase_core plugin_platform_interface]
- firebase_storage_platform_interface 1.0.0-dev.3 [flutter meta collection firebase_core plugin_platform_interface]

Thanks for the repot, have reproduced and have a fix incoming.

Fixed in 8.0.0-dev.5. Thanks


WIP: Correct Identifier Tracking

This branch implements correct identifier tracking through aliasing. This basically solves Jinja's oldest bug which is that it tries to trivially map identifiers onto Python scoping which cannot work because Python scoping is not expressive enough to support all of Jinja's features.
This will also fix a ton of other issues and open up heavily improved includes.
The main breakage this causes which is known is that code that overrides Context now needs to override resolve_or_missing instead of resolve if it wants custom resolve support.

Open TODOs:

[ ] we use the same scope for the normal loop bodies and else blocks. This generates non optimal resolves
[ ] we generate some resolves that are strictly unnecessary. Maybe we can do some dead code detection here
[ ] The logic for undefines changed so that undefined checks are now generated constantly on value use instead of on resolve. This changes Context.resolve to be an API that is no longer used by Jinja internally and might be less efficient. Requires some testing.

Bonus feature: no longer uses locals() which should greatly help pypy.

This should be able to fix #110 now. Still failing but easy to fix.


Vary libcaf_openmp procedure prefix; add test

@jerryd Let's discuss this via phone or hangouts before merging.  I think I might have hit a major roadblock.  We are either going to require some minor surgery in the compiler to get this to work or we'll need source transformation to create the OpenMP parallel region in the main program before the compiler sees it.  A source transformation capability exists on the caffeinate-opencoarrays branch so we can repurpose it for this and I think we should do that (or do the required surgery on the compiler to obviate the need for source transformation) before proceeding.

@rouson In the hello.f90, is it necessary to 'use omp' since this is be done in the library implementation file.

@jerryd Great catch!  I removed the unnecessary use statement and pushed a new commit that now shows in this thread.  If there are no other issues, one of us can merge and close this pull request and deleted the vary-prefix branch.  Then our main task is evaluating whether to proceed with modifying
the compiler front-end or using source transformation.  Let me know what you find out about the former
and I'll let you know what I find out about the former.

Looks good, merging

Thanks.  I just deleted the branch.


jwt cannot use custom guard

Q
A

Bug?
no

New Feature?
yes

Framework
Laravel

Framework version
7.x.y

Package version
3.x.y

PHP version
7.x.y

api.auth middleware custom guard cannot be used.

Hey @ztj1993 can you please elaborate on this, and maybe use some examples? I don't really understand quite what you mean.


iOS Build crash

I'm trying to follow the README with an empty new project.
It builds successfully to my iPad, but it immediately crashes.
Sorry, I'm new to xCode, don't know whats going on.
From xCode:
2020-03-03 19:04:03.108 [info][tid:main][RCTRootView.m:293] Running application unityTest ({
initialProps =     {
};
rootTag = 1;
})
2020-03-03 19:04:03.162944-0300 unityTest[1736:1593257] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2020-03-03 19:04:03.164193-0300 unityTest[1736:1593257] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2020-03-03 19:04:03.164519-0300 unityTest[1736:1593260] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-03-03 19:04:03.164569-0300 unityTest[1736:1593260] TCP Conn 0x2838f12c0 Failed : error 0:61 [61]
2020-03-03 19:04:18.711 [info][tid:com.facebook.react.JavaScript] Running "unityTest" with {"rootTag":1,"initialProps":{}}
2020-03-03 19:04:18.718125-0300 unityTest[1736:1593258] [] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2020-03-03 19:04:18.718994-0300 unityTest[1736:1593262] [] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-03-03 19:04:18.719501-0300 unityTest[1736:1593262] TCP Conn 0x2838f4900 Failed : error 0:61 [61]
2020-03-03 19:04:18.742680-0300 unityTest[1736:1593056] Built from '2019.3/staging' branch, Version '2019.3.0f6 (27ab2135bccf)', Build type 'Release', Scripting Backend 'il2cpp'
UnityFramework was compiled with optimization - stepping may behave oddly; variables may not be available.
(lldb)

If it can help you, I have the same issue. I figured it commenting the line 102 _mainDisplay.surface->allowScreenshot = 1; of file UnityAppControlle+Rendering.mm

I am having the same crash, but removing the _mainDisplay.surface->allowScreenshot = 1; line does not solve my problem unfortunately.

@RemyLivewall can you share the code how to added InitArgs to main.m file?


plutus-tx: add generic Data type, use in contracts

This implements Stages 1 and 2 of https://github.com/input-output-hk/plutus/issues/1465.
We also needed to add Applicative so we can write non-awful parsers.
This is an interim position because:

It's a step back in usability since Data is very visible to users.
There are lots of boilerplate instances.
The book isn't updated fully.

My plan is to eventually fix both of the warts by:

Redoing parts of the typed tx interface so it will handle the parsing for you.
Writing some TH to generate instances.
Updating the book along with stages 3&4 to avoid excess churn.

However, I want to postpone both of those until I've got the mainline changes in, as they are conceptually easy but time consuming.
Comments on Data welcome: but since it's relatively easy to change at this stage (just need to change the instances, which is tedious but easy), my inclination is to forge ahead even if we're not 100% set on the exact definition.
Some comments on why I defined it like I did:

Separating out sums and products initially seemed nice, but it allows for things we don't care about, e.g. immediately nested sums. In practice, mirroring the Haskell datatype way where it's always alternating seemed simplest.
I added primitive maps since CBOR has them. I'm considering using these for records so the field names are included, but that will make things bigger.
I may well add primitive lists, since CBOR has them.

Looks good!
Am I understanding this correctly: At the moment the type of data & redeemer script on the ledger level/in the emulator is still Script, but that will eventually become a serialised (not PLC) form of Data.

Exactly, step 3 will start with e.g. type DataScript = Data and chasing many compile errors.

That all makes sense, my fault for not reading the manual!

This all looks good.  I might have been inclined to add explicit pairs/tuples for convenience since that might be a common case, but I guess we can see how things play out and make changes if necessary, so sticking to something minimal for now makes sense. It'll be a big relief to get rid of Sealed.

One point that occurs to me is that when we eventually have extensible builtins we'll probably have extensible PLC types as well. The question then arises of how to convert such things to Data, whose implementation implementers of builtins won't be able to interfere with.  What happens if someone ill-advisedly decides to add floats for example?  I suppose that in cases like that we could require them to do something like implementing their own built-in conversion functions to convert floats back and forth form bytestrings for inclusion in Data objects.  This would surely still preclude higher-order datascripts/redeemers, but that's good.

The question then arises of how to convert such things to Data, whose implementation implementers of builtins won't be able to interfere with.

I think we'll just have to deal with that as we come to it.


User can reserve a book and cancel a reservation

Reservation can be in book detail page.
Restrictions:

Maximum of 3 reservations per user
User cannot reserve a book multiple times at the same time

Done


fix #69: update notation in mccall_model_with_separation.rst

I left the value function as v as opposed to e

fixed #129


Add shortcuts to sidebar actions

Is your feature request related to a problem?

We want users to spend most of their time on the sidebar panel, i.g. the Label Next panel. Sometimes is it very easy and quick to decide whether an element has to be labeled as positive or negative. In such cases, labeling the elements by clicking the labeling buttons can take a long time.
What is the expected behavior?

Add shortcuts so the user can traverse the sidebar elements.
Proposed shortcuts are:

Arrow up: go to the previous element.
Arrow down: go to the next element.
Arrow left: label focused element as positive.
Arrow right: label focused element as negative.
Enter: focus the element on the main panel.

Behaviour description:

If the current focused element is the last element of the page and the user focus the next element, the first element of the next page (if any) will be focused.
If the current focused element is the first element of the page and the user focus the previous element, the last element of the previous page (if any) will be focused.
In the Label next panel, labeling an element will automatically make the next element to be focused and scrolled into view (the need for this behavior is described in #240).
The following events will make sidebar elements to be focused: labeling them, clicking them.

Closing this issue as the PR that implement the changes has been already merged.


Allow server level configuration for Upsert metadata class

The Objective of the PR is as follows:

Allow a single source of truth for upsert configs - Currently multiple tables can have multiple configs for snapshot, preload and metadata managaer class which can lead to maintenance overhead in production
Honour table level configs first thus retaining existing behavior.

Codecov Report

Merging #11851 (9dc3050) into master (9378b06) will decrease coverage by 52.06%.
Report is 17 commits behind head on master.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11851       +/-   ##
=============================================
- Coverage     66.48%   14.43%   -52.06%
+ Complexity      207      201        -6
=============================================
  Files          2343     2367       +24
  Lines        126418   127970     +1552
  Branches      19440    19747      +307
=============================================
- Hits          84054    18475    -65579
- Misses        36499   107930    +71431
+ Partials       5865     1565     -4300

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
14.43% <0.00%> (-52.00%)
:arrow_down:

java-17
?

java-20
?

skip-bytebuffers-false
14.43% <0.00%> (?)

temurin
14.43% <0.00%> (-52.06%)
:arrow_down:

unittests
14.43% <0.00%> (-52.06%)
:arrow_down:

unittests1
?

unittests2
14.43% <0.00%> (-3.28%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...ata/manager/realtime/RealtimeTableDataManager.java
0.00% <0.00%> (-32.00%)
:arrow_down:

...ocal/upsert/TableUpsertMetadataManagerFactory.java
0.00% <0.00%> (-43.75%)
:arrow_down:

.../starter/helix/HelixInstanceDataManagerConfig.java
0.00% <0.00%> (-79.60%)
:arrow_down:

...t/local/upsert/BaseTableUpsertMetadataManager.java
0.00% <0.00%> (-76.54%)
:arrow_down:

... and 1703 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@KKcorps Can you please help add documentation for this?


Upgrade gulp, gulp-sourcemaps in package.json. Rewrite less.js.

And add .vscode to .gitignore.

Thanks!


Missing "inversed many"

@theodorDiaconu
I just realized I had forgotten this type! Since you can use "inversedBy" on both "one" and "many".

Added in 3.0


Fix the color on "textarea" focused element on dark theme

BEFORE

AFTER

Thanks for the fix, but unfortunately it wasn't correct because of a "bug" (shortcut?) I made in the CSS rules. This have now been fixed in 33f2117, where I added a new variable --input-focus-placeholder-color.


update path to tor on nixos

I'm afraid I don't know enough about all this to submit a pull request, but on NixOS, in the file
~/.sparrow/tor/work/.kmptor/tor
the command (in NixOS) is (something like):
exec /nix/store/7i5qcshkq7brb8n0bxdkmb1vfm1pwbbc-tor-<IP_ADDRESS>/bin/tor "$@"
but if tor gets updated in the nix store, that path changes (to include a hash and a version, etc.), so the command (for NixOS)  should be
exec /run/current-system/sw/bin/tor "$@"
the above path is what you get from running which tor - tested and works in sparrow 1.9.1 (latest release available in the nixpgs).

See https://sparrowwallet.com/docs/faq.html#does-sparrow-require-tor. Sparrow starts it's own, bundled Tor if Tor is required and an external Tor proxy is not configured. This is what is in ~/.sparrow/tor/work/.kmptor/tor.
If you are running NixOS with Tor installed, I suggest configuring Sparrow to use that instead in the Server Preferences (probably <IP_ADDRESS> and port 9050).

Thanks, @craigraw - either way, the hard-coded path generated by sparrow returns 'file not found' when I tried to connect. Updating it to the above fixed it, is version agnostic, and is update-proof. Fantastic app, btw. Thanks again.


Suggestion:  create a field to store the license plate car

I would suggest creating a column on  Devices (table) to store the vehicle's license plate information. This field is displayed on the web enviroment  too.
reason: Currently there is only the "model" field to identify the vehicle.
Regards
JB

Thank you for feedback.
Maybe you can insert a "Manufacturer" Field (simple text).
JB

You have a 'Model' field, can you not repurpose this?
When ive been field limited in the past I have sometimes taken one and pipe separated values within it.
Note you can type in any name you wish when using 'Attributes' or alter the WebUI device attributes model to give an additional custom value for you.


The keys in the generated JSON content are unordered

Describe the bug

The keys in the generated JSON content are unordered.
To Reproduce

https://github.com/liby/decap-cms-field-sort-issue#reproduction-steps
Expected behavior

The keys are sorted in alphabetical order from A-Z or as described in the document:

The fields option maps editor UI widgets to field-value pairs in the saved file. The order of the fields in your Decap CMS config.yml file determines their order in the editor UI and in the saved file.

 I think this was raised before but I can't find the relevant issue.


visualization-freezes

Visualization part of the code freezes while plotting results.

python: 3.10.0
plotly: 5.18.0

It seems to be fixed with python 3.12.
If it doesn't work for you, upgrade to python 12 and if you still had problems, leave a comment here.

It seems to be fixed with python 3.12.
If it doesn't work for you, upgrade to python 12 and if you still had problems, leave a comment here.


cargo-dist: 0.5.0 -> 0.7.2

Description of changes
This updates cargo-dist to the latest current release, 0.7.2.
I removed an extra set of package tests because these currently assume a git repo has been checked out. I'm a developer on the project and it's an oversight on our part; we've only tested cargo test from within a git checkout. I'll look into fixing it for a future version.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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

[ ] Fits CONTRIBUTING.md.

lgtm. Please consider adding yourself to maintainers for the package given that you work on this upstream, so that you will receive pings if something goes awry or there are updates :)

Sounds good - I'll do that in the next release!

In the next release, consider adding passthru.updateScript = nix-update-script { };, which will make the r-ryantm bot submit update PRs automatically and ping you with them. Currently there is a bug in nix-update which makes it catch prerelease versions, but I have a PR pending to fix that, and after that's merged, it's worth setting up auto-update on this package by adding that line.

Interesting! Good to know, I'll do this in the next release once your fix is in.


Introduce IRuntime passed to non-pure functions.

This new interface will allow non-pure functions to access global variables from surrounding context.

The experimental branch looks solid. Please merge. Thank you!


utilities: disable mlockall in containers

When OVS is run in a non-priviledged container a system limit will
apply and its possible that this limit will be reached during
normal operation.
To avoid this situation disable all memory locking when OVS is
executed within a container.
Signed-off-by: James Page<EMAIL_ADDRESS>

Hi.
IIUC, after this change it will be not possible to use memory locking inside the container even if user wants to, e.g. if it's a privileged container or if user configured big enough limits.  Shouldn't it be a users' decision to lock or not to lock the memory?  There is an option --no-mlockall for that in ovs-ctl script.

Hi,
Thanks for your contribution.
I am closing this PR as it appears to have gone stale.
If you believe this change is still relevant then please do feel welcome to resubmit it using the preferred mechanism of the Open vSwitch project, the email workflow described in Submitting Patches.


First pass at adding a opt view mode for compiler explorer

WIP: But the code structure should largely be unchanged.
This closes out #332

[ ] There are two todos I want to address. [deferred]
[x] A couple of bugs I need to look at.

[x] Change the title of the tab view

[x] Look into the cache, it is doing strange things.

this actually turned out to be unrelated. It looks like im getting 2 on compileResults on load

[x] Make the button a toggle, currently it just keeps opening editors, this isn’t much use to anyone.
[x] Just check it works with two versions of clang (i need to install another version locally)
[x] Why am I getting 2 compileResults events (this seems to be due to some cache higher up).  https://github.com/mattgodbolt/compiler-explorer/issues/394

This should hopefully work now, if there are any problems let me know.
I usually use code from to test it out.
https://github.com/llvm-mirror/test-suite/tree/master/SingleSource/Benchmarks

Cool! I'll take a look at the view this evening. How ready do you think this is? There's a lot of unticked boxes in the original...perhaps we can help? Very excited about merging. I can keep master "clean" for a bit and we can work in master once the basic stuff is merged? (Happy to add you as a contributor too)

In terms of working and not crashing. I haven't seen it break in a while. so ready!
In terms of me being happy with it to go to master... Probably close.
The last things I would want to do before going to master. Test with 2 versions of clang. Just to make sure that all works.
And change the tabs heading - it currently says "opt" to be something related to the compiler being used.
Disable the button when you have the opt view open - this is in progress.

1 is done. I am working on 2 now.

2 done.
3 to go.. and im happy to land it in master. The others are architectural changes so can be done later.

A comment I left seems to have gone missing :)
If someone wants to test this out more than happy for this to go to master now.

Started looking at this but need to pop out. Will continue this afternoon. I merged locally and ran but got:
info: Loading compiler from ./compilers/default
error: Promise error: [SyntaxError: Unexpected token {] (shutting down)
Program /usr/bin/node ./app.js --language C++ exited with code 1

will investigate later.

Tracked the problem to:
    at Object.<anonymous> (/opt/home/matthew/compiler-explorer/node_modules/compiler-opt-info/lib/index.js:6:10)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10) (shutting down)

Which seems to be a problem in the external compiler-opt-info library.
Looking at the file::
"use strict";
function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./src/LLVMOptTransformer"));
__export(require("./src/OptInformation"));
//# sourceMappingURL=index.js.map⏎

It's not at all clear what's going on with this -- any ideas?

Further investigation:
$ cd compiler-opt-info
$ node --version
v4.2.6
$ node
> require('./lib/index')
/opt/home/matthew/compiler-explorer/node_modules/compiler-opt-info/lib/src/LLVMOptTransformer.js:33
            const { found, endpos } = FindDocumentEnd(this._buffer);
                  ^
SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/opt/home/matthew/compiler-explorer/node_modules/compiler-opt-info/lib/index.js:6:10)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
>

Looks like you're using stuff that's not in node.js 4.x (the Ubuntu 16.04 LTS version).
CE website runs on node v6.10.0, so it's not a problem for that. But it will be a barrier for others using CE in the short term (though I'm not necessarily against that).
Using the CE version of node I can do some testing: yay!

Oh its dying on the destructuring. Ill update the typescript compiler to target a lower version of node and push it up.

Cool! I'm not against it at all but this makes life easier in the short
term. I haven't got it to recognise my local clang install as a clang yet;
but didn't try too hard yet!
On Sun, Apr 23, 2017 at 3:37 PM, jaredwy<EMAIL_ADDRESS>wrote:

Oh its dying on the destructuring. Ill update the typescript compiler to
target a lower version of node and push it up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mattgodbolt/compiler-explorer/pull/393#issuecomment-296486896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmsde8vn9GKtLER0btnHElf2gqmbbZqks5ry7abgaJpZM4NCYM8
.

I have outputting var _b = R.splitAt(endpos, this._buffer), head = _b[0], tail = _b[1];
On the node thing, i use a package called n to manage node versions. Makes testing easier :)
https://github.com/tj/n

OK I give up on getting it to work out-of-the-box. Seems the --target-help doesn't work for clang so the check for supporting the -fsave-optimization-record never succeeds. Am I missing something? :)

@jaredadobe showed me where I was going wrong. All looks great: merging!


Contract.Require(x != null) gets translated in "!(x <= null)" in the documentation rewritten by CC

We have a lot of require not null contracts and I noticed that the contract formatting in the XML doc that used to be csharp="XYZ != null" is now csharp="!(XYZ <= null)". If I look in the xml generated I get:
// XML Generated Now     csharp="!(initialSeq <= null)"
<requires description="initialSeq must not be null" csharp="!(initialSeq <= null)" vb="!(initialSeq <= Nothing)">!(initialSeq <= null)</requires>

// XML Generated Before  csharp="initialSeq != null"
<requires description="initialSeq must not be null" csharp="initialSeq != null" vb="initialSeq <> Nothing">initialSeq != null</requires>

Here is the contract declaration in the C# code:
// Contract declaration in the C# code
Contract.Requires(initialSeq != null, "initialSeq must not be null");

Here is the IL emitted from VS2015 (Update 1 RC) after being rewritten with 1.9.1:
IL_0000: ldarg.0
IL_0001: ldnull
IL_0002: cgt.un
IL_0004: ldstr "initialSeq must not be null"
IL_0009: ldstr "initialSeq != null"
IL_000e: call void System.Diagnostics.Contracts.__ContractsRuntime::Requires(bool, string, string)
IL_0013: nop
IL_0014: nop
IL_0015: br IL_001a

Here is the IL when compiled with VS2013 + Code Contract 1.7 if it can help:
L_0000: ldarg.0
L_0001: ldnull
L_0002: ceq
L_0004: ldc.i4.0
L_0005: ceq
L_0007: ldstr "initialSeq must not be null"
L_000c: ldstr "initialSeq != null"
L_0011: call void System.Diagnostics.Contracts.__ContractsRuntime::Requires(bool, string, string)
L_0016: nop
L_0017: ldarg.1
L_0018: ldnull
L_0019: ceq
L_001b: ldc.i4.0
L_001c: ceq

This is likely cause by Roslyn - Roslyn compiler emits x != null as x > null, whereas the old <= VS2013 compiler emitted it as (x == null) == 0 as you can see from the VS2013 IL above.
ccdocgen likely needs to be updated to understand that x > null also means x != null.

I find the VS2013 IL very interesting. The explicit allowing of cgt.un for null checking has been in ECMA-335 for many years. The IL does make it obvious why you are seeing what you're seeing though! :smile:

I created a pull request with a fix for this specific issue. It's not a more general fix, just for CCDoc. There is an existing class that tries to simplify Boolean expressions for documentation generation. I just added an additional overriding method that looks at greater than expressions, and if it sees something like x > null, it rewrites it as x != null for the documentation.

@ndykman Is it possible to add test case to cover this change?

Would need some guidance on where to set that up. The current regression tests for CCDoc (Microsoft.Research/RegressionTest/CCDoc) would have caught the error if the test DLL was built with VS2015 (the XML wouldn't match the expected XML doc).

@ndykman when you havea fix with bits compiled, I'll be glad to test. So far this issue still force us to keep some  projects un VS2013 (those with CC, CC 1.7) and the other ones are on VS2015. Juggling with 2 IDEs is not convenient.  Thanks

@ndykman I can't remember right from my head is it possible to use the same approach that is used in Foxtrot tests: there are different cases for diferent C# compilers. If that would not be possible, I think it would be OK at least to test private bits with @psmacchia codebase to check whether the fix is good or not before accepting PR.

If you have an url like  https://ci.appveyor.com/project/hubuk/codecontracts/build/1.9.11201.50/artifacts  with new bits including the fix, please let me know

I will look into posting the build as requested.

Still haven't a hard time not having AppVeyor not time out (only have the free plan). So, for now, use this link (http://1drv.ms/1lJBDpL) to get the MSI I built locally. Or, visit (http://1drv.ms/1lJBUcq) for a zipped version of the ccdocgen.exe executable only.

Good news, the issue seems fixed with this last version!!  I now get again XML like
<requires description="project must not be null" csharp="project != null" vb="project <> Nothing">

@ndykman I have a problem with your MSI version:
in a fresh installed VS2015 (Community) Update 1 I get the following error from the static checker:
CodeContracts: BitmapHeaderLibrary: Diagnostic: Failed to connect to any cache.
(1,1): warning : CodeContracts: System.Diagnostics.Contracts.ContractDeclarativeAssemblyAttribute.#ctor()[0x6]: Cannot connect to the cache. The CodeContracts static check will not run

Oh, the build was intended to test the ccdocgen executable. It is possible that maybe something in my fork that is causing an issue, I will look into it.

Merged and should be fixed.


Take the composite metrics and golden tags out of the synthesis section

Relevant information
In a previous schema iteration, we moved everything except for the domain and type into the synthesis section, but non-synthesizable entities also have composite metrics and golden tags and they are not really part of the synthesis.

This will break some open PRs unfortunately, if we merge it would be nice to push commits to those branches updating them.

I've been leaving suggestion edits, should I push the changes directly?


Addition of kube-rbac-proxy to CAPC in generated bundles.

Issue #, if available:
Description of changes:
Addition of KubeProxy to CloudStack in bundle.
Testing (if applicable):
make test
make dev-release; inspect generated bundle
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

Merges tangling this up.  Starting over.


AEROGEAR-2114 - Security Service view added to example app

Motivation
https://issues.jboss.org/browse/AEROGEAR-2114
Description
This PR will add a view to the example app to allow us to run checks and view results during the self-defense check development.
Additional Info.

@aidenkeating @secondsun @TommyJ1994 @wei-lee  mind taking a look when you get the chance please.


missing step component?

RT

Can't find step component in src

Which one do you looking for?
Stepper
Steps


Switching views of a draft

Description
I wish there was an easy (and intuitive) way of switching between the two views of a draft provided by (e.g.)
https://datatracker.ietf.org/doc/draft-halpern-gendispatch-antitrust/09/
and
https://datatracker.ietf.org/doc/html/draft-halpern-gendispatch-antitrust-09
I realise that the "htmlized" button on the first leads to the second, but you have to know that, it isn't really intuitive. And there is no button on the second one that leads to the status page. Both views have their value, so flipping between them should be easy.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

There was a failed PR that replaced the text <pre> on the metadata page with +/- the representation in the /html/ view. It failed mostly becuase it was slightly different, making yet-another-variant of display to contend with. I suggest that up-leveling and putting pressure on combining the views, or making them as similar as possible, would be better.
That said, there is a link back from the /html/ pages to the document main page - it's at the top of the right column, labelled "Datatracker". Clearly that's not intuitive either.

Thanks. I had assumed that the "Datatracker" button would take me to a generic page. Changing it to "Datatracker view" or "Datatracker status" would be much clearer, I think.
The sidebar in the "htmlized" view is ultra-useful. I'm no UI expert, but if it could be linked as "htmlized + diffs" that would definitely help.
Blending the two views would be very hard IMHO. Making it intuitive to flip between them seems more practical.


Remove: Unity.Unity.6000.UWP version 6000.0.3f1

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/pull/186121#issuecomment-2445759087

URL: https://download.unity3d.com/download_unity/019aa96b6ed9/TargetSupportInstaller/UnitySetup-Universal-Windows-Platform-Support-for-Editor-6000.0.3f1.exe
OK
(Automated message - build 923)

URL: https://download.unity3d.com/download_unity/019aa96b6ed9/TargetSupportInstaller/UnitySetup-Universal-Windows-Platform-Support-for-Editor-6000.0.3f1.exe
OK
(Automated message - build 923)

URL: https://download.unity3d.com/download_unity/019aa96b6ed9/TargetSupportInstaller/UnitySetup-Universal-Windows-Platform-Support-for-Editor-6000.0.3f1.exe
OK
(Automated message - build 923)

[Policy] Needs-Manual-Merge


[MATLAB] Implement LifetimeManager for managing arrow memory lifetime

When we create an arrow object in MATLAB (e.g. arrow.Array) we need to ensure the underlying arrow C++ data structures stay alive for the duration of the wrapping MATLAB object's lifetime.
Reporter: Sarah Gilmore / @sgilmore10
Subtasks:

[ ] [MATLAB] Create a templated ObjectMap for storing arrow C++ data structures with IDs
[ ] [MATLAB] Create the LifetimeManager C++ class

Note: This issue was originally created as ARROW-12752. Please see the migration documentation for further details.

Marking this as resolved.
Functionality that is related to what is described in this issue was implemented in mathworks/libmexclass, which is now being used under the hood by the MATLAB Interface.
Specifically the ProxyManager class in libmexclass manages the lifetime of underlying Arrow C++ data structures indirectly by managing Proxy instances.


DB_ADDR: unbound variable

I grabbed the latest from master, loaded it into eclipse, and tried to execute KeycloakContainerTest.java but the container failed to start.
I thought it had worked for me the first time, but I have no idea why it would suddenly stop working, and so I'm guessing that I had just missed the log output that said it failed.
14:00:50.987 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
14:00:51.814 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
14:00:51.815 [main] INFO  org.testcontainers.DockerClientFactory - Docker host IP address is localhost
14:00:51.870 [main] INFO  org.testcontainers.DockerClientFactory - Connected to docker:
  Server Version: 19.03.13
  API Version: 1.40
  Operating System: Docker Desktop
  Total Memory: 7962 MB
14:00:51.875 [main] INFO  org.testcontainers.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
14:00:52.915 [main] INFO  org.testcontainers.DockerClientFactory - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
14:00:52.915 [main] INFO  org.testcontainers.DockerClientFactory - Checking the system...
14:00:52.916 [main] INFO  org.testcontainers.DockerClientFactory - ✔ Docker server version should be at least 1.6.0
14:00:53.064 [main] INFO  org.testcontainers.DockerClientFactory - ✔ Docker environment should have more than 2GB free disk space
14:00:53.424 [main] INFO  🐳 [quay.io/keycloak/keycloak:12.0.1] - Creating container for image: quay.io/keycloak/keycloak:12.0.1
14:00:53.558 [main] INFO  🐳 [quay.io/keycloak/keycloak:12.0.1] - Starting container with ID: 6d5668aa062ba6c8bb4fb6df85fad14149e750c75fd76c9ffd0f0eaf29a49602
14:00:54.016 [main] INFO  🐳 [quay.io/keycloak/keycloak:12.0.1] - Container quay.io/keycloak/keycloak:12.0.1 is starting: 6d5668aa062ba6c8bb4fb6df85fad14149e750c75fd76c9ffd0f0eaf29a49602
14:00:54.037 [main] INFO  org.testcontainers.containers.wait.strategy.HttpWaitStrategy - /dazzling_williamson: Waiting for 120 seconds for URL: http://localhost:32840/auth
14:02:54.063 [main] ERROR 🐳 [quay.io/keycloak/keycloak:12.0.1] - Could not start container
java.lang.IllegalStateException: Container exited with code 1
	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:469)
	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
	at org.testcontainers.containers.GenericContainer$$Lambda$160/0x0000000000000000.call(Unknown Source)
	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:323)
	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
	at dasniko.testcontainers.keycloak.KeycloakContainerTest.shouldStartKeycloak(KeycloakContainerTest.java:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210)
14:02:54.108 [main] ERROR 🐳 [quay.io/keycloak/keycloak:12.0.1] - Log output from the failed container:
Added 'admin' to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json', restart server to load user

/opt/jboss/tools/docker-entrypoint.sh: line 165: DB_ADDR: unbound variable

I checked the docker-entrypoint.sh and it should only get to this line if DB_VENDOR is set to "postgres".  I looked all over and I cannot understand what could be setting that.  I ended up working around the issue by dropping this line into KeycloakContainer.configure:
withEnv("DB_VENDOR", "H2");

With that, its now working for me.

This seems to be a configuration issue with your local/used environment, not with the Keycloak Testcontainer itself.
See also here, perhaps there's an approach which may help you: https://keycloak.discourse.group/t/db-addr-unbound-variable-error/2077

Thanks @dasniko.  I still have no clue why Keycloak thinks it should use Postgres (I double-checked that I have no related env vars in my session), but as I mentioned above I was able to override that by explicitly setting DB_VENDOR to H2.  I agree thats not an issue with this project, so let's mark this one closed.

Figured out the cause of my issue and posted it at https://keycloak.discourse.group/t/db-addr-unbound-variable-error/2077/12
The keycloak db type detection algorithm seems a bit brittle, so it might be a good idea to recommend folks to set DB_ADDR explicitly.

Good hint, @lmsurpre
Will think about setting this as a default.
Thank you!


Kubernetes set Reclaim Policy to "Delete"

PersistentVolumes don't get deleted when deleting a VolumeClaim, because the Reclaim Policy is "Retain". It should be changed to "Delete".

We're inheriting the reclaim policy from the defined storage class. It should be handled on the infrastructure layer, not on the application layer. Some administrators may want to keep the deleted workspace and manually "confirm" the deletion, while some want to delete them directly.


Fix theme persistence

Fixes #1, #5
I found out that for all the themes className returned by LafManager.getInstance() seems to be either com.intellij.ide.ui.laf.IntelliJLaf or com.intellij.ide.ui.laf.darcula.DarculaLaf which makes it impossible to use any theme besides Default and Darcula.
Switching persisted theme data to name works just fine so I settled on that.

Built plugin for those unwilling to checkout and compile.

Thanks for this! I haven't had time recently to work on this myself, but I'll push an update for the plugin soon enough.

Thank you for the lighting fast merge!


tm.unwrap: Error when out_vectors is list [documentation]

import jax.numpy as jnp
import tree_math as tm

def f(x, y):
  return x, y

x = y = tm.Vector(jnp.array(0.))

tm.unwrap(f, out_vectors = (True, False))(x, y)
# (tree_math.Vector(DeviceArray(0., dtype=float32, weak_type=True)), DeviceArray(0., dtype=float32, weak_type=True))
tm.unwrap(f, out_vectors = [True, False])(x, y)
# ValueError: Expected list, got (DeviceArray(0., dtype=float32, weak_type=True), DeviceArray(0., dtype=float32, weak_type=True)).

This is definitely just due to a lack of documentation since out_vectors has to be a pytree with the same structure as the return value.


push               Push service images

completed by https://github.com/osl-incubator/containers-sugar/pull/77


Support page misses that organizational asset library now also works for Excel and Word files

The support page only focusses on Powerpoint templates, but for us it successfully works to push Word and Excel templates as well. Documentation should be updated.

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

ID: 5bacce83-65f6-b862-e413-09122aee356d
Version Independent ID: 5c4e1169-1d5d-6e0d-d574-f3aaba0a5d92
Content: Create an organization assets library - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/organization-assets-library.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Duplicate of https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/2904


Type instantiation is excessively deep and possibly infinite.

Reproduction

Install Nuxt 3.1.0
Install Nuxt-svgo

Reproduction link

Any update on this? I'm facing the same issue.

I have the same problem, Nuxt 3.3.3.

Poke @cpsoinos

Hi @provok-it - sorry I haven't kept up with issues in this repo. I no longer use Vue or Nuxt regularly (my company uses React and Next.js). I'll try to take a look at this this evening.

Thank you for your quick response @cpsoinos.
Could you talk with Atinux or Pi0 at Nuxt to help them point out a new maintainer in this case?

Hey @provok-it, this appears to have been an upstream issue with Nuxt, reported here: https://github.com/nuxt/nuxt/issues/13897
When using the latest version of nuxt (at present, 3.4.2) with<EMAIL_ADDRESS>the problem disappears: https://stackblitz.com/edit/nuxt-starter-eq92w1?file=nuxt.config.ts

I get this error with nuxt 3.7.4 and<EMAIL_ADDRESS>:,(

Yeah I currently only have this issue with this module though we are using about 7-8 modules :/

Hi @lovkyndig  @gbyesiltas
sorry for the late response
according to this comment by danielroe, it seems this is an issue with "multiple versions of nuxt/schema or kit installed"
can you upgrade your nuxt, or maybe delete your lock file and try installing packages again and see if it resolves the issue ?

Thanks for your advice!
I have confirmed that the issue is only existing in my windows machine. If I remove the
// @ts-ignore
in front of the first error in nuxt.config, before deploying it on vercel, it's working fine on internet.
But in my local development, I need // @ts-ignore, else it will not build, dev or anything.
I have no nuxt/schema, but I have @nuxt/kitinstalled: I will try to remove @nuxt/kit.
Thanks @jd1378

Yippi!
That was the thing!
Removing @nuxt/kitand everything is working fine :)
Thank you so much @jd1378

I'm glad the fix was simple


C++ compilation of rule '//tensorflow/core/kernels:softsign_op'

Under Windows-10 I have tried to build TensorFlow 2.2 from the source and it ends with the following error
ERROR: C:/tensorflow/tensorflow/core/kernels/BUILD:4748:1: C++ compilation of rule '//tensorflow/core/kernels:softsign_op' failed (Exit 2)
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\corecrt_search.h(14): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 9402.886s, Critical Path: 4760.75s
INFO: 6735 processes: 6735 local.
FAILED: Build did NOT complete successfully

@peter197321
Can you please refer to these links and let us know if it helps:
link link1 link2


Build error on windows

When building ZLS on windows, the following error comes from known-folders:
C:\Users\Martin\Projects\zls>zig build -Drelease-safe
C:\Program Files\Zig\Current\lib\std\mem.zig:664:19: error: deprecated; use use std.mem.span() or std.mem.sliceTo()
pub const spanZ = @compileError("deprecated; use use std.mem.span() or std.mem.sliceTo()");
                  ^
.\src\known-folders\known-folders.zig:72:97: note: referenced here
                            const global_dir = std.unicode.utf16leToUtf8Alloc(allocator, std.mem.spanZ(dir_path_ptr)) catch |err| switch (err) {
                                                                                ^
zls...The following command exited with error code 1:

This should be already resolved on latest master, can you confirm?

Yep, this is fixed now, thanks!


Prevent multiple ajax calls from jquery datatable while search

Prevent multiple ajax calls from jquery datatable while search

Code snippet of problem

System details

Operating System
PHP Version
Laravel Version
Laravel-Datatables Version

code is not sohwing


Feature Request: RGB Slider or Wheel for lights

Hi Im not sure if this is possible already or not but having a slider or wheel to set the color of lights is about the only thing I am missing on this dashboard. Thanks for all the work you have put into this!

Here is the state of an Ikea tradfri lamp with a color set
{
"min_mireds": 250,
"max_mireds": 454,
"brightness": 254,
"hs_color": [
240,
100
],
"rgb_color": [
0,
0,
255
],
"xy_color": [
0.136,
0.04
],
"friendly_name": "Vardagsrum",
"supported_features": 51,
"icon": "mdi:lamp"
}

Unfortunately this is not something which can be implemented at the moment


rcpputils: 2.4.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rcpputils to 2.4.0-1:

upstream repository: https://github.com/ros2/rcpputils.git
release repository: https://github.com/ros2-gbp/rcpputils-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: 2.3.2-2

rcpputils
* Install includes to include/${PROJECT_NAME} (#160 <https://github.com/ros2/rcpputils/issues/160>)
* Contributors: Shane Loretz

Please hold for coordinated merge.


Python 3 compatibility with --no-web option

Fixes logging during locust hatching when using --no-web with Python 3.
(previously a "ImportError: No module named 'runners'" error is raised and no logging occurs)

Thanks @mrsanders, this is a duplicate of https://github.com/locustio/locust/pull/438, which is older so I'll keep that one around and close this.

Thanks!


chore(examples): Call Routes::prepare

Calls Routes::prepare in examples.

Why? What does it do/why is it valuable? If it works without it, it looks like pure noise.

No, it is not noise. This is recommended because it uses axum's router internally. Examples should show how it should be used.

You haven't answered my question. I mean "noise" not in a disparaging but in a technical sense, as in, code that is unnecessary (since it apparently compiles just fine without it). So why is it better to call prepare() on these?

Okay, can you link that recommendation here? Essentially I'm asking why Axum recommends this.

https://docs.rs/axum/0.7.5/axum/routing/struct.Router.html#a-note-about-performance


houdini 18.5.596 -> 19.5.569

Description of changes

added missing libs to buildHFSUserEnv's targetPkgs
exposed more useful executables provided by houdini
using bwrap to bind /run/opengl-driver/etc/OpenCL/vendors -> /etc/OpenCL/vendors in wrapper to use opencl with houdini's own version of libOpenCL.so

does not work with new buildFHSEnv from #225748 , so using buildFHSEnvChroot instead

Things done

Built on platform(s)

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

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

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

[x] 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/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

While update commits can certainly include all the changes required for the update compared to the previous version, in this case the previous version was already broken (I assume?). I think I'd prefer you put the things you did into separate commits. Fix up the drv first, then upgrade to v19 + things that are different for v19 specifically.

While update commits can certainly include all the changes required for the update compared to the previous version, in this case the previous version was already broken (I assume?). I think I'd prefer you put the things you did into separate commits. Fix up the drv first, then upgrade to v19 + things that are different for v19 specifically.

split the update into 2 commits: one fixes FHS env, second updates version.
i have not tried to build the 18.5 original package, but i bet it was not fully functional, as for example opencl parts and karma parts did not change that much in houdini from 18.5->19.5.
therefore i've just packed all changes to FHS in one commit (not splitting into something that fixes particularly version 18.5 and something new required only in 19.5)

Please split the second commit into four and adhere to the commit message guidelines.

commit split. messages adjusted

Nit: Commit messages are usually written in simple past.

Um, sorry, simple present. I was tired.


[NEST] Type or namespace name 'ElasticsearchProject' could not be found

Hi,
I feel kind of stupid for writing this, but I can't seem to get any of the example code to compile because of a missing declaration of ElasticsearchProject.
      var request = new SearchRequest
        {
            From = 0,
            Size = 10,
            Query = new QueryContainer(new TermQuery
            {
                Field = "name",
                Value = "NEST"
            }
            )
        };

        var results = client.Search<ElasticsearchProject>(request);

Error	1	The type or namespace name 'ElasticsearchProject' could not be found (are you missing a using directive or an assembly reference?)
I tried searching and I seem to be the only one on the entire planet experiencing this. I'm on VS 2012 Express, if that helps.
Nuget package dependency:
<package id="NEST" version="1.7.1" targetFramework="net45" />
What am I missing?
Thanks,
Elad

ElasticsearchProject is part of the Nest.Tests.MockData assembly and is not part of NEST itself.  It's just a POCO we use for testing and isn't required to use NEST.
If you want to copy the doc examples verbatim then you can copy over ElasticsearchProject into your project, but you'll also have to copy over other classes that it depends on: https://github.com/elastic/elasticsearch-net/tree/develop/src/Tests/Nest.Tests.MockData/Domain.

I see. How am I supposed to run the examples without referencing the Nest.Tests.MockData assembly?
I think the documentation should be changed as this is very confusing to a NEST newcomer, especially since the Nuget Install-Package command doesn't include that assembly and so the example code just doesn't compile.

The purpose of the documentation is to demonstrate how to us the NEST API, and not really meant to be copied and ran verbatim.  You should be substituting ElasticsearchProject with a real POCO from your project.
That said, if you want to run the examples verbatim, then you can copy the MockData POCOs into your project as explained above, or you can clone the GH repo and reference Nest.Tests.MockData.


Monte Carlo estimation of Pi

Python code for the estimation of pi via Monte Carlo simulation

put the file in a folder following the readme instructions


Login / family account

Hi, not an issue but a question and being too lazy to really read through your code.
Does this module support logging in to deezer with an email address and does it also support then switching to a „subprofile“ of a deezer family account? Thus making downloading of this subaccounts playlists possible.
thanks in advance!
jojo

hi again, just read your readme.md a little  closer and found out that login is realized using the arl token found in cookies. so thequestion which remains is  now only the support of family subaccounts. it could be easily answered by checkin the arl string in cookies and switching back an forth between subaccounts, seeing if it changes. i cant check it myself right now because i dont have a computer until next week. if you know by heart please tell me, if not i will try this when i am back home.
thanks for this python library in any case sounds promising!
all the best.
jojo

Does this module support logging in to deezer with an email address

Not right now, no. Right now the only way of logging in is through the ARL cookie. I have some ideas on how to support logging in with email address but I don't really have the time right now and its currently not my priority in this module.

Does it also support then switching to a „subprofile“ of a deezer family account?

I'm sorry but I haven't had the resources to check how it works on Deezer family accounts. But if Deezer treats those subaccounts like a regular account, they should provide unique ARLs for each subaccount.

Thus making downloading of this subaccounts playlists possible.

If the playlist is not private, it can be easily searched and downloaded using this module even if you an account that is not the owner of the playlist.
Hope this answers your concern.
Thank you for showing interest in this module.

Not right now, no. Right now the only way of logging in is through the ARL cookie. I have some ideas on how to support logging in with email address but I don't really have the time right now and its currently not my priority in this module.

for me personally arl would be sufficient.

I'm sorry but I haven't had the resources to check how it works on Deezer family accounts. But if Deezer treats those subaccounts like a regular account, they should provide unique ARLs for each subaccount.

it seems to be different but i am not sure and will check. workflow is logging in with the one email address that is shared with the whole family account members. then in deezer interface you have to switch to your account. similar to netflix btw.
some tools like deezloader remix dont support family accounts. you put in the family mail address but then dont have the option to switch to your particular subaccount. the deezloader interface just does not have that and you stay within the account that registered the family account.
for comparision in spotify each family member logs in with his/her own email address.

If the playlist is not private, it can be easily searched and downloaded using this module even if you an account that is not the owner of the playlist.

this  could be a workaround even if arl and subaccounts dont work :-)

Hope this answers your concern.

yes will test some and report back.

Thank you for showing interest in this module.

thanks a lot for your quick reply. appreciated!

Hi I switched to spotify and dont have a deezer family account anymore, so dont currently have the resources to test this. my apologies, i think you can close this issue/question.


inference result blurry

This is a great project!
this is my infrence result:

head train 10w step.torso train step 1.4w step. head is blurry. how can i  fix it ?
What is the recommended number of training steps,both head and torse. thanks.

Consider crop the video to make the head larger in the frame. To se whether the artifact disappear.


use op-style currying for R.has

Any objections? :)

have you benched it? I'm curious to see what it costs

have you benched it? I'm curious to see what it costs

There's no cost as we're using uncurried _has internally.

i think i responded to the wrong pr

Does anyone object to merging this pull request? I'd like to pull in these changes regardless of what happens with #817 as there's value in having an uncurried version of such an important function.

do it
:cow2:


from casacore.tables import table does not fail with ImportError: libfftw3f_threads.so.3: cannot open shared object file: No such file or directory

It seems that casacore has forgot to add a dependency:
https://github.com/i4Ds/Karabo-Pipeline/actions/runs/4280803718/jobs/7453072817
The same tests also fails locally for me on a new dev-env.

related to wrong fftw import - will be fixed with the rel_v14 dep tree

The test succeeded in the workflow on the branch LG_298_docker .

@kenfus is it solved since the release v0.15.0? If yes, we could close this issue.