OU-536: Support dark mode

Switch to Perses dark theme if the dark theme is enabled.
Resolves: https://issues.redhat.com/browse/OU-536
Screenshots

/lgtm


Installation of Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite fails due to incompatible assembly reference for mod_spatialite

Despite fulfilling the .NET Standard 2.0 requirement as listed by the Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite package by compiling for .NET Framework 4.6.2, mod_spatiallite.<IP_ADDRESS>, a dependency of the above package, still cannot be installed and fails with this error:
Could not install package 'mod_spatialite <IP_ADDRESS>'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

I have also tried installing this package separately for .NET Framework 4.7.2 and 4.6.1 but they also fail.
Steps to reproduce
The simplest test case is to create e.g. a new console project for .NET Framework 4.6.x or 4.7.x which both fulfill the .NET Standard 2.0 requirement. Then attempt to install the mod_spatialite package separately with the NuGet Package Manager from within Visual Studio.
Further technical details
EF Core version: 2.2.4
Database Provider: Microsoft.EntityFrameworkCore.Sqlite
Operating system: Windows 10 Version 1709
IDE: Visual Studio 2019 16.1.1

Resolved by going to Options -> NuGet Package Manager -> General -> Default package manager format, then changing from Packages.config to PackageReference by following advice for a similar problem on Stack Overflow. Far from obvious though!


Support for generating type mappings

TS allows to check types using JSDoc. Maybe it would be also possible to generate whole type definitions using JSDoc?
It could even come in two formats: TS and Flow.

Closed in favor of #220.


iOS: InvalidRegistration & Android: MismatchSenderId

Expected Behaviour
Receive push notifications on iOS and Android
Actual Behaviour
Tested with PostMan:
POST:
https://fcm.googleapis.com/fcm/send
HEADERS:
Authorization: key= Firebase Cloud Messaging app key
Content-Type: application/json
BODY:
{  	"notification": {    		"title": "Title",    		"text": "Message"  	},  	"to" : "registration id from iOS device or Android" }
RESPONSE:
{   "multicast_id":<PHONE_NUMBER>382480183,   "success": 0,   "failure": 1,   "canonical_ids": 0,   "results": [     {       "error": "InvalidRegistration on iOS, MismatchSenderId on Android"     }   ] }
Reproduce Scenario (including but not limited to)

Create a new app in Firebase Cloud and add an Android & iOS app

Create a phoneGap app (phonegap create app)

Add last v2.0.x commit (cordova plugin add https://github.com/phonegap/phonegap-plugin-push#3691c41bc135c5cc284314b9851c055f4cf505df --variable SENDER_ID="sender_id") sender_id is Firebase Cloud Messaging Sender Id

Copy google-services.json & GoogleService-Info.plist in folder root path

Edit index.js:
`
receivedEvent: function(id) {
 console.log("Received Event: " + id);

 console.log("calling push init");
 var push = PushNotification.init({
     "android": {
         "senderID": "sender_id"
     },
     "browser": {},
     "ios": {
         "sound": true,
         "vibration": true,
         "badge": true
     },
     "windows": {}
 });
 console.log("after init");

 push.on("registration", function(data) {
     console.log("registration event: " + data.registrationId);

     var oldRegId = localStorage.getItem("registrationId");
     if (oldRegId !== data.registrationId) {
         // Save new registration ID
         localStorage.setItem("registrationId", data.registrationId);
         // Post registrationId to your app server as the value has changed
     }
 });

 push.on("error", function(e) {
     console.log("push error = " + e.message);
 });

 push.on("notification", function(data) {
     console.log("notification event");
     navigator.notification.alert(
         data.message,         // message
         null,                 // callback
         data.title,           // title
         "Ok"                  // buttonName
     );
 });

}
`

@loredanAdrian well, we are working on FCM support. Please refer to issue #929

Hi,
I have the same problem Console Fire Base alway invalid token

Here is my token : b0ae50721b53e6b8f66f82cf9598548205abff3c3f27242d6e43c7b5869b636a
Can you help me. Thanks

@macdonst I think this was broken between phonegap-plugin-push#07fa81b7a3a62400915ac70b9a24a802465a6f95 and phonegap-plugin-push#3691c41bc135c5cc284314b9851c055f4cf505df. I get a weird, short token on iOS as tranhai mentions while in previous version of the plugin I got 3 times as long token and it was valid.
@loredanAdrian You must send all your information in data not in notification part. That way you can get it working in Android. Also remeber to set your sender ID in JS too:
var push = PushNotification.init({
    "android": {
        "senderID": "sender_id" // <- MUST change this
//...

Hi,
Please help me how i can get the right token? As google i saw some idea the token i got was APNs and i also upload my certificate as enclosed.  The registration token still invalid

Thanks for your help.

In local it doesn´t work, I build Android app and tested it in one Android device and it works. I can´t test it on Apple device because I´m working on a Windows machine. Am I wrong?


[FEATURE REQUEST] Multiple views to order your categories in the budget screen.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am very much attached to the order of my categories. The most frequently used categories are at the top, and I instinctively know where to go when I want to find a category or item. However, at the start of the month, that view doesn't necessarily align with the categories which needs to be funded first.
Describe the solution you'd like
I would love it if it were possible to enable 1,2,3 buttons in a discreet location that would activate different "templates" to sort categories.
EG:
1 = My default view.
2 = My view, which contains everything which needs funds first at the top.
3 = Maybe categories that are frequently spent from (given that the desktop version doesn't have a pin option).
Additional context
I don't know if this can be rolled into Toolkit as an extension. However, given the length of customization already possible, I think it would be an excellent addition.

Massive upvote for this feature. This is something I've craved since the YNAB Pro days.
I'd love to be able to create a few "templates" or save a few "layouts" of my categories in different orders and/or groupings. The process I go through when deciding where to allocate my money each month is very different than how I want to visualize and analyze my spending history.


publish<EMAIL_ADDRESS>

Requested by: @asottile-sentry
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave the #retract comment under this issue to retract the release (original issuer only).
Targets

[ ] pypi
[ ] github

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

#retract


Feature/convert css colors to scss vars

Resolves #539
Description
Adds variables.scss file. Adds import and converts color values to use variables.
Please also include relevant motivation and context.
Guide questions:

What motivated this change (if not already described in an issue)?
What alternative solutions did you consider?
What are the tradeoffs for your solution?

List any dependencies that are required for this change. (gems, js libraries, etc.)
Include anything else we should know about. -->
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Thanks!
The "L" number was a nice touch :)

My pleasure! Thanks @armahillo .
All credit for the "L" number convention goes to Nathan Curtis:
https://medium.com/eightshapes-llc/color-in-design-systems-a1c80f65fa3


about yaki

Description about yaki for the playstore

It's already done just not visible yet on the play store app


Support for WM extension atoms like _NET_WM_NAME

I very appreciate the tutorial, it got me started quite well.
My problem is fetching the window title under ubuntu. The following code yields an empty name:
#[cfg(test)]
mod test {
    use std::error::Error;

    use std::convert::TryInto;
    use x11rb::connection::{Connection, SequenceNumber};
    use x11rb::errors::{ConnectionError, ReplyError, ReplyOrIdError};
    use x11rb::protocol::xproto::*;
    use x11rb::protocol::Event;
    use x11rb::protocol::Request::MapWindow;
    use x11rb::wrapper::ConnectionExt as _;
    use x11rb::COPY_DEPTH_FROM_PARENT;

    #[test]
    fn should_fetch_winodw_names() -> anyhow::Result<()> {
        let (conn, screen_num) = x11rb::connect(None)?;
        let screen = &conn.setup().roots[screen_num];
        let win = screen.root;
        let tree = conn.query_tree(win)?.reply()?;
        for win in tree.children {
            let attr = conn.get_window_attributes(win)?.reply()?;

            if let MapState::Viewable = attr.map_state {
                let name = conn
                    .get_property(false, win, AtomEnum::WM_NAME, AtomEnum::STRING, 0, u32::MAX)?
                    .reply()?;
                let name = String::from_utf8(name.value)?;
                assert!(name.len() > 0, "A window has no name!");
            }
        }

        Ok(())
    }
}

However, after a bit of research the window title is either in property WM_NAME or in _NET_WM_NAME like you can see here
I'm not an X11 expert, so was not able to find the actual definitions of those _NET atom extension values.
Maybe you know a way how to use them or find those definitions so that I could send a PR for extending the AtomEnum for all those _NET values?
The specs for those properties can be found here

A thing I also tried without success was:
                let wm_name_atom = conn.intern_atom(true, "_NET_WM_NAME".as_bytes())?.reply()?;
                let name = conn
                    .get_property(false, win, wm_name_atom.atom, AtomEnum::STRING, 0, u32::MAX)?
                    .reply()?;
                let name = String::from_utf8(name.value)?;
                dbg!(&name);  // still an empty string

Maybe you know a way how to use them or find those definitions so that I could send a PR for extending the AtomEnum for all those _NET values?

The _NET_WM_NAME atom does not have a predefined name, so you have to use intern_atom.

                let name = conn
                    .get_property(false, win, wm_name_atom.atom, AtomEnum::STRING, 0, u32::MAX)?
                    .reply()?;

_NET_WM_NAME properties usually have the UTF8_STRING type, not STRING, so you would have to do:
let wm_name_atom = conn.intern_atom(true, b"_NET_WM_NAME")?.reply()?;
let utf8_string_atom = conn.intern_atom(true, b"UTF8_STRING")?.reply()?;
let name = conn
    .get_property(false, win, wm_name_atom.atom, utf8_string_atom.atom, 0, u32::MAX)?
    .reply()?;
let name = String::from_utf8(name.value)?;
dbg!(&name);

However, after a bit of research the window title is either in property WM_NAME or in _NET_WM_NAME like you can see here

To sum up:
WM_NAME is the legacy property, which may be a latin-1 string or a frankenstein-ish thing called compound text. _NET_WM_NAME is the newer property, which is an UTF8 string. You probably want to check first for the _NET_WM_NAME property and, if it is not set, fall back WM_NAME.

I quickly threw something together that works with both urxvt (_NET_WM_NAME) and xterm (WM_NAME, interpreted as utf8, which is incorrect, but works for ASCII):
use x11rb::protocol::xproto::ConnectionExt;

x11rb::atom_manager! {
    pub Atoms: AtomsCookie {
        _NET_WM_NAME,
        UTF8_STRING,
    }
}

fn try_print(string: &[u8]) -> Result<(), ()> {
    match std::str::from_utf8(&string) {
        Ok(string) => {
            println!("{}", string);
            Ok(())
        }
        Err(err) => {
            println!("{:?} ({:?})", string, err);
            Err(())
        }
    }
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let (conn, _screen_num) = x11rb::connect(None)?;
    let atoms = Atoms::new(&conn)?.reply()?;
    let input = conn.get_input_focus()?.reply()?.focus;
    let prop = conn.get_property(
        false,
        input,
        atoms._NET_WM_NAME,
        atoms.UTF8_STRING,
        0,
        u32::MAX,
    )?.reply()?;
    if prop.type_ == x11rb::NONE || try_print(&prop.value).is_err() {
        let prop = conn.get_property(
            false,
            input,
            x11rb::protocol::xproto::AtomEnum::WM_NAME,
            x11rb::protocol::xproto::AtomEnum::STRING,
            0,
            u32::MAX,
        )?.reply()?;
        let _ = try_print(&prop.value);
    }
    Ok(())
}

Dunno if it is really worth it to use the atom_manager! macro here. Two intern_atom calls would work equally well, but this version does only one round trip for the atoms instead of two. ;-)

Thanks a lot, I learned newly about the atom_manager and the stuff works in general quite nice.
However, some windows on ubuntu misbehave and don't want to spit out any name, for instance Terminal. I'm currently investigating with different Linux distros and versions.
But I have the suspicion that the window hierarchy might be the problem, specifically I'm query_tree from the root window, and only focussing on MapState::Viewable windows. It might be that the viewable window is actually not the holder and owner of the title. But I'll keep you guys posted. For now many thanks.

Finally, I got it working, it was as suspected the window hierarchy. For the terminal there are (at least) 2 windows, one without a name that is seems like a root window and a subwindow that has the expected title.
Just for the curious I will share the code:
pub fn get_visible_windows<C: ConnectionExt>(conn: &C, screen: &Screen) -> Result<Vec<Window>> {
    get_all_sub_windows(conn, &screen.root)
}

fn get_all_sub_windows<C: ConnectionExt>(conn: &C, root: &Window) -> Result<Vec<Window>> {
    let tree = conn.query_tree(*root)?.reply()?;
    let mut result = vec![];
    for window in tree.children {
        let attr = conn.get_window_attributes(window)?.reply()?;
        if let MapState::Viewable = attr.map_state {
            result.push(window);
        }
        let mut sub_windows = get_all_sub_windows(conn, &window)?;
        result.append(&mut sub_windows);
    }

    Ok(result)
}

Thanks again for your help and your project.


Cursor position lower than expected when TextField is empty

I discovered this issue while implementing cursor height. With large cursors, it becomes obvious that the cursor is abnormally positioned for empty TextFields, and 'jumps' after a character is entered.
running on macOS:
https://user-images.githubusercontent.com/6655696/103345325-67602680-4a91-11eb-9ae4-91bd1069ada6.mp4
Bottom uses a large cursor, top uses a very large cursor
cc: @justinmc @GaryQian
Related to https://github.com/flutter/flutter/issues/64072

Thanks for catching this.  It sounds like you can reproduce this just by setting a large cursorHeight in an otherwise normal TextField?  I'll try to reproduce it once https://github.com/flutter/flutter/pull/61714 is merged.
TextField(
  cursorHeight: 40.0,
)

Reproduces with current master 1.21.0-2.0.pre.114, visible when cursorHeight is significantly bigger than fontSize.

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-2.0.pre.114, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-2.0.pre.114 at /Users/nevercode/dev/flutter
    • Framework revision ddb8e6e3bf (7 hours ago), 2020-07-22 20:00:07 -0700
    • Engine revision dcc9a4048d
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 9dca49e71e)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (5 available)
    • Redmi Note 7 (mobile)      • 6345c469                             • android-arm64  • Android 9 (API 28)
    • iPhone 11 Pro Max (mobile) • 55C8466B-5367-492B-8EFE-EC45D980571F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)           • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

This isn't specifically related to customizing cursor height, but it is more noticeable. Since another issue has more discussion/info, closing as duplicate of https://github.com/flutter/flutter/issues/92080


plot_pdf for discrete vars, do not interpolate for new distributions

Codecov Report
Attention: Patch coverage is 85.71429% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.72%. Comparing base (0d5fb35) to head (b2ca473).

Files
Patch %
Lines

preliz/internal/plot_helper.py
85.71%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
- Coverage   82.76%   82.72%   -0.04%
==========================================
  Files          54       54
  Lines        5158     5159       +1
==========================================
- Hits         4269     4268       -1
- Misses        889      891       +2

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


Requery: update dependency and refactor inserting list of entities of the same type

This PR is outdated after #10 had been merged


Update 168-mandelbulb.md

Community Contribution
Hi! I would like to share this Rainbow Mandelbul Cloud. Thanks.
Link to live project, video, or image:
https://editor.p5js.org/jcponce/sketches/5AamBLmvM
Sharing

[ ] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

duplicate


version bump: 0.61.0

Prepare next release v0.61.0

@armab what else do you do when cutting a release?


Parsing of arguments with optional value is broken

Following snippet:
$climate = new CLImate;

$climate->arguments->add([
    'foo' => [
        'prefix' => 'f',
    ],
    'bar' => [
        'prefix' => 'b',
    ],
]);

$climate->arguments->parse();

var_dump($climate->arguments->toArray());

When called with command -f -b abc will yield:
array(2) {
  ["foo"]=>
  string(2) "-b"
  ["bar"]=>
  string(3) "abc"
}

Looks like the value of foo is wrong, despite that bar was parsed correctly.

Fixed by @mark-gerarts in #133

This has been fixed in version 3.5.0


containerd: just install tarball release

make building so much faster :-)

