CMakeLists.txt for Generating Static Library

the CMakeLists.txt is configured wrong. The File Structure should be LibAstro/ which contain all the subdirs and files including the cmakelist, inside LibAstro/ Theres LibAstro/src which contain the source code for the library and a sandbox project for testing.
LibAstro/src/sandbox/test.cpp' will include the library and LibAstro/src/libastro/` is the library src. The Issue is that CMakeList.txt need to generate the library and link it to sandbox and compile sandbox

@AliAlboainin96 #2 done

@AliAlboainin96 #3 found the missing file.

@realaltffour  it was in the bushes hiding right?

yees, found it and emptied the glock.

@realaltffour  thats how we work


MechaDronesTweaks not working?

Hi, I noticed that the mod stopped working today. Do you think it's because they rolled out a new version? <IP_ADDRESS>63 is the latest one. The other option is that I've somehow disabled it by accident and I can't figure out how to enable it again, if it can be enabled/disabled ingame at all. Thanks for your contribution of course, the slow game is not enjoyable to me whatsoever.
Kind Regards,
Reizorar

definitely not working currently

game compatibility issues should be fixed in 1.1.3/1.1.4


Kafka stream to multiple destination tables (Regression)

Describe the bug
tableB (second table from KafkaEngine does not get filled with data)
How to reproduce
We created chain as:
kafkaEngine -> mv stream A -> tableAraw-MergeTree
                           -> mv stream B -> tableB_sum1h-SummingMergeTree

as per
https://github.com/yandex/ClickHouse/issues/2174
https://github.com/yandex/ClickHouse/issues/4587
This used to work in <IP_ADDRESS> (the last kafka version we use), but we have problem that table B remains empty using <IP_ADDRESS>0-testing. Table A gets filled with data.
Expected behavior
TableB should have data

Maybe related https://github.com/yandex/ClickHouse/pull/6415

Does server have any errors in logs related to columns' casting?

Nope, unfortunatelly nothing regarding casting.... No useful error either.
Just thinking... We have 60 tables, and "BackgroundProcessingPool with 16 threads".  Could this be somehow related?
Here are real table / view for our kafka-mv-table
biddetaileventdata_queueraw -> mv biddetaileventdata_MV_queueraw_raw -> biddetaileventdata_raw-MergeTree
                                                                           -> mv biddetaileventdata_MV_MV_queueraw_raw_sum1h -> biddetaileventdata_sum1h-SummingMergeTree

Used version:
2019.08.11 20:45:49.554090 [ 1 ] {}  : Starting ClickHouse <IP_ADDRESS>5 with revision 54425
2019.08.11 20:45:49.555859 [ 1 ] {}  Application: starting up

Follows data from METADATA folder (some columns were removed in the middle to shorten):

ATTACH TABLE biddetaileventdata_queueraw
(
    tenantid Int64,
    eventtime Int64,
    ....
	....
    auctionid String
)
ENGINE = Kafka SETTINGS kafka_broker_list = '', kafka_topic_list = 'biddetaileventdata', kafka_group_name = '', kafka_format = 'CSV', kafka_num_consumers = 1,kafka_row_delimiter = '\n',kafka_skip_broken_messages = 1;

ATTACH TABLE biddetaileventdata_raw
(
    `tenantid` Int64,
    `eventDate` Date,
    `eventTimestamp` DateTime,
    `publisherid` String,
	...
	...
	...
    auctionid String
)
ENGINE = MergeTree()
PARTITION BY toDate(eventDate)
ORDER BY (publisherid, sitename, dspname, eventDate, cityHash64(auctionid))
SAMPLE BY cityHash64(auctionid)
TTL eventDate + toIntervalDay(2)
SETTINGS index_granularity = 8192, merge_with_ttl_timeout = 86400

ATTACH TABLE biddetaileventdata_sum1h
(
    tenantid Int64,
    eventDate Date,
    eventTimestamp DateTime,
    publisherid String,
    .....
	.....
    eventtype Int64
)
ENGINE = SummingMergeTree()
PARTITION BY (tenantid, toYYYYMMDD(eventDate))
ORDER BY (publisherid, creativeid, sitename, adsize, currency, dspname, reason, geocountry3, eventtype, tenantid, devicerequesttype, screensize, tagtype, eventDate, eventTimestamp)
SETTINGS index_granularity = 8192

ATTACH MATERIALIZED VIEW biddetaileventdata_MV_queueraw_raw TO test5pba.biddetaileventdata_raw
(
    tenantid Int64,
    eventDate Date,
    eventTimestamp DateTime('UTC'),
    publisherid String,
    sitename String,
    ....
    eventtype Int64,
    auctionid String
) AS
SELECT
    tenantid,.
    toDate(toDateTime(eventtime)) AS eventDate,.
    toStartOfMinute(toDateTime(eventtime)) AS eventTimestamp,.
    publisherid,.
    sitename,.
	...
    auctionid
FROM test5pba.biddetaileventdata_queueraw.

ATTACH MATERIALIZED VIEW biddetaileventdata_MV_MV_queueraw_raw_sum1h TO test5pba.biddetaileventdata_sum1h
(
    tenantid Int64,
    eventDate Date,
    eventTimestamp DateTime('UTC'),
    publisherid String,
    bidprice Int64,
    ...
    eventtype Int64
) AS
SELECT
    tenantid,
    toDate(eventDate) AS eventDate,
    toStartOfHour(toDateTime(eventTimestamp)) AS eventTimestamp,
    geocountry3,
    SUM(bidprice) AS bidprice,
    ....
    screensize,
    eventtype
FROM test5pba.biddetaileventdata_MV_queueraw_raw
GROUP BY
    tenantid,
    eventDate,
    eventTimestamp,
    publisherid,
    sitename,
    ...
    screensize,
    eventtype

Just thinking of how to narrow this... We have created some kind of pseudo POC for unit test https://github.com/yandex/ClickHouse/blob/master/dbms/tests/integration/test_storage_kafka/test.py (sorry, we work in java, doing our best here in text editor, not python ide) and haven't found any unit test with multiple MVs from kafka.
@pytest.mark.timeout(60)
def test_kafka_csv_with_delimiterAndCascadingMVs(kafka_cluster):
    instance.query('''
        CREATE TABLE test.kafka (key UInt64, value UInt64)
            ENGINE = Kafka
            SETTINGS kafka_broker_list = 'kafka1:19092',
                     kafka_topic_list = 'csv',
                     kafka_group_name = 'csv',
                     kafka_format = 'CSV',
                     kafka_row_delimiter = '\\n';
		CREATE TABLE test.view (key UInt64, value UInt64)
            ENGINE = MergeTree()
            ORDER BY key;
		CREATE TABLE test.viewSum (key UInt64, value UInt64)
            ENGINE = SummingMergeTree()
			PARTITION BY key
            ORDER BY key;
        CREATE MATERIALIZED VIEW test.consumer TO test.view AS
            SELECT * FROM test.kafka;
        CREATE MATERIALIZED VIEW test.consumerSum TO test.viewSum AS
            SELECT * FROM test.consumer;

        ''')

    messages = []
    for i in range(50):
        messages.append('{i}, {i}'.format(i=i))
    kafka_produce('csv', messages)

    result = ''
    while True:
        result += instance.query('SELECT * FROM test.view', ignore_error=True)
        if kafka_check_result(result):
            break

    kafka_check_result(result, True)

    while True:
        result += instance.query('SELECT * FROM test.viewSum', ignore_error=True)
        if kafka_check_result(result):
            break

    kafka_check_result(result, True)

    instance.query('''
        DROP TABLE test.consumer;
        DROP TABLE test.view;
		DROP TABLE test.consumerSum;
        DROP TABLE test.viewSum;
    ''')

	;

Actually the title is misleading - you have a chain of MVs, which didn't ever worked until recently. But really no one tested it yet, AFAIK. The multiple MVs from a single Kafka table do work.

Sorry for misunderstanding... Yes - we used chain of MVs... That was the only was it used to work then in old versions. And that's the reason I linked to #2174 and #4587 in my initial question (without specificaly reason for links).
Now I have seen your PR for test, and we will update to use straight KAFKA->MV-> DESTINATIONTABLE even for second DESTINATIONTABLE.


didn't work on Apple Silicon

兄弟解决了吗

解决不了，装了amd64版本的go

me too

https://gist.github.com/darfink/a756b88e999631d75cbbeefd3eee7e2d
not work after 11.4


Services are created with instantiation service

With https://github.com/Microsoft/vscode/commit/951ed93604de9d29bb4ca76c84cbbbb258c6c4de I see that services like the side bar part are created using the instantiation service. I think that is very risky because the instantiation service does not include all services at the point where you use it.
I explicitly decided to not use the instantiation service to create other services but explicitly call out to the services I depend on so that we do not end up in weird NPEs because some services are not ready.
I preferred the previous explicit way of services declaring their dependencies in the constructor. What is the benefit from moving away from that?

The instantiation service has no more way to just ask for a service (used to be getService). This change was made because people started to use the instantiation service as service accessor, not as an instantiation service.
It's arguable if the workbench was also an offender or not. I understand the concern and how about an extra flag to the createInstance-call that will throw an error if dependencies aren't met - the instantiation service knows that.
Another idea is to bring shell and workbench closer together. It seems they both created services which are inter-dependent. And I wonder why that is? Ideally service creation happens in one place and the service collection doesn't travel.

I think throwing an exception when you use the instantiation service on a thing that declares a service as dependency that does not exist yet is what I would expect and would solve this issue for me because what I want is an indication that my service dependencies are not met. I would not want to find this out later via a NPE because I am using a service too early.
I see the issue with creating services in 3 different places (before shell, inside shell, inside workbench). Though if you take the editor, it also creates services only later after the workbench is already there. If I had a service that needed the IModeService or IModelService from the workbench, I could not get to it until the editor widget is created.
If we want to move services closer together I think they would have to be created all inside workbench.ts because that is where some of the services are created that need the parts to be there (viewlets, editors, status bar).

