Refactor plotting to enable transmission line path data

:rocket:

[ ] Is your feature request essential for your project?

Describe the workflow you want to enable
Currently, data in PowerSimData are only sufficient to map the start and endpoint of lines to coordinates. However, forthcoming grid models may contain a wider range of information, including true paths of transmission lines. For these grid models, it would be nice to be able to refactor the plotting functions to display this information, rather than just start points and end points.
Describe your proposed implementation
For functions that plot the network, we could have a flag that determines whether the lines are plotted as start- and end-points or as full paths. Path data would be associated with the branches themselves, as a list of 2-tuple (lat, lon) coordinates. Display colors and thicknesses could be the same for each segment of the line as they would be for a straight-shot line.

Notes: related to HIFLD, may be good for Merrielle


Request for readme change : local c = require('vscode.colors').get_colors()

Hi,
I noticed that since commit dabd5454e88d9ac9f91a5c2f9f6b347410e31162,
local c = require('vscode.colors') does not work anymore, e.g c.vscGray won't give me back the expected value.
Now I use local c = require('vscode.colors').get_colors() and it works again like before.
Maybe could we update the (great !) readme https://github.com/Mofiqul/vscode.nvim#-usage reflecting this change ?
🙏

This can be closed, it was resolved in #107.


Updated specs2 to 3.7.2

We should have more details about the failing spec in Travis :game_die:

I am still working on that. I will try to update this PR tomorrow.

Ok, I didn't have much time yet to look into this (and probably won't). Thank you

I am actually not convinced that the tests were running properly before. For example:
https://travis-ci.org/eclipsesource/play-json-schema-validator/builds/112941850#L1105
Shouldn't this display + ref within ref valid, + ref within ref invalid and so on?

For now I have just skipped that test if it doesn't pass on Travis to make the build :green_apple:. That's cheating, I know :-).

BTW if you have time to release today that would be great! Thanks.

Last thing: you can notice how the build times have gone down by doing some caching on Travis.

Before PR #32 each test that read a JSON file just outputted a single 'validate' message, which was a bit tedious to debug of course in case one or more of the tests failed. Hence, the descriptions of each executed test case like + ref within ref valid was not printed.
I'll release a version later today then.
Thanks

FYI: I've released 0.6.4. Let me know if you need anything else. Thanks

Thanks, I'll try it.


MatterPort3D

May I ask which part of the MatterPort3D dataset do you need to support the vlmap?

The names of the Matterport3D scenes are listed in our dataset: https://drive.google.com/file/d/1KaRi1VnY7C_TT1WckDWxHvP4v3MTNu1a/view?usp=sharing. Those scenes are: [5LpN3gDmAk7, JmbYfDe2QKZ, UwV83HsGsw3, Vt2qJdWjCF2, YmJkqBEsHnH, gTV8FGcVJC9, jh4fc5c5qoQ, mJXqzFtmKg4, ur6pFq6Qu1A]

if you have the matterport3D download script, use the following command to download:
# download the data at the current directory
python2 download_mp.py -o . --task habitat


xplat: update cclock assert conditions and enable back on linux

@MSLaguana could you please review?

If mutexPtr can be null

The problem is related to on process exit that we patched for static library. So, this happens only when nothing is alive. (hence mutexPtr == 0)


How can we use this for WebView

Thanks for creating this. Very useful!
Please help how can we use this for WebView

Hi, thanks for the issue. Could you elaborate a bit more?


iterated_lobby_channel also sends global_data

The iterated_lobby_channels send the complete information of the experiment to the next participant. This includes the global_data of the posTest-View, which is personal, e.g. gender, comments, etc. and should not be send to everybody participating in the experiment.
Line 50-54:
        BABE.Endpoint.broadcast!(
          "iterated_lobby:#{experiment_id}:#{variant}:#{chain}:#{realization}",
          "finished",
          %{results: experiment_results.results}
)

Maybe we can filter the results table and exclude the global_information somehow?

Security-wise the current architecture is not very capable. For real online-games, the server should handle most of the functionalities and the clients should be really limited in power. However, since we need to support diverse types of frontend experiments with a backend structure as generic as possible, we have to leave a lot of power in the hands of the client, e.g. generating the next round of experiment, recording results for each round of experiment, etc.
That said, this situation might be a privacy concern since people might come to us and say we leaked their personal information somehow, to others willing to hack the browser console and inspect the data. A solution would be to require users specify dynamic_retrieval_keys, and filter the results based on those keys, just as we do for the traditional JSON results retrieval via HTTP requests.


readline: line and cursor from class Interface are declared readonly but may be edited according to nodejs api docs

lib Update Request

Configuration Check

My compilation target is ES2015 and my lib is the default.
Missing / Incorrect Definition

file: @types/node/readline.d.ts
current version: "@types/node": "^18.11.19"
line and cursor from class Interface are declared readonly but may be edited, in the description of rl.line (https://nodejs.org/api/readline.html#rlline) it mentions that you should control rl.cursor as well when editing. this implies both properties are not readonly
Sample Code

import { createInterface } from "readline";

const rl = createInterface({
  input: process.stdin,
  output: process.stdout
});

rl.line += 'Hello';
rl.cursor += 5;

Documentation Link

https://nodejs.org/api/readline.html

@types/node isn’t maintained by the TypeScript team.  You should file this against DefinitelyTyped instead.

thanks for pointing me in the right direction, found an issue from someone else on exactly this there so closing this
https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/60465


Update rplidar.py

There was error with Serial module's function to read all data from Serial port. 'read_all()' function was used instead of 'readall()'.

On my pull I propose :  self._serial.flushInput()
it is really faster than readall


Github Action Failure: github-pages 222 | Error:  Liquid syntax error (line 5): Unknown tag 'bibliography'

Here is the content from publications.md:
---
layout: page
permalink: /publications/
title: Publications
description:
years: [2021,2022]
nav: true
---

{% for y in page.years %}

{{y}}

  {% bibliography -f papers -q @*[year={{y}}]* %}
{% endfor %}

Can succeed in local environment but failed in github actions.

The CI can be found here: https://github.com/jiawei-site/jiawei-site.github.io/runs/4611859544?check_suite_focus=true

So strange... It suddenly works again... I guess this is a github issue...

Hi I have the same issue and I haven't figured out how to solve it. Any suggestions?


Getting issue with "paramsArray"

Hef is reporting this...
"http://steamcommunity.com/sharedfiles/filedetails/?id=660539281
Steam Community: Arma 3.
I get that error and then i can run around for 2 mins then get the loading screen"

Issue is that paramsArray isn't even a variable yet

@WarlordX07 currently working on it but should be fixed in next build

tested and no issues in MP closing @WarlordX07


About composer version and phpactor holding for tag

Hi there,
First of all thank you very much for this, I am using php-action/LSP for quite some time and it is quite ok, even having some trouble having LSP 100% cpu kind of situation.
Regarding the last statement, I was wondering if some updates were/are just needed to be apply in order to fix my few issues. Then here is my question, because I don't think that is really an issue.
I am using vim
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 10 2022 08:40:37)
Included patches: 1-4929
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>
On ubuntu focal.
Using vim-plug to manage the vim plugins.

Now, When I am updating i have that kind of output:

Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
37 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> bin/phpactor extension:update
<warning>Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/</warning>
Info from https://repo.packagist.org: #StandWithUkraine
Loading composer repositories with package information
<warning>Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/</warning>
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies

I make sure that my box actually have composer 2 installed.
Even went into .vim/bundle/phpactor/ tracking composer and even self-upgrade the ones found.
Still plug upgrading phpactor-coc still warns about using composer v1!!!
What do I miss here.

Second part:
Plug reports

Pending updates:
----------------

