text:
e492: Not an editor command

I get this error(e492: Not an editor command) when I call :PluginInstall.
Here is .vimrc file:
set nocompatible              " be iMproved, required
filetype off                  " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" Plugins
Plugin 'tpope/vim-fugitive'

" Color schemes

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

" Tabulation settings
set tabstop=4
set softtabstop=4
set shiftwidth=4
set noexpandtab

and here is my tree
/home/user/.vim/
...
├── bundle
│   └── Vundle.vim
│       ├── autoload
│       │   ├── vundle
│       │   │   ├── config.vim
│       │   │   ├── installer.vim
│       │   │   └── scripts.vim
│       │   └── vundle.vim
│       ├── changelog.md
│       ├── CONTRIBUTING.md
│       ├── doc
│       │   └── vundle.txt
│       ├── LICENSE-MIT.txt
│       ├── README.md
│       └── test
│           ├── files
│           │   └── test.erl
│           ├── minirc.vim
│           └── vimrc
...

@Yneth I have the same issue here. However I cannot find the files in windows explorer and they show in vim under :version
How did you resolve it?

@Yneth same here as well. Would you mind letting us know what you did to resolve the issue?

@gordonmslai @Premitium I think you should expand ~ character.
In windows, it is not expanded automatically.
set rtp+=$HOME/.vim/bundleVundle.vim

I have deleted 2nd user vimrc file.

@Yneth Thks for your guide, but how to delete the 2nd vimrc file?:P

Hi, I'm having the same issue, however I dont have the 2nd vimrc file.
When doing :version mine looks like this:
system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim"
How do I fix this issue? thanks in advance.

@migsan could you link to your vimrc file?
Also, did you try deleting your install of vundle and recloning it? That helps a lot of people

Thanks a lot @nfischer I found the issue, it was the global config of the eol on my machine. Just changed it to input (I'm on OSX) using: git config --global core.autocrlf=input, deleted the vundle folder, re cloned repo and created a new .vimrc file and working like a charm now.

Woohoo! :+1:

Added here: https://github.com/VundleVim/Vundle.vim/wiki/Common-Issues
Feel free to tweak and/or add more details

Hi, put your .vimrc file in your home(~) folder instead of .vim folder

Same problem, but I am not sure if it will work with my version of vim:
:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 30 2014 10:56:55)
Included patches: 1-160
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Small version without GUI.  Features included (+) or not (-):
+acl             -cscope          -folding         -menu            -path_extra      -statusline      -visualextra
-arabic          -cursorbind      -footer          -mksession       -perl            -sun_workshop    -viminfo
-autocmd         -cursorshape     +fork()          -modify_fname    -persistent_undo -syntax          -vreplace
-balloon_eval    -dialog          -gettext         -mouse           -printer         -tag_binary      +wildignore
-browse          -diff            -hangul_input    -mouse_dec       -profile         -tag_old_static  -wildmenu
+builtin_terms   -digraphs        +iconv           -mouse_gpm       -python          -tag_any_white   +windows
-byte_offset     -dnd             -insert_expand   -mouse_jsbterm   -python3         -tcl             +writebackup
-cindent         -ebcdic          +jumplist        -mouse_netterm   -quickfix        +terminfo        -X11
-clientserver    -emacs_tags      -keymap          -mouse_sgr       -reltime         -termresponse    -xfontset
-clipboard       -eval            -langmap         -mouse_sysmouse  -rightleft       -textobjects     -xim
-cmdline_compl   -ex_extra        -libcall         -mouse_urxvt     -ruby            -title           -xsmp
+cmdline_hist    -extra_search    -linebreak       -mouse_xterm     -scrollbind      -toolbar         -xterm_clipboard
-cmdline_info    -farsi           -lispindent      +multi_byte      -signs           -user_commands   -xterm_save
-comments        -file_in_path    -listcmds        -multi_lang      -smartindent     -vertsplit       -xpm
-conceal         -find_in_path    -localmap        -mzscheme        -sniff           -virtualedit
-cryptv          -float           -lua             -netbeans_intg   -startuptime     +visual
   system vimrc file: "/etc/virc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 -grecord-gcc-switches   -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -Wl,-z,relro  -L/usr/local/lib -Wl,--as-needed -o vim        -lm  -lselinux -lncurses -lacl -lattr -ldl

Can it work with this version of vim?

@clayms It should work yeah. What issue are you seeing? The same error?
Have you looked at: https://github.com/VundleVim/Vundle.vim/wiki/Common-Issues ?

I've tried to :set fileformat=unix :w inside of Vim but it says Unknown option: :w.
How can I fix "Not an editor command" issue? Please help.

I had this issue in cygwin. Resolved the issue by opening all the .vim files under ~/.vim/bundle/Vundle.vim/autoload and ~/.vim/bundle/Vundle.vim/autoload/vundle folders and removed carriage returns.

I had this issue in centos, just because I have vi and vim, set alias vi='vim' and fix it.

@migsan thanks this works for me.

thanks to @wsdjeg
rm .vimrc
rm -rf .vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

copy this to your .vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on

Faced this today and found out that it's caused by default non-correct vim version used by applications.
sudo update-alternatives --config editor
Then choose the vim version that has the vundle installed!
I had /usr/bin/vim.tiny is used which was the wrong vim.

Hello,
I am trying to make it work globally for a centos 7 server.
I created a /etc/vim/bundle directory and cloned inside  Vundle.vim
git clone https://github.com/VundleVim/Vundle.vim.git /etc/vim/bundle/Vundle.vim
then created the /etc/virc
set nocompatible
filetype off
set rtp+=/etc/vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on

i get this error
Error detected while processing /etc/virc:
line    5:
E492: Not an editor command: Plugin 'VundleVim/Vundle.vim'
Press ENTER or type command to continue

seems that
set rtp+=/etc/vim/bundle/Vundle.vim
is not loading vundle, double checked the permissions of the runtime

When I run git commit command, I faced the similar issue E492: Not an editor command: Plugin 'VundleVim/Vundle.vim'.
Fixed it by specifying vim as the editor for git explicitly: git config --global core.editor vim

Figured it out. I had 2 .vimrc files( found this out through :version)
here is the problem I had:
system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"

Anyway, thanks for response!

also solves my problem. Here is centos 7.8. When I locate the '.vimrc'file, I found it in the '.pyenv' dictionary.

Figured it out. I had 2 .vimrc files( found this out through :version)
here is the problem I had:
system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"

Anyway, thanks for response!

also solves my problem. Here is centos 7.8. When I locate the '.vimrc'file, I found it in the '.pyenv' dictionary.

if it's show in after type wrong command in CMP panel, then just press esc and then type again your command, that you want to run.

For me it was DOS file line endings.

I had the same issue but it turns out that double .vimrc is not the real cause, at least in my case
I made a mistake by copying the URL without properly directing it to the correct directory, as I did not fully read the documentation.
like this
git clone URL
instead of
#git clone URL ~/.vim/bundle/Vundle.vim

I had the same issue but it turns out that double .vimrc is not the real cause, at least in my case
I made a mistake by copying the URL without properly directing it to the correct directory, as I did not fully read the documentation.
like this
git clone URL
instead of
git clone URL ~/.vim/bundle/Vundle.vim

I had the same issue but it turns out that double .vimrc is not the real cause, at least in my case
I made a mistake by copying the URL without properly directing it to the correct directory, as I did not fully read the documentation.
do
git clone URL ~/.vim/bundle/Vundle.vim
instead of
git clone URL

So just updating vundle.vim can solve this problem?

authors: A-Sam Juba1806 Michal-Mikolas Premitium ShoufaChen Shougo Yneth abelncm alnzng clayms future-mike geekdenz gordonmslai hemant-rao inalto itsang jnesis lozybean mefengl migsan nfischer ryanoasis xuxintao


text:
New issue institution_id registration of IIASA

institution_id = IIASA
institution = International Institute for Applied Systems Analysis (IIASA), Schlossplatz 1 - A-2361 Laxenburg, Austria

@gidden, it now seems alot more clear that IIASA will not be contributing model data to CMIP6, rather forcing datasets - is that correct? If yes, we should remove IIASA from these CVs
@MartinaSt

The original issue was generated when we assumed IIASA would be the organizational CV for ScenarioMIP model data. That is now IAMC. Which forcing datasets are you referring? UoM produces the concentration data, IAMC will be producing emissions data.

@gidden exactly, and these are contributors to the input4MIPs project (registered at input4MIPs-cmor-tables), which is a CMIP6 sub-project, which is the same as UoM who are also input4MIPs contributors.
So we're good to remove IIASA from the CMIP6_CVs

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Inquiry about RAFT Result Output

Hello,
I have a question regarding the output values in RAFT. Could you explain the difference between raft.max_nac_accel and raft.stats_AxRNA? There seems to be a significant discrepancy between the two values. Additionally, is there any documentation available that organizes the various output results that can be extracted from RAFT?

Hi @hymdrj
I only found max_nac_accel and stats_AxRNA in the code related to OMDAO, which I'm not familiar with. @dzalkind and @mattEhall could you help with that?
Unfortunately, our current documentation doesn't explain the outputs yet. For now, you can get the results directly from a model class object. For instance, considering the example from examples/example_from_yaml.py:

you can get the mean offsets from model.results['mean_offsets']
you can get a list of available dynamic responses from model.results['case_metrics'][iCase][iFOWT].keys(), where iCase is the index of the case you want to check (from the list of cases in examples/VolturnUS-S_example.yaml) and iFOWT is the index of the floating wind turbine in the array (this example has only one turbine, so iCase=0).  For example, you can get the maximum surge with model.results['case_metrics'][0][0]['surge_max'] (a scalar value) or the power spectral density of surge with model.results['case_metrics'][0][0]['surge_PSD'] (a 1D array with the number of elements equal to the number of frequencies specified by the user)

Hope that helps 😀