jenkins build started here: https://jenkins.azure-containers.io/view/ACS-E/job/k8s-clear-containers/56/console


when column and data rows is big the silce explor js will allway crash

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
Expected results
Actual results
Steps to reproduce

Please define crash and define big.

@xrmx who can i fand the config

@qinzl1 i mean to define in plain english. What is a crash for you? Where does it happen?How much data is big?

you can lower ROW_LIMIT in your superset_config.py

@xrmx 8 fields and 3000 rows. Visualization Type is table view, anther problem is the table view have no Drag scroll bar

@xrmx if then silce explore  table view Visualization can paging

if i set 'Page Length' ,the table view can not display all row. it only return limit  100 row

Notice: this issue has been closed because it has been inactive for 333 days. Feel free to comment and request for this issue to be reopened.


Handle duplicate packet events and perform full clearing even in the presence of errors

Closes: #3359
Closes: #3358

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Thank you for diagnosing the issue and coming up with a way to fix it 🙏


[api] fix issue in Tar/Zip Utils that resulted in incorrect artifact …

…extraction
Description
This change fixes an issue with ZipUtils.unzip, and TarUtils.untar. This issue was obfuscated by the fact that our ci tests were not failing when they should have been. See https://github.com/deepjavalibrary/djl/pull/3543 for details.
Rather than stripping leading file separators and still extracting the archive, this change validates that the tar entry will extract into the expected output directory.
While this change means that some tars that previously worked (such as those with entries starting with / or \) will no longer work, I argue that the new behavior is correct and those tar entries are invalid/incorrect.

@si2d @frankfliu what do you think about this method? We would use sanitizeAndValidateArchiveEntry where we currently use validateArchiveEntry.

We sanitize the archive entry by converting the entry name to a system aware path (convert a linux archive entry path to the equivalent windows path, or vis versa). Then we can remove the leading file separator as before (but it works now cross platform) and handles the concern @frankfliu mentioned about / being a valid starting char for zip
Validate that with this santized path, the expected output path exists under the expected output dir

static String sanitizeAndValidateArchiveEntry(String name, Path destination) throws IOException {
        String sanitizedName = removeLeadingFileSeparator(name);
        Path expectedOutputPath = destination.resolve(sanitizedName).normalize();
        if (!expectedOutputPath.startsWith(destination.normalize())) {
            throw new IOException(
                    "Bad archive entry "
                            + name
                            + ". Attempted write outside destination "
                            + destination);
        }
        return name;
    }

    static String removeLeadingFileSeparator(String name) {
        String osAwareArchiveEntryName = FilenameUtils.separatorsToSystem(name);
        int index = 0;
        for (; index < name.length(); index++) {
            if (name.charAt(index) != File.separatorChar) {
                break;
            }
        }
        return osAwareArchiveEntryName.substring(index);
    }

@si2d
in archive file, the path is always linux style, we don't really need use os specific Path to validate it. And we don't have to support special cases (even they are valid). We can just check if the entry name starts with "/" or contains "..",  we treat them as invalid. This was the original algorithm. I'm curious why that cause test failure on windows.

