Extention no longer works: New Notification: 32bit Java not supported: I run 64bit version.

Recently, a new Notification Popup is being displayed when you retrieve a member from a PDS:
"A 32 bit Java Runtime is not supported for the IBM Z Open Editor extension. Please follow our documentation to configure a 64 bit version of Java 8 or newer."
The Extension no longer works at all.
No spell checking,
No suggestions,
No "Intelligence",
No Nothing.
Development environment used

Editor Platform

[X ] Visual Studio Code
[ ] CodeReady Workspaces
[ ] Eclipse Che
[ ] Standlone Theia

Platform Version: OSS

Operating System (on which VS Code runs such as Windows 10 2004, otherwise name and version of platform such as OpenShift v4.3): Arco Linux (Arch Linux) 64bit.

Java Version (when using VS Code or Theia, extecute java -version and paste the details here):
openjdk version "14.0.1" 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode)

Logs attached (see here how to get them): yes/no

Problem Description
Detailed steps for reproducing the problem:

First step

Observed behavior:
Open VSCode
Click on Zowe Explorer
Click on Profile
Filter by Zid
Expand the CBL pds
Click on member to display the source code.
Notification Popup in lower right hand corner:
"A 32 bit Java Runtime is not supported for the IBM Z Open Editor extension. Please follow our documentation to configure a 64 bit version of Java 8 or newer."
with a button "Configure Java" which when clicked on takes you to:
I don't have (and haven't for a long time) a 32bit version of Java running on my computer.
I'm not sure why a message like this would be displayed.
AND Nothing works.
It worked fine last week and now it's like the Extension isn't even there.

Designed behavior:

Same problem.
Windows 10 Version 2002.
Java SDK: OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
VS Code Version 1.46.0 (problem surfaced while running version 1.45.1.)
Performing a complete uninstall, including the .vscode and .zowe directories, and reinstall didn't solve the problem.
Running VS Code version 1.45.1 on Ubuntu 16.04 with no problem.

@dastagg @edrubins Thank you for reporting this issue. Can both of you please share what version of IBM Z Open Editor you are experiencing the problem with?
@edrubins Were you previously able to have IBM Z Open Editor running on your Windows 10 Version 2002 system's VS Code?
Our team will investigate further and look into recreating the issue. Thanks again!

@edrubins I've managed to reproduce the issue.

I just went to check. It was 0.5.0. When I clicked on Extensions, it had a "installing" box. It upgraded itself to 0.5.1. I closed/re-opened VSCode and the same issue is still present.

Here is more info about VSCode:
Version: 1.46.0
Commit: a5d1cc28bb5da32ec67e86cc50f84c67cc690321
Date: 2020-06-11T14:57:41.218Z
Electron: 7.1.14
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.7.2-arch1-1

And a little more info:
$ archlinux-java status
Available Java environments:
java-11-openjdk (default)
java-14-openjdk
I tried switching to 14 and got the same issue.

@dastagg @edrubins Thank you for reporting this issue. Can both of you please share what version of IBM Z Open Editor you are experiencing the problem with?
@edrubins Were you previously able to have IBM Z Open Editor running on your Windows 10 Version 2002 system's VS Code?
Our team will investigate further and look into recreating the issue. Thanks again!

Z Open Editor extension is 0.5.0. The problem started suddenly some time last Thursday. It was working fine until then.

@dastagg  @edrubins,
We've found the root cause of the issue and are working to get this fixed.
Thank you for bringing this to our attention!

It took a while to find a JDK that worked. The IBM Version 8 packaged with Eclipse is 32 bit. Oracle's 64 bit version 8 is installed in C:\Prgograms Files\ (x86), which made it  imposable, for me at least, to make the editor happy with the path.
The one JDK that finally worked is AdoptOpenJDK  with the Openj9 Hotspot.

Okay, I installed jdk8-openjdk and I can report that the functionality has returned.
My question now is: Why do I have to go "backwards"?
Last week jdk14-openjdk (or jdk11-openjdk) worked, so what changed?

Okay, fine, it appears no one will answer that question but the issue has been "fixed" so I'll close the issue.

I'm re-opening this issue just to make sure this is visible. If someone else (on the team) wants to close it, that's fine.
There are a few of us that are participating in the Open Mainframe Project/COBOL using VSCode class that have been running into this same issue.
One of the participants - Joao Carvalho - was determined to figure out what was causing the problem.
First, let's start with the text from the README of the extension in VSCode:
Java SDK version 8 or later - 64 bit: The COBOL and PL/I language servers included in this extension are implemented in Java. Therefore, you need to install and configure a 64-bit Java SDK in order to start it successfully.
  You can use Oracle Java SDK 8 or the LTS version 11 of Oracle Java. Alternatively, you can use version 8 or 11 of the OpenJDK.

  Note, in all cases, you need to download and configure a full JDK and not just a Client Runtime version of Java. The language servers will not work with only a Client Runtime version.

This text was correct for version 0.4.9 but through checking, determined that something changed in version 0.5.0.
On Windows:
Java 8 Runtime - Works v0.4.9, v0.5.0.
Java 8 JDK - Works v0.4.9, v.0.5.0.
Java 11 JDK - Works v0.4.9 but does not work v0.5.0.
Java 14 JDK - Works v0.4.9 but does not work v0.5.0.
I have also confirmed (using Arch Linux) that jdk8-openjdk works but jdk11-openjdk and jdk14-openjdk do not with v0.5.0 or v0.5.1. I have not confirmed v4.9.0 but it worked about 2 weeks ago which I will guess was v0.4.9 and then was upgraded to v0.5.0 and stopped working.
So, something changed in v0.5.0.
Now, that's one thing but there are a number of people that are joining this project to learn how to use VSCode to program on the Mainframe using JCL and COBOL.
Based on the text in the README, they are running into problems because they are installing v0.5.0 (maybe v0.5.1) of the Editor Extension and then based on that, either the 11 or 14 JDK.
So, depending on the state of the "Oops, we need to fix this in the Editor Extension code" status, you should consider updating the text in the README so people aren't installing a Java program (or at least a version of one) that doesn't work.
At least until the Editor Extension code is fixed and a more recent version of the JDK will work correctly.

@dastagg Thank you for reopening the issue. I have been on vacation. Being very general, there was use of a flag which was deprecated in higher versions of Java. The fix was fairly trivial, and we hope to have it out soon.

This issue was fixed in 0.5.2. @dastagg and @edrubins could you try this again.
We tested the fix with Java SDKs from OpenJDK (HS and J9) v8, 11, 14 and Oracle v11 and 14 and IBM JDK 8.

I have tested it with java-11-openjdk and java-14-openjdk on Arch Linux and it is working correctly now.
Thank You for fixing it.


[FEATURE] Support artist and album cross-service linking

Right now, SynQ only supports translating track links, but users want to be able to share artist and album links as well. We should support this capability.

Created branch for this feature here: https://github.com/SynQApp/Extension/tree/full-linking
I've completed the work required to refactor some of the search result matching algorithm and implemented both Amazon Music and YouTube Music. @skitscha will implement Apple Music and Spotify.

Completed and released in https://github.com/SynQApp/Extension/releases/tag/4.0.2


Get 7 latest versions of topic

Currently, "all-<TOPIC_TYPE>" retrieves the last 6 versions of the topic. If using OCP, this implies that it will try to obtain from OCP 4.18 to OCP 4.13, so that it excludes OCP 4.12 that is still used.
Increasing the limit to 7 versions, so that OCP 4.12 can be used.

Hi @tonyskapunk , I was not able to create a PR from a branch in dci-component repo, don't know if that's a permission issue. That's why I've created the PR from a fork. Could you take a look there?


Strange map json serialization with non string key type

When I try to get a json from map<string, any> everything works as expected, for example:
struct TestStringKey {
    rfl::Field<"Field", std::map<std::string, std::string>> Field;
} testString = {std::map<std::string, std::string>{{"1", "first"}, {"2", "second"}}};

After conversion to json becomes:
{"Field":{"1":"first","2":"second"}}
But when I try to do the same for map<int, any> I see some strange output, foe example(I love examples):
struct TestIntKey {
    rfl::Field<"Field", std::map<int, std::string>> Field;
} testInt =  {std::map<int, std::string>{{1, "first"}, {2, "second"}}};

After conversion to json becomes:
{"Field":[[1,"first"],[2,"second"]]}
It became a list of ?unnamed? fields. This is weird, I am sure that one of the key features of json format is that we should be able to convert json to the same types in a different programming language. Let's check how the same serialization works in GoLang for example, I don't expect you to know it so let me explain a bit. C++ map<Key, Value> is equal to Go map[Key]Value syntax (actually unordered_map, but who cares). So I can write the same simple code on Go:
type TestIntKey struct {
	Field map[int]string
}
intKey := TestIntKey{map[int]string{
		1: "first",
		2: "second",
}}

res, _ := json.Marshal(&intKey)
fmt.Println(string(res))