max_nac_accel should be the maximum over all the cases and stats_AxRNA_max should be the max for each case.
There appears to be a typo, and the standard deviation is used by mistake:
https://github.com/WISDEM/RAFT/blob/c9daef3ba24e90372bf481667aee13a7dbed3292/raft/omdao_raft.py#L799
The stats_* outputs should collect all the results that Lucas described.

Ballast properties are computed based on how much of a member is ballasted (specified by l_fill within each member) and on ballast density (rho_fill). I'm not sure what ballast grid` is, could you please clarify?
Are you running your case using a .yaml input file? If so, could you please upload your input file here? I can check whether there's something off in your model.

authors: dzalkind hymdrj lucas-carmo

repo: WISDEM/RAFT


text:
TFX Pipeline ExampleGen

Configure TFX Pipeline ExampleGen

ExampleGen configured to accept tfrecords. Assumes training/testing data split into respective directories in data/records/.

repo: WM-SEMERU/SecureReqNet


text:
PHP-CGI randomly stops running with no error log

Running wpn-xm for a while, the server does not respond, when accessing php files. Further investigation lead me to the following post:
http://serverfault.com/questions/579773/wt-nmp-php-cgi-randomly-stops-running-with-no-error-log
Quote:
Php-cgi may stop for many reasons (OS, memory, networking), not related to your PHP code. On Linux production servers, there is a process manager (php-fpm) that monitors/restarts/logs such crashed processes. WT-NMP server manager dose not do that (yet).
It seems that wpn-xm server manager does not do that either. Am I right?
It would be great, if server-manager detects the count of running php-cgi-Processes and restart them, if they are not started as configured.

Is there a fix for this yet?

Yes, this was fixed.

For older PHP version php-cgi-spawner is used.
Newer versions of PHP (if i remember correctly, the fix shipped with 7.1) do not need the spawner anymore.
the Nginx config was changed to provide a PHP upstream pool by default (several PHP instances, each with multiple childs, if needed)

authors: JusticeTroll jakoch sandreas

repo: WPN-XM/WPN-XM

license: mit

license_source: bigquery


text:
Multiple dev site environment in subfolders.

I've been searching for an answer to this for a really long time, but no luck so far...
My server root is under C:\WPN-XM\www and under that folder I have multiple dev sites in either Drupal, WordPress or Joomla. I cannot seem to be able to enable the clean URLs feature for any Drupal website that is contained in a subfolder under my root folder - only if I place a single website under root of course, but that is not my intention.
So, I have for example:
C:\WPN-XM\www\drupal7
C:\WPN-XM\www\drupal8
C:\WPN-XM\www\drupal-dev
C:\WPN-XM\www\joomla
C:\WPN-XM\www\wordpress
...so on.
If I use C:\WPN-XM\www as a single Drupal site, clean URLs work. But I need to be simply placing more sites in subfolders under C:\WPN-XM\www and have them automatically pick up the settings for the nginx config for clean URLs. How do I do that?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31123030-multiple-dev-site-environment-in-subfolders?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github).

Hey Gregory,
if i understand correctly, then you want to set up multiple projects, each living in an own project folder inside the www folder and each having a vhost (its own local hostname), right?
The important part is to get the root and server_name definitions right in the nginx server block definitions. Add one definition file for each root + server_name into the domains-enabled folder.
Some example configs are in the domains-disabled folder, just copy them.
If you can't get this to work, then the rewrite rule might simply be out of date. So, from time to time these nginx configs might need an update.
root is a relative path to the project, e.g. www/<project_folder>, but a hardcoded paths will work too, e.g. c:\server\www\project_folder. For instance for Wordpress: root www/wordpress with server_name wordpress.dev.

Here is a step by step tutorial for Drupal7.
Drupal7

https://ftp.drupal.org/files/projects/drupal-7.42.zip
extract into /www folder

drupal brings its own folder: drupal-7.42, rename it to drupal7

open in browser: http://localhost/drupal-7.42/install.php
select "standard"
enable PHP Extension "gd"

php.ini: extension=php_gd2.dll

create database with Adminer

http://localhost/tools/adminer/adminer.php
in case you need to change root pw, use reset-db-pw.bat in the server root
create table "test"
create new user and pw

use the "database", "user" and "pw"
configure site
finally Drupal is installed: http://localhost/drupal-7.42/

Enable local VHost - http://drupal7.dev/

copy the drupal7.conf from domains-disabled to domains-enabled folder

i've updated the config once more. you find the updated file over here: https://github.com/WPN-XM/software/blob/master/nginx/config/conf/domains-disabled/drupal7.conf

edit the file and check that you have:

root         www/drupal7;
server_name  drupal7.dev;

then add vhost with SCP

right-click tray, "ManageHosts"
click add enter 127.0.0.1 with drupal7.dev + "ok"
click main "ok"

restart nginx
finally, open http://drupal7.dev/

Enabling Clean URLs

open http://drupal7.dev/
login

after login the URL is: http://drupal7.dev/?q=node

To enable clean urls go to "Configuration > Clean-Urls" or directly to

http://drupal7.dev/admin/config/search/clean-urls
http://drupal7.dev/?q=admin/config/search/clean-urls

enable checkbox "enable clean urls", then submit
finally, open http://drupal7.dev/admin/content

In the end you get a vhost drupal7.dev with clean URLs, which servers from C:\WPN-XM\www\drupal7.

I will punch the other tutorials out in the next few days.
Todo

[x] \www\drupal7
[ ] \www\drupal8
[ ] \www\drupal-dev
[ ] \www\joomla
[ ] \www\wordpress
[ ] add step-by-step setup instructions to the documentation

[ ] add section "PHP Applications"

[ ] add sections for " -App- Setup"

[ ] add section "Nginx" - "Configuration"

document nginx.conf and domains-disabled / domains-enabled
server blocks
"Setting up local domains"

Install Instructions for Drupal8

Download https://ftp.drupal.org/files/projects/drupal-8.0.4.zip
extract the folder drupal-8.0.4 into the server\www folder
rename drupal-8.0.4 folder to drupal8
browse to http://localhost/drupal8 and start installation

Note: don't switch the language - stay on "English". If you change the language you will get a strange "No Internet connection" error - at least i got it and i couldn't solve it. Initially i thought the PHP extensions "curl" is missing or disabled and so automatic fetching for translations from the drupal ftp server was blocked, but i can't find the reason.

Finally: "Congratulations, you installed Drupal!"

URL is http://localhost/drupal8/

At this point you need rewrite rules to support the Clean URLs, which are active by default in D8.
By default URLs like  http://localhost/drupal8/admin/config won't work out of the box.
You might use http://localhost/drupal8/index.php?q=admin/config instead.
Add hosts file entry for local development domain drupal8.dev

Server Control Panel: right-click tray, "ManageHosts"
click add enter 127.0.0.1 with drupal8.dev + "ok"
click main "ok"
restart nginx

With local host enabled it seems that rewriting for the index URL fails, because all menu links will have /drupal8/ in them, which is wrong, e.g http://drupal8.dev/drupal8/admin/config
But URLs like http://drupal8.dev/admin/config work....
Not solved, yet. Either a misconfiguration in my drupal8.conf or  a bug in Drupal.

Install Instructions for Joomla

Download https://github.com/joomla/joomla-cms/releases/download/3.4.8/Joomla_3.4.8-Stable-Full_Package.zip

extract into server\www\joomla

browse: http://localhost/joomla/

and find out that http://localhost/joomla/installation/index.php triggers
Fatal error: Cannot use Joomla\String\String as String because 'String' is a special class name in D:\server-test\www\joomla\libraries\vendor\joomla\registry\src\Format\Json.php on line 12
So Joomla 3.4.8 is not compatible with PHP7...

downgrade to PHP5.6

Follow installation, until Joomla successfully installed

URL http://localhost/joomla/

login

after login the URLs will fail http://localhost/joomla/index.php/site-settings

configure Nginx rewriting by adding joomla.conf to server\nginx\conf\domains-enabled

https://github.com/WPN-XM/software/blob/master/nginx/config/conf/domains-disabled/joomla.conf

create local host entry: joomla.dev
10 finally enjoy short urls and Joomla!

http://joomla.dev/administrator/index.php

http://joomla.dev/index.php/site-settings

Install Instructions for Wordpress

