text:
🛑 Snapcraft.io store page is down

In d371eec, Snapcraft.io store page (https://snapcraft.io/store) was down:

HTTP code: 503
Response time: 95 ms

Resolved: Snapcraft.io store page is back up in ffb8fc8 after 17 minutes.


text:
Provide unit tests for SimpleUrlToAppDomainConverter

🆕🐥:dog: First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
:space_invader: Description of the issue
Currently we do not have any unit test for the class. Since it do not depend on any other classes tests can easily be written for the class.
📋 Step by Step

🙋 Claim this issue: Comment below.
🔄 replace the up for grabs label with in progress.
:fork_and_knife: fork the repository in github by simply clicking the 'fork' button.
:arrow_heading_down: check out the forked repository
:twisted_rightwards_arrows: create a feature branch for the issue. We do not have any naming definition for branches.
💾 Commit your changes.
🔀 Start a Pull Request.
🏁 Done 👍 Ask in comments for a review :)
🔬 If the reviewer find some missing peaces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
:boom: you did it! We will merge the fix in the master of the Dolphin Platform project.
:bouquet: Thanks, thanks, thanks for being part as an open source contributor for Dolphin Platform

🤔❓ Questions
You can join our community chat at Slack

hi, I was wondering if a new folder needs to be created for this, or you have folder you would like this to be in.

If no one has claimed this yet, I'd like to work on it.

I would like to claim it

source: gharchive/issue

authors: bsemexan encschae hendrikebbers potapczuk

repo: canoo/dolphin-platform

license_type: permissive

license_source: bigquery


text:
Retrying HTTP requests help

Hi,
building on #640 where I download a series of gziped files and stream them into a target file on disk, I want to add in some retry functionality into the requests using a module like retry-request.
const zlib = require('zlib');
const fs = require('fs');
const request = require('retry-request');
const _ = require('highland');

function download (urls, path) {
  const tmpPath = path + '-tmp';
  const unzip = zlib.createGunzip();
  const output = fs.createWriteStream(tmpPath);

  const getUrl = url => {
    return _((push, next) => {
      const options = {
        url,
        retries: 10
      };
      request(options)
        .on('response', resp => {
          if (resp.statusCode === 200) {
            push(null, _(resp));
            push(null, _.nil);
          } else {
            push(new Error('Something went wrong'));
            push(null, _.nil);
          }
        });
    });
  };

  let error;

  return new Promise((resolve, reject) => {
    _(urls)
      .flatMap(getUrl)
      .parallel(5)
      .through(unzip)
      .stopOnError(err => error = err)
      .pipe(output)
      .on('finish', () => {
        console.log('finish');
        if (error) return reject(error);

        fs.rename(tmpPath, path, (err) => {
          if (err) { return reject(err); }
          return resolve(path);
        });
      })
      .on('error', reject);
  });
}

What happens when I run this is the first 5 URLs are downloaded OK and then execution just stops. There appear to be no errors so I am not sure what is happening.
Anybody able to shed any light on this behaviour and why it might not be working? Has anyone implemented similar functionality?