The output will be:
{"Field":{"1":"first","2":"second"}}
It just took a key and converted it to a string. I decided to check if I can deserialize your library output to this go struct:
text := `{"Field":[[1,"first"],[2,"second"]]}`
err := json.Unmarshal([]byte(text), &intKey)
if err != nil {
    fmt.Println(err.Error())
}

And I got an error
json: cannot unmarshal array into Go struct field TestIntKey.Field of type map[int]string
For numeric types it is easy to fix, but what should happen when key is a bool type or event a struct? I saw that in some C# libraries it can serialize Dictionary to sth like:
[
  {
    "Key": {
      "Id": 69,
      "Name": "Gomer"
    },
    "Value": {
      "Id": 1488,
      "City": "Vavilon"
    }
  },
  {
    "Key": {
      "Id": 322,
      "Name": "Bart"
    },
    "Value": {
      "Id": 228,
      "City": "Florida"
    }
  }
]

But I also find it weird.

@Pennywise007 Very interesting issue, thank you!
I‘m actually familiar with Go, it’s a very cool language. 😊
So first of all, let me point out that the behavior is documented:
https://github.com/getml/reflect-cpp/blob/main/docs/standard_containers.md
As stated in the documentation and as you observe, map-like types for which the key is a string are treated as an object.
Otherwise they are treated like a normal container. And since the value_type of a map is a std::pair, this is how they are deserialized. So I think that in the context of C++, this makes sense.
I think in the context of Go, the behavior is appropriate, because Go keys cannot be structs, but C++ is way more flexible in that regard.
It would actually be fairly easy to fix this, but the question is, do we want to? How do languages other than Go approach this problem?

