Running blackhole unit tests crashes my system

joelsmith@yyzo-bh-16 /localdev/joelsmith/git/tt-umd/cmake-build/test/umd/blackhole $ ./unit_tests
Running main() from /localdev/joelsmith/git/tt-umd/.cpmcache/googletest/96129d89f45386492ae46d6bb8c027bc3df5f949/googletest/src/gtest_main.cc
[==========] Running 8 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 8 tests from SiliconDriverBH
[ RUN      ] SiliconDriverBH.CreateDestroy
  Detecting chips (found 1)
2024-12-06 21:14:27.328 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:14:27.329 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:14:27.393 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]
2024-12-06 21:14:27.393 | INFO     | SiliconDriver   - Opened PCI device 0; KMD version: 1.28.0, IOMMU: disabled
2024-12-06 21:14:28.133 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:14:28.193 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]
2024-12-06 21:14:28.193 | INFO     | SiliconDriver   - Opened PCI device 0; KMD version: 1.28.0, IOMMU: disabled
Timeout, server yyzo-bh-16.local.tenstorrent.com not responding.

DMA tests are broken
joelsmith@yyzo-bh-16 /localdev/joelsmith/git/tt-umd/cmake-build/test/umd/blackhole $ ./unit_tests --gtest_filter=*.*Sysmem*
Running main() from /localdev/joelsmith/git/tt-umd/.cpmcache/googletest/96129d89f45386492ae46d6bb8c027bc3df5f949/googletest/src/gtest_main.cc
Note: Google Test filter = *.*Sysmem*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from SiliconDriverBH
[ RUN      ] SiliconDriverBH.SysmemTestWithPcie
  Detecting chips (found 1)
2024-12-06 21:16:49.323 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:16:49.324 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:16:49.324 | INFO     | SiliconDriver   - Opened PCI device 0; KMD version: 1.28.0, IOMMU: disabled
2024-12-06 21:16:49.458 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]
2024-12-06 21:16:49.458 | INFO     | SiliconDriver   - Opened PCI device 0; KMD version: 1.28.0, IOMMU: disabled
/localdev/joelsmith/git/tt-umd/tests/blackhole/test_silicon_driver_bh.cpp:918: Failure
Expected equality of these values:
  buffer
    Which is: { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', ... }
  std::vector<uint8_t>(sysmem, sysmem + test_size_bytes)
    Which is: { '\xCA' (202), '\xD9' (217), '\x2' (2), 't' (116, 0x74), '^' (94, 0x5E), '\xD1' (209), 'E' (69, 0x45), '\xE9' (233), '\xB2' (178), '\xDD' (221), '\b' (8), '\xD1' (209), '\f' (12, 0xC), '\x16' (22), '\xCA' (202), '\x99' (153), '!' (33, 0x21), '\xAE' (174), '\x9D' (157), 'M' (77, 0x4D), '\xCE' (206), '/' (47, 0x2F), 'd' (100, 0x64), 'm' (109, 0x6D), '\xE0' (224), '~' (126, 0x7E), '\x85' (133), '\xFA' (250), 'p' (112, 0x70), '\x13' (19), '\t' (9), '@' (64, 0x40), ... }
[  FAILED  ] SiliconDriverBH.SysmemTestWithPcie (941 ms)
[ RUN      ] SiliconDriverBH.RandomSysmemTestWithPcie
2024-12-06 21:16:50.256 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:16:50.256 | WARNING  | SiliconDriver   - Unknown board type for chip 0. This might happen because chip is running old firmware. Defaulting to UNKNOWN
2024-12-06 21:16:50.312 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]
2024-12-06 21:16:50.312 | INFO     | SiliconDriver   - Opened PCI device 0; KMD version: 1.28.0, IOMMU: disabled
2024-12-06 21:16:50.386 | WARNING  | SiliconDriver   - Forcing a single channel for Blackhole device. Multiple host channels not supported.
/localdev/joelsmith/git/tt-umd/tests/blackhole/test_silicon_driver_bh.cpp:991: Failure
Expected equality of these values:
  value
    Which is:<PHONE_NUMBER>
  expected
    Which is:<PHONE_NUMBER>
Mismatch at address 0xdb6a64c
[  FAILED  ] SiliconDriverBH.RandomSysmemTestWithPcie (847 ms)
[----------] 2 tests from SiliconDriverBH (1789 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (1789 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] SiliconDriverBH.SysmemTestWithPcie
[  FAILED  ] SiliconDriverBH.RandomSysmemTestWithPcie

 2 FAILED TESTS


index.d.ts doesn't have several methods.

index.d.ts doesn't have methods added in this PR: https://github.com/form-data/form-data/pull/408/files

get
getAll
delete
has
set

It looks to me like that PR was closed without merged and those methods don't exist on master. Do you see something I'm missing?

@C-Saunders You are correct!


Intellisense indicates that the ParentServices property is obsolete but this documentation does not

Intellisense in Visual Studio indicates that this property is obsolete. It is not marked as obsolete in this documentation nor are there any possible alternative properties/methods. Which is correct?

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

ID: 1dc505d5-e14a-1b0c-506a-01b992da77d8
Version Independent ID: 4f46133a-a537-e279-87dc-c0cf6966f8c9
Content: GattDeviceService.ParentServices Property (Windows.Devices.Bluetooth.GenericAttributeProfile) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.devices.bluetooth.genericattributeprofile.gattdeviceservice.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hi, @peterfoot. Thanks for filing this issue, and my apologies for the very long delay in responding.
I have added this detail to the topic now (that should be live soon). But I don't have info about any alternative API. It might be worth your pursuing this as a question about the product, rather than as feedback about the documentation (since there's nothing that I can action, as things stand). You got here by clicking Send feedback about > This page. If instead you click Send feedback about > This product, then you'll be taken to the Windows developer feedback site (more info about that below).
Here are all of the developer support resources, for completeness.

The Windows developer feedback site is the right place to lobby for a change, a feature, or to make a suggestion.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource, and you believe that information would help us improve the docs, then please come back and let us know.
Thanks!
Steve

I'll go ahead and close this issue now since it's been a while, and it feels resolved. Please reopen if I made a mistake in closing. ~Steve


translation tab ordering

i created this field to translate
Text::make('Title')
                ->rules('required', 'min:2')
                ->translatable([
                    'fr' => 'French',
                   'es' => 'Spanish',
                    'ru' => 'Russian'
                ]),

but i noticed that the tabs are sorted in alphabetical order, is there a possibility to give them a different order?
I would like to see them in the order I put them in the field translatable instead I see them in alphabetical order

Hi! They're not in alphabetical order. Instead, the first language will always be the language the Nova panel is in (app()->locale() / config('app.locale', 'en')). The rest are in the order they're defined in.
I think it makes sense, does it not?

Hi! They're not in alphabetical order. Instead, the first language will always be the language the Nova panel is in (app()->locale() / config('app.locale', 'en')). The rest are in the order they're defined in.
I think it makes sense, does it not?

Heya! The most recent update, 1.9.0, allows configuring the order of the locales. If you want the array order to be respected, you can set prioritize_nova_locale to false in config/nova-translatable.php. :) Good luck!


feat(web): add barnet to lpa seed

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

@bryn-pins not sure what would happen with a sql script then the seed. The email is no longer a personal one though


Fix crash when cancelling google auth

The block wasn't being copied so it was getting messed up when it went
out of scope.
JIRA: https://openedx.atlassian.net/browse/MOB-1689

@hanningni please review

:+1:


Add initial frame filtering

Introduces new struct CANFilter as well as CANSocket function set_filter, which wraps the appropriate setsockopt call.

Merged. I need to check it before a release can be cut (and maybe add a few things), but this should allow using a github-url as a dependency.

Thanks.  If it will help your testing, here's a snippet of the candump I wrote to make sure it worked--
extern crate socketcan;

use std::time;
use socketcan::*;

fn main() {

    let can_interface = "vcan0";

    let ref can_socket = CANSocket::open(can_interface).unwrap();

    let can_filters: [CANFilter; 2] = [
        CANFilter::new(0x123, SFF_MASK).unwrap(),
        CANFilter::new(0x124, SFF_MASK).unwrap(),
    ];

    can_socket.set_filter(&can_filters).unwrap();

    let mut _running: bool = true;

    can_socket.set_read_timeout(time::Duration::new(0, 0)).unwrap();
    can_socket.set_write_timeout(time::Duration::new(0, 0)).unwrap();

    while _running {

        let can_frame = can_socket.read_frame().unwrap();
        let id = can_frame.id();
        let data = can_frame.data();
        let len = data.len();

        print!("  {}  {:X}   [{}]  ", &can_interface.to_string(), id, len);
        for d in data.iter() {
            print!("{:X} ", d);
        }
        println!("");

    }
}

and then cansend with a few different addresses--
./cansend vcan0 123#aabbccddeeff1122
./cansend vcan0 124#aabbccddeeff1122
./cansend vcan0 125#aabbccddeeff1122


CNN-LSTM for batches of data

In keras 1.2.2, I have made a dataset which has these dimensions:
X_train: (2000, 100, 32, 32, 3)
y_train: (2000,1)
Here, 2000 is the number of instances (batches of data), 100 is the number of samples in each batch, 32 is the image rows and cols, and 3 is the number of channels (RGB).
I have written this code which applies an LSTM after a CNN. I used TimeDistributed layers and took the average of the output of LSTM to have something like the figure in this:
http://stackoverflow.com/questions/36428323/lstm-followed-by-mean-pooling/36524166
I want LSTM to work on each batch, and then I take the average of the LSTM output on that batch. So, my total output (my labels) is a (2000,1) vector.
Is my code correct ? are the layers after the LSTM defined correctly ?
This is my code:
# -*- coding: utf-8 -*-
import keras
from keras.layers import Input ,Dense, Dropout, Activation, LSTM
from keras.layers import Lambda, Convolution2D, MaxPooling2D, Flatten, Reshape
from keras.models import Sequential
from keras.layers.wrappers import TimeDistributed
from keras.layers.pooling import GlobalAveragePooling1D
from keras.optimizers import SGD
from keras.utils import np_utils
from keras.models import Model
import keras.backend as K