Though if you take the editor, it also creates services only later after the workbench is already there. If I had a service that needed the IModeService or IModelService from the workbench, I could not get to it until the editor widget is created.

That is not true. All services are registered either in the shell or workbench.

Closing this since 67cc42c is a change the will throw errors when services are missing and the new @optional decorator isn't used.

Cool 👍


Use conf file update for f1

Added options to start gNB as CU and DU nodes. Also added option to run gNB and UE in phy-test mode.

Hi Sakthi, why you made two separate .conf files for the CU and DU? Can we have a single base.conf and then we add the relevand option trough CLI parameters?

Hi Sakthi, why you made two separate .conf files for the CU and DU? Can we have a single base.conf and then we add the relevand option trough CLI parameters?

I tried but it didn't work as expected. The way the config file is read is weird and not clear and I'm not sure if I could fix it. Looks like reading paramList from CLI is not working. It works only when its in config file.

Yeah, I also saw some some weird behavior, but to have better consistency I'd avoid to have more than one base.conf file, (I'll delete the others). I'd suggest to do similarly as I did in def subst_bindip, maybe by generalizing that function. Otherwise you could create a temporary conf file in /tmp/ or /run/ that gets populated from the base.conf + the modifications you need.  Or if you have any other idea that would preserve a single base.conf file let's discuss about it.

Yeah, I also saw some some weird behavior, but to have better consistency I'd avoid to have more than one base.conf file, (I'll delete the others). I'd suggest to do similarly as I did in def subst_bindip, maybe by generalizing that function. Otherwise you could create a temporary conf file in /tmp/ or /run/ that gets populated from the base.conf + the modifications you need. Or if you have any other idea that would preserve a single base.conf file let's discuss about it.

I tried that also but its not that simple for F1 case as we need to have/not have entire paramList. At least it requires more careful inclusion and deletion from base.conf which I'm not comfortable doing. So I gave up that attempt.
Meanwhile we figure this out, I suggest two options

We can have the current changes in a separate branch as it is now and switch whenever we want to run F1.
We can use the config files already in OAI directory instead of base.conf

I think we could simply have the whole paramList in the base.conf file with all the parameters commented out. Then you uncomment and adapt the relevant lines. That's what i'm already doing with some other parameters.


Search Proposal Specs

Semantic search is getting messy! Here's a doc with a draft proposal / specification of how things should work. Please wait until we discuss and agree during office hours before trying to implement. Thanks!
I hope this is enough for discussion purposes. LMK if picture is still needed, I can try to put together a diagram.

@markovial reported using just a term it doesn't show the answers that contain that term

E.g. Searching just 'prosaic' does not show - 'What does prosaic alignment mean?' , until I include 'what', i.e. I have to search 'what prosaic' to get the answer to show up as a result. Similiar results for other terms - e.g. 'corrigible' does not return 'what is corrigibility', until I search 'what corrigible'.
Depending on how you assume people use the search bar this might be a problem. I would ususally just type in only the core term, not see a result and assume that the site does not have an answer to that question yet. Its only because I know for a fact that the answers above were for sure approved that I even bothered trying different semantics. You could lose some readers this way.

The NLP endpoint doesn't seem to have this issue. If/when the above specs are implemented, we might consider calling the NLP endpoint sooner or making it clear that pressing ENTER can "retrieve more accurate results."

We just had a call in which we had some 'hacky' solutions - if someone searches just one word append a 'what' to it on the back end before searching it.
Another possibility is to use regular keyword search as long as you have just one (or two) terms, and then semantic search for anything longer than that.

Semantic search isn't particularly meaningful for incomplete searches with 1 or maybe 2 terms, so both 'hacky' solutions are possible alternatives.


darwin: remove -arch from cc/ld wrapper

-arch in the cc/ld wrapper causes problems when specifying different --target options, which would succeed except for the conflicting -arch specifier.
Reverts fc0456bed1372ccff51fc6fd578e5d2a09d64534 and b26e0bac8dab068e54b0c8ee1bf8fd5fe5683b39

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

cc @emilazy

@thefloweringash do you remember why you added these originally?

@thefloweringash do you remember why you added these originally?

It was long enough ago that some details have been lost. There's a little background in https://github.com/NixOS/nixpkgs/pull/114817/. At the time I was focused on bringing up aarch64-darwin by cross compiling stdenv from x86_64-darwin. For the CC wrapper I don't see why this couldn't have been covered by -target, but perhaps that was somehow inconvenient? For the bintools wrapper, it seems important that invocations of ld use the correct architecture. When invoked through clang the Darwin toolchain driver will pass -arch, but I would want to be sure that a direct invocation in a cross compiling environment used the correct arch value.
There's precedent in the nixpkgs clang wrapper for making some flags conditional on the absence of the --target argument, see https://github.com/NixOS/nixpkgs/pull/291901. If the flag is still required for cross completion, perhaps it could be similarly conditional?

Thanks for the reply! We’ve tested that basic Darwin–Darwin cross still works on this branch, and looking at the ld64 source code it seems it infers the default architecture from the format of its input files rather than the platform it’s running on or anything like that. So I think that hopefully we should be good to land this, as any invocation that doesn’t result in a default being computed would presumably fail with the Xcode toolchain anyway.


Update fuzz target source file path and binary name

nss failed FI build, found the new pair by improving the script in #752:
#!/usr/bin/env bash

PREFIX="OFG_UNIQUE_PREFIX_"