- phpactor: (tag: *)
  * bf67cd0f Hover crashes (#1740) (5 days ago)
  * 73d670ad Gh 1729 (#1731) (7 days ago)
  * b6a399be GH-1720: Support false in unions (#1723) (7 days ago)
  * fa38d7b4 update[doc]: assign Phpactor commands to only php files (#1727) (7 days ago)
  * 283bfdfe Gh 1726 (#1730) (7 days ago)
...

Where the list of patch stacked are quite long now.
So the question is, in both cases do I miss something, do I need to manually setup anything or is it the correct behaviour?
Thanks in advance for clarification
David

so the latest phpactor is no longer has the bin/phpactor extension:update as it no longer has an exension-manager, so also no composer 1 usage.
the "pending" updates reflects the lastet changes, not sure what's going on there.
but basically master branch is a lightyear ahead of the last tagged version, if you depend on master instead fo the latest tag it should be "fine"

Thanks @dantleech for the explanation.
Still a bit confused about how should I integrate phpactor with lsp (coc) and vim.
Would you mind clarify this if possible?

Well I changed the line
Plug 'phpactor/phpactor', {'for': 'php', 'tag': '*', 'do': 'composer install --no-dev -o'}

by
Plug 'phpactor/phpactor', {'for': 'php', 'branch': 'master', 'do': 'composer install --no-dev -o'}

It seems that I don't have the composer v1 lines
And actually much quicker to upgrade.
I guess I should be good

After upgrading I have those lines
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 24 updates, 42 removals
  - Removing symfony/finder (v5.4.3)
  - Removing seld/phar-utils (1.2.0)
  - Removing seld/jsonlint (1.8.3)
  - Removing phpactor/worse-reflection-extension (0.2.5)
  - Removing phpactor/worse-reflection (0.4.7)
  - Removing phpactor/worse-reference-finders (0.2.6)
  - Removing phpactor/worse-reference-finder-extension (0.1.6)
  - Removing phpactor/text-document (1.2.4)
  - Removing phpactor/source-code-filesystem-extension (0.1.5)
  - Removing phpactor/source-code-filesystem (0.1.8)
  - Removing phpactor/rpc-extension (0.2.4)
  - Removing phpactor/reference-finder-rpc-extension (0.1.5)
  - Removing phpactor/reference-finder-extension (0.1.7)
  - Removing phpactor/reference-finder (0.1.6)
  - Removing phpactor/php-extension (0.1.1)
  - Removing phpactor/path-finder (0.1.1)
  - Removing phpactor/name-specification (0.1.1)
  - Removing phpactor/logging-extension (0.3.4)
  - Removing phpactor/language-server-phpactor-extensions (0.5.3)
  - Removing phpactor/language-server-extension (0.6.4)
  - Removing phpactor/indexer-extension (0.3.3)
  - Removing phpactor/file-path-resolver-extension (0.3.4)
  - Removing phpactor/file-path-resolver (0.8.3)
  - Removing phpactor/extension-manager-extension (0.8.5)
  - Removing phpactor/docblock (0.3.5)
  - Removing phpactor/console-extension (0.1.6)
  - Removing phpactor/config-loader (0.1.2)
  - Removing phpactor/composer-autoloader-extension (0.2.3)
  - Removing phpactor/completion-worse-extension (0.2.3)
  - Removing phpactor/completion-rpc-extension (0.2.3)
  - Removing phpactor/completion-extension (0.2.5)
  - Removing phpactor/completion (0.4.6)
  - Removing phpactor/code-transform-extension (0.2.2)
  - Removing phpactor/code-transform (0.4.3)
  - Removing phpactor/code-builder (0.4.3)
  - Removing phpactor/class-to-file-extension (0.2.2)
  - Removing phpactor/class-mover (0.2.0)
  - Removing justinrainbow/json-schema (5.2.11)
  - Removing composer/spdx-licenses (1.5.6)
  - Removing composer/semver (1.7.2)
  - Removing composer/composer (1.10.25)
  - Removing composer/ca-bundle (1.3.1)
  - Upgrading symfony/polyfill-ctype (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading amphp/amp (v2.6.1 => v2.6.2): Extracting archive
  - Installing composer/pcre (1.0.1): Extracting archive
  - Upgrading composer/xdebug-handler (1.4.6 => 2.0.5): Extracting archive
  - Upgrading symfony/polyfill-php72 (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading symfony/polyfill-mbstring (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading twig/twig (v2.14.11 => v2.14.13): Extracting archive
  - Upgrading psr/container (1.1.1 => 1.1.2): Extracting archive
  - Upgrading jetbrains/phpstorm-stubs (v2021.3 => dev-master 4b95f4f): Extracting archive
  - Upgrading monolog/monolog (1.26.1 => 1.27.0): Extracting archive
  - Upgrading webmozart/glob (4.4.0 => 4.5.0): Extracting archive
  - Upgrading phpactor/class-to-file (0.4.1 => dev-master e9b7022): Extracting archive
  - Upgrading phpactor/map-resolver (1.4.0 => 1.5.0): Extracting archive
  - Upgrading thecodingmachine/safe (v1.1.3 => v1.3.3): Extracting archive
  - Upgrading symfony/polyfill-php80 (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading symfony/polyfill-php81 (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading phpactor/language-server (1.1.2 => 2.2.0): Extracting archive
  - Upgrading symfony/polyfill-intl-normalizer (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading symfony/polyfill-intl-grapheme (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading symfony/deprecation-contracts (v2.5.0 => v2.5.1): Extracting archive
  - Upgrading symfony/service-contracts (v2.5.0 => v2.5.1): Extracting archive
  - Upgrading symfony/polyfill-php73 (v1.24.0 => v1.25.0): Extracting archive
  - Upgrading symfony/console (v5.4.3 => v5.4.7): Extracting archive
  - Upgrading symfony/filesystem (v5.4.3 => v5.4.7): Extracting archive
  - Upgrading symfony/process (v4.4.37 => v5.4.7): Extracting archive
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
Class Phpactor\Extension\LanguageServer\Tests\ridge\Converter\LocationConverterTest located in ./lib/Extension/LanguageServerBridge/Tests/Converter/LocationConverterTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Phpactor\Extension\LanguageServerPsalm\Model\Excepteion\PsalmProcessError located in ./lib/Extension/LanguageServerPsalm/Model/Excepteion/PhpstanProcessError.php does not comply with psr-4 autoloading standard. Skipping.
Class Phpactor\ClassMover\Tests\Adapter\TolerantParser\Example5Interface located in ./lib/ClassMover/Tests/Adapter/TolerantParser/examples/Example5.php does not comply with psr-4 autoloading standard. Skipping.
Class Phpactor\ClassMover\Tests\Adapter\TolerantParser\ExampleTrait located in ./lib/ClassMover/Tests/Adapter/TolerantParser/examples/Example6.php does not comply with psr-4 autoloading standard. Skipping.
Class Phpactor\ClassMover\Tests\Adapter\TolerantParser\Example7 located in ./lib/ClassMover/Tests/Adapter/TolerantParser/examples/Example7.php does not comply with psr-4 autoloading standard. Skipping.
Class Phpactor\WorseReflection\Tests\Inference\TestAssertWalker located in ./lib/WorseReflection/Tests/Inference/TestAssertResolver.php does not comply with psr-4 autoloading standard. Skipping.
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> bin/phpactor config:json-schema phpactor.schema.json

Would you mind confirm that it should be upgraded as it should?
Dave

yes that looks good :+1: :)

@dantleech thanks so much.
You can ping me if you need some specific testing or so...
Will keep in touch here, if found something not going well.
Anyway,
Have a very nice day.


Changing Set-AzureSqlDatabaseAuditingPolicy to Set-AzureSqlDatabaseAu…

…diting
Per output of Set-AzureSqlDatabaseAuditingPolicy, it is obsolete now.
I would use this new cmdlet also in the script, but I am unable to locate the GitHub repo where the sample script lives 😟.
Also, changed hard-coded resource group name in Remove cmdlet to the variable value. The resource group name has random values in it.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@SvenAelterman : Thanks for your contribution to the Azure documentation! The author, @janeng, has been notified to review your proposed change.

@SvenAelterman Hi Sven - I found two errors in the script that I am fixed now - PR is pending. However, I am not seeing the obsolete message - I will update my PowerShell and re-verify.
Also, https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/set-azurermsqldatabaseauditingpolicy does not indicate that it is obsolete - checking with the appropriate PM and will follow up. In the meantime, did you happen to capture the error message that you are referring to? If so, please provide.
Thanks,
Carl

@SvenAelterman found the change - fixing now - thank you

@CarlRabeler So nothing you need from me then?

@SvenAelterman no, thank you for catching this error. The newest PowerShell update has broken an number of our PowerShell scripts and we are fixing them now.

@CarlRabeler - To resolve this pull request, please add an appropriate comment so that automation can take the corresponding action.  Thanks

Please close - fixed in another PR. Thanks. @SvenAelterman
#please-close


Black screen on startxfce4 after Chrome updated and updating trusty

$ sudo enter-chroot croutonversion
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20150604154515~master:91b3e350
release: trusty
architecture: i386
xmethod: xorg
targets: xfce
host: version 6946.55.0 (Official Build) stable-channel parrot
kernel: Linux localhost 3.4.0 #1 SMP Tue May 26 16:18:27 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: no
After Chrome updated itself there was a segfault trying to startxfce4. Did the crouton update (2x) and the result is the screen goes black. Using ctrl-alt-right arrow twice a brief XFCE screen will flash, but just for the briefest moment than black again. This is on an Acer Chromebook.
(With a similar segfault situation on an Asus, I did things backwards and ran do-release-upgrade until it was up to 15.04 - kept segfaulting of course - and then did the crouton upgrade - which reported that 15.04 wasn't supported, but when finished it worked fine. But was never at a black-screen stage with that one, so probably no lesson from that for this system.)

Not sure if this belongs here but it's the closest I could find. Chrome updated on Asus a few days ago. Went back into crouton after reboot and it failed to start with many errors. That's history by now. As has become the norm, I then updated crouton. After that the error changed, but all new and old croutons were useless.
I then took a new drive and did a fresh install, leaving the updated and historical croutons on the old drive for forensic purposes. All day long today, starting the new crouton would give me a commandline, any attempt to start x on the commandline (or via startxfce4 in the shell) got me a "waiting to start x" followed by repeated
..
..
..
ad infinitum.
After several reboots, it now starts in commandline mode and startx gives me a few flashes like there is a video sync problem, then the screen goes blank, keyboard is dead, and I can't even get to power down without holding the power button for a very long time. The symptoms changed, so I assume another chrome os version got installed in the middle of this...
I've worked around various problems before but this one has me dead.
System info:
Version 43.0.2357.81 (64-bit)
Platform 6946.55.0 (Official Build) stable-channel quawks
Firmware Google_Quawks.5216.204.6
crouton: version 1-20150604154515~master:91b3e350
release: trusty
architecture: amd64
xmethod: xorg
targets: audio,cli-extra,core,extension,gtk-extra,touch,x11,xfce,xfce-desktop,xorg
host: version 6946.55.0 (Official Build) stable-channel quawks
kernel: Linux localhost 3.10.18 #1 SMP Tue May 26 18:02:11 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

Once in a crouton cli, I get this in the crouton log:
(this one is from the updated one, all acting similar now)
using:
sudo enter-chroot -c /path/to/chroots -n trustyname
then at commandline:
startx
chromebook:~$ startx
ERROR: ld.so: object '/usr/local/lib/croutonfreon.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux chromebook 3.10.18 #1 SMP Tue May 26 18:02:11 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashtree=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=b11d145126c8261424685884426c06721cadf260 salt=798a2fe48498c404a404683967eb35e694276e5c76ff58d65cdadd343ede3c79" noinitrd vt.global_cursor_default=0 kern_guid=2576c1c1-f6b0-d446-9ac5-5f8760f61592 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Jun 15 18:44:19 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
(trustyprod1)skip@chromebook:~$ cat /tmp/Xorg.crouton.1.log
[   958.657]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[   958.657] X Protocol Version 11, Revision 0
[   958.657] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[   958.657] Current Operating System: Linux chromebook 3.10.18 #1 SMP Tue May 26 18:02:11 PDT 2015 x86_64
[   958.658] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashtree=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=b11d145126c8261424685884426c06721cadf260 salt=798a2fe48498c404a404683967eb35e694276e5c76ff58d65cdadd343ede3c79" noinitrd vt.global_cursor_default=0 kern_guid=2576c1c1-f6b0-d446-9ac5-5f8760f61592 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
[   958.659] Build Date: 12 February 2015  02:49:29PM
[   958.659] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[   958.659] Current version of pixman: 0.30.2
[   958.659]    Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   958.659] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   958.661] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Jun 15 18:44:19 2015
[   958.666] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   958.676] (==) No Layout section.  Using the first Screen section.
[   958.676] (==) No screen section available. Using defaults.
[   958.676] () |-->Screen "Default Screen Section" (0)
[   958.676] () |   |-->Monitor ""
[   958.678] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[   958.679] (==) Automatically adding devices
[   958.679] (==) Automatically enabling devices
[   958.679] (==) Automatically adding GPU devices
[   958.696] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   958.696]    Entry deleted from font path.
[   958.696] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   958.696]    Entry deleted from font path.
[   958.696] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   958.696]    Entry deleted from font path.
[   958.699] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   958.699]    Entry deleted from font path.
[   958.699] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   958.699]    Entry deleted from font path.
[   958.699] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[   958.699] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[   958.699] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[   958.699] (II) Loader magic: 0x7fecffb42d40
[   958.699] (II) Module ABI versions:
[   958.699]    X.Org ANSI C Emulation: 0.4
[   958.699]    X.Org Video Driver: 15.0
[   958.699]    X.Org XInput driver : 20.0
[   958.699]    X.Org Server Extension : 8.0
[   958.701] (--) PCI:x(0:0:2:0) 8086:0f31:8086:0f31 rev 14, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00001000/8
[   958.703] Initializing built-in extension Generic Event Extension
[   958.703] Initializing built-in extension SHAPE
[   958.703] Initializing built-in extension MIT-SHM
[   958.703] Initializing built-in extension XInputExtension
[   958.703] Initializing built-in extension XTEST
[   958.703] Initializing built-in extension BIG-REQUESTS
[   958.703] Initializing built-in extension SYNC
[   958.703] Initializing built-in extension XKEYBOARD
[   958.704] Initializing built-in extension XC-MISC
[   958.704] Initializing built-in extension SECURITY
[   958.704] Initializing built-in extension XINERAMA
[   958.704] Initializing built-in extension XFIXES
[   958.704] Initializing built-in extension RENDER
[   958.704] Initializing built-in extension RANDR
[   958.704] Initializing built-in extension COMPOSITE
[   958.704] Initializing built-in extension DAMAGE
[   958.705] Initializing built-in extension MIT-SCREEN-SAVER
[   958.705] Initializing built-in extension DOUBLE-BUFFER
[   958.705] Initializing built-in extension RECORD
[   958.705] Initializing built-in extension DPMS
[   958.705] Initializing built-in extension Present
[   958.705] Initializing built-in extension DRI3
[   958.705] Initializing built-in extension X-Resource
[   958.705] Initializing built-in extension XVideo
[   958.706] Initializing built-in extension XVideo-MotionCompensation
[   958.706] Initializing built-in extension SELinux
[   958.706] Initializing built-in extension XFree86-VidModeExtension
[   958.706] Initializing built-in extension XFree86-DGA
[   958.706] Initializing built-in extension XFree86-DRI
[   958.706] Initializing built-in extension DRI2
[   958.706] (II) LoadModule: "glx"
[   958.747] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   958.794] (II) Module glx: vendor="X.Org Foundation"
[   958.794]    compiled for 1.15.1, module version = 1.0.0
[   958.794]    ABI class: X.Org Server Extension, version 8.0
[   958.794] (==) AIGLX enabled
[   958.794] Loading extension GLX
[   958.794] (==) Matched intel as autoconfigured driver 0
[   958.794] (==) Matched modesetting as autoconfigured driver 1
[   958.794] (==) Matched fbdev as autoconfigured driver 2
[   958.794] (==) Matched vesa as autoconfigured driver 3
[   958.794] (==) Assigned the driver to the xf86ConfigLayout
[   958.794] (II) LoadModule: "intel"
[   958.797] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   958.812] (II) Module intel: vendor="X.Org Foundation"
[   958.812]    compiled for 1.15.1, module version = 2.99.910
[   958.812]    Module class: X.Org Video Driver
[   958.812]    ABI class: X.Org Video Driver, version 15.0
[   958.812] (II) LoadModule: "modesetting"
[   958.813] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   958.817] (II) Module modesetting: vendor="X.Org Foundation"
[   958.817]    compiled for 1.15.0, module version = 0.8.1
[   958.817]    Module class: X.Org Video Driver
[   958.817]    ABI class: X.Org Video Driver, version 15.0
[   958.817] (II) LoadModule: "fbdev"
[   958.817] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   958.819] (II) Module fbdev: vendor="X.Org Foundation"
[   958.819]    compiled for 1.15.0, module version = 0.4.4
[   958.819]    Module class: X.Org Video Driver
[   958.819]    ABI class: X.Org Video Driver, version 15.0
[   958.819] (II) LoadModule: "vesa"
[   958.820] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   958.823] (II) Module vesa: vendor="X.Org Foundation"
[   958.823]    compiled for 1.15.0, module version = 2.3.3
[   958.823]    Module class: X.Org Video Driver
[   958.823]    ABI class: X.Org Video Driver, version 15.0
[   958.823] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   958.825] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   958.825] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   958.825] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   958.825] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   958.825] (II) FBDEV: driver for framebuffer: fbdev
[   958.825] (II) VESA: driver for VESA chipsets: vesa
[   958.825] (EE)
Fatal server error:
[   958.825] (EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
[   958.825] (EE)
[   958.825] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[   958.826] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[   958.826] (EE)

@wytcld - You could try this fix - https://github.com/dnschneid/crouton/issues/1680#issue-71383695, I think it's worked for some - might be worth a shot.

Tried and didn't make a difference. I'm running xfce and it #1680 is gnome. Still dead but thanks. I wonder why there aren't more folks reporting this problem. Seems pretty major, new fresh crouton and all...

@yisheng-on-linux You shouldn't use startx use xinit instead. Also you can just do in a crosh shell sudo startxfce4
startx has never worked reliable on crouton chroots and is recommended not to use. What is strange is that fbdev driver seems to be  installed. I thought it was removed for devices with freon and modesetting should be used. Need to check that.

Sorry if this is intuitively obvious, but I'm beginning to doubt what I know about getting crouton to run. If I have installed in /path/to/crouton and named it my_crouton what cmdline params do I use with startxfce4? Does it take the -c and -n ones?
I ask, since they also fail so far and I'm not sure if it's from the current problem or I'm not doing the cmdline right...
Thanks.

Tried xinit inside the cli crouton and get the following:
~$ xinit
ERROR: ld.so: object '/usr/local/lib/croutonfreon.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux chromebook 3.10.18 #1 SMP Tue May 26 18:02:11 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashtree=PARTUUID=2576c1c1-f6b0-d446-9ac5-5f8760f61592/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=b11d145126c8261424685884426c06721cadf260 salt=798a2fe48498c404a404683967eb35e694276e5c76ff58d65cdadd343ede3c79" noinitrd vt.global_cursor_default=0 kern_guid=2576c1c1-f6b0-d446-9ac5-5f8760f61592 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Jun 16 23:37:40 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error

You need to update you chroot after update ChromeOS
sudo enter-chroot -n chrootname
croutonversion -u -d
exit
sudo sh ~/Downloads/crouton -u -n chrootname
If you have multiple Chroots(Trusty, Jessie, Sid, customname etc) and you want to use for example Trusty run
sudo startxfce4 -n trusty
-n param is the name of the chroot

Tuxerito,
Can't speak for the other issues in this thread, but my initial report was about the problem which has appeared after doing exactly what you're suggesting. So: Anyone who hasn't done that should. But there is at least one problem being discussed here which that does not cure. Not even after running it several times.
Whit

Make sure Chrome OS is in Stable channel.


Travis and Coveralls / Codecov

Hi there,
First of all really nice module.
This is not a real issue, I just recently used this generator to kickstart a small node module and I quickly added a Travis config and Coveralls to it. If you think that it is a good ideia I will be happy to make a PR with the changes, let me know which code coverage tool you would like to add (Coveralls/Codecov/etc...).
Ty

Thank you for the kind words and the offer to help :). I would appreciate a PR for Travis and Coveralls.