import numpy as np

timesteps=100;
number_of_samples=2500;
nb_samples=number_of_samples;
frame_row=32;
frame_col=32;
channels=3;

nb_epoch=1;
batch_size=timesteps;

data= np.random.random((2500,timesteps,frame_row,frame_col,channels))
label=np.random.random((2500,timesteps,1))

X_train=data[0:2000,:]
y_train=label[0:2000]

X_test=data[2000:,:]
y_test=label[2000:,:]

#%%

model=Sequential();

model.add(TimeDistributed(Convolution2D(32, 3, 3, border_mode='same'), input_shape=X_train.shape[1:]))
model.add(TimeDistributed(Activation('relu')))
model.add(TimeDistributed(Convolution2D(32, 3, 3)))
model.add(TimeDistributed(Activation('relu')))
model.add(TimeDistributed(MaxPooling2D(pool_size=(2, 2))))
model.add(TimeDistributed(Dropout(0.25)))

model.add(TimeDistributed(Flatten()))
model.add(TimeDistributed(Dense(512)))
#output dimension here is (None, 100, 512)

model.add(TimeDistributed(Dense(35, name="first_dense" )))
#output dimension here is (None, 100, 35)

model.add(LSTM(output_dim=20, return_sequences=True))
#output dimension here is (None, 100, 20)

time_distributed_merge_layer = Lambda(function=lambda x: K.mean(x, axis=0, keepdims=False)
, output_shape=(None, 20))
model.add(time_distributed_merge_layer)
#output dimension here is (None, 1, 20)

model.add(Dense(1, activation='sigmoid', input_shape=(None,20)))

model.compile(loss='binary_crossentropy',
              optimizer='adam',
              metrics=['accuracy'])

model.fit(X_train, y_train,
          batch_size=batch_size,
          nb_epoch=nb_epoch,
          validation_data=(X_test, y_test))

Hello,
You probably have a bug, in the lambda layer. The mean axis should be 1.
You should probably GlobalAveragePooling1D() instead. https://keras.io/layers/pooling/#globalaveragepooling1d


Remove 'string' dependency and update copied 'string' code to remove vulnerability

solves https://github.com/AdmitHub/NeOliTh/security/dependabot/2 for neolith

Tim's efforts once again go unappreciated


Provide activation id in response error payload of web actions that time out

Provide the activation id in response error payload of web actions that time out
Description
When invoking an action, there are two modes possible, blocking or non-blocking.
The default for regular action invocations is 'non-blocking', for web actions it is blocking.
Blocking invocations use a request-response style and wait for the activation result to be available.
The wait period is the lesser of 60 seconds or the action's timeout limit.
At the end of the wait period (i.e. after 60 sec), ALL invocations will switch to non-blocking and instead of the result they return the activation id such as
{
  "activationId": "27eca80056d54f93aca80056d5cf93b9"
}

If an invocation of a web action reaches the end of wait period, the response will just show the transaction id and an indication that the request is returned, but the action continues to run.
{
  "code": "7744082c6a0d2d579786547023602357",
  "error": "Response not yet ready."
}

In addition, independent on the invocation type, the HTTP response header field x-openwhisk-activation-id is set to the activation id of the invocation.
In order to be more consistent this code change adds the activation id to the response error payload for web actions that times out.
{
  "activationId": "27eca80056d54f93aca80056d5cf93b9",
  "code": "7744082c6a0d2d579786547023602357",
  "error": "Response not yet ready."
}

My changes affect the following components

[X] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[X] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[X] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[X] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

https://openwhisk-jenkins.swg-devops.com/view/Playgrounds/job/pg1/956/ :running_man:


Allow us to sort columns in the Recalculate Rollup tab table of rollups

The tab with the list of rollups is really useful. If we could sort columns (specifically the Parent Object column) it would make it easier to see what's what, especially when one child object rolls up to multiple parent objects.

That's a great idea. I'll be making that change as part of #520

Thank you!


Why is client re-running after receiving "op code 11" 3-times?

In my app it can't be re_run (i dont know why) and everything breaks down after receiving op code 11 3-times
Why it must be re-runned?

There's some bug on the lib Discord-S.C.U.M, when re-connect, the message handle gets idle. re-run can fix that issue

But re-run doesn't work
He is trying, but nothing happened


Creating a subscription with a query / mutation present causes a weird error

While using graphiq with subscriptions<EMAIL_ADDRESS>and<EMAIL_ADDRESS>, I had the following query and subscription in the editor
query GetOrders {
  orders {
    id
    name
		status
    customer {
    	name
    }
  }
}

subscription OnCreated {
  orderEvent(statuses: [CREATED]) {
  	orderId
    name
    status
  }
}

When I executed the subscription I got this message.
[object object]

Removing the query, the subscription works fine
"Your subscription data will appear here after server publication!"

Screenshots below

If there is a better repo to file this in, please let me know.
Thanks!

Reproduces in 2021

@mgadda  ``

Thanks for reporting @glennblock! We'll have a look.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_3e123875-ab24-4905-bc53-bc7205b1411a/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_3e123875-ab24-4905-bc53-bc7205b1411a.git

Docs Build status updates of commit 0694727:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Except reference link definitions from spellcheck

Reference links have two parts: the label and the definition. Example:
[This][0] is a reference link

[0]: http://example.com/

[This][0] is the label, [0]: http://example.com/ is the definition.
We're currently removing the label from spellchecking. This change also
removes the definition from the spellcheck.

:heart:
On Wed, Jan 6, 2016 at 10:32 AM, Max Wofford<EMAIL_ADDRESS>wrote:

Merged #56 https://github.com/hackclub/markcop/pull/56.
—
Reply to this email directly or view it on GitHub
https://github.com/hackclub/markcop/pull/56#event-507384117.

--
Zach Latta
http://zachlatta.com
https://github.com/zachlatta
https://twitter.com/zachlatta

Nice! I really like the readability of the new markcop

I can't tell if you're being sarcastic.
https://github.com/hackclub/markcop/blob/master/bin/markcop#L260-L283 is
hellspawn.
On Wed, Jan 6, 2016 at 10:32 AM, Max Wofford<EMAIL_ADDRESS>wrote:

Nice! I really like the readability of the new markcop
—
Reply to this email directly or view it on GitHub
https://github.com/hackclub/markcop/pull/56#issuecomment-169412566.

--
Zach Latta
http://zachlatta.com
https://github.com/zachlatta
https://twitter.com/zachlatta


Possibility to bind other mouse events to the element.

Not possible for now. I am looking for best way how to make it possible for now. I will implement it asap.

@Crutiatix hello again, I have no issues, I just would like to ask you a question:
Is there some way to set a button to react to other mouse buttons?
I can't find this in the documentation. I'd like to make a button that can be activated by both left-click or right-click.
Originally posted by @Skaruts in https://github.com/Crutiatix/TICuare/issues/2#issuecomment-860994281


Webpack Extract-Text-Plugin Output Multiple CSS Files (Both Minified and Not Minified)

I write style in SCSS, and I want to use webpack to build both minified and not minified css files.
So I set my webpack.config.js:
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

const extractSASS = new ExtractTextPlugin('assets/styles/[name].css');
const extractMiniSASS = new ExtractTextPlugin('assets/styles/[name].min.css');

module.exports = {
    entry: './Scripts/main.js',
    output: { path: path.resolve(__dirname, 'wwwroot/'), filename: 'scripts/bundle.js' },
    module: {
        rules: [
            {
                test: /\.scss$/,
                use: extractSASS.extract({
                    use: ['css-loader', 'sass-loader'],
                }),
            },
            {
                test: /\.scss$/,
                use: extractMiniSASS.extract({
                    use: [{ loader: 'css-loader', options: { minimize: true } }, 'sass-loader'],
                }),
            },
            {
                test: /\.js$/,
                use: [{ loader: 'babel-loader', options: { presets: ['es2015'] } }],
            },
        ],
    },
    plugins: [new webpack.optimize.UglifyJsPlugin(), extractSASS, extractMiniSASS],
};

But after I run npm run build, I get some errors:
ERROR in ./SCSS/main.scss
Module build failed:
$primary_color: #99dd00;
^
      Invalid CSS after "e": expected 1 selector or at-rule, was "exports = module.ex"
      in D:\Test\WebpackTest\CSSLoaderTest\SCSS\main.scss (line 1, column 1)
 @ ./Scripts/main.js 3:0-28
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/sass-loader/lib/loader.js!node_modules/extract-text-webpack-plugin/dist/loader.js??ref--1-0!node_modules/css-loader/index.js??ref--1-1!node_modules/sass-loader/lib/loader.js!SCSS/main.scss:
       [0] ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./node_modules/extract-text-webpack-plugin/dist/loader.js?{"id":2,"omit":0,"remove":true}!./node_modules/css-loader?{"minimize":true}!./node_modules/sass-loader/lib/loader.js!./SCSS/main.scss 159 bytes {0} [built]
        + 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\nodejs\node_cache\_logs\2018-01-24T03_09_52_242Z-debug.log

If extract-text-webpack-plugin doesn't support building two css files from a scss file?

@MarkSky Thanks for issue. If it not bug, right now it is impossible, but it is feature.

@michael-ciniawsky What do you think about this option. It should be very convenient for libraries/ frameworks and etc. Or we should documentation how people do this (if we found solution without new option).

See Pull request #711

@AielloChan I have tried your solution, but it still has error.
My code:
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin1 = require('extract-text-webpack-plugin');
const ExtractTextPlugin2 = require('extract-text-webpack-plugin');

const extractSASS = new ExtractTextPlugin1({ filename: 'assets/styles/[name].css' });
const extractMiniSASS = new ExtractTextPlugin2({ filename: 'assets/styles/[name].min.css' });