FILES=$(find /src \
    -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.cxx' \) \
    -not -path '*/aflplusplus/*' \
    -not -path '*/fuzztest/*' \
    -not -path '*/honggfuzz/*' \
    -not -path '*/libfuzzer/*' \
    -exec grep -l 'LLVMFuzzerTestOneInput' {} \;)

count=1
for file in $FILES; do
    echo "Inserting into $file"
    # Avoid escaping slashes for string literals
    if ! grep -q "struct OFGBuildIdReference" "$file"; then
        cat <<EOF >>"$file"

#include <cstdio>

const char build_id_$count[] __attribute__((used)) = "$PREFIX$file";

struct OFGBuildIdReference {
    ~OFGBuildIdReference() {
        fprintf(stderr, "%s\\n", build_id_$count);
    }
};

static OFGBuildIdReference ref;

EOF
        count=$((count+1))
    else
        echo "OFGBuildIdReference already exists in $file, skipping."
    fi
done

echo "Unique build_id lines inserted in all matched files."

#!/usr/bin/env bash
PREFIX="OFG_UNIQUE_PREFIX_"

for bin in /out/*; do
    [ -f "$bin" -a -x "$bin" ] || continue
    binary_name=$(basename "$bin")

    # Extract lines containing PREFIX, remove prefix, then check each filepath
    while IFS= read -r filepath; do
        [ -z "$filepath" ] && continue
        if [ -f "$filepath" ]; then
            export TARGET_NAME="$binary_name" TARGET_PATH="$filepath"
            echo "Binary: $TARGET_NAME"
            echo "Source file: $TARGET_PATH"
            echo
        else
            echo "Binary: $binary_name"
            echo "Source file (not found): $filepath"
            echo
        fi
    done < <(strings "$bin" | grep "$PREFIX" | sed "s/^$PREFIX//")
done

/gcbrun skip

tinyusb is a particularly tricky case because it optimizes out unused code, so the previous method (declaring a string) does not work.
The new method above works.

wuffs is another corner case, where each fuzz target is built with another file /src/wuffs/fuzz/c/fuzzlib/fuzzlib.c that also contains LLVMFuzzerTestOneInput.
This is probably why FI thought fuzzlib.c is a fuzz target.
We need to capture and handle this case.

/gcbrun skip

All done!


Dont Merge : Build CI without running tests

Intent is to run 10 builds without unit or functional tests and then check success rate of the builds

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-3 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-6 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-8 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-9 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-10 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-11 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-12 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-13 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-14 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-15 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-16 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

@pranavgore09 fabric8/fabric8-ui:SNAPSHOT-PR-2442-17 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2442-fabric8-planner.badger.fabric8.io

Ike Plugins (test-keeper)
Thank you @pranavgore09 for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.

closing in favor of release from cico already in master


Question: How to collapse/expand all nodes

Hi,
Let's say my viewmodel don't have some kind of IsEpanded property, but I want to ask the DataTreeGrid to expand / collapse all nodes. How would I do that ?
I couldn't see any entry point but Expand(rowIndex) or Collapse(rowIndex).
Thanks for your help.

Avalonia don't offer direct support for this repo for non-commercial people... So I'm just a random guy making a comment
HierarchicalTreeDataGridSource.Expand?
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/blob/4d1e2f23fa916c912c3bc5272ea3260ec8628e05/src/Avalonia.Controls.TreeDataGrid/HierarchicalTreeDataGridSource.cs#L97
As for what a IndexPath is I don't know you'll have to figure that out....

Avalonia don't offer direct support for this repo for non-commercial people... So I'm just a random guy making a comment
HierarchicalTreeDataGridSource.Expand?
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/blob/4d1e2f23fa916c912c3bc5272ea3260ec8628e05/src/Avalonia.Controls.TreeDataGrid/HierarchicalTreeDataGridSource.cs#L97
As for what a IndexPath is I don't know you'll have to figure that out....

IndexPath is the index to identify the location of DataGridRow, normally used to identify selected row.


Console "dir" command file "modified" timestamp does not match file list

In the Kudu debug console, if you run the "dir" command at the CMD prompt, you'll see that the file "modified" date/time timestamp does not match what's displayed in the file list above the command prompt. The file list at the top of the page appears to use the local timezone, while the CMD prompt appears to list the UTC timestamp. I don't know if this is intended as a feature, but it's a bit confusing.

Issue still occurring. Kudu console displays both UTC and localtime timestamps for a .NET 5.0 app deployed via Github Actions. Does not seem to exist when using ZipDeploy or FTP. Is this expected behavior? If not, may we prioritize this issue? Thanks so much.
Skylar

This is somewhat the behavior since day one.  For the UI - we displayed local.  For the command prompt, it is just a shell and we stdin/out from cmd running on the VM (which happens to return UTC).  We neither have plan nor resource to address it at the moment.

Thanks @suwatch for clarifying. So it is expected that the shell return some modified files in UTC and some in local time? Other methods such as zip deploy are not this way.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


"BuildStream on your host" docs not accurate

See original issue on GitLab
In GitLab by [Gitlab user @knownexus] on Nov 21, 2017, 17:46
The requirement of OSTree >= v2017.8 with introspection data
cannot be met in Stretch as the latest version in stable is v2016.15

In GitLab by [Gitlab user @adds68] on Nov 30, 2017, 15:37
[Gitlab user @knownexus]
Did you have any luck mitigating this issue?
If so could you provide any work around steps?
Thanks

In GitLab by [Gitlab user @knownexus] on Nov 30, 2017, 17:47
currently have 2 working fixes that i'm looking into and will be adding to the docs once confirmed and neatened up

In GitLab by [Gitlab user @abderrahimk] on Dec 1, 2017, 11:10
mentioned in merge request !172

In GitLab by [Gitlab user @jjardon] on Dec 4, 2017, 16:11
closed via merge request !172

In GitLab by [Gitlab user @abderrahimk] on Dec 4, 2017, 16:11
closed via commit fc96ff00bd4d4afe275c215e372bc5c93133fc0e


Modern Mode: async/awaits are transpiled into generator functions

Version
3.8.2
Reproduction link
https://github.com/romansp/vue-modern-async-await-generator
Environment info
Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  Binaries:
    Node: 10.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.15.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.17763.1.0
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.8.0
    @vue/babel-preset-jsx:  1.0.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.0.0
    @vue/cli-overlay:  3.8.0
    @vue/cli-plugin-babel: ^3.8.0 => 3.8.0
    @vue/cli-plugin-eslint: ^3.8.0 => 3.8.0
    @vue/cli-service: ^3.8.0 => 3.8.0
    @vue/cli-shared-utils:  3.8.0
    @vue/component-compiler-utils:  2.6.0
    @vue/eslint-config-airbnb: ^4.0.0 => 4.0.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.2 (4.7.1)
    vue: ^2.6.10 => 2.6.10
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-hot-reload-api:  2.3.3
    vue-loader:  15.7.0
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

yarn build --modern
open dist/js/app.[hash].js file
try searching for async or await

What is expected?
await is preserved and usage is found
What is actually happening?
await is transpiled into function*() generator function

This was definitely working some time ago, and awaits were preserved in modern bundle. Can't really tell when this behavior has changed, but maybe after upgrading to babel 7? Can be reproduced using @vue/cli 4.0.0-alpha.1 as well.

It's due to an update in @babel/preset-env
This line in specific: https://github.com/babel/babel/pull/9566/files#diff-7a9217e2e0407684e1f56035fe94e7aeR224
Modern build is built for all browsers that support <script type=module>, so the target browser range is safari >= 10.1 according to this line https://github.com/babel/babel/blob/a596da28220b69df6265192d1ca788e6b9ca67aa/packages/babel-preset-env/data/built-in-modules.json#L6
And async-to-generator plugin is needed for safari <= 11 after the abovementioned commit, thus the result.

My custom babel.config.js:
const isDevelopment = process.env.NODE_ENV === 'development';
const isModern = process.argv.includes(`--modern`);

module.exports = {
  presets: [
    [
      "@vue/app", {
        exclude:
          isModern && isDevelopment
            ? [
              'transform-async-to-generator',
              'transform-regenerator',
              'proposal-async-generator-functions'
            ]
            : [],
      }
    ]
  ],
};


Machine mac99,via=cuda can't find keyboard

Describe the issue
When attempting to launch PPC containers with mac99,via=cuda (the default mac99 state if via=pmu or via=pmu-adb isn't specified), the keyboard is not properly passed through as an ADB keyboard.  If I use the same general configuration and the same disk image on vanilla qemu-system-ppc 6.1 with screamer support compiled in, I can get keyboard support with one of -usbdevice keyboard, -device usb-kbd or -dev usb-kbd.
I've tried this with my fully functional qemu-system-ppc-screamer boot images for Mac OS 9.0.4, Mac OS X 10.0.4, Mac OS X Server 10.0.4, Mac OS X 10.1.5 and Mac OS X Server 10.1.5 (the configurations that need to use CUDA because they don't support PMU).  In all cases, ADB keyboard mapping fails, and USB keyboard flags don't appear to be recognized.  This is also reflected in the verbose boot data in OS X 10.x (keyboard not found error) and in the fact that Mac OS 9.0.4 pauses during boot until the mouse is clicked, just like it does on my real headless 9.0.4 G4 if I don't have a keyboard connected.
Maybe something in the stricter USB chain you've set up, or with the mandatory SPICE flags has blocked the basic usbdevice shim from working correctly?
Configuration

UTM Version: 3.0.2 (and earlier)
OS Version: macOS 12.1
Apple Silicon

Debug log
debug.log

We've been having more of a discussion over at emaculation about what might be causing this, since the behaviour is not the same on the default qemu-system-ppc builds we provide there:
https://www.emaculation.com/forum/viewtopic.php?p=73106#p73106
So far, that thread has eliminated possible reasons for the behaviour, but hasn't identified the culprit (although it's likely something to do with the USB configuration, as 9.0, 10.0 and 10.1 are CUDA only, which doesn't technically support USB devices).

Does UTM have a way of triggering QEMU's monitor?  I could walk through the device tree and identify what virtual devices the real mouse and keyboard are binding to if I could get to the monitor.

Here's a more thorough debug log showing what's happening:
`/Applications/UTM.app/Contents/MacOS/UTM >debug.txt
2022-01-23 21:02:10.230 UTM[11407:3398832] -[CSConnection finishInit]:271
2022-01-23 21:02:10.230 UTM[11407:3398832] -[CSInput initWithSession:]:293
2022-01-23 21:02:10.230 UTM[11407:3398832] -[CSSession initWithSession:]:294
2022-01-23 21:02:10.232 UTM[11407:3398832] Running:  -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:<IP_ADDRESS>:4000,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users//Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/4D6EFE89-3FF4-4110-8E05-7FE7A930FE6D.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -device VGA -cpu g4 -smp cpus=1,sockets=1,cores=1,threads=1 -machine mac99,via=cuda,usb=off -accel tcg,tb-size=64 -boot menu=on -m 256 -audiodev coreaudio,id=audio0 -name "Mac OS 9.0.4" -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-hd,bus=ide.0,drive=drive0,bootindex=0 -drive "if=none,media=disk,id=drive0,file=/Users//Library/Containers/com.utmapp.UTM/Data/Documents/Mac OS 9.0.4.utm/Images/2GBHFSPlus.qcow2,cache=writethrough" -device ide-cd,bus=ide.1,drive=drive2,bootindex=1 -drive if=none,media=cdrom,id=drive2 -device sungem,mac=C6:F8:CC:03:A4:E2,netdev=net0 -netdev user,id=net0 -uuid 4D6EFE89-3FF4-4110-8E05-7FE7A930FE6D -rtc base=localtime -g 1280x720x32 -snapshot
2022-01-23 21:02:10.236 UTM[11407:3398926] Stream error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2022-01-23 21:02:10.236 UTM[11407:3398926] QMP stream error seen: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2022-01-23 21:02:10.236 UTM[11407:3398926] QMP connection failed, retries left: 29
2022-01-23 21:02:10.266 UTM[11407:3398950] RPC: Error Domain=com.utmapp.utm Code=-1 "No connection for RPC." UserInfo={NSLocalizedDescription=No connection for RPC.}
2022-01-23 21:02:10.266 UTM[11407:3398950] error finding index: Error Domain=com.utmapp.utm Code=-1 "No connection for RPC." UserInfo={NSLocalizedDescription=No connection for RPC.}
2022-01-23 21:02:11.339 UTM[11407:3398832] Connected to stream 0x600002e9a520
2022-01-23 21:02:11.339 UTM[11407:3398832] QMP connection successful! (readStream:1)
2022-01-23 21:02:11.339 UTM[11407:3398832] Connected to stream 0x600002e9a5b0
2022-01-23 21:02:11.339 UTM[11407:3398832] QMP connection successful! (readStream:0)
2022-01-23 21:02:11.339 UTM[11407:3398832] Debug JSON recieved <- {
QMP =     {
capabilities =         (
oob
);
version =         {
package = "";
qemu =             {
major = 6;
micro = 0;
minor = 2;
};
};
};
}
2022-01-23 21:02:11.340 UTM[11407:3398926] Got QMP handshake: {
QMP =     {
capabilities =         (
oob
);
version =         {
package = "";
qemu =             {
major = 6;
micro = 0;
minor = 2;
};
};
};
}
2022-01-23 21:02:11.340 UTM[11407:3398926] Debug JSON send -> {
execute = "qmp_capabilities";
}
2022-01-23 21:02:11.341 UTM[11407:3398832] Debug JSON recieved <- {
return =     {
};
}
2022-01-23 21:02:11.341 UTM[11407:3398926] qemuQmpDidConnect
2022-01-23 21:02:11.346 UTM[11407:3398926] cs_channel_new:164
(:11407): GSpice-WARNING **: 21:02:11.348: main-1:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
2022-01-23 21:02:11.349 UTM[11407:3398926] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 348664;
seconds =<PHONE_NUMBER>;
};
}
** Message: 21:02:11.374: main channel: opened
2022-01-23 21:02:11.374 UTM[11407:3398936] Debug JSON send -> {
execute = cont;
}
2022-01-23 21:02:11.375 UTM[11407:3398926] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 0;
"channel-type" = 1;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 374703;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.375 UTM[11407:3398926] Debug JSON recieved <- {
event = RESUME;
timestamp =     {
microseconds = 375405;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.386 UTM[11407:3398832] qemuHasResumed
2022-01-23 21:02:11.404 UTM[11407:3398832] Debug JSON recieved <- {
return =     {
};
}
2022-01-23 21:02:11.404 UTM[11407:3398950] Debug JSON send -> {
execute = "query-mice";
}
2022-01-23 21:02:11.405 UTM[11407:3398936] cs_channel_new:173
2022-01-23 21:02:11.405 UTM[11407:3398926] Debug JSON recieved <- {
return =     (
{
absolute = 0;
current = 0;
index = 4;
name = "QEMU HID Mouse";
},
{
absolute = 1;
current = 0;
index = 3;
name = "QEMU HID Tablet";
},
{
absolute = 0;
current = 1;
index = 2;
name = "QEMU ADB Mouse";
}
);
}
2022-01-23 21:02:11.405 UTM[11407:3398950] found index:3 absolute:1
(:11407): GSpice-WARNING **: 21:02:11.405: display-2:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
2022-01-23 21:02:11.405 UTM[11407:3398950] Debug JSON send -> {
arguments =     {
"command-line" = "mouse_set 3";
};
execute = "human-monitor-command";
}
(:11407): GSpice-WARNING **: 21:02:11.405: usbredir-9:2: could not set sockopt TCP_NODELAY: Operation not supported on socket
(:11407): GSpice-WARNING **: 21:02:11.405: usbredir-9:1: could not set sockopt TCP_NODELAY: Operation not supported on socket
(:11407): GSpice-WARNING **: 21:02:11.405: usbredir-9:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
(:11407): GSpice-WARNING **: 21:02:11.405: inputs-3:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
2022-01-23 21:02:11.405 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 405514;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.405 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 405578;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.405 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 405619;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.458 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 458170;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.473 UTM[11407:3398926] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 0;
"channel-type" = 2;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 472965;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.473 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 2;
"channel-type" = 9;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 473587;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.476 UTM[11407:3398936] -[CSDisplayMetal initWithSession:channelID:monitorID:]:483
2022-01-23 21:02:11.476 UTM[11407:3398936] cs_channel_new:310
(:11407): GSpice-WARNING **: 21:02:11.477: cursor-4:0: could not set sockopt TCP_NODELAY: Operation not supported on socket
2022-01-23 21:02:11.480 UTM[11407:3398926] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 480525;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.490 UTM[11407:3398840] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 1;
"channel-type" = 9;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 490508;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.491 UTM[11407:3398841] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 0;
"channel-type" = 9;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 491280;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.491 UTM[11407:3398832] Debug JSON recieved <- {
data =     {
client =         {
family = unix;
host = "";
port = "";
};
server =         {
family = unix;
host = "";
port = "";
};
};
event = "SPICE_CONNECTED";
timestamp =     {
microseconds = 491369;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.496 UTM[11407:3398926] Debug JSON recieved <- {
return = "";
}
2022-01-23 21:02:11.497 UTM[11407:3398950] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 0;
"channel-type" = 3;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 497443;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:11.498 UTM[11407:3398840] Debug JSON recieved <- {
data =     {
client =         {
"channel-id" = 0;
"channel-type" = 4;
"connection-id" = 16807;
family = unix;
host = "";
port = "";
tls = 0;
};
server =         {
auth = none;
family = unix;
host = "";
port = "";
};
};
event = "SPICE_INITIALIZED";
timestamp =     {
microseconds = 498124;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:02:50.599 UTM[11407:3398840] Debug JSON send -> {
execute = "query-mice";
}
2022-01-23 21:02:50.600 UTM[11407:3398926] Debug JSON recieved <- {
return =     (
{
absolute = 0;
current = 0;
index = 4;
name = "QEMU HID Mouse";
},
{
absolute = 0;
current = 0;
index = 2;
name = "QEMU ADB Mouse";
},
{
absolute = 1;
current = 1;
index = 3;
name = "QEMU HID Tablet";
}
);
}
2022-01-23 21:02:50.600 UTM[11407:3398840] found index:4 absolute:0
2022-01-23 21:02:50.600 UTM[11407:3398840] Debug JSON send -> {
arguments =     {
"command-line" = "mouse_set 4";
};
execute = "human-monitor-command";
}
2022-01-23 21:02:50.601 UTM[11407:3398951] Debug JSON recieved <- {
return = "";
}
2022-01-23 21:02:53.885 UTM[11407:3398951] Debug JSON send -> {
execute = "query-mice";
}
2022-01-23 21:02:53.886 UTM[11407:3398926] Debug JSON recieved <- {
return =     (
{
absolute = 0;
current = 0;
index = 2;
name = "QEMU ADB Mouse";
},
{
absolute = 1;
current = 0;
index = 3;
name = "QEMU HID Tablet";
},
{
absolute = 0;
current = 1;
index = 4;
name = "QEMU HID Mouse";
}
);
}
2022-01-23 21:02:53.887 UTM[11407:3398951] found index:3 absolute:1
2022-01-23 21:02:53.887 UTM[11407:3398951] Debug JSON send -> {
arguments =     {
"command-line" = "mouse_set 3";
};
execute = "human-monitor-command";
}
2022-01-23 21:02:53.887 UTM[11407:3398926] Debug JSON recieved <- {
return = "";
}
2022-01-23 21:02:56.226 UTM[11407:3398840] Debug JSON send -> {
execute = "query-mice";
}
2022-01-23 21:02:56.228 UTM[11407:3398951] Debug JSON recieved <- {
return =     (
{
absolute = 0;
current = 0;
index = 2;
name = "QEMU ADB Mouse";
},
{
absolute = 0;
current = 0;
index = 4;
name = "QEMU HID Mouse";
},
{
absolute = 1;
current = 1;
index = 3;
name = "QEMU HID Tablet";
}
);
}
2022-01-23 21:02:56.228 UTM[11407:3398840] found index:2 absolute:0
2022-01-23 21:02:56.228 UTM[11407:3398840] Debug JSON send -> {
arguments =     {
"command-line" = "mouse_set 2";
};
execute = "human-monitor-command";
}
2022-01-23 21:02:56.229 UTM[11407:3398926] Debug JSON recieved <- {
return = "";
}
2022-01-23 21:03:40.651 UTM[11407:3398926] Debug JSON recieved <- {
data =     {
guest = 1;
reason = "guest-shutdown";
};
event = SHUTDOWN;
timestamp =     {
microseconds = 651016;
seconds =<PHONE_NUMBER>;
};
}
2022-01-23 21:03:40.653 UTM[11407:3398951] qemuWillQuit, reason = guest-shutdown
2022-01-23 21:03:40.656 UTM[11407:3398936] cs_channel_destroy:210
2022-01-23 21:03:40.656 UTM[11407:3398936] cs_channel_destroy:383
2022-01-23 21:03:40.656 UTM[11407:3398936] cs_channel_destroy:202
(:11407): GSpice-CRITICAL **: 21:03:40.657: Source ID 1 was not found when attempting to remove it
2022-01-23 21:03:40.657 UTM[11407:3398926] RPC: Error Domain=com.utmapp.utm Code=-1 "No connection for RPC." UserInfo={NSLocalizedDescription=No connection for RPC.}
2022-01-23 21:03:43.723 UTM[11407:3398840] Stop operation timeout or force quit
2022-01-23 21:03:43.723 UTM[11407:3398840] Exit operation timeout or force quit`

This appears to be fixed in 3.1.0; with the mouse in Legacy mode and CPU set to G4 in CUDA mode, the ADB mouse and keyboard are eventually found and presented as the primary devices.  Takes a few seconds of the mouse being swept to the right side of the screen, but eventually it happens.  This enables booting of Mac OS X 10.0.x, Mac OS X Server 10.0.x, Mac OS X 10.1.x and Mac OS X Server 10.1.x.
Unfortunately, Mac OS 9.0.4 now fails to boot at all, but that's a different issue.

Well... turns out it isn't a different issue.  I found the problem.
Machine Mac99 appears to be hard-coded with property via=pmu.  If you enter property via=cuda, the actual output is -machine mac99,via=cuda,via=pmu -- which overrides the CUDA value with the PMU one.
This is an odd choice, considering the only PPC configuration that requires via=pmu is OS X 10.5.  All other OSes (OS X, Mac OS and other Mac99 PPC OSes) perform significantly better with this disabled, and 9.0.4 cannot function, as the PMU VIA uses USB 2.0, and Mac OS 9.0.4 only supports USB 1.1.  This means all input is broken for 9.0.4, OS X Server 1.2v3 and Rhapsody DR, and likely a few Linux and BSD variants too -- any Mac99 OS from 2000 and earlier.
This bug appears to have been added with feature https://github.com/utmapp/UTM/issues/313
One possible solution would be to have two mac99 machine options: one with via=pmu, and one without.  Or even better, add via=pmu at the front so via=cuda can override it.  Or, leave it off or make it a checkbox or selection item (blank, via=pmu, via=pmu-adb, via=cuda).

Machine Mac99 appears to be hard-coded with property via=pmu. If you enter property via=cuda, the actual output is -machine mac99,via=cuda,via=pmu -- which overrides the CUDA value with the PMU one.

That would be a bug. The intended behaviour is if you have “via=“ then it should override any “default” value.
https://github.com/utmapp/UTM/blob/main/Configuration/UTMQemuConfiguration%2BArguments.swift#L789
There should not be quotes around name.

Thanks for the quick find!  After that's fixed I should finally be able to get back to testing USB 2.0 vs 1.1 issues and sort out CUDA.

I'm having this issue. On UTM, Mac OS 10.0 will not recognize the keyboard although it recognizes the mouse. I have the machine set to via=cuda. The keyboard works fine in stock QEMU.
Host OS: Ventura 13.3.1a
Architecture: x86_64
UTM version: 4.2.5


doesn't build on 4.09

I get this error:
# File "compat.cppo.ml", line 32, characters 7-45:
# Error: Unbound module Pparse.ImplementationHooks

It is due to https://github.com/ocaml/ocaml/pull/2276. I have a patch but I don't know how correct is it. I'll send a PR

v2.6.1 supports OCaml 4.09 thanks to @mseri ! It has been already released to opam repository https://github.com/ocaml/opam-repository/pull/15852 .


feat: add support for chat input command arguments

This PR is my attempt at adding support for chat input arguments
The basic way this will work is;
You can register the command option type to match the argument. e.g. Channel for channel related arguments.
// 'channel' being the name of the option so we can use getChannel.
const channel = await args.pick('guildTextChannel', 'channel');

Or you can register the command option type as string and use:
// once again 'channel' being the name of the option so we can use getString.
const channel = await args.pick('guildTextChannel', 'channel', { useStringResolver: true });

Remarks
I only really thought it made sense to include the "pick" and "repeat" functions on ChatInputArgs, So i did not include others.
There most likely is a better way to implement this, but idk.
also a few simple changes will have to be made to packages like subcommands to support this ;)
PR closes #494

In lieue of a response from @vladfrangu who has told me in DM (and I quote):

I'm not a fan of it at all
but
I also dont wanna be like "no thanks close"

(Likewise, I'm not a fan that he doesn't just tell you and leaves the PR unanswered, there is avoiding confrontation and there is extremes haha)
I'm just updating you that we'll keep this PR open, but not much done with it right now.
Furthermore, @vladfrangu has also said:

bc I want to make args have a consistent interface between types
Basically make Args an interface now
and then MessageArgs/ChatInputCommandArgs implement it
and then people can just
use it
without thinking of what they are using it in
also it's hella breaking LOL sapphire v5 lets GOO

If you can instead provide an implementation that matches those wishes from Vladdy then we can further review this PR. Most importantly to keep in mind that you're free to introduce breaking changes.

Apologies for the late response haha. I personally also thought this was not really a good implementation, although more so after a week or so when i looked back over it.
Unfortunately, i doubt i will provide an implementation fulfilling the requirements. So i will close this PR.
Good luck and thanks for the awesome framework!


Request to update angular to 2.4

I think update Angular to it's latest version will be more excited

Unfortunately (even with the workarounds) we're unable to update to higher than 2.2.1 where I have it now, until Universal core moves into Angular Core itself. (https://github.com/angular/angular/issues/13822)
We may be doing one final angular2-universal release (before it's @angular/platform-server) to fix a few other issues, and make it upgrade-able to 2.4. I'll add it in here as soon as it's possible :+1:

Sure I understand.
NP, I am waiting till then :)

Managed to spend the time to get it working 🙈🎁

First day on this, but I think there are still some dep errors with 2.4.5,
with npm install I got dep errors.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed. npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>No license field.
Thanks for any hints on how to work around this.

@ImkerAdam Not to worry! npm Warnings come from sub node_modules, as long as you're not getting npm ERROR it's fine. It's just pointing out some inconsistencies between libraries, and peer Deps they might have etc.
For example codelyzer has this as it's peerDeps, although it still works with 2.4.5.
 "peerDependencies": {
    "tslint": "^4.0.0",
    "@angular/compiler": "<=2.4 >=2.2.0",
    "@angular/core": "<=2.4 >=2.2.0"
  },

Thank you for reminding me though, I have been meaning to upgrade Zone.js & Rxjs dependencies within the repo. But don't mind the new Warnings that will come from Universal (ie: npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.)


Is it possible to mock calls to get different policies from AWS

I'm currently trying to unit test a bunch of functions I created which get the account password policy from the iam client:
iam_client = boto3.client('iam')
pwdPolicy = iam_client.get_account_password_policy()
There is a bunch of these I'm using such as;
get_trail_status and get_event_selectors from the CloudTrail client.
get_bucket_acl and get_bucket_policy from the s3 client.
describe_metric_filters from the logs client.
I know this probably isn't the place to ask for help but thanks in advance!

I'm not sure I understand. You can add the decorators for each of these services; is that what you mean?


Analyzer top level type inference infers the wrong type for use of type parameter as expression

Consider the following code:
class C<T> {
  var field = T;
}

The front end infers that field has a type of Type, which I believe is correct.  The analyzer infers a type of dynamic.
Repro: python tools/test.py -m release -c compare_analyzer_cfe --checked language_2/generic_field_mixin2_test
Note that this could cause the analyzer to accept a program that the front end would (correctly) reject, e.g.:
class C<T> {
  var field = T;
}
main() {
  new C().field = 'bad'; // `String` not assignable to `Type`
}

Fixed in 9ca0d267440cf0947f213c0721ef947e298477d9


Do not scroll to the capture area when it's completely visible

Do not scroll to the capture area when it's completely visible in the current view port

Coverage decreased (-0.4%) to 65.66% when pulling 0b7e75607fc0726499227b61be96654db1d25bf3 on fix/noscroll-visible into 2a97cb30bfa73dbb7f9f99704523046c431f2371 on master.

Coverage decreased (-0.4%) to 65.66% when pulling 0b7e75607fc0726499227b61be96654db1d25bf3 on fix/noscroll-visible into 2a97cb30bfa73dbb7f9f99704523046c431f2371 on master.

Coverage decreased (-0.4%) to 65.66% when pulling 09256af9d2f3f999e4c7d02a326520e12e28c9d5 on fix/noscroll-visible into 2a97cb30bfa73dbb7f9f99704523046c431f2371 on master.

:ok:

Coverage decreased (-0.4%) to 65.66% when pulling 1d40d378f190a39f5b42e69111b79cc0e0f58609 on fix/noscroll-visible into 2a97cb30bfa73dbb7f9f99704523046c431f2371 on master.


Kaggle default metadata is list but your default metadata is tuple (google api key matching issue) [bug]

I have found a bug while matching api key on kaggle.

This is the  getting error on kaggle notebook

Here defualt metadata is tuple datatype

###Here default metadata is of list datatype
May I fix this issue? Thanks

Sure, please feel free to send a PR to fix this!

I have tried another models on the kaggle but they are also not working. Does langchain_google_genai models not for kaggle because models are working in google colab but not on kaggle??

By review code I found that there is bug from kaggle side. I There metadata should be of tuple type because google model is accepting tuple type. So I have raised issue but did not got response.


Nested pc.foreach doesn't work as expected

Describe the bug
Tried to implement nested foreach while dealing with a 2D array and it did not work. Trying to index into a 2D list doesn't update the grid properly.
Expected behavior
Expected a grid to be produced with nesting for a 2D array.
** Specifics (please complete the following information):**

Python Version: 3.11
Pynecone Version: 1.10
OS:
Browser (Optional):

@DPetuskey I think the rendering issue might be related to this, you may need to wrap the second foreach in an other element for it to render - i.e. you can't directly have a foreach in a foreach. We should update the docs here.
I was able to get this code to work correctly:
import pynecone as pc

class State(pc.State):
    """The app state."""

    array2d: list[list[int]] = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

def index():
    """The main view."""
    return pc.vstack(
        pc.foreach(
            State.array2d,
            lambda x: pc.hstack(pc.foreach(
                x,
                pc.text
            ))
        ),
    )

# Add state and page to the app.
app = pc.App(state=State)
app.add_page(index, title="Foreach Example")
app.compile()

Lmk if that fixes your issue.


Update FQN docblocks

And make them much more readable for users
Review appreciated

:+1:

Why we need this? :smiley:

So the phpdoc is human readable. That's the whole point of phpdoc. :)

This is more readable:
     /**
      * Input definition for user specific arguments and options.
      *
      * @var InputDefinition
      */

when this:
     /**
      * Input definition for user specific arguments and options.
      *
      * @var \Symfony\Component\Console\Input\InputDefinition
      */

Yeh, i think the long one is way better. You know exactly what it is. The first one could be anything.

It could not be anything!  In you code you use InputDefinition, and not expect this to be anything? Same in phpdocs.
PhpStorm fully supports this, by the way.

Hello @elfet ; yes for many developers it makes much more sense get the full FQN in docblocks.
Sure the InputDefinition example that you gives is true, but in many other case the developer might wonder which exact type of argument the function is using.
Deployer project would IMO greatly benefits from this kind of docblocks.

Also @elfet Deployer is growing very fast.
No one can really predict what it will be in 2 years, will it still use Symfony components, will it provide a system of plugins, will it use Interface dependency injection ?
You might have a class name and an interface having the same base name.
In this situation short FQN would become completely unreadable in docblocks.

PhpStorm fully supports this, by the way.

As I said, phpdoc is not for IDEs. You could argue IDEs should run static code analysis and phpdoc isn't needed at all.

This isn't about IDEs (which may or may not use static code analysis especially because PHP is not strongly typed), it's about reading and writing code, it's for humans.
IMHO if you are use'ing a class or a namespace you should be able to use it on the doc block (without a FQN), if you do not use it the, you should definitely use the FQCN in the doc block.
Lets get a vote (or @elfet decides for all of us) to this and get this over with, there's no point in arguing, because humans tend to have different opinions, and that's ok. That's why PSR1&2 were done, to have a common way to write and style code so that we humans can interact with it better, faster and less annoyed.

@gordalina lets do a little vote :+1:

Vote for:

Use FQCN in doc block if class isn't used, or just class name if it is used
Always use FQCN in doc block

I vote for 1.

I vote for 2. :)