@si2d
in archive file, the path is always linux style, we don't really need use os specific Path to validate it. And we don't have to support special cases (even they are valid). We can just check if the entry name starts with "/" or contains "..", we treat them as invalid. This was the original algorithm. I'm curious why that cause test failure on windows.

File.separatorChar is os specific. On mac/linux it is /, on windows it is \. So on windows, if you had an archive entry like /tmp/test.txt, the removeLeadingFileSeparator would not actually remove / from the entry and cause the write at root

@frankfliu with the existing logic (ignoring any of my changes here), this is what the testOffendingTar unit test produces on windows (i added some print statements, but otherwise logic is same).
Gradle suite > Gradle test > ai.djl.util.ZipUtilsTest > testOffendingTar STANDARD_OUT
    Entry before removing leading separator: /tmp/empty.txt
    Entry after removing leading separator: /tmp/empty.txt
    Writing archive entry to D:\tmp\empty.txt

The output dir in that test is build/output, and we would expect that we write to build/output/tmp/empty.txt, but that's not what happens because of the separatorChar issue i mentioned

For Zip file, entry name starts with "/" is valid, and will be ignored by common zip utils. For Tar file, entry name starts with "/" is a security vulnerability, tar cli will untar to root folder.
I think it's OK we make it more strict that doesn't allows "/", but your changes makes a/../b.txt valid, which can overwrite b.txt in the same archive file.

I wonder - instead of trying to block this, should we only disallow overwrites? so even if the path is a/../b.txt, it will be allowed as long as nothing else writes to b.txt. We are explicitly setting REPLACE_EXISTING when unarchiving, but is overwriting files a valid use case? (Also, this change might break customers if they are somehow using it)

The simplest change that solves the issue is to keep everything the same, except for this modification to removeLeadingFileSeparator.
static String removeLeadingFileSeparator(String name) {
        // Below single line is the only change
        String osAwareArchiveEntryName = FilenameUtils.separatorsToSystem(name);
        int index = 0;
        for (; index < osAwareArchiveEntryName.length(); index++) {
            if (osAwareArchiveEntryName.charAt(index) != File.separatorChar) {
                break;
            }
        }
        return osAwareArchiveEntryName.substring(index);
    }

The simplest change that solves the issue is to keep everything the same, except for this modification to removeLeadingFileSeparator.
static String removeLeadingFileSeparator(String name) {
        // Below single line is the only change
        String osAwareArchiveEntryName = FilenameUtils.separatorsToSystem(name);
        int index = 0;
        for (; index < osAwareArchiveEntryName.length(); index++) {
            if (osAwareArchiveEntryName.charAt(index) != File.separatorChar) {
                break;
            }
        }
        return osAwareArchiveEntryName.substring(index);
    }

Right, we should not use File.separatorChar. Archive file format is not os specific

vis.validate(set) is till required. There is a CVE. Basically, when user use winzip to open the file, the see: a.txt, but when they unzip to file system, they got b.txt. We need make sure the ZipEntry matches the ZipInputStream name.

The simplest change that solves the issue is to keep everything the same, except for this modification to removeLeadingFileSeparator.
static String removeLeadingFileSeparator(String name) {
        // Below single line is the only change
        String osAwareArchiveEntryName = FilenameUtils.separatorsToSystem(name);
        int index = 0;
        for (; index < osAwareArchiveEntryName.length(); index++) {
            if (osAwareArchiveEntryName.charAt(index) != File.separatorChar) {
                break;
            }
        }
        return osAwareArchiveEntryName.substring(index);
    }

Right, we should not use File.separatorChar. Archive file format is not os specific

The original algorithm was using File.separatorChar, not /. I think it's still possible to craft a tar with \ as the path separator. Converting the entry name with separatorsToSystem, and then using File.separatorChar will work. We could also modify the condition to something like
if (name.charAt(index) != '/' && name.charAt(index) != '\\') {
 ...
}

The simplest change that solves the issue is to keep everything the same, except for this modification to removeLeadingFileSeparator.
static String removeLeadingFileSeparator(String name) {
        // Below single line is the only change
        String osAwareArchiveEntryName = FilenameUtils.separatorsToSystem(name);
        int index = 0;
        for (; index < osAwareArchiveEntryName.length(); index++) {
            if (osAwareArchiveEntryName.charAt(index) != File.separatorChar) {
                break;
            }
        }
        return osAwareArchiveEntryName.substring(index);
    }

Right, we should not use File.separatorChar. Archive file format is not os specific

The original algorithm was using File.separatorChar, not /. I think it's still possible to craft a tar with \ as the path separator. Converting the entry name with separatorsToSystem, and then using File.separatorChar will work. We could also modify the condition to something like
if (name.charAt(index) != '/' && name.charAt(index) != '\\') {
 ...
}

To me, checking that the path resolves to be within the destination is the more correct change rather than modifying our custom method. What is a reason to keep this change to a simplest change?

@si2d

To me, checking that the path resolves to be within the destination is the more correct change rather than modifying our custom method. What is a reason to keep this change to a simplest change?

I agree with you. I think we should be checking that the path resolves to be within the destination. I've kept that portion in.
The part that still seems open is whether we want to sanitize the archive entry at all. If it's possible and valid for zip archives to start with /, then we probably should be sanitizing each entry to remove leading file separators. Or, we can decide to be more strict and not allow that (which is handled implicitly by ensuring we're only writing under the expected output dir).

@si2d @frankfliu I have updated the PR based on the above discussions. The changes are now

convert the archive entry to system specific (convert path separators to the one used by the current system). we remove leading file separators using File.separatorChar as this should work post the initial conversion.
validate that the expected output path for the entry exists under the specified output directory

This will fix the issue with the current code. Some additional things we may consider:

remove step 1 entirely. This will be more strict than what we have today, but I think that's ok.
don't replace existing files, or provide an option for user to specify whether to overwrite or not

Updated the PR - i've opted for the more strict approach where entries that start with '/' are invalid.
We validate that each archive entry will be written to a location under the provided output directory. If it won't (either because it starts with /, or containers .. traversal elements that would go outside the expected dir), we fail. Users should be expected to provide valid archives, and we don't do any special processing on them.


ARROW-9609: [C++][Dataset] CsvFileFormat reads all virtual columns as null

ConvertOptions::include_missing_columns = true was insufficient to produce the required behavior with missing columns: we need to read the csv file's header to find the names of columns actually present in the file before instantiating a StreamingReader. Otherwise the StreamingReader will fill absent columns with null, which prevents the projector from materializing them correctly later.

@pitrou


MSIX: PowerRename menu item position

When installing PT using MSIX, the PowerRename menu items appears after the Open menu item:

It seems there's no way to specify that.
For shell extensions, MSIX supports only IExplorerCommand/IExplorerCommandState intefaces with an optional IInitializeCommand interface support.
AppX Manifest doesn't seem to contain any related properties. Finally, using IInitializeCommand, it's only possible to specify Top/Bottom position of the Context menu item, which wasn't even invoked in the MSIX context.

@yuyoyuppe
thanks for the investigation, consider spending some more time to make 100% sure there is no way to specify the bottom position, before closing the issue.

we'll reopen once MSIX is back up as a tracking item


Add feature to support perseo

Proposed changes
This PR adds  feature to support perseo.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Codecov Report

Merging #110 (f8c5b1c) into main (fbccf15) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #110   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines         1205      1239   +34
=========================================
+ Hits          1205      1239   +34

Impacted Files
Coverage Δ

config.sh
100.00% <100.00%> (ø)

lets-fiware.sh
100.00% <100.00%> (ø)

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 fbccf15...f8c5b1c. Read the comment docs.


#20 Escape regex before searching

To fix issue #20

Changes Unknown when pulling 2542c030af76d299d703ff9849269bbc21fc1b9f on insprintorob:master into ** on ndaidong:master**.

@insprintorob Thank you for your contributing.


Workaround controller for unbinding pending pods' PVCs

Hi @msau42, folks,
Is there a workaround controller available that unbinds PVCs for pods that are stuck in pending? Reference: https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume

There was one started here, but not completed because it was low priority:
https://github.com/kubernetes-incubator/external-storage/pull/122
The challenge is how to distinguish between these two conditions:

This is the first time we try to launch the pod and we haven't used the PV yet.
The pod has mounted the PV before and has data on it, but the pod gets rescheduled for some reason.  We do not want to unbind in this case because the pod will lose its data.

Thanks @msau42. Any chances this would be part of the 1.8 release?

We don't have anybody working on it.  If anyone wants to take it up, feel free.  It can be developed outside of the main kubernetes repo, so we are not tied to the release schedule.
However, I would still strongly warn any users of the limitation that we cannot distinguish between an unused PVC vs a used PVC, so there is the potential for data loss by using this controller.

Talking out loud here....but instead of a controller, would a DaemonSet work, which:

watches for stateful pods stuck in pending state because of specific error predicates
finds out the corresponding pv (via pvc)
checks if that pv folder is empty (we can mount the parent folder on the daemonset, just like the provisioner)
unbind pvc only if #3 is true.

Thanks,
Sudeep

I think that could suffice as a workaround for now.  You can try it out and let us know how it goes.

Sure @msau42

As of 1.9, this is not needed anymore.
/assign
/close


List SAS Token

Can you please add section on how to list SAS token?
REST API or ARM listAccountSas function are the only options?
no SDK, no CLI, no Powershell?
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#list
https://docs.microsoft.com/en-us/rest/api/storagerp/storageaccounts/listaccountsas

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