C# example with the most-known library Newtonsoft:
 TestIntKey intKey = new TestIntKey
 {
        Field = new Dictionary<int, string>
        {
            { 1, "first" },
            { 2, "second" }
        }
    };

    string json = JsonConvert.SerializeObject(intKey);
    ```
The output is similar with Go:
`{"Field":{"1":"first","2":"second"}} `

For complex objects, you already saw the example.

Cool, very interesting. Thanks for your input.
Let me think about that. I am a bit concerned that if I follow through with that, then someone else is going to come along and open an issue like" Hey, why are you transforming my integers into strings without my permission?"
From a technical point of view, it would be super-easy to implement. Basically, here is how it would be done:
In https://github.com/getml/reflect-cpp/blob/main/include/rfl/parsing/Parser.hpp, there is a VectorParser (the naming is somewhat misleading, I should probably change it). This contains a constexpr called "treat_as_map":
static constexpr bool treat_as_map() {
  if constexpr (is_map_like_not_multimap<VecType>()) {
    if constexpr (internal::has_reflection_type_v<typename T::first_type>) {
      return std::is_same<
          std::decay_t<typename T::first_type::ReflectionType>,
          std::string>();
    } else {
      return false;
    }
  } else {
    return false;
  }
}

You would have to catch the case that T::first_type is a floating_point or integer and return true.
Then you would have to handle that particular case in the MapParser, which is in the same file. That's it. Could be done in 15 minutes.
I am kind of leaning towards doing this, because Rust's serde does it like that as well. I think there is increasing evidence that this is the most standard solution.

@Pennywise007 , I think your arguments where very good, so I have decided to implement your proposal.
You can check out the following tests:
https://github.com/getml/reflect-cpp/blob/main/tests/json/test_map.hpp
https://github.com/getml/reflect-cpp/blob/main/tests/json/test_map_with_key_validation.hpp
And the accompanying documentation:
https://github.com/getml/reflect-cpp/blob/main/docs/standard_containers.md
I think this is exactly what you were asking for, so I am closing the issue.


mysqldadmin hangs, making the whole shutdown process hang indefinitely

Hi! We have an intermittent issue where the mysqladmin process is hanging when trying to shut down the mysql db.
Because there is no timeout waiting for this complete, it hangs indefinitely and won't move on to the other shutdown methods it should attempt in the stopInternal method.
Because the pid is hidden away, there is no alternative way to shut down the process when this happens, short of trying to identify with external processes (we are on Java 8 so no fancy process API) or use reflection hacks to try and get at the internals.
Could a shortish timeout be applied waiting for the mysqladmin process to complete so the shutdown logic can move on?
This is observed on wix-embedded-mysql 2.1.4, using MySQL version 5.6.24 on macOS Catalina 10.15.4
Alternatively, could a way be added to disable the JVM shutdown hook that stops the process? I believe the root cause of the hang is because the mysql shutdown has a race condition with logic in other shutdown hooks. If this shutdown hook could be disabled, I could eliminate the race condition in application logic

Reproduced in latest version from maven (4.6.1)

I also experienced this issue in com.wix:wix-embedded-mysql:4.6.1

PR: https://github.com/wix/wix-embedded-mysql/pull/196


FBX's object's local space pivots problem

Hi there:
We are experiencing issues with animated objects exported to FBX format (offering prayers in order to have GLTF/GLTF animations implemented in ARCore ASAP).
If the object's local space pivots (rotate and scale pivots) are non zero, then the object moves away ### when activating its animation inside a Sceneform (if you don't activate the animation, the object is shown in its right place).
In order to avoid this issue, we had to completely flatten all the hierarchies AND zeroed out the local space pivots (and inversely correct their animation curves because zero those pivots modifies the curves).
Thanks for your time.

Hi there:
I'm experimenting the same issues with animations I have and fbx composed by 3 objects 2 of them animated if I play the clip I only can see one of the animated object the other ones disappear. I have spitted them into different fbx, but the position is not the same.
I have another model that have too much objects animated in the same fbx and I can't apply the same tecnique and correct all positions manuality.
My models are displayed well in Unity3d.
Thanks in advance

Hi Tolnilsz:
From my own experience, the Sceneform FBX importer (Android Studio Sceneform plugin) is really tricky (think about it as a pre-beta sotware).
By example, you can´t trust on it when generating SFA/SFB compiled files, and is needed to review line by line that all materials are well linked, and so on.
Said this, in your case I think the problem lies in the FBX itself. Being sure all the (keyframe) animations are baked in world-coordinates usually will work.
Best regards.


Bump Compose Multiplatform version to 1.2.0

Compose Multiplatform 1.2.0 was released yesterday: https://blog.jetbrains.com/kotlin/2022/10/compose-multiplatform-1-2-is-out/
The new release has no build-breaking changes from the alphas, and I've done a smoke test of both Android and Desktop sample apps, all seems good.

Thanks for incrementing the version. I've been waiting for the stable release for a long time. Hopefully this also fixes #93


"Artifact Bundle with Server Profile" manifest - Step by step

Scenario/Intent
It aims to demonstrate how to create a Deployment Plan with a minimal bootable OS Image, using all the Image Streamer Puppet resources.
This manifest must be based on the example previously created (issue #126/ PR https://github.com/HewlettPackard/oneview-puppet/pull/131).
The main difference is that this manifest must create all the artifacts - Deployment Plan, Plan Scripts, Build Plans, and Golden Image - using the Puppet modules, instead of just upload a zip file containing all artifacts previously created.
Environment Details
-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux
Steps to Reproduce
Try to run the manifest "Artifact Bundle with Server Profile - Step by step"
Expected Result
Make the example manifest available.
All artifacts must be created through the Puppet modules instead of a uploaded zip file.
Actual Result
There is no example of how to create a server profile with a deployment plan.

Add manifest for SP creation with OSDP in sp example
https://github.com/HewlettPackard/oneview-puppet/pull/131/files#diff-4e3ec0a980f926ca157809df24f8f9fe

This SDK has limited support and will not be actively developed for the foreseeable future.


It's possible to create an invalid schema with ww.init

It's possible to create an invalid schema by typing a column with pandas dtype category and missing values as Boolean in ww 0.2.0.
I would expect ww.init to error out letting me know the type I requested is not compatible with my data, just like what happens when you try to go from Category to Double.
This isn't blocking evalml. Users can catch this with the is_schema_valid helper function introduced in https://github.com/alteryx/woodwork/pull/834 but it might be better to check the schema during ww.init.
Code Sample, a copy-pastable example to reproduce your bug.
import pandas as pd
import woodwork as ww
from woodwork.table_accessor import _get_invalid_schema_message

df = pd.DataFrame(pd.Series(["a", "b", None], dtype='category'))
df.ww.init(logical_types={0: "Boolean"})
assert _get_invalid_schema_message(df, df.ww.schema)

Woodwork relies on pandas to tell us whether a dtype conversion is valid or not. In this case, pandas is quite happy to allow a conversion of this type:
>>> import pandas as pd
>>> df = pd.DataFrame(pd.Series(["a", "b", None], dtype='category'))
>>> df.astype({0: 'bool'})
      0
0  True
1  True
2  True

The pandas behavior is why Woodwork does not identify the data as being incompatible with the specified logical type. We could implement our own custom checks to catch these types of situations, but the downside will be degraded performance during initialization, of course.

@thehomebrewnerd How come in my example, woodwork does not convert the None to True like pandas astype does?
I think the problem is that woodwork is converting None to NaN which invalidates the schema as soon as the accessor is initialized.

@freddyaboulton Ah, I think I read this wrong initially. Let me take another look...

The difference in behavior between what I saw and what you saw seems to be a result of us using different pandas versions. I was using 1.1.5 (which is needed for Koalas), but starting in 1.2.0 it seems the behavior of .astype('bool') changed. When you run on 1.1.5 you get this:
>>> import pandas as pd
>>> df = pd.DataFrame(pd.Series(["a", "b", None], dtype='category'))
>>> df.astype({0: 'bool'})
      0
0  True
1  True
2  True
>>> df.astype({0: 'bool'})[0].dtype
dtype('bool')

But on 1.2.0 you get this:
>>> import pandas as pd
>>> df = pd.DataFrame(pd.Series(["a", "b", None], dtype='category'))
>>> df.astype({0: 'bool'})
      0
0  True
1  True
2   NaN
>>> df.astype({0: 'bool'})[0].dtype
dtype('O')

So, in pandas>=1.2.0, the type conversion still succeeds, but it gives you an object dtype instead of the bool dtype that was specified. From a Woodwork perspective this is invalidating our schema because the new column dtype of object doesn't match the expected dtype of bool for the Boolean logical type. Because pandas is allowing the astype conversion without error (even though it isn't doing what you asked), Woodwork is not catching this problem nor generating an error like it does for other invalid type conversions.
I'm not sure if this is a Woodwork bug or a pandas bug, but in either case, I'll think a bit more about how we might cleanly catch this problem in Woodwork.

Could we put a check statement after the conversion to make sure the new Series dtype matches?

Could we put a check statement after the conversion (in Woodwork) to make sure the new Series dtype matches?

Yeah, I think that should do it, in this case at least.


Document how to change colors.

I checked README.md and config.yaml but couldn't find anything about the colors.

Can you explain this better? I have no idea on what colors you are talking about...

Most important would be the code snippets. They currently turn out dark blue on black, so I always have to copy them to my text editor to be able to easily read them. In another terminal they were medium blue and underlined.

I'm quite confused about that. Seems like a particular terminal setting. By default you should see the code snippets with the syntax highlighting provided by Rich.

In that case, Readme should explain that we use Rich for coloring, and where to  find information about configuring Rich.

Rich is the Python library used for the terminal colors. It's not really configurable right now without editing the source code.
A potential feature idea I get from your feedback is to implement some form of configuration for that, maybe a colors.yaml file or something on that line.

Configuring colors for Rich should be done upstream in Rich, or in an independent Rich-plugin that might then be used in chatgpt-cli. It would be a bad idea (because off-topic) to add significant portions of such code to the chatgpt-cli repo.
With current information I think the best solution would be to locate or open an upstream feature request ticket for color config, then in README.md or config.yaml, catch readers' expectation with a future proof headline like "Configuring the colors" and there admit that it's not easily feasible right now, with a link to the ticket.


Integrate gulp and elixir

it needs a small Config.js update in laravel-elixir node module.
assetsDir: 'assets/',
cssOutput: 'public/css',
jsOutput: 'public/js',

No ... CI doesn't bundle such stuff.


Keepalived processes behaviour are tunable via globaldefs: prio, rt_prio, no_swap

Pull Request (PR) description
I want to manage with this puppet module Keepalived process behaviour on my linux system:

priority
rt_prio
no_swap

Ref: https://github.com/acassen/keepalived/blob/master/doc/man/man5/keepalived.conf.5.in

This Pull Request (PR) fixes the following issues
None

thanks for the PR!


TypeError: 'NoneType' object is not subscriptable

Getting this error both when running locally or via docker
# python3 southwestalerts/app.py
[I:pyppeteer.launcher] Browser listening on: ws://<IP_ADDRESS>:51567/devtools/browser/dda6640b-c357-435f-9e91-755d2776d6bb
[I:pyppeteer.launcher] terminate chrome process...
Traceback (most recent call last):
  File "southwestalerts/app.py", line 188, in <module>
    check_for_price_drops(user.username, user.password, user.email, user.headers)
  File "southwestalerts/app.py", line 60, in check_for_price_drops
    southwest = Southwest(username, password, headers)
  File "/home/ubuntu/southwest-alerts/southwestalerts/southwest.py", line 18, in __init__
    self._session = _SouthwestSession(username, password, headers)
  File "/home/ubuntu/southwest-alerts/southwestalerts/southwest.py", line 86, in __init__
    self._login(username, password, headers)
  File "/home/ubuntu/southwest-alerts/southwestalerts/southwest.py", line 92, in _login
    'X-API-Key': headers['x-api-key'],
TypeError: 'NoneType' object is not subscriptable

This makes me feel like your pyppeteer is failing (although I usually get a different error message.)  Feel free to try and the new test branch and report back.

Thanks for working on this. No longer erroring out when using the test branch. However, not sure how it is calculating the increase. When I go to change my flight in southwest I only see a increase of 57 points for both flights. but this thing is telling me there was an increase of 8821 points.

Can you verify by running the script and then searching on southwest.com for the flight?  I haven't had any errors in the routine that does the math on the existing flight vs. the new flight -- and it's not grabbing the new flight price via the change-flight button -- instead it is querying the southwest server for the price of booking a new flight.
I'm not aware of there being a reason for a difference in the southwest "change flight" option vs booking a new flight -- but stranger things have been known to happen!
Let me know what you see?

is this working by any chance?  I'm getting very similar error (sorry don't know much, if not nothing, about coding):
[I:pyppeteer.launcher] Browser listening on: ws://<IP_ADDRESS>:34853/devtools/browser/5d5860a7-3043-4ff1-bf21-41760b7699b0
[I:pyppeteer.launcher] terminate chrome process...
Traceback (most recent call last):
File "/app/southwestalerts/app.py", line 187, in
check_for_price_drops(user.username, user.password, user.email, user.headers)
File "/app/southwestalerts/app.py", line 59, in check_for_price_drops
southwest = Southwest(username, password, headers)
File "/app/southwestalerts/southwest.py", line 18, in init
self._session = _SouthwestSession(username, password, headers)
File "/app/southwestalerts/southwest.py", line 86, in init
self._login(username, password, headers)
File "/app/southwestalerts/southwest.py", line 92, in _login
'X-API-Key': headers['x-api-key'],
TypeError: 'NoneType' object is not subscriptable

Going to update and then it should work again.  Feel free to test if you have reservations booked.

thanks!  is this what I should be seeing (changed private info to XXXXX)
mac-mini:~ XXXX$ docker run -e MAILGUN_DOMAIN=XXXXXX.maingun.org -e MAILGUN_API_KEY=key-XXXXXXXXXXXXXX -e USERNAME1=XXXX -e PASSWORD1=XXXXXX -e EMAIL1=XXXXXX fffrank/southwest-alerts
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
[I:pyppeteer.launcher] Browser listening on: ws://<IP_ADDRESS>:47949/devtools/browser/b7fba509-5218-480a-ad22-cdcf878e4c83
[I:pyppeteer.connection] connection closed

You'll have to run it from source.  There are directions in the readme.  I don't know the ins and outs of building for different architectures such as arm64 (although I can work on it to see what might be possible -- I can already see it's not possible using the autobuild on docker hub.)

got this from option 2:
mac-mini:southwest-alerts tjs$ python southwestalerts/app.py
File "southwestalerts/app.py", line 19
async def catch_response(response):
^
SyntaxError: invalid syntax

Need to be running python 3.3+


Example B

Example B does not work for me.
I get the error "Invalid column name 'blocked'"
However this succeeds: "select blocking_session_id from sys.dm_exec_requests where blocking_session_id <> 0"
I am using SQL Server 2016 SP2

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

ID: 57bb7336-951e-cab7-522e-abb98e7f7a54
Version Independent ID: 339664c0-7de2-720a-d28d-49e38288a240
Content: Use the sqlcmd Utility - SQL Server
Content Source: docs/ssms/scripting/sqlcmd-use-the-utility.md
Product: sql
Technology: scripting
GitHub Login: @markingmyname
Microsoft Alias: maghan

@aneame Thank you for the feedback.
The documentation has been updated.


Does not update input value when using ajax

Hey,
This plugin does not update the input field value when we select data from ajax request

also how to per-populate it?


Please explain input variables of LIGHTGBM_EXPORT Dataset* ConstructFromSampleData

Hello I am trying to use the method below. The meaning of some of the input variables is not clear.
Can you please explain the meaning of the input variable? Thank you!
LIGHTGBM_EXPORT Dataset* ConstructFromSampleData(double** sample_values,
int** sample_indices, int num_col, const int* num_per_col,
size_t total_sample_size, data_size_t num_data);

both sample_values and sample_indices are the pointer of 2d vector.
their first dimension size is num_feature, and second dimension size is num_per_col[j] (for j-th feature). we only store the non-zero feature values in sample_values, so different features may have different size, and therefore num_per_col is used.
sample_values[j][i] is the value of j-th feature at i-th sampled row. and sample_indices[j][i] is the original row index (in original data) of sample_values[j][i].
total_sample_size is the sampled size for bin construction, and it includes the zero values.


adding utils file and some swag to the compiler

swagging 4evah. need to delete some includes

Looks like some real swag for sure. However it's not good to put all utilities in a single file. Maybe split it into lib/log.hpp (with a namespace called log -> log::error) and lib/time.hpp (without a namespace)

thank u for the feedback bro, appreciate it

I assume everyone knows about stdio.h and printf and stuff, why is nobody using it? Is there something wrong with it?

@RedstoneWizard08 what u mean bruv?

I assume everyone knows about stdio.h and printf and stuff, why is nobody using it? Is there something wrong with it? Genuinely trying to learn here lol

@RedstoneWizard08 stdio.h is a part of the C standard library. Developers often prefer C++ equivalents (like iostream) as they are often more memory save and/or more compatible with other parts of the C++ standard library. Also, although C++ is a superset of C, there are a few cases in which C code does not compile in C++ as it would with a C compiler. So it's a good practice to deal with these languages separatly.

Okay, that makes a lot of sense.

@orosmatthew bro take a look and do something

Thanks for your enthusiasm for the project, but as of now I will not be accepting major pull requests to better keep in sync with the videos and things change quite drastically between videos.

Okay, that makes a lot of sense. I keep thinking of it like a JS/TS sort of relationship, where technically JS can be TS code, but TS is better. I guess C and C++ are a lot more different than I thought. This is why I like Rust lol. Only one way to do things normally. (Pretends str and String don't both exist.)

I know it's been a few days, but I found a ressource that shows a really good example of the difference between C and C++:
https://youtu.be/c-NyXKbqmQc?t=52


Add macOS universal build in Makefile

Add macOS universal .dylib building process in the Makefile.
sqlean-macos-universal.zip
You can also check if the .dylib is universal by this command.
>> lipo -archs unicode.dylib
x86_64 arm64

Thanks, I do not want universal builds. There are already separate builds for x86 and arm.


User unable to view if user roles that  along with permissions Login, Workflow Management and HumanTask

Tested Environments
Identity -app version : 1.0.1-SNAPSHOT
produs-is : wso2is-5.10.0-alpha3
H2 databse, Postgress, MSSQL
User store: read_write_ldap_unique_id and jdbc unique id
Describe the bug
User unable to view if user roles that  along with permissions Login, Workflow Management and HumanTask

To Reproduce
Steps to reproduce the behavior:

Go to 'management console'
Create user
Create Role, select permissions Login, Workflow Management, and HumanTask (as above screenshots)
Assign the role to the user created.
5.Log into the User portal with the user-created

Need to verify this in console app now.

Now the workflow management feature is moved to the console app and created the https://github.com/wso2/product-is/issues/10594 to track a similar issue in the console.


Support scroll bar mark sequences

Windows Terminal added this recently, there's a bunch of info/research available on https://github.com/microsoft/terminal/issues/11000 and https://github.com/microsoft/terminal/pull/12948
This may be useful in https://github.com/microsoft/vscode/issues/150833 depending on how clever we want the task integration to be.

lmao I was largely inspired by you guys 😅 I saw https://code.visualstudio.com/updates/v1_65#_terminal-shell-integration and was like yea now this is a good idea

@zadjii-msft hehe. If you go down the full blown shell integration route I can walk you through all the hacks needed to get it working through conpty 😉, It's working quite well now for pwsh but it took a while to get right.

If we had a generic mark system we could use them in PartialCommandDetectionCapability so mark decorations show up in the buffer even when shell integration is disabled.

This would be a good icon for generic marks:

@misolori should we add an alias for that and/or create a dot codicon?

@Tyriar that one is specific to the debug icon as it's overlayed and aligned to fit within another icon. we have other dots but also happy to introduce a smaller one if that is desired:

Ok, I can add in a request to add a smaller one


How to put Audio Call only.

Video Calling with voice(audio) working fine But
When I put the audio call only call  the  using [self.client muteVideoIn];
//- (void)muteVideoIn;
it is not working.
please help me.

when you create local stream then you can attach only audio stream not video stream

(RTCMediaStream )createLocalMediaStream {
RTCMediaStream localStream = [_factory mediaStreamWithLabel:@"ARDAMS"];
  //RTCVideoTrack *localVideoTrack = [self createLocalVideoTrack];
  //if (localVideoTrack) {
  //    [localStream addVideoTrack:localVideoTrack];
  //    _delegate=self;
  //    [_delegate appClient:self didReceiveLocalVideoTrack:localVideoTrack];
  //}

[localStream addAudioTrack:[_factory audioTrackWithID:@"ARDAMSa0"]];
if (_isSpeakerEnabled) [self enableSpeaker];
return localStream;
}


[CT-2430] [Freshness test tags] Please add tags to freshness tests

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
I would like Freshness tests to be tagged and then allow running specific tags using some sort of a select query. This would allow for more granular running of tests.
Describe alternatives you've considered
Discontinue using Freshness tests and instead write a custom macro
Who will this benefit?
Potential benefits:

Tests can be grouped by SLA priority, allowing for better on call alert handling
This would save us compute costs because if we have a long failure period, we don't need to run the tests as often as others
Would speed up development cycles if we can run only tests related to the changes in the feature being implemented

Are you interested in contributing this feature?
I'm new to the code in this project. If someone can point me in the right direction I can make the changes
Anything else?
No response

Thanks for proposing this @mddataminr !
Are you thinking something like this?
models/_sources.yml
version: 2

sources:
  - name: dbt_dougie_fresh
    config:
      tags: ["better_be_fresh"]
    freshness:
      warn_after: {count: 12, period: hour}
      error_after: {count: 24, period: hour}
    loaded_at_field: _etl_loaded_at
    database: postgres
    schema: dbt_dougie_fresh
    tables:
      - name: my_model

Then only check that source (but none others) via its tag like this?
dbt source freshness --select tag:better_be_fresh

I wasn't thinking the tags would be in the config.  I was thinking it'd be
on sources, but I'm good with it in config. Having it in config might open
things up to add more in the future.
In general, that's exactly the functionality I'd be looking for!
On Tue, Apr 18, 2023, 8:47 PM Doug Beatty @.***> wrote:

Thanks for proposing this @mddataminr https://github.com/mddataminr !
Are you thinking something like this?
models/_sources.yml
version: 2
sources:

name: dbt_dougie_fresh
config:
tags: ["better_be_fresh"]
freshness:
warn_after: {count: 12, period: hour}
error_after: {count: 24, period: hour}
loaded_at_field: _etl_loaded_at
database: postgres
schema: dbt_dougie_fresh
tables:

name: my_model

Then only check that source (but none others) via its tag like this?
dbt source freshness --select tag:better_be_fresh
—
Reply to this email directly, view it on GitHub
https://github.com/dbt-labs/dbt-core/issues/7395#issuecomment-1514019085,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNEDBR6R2JBZRPQRVLU5Y3XB472VANCNFSM6AAAAAAXCXXICM
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
This message (and any associated files) is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is confidential and/or proprietary. If you are not the intended
recipient, you are hereby notified that any dissemination, copying or
distribution of this message, or files associated with this message, is
strictly prohibited. If you have received this message in error, please
notify us immediately by replying to the message and deleting it.

@dbeatty10 brilliant example - this actually works if I just defined the tags outside the config dictionary:
version: 2

sources:
  - name: dbt_dougie_fresh
    tags: ["better_be_fresh"]
    freshness:
      warn_after: {count: 12, period: hour}
      error_after: {count: 24, period: hour}
    loaded_at_field: _etl_loaded_at
    database: postgres
    schema: dbt_dougie_fresh
    tables:
      - name: mixtapes

$ dbt source freshness --select tag:better_be_fresh
05:35:50  Running with dbt=1.4.5
...
05:35:51  1 of 1 START freshness of dbt_dougie_fresh.mixtapes ............................ [RUN]

I know that's not totally consistent with how this works for other resource types. As a pleasant surprise, we do actually document that fact (https://docs.getdbt.com/reference/resource-configs/tags#other-resource-types):

Tags can also be applied to sources, exposures, and even specific columns in a resource. These resources do not yet support the config property, so you'll need to specify the tags as a top-level key instead.


Updates for lack of istio-auth.yaml in release

Perf fix for #5899

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ldemailly
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ldemailly]

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

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

prow/e2e-bookInfoTests-v1alpha3.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/e2e-simpleTests.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test e2e-simple

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-bookInfo

prow/e2e-bookInfoTests-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ldemailly: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
9b01211fb24098611683694c8704bb6bfba908a1
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-bookInfo

prow/e2e-bookInfoTests-v1alpha3.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
8f03cd89a4cb15171f21240f2c1cce498f62dfe1
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513, ldemailly
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [ldemailly]

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


Add report an issue

This resolves https://github.com/apache/flagon-useralejs/issues/478 with the following changes

Allows users to access user ale options via browser action with an icon.
Adds a simple issue form to the options page.
Routes the issue information to the top level frame of the currently active tab.
Adds an e2e test case that verifies the points 2 and 3 above.

Example issue log:
{
"pageUrl": "https://www.openstreetmap.org/#map=19/40.46362/-79.93668&layers=D",
"pageTitle": "OpenStreetMap",
"pageReferrer": "",
"browser": {
"browser": "chrome",
"version": "126.0.0"
},
"clientTime":<PHONE_NUMBER>597,
"scrnRes": {
"width": 487,
"height": 857
},
"logType": "custom",
"userAction": true,
"details": {},
"userId": "pluginUser",
"toolVersion": "2.4.0",
"toolName": "useralePlugin",
"useraleVersion": "2.4.0",
"sessionId": "session_1721103156601",
"httpSessionId": "e9ef871810b812bbafdfc232b5fd13a9",
"browserSessionId": "9047683c125414150c97c20753fe97a5",
"issueType": "Bug",
"issueDescription": "A detailed description of the issue.",
"type": "issue"
}

Waiting for issue https://github.com/actions/setup-node/issues/1112 to rerun the CI rather than pinning the npm version lower.

@Jyyjy Tests now pass. Once you address issues, feel free to merge.


GroupParameter and Group (for visa commands that set/get more than one parameter at once)

I have created a separate PR for the GroupParameter and added a basic test

@QCoDeS/core: This PR is a copy and paste from PR #972 (mostly this commit: https://github.com/QCoDeS/Qcodes/pull/972/commits/b5ddabfde0a2ce0ff94cdd191ccb6c1d06d0b1f5).
It is good practice to use git with its features to enable code traceability. Also, as the author of that code I feel uncomfortable with a 'copy and pasting' of my code without attribution.


Documentation on several pages about DownloadPipelineArtifact@2 is at odds with each other.

Under the "Downloading artifacts" section there is this comment.
By default, files are downloaded to $(Pipeline.Workspace)/{artifact}, where artifact is the name of the artifact. The folder structure of the artifact is always preserved.
Then in the "Single artifact" section there is this comment "are downloaded under $(Pipeline.Workspace)/WebApp"

And then later in "Migrating from build artifacts" this is said.
By default, the Download Pipeline Artifact task downloads files to $(Pipeline.Workspace). This is the default and recommended path for all types of artifact
Over on this page https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops  this is said about the "path" variable
Default value: $(Pipeline.Workspace)
The first two comments and the second two comments are at odds with each other.  Experience (usage of the task) shows that the default root is in fact $(Pipeline.Workspace)  This should be fixed either go into the $(Pipeline.Workspace/{artifact} location or the documentation needs to be updated to reflect the reality.  I highly suggest the $(Pipeline.Workspace)/{artifact} location as the $(Pipeline.Workspace) location doesn't have a good way to get cleaned between pipeline usages and if the content isn't from only that pipeline it causes issues that are hard to detect and harder to prevent.

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

ID: 861ce7a5-4fa4-55f1-2c97-46a9cc6a2f66
Version Independent ID: bdf954b9-9bbe-8b34-b674-71ad8153519d
Content: Publish and consume artifacts in pipelines - Azure Pipelines and TFS
Content Source: docs/pipelines/artifacts/pipeline-artifacts.md
Product: devops
Technology: devops-cicd-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@vijayma is author for the other topic linked to in the description.

@ChrisBurgessMS Thank you for your feedback. The new version will go live shortly.


Update tests to use testify/require instead of value comparisons and Fatal

Describe the problem/challenge you have
Currently unit tests and e2e tests are using value comparisons and Fatal which is not very intuitive.
Describe the solution you'd like
We should update the tests to use testify/require which will make them more readable and the output would be very descriptive and concise in case the tests are failing.
Anything else you would like to add:
This has already been done for diff package, and the PR can be found here.
Update the tests for the following packages

[ ] pkg/kapp/diffgraph and pkg/kapp/matcher
[ ] pkg/kapp/resources
[ ] pkg/kapp/resourcemisc
[ ] test/e2e

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Hi @praveenrewar i would like to take this up.

@khan-ajamal Please let us know how much you have progressed on the same.

Hi @praveenrewar @100mik I would like to take up remaining packages - pkg/kapp/resourcemisc and test/e2e

@ShajithaMohammed would you like to make a PR for the test/e2e package?

@ShajithaMohammed would you like to make a PR for the test/e2e package?

Yes! @100mik


Interactions between falco.enabled and falco.falcoSidekick values

Describe the bug
Issues when installing workload cluster caused by the interactions between falco.enabled and falco.falcoSidekick values.
When falco.enabled is set to false, still the falco.falcoSidekick values are mandatory:
[ck8s] Validating wc config
[ck8s] WARN: nfsProvisioner.server is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: nfsProvisioner.path is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: user.createNamespaces is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.resources.limits.cpu is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.resources.limits.memory is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.resources.requests.cpu is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.resources.requests.memory is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.tolerations is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.affinity is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] WARN: falco.falcoSidekick.nodeSelector is not set in /home/runner/work/k8s-compliant-kubernetes/k8s-compliant-kubernetes/compliant-k8s-icap-server-pipeline/wc-config.yaml
[ck8s] Do you want to abort? (y/n):
Provisioning step had errors: Running the cleanup provisioner, if present...
Terminating the source AWS instance...
Cleaning up any extra volumes...
No volumes to clean up, skipping

However, if I set falco.falcoSidekick values, I get the following error:
FAILED RELEASES:
NAME
falcosidekick
in ./01-applications.yaml: failed processing release falcosidekick: command "/usr/local/bin/helm" exited with non-zero status:

PATH:
  /usr/local/bin/helm

ARGS:
  0: helm (4 bytes)
  1: upgrade (7 bytes)
  2: --install (9 bytes)
  3: --reset-values (14 bytes)
  4: falcosidekick (13 bytes)
  5: charts/falcosidekick (20 bytes)
  6: --version (9 bytes)
  7: 0.1.14 (6 bytes)
  8: --timeout (9 bytes)
  9: 600s (4 bytes)
  10: --namespace (11 bytes)
  11: falco (5 bytes)
  12: --values (8 bytes)
  13: /tmp/values907527766 (20 bytes)
  14: --history-max (13 bytes)
  15: 10 (2 bytes)

ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: create: failed to create: namespaces "falco" not found

COMBINED OUTPUT:
  Release "falcosidekick" does not exist. Installing it now.
  Error: create: failed to create: namespaces "falco" not found
exit status 1

To Reproduce
To reproduce the behavior run ./bin/ck8s apply wc with the following falco config:
falco:
    enabled: false
    resources:
        limits:
            cpu: 200m
            memory: 1024Mi
        requests:
            cpu: 100m
            memory: 512Mi
    tolerations:
    -   key: node-role.kubernetes.io/master
        effect: NoSchedule
    affinity: {}
    nodeSelector: {}
    alerts:
        enabled: true
        # supported: alertmanager|slack
        type: alertmanager
        priority: notice
        hostPort: http://kube-prometheus-stack-alertmanager.monitoring:9093
        # if type=slack falco.alerts.slackWebhook must be set in the secrets yaml file
    falcoSidekick:
        resources:
            limits:
                cpu: 20m
                memory: 50Mi
            requests:
                cpu: 10m
                memory: 25Mi

        tolerations: []
        affinity: {}
        nodeSelector: {}

Expected behavior
When falco.enabled is set to false I would expect the falcoSidekick values not to be mandatory.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (add all relevant versions):

Compliant kubernetes apps version v0.10.0

Additional context
Add any other context about the problem here.

We'll wait for #242 to better understand how to move forward with the configuration management epic.

This is fixed with the default/override config split.


Fixed now.


Update 2.3.2

Changes

Bumped version
Changed hash
Removed noarch Python
Skipping on anything below Python 3.7 (3.6 no longer supported)
Updated dependencies
Added license URL
Changed Doc url though it is broken in the way it can't select specific versions so just pointing at latest for now.

Linter check failed, with the following output:
The following problems have been found:
WARNING: /tmp/abs_0ayedl15f2/clone/recipe/meta.yaml:56: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found

Linter check failed, with the following output:
The following problems have been found:
WARNING: /tmp/abs_7d0jo09yxv/clone/recipe/meta.yaml:56: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found

Linter check failed, with the following output:
The following problems have been found:
WARNING: /tmp/abs_fba8656e3_/clone/recipe/meta.yaml:56: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found


Add kfswatch

Kfswatch
Kotlin Multiplatform File System Watcher
https://github.com/irgaly/kfswatch

Thanks! 👍


replaced traditional getter setter with lombok getter setter

Pull Request
What does this PR do?
Fixes #<379>
[issue link] (https://github.com/meilisearch/meilisearch-java/issues/379)
PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Thanks, @ghousek1 for this PR and for contributing to Meilisearch. Sorry for the delay I wasn't available this week. I will try to review it next week.
It seems to me already great!

bors merge


SkipListDataPage>>#hasItems uses isRemoved but should use restoreValue

The problem is that at the level of the page, we have no access to the transaction, so we can not access restored values.
I think we need to first get the level clear. For example, we have SoilIndexIterator>>#nextAssociation #isEmpty taking removed values in account related to it's use of isEmpty, but not in general. For that we have #nextPresentAssociation.
As a first step, I think we need to have the pages just not caring about #isRemoved at all and move it all to the IndexedDictionary

See https://github.com/ApptiveGrid/Soil/pull/518 for the refactoring


How to distinguish series attributes and observation attributes?

I'm likely using the wrong terms here, but I need to loop through the attributes in a DSD and identify which ones are attributes of a series, and which are attributes of an observation. Here is some code that I'm using to do this:
dsd = get_my_dsd()
for attribute in dsd.attributes:
  if attribute.related_to is not None and isinstance(attribute.related_to, sdmx.model._PrimaryMeasureRelationship):
    print('This is an observation attribute.')
  if attribute.related_to is not None and isinstance(attribute.related_to, sdmx.model.DimensionRelationship):
    print('This is a series attribute.')

I'm sure there is a better way, especially since that is using internals of the API. Any advice on a more proper way to do this would be greatly appreciated!

That's basically it!
The statement "DataAttribute  is attached to a series" is equivalent to "A.related_to is an instance of DimensionRelationship." That's how the standard/IM specifies that relationship. The package doesn't add any shorthand for this outside of what is in the standards.
I see from the leading underscore on _PrimaryMeasureRelationship that you are using 2.0.1. So one easier way to do that comparison is:
…and attribute.related_to is sdmx.model.PrimaryMeasureRelationship

The is operator works because (like Python None) there is only one object instance of this class. The same is not true of DimensionRelationship, because each instance of that class has different properties.
If you want to make the code a little shorter, you can do things like this:
# Do this to make access to model classes shorter
import sdmx.model as m

dsd = get_my_dsd()
attr_info = dict()

for a in dsd.attributes:
    if a.related_to is None:
        value = "none"
    elif a.related_to is m.PrimaryMeasureRelationship:
        value = "observation"
    elif isinstance(a.related_to, m.DimensionRelationship):
        value = "series"
    attr_info[a.id] = value

or even this, although I'd only recommend this if you find yourself typing the class names dozens of times:
from sdmx.model import (
    # Rename on import
    PrimaryMeasureRelationship as PMR,
    DimensionRelationship as DR
)
…

Keep in mind that GroupRelationship and NoSpecifiedRelationship also exist. I also wonder if NoSpecifiedRelationship should be the default, instead of None 🤔 …will check.

I also wonder if NoSpecifiedRelationship should be the default, instead of None thinking …will check.

Do you have particular example (meta)data in which attributes have related_to is None?

Thanks! I am much happier to use is PrimaryMeasureRelationship -- the underscore was my main concern. :)
Also appreciate the reference to the IM - I will check that out.
I just added some debug statements, and it turns out that the None never actually comes up - so I must have added that unnecessarily.
Thanks again! My question is definitely answered so I'll close this.


DaphneDSL: Function to determine the type of an object

Similar to R's typeof(), it would be nice to have a function to check the object type in DaphneDSL. The output can be a pure string, meaning it is a feature to get information and not to be used in casting operations.
Some possible examples could be:
f = 5.0;
typeof(f); # --> f64
d = reshape(seq(1.0,5.0,1.0),5,1);
typeof(d1); # --> matrix double
i = reshape(seq(1,5,1),1,5);
typeof(i); # --> matrix int64

This is useful when working with type casting. As printing alone does not provide enough information.

I agree, this would be a useful feature, especially while debugging DaphneDSL scripts. We will implement it.

This is actually an interesting "good first issue", which provides an opportunity to take a tour through various layers of the system. Here are a few suggestions on addressing it.
Ultimately, we want a DaphneDSL built-in function typeof, which returns the data/value type of its single argument as a string. I propose it should return the physical data type (e.g., DenseMatrix/CSRMatrix) instead of the logical data type (e.g., matrix), since that will be more useful for debugging. A few examples for possible outputs: f64, si32, str, DenseMatrix<f64>, CSRMatrix<ui8>, Frame<si32, f64, ui8>.
Some hints on required changes:

DaphneIR

A new DaphneIR operation (see src/ir/daphneir/DaphneOps.td), say TypeOfOp, which gets a value of any matrix, frame, or scalar type as input, and yields a string as output.

DaphneDSL

A new built-in function, say typeof in DaphneDSL (see src/parser/daphnedsl/DaphneDSLBuiltins.cpp), which produces a TypeOfOp in the IR.

Runtime

A new kernel for TypeOfOp in src/runtime/local/kernels/. See the developer documentation on implementing a new kernel in doc/development/ImplementBuiltinKernel.md. We need a kernel-struct, a convenience function, and specializations for all possible data/value types.
To concisely handle the combinations of data and value types, the specializations for DenseMatrix, CSRMatrix, and Frame could call those for the scalar types to get the string representation of their value/column type(s).
Note that for DenseMatrix and CSRMatrix, the value type is a template parameter, while for Frame, the value types of the columns must be interpreted at runtime (see src/runtime/local/datastructures/Frame.h::getColumnType()).
Furthermore, the new kernel must be registered in src/runtime/local/kernels/kernels.json (with instantiations for all data/value types); these are the variants which get precompiled and are then available from DaphneDSL.
Existing kernels can serve as a blueprint. For instance, concat (src/runtime/local/kernels/Concat.h) also returns a string.

Moreover, it would be great to:

Add some test cases. I think script-level test cases are most useful here. They can be found in test/api/cli/. The basic idea is to provide pairs of a DaphneDSL script and a plain text file with the expected output. A cpp-file is needed which invokes the necessary test helper functions like compareDaphneToRef(), but there are numerous examples in the existing script-level test cases. Unit test cases, which directly call the kernel in C++ could also be added (but that's not as important in this case, IMHO). They reside in test/runtime/local/kernels/.
Update the documentation (DaphneDSL built-in functions).

Search for (see #357) in the code base for some spots where the typeof() function could be directly useful.

Could you please assign this issue to me?

Sure, go ahead!

I started implementing the typeof kernel for scalars only first before adding support for other data types, but unfortunately, I can't seem to resolve a mistake in my typeof.h code.
Recent branch which fails
More specifically, the compiler doesn't seem to like the way i call void typeof(char *& res, const DTArg * arg, DCTX(ctx)).
As the Issue description requested, the function should return a string, so I implemented the kernel template as follows:
    {
        "kernelTemplate": {
            "header": "TypeOf.h",
            "opName": "typeof",
            "returnType": "void",
            "templateParams": [
                {
                    "name": "DTArg",
                    "isDataType": true
                }
            ],
            "runtimeParams": [
                {
                    "type": "char *&",
                    "name": "res"
                },
                {
                    "type": "const DTArg *",
                    "name": "arg"
                }
            ]
        },
        "instantiations": [
            ["size_t"],
            ["double"],
            ["float"],
            ["int64_t"],
            ["int32_t"],
            ["int8_t"],
            ["uint64_t"],
            ["uint32_t"],
            ["uint8_t"],
            ["bool"]
        ]
    },

As of my understanding, this "initializes" the typeof function with a variable argument and a result char/string, which has to be taken as an input by the template functions and then get depending on the datatype in typeof.h.
I've tried adjusting all the other files correlated to the typeof kernel, but always get a similar error message to this: Error Message Gist
This is probably quite a trivial mistake on my end but I would really appreciate a small pointer to my mistake to avoid wasting any more time on this error and continue implementing the Matrices/Frames as well.

Hi @Garic152, at a quick glance, the way you specify the result type looks good to me (and is consistent with, e.g., the concat-kernel). I think the problem is that the C++ compiler gets confused by the name of the kernel's convenience function, as typeof (all lower case) is an operator in C. Try renaming the function to typeOf (upper-case O) (in TypeOf.h and kernels.json) (that would also be more consistent with the CamelCasing in the kernel struct name).

After some refactoring of the TypeOf scalar function, everything should work fine now and my commits have been pushed.
For script-level testing, I initially thought about including the TypeOf test in an existing test file.
After noticing that creating a rand() matrix with sparsity set to 0.0 does not make the compiler treat it as a sparse matrix, I created a new TypeOfTest.cpp file to not change the structure of the existing test files too much.
The new test file uses a second test case with the --set-matrix-repr=1 command-line argument to handle both dense and sparse matrices.
The sparse matrix test only tests for si64 and f64 as the other datatypes were not supported, please let me know if I misread something there.


doc: backqoute cloud-init in doc/cloud-init.md

Signed-off-by: My Name<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the allow list.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10823/

Signed-off-by doesn't appear to be valid.

Oh, sorry. I force pushed a fixed commit.


Submit answers to assignment-2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Add answers to 02_activities/assignments/assignment_2.ipynb
What did you learn from the changes you have made?
Creating pipelines, column transformers, and evaluating performance programmatically.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
None, same with the previous assignment, was just trying my best to understand the initial concepts and for now could only apply what I learned.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Yes, I had trouble understanding some of the questions, fortunately, I was able to join the office hours on Saturday and asked for clarifications.
The deliverables are too much for this module for the short deadline, and having to schedule it while working, but it is a very fun and challenging course. I am mostly able to follow the programming parts due to my background, but there are a lot of concepts. I would have preferred to have advanced readings before even starting this boot camp, I think that would have made the lectures a lot more interactive for me as I would not feel like I have to keep up.
How were these changes tested?
Run all and saw no errors, as for the correctness of my answers I am less certain.
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A2 complete


Graphviz always enabled

While looking at the code i found that graphviz is always enabled:
https://github.com/structurizr/onpremises/blob/main/src/main/java/com/structurizr/onpremises/util/Configuration.java#L44
Is this by design? In that case the documentation should be updated.

Is this by design?

Yes, if the on-premises installation can find dot, it marks Graphviz as being enabled automatically.

In that case the documentation should be updated.

Yes, the on-premises installation switched to being the open source version ~1 week ago, and there's a batch of documentation updates coming to reflect some changes.

Thank you for the quick reply 👍


https://httpbin.org/ down

FYI- Looks like https://httpbin.org/ is giving a 503 error.

Looks like it’s back up. Closing this issue. Thanks!


Trust Kotlin compiler to identify unsafe casts

UnsafeCast now trusts the Kotlin compiler to identify casts that won't succeed. This should eliminate false positives though the detection rate for actual issues will drop, as some "safe" casts that the compiler cannot always tell will fail may still cause problems.
Now requires type/symbol resolution enabled in the detekt run for the rule to work.
Fixes #1601
Fixes #1137 (I couldn't replicate the original issue by just removing the suppression lines in ThresholdedCodeSmellAssert and rerunning CI in AppVeyor, though this should resolve it anyway).

Blocked by #1880

Codecov Report

Merging #1879 into master will decrease coverage by <.01%.
The diff coverage is 51.85%.

@@             Coverage Diff              @@
##             master    #1879      +/-   ##
============================================
- Coverage     80.45%   80.44%   -0.01%
- Complexity     1968     1969       +1
============================================
  Files           326      326
  Lines          5510     5513       +3
  Branches       1022     1019       -3
============================================
+ Hits           4433     4435       +2
  Misses          543      543
- Partials        534      535       +1

Impacted Files
Coverage Δ
Complexity Δ

...turbosch/detekt/rules/KtClassOrObjectExtensions.kt
66.66% <ø> (-8.34%)
0 <0> (ø)

...gitlab/arturbosch/detekt/rules/style/MayBeConst.kt
75% <0%> (-2.28%)
40 <2> (-1)

...rturbosch/detekt/rules/style/UnusedPrivateClass.kt
67.85% <0%> (ø)
4 <0> (ø)
:arrow_down:

...bosch/detekt/rules/bugs/EqualsWithHashCodeExist.kt
89.47% <0%> (+3.75%)
9 <3> (ø)
:arrow_down:

...turbosch/detekt/rules/style/UnusedPrivateMember.kt
93.47% <100%> (-0.08%)
5 <0> (ø)

...itlab/arturbosch/detekt/rules/style/ReturnCount.kt
87.75% <100%> (+2.04%)
20 <0> (ø)
:arrow_down:

...etekt/rules/style/FunctionOnlyReturningConstant.kt
92% <100%> (-0.31%)
27 <0> (-1)

...sch/detekt/rules/naming/MatchingDeclarationName.kt
92.85% <100%> (+7.14%)
7 <0> (ø)
:arrow_down:

.../gitlab/arturbosch/detekt/rules/bugs/UnsafeCast.kt
75% <40%> (-13.89%)
4 <1> (-1)

...sch/detekt/rules/style/UnnecessaryAbstractClass.kt
91.17% <50%> (+2.28%)
15 <0> (ø)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Introduce QT GUI

This PR introduces QT-based GUI

You can see a "play-around" video here - https://www.youtube.com/watch?v=sCZpsFQBffk
Some of the options you can see disabled, as changing these requires demo script restart - which will be added (in todos), either in this PR or in a separate one if we'd like to split these
Together with this PR, the demo code itself got refactored - it's now class-based with the main class called Demo. This will allow us to import and modify the demo code or specify callbacks easier - but I didn't put too much into this aspect yet as it was not the core aspect of this PR
The change was required since the demo script now runs in a separate thread and shares its memory with main thread.
TODO:

Tested on Mac, will need to test it on Ubuntu and Windows too before merge
Investigate FPS limitations (it's pretty poor on video, have to check if it's due to USB speed or QT Signals speed)
letterboxing instead of frame resize
enable options that require demo restart

@szabi-luxonis addressed the issues - I didn't see the issue on my side with the placement, but moved these values a bit lower just in case.


Detect false offline when using VPN

Hi,
The package works great with regular internet connection. However, when using VPN, the package detect back and forth offline and online. Any update to fix the issue ?
Thank You
Adalidda.com

ah interesting! i hadn't seen that before. are you using polling?

Yes, my webapp used apollo graphql mongodb. But I just discover that the above issue is specific to Free Vpn plug in for Google Chrome. If I used  SoftEther VPN client manager, the package works fine under VPN.
Thank You for this great package.
Adalidda.com

Thank you for looking into it! Could you post a link to the specific Chrome plug-in? That way other users can find this discussion.

Plug in name: Free VPN - the fastest VPN in the house
The link to the plug in is https://chrome.google.com/webstore/detail/free-vpn-the-fastest-vpn/enaobbodnmbpecahhojidoiblhmnohef
I think that you should make the detect timeout an optional parameter, so we can choose after how many ms, the  or  should be activate. The current timeout seems too fast so that may generate false detection of offline.
Thank You
Adalidda.com

@chrisbolin I might facing the same issue.
It keeps going on and off.
However, I am getting this error message, everytime it checks for connection (my interval is set to 3000 ms)
Access to XMLHttpRequest at 'https://ipv4.icanhazip.com/' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I'm having the same issue with pinging https://google.com on work environments. Can we have configs to pass CORS headers ?  or mode: 'no-cors' ?
cc @chrisbolin

@Satsh24 , can you confirm that header resolves your problem? Possibly fork and confirm this? I can't repro when I am hitting the domain from my http://localhost:3000. Are you using a VPN like the others below? I believe this may be causing your CORS issue
If this is resolved by the appropriate cors header, I am more than happy to include the header props in V3!

@Satsh24 , can you confirm that header resolves your problem? Possibly fork and confirm this? I can't repro when I am hitting the domain from my http://localhost:3000. Are you using a VPN like the others below? I believe this may be causing your CORS issue
If this is resolved by the appropriate cors header, I am more than happy to include the header props in V3!

@cwise89 No that didn’t work out well for me. My issue is different, I have restrictions to hit outside api’s so I couldn’t  use this package. But I do think it will be good if we can have an async method accepted as props so we can do whatever we want in that async method. Or accept the url as a prop.

@cwise89 No that didn’t work out well for me. My issue is different, I have restrictions to hit outside api’s so I couldn’t  use this package. But I do think it will be good if we can have an async method accepted as props so we can do whatever we want in that async method. Or accept the url as a prop.

Or accept the url as a prop.

Done! :) https://github.com/cwise89/react-detect-offline#props

Or accept the url as a prop.

Done! :) https://github.com/cwise89/react-detect-offline#props


cmd/go: cannot test multiple sub-benchmarks

What version of Go are you using (go version)?

$ go version
go version go1.17 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOCACHE="/home/ME/.cache/go-build"
GOENV="/home/ME/.config/go/env"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOMODCACHE="/home/ME/go/pkg/mod"
GOOS="linux"
GOPATH="/home/ME/go"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/ME/sdk/go1.17"
GOSUMDB="sum.golang.org"
GOTOOLDIR="/home/ME/sdk/go1.17/pkg/tool/linux_amd64"
GOVERSION="go1.17"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/ME/src/runway/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3678785145=/tmp/go-build -gno-record-gcc-switches"

What did you do?
package bench_test

import "testing"

func BenchmarkFoo(b *testing.B) {
	b.Run("Bar", func(b *testing.B) {})
	b.Run("Baz", func(b *testing.B) {})
	b.Run("Bat", func(b *testing.B) {})
}

go test -run=- -bench='^(BenchmarkFoo/Bar|BenchmarkFoo/Baz)$'`