I did some google-ing before answering the question.

First of all, when I'm in doubt about standards / best practices, I always consult the Symfony github repo, where I found that the Symfony code seems to use FQCNs.
I think this weighs a lot here, since Deployer uses a lot of Symfony Components.
Another answer I found quite convincing: https://github.com/squizlabs/PHP_CodeSniffer/issues/325#issuecomment-63166037
Also: I do agree with @GrahamCampbell, IDEs should not factor in the decision at all.
(I usually just use Sublime Text, Atom or Vim, for example.)
And I also agree with @lucasmichot here: https://github.com/deployphp/deployer/pull/370#issuecomment-113213742

Hence, due to the reasons above, I'm voting for option 2.

I found that the Symfony code seems to use FQCNs

Laravel does too. :)

Well vote on number 2 as well :-)


Background color drags too far down

Hii
Is it possible to customize the background so that it only appears at the top of the tabs? I made the color extra to white so you can see it.
https://i.imgur.com/wGlPsSR.png
Thanks for developing this nice plugin!
Best Regards, Lüku

Hi @Luekuu,
this was an issue of the App itself and not related to the plugin. But it is already fixed in latest App release v2.2.7.
Please see on the forum https://discourse.joplinapp.org/t/plugin-note-tabs/12752/200 and following posts.
Please always check the forum before adding tickets here...
I will close this ticket.
Thanks,
Benji