Thank you for the pull request. Released v2.3.0 with the changes.


MouseHelperExtension clicking thru multiple scenes

Describe the bug of the extension
MouseHelperExtension
Using button behavior
It continuously click/touch multiple scenes at the same time even with trigger once.
Please double check that the bug is not already reported in the issues list.
To Reproduce
Steps to reproduce the behavior:

Install MouseHelper Extension
Add a sprite with the mousehelper button behaviour
Add it on the all the scenes same position
Add it events is clicked go to next scene, trigger once
Launch game in desktop, browser and/or mobile.

Please include a link to a game if possible!
If applicable, add screenshots to help explain your problem.

https://user-images.githubusercontent.com/1837825/176956791-f966a414-475d-4c3c-9b6c-ff4e2911c836.mp4
Other details

Include any OS/browser version/smartphone that you're using
Windows, Chrome, Android Chrome
Which version of GDevelop are you using? The desktop app or the web-app?
Desktop and webapp

Sorry for that we gonna get back to you soon


travis: update to dist trusty

Travis is discontinuing support for Ubuntu precise end of April 2018. Our travis script has explicitly dist:precise at the header. If not specified the Ubuntu build in the build matrix of travis produced errors before. So we should investigate this issue further on and change our travis script accordingly.
For more information see:  https://blog.travis-ci.com/2017-08-31-trusty-as-default-status