What did you expect to see?
Go executes the sub-benchmarks that match the pattern.
What did you see instead?
Go runs nothing:
PASS
ok      gitlab.com/eukano/runway        0.001s

Here's a workaround:
benchtest $ go test -bench='^BenchmarkFoo/(Baz|Bar)$' -count=4 -v
goos: darwin
goarch: amd64
pkg: test
cpu: Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
BenchmarkFoo
BenchmarkFoo/Bar
BenchmarkFoo/Bar-4<PHONE_NUMBER>	         0.0000001 ns/op
BenchmarkFoo/Bar-4<PHONE_NUMBER>	         0.0000002 ns/op
BenchmarkFoo/Bar-4<PHONE_NUMBER>	         0.0000001 ns/op
BenchmarkFoo/Bar-4<PHONE_NUMBER>	         0.0000001 ns/op
BenchmarkFoo/Baz
BenchmarkFoo/Baz-4<PHONE_NUMBER>	         0.0000002 ns/op
BenchmarkFoo/Baz-4<PHONE_NUMBER>	         0.0000001 ns/op
BenchmarkFoo/Baz-4<PHONE_NUMBER>	         0.0000002 ns/op
BenchmarkFoo/Baz-4<PHONE_NUMBER>	         0.0000002 ns/op
PASS
ok  	test	0.114s

