Add machine validation check for unsigned software executing

Lee Holmes' tweet points out that PowerShell can easily audit whether unsigned software is executing on the system.
gps | gi -ea ig | Get-AuthenticodeSignature | Group {$_.SignerCertificate.Subject } | Select Count,Name

This could be a separate machine validation check, or an enhancement to the application whitelisting check (AU10004).

It looks like Get-AuthenticodeSignature will report many Microsoft OS executables as unsigned, at least on Windows versions before Win10/Server2016 from my quick testing. This will require more research to avoid false positives.

You're correct, the AppX packages and packages authenticated through security catalog files present a problem challenge here.  Get-AuthenticodeSignature only supports embedded signatures at present.  There is a PowerShell UserVoice item to address catalog signatures, but does not have a lot of votes, so we can't count on it getting implemented any time soon.
One possibility is using C# via Add-Type if Constrained Language Mode is not in use.  This may actually be a good trade off since Constrained Language Mode should only be activated if they have an Application Whitelisting policy defined, in which case they are less likely to permit execution of unsigned code anyway.

Get-AuthenticodeSignature supports catalog files in PSv5. AppX is still not supported for PSv3, PSv4 or PSv5, but these apps are in a predictable location %programfiles%\WindowsApps, so for the purpose of this check, we can ignore anything in that location. Similarly, in PSv3/PSv4 we can ignore anything in %windir%\system32. The main goal of this check is to highlight unsigned (unverified) applications executing, not to identify malware or tampered files.


COMP: Fix assertion condition. It failed to compile in Debug mode.

I probably had m_Buffer as an std::vector at some point.


Feature request: custom content types

The mime type I'm looking for is not listed: audio/m4a. There's only audio/x-m4a which doesn't allow me to upload some files. I don't want to make any processing before storing the file. That said, I was wondering if there's a way to add custom mime types to a file field. I can only search, and if the type is not in that list, I'm lost.

List with all supported MIME types could be found in https://github.com/gabriel-vasile/mimetype/blob/master/supported_mimes.md.
There is no mechanism to add custom mime types. Instead it will be better to file an issue or PR in the upstream repo - https://github.com/gabriel-vasile. To be honest I'm not sure what is difference between audio/mp4, audio/x-m4a, audio/m4a. All as far as I understand represent some audio data within MPEG4 container and they may not have distinct (or at least not easily) bytes signature.


OAK-10147: Many move operations may consume a lot of memory

Introduce new implementation that does not reference destination parent MutableTree
Test with feature flag to enable classic move implementation

There are many build failures for various modules. Looks like an infra issue.
Created https://issues.apache.org/jira/browse/INFRA-24662

I fear I do not know enough about oak-core internals to give a useful review here.

That's fine. I just thought you might be interested because you worked on a FileVault memory issue that is very likely caused by this problem.

If I only had a test case ore benchmark :-)

What I noticed is that there are now two separate tests, ClassicMoveTest and MoveTest - the former on ClassicMove, the latter on NeoMove. What about combining those and running it against classic and neo (eg via a rule)?

Good point. I'll combine them and create a parameterized test.

a potential bug in the old code that NeoMove now fixes as a side-effect?

Yes, I noticed this as well, which is the reason why ClassicMoveTest#moveMoved() is marked as ignored.

Created https://issues.apache.org/jira/browse/OAK-10293 for the test failure.


Describe how to specify external app.properties file for UberJAR deployment

See https://www.cuba-platform.com/discuss/t/hard-to-configure-uberjar/7619

We need to think it out.


Improve "wrong output" error.

The error message for an improperly formatted build script output was a bit abrupt and unhelpful.  This adds some more details to the error message.

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit c4e92ac69a0bcc1c8631d00acbb378c3c81d5b79 has been approved by alexcrichton

:broken_heart: Test failed - checks-actions

This can probably be retried now, since #9906 has been merged.

@bors: retry

@bors retry

:hourglass: Testing commit c4e92ac69a0bcc1c8631d00acbb378c3c81d5b79 with merge f7ca659fd3a2e46f8681f762d6252853bd45d082...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing f7ca659fd3a2e46f8681f762d6252853bd45d082 to master...


[FEEDBACK]: No Package.json from running npm install @web5/api

Type
Content Issue
Feedback
Tell us what you're seeing!
Hello, in your documentation for quickstart, I had to run npm init to get a package.json file, simply running npm install @web5/api did not create a package.json file for me.
Screenshots
Paste relevant images or screenshots here
developer.tbd.website URL
https://developer.tbd.website/docs/web5/quickstart/
Browser
No response
Relevant log output
No response

@JenErsoz-Jones Thank you so much I will get this updated as well!

@EbonyLouis thank you

resolved


Logo is cutoff on Web docs

responsive html tags are being used but can't seem to figure out why it is not working?

I don't think this is that important


CreateFromMediaCaptureAsync Fails

I'm trying to capture an image from a running camera preview.
    public async Task InitializeCamera()
    {
        var cameraID = await GetCameraID(Windows.Devices.Enumeration.Panel.Back);
        var settings = new MediaCaptureInitializationSettings
        {
            StreamingCaptureMode = StreamingCaptureMode.Video,
            VideoDeviceId = cameraID.Id,
        };

        _mediaCapture = new MediaCapture();
        await _mediaCapture.InitializeAsync(settings);
        _mediaCapture.SetPreviewRotation(VideoRotation.Clockwise90Degrees);

        Camera.Source = _mediaCapture;
        await _mediaCapture.StartPreviewAsync();

        MediaReader capture = await MediaReader.CreateFromMediaCaptureAsync(_mediaCapture);
        // ...
    }

But when calling CreateFromMediaCaptureAsync an exception is thrown:

An exception of type 'System.Exception' occurred in mscorlib.ni.dll but was not handled in user code
Additional information: The request is invalid in the current state. (Exception from HRESULT: 0xC00D36B2)

I don't get an exception when i uncomment the StartPreviewAsync line. But then i also get no preview...

A couple of ways that should address that:

Have MediaReader get frames from MediaCapture's record stream (instead of preview stream) by initializing MediaReader with MediaReaderCaptureInitializationSettings.CaptureStreamType = CaptureStreamType.Record
Have the app manage the preview frame loop. See MediaCaptureReaderTestApp.MainPage.VideoLoop in the same repo for an example.


New test: accepted_range

This is a:

[ ] bug fix PR with no breaking changes (please change the base branch to main)
[x] new functionality
[ ] a breaking change

Description & motivation
This adds an accepted_range test, allowing users to ensure things like that a percentage is between 0 and 100, or that all accounts were created in the past. Technically, if you made a test with a min_value of 'A' and max_value of '[', I guess you could also check that all names started with a capital letter, but you shouldn't.
I'm open to discussion on the min_value and max_value arguments. I'm tempted to call them greater_than and less_than because I feel like that might make more sense when you're not comparing a scalar number, but I think it's friendlier for the most common case right now.
Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[x] Redshift
[ ] Snowflake

[x] I have updated the README.md (if applicable)
[x] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to the changelog

This looks :chefs_kiss:. Lol.
I will test it out later this week :)

@clrcrl README mistakes are fixed, thanks for catching them! I can see the CI tests failed but can't log into CircleCI to see why - are they mine?

Kickin' off those tests now!

Thank you for the great new feeature. I look forward to using it.
BTW, @clrcrl do you have a timeline to release dbt-utils==0.7.0?

We'll be doing utils 0.7.0 in line with dbt-core 0.19.0, which I think is coming up in mid-December.
In the meantime, you can either:
(a) install 0.7.0 by including this in your packages.yml:
packages:
- git: https://github.com/fishtown-analytics/dbt-utils.git
  revision: dev/0.7.0

(b) copying this macro into your own project (in the macros directory). Note, you won't need to prefix the test name with dbt_utils in that case.
FWIW, I'd go with (b), just in case we introduce a breaking change into this branch

Thank you for sharing the knowledge. I will try it out.

@clrcrl Please let me know when 0.7.0 is out, if you know. If there is any blocker and anything I can contribute to, please let me know as well. Thanks.


will be python plot shown as can be done by usning X11

will be python plot shown
as can be done by usning X11
for example
import matplotlib.pyplot as plt
generate data
x = [1, 2, 3, 4, 5]
y = [2, 4, 6, 8, 10]
plot data
plt.plot(x, y)
plt.title('Simple Plot')
plt.xlabel('X Axis')
plt.ylabel('Y Axis')
show plot
plt.show()

Hi, I believe this feature request is more appropriate for the code-server project:
https://github.com/coder/code-server
Thanks!


Harpoon2: Unset a keymap for ui harpoon window

Hi,
I don't think there's currently a native way to unset the escape key from closing the UI. I spam my escape sometimes, which can cause some accidental closes.
My current workaround is this (did not work without defer_fn):
vim.api.nvim_create_autocmd("FileType", {
	desc = "Don't close harpoon menu with 'esc'",
	pattern = { "harpoon" },
	callback = function()
		vim.defer_fn(function()
			vim.keymap.set("n", "<esc>", "", { silent = true, buffer = true })
		end, 100)
	end,
})

I think these could be made optional or even configurable if you'd want to support this:
https://github.com/ThePrimeagen/harpoon/blob/9031087ff1b18d0a34bd664719ec66cc8be1efd8/lua/harpoon/buffer.lua#L52-L62
I can look into implementing this if this is something you'd like.
If not, you can close the issue, as I have a workaround for myself.

I'm thinking about pulling out this code anyways and creating an extension for people to use.
That way this isn't the default behavior.

I should have a night in the next 10 days to work on this.

I came here to report a symptom of the same(?) issue: I accidentally opened netrw in the harpoon UI.