My runs with the only change dist:precise to dist:truty in the .yaml result in a timeout (arising from the cross-validation tests in the test csd module), which I cannot explain.

Changed to dist: xenial in https://github.com/NeuralEnsemble/elephant/pull/222


[PAN-OS Upgrade Assurance] documentation update for release: v1.1.0

Description
A PR made for changes introduced into documentation on v1.1.0 release.
Types of changes
New feature (non-breaking change which adds functionality)

Hi @horiagunica, are you still looking to merge this PR? Just wanted to reach out as we are doing a bit of housekeeping for open PR's. Thanks!


custom select

I'm using the picker it's really very nice, simple and helpful.
I want to know if there is a way that I can select a year or a month all at once without selecting day by day

Hi,
thanks, glad you like it.
You want to pre-select a year or month before the user select a date ?

I'm having an option that the user can select all days or all month, I wonder if there is a way to do this without having to loop over the whole year or month

I thought so, unfortunately I'll have to do it all by my self, thanks a lot for the suggested library I'll try to use it.

Let me know if you need help to achieve it ;)

Did you manage to do it ?

yes I did it the old fashion way, for loop through all the days searching for the ones I need, Thanks alot :)


Query, New Calculation Group , does not have a valid M Expression | Power BI | Calculation Groups |

Hi,
I am trying to create calculation groups in Power BI (.pbit) file. I am able to create the group and save the .pbit file. However, when I open the .pbit file and refresh it, I get the following error message

The enhanced metadata feature is enabled
Power BI Desktop Version: 2.79.5768.721 64-bit (March 2020)
Thanks
Nishant

Desktop doesn't yet support calculation groups (only through live connections to AS). The support should come later this year.


build c-ares failed

Package: c-ares:x86-windows
Vcpkg version: 0.0.100-2017-12-15-76096c95f1d3cbb85779ccd78c30513eec32b517

@shanfl ,thank you for posting this issue. This issue should be fixed now and I cannot reproduce it on my machine.
Please open a new issue if this is still a problem for you.


fix(smartProbe):fix smart probe to fill larger(>2TB) disk capacity also

smart probe is now able to fill disk capacity for disks having capacity larger than 2 TB also.
Earlier it was not able to fill disk capacity of a disk having capacity more than 2TB since it was only using ReadCapacity10 scsi command to get the capacity of a disk.
Now it is able to send ReadCapacity16 scsi command also if  the capacity is more than 2TB which is the maximum limit fetched using ReadCapacity10 scsi command.
Changes committed:
modified:   cmd/probe/capacityprobe.go
modified:   cmd/probe/smartprobe.go
modified:   pkg/smart/common.go
modified:   pkg/smart/scsicommands.go

Signed-off-by: sagarkrsd<EMAIL_ADDRESS>

Codecov Report

Merging #149 into master will decrease coverage by 0.92%.
The diff coverage is 2.38%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
- Coverage   54.78%   53.86%   -0.93%
==========================================
  Files          42       42
  Lines        1577     1606      +29
==========================================
+ Hits          864      865       +1
- Misses        651      679      +28
  Partials       62       62

Impacted Files
Coverage Δ

cmd/probe/smartprobe.go
37.83% <0%> (ø)
:arrow_up:

pkg/smart/scsicommands.go
0% <0%> (ø)
:arrow_up:

pkg/smart/common.go
21.66% <0%> (-12.55%)
:arrow_down:

cmd/probe/capacityprobe.go
22.22% <100%> (+1.76%)
:arrow_up:

Continue to review full report at Codecov.

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

Closing this PR in favor of #150


Assistant model updates

Description of Changes
Change 1 Created a new column called external_id to the following models

Assistant
Conversation
Run
Step

What does external_id represent?

It represents the backend api's id. If we created an OpenAI assistant Open AI has an ID that they provide clients. This ID is used to perform API calls on their assistant. Hence why we need to store it somewhere

Change 2: The external_id column is unique only for assistant and conversation models

I felt like these two HAD to be unique, can make an agruement for Run and step to be unique as well but don't feel as strongly on this.

Change 3: Added annotation gem

I love this gem because you can look at model class and know exactly what its database properties are.

Testing done

[x] Confirmed migration succeeds
[x] Confirmed rollback is successful along with a following migration
[x] TODO: Confirmed app still functions

The external_id makes sense. Thanks for adding this!
Can we remove the annotate gem, though? I am really trying to minimize external dependencies since every gem is one to keep updated over time. I also don’t the comment at the top of the model files. People can just open schema.rb or often a dev already has bin/rails dbconsole open anyway \dt table; or has bin/rails c open and model.attributes. I feel like most devs have fallen into some habit already since having a big comment at the top of models isn’t a standard pattern we’re all invariably falling back to one of these other methods which every project supports.

BTW, I have an overall thought about this direction, let me throw it back in our other thread: https://github.com/allyourbot/hostedgpt/discussions/345

rails dbconsole

Yes I can remove the annotate gem. I find it useful but if other don't that no problem.

I went ahead and cleaned this up so I could get it merged in.


dockerImage: rename docker env

Renames the network environment variable from ENV to NETWORK, and improves the inline documentation

This PR does not result in breaking changes to upstream dependencies.

Checklist

[x] This PR contains all the work required to resolve the linked issue.

[x] The work contained has sufficient documentation to describe what it does and how to do it.

[x] The work has sufficient tests and/or testing.

[x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[x] I have added the appropriate labels to this PR.

bors r+


Cannot access "altText" inside images

I am using the sanityImage utility method and cannot access the altText which is an additional field. I'm not sure if there's be a change with sanity since the implementation but for example:
      image: sanityImage('image', {
        withAsset: ['base', 'lqip', 'dimensions'],
        additionalFields: {
          altText: q.string().nullable(),
        },
      })

It always returns null for the altText because the altText is inside asset. The only way I've got around this is
      image: sanityImage('image', {
        additionalFields: {
          asset: q('asset').deref(),
        },
        withAsset: ['base', 'lqip', 'dimensions'],
      }),

Which sort of defeats the point and ruins the types

@carbonrobot yes that's correctly. I am using the Sanity Media plugin (https://github.com/sanity-io/sanity-plugin-media) so it is automatically adding those fields and it's directly on the asset type - nothing extra in my schema.
I didn't realise about adding custom fields on images, that makes sense the additionalFields make more sense now 😅  but it is nice to store the alt text for images globally instead of individually through the media plugin


Creating instance of generic types

Hello,
Why can't I do following?

In above case TypeScript compiler knows lexically that T is MyData, so why it can't exchange new T() with new MyData() ?
Thanks:)

You have to remember what new does in JavaScript, in that you need an actual constructor value to be new-ed. T is just a type, not a value.
In our type system, we require a value to have a construct signature in its type to be new-able. So this is something closer to what you want:
interface Constructor<T> {
    new (): T
}

class View<T> {
    data: T;
    constructor(ctor: Constructor<T>) {
        this.data = new c();
    }
}

class MyView extends MyView<MyData> {
    constructor() {
        // This will work because 'MyData' is also an entity
        // in the value space.
        super(MyData);
    }
}

var view = new MyView();

Hope that helps.

Thanks for the answer - I'm aware of the workaround you mentioned.
However I still think you could solve this "lexically" - just by replacing type parameter with original type definition in generate JS.
In fact my above example is just to validate types during design time - in pure JS this is exactly how I would exchange it - and it's seems like this could be done by TSC based on type parameters.
Anyway - thanks for fast response:)

You have the exact same situation in C#. Making new T() doable would be weird since T is a type.
However, in C#, you have Type.GetConstructor and Activator.CreateInstance to help you tackle this problem.
@DanielRosenwasser, could we have any of that love in TypeScript?

@DanielRosenwasser, could we have any of that love in TypeScript?

Even if not, TypeScript loves you. :smile:

You have the exact same situation in C#.

Actually, @AlicanC, you can specify a new Constraint in C#.
The difference is that in C#, there is a straightforward correspondence between types and their constructors. We're not really blessed with that benefit. In my example, I've done something loosely similar, except you have to explicitly pass the constructor function (in this case ctor) as an argument.
If you think about the example though, we've sort of just replaced the type argument with a regular argument, which is not much worse really.


Comics/FarSide: Mar 1, 2024

| 15 Funniest The Far Side Comics That Will Never Get Old | Mar 1, 2024 |