Download https://wordpress.org/wordpress-4.4.2.zip
Extract the wordpress folder into `server\www\
Browse to http://localhost/wordpress/wp-admin/install.php
adjust db password @ server\www\wordpress\wp-config.php
proceed with install
after install, login: http://localhost/wordpress/wp-login.php
create local host wordpress.dev
configure Nginx rewriting by adding wordpress.conf to server\nginx\conf\domains-enabled and restart Nginx

https://github.com/WPN-XM/software/blob/master/nginx/config/conf/domains-disabled/wordpress.conf

configure your permalinks: http://localhost/wordpress/wp-admin/options-permalink.php

Everything is working fine, except the buggy Drupal8.

Sorry Jens for not getting back sooner. I feel ashamed that you have spent time to test and compile this together while I couldn't find some time to give feedback, but I was swamped by Real Life™.
Well, here it is now...

if i understand correctly, then you want to set up multiple projects, each living in an own project folder inside the www folder and each having a vhost (its own local hostname), right?

Well, not exactly, my environment is set as a single hostname under localhost.dev (127.0.0.1 host entry) which works for both http as well as https.
Yes, each project will live in its own subfolder under C:\WPN-XM\www, but it will not have it's own subdomain - it will have a sub-path of that local domain instead. Like so:
C:\WPN-XM\www\drupal7 -> http://localhost.dev/drupal7
C:\WPN-XM\www\drupal8 -> http://localhost.dev/drupal8
C:\WPN-XM\www\drupal-dev -> http://localhost.dev/drupal-dev
C:\WPN-XM\www\joomla -> http://localhost.dev/joomla
C:\WPN-XM\www\wordpress -> http://localhost.dev/wordpress
So, how I expect this to work (and how it did work when I was using another stack with apache), is that I will not have to create a separate vhost entry for each project each time I place a subfolder under C:\WPN-XM\www. I expect the clear URL feature to work out-of-the-box as I randomly create project folders.

The important part is to get the root and server_name definitions right in the nginx server block definitions. In other words: you need multiple server blocks.

That's what I'm trying to avoid. The need to have to create vhosts/server_name definitions each time.

Some example configs are in the domains-disabled folder, just copy them.
If you can't get this to work, then the rewrite rule might simply be out of date. So, from time to time these nginx configs might need an update.

That could be the case, but what I would hope for here is that see how the webinterface auto-detects that project structure and auto-generates the list of links for the projects?:

...well how about if we had some sort of way to have either a button on the SCP and a link/button on the webinterface called "Add project". Then you'd be able to choose either a "new generic html" or "new generic php" project (things that do not need special rewrite rules) as well as a "new Drupal 7 project...", "new Joomla project..." etc. and that option would auto-create the folder under C:\WPN-XM\www, copy the respective .conf file under domains-enabled and restart nginx.
That's what I mean.

Oh, i'm sorry. I got your question wrong.
It might work with a small change in the main server block and additional changes to the normal rewrite rules (take subfolder into account). But, i don't see how it could work out-of-the-box, because the rewrites are application specific... :(
server_name  localhost localhost.dev;
root         www;

localhost.dev -> C:\WPN-XM\www
For subfolders

localhost.dev/wordpress -> C:\WPN-XM\www\wordpress

The other solution is to create .confs with server blocks and add the server_name localhost.dev/subfolder and adjust the rewrite rule for subfolder.
This is the cleaner solution, because the site config groups all directives
and keeps the main block clean.

I really wonder how other stacks do this?
The knowledge about the rewrite rules has to come from somewhere.
Its either a combination of .htaccess rewrite rules from the project folder with pre-configuration or some kind of boxing/prepackaging. And that brings us to stacks, which use prepackaging:

XAMPP with Bitnami packaging and
ZendServer with Zend packaging (zpk)

how the webinterface auto-detects that project structure and auto-generates the list of links for the projects?

Basically by scanning/grabbing all existing folders in www and prefixing them with http://localhost.
I could

[ ] scan the domains-enabled folder for server_names and insert stuff into the hosts file automatically and
[ ] replace the URLs in the project box with "hosts" URLs instead "localhost/folder"

auto-create the folder under C:\WPN-XM\www, copy the respective .conf file under domains-enabled and restart nginx

That's the simple part and i like the idea. It will work for projects without rewriting.
But the "new Joomla project" is actually a fully-fledged "Install Joomla" task...

button "Add Project" / "New Project"

"Install Joomla" / "app skeleton" / "app template"

TaskRunner needed
Tasks

But the "new Joomla project" is actually a fully-fledged "Install Joomla" task...

I was thinking more like:

User extracts downloaded package in their root www. Say they end up with a C:\WPN-XM\www\joomla folder.
They rename this folder to C:\WPN-XM\www\dev.mysite.net or whatever.
Either from the SCP or the webinterface they select "Add project".
They either type or browse for the directory/path.
vhost entries and nginx .conf files copied and created and nginx restarts automagically.

Thoughts?

...or:

Projects keep being auto-detected as they are currently in the webinterface and by default they are configured as simple html/php projects, but there's a "configure" link/button next to each project.
Users can click that "configure" link/button and they are presented with options (Joomla, Drupal, WordPress etc).
After selecting site type, respective .conf files are created and copied in the sites-enabled folder, nginx restarts.

Wow!! I just took a look at the screenshot you posted in the other issue about the responsiveness of the "Projects" and "Tools" sections. Looks like the basis for what I suggested above is already in place. Fantastic!!
...the cog wheel icon for configuring each project is there. Perhaps all it needs is a simple text suffix after each project link in the list. Something like this (mockup - not real screenshot):

Ok, i read through the posts once more to find a solution to the original issue
"nice URLs" "served from virtual domain with subfolder":

C:\WPN-XM\www\drupal7 -> http://localhost.dev/drupal7

As described, this needs a second, adjusted nginx configuration file.
I would like to see these configurations provided/contributed by the community.
Either by the WPN-XM community or by the community of the application (to get a better support and a tighter integration).

I will try to summarize the things suggested for implementation:
(a) an automatic setup of the virtual domain based on the application being installed and
(b) more "manual" / control over the domains when using the webinterface
I will implement (a) by pulling the data of the "software assets" repository (which includes the "configs" and will include the tasks) into the repo of the webinterface. Thereby the webinterface gets access to all application relevant data: manifest, version, config and additional stuff for the setup.
The key here is to to trigger "setup-domain" task (if the application provides it and the config) during the "installation" task.
(b) is "nginx vhost administration" issue #2 - now open since 6 Dec 2011
What do you think?

authors: jakoch klonos


text:
ensure Mongo indexes are created

Specifically, Record model/collection, which can be fired with self.ensure_indexes()
This only needs to happen once, could be part of provisioning?  But if collection dropped, would be nice to have check.  Could run check on spark Jobs?

Same for RecordValidation

Added as manage.py command

repo: WSULib/combine


text:
WWA Wing 開発ブログの TypeScript 移行

#167 の GatsbyJS を TypeScript に移行します。

このブランチは #166 に統合します。

source: gharchive/pull-request

repo: WWAWing/sites

license: MIT


text:
I can not import packages to my Unity Project

Describe the bug
When I import the described packages to my Unity project, there comes bugs and I can not import.
[Package Manager Window] Error adding package: https://github.com/WalletConnect/WalletConnectUnity.git?path=Packages/com.walletconnect.ui. Unable to add package [https://github.com/WalletConnect/WalletConnectUnity.git?path=Packages/com.walletconnect.ui]:   No 'git' executable was found. Please install Git on your system then restart Unity and Unity Hub UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
To Reproduce
Create new Unity Project.
Package Manager window / + / Add package from git url / https://github.com/WalletConnect/WalletConnectUnity.git?path=Packages/com.walletconnect.ui
Expected behavior
Should be imported without errors
Screenshots

Environment

OS: Windows 10
Unity version 2022.3.14f1[LTS]
WalletConnectUnity version/commit https://github.com/WalletConnect/WalletConnectUnity/commit/2ba67574b74026a9d978b1f618e711657653366f

Is this happening in Unity Editor or on a player like Android, iOS, Windows?
UnityEditor
Wallets used for testing
Metamask
Additional context
Add any other context about the problem here.

We should probably make it more explicit in the README. The errors happen because Unity can't automatically install git dependencies.
The dependency tree among packages in this repo is the following: Modal → UI → Core.
To install Core package, you don't need any dependencies.
To install UI package, you'd also need to manually install Core.
To install Modal package, you'd also need to manually install UI and Core.
Please let me know, if installing dependencies solves the error.

Thank you for your advice.
I tried to import the CORE first.
Unfortunately the result was same
Please help me

Thank you!
I could finally import all three packages successfully.
Could you please kindly indicated where I could find unity demo project of this library?

There is a sample for WalletConnectModal, which you can find here. To import the sample, update all packages.

repo: WalletConnect/WalletConnectUnity


text:
New App Submission (Bull App)

App Logo (Required)

App Details (Required)
Type: Wallet
Name: Bull App
Homepage Url: https://getbull.app/
Chains supported:   Ethereum (ETH), Binance Smart Chain(BSC), Conflux (CFX), Huobi ECO Chain(HECO)
App Url (Required - at least one)
Browser Url:
iOS Url: https://apps.apple.com/app/id1558608737
Android Url: https://play.google.com/store/apps/details?id=crypto.wallet.chainapp
Mac Url:
Windows Url:
Linux Url:
Mobile Linking (Optional)
Deep Link:
Universal Link:
Desktop Linking (Optional)
Deep Link:
Universal Link:
Metadata (Optional)
Short Name:
Primary Color:
Secondary Color:

Added on commit dc779e72007224448e3510585eadb93560683246

authors: pedrouid wulangbnu

repo: WalletConnect/walletconnect-registry


text:
change gnosis-safe icon

updated gnosis-safe icon with the latest one

replaced by https://github.com/WalletConnect/walletconnect-website/commit/fb2023f7a80639e9b473e725486aca7979faa70f

authors: pedrouid sche

repo: WalletConnect/walletconnect-website


text:
UI improvement

improve landing page design

I can do it

thanks


text:
hangfire使用redis时，defaultdatabase参数无效

"Hangfire": "localhost,password=,defaultdatabase=3"
配置的defaultdatabase无效，默认还是 0

我换了是生效得

  var redisStorageOptions = new RedisStorageOptions()
                {
                    Db = services.GetConfiguration().GetValue<int>("Hangfire:DB")
                };

这样设置一下，我修复一下。

repo: WangJunZzz/abp-vnext-pro


text:
Update feed links and RSS format (fixed RSS image, title, media)

#WeAreDotnet Creator Submission Guidelines

[x] Check all points before submitting the PR.

[x] By submitting this pull request to add my creator card, I verify that I adhere to the #WeAreDotnet creator card submission guidelines.

[x] Make sure to follow our Code of Conduct

[x] We do not accept submissions with the sole intention of promoting a product or company.

[x]  We add you as a creator, not your company.

[x]  The moderator team decides whether we accept or reject a submission.

When Do We Accept Someone's Creator Card Submission?

[x] You must have published at least three content pieces (long form content) since 2022 on any of your channels.

.NET itself

.NET libraries and projects

.NET languages C#, F#, Visual Basic

Tools needed during development (for .NET)

CI/CD

Only in combination with .NET: SPA Frontend technologies like Angular, Vue.js, React etc.

Cloud services related to .NET applications (AWS, Azure...)

[x] There must be three content pieces in English.

[x] There needs to be more than tweets.

[x] Longer-form article on LinkedIn is good, but a self-hosted blog or one on a well-known platform like Hashnode, medium etc., is better.

[x] Alternatively, you contributed with another form on a platform like YouTube, Twitch, Udemy or Pluralsight. If you have some recorded talks of conferences or anywhere else, that counts too! So in the form of a recorded video or a book.

RSS or Atom Feed

[x] The feed was validated using https://validator.w3.org/feed/ and does not contain errors

[x] The content with feed.type = dotnet must be .NET related:

.NET itself

.NET libraries and projects

.NET languages C#, F#, Visual Basic

Tools needed during development (for .NET)

CI/CD

Only in combination with .NET: SPA Frontend technologies like Angular, Vue.js, React etc.

Cloud services related to .NET applications (AWS, Azure...)

[x] the content under feed.type = personal may contain off-topic posts.

Project management

leadership

Other

[x] Submit an Atom or RSS URL inside your creator card that belongs to your blog

[x] If you do not submit an RSS or Atom URL. We cannot consider your feed for the aggregation feature.

Content Guideline

[x] If you have a self-hosted blog, please ensure you have a valid HTTPS certificate.

[x] We host NO malicious or offensive content on the blog (including photos, swearing, etc.)

[x] You must add the full URL to your GitHub profile to your card, so we can assign it to the member account that used the same GitHub account for sign-up.

Hey @akifmt
Thanks for your update!
Greetings
Matthias

authors: akifmt matthiasjost

repo: WeAreDotnet/dotnet-creator-cards


text:
update README.md

Open-Source is added to the readme.md

Fixes Issue

Changes proposed

Screenshots

Note to reviewers

@siddhant-khisty It has been more than three weeks since this request was submitted, kindly review it.

repo: WeMakeDevs/roadmaps


text:
The face cannot be detected when I infer my own input video.

Thank for your great work!
But when I run the inference_single.py using my own video, the code cannot work. It show:
Traceback (most recent call last):   File "inference_single.py", line 509, in <module>     full = merge_face_contour_only(original_background, T_input_frame[2], T_ori_face_coordinates[2][1],fa)   #(H,W,3)   File "inference_single.py", line 145, in merge_face_contour_only     preds = fa.get_landmarks(input_img)[0]  # 68x2 TypeError: 'NoneType' object is not subscriptable
So, I wonder how to solve the problem, tks again!

I think having a more zoomed-in video on the face might work. IP LAP uses MediaPipe's face landmark detection and this requires the face to be zoomed-in to work.

Thanks for your reply！


text:
Update swift3 syntax

Update swift 3 syntax.
Update podspec to be able to use the master branch without version.
Here's the corresponding issue discussed: https://github.com/CocoaPods/CocoaPods/issues/5626

Thanks a lot! I appreciate it!

authors: ludoded vittoriom


text:
Calendar crashes when maximumDate set (on some cases)

Im using cocoapods 1.1.1 on an iPhone 5 with iOS 10.2, on Xcode 8.2.1 with version 2.7.0 of the calendar.
This is the stack trace:
2017-01-25 17:36:16.501798 SwiftExample[9091:2042594] *** Assertion failure in -[UICollectionViewData validateLayoutInRect:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3600.6.22/UICollectionViewData.m:433
2017-01-25 17:36:16.503070 SwiftExample[9091:2042594] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UICollectionView received layout attributes for a cell with an index path that does not exist: <NSIndexPath: 0x145c9e30> {length = 2, path = 34 - 0}'
*** First throw call stack:
(0x1e790df7 0x1d9f3077 0x1e790cd1 0x1f08b931 0x2389a047 0x23899617 0x23898971 0x23839d6d 0x2164d841 0x2164178f 0x2164161f 0x215d22c3 0x215f0bb5 0x21561441 0x209f11c9 0x1e9e4f95 0x1e739047 0x1e74ce0f 0x1e74c5fb 0x1e74a801 0x1e699533 0x1e699341 0x1fe70bfd 0x238a7e27 0x238a2551 0x765b4 0x1de6350b)
libc++abi.dylib: terminating with uncaught exception of type NSException

It also happens on the SwiftExample project (as the stack trace says).
To reproduce change the maximumDate on the InterfaceBuilderViewController to 2017/10/31 and scroll to the end.
The calendar will crash when changing from august to september with the above stacktrace.
If no end date is specified the calendar won't crash.

@alvinbaena  did you resolve this?

@nooralibutt no, i downgraded to version 2.6.0 in the meantime. The issue is not present in that version.

@alvinbaena I cannot downgrade either as I remember there was an issue in 2.6 which was leading to crash in my project. So I had to upgrade to latest version. For now I removed the limit of minimum and maximum dates. :(

@nooralibutt Did this happen in 2.7.1?

@WenchaoD Yes, I've installed 2.7.1 and whenever I set minimum date it crashes.

Can u show a demo to reproduce?

In my case, to trigger it I just add this delegate method:
func maximumDate(for calendar: FSCalendar) -> Date {
	return Date()
}

When I scroll back to previous month, then it crashes.

authors: WenchaoD alvinbaena nico75005 nooralibutt

repo: WenchaoD/FSCalendar


text:
Slightly breaks the diclaimer

Bug description
Slightly breaks the disclaimer
Steps to reproduce the behavior
https://www.youtube.com/watch?v=7Zau3jgUJWU
Browser
Microsoft Edge
Operating system
Windows
Extension version
2.38.0
The bug still happens in these conditions

[X] The bug still persist when I disable all other extensions (ex. in incognito mode with only this extension enabled)
[X] When I logged out of my YouTube account (ex. in incognito mode)
[X] In incognito mode

Additional context and/or screenshots
https://github.com/WesselKroos/youtube-ambilight/assets/6422804/a71f5f09-5fdd-47e1-85c1-6b9ac047c993

I don't see a disclaimer. Should I enable something in the YouTube settings to get it?

No, it's video-dependent, often based in the title
For example COVID-19 videos have a disclaimer in my country

Maybe the Climate change disclaimer is only shown in some countries.
I do see the COVID-19 disclaimer, but that one does not have a "Context" header which is unstyled in your screenrecording:

Can you share the html of the disclaimer? I can probably just copy and paste it below a video, so that I can style it.

I will when I can, in a few hours

<ytd-info-panel-container-renderer class="style-scope ytd-watch-flexy" rounded-container="" amsterdam-enabled="" has-title="" background="BLUE">

    <yt-icon class="header-icon style-scope ytd-info-panel-container-renderer"><yt-icon-shape class="style-scope yt-icon"><icon-shape class="yt-spec-icon-shape">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;"><path d="M13 17H6v-2h7v2zm0-4H6v-2h7v2zm0-4H6V7h7v2zm5 8h-2V7h2v10zm2-13v16H4V4h16m1-1H3v18h18V3z"></path></svg>
</icon-shape></yt-icon-shape></yt-icon>
    <yt-formatted-string class="style-scope ytd-info-panel-container-renderer">Context</yt-formatted-string>

<ytd-menu-renderer class="style-scope ytd-info-panel-container-renderer" safe-area="">

<yt-icon-button id="button" class="dropdown-trigger style-scope ytd-menu-renderer" style-target="button"><button id="button" class="style-scope yt-icon-button" aria-label="Action menu"><yt-icon class="style-scope ytd-menu-renderer"><yt-icon-shape class="style-scope yt-icon"><icon-shape class="yt-spec-icon-shape">
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;"><path d="M12 16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM10.5 12c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm0-6c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5z"></path></svg>
</icon-shape></yt-icon-shape></yt-icon></button><yt-interaction id="interaction" class="circular style-scope yt-icon-button">

</yt-interaction></yt-icon-button><yt-button-shape id="button-shape" version="modern" class="style-scope ytd-menu-renderer" disable-upgrade="" hidden=""></yt-button-shape></ytd-menu-renderer>

<ytd-info-panel-content-renderer class="style-scope ytd-info-panel-container-renderer" rounded-container="" amsterdam-enabled="" skip-rounding-top="" truncate-paragraphs="" background="BLUE">

  <yt-icon class="inline-icon style-scope ytd-info-panel-content-renderer" disable-upgrade="" hidden="">
  </yt-icon>

      <yt-formatted-string class="style-scope ytd-info-panel-content-renderer">United Nations</yt-formatted-string>

        •
        <yt-formatted-string class="style-scope ytd-info-panel-content-renderer" is-empty=""><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>

      <yt-formatted-string class="style-scope ytd-info-panel-content-renderer">Climate change</yt-formatted-string>
      <yt-icon class="inline-link-icon style-scope ytd-info-panel-content-renderer"><yt-icon-shape class="style-scope yt-icon"><icon-shape class="yt-spec-icon-shape">
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;"><path d="M21 21H3V3h9v1H4v16h16v-8h1v9zM15 3v1h4.32l-8.03 8.03.71.71 8-8V9h1V3h-6z"></path></svg>
</icon-shape></yt-icon-shape></yt-icon>

      <yt-formatted-string class="style-scope ytd-info-panel-content-renderer">United Nations</yt-formatted-string>

        •
        <yt-formatted-string class="style-scope ytd-info-panel-content-renderer" is-empty=""><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>

          <yt-formatted-string class="paragraph style-scope ytd-info-panel-content-renderer">Climate change refers to long-term shifts in temperatures and weather patterns, mainly caused by human activities, especially the burning of fossil fuels.</yt-formatted-string>

            <yt-formatted-string force-default-style="" class="style-scope ytd-info-panel-content-renderer" is-empty=""><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>
            <yt-icon class="inline-link-icon style-scope ytd-info-panel-content-renderer"><yt-icon-shape class="style-scope yt-icon"><icon-shape class="yt-spec-icon-shape">
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" style="pointer-events: none; display: block; width: 100%; height: 100%;"><path d="M21 21H3V3h9v1H4v16h16v-8h1v9zM15 3v1h4.32l-8.03 8.03.71.71 8-8V9h1V3h-6z"></path></svg>
</icon-shape></yt-icon-shape></yt-icon>

      <dom-repeat class="style-scope ytd-info-panel-content-renderer"><template is="dom-repeat"></template></dom-repeat>
      <dom-repeat class="style-scope ytd-info-panel-content-renderer"><template is="dom-repeat"></template></dom-repeat>

          <yt-formatted-string class="disclaimer style-scope ytd-info-panel-content-renderer" is-empty=""><yt-attributed-string class="style-scope yt-formatted-string"></yt-attributed-string></yt-formatted-string>
          <yt-icon class="inline-link-icon inline-disclaimer-icon style-scope ytd-info-panel-content-renderer" disable-upgrade="" hidden="">
          </yt-icon>

  <yt-img-shadow class="thumbnail style-scope ytd-info-panel-content-renderer" object-fit="COVER" disable-upgrade="" hidden="">
  </yt-img-shadow>

</ytd-info-panel-content-renderer>

</ytd-info-panel-container-renderer>

Does this style block make it look correct?

repo: WesselKroos/youtube-ambilight


text:
Add README for chart deployment and values override files for EKS and GKE

In this PR, I add a README with detailed instructions for creating a Kubernetes cluster on Amazon EKS and Google Kubernetes Engine (GKE). I also include values override files with appropriate configuration changes for deploying to EKS and GKE.
The instructions and the values override files for EKS and GKE have all been tested and verified to make sure that the end result works as a proxy.

due to the image being pulled, let's wait on #114 to be merged in first, but thanks for the contribution!

@slawlor  the Docker image build is failing because of missing username and password. Is there anything I need to add?

@slawlor the Docker image build is failing because of missing username and password. Is there anything I need to add?

Sorry for the delay, it's because you're not a maintainer/contributor. Github doesn't seem to allow the secrets to be accessed outside of those scenarios. It's fine I think. There's nothing here that'd impact the docker build, so I'm going to approve this

El sáb., 20 de abril de 2024 8:28 p. m., LAVANWIJESIRIWARDANA <
@.***> escribió:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/WhatsApp/proxy/pull/125#pullrequestreview-2013292272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQL5FQOQJ323EUMH3OV3PU3Y6MP3TAVCNFSM6AAAAAAT37M6XOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMJTGI4TEMRXGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: Jairomtz234 arashn slawlor

repo: WhatsApp/proxy


text:
Setup onboarding repository

We need a nice onboarding plan for new members of the lab.

[ ] Create repository
[ ] Write README
[ ] Create reading list
[ ] Create action list
[ ] Blog exercises

What else?

Great resource: http://labcarpentry.org/

Could attend CNDay2017 : http://www.cnn.group.cam.ac.uk/cambridge-networks-day

Check out Aurelia's documentation here: https://github.com/mozillascience/studyGroup-GSOC

[x] Added working hours note to Code of Conduct
[x] Added blog about code description


text:
Add iFixit '18 crypto challenges

iFixit 2018 Trihackathon

SHAke
raTTLe
roll (your own crypto)

@meinfr13nd

repo: WhiteHatCP/ctf-writeups


text:
🛑 Munin is down

In 0eafce8, Munin (https://munin.wicloz.rocks/) was down:

HTTP code: 502
Response time: 571 ms

Resolved: Munin is back up in 30c8707 after 58 minutes.

repo: Wicloz/upptime


text:
Create software page

List of our open-source offerings w/ short descriptions:

[ ] software page template
[ ] software page copy
[ ] software page styling

We actually have a good number of public repos.
Is it okay to brainstorm/bikeshed on projects listed (and project groups?) on this issue?
First, we have to consider future GitHub reos. For example, some of the node-* repos I've made have gh-pages branches for docs, and interestingly are hosted under our domain like node-collective and node-smartimage.
We also have Fine Uploader -- and Fine Uploader-related projects (I'm sure @rnicholus has thoughts here?).
We have forks of projects which probably do not need to be listed. Lastly, we have completely unique/custom OSS code repos, but we can list these on a case-by-case basis.

authors: dbeg feltnerm


text:
Different api

It's not an issue it's an idea how about adding different api for every session, because i think there is more risk to get banned if to use one api for every session. I tried to do it but i found this difficult because index.js isn't understandable for me

No  problem at all, you need only different proxies for each tg account.  Also old accounts can use a single ip without any problem.

repo: Widiskel/not-pixel-bot


text:
Hooks System

Implement Hooks System.

 Setup a constructor that returns the hooks that need to be registered, then the bot registers the hooks
 The class can't register by itself because it's half initialised
 and you need to pass an instance of the class for the bot to be able to call it
 hmm
 Say a class contains function AHook, it'd return an array('the_hook_name', 'AHook');
 then the bot would know that it needs to hook the function AHook of class A into hook the_hook_name, and it can register it
 $bot->hooks->register('the_hook_name', array($class_A, 'AHook'));
 Ok
 Then the hooks manager should check the given input and check if the function exists, actually register the function and keep track of it
 If we want to get into dynamic removing/adding of commands we have some challenges to accept as well
 Removing a command should not need cleaning up of hooks persay since the hook system will check if a function exists before calling it
 But adding a command needs to process the adding of hooks all over

I guess we'll implement a proper event manager for modules to use.
A module should be able to:

register a new event with the bot when it is loaded
register a listener that will be called every time its corresponding event is fired
register a listener non-conditionally (it doesn't fail when the event doesn't exist) - I'd implement this just with an exception - if the module registering the listener decides to catch it and do nothing they can
fire an existing event
give the listener a priority setting so that you can manipulate the order in which listeners are called (i.e. some kind of logging would want to listen as last in case the event is cancelled or modified)
pass data through the event, cancelling the event, editing the data, etc.

The same concept as hooks I think. Variables would be passed by reference so the listeners can use them.

I think this is pretty much covered with the event manager in the 'new' bot, unless you have ideas that take it further?

The basic thing is implemented, closing the issue. We can make improvements down the line.

authors: Amunak TimTims Yoshi2889

repo: WildPHP/Wild-IRC-Bot


text:
Saga -> A lifestyle mismatch is encountered.

Hi I'm trying to use SimpleInjector with NServiceBus and I'm getting the following error when I run the application.
2016-11-10 16:17:53.125 INFO  NServiceBus.RecoverabilityExecutor Immediate Retry is going to retry message '203dc177-2acc-450e-8089-a6ba01048e58' because of an exception:
SimpleInjector.ActivationException: A lifestyle mismatch is encountered. SynchronisationSaga (Execution Context Scope) depends on SynchronisationSagaData (Transient). Lifestyle mismatches can cause concurrency bugs in your application. Please see https://simpleinjector.org/dialm to understand this problem and how to solve it. ---> SimpleInjector.DiagnosticVerificationException: A lifestyle mismatch is encountered. SynchronisationSaga (Execution Context Scope) depends on SynchronisationSagaData (Transient). Lifestyle mismatches can cause concurrency bugs in your application. Please see https://simpleinjector.org/dialm to understand this problem and how to solve it.

I configured the injector using endpointConfiguration.UseContainer<SimpleInjectorBuilder>();  and have not added any other code.
The saga is setup as follows:
    public class SynchronisationSaga :
        Saga<SynchronisationSagaData>,
        IAmStartedByMessages<StartSaga>,
        IHandleTimeouts<ExecuteTask>
    {
        protected override void ConfigureHowToFindSaga(SagaPropertyMapper<SynchronisationSagaData> mapper)
        {
            if (mapper == null) throw new ArgumentNullException(nameof(mapper));

            mapper.ConfigureMapping<StartSaga>(message => message.TaskName).ToSaga(sagaData => sagaData.TaskName);
        }

        public async Task Handle(StartSaga message, IMessageHandlerContext context)
        {
            if (message == null) throw new ArgumentNullException(nameof(message));
            if (context == null) throw new ArgumentNullException(nameof(context));

            Data.TaskName = message.TaskName;

            Console.WriteLine($"Secheduling {Data.TaskName} task.");
            if (!Data.IsTaskAlreadyScheduled)
            {
                await RequestTimeout<ExecuteTask>(context, TimeSpan.FromMinutes(1))
                    .ConfigureAwait(false);
                Data.IsTaskAlreadyScheduled = true;
            }
        }

        public async Task Timeout(ExecuteTask state, IMessageHandlerContext context)
        {
            if (state == null) throw new ArgumentNullException(nameof(state));
            if (context == null) throw new ArgumentNullException(nameof(context));

            Console.WriteLine("Task Executed");

            await RequestTimeout<ExecuteTask>(context, TimeSpan.FromMinutes(1))
                .ConfigureAwait(false);
        }
    }
    public class SynchronisationSagaData : ContainSagaData
    {
        public string TaskName { get; set; }
        public bool IsTaskAlreadyScheduled { get; set; }
    }

Thanks @rubenmamo for the great repro. I've got a failing test now, so will hopefully have some kind of fix out soon.
Hopefully this doesn't involve a PR into the NServiceBus repo...

Got it. Overly eager property injection that shouldn't be automatically injecting IContainSagaData.
I've released version 1.0.4 that should fix your issue.
Thanks for digging into this for me.

Thanks for the prompt action, this has solved the issue for me :)

Glad to hear it. If you find any other issues, drop an issue and hopefully we'll get them resolved quickly!

authors: WilliamBZA rubenmamo


text:
Fix maintain state of fragment while selecting images

Fix maintain the state of fragment onconfig changes
Fix flicker while show/hide in ImageDetailsActivity

To fix the flicker I used toolbar wrapped in card view (To handle the click listener for back button) with elevation. I don't know it's the best way or not but in this way we can provide the back compatibility without using the android:elevation attribute.

I don't understand why flicker related with toolbar?
I can imagine flicker means image flicking in PhotoView.
Before reviewing / merging this, Can you give me some points to explain the situation?

I mean when user tap on the photoView then we are showing & hiding the toolbar and that's where flickering occurs. I think in-build show/hide method for supportActionBar are causing this.
You can view this video https://drive.google.com/file/d/18h6IOtJ-JVXHDAK57slZBDsBJU8mHjgJ/view?usp=sharing

Made the commit as suggested.

Deploy as 2.0.6 . 🙇

authors: WindSekirun deepakkumardk

repo: WindSekirun/NaraeImagePicker


text:
[TIC-56] Refactor Upper Admin Nav and other UI fixes

Description
Many small UI fixes -- such as removing random comma, making sure text does or doesn't wrap in the appropriate cases, removing unnecessary scrollbars, added margin to separate elements, and refactored the upper admin/ticketing nav to be simpler, use less nodes, and use more semantic elements.
Admin Before/After:

Nav Bar Before/After:

Contacts Before/After:

Main Page Before/After:

Risks
Shouldn't be any.
Validation
Much side-by-side testing to ensure that all proper functionality was not tampered with (especially with the upper nav bar).
Issue
TIC-56
Operating System
Windows 11

/gcbrun

repo: WonderTix/WonderTix


text:
Match Bulma's breakpoints to those of Tailwind

Description

Tailwind breakpoints are now the standard for development in new components, thanks to the ease provided by the breakpoint prefixed classes. Bulma's breakpoints are still used by some components such as the header and navbar. Because of slight differences in their values, there are regions near the edges where both systems report different device types and lead to inconsistent styles.
Expectation

Both systems should use the same breakpoints till one is completely replaced by the other. Ideally we would want to customise Bulma as it'll be the one to go.
Additional context

The Bulma breakpoints can be customised by editing src/styles/utilities/initial-variables.scss. The use of the $gap variable is unclear. Please update this ticket or comment if you know how it works.
Resolution

[ ] 🙋 I would be interested in resolving this bug.

All I know is that they say that $gap is used as "an offset for breakpoints" and their docs show this:

Yeah! Weirdly enough, saying it is an "offset for breakpoints" is worse than not describing it at all 🤣

All I know is that they say that $gap is used as "an offset for breakpoints" and their docs show this:

This is how I understand this table:

breakpoint
value

$tablet
769px

$desktop
960 + 64 = 1024px

$widescreen
1152 + 64 =  1216px

$fullhd
1344 + 64 = 1408px

Please correct me if my calculations are wrong :)

authors: dhruvkb obulat zackkrida

repo: WordPress/openverse-frontend


text:
Images for our Team

Website:  SILK Corp

Hello team,
We aim to represent our team in a professional and polished manner to ensure that our website visitors have a positive impression of our organization.
To achieve this, we request that the current images of team members be replaced with professional headshots to better represents our company. Also, change the dummy content behind each member to represent their roles in the organization.
Inspects

Rendered size: 345 × 345 px
Format: JPEG or PNG

@Remy-Reveltek, there is dummy content behind the images of "Our team" that needs to be updated.

At the very last of the web, textual content for the whole "Contact" area needs to be updated.

This area also needs to be updated.

Request to Close
This issue is solved, please close it.

authors: Aini-Bashir Remy-Reveltek

repo: WorldEnterpriseGroup/silkcorp


text:
How can I make work via bluetooth?

Without using the data cable.
(Arduino 101 here)

frankthedead,
Your question is too vague to answer in any way. Please be more specific.

How can I use the port /dev/tty.Bluetooth-Incoming-Port? For example, I want to monitor my pulse in my phone.

It's not as easy as it sounds. First you need a bluetooth radio module that the Pulse Sensor can plug into. Look at Sparkfun or Adafruit for one of those.
Then you need code on the computer to monitor the incoming bluetooth signal. This is not a question that we are prepared to answer. You are asking for extensive design services that we don't provide

The Arduino 101 makes this much easier then before.  We don't have an example project yet, but there are some great ones around the web.  See 👇
https://create.arduino.cc/projecthub/masteruan/arduino-101-curie-ios-pulse-sensor-2441cd

authors: biomurph frankthedead yury-g


text:
Using Html.addCrumb generates an error Object of class Cake\View\Helper\HtmlHelper could not be converted to string

When Using hte addCrumb method with the HtmlHelper like so:
{{ Html.addCrumb('Some Crumb') }}
one get's the error
Object of class Cake\View\Helper\HtmlHelper could not be converted to string [ROOT/vendor/twig/twig/lib/Twig/Environment.php(403) : eval()'d code, line 25]

Yeah that is correct, ran into this the other day as well and working on a fix for it.

Ok, I found out some more regarding this issue.
The error comes from the function 'twig_escape_filter' in twig/twig/lib/Twig/Extension/Core.php
The problem seems to be that Twig wants to escape the return value of 'addCrumb' but it returns an Object while the filter expects a string to be passed in (or at least an object with a __toString() method)
So either Cake (add __toString) or Twig (catch an object without __toSring) needs to be changed to catch the error which is both not suitable for me.
The easiest is to create a new filter method e.g. a 'none'-Filter which contains a simple return statement that has to be used with 'addCrumb'.
I will create another PR and you can think about pulling it in.
Cheers

This should be fixed by #61

The do method on Twig should be used instead :
{% do Html.addCrumb('Some Crumb') %}

Refs in twig doc : https://twig.symfony.com/doc/1.x/tags/do.html

authors: ADmad HavokInspiration WyriHaximus vonboth

repo: WyriHaximus/TwigView


text:
add personal info #6

Related #6

What is the purpose of the change

Add Huangchaoran's personal information.

Brief change log

Add an index about huangchaoran and the avatar.

/approve


text:
Example does not work

Hi something went wrong. rustc 1.52.1
use std::collections::HashMap;

use unic_langid::{LanguageIdentifier, langid};
use fluent_templates::{Loader, static_loader};

const US_ENGLISH: LanguageIdentifier = langid!("en-US");
const FRENCH: LanguageIdentifier = langid!("fr");
const GERMAN: LanguageIdentifier = langid!("de");

static_loader! {
    static LOCALES = {
        locales: "./tests/locales",
        fallback_language: "en-US",
        // Removes unicode isolating marks around arguments, you typically
        // should only set to false when testing.
        customise: |bundle| bundle.set_use_isolating(false),
    };
}

fn main() {
    assert_eq!("Hello World!", LOCALES.lookup(&US_ENGLISH, "hello-world"));
    assert_eq!("Bonjour le monde!", LOCALES.lookup(&FRENCH, "hello-world"));
    assert_eq!("Hallo Welt!", LOCALES.lookup(&GERMAN, "hello-world"));

    let args = {
        let mut map = HashMap::new();
        map.insert(String::from("name"), "Alice".into());
        map
    };

    assert_eq!("Hello Alice!", LOCALES.lookup_with_args(&US_ENGLISH, "greeting", &args));
    assert_eq!("Bonjour Alice!", LOCALES.lookup_with_args(&FRENCH, "greeting", &args));
    assert_eq!("Hallo Alice!", LOCALES.lookup_with_args(&GERMAN, "greeting", &args));
}

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Fluent { source: FluentError([ParserError { pos: (0, 1), slice: Some((0, 64)), kind: ExpectedCharRange { range: "a-zA-Z" } }]) }', src/main.rs:10:1
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
   1: core::panicking::panic_fmt
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
   2: core::option::expect_none_failed
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
   3: core::result::Result<T,E>::unwrap
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:1037:23
   4: Test::LOCALES::{{closure}}::RESOURCES::{{closure}}
             at ./src/main.rs:10:1
   5: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
   6: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
   7: once_cell::sync::Lazy<T,F>::force::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1023:28
   8: once_cell::sync::OnceCell<T>::get_or_init::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:57
   9: once_cell::imp::OnceCell<T>::initialize::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:95:19
  10: once_cell::imp::initialize_inner
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:171:31
  11: once_cell::imp::OnceCell<T>::initialize
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:93:9
  12: once_cell::sync::OnceCell<T>::get_or_try_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:885:13
  13: once_cell::sync::OnceCell<T>::get_or_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:19
  14: once_cell::sync::Lazy<T,F>::force
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1022:13
  15: <once_cell::sync::Lazy<T,F> as core::ops::deref::Deref>::deref
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1032:13
  16: Test::LOCALES::{{closure}}::BUNDLES::{{closure}}
             at ./src/main.rs:10:1
  17: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
  18: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
  19: once_cell::sync::Lazy<T,F>::force::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1023:28
  20: once_cell::sync::OnceCell<T>::get_or_init::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:57
  21: once_cell::imp::OnceCell<T>::initialize::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:95:19
  22: once_cell::imp::initialize_inner
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:171:31
  23: once_cell::imp::OnceCell<T>::initialize
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:93:9
  24: once_cell::sync::OnceCell<T>::get_or_try_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:885:13
  25: once_cell::sync::OnceCell<T>::get_or_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:19
  26: once_cell::sync::Lazy<T,F>::force
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1022:13
  27: <once_cell::sync::Lazy<T,F> as core::ops::deref::Deref>::deref
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1032:13
  28: Test::LOCALES::{{closure}}
             at ./src/main.rs:10:1
  29: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
  30: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
  31: once_cell::sync::Lazy<T,F>::force::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1023:28
  32: once_cell::sync::OnceCell<T>::get_or_init::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:57
  33: once_cell::imp::OnceCell<T>::initialize::{{closure}}
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:95:19
  34: once_cell::imp::initialize_inner
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:171:31
  35: once_cell::imp::OnceCell<T>::initialize
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/imp_std.rs:93:9
  36: once_cell::sync::OnceCell<T>::get_or_try_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:885:13
  37: once_cell::sync::OnceCell<T>::get_or_init
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:845:19
  38: once_cell::sync::Lazy<T,F>::force
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1022:13
  39: <once_cell::sync::Lazy<T,F> as core::ops::deref::Deref>::deref
             at /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1032:13
  40: Test::main
             at ./src/main.rs:21:32
  41: core::ops::function::FnOnce::call_once
             at /home/f/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Thank you for your issue! It looks like there's an error in your fluent source code. Specifically a-zA-Z is invalid.

Closed or not, I have just encountered this problem and solved it by re-naming all of the equivalent variables in each different ftl file.
Which makes me wonder why there are different locale directories in the first place.

@TimMaher Each file in a locale directory is bundled into a single FluentBundle for the locale. That's not how variables work so you were running into a different issue, which happened to be fixed when you renamed your variables. I'm not sure you're even talking about variables, as you can't define variables, you can only use variables in a placeable of a term, and like what I said above, terms are not shared between locales. If you want to have shared terms use the core_locales in the static loader, or the shared_resources option.
If you're getting the error above, your fluent syntax was incorrect.

Thanks XAMPP,
We are talking about slightly different things I guess, largely because my language was imprecise.
The “variables” I was referring to are items in each of the .ftl files.
So, if I have an item with a label hello and that item is in each of locales/core.ftl and locales/en/main.ftl it will throw the error when I try to get the value in my main function.
I have to give them different names in each file. In this instance I have called the first one hello and the second one en-hello.
Perhaps I have not fully understood the static loader implementation?
Best Regs
TIm
Tim Maher-De Troyer
@.***
BTW… Happy New Year! Bit late but...

On 8 Jan 2023, at 17:36, XAMPPRocky @.***> wrote:
@TimMaher https://github.com/TimMaher Each file in a locale directory is bundled into a single FluentBundle for the locale. That's not how variables work so you were running into a different issue, which happened to be fixed when you renamed your variables. I'm not sure you're even talking about variables, as you can't define variables, you can only use variables in a placeable of a term, and like what I said above, terms are not shared between locales. If you want to have shared terms use the core_locales https://docs.rs/fluent-templates/latest/fluent_templates/macro.static_loader.html in the static loader, or the shared_resources https://docs.rs/fluent-templates/latest/fluent_templates/struct.ArcLoaderBuilder.html#method.shared_resources option.
If you're getting the error above, your fluent syntax was incorrect.
—
Reply to this email directly, view it on GitHub https://github.com/XAMPPRocky/fluent-templates/issues/29#issuecomment-1374888155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVYV5P4T2XLVIK5HH574NDWRL3JNANCNFSM45YFA47Q.
You are receiving this because you were mentioned.

So, if I have an item with a label hello and that item is in each of locales/core.ftl and locales/en/main.ftl it will throw the error when I try to get the value in my main function.

Yes, you shouldn't define them in both, that's equivalent to defining it twice in a single file, which is the error you're getting. You shouldn't be trying to overriding it with the same message ID. Core locales are for things that are always the same across all locales, and you should have separate messages or terms defined when its locale specific.
Without knowing the specifics you shouldn't have hello and en-hello, as that's not actually descriptive or cross-locale compatible. You should have something like hello and hello-message.

Ahh... that explains it. It’s in the core. I should have spotted that as I had to specify a default, which would not, therefore, expect a core.
Thanks for that.
Regs
Tim
Sent from my iPad

On 8 Jan 2023, at 18:16, XAMPPRocky @.***> wrote:
So, if I have an item with a label hello and that item is in each of locales/core.ftl and locales/en/main.ftl it will throw the error when I try to get the value in my main function.
Yes, you shouldn't define them in both, that's equivalent to defining it twice in a single file, which is the error you're getting. You shouldn't be trying to overriding it with the same message ID. Core locales are for things that are always the same across all locales, and you should have separate messages or terms defined when its locale specific.
Without knowing the specifics you shouldn't have hello and en-hello, as that's not actually descriptive or cross-locale compatible. You should have something like hello and hello-message.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

authors: TimMaher XAMPPRocky makorne

repo: XAMPPRocky/fluent-templates


text:
Return errors from ArcLoaderBuilder.build().

Hope this is ok, cheers!

Hi XAMPPRocky,
We can pass the path easily for the shared resource but it is lost for the locale resources and I think it would involve a fairly heavy refactor to include the path for the locale resources; whilst it is desirable I don't have the time to go through all the changes required to make this work.
No worries if you don't want to take the PR, cheers!

Thanks for looking into this, that reasoning seems fine, to me. If you could remove the path variable so we only have one error variant I can merge this in and create a seperate issue for improving the error message.

Thanks. Agreed, I think it is better if assigning the path to the error is handled as a separate issue considering it will take some refactoring of the types to implement correctly.
Hopefully, the latest commit can be merged. Cheers :+1:

This has now been published as 0.5.10

authors: XAMPPRocky tmpfs


text:
Submit pull request to main branch

Propose changes to be merged into the main branch.

Initiating pull request to merge changes into the main branch.


text:
🛑 ml is down

In 48949bc, ml (https://codeforces.ml) was down:

HTTP code: 403
Response time: 579 ms

Resolved: ml is back up in 6c4eb76.


text:
after update to Xcode 14, failed step not have marked

Hello. We are have XCTestHTMLReport 2.1.0. After update to Xcode 14, failed step not have marked.
After update to Xcode 14

Before update to Xcode 14

What happened?

Same issue here with 2.2.2 version

authors: YaroslavLV atakankarsli

repo: XCTestHTMLReport/XCTestHTMLReport


text:
Problem of maxCache

When I use Chart.SetMaxCache() for line chart. I found that the data will not change dynamically after reaching the value set by maxcache.How can I deal with it. Thank u.

How did you add the data? Could you show the relevant code?

How did you add the data? Could you show the relevant code?
Just like this. Implemented in a loop within a thread.

eyeQueue.TryDequeue(out eyeData);
dataChart.AddXAxisData("x" + cnt);
dataChart.AddData(0, eyeData);

The code seems fine. If you called dataChart.SetMaxCache before StartServer, it should work as expected. Could you provide more details? What version of XCharts are you using?

代码似乎很好。如果您之前致电，它应该会按预期工作。你能否介绍有关情况？您使用的是哪个版本的 XCharts？dataChart.SetMaxCache``StartServer

I've just realized that it may have been an issue due to the ignore break I had set, I kept updating the index of the x-axis causing the array to go out of bounds. It's fixed now, thanks.

The code seems fine. If you called dataChart.SetMaxCache before StartServer, it should work as expected. Could you provide more details? What version of XCharts are you using?

I've just realized that it may have been an issue due to the ignore break I had set, I kept updating the index of the x-axis causing the array to go out of bounds. It's fixed now, thanks.

repo: XCharts-Team/XCharts


text:
Zero payments

#Payments less than 0.000000001 XDAG are ignored

Thank you for your great efforts!

repo: XDagger/xdag


text:
Update pytest.yml

Specify the strax to be v1.6.5
Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible
What does the code in this PR do / what does it improve?
Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

[ ] Update the docstring(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the open issues on github?

Notes on testing

Until the automated tests pass, please mark the PR as a draft.
On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

Is this PR ready to be reviewed?

@chnlkx Please change the title of this PR to a meaningful one. :)

I will merge this but please @chnlkx update the title even after it is merged.

authors: chnlkx dachengx

repo: XENONnT/straxen


text:
Add option "suppressNotices" to prevent exec* methods from printing "starting" and "exited" notices

As discussed in #47, it's sometimes convenient to use DevCmd's exec* methods without having them output any of their notices ("Starting process..." and "Process xy exited...").
This PR adds this optional behavior to all exec* methods, including unit tests.
~This PR is based on #48 and must be merged after it.~ Rebased onto new main since previous PR is now merged.

Note that with this functionality, we can probably use ProcessExecutor internally in devcmd in some places where we previously dropped to raw spawn etc, e.g.:
https://github.com/XITASO/devcmd/blob/d34cd8bb986b58991d1947fce6783cc5b64730ea/packages/devcmd/src/from-cli/index.ts#L115-L119
and
https://github.com/XITASO/devcmd/blob/d34cd8bb986b58991d1947fce6783cc5b64730ea/packages/devcmd/src/utils/npm_utils.ts#L3-L11

@lieberlois @schierla, it would be great if you could give this a quick look and review.
Due to #54 and another fix (e8ef0599ec76eb0f88049c2633829c0ff39214e4) I'd like to push out new releases of devcmd-cli and devcmd soon.

repo: XITASO/devcmd


text:
Cadastre [DO NOT MERGE]

High Level Overview of Change

Context of Change

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (you added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation update
[ ] Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
[ ] Release

API Impact

[ ] Public API: New feature (new methods and/or new fields)
[ ] Public API: Breaking change (in general, breaking changes should only impact the next api_version)
[ ] libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
[ ] Peer protocol change (must be backward compatible or bump the peer protocol version)

closing this for now might revisit in the future

repo: Xahau/xahaud

license: ISC


text:
AmplitudeEmbedding normalization not behaving as expected

This simple example:
import numpy as np
import pennylane as qml
from pennylane.templates.embeddings import AmplitudeEmbedding

dev = qml.device('default.qubit', wires=3)
@qml.qnode(dev)
def circuit(data):
    AmplitudeEmbedding(data, wires=[0, 1, 2])
    return qml.expval.PauliZ(0)

data = np.ones(shape=(8,)) / np.sqrt(8)
circuit(data)

gives the error
TypeError: unsupported operand type(s) for +: 'Variable' and 'Variable'

This seems to be due to the normalization check within the definition of AmplitudeEmbedding.
As a further point, the normalization check is probably too strict. Instead of checking if the normalization is exactly not equal to one, we should allow for some small numerical tolerance by using np.allclose()

I agree, ran into the problem of normalisation condition being too strict too. Will replace norm == 1 check with isclose check.
With regards to the error, is it wanted behaviour that amplitude encoding encodes trainable parameters?

With regards to the error, is it wanted behaviour that amplitude encoding encodes trainable parameters?

That's a good point. In my (limited) experience I would expect it to encode raw data only, and so would then have to pass it via a keyword argument to avoid the Variable + Variable error @co9olguy got.

A use case where variables have to be encoded is if there is classical pre-processing that scales the inputs by trainable parameters. So @co9olguy is right, we need to consider Variables beeing fed in.

I will work on it!

@mariaschuld Let me know if I can help in any way.

Fixed in PR #376

repo: XanaduAI/pennylane


text:
你好, 请教一个关于laravel的 DB 基本用法迁移的问题

如这里所说: http://stackoverflow.com/questions/27956821/can-i-use-dbtabletags-outside-of-laravel
网上有很多教程移植 Eloquent , 并且可以使用成功, 如移植到 codeigniter 中, 可以直接使用 Active Record 用法(User::first());
可是, 如何移植他的基本用法呢 ? 如: DB::table('user')->get();

你发的链接里一楼的答案不就是吗？

authors: XiaoLer fizzcome

repo: XiaoLer/blade


text:
MNIST learning rate

The paper says in 4:

Our implementation is in TensorFlow (Abadi et al. [2016]) and we use the Adam optimizer (Kingma and Ba [2014]) with its TensorFlow default parameters, including the exponentially decaying learning rate

The TensorFlow defaults for Adam are described here:
https://www.tensorflow.org/api_docs/python/tf/train/AdamOptimizer
The current capsulenet.py uses lr_decay as a callback to modify the learning rate, but there isn't any evidence that the paper follows this method. Should the lr_decay callback be removed since Adam already decays the learning rate?
(update: the TensorFlow and Keras defaults for Adam appear to be the same)

@glangford As I said in README.md, I'm not sure if the paper used this learning rate decay method. I found that adopting lr_decay can lead to faster convergence. You can remove it and train for more epochs, it's your choice.

authors: XifengGuo glangford

repo: XifengGuo/CapsNet-Keras


text:
🛑 Prometheus is down

In 2a1f177, Prometheus (https://Prometheus-1.tikihed.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prometheus is back up in c66d57c.

repo: Xiija/UpMonitor


text:
common/includes/xcl2/xcl2.cpp:46 Error calling err = cl::Platform::get(&platforms), error code is: -1001

i run hello_world example,when make check TARGET=hw, The following error occurred
[XRT] WARNING: No devices found
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
[XRT] ERROR: No devices found
..//common/includes/xcl2/xcl2.cpp:46 Error calling err = cl::Platform::get(&platforms), error code is: -1001
Makefile:124: recipe for target 'check' failed
make: *** [check] Error 1
make check TARGET=sw_emu is ok

@crizy  We don't have "check" target. Can you try running your design with "make run TARGET=sw_emu PLATFORM=xpfm>"
Thanks,
Vishnu

@crizy We don't have "check" target. Can you try running your design with "make run TARGET=sw_emu PLATFORM=xpfm>"
Thanks, Vishnu

@vishnuchebrolu
i do is as follows,
(1)make all TARGET=sw_emu PLATFORM=xpfm
this is ok
(2)make check/test TARGET=sw_emu PLATFORM=xpfm
this is ok,print message as follows,
Device[0]: program successful!
TEST PASSED

ERROR: Card index 0 is out of range

@@vishnuchebrolu,
    the error information  ERROR: Card index 0 is out of range  and   ERROR: No devices found ..//common/includes/xcl2/xcl2.cpp:46 Error calling err = cl::Platform::get(&platforms), error code is: -1001

   It seems to be the problem of pyopencl installation,but  i follows operate  https://support.xilinx.com/s/article/73055?language=en_US

  but t he above error message still appears,my pip list as follows

 pip list

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Package       Version

appdirs       1.4.4
asn1crypto    0.24.0
cryptography  2.1.4
decorator     4.4.2
defusedxml    0.5.0
enum34        1.1.6
idna          2.6
iniparse      0.4
ipaddress     1.0.17
keyring       10.6.0
keyrings.alt  3.0
Mako          1.1.6
MarkupSafe    1.1.1
meld3         1.0.2
numpy         1.16.6
pip           20.1.1
psutil        5.4.2
pybind11      2.8.1
pycairo       1.16.2
pycrypto      2.6.1
pygobject     3.26.1
pyliblzma     0.5.3
pyopencl      2019.1.2
pytools       2020.1
pyxdg         0.25
SecretStorage 2.3.1
setuptools    0.9.8
six           1.11.0
SOAPpy        0.12.22
supervisor    3.3.1
wheel         0.30.0
wstools       0.4.3
WARNING: You are using pip version 20.1.1; however, version 20.3.4 is available.
You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.

authors: crizy vishnuchebrolu


text:
[Bug] After Updating from 2.1.4 to 2.2 the server did not start anymore

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Java Version
Java
Minecraft Version
1.19.2
MCDiscordChat Version
2.2.0
Description
I had updated only MCDiscordChat, tried also to recreate the Config, but don't work.
Server start not up
To Reproduce
Only Start server with 2.2.0, with 2.1.4 it work fine
Log
Here is the Full Log
https://mclo.gs/PzdAnz0
Config
No config will created, but old Config on 2.1.4 work fine.

Two options:

Update to 1.19.4
Disable check for update and stay at 1.19.2

Then there is an issue on your side, because, on Curseforge and on Modrinth, the MCDiscord is shown for Compatibility on 1.19.2

The apps are loading this as update for 1.19.2.

yet i know it is incompatible with 1.19.2 but other guys are not knowing.

This is an expected problem, but I would not fix it because MCDC supported too many major and minor versions, and I do not want such unclean pages. If it bothered you, I would like to say sorry, but yeah, would not fix it.

I'm sorry, but this is not how you should be doing things. Lying about game version support just for the sake of cleanliness can (and did for me) cause headache for server owners. It's frankly bad software practice, just like breaking semver.

@suerion @Speak2Erase @fortnider @thesabinelim
I appreciate your desire to improve the mod for other players in the Minecraft community.
While it is important to ensure that the mod is compatible with the Minecraft versions it claims to support and to eliminate confusion and frustration for users, it is currently unrealistic to expect mod maintainers to test each MCDC release against every Minecraft minor version.
If you were to consider the suggestion to show the exact Minecraft versions supported by a new MCDC release in the future, you would realize that retroactively updating the version support information for all past releases would be demanding. This step is required to make such a suggestion effective, as it would result in incorrect information for previous versions if the potential problem is not fixed.
For example, let's say version 2.0.1 claims support for all versions from 1.14 to 1.19.1, but version 1.19 is not actually supported. If I select only [...] to 1.18.2, and 1.19.1, excluding 1.19, in the next version, 2.0.2, then the page would show that version 2.1.4 supports version 1.19, but this would be incorrect information.
However, I am unable to do all the demanding work myself and would appreciate any contribution you may have to this effort, given your eagerness to improve the mod for other players in the Minecraft community. Please note that I am busy in real life and would not be able to start fixing this demanding work until I find it possible to do so.
Thank you for bringing up your concerns and feedback. I hope you can contribute to MCDC practically to improve MCDC for the Minecraft community.

Can't you use GitHub actions to automate testing?

No, these automated operations cannot be tested for compatibility and must be tested using server and client side manually. The behaviour of how each version of the mod is incompatible with a game varies from case to case. Some won't start the server at all, some can, but kick players out when they join a game, and some kick players out when they send chat messages, and even more.

All issues re-examined:
Fixed in #180 already.

authors: Speak2Erase Xujiayao suerion

repo: Xujiayao/MCDiscordChat


text:
Возвращает скрытие и показ асайда

Возвращает скрытие и показ асайда
Скрипт по показу актуального модуля не перенесён, потому что можем начать править блоки.
Добавляет немного анимации

Мы сейчас начинаем готовить работу именно через контентно-платформенную связку, авторам и контрибуторам будет удобнее, если асайд будет скрываться.

Я немного переживаю, что возвращается вёрстка. Нам бы лучше закончить с выводом и сборкой всех данных. А потом понять: мы внедряем новый дизайн или старый?
Может пока не нужно?

Тут минимальное изменение, которое вылезло, когда починили подключение стилей в #85 и #84, просто огорчился, что не работает и подумал, что хуже не будет, если появится минимальная правка.

Просто мы сейчас внедряем вёрстку, которую потом придётся выковыривать. Не хотелось бы (

Просто мы сейчас внедряем вёрстку, которую потом придётся выковыривать. Не хотелось бы (

Просто отключим БЭМ-блок, небольшая проблема, но постараюсь вёрстку дальше не тянуть.

authors: furtivite pepelsbey

repo: Y-Doka/platform


text:
🛑 MOMO is down

In e0af6fd, MOMO (https://www.momoshop.com.tw/main/Main.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MOMO is back up in d28539d after 10 minutes.


text:
My first branch

Add my first file

Add my first file


text:
AbstractPlanningObjectType identifier tarpeeton

UML-mallissa identifier-ominaisuus on määritelty korvaavana samannimiselle ja tyyppiselle AbstractGML-luokan ominaisuudelle. Siten sen uudelleenmäärittäminen AbstractPlanningObjectType-tyypissä on tarpeetonta.
https://github.com/YM-rakennettu-ymparisto/kaavatietomalli/blob/e299d1715ee26c5270f9e21112e34f4887b3641d/xmlschema/kaavoituksenKansallinenTietomalli.xsd#L53

Pahoittelut, tämä seikka onkin väärin raportoitu. Laajennettu identifier on pakollinen toisin kuin alkuperäinen

repo: YM-rakennettu-ymparisto/kaavatietomalli


text:
Added my Users in Database plugin gist.

ozh recommended I add this and make a PR.

👍 :)

authors: njbair ozh

repo: YOURLS/awesome-yourls


text:
[META] Implement artifact-upload

I tried to work on the YAML files for configuring artifact-upload but due to tight schedules and the sort I can't be arsed to handle it. Anyone familiar with YAML and GH Actions want to take a whirl at this?

Thanks again @JOBBIN9422 for cleaning up my messes! 😊

repo: YSCEDC/YSCE