Undefined symbols when using cmake based build on macOS

Hey,
I've discovered a wired issue when I've switched to cmake based build:
:info:build Undefined symbols for architecture x86_64:
:info:build   "_xerbla_", referenced from:
:info:build       _sgemv_ in libopenblas.a(sgemv.c.o)
:info:build       _sger_ in libopenblas.a(sger.c.o)
:info:build       _strsv_ in libopenblas.a(strsv.c.o)
:info:build       _strmv_ in libopenblas.a(strmv.c.o)
:info:build       _ssyr2_ in libopenblas.a(ssyr2.c.o)
:info:build       _sgbmv_ in libopenblas.a(sgbmv.c.o)
:info:build       _ssbmv_ in libopenblas.a(ssbmv.c.o)
:info:build       ...
:info:build      (maybe you meant: _xerbla_array_)
:info:build ld: symbol(s) not found for architecture x86_64

It appears on macOS 10.5 and 10.6 only when build calls gfortran with parameters -fpic -shared -Wl,-all_load -Wl,-force_load,libopenblas.a -Wl,-noall_load.
Since 10.7 this issue do not reproduced, and the major differences that since 10.7 it has libc++ and clang based "world". I not sure how it related, but it seems some condition inside cmake files aren't hold.
Does it ring any bell?

Could be due to some tricks that are played so that xerbla can be overloaded with a user-provided error handler (which is e.g. what some tests use). I'm pretty sure that your libopenblas.a will have a _xerbla_ (even if as a weak symbol), but could you check with nm or equivalent just in case ?

Well, it has only U symbols and a lot of them:
leopard:build catap$ nm libopenblas.a | grep _xerbla_ | grep -v 'U'
warning: nm: no name list
warning: nm: no name list
00000000 T _xerbla_array_
leopard:build catap$ nm libopenblas.a | grep _xerbla_ | grep 'U' | wc -l
warning: nm: no name list
warning: nm: no name list
    1785
leopard:build catap$

But the same behaviour on macOS 12 as well where it works:
√ build % nm libopenblas.a | grep _xerbla_ | grep -v 'U'
libopenblas.a:xerbla.c.o: no symbols
libopenblas.a:la_constants.f90.o: no symbols
0000000000000000 T _xerbla_array_
√ build % nm libopenblas.a | grep _xerbla_ | grep 'U' | wc -l
libopenblas.a:xerbla.c.o: no symbols
libopenblas.a:la_constants.f90.o: no symbols
    1785
√ build %

BTW I may try to fix build by -undefined dynamic_lookup, let me take a spin

I found interesting blog post about weak symbols in macOS: https://glandium.org/blog/?p=2764

As expected it had been built. Building mumps to confirm that it works as expected.


Improve etcd dashboard

This addresses issue #2
It uses the prometheus calls from https://github.com/tkashem/dittybopper/blob/dashboard/dashboards/etcd-overview.json as requested in the issue.
I positioned the data in a way that seemed logical, though I can easily move them.
Here are the pictures from a test aws cluster:

@jaredoconnell Nice! @rsevilla87 PTAL

@jaredoconnell Nice! @rsevilla87 PTAL

Nice work @jaredoconnell.

Nice work @jaredoconnell.


How to open link in same tab?

Maybe I'm just missing a configuration option, but how do I open a link not in a new tab, but in the same (i.e. hubley's) tab?

No, that is not possible, yet. Do you want to let each user decide if same tab / new tab (user settings). Or do you want to control this behavior for each link instead (tiles config)?

I would prefer something like an additional "target=..." tag for each link.
Background: I try to use hubleys as a dashboard embedded in my Nextcloud instance. Many other homelab sites could also be opened embedded, others have to opened in a new tab (e.g. internal only sites). This should be configurable on a per-link basis.

I've added the feature. Please try with the edge tag docker image:  ghcr.io/knrdl/hubleys-dashboard:edge
change in config.yml:
- url: https://github.com/cmatsuoka/asciiquarium
+ url:
+  value: https://github.com/cmatsuoka/asciiquarium
+  # tab: 'new'  # the default, will open the link in a new tab
+  tab: 'same' # will open the link in the current tab

Thanks for the quick fix.

Could you also implement "top" and/or "parent" for this configuration option?

now possible (when the edge build is done) via this format change in your config.yml file:
src/lib/server/sysconfig/types.d.ts

That are about the fastest feature request implementations I've experienced until now ;-).

Unfortunately, it does not work yet (using ghcr.io image with edge-tag):
      - title: Nextcloud
        logo: https://nextcloud.domain:8443/icons/general/nextcloud.png
        url: https://nextcloud.domain:8443/nextcloud/
        target: same-tab
        subtitle: Nextcloud

This should open in the same tab, as I understand it, but it always opens a new tab?

no, it should be:
      - title: Nextcloud
        logo: https://nextcloud.domain:8443/icons/general/nextcloud.png
        url:
          value: https://nextcloud.domain:8443/nextcloud/
          target: same-tab
        subtitle: Nextcloud


[transactional-tests] Initial runner implementation -(60)

Motivation
Will serve for a simpler replacement of the functional-tests and e2e tests
Lots of tiny things to fix, but that can be done as this is being used

New test runner that uses struct opt and functional-test like command sections/blocks
Apologies for the lack of documentation currently. There was more in internal docs that I will try to share at some point, just trying to move this forward ASAP to help testing efforts

Test Plan
Added example tests

/canary

/canary

:sunny: Canary successful

/land

:broken_heart: Test Failed - ci-test

/land

/land


Refactor core functions names and add comments

Q
A

Bug fix?
no

New feature?
no

Doc update?
yes, Comments inside core file DW1000Ng.cpp

BC breaks?
no

Deprecations?
no

Relative Issues
#48

Everything seems fine

I will try this refactoring as soon as possible. Now I have a problem with tag, probably is a problem of the Arduino pro mini.

@an4cr0n, I tried this pull request with last modifies, It works!

Nice! Approve it


Better clarification in terms of support for Azure Firewall and NAT Gateway

This page needs to give a clear indication if Shortpath supports Azure Firewall or NAT Gateway, right now it only implies that NAT Gateway and Azure Firewall uses Symmetric NAT which is not supported by Shortpath.
Based upon the current information for me as a reader it gives not indication if it works or not.

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

ID: 31718c09-8c87-c102-d326-c78e5ff018fd
Version Independent ID: 1b15c261-9ea8-e23b-d6a1-b3131dd403b9
Content: RDP Shortpath - Azure Virtual Desktop
Content Source: articles/virtual-desktop/rdp-shortpath.md
Service: virtual-desktop
GitHub Login: @dknappettmsft
Microsoft Alias: daknappe

@msandbu
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@dknappettmsft
Can you please check and add your comments on this doc update request as applicable.

Thank for the feedback. The article doesn't just imply that Azure Firewall and NAT Gateway use Symmetric NAT, it states that it does. I've added clarification that they're not supported for RDP Shortpath for public networks. The change should be visible later today.
#please-close.


Scroll jumping, hover and press position issues

Hey, my first time using the package and first off thanks for maintaining it, then wanted to bring up a couple issues i've noticed running this on expo ios with a simple image uploader (using Expo 52.0.0 and this library 3.6.3):

When scrolling to the bottom of a page, hovering over the last few items makes the scroll jump (note just a hover not a long press)
When long pressing items for dragging the item starts dragging from the top of the image rather than the center
Making the below change here https://github.com/fivecar/react-native-draglist/blob/main/src/index.tsx#L213 seems to make it correctly point to the center though not sure if it's the right fix

from:
clientPos - (layouts[activeKey.current].pos + dragItemExtent / 2)

to:
clientPos - (layouts[activeKey.current].pos + dragItemExtent)

Example component used for testing:
import { useState } from 'react'
import { TouchableOpacity, Image, Button } from 'react-native';
import * as ImagePicker from 'expo-image-picker';
import DragList from 'react-native-draglist';

export default function DraggableLyrics() {
  const [images, setImages] = useState([]);

  const pickImage = async () => {
    let result = await ImagePicker.launchImageLibraryAsync({
      mediaTypes: ['images', 'videos'],
      aspect: [4, 3],
      quality: 1,
      allowsMultipleSelection: true
    });

    if (!result.canceled) {
      setImages(result.assets.map(asset => ({
        id: asset.fileSize,
        component: <Image style={{ width: 150, height: 150, margin: 30 }} source={{ uri: asset.uri }}/>
      })))
    }
  };

  const keyExtractor = (str, _index) => {
    return str.id;
  }

  const renderItem = info => {
    const {item, onDragStart, onDragEnd, isActive} = info;

    return (
      <TouchableOpacity
        key={item.id}
        onLongPress={onDragStart}
        onPressOut={onDragEnd}
        style={
          isActive ? { backgroundColor: 'red'} : { backgroundColor: 'blue'}
        }
      >
        { item.component }
      </TouchableOpacity>
    );
  }

  const onReordered = (fromIndex, toIndex) => {
    const copy = [...images];
    const removed = copy.splice(fromIndex, 1);
    copy.splice(toIndex, 0, removed[0]);
    setImages(copy);
  }

  return <DragList
    ListHeaderComponent={ <Button title="Pick an image from camera roll" onPress={pickImage} /> }
    data={images}
    keyExtractor={keyExtractor}
    onReordered={onReordered}
    renderItem={renderItem}
  />
}

@linasmnew : thanks for taking the time to suggest an improvement! What you recommended is a good start, though the full fix is a bit more subtle: https://github.com/fivecar/react-native-draglist/pull/57/files
We've now also fixed the first bullet point you bring up (sudden jumping), which was due to a calculation bug as well: https://github.com/fivecar/react-native-draglist/pull/58
Thanks for your great suggestions! Fixes released as 3.7.0.

Thanks @fivecar, can confirm the drag is now in fact relative to the touch position but seems like it's only behaving that way for items above the bottom of the screen, bottom items are still behaving a bit weird with the jumping scroll effect - both when hovering bottom items and when scrolling to the bottom 🤔

@fivecar see https://github.com/user-attachments/assets/63d38714-9ea4-4898-9658-594a32cb3d46
I've tested the example app by adding images to it instead of text and i'm getting the same behaviour as that vid ☝ so i believe the example app needs to be more varied it would probably help having all 3 examples on their own pages taking up full height of the screen to capture more scenarios, i'd be happy to add more examples if you are open it

@linasmnew : can you describe in words what's wrong with the two videos you linked above? In the first video, I'm not positive what's happening, but it seems like you dragged one item in order to scroll the list -- is that right? And if so, is the problem that the item flashes?
In the second video's case, I'm also not quite sure I can tell from the video what's wrong. Could you try describing the unexpected behavior a bit more? (BTW, wrapping a FlatList inside a ScrollView generates a lot of issues which RN was warned about for many years...)