Same page, same content: Sep 25, 2023 overrides Marc2, 2024 (#3452)
Already in place.


Fixed pypi rendering (and url meta-data)

Fixes #5

Current coverage is 100% (diff: 100%)

Merging #6 into master will not change coverage

@@           master    #6   diff @@
===================================
  Files           1     1
  Lines         348   348
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits          348   348
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 5806bfb...307bc60


Marshalling Exception when running Computation Sample

Getting Marshalling Exception when running computation sample.  Exception is occuring in call to new HostSideDataHandle(array) in BufferPoolManager.EndOperationOnBuffer as the data field is seen to be an object.  With a little instrumentation of the code and adding a try when statement I got the following output at the console which may help you resolve the situation.
Testing [ Accelerated Record Vector Reduce With Utility Function ]
Using HostSideDataHandle in CreateTrackedBuffer
Using HostSideDataHandle in Constructor of BufferPoolItem
Using HostSideDataHandle in Constructor of BufferPoolItem
Using Host Side Data Handle in PromoteUntrackedToTracked
Using HostSideDataHandle in EndOperationOnBuffer
Type 'System.Object' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed.
at System.Runtime.InteropServices.Marshal.SizeOfHelper(Type t, Boolean throwIfNotMarshalable)
at System.Runtime.InteropServices.Marshal.SizeOf(Type t)
at FSCL.Runtime.Managers.HostSideDataHandle.BeforeTransferToDevice() in C:\WEDEV\FSCL.Runtime\src\FSCL.Runtime.Execution\BufferPoolManager.fs:line 60
[ Accelerated Record Vector Reduce With Utility Function ] returned a wrong result!
Testing [ Accelerated Record Vector Reduce With Lambda ]
Using HostSideDataHandle in CreateTrackedBuffer
Using HostSideDataHandle in Constructor of BufferPoolItem
Using HostSideDataHandle in Constructor of BufferPoolItem
Using Host Side Data Handle in PromoteUntrackedToTracked
Using HostSideDataHandle in EndOperationOnBuffer
Type 'System.Object' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed.
at System.Runtime.InteropServices.Marshal.SizeOfHelper(Type t, Boolean throwIfNotMarshalable)
at System.Runtime.InteropServices.Marshal.SizeOf(Type t)
at FSCL.Runtime.Managers.HostSideDataHandle.BeforeTransferToDevice() in C:\WEDEV\FSCL.Runtime\src\FSCL.Runtime.Execution\BufferPoolManager.fs:line 60
[ Accelerated Record Vector Reduce With Lambda ] returned a wrong result!
::::::::::::::::::::::::::::::::::::::::::::::::::::
I have just started looking into your library for use in our system and it looks pretty good

@dathayer23 it would be helpful if you could post a full code sample to reproduce that error.


[Bug]: "SocialHub" Website Is "Not Responsive"

What happened?
Hey @punyakrit
The "SocialHub" Website Is Not Responsive.

Could you please assign this issue to me under GSSOC24 ?
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

website is actually responsive can you share which part isnt

@punyakrit
At the front home page when we click on the website link

@punyakrit Please assign me this issue

@punyakrit please assign this issue to me if not resolved


Extremely slow cursor movement in vim on Ubuntu 18.04

Information
VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)
Included patches: 1-1453

