Bug report: VLC-Nightly Redirection Forbidden

Remember to follow the pre bug report guide beforehand. Failure to do so might get your issue closed.
Description of issue
When attempting to install VLC nightly, Homebrew fails to fetch the download due to a URL redirect
Output of `brew cask  --verbose`
Error: redirection forbidden: https://nightlies.videolan.org/build/macosx-intel/last -> http://nightlies.videolan.org/build/macosx-intel/last/
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:223:in `open_loop'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:34:in `open'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:26:in `block (2 levels) in load'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/url.rb:14:in `call'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/url.rb:14:in `block in from'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb:8:in `block in once'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb:32:in `call'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb:32:in `method_missing'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:25:in `downloader'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:36:in `clear_cache'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/download.rb:14:in `perform'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:101:in `download'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:62:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:85:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:25:in `block in install_casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:19:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:19:in `install_casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:10:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:114:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:157:in `process'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit

Output of `brew doctor`
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/teddy/.pyenv/shims/python-config
  /Users/teddy/.pyenv/shims/python3-config
  /Users/teddy/.pyenv/shims/python3.6-config
  /Users/teddy/.pyenv/shims/python3.6m-config

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/python2.7/greenlet/greenlet.h
  /usr/local/include/python3.5m/greenlet/greenlet.h

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:
  libxml2
  libxslt

Output of `brew cask doctor`
==> Homebrew-Cask Version
Homebrew-Cask 1.1.11-51-gb3679de3
caskroom/homebrew-cask (git revision 77de; last commit 2017-03-12)
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3600 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts (1110 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (171 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Environment Variables
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
PATH="~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/shims:~/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/zsh"

Confirmed.

Pinging @claui. This is a url do cask.

The PR should fix this. I have also talked to one of the upstream sysadmins; they’re also going to fix it server-side.
Thanks for the heads up @teddy-error! ❤


how to set LRSmartTextField  inside the placeholder font size

Basically, this is a textfield, so you could have all of the textfield available functionalities.
I think one simple solution is to check the blog here
http://stackoverflow.com/questions/18244790/changing-uitextfield-placeholder-font
Let me know if this won't work for you.
We are converting this library into swift and the objective-c library is no longer maintained. But if that won't work you, I will try to find a solution then.
Thank you


add more checkpoints for reset and calico

What type of PR is this?
/kind feature

What this PR does / why we need it:
add more check points for cluster reset and CNI calico
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


Implement target.getPICMode

Currently getPICMode in src/aro/target.zig does not consider the actual target. See https://github.com/llvm/llvm-project/blob/f12e10b513686a12f20f0c897dcc9ffc00cbce09/clang/lib/Driver/ToolChains/CommonArgs.cpp#L1804 for reference of what this function should do.

Closed by #771


HTTP-based in/out for Slices

Add HTTP up- and download capabilities to Slices

Wouldn't this be the already existing GET and PUT in
/gndms/{grid id}/dspace/{subspace id}/{slice kind id}/{slice id}/_{file name} ?
Or do you mean something else?

No, I mend this feature, i.e. its implementation.
The issue was just intended as subgoal for the next milestone.

Done.


Feature request - Add a timeout ?

Since drive api hangs up every now and then , it would be nice to have a timeout set or a manual timeout set , so that a timeout error is returned. @prasmussen

gdrive 2 will timeout when no data has been transferred for a while, I think this will solve the problem. The timeout is 2 minutes for now, but I might add a flag that can override the timeout if needed.
Thanks for helping out answering issues btw :)

Is there an error returned when timeout occurs ?
I love the new options/features you have added to gdrive and it looks like compiling from source will be much more easier now .
Thank you so much for this awesome tool .

Yes, gdrive should exit with exit code 1 and write an error message on stderr. The message at the moment is "context canceled", I will change this to something more suitable in the future.


Google search

Google search doesn't find:SPBC15D4.14
https://www.pombase.org/gene/SPBC15D4.14
probably not much we can do about it but I thought I would mention it

This is weird isn't it?
Page still isn't found

even with
SPBC15D4.14 pombase

It's been a while but I've come back to this because it will help long term to improve our Google search ranking.
I've changed things so that Google now sees a very simple version of the gene pages with only the useful keywords.  The simplified pages look like: https://www.pombase.org/simple/gene/SPBC2F12.13
That version is only shown to the Google and Microsoft web crawlers for now.  Everyone else will still see the usual page:
https://www.pombase.org/gene/SPBC2F12.13
If this works out and the Google crawler errors for the gene pages start to decrease, I'll do the some thing for the term and reference pages.

sounds good!

If this works out and the Google crawler errors for the gene pages start to decrease, I'll do the
some thing for the term and reference pages.

I did that a while ago and it's all looking good now.  SPBC15D4.14 is indexed and show a reasonable summary in the Google results page.
I'll close this issue and we can open new issues when we spot problems.


fix the error of no variable named _todoRepository

at "Add a controller" section there is no variable called "_todoRepository" which is used by next sections
Title
Brief description of what this Pull Request (PR) does.
Summary
Longer description if needed (if there's an issue for it,
no need to copy the description from there).
Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove the "Fixes" line if no issue is associated with the PR.

Suggested Reviewers
If you know who should review this PR, assign them using the GitHub Reviewers UI.

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,
.NET Foundation Pull Request Bot

@philipxyc  Thanks!


Duplicate binding of global ids should fail

This fixes #1596

Binding two ids on the same name now returns false as expected, thanks!


NO-ISSUE: Better samples on KIE Sandbox, and "PROD" mode by default on jbpm-compact-architecture-example's consoles

jbpm-compact-architecture-example: Starting Consoles in "PROD" mode to enable Keycloack Authentication
Fix wrong operator in Sample.dmn
Modify Sample.bpmn to use simple types and include Jobs

We need to update the sample.bpmn expected screenshot:
Expected:

Actual:


Torrent search not sending to utorrent using jackett

Reporting Issues:
To ensure that a I has enough information to work with please include all of the following information.
Use proper markdown syntax to structure your post (i.e. code/log in code blocks).
Make sure you provide the following information below:

[ ] Version

[ ] Branch
Master2

[ ] Commit hash
3f5d541ca36e5d3c2dfddaa983dc55df1e74ad1e

[ ] Operating system
Windows 10

[ ] Python version
2.7.12

[ ] What you did?
Torrent search with jackett found item to download click to send to utorrent and it stated it was successfully sent and the log reflects that. However, when I go over to utorrent I don’t see it there.

[ ] What happened?
See above.

[ ] What you expected?
Torrent to be sent to utorrent.

[ ] How can we reproduce your issue?
Try combo of torrent search with jackett and utorrent as your downloader.

[ ] What are your (relevant) settings?

[ ] Include a link to your FULL (not just a few lines!) log file that has the error. Please use Gist or Pastebin.

Close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.
Link to log:

I believe this is a setup issue with your Jackett and uTorrent configs.
In Jackett, you need to set a download directory:

And then configure your torrent app to monitor new torrents in the same folder.

Thanks much. I did not have that setup so setup directory E:\Blackhole in jackett and then configured “automatically load torrents from” to the same directory as jackett in utorrent directory settings. However, when I try again in htpc to send the torrent to utorrent it tells me it is successful, but I don’t see the .torrent in the configured directory and expectedly does not show up in utorrent.
It appears for some reason the torrent is not being sent from htpc to jackett? I don’t see anything in the jackett log to suggest even an attempt was made and htpc says it sent it successfully, so kind of stumped at what else to look at. Any suggestions would be appreciated.

Try addon a torrent (url) manually using torrent module.

Logs?

Here is the log in debug mode when trying to add a magent to the utorrent module:
htpcmanager.log
Seems like it is unable to fetch the utorrent settings for some reason.

If I put that URL that it keeps trying to fetch, I can get to utorrent, but it displays "invalid request" on the page.  Could that perhaps be the issue?


docs: add javascript.formatter.trailingCommas

Summary
The javascript.formatter.trailingComma option is deprecated and renamed to javascript.formatter.trailingCommas.
Then add the configuration.
Details can be checked in https://github.com/biomejs/biome/pull/2492

Thank you, I think we should also mark trailingComma as deprecated or remove it. Do you want to help?

Yup, I wanna add the warning to old options.

[!WARNING]
javascript.formatter.trailingComma is deprecated.
Use javascript.formatter.trailingCommas instead.

Or folding the old options like the below.

javascript.formatter.trailingComma (deprecated)
Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Possible values:

"all", the trailing comma is always added;
"es5", the trailing comma is added only in places where it’s supported by older version of JavaScript;
"none", trailing commas are never added.
Default: "all"

There're other deprecated options that possibly should also be taken care of, like indentSize and command line options like --trailing-comma in the CLI doc page.

I'm willing to update the docs in order to adapt version 1.8.0.
However, I wonder my changes will be overriden when #518 merged.
This PR might be just temporary update until #518.

Fair, let's merge this first.


Matterircd ignores server on login when DefaultServer is set in configuration

Hi,
When using a matterircd instance for connecting to multiple Mattermost servers, if there is a DefaultServer in the configuration, it is impossible to connect to any other server even though they're listed in Restrict.
Is DefaultServer actually a forced server option? Or is it a way to define the default server when the user does not specify a specific server to log into in the mattermost /msg?
Steps to reproduce

Set up matterircd config with:

[mattermost]
DefaultServer = "whatever.com"
DefaultTeam = "myteam"
Restrict = ["whatever.com", "chat.charmhub.io"]

Connect to matterircd with an IRC client
Send /msg mattermost login chat.charmhub.io charmhub username token=....

This yields:
[2023-10-24T01:20:35Z] DEBUG matterircd: flushing buffer: &irc.Message{Prefix:(*irc.Prefix)(nil), Command:"PRIVMSG", Params:[]string{"mattermost"}, Trailing:"login chat.charmhub.io charmhub kotodama token=REDACTED
", EmptyTrailing:false
}
[2023-10-24T01:20:35Z] DEBUG matterircd: Executed &irc.Message{Prefix:(*irc.Prefix)(nil), Command:"PRIVMSG", Params:[]string{"mattermost"}, Trailing:"<redacted>", EmptyTrailing:false} <nil>
[2023-10-24T01:20:35Z] DEBUG matterircd: args_len: 4
[2023-10-24T01:20:35Z] DEBUG matterircd: team: myteam
[2023-10-24T01:20:35Z] DEBUG matterircd: server: .com
[2023-10-24T01:20:35Z] DEBUG matterircd: restrict: [whatever.com chat.charmhub.io]
loggerlevel: debug
[2023-10-24T01:20:36Z]  INFO bridge/mattermost: login as kotodama (team: myteam) on whatever.com
[2023-10-24T01:20:36Z]  INFO matterclient: Found version <IP_ADDRESS>.8.0.1d38ab1b122bcd3de4a230cfc66281cd.true
[2023-10-24T01:20:36Z] DEBUG matterclient: trying login myteam kotodama whatever.com
[2023-10-24T01:20:36Z] DEBUG matterclient: trying login with personal token
[2023-10-24T01:20:36Z] ERROR bridge/mattermost: login failed: Invalid or expired session, please login again.,

Thank you!

Yeah, I think it's these bits of code:
https://github.com/42wim/matterircd/blame/master/mm-go-irckit/service.go#L122
https://github.com/42wim/matterircd/blame/master/mm-go-irckit/service.go#L147
So if either of DefaultServer or DefaultTeam, IIUC, they will be used instead of what team and server args are provided. I'll work on a fix when I get some spare cycles.


Issue with /docs/getting-started-guides/kubeadm/

Hi,
I am trying to install Kubernetes in CentOS7 in Virtual Box. After the first step,
I am stuck in the error as follows
systemctl status kubelet -l shows the error:
● kubelet.service - Kubernetes Kubelet Server
   Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/kubelet.service.d
           └─10-kubeadm.conf
   Active: activating (auto-restart) (Result: exit-code) since Mon 2017-08-07 15:33:18 BST; 7s ago
     Docs: https://github.com/kubernetes/kubernetes
  Process: 3716 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_SYSTEM_PODS_ARGS $KUBELET_NETWORK_ARGS $KUBELET_DNS_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=1/FAILURE)
 Main PID: 3716 (code=exited, status=1/FAILURE)

Aug 07 15:33:18 localhost.localdomain systemd[1]: kubelet.service: main process exited, code=exited, status=1/FAILURE
Aug 07 15:33:18 localhost.localdomain systemd[1]: Unit kubelet.service entered failed state.
Aug 07 15:33:18 localhost.localdomain systemd[1]: kubelet.service failed.

Any help please.
Thank you very much.
Best regards,
Jianliang

Probably caused by the above errors, when I tried to join the edge-node to the master node, I had the following errors:

@jianlianggao :wave: This issue sounds more like a request for support and less like an issue specifically for docs. I encourage you to bring your question to the #kubernetes-users channel in Kubernetes slack. You can also search resources like Stack Overflow for answers to similar questions.


WinDbg 1.2303.30001.0 not on Store

WinDbg 1.2303.30001.0 is still not on Store and says it's preview:
https://apps.microsoft.com/store/detail/windbg-preview/9PGJGD53TN86

I just installed from the store (it's super convenient to do so) and received version 1.2306.14001.0, which doesn't have a listing on the release page?
It did prompt me to install a different version from outside the store... which was weird.

By "release page", do you mean: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/windbg-release-notes
1.2306.14001.0 is very similar to 1.2303.30001.0 - mostly just bug fixes and no new features.

@lzybkr yes, that page. Even if it's just bug fixes, having it listed on the release notes would be helpful to identify it as a valid release.

Same request here. I would prefer to have some documentations introducing all the released version.
Also I am receiving a weird update from 14001 to 12001. I believe 14001 is currently the newest version. Am I right? @lzybkr
Then there should be some issue in the publishment.

And get

I found an interesting problem, when I upgraded WinDbg from 1.12306.12001.0 to 1.2306.14001.0 in the Micorsoft Store; then I ran the windbg installer AppInstaller.exe; it prompted an update


Feature Request: Add VCS color for files in tree view and tabs

I know it is possible to see the new and modified files in the Git view but I think that can be great to have a setting to enable/disable VCS colors

Duplicate https://github.com/Microsoft/vscode/issues/178


Character limit of result names

Currently ChainerUI does not have character limit for result name, and this may cause ugly web UI.

This issue is solved by #32.


Would like the ability to import accounts with Password History - KeePass export to XML

We have a number of accounts stored in KeePass. Exporting to CSV and using Accounts_Onboard_Utility.ps1 has be great. We have run into an issue where there are some accounts that we would like to maintain the password history. KeePass offers a XML export that includes the password history.

Do the rest APIs support importing an account's Password History?
Is there any future plans for accepting XML input?

Hi @PSingletary ,
Thanks for your feedback, this is a great idea
Although currently we do not have Password History REST API, maybe we can do "Update Password" for every password of that account (from the oldest to the newest) given the PAS password retention (by default by version) then you will have the same password history
WDYT?


Feature Request - Support only code action kind request filter

Hey 👋🏾
First of all, thanks for your cool plugin! 🙏🏾
Quite often, I'm faced with way too many code actions from (all) the language server(s). But might have a specific intend to query the code actions. Like I wanna fix a diagnostic or do some refactoring. For such a case it would be very helpful if is possible to call the code_action function of this plugin with a filter.
This filter is natively supported by the language server protocol specification. It is part of the context request parameter and is called only. This takes an array of CodeActionKinds the server should respond with "only". Would be phenomenal if your plugin could maybe just transparently forwards this data somehow? It would allow users of your plugin to create designated keybindings, or any other trigger logic, for specific purposes like mentioned above (fixing, refactoring, ...).
What do you think about this feature? Would love to discuss it further. 🙃
Thank you very much in advance!

Hi,
Thanks!
That's a nice idea.
You can filter the code actions by setting the filter option.
{
    str = "..." -- Filter to title
    kind = "refactor" -- Filter to the kind
    client = "omnisharp" -- Filter to the client
}

Example:

require("tiny-code-action").code_action({
    kind = "refactor",
    str = "Wrap"
})

What do you think of that ? You can update to the latest version and try if you want!


Fix Clang Race Condition

implement thread lock until clang file is compiled

I don't think this even works? pytest uses multiple processes not threads so holding a thread lock will do nothing to prevent cross process race conditions?

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/runtime/ops_clang.py              9               4
------------------------------------------------------------
lines added in the tinygrad folder: 5

oh i see, maybe a process lock would work instead?

No. Fix this with the file name, not a lock.


Switch to using find to find .tmp files

Although the existing comment states that function will find .tmp files in subdirectories also, that doesn't seem to actually be the case. One find, as here, should be a faster way to find them than traversing subdirectories via sftp_client.

Looks good to me!


.ETData?

In the readme:
"
Preparing Lund2013 dataset
In case you want to use Lund2013 dataset:
navigate to ./etdata
"
There is no ./etdata
if user makes a ./etdata directory, then ./utils_lib/data_prep/tt_split.py fails to run
"
line 39, in
from etdata import ETData, get_px2deg
ImportError: No module named etdata
"

Yes I had the same error

You need to cd utils_lib/data_prep under main working root gazeNet and run that tt_split.py file python tt_split.py' The etdata` in line 39
from etdata import ETData, get_px2deg
ImportError: No module named etdata

