Help installing

I am attempting to install your config. I have clones the github repo to ~/.xmonad/
When I rename xmonadrc.hs to xmonad.hs and to xmonad --recompile I get these errors:
XMonad will use ghc to recompile, because "/home/pax/.xmonad/build" does not exist.
Error detected while loading xmonad configuration file: /home/pax/.xmonad/xmonad.hs

xmonad.hs:25:1: error:
Could not find module ‘XMonad.Local.Action’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
25 | import qualified XMonad.Local.Action as Local
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmonad.hs:26:1: error:
Could not find module ‘XMonad.Local.Keys’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
26 | import qualified XMonad.Local.Keys   as Local
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmonad.hs:27:1: error:
Could not find module ‘XMonad.Local.Layout’
Perhaps you meant XMonad.Prompt.Layout (from xmonad-contrib-0.16)
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
27 | import qualified XMonad.Local.Layout as Local
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmonad.hs:28:1: error:
Could not find module ‘XMonad.Local.Log’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
28 | import qualified XMonad.Local.Log    as Local
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmonad.hs:29:1: error:
Could not find module ‘XMonad.Local.Theme’
Perhaps you meant
XMonad.Prompt.Theme (from xmonad-contrib-0.16)
XMonad.Util.Themes (from xmonad-contrib-0.16)
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
29 | import qualified XMonad.Local.Theme  as Local
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmonad.hs:30:1: error:
Could not find module ‘XMonad.Local.Workspaces’
Perhaps you meant
XMonad.Prompt.Workspace (from xmonad-contrib-0.16)
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
30 | import qualified XMonad.Local.Workspaces as Workspaces
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please check the file for errors.
xmonad: xmessage: executeFile: does not exist (No such file or directory)
I am on arch linux
Thank you in advance

Hey @e3172.
My XMonad configuration won't build under ~/.xmonad like other configs.  As a matter of fact, I don't even use a directory like that on any of my machines.
I use Cabal directly to build a binary, then have my xsession/DE start that binary as the window manager.
Instead of building my config, you're better off stealing the parts you like and placing them into your config.


Why does Npgsql, which supports .NET Standard 2.0 and 2.1, show up with red X's in ".NET Standard + Platform Extensions,Version=v2.0"

When analyzing my projects, including projects I have converted to .NET Standard already that use the Npgsql Nuget package, all references to npgsql show up as red X's, yet the package supports .NET Standard 2.0 and 2.1, as per their documentation and the Nuget package page. Is this just a bug in the analyzer, with it not properly identifying the support that this package offers?

@KirkMunro Can you share the ApiPort generated report file and partial snapshot?

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.


Issue in PHP where ?>

in the PHP syntax when you close the brace in ?> the question mark appears in a different color, I attach an example screenshot

Actually, I'd like to piggyback off this issue. Some of php syntax highlighting on operators like equal signs and php statements appear very muted and blend in like comments. The same can be said for *.blade.php highlighting.

Hello Scott! Thank you very much for the message, the problem is in the simple opening   as an attachment in the capture, not in @php @endphp, it is only in basic php. Receives a warm greeting. Rafael. De: Scott RodEnviado: sábado, 25 de septiembre de 2021 21:17Para: BeardedBear/bearded-themeCC: rarodja; AuthorAsunto: Re: [BeardedBear/bearded-theme] Issue in PHP where ?> (#54) Actually, I'd like to piggyback off this issue. Some of php syntax highlighting on operators like equal signs and php statements appear very muted and blend in like comments. The same can be said for *.blade.php highlighting.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.


[Storage] [STG93] Rename Support for List Ranges Diff API

Title 😄

API change check
API changes are not detected in this pull request.


Change device type

Hi.
Is it possible to change the device type that Alexa see's? Everything I have created comes up as "light".
Thanks

Where are you seeing this?
Also what capabilities have you enabled on the devices?

In the Alexa app, under smart home, devices and then select the device and
edit. I have on and off enabled only.
Was more curiousity than anything else. Every one is listed as type "light"
but none of them actually control a light!
On 16 Nov 2017 19:17, "Ben Hardill"<EMAIL_ADDRESS>wrote:

Where are you seeing this?
Also what capabilities have you enabled on the devices?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hardillb/node-red-contrib-alexa-home-skill/issues/26#issuecomment-345032762,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac-cV31MHZ0wdAOK9Z30pQ28L0NxCeBfks5s3Io1gaJpZM4Qg-Fv
.


no method matching eps(::Type{ArbFloat})

Hello!
Is there any way to use eps with ArbFloat?
If I do eps(ArbFloat) it doesn't work, but it works with Float32, Float64, Float128 (with Quadmath) and BigFloat
Thanks!

julia> using ArbNumerics

julia> eps(one(ArbFloat))
1.175494350822287507968736537222e-38


Add badges to README

Also include a rename of the make workflow to run-ci.

Codecov Report

Merging #11 (28dd557) into main (eca9d5d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines            5         5
=========================================
  Hits             5         5

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 eca9d5d...28dd557. Read the comment docs.


Add Conjure

Hi @jyguyomarch!
I've added Conjure to the Habit Trackers section.
I looked at other PRs and added it in alphabetical order (which I understood to be the convention).
Thank you!

@jyguyomarch thank you for reviewing! Have made those 2 changes now.


[Service Bus] Add @internal/@ignore tags to the interfaces/methods that are not exported

Done with #10541 #10549


BUG: Uncaught exceptions when interacting with blank line

Did you check docs and existing issues?

[X] I have read all the docs.
[X] I have searched the existing issues.
[X] I have searched the existing discussions.

Neovim Version (nvim -v)
NVIM v0.10.0-dev-e59cf3b3a
Operating System / Version
Ubuntu Mate 22.04
Describe the Bug
When add_blank_line_at_top = true a blank line is inserted at the top of the tree. When interacting with this blank like, for example using open or toggle, an exception is thrown.
Screenshots, Traceback

E5108: Error executing lua: ...d/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:682: attempt to index local 'node' (a nil value)
stack traceback:
...d/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:682: in function 'open_with_cmd'
...d/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:741: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>

Steps to Reproduce

Enable add_blank_line_at_top
Open :Neotree
Navigate to the blank line
Hit

Expected Behavior
Nothing should happen
Your Configuration
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}