I think this is working as intended though. Running go help testflag reveals:
	-bench regexp
	    Run only those benchmarks matching a regular expression.
	    By default, no benchmarks are run.
	    To run all benchmarks, use '-bench .' or '-bench=.'.
	    The regular expression is split by unbracketed slash (/)
	    characters into a sequence of regular expressions, and each
	    part of a benchmark's identifier must match the corresponding
	    element in the sequence, if any. Possible parents of matches
	    are run with b.N=1 to identify sub-benchmarks. For example,
	    given -bench=X/Y, top-level benchmarks matching X are run
	    with b.N=1 to find any sub-benchmarks matching Y, which are
	    then run in full.

Note that the regexp is split by "/", hence why it doesn't work. I admit this is somewhat hidden, though. Closing for now, we should probably have another issue about surfacing this better, somehow, if it doesn't exist yet.

@mknyszek closed on purpose or accident?

On purpose. See the end of my last message.

Ah , should be dup of #39904

@mknyszek I’m working on vscode-go, so I need an automated way of doing this. What I really need is a flag that lets me specify a list of tests and sub tests. The regex syntax is problematic for this case.

@seankhliao Thanks for finding that!
@firelizzard18 Looking at it briefly, it appears that #39904 is close to what you want (maybe even exactly), and it looks like that proposal was accepted a year ago. AFAICT it just needs someone to implement it.