refers to the py file in utils_lib/etdata.py not your newly created directory ./etdata
Help that could help you


quick questions

for nesting for vinyl cutters / printers do options exist to?
nest within grid?  where nested svgs are nested only horizontal or vertical?
keep svgs as graphics.  assuming we are trying to nest svg of git hub logo, apple logo, ubuntu logo, and facebook logo,   and each is made from multiple paths and groups can nesting be set to keep artwork the same ?  in other words nest using the outer bbox or size?
thanks!!!

hey villanus
it sounds like you might be looking at nesting for graphics or layout purposes. Something like http://packery.metafizzy.co/ might be more applicable.
currently svgnest is more focused on nesting specifically for CNC applications, but bitmaps could be supported with some kind of grouping function.

@Jack000 Thanks for the quick response.    We have looked into Packery but it has two points which make it not work.  Firstly, it can slightly shrink a div to make it fit and it also doesnt support 90 degree rotations.
When cutting for a vinyl cutter / printer the process is almost exactly the same as what you are doing now, but the results are packed into squares.   This is because the materials are less expensive, so most producers deliver their products in squares.    For example if you had a round bowling ball, the sticker would still arrive on a square sheet.     This makes production faster.
Right now the closest thing which exists is an adobe illustrator plugin called e-cut.
http://illustrator.e-cut.ru/index.php?view=function&functionid=0
It supports nesting of art, with spacing between them.
The art can be rotated 90 degress, and then the plugin makes the best use of a possible space.

@villanus have you found anything for nesting vinyl cutting? I am in search for one, hoping I can find something close enough and I can modify to use it for my purpose. Thanks


Group Expand SOP

[x] VEX
[x] OpenCL

Realise "Bad pattern specified.." when existing group was selected in "guess" type but was switched later.
Group SOP style.

Toolbox


In dual tracking setup GA4 EEC to Universal Analytics EEC Convertor returns null

Hi,
Did Anyone have an issue with the GA4 EEC to Universal Analytics EEC Convertor in dual GA4+UA EEC tracking setup?
At the time of the view_item event data returned by the convertor is valid (see screenshot 1).
But in the UA tag firing overview ‘Read Data From variable’ shows null (see screenshot 2).
Note:

The partner GA4 view_item tag  on the same event contains value EEC data.
If I manually push the view_item event with exactly the same GA4 EEC dataLayer information, the UA tags does get successfully the converted Universal Analytics EEC schema object (see screenshot 3).
Tag priority or Tag sequencing or pausing the GA4 view_item tag did not make a difference
The GTM4WP Plug-in is used by the web dev to render the dataLayer.