ohh sorry..
Thanks you! Regrads, Lüku


Harmonise the 3 Information screens (Zertifikate, Check-in, Tagebuch)

Current Implementation
See the 3 screenshots from Version 2.4.3

Suggested Enhancement

In the certificate information screen rename the Weiter Button and change the text of the hint to the Datenschutzerklärung.
In the check-in information screen add a button which brings the user to the check-in page (similar to the Tagebuch-information screen) --- under iOS the button is called "Einverstanden"

Expected Benefits
More consistency between the 3 pages.
Easier usage when visiting the check-in information page.

Internal Tracking ID: EXPOSUREAPP-12870

Hi @DerVogel2020, thanks for your feedback. I agree that these screens should be harmonised. I forwarded it to our UX colleagues, to get a decision. Thanks! :)

@DerVogel2020
The screens are also different under iOS, do you wish that I (or you) open a new issue for this in the iOS repository or can we transfer this issue?

@Ein-Tim you can do it.

The Certificates tab onboarding is also missing a transition like here: https://github.com/corona-warn-app/cwa-app-android/pull/2954

Hi @DerVogel2020, thanks for your feedback. I agree that these screens should be harmonised. I forwarded it to our UX colleagues, to get a decision. Thanks! :)

Hi, @harambasicluka did you get any feedback from the UX colleagues?
In Version 2.15 this inconsistency is still present.