ID: 788014ae-dc3b-f509-3dbd-933eb5a423a4
Version Independent ID: 250d17de-f226-d3e3-7071-3ecb14da018e
Content: Grant limited access to data with shared access signatures (SAS) - Azure Storage
Content Source: articles/storage/common/storage-sas-overview.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@RonnieQuan Thanks for the question! We are investigating and will update you shortly.

@RonnieQuan Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@RonnieQuan - There's no way to list SAS tokens. The REST operations are misnamed (I will look into getting that corrected). These operations create a SAS token based on parameters that you pass in:

List Account SAS
List Service SAS

Analogs of these commands do exist in PowerShell:

New-AzStorageAccountSASToken
New-AzStorageContainerSASToken
etc.

And for CLI

az storage account generate-sas
az storage container generate-sas
etc.

#please-close

@acarrillo - You can easily revoke a user delegation SAS (a SAS that is signed with Azure AD credentials) - see here: https://docs.microsoft.com/rest/api/storageservices/create-user-delegation-sas#revoke-a-user-delegation-sas
To revoke a service SAS, Microsoft recommends that you use a stored access policy. See here: https://docs.microsoft.com/rest/api/storageservices/define-stored-access-policy#modifying-or-revoking-a-stored-access-policy


Fix regression with tls-no-verify

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


test: check generated files for ansible_managed, fingerprint

Remove duplicate fingerprint in hba conf
Fix example of 128 MB - should be 128MB
Add test to check config files - handling, logic
Add the following files: tests/tasks/check_header.yml and
tests/templates/get_ansible_managed.j2.
Use check_header.yml to check generated files for the ansible_managed
and fingerprint headers.
check_header.yml takes these parameters.  fingerprint is required,
and one of __file or __file_content:

__file - the full path of the file to check e.g. /etc/realmd.conf
__file_content - the output of slurp of the file
__fingerprint - required - the fingerprint string system_role:$ROLENAME e.g.
__fingerprint: "system_role:postfix"
__comment_type - optional, default plain - the type of comments used

e.g. __comment_type: c for C/C++-style comments.  plain uses #.
See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_filters.html#adding-comments-to-files
for the different types of comment styles supported.
Example:
- name: Check generated files for ansible_managed, fingerprint
  include_tasks: tasks/check_header.yml
  vars:
    __file: /etc/myfile.conf
    __fingerprint: "system_role:my_role"

Signed-off-by: Rich Megginson<EMAIL_ADDRESS>

[citest]


training mode memory use

I used the given examples and turned on the training mode, and then count the memory before and after. But I got result as below. The mem use  after optimization is even bigger? This happens only on training mode. Evaluation mode is normal.
Before optimization        :<PHONE_NUMBER>7188 MBytes
After optimization         :<PHONE_NUMBER>8506 MBytes
After removing optimization:<PHONE_NUMBER>6006 MBytes

Below is the code I use.
models = require 'optnet.models'
modelname = 'googlenet'
net, input = models\[modelname\]()

opts = {inplace=true, mode='training'}
optnet = require 'optnet'

mem1 = optnet.countUsedMemory(net)

optnet.optimizeMemory(net,input,opts)
--optnet.optimizeMemory(net,input)

mem2 = optnet.countUsedMemory(net)

optnet.removeOptimization(net)

mem3 = optnet.countUsedMemory(net)

print('Before optimization        : '.. mem1.total_size/1024/1024 .. ' MBytes')
print('After optimization         : '.. mem2.total_size/1024/1024 .. ' MBytes')
print('After removing optimization: '.. mem3.total_size/1024/1024 .. ' MBytes')

There are a couple of problems with your snippet, which is due to the fact that I haven't updated the README, sorry for the trouble.
First, to estimate the amount of memory used (including the output buffers), you first need to run your network once with the same input, if not you won't be counting the amount of memory due to the outputs.
Second, you are using the training mode optimization but only evaluating the network for the forward pass. Try running forward/backward first before every memory count, the results should be different than what you posted.
I'll update the README


Hyundai : AZERA_HEV_6TH_GEN (Update fingerprints.py)

Hyundai AZERA_HEV_6TH_GEN

Looks like we get your camera, radar and eps from bus 0, it didn't fuzzy fingerprint because the EPS was behind a logging query. This should have fingerprinted your car successfully: https://github.com/commaai/openpilot/pull/31458


"You cannot use this screen saver with this version of macOS"

"You cannot use this screen saver with this version of macOS. Please contact the vendor to get a newer version of the screen saver" is what comes up now.
I'm running Version 10.13.6 - High Sierra

Did it use to work before or trying it out now?
Anyway, take a look at #10 and see if it helps

It's suggested that you download the file with Safari
Try everything with settings Closed from the start

MacOS is a bit tricky and really sensitive when it comes to screen savers written in Swift 😅

Thanks!
I saw there were a few threads after I posted so I re-installed with system preferences closed and it worked!
I downloaded using Cliqz (built on Firefox) but it worked. Just kinda bizarre, ha!
Enjoying it now!

Glad it works! Thanks 🙇


use user editor font information

I’m one of those crazy weirdos who happen to prefer to write programs in a proportional typeface. It would be really cool if the package could respect the font I chose for my editor.
I was able to do this myself by having the following in my styles.less file, but I feel like it would be preferable if this was done by the package itself.
.agda-body-container
{
	font-family: var(--editor-font-family) !important;
	font-size: var(--editor-font-size) !important;
	line-height: var(--editor-line-height) !important;
}

Wow I don't know we can do this!

@Zambonifofex I'm rewriting the stylesheet and basing the constants on these variables. But as for --editor-line-height I can't find any way to change and test it. Do you know how to change them?

It’s in the editor configurations. The setting is called “line height”. (Very offputtingly, settings in Atom are ordered alphabetically, so related settings are not grouped together.)

Ahh, I see! Thanks for the prompt reply 😊


[communication]-[sms]-Setting live tests to false temporarily

Description
Setting live tests to false temporarily, until DefaultAzureCredential is fixed in managed identity tests..
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Merging IC Mat, Consequence and Button Changes into git-kings branch.

Doesn't seem to have any conflicts but please give it a quick scan anyway.

Everything seems to check out.


"this method consumes significantly less memory and works faster"

Well, the first is true but the second is false.
I've tested it, it's way slower than an optimized sliding average with one or more array.
On a reasonable amount of data, this method is around twice slower than what I've implemented !

Considering you have opened an issue, perhaps you could show your implementation so that it can be compared against this library's implementation?
In addition, since it is now clear this library was tested on an ESP8266, is it possible that on an ESP8266 this statement is in fact true, even though on an AVR it may not be?


Improved Hover Transition in back cover

Previous Implementation of animated made back cover text unable to read as animations works for 2sec. so i created changes so that back cover is shown until the element is hovered.
before
https://github.com/user-attachments/assets/8c2d7e32-e80a-43f6-9590-b72ef7d149b1
after
https://github.com/user-attachments/assets/838c5f27-ddc5-4ef9-b8f7-ed9afd7b5f3e
please add hacktoberfest label.

@Vatsmanglam
Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. You can also contribute in my another Repository BuddyTrail which is also under Hacktoberfest
Great contribution to HACKTOBERFEST'24! 🎉


Please add language tags for labels and definitions

I would like to recommend that english language tags be added to every rdfs:label in cco.
If you concur, you may find that the following query works:
DELETE {?s rdfs:label ?label}
INSERT {?s rdfs:label ?LabelWithLanguageTag }
WHERE {
?s ?p ?o.
?s rdfs:label ?label.
BIND(STRLANG( ?label , "en") AS ?LabelWithLanguageTag ) .
}

It makes sense to do this when labels and definitions are added in languages besides English. I cannot think of one but perhaps you have some use case in mind that would benefit from performing this exercise now? If so, please provide.

No particular cases come to mind. But I suspect many extensions of the common core will involve a need to accommodate robust language support. For such uses, if the CCO doesn't already have these English language tags in place, then every extension would require adding them.
As a value add, I think publishing CCO with language tags will be useful for these purposes, and I don't see how it would hurt to have them in cases where users don't need them.

There are times when we will want to query our entire ontology suite for classes with an English label. The most straightforward way to write this is to specify the value of a language tag. If there is no value in the language tag, then the IRI will not be retrieved even if the label is in English. Not having language tags in CCO would either result in false negatives for our queries (i.e., all of the CCO resources would be missing) or else the need to write ad hoc, and therefore not generalizable. This places an extra requirement on our soft-ware developers to have intimate knowledge about which of our ontologies use language tags and which do not. Adding the language tags would help reduce this extra cognitive overhead for them and thereby help integrate CCO more robustly into our information systems. This would likely apply to other folks who are using CCO in teams with non-ontology experts and with multi-lingual data.

Understood. We'll do some testing to make certain that there's no chance to break queries or applications that aren't searching for tagged values and if none are found we'll add the tags.

Fixed with d4ea051


Copy Files Task failed find

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Environment

Server - Azure Pipelines or TFS on-premises?

Using Azure Pipelines, Team Project Name = MyPatientList, build definition = MyPatientList-CI, Build number: 31
Azure Pipelines:

Agent - Hosted or Private:
Self Hosted Mac OSx