Any response I greatly appreciated.
Thank you.
Kind regards,
Andre

Since there are some days since you asked the question, have you figured it out?
I have tested with the GTM4WP Plug-in, and can't reproduce the issue.


GPU support for BlockNonlinearForm (memory sync in BlockNonlinearForm::Mult)

Hello,
While I try a multi-variable problem using BlockNonlinearForm on CUDA, I've observed that including by.SyncFromBlocks(); at the end of BlockNonlinearForm::Mult() is necessary. Without this additional call, the NewtonSolver fails to converge.  I think this line ensures memory sync after processing the residual entries associated with the Dirichlet DOFs.
Could you confirm if my understanding is correct?
Thank you,
Jon

Yes, I think you are right -- in general, at the end of BlockNonlinearForm::Mult(), one needs to ensure that the validity flags of by (monolithic) is sync'd from its sub-vectors. In addition, in general, one has to make sure that the validity flags of by (monolithic) are propagated to y (since by is an alias for y). There's also the possibility that pby may need to be sync'd with ys.
So, yes, it looks like we need to revisit the synchronizations in BlockNonlinearForm::Mult() (and the parallel version as well, probably) to ensure the validity flags are propagated correctly.
Looking at the code, I also wonder if we really need the xs and ys BlockVectors -- it looks like we can simply use pbx and pby. @jandrej, does that seem correct? If we don't use xs and ys that will also simplify the necessary synchronizations.

Thank you for the clarification and the details. For my case, it seems one synchronization of by at the end of BlockNonlinearForm::Mult() ensures a proper sync of y, but I am not sure if this is always true.
I've additionally tested a case with an identity prolongation matrix to more thoroughly check BlockNonlinearForm::Mult(), and it seems that aux1.SyncFromBlocks(); is needed after applying the prolongation to bx in BlockNonlinearForm::Prolongate(). I might be wrong, but I think we are missing synchronization there as well.

Since aux1 is internal, I'm not sure we really need to ensure its monolithic Vector is in sync with its sub-vectors. For example, if we only use its sub-vectors to perform operations, then sync with the monolithic vector is probably not necessary. Do we actually use the monolithic version of aux1 anywhere?
On the other hand, for the output parameter y, the sync is clearly needed since the caller does not see the sub-blocks we create to perform operations.


Adding benchmarks that use caching

Description of change
This change is adding benchmarks that use mountpoint caching. The fio jobs were copied from the read benchmarks and renamed accordingly. I ran some of the tests locally by using the filter functionality. We might not need all of these tests for the cache benchmarks but defaulted to have the same as the read ones and change later if needed.
# filter to only run this test for both for normal reads and cached ones
export JOB_NAME_FILTER=seq_read_small

./mountpoint-s3/scripts/fs_bench.sh
Will only run fio jobs which match seq_read_small
Skipping job mountpoint-s3/scripts/fio/read/rand_read_4t_direct.fio because it does not match seq_read_small
Skipping job mountpoint-s3/scripts/fio/read/rand_read_4t_direct_small.fio because it does not match seq_read_small
...

# list the mount and caching directories (sample)
ls -d1 /tmp/fio*

/tmp/fio-ZaNYWdZaBK3W
/tmp/fio-ZaNYWdZaBK3W-cache-O8X4T2w4UDnx

# benchmark results for this run
[
  {
    "name": "cache_sequential_read_small_file",
    "value": 1184.8017578125,
    "unit": "MiB/s"
  },
  {
    "name": "sequential_read_small_file",
    "value": 16.4091796875,
    "unit": "MiB/s"
  }
]

Does this change impact existing behavior?
The only impact should be to our CI benchmarks that now will run additional tests that use caching.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

To clarify, we will have graphs. What we want to explore next is having both cache and no cache throughput on the same graph.

Do we need to ensure there's enough storage on the runner hosts for running cache benchmarks?

Or more directly: our current benchmark runner is an m5n.24xlarge with a standard size, standard performance gp3 EBS volume. Not sure that's the right storage to benchmark caching against.

I ran into the storage limitations when actually running in the CI hosts as they only have 30 GB of disk space. My thinking was to reduce the file size and test with smaller file. Say 1 or 2 GBs. To test the 100GB use case will require a host with more disk space.

I'm closing this PR in favor of https://github.com/awslabs/mountpoint-s3/pull/783 in which we ran the new caching jobs (through pushing to a branch which name starts with wf-changes/. Regardless, comments in this one were addressed in the new one.

our current benchmark runner is an m5n.24xlarge with a standard size, standard performance gp3 EBS volume. Not sure that's the right storage to benchmark caching against.

Hi @jamesbornholt ! Since you've touched it a bit, for use cases where cache access and download speed is crucial, do you think an NVMe instance store is a good place for Mountpoint cache?

Hi @jamesbornholt ! Since you've touched it a bit, for use cases where cache access and download speed is crucial, do you think an NVMe instance store is a good place for Mountpoint cache?

Yes, NVMe instance storage is a great place for cache. EBS is too, but if your application is repeatedly accessing large objects (like this benchmark is), you might want to either provision more than the default throughput to your EBS volume, or look at io2 volumes instead of gp2/3.


Add the release version in the compiled JavaScript

Ideally the compiled JavaScript files for each web component should contain the version release number as a part of the Lerna packaging build steps.
This is fairly necessary (esp. for redhat.com) since the JS is packaged up by webrh, and shipped through drupal, which then bundles it up via AdvAgg. Even after you dig through aggregated files to look for the pfe-cta.js, you can't tell which version it is, which makes it very difficult to debug or know if something is still a real issue.

This would be really useful for us too!  We could insert the version into the @license comment, or into the PFElement class itself, or both.  Here's approximately what they would look like in the minified output.
Just @license:
/** @license BSD whatever PatternFly Elements v1.0.0 */
class PFElement { constructor() { /* ... */ }

Just PFElement:
/** @license BSD whatever PatternFly Elements */
class PFElement { get version() { return "v1.0.0"; } constructor() { /* ... */ }

Both:
/** @license BSD whatever PatternFly Elements v1.0.0 */
class PFElement { get version() { return "v1.0.0"; } constructor() { /* ... */ }

Any preference?

I guess I'd lean towards both for maximum visibility, but I don't have strong feels about it.

I like the last one most.

The PR for this one is ready to go.


Refactor out add, edit, delete modals from DiskPanel.js

See src/linodes/linode/settings/components/DiskPanel.js

Done.


ConsoleKernel always initializes scheduler regardless of performed function

Laravel Version: 5.8
PHP Version: 7.2
Database Driver & Version: any

Description:
If you try to run any console command with artisan the Console Kernel always parses and schedules events as at https://github.com/laravel/framework/blob/5.8/src/Illuminate/Foundation/Console/Kernel.php#L90 defineConsoleSchedule function always called after booting up the kernel.
Steps To Reproduce:

Install clean project

composer create-project --prefer-dist laravel/laravel blog
...Installing laravel/laravel (v5.8.3)

open app/Console/Kernel.php, put a single line into schedule function

    protected function schedule(Schedule $schedule)
    {
        throw new \Exception("Do not call scheduler upon packages discovery!");
    }

remove all vendor packages
rm -rf vendor
install vendor packages again
composer install

anda  fatal error occurs:
composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In Kernel.php line 29:

  Do not call scheduler upon packages discovery!

So what I mean - in kernel scheduler I have some logic to run specific jobs or don't run them at all. Upon clean installation sources from git composer runs php artisan package:discover command which tries to initialize scheduler.
More debugging showed that even php artisan command causes kernel to enter schedule and queue events
As expected behavior I think only right way to call schedule if you do php artisan schedule:run

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not for ideas, suggestions etc. This is only for issues/bugs with the framework code itself.
I will be closing your ticket here. You are able to open a ticket at https://github.com/laravel/ideas
Alternatively you are able to open a PR using the Contributions guidelines: https://laravel.com/docs/5.7/contributions#which-branch
If you feel I've closed this issue in error, please provide more information about how this is a framework issue, and I'll reopen the ticket.
Thanks in advance.

The problem is that the console kernel always initializes schedule events even if you even simply type "php artisan" in a console. Why he does that at running of any command?

I also think it is a framework issue. I have a project which needs to check in database if some jobs need to be scheduled or not.
Running composer install make the default post-autoload command artisan package:discover to crash. Why is the Kernel schedule() method called for something else than scheduling ? That don't make really sense.

@curunoir

I also think it is a framework issue. I have a project which needs to check in database if some jobs need to be scheduled or not.
Running composer install make the default post-autoload command artisan package:discover to crash. Why is the Kernel schedule() method called for something else than scheduling ? That don't make really sense.

you are correct. I added a quick-and-dirty hack to make things work properly as there are no sense to submit PR to commercial software
protected function schedule(Schedule $schedule)
    {
        //if artisan have been called with 'schedule:run' exit then do nothing
        if ($this->app->runningInConsole()) {
            $input      = new ArgvInput();
            $artisanArg = $input->getFirstArgument();
            if ($artisanArg && strpos($artisanArg, 'schedule:') !== 0) {
                return;
            }
        }
    }


Latest nrepl 1.2 release breaks FlowStorm 3.15.5 nrepl.middleware functionality

The latest release of nrepl 1.2 breaks Flowstorm 3.15.5 nrepl.middleware because they've re-written nrepl.bencode implementation from multi-methods to protocols.
I have explained the issue and submitted the fix to it in PR #175 . I'm creating this issue to help with discovery in the meantime.

Oh dang. Thanks for the issue and the PR @vedang. But shouldn't merging that break it for everybody on previous versions of nrepl?
But I think we are lucky, I figured that this extension isn't being used anymore, so if you want to change the PR to just get rid of it I will merge it.

Happy to update the PR. I'll do it and push new changes tomorrow.
On Tue, Jun 11, 2024, 5:19 PM Juan Monetta @.***> wrote:

Oh dang. Thanks for the issue and the PR @vedang
https://github.com/vedang. But shouldn't merging that break it for
everybody on previous versions of nrepl?
But I think we are lucky, I figured that this extension isn't being used
anymore, so if you want to change the PR to just get rid of it I will merge
it.
—
Reply to this email directly, view it on GitHub
https://github.com/flow-storm/flow-storm-debugger/issues/176#issuecomment-2160562805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUUHU3B23XT4RPOWR6TMDZG3P4LAVCNFSM6AAAAABJDZWDR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGU3DEOBQGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm working on this today! Will push the changes in some time.


#237 Code Highlighting doesn't respect dark mode  fix

I'm going to close this, your branch looks broken beyond repair given how many changes it applies. please create a fresh branch from master before adding changes.


Change log extension

From .txt to .log

Summary of the Pull Request
Changes the log file extension to .log for enhanced tool usage.

PR Checklist

[x] Closes: #33800
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments
Changed all log file extensions from .txt to .log. This honors system and user defined file associations like CMTrace. It also automatically enables syntax highlighting in software like VSCode.

Validation Steps Performed
Manually verified log files and bundled support zip.

@microsoft-github-policy-service agree

Is this backwards compatible or a breaking change?

Unless there are automated tools to read log bundles that I don't know
about, this should not break anything.
On Sun, Jul 14, 2024, 08:26 Jay @.***> wrote:

Is this backwards compatible or a breaking change?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/pull/33813#issuecomment-2227348888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKJ7E3LUUVV6AZ4XHQ3GGTZMJ4A5AVCNFSM6AAAAABKZZZBHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM2DQOBYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Is there any interest in this PR?

@crutkas @ethanfangg please keep being involved?

Sorry, right now the team was heads down on workspaces and getting stuff prepped for winappsdk upgrade.
Added need review tag for this.
/azp run as it looks like it has test failures, lets see if this was random since i don't think this should have caused that failure


Serving multiple indices

Sorry if this has been asked before, but is there documentation on how to serve multiple indices in the query server?

@safwank Sorry, it's not supported, you need to have a sepearate server on the separate port for this. I don't think I am going to support multiple indices in the near future. Clearly, this can be done, but not in the basic library version.

@searchivarius No worries, just wondering if it's possible. We'll just have to figure out how to work around it. Thanks!

Hi @safwank BTW, I have made a simple fix that allows to serialize/load data more efficiently. It is in the latest release.


The second part of the image at the junction of pages is not displayed in PDF.[Bug]:

Bug description
If an image hits a page junction and splits into two parts, then the second (bottom) part of the image is not displayed in the generated PDF. Previous versions (eg 18.1.0) did not have this problem.
bad (19.2.2)
https://s3.amazonaws.com/appforest_uf/f1668262049636x870986849179053800/doc_client.pdf
good (18.1.0):
https://s3.amazonaws.com/appforest_uf/f1668266597423x541694432246403260/doc_client.pdf
Puppeteer version
19.2.2
Node.js version
v17.4.0
npm version
8.4.1
What operating system are you seeing the problem on?
Windows
Configuration file
const puppeteer = require('puppeteer');
async function getPdf() {
  let url = 'https://puppeteer.bubbleapps.io/version-test/test';

  let browser = await puppeteer.launch({ defaultViewport: null });
  let page = await browser.newPage();
  await page.goto(url, { waitUntil: ['load', 'networkidle0'] });
  await page.emulateMediaType('screen');

  const pdfConfig = {
    path: 'pdf.pdf',
    format: 'A3',
    printBackground: true,
    preferCSSPageSize: true,
  };
  await page.pdf(pdfConfig);
  await browser.close();
}
getPdf();

Relevant log output
No response

@abvas We can see the issue happening and have filed a regression bug. You can follow it here -https://bugs.chromium.org/p/chromium/issues/detail?id=1383890

I believe this would be fixed with the next release 19.6.0 that includes the latest chromium binary.


Allow JSON files to be mapped to a TypeScript interface instead of a JSON schema

When adding configuration files, it's often times preferable to use a .ts file to enforce strong typing of the configuration data from TypeScript. This allows you to reuse a TypeScript interface that will work the config data when actually storing the config, but it creates a problem of requiring the TypeScript tooling to read the file.
Conversely, a JSON file can be read by just about anything, but then we lose a lot of that strong typing. We could use something like ts-json-schema-generator to convert the TypeScript interface into a JSON schema, but that conversion is lossy and requires a not-insignificant amount of extra work.
What would be ideal is if we could use the existing methods of letting the editor know the schema of a JSON file (e.g. the $schema attribute) to instead specify a TypeScript file and interface to use for IntelliSense and validation.
For example, if we had the following file:
configs.ts
export interface ServiceConfig {
  name: string;
  secureUrl: `https://${string}`;
  hostName: string;
  hostPort: number;
}

We could do something like the following to use it in our JSON file:
{
  "$schema": "./configs.ts#ServiceConfig",
  "name": "MyServer",
  "secureUrl": "https://myserver.myorg.com",
  "hostName": "myserver",
  "hostPort": 80
}

In this example, ./configs.ts#ServiceConfig is used as a possible way of identifying the type to be used as the basis for this schema:

./configs.ts refers to the location of the type declaration (possibly a remote URL too?)
#ServiceConfig refers to the name of the type to be used for this object (possibly limited to exported symbols?)

I think this would be majorly useful for many cases. Having some way to enforce this in the tsc compiler would also be highly desirable, but even just the simple case of allowing the user to know the data is valid would be great.

That's an interesting idea.
But maybe it's something an extension could experiment with? For VS Code we normally focus on integrating existing linters/compiles and established specs like the JSON schema specification.
Closing as 'out of scope'.


MaxMind GeoLite databases links can't be accessiable

Hi,
So when I try to install Lisa, the docker build in service 'worker' contain these wget links
    && echo "Downloading MaxMind GeoLite databases ..." \
    && wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -q -O - | tar xz -C data/geolite2databases \
    && wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz -q -O - | tar xz -C data/geolite2databases \

which are now not accessible anymore and require a registered account to download in MaxMind new policy. This needs a little bit of fix and things will work just smooth as before.

Just need to add an argument 'YOUR_LICENSE_KEY' in worker's dockerfile
# Database URL
https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=YOUR_LICENSE_KEY&suffix=tar.gz

Hi, thanks for mentioning MaxMind policy. API key is now configurable in docker-compose.yml - commit. If no API key is provided, network analysis will just ommit quering geo info.


handle the ValueError coming from missing spacy language file

Let's just show the:
from command line try: python -m spacy download en
And handle the error with terminating the process without python error message. But also we could try and see how to deal with the spacy package in setup, for some reason this was not working before.

Closing this as #52 is far preferred option.


[WIP] Allow qualified metadata references in the Update item operation

Resolves #1655411 , #1649689
This allows users to import and map metadata between two or more item types.

Example:

   <I Update="@(Foo);*.cs;@(Bar)" M1="%(Foo.M1)" M2="%(Bar.X2)">
      <M3 Condition="'%(Foo.M3)'' == 'something' ">%(M1)</M3>
   </I>

Each matching item (i.e. each item that needs uptading) now carries a context of captured item instances from all matching referenced item types in the Update expression.
Unqualified metadata (%(M)) binds to the operation item type (i.e. type that gets updated). Qualified metadata (%(Foo.M)) binds inside the set of captured item types from the Update expression.
If an item matches multiple times within and between multiple referenced items:

The last occurrence from all containing item types gets captured
This matches the behaviour of task item batching under targets. If we ever unify batching between evaluation and target items, there will hopefully be no semantic conflicts with this new form of Update.

Where one can put %() references:

Metadata
Metadata conditions

Breaking changes