Bullet component order matters

If I modify the example and move the bullet component to be the last attribute, the gun does not shoot.
Original, works fine:
<a-entity bullet geometry="primitive: sphere; radius: 0.1" material="color: orange">

Does not work:
<a-entity geometry="primitive: sphere; radius: 0.1" material="color: orange" bullet>

I just realized this. This is a major issue that should be documented.


Firmware Version: 0x15= (unknown)

Hey,
problem with 0x12 is well-know, but what about 0x15? Has anyone heard about it?
I bought RC522 with chip NXT TXD6080, connected to nodemcu v3, all connections looks fine:
SDA -> D2
SCK -> D5
MOSI -> D7
MISO ->D6
RST -> D4
and 3.3v with GND
after then i run firmware_check example and this show me version 0x15 unknow.
Any idea?

Looks like this bad board: https://github.com/miguelbalboa/rfid/issues/428#issuecomment-429471060

Any idea?

Contact seller / try to refund.

Hi @adaiwa;
Is the board working OK with other, functional examples?
If yes, I suppose the firmware_check example needs an update, to include the new board.
Just my 2 (euro)cents.


HDDS-2665. Merge master to HDDS-2665-ofs branch

What changes were proposed in this pull request?
Merge master to HDDS-2665-ofs branch to keep the feature branch up-to-date. And reverted HDDS-2188 code change from OFS classes (since it is also reverted in master) in order for this branch to pass compilation.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2665
How was this patch tested?
Compilation passed locally. ozone fs -mkdir -p ofs://om/vol1/buc2/dir3/ works in docker-compose cluster.