Hi @DerVogel2020, thanks for your feedback. I agree that these screens should be harmonised. I forwarded it to our UX colleagues, to get a decision. Thanks! :)

Hi, @harambasicluka did you get any feedback from the UX colleagues?
In Version 2.15 this inconsistency is still present.

@harambasicluka any news on this? In 2.20 it's still the same.

@dsarkar Do you have an update for us here?

@Ein-Tim @DerVogel2020 Will try to get some feedback from UX team.

Yeah I just wonder why the approved label is applied on this issue 🤔

Thanks for your enhancement request @DerVogel2020. We have created an internal ticket for it and will raise this topic internally.
Internal Tracking ID: EXPOSUREAPP-12870

Corona-Warn-App Open Source Team

In 2.22 there is another new information page which is shown differently: "Schnelltest-Profile".
It's similar to the one for the check-ins, but the menu item is named in singular "Information".

No planned


I can set a custom package name?

Now package name is calculate from project name, but i need in this format "it.domain.appname"

In iOS?  Just open up Xcode and change it 👍

Android?

I think that might be in the build.gradle.   I would just do a find-all and replace 👍

but i need do refactoring of  my project every times that i make changes it? in Android the project name is same of folders tree
would be nice to build a project using a command, more or less like this:
ignite new MyApplication --package-name=it.myproject.app

I like that idea.    I'll make this a task.

good :) thank you

I would also like to see this feature!

This is a great suggestion.

Hello! are any update of this thread?

I added the Hacktoberfest tag to this.  I've got a few higher priority issues right now, but if someone completes it it will count towards their Hacktoberfest shirt now.
https://hacktoberfest.digitalocean.com/

@GantMan I can give this a shot

I haven't been able to get to this one yet, so if anyone else wants to grab it for Hacktoberfest, go for it!

anyone did it?. can we provide package name now?

Any update on this?

What we need is the ability to pass through the --package CLI command to react-native init.
ignite new MyApp --package "com.infinitered.jamonapp"

This would run:
react-native init MyApp --package "com.infinitered.jamonapp"

I would hold off until we have PR #1379 merged in, or work off of that branch, though.

We actually have an issue for this, so I'll track over there at #1044.


Not ready for Swift 4.2

I'm trying to use Layout Kit with XCode 10 (beta 6) - Swift 4.2
Any news of this development? to know if I can adopt this cool framework
Thanks for the great job!

I've made PR #244 (and a corresponding branch) for Swift 4.2 but it's having CI issues that I haven't had time to get to the bottom of.

Any news on this?

I'm sorry for double posting, but will there be any update to Swift 5 at all? People have been asking for a Swift version update for over half a year now 🤔. It's an awesome layout library, I'd hate to see it unmaintained.

Sergei just left LinkedIn/Microsoft for Apple. This repo belongs to LinkedIn. I think this explains a lot.

:/ really unfortunate.

我觉得我们可以另立山头，一起维护

@OHeroJ The issue is the Apache license (copyright). We can't just duplicate the repo without legal repercussions

@hooliooo From the idea of LayoutKit rewrite the new library

Any news for Swift 4.2 and 5 ?

I found out a solution for swift >= 4.2
=> pod 'LayoutKit', :git => 'https://github.com/linkedin/LayoutKit.git', :branch => 'master'


Include OBC namespace in bucket metrics

Since buckets are in general created via an ObjectBucketClaim in K8s, would it be possible to include the OBC namespace in the bucket's metric?
One way is to map the bucket name so an ObjectBucket K8s object (spec.bucketName), then map the latter to an ObjectBucketClaim and extract the namespace from it.
This will be useful eg. for alerting rules, where bucket quota is defined inside the ObjectBucketClaim.