Does the download work with regular request instead of retry-request?
I tried downloading google.com and it worked (using Node v8.9.1), so I'm not sure what's going on. I had to set Accept-Encoding to get Google to send me zipped content, and I had to update the pipeline in download so that the downloads are actually done in parallel.
Here's the diff
diff --git a/test.orig.js b/test.js
index d5ab29b..6e3cac9 100644
--- a/test.orig.js
+++ b/test.js
@@ -9,10 +9,15 @@ function download (urls, path) {
   const output = fs.createWriteStream(tmpPath);

   const getUrl = url => {
+    console.log(`GET ${url}.`);
     return _((push, next) => {
       const options = {
         url,
-        retries: 10
+        retries: 10,
+        headers: {
+          'Accept': 'text/html',
+          'Accept-Encoding': 'gzip',
+        },
       };
       request(options)
         .on('response', resp => {
@@ -31,8 +36,9 @@ function download (urls, path) {

   return new Promise((resolve, reject) => {
     _(urls)
-      .flatMap(getUrl)
+      .map(getUrl)
       .parallel(5)
+      .sequence()
       .through(unzip)
       .stopOnError(err => error = err)
       .pipe(output)
@@ -48,3 +54,19 @@ function download (urls, path) {
       .on('error', reject);
   });
 }
+
+download([
+  'https://google.com?a=1',
+  'https://google.com?a=2',
+  'https://google.com?a=3',
+  'https://google.com?a=4',
+  'https://google.com?a=5',
+  'https://google.com?a=6',
+  'https://google.com?a=7',
+  'https://google.com?a=8',
+  'https://google.com?a=9',
+  'https://google.com?a=10',
+  'https://google.com?a=11',
+  'https://google.com?a=12',
+  'https://google.com?a=13',
+], 'output.txt').then(() => console.log('done.'), console.log);

Thank you for your investigation. I was not aware that I needed to add in .sequence() for parallel to work properly.
It works correctly when using request. I spent most of yesterday trying to make a reproducible example and work out what was happening. I can only reproduce the problem with live data and only in specific cases although I have not been able to work out what the particular difference is that causes the problem.
I can reproduce the issue when downloading a single file and the symptom is the program just exits while the data is being written to a file. Looking at the write stream evens i get a series of drain events called. Then execution exits and I cannot see why. close is never called on the write stream.
I have had to concede defeat and look for other options to achieve the retry functionality. It does appear that the problem is in retry-request not highland given that that is the bit that is changing in this example.
Thanks again for the reply.

repo: caolan/highland

license_source: github-api


text:
Update es/validation.php

Provide the spanish translation for the distinct attribute.

Gracias

source: gharchive/pull-request

authors: caouecs scrubmx

repo: caouecs/Laravel-lang

license: MIT


text:
cds compile documentation issue

https://cap.cloud.sap/docs/guides/databases#using-cds-compile-2-dialect

In this documentation, it is mentioned that postgres dialect will work (TIP section) . however it is not working.
Error: Unknown model processor: cds.compile.to.postgres

Hi @AjitKP ,
Thanks for opening this issue. I'm aware of this and already working on a fix. Please use cds deploy --to <dialect> --dry to get the required DDL.

authors: AjitKP renejeglinsky

repo: cap-js/docs


text:
Ability to remove onDisconnected callback after connecting to device.

Discussed in https://github.com/capacitor-community/bluetooth-le/discussions/547

Originally posted by abdulraheemawan June 15, 2023
First of all, great work @pwespi. The plugin is so cool.
I have been reading the docs up & down for quite some time and couldn't find a way to disable the ondisconnect callback provided during the connect call after the fact.
The problem is that I have implemented a functionality where the device auto connects if the connection drops using a exponential backoff function but if the user disconnects device manually then this auto connect stuff should not happen.
Here's how this happens.
async function connect(){
  var self = this
  await BleClient.connect(self.bluetoothDevice.deviceId, (deviceId) => {
    self.onDisconnected(deviceId)
  });

  await BleClient.startNotifications(
    self.bluetoothDevice.deviceId,
    UHF_READER_SERVICE,
    UHF_READER_RFID_CHARACTERISTIC,
    (value) => {
      self.handleNotifications(value);

    }
  );
}

async function disconnectDevice(forget=false) {
  var self = this
  if (this.uhfRfidConnectedStatus) {
    console.log('> Notifications stopped')
    await BleClient.stopNotifications(
      self.bluetoothDevice.deviceId,
      UHF_READER_SERVICE,
      UHF_READER_RFID_CHARACTERISTIC
    );
    await BleClient.disconnect(self.bluetoothDevice.deviceId);
    self.uhfRfidConnectedStatus = false;
    if(forget){
      self.bluetoothDevice = null;
    }
  }
}

async function onDisconnected(){
  var self = this;
  console.log('Bluetooth Device disconnected');
  this.uhfRfidConnectedStatus = false;

  setTimeout(function() {
    self.exponentialBackoff(5, 3, self.connect())
  }, 2000);
}

async function exponentialBackoff(max, delay, toTry) {
  var self = this;
  if(this.uhfRfidConnectedStatus==false){
    this.connect();
    console.log('Retrying in ' + delay + 's... (' + max + ' tries left)');
    setTimeout(function() {
      if(max>1){
        self.exponentialBackoff(--max, delay * 2, toTry);
      }
    }, delay * 1000);
  }
}

The problem is using normal WebBluetoothAPI we could do something like
self.bluetoothDevice.addEventListener('gattserverdisconnected', self.onDisconnected);

and in the disconnect function we could remove this listener so that if the user had manually disconnected we'll not try to connect to the device using the onDisconnected callback.
But here I couldn't find a way to reproduce this functionality.
The app is vueJS so please ignore the this and self keywords.
Any help is greatly appreciated. Happy coding.

closing as duplicate of #547

authors: abdulraheemawan pwespi

repo: capacitor-community/bluetooth-le


text:
Splash screen in v5 seems to be broken

Describe the bug
After updating to 5.0.1 the splash screen is nearly blank. But after taking a closer look the splash.png is in the upper left corner, but super tiny.
To Reproduce
Steps to reproduce the behavior:

update to v5
config a splash screen
yarn cap open @capacitor-community/electron

Expected behavior
Show the spash.png filling the view.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Ubuntu
Version 23.10

Additional context
I guess this change is leading to this behaviour: https://github.com/capacitor-community/electron/blame/f7ce86454469e967b41c1db8f51ddb942d278ca9/src/electron-platform/ElectronSplashScreen.ts#L48
I also played around with the before and after html snippets an ran in the same issue.

Its already fixed and in the main branch:
Fix: Put the image size into the splashscreen #272
but we need a new release for that at npm :)

Ok. But that is just a PR, so it is not on the main branch. There is even another PR for this issue https://github.com/capacitor-community/electron/pull/201

@Frooger  any plan on merging this PR?

authors: Frooger WolfWalter tradingproject19

repo: capacitor-community/electron


text:
Refactor enumeration of deployed releases

As mentioned in #994, our project structure requires folders other
than actual releases to exist in the releases_path. To be able to
customize the logic to enumerate releases (to exclude said non-
release folders), it has been refactored into a "configuration lambda"
:releases.
:warning: We haven't extensively tested this change yet. I hope that I didn't introduce any subtle errors, but you never know :smile: Hopefully some people can test this with their deployment to see if it breaks anything. The affected tasks should be deploy:cleanup (and thus implicitly deploy) and deploy:rollback.
I would write unit tests, but there doesn't seem to be a SSHKit backend suitable for that purpose at the moment. If there is and I just have missed it, please point me to it!

@leehambley is this already merged - or are you missing something?
I've rebased & updated my branch - should I open a second PR which closes this one?

@Kriechi Thanks for the rebasing! I've updated the branch to your state :)
@leehambley Can we :shipit: or should I close the PR?

Could ship it I think, I'll need to review when I'm at my PC.
On 17 Apr 2015 12:19 pm, "Lucas Jenß" notifications@github.com wrote:

@Kriechi https://github.com/Kriechi Thanks for the rebasing! I've
updated the branch to your state :)
@leehambley https://github.com/leehambley Can we [image: :shipit:] or
should I close the PR?
—
Reply to this email directly or view it on GitHub
https://github.com/capistrano/capistrano/pull/1046#issuecomment-93959538
.

:sparkles:

@x3ro Are you still around and up for continuing the discussion on this PR? I have some concerns that hopefully you can address and then we can merge this in.

releases is a very ambiguous term for something that has to provide very specific data. If for example a user overrides releases but does not sort correctly, they will be in for a nasty surprise the first time a cleanup or rollback occurs. I want to mitigate this scenario (which could involve data loss) if at all possible.
The default value for releases (or whatever it comes to be named) should go in defaults.rb, IMO.
Merge conflicts need to be resolved.

To guard against user error when defining releases, perhaps we can do something like:

Change the name to release_basenames_sorted to make it clear we expect it to provide basenames (i.e. not complete paths) and sorted oldest to newest.
Open a corresponding PR in the documentation to explain its usage.
As a safety measure, make sure when cleaning up old releases, we check to make sure we aren't deleting the current release (which would happen if the sorting is incorrect).

Closing due to inactivity.

authors: Kriechi leehambley mattbrictson x3ro

repo: capistrano/capistrano

license: mit


text:
[POC] Next.js example

~Here's the start of a Next.js example app. Note that it's stacked on top of https://github.com/captbaritone/grats/pull/67 which is needed because dynamic imports won't work in Next.js due to their bundling approach.~ https://github.com/captbaritone/grats/pull/67  has merged.
Also note I had to upgrade TypeScript to support the new "bundle" module type.

I think the TypeScript upgrade breaks the Playground

repo: captbaritone/grats


text:
[TimeSeriesCard] alert markup never actually marks up in the tooltip

What package is this for?

[x] React
[ ] Angular

Describe the bug
https://dashboard-dev.connectedproducts.internetofthings.ibmcloud.com/explore/robot_alert_table/entity/73000

You can see that the alert isn't added to the time series tooltip markup correctly any more.  Perhaps this is due to a carbon-charts upgrade

:tada: This issue has been resolved in version 2.115.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
[DateTimePickerV2] horizontal bar should not show up

What package is this for?

[x] React
[ ] Angular

Describe the bug
A horizontal bar show up when width is set to 100%.
To Reproduce
Steps to reproduce the behavior:
https://user-images.githubusercontent.com/24279794/192625880-5fb02567-c8fb-47ea-b924-ea148a722ac6.mov

Please create a reduced test case in CodeSandbox:
https://codesandbox.io/s/github/carbon-design-system/carbon-addons-iot-react/tree/next/packages/react/examples/codesandbox

Expected behavior
A clear and concise description of what you expected to happen.
Environment/versions:

OS: [e.g. MacOS, Windows]
Browser: [e.g. chrome, safari]
carbon-addons-iot-react version: [e.g. v2.60.0]

Additional context
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

I couldn't reproduce the horizontal bar.
https://user-images.githubusercontent.com/24279794/192629582-84c03b1f-1bb5-420d-8da3-66e99784e06e.mov

@abhishekpaul mentioned it is reproducible.
"Put .iot--date-time-pickerv2__wrapper width as 100% and in your PAL storybook .storybook-container has 3 rem padding all over the component if you removed that or reduced to 1rem you can reproduce it"

I removed the padding on storybook-container and set width to 100%

I can see DateTimePickerV2 is 100% wide within its parent.

The horizontal bar belongs to html. There is a gab between html and the parent document object.

@davidicus I couldn't figure out what might cause the extra space on the right. Maybe you saw it before?

@jessieyan It looks like this is caused by the button tooltip. We hide this tooltip for this component so we can apply an overflow: hidden to the div with the class iot--flyout-menu iot--flyout-menu__bottom. That should solve this issue.

authors: davidicus jessieyan


text:
How to customize theme? [proposed label] question discussion

Is there a way to customize theme other than overwriting css manually? If not there are some plans or ideas in order to address that?
[proposed Label] question

Hey, have you checked out themes.carbondesignsystem.com? You can also take a look at this repo for an example style sheet on how to override our styles. Hope this answers your question!


text:
fix(code-snippet): update skeleton story info and spacing

The style wasn't really adding any space between the 2 skeleton components in the CodeSnippetSkeleton story, so I removed it and added a
 instead.
Also noticed the info was missing some text, so added that.
Changelog
Changed

remove style from CodeSnippetSkeleton, use
 instead
update CodeSnippetSkeleton info.

👋 Hello
I'm on react.carbondesignsystem and I can't seem to see that styling bug. I'm seeing the 8px margin being applied (at cursor). But I could totally just be missing something.

Hey @dakahn! I think my wording was a little ambiguous -- there's a padding being applied, not a margin. As a result, there's no "visual" spacing that I think was originally intended here?

Ah, I see. Should we add a margin attribute instead of the less-semantic
 element? Could be easier to debug in the future.

@dakahn Update is in 👍

authors: dakahn jendowns


text:
feat(tree-view)!: rename children prop to nodes for Svelte 5 compatibility

Fixes #2013
TreeView silently fails when using it with Svelte 5 because the children prop is reserved.
To fix this, rename the children prop to nodes. Additionally, rename the children property on nodes to nodes. This is to avoid confusion, but it's also necessary since TreeViewNodeList is a recursive component (i.e., passes props to svelte:self).
This is a breaking change but should be relatively straightforward to adapt to.

Released in v0.86.0


text:
[Figma] Lightbox media viewer (Christian Fritsche)

WIP design

10/27 left some comments to address. Looks so good, just some details to fix and we'll merge

10/31 – Christian plans to add overflow updates in November. Otherwise it's accepted for the v2 beta release.


text:
fix(lightbox-media-viewer): scrollbar disabled fix

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/2460
Description
This is a very unusual problem that only occurs at a very small resolution range and from my tests, only on chrome for windows since macos hides scrollbars while not in use. Might be a browser bug but I couldn't find anything online.
To replicate you need to resize the window until the content is about to overflow. It will show a disabled scrollbar for a small range until it actually needs to enable it even if overflow-y is set to auto, which shouldn't happen.

The range is always 16px which is exactly the width of the scrollbar.
For example, I found this 2 ranges where it happens:
1002px x 749px to 1018px x 749px
1200px x 687px to 1216px x 687px
It's happening on both lightbox media viewer stories:

The only way I found to fix it was to use the deprecated css rule overflow-y: overlay which overlays the scrollbar instead of taking up space. It's still fully supported by webkit/blink-based browsers and from my tests doesn't affect other browsers but content might appear behind the scrollbar. This had to be applied to the expressive modal container.

@asudoh, from my research only supported in WebKit-based (e.g., Safari) and Blink-based (e.g., Chrome or Opera) browsers, but deprecated. It worked on Chrome on my PC. Couldn't test it Mac OS since hides the scrollbars while not in use.

Couldn't test it Mac OS since hides the scrollbars while not in use.

@NSDrowned You can change this behavior so you can test it.
System Prefs > General > Show scroll bars

@kennylam, thanks! Just tested it:

Seems to happen in chrome for mac os too, but not happening in Safari. I'm thinking it might be a Chrome bug. There's no reason for a disabled scrollbar to show if it's not needed.

@asudoh and @kennylam, I tried to find another solution but couldn't find anything that worked. Almost convinced it's bug in Chrome. Not sure what can be done about it or if it's worth waiting for a fix since it's a very small range when it happens. Any thoughts?

@NSDrowned this can wait. Let's get the Carbon upgrade bugs in first.

@NSDrowned just checking on this, is this PR still active?

Closing... not a suitable fix.

authors: NSDrowned jeffchew kennylam


text:
feat(tutorial): complete step 2 Ottawa

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

No updates in 90 days. Closing.

repo: carbon-design-system/carbon-tutorial


text:
docs(component status): Component status page is stale and updates are not automatic

Overview
The Component status page has not been updated to reflect the stated version at the top of the page. At the moment, this page requires manual updates and that step hasn't effectively made it into our development workflow.
The existing format also doesn't surface status for component variations.

Next steps
Research
@jeanservaas has already done extensive exploration into redesigning this page. We need to determine whether the data can be populated and updated automatically via GitHub's API.
Other design systems have come up with novel solutions to the same issue and we can look to them for inspiration.
Immediate solution
We need a near-immediate solution to this page. An inline notification along with a CTA resource link to this issue would probably solve our problem in the near term while we build out a more robust solution.

Polaris
Link

Thumbprint
Link

Quickbooks
Link

UK.GOV
Link

repo: carbon-design-system/carbon-website


text:
Patterns: Features Bands

LARAHANL created the following on Dec 19:
User story
As a author of ibm.com pages I need a pattern that I can use to describe features of product.
Notes
We need to provide DGC teams with example bands and layouts so they can start designing with IDL.
History
A few bands have been designed for this user needs through STUF, and NUT works, as well as in collaboration with Watson Marketing team.
Examples

Original issue: https://github.ibm.com/webstandards/digital-design/issues/414

On Dec 19, LARAHANL commented:
Using Mural to map out content we might include: https://app.mural.co/t/ibm14/m/ibm14/1545222710734/1ae170819c6320267b72a871ea7d1f8a72eda1ba

On Feb 01, Wonil-Suh1 commented:
@LARAHANL thank you for setting up the mural board!

On Feb 01, LARAHANL commented:
@Wonil-Suh1 sure! I've got this issue open for principles (which you'll find in the Mural). If you have time to read through / add comments that would be awesome.

On Aug 06, larahanlon commented:
Need to:

Collect band examples from Wonil
Consider best way to share these bands with DGC adopters eg. Patterns repo
What additional guidelines do we need to provide?

This is old work and no longer relevant as per new pattern ontology. Closing.

repo: carbon-design-system/ibm-dotcom-library


text:
Disable or Hide Row Actions for each row actions if the number of Row actions is less than three

Disable or Hide Row Actions for each row actions if the number of Row actions is less than three
What package(s) are you using?

[X] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.

In the DataGrid, for a particular row, if I have less than 3 row actions, I will be unable to hide or disable the row actions

Is this issue related to a specific component?
DATAGRID

What did you expect to happen? What happened instead? What would you like to
see changed?

If I have less that three row actions against each row, I should be able to hide/ disable based on the shouldHideMenuItem and shouldDisableMenuItem properties

What browser are you working in?

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
package are you using?

package.json:
"@carbon/charts": "1.6.1",
"@carbon/charts-react": "1.6.1",
"@carbon/ibm-products": "2.0.0-rc.17",
"@carbon/react": "1.19.0",

Please create a reduced test case in CodeSandbox
https://codesandbox.io/s/github/carbon-design-system/ibm-cloud-cognitive/tree/main/examples/cloud-cognitive/codesandbox

Hey @RfrancisIBM, this should now be available in the latest v2 release.

authors: RfrancisIBM matthewgallo

repo: carbon-design-system/ibm-products


text:
chore: stylelint 16 update

This is not a viable pull for two reasons

The styelint-plugin-carbon-tokens is alpha to verify it works.
carbon-stylelint-config pulls in stylelint-a11y which is out of date. In my local projects I switched to "@double-great/stylelint-a11y"

https://github.com/orgs/carbon-design-system/projects/65

We are going to revisit this via #6374

authors: lee-chase matthewgallo


text:
[Bug]: event name mismatch: "connecting" vs "isConnecting"

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
An event listener "connecting" can be added using addEventListener function. https://github.com/cardano-foundation/cardano-connect-with-wallet/blob/main/core/index.ts#L64
The callback will never be triggered because only an event named "isConnecting" would enter the clause where you subscribe to the isConnectingObserver: https://github.com/cardano-foundation/cardano-connect-with-wallet/blob/main/core/index.ts#L83
Expected Behavior
I expect addEventListener("connecting", callback) to trigger the callback.
Steps To Reproduce
import { Wallet } from '@cardano-foundation/cardano-connect-with-wallet-core';

Wallet.addEventListener("connecting", () => {
  console.log("connecting")
});

await Wallet.connect("eternl", "mainnet");

Environment
No response
Anything else?
No response

@robinboening thank you for reporting and fixing this issue ! Much appreciated 💪 (I will trigger the build pipeline and the new version should be available on npm in a few minutes)

authors: fabianbormann robinboening


text:
[ADP-3173] Reinstate integration tests for macOS

This pull request reinstates the macOS integration tests at pre-release granularity.
Comments
The integration tests on macOS are not free of flakiness (e.g. running out of file descriptors), but they can succeed:

For this reason, I propose to run them at pre-release granularity, not at pre-merge granularity.
Issue number
ADP-3173

As discussed, I have moved the step of building the integration tests to the pre-merge granularity. Running those tests will still happen at pre-release granularity.

repo: cardano-foundation/cardano-wallet


text:
🛑 mainnet - API is down

In 016317e, mainnet - API (https://api.beta.explorer.cardano.org/api/v1/epochs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mainnet - API is back up in 1b1657f after 1 minute.

repo: cardano-foundation/cf-explorer-status


text:
feat(ui): standardise edit connection modal

Description
Standardise edit connection modal
Checklist before requesting a review
Issue ticket number and link

[x] This PR has a valid ticket number or issue: DTIS-421

Testing & Validation

[x] This PR has been tested/validated in IOS, Android and browser.
[x] The code has been tested locally with test coverage match expectations.
[ ] Added new Unit/Component testing (if relevant).

Security

[x] No secrets are being committed (i.e. credentials, PII)
[x] This PR does not have any significant security implications

Code Review

[x] There is no unused functionality or blocks of commented out code (otherwise, please explain below)
[x] In addition to this PR, all relevant documentation (e.g. Confluence) and architecture diagrams (e.g. Miro) were updated

Design Review

[x] If this PR contains changes to the UI, it has gone through a design review with UX Designer or Product owner.
[x] In case PR contains changes to the UI, add some screenshots to notice the differences

IOS

Android

Browser

I fixed add note button not display when connection note list is empty and change behavior when open edit note modal by add, manage note button.
This change only for function not UI then I only record evidence on browser.
https://github.com/cardano-foundation/cf-identity-wallet/assets/162310763/3508ac14-3d58-412c-ae5b-74c7927fd83f

repo: cardano-foundation/cf-identity-wallet


text:
Add Pergamon Agora

Showcase addition

Name: Pergamon Agora
Description: An on-chain auction house for Cardano NFTs
Link:   https://beta.pergamon.app
Source:
Tags:

metadata
nativetoken
nft

Hi there @katomm,

I cannot understand what you mean with "traction" would you mind elaborating? There is no indication that contributions need to do anything in terms of traction
This is a dApp, not a token. What made you think we are talking about a token?

repo: cardano-foundation/developer-portal


text:
Add basic React dev docs to dev-guide

Doesn't get into too much detail, but hopefully helps some folks to run React views

Looks good. Would also suggest adding instructions to install nodejs and yarn packages. It seems nodejs >= 10 is required, or else you get
$ yarn install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error @use-it/interval@1.0.0: The engine "node" is incompatible with this module. Expected version ">=10". Got "8.10.0"
error Found incompatible module.

Done! Thanks for the quick reviews y'all - happy holidays!

repo: cardinalitypuzzles/smallboard


text:
Org boxel to app boxel migration

Proposing adding a migration step, when logging in for the first time / using the app it will :+1:

Check for realms data under the new key
If there is some carry on
If not, check the old key

If in there, copy those to the new key

remove the old account data key (set to an empty object)

Incorporated into #1953

authors: IanCal lukemelia

repo: cardstack/boxel


text:
host: Move recent files to code mode

This moves some code into a new RecentFilesService and changes more tests to use mock storage. The listing remains bare bones, there are followup issues to add more readable names and file extensions.
You can see it in action here though you’ll have to click around in the file browser before any entries will show.

The behaviour is unexpected to me. When I click on the first one it changes to something else
https://github.com/cardstack/boxel/assets/273660/5a228a40-297d-418b-a930-d3ac56a851eb
Also, when I click on any of the items, the list reoders which feels awkward. Perhaps the list should stay the same when clicking on an item, and the list should change only when a new item is added on top of it.

I’ve had persistent problems with the new test in this PR, it works locally but not in CI. I’ve made it todo for now and will open an issue to restore it.

authors: backspace jurgenwerk


text:
output lane instance?

hi, thanks for the Tensorflow work! I have a question about the network output, in the original LaneNet, the output are binary and instance map. So I am wondering if the SCNN can also directly output the instance map. I checked the Torch SCNN, though I am not familiar with the LUA code, it seems that there is also instance map output from the network.
In the SCNN TF code, however, I only found the prob map. Is there a way to output the instance map?
So eventually I want to have a result with instance number, e.g., left 1, left 2, right 1, right 2. I have also checked Baidu Apollo code, they use SCNN and it seems that they do not use instance output from SCNN. Instead, they have a long postprocess code to get the instance. In Lanenet, the author get the instance result with the help of the instnace result map.
Any idea about this? Thanks
The code from testlane.lua
      line1 = outputn[{2-offset,{},{}}]       line2 = outputn[{3-offset,{},{}}]       line3 = outputn[{4-offset,{},{}}]       line4 = outputn[{5-offset,{},{}}]       lines = torch.FloatTensor(3,outputn:size(2),outputn:size(3)):fill(0)       lines[{1,{},{}}] = line1       lines[{2,{},{}}] = line2       lines[{3,{},{}}] = line3       lines[{1,{},{}}]:add(line4)       lines[{3,{},{}}]:add(line4)

Just merge the probability maps into one map and use different numbers to represent the pixels in different lanes.

oh the points are already grouped by different lane? let me check...

@yyuuliang hi, may I know where you see the postprocessing code from the instance map?I have some trouble finding them from baidu/apollo repository. Can you share it with me? thanks a lot!

@yyuuliang There output tensor has 5 dimensions with dimension 1-4 representing 4 different lanes pixel wise prob map. Using the method from the paper: search the point with the highest probility every 20 lines and connect them to get lanes. However, sometimes the output lane instance is not very accurate(see points 2 different lanes as 1 instance), so fitting a line to lane points of a same instance can cause some problem like this: the line cannot fit properly.(points of same color belongs to one instance from the output tensor)

So im thinking of cluster all points again instead of using the result from the model itself.

authors: cardwing yyuuliang zguo008

repo: cardwing/Codes-for-Lane-Detection


text:
Allow to retrieve resource files from sameOrigin on client

Via https://github.com/cargomedia/CM/pull/1713
@vogdb @tomaszdurka please review

..the JS implementations of getUrlResource() and getUrlStatic() are now exactly the same on the client as on the server (CM_Frontend_Render).

lgtm.
I see that getUrlStatic didn't fit perfectly well into this situation =)

Yes, I think the "sameOrigin" mode doesn't makes sense for getUrlStatic actually, I'm working on a better solution with yet another feature..

Closing in favor of https://github.com/cargomedia/CM/pull/1717

authors: njam vogdb

repo: cargomedia/CM


text:
Carla crashes on ec2 with protobuf error

When trying to run the compiled version of Carla on aws ec2 ubuntu 16.04, the following error occurs

[libprotobuf FATAL google/protobuf/stubs/common.cc:78] This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.3.0).  Contact the program author for an update.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)
terminating with uncaught exception of type google::protobuf::FatalException: This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.3.0).  Contact the program author for an update.  If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)

protobuf3 was not installed on the machine when I got this error.
Any Ideas on how to solve this? The Carla files are the only thing on the machine..

I'm not sure why this could happen.
Protobuf 3.3.0 is installed locally by the Setup.sh script, and if everything went well, CARLA is linked against this local version (at "Util/Build/protobuf-install").

I'm using the compiled version from https://github.com/carla-simulator/carla/releases/tag/0.7.1, so maybe it was build with pbf2, but this doesn't fully explain the error since I tried installing the same version on the machine

Protobuf is statically linked, I don't understand why it complains.

Me neither. This is all I did:

Launch ec2 instance (ubuntu 16.04)
Copy and unzip compiled Carla
Fix error of missing openGl*
Then the error appears

I did it in two different ways on different instances, with the same result.
1: Install X-server per the instructions here http://carla.readthedocs.io/en/latest/how_to_run/
2: install EGL directly as suggested here https://askubuntu.com/questions/244133/how-do-i-get-egl-and-opengles-libraries-for-ubuntu-running-on-virtualbox

Starting from version 0.9.0, we no longer depend on protobuf.

authors: dotanrs nsubiron

repo: carla-simulator/carla


text:
RuntimeError: Resource temporarily unavailable after start and end of ~350 clients

Hi,
I encountered "RuntimeError: Resource temporarily unavailable" for the line initializing a new client client = carla.Client('localhost', 2000) after I start, run simulation, and end ~350 clients sequentially on the same carla server.
I noticed that the opened files by the carla server process will always increase by 2 after each start and end of one client. Meanwhile, TCP connection will increase by 1 each time. Thus, these numbers keep going up as I run more client sessions.
It seems that they are not used after the end of corresponding clients but are not destroyed properly. Is there a way to manually release these resources? Is it possible to run more client sessions (>350) sequentially on the same server?
Thanks!

@bernatx could you please look into this issue?


text:
Pulse audio error when starting Carla server

I am attempting to start the Carla server using the command ./CarlaUE4.sh  on Ubuntu Linux after using the precompiled installation. I get the following error, however, and then the server hangs.
4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps.
xcb_connection_has_error() returned true
Failed to create secure directory (/run/user/40445/pulse): No such file or directory

Upon hitting command c:
FUnixPlatformMisc::RequestExitWithStatus
FUnixPlatformMisc::RequestExit
Exiting abnormally (error code: 130)

Upon Googling this, it seems to be an error relating Pulse audio. I am not sure why I am getting this error message, but I believe it is because I do not have access to the audio card. Are there any workarounds or fixes? Is Pulse even needed to run Carla?

@doterop could you follow up on this please?

Hi @Stephanehk
Are you getting this error only with Carla? It seems something related to the configuration of your machine.

authors: Stephanehk corkyw10 doterop


text:
Extended CarlaDataProvider's spawning functions

Description
create_blueprint() at the CarlaDataProvider now has a new safe argument which will perform an additional filter. This is specially useful for the creation of background activity, as it filters out 2 wheeled vehicles (bikes shouldn't be driving through the road), as well as large vehicles (which might cause problems when turning at close turns). As all spawning functions call this create_blueprint, they all have had the safe_blueprint argument added. This is by default False, retaining compatibility with previous versions
Another argument, tick, have also been added to the spawning functions. This allows the spawning of actors without ticking the CARLA server. This is useful when running on sync mode, as in that case, the server tick must be tightly controlled. As a reference, all methods on spawned actor that haven't been ticked work the fine, but the getters will return the default value (all zeroes), as the actor wasn't alive at the previous frame. tick is by default True, retaining compatibility with previous versions.
Additionally, handle_batch_actors() has been simplified, as it was checking for impossible conditions (such as batch being None or responses being empty). Removed an exception raise at request_new_actor() if failing to spawn the actor, as it was inconsistent with the other two methods. It now returns None if there was a spawn error, and a fixed bug causing the autopilot to never be set.
Where has this been tested?

Platform(s): Ubuntu 18.04
Python version(s): 3.6
Unreal Engine version(s): 4.26
CARLA version: 0.9.11 (current dev)

Possible Drawbacks
Except from some code reformatting, the rest is just extensions to the functions

This change is

Okay, we'll take about it, see if we can add more distinct tags to the blueprints (like car, van, bicicle*, etc. similar to our actor category). Also, can you help me with the static code? I can't seem to see what's failling


text:
Support SSL related configuration

Allow configuring CURL's SSL related settings.

I'm curious what we are looking for here. What ssl capability are we looking for.

Doc for ref.
I would be using this to make requests against a test environment where we have an in-house SSL certificate. In this case disabling the verification is not necessarily a bad thing (at least this is the easiest approach but may not be the most correct way).
Anyway, seeing as CURL supports this I thought this should as well.

It's easier for me the more fine gained issues are. If it's just that one
thing let's change the title.
On Fri, Jun 5, 2015, 00:14 Sumanas Sarma notifications@github.com wrote:

Doc for ref http://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html.
I would be using this to make requests against a test environment where we
have an in-house SSL certificate. In this case disabling the verification
is not necessarily a bad thing (at least this is the easiest approach but
may not be the most correct way).
Anyway, seeing as CURL supports this I thought this should as well.
—
Reply to this email directly or view it on GitHub
https://github.com/carllerche/curl-rust/issues/6#issuecomment-109184835.

authors: carllerche insectatorious posix4e

repo: carllerche/curl-rust


text:
Error creating a second campaign in the same vault

Summary
I'm on Windows 10, Obsidian version 1.1.16 and RPG manager v3.4.5.
I have an existing campaign, and trying to create a second one in the same vault, but I'm getting an error "Duplicated outline indexService".
Detailed info
Existing campaign is in (paraphrased)
.../Obsidian/Vaultname/Campaign1/Campaign1.md
I want to place the new campaign like so:
.../Obsidian/Vaultname/Tabletop/Campaign2/Campaign2.md
In the sidebar, I click "Create new..." >" Campaign". It prompts for the title, and I select the default Campaign template from the dropdown.
This places Campaign2.md into the same folder as Campaign1.md. My Obsidian settings have new notes going into the Vault folder, and I've fiddled a few ways to try and avoid this (like opening a new note in Campaign2 folder, so that's my current view) but it always happens.
I get the following error popup:
"RPG Manager Error
One or more of the tags that define an outline or an element are not correctly configured and can't be read!
Please double check the errors and correct them.
Duplicated outline indexService

Campaign1
Campaign2"

Followed by a "Fix Errors" button which doesn't seem to do anything, it just drops me into looking at the new Campaign2.md, while the error appears in the right sidebar.
I couldn't find any info in the docs about this error, but I assume it's mad because there are now 2 campaigns in the same folder.
So I manually moved Campaign2.md into the correct Campaign2 folder, however the error remains.
(Edit):
I tried to create a new Adventure as well, but only Campaign1 will show in the dropdown, and not the new Campaign2.
I'd prefer to avoid creating a new vault for each campaign if possible. Please let me know if I can provide any more info, or what I might've done wrong. Thank you very much for creating this plugin, and for any help you're able to offer.

Update, I exited Obsidian and reopened it. Now RPG Manager sees Campaign2 as the only campaign, and has filled in the formatting from the campaign template into that page, along with all of the links for characters, adventures, etc from Campaign1.

Hello!
Version 4.0 of RPG Manager has just been released. This is a complete re-writing of the plugin, and will impact all opened issues.
I am therefore closing this issue as it was related to v3.4 (now unsupported), but please feel free to re-open the task if the issue persists in the new version.
Ciao
Carlo

authors: carlonicora eaisley

repo: carlonicora/obsidian-rpg-manager


text:
Add a codenvy link to share work space

Tried it, but got into some pbs:

hnpm ERR! Failed at the microtime@2.1.1 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the microtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs microtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls microtime
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any

You need to install node-gyp, if you are using debian based, sudo apt-get install node-gyp

authors: Tyvain arepageek


text:
Response template cassandra hosts

In case of multi-node installation edge-response only include the private ip of the node created on. I believe the if statement needs to switched .
https://github.com/carlosfrias/apigee-opdk-setup-silent-installation-config/blob/f89d8e9d90a4b35c4d28310bf13e282b8243df4a/templates/response-file-template.conf.j2#L55

I can second this issue. Currently this role is causing an incorrect Cassandra topology.


text:
Update head in index.html

Add the following tags:
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="author" content="Carlos Miranda de la Hoz">
    <link rel="shortcut icon" type="image/svg" href="./Fav.svg"/>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter">

Done

repo: carlosmiranda-softdev/homepage


text:
updated performSearch request query

Description

Update the query to allow search and where query to exists at the same time.
Added pull request template

Motivation and Context

I was trying to perform search and where query at the same time but it doesn't work.
Upon investigation it was found out that The existing implementation on query builder didn't merge the query together when search and where existed in the same query.
For example:
Product::search('Apple')->where('model_id', 1)->get()

will overwrite the query of the search('Apple') and the query is only left with the query where('model_id', 1) due to the following implementation:
https://github.com/carro-public/hero-search/blob/fa7382bedd82cfd9691b115add9d9b48825488d1/src/Engines/ElasticSearchEngine.php#L120
How Has This Been Tested?

Screenshots (if appropriate):
Types of Changes

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thanks @aungkoko96 !

repo: carro-public/hero-search


text:
set iframe content height to 100vh to align vertically the content

just a small improvement to make the component vertically aligned inside the iframe

Maybe an additional improvement could be a way to manually define the style of the container. In some cases I don't want the flex alignment (e.g. I have a navbar, and the flex alignment makes it overflow the iframe)

Thanks, that's very reasonable!

authors: FezVrasta mxstbr

repo: carteb/carte-blanche


text:
Bump go version to 1.21.3

What this PR does / why we need it:
Bump go version to 1.21.3
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

/cherry-pick v0.59.x

repo: carvel-dev/kapp


text:
Fullscreen (not important)

I would like to know if there is any way to fullscreen.

I don't think there is a way but you can use a AutoHotkey script to make it full screen. I used it and it did work.
https://www.reddit.com/r/AutoHotkey/comments/11zgyjx/script_to_run_apps_in_fullscreen_ahkv2/

repo: carykh/SpiderEvoSim


text:
Rename Cell.pde. to Cell.pde to fix Processing not finding it.

Cary you renamed it with an extra dot!
Fixes #1

This will now be closed as the change has been made.

repo: carykh/VirusGame


text:
The user: xxx doesn't exist error when calling Casbin API

When using the built-in Casbin in Casdoor, the interface for obtaining all roles through the open Casbin API returned the following: 'status': 'error', 'message': 'The user: app/app-built-in doesn't exist.'

@wangyuefan09 fixed by: https://github.com/casbin/casdoor/commit/177f2f2f11f04a16209df78bb32d5edf6747c055
Now you can use the GET parameter like: /api/get-all-objects?userId=built-in/admin to specify the user that want to retrieve the roles

我目前不明确是不是我配置的问题，现在请求依然是'The user: app/app-built-in does'不存在，即使用了您新提供的接口

repo: casbin/casdoor


text:
chore: update pgx to v5.6.0

Summary
This issue aims to address the need to upgrade the pgx library to v5. This update is crucial for leveraging the latest features, improvements, and security patches offered by the newer version of this library.
Details
The following updates are proposed:

Upgrade pgx to v5:

Update import statement in adapter.go from github.com/jackc/pgx/v4/stdlib to github.com/jackc/pgx/v5/stdlib.
Modify the go.mod file to require github.com/jackc/pgx/v5 v5.6.0.

Changes:
adapter.go:
@@ -30,7 +30,7 @@ import (
	"github.com/casbin/casbin/v2/model"		"github.com/casbin/casbin/v2/model"
	"github.com/casbin/ent-adapter/ent"		"github.com/casbin/ent-adapter/ent"
	_ "github.com/go-sql-driver/mysql"		_ "github.com/go-sql-driver/mysql"
-	_ "github.com/jackc/pgx/v4/stdlib"
+	_ "github.com/jackc/pgx/v5/stdlib"
	_ "github.com/lib/pq"		_ "github.com/lib/pq"
	//_ "github.com/mattn/go-sqlite3"		//_ "github.com/mattn/go-sqlite3"

go.mod:
@@ -6,7 +6,7 @@ require (
	entgo.io/ent v0.8.0		entgo.io/ent v0.8.0
	github.com/casbin/casbin/v2 v2.29.2		github.com/casbin/casbin/v2 v2.29.2
	github.com/go-sql-driver/mysql v1.5.1-0.20200311113236-681ffa848bae		github.com/go-sql-driver/mysql v1.5.1-0.20200311113236-681ffa848bae
-	github.com/jackc/pgx/v4 v4.18.1
+	github.com/jackc/pgx/v5 v5.6.0
	github.com/lib/pq v1.10.2		github.com/lib/pq v1.10.2
	//github.com/mattn/go-sqlite3 v1.14.6		//github.com/mattn/go-sqlite3 v1.14.6
	github.com/pkg/errors v0.9.1		github.com/pkg/errors v0.9.1

Rationale

The pgx library v5 introduces significant improvements and new features that we want to leverage.
Keeping dependencies up-to-date ensures compatibility, security, and performance improvements.

Testing

Ensure all existing tests pass.
Manually test the integration with PostgreSQL and MySQL to verify that there are no regressions.

Additional Notes
Please review the proposed changes and provide feedback.
Related Issue

Closes #21
Closes #18

@Mazafard CI failed. Can you test all CIs in your fork before making the PR?

@Mazafard

Replaced by: https://github.com/casbin/ent-adapter/pull/24

authors: Mazafard hsluoyz

repo: casbin/ent-adapter


text:
The installation module is missing the most critical casbin.lua In Ubuntu 20.04

Description
When I test the installation of lua-casbin, this situation occasionally occurs: the most critical casbin.lua is less than one of the dependencies installed.
Env:

OS: Ubuntu 20.04
lua: 5.1 5.2 5.3 5.4
luarocks: v3.3.1

Normal installation：

Missing installation

As you can see from the picture, casbin.lua was not successfully installed locally, and the lack of it caused my reference to not find the casbin module
Proposal

Is it possible to change ["casbin"] = "src/main/Enforcer.lua" to ["casbin"] = "casbin.lua"? Display the specified casbin.lua file.

@rushitote

I tried installing it by these two commands and it works well:
sudo luarocks install casbin
sudo luarocks show casbin

@rushitote
I found this problem in github actions where the installation fails occasionally.
You need to try more times in CI, and this problem should be repeated.

@conghuhu Could you please link which CI is failing randomly?

@conghuhu Could you please link which CI is failing randomly?

I found it when I was developing luasql adapter
CI link

@conghuhu seems to be private 😅

@conghuhu seems to be private 😅

Sorry，you can try again.

Hmm, seems to happen when building the .rock file. Not sure, but I think this is a problem with LuaRocks than us if this happens randomly.

OK, then I will run CI more times until it passes

@conghuhu Does it fail randomly even when installing by luarocks install casbin (installing latest version)?

@rushitote Yes, I have tried build, install, and make, but the casbin.lua file is randomly missing and not installed

authors: conghuhu hsluoyz rushitote

repo: casbin/lua-casbin


text:
webhook for signup via social login doesn't fire, signup through login ui will fire webhook

in controllers auth.go
previously working version use two object.AddRecord to send webhooks
record := object.NewRecord(c.Ctx)
record.Organization = application.Organization
record.User = user.Name
util.SafeGoroutine(func() { object.AddRecord(record) })

record2 := object.NewRecord(c.Ctx)
record2.Action = "signup"
record2.Organization = application.Organization
record2.User = user.Name
util.SafeGoroutine(func() { object.AddRecord(record2) })

however, current version use this method which I have no idea how it works
c.Ctx.Input.SetParam("recordUserId", user.GetId())
c.Ctx.Input.SetParam("recordSignup", "true")

as title says, it won't send webhook for social login (signup)

update: I notice that in routers/record.go AfterRecordMessage webhook action is stated as record2.Action = "new-user" instead of signup, I got the functionality back by adding an identical webhook for my signup webhook that listens for action "new-user".

@ivancetus yes, it's renamed to "new-user" now

authors: hsluoyz ivancetus

repo: casdoor/casdoor


text:
Add CODEOWNERS file

References:

https://github.com/usnistgov/opensource-repo/#codeowners

@casework/maintainers-global and @casework/maintainers-case-prov-o-implementation :
I'm adding a CODEOWNERS file, naming these two teams as the owners.  One more PR today will exercise the feature, and should trigger notices.  If we need to revise the file's strategy, please get in touch with me.

repo: casework/CASE-Implementation-PROV-O


text:
Prevent iframe redirects

An inscription can change its own URL with location.href = "https://example.com". I think we can prevent this by including Content-Security-Policy: default-src 'self' on any pages containing iframes, which would prevent loading external resources.

This is done. Our content security policy prevents this.

repo: casey/ord


text:
Can't find variable GithubActivity

I am newbie to JS, I followed instructions in the readme file. But i wasn't able to get the activity feed. I attached my html file in which i also included javascript just for testing.
index.html.zip
Thanks :)

You reference many files that are not in the file system (at least, they aren't in the file system that you provided).

authors: Darksmurf SrujithPoondla

repo: caseyscarborough/github-activity


text:
Add support for snapshotting with Button Shapes enabled

UIKit introduced a new API in iOS 14 to check whether button shapes are enabled. This adds a new snapshot method that mocks that setting being enabled.

This currently works for buttons that check the properly / listen to the notification and manually update their appearance based on that. It doesn't work for standard buttons that use the system-defined button shape behavior though.
This is what the "enabled" snapshot should actually show:

Closing this for now. I'm not sure of a path forward with this to get all buttons working.

Closing this for now. I'm not sure of a path forward with this to get all buttons working.

repo: cashapp/AccessibilitySnapshot


text:
Running  emoj search app demo on iphone crash when start. but success and show emoj on simulator

iphone14.8.1

simulator

I suspect this is due to the fact that this sample loads code from localhost, and localhost probably isn't serving code on your real device. Fixable by changing the URL to get code from.

thanks

authors: showtestlog swankjesse

repo: cashapp/zipline


text:
BUG: Check if keys have changed before creating proofs

If the mint has changed keys, but the wallet does not recognize it, it might create broken proofs.
Possible solution:

Calculate the current (wallet) mint keyset id from all keys according to NUT-02
compare with the id inside the received BlindedSignature
If they don't match, we have to load the new keys and perform the unblinding after that

can we close this?

#64 closes this

authors: BilligsterUser gandlafbtc

repo: cashubtc/cashu-ts


text:
Load templates dynamically from a database

I really like jte syntax and its simplicity, but I'm wondering if jte is suitable for the following use cases:

Our system should be able to render templates that are stored in external datastore, e.g. relational DB.
Also we should be able to adjust templates without the need to restart or redeploy our application but only change template body in a DB

You could make a custom implementation of the CodeResolver interface, which loads templates from the DB.

@edward3h I've implemented simple POC with custom CodeResolver to load templates from the DB and it works just fine when I'm running it locally in my IDE.
But I have troubles running my POC as a docker container inside K8s because generated classes couldn't be compiled, e.g.
/jte-classes/gg/jte/generated/ondemand/screens/JteGetPlansGenerated.java:2: error: package gg.jte.support does not exist                                                                                │
│ import gg.jte.support.ForSupport;
│ /jte-classes/gg/jte/generated/ondemand/screens/JteGetPlansGenerated.java:6: error: cannot find symbol                                                                                │
│     public static void render(gg.jte.TemplateOutput jteOutput, gg.jte.html.HtmlInterceptor jteHtmlInterceptor, java.util.List<com.sleepnumber.sdui.templates.model.Plan> plans) {                                                                                │
│   symbol:   class TemplateOutput                                                                                │
│   location: package gg.jte
....

Also it complains on my custom params (classes) inside templates.
And when I execute request one more time I can see
java.lang.ClassNotFoundException: gg.jte.generated.ondemand.screens.JteGetPlansGenerated

But I can see jte-classes/gg/jte/generated/ondemand/screens/JteGetPlansGenerated.java inside my docker container.
Some technical details about my setup:

Spring Boot
Java 11
Docker base image amazoncorretto:11-alpine-jdk

I'm wondering if jte supports on-demand templates when running inside docker container?

It looks like the compiler doesn't have the correct classpath at the point it is trying to compile the template. It should be including the jte-runtime module. Unfortunately I don't know much about Spring Boot but I would guess the problem is related to how it loads classes. Or maybe you just need the extra dependency in your build.
It's unlikely to be related to Docker. It could be worth trying with eclipse-temurin:11-jdk instead just for a comparison.

I definitely missed jte-runtime module in my pom.xml but after I added these jte dependencies
<dependency>
            <groupId>gg.jte</groupId>
            <artifactId>jte</artifactId>
            <version>2.1.2</version>
        </dependency>
        <dependency>
            <groupId>gg.jte</groupId>
            <artifactId>jte-runtime</artifactId>
            <version>2.1.2</version>
        </dependency>

I still can see the error I mentioned above.
It's a really weird behaviour and it's not clear how to fix it.

jte-runtime comes as transitive dependency through jte, so it shouldn't make any difference.
How is your TemplateEngine initialized?

@casid thanks for your help.
This is how I initialize template engine:
@Configuration
public class TemplateConfiguration {

  @Bean
  public TemplateEngine templateEngine(CodeResolver codeResolver) {
    return TemplateEngine.create(codeResolver, ContentType.Plain);
  }
}

Where I inject my custom CodeResolver to load templates from DB.

@casid thanks, I understand concerns but still I'd like to have POC to meet different requirements.
These classloaders are used:
TomcatEmbeddedWebappClassLoader
│   context: ROOT
│   delegate: true                                                                                │
│ ----------> Parent Classloader:                                                                                │
│ org.springframework.boot.loader.LaunchedURLClassLoader@4c75cab9                                                                                │
│ org.springframework.boot.loader.LaunchedURLClassLoader@4c75cab9

@casid classloader was definitely a problem, so once I passed the correct loader it started to work.
BTW could you please share more details about RCE attack that is possible with jte in this case?

Since jte uses plain Java for expressions, pretty much anything is possible.
For example, to end the application, whenever the malicious template is rendered:
!{System.exit(0);}
Or, encrypt all files on the filesystem or tables in the database, that the application has access to.

@casid thanks for sharing more details on that.
My main requirement is to be able to load different versions of a template at runtime.
E.g. we have two different versions of User Profile screen layout: 1.0.0 or 1.1.0 and then based on the client version we can return proper screen layout.
Also templates will not be populated by the end-users but only by developers through the automated CI/CD pipeline.
With great power comes great responsibility, I mean jte feature-rich Java expressions, so maybe it worth to consider some simple template engines as well, e.g. Handlebars, just to reduce the attack surface.

Are developers committing those templates to the version control of the project?
If so, you could only make the decision what template to use configurable, not the templates themselves. It's e.g. easy to check feature toggles in jte templates and do stuff differently.
In case you want to be able to do all this without an app deployment, you could also precompile all templates on your CI/CD and then upload the compiled templates and  then replace the template engine (through TemplateEngine#reloadPrecompiled). This way you don't need a JDK on your production system.
And yes, if you plan to do it through the database, I'd consider using a dumber template engine where remote code execution is impossible (if that exists). I believe being able to execute arbitrary e.g. Handlebars templates on a system could be quite dangerous as well.

@casid yes, the idea is store templates in git repo and introduce a new template version each time there's a change.
We need to be backward compatible where old client can still request older template version.

In case you want to be able to do all this without an app deployment, you could also precompile all templates on your CI/CD and then upload the compiled templates and then replace the template engine (through TemplateEngine#reloadPrecompiled). This way you don't need a JDK on your production system.

Interesting idea, I was thinking about that as well but then I'm wondering how I can resolve template version?
E.g. if in file system we have these templates:
/application/jte-classes/gg/jte/generated/precompiled/v1.0.0/screens/UserProfile.class
/application/jte-classes/gg/jte/generated/precompiled/v1.0.1/screens/UserProfile.class

Also I'm wondering if it's possible to load generated templates from external system, e.g. aws s3, etc?
Because if we're running our application in container then we should think about mounting some persistent volume or use some external datastore, e.g. s3, database, etc.

I just noticed, that I didn't really answer your question.

how I can resolve template version?

You can use the version in your template name before you call render: render(version + "screens/UserProfile.jte", ...). Or, if those are separated class roots, you can have a TemplateEngine instance per version.

possible to load generated templates from external system, e.g. aws s3, etc?

You could download the precompiled class files from there to your server and then create a TemplateEngine instance from it.
As said before, this setup seems a bit wild and potentially dangerous (side loading executable code from DB or AWS). In that case an interpreted and slower template language that doesn't need to be compiled might be the better choice.
I still don't understand why you need to be able to produce results for old clients though. The beautiful thing about websites is that you deploy them and everything is up-to-date.

@casid thank you for your answers, they're really helpful.

authors: casid edward3h isaranchuk

repo: casid/jte


text:
Version bump to 2.28.5

changelog update for 2.28.5 release

LGTM

authors: dereklwood sreevatsanraman


text:
Outdated cask: omegat-dev

Outdated cask: caskroom/versions/omegat-dev
Github URL: https://github.com/caskroom/homebrew-versions/blob/966a03a1735b0d9a16092e622b0770ea755c9c3e/Casks/omegat-dev.rb
Outdated version: OmegaT_4.1.2_Beta_Mac_Signed
Current version: OmegaT_4.1.2_02_Beta_Mac_Signed ('minor' release suffix _02 ignored by cask as implemented)
Value of omegat-dev over regular omegat cask: 'standard' release cycle is most conservative; 'beta' is stable enough in practice and has the features many translators will want.
2 issues with omegat-dev cask:

Cask Formula does not take the minor patch number 4.1.2_02 suffixes (_02) of some releases into account, so it skips downloading those 'minor' patch releases. It seems the regular omegat cask formula does already take these into account.
Error: Unpacking and moving OmegaT.app from the downloaded zip to the Mac application directory fails. Removing the subdirectory from the cask formula file seems to do the trick.

https://github.com/caskroom/homebrew-versions/pull/4747

authors: citroentje commitay

repo: caskroom/homebrew-cask


text:
refactor CLI argument processing

[ ] argument processing is spread between multiple files, and should be consolidated
[ ] methods corresponding to CLI flags are defined on the Cask namespace, and should probably be isolated into Cask::Opt namespace
[ ] global flags should be differentiated from flags to subcommands
[ ] subcommands should have a common interface for defining which flags they will accept
[ ] the global ARGV should be processed only once, and thereafter not consulted directly
[ ] all arguments should be processed to completion.  Currently, unknown or misspelled flags such as --verrbose typically go unprocessed and are silently ignored. BUG
[ ] much of the desired functionality may be available in a library, but (to be useful) the library must work across Ruby 1.8 - 2.0, and must also support the subcommand model

Misspelled commands still an issue.

@TechZen None of the points in the issue is marked as done and the issue is still open; it’s natural the problems still exists. Still, your example doesn’t apply at all — misspelling install as instal works withou a problem, the issue in your case is a cask toke misspelling.

Done in https://github.com/Homebrew/brew/pull/2654.

authors: TechZen reitermarkus rolandwalker vitorgalvao


text:
updated grandtotal (4.1.5)

Closes #18166.

Merged as ac0e48896933ad43b0f328e5e19cbd6a2e3bc5bf.


text:
Update launchcontrol to 1.30

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Please update to the newest cask-repair. It fixes the issue you were seeing here.
Will update the cask in a new PR.


text:
Upgrade torbrowser to v4.0.3

https://blog.torproject.org/blog/tor-browser-403-released

@vitorgalvao: thanks!


text:
报501错误了

501

501 Not Implemented

501 Not Implemented
nginx

Expecting value: line 1 column 1 (char 0)
这是怎么回事啊

501

501 Not Implemented

501 Not Implemented

nginx

Expecting value: line 1 column 1 (char 0)

501

501 Not Implemented

501 Not Implemented

nginx

Expecting value: line 1 column 1 (char 0)

repo: caspartse/QQ-Groups-Spider


text:
refactor: frontend

Fix Refactor Frontend #112
🔥 Summary
😤 Problem / Goals

🤓 Solution

Revert  and use react-app-rewired to make simple
Replace emotion with styled-component

🗒 Additional Notes

Just did a overall look but I'm not sure do we want to revert eject now. @DorianKwan any opinions?

I'm confused why we are reverting back to CRA setup.  We are losing control of a large set of configuration that doesn't lend well to the maintenance and development of a production application.
I don't believe reverting the the eject is the way to go.
For context, we ejected with the long term goal of stripping away all CRA setup in favour of a more custom setup.  We didn't have the time to remove it completely yet.  And that's what led us to today.  Where the eject doesn't seem like it's worth it at the moment in favour of rewired.  But the decision to not use rewired has previously been made.
Can you expand on your idea of using rewired instead?

Hi @gyroflaw, for now please let's stick to ejected project.
We can decide about this later on in January, there are too many question marks right now about project future so I don't want anybody to spend time on this. You can keep it as a branch that we can use in future.

Oh and there are now a few conflicts because @valfaro123 added multilang support, please look at them, then you should be unlocked. Cheers :)

@gyroflaw please revert React app eject and resolve the conflicts so we can merge it.

authors: DorianKwan gyroflaw hoffmannjan

repo: casper-network/casper-blockexplorer


text:
Expose ability to obtain ContractPackageHash of new locked contract

Creating a locked contract package is currently hidden behind new_locked_contract, which only returns a ContractHash. To create entrypoints with group restrictions, we first need to create a contract package, then create a group, then we can create restricted entrypoints.
Reference:
https://github.com/casper-network/casper-node/blob/7c9b7a7df1affa75d29c97f0e141f29d0df415d6/smart_contracts/contract/src/contract_api/storage.rs#L152-L167. We should make this public.

@mpapierski please fix the comment on /// Create a locked contract stored under

authors: mpapierski piotr-dziubecki

repo: casper-network/casper-node


text:
Add SSE server tests and fix issues exposed by these

This PR adds a comprehensive test suite for the SSE server.  In doing so, it revealed two issues in the server, both of which are fixed in this PR:

The server did not handle malformed queries well.  In some cases it ignored them and in others it treated them as a bad path
The server did not handle the start_from query properly in the case where the buffered events' IDs wrapped past u32::MAX back to 0

The PR also introduces a test which checks the generated JSON schema for the SseData enum against a previously-generated, hard-coded schema (added to "resources/test").  Rather than being particularly useful as a unit test, it will instead make it somewhat simple to view differences between discrete versions of the data produced by the SSE server.
Closes #1525.

bors merge


text:
Exposes TREC-COVID topics from UDel

To provide convenient access. Will expose in Pyserini in a separate RP.

Tests past. LGTM!

authors: lintool lukuang

repo: castorini/anserini


text:
Project is giving error while installing for sementic-ui

Error: ENOENT: no such file or directory, open '/home/brain/Downloads/ngx-dynamic-dashboard-framework-master/node_modules/semantic-ui/dist/semantic.min.js'
at Object.openSync (fs.js:440:3)
at Object.readFileSync (fs.js:342:35)
As I have cloned the project and running it, but it is giving error while installing or serving the application.
Can anyone help me in this?

Are you prompted to install Semantic UI? In other words, when you do npm install, at some point do you get prompted to answer questions regarding Semantic-UI?

See if what you are facing is related to another semantic-ui issue: https://github.com/catalogicsoftware/ngx-dynamic-dashboard-framework/issues/25


text:
build: ignore data/deployments/localhost directory

Description
Closes https://github.com/catalogworks/catalog-contracts/issues/22
How to test

Clone the repository and change directory into it
Run yarn dev
Observe that files generated or modified in data/deployments/localhost/ aren't tracked by Git

This is ready for review! 👀

repo: catalogworks/catalog-contracts


text:
Develop emissions analysis module

In order to make the CEMS data more usable for analyzing GHG emission factors at the generator level, I am beginning work on pudl.analysis.emissions which will create a "cleaned" CEMS dataframe that will containing:

operating_datetime_utc
plant_id_eia
generator_id
gross_generation_mwh
net_generation_mwh
co2_mass_tons

This module will contain functions that:

calculate gross_generation_mwh from gross_load_mw and operating_time_hours
calculate parasitic loss factors / gross-to-net ratios to convert gross_generation_mwh to net_generation mwh
fill missing co2_mass_tons data using heat_input_mmbtu and fuel type proportions calculated from bf_eia923
using techniques similar to those used in the analysis.mcoe module, aggregate boiler-level data to generator-level data (after ensuring correct mapping of EPA unit_ids to EIA generator_ids using the crosswalk provided by the EPA)

I plan to use this as a starting point for the eGRID project.
Feedback/thoughts on this module are welcome. I am starting in my fork of pudl located at https://github.com/grgmiller/pudl.

@TrentonBush You might want to get in touch with @grgmiller about the CEMS / RMI emissions work.

I am closing this because this need has been met by the OGE project: https://github.com/singularity-energy/open-grid-emissions

authors: grgmiller zaneselvans

repo: catalyst-cooperative/pudl


text:
converting Neuralynx Cheetah "6.4.2 Development" data [Bug]:

What happened?
I am trying to import Neuralynx acquired data using neuroconv and got the traceback below (see traceback section)
Hoping you have insight into this.
On the Neuralynx webpage, the latest version of Cheetah is 6.4.2. The data was acquired using Cheetah "6.4.2 Development" in a Windows 10/11 environment and my analysis machine is a 2020 Macbook Air running MacOS Ventura 13.5.1 . My Python version is 3.11 and the rest of the conda environment is listed below in the package version section. The '...' in the filepaths are for privacy. Thanks in advance for your attention.
Steps to Reproduce
from datetime import datetime
from dateutil import tz
from pathlib import Path
from neuroconv.datainterfaces import NeuralynxRecordingInterface

# For this data interface we need to pass the folder where the data is
folder_path = f"/Users/.../.../.../data/2022-09-16_14-55-53"
# Change the folder_path to the appropriate location in your system
interface = NeuralynxRecordingInterface(folder_path=folder_path, verbose=False)

# Extract what metadata we can from the source files
metadata = interface.get_metadata()
# session_start_time is required for conversion. If it cannot be inferred
# automatically from the source files you must supply one.
session_start_time = datetime(2022, 9, 16, 14, 55, 53, tzinfo=tz.gettz("US/Eastern"))
metadata["NWBFile"].update(session_start_time=session_start_time)

 # Choose a path for saving the nwb file and run the conversion
nwbfile_path = f"/Users/.../.../.../data/2022-09-16_14-55-53/sep162022_nlx2nwb.nwb"  # This should be something like: "./saved_file.nwb"
interface.run_conversion(nwbfile_path=nwbfile_path, metadata=metadata)

Traceback
Traceback (most recent call last):
  File "/Users/.../.../.../python_scripts/nlx2nwb.py", line 9, in <module>
    interface = NeuralynxRecordingInterface(folder_path=folder_path, verbose=False)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../neuroconv/src/neuroconv/datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py", line 43, in __init__
    super().__init__(
  File "/Users/.../neuroconv/src/neuroconv/datainterfaces/ecephys/baserecordingextractorinterface.py", line 32, in __init__
    self.recording_extractor = self.get_extractor()(**source_data)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neuralynx.py", line 33, in __init__
    NeoBaseRecordingExtractor.__init__(
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py", line 185, in __init__
    _NeoBaseExtractor.__init__(self, block_index, **neo_kwargs)
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py", line 25, in __init__
    self.neo_reader = self.get_neo_io_reader(self.NeoRawIOClass, **neo_kwargs)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/spikeinterface/extractors/neoextractors/neobaseextractor.py", line 64, in get_neo_io_reader
    neo_reader.parse_header()
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/neo/rawio/baserawio.py", line 179, in parse_header
    self._parse_header()
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/neo/rawio/neuralynxrawio/neuralynxrawio.py", line 324, in _parse_header
    _sigs_memmaps, ncsSegTimestampLimits, section_structure = self.scan_stream_ncs_files(
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/neo/rawio/neuralynxrawio/neuralynxrawio.py", line 766, in scan_stream_ncs_files
    chan_ncs_sections = NcsSectionsFactory.build_for_ncs_file(data, nlxHeader)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/.../miniconda3/envs/neuroconv_environment/lib/python3.11/site-packages/neo/rawio/neuralynxrawio/ncssections.py", line 452, in build_for_ncs_file
    raise TypeError("Unknown Ncs file type from header.")
TypeError: Unknown Ncs file type from header.

Operating System
macOS
Python Executable
Conda
Python Version
3.9
Package Versions
Name                    Version                   Build  Channel
appdirs                   1.4.4                    pypi_0    pypi
arrow                     1.2.3                    pypi_0    pypi
asciitree                 0.3.3                    pypi_0    pypi
attrs                     23.1.0                   pypi_0    pypi
bidsschematools           0.7.1                    pypi_0    pypi
blessed                   1.20.0                   pypi_0    pypi
boto3                     1.28.44                  pypi_0    pypi
botocore                  1.31.44                  pypi_0    pypi
bzip2                     1.0.8                h620ffc9_4
ca-certificates           2023.08.22           hca03da5_0
certifi                   2023.7.22                pypi_0    pypi
charset-normalizer        3.2.0                    pypi_0    pypi
ci-info                   0.3.0                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
click-didyoumean          0.3.0                    pypi_0    pypi
dandi                     0.56.0                   pypi_0    pypi
dandischema               0.8.4                    pypi_0    pypi
dnspython                 2.4.2                    pypi_0    pypi
email-validator           2.0.0.post2              pypi_0    pypi
entrypoints               0.4                      pypi_0    pypi
etelemetry                0.3.0                    pypi_0    pypi
fasteners                 0.18                     pypi_0    pypi
fparse                    1.20.1                   pypi_0    pypi
fqdn                      1.5.1                    pypi_0    pypi
fscacher                  0.4.0                    pypi_0    pypi
h5py                      3.9.0                    pypi_0    pypi
hdmf                      3.9.0                    pypi_0    pypi
humanize                  4.8.0                    pypi_0    pypi
idna                      3.4                      pypi_0    pypi
importlib-metadata        6.8.0                    pypi_0    pypi
interleave                0.2.1                    pypi_0    pypi
isodate                   0.6.1                    pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
jaraco-classes            3.3.0                    pypi_0    pypi
jmespath                  1.0.1                    pypi_0    pypi
joblib                    1.3.2                    pypi_0    pypi
jsonpointer               2.4                      pypi_0    pypi
jsonschema                4.19.0                   pypi_0    pypi
jsonschema-specifications 2023.7.1                 pypi_0    pypi
keyring                   24.2.0                   pypi_0    pypi
keyrings-alt              5.0.0                    pypi_0    pypi
libffi                    3.4.4                hca03da5_0
more-itertools            10.1.0                   pypi_0    pypi
natsort                   8.4.0                    pypi_0    pypi
ncurses                   6.4                  h313beb8_0
neo                       0.12.0                   pypi_0    pypi
neuroconv                 0.4.2                    pypi_0    pypi
numcodecs                 0.11.0                   pypi_0    pypi
numpy                     1.25.2                   pypi_0    pypi
nwbinspector              0.4.29                   pypi_0    pypi
openssl                   3.0.10               h1a28f6b_2
packaging                 23.1                     pypi_0    pypi
pandas                    2.1.0                    pypi_0    pypi
pip                       23.2.1          py311hca03da5_0
probeinterface            0.2.17                   pypi_0    pypi
psutil                    5.9.5                    pypi_0    pypi
pycryptodomex             3.18.0                   pypi_0    pypi
pydantic                  1.10.12                  pypi_0    pypi
pynwb                     2.5.0                    pypi_0    pypi
pyout                     0.7.3                    pypi_0    pypi
python                    3.11.4               hb885b13_0
python-dateutil           2.8.2                    pypi_0    pypi
pytz                      2023.3.post1             pypi_0    pypi
pyyaml                    6.0.1                    pypi_0    pypi
quantities                0.14.1                   pypi_0    pypi
readline                  8.2                  h1a28f6b_0
referencing               0.30.2                   pypi_0    pypi
requests                  2.31.0                   pypi_0    pypi
rfc3339-validator         0.1.4                    pypi_0    pypi
rfc3987                   1.3.8                    pypi_0    pypi
rpds-py                   0.10.2                   pypi_0    pypi
ruamel-yaml               0.17.32                  pypi_0    pypi
ruamel-yaml-clib          0.2.7                    pypi_0    pypi
s3transfer                0.6.2                    pypi_0    pypi
scipy                     1.11.2                   pypi_0    pypi
semantic-version          2.10.0                   pypi_0    pypi
setuptools                68.0.0          py311hca03da5_0
six                       1.16.0                   pypi_0    pypi
spikeinterface            0.98.2                   pypi_0    pypi
sqlite                    3.41.2               h80987f9_0
tenacity                  8.2.3                    pypi_0    pypi
threadpoolctl             3.2.0                    pypi_0    pypi
tk                        8.6.12               hb8d0fd4_0
tqdm                      4.66.1                   pypi_0    pypi
typing-extensions         4.7.1                    pypi_0    pypi
tzdata                    2023.3                   pypi_0    pypi
uri-template              1.3.0                    pypi_0    pypi
urllib3                   1.26.16                  pypi_0    pypi
wcwidth                   0.2.6                    pypi_0    pypi
webcolors                 1.13                     pypi_0    pypi
wheel                     0.38.4          py311hca03da5_0
xz                        5.4.2                h80987f9_0
zarr                      2.16.1                   pypi_0    pypi
zarr-checksum             0.2.9                    pypi_0    pypi
zipp                      3.16.2                   pypi_0    pypi
zlib                      1.2.13               h5a0b063_0
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Have you ensured this bug was not already reported?

Hi there @aghatpande!
I've opened issues upstream for this
The process starts with neo: https://github.com/NeuralEnsemble/python-neo/issues/1328
Once available there it goes to spikeinterface: https://github.com/SpikeInterface/spikeinterface/issues/1974
And once that's through everything should work fine
I know that the folks over at neo would really appreciate if you could make a small snippet (less than 10 MB) of example data so they can setup automated tests for it

Thanks @CodyCBakerPhD for opening the upstream issues. I'll make a data snippet and post it in the neo issue early next week after clearing it with the folks who own the data. Thanks for your attention and pointing out the heirarchy.

@samuelgarcia @alejoe91 @JuliaSprenger
How would you prefer this user to share their new data snippet? I'd personally recommend google Drive, if they can provide some secure email addresses for you to share it with
As far as identifying info in the config, that will have to be scrubbed eventually anyway (replaced with dummy values) and wouldn't be useful for anything downstream, so I'd recommend you anonymize that as early in the process if you know how to modify it yourself (are they just text files?)

@CodyCBakerPhD, @samuelgarcia, @alejoe91, @JuliaSprenger
I have uploaded the data snippet to my google drive (only the .ncs and .ntt files for privacy). Please let me know an appropriate email to share it with.

you can use this one: alejoe9187@gmail.com
I'll forward it then to @samuelgarcia and @JuliaSprenger

I could successfully import Neuralynx data in the largest version of spike interface. Hence closing this.

Glad to hear!

authors: CodyCBakerPhD aghatpande alejoe91

repo: catalystneuro/neuroconv


text:
Add initial folder structure for the Neurotensin experiment

Set up initial folders and basic converter for the first experiment conversion.
the article:
Neurotensin orchestrates valence assignment in the amygdala

@weiglszonja We've been using the https://github.com/catalystneuro/cookiecutter-my-lab-to-nwb-template as the template for a while now, perhaps I should just archive or remove the other outdated template to avoid that confusion
Can you re-generate using the cookiecutter?

authors: CodyCBakerPhD weiglszonja

repo: catalystneuro/tye-lab-to-nwb


text:
invalid value for parameter "client_encoding": "utf8mb4"

Information

Version of Medoo: 2.1.8
Version of PHP: 8.0
Type of Database (MySQL, MSSQL, SQLite...): PostgreSQL
System (Liunx|Windows|Mac): Linux

Describe the Problem
A clear and concise description of what the problem is.
I'm using PostgreSQL version 14 and it was giving me invalid value for parameter "client_encoding": "utf8mb4"
Detail Code
The detail code you are using causes the problem.
// Write your PHP code here

Expected output
A clear and concise description of what output you expected.

Please remove the 'charset' => 'utf8mb4' or change it to utf8 from your database connection option.
It's an optional option.

authors: catfan rexluciano

repo: catfan/Medoo


text:
failed to register layer: Isetxattr user.overlay. impure /etc: operation not supported

When I try to pull any Ubuntu image it returns a Docker error, it used to work correctly but now it doesn't, it is the only image this happens with, here is the error log:

Had the same issue (and also could reproduce with curlimages/curl).
It looks like an issue with docker 25.0.3 (give or take a few versions).
I rolled back to a version working on a different server (24.0.5) and it's now working again for me.

I can confirm the problem with docker 25.0.2 running on Ubuntu 23.04. Downgrading to docker 24.0.9 makes the problem go away.

I can confirm that pulling catthehacker/ubuntu:act-latest and running it now works with docker 25.0.2. Thanks!

authors: LeonardoIz etinquis oSoMoN


text:
Implement Cayley as a QuadStore backend for Cayley

Description
This is a feature request.
The API exposed through imports.go, allows us to query Cayley in native Go code, rather than write SQL-like Sprintf commands which are then parsed back into Go as it is done in cayleygraph/go-client.
It would be nice, if the Iterator operations could be relayed to another Cayley instance over gRPC, rather than sent to a "local" (i.e. owned) backing store accessed via hidal-go.
Meta.

I think you're right, but we'll have to wait for the authors to come around to evaluate this. But I appreciate your interest and if you have any feedback on this — RFC! 👍🏻

repo: cayleygraph/cayley


text:
My First PR commit

PR comments

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: jenkins-x-bot-test
If they are not already assigned, you can assign the PR to them by writing /assign @jenkins-x-bot-test in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview environment cb-kubecd-bdd-nh-1568824185-pr-1 here


text:
chore: bdd-nh-1586645151 to 0.0.1

chore: Promote bdd-nh-1586645151 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Timeout is not working correctly with parallel=tests when xmltest contains multiple method

TestNG Version
7.3.0
Expected behavior
Test timeout should be total time of all method but not each
Actual behavior
Test timeout act as method timeout
Is the issue reproductible on runner?

[ ] Shell
[x] Maven
[ ] Gradle
[ ] Ant
[ ] Eclipse
[x] IntelliJ
[ ] NetBeans

Test case sample
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

public class Issue779TestcaseSample1 {
    @Test
    public void testMethod1() throws InterruptedException {
        TimeUnit.SECONDS.sleep(5);
    }

    @Test
    public void testMethod2() throws InterruptedException {
        TimeUnit.SECONDS.sleep(5);
    }

    @Test
    public void testMethod3() throws InterruptedException {
        TimeUnit.SECONDS.sleep(10);
    }
}

Test runner
import org.testng.Assert;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;

import java.util.Collections;

public class Issue779TestRunner {
    public static void main(String[] args) {
        XmlSuite suite = new XmlSuite();
        suite.setTimeOut(String.valueOf(60 * 1000));
        suite.setParallel(XmlSuite.ParallelMode.TESTS);
        suite.setName("suite");

        XmlTest xmlTest = new XmlTest(suite);
        xmlTest.setTimeOut(7 * 1000);
        xmlTest.setXmlClasses(Collections.singletonList(new XmlClass(Issue779TestcaseSample1.class)));
        xmlTest.setName("test");

        TestNG testng = new TestNG();
        testng.setXmlSuites(Collections.singletonList(suite));
        testng.setVerbose(2);
        TestListenerAdapter tla = new TestListenerAdapter();
        testng.addListener(tla);
        testng.run();

        Assert.assertEquals(tla.getPassedTests().size(), 1, "pass methods count");
    }
}

@tunefun - I think you are understanding this incorrectly.
Quoting the documentation from the TestNG.dtd https://github.com/cbeust/testng/blob/f9fcf66f3631f07b27b72be032c352978a4e7c6e/src/main/resources/testng-1.0.dtd#L54-L55
the time to wait in milliseconds before aborting the method (if parallel="methods") or the test (if parallel="tests")

This parameter works at the suite level  ( <suite> ) for the below two parallel execution strategies:

tests
methods

This parameter works at the test level ( <test> ) when the parallel execution strategy is methods.
In your case, since you have just added one <test> tag, and the parallelism strategy is tests. Since there's only one <test> tag, the methods in this <test> tag are going to run sequentially and TestNG is going to apply a timeout value of 7000 milliseconds for each of these methods.
Per your sample, only testMethod3() will fail (because it sleeps for 10 seconds) and the other two will pass.
So this assertion is incorrect
Assert.assertEquals(tla.getPassedTests().size(), 1, "pass methods count");

In a nutshell, the time-out attribute is always intended to be measured at particular method level and becomes applicable at <suite> level (when parallel = tests|methods) or at <test> level (when parallel='methods')
Closing this issue with resolution as working as designed.

@krmahadevan How can I make it working as whole test timeout? When I set the suit timeout to 7000 millseconds, this test ends within 7000 millseconds.
Test runner
import org.testng.Assert;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;

import java.util.Collections;

public class Issue779TestRunner {
    public static void main(String[] args) {
        XmlSuite suite = new XmlSuite();
        suite.setTimeOut(String.valueOf(7 * 1000));
        suite.setParallel(XmlSuite.ParallelMode.TESTS);
        suite.setName("suite");

        XmlTest xmlTest = new XmlTest(suite);
        xmlTest.setTimeOut(7 * 1000);
        xmlTest.setXmlClasses(Collections.singletonList(new XmlClass(Issue779TestcaseSample1.class)));
        xmlTest.setName("test");

        TestNG testng = new TestNG();
        testng.setXmlSuites(Collections.singletonList(suite));
        testng.setVerbose(2);
        TestListenerAdapter tla = new TestListenerAdapter();
        testng.addListener(tla);
        testng.run();

        Assert.assertEquals(tla.getPassedTests().size(), 1, "pass methods count");
    }
}

@tunefun

How can I make it working as whole test timeout?

When you enable parallelism as tests at <suite> level:

if you have only one <test> tag, then you would need to explicitly set parallel=methods|instances|classes at the <test> level, for TestNG to kick off parallel execution. If you don't do this, then TestNG will treat each and every test method as an individual execution and attempt at running them in separate executorservice
If you have more than one <test> tags, then you don't need to do anything extra.

The time-out defined at the <suite> level (or) <test> level are essentially being passed on to the underlying executor service.

authors: krmahadevan tunefun

repo: cbeust/testng


text:
Add XSD file for validation

[x] Add test case(s)
[x] Update CHANGES.txt

@juherr - If you find some time please help let me know your thoughts on the two questions i posted. Post which I think we can get this PR merged.

@krmahadevan sure. But I don't see them. Did you finish the review?

@krmahadevan sure. But I don't see them. Did you finish the review?

My bad. Forgot that. Now I finished it.

@juherr - Can you please fix the merge conflict ? We can merge this after that.

ping @juherr

ping @juherr

I am doing my best to close it asap ;)

authors: juherr krmahadevan