Later we (Xiaoyu and I) realized that hadoop-ozone PRs are squash only. So merge couldn't be done with PR now. Anyway it should be fixed soon (by reverting this merge and then merge properly, keeping all the individual commits from master).


How can I implement one user get one record?

Hello,
I want to build a system like:

one user can ask many questions.
one answer can get only one question, and other users cannot have this question.

How can I implement it with parse object? Please point me a start point.
Thank you.

Please check out the docs section regarding relational data for seeing how you would go about this.


Updating deployment to fix resources positioning in deployment file

This is to fix an issue that's relevant only in the context of having resources set for kube-monkey
PROBLEM
When running helm install --name my-release kubemonkey it returns
unable to CREATE Deployment: no spec.template.spec.containers[*].resources set,.
WHY?
This is because the resources appear under volume as per the current deployment definition.
FIX
This is to update the deployment so that it looks like spec -> containers -> resources
NOTE
An instance of kube-monkey has been deployed successfully with modified deployment

Nice catch. Thanks for fixing this.
@prageethw As the original author of the helm charts, could you review this as well?


[Send Bitcoin - Bump fee] Panic exception

App version: v0.1.92
In Testnet

Make a transaction
Goto Bump fee of that txn page
Set insanely high feerate, like 10000
Click 'Send Txn'