It should be possible, though for bigger clusters the lookup could take longer to load all OBCs.
Though I personally would be hesitant to implement via OBCs, as COSI (https://github.com/kubernetes/enhancements/pull/1383) is the future as far as I know at the moment.


Improvements suggested to PR 423

This addresses the improvements suggested to https://github.com/apple/swift-corelibs-foundation/pull/423/files viz.

Using an array slice instead of (array, start, end)
Keeping the String extension (3 utility methods) private to the defining file

Thanks!

Thanks!

@swift-ci please test linux


@captainsafia repos are full of nice functionality

@captainsafia has two interesting repos (and a third but it's empty right now). Maybe we can steal a few ideas or even get an agreement from her to include them here:
https://github.com/captainsafia/split-cell-to-notebook
https://github.com/captainsafia/raw-button
[Unfortunatelly empty up to now: https://github.com/captainsafia/autoformat-code-cell -> would fix https://github.com/ipython-contrib/IPython-notebook-extensions/issues/365]

Oh, hello! Thanks for mentioning me! The only complete one is raw-button at the moment and I'm putting the finishing touches on split-cell-to-notebook. Haven't had the chance to work on autoformat-code-cell but I'll be working on that sometime soon. autoformat-code-cell also came out of an issue similar to #365 that was opening the the notebook repo.
So yes, raw-button is good to move and I'll see about split-cell-to-notebook. I would appreciate if anyone would be willing to help me debug the issue on it.

@captainsafia happy to help with debugging - what seems to be your issue?

@jcb91, thanks! The general issue is around the difficulty I've been having managing 3 different notebooks from the context of a notebook.
My previous approach was to use the contents API copy function to duplicate the original notebook, then use fromJSON to load the data from the copied notebook to the Jupyter.notebook object. However, although fromJSON mutates the some of the fields in the Jupyter.notebook object but not all of them so that when Jupyter.notebook.save_notebook() is called later on it acts on the original notebook not the copied one.
The approach I was tinkering with after that (haven't pushed it yet), is using toJSON to get a JSON dump of the original notebook then mutate the cells attribute within this JSON file but eventually I have to call fromJSON and save_notebook and run into the same issue as above.
I'm not sure if there is a different way to approach the problem without eventually having to address the issue of managing three different notebooks from within one.
Let me know if you have any questions.

Also, random but feel free to bring in this extension.


find_package in cmake script picks up libraries from the native host system

In various packages, gtest is picked up from the native host system  by the find_package command in cmake.
In the pcl package, the vtk library is picked up from the native host system by the find_package command in cmake.
This then leads to linking errors in the compile phase.
This is a general problem with many packages using the catkin class.

I close this issue, as it has not been further observed in the last two years.


Question about use of LRN

Thank you for publishing the fire detection CNN.
Could you pls comment how important is LRN to achieve the accuracy claimed in your paper? (Perhaps you have tried a variant of a network without LRN).
Original AlexNet paper claimed that dropping LRN decreased accuracy by few percentage points - but that was for the ImageNet set with 1000 classes.
Thanks

A good question. My co-author @AndyDunnings maybe able to answer this one but as far as I am aware we did not explore the impact of Local Response Normalization (LRN). My feeling is it would have less impact on a binary problem like this - but the only way to know is to test it. Future work ... or something for someone to try out using our published dataset in an ablation study on FireNet (not included in our 4-page ICIP paper).


XML report not showing failing tests

Never mind, this belongs on facebook/screenshot

My mistake, wrong library


Model function findMany doesn't provide paginate function

Hi,
I tried executing the following snippet on Laravel 5.5,
...
$ids = [1, 2, 3];
$answers = Answer::findMany($ids)->paginate(2);
...

But this results in error, Method paginate does not exist but rather works fine on whereIn.
I just had to report this bug.

Yes, seems like intended behavior to me.
Use findMany if you need a collection.
If you need a builder or need to chain other builder methods, whereIn should be used.
If you look at the code, findMany is just a wrapper around whereIn, with ->get() added.


Fix beam term incorrect usage in BeamSearchDecoder

This PR is to fix #17839.
As raised in the above issue, from the Beam_search wikipedia definition and [Recent academic usage] (http://www.ijcai.org/Proceedings/05/Papers/0596.pdf), beam search is called beam search because it keeps a beam of search states in memory.
The beam refers to the collection of search states, not the individual search state.
This PR is to fix the incorrect usage of "beam" term in BeamSearchDecoderExamples, like example below:
"The BeamSearchDecoder shuffles its beams"
"beam_width: Python integer, the number of beams"

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 52 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 67 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 82 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 97 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 112 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 126 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@ebrevdo Eugene, can you please take a look at this doc change?

Thanks!

Done thanks!
On Fri, Aug 10, 2018, 1:26 PM annarev<EMAIL_ADDRESS>wrote:

@ebrevdo https://github.com/ebrevdo Eugene, can you please take a look
at this doc change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/18235#issuecomment-412196274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtimwlZM-Lx6aufFvO4JLyHDuxsVOCEks5uPexsgaJpZM4TGlVb
.

Nagging Assignee @andrewharp: It has been 19 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

This PR is just a straight-up replace of "beam" for "search state" which leaves the documentation ungrammatical or nonsensical in many places. (I'm afraid I don't have bandwidth at the moment to make the docs better though.)

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@imsheridan could you pull rebase and push again?

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@imsheridan gentle ping to re base

closing this due to rebase pending for long time.


typescript: begin handling type/value separation [phab:D1360]

Created by evmar at 2017-02-22 02:19:24:
There are two namespaces of TypeScript: types and values.
A given symbol may be a type, it may be a value, and the two may even
be unrelated.  Handle this by giving the two separate vnames.
Add a test that uses the same name for a type and unrelated value, and
check that the various uses refer to the appropriate places.
(Note: there's a third namespace, namespaces.  To be handled later.)

evmar wrote at 2017-02-22 02:19:39:
negative assert

zarko commented inline (context lost during migration) at 2017-02-22 19:17:08:
nit: maps ts.Symbols or maps a ts.Symbol to its

zarko required changes at 2017-02-22 19:17:08

evmar wrote at 2017-02-22 19:42:42:

typo

zarko accepted this revision at 2017-02-22 20:27:01

zarko closed via commit 6c1e60a10dc021384ce80cb72be8c17b1cec08ba at 2017-02-22 20:28:57


Add Travis SVG to README

Title is self-explanatory.

@StevenBlack : Can confirm that Travis is working and green!

That needs to go in readme_template.md as all the readme.md are generative 😄

Ah, got it.  Fixed.

Perfect!  Thanks @gfyoung 🏅


Click through ui and test editor

Test it manually and make it ready for release.

found some minor things and fixed them


Create wyr.txt

the domain doesn't seem to belong to any educational institution. If it does, please provide the link to the page, confirming this information. Thank you!


Lazy Load Room Summaries: Milestone 1

Part of vector-im/element-ios#4384

Will be handled by https://github.com/vector-im/element-ios/pull/5023


Fixes #438: DM Validator support multiple Cloud Storage Bucket types

Fixes #438: DM Validator support multiple Cloud Storage Bucket types
https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/issues/438
Added storage bucket CFT IAM validation + tests.

@morgante can we merge this in?


Release v1.0.0

[x] merge outstanding PRs
[x] update versioning
[x] update changelog
[ ] release new tagged version
[x] settings - set roles
[x] settings - require fork for PR from external roles
[x] open repo

@alexgillcma done right?


how to define jest configuration in custom file

Here is my serverless file which I define the plugin and variable in a custom file
custom: ${file(${opt:stage, self:provider.stage}.yml)}

plugins: ${self:custom.plugins, ''}

my environment file:
$ cat dev.yml
plugins:
  - serverless-jest-plugin
jest:
  collectCoverage: true

Here is the error I got.
$ sls create test -f auth

  Serverless Error ---------------------------------------

  Serverless command "create test" not found

  Run "serverless help" for a list of all available commands.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                     linux
     Node Version:           6.11.3
     Serverless Version:     1.24.1

The other variables in custom environment file works fine, which I used to define stage, service name, etc.
If I follow the README to define jest plugin and configuration directly in serverless.yml, it works.

@ozbillwang did you ever find a solution to your problem?

no, i moved on with aws sam.


Sound effects turning off

When I use GSSE (does not matter what macro I use with it) it seems to be turning off my sound effects in game.  I have tried this with several different GSSE macros and some with my own and it still occurs.  It does not occur when GSSE is not installed.  I even unbound the sound effects keybinding and it still occurs.  Also, I am not using macros with modifiers.
Any suggestions would be welcome with a big hug!

You could look at the options in GSE and turn off the error prevention ones.
TimothyLuke

On 14 Jul 2019, at 11:16 am, Hoarybull<EMAIL_ADDRESS>wrote:
When I use GSSE (does not matter what macro I use with it) it seems to be turning off my sound effects in game. I have tried this with several different GSSE macros and some with my own and it still occurs. It does not occur when GSSE is not installed.
Any suggestions would be welcome with a big hug!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I noticed GSE would disable my sound effects as well. But only when the mob dies each time. But if I stopped pushing the macro and the mob dies, then it doesn't disable my sound effects. Hope this helps to fix the problem.


[HOSTING-385] - Create plugin-apache-httpcomponents-client-4-api for @oleg-nenashev

https://issues.jenkins-ci.org/browse/HOSTING-385
https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin

Description

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

thanks @daniel-beck !


Certain recipe types should require other recipe types to be selected in prefs

Because Recipe Robot produces entire recipe chains, you shouldn't be able to select a specific recipe type in preferences unless its parent recipe type is also selected.
Here are the dependencies:

munki requires download
pkg requires download
install requires download
jss requires pkg
absolute requires pkg
sccm requires pkg
filewave requires download

https://github.com/homebysix/recipe-robot/commit/96e90270bbaef459e3efc2d9cab1b487f679bfea, https://github.com/homebysix/recipe-robot/commit/8c9cbdebe52e6df02b7a9b318bf0ae0b1159ffd6, and https://github.com/homebysix/recipe-robot/commit/2d429ba964ec21e774b9ffdfaefa8f4d7983aab3 should take care of this. Thanks @eahrold!


[CI] Add CI workflow and scripts

Also add support for cpu arch option to allow Compile Server to target a specific CPU arch.
Ubuntu ver. for Compile Server is bumped for compatibility with newer CPU gens.
Numpy ver. is bumped for compatibility.

Thanks @hjjq!
This PR looks good to me.


DNS proof succeeded and then failed

I added a DNS proof for my website and yesterday it succeeded:

and today it showed up at failed, and after manually clicking the retry button, I received this email:

I suppose this is the link to the proof?

Oh, I clicked on "Prove your website" to see something and it automatically revoked the working key.


sm2,sm3 update

update sm2util with c1c3c2 as default encrypt and decrypt
update sm3, remove unnecessary code
fix for #36
Signed-off-by: SamYuan1990<EMAIL_ADDRESS>

@davidkhala , just updated and refactor code, please take a look at.


CSRF prevention tokens in cookies

Hi,
my grape APIs are protected against CSRF through a X-CSRF-Token request header. The value that has to go into this header is sent by the server to clients through a cookie.
Is there a way to customise grape-swagger-rails to add this header to every request?
Ex.
xhr.setRequestHeader('X-CSRF-Token', $.cookie('CSRF-Token'))

I think this will need a bit of work, see how things are added to the request here: https://github.com/TinkerDev/grape-swagger-rails/blob/master/app/views/grape_swagger_rails/application/index.html.erb#L49.


SystemExecutor doesn't pass Zenject Scene Validation

SystemExecutor doesn't pass Zenject Scene Validation.
Yes, I know it doesn't prevent EcsRx from running but why not have a Zenject compliant code.
InvalidCastException: Cannot cast from source type to destination type.
Zenject.DiContainer.Resolve[ISystemExecutor] (Zenject.InjectContext context) (at Assets/Zenject/Source/Main/DiContainer.cs:1770)
Zenject.DiContainer.Resolve[ISystemExecutor] (System.Object identifier) (at Assets/Zenject/Source/Main/DiContainer.cs:1723)
Zenject.DiContainer.Resolve[ISystemExecutor] () (at Assets/Zenject/Source/Main/DiContainer.cs:1717)
EcsRx.Unity.Installers.AutoRegisterSystemsInstaller.RegisterSystems () (at Assets/EcsRx/Unity/Installers/AutoRegisterSystemsInstaller.cs:29)
EcsRx.Unity.Installers.AutoRegisterSystemsInstaller.InstallBindings () (at Assets/EcsRx/Unity/Installers/AutoRegisterSystemsInstaller.cs:23)
Zenject.DiContainer.InstallInstallerInternal (IInstaller installer) (at Assets/Zenject/Source/Main/DiContainer.cs:680)
Rethrow as Exception: Error occurred while running installer 'AutoRegisterSystemsInstaller'
Zenject.DiContainer.InstallInstallerInternal (IInstaller installer) (at Assets/Zenject/Source/Main/DiContainer.cs:686)
Zenject.DiContainer.Install (IInstaller installer, IEnumerable1 extraArgs) (at Assets/Zenject/Source/Main/DiContainer.cs:535) Zenject.DiContainer.Install (IInstaller installer) (at Assets/Zenject/Source/Main/DiContainer.cs:516) Zenject.Context.InstallInstallers (System.Collections.Generic.Dictionary2 extraArgsMap) (at Assets/Zenject/Source/Install/Contexts/Context.cs:158)
Zenject.Context.InstallInstallers () (at Assets/Zenject/Source/Install/Contexts/Context.cs:117)
Zenject.SceneContext.InstallBindings (Zenject.InitialComponentsInjecter componentInjecter) (at Assets/Zenject/Source/Install/Contexts/SceneContext.cs:232)
Zenject.SceneContext.RunInternal () (at Assets/Zenject/Source/Install/Contexts/SceneContext.cs:183)
Zenject.SceneContext.Run () (at Assets/Zenject/Source/Install/Contexts/SceneContext.cs:119)
UnityEngine.Debug:LogException(Exception)
ModestTree.Log:ErrorException(String, Exception) (at Assets/Zenject/Source/Internal/Log.cs:79)
Zenject.SceneContext:Run() (at Assets/Zenject/Source/Install/Contexts/SceneContext.cs:129)
Zenject.SceneContext:Awake() (at Assets/Zenject/Source/Install/Contexts/SceneContext.cs:103)

As mentioned it seems odd why it would fail and what its actually validating as such within the scene, will look into it but as a lower priority.

It seems that #12 is the only issue with scenes, after that is fixed this seems to pass on example scenes.

Marking as closed, feel free to re-open if not happy with fix.


Imaging visualiser

Produce image visualisations on converted data

When to save images:

after conversion: (configurable) each image modality, contours (on referenced series), doses (on referenced series)

PET overlay on the CT

New potential feature: write metadata about image in top-right white space for the image visualiser


Add hooks in configuration to run stuff before and after tests are running

Similar to protractor's  beforeLaunch?: () => void; ,  onPrepare?: () => void; , onComplete?: () => void; and such,
This makes it much easier to setup your project. For example
beforeLaunch - run your server
onComplete - kill your server.
right now I need to write a bash script that will do everything

you need only write your own plugin for it - https://github.com/gemini-testing/gemini/blob/master/README.md#plugins
You can subscribe to events and start your server without any bash scripts

Awesome! thanks so much for the fast response. the project is awesome, keep up the good work!

tnx :)


ENH: Add clear_cache utility for scipy.datasets

Reference issue
#16983
What does this implement/fix?
This is a simple utility function used to empty the datasets cache without the need to manually look for the cache directory, which is different on different platforms.
cc @rgommers

My main one though is whether this is crucial for 1.10?

It'd be good to get it in, because it's the counterpart to datasets.download_all. I'll aim to get this one merged in time.

refguide fail seems unrelated.

Great! Thanks for the improvements @tylerjereddy @rgommers


Filter contributions by location

Is your feature request related to a problem? Please describe.
Some contributions are about national, regional or local things only. Currently, there is no efficient way to search/filter for contributions by location. The only way is to use the search field and hope for results. The more users and contributions on the network the stronger the need for such a feature.
Describe the solution you'd like

An optional location field for contributions featuring the same data fields as in #44
An option to filter (out) contributions by location

Additional context
Example:
A contribution about something local in Papua New Guinea will hardly be relevant for someone in Germany. The filter by location function helps people to take action on things within their region and enables them to better connect with each other in real life.

Related to #9

This feature is vital for users to connect and act locally. Please compare with https://www.communecter.org/, section "Are you ready for geo-communication?", how they did it.

I don’t get „how they did it“ can you explain or summarize here what the did in a good way and why?

Of course...sorry for my brevity.
Communecter states that it "invites users to geo-locate your data as much as possible to give local visibility to your actions.".
Currently on Communecter, you can filter contributions by location by category ("theme") and by these types:

People
NGOs
Local Businesses
Groups
Government Organisations
Projects
Events
Points of Interest
Classifieds
-> See the themes and filter options at https://www.communecter.org/#search.

Their contribution form has input fields for geo location data, see:

I guess HC plans geo-location for users, organisations, events and projects, so I imagine this could be easily applied to regular posts as an optional attribute.
It enables users to search/filter for posts based on their area of interest.


Fix lint error

One of string attributes was using " instead of ', added in #355. This has now been fixed
and the project can build successfully.

We probably need to fix our build to run linting and fail on linting errors, not sure how this got through.


UI parameter changes require window focus first

I’m having an issue when using DPF-based plugins (VST3, CLAP, etc) that use GUIs. If the plugin UI window doesn’t already have focus (the menubar is greyed out), dragging on a knob in the UI (for example) won’t do anything. You have to click again for it start responding to the mouse movements, then it works fine. I hope that makes sense. I added a gif to help illustrate this... you can see I'm mousing down on the knob at the start and it's not moving.
This happens with all the DPF plugins I've tried including the DPF-Plugins, the Wasted Audio plugins (as shown) and my own plugin experiments using ImGui. Other non-DPF plugins don’t exhibit this behavior. I’m on an M1 Mac with Bitwig and Ableton Live. Any ideas on how to fix this? Thank you!

this is sorta expected behaviour on macOS in my experience. the first click gives focus, 2nd click begins interaction.
it is like this in many other software under macOS, having a click automatically trigger some UI elements is the exception rather than the rule I would say (on other OSes it is not the case of course)
in any case, changing this behaviour would mean exposing the pugl side that controls this. the view (or window not sure now) contains a property that states wherever the first click only activates focus or does interaction straight away. we would need to make that optional and then expose it on dpf side as well.
PS: compare this to how web browsers work. you cannot press a button on a browser when it is not on focus first, I quite rather like this approach and personally prefer it to be this way

Thanks so much for the quick response! I do see what you're saying and in the macOS browser -  it indeed works that way. But in the realm of audio plugins in the DAW, it's definitely not the expected behavior. I can't find a single non-DPF-based plugin that behaves like that (having to click for focus first).
For me as a user, it just "feels" wrong (because all the other plugins work differently) and is a barrier to quickly tweaking values. I'd love if there was an option to enable interaction straight away.

You can try to tweak the code in dpf/dgl/src/pugl-upstream/src/mac.m and see if you find something that works for this.
I am not that knowledgeable about Cocoa related APIs to know the exact stop that needs to be tweaked, but the macOS integration stuff is there on that file to change.

Thanks, I'll give it a shot and report back if I find something that works!

No luck yet. I tried adding this to mac.mc, which which looks to be what I want, but unfortunately it didn't work.
- (BOOL)acceptsFirstMouse:(NSEvent*)event {
  return YES;
}

I found this GitHub comment about a similar issue and they point to JUCE using the same acceptsFirstMouse code. Indeed JUCE-generated plugins work on first-click, as I'm hoping to do with DPF. Would I need to update any other files for this to work?

I got it working! I added the acceptsFirstMouse code to thePuglOpenGLView in dpf/dgl/src/pugl-upstream/src/mac_gl.m. Didn't change anything in mac.m.
@implementation PuglOpenGLView {
@public
  PuglView* puglview;
}

// activate the view with one click
- (BOOL)acceptsFirstMouse:(NSEvent *)event {
    return YES;
}

Curiously, there's similar code already in this older version of pugl(?) that was in DPF:
https://github.com/falkTX/DPF/blob/d49366db694fb9097210ba9665449f6a67025285/dgl/src/pugl/pugl_osx.m#L132

I'd say the behavior should be consistent with other plugins and other OSes, so the direct interaction would make most sense.
Especially in a context where you are moving between different screens regularly (ie. a DAW project) having to do this additional click every time, just for any DPF plugins specifically, would get pretty annoying.
Just because this is not the default for other programs or web-browsers does not mean it should be the default in this context.


HTML in slot template

Hi,
this is surely a dumb question... I can't figure how to render HTML in my slot template :
<template slot="status" scope="props">   {{ props.rowData.status === 1 ? '' : '' }}   </template>
The code above renders like the attached image :

I think this is more a VueJS question than a Vuetable one, but maybe I will find some quick help here.
Thanks
Max

try v-html attribute

Sorry I don't see how to set the v-html attribute to this :
{{ props.rowData.status === 1 ? '' : '' }}
Can you give an example ?
thanks

Take a look at
https://vuejs.org/v2/api/#v-html

OK so I have to use a component...
thanks
Maxime Freschard
ligne13.com
06 71 20 31 23
2017-09-25 11:50 GMT+02:00 lfserrra<EMAIL_ADDRESS>
Take a look at
https://vuejs.org/v2/api/#v-html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ratiw/vuetable-2/issues/255#issuecomment-331832634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE-2NZIrWu5NPyQaS4hc3X-SqKAYkcUks5sl3eBgaJpZM4PiUIk
.

@ligne13 just use conditionals v-if Scoped slots are like components which pass you some data. You are free to write any valid vue template inside them
<template slot="status" scope="props">

@cristijora thanks.