Rename LICENCE -> LICENSE

Hi!
Thanks for this project. The LICENCE (French) file should probably be renamed to LICENSE (English), both in this repo and in the skeleton.
BTW, is it possible to use a license other than MIT?
Thanks a lot.

Hello, thanks.
We could make the creation of the LICENSE file optional. I wouldn't try to give the choice on the license, because this would need handling of many, if not infinite, license texts.


Error: file is a directory when ctrl+click on a path in terminal

VSCode Version: 1.45.0
OS Version: Windows 10.0.18363.778

Steps to Reproduce:

Open the integrated terminal with cmd.exe as shell
Ctrl+click on the command prompt

Does this issue occur when all extensions are disabled?: Yes

I don't think this actually reaches the bar for a recovery release fix, I've only had this one report plus the old link system is getting torn out next release. Closing in favor of the new system: "terminal.integrated.experimentalLinkProvider": true

Does this mean using the experimental provider should fix the problem?

Yes the link will work when using that setting, along with many other links. The one caveat is that in Windows links can break when you resize the terminal (will be fixed this iteration)


Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release

Describe the bug
A warning appears in the console saying "Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release"
To Reproduce
Have installed the following dependencies

"react": "18.2.0"
"react-dom": "18.2.0"
"@material-table/core": "6.2.11"
"@mui/material": "5.14.10",

Open browser console
Warning: MTableHeader: Support for defaultProps will be removed from function components in a future major release appears

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Google Chrome
Version: 121.0.6167.161

Hello !
Got same error here with MTableBodyRow, MTableCell and more.
Using :

"next": "14.1.0"
"react": "^18"
"react-dom": "^18"
"@mui/base": "^5.0.0-beta.34"

I don't know how to help, I find this article maybe he could help.

Same here, but it does nothing other than bother.
Using :

"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@material-table/core": "^6.3.2",
"@mui/icons-material": "^5.15.9",
"@mui/material": "^5.15.9",
"@mui/material-nextjs": "^5.15.9",
"@typegoose/typegoose": "^12.1.0",
"dayjs": "^1.11.10",
"mongoose": "^8.1.1",
"next": "14.1.0",
"react": "^18",
"react-dom": "^18"

Seems like a deprecation. If you want to work on a PR to change it to the new way to do it, you are more than welcome.

The deprecation warning is for React 19. React 19 is currently in beta. It is expected to be out of beta in June or July 2024.
So, the person working on the PR could a) Ensure it works without defaultProps in React 18 and b) Use React 19 Beta to test compatibility.


Can't write to /data/local/tmp on Android API >= 30

This is more my way of explaining everything I've learned in my latest explorations trying to run holochain in android, than an issue in this library, although there is an error that I get in my Redmi Note 7 when running it.
So, it seems that from Android 11 (API level 30) on, Android tightened security around file system reads and writes, and doesn't allow applications to just write to /data/local/tmp. This is the error I get when running tx5 on android, I get it from this line.
I was trying to override the result for this line by forking dirs-rs and redirecting the get_local_dir call to app_dirs2 get_app_dir, but I had no luck with this, it complained that the file didn't exist in this line (are we missing a .create(true) in that line??). I tried to add the .create(true), but then I bumped into another error: InvalidArgument, from that same function, but not sure which line...
After this, I discovered this issue, and that worked! Seems that by setting the TMPDIR env var, we can change where the tempdir crate creates new files. So, I can now compile and run holochain in android, by adding this workaround to my initialization code:
    let dir = app_dirs2::app_root(
        app_dirs2::AppDataType::UserCache,
        &app_dirs2::AppInfo {
            name: "studio.darksoil.rostangatest",
            author: "darksoil.studio",
        },
    )?;
    std::env::set_var("TMPDIR", dir);

After this, no more permission denied error, and networking works! I am able to communicate with a holochain node running in my laptop, and fetches for records work correctly! So this is really exciting.
Now, what needs to happen with this issue and tx5, I am not sure. Maybe tx5 could itself incorporate my workaround? Not sure, but right now I'm not blocked by tx5, and the workaround is sufficiently simple and clean that it doesn't bother me at all. Maybe in the future others will bump into it though.
Thanks for the hard work! @neonphog @abe-njama

I spoke too soon. I am getting an error still even with the workaround:
10-31 15:24:52.852 16603 16653 I RustStdoutStderr:
10-31 15:24:52.852 16603 16653 I RustStdoutStderr: ###HOLOCHAIN_SETUP###
10-31 15:24:52.852 16603 16653 I RustStdoutStderr: ###ADMIN_PORT:24972###
10-31 15:24:52.852 16603 16653 I RustStdoutStderr: ###HOLOCHAIN_SETUP_END###
10-31 15:24:52.857 16603 16653 I RustStdoutStderr: FATAL PANIC PanicInfo {
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     payload: Any { .. },
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     message: Some(
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:         failed to get data_local_dir,
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     ),
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     location: Location {
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:         file: "/home/guillem/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tx5-core-0.0.2-alpha/src/file_check.rs",
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:         line: 30,
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:         col: 32,
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     },
10-31 15:24:52.857 16603 16653 I RustStdoutStderr:     can_unwind: true,
10-31 15:24:52.857 16603 16653 I RustStdoutStderr: }
10-31 15:24:52.857 16603 16653 I RustStdoutStderr: thread 'tokio-runtime-worker' panicked at 'failed to get data_local_dir', /home/guillem/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tx5-core-0.0.2-alpha/src/file_check.rs:30:32

So I have to still keep my fork of dirs-rs to point to some folder in android, even if it then fails and needs to actually go through with the temp file.
So yeah I would consider this a bug, in that in Android API level API dirs::get_local_dir returns None and tx5 is just doing an expect() on it. Maybe a better if/else handling of that option would help, or even better, migrate to a library like app_dirs2 that supports android (AFAIU dirs-rs) doesn't.

This should have been addressed with https://github.com/holochain/tx5/pull/77 and subsequently https://github.com/holochain/holochain/pull/3287. Note that it is only planned to be included in holochain develop (0.3) because it is a breaking protocol change.


MDC not logging overriden breadcrumbId or custom property

Configured log to print MDC fields camel.exchangeId, camel.breadcrumbId and custom property 'traceId'. Only camel.exchangeId is printed in log, however twice as it is also the breadcrumbId. Code and log output:
quarkus.log.level=INFO
quarkus.log.console.enable=true
quarkus.log.console.color=true
quarkus.log.console.format=  (%t) %X{camel.exchangeId} %X{camel.breadcrumbId} %X{traceId} %s%e%n

@ApplicationScoped
public class SimpleRoute  extends EndpointRouteBuilder {

    @Override
    public void configure() throws Exception {
        getContext().setUseMDCLogging(true);
        getContext().setUseBreadcrumb(true);
        from("timer://first?period=5000")
                .setHeader(Exchange.BREADCRUMB_ID, constant("bar"))
                .setProperty(Exchange.BREADCRUMB_ID, constant("bar"))
                .setProperty("traceId", constant("bar"))
                .setHeader("traceId", constant("bar"))
                .log("processing done");
    }
}