Expected:
There should be a max validation for fee rate field, which doesnt allow txn sending with high rates like this
Observed:
Getting 'Panic Exception'
After which can't even send a new regular transaction between other wallets in testnet.
PS: Restarting the app fixes the issue. Can then send any txns

For now, if you see Panic Exception its most of the time an Electrum error. You have to goto settings and resave electrum settings.
Related to #127

Added max fee rate validation.


Resolves #151 Issue with scatter_ppm

Make the scatter_ppm parameter robust to having >1 wavelength channel being fitted. Individual scatter_ppm params are created and used for each channel.

right, I'll get on that :)

@taylorbell57 I just put it in and tested for lsq and dynesty. I also put it in for lmfit but it does not seem to work either way.

@cpiaulet can you merge the main branch (presumably the remote/main branch for you) into your branch to resolve the merge conflicts and so that I can test out your code?

done! I had only merged it on the date I opened the pull request :)


different result between IPAddress and IPAddr when call to_i

>> require 'ipaddr'
>> require 'ipaddress'
>> IPAddr.new("<IP_ADDRESS>/24").to_i
=><PHONE_NUMBER>
>> IPAddress("<IP_ADDRESS>/24").to_i
=><PHONE_NUMBER>

Looks like the subnet affects IPAddr and it returns the network IP <IP_ADDRESS> and not the IP address.
>> IPAddr.new("<IP_ADDRESS>").to_i
=><PHONE_NUMBER>

I would consider<PHONE_NUMBER> to be the expected result as the subnet shouldn't matter when converting an IP address to an integer.


[google_maps_flutter] Dummy map initialization

Description
MapView initialization takes a lot of time. This is well know issue. Cause before getMapAsync you should call onCreate and it is takes a lot of time.
I made time measurements:
private static int attempt = 0;

  GoogleMapController build(
      int id, Context context, AtomicInteger state, PluginRegistry.Registrar registrar) {
    final GoogleMapController controller =
        new GoogleMapController(id, context, state, registrar, options);
    long startTime = System.currentTimeMillis();
    controller.init();
    Log.e("!!!","Attempt " + attempt + ". Init takes " + (System.currentTimeMillis() - startTime) + "ms");
    attempt++;
 ...

On my OnePlus 6T I have this results:
Attempt 0. Init takes 374ms
Attempt 1. Init takes 54ms
Attempt 2. Init takes 60ms
Attempt 3. Init takes 49ms
Attempt 4. Init takes 52ms

Attempt 0. Init takes 400ms
Attempt 1. Init takes 51ms
Attempt 2. Init takes 57ms
Attempt 3. Init takes 50ms
Attempt 4. Init takes 66ms

Attempt 0. Init takes 337ms
Attempt 1. Init takes 63ms
Attempt 2. Init takes 51ms
Attempt 3. Init takes 41ms
Attempt 4. Init takes 47ms

So, first initialization takes 300-400ms on UI thread.
I made code that creates dummy map fragment. This fragment is initialized asynchronously. Thus, upon the first call of the map, all services will be already initialized (unless of course the map is the application’s start screen)
In the future, it’s worth switching to MapFragment instead of MapViev. Or wait for map library updates
Related Issues
https://github.com/flutter/flutter/issues/28493
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@otopba I wonder what would people do if they are working on a pure Android App. Do they also call certain method to "warm up" the google map service?

@otopba I wonder what would people do if they are working on a pure Android App. Do they also call certain method to "warm up" the google map service?

@cyanglaz
Yeah. This is well know issue.
https://stackoverflow.com/questions/26178212/first-launch-of-activity-with-google-maps-is-very-slow
https://stackoverflow.com/questions/26265526/what-makes-my-map-fragment-loading-slow
And many others questions on stackoverflow

Ok, so this is a showstopper for Google Maps with Flutter. What is Google doing about it?

Waiting for this fix a lot

The refactor has landed.

@ditman
Fixed

@amirh @ditman
friendly ping

I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA.

I'm going to close the PR because the CLA is not signed. Feel free to ping me when the CLA is signed and I'll re-open the PR. Or you can open a new PR after signing the CLA.

Waiting on this to go through, such a massive initialization time is a real problem for a lot of people.


hint from server when a continue as new is recommanded

It would be great if server could put a hint on every decision task started event that a continueAsNew is recommended based on history size/count.
Be sure that the transient decision started event should have the same hint as the actual event when it is write to history otherwise the replay will break on client side.
Currently, client side needs extra logic to control when to do continue as new and change that logic on client side is easy to break determinism.

This will be very useful for autobots.

Duplicate of #174


[tw] Remove "What it is" section

Follow this discussion https://github.com/cncf/glossary/issues/2575

Assign me

/assign

@tico88612 can i start working on this??