    <ItemGroup>
        <OldUpdateBehaviour Include="a" M1="1" M2="x"/>
        <Subset Include="a" M1="newM1"/>
        <OldUpdateBehaviour Update="@(Subset)" M1="%(Subset.M1)" M2="%(Subset.M1)"/>
    </ItemGroup>
    <Target Name="Build">
        <Message Importance="High" Text="@(OldUpdateBehaviour) : M1 = [%(M1)] M2 = [%(M2)]"/>
    </Target>

Today this outputs:
a : M1 = [] M2 = []
After the change it will output:
a : M1 = [newM1] M2 = [newM1]
TODO:

[ ] investigate perf
[ ] finish some of the code todos

FYI @jeffkl

Thanks @cdmihai!  How does perf look so far?
/cc @cristinamanum

@jeffkl

How does perf look so far?

RPS passed, so I didn't (observably) regress anything.
I also measured (via msbuild.exe /profileEvaluation) a simulated scenario (500 PackageVersion includes, 10 PackageReference includes (which match the PackageVersion items evenly)). I compared a master release build to this branch, on release. All the syntax from this PR is valid in master msbuild too, it just resolves to empty strings. So the difference is literally just the overhead of this change.

for one update, item evaluation went up from 130ms to 162ms
for 1000 updates (simulating 1000 projects) item evaluation went up from 14106ms to 28216ms

I'll work on some obvious optimizations. Beyond that, we need to define what's good enough.

I made some optimizations to reduce the overhead.

the 1000 updates scenario from above is now 300ms slower instead of twice as slow. At the existing 14 seconds, I think 300ms is acceptable
I also ensured that total evaluation time for OrchardCore is unchanged. Prior to this optimization the new update made it 1 second slower (which makes me suspect RPS does not test any .net core scenarios)

@rainersigwald this probably warrants a mention in the docs, right?

This definitely deserves a mention in the docs. Can you draft a PR for that too? I think it'll help contextualize the change.

@cristinamanum fyi, this went in. It should be available in VS soonish.


Add setting to suppress the “Mark all entries as read” confirmation popup

When I click on “Mark all entries as read”, is there a way to suppress this confirmation step?
Thanks,
Emeric

Not at the moment, although the "shift+a" keyboard shortcut marks all entries as read, but does not ask for confirmation.
I could add a user setting to enable/disable the confirmation (it will remove the possibility to mark entries older than x days though).
I don't plan to remove the confirmation entirely because I know some people rely on it to avoid misclicks.

Not at the moment, although the "shift+a" keyboard shortcut marks all entries as read, but does not ask for confirmation.
Yes, I have discovered this way too, but it's a bit less handy
I could add a user setting to enable/disable the confirmation (it will remove the possibility to mark entries older than x days though). I don't plan to remove the confirmation entirely because I know some people rely on it to avoid misclicks.
Yes, It's for this reason I suggest an optional setting to enable it.

I added a setting to disable the confirmation :)


Let's rock the docs!

Hi! 👋
I'm kicking off this project a little early with @willingc (we're on a video call together right now). The goals for the user guide project are going to be to:

make the user guide something that users can contribute to easily without doing git + github
make an inclusive and welcoming user guide that will lead to users contributing back
create an approachable, manageable, and contributor-friendly suite of user focused documentation
separate content from styling
separate content from delivery

Some topic areas that we always have come up or are underserved:

What's a kernel?

How do I use my (conda environment | virtualenv | R install)

How do I install more languages?

How do I know what kernels I have?

Switching to matplotlib dark mode when in the dark theme

What kinds of data workflows to people use?

How do I use spark with nteract?

How do I go from data --> plot --> ???

(using pandas and plotting together for a full workflow)

How do I use the Data Explorer

How do I use vega and vega-lite

How do I do parametrized workflows?

How do I run notebooks as jobs?

How do I create rich outputs from my python objects (and what does that even mean)?

class A:
    _repr_html_(self):
        return "<b>woo</b>"

Great User Guides to Learn from

DataBricks' User Guide

There is definitely room for lots of additional notebooks with examples. Upload new notebooks into the content folder and go to town!

@rgbkrk @willingc I'm going to try to take the following items at this sprint:
What's a kernel?
How do I use my (conda environment | virtualenv | R install)
[]How do I install more languages?
[]How do I know what kernels I have?
[]Switching to matplotlib dark mode when in the dark theme
[]What kinds of data workflows to people use?

see https://github.com/nteract/nteract.io/pull/42


Host on a server

This should be constantly in the #ipfs chatroom for those who'd like it. I can't figure out how to run it on Heroku; Heroku dynamically assigns ports, and none of the ports that it has given to me has worked with IRC. I've tried setting it using heroku config - no dice.
2016-11-23T18:51:44.982101+00:00 heroku[web.1]: State changed from crashed to starting
2016-11-23T18:51:46.532149+00:00 heroku[web.1]: Starting process with command `npm start`
2016-11-23T18:51:49.419399+00:00 app[web.1]:
2016-11-23T18:51:49.419412+00:00 app[web.1]: ><EMAIL_ADDRESS>start /app
2016-11-23T18:51:49.419413+00:00 app[web.1]: > node index.js
2016-11-23T18:51:49.419414+00:00 app[web.1]:
2016-11-23T18:52:47.024846+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2016-11-23T18:52:47.024846+00:00 heroku[web.1]: Stopping process with SIGKILL
2016-11-23T18:52:47.137835+00:00 heroku[web.1]: State changed from starting to crashed
2016-11-23T18:52:47.138627+00:00 heroku[web.1]: Process exited with status 137
2016-11-23T18:53:21.198963+00:00 heroku[bot.1]: Starting process with command `PORT=52987 node index.js`
2016-11-23T18:53:21.784873+00:00 heroku[bot.1]: State changed from starting to up

Thoughts on this would be appreciated.

Note: according to Heroku support, today, they don't assign the Port for workers declared in the Procfile which aren't web. So, I should be fine. Need to check how to assign port.

I removed the -p $PORT from the Procfile, and heroku config:get PORT returns 6667, but for some reason it doesn't connect to IRC, and I'm not getting any useful logs in Heroku. Going to try with --debug.

Added in Debug.
2016-11-25T14:54:52.121658+00:00 app[bot.1]: 25 Nov 14:54:52 - Network error: Error: connect ECONNREFUSED <IP_ADDRESS>:52959
2016-11-25T14:54:52.121711+00:00 app[bot.1]: 25 Nov 14:54:52 - Connection got "close" event
2016-11-25T14:54:52.121774+00:00 app[bot.1]: 25 Nov 14:54:52 - Disconnected: reconnecting
2016-11-25T14:54:52.121815+00:00 app[bot.1]: 25 Nov 14:54:52 - Waiting 2000ms before retrying
2016-11-25T14:54:54.141140+00:00 app[bot.1]: 25 Nov 14:54:54 - Network error: Error: connect ECONNREFUSED <IP_ADDRESS>:52959
2016-11-25T14:54:54.141183+00:00 app[bot.1]: 25 Nov 14:54:54 - Connection got "close" event
2016-11-25T14:54:54.141225+00:00 app[bot.1]: 25 Nov 14:54:54 - Disconnected: reconnecting
2016-11-25T14:54:54.141254+00:00 app[bot.1]: 25 Nov 14:54:54 - Waiting 2000ms before retrying
2016-11-25T14:54:56.238744+00:00 app[bot.1]: 25 Nov 14:54:56 - Network error: Error: connect ECONNREFUSED <IP_ADDRESS>:52959
2016-11-25T14:54:56.238807+00:00 app[bot.1]: 25 Nov 14:54:56 - Connection got "close" event
2016-11-25T14:54:56.238881+00:00 app[bot.1]: 25 Nov 14:54:56 - Disconnected: reconnecting
2016-11-25T14:54:56.238952+00:00 app[bot.1]: 25 Nov 14:54:56 - Waiting 2000ms before retrying

Still clearly dynamically assigning the ports. Scaled the bot down for now, have pinged Heroku support.

I now have this being hosted on sprintbot.i.ipfs.io. Which means I don't need to run it on heroku anymore. Closing this, will reopen if there's a need to run it on Heroku too.

Works on Heroku, too; I removed process.env.PORT from the code, and it stopped dynamically assigning it. On the downside, I no longer need it on Heroku, but it might make testing easier in the future.
Run it again using: heroku ps:scale bot=1.


Relax pyOpenSSL version requirement

Currently setup.py lists the install requirement pyopenssl<18, but it works
with pyOpenSSL==23.0.0.
Please relax the version requirement on pyOpenSSL for installation.

I had the error "AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'" which was fixed by installing pyOpenSSL-23.1.1


Added a pico display 2.0 Mandelbrot set example.

Both pico cores are used: core0 handles the key input and updates the
display at low resolution. Core1 updates the display at high resolution.
For speed, fixed point arithmetic is used. The main loop also checks
for cyles to speed things up.
Six color palettes are provided, including 3 HSV, greyscale and black/white.

Thank you! And sorry for the huuuuge delay getting back about this. It's been quite a... decade?
Rebased, ported to PicoGraphics and raised a replacement PR in #680


"Toast" notifications

An idea I've been toying around with for a while, but haven't formalized.
"Toasts" are and Android UI paradigm - a transient notification that can be displayed to the user. These toasts can't be interacted with, and dismiss themselves after a brief timeout.

WinUI doesn't have Toasts, but it does have the TeachingTip. in the future, WinUI is planning on building this auto-dismiss behavior into the TeachingTip itself, but we're impatient.

Use cases that would be good for this:

[ ] A. #8514 - When we open a tab in another elevated window, it might be nice to display a toast to the user "A new tab was created in an elevated window"
[ ] B. As mentioned in #8135: we'll need a little UI element for displaying the Window IDs/names. Maybe a window-level toast would work?
[ ] C. Similar to the above, inspired by #5803,  #5464, #8183: display a toast in each pane showing the Pane IDs
[ ] D. inspired by discussion in #8330: in that PR, we'll fall back to the profile's startingDirectory if the provided directory doesn't exist. In that case, we could display a toast to the user as well.

From the above, there are two kinds of scenarios where we want Toasts: control-level and window-level.

A, B, D are all window-level. There's one Toast visible, at the window level. Changing tabs wouldn't hide this toast (this is important for D, where the toast would be fired as the new tab is opening, and we probably want the toast to persist in both the original tab and the tab that's created).
C is a control-level toast. Each pane would display a toast. Changing tabs would hide these toasts.

I'm not prescribing any interactable UI in these toasts, but TeachingTips do allow buttons and other rich content.
I'm sure there are other things we could do too. This issue is so I don't lose track of the possible scenarios.
Other things:

[ ] Something like "Unable to rename window. Another window with that name already exists."
[ ] the resize size indicator

Control level toasts also include the resize size indicator!

Backlog approved.

Alright, so I tried to do this today. Here's what I learned:

It works fairly well for the app-level toasts, where the notification is centered in the bottom of the window.
The TeachingTip is definitely focusable, or in the tab order, or something. So it's certainly possible for it to steal the focus from the TermControl.

This is particularly noticeable with multiple toasts (like a per-control toast).
I found the focus commonly getting tossed back to the TabViewItem, not the TermControl. That's aggressively annoying.

If you create a TeachingTip, and don't give it a Target, it's always going to be placed relative to the XAML ROOT, not _whatever thing is the parent element of the TeachingTip. This is particularly painful because none of the placement options allow you to place it within the bounds of the target. They all want to be outside the target, on the side somewhere.

The closest I could get was to add a PlacementMargin of -80, -80, -80, -80, which seemed to work alright in a XAML studio scratch page, but doesn't work well in the Terminal itself.

-80, -80, -80, -80 is obviously contrived. I should only need to set one of those to -80, right? But it's not clear if it's Top or Bottom that needs to be set.

If the TeachingTip isn't entirely visible, it just destroys itself. Maybe this is related to ShouldConstrainToRootBounds?

This is particularly problematic for smaller panes.

Maybe I'm daft, but I can't seem to make the TeachingTips smaller? Like, "Pane 1" is not a whole lot of text.

This exacerbates the previous point about the TeachingTips just dying immediately.

There's an upstream bug tracking the fact that TeachingTips will reserve space for the Title and Subtitle, even if one is null/empty. We probably only want one at a time.
Someone needs to hold a reference to the TeachingTip/Toast, so we can dismiss it properly at the end of the timer. The way I did that was with two classes:

Toast was the container for the Timer and the TeachingTip, and after the timeout, would hide the TeachingTip. It shouldn't be constructed on it's own though.
Toaster was the container for "Thing to create and own Toasts". It would be able to MakeToast on a given (optional) UI element, and would hold all the Toasts it creates, then remove them when their timer expires.
This felt like madness, but it worked? So the TerminalPage had a Toaster it could use to send toasts. It did not feel like a natural extension of TeachingTip.

Alright, so I tried to do this today. Here's what I learned:

It works fairly well for the app-level toasts, where the notification is centered in the bottom of the window.
The TeachingTip is definitely focusable, or in the tab order, or something. So it's certainly possible for it to steal the focus from the TermControl.

This is particularly noticeable with multiple toasts (like a per-control toast).
I found the focus commonly getting tossed back to the TabViewItem, not the TermControl. That's aggressively annoying.

If you create a TeachingTip, and don't give it a Target, it's always going to be placed relative to the XAML ROOT, not _whatever thing is the parent element of the TeachingTip. This is particularly painful because none of the placement options allow you to place it within the bounds of the target. They all want to be outside the target, on the side somewhere.

The closest I could get was to add a PlacementMargin of -80, -80, -80, -80, which seemed to work alright in a XAML studio scratch page, but doesn't work well in the Terminal itself.

-80, -80, -80, -80 is obviously contrived. I should only need to set one of those to -80, right? But it's not clear if it's Top or Bottom that needs to be set.

If the TeachingTip isn't entirely visible, it just destroys itself. Maybe this is related to ShouldConstrainToRootBounds?

This is particularly problematic for smaller panes.

Maybe I'm daft, but I can't seem to make the TeachingTips smaller? Like, "Pane 1" is not a whole lot of text.

This exacerbates the previous point about the TeachingTips just dying immediately.

There's an upstream bug tracking the fact that TeachingTips will reserve space for the Title and Subtitle, even if one is null/empty. We probably only want one at a time.
Someone needs to hold a reference to the TeachingTip/Toast, so we can dismiss it properly at the end of the timer. The way I did that was with two classes:

Toast was the container for the Timer and the TeachingTip, and after the timeout, would hide the TeachingTip. It shouldn't be constructed on it's own though.
Toaster was the container for "Thing to create and own Toasts". It would be able to MakeToast on a given (optional) UI element, and would hold all the Toasts it creates, then remove them when their timer expires.
This felt like madness, but it worked? So the TerminalPage had a Toaster it could use to send toasts. It did not feel like a natural extension of TeachingTip.


feat: create MetaMaskSDKConnector using @metamask/sdk

Description
Add MetaMask SDK integration to allow MetaMask mobile wallet users to connect.
Additional Information

[ x ] I read the contributing docs (if this is your first contribution)
switch between browser extension and mobile wallet
Kept metamask connector for backward compatibility and staged user migration

Your ENS/address: 0x5Cba62cA5F5C47d39943f38b2047B90bFfA41cd9
Demo

@SocketSecurity ignore @metamask/sdk

Appreciate the effort that went into this! We've been busy with other work so haven't had time to support new connectors. We are reworking how connectors are setup (directly in the wagmi repo instead of references, new API, etc.) so once that is done this can be created again. Stayed tuned to the wagmi discussion board for more info.
In the meantime, I would suggest releasing this as it's own package so folks can install and use directly from there.


Unexpected result Deserializing by constructor

I have been running tests with MessagePack CLI, and have experienced unexpected results when deserializing immutable classes via a single constructor.
It works as expected with writable properties, but via the constructor, two of the parameters are left null, and rather than setting the dictionary back to the expected property, it is assigned to a string property.  This can be viewed while debugging, but crashes as soon as you try to programmatically access the property  (AccessVioloationException).
Please see the code below for a better explanation.  It looked from a few earlier issues on here that constructor deserialization is possible.  Am I correct in this assumption?
Thanks
Chris
using System.Collections.Generic;
using MsgPack.Serialization;
namespace MessagePackCSharp
{
class Program
{
static void Main(string[] args)
{
var endpoints = new EndpointList(
"Test String One",
new Dictionary<string, string[]>
{
{ "ConfigService", new [] { "ur1", "ur2" } },
{ "TestService", new [] { "ur1", "ur2" } }
},
"Test String Two");
        var ser = SerializationContext.Default.GetSerializer(typeof(EndpointList));
        var bytes = ser.PackSingleObject(endpoints);
        var endpointsDeser = (EndpointList) ser.UnpackSingleObject(bytes);

         // endpointsDeser has very strange values, with one of the string properties being assigned
         // the dictionary
    }
}

public class EndpointList
{
    public EndpointList(string stringOne, Dictionary<string, string[]> endpoints, string stringTwo)
    {
        StringOne = stringOne;
        Endpoints = endpoints;
        StringTwo = stringTwo;
    }

    public string StringOne { get; }

    public Dictionary<string, string[]> Endpoints { get; }

    public string StringTwo { get; }
}

}

Sorry, it is bug of constructor deserialization.
You can avoid this to align orders of constructor parameters and properties as one of following.

Mark your properties with [MessagePackMember] with constructor parameter order.
Or, change constructor parameters order alphabetically.


Most Channels do not work

Your Environment

JioTv 2.0.12
Ubuntu 20.04.1 LTS
Kodi - 18.8.0
InputStream Adaptive - 2.4.5

Describe the bug
Most Channels do not work
The debug log can be found from this link: https://termbin.com/r8wk
17:55:35 > Channel NOT working
17:55:55 > Working channel

Token expired. Try with relogin

Thank you for the response. Its not the login - I cleared the cache, logged out and then opened a channel.Prompted me for user/pass. I entered and again the same 403 errors. Any other ideas ?


particle systems run slower after migration from 4.3.x to 5.0.7

Hello,
I'm having an issue after upgrading from 4.3.x to 5.0.7 where all particle systems runs slower than before (emission, movement etc). Approximately 50 times slower. I can reproduce this by downloading the 'flame' emitter from the interactive editor and inserting it into my game using pixi 6.5.1 with upgradeConfig.
Any idea what could have changed that would cause this?

Just as a sanity check, could you try version 5.0.5 and see what happens? Also, are you using the autoUpdate property, or are you calling Emitter.update() on your own?

ah many thanks, I'm not sure why the particle system was playing 50x slower yesterday.. today it's playing way too fast instead.
anyways, I'm not using the PIXI.ticker.shared - calling emitter.update(deltaSec) from my RAF loop. I see that autoUpdate defaults to false, which should be fine for me. BUT when I check the property at runtime autoUpdate was set to true.
I'm using the playOnceAndDestroy method, I'm not sure why it sets autoUpdate to true? this seems to override any autoUpdate property set in the config and the default value of false,
playOnceAndDestroy(callback) {
            this.autoUpdate = true;
            this.emit = true;
            this._destroyWhenComplete = true;
            this._completeCallback = callback;
        }

And the reason (at least for particle systems playing too fast) was that autoUpdate modifies my delta in the update method,
if (this._autoUpdate) {
    delta = ticker.elapsedMS * 0.001;
}

Particles are looking great and working as expected again when I set autoUpdate to false after calling playOnceAndDestroy. :)

Yeah, playOnce() and playOnceAndDestroy() are intended to be used with autoUpdate as the simple way of doing things. Outside of that, you can start an emitter with emitter.emit = true, call emitter.update() yourself and then destroy or reuse the emitter when it is complete.

Thanks, it's all in the docs too :)


Coding style?

Should we standardise/publish our coding style so that external contributors know how to format the code?
I'd be strongly inclined to abandon the "#**********************#" comment blocks and ' '-aligned assignments in favour of standard PEP-8 comments, docstrings et al.  One of the design principles of Python is that vertical space is precious so wasting lines on asterisks is an anti-pattern (and they're really awkward to work with without our internal macros).  It also puts a burden on external contributors.
Also needs to be clear which variant of docstring we're expecting.