local neotree_config = {
  "nvim-neo-tree/neo-tree.nvim",
  dependencies = { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
  cmd = { "Neotree" },
  keys = {
    { "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
  },
  opts = {
    add_blank_line_at_top = true,
    -- ...
  },
}

table.insert(plugins, neotree_config)
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Just to inform you, this will be fixed with

https://github.com/nvim-neo-tree/neo-tree.nvim/pull/1333

which will take pretty long tho.
Please be careful not to hit an empty line is all I can say for now lol.
That empty head line option was added relatively recently and some parts of the code still assume that there is definitely a node for each line.


Move all reversed map creation into reverse.go

This is cosmetic, but keeps thing more uniformly organised.

Codecov Report

Merging #889 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #889   +/-   ##
=======================================
  Coverage   56.37%   56.37%
=======================================
  Files          41       41
  Lines       10031    10031
=======================================
  Hits         5655     5655
  Misses       3354     3354
  Partials     1022     1022

Impacted Files
Coverage Δ

reverse.go
100% <ø> (ø)
:arrow_up:

dnssec.go
58.27% <ø> (ø)
:arrow_up:

types.go
73.66% <ø> (ø)
: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 b955100...b0f9ecb. Read the comment docs.


envoy: Fix passing SNI option to upstream TLS connections

Backport commit db0dd4bc1212e7be367b88b0d3a46b5a211a25f3:
envoy: Configure Auto SNI for TLS clusters

Cilium L7 policy filter no longer sets up auto SNI and auto SAN
validation metadata. Configure TLS clusters to do it instead.

envoy: Fix regression on passing TLS SNI option to upstream TLS connections

/test-backport-1.11

Tested this locally to verify that SNI is passed properly when TLS is proxied in egress policy.


Keystone WebhookAuthentication Endpoint

Here is some more docs about authorizing against keystone: https://github.com/kubernetes/cloud-provider-openstack/blob/9c9d0b7f03a3bbf5c07a7f4918a44928ef842f6c/docs/using-keystone-webhook-authenticator-and-authorizer.md


[Fix][Unity] Fix TVMError when loading ONNX model with CumSum operator

Sets the default value 0 for the axis variable, if the value has not been previously set.
This is a code patch for fixing this issue: https://github.com/apache/tvm/issues/15728

@dmilosevic252 Thanks for your fixing. Could you add a regression test?

@jikechao Thank you for the feedback! I added a regression test.


Updates to Live Exercises index page

Background
Now that it is possible to see the Exercise stage on the index page, it would be useful for users to sort by exercise status and exclude draft exercises.
Feature(s)

Include in filters an Exclude Exercises in Draft status filter tickbox that excludes any exercises with a draft status from the list when ticked

Remove Approval section from filters

Feature Champion
Nick

Hey team! Please add your planning poker estimate with Zenhub @warrensearle @tomlovesgithub @drieJAC @HalcyonJAC

@nickaddy
Points 2 & 3 are easy. Maybe 3 SPs in total
Point 1 is not easy: in the status column we are working out (at display-time) where the exercise sits in the timeline and displaying it. We are only doing this for the exercises shown in the current page (50 exercises per page). As the data doesn't exist it means we can't perform a simple sort across all exercises. In order to support this we will likely need to store the current status (position in timeline) of an exercise and ensure it stays up to date. I guess that would be maybe 8 SPs. This would be worth splitting into a separate ticket and perhaps considering the benefits - it could be utilised in other areas but for a simple alphabetical sort it is perhaps too expensive.

@warrensearle Point 1 removed


TPI: fifo test communication (unittest)

Refs: 23279

[x] macOS @aiday-mar
[ ] linux @joshspicer
[x] windows @karthiknadig

Complexity: 5
Author: @eleanorjboyd
Create Issue

Setup:

Clone the test repo from here or use your own repo of pytests.
Launch VSCode and open the python-ext-tester/python-testing/inc-dec-workspace folder.
Add the following to your settings in VSCode: "python.experiments.optInto": ["pythonTestAdapter"],
Use the "create environment" command from the command palette, select venv and a Python version >=3.7.
click the test explorer icon (beaker)
configure tests

unittest: unittest → root → *test*.py

Testing:

Now play around with running the tests attempting to put "strain" on the testing flow to make sure it works as anticipated
Ideas of what to do include:

Run large number of tests and make sure it finishes successfully (see the subtests or the parameterized tests which should have 2000 tests that can be run)
stop tests and restart them (NOTE: there is a know problem where if you restart a test 3 times during debugging it will freeze the window, see issue please comment on the issue if you hit something similar and your repro steps)
debug tests, put break-points on and generally just start, restart, and stop tests in debug mode
throw an error in a test or spin up a subprocess as part of a test

Note for testers: I had the error no module named pytest so I ran pip install pytest during the configuration

Ran into the exact same issues as Aiday.

+1 to needing to install pytest.  For reference, this is what I saw beforehand:

Chatted with @eleanorjboyd and it was also necessary to update the workspace settings accordingly (making sure unittestEnabled is true and pytestEnabled is false
{
  "python.testing.pytestArgs": ["."],
  "python.testing.unittestEnabled": true,
  "python.testing.pytestEnabled": false,
  "python.testing.unittestArgs": ["-v", "-s", ".", "-p", "test_*.py"]
}


Update Dependancies

I ran the command bundle update on a fork I made which updated the Gemfile.lock.

Looks good. Please move your contribution note to a new CHANGELOG.md file. Please see preferred format example at https://github.com/fulldecent/FDWaveformView/blob/master/CHANGELOG.md

Fixed!


Alternative Mailable Syntax not working with blade components

Laravel Version: 9.35.1
PHP Version: 8.1.0

Description:
I try to use this alternative mailable syntax with blade components instead of blade directives in my emails, but it fails, outputting plain text:

Same issue with published laravel-mail and with removed vendor/mail
Steps To Reproduce:
Mail class:
namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Queue\SerializesModels;
use Illuminate\Mail\Mailables\Envelope;

class Test extends Mailable
{
    use Queueable, SerializesModels;

    public function envelope()
    {
        return new Envelope(
            subject: 'Test Email',
        );
    }

    public function content()
    {
        return new Content(
            markdown: 'emails.test',
            with: [
                'url' => '#',
            ],
        );
    }
}

Mail template:
<x-mail::message>
# This is test

Lorem ipsum dolor sit amet!

<x-mail::button :url="$url">
Click me
</x-mail::button>

Thanks,<br>
{{ config('app.name') }}
</x-mail::message>

My template file is missing .blade 🤦♂

I answered on my own issue, my email template was missing .blade; so it was named test.php instead of teast.blade.php so it was not rendered properly.
Now everything works fine with new mail syntax and blade components instead of blade directives (both works actually since we have old emails still using blade directives and new ones using blade components).
I did nothing extra in service provider or anywhere else, just updated framework to latest version which supports this new mail syntax.


feat: enable PUBSUB experiment by default

This is a known and request feature. I don't mind if its released under a branch but lots of people require PUBSUB enabled by default. So here is PR.

Thanks, @shaikh-shahid! We've got this queued up to discuss in our next weekly triage.

Awesome @jessicaschilling . Hope it gets merged :)

We've actually got this going under https://github.com/ipfs-shipyard/ipfs-desktop/issues/1647 as part of adding menu items for this and automatic garbage collection -- would you be interested in augmenting your PR to meet that issue's needs?

Sure @jessicaschilling . Actually I made that suggestion in the PR. I need bit of help in the UI end.

Thanks, @shaikh-shahid! Added a quick mockup of menu item placement in original comment here -- does that give you what you need to get started?

Yes, that helps @jessicaschilling . I am currently working on this feature, will submit a PR ASAP. If there is any blocker will surely let you know.

I just tried to enable pubsub on desktop and it was hard! I would love a button that let me enable pubsub, and would be totally up for enabling pubsub by default.

Closing as superseded by #1735.

Closing as superseded by #1735.


How to set username for keyring cli based pip authorization (Azure artifacts)

For keyring authorization to work with Azure artifacts and the keyring CLI I have to supply a default username that must be
VssSessionToken
Trying to set this for UV in the same way as I would do for pip e.g.
uv pip install --keyring-provider subprocess --index-url<EMAIL_ADDRESS>nameofpackage --verbose

results in no keyring operation probably because UV identifies the username as a password/token
DEBUG No cache entry for: https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/
DEBUG Request already has an authorization header: https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/
error: HTTP status client error (401 Unauthorized) for url (https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/)

It seems that pip supports that the form where only one part is given could be both username and a usernameless token but UV does not.
Using the default password on the other hand results in no response from keyring (can be confirmed by calling keyring directly)
uv pip install --keyring-provider subprocess --index-url https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/ nameofpackage --verbose

DEBUG No cache entry for: https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/
DEBUG Running `keyring get` for `[https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/`](https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/%60) with username `oauth2accesstoken`
DEBUG No keyring credentials found for https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/
DEBUG No credentials found for: https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/
error: HTTP status client error (401 Unauthorized) for url (https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/nameofpackage/)

If I manually rebuild uv with the default username changed from oauth2accesstoken to VssSessionToken everything works correctly.
Is there a different way I am supposed to embed the username?
System:
Windows 11
Python 3.12 conda env
uv 1.22

I think we just don't support this yet although we probably can!
Can you share the keyring invocation we are performing and the other you would prefer?

In the first example with the username given as part of the url (but no password in the url)
no keyring invocation is triggered since UV seems to assume that the username provided in the url is a token.
In the second example you call keyring something like this (which would return None)
keyring get https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/ oauth2accesstoken

but I would need.
keyring get https://pkgs.dev.azure.com/ms-quantum/_packaging/gemini/pypi/simple/ VssSessionToken
```
which returns a token

Thanks @zanieb
In the first example with the username given as part of the url (but no password in the url)
no keyring invocation is triggered since UV seems to assume that the username provided in the url is a token.
In the second example you call keyring something like this (which would return None)
keyring get https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/ oauth2accesstoken
but I would need.
keyring get https://pkgs.dev.azure.com/nameoforg/_packaging/nameoffeed/pypi/simple/ VssSessionToken
which correctly returns a token when I call it from the commandline

Okay thanks I can take a look into this unless @BakerNet is interested

I know why this is happening and can work on it.  It's because of the early return in the middleware when the header is already added from the URL.  If there is a username in the URL, but no password, it should be checking keyring and replacing the header if found.

Should be resolved by https://github.com/astral-sh/uv/pull/2976 and available in the next release.


Grammatical fixes in documentation comments

Changes Made
File: rayon-core/src/thread_pool/mod.rs

Changed compound term formatting:

Old: user-managed thread pools
New: user-managed thread-pools
Reason: Maintaining consistent hyphenation of "thread-pool" throughout the documentation, as this compound term is used with hyphens elsewhere in the codebase.

Added hyphenation for compound adjective:

Old: user created
New: user-created
Reason: The term "user-created" should be hyphenated to correctly form a compound adjective, improving readability and grammatical accuracy.

Hi - the actual changes look fine, but the formatting looks mangled in your PR description, and it's excessive in the first place. Just the "Reason" statements would be sufficient.

Hi - the actual changes look fine, but the formatting looks mangled in your PR description, and it's excessive in the first place. Just the "Reason" statements would be sufficient.

Done


Fix typo by adding missing letter

Thanks!

No problem! Thank you for making this nifty Atom package, I enjoy using it.


onStop method should not perform any network actions if a network is not present

Before opening a feature request against this repo, consider whether the feature is generic enough for the SDK, or it should be a specific plugin/extension to the SDK.
Is your feature request related to a problem?
When TelemetrySystem handles the onStop request, and there are pending records to be uploaded, it waits for the teardown timeout, regardless of whether there is a network connection or not. As such, the SDK keeps sleeping in the shutdown path unnecessarily (lib/system/TelemetrySystem.cpp line 76).
Describe the solution you'd like.
If there is no network connection present or we have retried upload a configurable number of times, we should not sleep and instead proceed to cancel all pending and force-finish all uploads (line 82).
Describe alternatives you've considered.
There were currently no alternatives considered for this.
Additional context.
For Office, we have customers that are running devices which rarely connect to internet. For these devices, we hang the application exit (via FlushAndTeardown) for 20 second (our selection for tear down timeout.) Based on the customer escalations we've received, it would be favorable to not wait if there is no expectation of an network connection from being setup within the first couple seconds or so.

Closing due to inactivity. Feel free to reopen. No plans to fix. See HTTP Pinger proposal (unmerged) for how the issue could be addressed. @sid-dahiya


Does game Pendulum really need take up to 1 hour to converge?

I notice the statement in README: " If your laptop is decent it shouldn't take more than an hour.", here I have no idea how long pendulum would take to converge in common.   (Since from papers I read, rare of them plot a chart of pendulum, so I have no idea.)
And even more,  what does "convergence" mean in the context of pendulum?
Do you mean that with your algorithm, the pendulum would converge to near 0 (the best score) with 1-hour of training?
Personally, with raw SAC,  I could make pendulum converge to a range around [-500,-200)  within 1 minute on laptop of a Geforce 940M GPU. And it is hard to make the score better, even with more training time.

Personally, with raw SAC, I could make pendulum converge to a range around [-500,-200)

It's the same for this repo. With a bit of hyperparameter tuning you can get to around -200 repeatedly.

1 minute on laptop of a Geforce 940M GPU

If your laptop has a GPU, I'd say it's well above average :) The one hour refers to e.g. your standard Intel built-in graphics. AlphaZero will still be a lot slower than SAC though due to the planning required at every time step. MCTS rollouts in Python are just very slow...
You can try to adapt the n_rollouts parameter in the MCTS config and see if you can lower it without affecting performance. That's the parameter affecting training throughput the most.

I see, thanks for your answer.


FR: Map paths (again and alternative)

Hi, as you have mentioned in issue #186:
          That's a highly requested feature -- ... Long story short, Map View is first and foremost a UI-centric tool (unlike Obsidian Leaflet, for example, which is code-block based). It will not introduce features without backing them up with a strong interactive user experience. So although the basic functionality of displaying paths, reading them from GPX, GeoJSON etc is quite simple (due to being mostly handled by great Leaflet.js plugins), the full toolset required to build a proper user experience around this functionality requires a lot of work. As a bare minimum, we'd need a separate set of settings to format displayed routes based on some rules (similarly to markers but very different) and a different set of query controls and logic to filter routes (you surely don't want a large bunch of routes to be displayed on the map all the time).

Originally posted by @esm7 in https://github.com/esm7/obsidian-map-view/issues/186#issuecomment-1660781192
I fully understand it's a highly requested and doable feature but too much to be done in UI part. But would it be possible to provide some basic funtion just to read and render a path/Polyline/polygon and filter it with a single function in the Topleft Pane of MapView leaf: a boolean to show, which show only the Polylines of active page?
If it costs too much time, would it be possible for you to merge it when I/someone else make/s a PR?
Thanks a lot for maintaining and keep upgrading this awesome Job, our great esm7!

I gave this some thought and it sounds very reasonable to me to make some minimal feature set for this as you suggest, with the disclaimer that it's work-in-progress and backwards compatibility may not remain in future versions.
Maybe something like reading stand-alone GPX files from the vault and GPX files that are linked from existing markers, with a basic on/off + color functionality similar to the Links tab.
This can serve as the initial stage until I (or someone else) find the time for a more fully-fledged UI for this the way I imagine it.


Enable collaborative posts

We should update the db model. Currently, a submission has many attachments and reviews. Instead, I propose that a submission has many attachments, and attachments have many reviews.
The ideal use case here is that people will make a post, and then others can add other images in the thread that is created. That way we can add more images.
All of the approved files will be posted. All of the disapproved files will be ignored.
Edge Cases:

If someone submits an attachment for an image that already has been posted, then they should receive an error message.
If someone posts several attachments in one message, all attachments should be approved/denied at the same time.

To make this more collaborative, we may consider scheduling the posts for like 8am, so that people can add things throughout the day. :thinking:


Added animation in navigation between the screens

Description
Updated rememberNavController and NavHost to rememberAnimatedNavController and AnimatedNavHost and added the animations in navigation using slide and fade animations.
Fixes #9
Dependencies
Accompanist Navigation Animation
Mentions
@PGautam27
Screenshots of relevant screens
https://user-images.githubusercontent.com/104011412/195107824-35e39ad1-9441-4b19-bc54-e493887b2cfc.mp4
Developer's checklist

[x] My PR follows the style guidelines of this project
[x] I have performed a self-check on my work

If changes are made in the code:

[x] I have followed the coding guidelines
[x] My changes in code generate no new warnings
[ ] My changes are breaking another fix/feature of the project
[ ] I have added test cases to show that my feature works
[x] I have added relevant screenshots in my PR

Do remember to add the "hacktoberfest-accepted" label if you find it good enough to merge :)

Also don't forget to give a star to this repo. Congrats on your +1 hacktoberfest


bug/nullgrammar

Attempts to handle #482. Don't know how I feel about this one. In order to handle this language cannot be null. The nested if statement is used to display an appropriate UI either we tried debugging a Null Grammar or a grammar we don't support. We also arbitrarily return at the end of the if statement or else we still get our big red flag.
I'm open to suggestions.

Yeah I actually do want to see the resulting debugging contents, not return another error notification to the user that they have to figure out.
I would prefer simply:
addInfo('Original File Language', language.name)

Be changed into:
addInfo('Original File Language', language?.name)

Which is in JavaScript:
addInfo('Original File Language', typeof language !== "undefined" && language !== null ? language.name : void 0);

This means it works smoothly and displays undefined for the Original File Language which is something I could see in the debugs and would potentially be useful information.
Thank you for contributing! If you would like to create a new Pull Request with that little change, I'll merge it.

That was the first thing I tried. It instead creates it's own stack trace of Unhanded promise rejection. Looking at it again that stack trace is being thrown elsewhere and I over complicated things. I'm going to try and find it.


Allow searching through the list

It would be better if we are allowed to search through the list rather than scrolling and selecting :smiley:

@JeromeDeLeon it's ready a excellent suggestion, i will prove it when i am not busy.

Nice! That would be awesome.

@JeromeDeLeon yes, I have been pushlished it! 👍

and I want to use origin emoji like 🐛 , not :bug: 。always on the road ❤

@all-contributors please add @JeromeDeLeon  for prove

@all-contributors please add @JeromeDeLeon for design

@all-contributors please add @maixiaojie for Code

@all-contributors please add @JeromeDeLeon for Code

@all-contributors please add @JeromeDeLeon for Code

@all-contributors please add @JeromeDeLeon for Code

@all-contributors please add @JeromeDeLeon for Code


Added migrations to drop and recreate the suppressions table

There are currently two issues with the suppressions table:

We have some incorrect rows
We have missing UNIQUE constraints

We want to completely wipe the tables and start fresh, as well as make
sure that the UNIQUE constraints are added, so we drop the table
completely, and then re-add it, which should result in an empty
suppressions table with all expected constraints.
We're also interested in renaming the email_address column to email
this has been done in a separate commit so that we can change our minds.

Force pushed to fix integrity test


Hyperledger environment

User story

As a developer/team member
I want / need an common environment
So that all the team members are aligned and reproducable results will be possible

Acceptance criteria

environment (requirements) aligned in the team and defined
environment created
environment documented

Definition of done (DoD)

a shared environment is set up and distributed to the team

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Estimation: 2

all developer have a running environment based on the indy-sdk example, the getting started tutorial. Documentation was not done, as it was complete by the tutorial. Code snippet with additional comments uploaded with some remarks regarding the tutorial. The common indy-sdk used is: https://github.com/hyperledger/indy-sdk Tag 1.16.0 Release 30

Real estimation: 5


Volume Field Scoping Mismatch

Got some strange results in the following example:
>>> import ansys.dpf.core as dpf
>>> from ansys.dpf.core import examples
>>> model = dpf.Model(examples.static_rst)
>>> vol = model.results.volume()
>>> field = vol.outputs.fields_container()[0]
DPF elemental_volume_1.s Field
    Location:   Elemental
    Unit:       m^3
    Num. id(s): 12
    Shape:      12

There are 12 items in the elemental field despite the model only having 8 elements.  Additionally, the scoping includes element IDs that do not exist in the model:
>>> field.scoping.ids
[5, 6, 1, 2, 33, 35, 7, 8, 3, 4, 34, 36]

>>> model.metadata.meshed_region.elements.scoping.ids
[5, 6, 1, 2, 7, 8, 3, 4]

Seems that using 'element::volume' works:
vol_op = dpf.Operator('element::volume')
vol_op.inputs.mesh(model.metadata.meshed_region)
vol_op.outputs.field()

Seems that using 'element::volume' works:
vol_op = dpf.Operator('element::volume')
vol_op.inputs.mesh(model.metadata.meshed_region)
vol_op.outputs.field()

By default, the "available results" data we get from result_info contains the following AvailableResult:
volume
Operator name: "ENG_VOL"
Number of components: 1
Dimensionality: scalar
Homogeneity: volume
Units: m^3

Since 'element::volume' works and 'ENG_VOL' appears to have issues (at least with this result), we may want to deprecate one.

By default, the "available results" data we get from result_info contains the following AvailableResult:
volume
Operator name: "ENG_VOL"
Number of components: 1
Dimensionality: scalar
Homogeneity: volume
Units: m^3

Since 'element::volume' works and 'ENG_VOL' appears to have issues (at least with this result), we may want to deprecate one.

@akaszynski after looking into the model, I see that it has SURF154 elements that are not handled by DPF. Those elements are consequently not read into the mesh, but the ENG_VOL results are taken as they are in the rst file (with the SURF154 elements).
Concerning the element::volume operator, it's a completely different operator that computes (and not read) the volume.

Hi @cbellot000,
Will this be fixed in the next release?

@rlagha do we plan on handling the SURF154 elements?

These elements are created by the solver to define loads, We do not read them when requesting the mesh from an rst file to avoid having huge meshes. If this is needed we can add an explicit pin to read additional element types when requesting the mesh. @cbellot000 @akaszynski


(objectivec) Sync preprocessor highlighting with cpp

The objectivec highlighting had a few bugs and was missing a few
features:

Expressions with < were misidentified as a string like <stdio.h>
(fixes #1964).

Keywords like if, else, endif, etc. were not highlighted.

The escape sequences in string literals were not parsed.

Line continuations were not parsed.

Comments were not parsed.

Fix all these by adapting cpp's preprocessor definition. Pull in the
preprocessor test from cpp. (This is actually objectivec's first markup
test. It probably could do with tests beyond just this feature.)

Rebased and added.

 would misbehave a bit. Given blahblahblah, the regex would match the whole string rather than just the ending bit.

Well, then I presume it would be a poor use in that case... but that's not what we're doing here... :-)


The 'pointfile' element is not part of the execution model XSD yet

I think @naucoin has introduced support for <pointfile> parameters, but Libs/CommandLineModules/Core/Resources/ctkCmdLineModule.xsd has not been updated yet.
As far as I know, that is the most official "spec" of CLIs' XML.

Looking at the .xsd file, the pointfile needs to have a type that's a combo of fileType and pointType (for the coordinate system). I think I can make a new type that extends the fileType, calling it pointFileType.

@hmeine Take a look at this change and let me know if it works for you (I used an online validator). If so I can do a pull request:
https://github.com/naucoin/CTK/commit/b8ee29ff949ea5314c3417584e653153182a9f62
Topic branch:
https://github.com/naucoin/CTK/tree/622-add-pointfile-element-to-execution-model-xsd

To be honest, I have no good knowledge of XSD, but your addition looks totally sensible and is definitely useful as-is, if only for human understanding. :-)

I was figuring it out as I went - I'll do the pull request to get some expert feedback!

After confirming that existing CTKCLI tests are passing and fixing typy in commit message. LGTM
Cc: @saschazelzer

I ran 8 tests found via
ctest -R CmdLine
and all passed. Were those the tests that you meant?

@naucoin Indeed, these tests are expected to make use of the xsd schema.

The xsd changes look good to me. At least they do not invalidate current xml files. The tests will at most (I don't remember the details) verify that the xml files used within the tests still validate against the new schema.
If CTK itself is to support the new parameter type, it would need to be added to https://github.com/commontk/CTK/blob/master/Libs/CommandLineModules/Frontend/QtGui/Resources/ctkCmdLineModuleXmlToQtUi.xsl such that it is generated in the GUI. The change would be analogous to the file and geometry parameters.

Oh, I just thought it was already supported in the CTK GUI generation.  Maybe not, but that should be filed as a separate issue, I believe.

OK, who will merge this? @naucoin ? @jcfr ?

Integrated in 89639ec120b6dfc8

@hmeine  New issue created: https://github.com/commontk/CTK/issues/626


Ionic 2 Blueprints and its projects

Added Ionic 2 Blueprints, the latest book on Ionic 2 by Packt Publication and its Open Source Projects.

Thank you for contribution!


Set up scroll width even when width has to be detected by the list

Fix #120277
It looks like this was the intent, since this block is doing typeof width already

Great finding!


Can not build on windows

Im trying to build it on windows, but after click finish in configuration windows im getting error "Error in configuration process, project files may be invalid"

Hello!
I also had a similar problem at first, and it was caused by errors in the SDK, which I have attempted to fix in a fork. Could you try the code from my fork and see if it works?
-MrKussen


Cannot ssh into server after install on Hetzner ROBOT

Describe the bug
I tried installing using the config listed here (which is as close as I could get to the config in the README while updating things to fit current disco and the hetzner disk config): https://github.com/timthelion/server-configs-la/blob/b89eded82217e70bbe1a43a7da30a5a88d960975/nixos/INSTALL_LOG2.txt#LL1C1-L1C1
Install seems to run without error but then I cannot ssh into the server after it completes.
To Reproduce

Create a Hetzner robot server.
Reboot into the recovery.
Clone repo above.
Run command nix --extra-experimental-features flakes --extra-experimental-features nix-command run github:numtide/nixos-any where -- --flake .#hetzner-cloud<EMAIL_ADDRESS>Wait a bit and try sshing into the server
Reboot the system using the hetzner admin
Wait a bit and try sshing into the server

Expected behavior
Sshing into the system after install works
Actual behavior
Ssh hangs

You are probably missing kernel modules: https://github.com/numtide/srvos/blob/9e172d6cd8afffef25e46208df88a2946f1f8f0d/nixos/hardware/hetzner-online/default.nix#L18


Foldable Callouts not supported

Foldable callouts do not appear to be supported by Better PDF, in that they display as always-unfolded.
Given that PDFs are page-based though, I am not entirely sure it would be viable?  Not unless it was instead treated as a spoiler (ie: click to hide/unhide instead of fold/unfold).

PDF does not support interaction, it needs to display all the folded content


install.sh fails

I am working on installing dispatch so that I can evaluate it for my company.
My .env file is identical to the .env.example file in the repository
other than the secrets.
Step 25 of the installation process fails as follows.
I'm not sure what I'm missing in the initial configuration, so any help would be
greatly appreciated.
Thanks,
William
Step 25/47 : RUN export YARN_CACHE_FOLDER="$(mktemp -d)"     && cd /usr/src/dispatch     && python setup.py bdist_wheel     && rm -r "$YARN_CACHE_FOLDER"     && mv /usr/src/dispatch/dist /dist
 ---> Running in 20a992ece4f8
running bdist_wheel
running build
running build_assets
using node (v12.16.2)

#
# Fatal error in , line 0
# Check failed: reservation_.SetPermissions(protect_start, protect_size, permission).
#
#
#
#FailureMessage Object: 0x7bc8f6e776e0
 1: 0xa70671  [node]
 2: 0x19d8915 V8_Fatal(char const*, ...) [node]
 3: 0xd9197f  [node]
 4: 0xd9469d v8::internal::PagedSpace::SetReadAndExecutable() [node]
 5: 0xcd75b3 v8::internal::Isolate::Init(v8::internal::ReadOnlyDeserializer*, v8::internal::StartupDeserializer*) [node]
 6: 0x10b8dee v8::internal::Snapshot::Initialize(v8::internal::Isolate*) [node]
 7: 0xb9989d v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) [node]
 8: 0xa44f81 node::NodeMainInstance::NodeMainInstance(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, std::vector<std::string, std::allocator<std::string> > const&, std::vector<std::string, std::allocator<std::string> > const&, std::vector<unsigned long, std::allocator<unsigned long> > const*) [node]
 9: 0x9d4e10 node::Start(int, char**) [node]
10: 0x72e20791f09b __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
11: 0x96ec55  [node]
command failed [npm install] via [/usr/src/dispatch/src/dispatch/static/dispatch]
Traceback (most recent call last):
  File "setup.py", line 382, in <module>
    setup(
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
    self.run_command('build')
  File "/usr/local/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 360, in run
    self.run_command("build_assets")
  File "/usr/local/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 192, in run
    self._setup_js_deps()
  File "setup.py", line 146, in _setup_js_deps
    self._run_npm_command(["install"])
  File "setup.py", line 159, in _run_npm_command
    self._run_command(["npm"] + cmd, env=env)
  File "setup.py", line 153, in _run_command
    return check_output(cmd, cwd=self.work_path, env=env)
  File "/usr/local/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['npm', 'install']' died with <Signals.SIGILL: 4>.
Removing intermediate container 20a992ece4f8
Service 'core' failed to build : The command '/bin/sh -c export YARN_CACHE_FOLDER="$(mktemp -d)"     && cd /usr/src/dispatch     && python setup.py bdist_wheel     && rm -r "$YARN_CACHE_FOLDER"     && mv /usr/src/dispatch/dist /dist' returned a non-zero code: 1
Cleaning up...

@dimuit86 wsl isn't an option I can use, so is there anything I can do to help debug this?


Updated Swagger Files For SQL Managed Database and Managed Instance

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ x] The title of the PR is clear and informative.
[ x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ x] If applicable, the PR references the bug/issue that it fixes.
[ x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ x] I have read the contribution guidelines.
[ x] My spec meets the review criteria:

[ x] The spec conforms to the Swagger 2.0 specification.
[x ] The spec follows the guidelines described in the Swagger checklist document.
[ x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-libraries-for-java

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Handling a bunch of network PRs right now

Addressed comments

Signed off from SDK side.

package-2017 should contain all files up to and including 2017.
package-2015 should contain all files up to and including 2015.
package-composite-v* should contain latest version of apis unless there is some backcompat isssue.
package-pure-2017 should contain all files of 2017 only.
package-pure-2015 should contain all files of 2015 only.

Signing off from ARM

Please let me know if you plan to address the comments from @jaredmoo. Thank you!

Please do not merge without the readme.md changes I requested or else generated SDKs will not be right

We are planning on making the changes Jared requested, and we will also be adding InstanceFailoverGroup swagger in the readme because that is also ready. Waiting for the ARM manifest to be deployed (should be within a day or two). Our .NET SDKs are also ready and a PR will be started shortly.

Our ARM manifest has been deployed and we fixed the readme. Please merge as soon as possible.


ORT trafficserver versions do not match distributed versions

The current traffic_ops/install/data/json/parameter.json file has a trafficserver version of "5.2.0-5807.d0a1296.el6.x86_64". Theres' actually 3 trafficserver versions listed in that file, but that is the latest.
traffic-control-cdn.net references 5.2.0-5809.b3586fc.el6.x86_64 for the current 1.1.2 release.

Also add some documentation that explains how ORT works with the package parameters.

dupe of #372


Voice Meeter Banana Can not be used with NAudio WaveOutEvent

Voice Meeter Banana can not be used with NAudio WaveOutEvent. It causes the AlreadyAllocated calling waveOutOpen error message.
Relevant Issue: https://github.com/Kalejin/DCSB/issues/89
Surprisingly I do not see this issue mentioned anywhere on this github.
Hopefully someone smarter than me can find the route cause of this issue other than just avoiding Voice Meeter Banana.

I haven't tried it myself, although in every case where a user has come to me with the AlreadyAllocated calling waveOutOpenerror they had VoiceMeeter Banana running. Closing VoiceMeeter Banana solves the issue.


BUG Navigation does not always work

In some cases, for example, clicking on the footer logo does not redirect to the homepage, especially after having used it once or twice to return to the beginning.
This happens if the URL is already the target where the link redirects.

This will probaby be fixed after implementation of #203


We recommend installing Node via nvm (https://github.com/creationix/nvm) as the easiest way to avoid npm permissions issues. See https://docs.npmjs.com/getting-started/fixing-npm-permissions for more info.

@emizzle Looks like nvm didn't fix it, but changing the npm directory to fix the permissions error worked! Thanks!

@emizzle looks like fixing the npm permissions helped out, I can install other packages globally such as truffle and js-hint, just not embark framework.
    root@pop-os:/home/kyler/optasolar/solar-app# npm -g install embark
    npm WARN registry Using stale data from https://registry.npmjs.org/ because the host is inaccessible -- are you offline?
    npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
    npm ERR! code 128
    npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive
    npm ERR! fatal: failed to stat '/root/.npm/_cacache/tmp/git-clone-8736c326': Permission denied
    npm ERR!

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-08-09T05_53_37_395Z-debug.log
    root@pop-os:/home/kyler/optasolar/solar-app# npm -g install embark
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend         using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
    npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
    npm ERR! code 128
    npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive
    npm ERR! fatal: failed to stat '/root/.npm/_cacache/tmp/git-clone-0ed2f77a': Permission denied
    npm ERR!

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-08-09T05_54_24_109Z-debug.log
    root@pop-os:/home/kyler/optasolar/solar-app# npm install -g truffle
    /root/.npm-global/bin/truffle -> /root/.npm-global/lib/node_modules/truffle/build/cli.bundled.js
    +<EMAIL_ADDRESS>            added 81 packages from 310 contributors in 23.431s
            root@pop-os:/home/kyler/optasolar/solar-app#

Can you try to install a new version of Node (eg: 8.11.3, that's the one we mostly use), preferably with NVM,  and tryto see if you still get the permission denied?
Also, make sure to not install with sudo or with Administrator.

@jrainville I always use the current version v10.8.0., but when I tried running npm install -g embark, using v8.11.3 this happened:
npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated<EMAIL_ADDRESS>🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/ethereumjs/ethereumjs-abi.git /root/.npm/_cacache/tmp/git-clone-9c5715d7
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-9c5715d7': Permission denied
npm ERR!
npm ERR!

Have you tried the suggested nvm way?
See: https://github.com/creationix/nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

reenter bash
nvm install stable
npm install -g embark


API/Backend integration [RFC]

Context
Connect manage-courses-backend with manage-courses-frontend
Changes proposed in this pull request
Setup get request to api/v2/providers in manage-courses-backend
Guidance to review
/organisations
After

Just realised we have to be quite careful with naming. We have two separate concepts: organisation (which is a DfE view) and provider (which is the marketing & UCAS view).  I think the code in the frontend should probably align with the backend, so the model should probably be called Provider instead of Organisation even if the copy we use says Organisation.

@benilovj Is this something we need to sort out in the backend vs here?


Adds conversation support

This makes a number of changes. Primarily this adds support for conversational interaction with the AI model. In order to accomplish this I have modified the code to use the REST API. The current state of this PR will probably not work yet for the container workflow... but should be possible to update that to run the curl command inside the container.
This also switches the window from a floating window to a vertical split, which I find much easier to iterate with in a chat scenario.

I feel like the changes here actually have the potential to close both of the following tickets:
https://github.com/David-Kunz/gen.nvim/issues/28
https://github.com/David-Kunz/gen.nvim/issues/30

Hi @kjjuno ,
Thank you so much for this PR!
I tried to run it, but I get:
Vim:E474: Attempt to decode a blank string
stack traceback:
^I[C]: in function 'json_decode'
^I/Users/d065023/projects/nvim/gen.nvim/lua/gen/init.lua:149: in function </Users/d065023/projects/nvim/gen.nvim/lua/gen/init.lua:139>

interesting. I'll have to look into why. What model are you using?

Can you give me an example prompt that you used, and any context that you provided to the prompt?

I think I saw your issue. I've added a lot more error checking. It seems to work a lot more consistently on my machine now. Would you mind testing it again?

:-( I seem to have broken the prompts that do auto replacement. I will get that fixed.

that should be fixed now

With regards to the docker container feature...
The ollama/ollama container does not include wget or curl. So, this change to use the REST api seems to not work very well, unless you are ok with removing the option of directly running ollama in the container, and instead have the container bind to a port on the local machine and then use the REST Api against that port.
You would still be able to host ollama in docker, but this plugin would no longer be "docker aware" and would instead just take an api url. This would also have the added benefit of allowing you to target another machine as requested in https://github.com/David-Kunz/gen.nvim/issues/30
What are your thoughts about going this route?

HI @kjjuno ,
That worked, but I still get some issues after closing the buffer:
^I[C]: in function 'nvim_buf_get_lines'
^I/Users/d065023/projects/nvim/gen.nvim/lua/gen/init.lua:32: in function 'write_to_buffer'
^I/Users/d065023/projects/nvim/gen.nvim/lua/gen/init.lua:227: in function </Users/d065023/projects/nvim/gen.nvim/lua/gen/init.lua:198>

It looks like this is really caused by closing the buffer before the job is finished writing text. So the job tries to write to a non existent buffer. I've added an autocmd that should prevent that scenario.

This was accidentally closed attempting to resolve merge conflicts. This has been superceded by
https://github.com/David-Kunz/gen.nvim/pull/36


Does not seem to work if the script editor is detached

As the title implies.
This is partially due to the detached script editor seemingly being _unhandled_input rather than _input, however something else is afoot.

I don't use Godot in multi window mode due to latency issues with menus, so this slipped by.
Can you confirm whether or not you get the green highlight indicating that a macro was detected?
If so, I think it'll just be a matter of forwarding _input from the window, which I should be able to do!

Yeh it highlighted green, but never updated

Interestingly, the potential fix causes some issues. I've put it on the development branch for now.
But essentially, there is no easy way to intercept an input event in a secondary window, so that it does not reach the script editor.
It would require detecting the presence of the window, adding a node to it, and for that node to intercept the event. I don't see a way to easily get a hold of the window though, until it is too late.

Closing as solved! (untested, but should work!)


build the gallery on PRs

The script already deploys only on committed tagged dev branch commits.

cc @gspencergoog

@fkorotkov any ideas on this failure message?
Gem::FilePermissionError: You don't have write permissions for the
/var/folders/xb/469gd9j941bc7v3mltn7zgb40000gn/T/bundler20181024-1269-14soujqdotenv-2.4.0/bin

@xster not sure what happened there. There were no changes to macOS images in the past few weeks. Was it working before?

Ok, it works. Submitting on green.
This PR:

Lets Android and iOS build the gallery on each PR
Lets iOS try to sign it on each merge.
Pass in our own credential to get the certificates via https
Renew certificates which expired
Make a new Apple ID user to get around the 2FA craziness

I think this will cause problems for anyone who isn't already a contributor - it depends on encrypted variables they can't use.
It should probably be scoped to only contributors.

Ahhh I see - it's got logic in the shell script.  Nevermind.
For some reason merging this into one of my older PRs seems to have caused problems, but I think that's something else.


[Bug] Internal Error With Target == "Metal"

I was following along the tutorial for converting the resnet 50 network using tvmc targeting metal, but hit a hard stop with the following message:
libc++abi: terminating with uncaught exception of type tvm::runtime::InternalError
Expected behavior
A tar file to be generated for running the network
Actual behavior
Process gets aborted
Environment
OS: MacOS Monterey 12.1, Darwin AY-M-D6ZQ 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
TVM: 0.9.dev0
Graphics card: Intel(R) UHD Graphics 630, AMD Radeon Pro 555X
Steps to reproduce
python -m tvm.driver.tvmc compile --target "metal" --output resnet50-v2-7-tvm.tar resnet50-v2-7.onnx resnet50-v2-7.onnx

Is gesture_model.onnx the resnet50 referenced in the tutorial?

Oops, sorry - no. I'll update the description, this snuck from my tests in the command line.

When I changed the version of tvm to 0.8.0 and tried compiling my own model I got the following error:
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:164: Warning: Unable to detect CUDA version, default to "-mcpu=sm_20" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:190: Warning: Unable to detect ROCm compute arch, default to "-mcpu=gfx900" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:204: Warning: Unable to detect ROCm version, assuming >= 3.5
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:164: Warning: Unable to detect CUDA version, default to "-mcpu=sm_20" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:190: Warning: Unable to detect ROCm compute arch, default to "-mcpu=gfx900" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:204: Warning: Unable to detect ROCm version, assuming >= 3.5
/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/relay/frontend/onnx.py:4478: UserWarning: Input encoder_output_1280x9x16 has unknown dimension shapes: ['batch_size', 1280, 9, 16]. Specifying static values may improve performance
  warnings.warn(warning_msg)
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:164: Warning: Unable to detect CUDA version, default to "-mcpu=sm_20" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:190: Warning: Unable to detect ROCm compute arch, default to "-mcpu=gfx900" instead
[21:39:35] /Users/ayeganov/code/cisco/tvm_exploration/tvm/src/target/target_kind.cc:204: Warning: Unable to detect ROCm version, assuming >= 3.5
Traceback (most recent call last):
  File "/Users/ayeganov/.pyenv/versions/3.8.6/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/ayeganov/.pyenv/versions/3.8.6/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/driver/tvmc/__main__.py", line 24, in <module>
    tvmc.main.main()
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/driver/tvmc/main.py", line 94, in main
    sys.exit(_main(sys.argv[1:]))
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/driver/tvmc/main.py", line 87, in _main
    return args.func(args)
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/driver/tvmc/compiler.py", line 141, in drive_compile
    compile_model(
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/driver/tvmc/compiler.py", line 271, in compile_model
    graph_module = relay.build(mod, target=tvm_target, params=params)
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/relay/build_module.py", line 369, in build
    executor_config, runtime_mod, params = bld_mod.build(
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/relay/build_module.py", line 177, in build
    self._build(mod, target, target_host, executor, mod_name)
  File "/Users/ayeganov/.pyenv/versions/3.8.6/envs/tvm_for_ladon/lib/python3.8/site-packages/tvm-0.8.0-py3.8-macosx-10.15-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 237, in __call__
    raise get_last_ffi_error()
tvm._ffi.base.TVMError: Traceback (most recent call last):
  [bt] (8) 9   libtvm.dylib                        0x000000010aa456d6 tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&) + 214
  [bt] (7) 8   libtvm.dylib                        0x000000010aa459df tvm::NodeFunctor<void (tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*)>::operator()(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*) const + 303
  [bt] (6) 7   libtvm.dylib                        0x000000010aa5e1d3 tvm::relay::transform::DeviceAwareExprVisitor::VisitExpr_(tvm::relay::FunctionNode const*) + 291
  [bt] (5) 6   libtvm.dylib                        0x000000010ac023db tvm::relay::StorageAllocaBaseVisitor::DeviceAwareVisitExpr_(tvm::relay::FunctionNode const*) + 171
  [bt] (4) 5   libtvm.dylib                        0x000000010ac0360c tvm::relay::StorageAllocaBaseVisitor::CreateToken(tvm::RelayExprNode const*, bool) + 156
  [bt] (3) 4   libtvm.dylib                        0x000000010ac0329b tvm::relay::StorageAllocator::CreateTokenOnDevice(tvm::RelayExprNode const*, DLDeviceType, bool) + 1755
  [bt] (2) 3   libtvm.dylib                        0x000000010ac06527 tvm::relay::StorageAllocator::GetMemorySize(tvm::relay::StorageToken*) + 487
  [bt] (1) 2   libtvm.dylib                        0x0000000109975479 tvm::runtime::detail::LogFatal::Entry::Finalize() + 89
  [bt] (0) 1   libtvm.dylib                        0x000000010ae2a068 tvm::runtime::Backtrace() + 24
  File "/Users/ayeganov/code/cisco/tvm_exploration/tvm/src/relay/backend/graph_plan_memory.cc", line 408
TVMError:
---------------------------------------------------------------
An error occurred during the execution of TVM.
For more information, please see: https://tvm.apache.org/docs/errors.html
---------------------------------------------------------------
  Check failed: (pval != nullptr) is false: Cannot allocate memory symbolic tensor shape [?, 1280, 9, 16]

This error means you need to use the VM compiler and runtime for this model. See https://github.com/apache/tvm/blob/main/gallery/how_to/deploy_models/deploy_object_detection_pytorch.py#L130-L139

@masahi I actually need to consume the model in c++, so I'm assuming all of the above is possible with c++ API as well. Also, which error were you referring to - the original internal error or symbol shape one?

@masahi does VM compiler support metal?

The error is  Check failed: (pval != nullptr) is false: Cannot allocate memory symbolic tensor shape [?, 1280, 9, 16]. When you do relay.build, we use something called graph codegen / runtime, where all shapes need to be statically known. The ? indicates your model has a dynamic batch dimension somewhere, so you need to use a compiler and runtime that supports dynamic shape. That's what the VM compiler and runtime for.

@masahi does VM compiler support metal?

Yes, there is no coupling between targets and the VM runtime, all targets work.

I actually need to consume the model in c++, so I'm assuming all of the above is possible with c++ API as well

In principle yes. Deployment in C++ is common, but less so for VM. There is an example in https://github.com/apache/tvm/blob/e7024fb39ea27494fa5618102dae42e7e5551986/src/contrib/torch/pt_call_tvm/tvm_class.cc#L143. On the other hand, I've never seen someone doing VM compilation in C++ (equivalent of doing vm.compile(...)). By consume I hope you meant the former use case.

@masahi Thank you for the helpful answers. I am going to go and try compiling the model with the VM. But I think I still managed to to be vague enough with my questions to confuse myself with your answers :). Here is what I want to accomplish and currently think I understand:

I need to take an existing ONNX model, that performs well on CPU, but uses too many computation resources for me to deploy it in the wild as is, and convert it to TVM runtime utilizing Metal as hardware accelerator.
Take the converted model and load it into my own library in C++

I don't care about compiling the model to TVM in C++, as long as I can run it in C++. In fact, I'd prefer to do it in python, because it is easier to script. I did notice this comment in the referenced implementation you linked:
Compile with Relay VM
---------------------
Note: Currently only CPU target is supported. For x86 target, it is
highly recommended to build TVM with Intel MKL and Intel OpenMP to get
best performance, due to the existence of large dense operator in
torchvision rcnn models.
Is this outdated? I'll give this a shot in a few minutes, but wanted to bring that to your attention in case there is some discrepancy between examples and actual implemented functionality.

Is this outdated?

No, this is specific to the model used in that tutorial (MaskRCNN) and not about VM per se.

2. Compiling with VM is going to bake it into the model and running it with C++ won't require me to use a VM

You still need the VM runtime to run the model in your C++ app. The linked example https://github.com/apache/tvm/blob/e7024fb39ea27494fa5618102dae42e7e5551986/src/contrib/torch/pt_call_tvm/tvm_class.cc#L143 shows how to use VM runtime C++ API.

Also, your examples all point to PyTorch, is that because they are good examples and I can do everything they do with ONNX as well, or should I use PyTorch to achieve the functionality I need?

It doesn't matter, after a model is imported via PyTorch or ONNX, the compilation and deployment flow are exactly the same. It's just that I'm more familiar with PyTorch.

@masahi thank you so much for your answers and time. If you are on patreon or some open source donations platform, drop the link here so I can donate toward your projects. That said, after looking into this for a little while I was able to achieve what I need to do in Python, as my testing ground. Here is roughly what I ended up doing:
onnx_model = onnx.load(model_path)
input_shape = (1, 4, 256, 144)  # I don't care about dynamic batches, since my case is pure inference of camera frames
shape_dict = {input_name: input_shape}
mod, params = relay.frontend.from_onnx(onnx_model, shape_dict)

target = "metal"
with tvm.transform.PassContext(opt_level=1):
    executor = relay.build_module.create_executor(
        "graph", mod, tvm.metal(1), target, params
    ).evaluate()

  while True:
      res = executor(tvm.nd.array(final_img, tvm.metal(1)))
      tvm_output = res
      time.sleep(0.016)

Since generally VMs come with a performance hit I like that I am able to avoid it in this case. What I essentially want is to repeat these steps in C++ using tvm as a 3rd party library with the minimal number of headers. As my starting point I used apps/howto_deploy/cpp_deploy.cc, but modifying the code to build for Metal howto_deploy/prepare_test_libs.py:47 and then running on Metal device apps/howto_deploy/cpp_deploy.cc:89 yielded an error that Metal loader is not registered. Looking in apps/howto_deploy/tvm_runtime_pack.cc leads to lines 79 and 80 for enabling Metal, which are ObjC files, at which point the example fails to build due to ObjC syntax in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:523. So my question at this point is - can Metal be done in C++ at all?

I'm not familiar with metal / objc. Maybe nobody has done C++ deployment with metal before.
I suggest opening a thread at https://discuss.tvm.apache.org/ for more visibility. And please send a PR if you find a solution.

This presentation may be of interest to you https://www.youtube.com/watch?v=9fDR9upXZTI


Security vulnerability in dependency "Pillow" < 3.3.2

Could potentially allow arbitrary code execution for unauthenticated users. See: https://www.cvedetails.com/cve/CVE-2016-9190/
Seems to be in connection with image uploading and specifically for 32bit systems, so as far as I'm aware there shouldn't be any issues with this repo. But if there is not too much work, even though it's a big jump from 0.24.0, it would be nice to update the dependency.

Old website is no longer in use, won't fix!


Bug fix: Missing use of arguments in estimate effect

While investigating a question on discord I saw that these arguments were not being passed to the constructed estimator anymore.
@amit-sharma Not sure if this is correct. Feel free to let me know if there is a better way to do this.

thanks @padarn for catching this.
@andresmor-ms any specific reason these arguments were excluded?

I can't remember if this was removed for a specific reason, tbh it looks like a mistake I could have done, I'm taking a look and commenting again later today.

@amit-sharma, So I think it was my mistake to remove those arguments from that call, it is fine to add them again, but we will need to make 2 additional changes so that the tests pass.
@Padarn can you update this PR with the following changes:

In https://github.com/py-why/dowhy/blob/main/dowhy/causal_estimator.py#L907 Remove the self._data parameter from the call to self.test_stat_significance() so that it does not have any parameter.
Again, in https://github.com/py-why/dowhy/blob/main/dowhy/causal_estimator.py#L911 Remove the self._data parameter from the call to self.get_confidence_intervals() so that it does not have any parameter.

I'm very sorry for the inconvenience.

Sure thing! Sorry I hadn't checked the test cases. I'll do that today.
On Tue, 31 Jan 2023, 1:55 am Andres Morales, @.***>
wrote:

@amit-sharma https://github.com/amit-sharma, So I think it was my
mistake to remove those arguments from that call, it is fine to add them
again, but we will need to make 2 additional changes so that the tests pass.
@Padarn https://github.com/Padarn can you update this PR with the
following changes:

In
https://github.com/py-why/dowhy/blob/main/dowhy/causal_estimator.py#L907
Remove the self._data parameter from the call to
self.test_stat_significance() so that it does not have any parameter.
Again, in
https://github.com/py-why/dowhy/blob/main/dowhy/causal_estimator.py#L911
Remove the self._data parameter from the call to
self.get_confidence_intervals() so that it does not have any parameter.

I'm very sorry for the inconvenience.
—
Reply to this email directly, view it on GitHub
https://github.com/py-why/dowhy/pull/840#issuecomment-1409065394, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGRPN62WK57ZPPNTH5KKE3WU757JANCNFSM6AAAAAAUKDN434
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
By communicating with Grab Holdings Limited and/or its subsidiaries,
associate companies and jointly controlled entities (collectively, “Grab”),
you are deemed to have consented to the processing of your personal data as
set out in the Privacy Notice which can be viewed at
https://grab.com/privacy/  https://grab.com/privacy/
This email
contains confidential information that may be privileged and is only for
the intended recipient(s). If you are not the intended recipient(s), please
do not disseminate, distribute or copy this email. Please notify Grab
immediately if you have received this by mistake and delete this email from
your system. Email transmission may not be secure or error-free as any
information could be intercepted, corrupted, lost, destroyed, delayed or
incomplete, or contain viruses. Grab does not accept liability for any
errors or omissions in this email that arise as a result of email
transmission. All intellectual property rights in this email and any
attachments shall remain vested in Grab, unless otherwise provided by law

The failed (flaky) test passes locally. Perhaps worth just rerunning? (I don't have access to trigger a rerun I don't think)

Restarted the tests and they look good now!

Thanks!
On Thu, 2 Feb 2023 at 5:27 AM, Andres Morales @.***>
wrote:

Restarted the tests and they look good now!
—
Reply to this email directly, view it on GitHub
https://github.com/py-why/dowhy/pull/840#issuecomment-1412750968, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGRPN3JZHU4FPDQPB6I4B3WVLIMLANCNFSM6AAAAAAUKDN434
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
By communicating with Grab Holdings Limited and/or its subsidiaries,
associate companies and jointly controlled entities (collectively, “Grab”),
you are deemed to have consented to the processing of your personal data as
set out in the Privacy Notice which can be viewed at
https://grab.com/privacy/  https://grab.com/privacy/
This email
contains confidential information that may be privileged and is only for
the intended recipient(s). If you are not the intended recipient(s), please
do not disseminate, distribute or copy this email. Please notify Grab
immediately if you have received this by mistake and delete this email from
your system. Email transmission may not be secure or error-free as any
information could be intercepted, corrupted, lost, destroyed, delayed or
incomplete, or contain viruses. Grab does not accept liability for any
errors or omissions in this email that arise as a result of email
transmission. All intellectual property rights in this email and any
attachments shall remain vested in Grab, unless otherwise provided by law


fix(isTokenValid): added try catch to validation method

PR Submission Checklist for internal contributors

The PR Title

[ ] conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
[ ] contains a reference JIRA issue number like SQPIT-764
[ ] answers the question: If merged, this PR will: ... ³

The PR Description

[ ] is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?
Issues
The method to validate the auth-token is not robust enough and could potentially crash the application.

Linear Ticket Url: https://linear.app/wire-integrations/issue/WIR-10/fix-the-jwt-token-issue

Causes (Optional)
Missing implementation of error catching functionality.
Solutions
Added try-catch blocks around every operation that could potentially cause the application to crash.

References

https://sparkbox.com/foundry/semantic_commit_messages
https://github.com/wireapp/.github#usage
E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

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


Map Context Editor: Creating a mapContextLayer from a metadata set

from the list of metadata records a mapContextLayer is created by the button "Add to map".
If only one layer references the metadata record, this layer will be linked directly to the mapContextLayer and the corresponding symbol for rendering option see below will be colored / active (see ticket #370)
If multiple layers reference this metadata record, only the mapContextLayer is created (without linking to any layer). The icon is grayed out / inactive in this case.

Need a dataset metadata that actually has more layers


Confirm box default to Yes

Hi, would it be possible to implement the an option on the huh.NewConfirm(...) to default the value to the affirmative action instead of the Negative?

You can assign the value to true and it will default to the affirmative.
c := true
err := huh.NewConfirm().
	Title("Ready to continue?").
	Value(&c).
	Run()

Ok that makes sense, thank you


Support publication of snow data in wis2box

surface-based-observations/snow

[ ] Discovery metadata
[ ] Sample data files
[ ] Station list updated
[ ] Tests updated

snow data should be on GTS or from ECMWF (consult w/ Rodica)
Synoptic snow data can provide an example


INVALID_REQUEST from all workers

I was using it fine earlier today (latest version as of noon today) but all a sudden all my workers are getting INVALID REQUEST
Monocle running for 0:00:09.897763
Known spawns: 11, unknown: 22, more: 0
4 workers, 2 threads, 6 coroutines
DB queue: 0, sightings cache: 0, mystery cache: 0

Seen per worker: min 0, max 0, med 0
Visits per worker: min 0, max 0, med 0
Visit delay: min 0.0, max 0.0, med 0.0
Speed: min 0.3, max 0.6, med 0.5
Extra accounts: 0, CAPTCHAs needed: 0

Pokemon found count (10s interval):

Visits: 0, per second: 0.00
Skipped: 1, unnecessary: 0

Workers without sightings so far:
0, 1, 2, 3

X X
X X
[W0: INVALID REQUEST]   [W1: INVALID REQUEST]   [W2: INVALID REQUEST]   [W3: INVALID REQUEST]
Coroutine completion timed out, moving on.
Dumping pickles...
Updating spawns pickle...
Closing pipes, sessions, and event loop...
Done.

I'm able to log into the worker account fine on my phone and also tried from a different IP with the same result, so don't think it's an account/ IP ban. (also tried deleting the db).
Any ideas ?

Yep. Same here.

same here

Same.

FWIW it works if using a bossland key

Thank you, Thibaut! Question. I currently use 20 accounts to scan my small
area. I haver been reading up on bossland keys, but I figure with those 20
accounts I would go over even the 1,000 RPMs. I only wish to scan a 7-8
mile radius from my house. Would it be better if I reduced those accounts
to 5 and used a bossland key? I am still learning. Thank you for the
information.
On Wed, Mar 8, 2017 at 3:35 PM, Thibaut Colar<EMAIL_ADDRESS>wrote:

FWIW it works if using a bossland key
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Noctem/Monocle/issues/170#issuecomment-285160981, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFd9MkrI99QHXn2uQEUmJcDVzw2jK14Pks5rjxEigaJpZM4MWWPj
.

@atticusm I'm not an expert on the matter, but my key is 150RPM and that allows about 4 account, but I think it depends of your settings (encounter pokemons, spin stops etc...)
I'm using 4 accounts and it says I'm around 144 RPM. S0 a 1k key should allow ~25 accounts or so ?

@atticusm @tcolar with 150 RPM key you should be able to run around 48 accounts. So your 20 accounts it shouldn't be a problem whatsoever.

Yeah @baskettcase I was reading 144/150 as I'm using 144/150 but in fact it means 144 Available, so yeah should be able to do plenty.

It seems that the old hashing may finally be dead. I don't intend to spend any time trying to fix it, it's crazy that Niantic allowed it to work this long (albeit with a flood of CAPTCHAs). Unless it starts working again or someone manages to fix it, I will just remove support for it from aiopogo.
So I'm closing this issue. It can be reopened if anyone's encountering this with the new hashing.


reflection works with grpcurl but not grpcui

grpcurl list and grpcurl describe both work, but the grpcui throws error
grpcui -plaintext localhost:8080
Failed to compute set of methods to expose: server does not support the reflection API

The grpcurl works
grpcurl -plaintext localhost:8080 list
api.v1.APIService

grpcurl -plaintext localhost:8080 describe
api.v1.APIService is a service:
service APIService {
  ....omitted....
}

version info
$ grpcui --version
grpcui 1.4.1

$ grpcurl --version
grpcurl dev build <no version set>

It looks like grpcui hasn't been updated to use v1 of the reflection API. Is your code also exposing v1alpha1 of the reflection API (using grpcreflect.NewHandlerV1Alpha)?

Good point. @akshayjshah You are right I didn't add the grpcreflect.NewHandlerV1Alpha(reflector) line. So it looks both grpcui and postman haven't updated the reflection API in their clients.
After adding this line, both the grpcui and postman work now. Thanks a ton!

FWIW, grpcui has a fix for this in https://github.com/fullstorydev/grpcui/pull/314, but it's not been included in a release yet.


How can do that, when the i18n file is updated, refresh the page to take effect.

We now have a translation library. When the translation is updated, my json file under i18n will be updated. However, now it needs to be recompiled to take effect. How to set it up? When the i18n file is updated, refreshing the page will take effect.

@AllenIverson1122 Yes, that's not possible, because the translations are inlined at compile-time,  not at runtime. So reloading the page is useless.
Could you explain the use case?

how is it possible that the translations (only some or all?) are not known at the time of compilation?
does a backend server generate them?
why not call the server directly and use them? why the extra step of updating files and re-rendering components?

Set a timer and request the api to get translated content once a minute.
When there is a translation update,
execute
fs.writeFile(_i18n +'/' + fileName + '.json', value, function (err) {
if (err) {
console.error(err);
}
})
update i18n/ json file

Set a timer and request the api to get translated content once a minute.

Why would translations change potentially once a minute?

The translation content is modified through the translation system of the translator. After modification, it is polled on the project using qwik-speak. When there is an update, the latest translation is directly replaced and updated, so that it can be updated directly without re-versioning,website will show latest translation content

And what is the expected behavior? Should the user browsing the site see individual translations change without reloading? or is it sufficient that updated translations are available for subsequent navigation?

We expect our translators to submit translations on the translation website, and then I use the qwik-speak website to poll every few minutes for translation updates. When obtained, regenerate the json of the corresponding language under the i18n file. document. When the user reloads the page, he or she can see the latest translation content.
But, now, if I need to update the content, I have to recompile the project and deploy it.

And what is the expected behavior? Should the user browsing the site see individual translations change without reloading? or is it sufficient that updated translations are available for subsequent navigation?

We expect our translators to submit translations on the translation website, and then I use the qwik-speak website to poll every few minutes for translation updates. When obtained, regenerate the json of the corresponding language under the i18n file. document. When the user reloads the page, he or she can see the latest translation content.
But, now, if I need to update the content, I have to recompile the project and deploy it.

I think your design system expects everything to happen at runtime, while this library and the Qwik framework expects translation to happen at compile time: https://qwik.builder.io/docs/integrations/i18n/. Why were they chosen?
As a side effect you can use this library to get the expected behavior:

remove Qwik Speak Inline Vite plugin: using it, translations are inlined at compile-time
only use runtimeAssets in your app
fetch the json files: https://github.com/robisim74/qwik-speak/blob/main/docs/translation-functions.md#fetching-files but be careful, you also have to consider the browser cache: so you should add a parameter as query string that changes with each new request

Since this will cause performance degradation of your app (directly proportional to its complexity) this usage is not recommended.
I am closing this issue because this request is outside the scope of this library.


How to make export_type work for dialyzer?

LFE 1.3 dev branch works well with dialyzer in OTP 20, but I can't make the export_type attributes works
mod1.lfe
(defmodule mod1
    (export all))

(defspec (test 0)
    (() (mod2:t1)))

(defun test () 1)

mod2.lfe
(defmodule mod2
    (export_type (t1 0)))

(deftype t1
    (integer))

then I run the dialyzer with the following command
dialyzer  -pa ~/repo/lfe/ebin mod2.beam mod1.beam
and I got the warning:
 Proceeding with analysis...
Unknown types:
  'mod2':t1/0
 done in 0m0.22s
done (passed successfully)

It would be great, if someone can help me to make it work

Will check this and see what is happening.

@rvirding I do use the debug-info flag as you told me before. I think this is a bug due to the core_erlang code generation

@rvirding nice! thanks again


[WIP] MAINT: separate layout from logic

@chenghuzi can you take over? I have to task switch now ...
I think you can understand from the code what I am trying to do. There shouldn't be any "style" or "layout" hidden inside the logic.

also separate out the simulation_status somewhere in this way:
simulation_status = {
   'not_running': '
Not running
',
   'running':
Running...
,
   'finished': '
Simulation finished
'
}