module.exports = {
    entry: './Scripts/main.js',
    output: { path: path.resolve(__dirname, 'wwwroot/'), filename: 'scripts/bundle.js' },
    module: {
        rules: [
            {
                test: /\.scss$/,
                use: extractSASS.extract({
                    use: ['css-loader', 'sass-loader'],
                }),
            },
            {
                test: /\.scss$/,
                use: extractMiniSASS.extract({
                    use: [{ loader: 'css-loader', options: { minimize: true } }, 'sass-loader'],
                }),
            },
            {
                test: /\.js$/,
                use: [{ loader: 'babel-loader', options: { presets: ['es2015'] } }],
            },
        ],
    },
    plugins: [new webpack.optimize.UglifyJsPlugin(), extractSASS, extractMiniSASS],
};

And the information:
ERROR in ./SCSS/main.scss
Module build failed:
$primary_color: #99dd00;
^
      Invalid CSS after "e": expected 1 selector or at-rule, was "exports = module.ex"
      in D:\Test\WebpackTest\CSSLoaderTest\SCSS\main.scss (line 1, column 1)
 @ ./Scripts/main.js 3:0-28
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/sass-loader/lib/loader.js!node_modules/extract-text-webpack-plugin/dist/loader.js??ref--1-0!node_modules/css-loader/index.js??ref--1-1!node_modules/sass-loader/lib/loader.js!SCSS/main.scss:
       [0] ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./node_modules/extract-text-webpack-plugin/dist/loader.js?{"id":2,"omit":0,"remove":true}!./node_modules/css-loader?{"minimize":true}!./node_modules/sass-loader/lib/loader.js!./SCSS/main.scss 159 bytes {0} [built]
        + 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>build: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\nodejs\node_cache\_logs\2018-02-02T02_34_59_793Z-debug.log

extract-text-webpack-plugin only extracts the CSS. For minification etc use an additional plugin like https://www.npmjs.com/package/optimize-css-assets-webpack-plugin in tandem with ETWP. module.rules are merged and ETWP rebuilds each module to remove it's dependencies => extracting the CSS from a module twice isn't possible


Change project target frameworks

Fix #224

@metoule  Do you think we should really consider this as a breaking change? We will "break" only user on .NET 4.5. Ok technically speaking is a breaking change, but maybe we can just put a "BREAKING CHANGE" note in the release note.

Now that I think about it, Nuget should handle this for us: it will stop suggesting updates to users on .NET4.5, but they can still use the 2.10.0 version.
I agree with your suggestion to put a note in the release notes :)


sage: fix test timeout and downgraded R tests

Motivation for this change
Hydra build failures. Downgraded R failures actually on release-18.09, but there is no reason they couldn't happen on master too. I'll cherry-pick that to 18.09.
Things done

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

[ ] 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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: sage
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: sage
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Timed out, unknown build status on x86_64-linux (full log)
Attempted: sage
Partial log (click to expand)
sage -t --long /nix/store/wl8xb3diwn6kvaqanb1dp6a2bav612ym-sage-src-8.4/src/sage/misc/six.py
    [26 tests, 0.01 s]
sage -t --long /nix/store/wl8xb3diwn6kvaqanb1dp6a2bav612ym-sage-src-8.4/src/sage/misc/sphinxify.py
    [9 tests, 1.29 s]
sage -t --long /nix/store/wl8xb3diwn6kvaqanb1dp6a2bav612ym-sage-src-8.4/src/sage/misc/stopgap.pyx
    [11 tests, 0.01 s]
sage -t --long /nix/store/wl8xb3diwn6kvaqanb1dp6a2bav612ym-sage-src-8.4/src/sage/misc/superseded.py
building of '/nix/store/ac6w9dnp2xg46jab6xl45f81f4ry1aiv-sage-tests-8.4.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/ngcd06px6dh6dq6hwm5w63sbxva5rxs3-sage-8.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ngcd06px6dh6dq6hwm5w63sbxva5rxs3-sage-8.4.drv' failed


When has network connection again, express native ads are not loaded

When device does not network connection, express native ads are not loaded. But when device has network connection again, express native ads are not still loaded because all native ad views in list view are set gone. I think so.

Hi vanhung1710
are you using popBackStack?

@vanhung1710 Admobadapter doesn't handle an internet connection state. So I guess you could handle a changing of a network state in your code yourself and if the network is OK then signal to your dataset adapter by method notifyDatasetChanged() or something like this. Then Admobadapter should handle the ads update itself.

When network connect is available, I must recreate AdmobAdapter to load ads. If I only use method notifyDatasetChanged(), ads does not show.

@vanhung1710 Uhm, okay, I'll check that...

@vanhung1710 Actually you could try to call the AdmobExpressAdapterWrapper::reinitialize() instead of recreation of AdmobAdapter on network was enabled. The same method exists but a bit buggy for now in the AdmobExpressRecyclerAdapterWrapper. I'm optimizing it right now.
And sorry for such a late answer.


prevent deprecation message caused by std.math.abs() on short and byte.

I target stable since you don't allow deprecation in the standard library anymore

The tests pass on my linux x86_64 box with both DMD 2.078-beta.1 and DMD ~master so i don't get what's happening with the tests. The change should have been rather trivial.

ping this is trivial, but it's for 2.078 so don't forget it (6 days if i trust the planning).

Why * - 1? Isn't casting explicitly enough?
First you came for our blessed tilde, now you want to make our negation obfuscated too. 😛

Okay, let's go for a basic type constructor then.

I hate how complex this signature has become. Couldn't we add overloads for abs(byte) and abs(short) instead?

@MetaLang, the constraint of the current function will not be more simple if we put the two cases away.
It will be even less clear because an explanation will be required. For now the strange processing is hidden inside.

@ibuclaw, now that it's merged, you said

First you came for our blessed tilde

There must me a misunderstanding, I've never been in touch with anyone about the tidle. My own code has been affected but it was about the minus prefix, and I've only talked about this on IRC, where after no help i did this.
So...i don't know what you are talking about with this tidle story.

https://github.com/dlang/phobos/commit/1882758ab1e47e943e9b96f4b16a92f833ddcaa4#diff-8b9f1870415268a4c40b628d596dc405

okay...but you know...i'm not in the organization.

anyway, end of story ~

Should have tested the Unqual type... https://issues.dlang.org/show_bug.cgi?id=18349


'Analyzing' text lost styling

There was an id associated with styling that was deleted from the html. Analyzing is now in the wrong location and the animation isn't applied.

It should be a class and not an id. There's a conversation in the old PR and @qzhou1607 can tell you more if needed.

It's fine if it's not an id. But whatever was changed broke the positioning and animation.

@molant @ststimac For some reason the css and js in production were not updated, even though the code in the website branch is correct.

Yeah, I'm noticing that there's CSS missing when I inspect my scan results page on sonarwhal.com while it's analyzing.

@molant It looks like the service worker is still running, even after the hexo-offline package is removed

This is causing the issue I'm seeing in #246 as well. When I empty cache and hard reload, things look fine.

This is what people are seeing right now on the scan results page on first load...

Fixed via #247


Doxygen tags

Is your feature request related to a problem? Please describe.
We could start using doxygen tags that can be later used to generate some basic docs. I guess we all agree that this is beneficial for improved code readability + possibility to generate at least some basic doc. We could make it mandatory for new classes and functions + refactored functions.
Describe the solution you'd like.
There are multiple styles that can be used. Some examples of these styles can be checked here. I personally use and find this one the best for readability:
/**
 * @file
 * @author  John Doe<EMAIL_ADDRESS> * @version 1.0
 *
 * @section LICENSE
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details at
 * https://www.gnu.org/copyleft/gpl.html
 *
 * @section DESCRIPTION
 *
 * The time class represents a moment of time.
 */

class Time {

    public:

       /**
        * Constructor that sets the time to a given value.
        *
        * @param timemillis is a number of milliseconds
        *        passed since Jan 1, 1970.
        */
       Time (int timemillis) {
           // the code
       }

       /**
        * Get the current time.
        *
        * @return A time object set to the current time.
        */
       static Time now () {
           // the code
       }
};

There is a lot of different tags in doxygen, I personally use only a few selected ones, e.g.:
/**
 * @class RewardsStats
 * @brief RewardsStats contains rewards statistics for single pbft block
 */
class RewardsStats {
 public:
  /**
   * @brief In case unique tx_hash is provided, it is mapped to it's validator's address + validator's unique txs count
   *        is incremented. If provided tx_hash was already processed, nothing happens
   *
   * @param tx_hash
   * @param validator
   * @return true in case tx_hash was unique and processed, otherwise false
   */
  bool addTransaction(const trx_hash_t& tx_hash, const addr_t& validator);

  /**
   * @brief Remove tx from statistics
   *
   * @param tx_hash
   */
  void removeTransaction(const trx_hash_t& tx_hash);

  /**
   * @brief In case unique vote is provided, it's author's unique votes count is incremented. If provided vote was
   *        already processed, nothing happens
   *
   * @param vote
   * @return true in case vote was unique and processed, otherwise false
   */
  bool addVote(const Vote& vote);
}