While I'm at it, for our previous project, we settled on a line length of 99 chars, which the vast majority of us preferred over the default 79/80.

Might be worth considering adding linting into the project from the get-go -- capable python IDEs such as PyCharm support pep8 reformatting, and this could be folded into the build process too (i.e. the build fails when all (or some) pep8 moans are raised).
This was a complete non-starter in our previous project since retroactively reformatting code would be dull and time-consuming, but if we start early, we could stay on top of this.
FWIW, go sidesteps the whole formatting debate by strongly encouraging all projects use their auto-fomatter "gofmt" (e.g. by a git pre-commit hook) so in most cases formatting is a non-issue. I think that's a sensible way of sidestepping the inevitable bikeshedding on this subject.

My honest position is that I don't care what we choose.
I agree with @Symmetric that style is largely a bikeshed (see also: this issue!). The problem with it is that  no-one wants just PEP8 as enforced by a PEP8 linter out-of-the-box. Line length is a good example, where every PEP8 linter will by default enforce 79 chars, but Shaun (and presumably others) would prefer going to 99 chars. This means that even saying "we will just do PEP8" is insufficiently specific, because people will want their exemptions.
I'm open to trying to flesh this out into something concrete, but I recommend waiting until we're in person to do it, because GitHub issues are too low-bandwidth for this conversation.