(Camel (camel-26) thread #42 - timer://first) 0FC1A7169D4FB9B-0000000000000001 0FC1A7169D4FB9B-0000000000000001  processing done

Does your example work in plain Camel without Quarkus?
MDCUnitOfWork handles adding fields to the MDC and it probably runs before you attempt to override camel.breadcrumbId.
If you want to override the default behaviour, you can extend MDCUnitOfWork. There's an old stackoverflow.com thread that talks about it (might need some adapting for Camel 3.x):
https://stackoverflow.com/questions/29045419/apache-camel-mdc-add-field-from-body

Does your example work in plain Camel without Quarkus?
MDCUnitOfWork handles adding fields to the MDC and it probably runs before you attempt to override camel.breadcrumbId.
If you want to override the default behaviour, you can extend MDCUnitOfWork. There's an old stackoverflow.com thread that talks about it (might need some adapting for Camel 3.x):
https://stackoverflow.com/questions/29045419/apache-camel-mdc-add-field-from-body

@jamesnetherton yes, it worked without quarkus. Would be nice if it would work also with quarkus out of the box

@jamesnetherton yes, it worked without quarkus. Would be nice if it would work also with quarkus out of the box

@jamesnetherton another observation, gelf logger is logging correctly:
quarkus.log.handler.gelf.include-full-mdc=true
and then, camel_breadcrumbId is logged with value set

@jamesnetherton another observation, gelf logger is logging correctly:
quarkus.log.handler.gelf.include-full-mdc=true
and then, camel_breadcrumbId is logged with value set

I've implemented CustomUnitOfWorkFactory but it is not picked up by camel
@ApplicationScoped
public class CustomUnitOfWorkFactory implements UnitOfWorkFactory {

I've implemented CustomUnitOfWorkFactory but it is not picked up by camel
@ApplicationScoped
public class CustomUnitOfWorkFactory implements UnitOfWorkFactory {

I've implemented CustomUnitOfWorkFactory but it is not picked up by camel

Add the @Unremovable annotation, otherwise Quarkus will clean up unused beans.

I've implemented CustomUnitOfWorkFactory but it is not picked up by camel

Add the @Unremovable annotation, otherwise Quarkus will clean up unused beans.

@jamesnetherton  @Unremovable doesn't help. Factory still not called. I've also injected it into the route to make sure it is not removed

@jamesnetherton  @Unremovable doesn't help. Factory still not called. I've also injected it into the route to make sure it is not removed

You need camel-quarkus-main on the classpath in order for the auto discovery of the UnitOfWorkFactory to happen.
Otherwise you could do it manually in the RouteBuilder:
public void configure() {
            getContext().getExtension(ExtendedCamelContext.class).setUnitOfWorkFactory(new CustomUnitOfWorkFactory());
}

You need camel-quarkus-main on the classpath in order for the auto discovery of the UnitOfWorkFactory to happen.
Otherwise you could do it manually in the RouteBuilder:
public void configure() {
            getContext().getExtension(ExtendedCamelContext.class).setUnitOfWorkFactory(new CustomUnitOfWorkFactory());
}

@jamesnetherton Thank you! that worked.
In case someone need it. You have to override beforeProcess method in your CustomUnitOfWork implementation
    @Override
    public AsyncCallback beforeProcess(Processor processor, Exchange exchange, AsyncCallback callback) {
        String value = exchange.getIn().getHeader(Exchange.BREADCRUMB_ID, String.class);
        if (value != null) {
            MDC.put("camel." + Exchange.BREADCRUMB_ID, value);
        }
        return super.beforeProcess(processor, exchange, callback);
    }

then in config file use format %X{camel.breadcrumbId}

@jamesnetherton Thank you! that worked.
In case someone need it. You have to override beforeProcess method in your CustomUnitOfWork implementation
    @Override
    public AsyncCallback beforeProcess(Processor processor, Exchange exchange, AsyncCallback callback) {
        String value = exchange.getIn().getHeader(Exchange.BREADCRUMB_ID, String.class);
        if (value != null) {
            MDC.put("camel." + Exchange.BREADCRUMB_ID, value);
        }
        return super.beforeProcess(processor, exchange, callback);
    }

then in config file use format %X{camel.breadcrumbId}


[Bugfix][TOPI] Fix a bug in arm_cpu int8 conv2d i8mm schedule

topi.arm_cpu.schedule_conv2d_NHWC_quantized_interleaved was failing compilation with the +i8mm extension enabled (as done in apache/tvm#14888) whenever the output height and output width were both equal to 1, such that OH x OW = 1.
Padding was being removed during the tir.BufferShapeLegalize pass, causing an error in the tir.BufferBindUnwrapper pass. Some of the removed padding was necessary for tensorize (using the gemm_acc_2x2_int8_int8_int32 intrinsic), which expects 2x2 output tiles. However, because of the optimisations mentioned above, the output tensor C_interleaved was reduced to having 1x2 tiles instead.
e.g. for A = [1x1x1x8], W = [1x1x8x24], C = [1x1x1x24]:

Before fix: C_interleaved = T.Buffer((1, 1, 2, 1, 6, 1, 2), "int32”)
After fix: C_interleaved = T.Buffer((1, 1, 2, 1, 6, 2, 2), "int32”)

To make sure the required padding is left untouched, while the rest of it is still removed, a dummy reference to the needed axis is declared.
In the end, the leftover padding is still disregarded when computing the final output tensor C.

cc @ekalda @neildhickey @lhutton1 @leandron

Thanks @Anndrey24!


Only one artifact usable

For a few days we can hardly use artifacts in our environment.
Until a few days ago, we could use these artifacts to reset the VM's password, for example. Now all the artifacts are missing. Only cloning from GIT is still offered. (An artifact written by yourself)
Is this only the case for us, or in general? And if so how do we get the public artifacts running again?
(We have used Windows 10 as a base, but the problem also occurs with any other image)

We also have this problem since today, but we can't use any artifacts at all.

This is also affecting me, was working dew days ago but today it fails to find any artifact hosted in the repo


Uncaught TypeError: Cannot read property 'match' of undefined

Created table
| a | b |
| 1 | 2 |
| 3

Pressed tab when cursor was after 'a'
Atom Version: 1.7.0-beta0
System: Mac OS X 10.9.5
Thrown From: table-editor package, v0.2.0
Stack Trace
Uncaught TypeError: Cannot read property 'match' of undefined
At /Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:104

TypeError: Cannot read property 'match' of undefined
    at Object.module.exports.TableEditor.isInTable (/Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:104:12)
    at Object.module.exports.TableEditor.getTableForSelection (/Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:155:12)
    at Object.module.exports.TableEditor.getTablesForSelections (/Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:140:19)
    at Object.module.exports.TableEditor.formatTable (/Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:175:25)
    at atom-text-editor.subscriptions.add.atom.commands.add.table-editor:next-cell (/Users/mmattozzi/Dropbox/Atom/packages/table-editor/lib/table-editor.coffee:33:37)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:41.7.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:38.4.0 editor:newline (atom-text-editor.editor.is-focused.table-editor-active)
     -0:36.5.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:36.5.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:36.5.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:35.9.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:35.9.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:35.9.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:32 core:select-all (atom-text-editor.editor.is-focused)
     -0:31.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
 10x -0:24.6.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:23.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:23.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:02.7.0 core:move-up (atom-text-editor.editor.is-focused)
  3x -0:01.5.0 core:move-right (atom-text-editor.editor.is-focused.table-editor-active)
     -0:00.5.0 table-editor:next-cell (atom-text-editor.editor.is-focused.table-editor-active)

Config
{
  "core": {
    "disabledPackages": [
      "whitespace"
    ]
  }
}

Installed Packages
# User
compactor, v0.0.0
pretty-json, v0.3.3
table-editor, v0.2.0

# Dev
No dev packages

+1

+1


Recent Ionic versions are not published to npm

Short description of the problem:
Recent versions of the ionic-sdk are not published to npm.
What behavior are you expecting?
The latest versions could be installed through npm.
Steps to reproduce:

Go to https://github.com/driftyco/ionic/releases and see the latest version is 1.3.1
Type in your cmd npm info ionic-sdk and see the latest published version is 1.2.4

Which Ionic Version? 1.x or 2.x
1.x
Ionic info
Cordova CLI: 6.1.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.1.0
Xcode version: Xcode 7.3.1 Build version 7D1014

Hello! Thanks for opening an issue with us! Ionic is now released through this npm package https://www.npmjs.com/package/ionic-angular . Sorry for the confusion!

Maybe renaming the package is a good idea then in the package.json.
Is there any difference between ionic-angular package and the ionic-framework packages? Both of them point to driftyco/ionic.

Yep, the ionic-framework packages are for the older releases before we switched to ionic-angular.

Thanks for the clarification but I am still confused. What I want is to install the 1.3.4 version of ionic. But none of the packages mentioned above have this version. The ionic-framework packages goes from 2.0.0-alpha.0 to 2.0.0-beta.2, the ionic-angular package goes from 2.0.0.beta.1 to 2.0.0.beta.7 and the ionic-sdk packages goes from 1.0 to 1.2.4. So which package can I install the 1.3.4 version from?
(To get the available versions I used npm view ionic-sdk versions, etc..)

Hey sorry should have been more clear, the latest version of ionic 1 is 1.3.1 which you can see is part of the ionic-angular package by running npm info ionic-angular. The exact npm tag for it is 1.3.1-201605121907. Hope that helps!

Hello, you don't provide the scss code anymore in ionic-angular ?
I had it in<EMAIL_ADDRESS>and used it for theming (overriding default variables).
For now I'm using the github url directly to install the sdk (I get the scss here obviously), or is there a better way to customize the default styles ?

Hi @jlebras,
I suppose we could include the sass going forward.  Thanks for letting us know.
Thanks,
Dan

Any chance the tags between git and npm can be reconciled?
I just spent a day trying to get<EMAIL_ADDRESS>to work before finally realising that is an old version, not the v2.0.0-beta.8 github release.

@dsjgordon, the npm package for V2 of the framework is ionic-angular.
Thanks,
Dan

@danbucholtz Thanks, looks like the tags line up there.
Then the documentation needs to be updated.  It currently states:
$ npm install -g ionic@beta
I guess this would be an issue for ionic-site ?

Scratch that, just had it explained in Slack :)

npm ionic is the cli, github/ionic is the framework published to npm as ionic-angular.
The cli will automatically use the latest ionic-angular when using ionic start.
Existing projects can be updated to newer versions of ionic-angular via package.json.

@dsjgordon Is this explained somewhere in the webpage? If not, it should be in the install section. This confused me in the past as well.

I agree, it's an easy stone for developers to trip over.  Perhaps a note in the docs would suffice, if not a realignment of the package names.

We are thinking about renaming some of these things as we draw closer to general release of V2.  I think the CLI will always start with the ionic command but I don't necessarily think the package name needs to be ionic.
Do you guys have any suggestions for how you'd like to see stuff named?


Add adobe conference talk video

This is a recent company testimonial (late last year) from the Adobe Experience Platform team. I'd like to add it to success stories. It's replacing a Netflix video, since there is already a Netflix case study on the page.

@dnilasor, this PR has a bunch of files from your gardening day stuff. Can you clean this up and recreate it?

Closing this because I neglected to base this branch on Master. #1779 is the correct version


Server: Issue adding multiple tracks to a playlist

What version of Music Assistant has the issue?
2.0.0b70
The problem
I'm trying to set up my playlists in MA but when I try to add multiple tracks to a playlist I'm having trouble. Adding one by one works, but when I try to add multiple I get errors in the logs that look like:
2023-08-07 22:06:24.325 WARNING (MainThread) [music_assistant.providers.filesystem_smb] Could not parse uri/file filesystem_smb://track/Example - Example.mp3ample2.mp33 to track: track://Example - Example.mp3ample2.mp33 not found on provider filesystem_smb

and the garbled file paths also appear in the m3u file for the playlist. Looks like the line in the file is being overwritten for each track instead of a new line being added, or something like that?
Files and playlists are all on an SMB share, to be clear and just in case it's relevant.
How to reproduce

Click "select multiple items" in the top bar of a track list
Select some items
From actions, add them to a playlist

Relevant log output
2023-08-07 22:06:24.325 WARNING (MainThread) [music_assistant.providers.filesystem_smb] Could not parse uri/file filesystem_smb://track/Example - Example.mp3ample2.mp33 to track: track://Example - Example.mp3ample2.mp33 not found on provider filesystem_smb
Additional information
No response
What version of Home Assistant Core are your running
2023.7.x
What type of installation are you running?
Home Assistant Core
On what type of hardware are you running?
Raspberry Pi

@krisnoble I can recreate this in b74. Is this still a problem for you?

Yeah, still happening for me on b74

Can you give a clear step by step so I can try and recreate it and make sure I am on the same view.

Sure. This is from artist view but not sure if same applies elsewhere, I assume so. Side note not sure why the tick boxes are above the cover like that, are they the same for you?

Doesn't seem to matter if it's a new playlist or existing.
Weirdly, in testing I've found that the behaviour is not always the same. Very occasionally both get added correctly, sometimes just one of the two, and sometimes the issue with one being written over the top of the other.
I guess if the longer track name gets written over the shorter one, it just looks as if it's only that track that's been written, but I have had times when just the shorter one turns up too.
I don't know async well enough yet to know the correct terms but I wonder if there's like a race condition happening if multiple tasks get started to update the playlist file?

Yes I believe I can recreate this. It will be looked at in due course

When I tried this, with tidal tracks recently, it worked without issue, has this actually already been fixed?

I’m trying local provider and it isn’t working. Only the first track is added?

I’m trying local provider and it isn’t working. Only the first track is added?

That makes sense then as I guess the issue was specific to local provider to begin with. I'll try to setup a local provider and do some tests.
You can assign this one to me unless @marcelveldt is already working on it

And this one @jozefKruszynski ?

@krisnoble playlists have been reworked. Please confirm this issue is resolved

With the new playlist functionality this is working for me so closing.


Pass config parameters to API adapters at creation

The configuration parser generates a dict of AdapterConfig objects, which are used to instantiate and register adapters with the API route. At present the additional adapter-specific config parameters resolved from the config file are not propagated into the adapter constructor at creation time so cannot be used.

Currently name and module attributes of AdapterConfig object are resolved (in http/server.py) and passed to register_adapter , where the adapter is instantiated:
# Register adapters with the API route and get handlers
for adapter in adapters:
    api_route.register_adapter(adapters[adapter].name, adapters[adapter].module)

Instead of doing this, could simply pass the entire object to register_adapter and resolve the attributes appropriately at that point?


Todo list

[ ] Fix the CI issue. Seems to be related to two deprecated modules (setuptools and distutils). A solution is given in my fork: https://github.com/pcotret/gigue/commit/c5b5d6e4842f5f0c816c30a56a434337b5688f89

Then:

[ ] Add prefix to Spike in the Makefile (https://github.com/QDucasse/gigue/blob/main/Makefile#L75)
[ ] The Rocket CPU model may not have a constant name (https://github.com/QDucasse/gigue/blob/main/Makefile#L73). Maybe interesting to set a constant for it

Fixes in the readme:

[ ] Description of the hardware setup (rocket-chip, v1.5 release). Is a non-modified CPU OK to run default benchmarks? Requirements for other configurations?
[ ] Documentation section: src folder does not exist
[ ] Quick reminder of what can be done with python -m gigue -h (in other words, description of parameters)
[ ] Analysis on an execution with some parameters

For the CI issue:

A temporary fix is issued in latest commit eea8dbd that simply reverts the treatment of warnings as errors
pkg_resources should not be used anymore as it is deprecated but used in both unicorn and capstone

A fix I tried in local is to convert both calls to pkg_resources following migration recommendations proposed by importlib_resources. As it is working, I will propose a PR to both repositories! Note that this issue only occurs through pytest

More on the CI issue here: https://github.com/unicorn-engine/unicorn/issues/1829

https://github.com/QDucasse/gigue/commit/9a39b24687ddd829a5a937cb7f6c448de0ddf4c3 specifies the Rocket version needed.


Let's report the file name when hiera data fails to parse

Report the filename when Hiera data fails to parse.

thanks for the contribution one of us will look at it soon hopefully.

could you enhance the tests to take this new behaviour in to account?

@danzilio Looking at writing the test for this now. Will add to your branch.

https://github.com/gds-operations/puppet-syntax/commit/84f21441b34b2236a3c17cae15d735301f2fa5df should fix this failing test. Will need to be cherry-picked.

Please see https://github.com/gds-operations/puppet-syntax/tree/danzilio-master

I just saw this! Sorry about that! Thank you @joshmyers for writing the test!

@danzilio Are you able to cherry-pick b9ecf49 in to this branch?  Once you've cherry-picked it in, we can look to merge this.

@ajlanghorn sorry, I guess I forgot to push this! Thanks!!

Hi @danzilio. Thanks! This has been merged :panda_face:


Update Django tutorial with re_path call on page 3

https://github.com/MicrosoftDocs/visualstudio-docs/issues/8847

@cwebster-99
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Enable the possibility to load a favicon which differs from the logo

Feature Description
After following this instructions, you've successfully changed the logo. However there are scenarios, where you (i.e.) want the favicon to have a background for better visibility in a Desktop, whereas your main logo has no background at all.
My first attempt was to try and overwrite
<link rel="icon" href="/assets/img/logo.svg" type="image/svg+xml">
<link rel="alternate icon" href="/assets/img/favicon.png" type="image/png">

with other files/filenames (which I've dropped in the public/img folder in gitea just like all other custom content) via  header.tmpl. But despite the injection being successful, that doesn't work since the favicon's get set and loaded earlier in the page building process. You can not overwrite this/alter this after the initial page buildup.
My idea would be to just easily alter <link rel="icon" href="/assets/img/logo.svg" type="image/svg+xml"> to <link rel="icon" href="/assets/img/favicon.svg" type="image/svg+xml"> here.
Adjusting that and copying the icon.svg to favicon.svg would make this work out of the box, and users would be able to adjust the favicon to their likes, in case they want a favicon which differs from their main logo.
Screenshots
No response

PR #18542 would solve this issue.


style(firefox): wrong popup width size in some screens

The issue shows in: Firefox version: 77, Windows 10. In some screens such as:

Add site
Edit site
About us

The width size is greater than the home screen.

This issue is fixed in commit ee2c5bdce9e2a349bccad647bed3a6d0fa5223a7


Enable Deepspeed on Windows

🚀 Feature
Currently, deepspeed is explicitly disabled on Windows systems:
_DEEPSPEED_AVAILABLE = not _IS_WINDOWS and _module_available('deepspeed')

I checked by commenting out the not _IS_WINDOWS part that deepspeed indeed does not currently work on Windows, the following error is emitted:
    595         elif backend == Backend.NCCL:
    596             if not is_nccl_available():
--> 597                 raise RuntimeError("Distributed package doesn't have NCCL "
    598                                    "built in")
    599             pg = ProcessGroupNCCL(
RuntimeError: Distributed package doesn't have NCCL built in

Motivation
It would be awesome to get the speed and memory benefits of deepspeed on Windows machines too!
Pitch
My understanding is that enabling this requires using our own implementation of parallelism via MPI rather than Pytorch distributed, which doesn't support Windows. Not sure how involved this is.
Alternatives
N/A
Additional context
Discussion with @SeanNaren about it here: https://pytorch-lightning.slack.com/archives/CRBLFHY79/p1616436343124400

@SeanNaren is this something the deep speed team can support?

DeepSpeed already supports MPI which is windows compatible! In order to integrate this, we'll need to refactor our code such that we use DeepSpeed's initialization function: https://deepspeed.readthedocs.io/en/latest/initialize.html#deepspeed.init_distributed

Support has been tentatively added in #8488, without end to end testing. So if anyone gets the chance to try this out on Windows end to end and report back it would be awesome!


Preview fonts

When choosing a font there is currently no way to see if it looks nice other than selecting it which is slow. There are three ways I can think of to preview fonts. The first one is to show the font name in the font itself. The second one is to show the a sample next to the font name and the third one is to temporarily chance the font of the text when hovering over a font and reverting back if you click away from the font selection dropdown.

To make this feasible, we'll have to minimize the network usage as much as possible. We should modify the FontInput widget so it isn't just a DropdownInput and it uses virtual scrolling (replacing the offscreen DOM nodes with a spacer) and only loading the fonts from Google Fonts when they are on-screen.
It would also be nice to let users sort by category, availability of weights, and more filtering options. Allowing them to see the font's name in the font, or type in some sample text to see that instead, is what I had in mind. I also like the idea of hovering over an entry to see it previewed in the editor.

We can optimise the volume of data by only loading a font with the specific characters for the preview alongside @Keavon's suggestion. https://developers.google.com/fonts/docs/css2#optimizing_your_font_requests


Added simple test for data processing layer.

Codecov Report

Merging #9 into master will increase coverage by 6.19%.
The diff coverage is 95.12%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   47.11%   53.31%   +6.19%
==========================================
  Files           4        6       +2
  Lines         225      287      +62
  Branches       32       40       +8
==========================================
+ Hits          106      153      +47
- Misses        106      117      +11
- Partials       13       17       +4

Impacted Files
Coverage Δ

src/process_data.c
60.6% <100%> (ø)

tests/test_wrp_interface.c
86.04% <100%> (-0.63%)
:arrow_down:

src/wrp_interface.c
48.43% <100%> (ø)
:arrow_up:

tests/test_process_data.c
93.54% <93.54%> (ø)

Continue to review full report at Codecov.

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


Error on search with multiple words

Thanks for the API!
I have two errors when I do a search with several words:
"7 wonders" or "Pandemic legacy", I have no results when I print searchResults... With just "wonders" it's working.
And when I type just a number I have no results too :/

Thanks for the bug report. Glad the library is useful to you!
Unfortunately, I no longer have the time to maintain this library, but I just tried the queries you specified with the XML API Directly (https://www.boardgamegeek.com/xmlapi2/search?query=pandemic legacy), and (https://www.boardgamegeek.com/xmlapi2/search?query=7 wonders), and both of them came back with results, so the behavior you're describing is not expected, and likely a bug.
If I had to guess (and this is going based on memory from a few years ago), I would say that the query params are probably not being formed correctly when they contain spaces.
I realize this is not a particularly helpful response, but if you want to try to fix the issue, I would start by adding a unit test in SearchSpec.swift, for query params like the ones I have listed above. I currently do not have a test for queries with spaces. As for an actual fix, in GABoardGameGeek.swift, my guess is that the string extension URLQueryParams on line 97 is not returning what I expect it to return. This code was initially developed in Swift 2, and I have not kept up with the current state of the art for Swift development, so it's possible this is a regression caused by the updates to Swift3/4.
If you do decide to investigate it, I will certainly review and merge any pull requests you submit to fix the issue.
Thanks!


Moving files with the same name in different folders at the same time in the File menu results in silent overwriting

Godot version
4.0(rc 1) mono
System information
windows10
Issue description
File overwriting occurs when a file with the same name in multiple folders is selected at the same time and moved to the same path will overwrite without any hints
For example, I have this in my filesystem
res:
-folder1
--test.cs
-foler2
--test.cs
Now I select res:/folder1/test.cs and res:/folder2/test.cs, right click one of them and let them move to res:/
After do this, one of these 2 files will be overwrite and only remain the other.
Steps to reproduce
See "Issue description for detail"
Minimal reproduction project
An empty project

Fixed by #75330.


Test coverage for props

Create Abstract Syntax Tree plugin that parses stories source code and make sure that all component props listed within component/components-docs.json are called in AST of Storybook stories.
This should create 100% prop coverage to know if all props are used in Storybook stories. This does not mean that they all work correctly, but that they are all surfaced within Storybook.

Hi @interactivellama, I find the concept interesting and would like to work on this. Could you provide me with more info what do you mean by AST of Storybook stories.

For an existing AST plugin see @futuremint 's https://github.com/salesforce/design-system-react/blob/master/scripts/code/find-and-fix-missing-doc-stories.js plugin which analyzes what stories are in the site-stories arrays.
The other place to look for inspiration is https://github.com/reactjs/react-docgen which we current use to generate https://github.com/salesforce/design-system-react/blob/master/components/component-docs.json
As for storybook stories, that's all these http://design-system-react-components.herokuapp.com/?selectedKind=SLDSAccordion&selectedStory=Base&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel in the left column sidebar.


URL loader that uses isolated classpath for task runtime

Kam Kasravi edited "URL loader that uses isolated classpath for task runtime"http://www.pivotaltracker.com/services/v3/projects/1345200/stories/9459564694595646

testing pivotal -> task creation


support tasks for managing kubernetes custom resources

Closes #44
Example

Screenshots
Mkdocs:

Service Integration tests:

Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[x] Includes tests or only affects documentation.
[x] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[x] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[ ] Summarizes PR's changes in CHANGELOG.md

Contains only crud operations for namespaced scope.
Should we add cluster scoped operations as well?

Thanks for your contribution @tardunge!
Overall this looks great! In addition to the comments on typings and docstrings, could you please add an entry to CHANGELOG.md?

Done.


Images not optimized when using copy-webpack-plugin vs externalImages

I was testing if the images where indeed optimized and I found that the output is different from using externalImages and copy-webpack-plugin
I though all the images that I use via copy webpack plugin were automatically optimized
Using copy webpack:
    new CopyWebpackPlugin({
      patterns: [
        { from: 'src/assets/images', to: 'assets/images' },
        { from: 'src/assets/media', to: 'assets/media' },
        { from: 'src/version.txt', to: 'version.txt' },
      ] }),
    new ImageminPlugin({
      test: /\.(jpe?g|png|gif|svg)$/i,
    }),

Using externalImages:
    new CopyWebpackPlugin({
      patterns: [
        { from: 'src/version.txt', to: 'version.txt' },
      ] }),

    new ImageminPlugin({
      test: /\.(jpe?g|png|gif|svg)$/i,
      externalImages: {
        context: 'src',
        sources: glob.sync('src/**/*.+(png|jpg|gif|svg)'),
        destination: 'dist/',
        fileName: '[path][name].[ext]',
      },
    }),

Aren't they supposed to have the same behaviour?
More info:
I'm not importing/including the images in JS or anything, but I need them available in the specified folder

@romariolopezc have you fixed this? I'm having the same trouble.
In my case, I'm fixed the copy using external, they are copied and optimized but ignoring my definitions on plugins like SVGO, where optimzation are removing viewbox even though I set it to false:
new ImageminPlugin({
  externalImages: {
    context: 'src',
    sources: glob.sync(source + '/src/images/**/*.{jpeg,jpg,png,gif,svg}'),
    destination: source + '/dist/',
    fileName: (filePath) => {
      filePath = filePath.slice(filePath.lastIndexOf('/images') + 1);
      return filePath;
    }
  },
  gifsicle: { optimizationLevel: 3, interlaced: true },
  jpegtran: { quality: 100, progressive: true },
  optipng: { optimizationLevel: 3, interlaced: true },
  svgo: {
    removeAttrs: { attrs: 'data.*' },
    removeRasterImages: true,
    removeOffCanvasPaths: true,
    removeDimensions: false,
    removeViewBox: false,
    prefixIds: {
      prefixIds: false,
      prefixClassNames: true,
    },
    addClassesToSVGElement: "icon",
    removeStyleElement: true,
    removeScriptElement: true,
    removeXMLNS: true,
    convertPathData: false,
  },
})

No I didn't @Giovancruz  and I didn't have the time to debug further


Updated TrustedHosts commands

Added required apostrophe's around string for computer names, added Concatenate parameter to preserve any pre-existing values in TrustedHosts list rather then overwrite them.

@SteveBurkettNZ : Thanks for your contribution! The author, @nsoneji, has been notified to review your proposed change.


Remove extra addDefaultMemory

I think this was inadvertently left out of
75257e759b455552c3007df1ec13c351ff1db2f5. Prior to removing this,
sbt --client exit took about 200ms on my computer compared to about
50ms for sbtn. The sbt --client result dropped to about 80ms after this
change.

Tests are passing now although there is still the waiting for travis-ci issue.

Tests are passing now although there is still the waiting for travis-ci issue.

I updated the branch protection rule to fix that now.


OpenSPbBot-4: Find new news no later than 8 hours since news was created

Find new news no later than 8 hours since news was created.
Every 8 hours the newly created service will :
find all new news
send new news for users

Acceptance criteria:
Spring scheduler added to the project with task every 8 hours
Logic for getting new news added

The scheduling process for finding new news must be followed by this workflow

:

#19


"There isn't a keyboard connected." Popup

I have all of my single key to single key mappings working in Karabiner-Elements, but something in my configuration seems to trick my Mac into thinking it doesn't have a keyboard connected. Everything is working as I expect, but every time I wake my MacBook Pro from sleep I get a dialog asking me to plug in or pair a keyboard. I can simply close the message by quitting the Bluetooth Setup Assistant, but I shouldn't be seeing it at all. Below is the contents of my karabiner.json:
```json
{
  "profiles": [
    {
      "name": "Default profile",
      "selected": true,
      "simple_modifications": {
          "caps_lock": "f16"
      },
	  "fn_function_keys": {
          "f1": "vk_consumer_brightness_down",
		  "f2": "vk_consumer_brightness_up",
		  "f3": "f13",
		  "f4": "vk_launchpad",
		  "f5":  "vk_consumer_illumination_down",
		  "f6":  "vk_consumer_illumination_up",
		  "f7":  "vk_consumer_previous",
		  "f8":  "vk_consumer_play",
		  "f9":  "vk_consumer_next",
		  "f10": "mute",
		  "f11": "volume_down",
		  "f12": "volume_up"
      }
    }
  ]
}
```

Duplicate to #201  ?

My bad. I looked but couldn't find anyone else reporting the same issue.


fix: Returns correct state when referenceElement becomes null

When I change referenceElement or popperElement to null, usePopper returns old state to me.
Steps To Reproduce

open the reproduce link: https://codepen.io/lmk123/pen/zYrRzMM
click the 'Set referenceElement to null' button

Expected behavior: state.placement becomes null
Current behavior: state.placement is still bottom

This is because the previous effect is cleaned up after the re-render::
https://overreacted.io/a-complete-guide-to-useeffect/#so-what-about-cleanup

Say props is {id: 10} on the first render, and {id: 20} on the second render.

React renders UI for {id: 20}.
The browser paints. We see the UI for {id: 20} on the screen.
React cleans up the effect for {id: 10}.
React runs the effect for {id: 20}.

When referenceElement becomes null, we need destroy the previous popper instance immediately.


Unable to install extension

Type: Bug
when i write anything on search bar its showing "error while fetching extensions. XHR failed". Hope you please solve my problem
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.19045
Modes:

this is not a VS Code issue, its an issue on their server for now https://marketplace.visualstudio.com/
they're working fixing it!

Hi @Devakumar2004
Thanks for reaching out. If you're using a VPN client or some local firewall, please turn these off and retry. If the error is still persisting, it will help us to investigate, if you can share the network log (command: Developer: Open Logs Folder).
Regards,
VS Marketplace Team

Thanks a lot my issue is resovled. Now im able to do coding. Once again thanks you   Sent from Mail for Windows From: NeelimaSent: 19 July 2024 11:26To: microsoft/vsmarketplaceCc: Devakumar2004; MentionSubject: Re: [microsoft/vsmarketplace] Unable to install extension (Issue #958) Hi @Devakumar2004Thanks for reaching out. If you're using a VPN client or some local firewall, please turn these off and retry. If the error is still persisting, it will help us to investigate, if you can share the network log (command: Developer: Open Logs Folder).Regards,VS Marketplace Team—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>
Thanks for the confirmation.


Inconsistence of &

According to lo sass-lang.com/documentation I can do the two following things:
.foo.bar .baz.bang, .bip.qux {
  $selector: &;
}

#main {
  color: black;
  &-sidebar { border: 1px solid; }
}

But while using 5.0.1 I get
Invalid CSS after "  $selector: ": expected expression (e.g. 1px, bold), was "&;"
And
Invalid CSS after "  &": expected "{", was "-sidebar {"

Make sure you are using the right version of sass gem that enable the & in the selector name.


Conbee 2 and HA Bridge on the same host

Hi,
I am running Conbee 2 and HA Bridge on the same host and i just want to expose Conbee 2 devices with the homebridge-hue plugin to Homekit. How would i need to do that? When i type the ip address in the host property then of course both of them get discovered because both of them are on the same host...

They would run on different ports, just specify host:port.

Didn't though about that. Thanks! HA Bridge is now gone!


Sprinter Bridge Integration

Main components to finish

[x] Approve Button
[x] Bridge Button

Polish

[ ] New UI Layout
[ ] Treatment for 'BridgeFromL2's in OpenLong modal
[x] Only show 'Bridge From L2's' if they have available assets
[ ] Completion State for Bridge Button
[ ] Loading State for Preview
[ ] Error State for Preview
[x] Stop click propagation in BridgeAssetPicker
[x] Wire up real API / test API URL in api.ts

Final cleanup

[ ] remove stubbed API?
[ ] remove feature flag / make default on?

@sentilesdal seems like this has been superseded by SquidRouter.  Can we close this?


EdgeCheckinInterval seems to be ignored on API POST call (endpoint creation)

Bug description
Portainer API has parameter EdgeCheckinInterval when creating a new endpoint via the API. See Swagger.
When setting this to an integer value (say: 10), the endpoint is created fine, but with the global default which is 5 per default, effectively ignoring this parameter.
Expected behavior
The created (edge) endpoint should have the EdgeCheckinInterval set as requested in the API creation query.
Portainer Logs
None
Steps to reproduce the issue:
http --form POST https://your-portainer/api/endpoints 'X-API-Key:YOUR_API_TOKEN' Name=test TLS=true TLSSkipVerify=true TLSSkipClientVerify=true 'URL=https://your-portainer' EndpointCreationType=4 EdgeCheckinInterval=10
Results in being even 0 in the reply of the creation query:
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json
Date: Mon, 27 Jun 2022 11:57:04 GMT
Expect-CT: enforce, max-age=21600
Permissions-Policy: camera=(), fullscreen=(), geolocation=(), microphone=(), payment=(), usb=()
Referrer-Policy: strict-origin
Server: nginx
Strict-Transport-Security: max-age=63072000
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff, nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block, 1; mode=block

{
    "AuthorizedTeams": null,
    "AuthorizedUsers": null,
    "AzureCredentials": {
        "ApplicationID": "",
        "AuthenticationKey": "",
        "TenantID": ""
    },
    "ComposeSyntaxMaxVersion": "",
    "EdgeCheckinInterval": 0,
    "EdgeKey": "** REMOVED **",
    "GroupId": 1,
    "Id": 41,
    "IsEdgeDevice": false,
    "Kubernetes": {
        "Configuration": {
            "IngressClasses": [],
            "RestrictDefaultNamespace": false,
            "StorageClasses": [],
            "UseLoadBalancer": false,
            "UseServerMetrics": false
        },
        "Snapshots": []
    },
    "LastCheckInDate": 0,
    "Name": "test",
    "PublicURL": "",
    "QueryDate": 0,
    "SecuritySettings": {
        "allowBindMountsForRegularUsers": true,
        "allowContainerCapabilitiesForRegularUsers": true,
        "allowDeviceMappingForRegularUsers": true,
        "allowHostNamespaceForRegularUsers": true,
        "allowPrivilegedModeForRegularUsers": true,
        "allowStackManagementForRegularUsers": true,
        "allowSysctlSettingForRegularUsers": true,
        "allowVolumeBrowserForRegularUsers": false,
        "enableHostManagementFeatures": false
    },
    "Snapshots": [],
    "Status": 1,
    "TLSConfig": {
        "TLS": false,
        "TLSSkipVerify": false
    },
    "TagIds": [],
    "Tags": null,
    "TeamAccessPolicies": {},
    "Type": 4,
    "URL": "** REMOVED **",
    "UserAccessPolicies": {},
    "UserTrusted": true
}

Query the Portainer instance with GET then shows EdgeCheckinInterval gets set to the default of 5:
~ $ http GET https://your-portainer/api/endpoints 'X-API-Key:YOUR_API_TOKEN'
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json
Date: Mon, 27 Jun 2022 12:03:30 GMT
Expect-CT: enforce, max-age=21600
Permissions-Policy: camera=(), fullscreen=(), geolocation=(), microphone=(), payment=(), usb=()
Referrer-Policy: strict-origin
Server: nginx
Strict-Transport-Security: max-age=63072000
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff, nosniff
X-Frame-Options: SAMEORIGIN
X-Total-Available: 3
X-Total-Count: 3
X-Xss-Protection: 1; mode=block, 1; mode=block

[
    ** REMOVED **
    {
        "AuthorizedTeams": null,
        "AuthorizedUsers": null,
        "AzureCredentials": {
            "ApplicationID": "",
            "AuthenticationKey": "",
            "TenantID": ""
        },
        "ComposeSyntaxMaxVersion": "3.9",
        "EdgeCheckinInterval": 5,
        "EdgeKey": "** REMOVED **",
        "GroupId": 1,
        "Id": 41,
        "IsEdgeDevice": false,
        "Kubernetes": {
            "Configuration": {
                "IngressClasses": [],
                "RestrictDefaultNamespace": false,
                "StorageClasses": [],
                "UseLoadBalancer": false,
                "UseServerMetrics": false
            },
            "Snapshots": []
        },
        "LastCheckInDate": 0,
        "Name": "test",
        "PublicURL": "",
        "QueryDate":<PHONE_NUMBER>,
        "SecuritySettings": {
            "allowBindMountsForRegularUsers": true,
            "allowContainerCapabilitiesForRegularUsers": true,
            "allowDeviceMappingForRegularUsers": true,
            "allowHostNamespaceForRegularUsers": true,
            "allowPrivilegedModeForRegularUsers": true,
            "allowStackManagementForRegularUsers": true,
            "allowSysctlSettingForRegularUsers": true,
            "allowVolumeBrowserForRegularUsers": false,
            "enableHostManagementFeatures": false
        },
        "Snapshots": [],
        "Status": 1,
        "TLSConfig": {
            "TLS": false,
            "TLSSkipVerify": false
        },
        "TagIds": [],
        "Tags": null,
        "TeamAccessPolicies": {},
        "Type": 4,
        "URL": "** REMOVED **",
        "UserAccessPolicies": {},
        "UserTrusted": true
    }
]

Technical details:

Portainer version: 2.13.1 CE

@The-Judge
Could you get the endpoint details just for the one endpoint in question?
http GET https://your-portainer/api/endpoints/{id}

Hi @samdulam, thanks for your reply!
I am facing this behavior for every endpoint I am registering via the API; so, there is no such "one endpoint in question". It affects ALL.
But I will happily create a new one and share the details for that single one, only:
Creation:
$ http --form POST https://my-portainer/api/endpoints 'X-API-Key:MY-API-KEY' Name=gh7131 TLS=true TLSSkipVerify=true TLSSkipClientVerify=true 'URL=https://my-portainer' EndpointCreationType=4 EdgeCheckinInterval=10
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json
Date: Tue, 28 Jun 2022 10:22:09 GMT
Expect-CT: enforce, max-age=21600
Permissions-Policy: camera=(), fullscreen=(), geolocation=(), microphone=(), payment=(), usb=()
Referrer-Policy: strict-origin
Server: nginx
Strict-Transport-Security: max-age=63072000
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff, nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block, 1; mode=block

{
    "AuthorizedTeams": null,
    "AuthorizedUsers": null,
    "AzureCredentials": {
        "ApplicationID": "",
        "AuthenticationKey": "",
        "TenantID": ""
    },
    "ComposeSyntaxMaxVersion": "",
    "Edge": {
        "AsyncMode": false,
        "CommandInterval": 0,
        "PingInterval": 0,
        "SnapshotInterval": 0
    },
    "EdgeCheckinInterval": 0,
    "EdgeKey": "** REMOVED **",
    "GroupId": 1,
    "Id": 57,
    "IsEdgeDevice": false,
    "Kubernetes": {
        "Configuration": {
            "IngressClasses": [],
            "RestrictDefaultNamespace": false,
            "StorageClasses": [],
            "UseLoadBalancer": false,
            "UseServerMetrics": false
        },
        "Snapshots": []
    },
    "LastCheckInDate": 0,
    "Name": "gh7131",
    "PublicURL": "",
    "QueryDate": 0,
    "SecuritySettings": {
        "allowBindMountsForRegularUsers": true,
        "allowContainerCapabilitiesForRegularUsers": true,
        "allowDeviceMappingForRegularUsers": true,
        "allowHostNamespaceForRegularUsers": true,
        "allowPrivilegedModeForRegularUsers": true,
        "allowStackManagementForRegularUsers": true,
        "allowSysctlSettingForRegularUsers": true,
        "allowVolumeBrowserForRegularUsers": false,
        "enableHostManagementFeatures": false
    },
    "Snapshots": [],
    "Status": 1,
    "TLSConfig": {
        "TLS": false,
        "TLSSkipVerify": false
    },
    "TagIds": [],
    "Tags": null,
    "TeamAccessPolicies": {},
    "Type": 4,
    "URL": "my-portainer",
    "UserAccessPolicies": {},
    "UserTrusted": true
}

Getting endpoint details (ID: 57)
$ http GET https://my-portainer/api/endpoints/57 'X-API-Key:MY-API-KEY'
HTTP/1.1 200 OK
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/json
Date: Tue, 28 Jun 2022 10:25:10 GMT
Expect-CT: enforce, max-age=21600
Permissions-Policy: camera=(), fullscreen=(), geolocation=(), microphone=(), payment=(), usb=()
Referrer-Policy: strict-origin
Server: nginx
Strict-Transport-Security: max-age=63072000
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff, nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block, 1; mode=block

{
    "AuthorizedTeams": null,
    "AuthorizedUsers": null,
    "AzureCredentials": {
        "ApplicationID": "",
        "AuthenticationKey": "",
        "TenantID": ""
    },
    "ComposeSyntaxMaxVersion": "3.9",
    "Edge": {
        "AsyncMode": false,
        "CommandInterval": 0,
        "PingInterval": 0,
        "SnapshotInterval": 0
    },
    "EdgeCheckinInterval": 0,
    "EdgeKey": "** REMOVED **",
    "GroupId": 1,
    "Id": 57,
    "IsEdgeDevice": false,
    "Kubernetes": {
        "Configuration": {
            "IngressClasses": [],
            "RestrictDefaultNamespace": false,
            "StorageClasses": [],
            "UseLoadBalancer": false,
            "UseServerMetrics": false
        },
        "Snapshots": []
    },
    "LastCheckInDate": 0,
    "Name": "gh7131",
    "PublicURL": "",
    "QueryDate": 0,
    "SecuritySettings": {
        "allowBindMountsForRegularUsers": true,
        "allowContainerCapabilitiesForRegularUsers": true,
        "allowDeviceMappingForRegularUsers": true,
        "allowHostNamespaceForRegularUsers": true,
        "allowPrivilegedModeForRegularUsers": true,
        "allowStackManagementForRegularUsers": true,
        "allowSysctlSettingForRegularUsers": true,
        "allowVolumeBrowserForRegularUsers": false,
        "enableHostManagementFeatures": false
    },
    "Snapshots": [],
    "Status": 1,
    "TLSConfig": {
        "TLS": false,
        "TLSSkipVerify": false
    },
    "TagIds": [],
    "Tags": null,
    "TeamAccessPolicies": {},
    "Type": 4,
    "URL": "my-portainer",
    "UserAccessPolicies": {},
    "UserTrusted": true
}

UI Settings

I hope this is everything you need. Let me know if additional info is required.

@The-Judge
I wanted to follow up on this request.  Does this issue still occur after upgrading?
Thanks!

Hi @tamarahenson - upgrading what to what?

@The-Judge
Upgrading to the latest version of Portainer 2.17.1.  This issue was reported in an older version.
Thanks!

@The-Judge
Thank you for the additional information provided.  I am going to further investigate.  I will update you as I learn more.
Thanks!

@The-Judge
I wanted to follow up on this request.  While I run the following command:
vagrant@docker:~$ http --verify no --form POST https://<IP_ADDRESS>:9443/api/endpoints 'X-API-Key:ptr_0F6KaIvRtc9LgHGm5ZlAx4ghkJKc2OITcOB5nSx2Vd0=' Name=test TLS=true TLSSkipVerify=true TLSSkipClientVerify=true 'URL=https://<IP_ADDRESS>:9001' EndpointCreationType=4 EdgeCheckinInterval=20 EdgeTunnelServerAddress=<IP_ADDRESS>:8000

I am seeing the EdgeCheckinInterval=20 is set to 0:

An interesting point to note, the database is showing "EdgeCheckinInterval": 0 when the default 5 seconds is used in the UI:

I am going to forward this issue to Product for review.  I will update you as I learn more.
Thanks!

@The-Judge
Update:  I am logging an internal issue to update our API documentation.
Upon further investigation, you need to use CheckinInterval=time
vagrant@docker:~$ http --verify no --form POST https://<IP_ADDRESS>:9443/api/endpoints 'X-API-Key:ptr_0F6KaIvRtc9LgHGm5ZlAx4ghkJKc2OITcOB5nSx2Vd0=' Name=test TLS=true TLSSkipVerify=true TLSSkipClientVerify=true 'URL=https://<IP_ADDRESS>:9001' EndpointCreationType=4 CheckinInterval=20 EdgeTunnelServerAddress=<IP_ADDRESS>:8000

Trust but verify:
vagrant@docker:~$ http --verify=no --form GET https://<IP_ADDRESS>:9443/api/endpoints X-API-Key:ptr_0F6KaIvRtc9LgHGm5ZlAx4ghkJKc2OITcOB5nSx2Vd0=

Thanks!

Yes, that seems like a bad doc issue, indeed. Also, quite a misleading parameter name difference there, that one needs to use a different parameter to set the whole thing than the actual parameter is. But updating the API docs is sufficient, I guess.
Thank you for your efforts!

Internal Ref: PCT-194

To wrap this one up, in the current release (2.19.1) both EdgeCheckinInterval and CheckinInterval are valid parameters for the endpoint, and do the same thing. We document EdgeCheckinInterval as it is the parameter to use going forward, and CheckinInterval has been deprecated and will be removed in a later version.


do we need a cmd.Error() function?

When running a command inside a Shell like this:
https://github.com/fabric8io/kansible/blob/master/winrm/winrm.go#L59-L71
	var cmd *winrm.Command
	cmd, err = shell.Execute(commandText)
	if err != nil {
		return fmt.Errorf("Impossible to create Command %s\n", err)
	}

	go io.Copy(cmd.Stdin, os.Stdin)
	go io.Copy(os.Stdout, cmd.Stdout)
	go io.Copy(os.Stderr, cmd.Stderr)

	cmd.Wait()

I didn't see a way to get the error from the command after the Wait()? I can get the ExitCode though I guess.

Also when I'm running this code it should send somehow a signal on that Command.Done channel? In my example , it just hangs because the empty struct channel waits to recive smth. Does someone tested this enough?

That's true, it seems we're missing an access to the error.
Do you have a test case for failing the error that I could transform in an integration test so I can debug the problem further?

I know this is an old issue, but I think I'm hitting the same problem.
I've been trying to use .Run() like so:
exitcode, err := client.Run("Add-DNSServerResourceRecord -ZoneName myzone.local -A -Name test -IPv4Address <IP_ADDRESS>", os.Stdout, os.Stderr)
But, there's a problem with the PS result. Just for completeness - it doesn't really matter - the error (stderr output) is
'Add-DNSServerResourceRecord' is not recognized as an internal or external command, operable program or batch file.
I get back exitcode 1, but because err is coming back up through the stack as nil, it looks like everything worked.
From my very limited experience with Golang (a few days), it seems like stderr is getting eaten, and spit out to the console as stderr. Because stderr was consumed and wasn't part of the cmd object passed back from Run() as cmd.err, the caller might know that something happened because the exit code was non-zero, but doesn't get any other information. This means that the error message (the error object?) is lost and can't be passed further back up the stack because it's nil.
This really gets tricky when you're calling from tools like Terraform which seem to blackhole stderr (so you never see any error output as a result of io.Copy(stderr, cmd.Stderr)). TF expects to get back an error type if something went wrong. The code I'm working on that interfaces between Terraform and this library doesn't get an error from the call to the library so it passes back what it got - nil, which Terraform takes as if things went well and records the infrastructure change as having been made.
This is an awful solution (pick a reason, I'm sure there are a bunch), but it's what I've come up with so far:
go func() {
	defer wg.Done()
	buf, err := ioutil.ReadAll(cmd.Stderr)
	if err != nil {
		cmd.err = err
	} else {
		io.Copy(stderr, cmd.Stderr)
		if cmd.ExitCode() != 0 {
			cmd.err = fmt.Errorf(string(buf))
		}
	}
}()

At the end of Run(), the stderr handler mentioned above captures stderr, checks the exit code, and if non-zero, sets cmd.err. Even though it's useless because the io buffer was already consumed, for reasons I don't understand, io.Copy(stderr, cmd.Stderr) is still necessary. Without it, the process waits forever for ?
I think this the wrong place to handle the error, but it seems like the only place I can capture stderr to be able to pass it back as an error type to the caller.
To be fair, I should also note that I'm not sure how consistent PS is at exiting 0 on success.


Enhance GIF playback to retain the last frame after animation ends

Description:
We are using a GIF that has a completely white first frame, and we want the GIF to animate once and then keep the last frame visible after it finishes. However, the current behavior causes the GIF to revert back to the first frame once the animation is complete, which results in an undesired visual effect.
This behavior works as expected on Android, where the last frame remains displayed after the animation finishes, but on iOS, the GIF resets to the first frame once the animation ends.
Feature Request:
We would like to request a feature enhancement that allows us to:

Animate a GIF once.
After the animation finishes, have the last frame of the GIF remain displayed on the screen (instead of resetting back to the first frame).

The relevant code where this behavior seems to occur is in SkiaAnimatedImagePainter.kt at Line 109.
Questions:

Are there any existing plans to support this behavior in iOS to achieve parity with Android?
Would it be possible to introduce an option or parameter (e.g., retainLastFrame) to control this behavior across platforms?

This would greatly improve our user experience by allowing us to better control the visual flow of animated images in our application.
Thank you for considering this request!

It has been fixed on the dev branch and a new version will be released soon

Fixed in v4.0.0-beta01


How to plot X-Y data series that does not have constant X sample step?

For example 3 data points that are not evenly spaced on the distance X axis; at 0m, 16m, and 139m.

Plot as evenly spaced because the X value is not part of the data series.  This is not what is needed.

Does your API have a way to plot X and Y values?

X
Y

00.00
1.00

16.13
3.00

139.59
6.00

It seems like I need to create a data series with 150 null points to cover 150 meters, then round up to nearest, and set the non-null data points at locations
data[0]= 1
data[16] = 3
data[140] = 6.00

Thanks in advance,

Right...good question. I'll be looking into this tomorrow. I would consider this a bug.

So I think your solution is what will work on the current master release. I think 2.0's horizontalGridStep might take care of this?

I like the [ x,y ] pairs being part of the dataset
https://github.com/thunder9/xy.js/tree/master
var datasets = [
{
lineColor : 'rgba(220,220,220,1)',
pointColor : 'rgba(220,220,220,1)',
pointStrokeColor : '#fff',
data : [[-4, -2], [-2.5, 1.3], [0, 0], [1, 1.5], [3, 1]]
},
{
lineColor : 'rgba(151,187,205,1)',
pointColor : 'rgba(151,187,205,1)',
pointStrokeColor : '#fff',
data : [[-3, 3], [-1, -1], [0.5, 1], [1.5, -3], [2.8, -1.6]]
}
];

I'm leaning towards this too. Seems more natural for providing data that you'd...want to chart...

Supporting an [ x, y ] data series absolutely makes sense for any practical chart control.
The X ( or time value ) associated with a Y value must be independent of whatever X or Y grid interval the graph uses.

Agreed. That will be the format in 2.0. Also expect that all chart props will be at the base level. No reason for nested props i.e. chartData when there's only one data set per visual.

Hi, so I am going to consider this an enhancement for now. Still thinking through how it might work. This is how the horizontal step is currently calculated:
const horizontalStep = containerWidth / data.length;

and each data point has its X-value set by
const x = (horizontalStep * i) + horizontalStep

The desired behavior, I THINK, would require calculating each X value in relation to a calculated scale, which is how I do Y positions currently.

I think the simplest scale would just be containerWidth / calculateHighestXValueInSet(). Does that seem like sound logic? Then I could just do something like
const scale = containerWidth / calculateHighestXValueInSet();
const x = xValue * scale;

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.


HTML

#HTML
User Story
As a Bootcamp Student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CASS, Git, and JavaScript with associated notes listed

committed


Helm v3.0.0-rc2: Package does not include requirements.yaml file

I'm not sure if this is expected behavior for helm3, but helm3's package command no longer includes the "requirements.yaml" file when packaging a chart. Noticed this as Harbor's helm chart UI expects the requirements.yaml to exist to properly list dependencies.
Helm v3.0.0-rc2
helm3 package <chart>
tar -ztvf <chart>.tgz

<chart>/Chart.yaml
<chart>/values.yaml
<chart>/README.md
<chart>/templates/...
<chart>/charts/...

Helm v2.15.2
helm2 package <chart>
tar -ztvf <chart>.tgz

<chart>/Chart.yaml
<chart>/values.yaml
<chart>/README.md
<chart>/Chart.lock
<chart>/requirements.lock
<chart>/requirements.yaml
<chart>/templates/...
<chart>/charts/...

Output of helm version:
version.BuildInfo{Version:"v3.0.0-rc.2", GitCommit:"82ea5aa774661cc6557cb57293571d06f94aff0c", GitTreeState:"clean", GoVersion:"go1.13.3"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T23:43:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6-eks-5047ed", GitCommit:"5047edce664593832e9b889e447ac75ab104f527", GitTreeState:"clean", BuildDate:"2019-08-21T22:32:40Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"

As part of helm package, Helm 3 converts the package to the new dependency system.
You can observe the behaviour via the following:
><> ./bin/helm fetch stable/wordpress --untar
><> cat wordpress/requirements.yaml
dependencies:
- name: mariadb
  version: 6.x.x
  repository: https://kubernetes-charts.storage.googleapis.com/
  condition: mariadb.enabled
  tags:
    - wordpress-database
><> helm package ./wordpress/
Successfully packaged chart and saved it to: /home/bacongobbler/code/go/src/helm.sh/helm/wordpress-7.6.0.tgz
><> rm -rf wordpress
><> tar xzf wordpress-7.6.0.tgz
><> cat wordpress/Chart.yaml
apiVersion: v1
appVersion: 5.2.4
dependencies:
- condition: mariadb.enabled
  name: mariadb
  repository: https://kubernetes-charts.storage.googleapis.com/
  tags:
  - wordpress-database
  version: 6.x.x
description: Web publishing platform for building blogs and websites.
home: http://www.wordpress.com/
icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png
keywords:
- wordpress
- cms
- blog
- http
- web
- application
- php
maintainers:
- email<EMAIL_ADDRESS>  name: Bitnami
name: wordpress
sources:
- https://github.com/bitnami/bitnami-docker-wordpress
version: 7.6.0

Notice how the dependencies field was migrated to Chart.yaml. The same goes for requirements.lock; it's converted to the new Chart.lock lockfile.
Unmarking this as a bug. This is a feature!
Hope this helps.

More info here on the change: https://helm.sh/blog/helm-3-preview-pt5/

Yeah, I wasn't sure if it was a bug or feature. Thanks for explaining 👍 .


azure-cli on ParrotSec4.10

[404  Not Found [IP: <IP_ADDRESS> 443]
Hit:4 https://mirror.parrot.sh/mirrors/parrot rolling InRelease
Hit:5 https://mirror.parrot.sh/mirrors/parrot rolling-security InRelease
Reading package lists... Done
E: The repository 'https://packages.microsoft.com/repos/azure-cli n/a Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.]
Currently getting these errors when attempting the "one-shot" install, and  also with the manual-option.

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

ID: fe1526a9-7f22-504e-484c-0f3edc11b178
Version Independent ID: c5dec108-efcd-aa77-04b5-803b6b894dba
Content: Install the Azure CLI on Linux with apt
Content Source: docs-ref-conceptual/install-azure-cli-apt.md
Service: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

@lorenmaxwellbutler Thanks for the question. We're investigating this and will get back to you shortly.

Thanks! Its seems something isn't registering with gpg-keys and/or Microsoft Servers. Parrot uses Debian "testing" and its a "rolling" distribution, and I see "testing" isn't yet supported for azure-cli.

@lorenmaxwellbutler As called out in the docs, the one-shot install script is only verified for Ubuntu 16.04+ and Debian 8+, and may not work on other distributions. Let me check with our Product group and circle back on this.

@lorenmaxwellbutler Could you please help me with the contents of the /etc/apt/sources.list.d/azure-cli.list file on your machine?

Certainly,
deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ n/a main
So, its trying to find a distro, and can't becuase testing isn't supported  at "https://packages.microsoft.com/repos/azure-cli/dists/"
We can call this closed I think.
Thanks much for your time and help @BhargaviAnnadevara-MSFT

@lorenmaxwellbutler Thanks for the details. I suppose you could set the value of AZ_REPO manually when adding the repository as Parrot OS seems to be based on Debian. More on this detailed in the Troubleshooting section.
Please give it a try and let me know how that goes.

Well, it never hurts to try the easy thing
sudo apt install azure-cli
installs azure-cli out of the box 🥇
Sorry to waste your time-- I'm thankful someone in the community did the hard-work already of setting AZ_REPO manually,
but this is something to watch out for using an odd distro, so I appreciate the guidance.
Take care, and thank you again 😅

@lorenmaxwellbutler Sure, thanks for sharing. Glad I could help. :)
If you encounter a distro-specific problem again, please feel free to log an issue with the Azure/azure-cli repo so our Product group can also take a look.


Does libr3-0 in unbuntu 18.04 the latest version?

root@win10:~/r3# apt-cache show libr3-0
Package: libr3-0
Architecture: amd64
Version: 1.3.4-1
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: libr3
Origin: Ubuntu
Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: ChangZhuo Chen (陳昌倬<EMAIL_ADDRESS>Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 49
Provides: libr3
Depends: libc6 (>= 2.14), libpcre3
Filename: pool/universe/libr/libr3/libr3-0_1.3.4-1_amd64.deb
Size: 18314
MD5sum: b72fd1516291726f41518b58de42956f
SHA1: 4da37470035a52fc6f655f4ca4c49ae5cdc556f8
SHA256: 80ad8e4bedd270d48f716c025c112db345bc3ccaba840c0f6f57b1d2c404d9a6
Homepage: https://github.com/c9s/r3
Description-en: High-performance URL router library
 R3 is an URL router library with high performance, thus, it's implemented in
 C.  It compiles your route paths into a prefix trie. By using the constructed
 prefix trie in the start-up time, you can dispatch routes with efficiency.
Description-md5: bff9cd009e92f90d21c79f0e6537cea1

I guess no, need to ping @czchen to ship a new release?

Does it any tag point to new release? The latest tag in https://github.com/c9s/r3/tags is still 1.3.4.

I think we're working on 2.0, @bjosv what do you think?

Yes, a new tag would be nice. There are many changes in the 2.0 branch that would be nice to get in an official release.
Should we try to include the pcre2 lift in 2.0 as well? I will run a benchmark of the change first so we have those numbers.
I've also seen that we have an older milestone-list for a 2.0 release that maybe should be handled, not sure.
I have not looked through them yet, but can take a quick look.

Sure! let’s include PCRE2 in 2.0 ? that would be great!
Björn Svensson @.***>於 2023年10月16日 週一，22:03寫道：

Yes, a new tag would be nice. There are many changes in the 2.0 branch
that would be nice to get in an official release.
Should we try to include the pcre2 lift in 2.0 as well? I will run a
benchmark of the change first so we have those numbers.
I've also seen that we have an older milestone
https://github.com/c9s/r3/milestone/1-list for a 2.0 release that maybe
should be handled, not sure.
I have not looked through them yet, but can take a quick look.
—
Reply to this email directly, view it on GitHub
https://github.com/c9s/r3/issues/139#issuecomment-1764554914, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMNTTG3LCO7DNEJQRE6ZLX7U5ETAVCNFSM46WLZNNKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGQ2TKNBZGE2A
.
You are receiving this because you commented.Message ID:
@.***>


Usage like pusher-java-client bind

Hello!
I'm having trouble understanding how to use this library vs using the pusher java client. How does one use this library compared to using bind?

If you want AkkaActor-based system, you can consider to use it this library.

I do! However, I'm not sure how to do something like java-pusher-client's
bind. Can I do something similar to bind with this library?
On Wed, Mar 9, 2016 at 4:15 PM, dtaniwaki<EMAIL_ADDRESS>wrote:

If you want AkkaActor-based system, you can consider to use it this
library.
—
Reply to this email directly or view it on GitHub
https://github.com/dtaniwaki/akka-pusher/issues/31#issuecomment-194534262
.

I have made a sample app to use this library.
https://github.com/dtaniwaki/akka-pusher-play-app
You can make any endpoint to wait the webhook calls from pusher and handle them.
https://github.com/dtaniwaki/akka-pusher-play-app/blob/eadcb7f283d92cec403984ef4e17ff8d4b7b46bc/app/controllers/PusherActorController.scala#L45
This library doesn't connect to the websockets.

I would say pusher-java-client is a client side library while this library is a server side.

That makes more sense. Thank you! Close #31.
On Wed, Mar 9, 2016 at 6:13 PM, dtaniwaki<EMAIL_ADDRESS>wrote:

I would say pusher-java-client
https://github.com/pusher/pusher-websocket-java is a client side
library while this library is a server side.
—
Reply to this email directly or view it on GitHub
https://github.com/dtaniwaki/akka-pusher/issues/31#issuecomment-194582325
.

You're welcome. Please give me any feedback using this library.

I actually won't be using it because I need a client side library. Maybe
you could try to introduce a client side API sometime if you have the need.
On Wed, Mar 9, 2016 at 6:44 PM, dtaniwaki<EMAIL_ADDRESS>wrote:

Closed #31 https://github.com/dtaniwaki/akka-pusher/issues/31.
—
Reply to this email directly or view it on GitHub
https://github.com/dtaniwaki/akka-pusher/issues/31#event-584169942.


Execution is choppy

I've built a simple example to push the computation limit (slightly) in order to see how smoothly go + SDL actaully operates. For me, compiled on Ubuntu 14.04 this program begins running nominally for about 2 seconds, then becomes choppy, running in short bursts separated by delays of no activity. This is enough for me to consider shelving Go+SDL for the moment (sticking with C++ SDL) Any thoughts on how this program could make better smoother use of system resourses?
https://github.com/charneykaye/go-SDL-experiements/blob/master/stars.go

fun example!
The reason it slows after 2 seconds is a memory leak, turns out you're supposed to call texture.Destroy once you're done with a texture. If you add a
	defer g.sdlScreenTexture.Destroy()

after assigning it makes the program run smoothly for me, but it still ate up a lot of cpu. Certainly, documentation of such would be a good thing... perhaps adding a finalizer for those who don't call the destroy method would probably also be good. (These are just my thoughts though.)
Enabling vsync for the renderer helped reduce cpu usage a good amount (so that it doesn't draw multiple times in the same frame).

	g.sdlRenderer, err = sdl.CreateRenderer(g.sdlWindow, -1, sdl.RENDERER_ACCELERATED|sdl.RENDERER_PRESENTVSYNC)

Still, 12% usage on my CPU seemed like a bit much... maybe making a texture every frame is too taxing...? I'll probably play with your example a bit more.
In response to your concerns, Go is fairly efficient (I think it could handle most 2D games), but if computation speed is essential to your application, I would choose C/C++ (just because those languages are faster in general).

thanks for these 2 excellent pro tips, and keeping the faith with Go- its mildly increased abstraction comes with a deeply fulfilling simplicity that I am hopeful to adopt in many applications.
RENDERER_PRESENTVSYNC is a big help, and a lead on better understanding what SDL is asking the machine to do. That and proper Texture-garbage-collection indeed made the example program run better
As for total CPU, the line near the top var numStars int = 10000 makes this demo a pretty flexible benchmark- on my powerful PC that value is around 10% cpu, but on my less capable notebook PC the same process chews 50% cpu.
Now my big challenge is around consistent timing of musical audio playback- see https://github.com/charneykaye/DT-42 - Thanks infinite for go-sdl2


force security $SOBJECT fails for complex sObjects/Org

The command runs fine on the majority of objects, but a couple objects with 500+ fields in an org with 100+ profiles throws: panic: runtime error: index out of range. A full stack trace is here.
Using force v0.22.36 on 64 bit OSX 10.9.5

It looks like the issue is here. The fieldNames array is created with a length of 512, so objects with more fields than this will throw the above error.
I have a working version compiled locally, and will work to get a pull request issued.


[Player Indicators] Highlights players incorrectly for a few seconds after a world hop

Currently when you hop worlds with the Player Indicators plugin turned on it will highlight all players as the "Highlight others" color, for a few seconds, even if some of the players are friends / clan members / teammates, who are supposed to be highlighted with a different color. This is pretty annoying on pk trips and such because you cant tell your teammates apart for a few seconds after a hop. Can someone look into whats causing this and fix it?
I'm guessing maybe it's caused because the friend list / clan member information comes in slower than everything else and so for a few seconds the plugin doesn't know who is who and just highlights everybody as "other". Perhaps a solution could be by "caching" or saving the players friend list / clan member list before a world hop and then using that until the real friend list / clan list loads

Duplicate of #1682


Investigate Windows exe build arguments

Nothing should be hardcoded especially, copyright, company, etc

Everything seems on RNV side, made some changes on Studio side https://github.com/flexn-io/studio/pull/39


[FLINK-23298][datagen] Normalize parameter names in RandomGeneratorVisitor and SequenceGeneratorVisitor

What is the purpose of the change
This PR normalized parameter names in  RandomGeneratorVisitor and SequenceGeneratorVisitor.
related methods:

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

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

Documentation

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

@sjwiesman please help review, thanks!

Hi @luoyuxia   here.

sorry, I wonder why this pr closed not merged...  @lirui-apache

@fhan688 It has been merged in this commit: https://github.com/apache/flink/commit/e9cc49a31fc384bff1c84372788f14a173cd94b0

got it. thanks! @lirui-apache

@fhan688  here


[PE-D][Tester D] DG Bug 1: Inaccurate UML diagram for Model component of app

The UML diagram for the model component in the DG tells readers clients are composed of dates.
However, no date data is saved or displayed for client contacts so it is entirely ignored.
Hence this UML diagram is not accurate and is properly outdated.
Screenshot 1:

Screenshot 2:

Labels: type.DocumentationBug severity.Low
original: sam-theman88/ped#14

Fixed by #234