Issue Description
Copy files task in Azure DevOps Pipelines produces an error when building cordova ios app. The build succeeds and when I check the sources directory I can locate the file but Copy Files task alwats fails to find the file. I am using a self hosted agent with system.debug variable set to true but cannot get any useful information from the log:
I have the following task configurations:
Source Folder:
$(Build.SourcesDirectory)
Contents:
**/*.ipa
Target Folder:
$(Build.ArtifactStagingDirectory)
Output:
Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/Patient List UAT.app'
What am I doing wrong here?
Any help appreciated, thanks
Task logs
2018-12-11T05:08:50.6847750Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcarchive/dSYMs (directory)
2018-12-11T05:08:50.6847880Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcodeproj (directory)
2018-12-11T05:08:50.6848000Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcodeproj/project.pbxproj (file)
2018-12-11T05:08:50.6848120Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcworkspace (directory)
2018-12-11T05:08:50.6848240Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcworkspace/contents.xcworkspacedata (file)
2018-12-11T05:08:50.6848380Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcworkspace/xcshareddata (directory)
2018-12-11T05:08:50.6848510Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcworkspace/xcshareddata/xcschemes (directory)
2018-12-11T05:08:50.6848650Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/PatientListUAT.xcworkspace/xcshareddata/xcschemes/PatientListUAT.xcscheme (file)
2018-12-11T05:08:50.6848760Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build (directory)
2018-12-11T05:08:50.6848880Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device (directory)
2018-12-11T05:08:50.6848990Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/DistributionSummary.plist (file)
2018-12-11T05:08:50.6849110Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/ExportOptions.plist (file)
2018-12-11T05:08:50.6850000Z ##[debug]  /Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/Packaging.log (file)
2018-12-11T05:08:50.6850190Z ##[debug]task result: Failed
2018-12-11T05:08:50.6913670Z ##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/PatientListUAT.app'
2018-12-11T05:08:50.6929720Z ##[debug]Processed: ##vso[task.issue type=error;]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/PatientListUAT.app'
2018-12-11T05:08:50.6953310Z ##[debug]Processed: ##vso[task.complete result=Failed;]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/ahmadkhudeish/build_agents/agent1/_work/1/s/platforms/ios/build/device/PatientListUAT.app'
2018-12-11T05:08:50.6955180Z ##[section]Finishing: Copy Files to: $(Build.ArtifactStagingDirectory)

Error logs
[Insert error from the logs here for a quick overview]

I have gotten around this issue by using a simple bash script to copy the file instead, I think the Copy Files task provided by Azure Pipelines is buggy.

@damccorm thanks for looking into this! We are running into this issue as well. Our work around was to delete the symlink files before calling CopyFiles.

Hey all, sorry for the delay on this. This should be fixed by #9390 which should start rolling out next week

I'm still waiting for this fix. I can't find a workaround yet and I thought you'd have had the issue fixed and deployed already.

@ysodiqakanni could you share your logs from the failing build?

I still experience this issue.
Is it fixed yet?

@Tofalvy could you share your logs from the failing build?
I think this should've been fixed, so I'm surprised to hear you're still encountering the issue

Still affecting me. Here is my log:
2020-05-19T17:21:30.7421200Z ##[section]Starting: Copy Files to: /Users/runner/runners/2.168.2/work/1/a
2020-05-19T17:21:30.7431720Z ==============================================================================
2020-05-19T17:21:30.7432130Z Task         : Copy files
2020-05-19T17:21:30.7432590Z Description  : Copy files from a source folder to a target folder using patterns matching file paths (not folder paths)
2020-05-19T17:21:30.7433030Z Version      : 2.164.0
2020-05-19T17:21:30.7433330Z Author       : Microsoft Corporation
2020-05-19T17:21:30.7433800Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/copy-files
2020-05-19T17:21:30.7434450Z ==============================================================================
2020-05-19T17:21:30.9277700Z ##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/runner/runners/2.168.2/work/1/s/platforms/ios/build/device/[redacted].app'
2020-05-19T17:21:30.9303370Z ##[section]Finishing: Copy Files to: /Users/runner/runners/2.168.2/work/1/a

I can also confirm that manually deleting the *.app file/folder solves the problem.

I've also just run into this when running script tasks, npm ci (to install everything for build) and then npm ci --only=production
A delete task in between these removing node_modules solves the issue (even though npm ci should be removing it entirely anyway)

Also having this issue
Hosted
Agent: macOS-latest
Organization: dalgs
Project: Digital Workplace
Pipeline/Build#: winteropstoolkit-mobile/20200801.13
Starting: Copy build output to artifact staging
==============================================================================
Task         : Copy files
Description  : Copy files from a source folder to a target folder using patterns matching file paths (not folder paths)
Version      : 2.164.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/copy-files
==============================================================================
##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/runner/work/1/s/platforms/ios/build/device/Winter Ops Mobile Toolkit.app'
Finishing: Copy build output to artifact staging

Also seeing this as well.
Hosted
Agent: Ubuntu and windows-latest

##[debug]task result: Failed
##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/home/vsts/work/1/s/.extdeps/edk2_extdep/EmulatorPkg/Unix/Host/X11IncludeHack'
##[debug]Processed: ##vso[task.issue type=error;]Unhandled: Failed find: ENOENT: no such file or directory, stat '/home/vsts/work/1/s/.extdeps/edk2_extdep/EmulatorPkg/Unix/Host/X11IncludeHack'
##[debug]Processed: ##vso[task.complete result=Failed;]Unhandled: Failed find: ENOENT: no such file or directory, stat '/home/vsts/work/1/s/.extdeps/edk2_extdep/EmulatorPkg/Unix/Host/X11IncludeHack'
Finishing: Copy license and NuGet config

Same here.
Hosted, ubuntu-latest
- task: CopyFiles@2
  displayName: Copy zip to staging area
  inputs:
    contents: 'build/**/**/*.zip'
    targetFolder: '$(Build.ArtifactStagingDirectory)'
    cleanTargetFolder: true
    flattenFolders: true

And I get ##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/home/vsts/work/1/s/node_modules/.bin/detect-libc'

I am also facing this issue .
Starting: CopyFiles
Task         : Copy files
Description  : Copy files from a source folder to a target folder using patterns matching file paths (not folder paths)
Version      : 2.164.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/copy-files
##[error]Unhandled: Not found SourceFolder: /home/vsts/work/1/s/$(System.DefaultWorkingDirectry)

Hi everyone, we prepared a fix for this issue
@sarthak-sriw hmm, your issue looks different - looks like there's just a typo in the variable name 'System.DefaultWorkingDirectry' - should be 'System.DefaultWorkingDirectory', so it hasn't been replaced by variable value

I am still facing the issue: ##[error]Unhandled: Failed find: ENOENT: no such file or directory, stat '/Users/runner/work/1/s/platforms/ios/build/device/AppName.app'
steps:
- task: CopyFiles@2
  displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
  inputs:
    SourceFolder: '$(system.defaultworkingdirectory)/platforms/ios/build/device'
    Contents: AppName.ipa
    TargetFolder: '$(build.artifactstagingdirectory)'

@sergiuturus is '/Users/runner/work/1/s/platforms/ios/build/device/AppName.app' path valid or is this valid symlink?

@sergiuturus we prepared a fix for this issue but it will take some time (about 3 weeks) to roll it out - I'm going to remove 'awaiting deployment' label once it's rolled out

I think so. ls $(system.defaultworkingdirectory)/platforms/ios/build/device shows a list of files, including AppName.ipa

Hi @ahmadkhudeish @sergiuturus we have rolled out the fix for this issue - I'm closing it at the moment, please feel free to reopen or let us know if this issue still actual for you.

I think the problem is still there. In my case I just want to copy some yaml files from one directory to another.
Here's a part of my pipeline:
- script: ls $(Pipeline.Workspace)/this_repo/update_procedure/config

- task: CopyFiles@2
  inputs:
    sourceFolder: $(Pipeline.Workspace)/this_repo/update_procedure/config
    contents: '*'
    targetFolder: $(Pipeline.Workspace)/config/containers
    cleanTargetFolder: true

The first task has the following output:
data.yml
web.yml

This just confirms that $(Pipeline.Workspace)/this_repo/update_procedure/config exists and has some files.
The second task fails, with the following error:

##[error]Unhandled: Not found SourceFolder: /home/vsts/work/1/this_repo/update_procedure/config


Alternative storage options?

This sentence
| By default, Durable Functions stores state in Azure Storage.
alludes to there being other options for function state storage. What are they/where can we find out more?

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

ID: c5bf5562-1289-29da-ebfe-60704ca8cb6c
Version Independent ID: 9ab410a9-6fe7-c4dd-af3b-2bd1031e94db
Content: Diagnostics in Durable Functions - Azure
Content Source: articles/azure-functions/durable/durable-functions-diagnostics.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

Hi @worldspawn Thanks for reaching out. We will review and update as appropriate.

@worldspawn When creating a function app, you must create or link to a general-purpose Azure Storage account that supports Blob, Queue, and Table storage. This is because Functions relies on Azure Storage for operations such as managing triggers and logging function executions. Some storage accounts don't support queues and tables. These accounts include blob-only storage accounts, Azure Premium Storage, and general-purpose storage accounts with ZRS replication. These unsupported accounts are filtered out of from the Storage Account blade when creating a function app.
You can also mount existing Azure Files shares to your Linux function apps. By mounting a share to your Linux function app, you can leverage existing machine learning models or other data in your functions. You can use the az webapp config storage-account add command to mount an existing share to your Linux function app.
All the details have mentioned in this pubic doc https://docs.microsoft.com/en-us/azure/azure-functions/storage-considerations
For now will proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Document Stele Linux setup

On Ubuntu you need to run:
apt-get install libgconf-2-4

before you'll be able to install or build the system.
This is a known Electron issue, although it's not documented.

@sanine-a and @brandonwkipp. Consider tackling this issue while installing on Raspberry Pi. Not sure if Rasp Pi compatibility/limitations warrant a separate ticket?

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-48


improved context and http link

@comigor Would you mind reviewing the changes to package:gql and package:gql_http_link?

@comigor thank you for the review!


had to install sortedcontainers manually

I do not think the install failed but I got an error about sortedcontainers not existing when running gdax. So I installed it from the official git and it is now working fine. Just wanted to mention that it did not seem to be included in the new install.

Thanks for the post. This has been updated in setup.py


klayout: 0.27.3 -> 0.27.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/KLayout/klayout/releases.
meta.description for klayout is: "High performance layout viewer and editor with support for GDS and OASIS"
meta.homepage for klayout is: "https://www.klayout.de/"
meta.changelog for klayout is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4/bin/.klayout-wrapped passed the binary check.
/nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4/bin/klayout passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 0.27.4 with grep in /nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4
found 0.27.4 in filename of file in /nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
klayout

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A klayout https://github.com/r-ryantm/nixpkgs/archive/7086d6614a1b5853194ca08fdad2747959f660ce.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4
ls -la /nix/store/db61m273n2s01wajd9y46j5nw94prl4j-klayout-0.27.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

klayout

Maintainer pings
cc @knedlsepp for testing.

Superseded by #161675


Enable row and column limits

Don't start the analysis if the table has

60 columns (?)

100,000 rows

/cc @saleiva @javisantana @andrewxhill

Please, confirm if this limit is ok for the release of the feature.

let's do this but be ready to decrease it

Ok


kernel: fatal: interrupts left locked in TEST mode

Describe the bug
A recent commit (18fddc72a7b94a8af036592ebff773181bdcee39) has inserted an irq_lock() / unlock() in z_fatal_error() function, so that fatal errors are not preempted. That's probably fine, but the patch has not respected the early returns of the function, in TEST mode.
This has caused some weird behavior in ARM tests that deal with interrupt handling, for example tests/arch/arm/arm_interrupt (on all Cortex-M platforms)
To Reproduce
Steps to reproduce the behavior:
Running the arm_interrupt test (e.g. on mps2_an385), gives the following output:

*** Booting Zephyr OS build v2.2.0-rc1-135-g115641290460  ***
Running test suite arm_interrupt
===================================================================
starting test - test_arm_interrupt
Available IRQ line: 68
E: r0/a1:  0x00000003  r1/a2:  0x20001928  r2/a3:  0x00000003
E: r3/a4:  0x20001628 r12/ip:  0xca73bd2f r14/lr:  0x00001ad3
E:  xpsr:  0x61000054
E: Faulting instruction address (r15/pc): 0x0000075a
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
E: Fault during interrupt handling

E: Current thread: 0x20000194 (unknown)
Caught system error -- reason 3

    Assertion failed at ../src/arm_interrupt.c:114: test_arm_interrupt: (post_flag == j is false)
Test flag not set by ISR

E: r0/a1:  0x00000004  r1/a2:  0x20001928  r2/a3:  0x00000004
E: r3/a4:  0x20001628 r12/ip:  0xffffffff r14/lr:  0x00001ad3
E:  xpsr:  0x61000054
E: Faulting instruction address (r15/pc): 0x00000774
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Fault during interrupt handling

E: Current thread: 0x20000194 (unknown)
Caught system error -- reason 4

    Assertion failed at ../src/arm_interrupt.c:114: test_arm_interrupt: (post_flag == j is false)
Test flag not set by ISR

ASSERTION FAIL [0] @ ../src/arm_interrupt.c:49
        Intentional assert

E: r0/a1:  0x00000004  r1/a2:  0x00000031  r2/a3:  0x00000001
E: r3/a4:  0x00000054 r12/ip:  0xffffffff r14/lr:  0x00001ad3
E:  xpsr:  0x41000054
E: Faulting instruction address (r15/pc): 0x00009ca8
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Fault during interrupt handling

E: Current thread: 0x20000194 (unknown)
Caught system error -- reason 4
PASS - test_arm_interrupt
===================================================================
starting test - test_arm_user_interrupt
PASS - test_arm_user_interrupt
===================================================================
Test suite arm_interrupt succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL

Impact
In test mode we return from fatal errors with interrupts locked.
It is interesting that the test does not appear failing, even though a zassert has failed. That's because of the test framework itself; since interrupts are locked, the semaphore signal that the test has failed is not given to the test framwork (PendSV cannor run due to IRQ locking) and the test error is not fully propagated. This might have revealed more bugs in the test framework; I 'd invite @andrewboie to take a look.
The bug fix is trivial, though, IMHO: we only need to unlock IRQs in all return points of z_fatal_error.

FYI @andyross @andrewboie


t.paypal.com required for steam purchases

Without whitelisting the domain t.paypal.com, steam is unable to complete purchases via paypal, instead getting stuck at the point pressing purchase, and requiring you to go and cancel the purchase to repeat.
The behaviour was noticed by re-attempting the purchase and getting a Your transaction cannot be completed because you have another pending transaction on your account message.
Whitelisting the domain, cancelling the transaction in steam (Account details -> view purchase history -> [pending purchase] -> cancel transaction), and retrying confirms it now works

Thank you for this Iain @Taoquitok.
Ping @jawz101, what do you think?  Thanks!

removed.  thanks.  I see some chatter on the web in regards to this domain causing some breakage now

Awesome!  Closing.


 I guess you could do exact matches, but that ruins everything else.

It looks like pagination wasn't enabled on the tags, because there are so few


Is this a bug: participant reopen the room if connection.autoCloseEntireSession = true ?

Describe the bug
For users with parameters
connection.session.oneway = true;
connection.direction = 'one-way';

in mode
connection.autoCloseEntireSession = true;
After the owner leaves the room , the participant with the session {"audio": true, "video": true, "oneway": true} becomes its owner and again opens the room.
As a result, after the reconnect, the initiator cannot return to the room.
Is this a bug?
Expected behavior
If set connection.autoCloseEntireSession = true;
only the owner can reopen the room

If autoCloseEntireSession is true and if socket.io server didn't close entire room then yes, it is a bug.

Manually re-opening the room is a different thing
You can disable such things yourswelf using javascript i.e.

do not show open-room button to broadcast viewers
move code inside a self-invoker function so that no one can access/use it using dev-tool

e.g.
(function() {
    // move entire UI code here
    var connection = new RTCMultiConnection();
    connection.session = { audio: true, video: true, broadcast: true });
    // etc.
})();

if(typeof connection === 'undefined') {
   alert('I can not access "connection" object here. So its a bit safe.');
}

Muaz, thank you for the answer.
With the help of your library, I am trying to implement this script:
A - initiator who opens the room (connection.open)
B1, B2, ... - participants who communicate with the initiator and with each other in the room (connection.join)
C1, C2, ... - observers who see and breathe all that is happening in the room, but they are not seen or heard. (connection.join)
A and B session  {"audio": true, "video": true, "data": true}
C session is  {"audio": true, "video": true, "data": true, "oneway": true}
To the room of the initiator, all participants are connected via a link automatically using connection.join.
Only the initiator uses connection.open.
I am using connection.autoCloseEntireSession = true; since the room owner should have a slightly different interface. In my scenario it will not be correct if someone else becomes the owner of the room instead of the initiator.
How to make it so that only the initiator could open and close the room, and no one else?
Why does the only observer with session parameters
 {"audio": true, "video": true, "data": true, "oneway": true}
become the owner of the room when the initiator disconnects?
There is another weird code behavior.
Observers C with the "oneway": true session parameter should be loaded last to get the media streams of all room members! This is after a reconnect or when a new member appears, it is required to manually overload the page in order to load the video from all participants. How to fix it?

It is not very convenient to assign a room owner using
connection.userid = connection.sessionid;
In my example, the interface uses one button for both the initiator (Open) and the participants (Join).
The logic is simple connect with the socket and check if there is a room. If there is no room then disconnect and open it. Such code turned out:

document.getElementById('open-or-join-room').focus();
document.getElementById('open-or-join-room').onclick = function () {
	selectConstraints();//selectav.js
	connection.checkPresence(roomid, function(isOwnerOnline) {
        if (isOwnerOnline == true) {
			connection.join(roomid);
		} else {
			connection.close();
			connection.closeSocket();
			connection.userid = roomid;
			showRoomURL(roomid, channelID);
			connection.open(roomid);
		}
	});

	UIafterJoin();
}


Switch to native decoding wherever possible.

https://github.com/rakudo/rakudo/commit/4f14d7134c35fdaa35da9a9ff14a45cd2e2b5549 - native decoding should give nice performance boost.
Think how to maintain backward compatibility with older Rakudo versions.

Current status:
Decoding nums had problems with propagating BigEndian flag correctly - https://github.com/rakudo/rakudo/issues/2558 - already fixed.
New read-ubits method was added after 2018.12 release - https://github.com/rakudo/rakudo/commit/45a945b5b691f478510ac543a65f6ebac7a51807 - which will be more suitable than distinct read-uintXX methods.
So things looks very promising, I'll get back to this issue after 2019.01 release.

Looks like all issues were fixed in current Rakudo HEAD and branch https://github.com/bbkr/GeoIP2/tree/native_pack_unpack is passing all the tests.
Speed boost from 88/s to 100/s.
But the most important fact is that now we can read numeric values from big, prefetched blocks efficiently (for example slurp whole binary search tree into memory).
BTW: read-ubits is slower than I expected, but read-[u]int and read-num are more than enough to start optimizations.


Add "external lookup" option to manually annotate unknown endpoints

This "external lookup" option would allow us to specify what an "unknown" endpoint actually is and then it can be labeled that way in a UI.
For example, suppose we have an external interface (e.g. a JMS queue) that we consume from a third-party system. Since there is no corresponding outbound event, we will (by default) label this as "Unknown".
This would be a way for us to have an "external system lookup" reference table to label connection events at the point they are requested from a client/UI/etc.

Similarly, it would be nice to do the same for outgoing requests to external systems that we don't control.


Improve ConcatColumnsTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0dfb2d0) to head (b77a50b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           35        35
  Lines          810       814    +4
  Branches        27        27
=========================================
+ Hits           810       814    +4

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


JBPM-4741 - Adding roles to to control access to the REST API

See: https://issues.jboss.org/browse/JBPM-4741
Also see:

droolsjbpm/droolsjbpm-knowledge/pull/97
droolsjbpm/guvnor/pull/153
droolsjbpm/kie-wb-distributions/pull/91

Please rebase this PR to preserve a linear history! :)

https://github.com/droolsjbpm/droolsjbpm-integration/commit/6765a7ee4d06d4d2348575a925239e1d643e9682


fix: preamble leak for anthropic

Close https://github.com/sourcegraph/cody/issues/1291
Fix issues that cause the preamble to leak for anthropic by ending the code snippets with \n<--End of code--> to make sure Claude instant knows where the code ends, instead of having the code snippets end with a new line or unfinished code/comment, which would confuse Claude and lead it to think the code was not completed so they should continue the completion from the end of the code snippet instead of the code inside the tags.
Before

After

Test plan

build Cody from this branch
Go to line 213 of vscode/webviews/Chat.tsx in your editor
Instead of seeing Human:  as a suggestion, Cody should not suggest anything that starts with Human here (or anywhere)
You should still get suggestions from Cody in other appropriate places

Agree with Valery. I’m a bit concerned too about shipping this so shortly before the release. Maybe as a quick fix we can add a filter for completions that start with Human:  from Anthropic and then we can land this after the release and test it a bit more?
Unrelated but instead of \n<--End of code--> did you ever try to wrap everything in an xml tag like so?
<code>${infillPrefix}${OPENING_CODE_TAG}${CLOSING_CODE_TAG}${infillSuffix}</code>`

as discussed with @philipp-spiess on slack, we will merge this fix and make additional changes in patches if required.


migrate a theme from plugins sdk to themes

I couldn't ever get it to exit properly... It seems to be migrating properly though...

@david-truong test failures?

Not locally but I think it's cause a new workspace plugin got checked in
On Thu, Jan 21, 2016 at 9:24 AM Gregory Amerson<EMAIL_ADDRESS>wrote:

@david-truong https://github.com/david-truong test failures?
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/pull/88#issuecomment-173604954
.

Just started reviewing :) :octocat: Sent from GH.

Pull request submitted to https://github.com/gamerson/liferay-blade-tools/pull/90. See changes here. :octocat: Sent from GH.


pull request for e2e test at 01/03/2017 23:45:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added basic info about the  tag

Usage, attrubutes and link to MDN docs for more information

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This doesn't come close to following our style guide, also please complete the checklist in the PR template provided. Thanks and happy coding!


Add support for renaming filters

Probably a la DownThemAll but what to support is a harder problem. Basic regex to rename might work, but we would probably want to have some sort of sequencing anchor that could be dropped in.
I'm somewhat worried about this becoming a significant maintenance effort and there's already a lot to maintain.

See https://www.reddit.com/r/DataHoarder/comments/5lbi6v/ripme_141_available_and_under_new_management/dc2vc2o/?context=10000


failed cordova build after add latest push plugin

Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_05\bin\java.exe'' finished with non-zero exit value 1
i got this error after add push plugin
platform android 5.1.1
cordova CLI 6.0

@bobolat what comes before the error? That is usually the more descriptive part of the log. What other plugins are you using?

@macdonst i didnt use any plugin except the deafult one whitelist ..what do you mean "what comes before the errror"?

fixed..just add sender id at config and json package

REOPEN
sorry..i thought it was fixed..but not on android M..i try on android M which is android 6 it keep throwing this error
"Uncaught ReferenceError: module is not define push plugin"
if i install my apps on android below 6 its working fine

@bobolat I can't reproduce this on Android 6. Can you do a:
phonegap plugin rm phonegap-plugin-push
phonegap plugin add phonegap-plugin-push --variable SENDER_ID="XXXXXXX" --save

and see if you can reproduce the problem.

@macdonst i allready do that..and put sender id into config also package.json file..i can build already right now..the problem is when i run the apps it cant get the token..i got that error on chrome inspect
"Uncaught ReferenceError: module is not define push plugin"

@bobolat when are you calling PushNotification.init?

@macdonst when in device ready fired

@bobolat can you make sure that <project name>/platforms/android/assets/www/plugins/phonegap-plugin-push/www/push.js exists?

of course it exist dude..because on lower than android 6, push notification not have problem..only in android 6 it problem..haha..i dont know what to do..

Even I am also facing with same issue push notifications are not working in android 6. Does anyone got the solution (:-

@mohanchalla can't reproduce. Tested yesterday on 2 different phones running Android 6.

@macdonst Thank you for reply. I am having push plugin 2.5.0 which is deprecated and my cordova is upgraded to 6.0. Should I need to update my plugin to the newer version of push notification.
This is my plugin info

@macdonst I have installed the new phonegap-plugin-push-1.6.0 plugin. If you don't mind, could you please explain me how to use this new plugin with cordova that way I have used with older plugin. After I upgrade to new plugin it is giving the following error.
$window.plugins.pushNotification - pushNotification is not defined.
Earlier with the older plugin I used register the device with the following code the same code is not working for new plugin.
$cordovaPush.register({
"senderID": "XXXXXX"
}).then(function(result) {
//saving the device id for future use.
});
$rootScope.$on('pushNotificationReceived', function(event, notification) {});

@mohanchalla I don't support PushPlugin 2.5.0 that plugin is dead. If you've upgrade to phonegap-plugin-push you need to migrate to the new API which is explained in the docs and in my push workshop.
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md
http://macdonst.github.io/push-workshop/

@macdonst I have incorporated new plugin with my senderID by calling init method.  But push. On('register')  event never called.  What is the extra config that I am missing.  Thank you :)

@mohanchalla I don't have a clue, I don't even know what platform you are running.

@macdonst I developing app for android and my cordova version is 6.

@mohanchalla run adb logcat | grep PushPlugin when you start your app and try and reproduce the problem.

@bobolat Did this get resolved for you?

What happens is that android possess the limitation of 64k method references, the adiconar some plugins you can easily reach it. Also esbarei the same error. Here is a good material to solve this https://developer.android.com/studio/build/multidex.html

@macdonst i forgot already..haha..can close i think


Feature Request - Standard way to handle Text formatting with Templates

Should we have a story in ST2 for handling formatting of text for use in workflows using Jinga2 templates over and above action aliases?
My thoughts on this come from us requiring a scalable manner (i.e. a single action instead of many actions) to handle formatting of troubleshooting information that can be sent to our ticket system while at the same time being able to keep data that's returned by actions as structured data so that we can reuse them (e.g. DNS troubleshooting via ChatOps action alias and also supporting a workflow triggered via an webhook into a ticket).
This something that I expect many StackStorm users would need to so carry out as they use the system more and would decrease the complexity of workflows plus most importantly supply a standardized template location. This would then allow additional sharing of templates and workflows that use them via st2contrib and thus decrease code duplication as currently each pack (be it on st2contrib or private) would need to have it's own formatting action.
The required amount of python action is very small (the following gets inspiration from format_execution_result.py), however it's just very much linked to the pack as it gets the template from <pack>/actions/templates.
import sys
import os

from st2actions.runners.pythonrunner import Action
from st2common.util import jinja as jinja_utils

class FormatText(Action):
    def run(self, template_name, format_data):
        results = {}

        self.jinja = jinja_utils.get_jinja_environment()

        path = os.path.dirname(os.path.realpath(__file__))
        with open(os.path.join(path, 'templates', template_name), 'r') as f:
            template = f.read()

        results['text'] = self.jinja.from_string(template).render(format_data)
        return results

If this is a good idea for others, I'm happy to do (or help out) with a PR for this as out of the box support for this will help us going forward, the real question really where it should the action live.

This is something we were thinking about as well. Aside from text formatting, there are other functions that could be applied to action output such as data transformations etc. So a common platform feature to tie a data mangler to a runner would be useful IMO. That goal is slightly more lofty. I'll bring this up internally and see if we can agree on a common set of use cases we can tackle. I'll also keep you in the loop.


Spark s2i

@ppatierno I came across the oshinko-s2i which allows you to build the java app + deploy the spark cluster in one go. Since we have to create one cluster per app, maybe this is the simplest and easiest way?
Don't try to run it yet BTW, there are still some issues, but just wondering if you'd like the general idea.

@lulf on one side I really like the idea with this simplification but at same time I think that people, who don't know about Apache Spark, won't get that a Spark cluster and a Spark driver are two separate things and we are using S2I for deploying them all together. But at same time : do we need people to really understand it ? :-)

I don't think that understanding spark should be needed/is the purpose of this workshop, which is why I'd like to simplify it.

@lulf then +1 ! ;) Let me know when it's finished and ready to be merged so that I can review it deeply.

@ppatierno So after experimenting a bit with this today I'm not sure I'm as positive as I was initially. I think perhaps a nice compromise here is to provide some sort of template to do the oshinko create thing. I've been trying to create a docker image + a kubernetes job that can deploy the oshinko cluster, but I'm getting some errors in the docker image unfortunately.

@lulf we don't need to do that. I think that deploying the spark cluster first and the driver after that involves just a couple of commands. Maybe too late to invest time in new stuff, better to test and retest what we already have working :)

@ppatierno You are right, we should do that :) My only worry is that the oshinko command only runs on linux, in which case it gets a bit complicated to provision. We can do it on-demand for users wanting to do the workshop perhaps?
I will close this PR then and instead update the steps with more figures describing each step etc. Wdyt?


Hidden Files/Folders Support

Is your feature request related to a problem? Please describe.
I have some albums/images that I would not like to see by default. Typically, I would place a . in front of the file so that it is hidden, but this behavior is not present in Les Pas.
Describe the solution you'd like
Provide a toggle to choose if files/folders that start with a ., such as ".image.jpg", should be hidden. A way to mark/unmark a folder/image as hidden in-app by adding or removing a . in front of it would also be nice.
Describe alternatives you've considered
Placing images outside of Les Pas and moving them in either manually or through scripts when I want to view the images.

can i describe this as honor the hiden files and folders on Linux?

Yes, that would be an accurate description.


mesa duplicate issue

I saw mesa_git.bb and mesa.in in meta-etnaviv layer and also same files in poy also.
if i want to use etnaviv layer mesa. what i need to do.

meta-freescale already has it all integrated. You just need to add use-mainline-bsp override.

tq otavio, but i am using my own yocto bsp not freescale one.

It does not include NXP BSP components but uses mainline ones ... it does handle some other integration that is need (mesa, Qt, ...) so it makes it easier to use.


Remove non-Portable Ruby bootsnap support

The only reason I didn't do this right away was to make sure things worked for a few days.
The overlap between people who opted in to Bootsnap and the people who don't use Portable Ruby is likely extremely small. This significantly reduced now that we ship Ruby 3.3 as no stable Ubuntu ships with Ruby 3.3 as a system Ruby. It was never a great experience anyway because of the requirement for working system development tools and to install ruby-dev rather than just ruby.
Removes extra handling logic and fixes issues seen in #17533.

Thanks @Bo98!


Can't Select 'Zeversolar Current Power' in Energy Dashboard under

First of all: Thank you for your wonderfull work!
The installation of the integration was very easy!
I wanted to add the Zeversolar system to the Energy Dashboard, but I can only select 'Zeversolar Inverter Total energy Today as entity. I would expect te Current Power entity over there.

It is ok to use "Total energy Today" - that's how Energy Panel in HA works. Please mind that it takes around an hour for the hourly measurements to show on the power chart.

I was using THIS entity molis83 pointed for almost a year now, with success. Recently, after upgrading to 2023.8.1, the integration stopped working completely (see the issue I opened), so had to switch to "native" integration available in HA "integrations store", and also chose the same type of entity for Energy panel and after an hour it started showing in the Energy panel, so "this is the way" :)


wireguard: 0.0.20180218 -> 0.0.20180304

Motivation for this change
Update
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @ericsagnes @mic92 @zx2c4

@GrahamcOfBorg build linuxPackages_4_9.wireguard linuxPackages_xen_dom0_hardened.wireguard wireguard linuxPackages_samus_4_12.wireguard linuxPackages_latest_hardened.wireguard linuxPackages_copperhead_hardened.wireguard linuxPackages_xen_dom0.wireguard linuxPackages_hardened.wireguard linuxPackages_latest_xen_dom0.wireguard linuxPackages_4_4.wireguard linuxPackages_4_15.wireguard linuxPackages_testing_bcachefs.wireguard linuxPackages_latest_xen_dom0_hardened.wireguard linuxPackages.wireguard

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages_4_9.wireguard, linuxPackages_xen_dom0_hardened.wireguard, wireguard, linuxPackages_samus_4_12.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_copperhead_hardened.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_4_4.wireguard, linuxPackages_4_15.wireguard, linuxPackages_testing_bcachefs.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard, linuxPackages.wireguard
No log is available.

Success on x86_64-linux (full log)
Attempted: linuxPackages_4_9.wireguard, linuxPackages_xen_dom0_hardened.wireguard, wireguard, linuxPackages_samus_4_12.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_copperhead_hardened.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_4_4.wireguard, linuxPackages_4_15.wireguard, linuxPackages_testing_bcachefs.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard, linuxPackages.wireguard
Partial log (click to expand)
/nix/store/w192m744g3zc9pywvb4h31bcr9qysaxn-wireguard-0.0.20180304
/nix/store/r9qqkii3qxc8qrdh9yvlzj4399w87pmi-wireguard-0.0.20180304
/nix/store/my33kslpjfmvgah1abax7zpfdrzqjz4c-wireguard-0.0.20180304
/nix/store/vli4n0s5nm3gckpq5gkaq1sf6andjz2f-wireguard-0.0.20180304
/nix/store/565603yq8251hy69wln762gz2bkl4jhw-wireguard-0.0.20180304
/nix/store/4psglpf58lgvqs9agqrri8rrn1anc23w-wireguard-0.0.20180304
/nix/store/bdg5yjv8g2av9mkkj9a8ky5057n5r54q-wireguard-0.0.20180304
/nix/store/1qak23f914jdkakdd07c5q6ydcyha0gq-wireguard-0.0.20180304
/nix/store/rh75rfb1liri1zxyczdyjzf4p940rbp1-wireguard-0.0.20180304
/nix/store/zadwmbafm5yk6yk915z54qqgwkv3aqs7-wireguard-0.0.20180304

Failure on aarch64-linux (full log)
Attempted: linuxPackages_4_9.wireguard, linuxPackages_xen_dom0_hardened.wireguard, wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_copperhead_hardened.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_4_4.wireguard, linuxPackages_4_15.wireguard, linuxPackages_testing_bcachefs.wireguard, linuxPackages_latest_xen_dom0_hardened.wireguard, linuxPackages.wireguard
The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages_samus_4_12.wireguard
Partial log (click to expand)
  LD [M]  fs/f2fs/f2fs.o
  LD [M]  fs/ceph/ceph.o
make[2]: *** [/build/bcachefs-4506cd5/Makefile:1018: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
  AR      kernel/built-in.o
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
builder for '/nix/store/dbfq43zrbd7qv24lmhwfa6xpv1qzw7f3-linux-4.15.2018.02.09.drv' failed with exit code 2
cannot build derivation '/nix/store/6hx6vcvszcypib8l134pbhnw4xbpykq0-wireguard-0.0.20180304.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6hx6vcvszcypib8l134pbhnw4xbpykq0-wireguard-0.0.20180304.drv' failed


SUGGESTION - command to see the next birthday

title is self explanatory, a command that shows the next 1 or 3 birthdays on the server

current date can be accessed with globalThis.currentDate
birthdays can be accessed using const birthdays = require("../resources/birthdays.json");
see date comparison @ https://github.com/yakasov/bot-rewrite-3-js/blob/4a22c7bcc53ceb9f08d77368b2ed598ea3a61f2e/tasks/birthdays.js#L11

will get on it this evening, thanks for the info


missing space in 3A9 command

between scopes and /subscriptions

Thanks for the catch @tybyers. Could you open a pull request to 'integration' instead of 'main'?

changing PR to integration branch


Proper way to install three?

When I load ComfyUI after putting ComfyUI-3D-Pack in my custom_nodes directory, I get an error that says:
app.js:1361 Error loading extension /extensions/ComfyUI-3D-Pack/js/threeVisualizer.js TypeError: Failed to resolve module specifier "three". Relative references must start with either "/", "./", or "../".
I've never messed with installing JS packages before, and don't see anything in the install guide, so not sure how to install it properly. I've tried "npm install three" in various directories, and if I move the three dir under ComfyUI/web/extensions I can see the browser loads various js files from it based on all the errors (it says i'm loading multiple versions of three, but the three files themselves can't seem to find each other). The previewer still doesn't load properly.
Didn't see anything in the instructions or install scripts referring to three, so is this supposed to just work out of the box?

Nevermind, the import errors were a red herring.
The viewers work fine, I was just assuming the filepaths were relative to Python's working directory rather than ComfyUI/output.


Fix update of Homebrew taps on release

Description
Use the new Homebrew update script from the homebrew-tap repository.
Testing
Tested in my fork: https://github.com/agateau-gg/ggshield/actions/runs/3271811007/jobs/5382043742
I faked a release of 1.10.1: I had to overwrite existing tags (in my fork, don't worry!) so that the update script would find a matching release of ggshield on pypi.org.
Issues
Fixes #385.

Codecov Report

Merging #390 (514c639) into main (38a5501) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
+ Coverage   94.24%   94.30%   +0.06%
==========================================
  Files          76       76
  Lines        3285     3304      +19
==========================================
+ Hits         3096     3116      +20
+ Misses        189      188       -1

Flag
Coverage Δ

unittests
94.30% <100.00%> (+0.06%)
:arrow_up:

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

Impacted Files
Coverage Δ

ggshield/cmd/auth/login.py
98.38% <100.00%> (-0.03%)
:arrow_down:

ggshield/core/config/auth_config.py
92.55% <100.00%> (+0.41%)
:arrow_up:

ggshield/core/oauth.py
85.50% <100.00%> (-0.07%)
:arrow_down:

ggshield/core/utils.py
96.66% <100.00%> (+0.08%)
:arrow_up:

ggshield/cmd/secret/scan/prepush.py
97.36% <0.00%> (+0.14%)
:arrow_up:

ggshield/cmd/secret/scan/prereceive.py
95.09% <0.00%> (+0.36%)
:arrow_up:

ggshield/core/git_shell.py
93.10% <0.00%> (+1.14%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.