@Lukasa, the link to the other issue didn't show up and I couldn't find another issue that mentioned coding style.  Sadly, I can't make the UK meeting due to prior commitments so I'll throw in my 2p now and let you guys hash it out in Enfield:
Alright, I've got a bee in my bonnet about the boxed comments; apart from the vertical space issue, my personal reason is that they're really tedious to maintain and tie us to particular editors that have macros defined.  However, I've also been briefed to give our codebase a look over as an "outside contributor" and look out for gotchas that would trip up someone external and I think asking people to use the boxed style would make some friction.
(I think we took the average of team preference to reach 99.  @Symmetric wanted 150 IIRC, I was has happy with 79.)
I'm not bothered for going as far as enforcing PEP-8  with a linter.  Apart from the boxed comments and "aligned assignments", nothing jumped out in the felix code base.  It's close enough.  The only other thing my PEP-8 linter is complaining about is the odd missing line of whitespace.  As long as we don't have factions where one removes the whitespace as cleanup and the other adds it back, I don't care!

Agree that this bears a more in-depth discussion.
To close the loop on one of the points raised here though, I'll just add here that the pep8 tool does support custom line-widths (it's one of the few things that's configurable), so we'd not be off-piste if we decreed  pep8 --max-line-length=99 to be the canonical style for the project. Maybe there are other rules that folk would want to suppress too, but I can't think of any myself.
@fasaxc - my preference was for 120, but 99 is a great improvement over 79 IMO.

Ok, so I think the consensus is to wait until most of you are in Enfield in the coming weeks and find a time to discuss it (I nominate a slot in the pub, because frankly I think most of us will need a drink for this discussion...). We should aim to timebox as well, to avoid this descending into some kind of bikeshed painting madness.

Tentative agenda:

comment style
docstring style
line lengths
using PEP8
using a commit-hook linter
vertically-aligned argument lists

We've resolved this.


[Bug]: changing the logo

Description
The current logo looks a bit odd so selecting a new logo which is more minimilistic.
To Reproduce

Go to homepage
See logo

Anything else?
No response
Code of Conduct

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

I'll create a pr regarding this:)

Awesome! Go for it @rohinish404!

Fixed by #403


Missing icons (login, logout, policy, push_pin, query_states, local_fire_department)

First:
Thanks for this project. It really helps a lot !
Issue:
I noticed that some icons are missing (login, logout, policy, push_pin, query_states and local_fire_department).
There are available in material icons font from google:
https://fonts.google.com/icons?selected=Material+Icons:login
https://fonts.google.com/icons?selected=Material+Icons:logout
https://fonts.google.com/icons?selected=Material+Icons:policy
https://fonts.google.com/icons?selected=Material+Icons:push_pin
https://fonts.google.com/icons?selected=Material+Icons:query_stats
https://fonts.google.com/icons?selected=Material+Icons:local_fire_department

Are you using the latest version? I'm seeing all of them on the demo page.

Of course not.
Thx for answering and sry for wasting your time.


Friendly Unit/Building Selection