This is a cleaner solution for this issue (so the opposite of what you'll actually configure in the end I guess) :smile: :
harpoon:extend({
	UI_CREATE = function(cx)
		vim.keymap.set("n", "<esc>", "", { buffer = cx.bufnr })
	end,
})

That's the goal, I'm going to create an extensions part of harpoon for the commonly used ones
This seems like a good place.


HTTPS/SSL

It seems that it's technically impossible. We can't get a certificate from any CA for * domain.

It's possible: https://security.stackexchange.com/questions/113267/can-i-read-the-domain-name-from-https-before-ssl-handshake


parser error: relation member

Just tried out this package for fun, unfortunately I got a ParseError when loading an .osm map
Error { repr: Simple(ParseError), message: Some("Line 4326: The \'type\' attribute contains invalid data \'relation\'.") }

The corresponding line is:
 <relation id="442084" visible="true" version="229" changeset="57893707" timestamp="2018-04-07T15:21:19Z" user="xificurk" uid="229590">

and this block later contains entries like:
<member type="relation" ref="442061" role="subarea"/>

which I suspect create this issue.

Changing the string "rel" to "relation" in xml/reader.rs seems to do the trick.
Here's the diff:
diff --git a/src/osm_io/xml/reader.rs b/src/osm_io/xml/reader.rs
index 9bbebe8..2486de6 100644
--- a/src/osm_io/xml/reader.rs
+++ b/src/osm_io/xml/reader.rs
@@ -156,7 +156,7 @@ impl Attributes {
         match mem_type.as_ref() {
             "node" => Ok(RelationMember::Node(mem_ref, mem_role.to_owned())),
             "way" => Ok(RelationMember::Way(mem_ref, mem_role.to_owned())),
-            "rel" => Ok(RelationMember::Relation(mem_ref, mem_role.to_owned())),
+            "relation" => Ok(RelationMember::Relation(mem_ref, mem_role.to_owned())),
             t => Err(Error::new(
                 ParseError,
                 Some(format!(

I am clueless on the specification of the .osm file, so I do not know if this is due to a version change or if both variants are acceptable.

Hi, thank you for pointing this out!
Some of my tools generates the type as 'rel'. I can't find any clear documentation of this. openstreetmap.org exports it as 'relation'.
I've added 'relation' but kept 'rel' so it continues to work with my tools as well. Will publish a new version with this fix.

Version 0.4.1 is now published and can handle this type name.
Thank you for contributing!


typos found by gemini [pr]

many false positve... maybe due to tokenizer

python examples/self_tokenize.py
250201 tokens -> 250178 tokens


[Bug]: Simple Scene Hands aren't moving

What happened?
The hands are stuck to the floor and don't seem to be receiving position updates from the controllers.
Version
latest
In which Hotham component are you seeing the problem on?
Example
What VR System are you seeing the problem on?
Quest-2
What OS are you seeing the problem on?
Windows
Relevant log output
No response
Code of Conduct

[x] I agree to follow this project's Code of Conduct

Hey, @sinoth! Thanks so much for creating this one.
As discussed last Friday, I think this is a fantastic issue for you to jump on to, as it'll require you to jump into the bowels of Hotham to debug it.
There's a 3 step process to updating the position of the hands:

Fetching the position from OpenXR
Setting the position of the RigidBody of the entity (eg. NOT the Transform)
Updating the Transform' of the entity

This bug could be sneaking into any one of those places! So, a quick sanity check would be to make sure:

Is the hands system being called?
Is the update_rigid_body_transforms system being called?

If they both are, then we've got a bug.
Debugging could take the form of adding a Panel to the scene (see CrabSaber for an example of how Panels work) that displays:

Where OpenXR thinks the Hands are (check the hands system for how to do that)
What's the position of the RigidBody?
What's the position of the Transform?

If any one of those 3 values is not in sync..

Thanks for the explanation! It helped wade through the hands system.
I can't reproduce this bug. I think perhaps my Quest was in a bad state and after a reboot the hands work fine.
Potentially related to #176
Closing this unless anyone else can reproduce.


Parallel streams tested in PA2 / Finals?

Hi, just wanted to check if the handling of parallelism in streams will be tested in our PA2 or finals. Thanks!

Hi De Kai, If I recall correctly during the lecture, I think parallelism, in general, is not examinable in this module. I am not 100% sure, so others can add on or correct me. Thanks!

I think its not tested

okie thanks lukas and jamie!


Can't open CSGO through HLAE

Hello!
Whenever I try to open CSGO through HLAE, It gives me the following error message:

System.ApplicationException: Failedto launch program, error code: 5 at AdxGui.Loader.Load (IEnumerable`1 getHookPathCollection, String programPath, String cmdLine, String environment)

I don't have any custom loader enabled or done anything weird in CSGO itself. The weird thing is, that 3 days ago, it worked just fine. Could it have been a CSGO update?
I tried the following:

Reinstall HLAE
Verify game cache of CSGO
Disbale movie making config

Anyone know how to fix this?

You neat to disable anti cheats like ESEA / FaceIt / ChallengeMe.gg

Ahh that fixed it! Thanks!


Generate NIST 800-53 control reference docs and publish on docs.docker.com

Auto generate user-friendly NIST 800-53 control reference docs from the component.yaml files and publish on docs.docker.com.

PR

Tracking in https://github.com/docker/compliance/tree/docs

This is now complete


Typography: Heading sizes (suggest multi-device testing)

Just a heads up that picking specific heading sizes can be a tricky venture. With regards to WET, we had to juggle the heading sizes a lot because of how they rendered across devices. The juggling was necessary because on certain devices the headings sizes were too similar making it very difficult to tell which heading level we were at, or whether to nearby headings were parent/child headings or sibling headings.
Suggest testing the heading sizes across devices and zoom levels to ensure they remain distinctive enough for users to visually understand their meaning (respective levels).

To test prior to development.

Typography tested on mobile sizes and adjusted accordingly.


frontend: literal type inference

Problem
    pub fn new(data: Datum, data_type: DataType) -> Self {
        Literal { data, data_type }
    }

In the current code, to create a Literal, both data and data_type is required. However, it's easy to make mistakes when using an API like this: data and data_type may not match. Here is an example:
pub fn(&self, flag_value: i32) {
  // ...
  let filter_expr = FunctionCall::new(
    ExprType::Equal,
    vec![
        InputRef::new(pos_of_flag, DataType::Int64).into(),
        Literal::new(Some(flag_value.into()), DataType::Int64).into(), // bug here, flag_value is i32 but data_type is i64
    ],
  );
}

What makes it worse is that when such a situation happens, no error will be reported until the executors try to deserialize this Literal, This makes the bug very hard to diagnose.
Possible solution
We may introduce type checking or even type inference to this to avoid the mismatch since the Datum already contains the needed type info .(UPD: This is not true according to @xiangjinwu 's comment below. But we may check the type in "best effort". )

since the Datum already contains the needed type info

This is not true for the following types: timestampz, list, struct.
It is easy to update timestampz to use a wrapped chrono type rather than i64 in datum, but for list / struct it may not be possible.

Seems like we can just reuse the type checking for LiteralExpressions: https://github.com/singularity-data/risingwave/blob/main/src/expr/src/expr/expr_literal.rs#L84-L116


npe03__Total_Paid_Installments__c & npe03__Paid_Amount__c not updating correctly with non-paid installments

Monthly Recurring Donation set up with 10$ amount.
First Donation is paid  --> Total paid Installments= 1; Paid Amount = 10
2nd Donation is paid --> Total paid Installments= 2; Paid Amount = 20
2nd donation payment is unpaid (Close Lost)--> Total paid Installments= 2; Paid Amount = 20
This situation is because of direct debits being unpaid or returned the receipt. Here it should be:
Total paid Installments= 1; Paid Amount = 10

Hi @gonzalos4g, we don't actually manage customer support issues here in Github. Can I ask you to post in the Power of Us Hub, in the Nonprofit Success Pack group? Before we create Issues here in GitHub we need to ensure it's reproducible in an independant org (and then our staff will create issues here).

Ok, but this is not a customer issue, this is an issue of NPSP package for Recurring Donation rollups.  Of total paid installments. IT happens in all NPSP orgs. Thopse field in recurring donations only summons, do not substract.


Callback filter consumes string class name via ::class resolution

Added ability to inject string class name into callback filter constructor.

ping @weierophinney

Thanks, @vaclavvanik. Cherry-picked to master for release with 2.7.2.


Enable Upload page upload button to only select files of the allowed type

Enable Upload page upload button to only select files of the allowed type
Right now it lets the user upload anything

@Seneli is this issue is still open can you assign this to me. I have a idea to implement this.


How to use Adaptive Cards for Bot Botbuilder v3 and v4

Platform
What platform is your issue or question related to? (Delete other platforms).

JavaScript

Version of SDK
botbuilder v3 and v4
Issue
I read through 2 document on adaptive case usages for bot developers.
This usages nodejs library adaptivecards
Adaptive Cards for Bot Developers
This usages addAttachment() method on bot builder
Add rich card attachments to messages
What is the best way and right way to use adaptivecards?

Do I need to use npm library for bot builder nodejs v3 or/and v4 ?
Can we rely on addAttachment() and never use npm ?

@compulim can you help with this?

This question is external to Adaptive Cars and hasn't had any recent activity. If you still need assistance feel free to reopen and we can try to get you connected to the right people.


Caddy & Dokku on the same server

How to make friends Caddy & Dokku on the same server?
Sometimes ago I installed Dokku to host my golang webapp.
Today I want to move all my hugo static sites to this server too.
This is my Caddyfile
http://grapefilms.pro, http://www.grapefilms.pro {
        root /var/www/grapefilms.pro/public/
        gzip
        log access.log

        errors {
                log error.log
                404 404.html # Not Found
        }

#       git {
#               repo  https://github.com/pavlik/grapefilms.pro-on-hugo
#               path  ../
#               hook /webhook secret
#               then  hugo --destination=public
#       }
}

http://village-geek.ru, http://www.village-geek.ru {
        root /var/www/village-geek.ru/public/
        gzip
        log access.log

        errors {
                log error.log
                404 404.html # Not Found
        }

#       git {
#               repo  https://github.com/pavlik/village-geek.ru
#               path  ../
#               hook /webhook secret
#               then  hugo hugo --theme=hugo-theme-blueberry-detox --destination=public
#       }
}

If I start Caddy then I receive message "2015/12/01 14:26:33 listen tcp :80: bind: address already in use"
P.S. I commented git section because if it is uncommented I receive error: Caddyfile:11 - Parse error: Unknown directive 'git'

Maybe if I installed Caddy then Dokku is no longer needed & I can config automatic pull & build via 'git' add-on? i.e.:
http://mimozaflowers.ru, http://www.mimozaflowers.ru {
        root /var/www/mimozaflowers.ru/
        gzip
        log access.log

        errors {
                log error.log
                404 404.html # Not Found
        }

      git {
               repo  https://github.com/pavlik/mimozaflowers
               hook /webhook secret
               then  go build
       }

some command that start my app????

Yeah, you can.
You will need to download caddy with git add-on via the caddy download page.
Right now, git only supports short running commands. I am assuming after go build, you would want to execute the resulting binary. It actually waits for the command to finish executing before continuing.
Now I am seeing a usecase for long running commands and I am considering adding the feature to git.

@abiosoft thanks! How to download it via terminal?

wget http://caddyserver.com/download/build?os=linux&arch=amd64&features=git

@abiosoft
Resolving caddyserver.com (caddyserver.com)... <IP_ADDRESS>
Connecting to caddyserver.com (caddyserver.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2015-12-01 17:25:03 ERROR 400: Bad Request.

Sorry, put the URL in quotes.
wget "http://caddyserver.com/download/build?os=linux&arch=amd64&features=git" -O "caddy_linux_amd64.tar.gz"

That "address already in use" error is concerning; similar report in #373 but I haven't been able to reproduce it. Are you sure no other process is already using port 80?
Also, what is the hostname of the machine you are running it on?

Along with those questions, I'd also like you to try something for me, if you could; remove hosts (addresses) from the Caddyfile one-by-one and try running Caddy again, until the "address already in use" error goes away. I'm interested which addresses in the Caddyfile combine to cause that error -- and whether it be one server block or multiple. Because I still can't make it happen here...

@mholt
While I waited for the answer, I did some experiments.

Removed dokku
Removed the nginx
Now, this error does not appear. But if I run the caddy without param --port = 80 it assigns for my sites port=2015

@abiosoft That will be amazing if git addon can execute long running commands!

@pavlik Good, that means that nginx was probably using the port, so naturally Caddy couldn't bind to it.
Using the -port flag only specifies the default port, it won't overwrite what's in a Caddyfile.

@abiosoft why I can't execute go command in git add-on? (in terminal go is executed & present in $PATH)
015/12/01 21:47:40 https://github.com/pavlik/mimozaflowers.git pulled.
2015/12/01 21:47:40 exec: "go": executable file not found in $PATH

@mholt What this message mean & if i set recommended value why it resets after server reboot?
Warning: File descriptor limit 1024 is too low for production sites. At least 4096 is recommended

It means the session executing the command (the one caddy is started in) does not have go in PATH.
Can you confirm go is accessible before starting caddy.
As a fall back option, you can put absolute path.

@abiosoft yes go is accessible before starting caddy.
& if I use absolute path go is accessible.

So is it working for you now? i.e. was your question about Dokku answered?

Ah, now I see abiosoft/caddy-git#13 - closing in favor of that issue.


Incorrect path to main

Hey,
The path to the main file in package.json should be src/index.js, otherwise one needs to import the plugin like import eslint from 'robins-rollup-plugin-eslint/src'.

Of course, I forgot that while refactoring. Thanks for the heads-up!


Missing material icons

Steps to reproduce
In the https://fonts.google.com/icons, there are airwave, shapes, steppers, communities, transition_fade, jump_to_element, line_start_circle, quick_reference_all icons, but all of them cannot be found in Icons class of the master branch of flutter.
Expected results
They should be included in Icons class.
Actual results
They are not included in Icons class.
Code sample
N/A
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.3, on Microsoft Windows [版本 10.0.22621.3007], locale zh-CN)
    • Flutter version 3.16.3 on channel stable at C:\Packages\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (6 weeks ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\28154\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33815.320
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[✓] VS Code (version 1.85.1)
    • VS Code at C:\Users\28154\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.80.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (4 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)          • windows       • windows-x64    • Microsoft Windows [版本 10.0.22621.3007]
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 120.0.6099.217
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 120.0.2210.121

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Hi @lomirus
Those icons are Material Symbols. Please follow up on https://github.com/flutter/flutter/issues/102560 for updates. Closing this as a duplicate. Thanks!


Add VarDate interface and Date constructor overload for VT_DATE to lib.d.ts

TypeScript Version:  1.8.0 / nightly (2.0.0-dev.201xxxxx)
Automation host objects pass dates into Javascript as VarDate per the specification (copy found here) (section 2.2.2). These need to be wrapped in a Date constructor before they can be used in Javascript.
Such properties therefore cannot be typed as Date in declarations.
Code
namespace Scripting {
    interface File {
        DateCreated: Date;
    }
    interface FileSystemObject {
        GetFile(FilePath: string): File
    }
}
interface ActiveXObject {
    new (s: 'Scripting.FileSystemObject'): Scripting.FileSystemObject;
}

// Under WSH
var fso = new ActiveXObject('Scripting.FileSystemObject');
var file = fso.GetFile('C:\\test.txt');
var varDate = file.DateCreated;

//the following fails with "'varDate' is null or not an object"
//WScript.Echo(varDate.getYear());

//outputs the year
WScript.Echo(new Date(varDate).getYear());

Proposal
Add the following to scripthost.d.ts:
interface VarDate { }

interface DateConstructor {
    new (vd: VarDate): Date;
    getVarDate: () => VarDate;
}

and such date properties could use VarDate instead of Date.

ActiveXObject is defined as:
interface ActiveXObject {
    new (s: string): any;
}

so from the compiler perspective fso is of type any.
Contributions for better definitions for the WSH are always welcomed. the definitions should go in https://github.com/Microsoft/TypeScript/blob/master/src/lib/scripthost.d.ts

Contributions for better definitions for the WSH are always welcomed.

@mhegazy I thought I was the last one using WSH (with or without Typescript)...

I thought I was the last one using WSH (with or without Typescript)

:D i think there still a few more out there. the TS compiler uses them internally as well to support running on cscript.

@mhegazy See here. I've written a tool that uses tlbinf32.dll to generate Typescript definitions from type libraries.

@mhegazy The tool is now on Github;

the TS compiler uses them internally as well to support running on cscript.
Are there any specific libraries that should be added?

see getWScriptSystem in https://github.com/Microsoft/TypeScript/blob/master/src/compiler/sys.ts#L88-L232


crash on server crafting (1.11.2)

Intro:
i had tweaked a mod to use the actual recipe and the recipe works perfectly single player and local server,but when on dedicated server it does not work
Issue Description:
i added the missing recipes,because the mod dev never had time to get a update out so i thought id add the recipe to test further with the mod sparks hammers
What happens:
tried to craft hammer head and wooden hammer with recipe i made, thats works as desribed above but then on the dedicated server it says ERROR: modid : item and then after i tried crafting the head it crashed me back to desktop
What you expected to happen:
for my tweaks to work no problems and i can continue to test further with mods
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

Affected Versions (Do not use "latest"):

Minecraft: 1.11.2
Forge: 1.11.2-2252
Crafttweaker: CraftTweaker-1.10.2-3.0.20

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]
server latest log:
fml-server-latestlog.txt
scripts used:
myrecipeszs.txt
minetweaker log:
minetweakerlog.txt

You sure you have the right item names?

yes all the names i double checked and everything, but when it was on my server it just didnt wanna work :/

I cannot replicate your crash using custom crafting recipes or replaced recipes SDUBZ, are you certain that the scripts folder is on both the client AND the server?

yes they are @Rosethorns i  even had my friend try it and it works for him on single and virtual lan server but when it comes to my dedicated server it doesnt wanna play nice at all.

I should clarify, I tested it on a dedicated server. You might have a mod interaction elsewhere

it is mod interaction because i also tested with customstuff and he clarified its some kind of mod interaction going on now just to debug it i guess :D ,thanks for your help guys :)

so far got the list of mods they may have affected the recipe down to http://puu.sh/uAl32/5ccbb09bbf.txt

okay after all my testing on a new world it works so i thought after all my testing to test again on the old server world save and now its working but the only file that wasnt needed anymore was [1.11.2] CTD Core-1.0.2.jar not sure if conflicted or not, will test later and get back to you

Is this still an issue?

no communication for nearly 2 months now, I'm closing it


Merge pull request #1 from alibaba/master

更新数据

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

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

更新代码

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

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


[PLUGIN] Table Plugin

Is this a unique plugin request?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Proposed Plugin Solution
help user to edit table easily
Example:  Editor.js's table plugin
https://github.com/editor-js/table
Screenshots

Do you want to work on this issue?
Yes
If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
Umm...I might clone the editor-js/table projector
Then try to understand how they implement the features, if it's not too hard
Then re-implement the feature with Yoopta-Editor's plugin boilerplate if exist

@j7-dev, thanks for reporting this plugin request! We are super excited to see your willingness to work on it.
You can check back on that discussion about the Table plugin. It might be helpful to see other implementation options. I also added yours to the discussion.
Also, consider joining our Telegram Dev Community, where we can respond faster and discuss it in detail.

At the moment, we're aiming to merge https://github.com/Darginec05/Yoopta-Editor/pull/156 and https://github.com/Darginec05/Yoopta-Editor/pull/151, which would help with contributing experience.

@j7-dev We're excited as both mentioned improvements just got merged. It's a great time to start coding! Yay 🎉
Please check CONTRIBUTING.md to get the steps started.
If you see how we can improve the contributing guide, please let us know 🙏

@maZahaca
ok, I might start, these days.
I'm new to Yoopta-Editor, do Yoopta-Editor have any plugin boilerplate?

@j7-dev During today, I'll create script to create template for new plugins

@j7-dev Hi!
If you still have plans to implement Table plugin I have good news for you.
I published v4.5.0 with new API for plugins.
Examples - https://yoopta.dev/examples/withCustomPlugin
Concepts - https://yoodocs.space/yoopta-editor/yoopta/introduction-rsK_1fODIL#16e3a5de-4d09-4220-ae5b-71ec82d1c106
P.S. If you still have plans to implement Table plugin we can have a call about conpcets

@Darginec05
Great Work, so nice 👍
ya, I got plan for this, but I'm a bit busy this month. 🙏
so, this issue might takes time to complete.

Added in v4.8.0


Override keymap

I'm having trouble modifying the keymaps for pane switching (related https://github.com/zeit/hyper/issues/3171)
OS: Ubuntu 16.04.5 LTS
Version: Hyper 2.1.0-canary.2 (stable)
Plugin: hyper-pane (2.1.3)
My ~/.hyper.js is as follows:
module.exports = {
    config: {
        // ...
        paneNavigation: {
            hotkeys: {
                navigation: {
                    up: 'ctrl+shift+k',
                    down: 'ctrl+shift+j',
                    left: 'ctrl+shift+l',
                    right: 'ctrl+shift+h'
                },
                jump_prefix: 'ctrl+shift',
                permutation_modifier: 'alt',
            },
        }
    }
}

Your config works for me. (on macOS)
Can you give me your entire .hyper.js?

I am closing this issue due to its inactivity, but feel free to comment.

Giving this another shot with the new version of Hyper
OS: Ubuntu 18.04.1 LTS (Bionic Beaver)
Version: Hyper 2.1.0 (stable)
Plugin: hyper-pane (2.1.3)
Entire .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.

module.exports = {
  config: {
    // choose either `'stable'` for receiving highly polished,
    // or `'canary'` for less polished but more frequent updates
    updateChannel: 'stable',

    // default font size in pixels for all tabs
    fontSize: 12,

    // font family with optional fallbacks
    fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',

    // default font weight: 'normal' or 'bold'
    fontWeight: 'normal',

    // font weight for bold characters: 'normal' or 'bold'
    fontWeightBold: 'bold',

    // line height as a relative unit
    lineHeight: 1,

    // letter spacing as a relative unit
    letterSpacing: 0,

    // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
    cursorColor: 'rgba(248,28,229,0.8)',

    // terminal text color under BLOCK cursor
    cursorAccentColor: '#000',

    // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
    cursorShape: 'BLOCK',

    // set to `true` (without backticks and without quotes) for blinking cursor
    cursorBlink: false,

    // color of the text
    foregroundColor: '#fff',

    // terminal background color
    // opacity is only supported on macOS
    backgroundColor: '#000',

    // terminal selection color
    selectionColor: 'rgba(248,28,229,0.3)',

    // border color (window, tabs)
    borderColor: '#333',

    // custom CSS to embed in the main window
    css: '',

    // custom CSS to embed in the terminal window
    termCSS: '',

    // if you're using a Linux setup which show native menus, set to false
    // default: `true` on Linux, `true` on Windows, ignored on macOS
    showHamburgerMenu: '',

    // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
    // additionally, set to `'left'` if you want them on the left, like in Ubuntu
    // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
    showWindowControls: '',

    // custom padding (CSS format, i.e.: `top right bottom left`)
    padding: '12px 14px',

    // the full list. if you're going to provide the full color palette,
    // including the 6 x 6 color cubes and the grayscale map, just provide
    // an array here instead of a color map object
    colors: {
      black: '#000000',
      red: '#C51E14',
      green: '#1DC121',
      yellow: '#C7C329',
      blue: '#0A2FC4',
      magenta: '#C839C5',
      cyan: '#20C5C6',
      white: '#C7C7C7',
      lightBlack: '#686868',
      lightRed: '#FD6F6B',
      lightGreen: '#67F86F',
      lightYellow: '#FFFA72',
      lightBlue: '#6A76FB',
      lightMagenta: '#FD7CFC',
      lightCyan: '#68FDFE',
      lightWhite: '#FFFFFF',
    },

    // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
    // if left empty, your system's login shell will be used by default
    //
    // Windows
    // - Make sure to use a full path if the binary name doesn't work
    // - Remove `--login` in shellArgs
    //
    // Bash on Windows
    // - Example: `C:\\Windows\\System32\\bash.exe`
    //
    // PowerShell on Windows
    // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
    shell: '',

    // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
    // by default `['--login']` will be used
    shellArgs: ['--login'],

    // for environment variables
    env: {},

    // set to `false` for no bell
    bell: 'SOUND',

    // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
    copyOnSelect: false,

    // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
    defaultSSHApp: true,

    // if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
    // selection is present (`true` by default on Windows and disables the context menu feature)
    // quickEdit: true,

    // URL to custom bell
    // bellSoundURL: 'http://example.com/bell.mp3',

    // for advanced config flags please refer to https://hyper.is/#cfg
  },

  // a list of plugins to fetch and install from npm
  // format: [@org/]project[#version]
  // examples:
  //   `hyperpower`
  //   `@company/project`
  //   `project#1.0.1`
  plugins: [
    "hyper-pane",
  ],

  // in development, you can create a directory under
  // `~/.hyper_plugins/local/` and include it here
  // to load it and avoid it being `npm install`ed
  localPlugins: [],

  paneNavigation: {
      hotkeys: {
          navigation: {
              up: 'ctrl+shift+k',
              down: 'ctrl+shift+j',
              left: 'ctrl+shift+l',
              right: 'ctrl+shift+h'
          },
          jump_prefix: 'ctrl+shift',
          permutation_modifier: 'alt',
          showIndicators: true,
      },
  },

  keymaps: {
    // Example
    // 'window:devtools': 'cmd+alt+o',
  },
};

paneNavigation section must be in config section.

*face palm* Fixed my config @chabou everything works great :tada:

I am happy to read this.
You are not the first one who makes this mistake. I should update the README to clarify this.


Mkdocs

Maybe my local MkDocs isn't set up properly, but without these changes, the links in endpoints.md don't work for me.

I didn't test that. Will accept this PR and check on the actual RTD website.


QR code in dxf

I would like to use a CNC machine to engrave qr code with a cylindrical milling cutter 2 sizes.
Would it be possible to have a dxf file of the tool path allowing to obtain a machining image as given in the attached file?

Hi @froussel
I might be a little late in the game, but I have developed a piece of software that generates CNC machining G-code from a QR-code. All you enter is the text to be encoded, your tool properties, and engrave parameters and off you go. It is called QR-codengrave.
The tool paths don't look as sophisticated as the above image (yet) because I kept the tool path algo simple, but maybe it's still worth a try.
Cheers,
Schallbert


fela-monolithic outputs classes twice

Version: 6.0.x
Environment: Both
Type: Bug

Description
Since 6.0 fela-monolithic enhancer outputs styles twice when generating with renderToString function from fela-tools (haven't tried other ways).
Without fela-monolithic I get the following:
.a {
  color: red
}

But when I add it I get
.rule_Loading__137u7ef {
  color: red
}
.rule_Loading__137u7ef {
  color: red
}

If there are more rules it will be like this:
.rule_Loading__137u7ef {
  color: red
}
.rule_Loading__137u7ef:hover {
  color: yellow
}
.rule_Loading__137u7ef {
  color: red
}
.rule_Loading__137u7ef:hover {
  color: yellow
}

Steps to reproduce
Haven't reproduced it in a test environment yet.

Oh sure, I didn't think about updating the monolithic renderer at all. Will try to look into that, but I am not using (and would never recommend to do either)

I find it handy during development and testing.

Alright, looks like you're doing it on the client right? Can't reproduce that locally. Can you try it with ?

I'll have a look tomorrow.

Great! Maybe we should switch the rehydration default to false to one can enable it for prod-only (atomic design). Its not compatible with monolithic rendering

I'd keep the default as is, since atomic design is also the the default in development mode. There should just be an explanation making clear how to switch it off in the fela-monolithic readme.
Or do you mean turning it off only when fela-monolithic is actually used?

I thought about it again and think the renderer should be the single source of truth. Therefore I added a "feature flag" which I can simply turn off if monolithic is applied.
This could be a general approach for different features!

Not sure what you mean, but can you open this issue back please? I think I've found how to reproduce it in an isolated environment.

Got that fixed as you can see on Travis :) will publish tomorrow

Thanks! Is it going to fix a similar bug with atomic classes?


fix return error when numerical cast out-of-range

Proposed changes
Return an error when numerical cast result is out-of-range.
Before:

After:

Note: the behavior when SELECT CAST(val AS INT) is out-of-range is still different with MySQL.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

handle streamload and add outof range case for all load.


In Internet Explorer 9+ script is not working

In IE version 9+ script is not working and your document says that it is compatible in IE. Please tell me how the script working in IE9+.

@vaibhav-imark It appears to be working for me in IE9. If you are referring to the example use folder within this repo, the reason this is not working is because the examples use const and classList which are not part of IE9.

What would you need to do you get this to work in IE, as you stated the example use const in js, is there a replacement for that to work with IE?

const is a (sort of) replacement for var. let can also be used now. Take a look at this: https://github.com/DrkSephy/es6-cheatsheet.
Something like this should work:
var backgroundVideo = new BackgroundVideo({
    src: [
        // video src
    ]
});

Yes, I tried that but with no luck, is there a substitute for classList as well?

classList is only available in IE10 and above (see https://developer.mozilla.org/en/docs/Web/API/Element/classList). The examples are purely to show it works. It is assumed the developer knows how classList and const.
If you're using my example styles.css file, just remove the display: none; on line 9 and then you won't have to worry about using classList.


The dev check scripts should disregard non-version-controlled files

I use PyCharm, which generates an .idea folder. That folder is in my global .gitignore so it will never be commited. Regardless, ./dev-scripts/check-trailing-newline checks it and complains, which causes the local build to be aborted. This can be worked around by adding ./idea/* to that script – this is a bit inconvenient, however, and it also imposes the risk that such temporary and local modifications make it into the repo by accident (e.g. via a PR).
(Enhancement is technically not the right label, it’s not a bug either though.)

Oh, that's a good idea. As a short-term fix, can you submit a PR that adds .idea to the check-trailing-newline exceptions?
It seems like the more robust fix is to base the whitespace checks on git ls-files instead of excluding specific folders.


Update to match Django 1.11+ middleware

Fixes #3. Thanks to @Alex-Mackie for the code.

Hi, just a question: is there a reason this is not merged into master?
Thanks!


Layout Responsiveness Issue in Services Section

Description: The "Our Services are available in" section is not adapting well to the screen size. The images of New Delhi and Agra are displayed with significant white space around them, and their container does not seem to resize responsively, leading to a misalignment and underutilized space. This could be due to fixed dimensions, improper CSS grid or flex settings, or lack of responsive media queries

Please assign the issue to i will fix

Hi, I see this issue is assigned to someone. I just wanted to know if anyone is actively working on it? If not, I'd like to help.


Adding zone name to physicalnetworkresponse

Description
Adding zone name to physicalnetworkresponse which looks better on the UI
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
Before :

After :

How Has This Been Tested?
(localhost) 🐱 > list physicalnetworks
{
  "count": 1,
  "physicalnetwork": [
    {
      "broadcastdomainrange": "ZONE",
      "id": "580b516c-f1fa-4fc4-949c-42381a394287",
      "isolationmethods": "VLAN",
      "name": "Sandbox-pnet",
      "state": "Enabled",
      "vlan": "100-200",
      "zoneid": "ee54cb21-c2e2-4757-bb4a-a2e16a4c2516",
      "zonename": "Sandbox-simulator"
    }
  ]
}

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2451

@blueorangutan test

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3294)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31636 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4510-t3294-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Smoke tests completed. 86 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Better E2E framwork for testing Testacular

We need to verify output for reporters in e2e scenarios, but the current framework does not support it.

Resolved in #684


No BT.2020 color object in pip installed version

I used pip installed version 3.0.0, strangely, the source code doesn't have BT.2020 color object, I manually copied, but I think it needs to be fixed.

Hi @kmd19951,
Yes! This is because the code came after 3.0.0 and has not been released yet! @gtaylor should be able to release a new version though.

Thanks! Sounds great!


insert_into_table fails

Hi there!
I'm faking an issue when using insert_into_table. The only error message I get is this one: Failure to execute the sql statement, sending the data to the database. I use MS Azure SQL Server as target
I use insert_into_table for a number of tables and it works for some, for others it does not. therefore I think it might be related to not supported datatypes or wrong mappings.
Is there a way to get a more detailed error message?
Data Types I use that might be exotic:
timestamp[us] -> datetime2
bool -> bit
float -> double
Regards,
Adrian

Just to add: this is not urgent (yet ;) ) for me - my first priority is my holiday starting tomorrow ;)

Would a duplicate key or nulls in a not-null column cause such an error?

Hello @aersam ,
I see two distinct issues within your original request:

Find out why insert fails for your tables from your data (of course several issues could be hiding within that one).
Make more ODBC diagnostic records available for Python users.

Of course if 2 is done we might be better equipped to handle 1. On the other hand we just might find this was the only error ever surfaced by ODBC. Anyhow I created #40 to track that separatly. I understand that problem and given time, I confident I can solve it without further input. Although the implementation might not be trivial.
With 1 the quickest way to victory might be a minimal reproducing example. Let's pick one of your tables which does not work. And see if we can reproduce the behaviour without azure and just an MSSQL database. Then let's reduce the number of columns and so on...
I fear without a small reproducing test this is not actionable for me. If this issue becomes urgent for you I would advice not to wait for 2. I totally see that this is usefull and might help you to find the reproducing example a lot faster, but I am really unsure how much open source I'll be able to do over the next weeks.
Best, Markus
Ps. If you know Rust, you could of course just use the arrow-odbc Rust crate with logging to insert your data. A quick prototype should might tell you if azure does give any helpful information at all, or if this is just something we hope it would do.

log_to_stderr has been added in arrow-odbc 1.1.1. Calling this at the beginnig of your application or script will result in ODBC diagnostic records being written to standard error. Fancier interactions with the Python logger are possible, but likely there is a price to pay in terms of performance. Let's see if this is enough.

log_to_stderr has helped a lot already. Most errors happened because of duplicates. However I have a case where I do get a number of unexplainable empty strings in my target table. I think my source is correct; is there any reason arrow-odbc could insert an empty string instead of the correct value? Not entirely sure if it's caused by arrow-odbc but it seems a bit like it

I think my source is correct; is there any reason arrow-odbc could insert an empty string instead of the correct value? Not entirely sure if it's caused by arrow-odbc but it seems a bit like it

I would be better able to help if you provide information like:
What is the source value in the array? What is its arrow type? What is the type of the database column it is inserted to?

Of course! I could also try to create a minimal repo. The source is a large_string, the target is nvarchar(38) (don't ask). The source value is 840003056 (and others). it's really a bit strange, it works in 99% but not in all

def test_insert_large_string():
    """
    Insert an arrow table whose schema contains a "large string".
    """
    # Given
    table = "InsertLargeString"
    os.system(f'odbcsv fetch -c "{MSSQL}" -q "DROP TABLE IF EXISTS {table};"')
    os.system(f'odbcsv fetch -c "{MSSQL}" -q "CREATE TABLE {table} (a Varchar(50))"')
    schema = pa.schema([("a", pa.large_string())])

    def iter_record_batches():
        # The string value is not actually large, just the schema information allows it to be
        yield pa.RecordBatch.from_arrays([pa.array(["Hello"])], schema=schema)

    reader = pa.RecordBatchReader.from_batches(schema, iter_record_batches())

    # When
    insert_into_table(
        connection_string=MSSQL, chunk_size=20, table=table, reader=reader
    )

    # Then
    actual = check_output(
        ["odbcsv", "fetch", "-c", MSSQL, "-q", f"SELECT a FROM {table}"]
    )
    assert "a\nHello\n" == actual.decode("utf8")

Hello @aersam ,
any new insight into what exactly the symptom is. Either through tests, minimal example or otherwise?
Best, Markus

Hi Markus
Sorry, was a bit under time pressure and did a workaround using pyodbc. That was slow, but works. Now I did decide to learn some rust and did a prototype that uses MS SQL Server's bulk_insert which should be the fastest option there is. I'll open source that project in the next days. It's still very limited, but seems to be very fast. And as I learned some rust now I hope I can debug the error myself, just need to find some time
Regards,
Adrian

Hi Adrian, you may want to use odbc-api if you want to do it from Rust or try using arrow-odbc (the Rust crate) as an intermediate step.
Best, Markus

Thanks, I'll try that! Here's the repo I created : https://github.com/bmsuisse/lakeapi2sql


Could not scan and connect the available devices on many Mobile devices

The example given by the flutter_blue team is not running on many devices but running on some devices. The permissions are given fully but still, the app is not able to discover available devices, and if it can't scan, how it will show the available devices on the list, also I'm not able to discover the currently connected BLE device to my mobile Bluetooth and all these issues I'm facing in the android.

I also face the exactly same situation for this, have you solved this issue ?

I also face the exactly same situation for this, after start scanning, the result is always 0 device founds.
Have you solved this issue ?

The issue was resolved automatically after updating the package. Please try to update the package.

i think i have already used the latest version (0.7.2), but still facing this issue


2016 Schedule

How can I get the 2016 schedule?
running
import nfldb

db = nfldb.connect()
q = nfldb.Query(db)
q.game(season_year=2016, season_type='Regular', week=1)

for game in q.as_games():
    print game

yields nothing. Will the schedule automatically become available?
I tried pip install --upgrade nfldb  and pip install --upgrade nflgame  (even though I am pretty sure an nfldb update also updates nflgame. I also did a python ./update_sched.py --rebuild and a python ./update_sched.py --rebuild --year 2016.  I then did nfldb-update and nfldb-update --update-schedule
Is doing the modification @ochawkeye described  here  still necessary? Or am I doing something else wrong?

@BurntSushi Any ideas? The season is coming close to starting up.

If anyone else was having this issue I had to do a:
python update_sched.py --year 2016 --phase REG
which caused this error on nfldb-update:
DETAIL:  Key (pos_team)=(LA) is not present in table "team".
so I performed the following query in postgres:
INSERT INTO team VALUES ('LA', 'Los Angeles', 'Rams');
and then nfldb-update had all the data.

The downloaded games with the LA Rams now contain "UNK" instead of "LA". I try now to add a line to team.py. Hopefully it does not break anything if there are two entries for the rams.

I saw that too. I would like to know where "unk" which I assume stands for "unknown" comes from. I think this could be fixed with some additional psql query. Maybe @BurntSushi knows the best way.

Maybe a migration is required?

@DylanModesitt and @expectopatronum please take the time to go through existing issues before opening up duplicates for things already addressed elsewhere.
Interim solutions to the 2016 schedule update and LA Rams change have already been provided on multiple issues here that don't require you to wait for an nfldb update from @BurntSushi.

You should edit the files nfldb/team.py and nflgame/init.py, and add the following line:
['LA', 'Los Angeles', 'Rams', 'Los Angeles Rams'],
On my machine the location for these files are:
/usr/local/lib/python2.7/dist-packages/nfldb/team.py
/usr/local/lib/python2.7/dist-packages/nflgame/init.py

@hpadmanabhan sorry I looked at all issues that had a relevant title.
@danielcroona and this works? doesn't it matter that there is already an entry with "Rams"? Would it be possible to just replace 'STL' everywhere with 'LA' and then replace the old entry completely?

@danielcroona My mistake in assuming folks understand what a relative path is. I provided paths relative to the packages there leaving out the preceding bits precisely because they can be different depending on your installation, but those are the relevant files.
Also, feel free to try out changes and see what happens, thats the fun with open source. At worst you'll need delete and start over.

@expectopatronum no apologies needed, things don't often have the exact titles but when dealing with open source stuff its always good to check a little deeper first before putting up new issues out of courtesy to the main authors as their precious free time spent on these open source projects out of their generosity would be better spent on improving stuff than dealing with repeated queries.
With reference to the Rams, these are 2 different teams, replacing 'STL' with 'LA' will lose you all the history for 'STL Rams' since all the DB references will get switched. All historical data needs to continue to be associated with 'STL Rams' and new stuff needs to be associated with 'LA Rams'.
Particularly important with nfldb that changes be idempotent since you should be able to drop and recreate the database if needed.

@hpadmanabhan I searched through docs. Did not see you referenced an issue in another repository.

@hpadmanabhan While I appreciate your "moderating" of this issue. posting things like "already addressed elsewhere." and "from where he picked out that snippet." without posting links is kind of useless to anyone.
Can someone please answer the following question:
What does one have to do to get the 2016-2017 Season to be included in an nfldb-update call?
Thanks

What does one have to do to get the 2016-2017 Season to be included in an nfldb-update call?

Short of digging it and fixing a few issues (nflgame schedule update, team name updates, maybe some other things), you'll need to wait for me to push out a new release. I hope to do it soon.

I don't mind doing a workaround, I'm just having a hard-time figuring out the right steps.

In case anyone else comes here looking for an answer, here are the steps that worked for me.
Step 1 (per ochawkeye):
If you manually flip-flop the schedule back to the regular season URL in file ..\nflgame\live.py (uncomment line 68 _CUR_SCHEDULE = "http://www.nfl.com/liveupdate/scorestrip/ss.xml" & comment out line 75 _CUR_SCHEDULE = http://www.nfl.com/liveupdate/scorestrip/postseason/ss.xml")
Step 2: run update_sched.py --year 2016 --phase REG
Step 3: Manually add [LA, Los Angeles, Rams] to teams table. I also did (per danielcroona):
You should edit the files nfldb/team.py and nflgame/init.py, and add the following line:
['LA', 'Los Angeles', 'Rams', 'Los Angeles Rams'],
On my machine the location for these files are:
/usr/local/lib/python2.7/dist-packages/nfldb/team.py
/usr/local/lib/python2.7/dist-packages/nflgame/init.py
But... I don't know how to get those changes to take effect, hence the manually added part.
Step 4: run nfldb-update
Step 5 (maybe): revert changes from Step 1 and run nfldb-update again. I think this is what was meant by "flip-flop", but changing it back didn't seam to do anything (presumable because there is no postseason yet).
@BurntSushi Please let me know if any of this is wrong. Also, what would I of had to do to make the changes of step 3 work without manually adding the new team record?
Thanks again, I really love nfldb!


Wrapper SDK-Server with new versioning

Problem
SDK pains:

Large bundle size
Compatibility issues with UI frameworks (CRA)
Additional package downloading issues (what are some examples?)

Impact
We have a few integrations which are blocked by the above and future integrations will experience friction without changes.
Proposed Solution
SDK Wrapper Package
MUST:

Be published as a new version to @connext/sdk
Match exactly the current function signatures and be backwards-compatible

SHOULD:

Call the hosted sdk-server routes
Include a minimal subset of core functions (xcall, estimateRelayerFee, bumpTransfer, calculateAmountReceived, updateSlippage)

SDK Test Harness
MUST:

Include unit tests with coverage abiding by the global monorepo thresholds such that this package's tests can be included in all CI runs

SHOULD:

Include integration tests with a local sdk-server that validates correctness of routes and error response codes (note: might be combined with unit tests since this wrapper SDK will be a thin layer on top of the server routes)

Directory Restructuring
SHOULD:

Be restructured like:
packages/agents/sdk

/core: existing sdk classes
/server: existing sdk-server routes (note: if we move this, we need to coordinate with #4223)
/sdk: package with new wrapper classes exposed for clients to use

Transition Strategy
MUST:

Be seamless for clients during the transition to the wrapped SDK version
Be seamless for clients during the transition from the wrapped SDK version to the original architecture of client-side-only operations
Be able to eliminate dependency on the hosted server at some point

Hosted SDK Server

Tasking tracked separately in #4223
Exposes API routes for all SDK functions
Will include rate limiting and analytics

Acceptance Criteria

[ ] Clients installing @connext/sdk@<new_version> will not need to change any existing implementations
[ ] Latency for calls should fall under 1000ms (this will depend on server caching, geo, and scaling)

Complexity: 8
See the discussion in Sprint Poker #36
Powered by Parabol

test this when completed https://github.com/connext/monorepo/issues/4208

https://github.com/connext/monorepo/tree/wrapper-sdk

Need to write tests.

Debugging import errors, etc.

Added most of the tests, working on SDK pool.

Finish up tests, figure out why some are being skipped.

Need to

[ ] up the coverage on tests
[ ] take passed-in provider

Review and merge provider PR. Fix tests and coverage.

@sanchaymittal last steps here:

release @connext/sdk-core
release @connext/sdk
test all functionality in bridge UI again


Memory leak in fsautocomplete

I'm consistently getting a memory leak. If I try to autocomplete my memory keeps rising and I believe the fsautocomplete is the culprit. Is there anything I can do about this? If not is there is a way I can disable the fsautocomplete, as the auto completion is not necessary for me.
Also please let me know if I can provide any more info, thank you.
Image of vim and htop
My vim version is the following
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun  8 2017 20:51:28)
Included patches: 1-628
Compiled by Arch Linux
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl             +cscope          -footer          +menu            +num64           +startuptime     +virtualedit
+arabic          +cursorbind      +fork()          +mksession       +packages        +statusline      +visual
+autocmd         +cursorshape     +gettext         +modify_fname    +path_extra      -sun_workshop    +visualextra
+balloon_eval    +dialog_con_gui  -hangul_input    +mouse           +perl/dyn        +syntax          +viminfo
+browse          +diff            +iconv           +mouseshape      +persistent_undo +tag_binary      +vreplace
++builtin_terms  +digraphs        +insert_expand   +mouse_dec       +postscript      +tag_old_static  +wildignore
+byte_offset     +dnd             +job             +mouse_gpm       +printer         -tag_any_white   +wildmenu
+channel         -ebcdic          +jumplist        -mouse_jsbterm   +profile         +tcl/dyn         +windows
+cindent         +emacs_tags      +keymap          +mouse_netterm   +python/dyn      +termguicolors   +writebackup
+clientserver    +eval            +lambda          +mouse_sgr       +python3/dyn     +terminfo        +X11
+clipboard       +ex_extra        +langmap         -mouse_sysmouse  +quickfix        +termresponse    -xfontset
+cmdline_compl   +extra_search    +libcall         +mouse_urxvt     +reltime         +textobjects     +xim
+cmdline_hist    +farsi           +linebreak       +mouse_xterm     +rightleft       +timers          -xpm
+cmdline_info    +file_in_path    +lispindent      +multi_byte      +ruby/dyn        +title           +xsmp_interact
+comments        +find_in_path    +listcmds        +multi_lang      +scrollbind      +toolbar         +xterm_clipboard
+conceal         +float           +localmap        -mzscheme        +signs           +user_commands   -xterm_save
+cryptv          +folding         +lua/dyn         +netbeans_intg   +smartindent     +vertsplit
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-
2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/
include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/i
nclude/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/in
clude/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2  -march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpat
h,/usr/lib/perl5/core_perl/CORE  -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-3
-lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lS
M -lICE -lXt -lX11 -lXdmcp -lSM -lICE  -lm -lncurses -lelf -lnsl    -lacl -lattr -lgpm -ldl   -Wl,-E -Wl,-rpath,/usr/lib/perl5
/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/core_pe
rl/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc   -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lieee -lm

my vimrc is the following
let g:python_host_prog = '/usr/bin/python2'
let g:python3_host_prog = '/usr/bin/python3'

call plug#begin('/$HOME/.vim/plugged')

Plug 'flazz/vim-colorschemes'
Plug 'itchyny/lightline.vim'
Plug 'christoomey/vim-tmux-navigator'
Plug 'scrooloose/syntastic'
Plug 'fsharp/vim-fsharp', {
      \ 'for': 'fsharp',
      \ 'do':  'make fsautocomplete',
      \}

call plug#end()
" My custom settings
set autoindent
set autoread
set backspace=2
set expandtab
set foldlevel=5
set foldmethod=indent
set foldnestmax=10
set hidden
set history=500
" set hlsearch
set incsearch
set laststatus=2
set lazyredraw
set magic
set nocompatible
set nofoldenable
set noshowmode
set path+=**
set relativenumber
set shiftwidth=4
set showcmd
set smartcase
set smartindent
set smarttab
set so=7
set softtabstop=4
set tabstop=4
set timeoutlen=50
set wildmenu
syntax on

" Use backup, undo, and swap folders
set backup
set undofile
set undodir=/$HOME/.vim/temp_dirs/undo//
set backupdir=/$HOME/.vim/temp_dirs/backup//
set directory=/$HOME/.vim/temp_dirs/swap//

"Disable all use of a mouse
autocmd BufEnter * set mouse=

" Get rid of indenting at a : for python
autocmd FileType python setlocal indentkeys-=<:>
autocmd FileType python setlocal indentkeys-=:

Are you saying vim is increasing in memory or the fsautocomplete process is increasing in memory? If it is the latter you may want to raise it in https://github.com/fsharp/FsAutoComplete.
It is normal for fsautocomplete to increase in memory as it never release projects it has parsed.

Yes it is fsautocomplete that increases in memory indefinitely and also appears to make more processes. This goes on to the point where my memory gets full and starts swapping.  This problem doesn't seem to exist in vscode with ionide which also uses fsautocomplete. However i can still raise the issue with fsautocomplete.
Is there anyway  I can disable fsautocomplete to keep it from running? Because it is mostly the syntastic support and the fsi commands that attract me to this plugin.

FsAutoComplete does the syntax checking so I wouldn't recommend disabling it. You will get one process per vim instance. There is no restart logic so I can't see how you can get more than one fsautocomplete instance per vim instance.

The FsAutoComplete's stay running even after vim is closed. This picture is taken about a minute after closing vim.
Imgage of htop a minute after closing vim

Fwiw, I've seen similar issues happen occasionally (fsautocomplete memory and cpu go crazy, and mono instance hangs around).   I'm on (vim8 on Windows8).  It's been too sporadic for me to track down so far, plus it hasn't quite annoyed me enough yet. I think it's hit me in sessions where I haven't used autocomplete, so I'm not sure if it is one of the periodic syntax checks.  Just killing the mono instances and restarting vim gets me back where I need to be.  That's not really an help, just commiserating and offering another datapoint.

@Disco-Dave I see the CPU is pegged at 100% on all your instances there. This could be due to https://github.com/fsharp/FsAutoComplete/issues/105 which I've occasionally seen. This may also explain why they are being left running as perhaps a background thread is still active and prohibiting the process for exiting.

@Disco-Dave @0x6a62 please add your experiences to https://github.com/fsharp/FsAutoComplete/issues/105 which may eventually provide enough information to work out why it happens.
It does look like the issue isn't due to vim-fsharp itself however although we could perhaps try to force kill the process on vim exit.

The problem is definitely occurring for me when Syntastic marks something as an error. I also noticed the autocompletion doesn't seem to work for fsharp either, so maybe there is something else going on.

	GC:            sgen (concurrent by default)

Just an additional info: I can confirm that problem using fsharp-mode with Emacs too, which uses FsAutoComplete. With a random session I easilly got 1.5 GB of memory usage. :(

Does the memory usage keep rising? Can you put up a repository with instructions of how to reproduce in Emacs?

@rneatherway sorry for the delayed response. Yes, the memory usage keep rising, but this happened in earlier days and I cannot reproduce anymore :(. This happened using the Fable.Template after install the nodejs (nojo.js in portuguese) dependencies. But I'm still using emacs-fsharp-mode, so if I can reproduce this again I'll open a issue on the emacs repo, ok?
@rneatherway thanks for the attention. :)

This doesn't seem to be affecting me anymore.

@kjnilsson the fsac is a zombie issue can be fixed with new fsac argument --hostPID (ref https://github.com/fsharp/FsAutoComplete/pull/190 )
So fsac will terminate itself if the vim process who started it is closed.
Vim should pass that argument with the vim process id

@enricosada nice - thank you.


[WIP] Add Bermudan exercise support

Codecov Report
Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (70e65a1) 79.82% compared to head (0b7c517) 79.91%.

Files
Patch %
Lines

src/ClarityMarkets.sol
80.85%
7 Missing and 2 partials :warning:

src/library/LibMath.sol
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   79.82%   79.91%   +0.08%
==========================================
  Files          10       10
  Lines         466      458       -8
  Branches      102      104       +2
==========================================
- Hits          372      366       -6
  Misses         75       75
+ Partials       19       17       -2

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


Why sigma returns NaN

Hello,
I get "NaN is an unsupported value for field TotalSigma" when I call sigma() in eval node
Is there any solution/workaround to this.
Thank you!
var currentData = stream
    |from()
      .database('opc')
      .measurement('Measurement')
    |window()
      .period(10s)
      .every(10s)
      .align()

currentData
    |eval(lambda: sigma("A_Flow" + "B_Flow"))
        .as('TotalSigma')
        .quiet()
    |log()
    |influxDBOut()
        .database('opc')
        .retentionPolicy('default')
        .measurement('STDDEV')
        .precision('s')

Below is the output, note the NaN value:
2016/07/29 05:16:57 I! aborting c: 1 e: 1
2016/07/29 05:16:57 E! NaN is an unsupported value for field TotalSigma
{2016-07-29 05:28:43.776 +0000 UTC map[TotalSigma:0] map[]}
{2016-07-29 05:28:43.776 +0000 UTC map[TotalSigma:NaN] map[]} <=========================
 {2016-07-29 05:28:44.778 +0000 UTC map[TotalSigma:1.154700538379404] map[]}
{2016-07-29 05:28:44.778 +0000 UTC map[TotalSigma:0.8660254037847053] map[]}
 {2016-07-29 05:28:45.78 +0000 UTC map[TotalSigma:0.7302967433405856] map[]}
...

@dengliu That is not expected and probably related to some unstable mathematics. Could you shore the input data up to when the Nan was returned? That will help me debug the issue.

@nathanielc I've got the same problem.
My script looks like this
stream
  |from()
    .database('production_monitoring')
    .measurement('Mvno.CdrRating')
    .groupBy('brand')
    .where(lambda: "name" == 'Number_of_rated_messages' AND "brand" !~ /Test$/)
  |window()
    .period(90m)
    .every(1m)
  |log()
  |mean('value')
  |eval(lambda: sigma("mean"))
    .as('sigma')
    .keep('mean', 'sigma')
  |log()
  |influxDBOut()
    .database('production_monitoring')
    .retentionPolicy('default')
    .measurement('New_rated_calls_test')

And this is the output:
[AreWeRatingTest:log3] 2016/08/23 20:44:16 I!  {Mvno.CdrRating brand=GreenSpeak, 2016-08-23 20:44:15.982881024 +0000 UTC map[brand:GreenSpeak] [{2016-08-23 20:43:15.982881024 +0000 UTC map[value:0] map[service:Mvno.CdrRating brand:GreenSpeak dataSource:counter name:Number_of_rated_messages server:WORKERS300]}]}
[AreWeRatingTest:log6] 2016/08/23 20:44:16 I!  {Mvno.CdrRating   brand=GreenSpeak, [brand] map[brand:GreenSpeak] map[mean:0 sigma:NaN] 2016-08-23 20:44:15.982881024 +0000 UTC}
[edge:AreWeRatingTest|log6->influxdb_out7] 2016/08/23 20:44:16 I! aborting c: 2 e: 2
[AreWeRatingTest:influxdb_out7] 2016/08/23 20:44:16 E! NaN is an unsupported value for field sigma
[task_master] 2016/08/23 20:44:16 E! Stopped task: AreWeRatingTest NaN is an unsupported value for field sigma
[task_store] 2016/08/23 20:44:16 E! task AreWeRatingTest finished with error: NaN is an unsupported value for field sigma

I get the same thing
from(bucket: "PM_DET")
                |> range(start: 2020-12-15T00:00:00Z, stop: 2021-04-04T00:00:00Z)
                |> filter(fn: (r) => r._measurement == "H15_AKI")
                |> filter(fn: (r) => r._field == "DELTA")
                |> filter(fn: (r) => r.BAND_NUM == "1")
                |> aggregateWindow(every: 1d, fn: stddev)

The output is
runtime error @37:19-42:18: to: NaN is an unsupported value for field DELTA

I am having similar issue here:
from(bucket: fromBucket) 	|> range(start: -duration(v: int(v: task.every))) 	|> filter(fn: (r) => 		(r._value =~ /^-?[0-9]\d*(\.\d+)?$/)) 	|> filter(fn: (r) => 		(exists r._value)) 	|> toFloat() 	|> aggregateWindow(fn: stddev, every: task.every, createEmpty: false) 	|> filter(fn: (r) => 		(exists r._value)) 	|> to(bucket: toBucket, org: "test")

The interim solution found for now is to do the following:
from(bucket: fromBucket)
|> range(start: -duration(v: int(v: task.every)))
|> filter(fn: (r) =>
(r._value =~ /^-?[0-9]\d*(.\d+)?$/))
|> filter(fn: (r) =>
(exists r._value))
|> toFloat()
|> aggregateWindow(fn: stddev, every: task.every, createEmpty: false)
|> toString()
|> filter(fn: (r) => r._value != "NaN")
|> toFloat()
|> filter(fn: (r) =>
(exists r._value))
|> to(bucket: toBucket, org: "test")


Should the Action be flagged with the event word?

According to this useful comment from @migueldeicaza (https://github.com/migueldeicaza/gui.cs/pull/621#issuecomment-639556768), Action doesn't really need to be flagged as an event. The only difference is that it appears with a different icon in the dropdown window according to the images. I personally would prefer to have the spark icon, so I ask you to give your opinion too. If you prefer the spark icon, I reset the last push made. Thank you.

I will close this issue because regardless of the spark icon being more appealing, the event flag prevents an Action from being declared inside the construction of a class, such as this:
			_xRadioGroup = new RadioGroup (radioItems) {
				X = 0,
				Y = Pos.Bottom (label),
				SelectionChanged = (selected) => DimPosChanged (_curView),
			};

I wish I understood why VS does that. Annoying.

I had already come across that sometimes I was unable to declare events in the construction of the class and after all it was because of this :-)

It only allows for fields.


ERROR: Failed to construct requested .config file

./build-kernel.sh -e setup
/opt/gopath/src/github.com/kata-containers/tests /opt/gopath/src/github.com/kata-containers/packaging/kernel
/opt/gopath/src/github.com/kata-containers/packaging/kernel
INFO: Config version: 89
INFO: Kernel version: kata-v5.6-april-09-2020
INFO: kernel path does not exist, will download kernel
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  168M    0  168M    0     0  28.7M      0 --:--:--  0:00:05 --:--:-- 25.5M
INFO: Applying patch /opt/gopath/src/github.com/kata-containers/packaging/kernel/patches//kata-v5.6-april-09-2020.x/0001-net-virtio_vsock-Fix-race-condition-between-bind-and.patch
patching file net/vmw_vsock/virtio_transport_common.c
Hunk #1 succeeded at 1151 (offset 103 lines).
INFO: Constructing config from fragments: /opt/gopath/src/github.com/kata-containers/packaging/kernel/configs/fragments/arm64/.config
INFO: Some CONFIG elements failed to make the final .config:
INFO: Value requested for CONFIG_REFCOUNT_FULL not in final .config
Value requested for CONFIG_MEMORY_HOTREMOVE not in final .config
Value requested for CONFIG_ZONE_DEVICE not in final .config
Value requested for CONFIG_DEV_PAGEMAP_OPS not in final .config
Value requested for CONFIG_ND_PFN not in final .config
Value requested for CONFIG_NVDIMM_PFN not in final .config
Value requested for CONFIG_NVDIMM_DAX not in final .config
INFO: Generated config file can be found in /opt/gopath/src/github.com/kata-containers/packaging/kernel/configs/fragments/arm64/.config
ERROR: Failed to construct requested .config file
ERROR: failed to find default config

@magnate3 - This works for me, so it looks like an arm64-specific issue:
$ ./build-kernel.sh -e setup
~/go/src/github.com/kata-containers/tests ~/go/src/github.com/kata-containers/packaging/kernel
~/go/src/github.com/kata-containers/packaging/kernel
versions file (versions-master.yaml) does not exist
Download from https://raw.githubusercontent.com/kata-containers/runtime/master/versions.yaml
INFO: Config version: 89
INFO: Kernel version: kata-v5.6-april-09-2020
INFO: kernel path does not exist, will download kernel
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  168M    0  168M    0     0  2954k      0 --:--:--  0:00:58 --:--:-- 3141k
INFO: Applying patch /home/james/go/src/github.com/kata-containers/packaging/kernel/patches//kata-v5.6-april-09-2020.x/0001-net-virtio_vsock-Fix-race-condition-between-bind-and.patch
patching file net/vmw_vsock/virtio_transport_common.c
Hunk #1 succeeded at 1151 (offset 103 lines).
ls: cannot access '/home/james/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/../common/experimental/*.conf': No such file or directory
INFO: Constructing config from fragments: /home/james/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/.config
INFO: Copying config file from: /home/james/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/.config
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
Kernel source ready: /home/james/go/src/github.com/kata-containers/packaging/kernel/kata-linux-experimental-kata-v5.6-april-09-2020-89
$ echo $?
0

/cc @jongwu

thanks @jodh-intel @magnate3, I'll fix it.

thank you @jongwu . execellent expert

Hello, any update on this?
I got a similar issue on x86_64:
$ ./build-kernel.sh -v 4.15 -b -f setup
INFO: Config version: 91
INFO: Kernel version: 4.15
INFO: kernel path does not exist, will download kernel
INFO: Download kernel checksum file: sha256sums.asc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  440k  100  440k    0     0  1482k      0 --:--:-- --:--:-- --:--:-- 1477k
INFO: Download kernel version 4.15
INFO: Download kernel
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    993      0 --:--:-- --:--:-- --:--:--   993
100 97.4M  100 97.4M    0     0  3922k      0  0:00:25  0:00:25 --:--:-- 5054k
linux-4.15.tar.xz: OK
INFO: Apply patches from /home/guillaume/go/src/github.com/kata-containers/packaging/kernel/patches//4.15.x
INFO: Patches directory does not exist
ls: cannot access '/home/guillaume/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/../common/experimental/*.conf': No such file or directory
INFO: Constructing config from fragments: /home/guillaume/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/.config
In file included from scripts/kconfig/zconf.tab.c:2468:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:773:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  773 |  sprintf(newname, "%s%s", dirname, basename);
      |                   ^~~~~~
scripts/kconfig/confdata.c:773:19: note: assuming directive output of 7 bytes
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from scripts/kconfig/zconf.tab.c:2468:
scripts/kconfig/confdata.c:776:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  776 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:82:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: Some CONFIG elements failed to make the final .config:
INFO: Value requested for CONFIG_ARCH_SUPPORTS_ACPI not in final .config
Value requested for CONFIG_IKHEADERS not in final .config
Value requested for CONFIG_DEV_PAGEMAP_OPS not in final .config
Value requested for CONFIG_AUTOFS_FS not in final .config
Value requested for CONFIG_VIRTIO_FS not in final .config
Value requested for CONFIG_NETFILTER_FAMILY_ARP not in final .config
Value requested for CONFIG_NETFILTER_NETLINK_OSF not in final .config
Value requested for CONFIG_NETFILTER_CONNCOUNT not in final .config
Value requested for CONFIG_NF_NAT not in final .config
Value requested for CONFIG_NF_NAT_AMANDA not in final .config
Value requested for CONFIG_NF_NAT_FTP not in final .config
Value requested for CONFIG_NF_NAT_IRC not in final .config
Value requested for CONFIG_NF_NAT_SIP not in final .config
Value requested for CONFIG_NF_NAT_TFTP not in final .config
Value requested for CONFIG_NF_NAT_REDIRECT not in final .config
Value requested for CONFIG_NETFILTER_XT_NAT not in final .config
Value requested for CONFIG_NETFILTER_XT_TARGET_NETMAP not in final .config
Value requested for CONFIG_NETFILTER_XT_TARGET_REDIRECT not in final .config
Value requested for CONFIG_IP_VS_FTP not in final .config
Value requested for CONFIG_NF_TPROXY_IPV4 not in final .config
Value requested for CONFIG_NF_NAT_SNMP_BASIC not in final .config
Value requested for CONFIG_NF_NAT_PPTP not in final .config
Value requested for CONFIG_NF_NAT_H323 not in final .config
Value requested for CONFIG_IP_NF_NAT not in final .config
Value requested for CONFIG_IP_NF_TARGET_MASQUERADE not in final .config
Value requested for CONFIG_IP_NF_TARGET_NETMAP not in final .config
Value requested for CONFIG_IP_NF_TARGET_REDIRECT not in final .config
Value requested for CONFIG_IP_NF_TARGET_CLUSTERIP not in final .config
Value requested for CONFIG_NF_DEFRAG_IPV6 not in final .config
Value requested for CONFIG_FAILOVER not in final .config
Value requested for CONFIG_VIRTIO_PMEM not in final .config
Value requested for CONFIG_STACKPROTECTOR not in final .config
Value requested for CONFIG_STACKPROTECTOR_STRONG not in final .config
Value requested for CONFIG_VIRTIO_MENU not in final .config
Value requested for CONFIG_PVH not in final .config
INFO: Generated config file can be found in /home/guillaume/go/src/github.com/kata-containers/packaging/kernel/configs/fragments/x86_64/.config
ERROR: Failed to construct requested .config file
ERROR: failed to find default config

Hello @edvgui -, you can try kernel 5.4 as the guest kernel in kata. Since some kernel patches are needed, only one or two specific version of kernel is supported in kata. Currently, it's kernel 5.4. Also you can install guest kernel just try
"install_kata_kernel.sh" under kata-containers/tests/.ci.

Hello @jongwu , I face the similar issue while executing ./build-kernel.sh setup in ARM64.
./build-kernel.sh setup
/opt/gopath/src/github.com/kata-containers/tests /opt/gopath/src/github.com/kata-containers/packaging/kernel
/opt/gopath/src/github.com/kata-containers/packaging/kernel
INFO: Config version: 91
INFO: Kernel version: 5.4.60
INFO: /opt/gopath/src/github.com/kata-containers/packaging/kernel/kata-linux-5.4.60-91 already exist
Kernel source ready: /opt/gopath/src/github.com/kata-containers/packaging/kernel/kata-linux-5.4.60-91
root@rose-desktop:/opt/gopath/src/github.com/kata-containers/packaging/kernel# ./build-kernel.sh -f setup
/opt/gopath/src/github.com/kata-containers/tests /opt/gopath/src/github.com/kata-containers/packaging/kernel
/opt/gopath/src/github.com/kata-containers/packaging/kernel
INFO: Config version: 91
INFO: Kernel version: 5.4.60
INFO: /opt/gopath/src/github.com/kata-containers/packaging/kernel/kata-linux-5.4.60-91 already exist
INFO: Force generate config due to '-f'
INFO: Apply patches from /5.4.x
INFO: Patches directory does not exist
ls: cannot access '/opt/gopath/src/github.com/kata-containers/packaging/kernel/configs/fragments/arm64/../common/experimental/*.conf': No such file or directory
INFO: Constructing config from fragments: /opt/gopath/src/github.com/kata-containers/packaging/kernel/configs/fragments/arm64/.config
INFO: Some CONFIG elements failed to make the final .config:
INFO: Value requested for CONFIG_MEMORY_HOTREMOVE not in final .config
Value requested for CONFIG_ZONE_DEVICE not in final .config
Value requested for CONFIG_DEV_PAGEMAP_OPS not in final .config
Value requested for CONFIG_ND_PFN not in final .config
Value requested for CONFIG_NVDIMM_PFN not in final .config
Value requested for CONFIG_NVDIMM_DAX not in final .config
INFO: Generated config file can be found in /opt/gopath/src/github.com/kata-containers/packaging/kernel/configs/fragments/arm64/.config
ERROR: Failed to construct requested .config file
ERROR: failed to find default config
Please let me know how to fix this issue. Thanks!

Thank you @jongwu for your response.  Unfortunately, the whole point of using this tool for me was to be able to build a specific version of the kernel (4.15).  Is this limitation in the available kernel version referenced somewhere that I missed?

Hi @edvgui -, you can find kernel version info at version

This issue is being automatically closed as Kata Containers 1.x has now reached EOL (End of Life). This means it is no longer being maintained.

Important:
All users should switch to the latest Kata Containers 2.x release to ensure they are using a maintained release that contains the latest security fixes, performance improvements and new features.

This decision was discussed by the @kata-containers/architecture-committee and has been announced via the Kata Containers mailing list:

http://lists.katacontainers.io/pipermail/kata-dev/2020-November/001601.html
http://lists.katacontainers.io/pipermail/kata-dev/2021-April/001843.html
http://lists.katacontainers.io/pipermail/kata-dev/2021-May/001896.html

If you believe this issue still applies to Kata Containers 2.x, please open an issue against the Kata Containers 2.x repository, pointing to this one, providing details to allow us to migrate it.