Operating System: Ubuntu 18.04.1 LTS
:ALEInfo
ALEInfo
Current Filetype: javascript
Available Linters: ['eslint', 'flow', 'flow-language-server', 'jscs', 'jshint', 'standard', 'tsserver', 'xo']
Enabled Linters: ['standard']
Suggested Fixers:
'eslint' - Apply eslint --fix to a file.
'importjs' - automatic imports for javascript
'prettier' - Apply prettier to a file.
'prettier_eslint', 'prettier-eslint' - Apply prettier-eslint to a file.
'prettier_standard', 'prettier-standard' - Apply prettier-standard to a file.
'remove_trailing_lines' - Remove all blank lines at the end of a file.
'standard' - Fix JavaScript files using standard --fix
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
'xo' - Fix JavaScript files using xo --fix.
Linter Variables:
let g:ale_javascript_standard_executable = 'standard'
let g:ale_javascript_standard_options = ''
let g:ale_javascript_standard_use_global = 0
Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = v:null
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = v:null
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {'java': ['google_java_format']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'javascript': ['standard']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 1
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = v:null
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
Command History:
(executable check - success) standard
(finished - exit code 1) ['/bin/bash', '-c', '''standard'' --stdin ''/home/jon/tmp/t/test.js'' < ''/tmp/vE599nE/1/test.js''']
<<>>
:1:1: Too many blank lines at the beginning of file. Max of 1 allowed.
:4:7: 'foo' is assigned a value but never used.
:5:1: More than 1 blank line not allowed.
:10:13: 'fo' is not defined.
<<>>

What went wrong
Since updating to Ubuntu 18.04, when moving the cursor around a file that has errors is extremely slow, but only when the cursor is on a line that is flagged with a problem. By extremely slow I mean it takes 5 or more seconds to move one character position, i.e. press h, the cursor vanishes and does not appear for 5+ seconds. On lines with no errors the cursor moves fine. I have experienced this both with JavaScript files using standard and Python files using flake8.

Reproducing the bug

Make a new file, e.g. test.js.
Add some blank lines and then add a line with a problem.
Observe that the cursor moves incredibly slowly on the line with a problem.

https://stackoverflow.com/a/12216578/1836507 Log what Vim was doing, and share the log.

OK the profile.log is attached.
Note that it appears vim isn't actually hanging for the 5 second delay, it's just that the screen cursor is hidden for the 5 seconds. So, e.g. if I quickly press llx then it will delete the character and update the screen quickly, it is just that navigation happens blindly as the cursor is invisible.

#1536 It's this issue. It's a Vim bug, already fixed months and months ago. Update the Ubuntu bug to say it impacts you. Nag Ubuntu people to fix their shoddy package. Update Vim.


Fix JavaScript capitalisation in "Programming Languages"

It's meant to be JavaScript, not "Javascript".
Just capitalising the S.

fixed in https://github.com/inttter/md-badges/commit/4ad3c7426ed9c4266555473ae674cee742d13d85


Add a new testing mode for checking results in the new format

Description of changes:
Add a new mode to compiletest to allow testing verification results that use the new output format without sacrificing on accuracy of testing, until we do a cleaner rework of our verification result testing (https://github.com/model-checking/kani/issues/855). With the new mode (results-new-format), compiletest parses each result in the output of the form:
Check 2: foo.assertion.2
- Status: SUCCESS
- Description: "assertion failed: x == 2"

and reformats it to:
[foo.assertion.2] line X assertion failed: x == 2: SUCCESS

This allows writing expected files in the form:
assertion failed: x == 2: SUCCESS

This PR includes moving all the tests that rely on the new output format from the expected suite to the new results-new-format suite, and enhancing their expected file.
This new mode will be deprecated by a more robust json-based testing.
Resolved issues:
Resolves #ISSUE-NUMBER
Call-outs:

Testing:

How is this change tested? Moved a subset of the regressions to the new suite.

Is this a refactor change? No

Checklist

[X] Each commit message has a non-empty body, explaining why the change was made
[X] Methods or procedures are documented
[X] Regression or unit tests are included, or existing tests cover the modified code
[X] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

I created another PR (#892) with an alternative approach that was suggested by @celinval. We'll decide which of the two approaches to go with.

Since we've merged the alternative one, would it be okay to close this PR?

Yes, thanks for the reminder.
Closing this PR as it has been replaced by #892


Ciphers and sqlite-jdbc-crypt

Sorry,
I had some issues for finding cipher for sqlite-jdbc-crypt. Any help? look like the latest version had changed the encryption part.
I had checked SQLite3MultipleCiphers but it only provides Win32 and Win64. There's no Mac binary.
And also, how to "plug" the cipher into sqlite-jdbc-crypt? Any example for that?
Thanks :-D

Hi !
The library jar (available from maven or in releases) comes with SQLite3MultipleCiphers precompiled for a wide variety of platform including Windows, Linux, Mac for both arm and x86 computers.
The source of the repository does not include shared libraries, but they are provided as zip in releases.
See Usage.md it explains how to use the library and the built-in encryption features

Hi !
The library jar (available from maven or in releases) comes with SQLite3MultipleCiphers precompiled for a wide variety of platform including Windows, Linux, Mac for both arm and x86 computers. The source of the repository does not include shared libraries, but they are provided as zip in releases.
See Usage.md it explains how to use the library and the built-in encryption features

so，I just need sqlitejdbc.dll will do? there's no additional SQLite3MultipleCiphers native library to load?
Thanks
Ivan

so，I just need sqlitejdbc.dll will do? there's no additional SQLite3MultipleCiphers native library to load?

That's correct ! Keep the resource folder (in source for windows x64 for example: src/main/resources/org/sqlite/native/Windows/x86_64) structure, and it will be ok

so，I just need sqlitejdbc.dll will do? there's no additional SQLite3MultipleCiphers native library to load?

That's correct ! Keep the resource folder (in source for windows x64 for example: src/main/resources/org/sqlite/native/Windows/x86_64) structure, and it will be ok

Thanks! you are right. thanks again for your help. but I noticed SQLiteBrowser unable to open database encrypted using chacha20. No issues for cipher3.  :-D
another issue. I'm failed to encrypt the existing sqlite db using cipher3 .  :-|
no issues if create a new 1.
`
SQLiteMCSqlCipherConfig config3 = new SQLiteMCSqlCipherConfig().getDefault().getV3Defaults();
        config3.setLegacyPageSize(4096);
        config3.setKdfIter(256000);
        config3.setHmacAlgorithm( HmacAlgorithm.SHA512);
        config3.setKdfAlgorithm( KdfAlgorithm.SHA512);
        config3.withKey("password");

        System.out.println( config3.build().toProperties());

        SQLiteMCConfig config4 = config3.build();

        connection = config4.createConnection("jdbc:sqlite:file:database4.db");

`


Schema export content not JSON for master branch 0.8-SNAPSHOT.

Describe the bug
Schema export produces file not containing JSON. Instead the content is [object Object].
To Reproduce
1 Create a new Schema, name: dummy, urn:dummy:0.1
2 Export schema to file system
3 inspect the contents of exported file
Version
423bde26bffd98542de7c49b485476461cd8cbb5

Java
17

OS
F38
Browser
FF117

Hm, so we have a test for that endpoint:
https://github.com/Hyperfoil/Horreum/blob/master/horreum-backend/src/test/java/io/hyperfoil/tools/horreum/svc/SchemaServiceTest.java#L213
We also push back the output of that call back to Horreum to make sure the json is correct. I verified that the output from that test is valid.
Do you mind checking if there is something wrong on the ui side?

You are right. This is a problem of the browser saving the file. The raw response from Horreum contains JSON.


Added OpenConnect VPN role

This playbook installs OpenConnect VPN SSL server role.
To run playbook just execute ansible-playbook -i inventory/1-datacenter vpn-server.yml.
The role will be installed on the host-02 by default. You can change this in inventory files or vpn-server.yml.
Make sure you change default username:password pair in the openconnect_users variable before deploying this role to the server.
The detailed info about the role is in the README file.

Looks good.

It actually should work this way generating new credentials each time we start an install. See if can leverage the vault Ansible role for that.


Enable a setting to disable all or certain types of diagnostic warnings

They can be disabled using telemetry initializer, however initializing setting would be easier and less error prone.

I got here from this issue as I am having issues with UrlTooLong being thrown to the console because of a 3rd party tool (mixpanel.com)
I tried using a telemetry initializer but it seems to me that it doesn't kick in soon enough to hide the warning.
The DataSanitizer kicks in first (calling sanitizeUrl()) and there seems to be no way to override it. It will always log the warning to the console.
I can fiddle with the remote dependency data all I want and even filter the events out, but I'm already too late, the damage is already done by the sanitizeUrl() function.
Oh! I just noticed the tag enhancement... Does that mean this feature is still in the backlog?

Hi! same trouble here, i m doing an app with Angular and B2C, the trouble is that the id_token and the accestoken are informed in the console as warning.

AI: StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:/#state=CientId&client_info=accestoken.

there is a way to disable this specific warning?

@SandyVeliz what release are you on? Per this issue, this has been fixed.

I peeked at the package.json for the angular-application-insights library. It seems like they are using the version that doesn't have the fix.

Yes, I checked with my local version and use the same version, I will make a problem in your repository. Thank you so much!

Strangely we have the library setup to use ^1.0.15 which should get the latest (1.0.18 anyway), but I cleaned out the package-lock files, and updated everything to 1.0.18 and republished to npm, so hopefully that does the trick. But that's odd, I would of thought it would of been working either way! 🤔

Closing for now as underlying issue was solved. Reopen if there is still an ask for logging filters


It looks decimal rounding rule is not settled for C# version.

First, all C# code uses midpoint-rounding to even, unlike C++ code.
As a premise, C# default round method for midpoint-rounding is rounding to even.
(.NET API System.Math.Round)
For example, C# Point64(double,double) constructor used to rounding to even (Math.Round), but C++ used to away from zero (std::round).
C#: Clipper.Core.cs: Point64.Constructor
    public Point64(double x, double y)
    {
      X = (long) Math.Round(x);
      Y = (long) Math.Round(y);
    }

C++: cipper.core.h Point.Init
    inline void Init(const T2 x_ = 0, const T2 y_ = 0, const int64_t z_ = 0)
    {
      if constexpr (std::numeric_limits<T>::is_integer &&
        !std::numeric_limits<T2>::is_integer)
      {
        x = static_cast<T>(std::round(x_));
        y = static_cast<T>(std::round(y_));
        z = z_;
      }

Next, some C# code has cast without rounding.
In this case, it is truncated.
C#: Clipper.cs Clipper.ScalePoint64
      Point64 result = new Point64()
      {
        X = (long) (pt.X * scale),
        Y = (long) (pt.Y * scale),
#if USINGZ
        Z = (long) (pt.Z),
#endif
      };

See also #657.


Monitor container without published port

Sometimes, we need a proxy before accessing the container, then we do not want to publish port, but to expose them.
However, registrator cannot find such kind of containers currently.
It would be much better to provide some options to watch containers without published port.

There's an ongoing discussion regarding this feature in issue #38.


Deprecates PM.logger

This should close #665, adding motion_print in place of PM.logger with the proper colors, and a deprecation warning for consumers using PM.logger to warn them of the deprecation coming in a future release.
I added a few comments in the diff, on things that need some answers or final tweaks before we consider merging

@markrickert released motion_print 1.0 - updated and removed temporary work arounds.  Should be all set, but let me know if anyone sees anything else that needs to be tweaked.

Great, thanks @squidpunch . Will merge in the next few days probably.

@squidpunch might want to see if specs run locally... i think that some methods were returning from PM::Logger and therefore are failing for some reason.

I'll check it out. Pretty sure it passed llocally but I will verify

@markrickert @jamonholmgren ill have this rebased and pushed again later today (and verify tests locally...)

Sweet. I think some of the more recent PRs added log statements so you might need to make another pass on it.

definitely will take another look to be sure I got them all then, thanks @markrickert

@jamonholmgren @markrickert if travis is happy this should be ready to go.  WE do need a development and runtime dependency (as far as I can tell)

development so that local testing works properly
runtime - so apps using our framework have the gem properly

changing this to just a dependency, or changing it to be runtime only seems to make testing fail.  If I am missing something, let me know, but seems like we need them both called out in the gemspec?

I think you can just leave it as a runtime dep and then add require 'motion_print' in the Rakefile so you don't have to have the dev dep.

lgtm!

@markrickert want me to update it to require in the rakefile instead?

See if that works... i'd rather have a require in the rakefile for the test project than the dependency duplicated

it should work, ill try and report back :+1:

all set @markrickert seems to have worked as expected :clap:

:+1:


What-if with ADF template

Describe the bug
Unclear if this is a bug.  Is Azure Data Factory (ADF) supported with what-if?
In testing with ARM and Bicep using Powershell to deploy, no what-if is produced.
If not supported, a message could be shown.

Can you clarify what you are seeing when no what-if is produced? Is there any what-if output at all?


Empty arrays properties sent as null upon reconnection.

The issue arises when a server-owned property has been set by a device to an empty array.
Upon disconnection and reconnection with a clean session, Astarte sends the server property values to the device.
In the case of the empty array, a BSON file containing a null value is received.
For example, for a string array mapping, the following BSON is received:
08 00 00 00 0a 76 00 00

Which in human readable form is:
{ "v": null }

This has been tested using Astarte v1.1.0.

This is due to Scylla/Cassandra:

Note that Scylla does not distinguish an empty list from a missing value, thus assigning an empty list ([]) to a list is the same as deleting it.

(source: https://opensource.docs.scylladb.com/stable/cql/types.html)
This behaviour also appears on datastreams:
❯  curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" \
        -H "Authorization: Bearer $TOKEN" \
        "http://api.astarte.localhost/appengine/v1/test/devices/$DEVICE/interfaces/$INTERFACE/array_endpoint" \
        --data '{"data" :[]}'
{"data":[]}
❯  curl -X GET -H "Accept: application/json" -H "Content-Type: application/json" \
        -H "Authorization: Bearer $TOKEN" \
        "http://api.astarte.localhost/appengine/v1/test/devices/$DEVICE/interfaces/$INTERFACE"
{"data":{"array_endpoint":{"reception_timestamp":"2024-04-08T16:06:49.116Z","value":null}}}


I am unable to build this project i get errors of missing packages

Closing due to inactivity, but @mahnoorjaved please do comment here if you are still having this issue and we will reopen. Thanks!


Update microsoft-cloud-app-security-integration.md

Made changes to the applies to the section on the document as it works with MDE P2
Reference - https://learn.microsoft.com/en-us/defender-cloud-apps/mde-integration#prerequisites
Fixes#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/11319,

@mjcaparas Please merge this PR. Thanks


ARROW-10209: [Python] Support positional options in compute functions

This makes compute functions easier to use, for example here the required "pattern" option doesn't need to be passed by name:
>>> pc.split_pattern("abacab", "a")
<pyarrow.ListScalar: ['', 'b', 'c', 'b']>

... and producing the following doc at the prompt:
split_pattern(strings, /, pattern, *, max_splits=-1, reverse=False, options=None, memory_pool=None)
    Split string according to separator.

    Split each string according to the exact `pattern` defined in
    SplitPatternOptions.  The output for each string input is a list
    of strings.

    The maximum number of splits and direction of splitting
    (forward, reverse) can optionally be defined in SplitPatternOptions.

    Parameters
    ----------
    strings : Array-like or scalar-like
        Argument to compute function
    pattern : optional
        Parameter for SplitPatternOptions constructor. Either `options`
        or `pattern` can be passed, but not both at the same time.
    max_splits : optional
        Parameter for SplitPatternOptions constructor. Either `options`
        or `max_splits` can be passed, but not both at the same time.
    reverse : optional
        Parameter for SplitPatternOptions constructor. Either `options`
        or `reverse` can be passed, but not both at the same time.
    options : pyarrow.compute.SplitPatternOptions, optional
        Parameters altering compute function semantics.
    memory_pool : pyarrow.MemoryPool, optional
        If not passed, will allocate memory from the default memory pool.

Based on #11951.


Improve documentation for developers not using Visual Studio, e.g. SharpDevelop

The wiki page doesn't mention what to install when not using Visual Studio. I found out that I need
the "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1". Otherwise, running the project would result in a '"resgen.exe"  not found' error.
It would be good to have the link https://www.microsoft.com/en-us/download/details.aspx?id=3138 for the SDK on https://github.com/jimradford/superputty/wiki/Developers

@larsen0815 I've added your suggestion to the Developers-Page, as it's a Wiki page. If your're satisfied with the addition, you might want to close this ticket :-)

thx!


support numeric command

as we talked is issue #36
add INCR and DECR for application
add in persistence commands
add public api for them

change all the things we talked
add some helpers functions to code more easier
vec_to_i32
i32_to_vec
CC @Alirexaa

I test it every thing just file as past.


In the Metabase database,   the 'type/Decimal'  changes to 'type/Text' ,  in the effective_type  field of table metabase_field

In the Metabase database,   the 'type/Decimal'  changes to 'type/Text' ,  in the effective_type  of table metabase_field

Metabase v 0.42.4
Clickhouse v 21

Should be fixed as of 1.2.0.


🗂 Begin to support multipage export

JATS now allows multi article export with article and sub-article
myst-cli allow specifying article and sub_articles in myst-frontmatter export options - sub-articles only are used for JATS export
File exports may now be defined in the project config in myst.yml
This PR also deduplicates some of the export option resolution code. It's still a bit messy, but at least not messy and duplicated...
It also add an end-to-end cli test! We need more of these!

I have gone through and tested this, I think it is a massive step forward on the exports front, and I haven't found any regressions in my exploratory testing!
I will compile a different issue of some of the other JATS-related things that we need to clean up over the coming months. This PR is good to go in though!


Can the Reset button be disabled?

It appears that the Reset button is always enabled. Could it be somehow tied to the state that drives the Submit button so that the Reset is only enabled when the local data has been modified from the initial conditions?
Thanks,
-Ray

I guess a more general use case would be to be able to disable the Reset button from the code. That way it could be used for things other than Reset.
-Ray

@asimonok Can we implement logic similar to elements showIf for reset button?


[SPARK-17744][ML] Parity check between the ml and mllib test suites for NB

What changes were proposed in this pull request?
1,parity check and add missing test suites for ml's NB
2,remove some unused imports
How was this patch tested?
manual tests in spark-shell

Test build #66171 has started for PR 15312 at commit 618def9.

Test build #66171 has finished for PR 15312 at commit 618def9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66171/
Test PASSed.

Merged build finished. Test PASSed.

This LGTM.  @yanboliang to confirm, this is what you had in mind, right?

Test build #3295 has started for PR 15312 at commit 618def9.

Test build #3295 has finished for PR 15312 at commit 618def9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

LGTM2, merged into master. Thanks!


Add circleci_after_script

on top of #92
Tested on liyishuai/coq-ext-lib@4d5557620ae32e55d0db1fe156739a3b8eafc4a3

You're the main knowledgeable person on CircleCI, so feel free to self-merge when you consider this to be ready and sufficiently tested.


Bridge: Card Play Questioned

this game i lead small heart bot partner takes with king and has another heart and doesnt lead back heart to honour my lead for me to take with my Ace.
Having said that we believe that the BOTS are a lot better at bidding in recent 3-4 weeks.
Thanks Richard Lang and boys at Mosman Park WA Mens Shed
% PBN ---------------------------
[Event "Trickster Cards: Join Bridge"]
[Date "2023.08.23"]
[West "Alan G"]
[North "Klaas"]
[East "Geary"]
[South "Richard Lang"]
[Dealer "W"]
[Vulnerable "EW"]
[Deal "W:A752.T5.KQ.AJ653 JT9863.K6.J5.KQ4 4.QJ73.A98743.T7 KQ.A9842.T62.982"]
[Declarer "N"]
[Contract "1NT"]
[Auction "W"]
1C Pass 1D Pass
1S Pass 1NT Pass
Pass Pass
[Play "S"]
H4 H5 HK H3
SQ SA SJ S4
D2 DQ D5 D3
D6 DK DJ D4
HA HT H6 HQ
SK S2 S3 H7
DT S5 S6 DA
C2 S7 C4 D7
C8 C3 S8 D8
C9 C5 S9 D9
H2 CA CQ C7
H8 C6 CK CT
H9 CJ ST HJ

The bots lost because they gave away Trump tricks needlessly Pancake? This is basic? Please advise why these bots cannot play properly or upgradecthrm please.


Stability of Endogenous Regime Switching

Hi Junior,
I was wondering whether the function "is_stable_system" that checks the stability by the Mean Squared Stability (MSS) concept has any use with endogenous transition probabilities. I know that in the working paper "Efficient Perturbation Methods for Solving Regime-Switching DSGE Models" you mention that it becomes useless in that case, but, when I sweep the policy parameters of my model, I note that instability under that criterion shows up in the range that I would normally expect it to be.
Can I interpret this result as the MSS of the model in case the transition probabilities never left their steady-state values, that is, whether the model was a MS-DSGE instead of a RS-DSGE?
Best,
Eduardo

Just set solve_check_stability to false. Perhaps I should turn of the
checking of MSS under endogenously switching probabilities.
But then again, perhaps I should not. Although the MSS is useless as a
criterion under endogenous switching, heuristically I have observed that if
a model has a better chance of being stable (non exploding simulations) if
MSS is satisfied.
The intuition is straightforward in the sense that for one thing the model
is solved around the steady states, points where the time varying
probabilities become constant. Now if the simulations do not move far away
from the approximation points it's not difficult to imagine that local
stability could be satisfied.
J.
On Wed, Feb 10, 2021, 06:39 Eduardo G. C. Amaral<EMAIL_ADDRESS>wrote:

Hi Junior,
I was wondering whether the function "is_stable_system" that checks the
stability by the Mean Squared Stability (MSS) concept has any use with
endogenous transition probabilities. I know that in the working paper
"Efficient Perturbation Methods for Solving Regime-Switching DSGE Models"
you mention that it becomes useless in that case, but, when I sweep the
policy parameters of my model, I note that instability under that criterion
shows up in the range that I would normally expect it to be.
Can I interpret this result as the MSS of the model in case the transition
probabilities never left their steady-state values, that is, whether the
model was a MS-DSGE instead of a RS-DSGE?
Best,
Eduardo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/161, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT62ITBQHM2YJGUP4T3S6ILYRANCNFSM4XMJ4OGA
.

Thanks, Junior. That's what I had in mind.


Ensured initial dynamicmap values are escaped correctly in widgets

The widgets require slightly different escaping when using DynamicMap, this PR ensures they are escaped correctly to avoid a bug where all sliders would have to be moved from their default position for DynamicMap to work.

Doesn't look too bad. I'm happy to merge as soon as the tests pass.

Ready to merge.

Ok. Merging now.


fixFix docker example script

Proposed changes
remove docker example script volumes: conf

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


"Forbidden" error with redirected function in folder since v2.42.0

- Do you want to request a feature or report a bug?
Bug.
- What is the current behavior?
Broken redirection of functions in folders with netlify dev, with this config:
[[redirects]]
    from = '/functions/*'
    to = '/.netlify/functions/:splat'
    status = 200

netlify-cli/2.42.0 linux-x64 node-v10.20.1
(same with the newest release, netlify-cli/2.46.0 linux-x64 node-v10.20.1)
http://localhost:8888/.netlify/functions/example :heavy_check_mark:
http://localhost:8888/.netlify/functions/nested-example :heavy_check_mark:
http://localhost:8888/functions/example :heavy_check_mark:
http://localhost:8888/functions/nested-example :no_entry_sign: Status: 403, response: Forbidden
netlify-cli/2.41.0 linux-x64 node-v10.20.1
http://localhost:8888/.netlify/functions/example :heavy_check_mark:
http://localhost:8888/.netlify/functions/nested-example :heavy_check_mark:
http://localhost:8888/functions/example :heavy_check_mark:
http://localhost:8888/functions/nested-example :heavy_check_mark:
- If the current behavior is a bug, please provide the steps to reproduce.

Clone https://github.com/oles/minimal-netlify-functions-with-redirect
npm install<EMAIL_ADDRESS>-g
netlify dev
Open the urls above, confirm that they all work.
Stop netlify dev
npm install<EMAIL_ADDRESS>-g (or newer)
netlify dev
Open the urls above, and the nested-example will not work

- What is the expected behavior?
For the nested/folder function to work.
- Local Environment Information
────────────────────┐
 Environment Info   │
────────────────────┘

  System:
    OS: Linux 5.6 Arch Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 10.20.1 - /usr/bin/node
    npm: 6.14.4 - /usr/bin/npm
  Browsers:
    Firefox: 75.0
  npmGlobalPackages:
    netlify-cli: 2.42.0

netlify-cli/2.42.0 linux-x64 node-v10.20.1

Thank you @oles for making such a excellent bug report! The problem has been identified and fixed in https://github.com/netlify/cli/pull/834. The solution will be released soon.

Glad to help!
Awesome, looking forward to it - thank you!


Find following element by Xpath using existing element

Need to search element from existing one.  Xpah like:
driver.findElement(By.xpath("//*[@AutomationId='SomeId']/following::*"))
works fine. but if divide this to to separate searches like :
driver.findElementByAccessibilityId("SomeId").findElement(By.xpath("./*/following::*"))
it throws NoSuchElement Exeption

Hi @BogdanKliuk,
Can you provide a specific sample that can easily reproduce the issue you saw?
Finding element using XPath starting from certain parent node seems to work fine for me. An example of searching element using XPath within specified parent node can be found on FindElementByXpath test case on https://github.com/Microsoft/WinAppDriver/blob/master/Tests/W3CWebDriver/ElementElement.cs#L159.
IOSElement el = alarmTab.FindElementByXPath("//Button[@AutomationId=\"MoreButton\"]") as IOSElement;
The line above generate identical JSON wire protocol request when using OpenQA.Selenium.By
var el = alarmTab.FindElement(OpenQA.Selenium.By.XPath("//Button[@AutomationId=\"MoreButton\"]"));
In the test above, an XPath query is performed on alarmTab element that was previously located using AlarmPivotItem accessibility Id. I.e.
alarmTab = session.FindElementByAccessibilityId("AlarmPivotItem");

Hello. I am not sure if example that you provided is actually searching after this element. xpath without like "//Button" starts to search on all DOM, so it will find any first element regardless of base element. ".//Button" starts to search only within children. does this work different here comparing to standard web?
Note: version without 'dot' also works for me. but I have multiple elements like that so I am really need to search elements that after some elements (not even children's set).
Example that I provided 'driver.findElementByAccessibilityId("SomeId").findElement(By.xpath(".//following::"))' is actually the one I need. what else might help, screen from inspector?

This does not work because when you first do findElementByAccessibilityId("SomeId") it returns only a subtree of the document with this element as a root. So there is no "following" node. You can only select child nodes like
findElementByAccessibilityId("SomeId").findElementsByXPath("//*");     // all children

is there any work around?the thing is that parent element don't have IDs actually it has but somehow they do not appear on UI (xamarin render issue)
that is why I use so weak path

Can you find them by tag names or class names? Could you post the xml from driver.PageSource?

Hi need some help on "How to get the parent windows element of the current identified windows element".
Opposite to "Following" in xpath -__________?

This does not work because when you first do findElementByAccessibilityId("SomeId") it returns only a subtree of the document with this element as a root. So there is no "following" node. You can only select child nodes like findElementByAccessibilityId("SomeId").findElementsByXPath("//*"); // all children

_driver.TryFindElementByName("会话").FindElementsByXPath("//*")
0 children

_driver.TryFindElementByName("会话").FindElementsByXPath("//ListItem")
15 children

FindElementsByXPath("//*") is not correct.

@forconz correct,
findElementByAccessibilityId("SomeId").findElementsByXPath("*/*"); // all children
findElementByAccessibilityId("SomeId").findElementsByXPath("*//*"); // all descendants

I write Extensions for children and descendants.
all children
        public static ReadOnlyCollection<AppiumWebElement> GetChildren(this WindowsElement element)
        {
            try
            {
                return element.FindElementsByXPath("*/*");
            }
            catch (Exception)
            {
                return null;
            }
        }

all descendants
        public static ReadOnlyCollection<AppiumWebElement> GetDescendants(this WindowsElement element)
        {
            try
            {
                return element.FindElementsByXPath("*//*");
            }
            catch (Exception)
            {
                return null;
            }
        }


Update

@KagamiChan this needs updating.
Though there are also some quests issues, e.g., in CSV:
235,【節分任務】鎮守府海域 南西方面防衛作戦

But in JSON:
    "game_id": 235,
    "name": "近海哨戒を実施せよ!",

Sorry for forgetting this thread
will take a look

The issue

poi db's quest record data gets corrupted somehow, the reason might be falsy reports or some Tanaka tricks
I chose to use that because it is the original source from game API, other records Wikia or kcwiki, may not match the text in some way

Given this I have to hold the quest name updates unless we change to a good way to record quests
btw, does tsundb have the quest name collection?

also this may be the problem from kcwiki data as the relationship between wiki numbering and API numbering is maintained there
Do we have alternative source for that?

Just for convenience, kcdata/quest uses kc3-translations as the game_id data source now. (poi db's quest record data need to decompress).
In theory, the data of KC3 should have consistent data with poi db, I want to know which data is correct.

Thanks @lawvs
That's a good source, we can see that for id 235, there're 235 and (legacy) 235SB38, seems 235SB38 came first, thus the new 235 should override it

So I think kcwiki data is correct, it's poi db's collection strategy should change


Big

bugreport.txt [File removed as it contained way too much PII]

This bug report is unrelated to microG, as you apparently use original Google GMS.


fix(amplify-provider-awscloudformation): add retry logic

When a stack gets updates, cloudformation provider checks the existance of root stack by running a
describe stack API call. On Amplify console, it is possible sometimes these call can be throttled if
multiple deployments are happening. Update code to retry if describeStack encounters throttling
error
fix #3019
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #3020 into master will increase coverage by 1.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3020      +/-   ##
==========================================
+ Coverage    60.8%   62.01%   +1.21%
==========================================
  Files         221      222       +1
  Lines       11531    11305     -226
  Branches     2388     2326      -62
==========================================
  Hits         7011     7011
+ Misses       4207     3979     -228
- Partials      313      315       +2

Impacted Files
Coverage Δ

packages/graphql-auth-transformer/src/resources.ts
88.84% <0%> (ø)
:arrow_up:

...amplify-appsync-simulator/src/server/operations.ts

...mplify-appsync-simulator/src/mqtt-server/client.ts

...sync-simulator/src/schema/appsync-scalars/index.ts

...fy-appsync-simulator/src/schema/directives/auth.ts

.../amplify-appsync-simulator/src/mqtt-server/util.ts

...psync-simulator/src/utils/expose-graphql-errors.ts
0% <0%> (ø)

...ages/amplify-appsync-simulator/src/server/index.ts
0% <0%> (ø)

...ync-simulator/src/velocity/util/transform/index.ts
0% <0%> (ø)

...plify-appsync-simulator/src/server/subscription.ts
0% <0%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


10.4J 10.4U 10.4E 3D Banner

Note: This is for 10.2 Native Firm support, not 10.4 Native Firm.
credits to gamesquest1 @ gbatemp for banner

Hey, I know this is not the best place; but could I have a hand making a 3D banner?

Sorry, no 3d banner at this moment.
The home menu support will be merged, thanks.


[suggest] Considering registering the .sui root domain?

At present, we already have xxx.walrus.site, which is used to provide content service websites.
But this is still not perfect. First of all, its suffix is long, and unfamiliar users may not associate the name walrus with sui.
If you register the .sui root domain name and keep it synchronized with the NS information on the chain, then:

Shorter URL and strong correlation with SUI
Turn the WEB3 domain name into a real domain name, which can be directly entered in the browser website bar for access, which is currently not done by all other public chains
Improve the product strength of SUI-NS. If we really do this, it is also in line with SUI's purpose of "migrating users from WEB2 to WEB3"
At present, walrus only provides content access services and does not have the function of setting DNS resolution. If we complete this function, then imagine that we can use majoson.sui as an email address?

If SUI officials are willing to register the .sui root domain name, we are willing to contribute related functions, including:

dns resolution server
User settings interface
Logic bound to NS or walrus

This must be a great feature, looking forward to your reply!

@lxfind


FSET-1152 Added back the page progress to first page of diversity questions

Well done! Here's a parade for you


revision stuks in PROGRESS if one of the pipelines fails

We have revision stuck in PROGRESS if one of the pipelines fails.
Acceptance Criteria

[x] revision status is FAILED if failed

Tasks

[x] failing test
[x] debug
[x] fix the bug

Analysis
Problem is that status for one of the pipelines is never updated and always remains pending. For some reasons, PipelineStatusCallback is never called for that one of the pipeline. Eg this is the log from live spec store and PipelineStatusCallback is never called for derived/zip:
[specstore-1]2018-02-22T13:15:57.313006213Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb: INPROGRESS (errors#=0, stats=None)
[specstore-1]2018-02-22T13:16:01.353616960Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb_csv: INPROGRESS (errors#=0, stats=None)
[specstore-1]2018-02-22T13:16:03.470360039Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/validation_report: INPROGRESS (errors#=0, stats=None)
[specstore-1]2018-02-22T13:16:05.291361552Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb_json: INPROGRESS (errors#=0, stats=None)
[specstore-1]2018-02-22T13:16:07.154292091Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb_csv: FAILED (errors#=12, stats=None)
[specstore-1]2018-02-22T13:16:09.230241456Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb: SUCCESS (errors#=0, stats={'.dpp': {'out-datapackage-url': 'https://s3.amazonaws.com/pkgstore-testing.datahub.io/81429cbbddcfb180f54c142fac32f83b/100kb/100kb/datapackage.json'}, 'bytes': 101247, 'count_of_rows': None, 'dataset_name': '100kb', 'hash': '6dd83e6a5e47b973cb50dc8a4fa710d7'})
[specstore-1]2018-02-22T13:16:11.072389798Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/100kb_json: FAILED (errors#=12, stats=None)
[specstore-1]2018-02-22T13:16:13.155397256Z INFO    :Status ./81429cbbddcfb180f54c142fac32f83b/100kb/1/validation_report: SUCCESS (errors#=0, stats={'.dpp': {'out-datapackage-url': 'https://s3.amazonaws.com/pkgstore-testing.datahub.io/81429cbbddcfb180f54c142fac32f83b/100kb/validation_report/datapackage.json'}, 'bytes': 276897, 'count_of_rows': None, 'dataset_name': '100kb-report', 'hash': '5ab04451bcd7f3da70d604445fd87513'})

Debugging further:
I see there are three of them actually, and all of them are pipelines with dependencies. Seems something wrong in updating dependant pipelines, but can not reproduce locally...
Hm... seems like I have an older version of planner. Maybe that's a reason why it works locally?
yes, finally reproduced locally.
Not sure why but if I roll back this two lines, everything seems working fine:

https://github.com/datahq/planner/commit/5eeb00603d20be054b8262a62e68a7ba20e680d2#diff-2b2385b61acc8c9ecd8b6f72d6b25d77R88
https://github.com/datahq/planner/commit/5eeb00603d20be054b8262a62e68a7ba20e680d2#diff-2b2385b61acc8c9ecd8b6f72d6b25d77R99
Basically removing ./ from pipeline id

Ok so this is why we can not update pipelines: https://github.com/datahq/specstore/blob/master/flowmanager/controllers.py#L281
So it's comparing 81429cbbddcfb180f54c142fac32f83b/100/8/100kb_json and ./81429cbbddcfb180f54c142fac32f83b/100/8/100kb_json
 if dep['pipeline'] == pipeline_id:
     cb(queued_pipeline.pipeline_id, ....)

So instead of rolling back the changes in planner, I'm gonna just check dep['pipeline'].lstrip('./') == pipeline_id

FIXED


[Feature Request]: Align networkProfile implementation for VM and VMSS

Description
VM and VMSS modules implement the networkProfile property differently. VM is setting networkInterfaces (Ref here) while VMSS is setting networkInterfaceConfigurations (Ref here).
This issue is about aligning the implementation for the two modules.
As part of the alignment, we should also investigate on the warning thrown by the VM module using the resourceId function within its networkProfile implementation:
Warning use-resource-id-functions: If property "id" represents a resource ID, it must use a symbolic resource reference, be a parameter or start with one of these functions: extensionResourceId, guid, if, reference, resourceId, subscription, subscriptionResourceId, tenantResourceId. [https://aka.ms/bicep/linter/use-resource-id-functions]

Let's park for now. VMSS implementation is preferable. When VM moves to AVM, needs to be revisited.