Description
Task: Friendly Entity Selection.
Feature: Cross-feature, has been included in #8, #5, #2 and (Building ticket)
Friendly entities consist of buildings and units. Single entities can be selected with a left click. Multiple entities can be selected by clicking and dragging the mouse. If multiple units are selected, they can be commanded all at once or organised into a control group by holding  and pressing a number key. Pressing a number key selects the control group created for that number (or nothing if one has not been created).
If a share of units and buildings is selected, (do what?)
Can enemy entities be selected?
Until relevant UI is created, this functionality is mostly a stub (and I'm making the ticket specifically because so many teams have claimed this as 'their' functionality)
Dependencies
Buildings and units must exist (as entities tied to graphical elements, don't need animation/sprites for this), have coordinates on the map and be able to be given bounding boxes for selection.
UI indicators of what is selected / what can be done with the selected Entities are not necessary but would make some semblance of playtesting possible.
Milestones
List of steps that need to be completed for this task.

[ ] Single selection with the left mouse button
[ ] Collective selection with a click and drag
[ ] Control groups

Completion Deadline: Aug. 23
Documentation

Main description of feature
Javadoc - not yet created

Member

Hayden Pearce (HJPearce) - Creator (unsure if I'll get to be the one who makes this part happen)

Note: This has been partially implemented by team 8 and I am choosing to wait to integrate their implementation before completing the more advanced parts

This was taken up by somebody but the issue was not correctly associated with the task


Is it really possible to make it work in all games on dx11?

The essence of the question is indicated in the title.

No


Improve Workspace Management & Releasing

Problem
When the repo was converted to a monorepo, the following tools were selected/tried out:

npm workspace: because npm was already used
lerna: inspired from https://github.com/libp2p/js-libp2p-interfaces/
semantic-release: inspired from https://github.com/libp2p/js-libp2p-interfaces/

A number of issues have been encountered:

With npm, if a dependency is installed for one package, it's available for all packages, meaning we can run into issue where a dependency declaration is missing: #1006 (note: a similar behaviour was noticed with yarn workspace on js-waku examples in the past)
Lerna run build fails the first time on a clean local repo but not in CI. Error reporting is unhelpful
Lerna takes several seconds to kick off
semantic-release does not work with workspaces, multi-semantic-release and semantic-release-monorepo were tried out with no success
Lerna's tooted dependency graph feature does not work (error with Nx daemon).

Requirements
workspaces
A way to easily build, check & test all repos with one command. Performance needs to be adequate.
The tool should read the dependency graph to know in which order should the repos be built.
Releasing
Releasing should be easy which means:

At release time, the tool should know what packages need to be released
At release time, the tool should know how versions should be bumped
A changelog should be maintained.

There are several way to solve this:

semantic release: Commit/PR title dictate the release version bump, what packages to be released is deduced from files changes by commits
changesets: Developers add a changeset when doing a change, at release, changesets are used to generate changelog, bump versions and release packages.

semantic-release package seems to be a no go for monorepo,
Releasing with version bumping and changelog update (if not done at commit time) does not need to happen in the CI.
Pre-releasing
A different feature that was present in js-waku was that every PR was published. Enabling easy integration in examples before a release.
Having a tool that does the same but only release the packages changed in the PR would be useful.
Other
Knowing that (1) was also an issue with yarn workspaces last year, it seems to be a difficult issue. Maybe a separate tool is needed to fix this.
I don't have a great experience with yarn due to its odd version handling but yarn workspaces might be the best way to go. Would be good to try npm first.
Proposed Solutions

Try npm workspaces without lerna
Try npm workspaces with a tool different from lerna
Try changesets
Try yarn workspaces

IMHO npm workspaces is fine for now. The priority should be in sorting releasing.

I think this one can be closed as the very last point of this issue Pre-releasing is tracked in https://github.com/waku-org/js-waku/issues/1543 and others are done.


removes Sampling_and_Aliasing from treebeard

Since that causes treebeard to fail.

Actually, this is no longer necessary -- I made the same change in PR #79 by accident

Actually, this is no longer necessary -- I made the same change in PR #79 by accident


appointments one hour too early

The appointments to be displayed one hour too early

Please provide more details like your timezone settings and the Ical entry of the appointment. I think there is a timezone issue in the definition of your appointment

I've set the timezone in the terminal on 'Europe / Berlin'.
All times in my vis shows the correct time, only the appointments are wrong

please see first comment and deliver the ical entry (the text out of the ics file) please

I forgot to restart the nuc, after I change the timezone.
Everything is fine.
Pleace close and forgot my unknowingness. ;-)


Build issue - cannot find symbol import org.apache.cordova.PermissionHelper;

Hi,
I'm getting the following error while trying to build the  project.
:compileDebugJavaWithJavacD:\dupont\laserfarm\aemm\plugins\platforms\android\src\com\bitpay\cordova\qrscanner\QRScanner.java:21: error: cannot find symbol
import org.apache.cordova.PermissionHelper;
^
symbol:   class PermissionHelper
location: package org.apache.cordova
1 error
![error]
(https://user-images.githubusercontent.com/40687115/42080286-c9c099fe-7b9f-11e8-9094-c72418d11b94.PNG)
Kindly help in resolving this issue.

I reverted back to 2.4.0 and it fixed this issue. I think the problem is with the removal of cordova-plugin-compat in #139 here
I suspect that adding this line back in will let you run the build - going to test it out.. will report back :)

I may need some more info before I can have an opinion but it looks like you're using a version of cordova-android older than 6.3.0. If that's the case you should be able to fix it by adding cordova-plugin-compat to your config.xml and then you should be able to use qrscanner version 2.6.0. I'm not able to test it right now though, so I may be wrong.

Thanks @vially you were correct, good one. Cool!

Hi, I'm using Cordova 7.0.1, and getting the same "import org.apache.cordova.PermissionHelper" error, I would like to use the version 2.6.0 of this plugin, is there any instructions I can follow to install and overcome this issue?
Thanks

Im getting the same issue did anyone solve this problem? Pls i need Help asap

I had to use an older version for this.

Using older version(6.5) solved the issue.
On Sun, 1 Jul 2018, 5:01 pm Alex Scott<EMAIL_ADDRESS>wrote:

I reverted back to 2.4.0 and it fixed this issue. I think the problem is
with the removal of cordova-plugin-compat in #139
https://github.com/bitpay/cordova-plugin-qrscanner/pull/139 here
https://github.com/bitpay/cordova-plugin-qrscanner/commit/85e2396
I suspect that adding this line back in will let you run the build - going
to test it out.. will report back :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bitpay/cordova-plugin-qrscanner/issues/180#issuecomment-401600793,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmzWC9WPvBhjZDEXkm9K2i06Wu7E6YTaks5uCLMHgaJpZM4U8mLu
.


PHOENIX-6752 Duplicate expression nodes in extract nodes during WHERE compilation phase leads to poor performance

Closing because it's been superseded by #1508


android/local.properties dose not change when OS changes.

Summary
I use Windows 10 daily since I use Visual Studio a lot. But sometimes, I dual-boot into Linux (more specifically Fedora) whenever I need some coding/programming works specifically for Linux. I usually just share the code on a separate drive whenever I dual-boot. So, I decided to do the same with Flutter; however, it only gave me errors.
Error message
Launching lib/main.dart on Android SDK built for x86 in debug mode...
* Error running Gradle:
Exit code 1 from: /run/media/eunbin/<name of volume>/<app name>/android/gradlew app:properties:

FAILURE: Build failed with an exception.

* Where:
Build file '/run/media/eunbin/<name of volume>/<app name>/android/build.gradle' line: 26

* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > The SDK directory '/run/media/eunbin/<name of volume>/<app name>/android/C:\ProgramData\Microsoft\AndroidSDK\25' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s

Please review your Gradle project setup in the android/ folder.
Exited (sigterm)

Steps

Create a flutter project on Windows.
Run the project.
Now, dual-boot into different OS (supposedly Linux).
Try to run the project on the different OS.

This error only happens when I try to run the code on second OS.
One way to get around this issue
I can just simply edit android/local.properties, which flutter does not automatically change this.
flutter doctor -v
[✓] Flutter (Channel beta, v0.4.4, on Linux, locale en_US.UTF-8)
    • Flutter version 0.4.4 at /home/eunbin/Flutter
    • Framework revision f9bb4289e9 (4 weeks ago), 2018-05-11 21:44:54 -0700
    • Engine revision 06afdfe54e
    • Dart version 2.0.0-dev.54.0.flutter-46ab040e58

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /home/eunbin/Android
    • Android NDK at /home/eunbin/Android/ndk-bundle
    • Platform android-28, build-tools 28.0.0
    • ANDROID_HOME = /home/eunbin/Android
    • Java binary at: /usr/share/android_studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at /usr/share/android_studio
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.24.0)
    • VS Code at /usr/share/code
    • Dart Code extension version 2.13.2

[✓] Connected devices (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

I think you should not copy the local.properties file. android/.gitignore lists this file.
If you'd use a GitHub repo to share your code between machines, a checkout wouldn't contain it because it's ignored.

I see that could be the solution too. Maybe someone might add a tiny patch which places android/local.properties in .gitignore file?

Maybe someone might add a tiny patch which places android/local.properties in .gitignore file?

I checked in my project and it was listed in android/.gitignore

I see it now. I was looking at .gitignore at the root directory, not the one in the android/ folder.
I originally had this issue because I didn't use version control, but just shared the code in a drive. I think I should just move my code to a repository now.

@Schmerzmittel Can we then close this issue?


only replay-protected (EIP-155) transactions allowed over RPC

Hi there,
I tried to retrieve my funds which I accidentally sent to my Safe account on BSC main net. I tried to use this script to deploy the ProxyFactory on BSC main net at this address 0x76e2cfc1f5fa8f6a5b3fc4c8f4788f0116861f9b. When I run yarn deploy on BSC main net I get the error "Deployment account has been used on this network".
I tried to comment this part because the account was used once but not for deploying this contract. Then I get this error:
Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":48,\"error\":{\"code\":-32000,\"message\":\"only replay-protected (EIP-155) transactions allowed over RPC\"}}"
Searching about this error I found that it gets resolved by specifying the chainId. But since this script uses a signed transaction to deploy the contract, I can not find a way to do this.
Any suggestions?
Thank you in advance.

It is not possible to run this script on BSC, as the deployment account was used for a different contract, therefore it is not possible to get the same address.


Typo "Azure Storage emulator"→"Azure Storage Emulator"

https://docs.microsoft.com/en-us/samples/azure-samples/storage-blobs-dotnet-webapp/net-photo-gallery-web-application-sample-with-azure-blob-storage/
https://github.com/Azure-Samples/storage-blobs-dotnet-webapp/blob/master/README.md
#PingMSFTDocs

Duplicate #15 .
Closed #20 .


[BEAM-8021] Swap build-tools to be compile only so it isn't a "required" dependency of Flink.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@lgajowy @iemejia @aaltay

Thanks!


[Improvement] assertThat should do that

What would you like to be improved?
AssertThat should be followed by an assertion, however assertThat(computeActual("select * from system.jdbc.tables")); in TestGravitinoConnector.java and  assertThat(computeActual("select * from system.jdbc.tables")); in TestGravitinoConnectorWithMetalakeCatalogName.java do not.
How should we improve?
Fix the assertions.

@justinmclean can you assign this to me

@justinmclean Please review above PR


Error using shapefiles in EPSG:3995

I get the error below when I attempt to convert a shapefile in EPSG:3995 to geojson. The shapefile contains a single polygon and was created using QGIS Pisa.
RangeError: Invalid typed array length
at new Uint8Array (native)
at dbfRowHeader (http://localhost:8080/common/lib/shp/dist/shp.js:11964:43)
at module.exports (http://localhost:8080/common/lib/shp/dist/shp.js:12011:19)
at Function.shp.parseZip (http://localhost:8080/common/lib/shp/dist/shp.js:17562:58)
at http://localhost:8080/common/lib/shp/dist/shp.js:17622:16
at tryToUnwrap (http://localhost:8080/common/lib/shp/dist/shp.js:11491:5)
at tryCatch (http://localhost:8080/common/lib/shp/dist/shp.js:11515:17)
at Object.safelyResolveThenable [as safely] (http://localhost:8080/common/lib/shp/dist/shp.js:11494:16)
at new Promise (http://localhost:8080/common/lib/shp/dist/shp.js:11326:21)
at Function.shp.getShapefile (http://localhost:8080/common/lib/shp/dist/shp.js:17621:10)

I have resolved the above issue. It seems that the shapefiles were being corrupted during creation. However, I have run into two issues with converting my shapefiles.
1: EPSG:3031 is not a supported projection, but I believe that you mentioned somewhere that all projections in proj4js should be supported. I took a look at the code, and EPSG:4326 has a projection name of "Stereographic_South_Pole", which is not in the list of projection names you use to look up the projection. However, "Stereographic_North_Pole" is in the list, as is "polar_stereographic". Both "polar_stereographic", and "Stereographic_North_Pole" refer to the same projection. Is "Stereographic_South_Pole" also supposed to fall under this projection?
2: I am experiencing significant distortion of my EPSG:3995 shape files during conversion into geojson. It is very strange. It occurs both on my application and your demo at: http://leaflet.calvinmetcalf.com/#3/32.69/10.55. Any idea as to why this would be happening?

looking at http://epsg.io/3031 it would seem they are all the same thing so Stereographic_South_Pole needs to be put in as an alias for polar_stereographic.
assuming that the reason you are using Stereographic_South_Pole as a projection is because your data is of a location in Antarctica, then the distortion is likely due to the mercator projection which causes massive distortions in the pools and is really only good up to +-85 latitude

Great! I'll do that.
I'm creating the data in Stereographic_Pole_Pole and then displaying in that same projection. How would the mercator projection be causing the distortion? Additionally, the location of the data is affected as well as the geometry.

Can you post a screen shot of the distortion?
On Tue, Nov 24, 2015, 5:25 PM aaronpmishkin<EMAIL_ADDRESS>wrote:

Great! I'll do that.
I'm creating the data in Stereographic_Pole_Pole and then
displaying in that same projection. How would the mercator projection be
causing the distortion? Additionally, the location of the data is affected
as well as the geometry.

—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/shapefile-js/issues/54#issuecomment-159425725
.

The more northerly polygon is the undistorted one that I directly output as geojson. The other polygon is from the same data, but was saved as a shapefile and then converted into geojson.

Is the southern shift also part of the problem or is that for
demonstration?
On Tue, Nov 24, 2015, 5:52 PM aaronpmishkin<EMAIL_ADDRESS>wrote:

[image: capture]
https://cloud.githubusercontent.com/assets/9100927/11383094/ba551f06-92ba-11e5-8f61-c99639d2b9f2.JPG
The more northerly polygon is the undistorted one that I directly output
as geojson. The other polygon is from the same data, but was saved as a
shapefile and then converted into geojson.
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/shapefile-js/issues/54#issuecomment-159431365
.

It's also part of the problem.

hm can you post the shapefile so I can take a look at it?

actually stereographic_south_pole is a projection  available in proj4

https://drive.google.com/file/d/0B-M6FEcA3sgKRlVtQWJ3dTZKUmc/view?usp=sharing
Google Drive link to the zip file. Sorry for the delay in getting this to you.
Also, it seems that the conversion projects the shapefile into EPSG:4326. However, it was my intent to preserve the original projection and then do the transformation myself. Is this possible?

Yes shapefile-js projects to wgs84, I can take a closer look at this on
Monday
On Sat, Nov 28, 2015, 1:57 PM aaronpmishkin<EMAIL_ADDRESS>wrote:

https://drive.google.com/file/d/0B-M6FEcA3sgKRlVtQWJ3dTZKUmc/view?usp=sharing
Google Drive link to the zip file. Sorry for the delay in getting this to
you.
Also, it seems that the conversion projects the shapefile into EPSG:4326.
However, it was my intent to preserve the original projection and then do
the transformation myself. Is this possible?
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/shapefile-js/issues/54#issuecomment-160329273
.

Any progress on this?

this is a problem with proj4js so you're better off opening an issue there (https://github.com/proj4js/proj4js)


uv: 0.1.42 -> 0.1.44

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for uv is: An extremely fast Python package installer and resolver, written in Rust
meta.homepage for uv is: https://github.com/astral-sh/uv
meta.changelog for uv is: https://github.com/astral-sh/uv/blob/0.1.44/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.44 with grep in /nix/store/m1bpll41w8vbx8zk18qcrlrv7y8pqnqy-uv-0.1.44
found 0.1.44 in filename of file in /nix/store/m1bpll41w8vbx8zk18qcrlrv7y8pqnqy-uv-0.1.44

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

uv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m1bpll41w8vbx8zk18qcrlrv7y8pqnqy-uv-0.1.44 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A uv https://github.com/r-ryantm/nixpkgs/archive/61efbc5ffd3982e37801f00c92d2b28d1811bf56.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/61efbc5ffd3982e37801f00c92d2b28d1811bf56#uv

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m1bpll41w8vbx8zk18qcrlrv7y8pqnqy-uv-0.1.44
ls -la /nix/store/m1bpll41w8vbx8zk18qcrlrv7y8pqnqy-uv-0.1.44/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

uv

Maintainer pings
cc @GaetanLepage for testing.