So I think we should decide what style and tags we are going to use. My idea is basically described above :)
Note: every decent IDE has some shortcut to generate it automatically. For example in CLion if I put my cursor above some function and type /** + hit enter it woull generate automatically @param and @return tags in described format.

@mfrankovi @MatusKysel @gaoqi8649 @kstdl @justinsnapp


Allow respect_cache_headers to be "false"

This PR adds a test for an issue I found.
We define respect_cache_headers like:
->enumNode('respect_cache_headers')
    ->info('Whether we should care about cache headers or not [DEPRECATED]')
    ->values([null, true, false])
    ->beforeNormalization()
        ->always(function ($v) {
            @trigger_error('The option "respect_cache_headers" is deprecated since version 1.3 and will be removed in 2.0. Use "respect_response_cache_directives" instead.', E_USER_DEPRECATED);

            return $v;
        })
    ->end()
->end()

On Symfony 2.8, the EnumNode runs array_unique over the possible values. Though, null and false is treated the same. See https://3v4l.org/KWuNP
This will result in that the possible values for respect_cache_headers will only be true and null. This issue will break BC since we promise that all previous configuration will work on newer versions.
FYI: In the last release we defined the respect_cache_headers like:
->scalarNode('respect_cache_headers')->defaultTrue()->end()

@stof, have you seen this issue before? Do you know a workaround?

hmm, I think the enumNode was always used with strings until now, which is why such issue was never spotted before

Thank you. I use a ScalarNode for this now.

Thank you for the reviews.


MedEye3d.jl suffers package dependency errors when trying to add DocumenterVitepress support.

Steps to reproduce:
--clone medeye3d master to ur local file system
--edit the docs directory for adding documentervitepress support
--edit docs/Project.toml by adding the following
[Deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c36

== edit root project.toml file by adding the following
[Deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c36
[Compat]
Documenter = "1"
DocumenterVitepress = "0.0.19, 0.0.20"

get into the current root directory of modified MedEye3d.jl package
run
julia --project=.
Pkg.resolve() or Pkg.update() results in the following error
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package GPUCompiler [61eb1bfa]:
 GPUCompiler [61eb1bfa] log:
 ├─possible versions are: 0.1.0-0.26.5 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.26.5
 ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.5 or uninstalled, leaving only versions: 0.22.0-0.26.5
 └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.13.3-0.17.3, 0.19.0-0.21.4] — no versions left
   └─CUDA [052768ef] log:
     ├─possible versions are: 0.1.0-5.4.2 or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-5.4.2
     └─restricted by compatibility requirements with MedEval3D [07fe485e] to versions: [3.6.2-3.13.1, 4.2.0-4.4.2]
       └─MedEval3D [07fe485e] log:
         ├─possible versions are: 0.1.0-0.2.0 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.2.0

MedEval dependency versioning somewhere breaks the package resolution for medeye3d.jl

To save time,
clone the following repository with changes
--docs
--./docs/Project.toml
--./Project.toml
and run the above described julia commands
https://github.com/divital-coder/Medeye3d_sunset.jl

Seems like an issue for version range for CUDA in medeval

Running the above with julia 1.8.5 version fixes the errors for GPUCompiler and CUDA,
leaving the following erros :
``
`ERROR: Unsatisfiable requirements detected for package MedEval3D [07fe485e]:
MedEval3D [07fe485e] log:
├─possible versions are: 0.1.0-0.2.0 or uninstalled
├─restricted to versions 0.2.0-* by MedEye3d [48a1af7b], leaving only versions 0.2.0
│ └─MedEye3d [48a1af7b] log:
│   ├─possible versions are: 0.5.7 or uninstalled
│   └─MedEye3d [48a1af7b] is fixed to version 0.5.7```


Add concurrency into python example in route_guide

replace await single tasks sequentially with await task_group

In the asyncio example for route_guide for python, await is used everywhere and hence effectively removing concurrency. For example, if we await guide_get_one_feature sequentially, we are still doing task one by one instead of doing concurrently despite using asyncio.
Therefore, I think it is better to show example adding multiple tasks at the same time without dependency.
Maybe @lidizheng can have a look at this.

/easycla

Thank you. Let me write some comments.

Hi @gnossen please have a look if this comment is enough.


[Spark 37493][CORE] show driver's gc time and duration time in executors page

What changes were proposed in this pull request?
show driver's gc time & duration time(equivalent to application time) of driver in both driver side and history side UI

Why are the changes needed?
help user to config driver's resource more appropriately

Does this PR introduce any user-facing change?
yes,user will see driver's gc time & duration time in executors page.
before this change,user always get zero

How was this patch tested?
unit tests

Can one of the admins verify this patch?

Looks like you need to rebase?


Add configuring metrics section

Purpose

$subject

Codecov Report

Merging #1297 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1297      +/-   ##
============================================
- Coverage     63.29%   63.28%   -0.01%
  Complexity       37       37
============================================
  Files           619      619
  Lines         24954    24954
  Branches       3910     3910
============================================
- Hits          15794    15792       -2
- Misses         7841     7844       +3
+ Partials       1319     1318       -1

Impacted Files
Coverage Δ
Complexity Δ

.../processor/stream/window/DelayWindowProcessor.java
87.27% <0%> (-5.46%)
0% <0%> (ø)

...ut/stream/state/AbsentStreamPreStateProcessor.java
85.21% <0%> (-1.41%)
0% <0%> (ø)

.../io/siddhi/core/util/snapshot/SnapshotService.java
38.5% <0%> (+0.2%)
0% <0%> (ø)
:arrow_down:

...ore/util/persistence/InMemoryPersistenceStore.java
58.97% <0%> (+5.12%)
0% <0%> (ø)
:arrow_down:

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 eede167...76146d9. Read the comment docs.


Fix kubectl proxy link for argo-ui Service

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks! Didn't realize k8s changed this


Configure Ether value with unit

Currently MaxGasPrice and BalanceAlertThreshold config properties are passed in wei. This can be insufficient for bigger values.
In this PR we are utilizing change introduced to keep-common (https://github.com/keep-network/keep-common/pull/60) that let us define a value in a config file with Ether unit, e.g. 500 Gwei or 10.5 ether.
Refs: https://github.com/keep-network/keep-core/issues/2176
Depends on: https://github.com/keep-network/keep-common/pull/60
Depends on:  https://github.com/keep-network/keep-core/pull/2180

Tested locally and works well. Confirmed the change is backward-compatible and any number passed without quotes as MaxGasPrice or BalanceAlertThreshold is interpreted as a value in wei. Also, confirmed "ether", "wei", and "Gwei" units are properly interpreted for those values.


feat(true-up): Test cases for true-up: Support for customers with no connectivity

feat(true-up): Test cases for true-up: Support for customers with no connectivity
closes: MM-49440
Epic: MM-47851

/update-branch


why  Remove statement.tables?

why JSqlParser 3.2  Remove statement.tables?
example
update lcn_sql_parse_test3 t1,lcn_sql_parse_test2 t2  set t1.home_address = 'shanghai',t2.dept_name = 'a' where t1.job = t2.dept_name AND t2.dept_name = 'test'

i use
 Update statement = (Update) CCJSqlParserUtil.parse(sql);
statement.getTable();

jsut return lcn_sql_parse_test3 .
i need return i fix table name is  lcn_sql_parse_test3 t1,lcn_sql_parse_test2 t2

Sorry. I thought I had answered your questions. The getTables was replaced by getTable and getJoins to support join expressions as well.

thanks!  i found it. so i close this questions.

@BigBlackSheep  getJoins not return join table for sql update sc_borrower b inner join sc_credit_apply a on a.borrower_id = b.id set b.name = '0.7505105896846266',a.credit_line=a.credit_line+1 where b.id = 3

update sc_borrower b inner join sc_credit_apply a on a.borrower_id = b.id set b.name = '0.7505105896846266',a.credit_line=a.credit_line+1 where b.id = 3

Confirmed with JSQLParser 4.3 Snapshot. Will look into this.

Greetings, it actually works (with JSQLParser 4.3 and likely also previous versions).
However, use the method getStartJoins() as shown below:
@Test
    public void testUpdateJoinsIssue1035() throws JSQLParserException {
        String sqlStr = "update sc_borrower b " +
                "inner join sc_credit_apply a " +
                "on a.borrower_id = b.id " +
                "set b.name = '0.7505105896846266'" +
                ",a.credit_line=a.credit_line+1 " +
                "where b.id = 3";

        Update update = (Update) CCJSqlParserUtil.parse(sqlStr);
        Assertions.assertEquals(1 , update.getStartJoins().size());
        Assertions.assertNull(update.getJoins());

        assertStatementCanBeDeparsedAs(update, sqlStr, true);
    }


[EUWE] Update breadcrumbs throughout SUI per UXD designs

@chriskacerguis @chessbyte
Euwe Backport of of #281
This PR updates the breadcrumbs to the design given by UXD.
Jira story: https://patternfly.atlassian.net/browse/CFUX-109
@miq-bot add_label euwe/yes, bug

Great thanks @jeff-phillips-18 .  This addresses the issue of inconsistent and "bad" breadcrumbs

@jeff-phillips-18 can you look into Travis failure?

@chessbyte Travis build fixed.

@chessbyte, @jeff-phillips-18 took care of the travis failure already.  This is a fix for inconsistent and "bad" breadcrumbs.  It would be a win for UX from a consistency perspective.  Please consider for euwe.


Qbey/add metadata parser

Purpose
Add a parser dedicated to federation metadata.
Proposal
This extends the original python3-saml parser to allow
federation metadata parser to return all IdPs at once.
This also adds some attributes extraction.

[x] Add parser
[x] Add tests

Wrong push order, made this PR closed but it has been merged...


getting started link update

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?
no
[ ] Have the files been linted and formatted?
no

What docs page needs to be fixed?

Section: current section
Page: current page

What is the problem?
link outdated
What changes does this PR make to fix the problem?
updated link

Thanks!


Text selection in Annotator by cursor keys

Allow moving through Annotator by cursor keys (PgDn, Ctrl+arrow down...). Also allow text selection by cursor as in all major text editors: e.g. Ctrl+Shift+rightkey, leftkey, upkey, downkey, PgDn, PgUp. Ctrl + rightkey and leftkey = for whole words. Simply as major text editors have it, if unsure, open a Google Doc and try it out there - this is the functionality we want.
Based on this selection, we want two alternative actions:

Segmentation - i.e. triggering the same modal as with mouse selection in Annotator.
Text copy-paste to system clipboard. (This will be treated separately in a next issue also for mouse option, so here I am listing it only as one of the two possible actions the user wants.)

shift/ctrl/left,right now works

@jancimertel Can you also include the other cursor keys standard in text processors? We need that the experience is seamlessly similar to text processors.
Ctrl+arrows (for selection, Ctrl+shift+arrows), Ctrl+End (for selection, Ctrl+Shift+End), Ctrl+Home (for selection, Ctrl+Shift+Home)?
If you are not sure how this should work, open a doc in Google DOcs and try it out.


disable on pull request github action

Codecov Report
Base: 98.19% // Head: 98.19% // No change to project coverage :thumbsup:

Coverage data is based on head (af59b9d) compared to base (cffad67).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #430   +/-   ##
=======================================
  Coverage   98.19%   98.19%
=======================================
  Files         128      128
  Lines        6633     6633
=======================================
  Hits         6513     6513
  Misses        120      120

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Investigate default value handling for non-default styles

e.g. why are PaddingRight.. showing up for this label control with style "titleLabelStyle_galleryLayouts_ver5"
        "Gallery1 As gallery.'BrowseLayout_Vertical_TwoTextOneImageVariant_ver5.0'":
            Items: =CustomGallerySample
            TemplateSize: =104
            TemplatePadding: =0
            Layout: =Layout.Vertical
            DelayItemLoading: =true
            LoadingSpinner: =LoadingSpinner.Data
            ZIndex: =1
            FillPortions: =1
            AlignInContainer: =AlignInContainer.SetByContainer
            LayoutMinWidth: =32
            LayoutMinHeight: =32

            Subtitle1 As label:
                Text: =ThisItem.SampleText
                FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)
                VerticalAlign: =VerticalAlign.Top
                X: =Title1.X
                Y: =Title1.Y + Title1.Height
                Width: =Title1.Width
                Height: =Self.Size * 1.8
                ZIndex: =3
                PaddingTop: =0
                PaddingRight: =0
                PaddingBottom: =0
                PaddingLeft: =0
                OnSelect: =Select(Parent)

These properties are being overridden from their default values based on the parent control's variant. For now, it's safer to leave these properties in the .pa.yaml, as not all the variant definitions are encoded in the app and unpacked to /pkgs. In the future, this could be revisited if all the variant definitions are available on a package feed.


Update environment-variables.md

Updated command line details for Windows based systems. In Windows OS echo $SAUCE_USERNAME doesn't work.

Description

Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[x] I have read the contributing document.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Only changed the documentation. Build and test is not required.

Hi @sweeneyskirt-sl , the merge was failing due to what looks like an Algolia error. I've applied the change in a separate PR and will close this one. Thank you, @abalmukund for the catch!

Thanks, @kimsauce . I am not sure why this is still happening. I thought we put the algolia key back in our docusaurus config to mitigate this issue. @spider-sauce  -- not at all urgent, but maybe we can just get this in the backlog as something to look at?

@kimsauce @sweeneyskirt-sl , using the % is standard for Windows env variables. $ is for unix-based systems. The algolia key issue shouldn't be happening anymore. The public-safe key is hardcoded into the config.

Thanks, @spider-sauce! I realized that the correction was specific to windows after I expanded the DIFF file in the replacement PR that Kim made, so the edit has been approved and merged. Regarding the algolia failings, it seems it does still happen for PRs submitted by contributors who create a fork of our repo and then submit a PR from their fork. It does not happen for contributors who just clone the repo and submit a PR from a branch to main.


Adding a new post.

👷 Deploy Preview for poisoned-sweets processing.

Name
Link

🔨 Latest commit
37d7db1a1bbffb4f9e1031aad8bd8ab79908fdab

🔍 Latest deploy log
https://app.netlify.com/sites/poisoned-sweets/deploys/6527e823075db2000848b4e2


Error when trying to parse quotes in JSX

Typescript formatter would exit with an error when parsing the following line:
const title = A call in the room "{ result.room }";
Changing it into the following line solved the error:
const title = A call in the room “{ result.room }” ;
The solution was particularly hard to find out because the error was completely non-descriptive:
> tsfmt -r

Error: Debug Failure. False expression:
    at Object.assert (web/node_modules/typescript/lib/typescript.js:1721:23)
    at processChildNode (web/node_modules/typescript/lib/typescript.js:46156:34)
    at web/node_modules/typescript/lib/typescript.js:46107:21
    at visitNode (web/node_modules/typescript/lib/typescript.js:7243:20)
    at Object.forEachChild (web/node_modules/typescript/lib/typescript.js:7359:24)
    at processNode (web/node_modules/typescript/lib/typescript.js:46106:20)
    at processChildNode (web/node_modules/typescript/lib/typescript.js:46162:21)

Using typescript-formatter 2.2.0 with Typescript 1.8.10. Using the following tslint.json:
{
    "rules": {
        "class-name": true,
        "comment-format": [
            true,
            "check-space"
        ],
        "indent": [
            true,
            "spaces"
        ],
        "curly": true,
        "no-eval": true,
        "no-internal-module": true,
        "no-inferrable-types": [true, "ignore-params"],
        "no-trailing-whitespace": true,
        "trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
        "no-var-keyword": true,
        "no-var-requires": true,
        "no-require-imports": true,
        "no-angle-bracket-type-assertion": true,
        "no-consecutive-blank-lines": true,
        "one-variable-per-declaration": [true, "ignore-for-loop"],
        "one-line": [
            true,
            "check-open-brace",
            "check-whitespace"
        ],
        "quotemark": [
            false,
            "single"
        ],
        "semicolon": [
            true,
            "always"
        ],
        "triple-equals": [
            true,
            "allow-null-check"
        ],
        "typedef-whitespace": [
            true,
            {
                "call-signature": "nospace",
                "index-signature": "nospace",
                "parameter": "nospace",
                "property-declaration": "nospace",
                "variable-declaration": "nospace"
            }
        ],
        "variable-name": [
            true,
            "ban-keywords"
        ],
        "no-invalid-this": true,
        "no-unused-variable": [true, "react"],
        "no-string-literal": true,
        "use-isnan": true,
        "whitespace": [
            true,
            "check-branch",
            "check-decl",
            "check-operator",
            "check-separator",
            "check-type"
        ]
    }
}

https://github.com/Microsoft/TypeScript/issues/9122
is this same issue?

Can confirm same issue.
Broke Format Code: Employer's National Insurance (%)
Didn't break Format Code: {Employer's National Insurance (%)}


Test credentials

don't mind this if it ever gets out

Codecov Report

Merging #286 (e0b489c) into master (9a6e345) will increase coverage by 1.75%.
The diff coverage is 42.76%.

@@            Coverage Diff             @@
##           master     #286      +/-   ##
==========================================
+ Coverage   52.46%   54.22%   +1.75%
==========================================
  Files          59       58       -1
  Lines        4182     4015     -167
==========================================
- Hits         2194     2177      -17
+ Misses       1675     1522     -153
- Partials      313      316       +3

Impacted Files
Coverage Δ

configstack/module.go
68.84% <0.00%> (ø)

dynamodb/dynamo_lock_table.go
0.00% <0.00%> (ø)

dynamodb/dynamo_lock_test_utils.go
3.70% <0.00%> (ø)

options/options.go
75.16% <0.00%> (ø)

remote/remote_state_s3.go
0.00% <0.00%> (ø)

shell/prompt.go
52.63% <0.00%> (ø)

tgerrors/errors.go
51.72% <ø> (ø)

util/file.go
52.33% <9.09%> (-2.60%)
:arrow_down:

cli/download_source.go
69.29% <14.28%> (ø)

awshelper/s3.go
34.57% <21.42%> (-3.82%)
:arrow_down:

... and 26 more

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 da27cd5...e0b489c. Read the comment docs.


Fix Echo end-to-end testing failure on TCP connection

Problem
Echo end-to-end testing on TCP was broken, the regression was introduced by https://github.com/project-chip/connectedhomeip/pull/4019.
With this change, NodeId localNodeId, TransportMgrBase * transportMgr were also added to ExchangeMgr::Init, which are previously owned by SecureSessionMgr. Now both ExchangeMgr and SecureSessionMgr own the reference to localNodeId and transportMgr objects, if those two objects are updated in one place, the change will not get reflected in another place.
In case of this error,  SecureSessionMgr was initialized to use TCP Transport, but  ExchangeMgr was initialized to use UDP Transport.
localNodeId, transportMgr objects are owned by SecureSessionMgr and we have already set those two objects to it, so we should not set them to ExchangeMgr again.

Summary of Changes
Initialize  localNodeId, transportMgr objects only in SecureSessionMgr to avoid discrepancy.

Should this not have caused our CI tests to fail?
or are we not running these integration tests as part of 'cirque'?

Currently, Echo cirque only run one test case over UDP connection and exit immediately. That is why we didn't catch this regression. Create https://github.com/project-chip/connectedhomeip/issues/5600 to track this gap.


Changing a User Id is not reflected throughout the application

v6.0/v6.1
A user Id is able to be changed within the Users window.  However, the original Id is still seen within User Permissions and Folder Permissions windows.  Not sure about API keys.
Suspect the correct operation should be to stop the User Id from being changed.

Furthermore, deleting the user causes inconsistent results too.  This should probably be stopped too.


PEP8 for line breaks before binary operators is incorrect

Hello Spyder devs,
Spyder indicates a PEP8 violation for line breaks before binary operator. However, that is the PEP8 standard.

Here's the PEP8 for that.
You can reproduce the problem by writing a line with a break in front of a binary operator.
Example
    x = (1
         + 2)

This happens in Spyder version 3.1.3 on Python 3.5 and 2.7 in Linux installed with pip. I also saw this on the Windows version shipped along with WinPython.
Please update that.
Thank you.

PEP8 was recently changed, and the tools (here: pycodestyle) are still catching up, so this will trickle down to spyder in a while I guess.
See https://gitlab.com/pycqa/flake8/issues/139 https://github.com/PyCQA/pycodestyle/issues/498 https://hg.python.org/peps/rev/9afe77ad549b
Close this as not-spyder's-bug?

We could switch to use pycodestyle instead of pep8, I think.

It's the same thing... pep8 got renamed to pycodestyle.

I know it's the same thing, but we still use pep8 as a dependency.
I'm closing this issue as a duplicate of #3197.


Foundation site setup url is not working

Describe the bug
Step 5. in the foundation instructions (https://github.com/episerver/Foundation) says:

When the installation is finished, a setup page is opened in your browser. If not, enter the URL http://yourdomainname/setup manually.

When you go to http://foundation/setup it gives you 404.
hosts file has both urls:
<IP_ADDRESS> foundation
<IP_ADDRESS> foundation-cm
To Reproduce
pull v2020.09.1 release, run setup enter site name "foundation" and hit enter on the rest of the questions. Wait until site installs and http://foundation is opened in browser.  Try to go http://foundation/setup
Expected behavior
Expected behavior is that the step 7. dialog is opened "In the setup page under Import Content, select Remote Site File: Mosey and Remote Catalog File: Foundation_Fashion to import the Mosey demo site content. "

@ABackw We removed the setup feature and set the site to default content (Mosey and Foundation_Fashion). And I'll update instructions soon.


Update Staff Page

:tada: This PR is included in version 4.7.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Themes of ChatMLX Have Issue with Input Method

Input method with ChatMLX uses the light background color with white font color. That makes it hard to read. Changing the background color in window style can't help as only the background color is changed, the other parts like font color are not changing accordingly.

Subsequent optimizations will be made to the theme, and opaque dark and light themes will be added.


Complain when file does not exist

What this PR does
join-contracts.py raises an exception when a file does not exist.
Why I'm making this PR
Before this commit, join-contracts.py silently skipped
non existing files.  The result is usually not useful
and might lead to nonpleasant surprises.
This closes #522.
What's tricky about this PR (if any)
none.
Any reviewer can check these:

[ ] If the PR is fixing a bug or adding a feature, add an entry to CHANGELOG.md.
[ ] If the PR changed a Solidity source, run make compile_contracts and add the resulting raiden_contracts/data/contracts.json in the PR.
[ ] If the PR is changing documentation only, add [skip ci] in the commit message so Travis does not waste time.

[ ] But, if the PR changes comments in a Solidity source, do not add [skip ci] and let Travis check the hash of the source.

[ ] In Python, use keyword arguments
[ ] Squash unnecessary commits
[ ] Comment commits
[ ] Follow naming conventions

solidityFunction
_solidity_argument
solidity_variable
python_variable
PYTHON_CONSTANT

[ ] Follow the Signature Convention in CONTRIBUTING.md
For each new contract

[ ] The deployment script deploys the new contract.
[ ] etherscan_verify.py runs on the new contract.

Bookkeep

[ ] The gas cost of new functions are stored in gas.json.

Solidity specific conventions

[ ] Document arguments of functions in natspec
[ ] Care reentrancy problems

[ ] When you catch a require() failure in Solidity, look for a specific error message like pytest.raises(TransactionFailed, match="error message"):

And before "merge" all checkboxes have to be checked.  If you find redundant points, remove them.

CodeCov complains.  It's a good time to add tests.


Merge AbstractSortedSearch into AbstractSearch

There's no requirement to have both AbstractSearch and AbstractSortedSearch - it would be simpler to merge the child into the parent. If someone wants to implement their own sort method, they can always override the sort method anyway.
Searching can be disabled by not allowing the client to send any sort parameters anyway - i.e. through the request definition.

Closing as this is available via Componser on the v0.5.x-dev release


Unindent Shift + Tab

Add a keyboard shortcut to unindent(remove a level of indent, spaces or tabs).
Shift + Tab works well for this and lots of code editors use this keyboard shortcut.

Looking for this as well! Will that happen in near future, or I'll have to do it myself?

Fixed with #24

#24 Solves this. Closing the issue.

Can we reopen this? This is still not working in newer versions.


waldur-mastermind and waldur-homeport  Docker

Hi,
Please, could you give us procedure deploy waldur-mastermind and waldur-homeport Docker with configuration if exists, and default user&password.
Best regards.

We have only initial ones available - https://github.com/opennode/waldur-mastermind-docker and https://github.com/opennode/waldur-homeport-docker . Docker-compose will be out once we get to that.

Thank you so much


Remove redundant reset

Remove redundant reset

Thanks for your contribution. And I just found your and my email address are somehow similar -- both end with .cpp ^.^


Leetcode Question Number 56

Leetcode Question Number 56 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Assign this issue to me


[BUG - Master] Compiling project produces error C3861

Making this issue on behalf of someone who said they would but keeps forgetting to, while the issue itself is being missed over and over again in the ue4ss discussion channels.
Branch or Release
Master branch
Describe the bug
During compilation, the following error has occured for 3 users:
C:\Users\wasikuss\gitrepos\RE-UE4SS\Dependencies\Unreal\src\UnrealCrc32.cpp(382): error C3861: '_byteswap_ulong': identifier not found
C:\Users\wasikuss\gitrepos\RE-UE4SS\Dependencies\Unreal\src\UnrealCrc32.cpp(421): error C3861: '_byteswap_ulong': identifier not found

To Reproduce
Steps to reproduce the behavior:

Fresh clone the repo
Attempt to compile
See error in log

Current workaround
Fixed localy by adding #include <stdlib.h> to the UnrealCrc32.hpp file.

Should be fixed by cd522b683d49e5ff484afc5c07462dc50cae7333


added Buchanan County, MO

unsupported method on row count, closing

GeoCortex!!! :shake fist in air:
On Thu, Oct 13, 2016 at 4:23 PM, Stephen K Hess<EMAIL_ADDRESS>wrote:

unsupported method on row count, closing
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/pull/2062#issuecomment-253628085,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP90A40RJ6B-vcG7T8FMmk3BhCDEEhGks5qzpNXgaJpZM4KWUzl
.


Can't find PCH file during build.

I am testing this module out with our software but I can't get it to compile.  After calling add_library(), I call target_precompiled_header(${target} ${pch_path}) to add the PCH to it.  CMake will run successfully if I use the absolute or relative path to the .pch file but when I try to compile the code I get one of the following errors:
(relative path)
cc1plus: fatal error: /home/smcmich1/repo/visionworkbench/build/src/vw/Core/CMakeFiles/VwCore.pch.dir/../stdafx.h: No such file or directory
(absolute path)
cc1plus: fatal error: /home/smcmich1/repo/visionworkbench/build/src/vw/Core/CMakeFiles/VwCore.pch.dir//home/smcmich1/repo/visionworkbench/src/vw/stdafx.h: No such file or directory
Do you know what could be going wrong?  The PCH file is located at /home/smcmich1/repo/visionworkbench/src/vw/stdafx.h.  CMake is being called from the "build" subfolder and the code is located in the "src" subfolder.  The project line is:
project (VisionWorkbench C CXX CXXPCH CPCH)
This is on Red Hat 6, with CMake 3.5.2, and GCC 4.9.3.
Thanks,
Scott

I think I'm getting the same thing with the example CMakeLists.txt from the readme. macOS 10.13, cmake version 3.12.2, ninja 1.8.2.
For me what happens is the first time I run ninja it fails, but it seems to build the pch at the end. Running ninja again works.
The makefile generator works for me; it builds the prefix.h target first and succeeds on the first try.
Erics-MacBook-Pro:build ericwa$ cmake .. -GNinja
-- The CXX compiler identification is AppleClang <IP_ADDRESS>20039
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
n-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ericwa/pchtest/build
Erics-MacBook-Pro:build ericwa$ ninja -v
[1/6] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -Dengine_EXPORTS  -fPIC   -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/engine.dir/src/engine.cpp.o -MF CMakeFiles/engine.dir/src/engine.cpp.o.d -o CMakeFiles/engine.dir/src/engine.cpp.o -c ../src/engine.cpp
FAILED: CMakeFiles/engine.dir/src/engine.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -Dengine_EXPORTS  -fPIC   -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/engine.dir/src/engine.cpp.o -MF CMakeFiles/engine.dir/src/engine.cpp.o.d -o CMakeFiles/engine.dir/src/engine.cpp.o -c ../src/engine.cpp
<built-in>:1:10: fatal error: '/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h' file not found
#include "/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/6] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -Dengine_EXPORTS  -fPIC   -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/engine.dir/src/library.cpp.o -MF CMakeFiles/engine.dir/src/library.cpp.o.d -o CMakeFiles/engine.dir/src/library.cpp.o -c ../src/library.cpp
FAILED: CMakeFiles/engine.dir/src/library.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -Dengine_EXPORTS  -fPIC   -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/engine.dir/src/library.cpp.o -MF CMakeFiles/engine.dir/src/library.cpp.o.d -o CMakeFiles/engine.dir/src/library.cpp.o -c ../src/library.cpp
<built-in>:1:10: fatal error: '/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h' file not found
#include "/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/6] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++    -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/demo.dir/src/demo.cpp.o -MF CMakeFiles/demo.dir/src/demo.cpp.o.d -o CMakeFiles/demo.dir/src/demo.cpp.o -c ../src/demo.cpp
FAILED: CMakeFiles/demo.dir/src/demo.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++    -include /Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h -MD -MT CMakeFiles/demo.dir/src/demo.cpp.o -MF CMakeFiles/demo.dir/src/demo.cpp.o.d -o CMakeFiles/demo.dir/src/demo.cpp.o -c ../src/demo.cpp
<built-in>:1:10: fatal error: '/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h' file not found
#include "/Users/ericwa/pchtest/build/CMakeFiles/engine.pch.dir/src/prefix.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/6] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++    -fPIC -x c++-header -o CMakeFiles/engine.pch.dir/src/prefix.h.pch -c ../src/prefix.h
ninja: build stopped: subcommand failed.

Hm, I tried cmake . -GNinja && ninja in the srcdir (same directory as the CMakeLists.txt) and get the same behaviour - the PCH target isn't built first as it should be, and the first ninja invocation fails.

I also stumbled across this issue. Problem is that the -include option that is added does not take into account the transformation applied by CMake to .. elements in the path name. Applying following patch fixes this particular problem for me with GNU compilers, not sure where else this issue is lurking though, hence not submitting it as a pull-request.
diff --git a/CMakePCHCompiler.cmake b/CMakePCHCompiler.cmake
index 525a836e..b04181db 100644
--- a/CMakePCHCompiler.cmake
+++ b/CMakePCHCompiler.cmake
@@ -118,6 +118,7 @@ function(target_precompiled_header) # target [...] header
 				)
 			target_sources(${target} PRIVATE $<TARGET_OBJECTS:${pch_target}>)
 		else()
+			string(REPLACE ".." "__" header "${header}")
 			set(exclude -include ${target_dir}/${header})
 		endif()
 		target_compile_options(${target} PRIVATE ${exclude})

@themiwi Okay, so long story short - if I understand correctly - currently we cannot use PCH header path containing ...
Does CMake indeed translates .. to __? If yes I guess we ought do the same then, and PR would be much welcomed :)

Isn't that what my patch is doing? 🤔

@themiwi I am asking about your statement:

Problem is that the -include option that is added does not take into account the transformation applied by CMake to .. elements in the path name.

I was asking if it is really CMake behavior? But I found the evidence myself there in CMake's cmLocalGenerator::CreateSafeUniqueObjectFileName.
And btw. it was NOT that trivial as you have suggested, as CMake does far more than string(REPLACE ".." "__" header "${header}") depending on the case.

Thanks, that's as I suspected originally. With CMake there's usually more to it 😉


[BUG] iframe handle is not working

System info

Playwright Version: [v1.43.0]
Operating System: [macOS 14.5]
Browser: [Chromium]
Other info:

Source code
import time

from undetected_playwright.sync_api import BrowserContext, sync_playwright

def iframe_test():
    with sync_playwright() as p:
        browser = p.chromium.launch(headless=False)
        page = browser.new_page()
        page.goto("https://www.dezlearn.com/nested-iframes-example/")
        # Click the first button
        parent_iframe = page.frame_locator("iframe#parent_iframe")
        parent_iframe.locator("#u_5_5").click(timeout=5000)
        # Click the second button in the nested iframe
        child_frame = parent_iframe.frame_locator("iframe#iframe1")
        child_frame.locator("#u_5_6").click()
        # Sleep to observe effects, generally not recommended for production code
        time.sleep(100)
        browser.close()

import time

from playwright.sync_api import BrowserContext, sync_playwright

def iframe_test():
    with sync_playwright() as p:
        browser = p.chromium.launch(headless=False)
        page = browser.new_page()
        page.goto("https://www.dezlearn.com/nested-iframes-example/")
        # Click the first button
        parent_iframe = page.frame_locator("iframe#parent_iframe")
        parent_iframe.locator("#u_5_5").click(timeout=5000)
        # Click the second button in the nested iframe
        child_frame = parent_iframe.frame_locator("iframe#iframe1")
        child_frame.locator("#u_5_6").click()
        # Sleep to observe effects, generally not recommended for production code
        time.sleep(100)
        browser.close()

Steps

run the method - iframe_test using the undetected_playwright package
then try to run the same method using the original playwright package

Expected

After the website is loaded, it should be able to click the two buttons specified

Actual

However, nothing happens if I'm using the undetected_playwright package, the code didn't even recognize the iframe; on the other hand, the method with original playwright runs with no problem

doubling up on this issue, looks like you can't do anything with the iframe, calling frame.content() get you a
undetected_playwright._impl._errors.Error: Unable to retrieve content because the page is navigating and changing the content.
using undetected-playwright-patch==1.40.0.post1700587210000
vs latest playwright==1.44.0

it does also happen with firefox

seem problem.undetected-playwright-patch==1.40.0.post1700587210000

Solved with Update to Patchright.


Crash Report: com/intellij/execution/process/KillableProcessHandler

Description
I use MAC. I installed miktex as described in the github page, I could not set the pdflatex executable which is said to be required in mac. Then I installed MacTex and set the executable for that, however, project still won't compile.
Stacktrace
13:48	NoClassDefFoundError: com/intellij/execution/process/KillableProcessHandler

Which version of your IDE you are running? I suspect your issue might be related to running an outdated (or EAP version) of the IDE with incompatible API changes.

Hello,
I am currently running 2016.2 version. I will update it and retry, thank you.


Console Readme

Hello,
I am really impressed with your job! I really enjoy using it!
I found small mistake in Readme file for console, first argument in example is string but should be " a valid C symbol name"
this part:
    CONSOLE_STR_ARG_DEF("port", "The port <A,B,C>"),

should be:
    CONSOLE_STR_ARG_DEF(port, "The port <A,B,C>"),

etc.

Thanks for letting us know! I've pushed a fix for this with 0a93525a8642d9a6bda3acc07b2b19c289f4b735


capa-changes

remove CAPA from AWS provider - this was done based on the release version but it doesn't make sense anymore as CAPA does not have any release
add new CAPA provider for creating capa clusters
remove the fetching of ssh SSO public key from CP

Do we have tests for this? I don't see changes to tests so I don't we do. We should add if we don't.

i didn't know we have any test for kubectl-gs at all

is that suppose to be in runner_test.go ?


Deploy link to Solid Linked Beers app

https://github.com/solid/solid.github.io/pull/213/files#diff-82552945e34fa472e90ebb8de48a818bR16 was added (see https://github.com/solid/solid-apps/issues/68) but it's not visible on https://solidproject.org/use-solid/apps yet.
Let's leave this issue open until the app is findable again on the public live site.

will go live with next week's planned deploy.


Suggestion: show only the QR code on Login page

make only the QR code visible on the login page

Good addition, I'll look into it.
Notifications are higher prio on the todo list

True


Make index by empty list return zero-length results

For #484.
Note that now that this PR has demonstrated feasibility, I need to put up a SOMA-spec PR as well: this is https://github.com/single-cell-data/SOMA/pull/53.
Context and prior art:

In TileDB-Py, indexing by [] returns all elements, not none. In a recent discussion with @ihnorton along with @bkmartinjr and others, we determined that that was a historical accident, not a precedent to be followed.
For the return-nothing case TileDB-Py uses tiledb.EmptyRange. This is just a sentinel object within the package; what it is used for within the TileDB-Py query logic is much as is done on this PR. Namely, if that sentinel is set, then a core query is not done, and (typed) empty buffers are returned to the caller.
This PR mimics TileDB-Py's logic that it uses for indexing by tiledb.EmptyRange, and connects that syntactically to indexing by [] within TileDB-SOMA-Py.

Codecov Report
Base: 64.00% // Head: 74.70% // Increases project coverage by +10.70% :tada:

Coverage data is based on head (b5aae7c) compared to base (b7190c4).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #593       +/-   ##
===========================================
+ Coverage   64.00%   74.70%   +10.70%
===========================================
  Files          61       26       -35
  Lines        3214     1862     -1352
===========================================
- Hits         2057     1391      -666
+ Misses       1157      471      -686

Flag
Coverage Δ

python
74.70% <100.00%> (-0.03%)
:arrow_down:

r
?

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

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/dataframe.py
99.34% <100.00%> (-0.01%)
:arrow_down:

src/include/tiledbsoma/common.h

inst/tiledb/include/tiledb/query.h

inst/tiledb/include/tiledb/dimension.h

R/utils-tiledb.R

inst/tiledb/include/tiledb/deleter.h

R/utils-arrow.R

src/include/tiledbsoma/managed_query.h

inst/tiledb/include/tiledb/array_schema.h

inst/tiledb/include/tiledb/config.h

... and 26 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Abandoned in favor of #618. I'll submit a separate PR for the one little Python bit which will remain.


Passing arguments to workflow inside a cronworkflow

Summary
How can I pass arguments/parameters to a workflow running in a cronworkflow?
Motivation
I'm working on a scenario where, a workflow which requires input parameters from env file, needs to be scheduled also.

My usual approach is to have the workflow load the input parameters from a file in my artifact repository, which I update when necessary.

@simster7 FYI
@samath117 do you have an example we could add to docs?

Nah, it's really just the same as the standard input artifact importing examples, like this one. You have to write a processing step to unpack those variables, and decide what process you want to write to that file (another CronWorkflow, manually-submitted Workflows, uploading directly, etc).

@samath117
Thanks for input. I'm using azure blob storage, however, it seems azure blob storage artifact is not supported yet. Any workarounds?

I'm not aware of any if S3 artifacts don't work for you. Others probably are better suited to answer that question, though.

FYI: Opened #3173 to add Azure Blob Storage

@simster7 @samath117
I used kubernetes secrets to achieve what i was looking for. (https://kubernetes.io/docs/concepts/configuration/secret/)
I created a secret from env file and referred this newly created secret from cronworkflow.
It will be helpful if this can be added in the argo documentation

@alexec is there a design reason behind this not being supported in the CronWorkflow spec? Being able to pass parameters to a WorkflowTemplateRef sounds like a very reasonable way to use a template

@omarzouk It is possible to pass in parameters to a WorkflowTemplateRef. See this example: https://github.com/argoproj/argo/blob/master/examples/workflow-template/workflow-template-ref-with-entrypoint-arg-passing.yaml

Yes, but you can't set those parameters from the CLI in argo cron create. This seems like a reasonable suggestion to me, similar to #3194.

Ah I see. Yes, that is a reasonable request. Is this what you meant @omarzouk?

@simster7 I was actually referring to something like this: https://github.com/argoproj/argo/issues/2556#issuecomment-607452619
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: hello-world
spec:
  schedule: "* * * * *"
  workflowSpec:
    workflowTemplateRef:
      name: workflow-template-name
    arguments:
      parameters:
        - name: message
          value: "Hello, world"

but I guess this is coming out in 2.9 right?
however being able to pass them in the command line would be a good thing too!


80 character rule nit fixes

Follow up PR to this one: https://github.com/dcos/dcos-ui/pull/1097

This just fixes some 80 character rules

Thanks @mlunoe! 👍  Shall we enable warnings for that rule?

LGTM! 🚢

@orlandohohmeier and I have been working on a solution for that. There was some trouble about how we would tackle our exceptions, or how, if we make it a hard rule, we would handle breaking up our long canvas class names (and other situations)


Improve pythran dist

The current implementation run multiple times the transpilation (for example sdist then for build and for install)
This one do that in simpliest way

Okay the Travis failures don't seem related to my PR

Thans @diorcety for the PR!

Thanks @diorcety for the PR!


Improve docs somewhat.

cc @davidfowl @jkotalik
Partially addresses #367

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: brendandburns sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Apparently this is much simpler. Getting clarification for an update

Apparently this is much simpler. Getting clarification for an update

Oops. I was testing this out while you commented and didn't see that. We can simplify this anyway now that it's merged.

I'm going to add doing the tutorial(s) with linux to our release checklist since no one on the team devs with linux.


Systems and LazySets

This issue is a continuacion of #7. The next step is to allow different a value for the system type assumed for each mode, eg. linear affine through ST = ConstrainedLinearControlContinuousSystem.
If we rely eg. on SymEngine the flow equations can be transformed from the Julia expressions into the matrix A, B for x' = Ax + Bu.
Special care is taken for constants, like the -1 in x' = v - 1. Here, we can add an extra row of B with the coefficient number, and a corresponding new input in the vector of U',s with a constant value of 1. If LazySets is used, this can be a set with one element, that is, a Singleton
The invariants also could be transformed to LazySets objects, eg. u1 >= 0 to a half-space and so on.
It is not clear to me how to deal with the reset maps and switchings. Sometimes they take the form of assignments, or equations or inequalities. One approach that has been suggested is to use symbolic functions from SymEngine, and a custom type for equality.

It is not clear to me how to deal with the reset maps and switchings. Sometimes they take the form of assignments, or equations or inequalities.

I would expect that SpaceEx has a required format. The manual mentions the form var' == new_expr. For convenience you could still support var := new_expr.
I have not seen inequalities here, but the meaning would probably be a nondeterministic assignment.
Altogether, I would go for a mapping from a variable to a set. The set is either a Hyperplane (equalities) or a HalfSpace (inequalities) (I hope that is correct).

I would expect that SpaceEx has a required format. The manual mentions the form var' == new_expr. For convenience you could still support var := new_expr.

yes. that's been clarified in the last meeting with @nikos-kekatos . basically, in assignments var' == ... really defines the discrete system law, like var' = var(after the switch) = f(var before the switch, ...)

Altogether, I would go for a mapping from a variable to a set. The set is either a Hyperplane (equalities) or a HalfSpace (inequalities) (I hope that is correct).

agreed about that. worth mentioning that if one is only interested in concrete polyhedra (Polyhedra.jl), that's an option that could be added later (like concrete/symblic).

The set is either a Hyperplane (equalities) or a HalfSpace (inequalities) (I hope that is correct).

Actually in general the set will be defined with several subexpressions, in that case i think it is convenient to use an intersection array ( https://github.com/JuliaReach/LazySets.jl/issues/323 ).

The bouncing ball has a guard of the form ax < b, that is with a strict inequality:
  "guards"           => Array{Expr,1}[Expr[:(x = 0), :(v < 0)]]
``

I think that we should use `HalfSpace` because we are using floating point. Do you agree? Does SpaceEx treat in any special case the strict inequalities vs non-strict ones?

I think that we should use HalfSpace because we are using floating point. Do you agree? Does SpaceEx treat in any special case the strict inequalities vs non-strict ones?

Agreed. As most LP solvers, GLPK (used in SpaceEx) seems to only allow for non-strict inequalities. Hence I assume that SpaceEx has the same treatment, but I am not sure.

@schillic Nice catch with the strict/non-strict inequalities! So, the STC &LGG scenarios rely on non-strict inequalities. That means that any $<$, $>$ in a model would be transformed to $\leq$, $\geq$ respectively by SpaceEx. The PHAver differentiates between strict and non-strict inequalities as it employs PPL.

Some information about SX modeling language can be found at  this link

Note that for resets  x=1, x:=1 and x'==1 are accepted.  However, x==1 is not correct (as == is typically used for checks/comparison but not for assignements).

For flows, both x'==1 and x:=1 correspond to the first derivative of x wrt time.


CRUD for Category

Add the basic capability to create/read/update/destroy categories. Category attributes include:

Name
Description
Parent Category (association reference to itself)

Here are the current categories being used:

Asian Inspired Carriers

Chuneis
Hmongs
Meh Dais / Bei Dais
Onbuhimos
Other Asian Inspired Carriers
Podaegis

Buckle Carriers

Full Buckle Carriers
Half Bucket Carriers
Other Buckle Carriers
Reverse Half Buckle Carriers
Ring Waist Carriers

Carrier Accessories & Other
Other Baby Carriers
Pouch Carriers
Ring Slings

Gathered Ring Slings
Hot Dog Ring Slings
Hybrid Ring Slings
Other Ring Slings
Padded Ring Slings
Pleated Ring Slings

Water Baby Carriers
Wrap Carriers

Hybrid Wrap Carriers
Stretchy Wrap Carriers

Stretch Loop Carriers

Woven Wrap Carriers

Chitenges
Khangas
Lesos
Mantas
Rebozos


Fix No Files error when file is passed via --files

Description of the Change
Check if there are no files to load after we've added files from --files. This fixes #3941.
Alternate Designs
None
Why should this be in core?
Fixes bug involving --file.
Benefits
Fixes #3941.
Possible Drawbacks
None that I can think of.
Applicable issues
#3941
This would be a bug fix (patch release).

Coverage increased (+0.07%) to 92.422% when pulling f83a3d21fe2721c7c3e142d6a93caa8d0511fed5 on gabegorelick:issue/3941 into f3ed729b6908f3893e6f87722c6e996cca5f7733 on mochajs:master.

Anything I can do to help this get merged?

@gabegorelick yes, could you resolve the conflicts, please.
You find the corresponding code in the newly created module "cli\collect-files.js".
I will review your PR afterwards, thank you for your patience.

@juergba Done.

@craigtaub could you review this PR please, since you are the author of the error/warning behavior.
There must have been a reason why the --file files are added after the error handling ... ?


[infra-proxy-service] Add validation for servers & orgs

:nut_and_bolt: Description: What code changed, and why?

Comming soon
:chains: Related Resources
Fixes https://github.com/chef/automate/issues/3296
:+1: Definition of Done

pre validate request with required validation rules.

:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[x] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable
Signed-off-by: Vivek Singh<EMAIL_ADDRESS>

Thanks for pointing out about FieldViolation and bad request error. I have seen some of the directions in one valuation PR surely will into it.
As this PR not yet finalize and just working on various aspects of providing rules for validations hope will come with the final solution soon.

I've been working on adding a shared validation lib: https://github.com/chef/automate/pull/3502
Would be interested in seeing this code in the library, especially if we can come up with a more general solution that works across all our services. Maybe we could meet sometime next week to discuss?

Added google rpc error_details proto, not it's working fine, with the details error message, still need some of the decision to make!
New error format:
curl -sSkH "api-token: $(get_admin_token)" https://a2-dev.test/api/v0/infra/serverspretty -X POST -d '{}'
{
  "error": "invalid argument",
  "code": 3,
  "message": "invalid argument",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "field": "name",
          "description": "a server name is required and must contain at least one non-whitespace character"
        },
        {
          "field": "description",
          "description": "a server description is required and must contain at least one non-whitespace character"
        },
        {
          "field": "fqdn",
          "description": "a server fqdn is required and must contain at least one non-whitespace character"
        },
        {
          "field": "ip_address",
          "description": "a server ip_address is required and must contain at least one non-whitespace character"
        }
      ]
    }
  ]
}

@vsingh-msys should this be closed?

Not now, still pending from my side, will takeup soon thanks!


Can't render day and month labels

Hello again,
https://svelte-heatmap.netlify.app/ provided the explicit example I was looking for—thanks!
I created this REPL accordingly.
However, now I've encountered another problem: I can't seem to get the day or month labels to render, no matter what values I provide to monthLabelHeight and dayLabelWidth.
This is also illustrated at https://svelte-heatmap.netlify.app/, where you can only ever so slightly see the bottom of the month labels.
Could this be an issue with how the viewBox is calculated?

I was also having an issue with dayLabelWidth. I solved it by passing a number to the prop instead of a string.
Example:
dayLabelWidth={10}

Doesn't work if you put a string like this: (DON'T DO)
dayLabelWidth='10'

Changing the prop type to a number solved it for me. Hope this helps


Add support for polars

I think there's a really good synergy between display data tables and polars. Polars gives access to cloud data and to group by aggregations to only mention a few benefits.
Polars would be a good source especially for virtualized tables as they have lazy evaluation too.

How exactly would you want to use it though? It still would have to be downloaded from somewhere, right?
At the moment the rows get downloaded and cached internally simply as a vec of struct instances.

I'm thinking something like:
fn main() {
    mount_to_body(|| {
        let df = DataFrame::new(vec![
            Series::new("a",[1.0,2.0,3.0]),
            Series::new("b",[2.1,3.1,4.1]),
            Series::new("c",[0.0,1.2,2.2])
        ])
        .unwrap()

        view! {
            <table>
                <TableContent df />
            </table>
        }
    });
}

After looking at the paginated_rest_datasource, I think I can use the TableDataProvider to use a DataFrame. That said, I think polars would be a good synergy for if/when grouping is a feature that you'd support.
As a tangent, is there any way to have dynamically defined (not just types but the existence of) columns or can it only ever work with what's hard codes in a struct?

I haven't tried to use it dynamically yet as this is not (yet?) the premise of this crate. But it could be possible if you implement TableDataProvideras well as TableRow manually without using the macro.
If get sth to work feel free to make a PR for a new example. Would be cool and could server as a basis for future development.
Grouping is certainly on the roadmap but probably not very soon.


Sort Lines according to Template

Hello i have multiple files with the same lines but different values. I did a template where i wrote all the lines in with empty values, how can i transfer the arrangement of my template to the other files? Thanks for help

I dont understand what you mean by templates here.. Are you talking about snippets? See https://code.visualstudio.com/docs/editor/userdefinedsnippets

No no..  im sorry for not having it explained enough. I give an example: i have multiple files for multiple objects but they all have the same stats, lets say in one file there is on line 26 "weight = 0.6" but in another file for another object there is the same parameter but its on line 160 and says "weight = 1.2". How could i preserve the values but make a uniform position for all the lines? For example like in a template where the "weight = xyz" line is on position 16. How could i sort the other ones to be also on line 16?

So you want to sort lines in a file based on file contents that is defined in another file?

Yes exactly. I saw that there is an alphabetical sorting algorithm but when it can do that then there has to be an option to create an algorithm that searches for lines that have the same words

That would need a great deal of customization to support out of the box in VS Code.
Instead, you can create an extension for that.

Follow https://code.visualstudio.com/docs/extensions/yocode to get a sample extension generated.
You can register a command to sort the way you want and add your algorithm there.