text:
Correct warning from 1D route color array

Matplotlib throws a warning when colors are provided as a 1D array with the "c" argument.  This is corrected by specifying the "color" argument in lieu of "c".
import osmnx as ox
ox.config(use_cache=True, log_console=True)

G = ox.graph_from_place('Munich, Germany', network_type='drive')
route = ox.shortest_path(G, 20461931, 75901933, weight=None)
colors = [0.7,0.1,0.5]
ox.plot_graph_route(G,route,colors)

*c* argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapping will have precedence in case its length matches with *x* & *y*.  Please use the *color* keyword-argument or provide a 2D array with a single row if you intend to specify the same RGB or RGBA value for all points.

Running the same code with this patch results in no warning.

When you run:
route = ox.shortest_path(G, 20461931, 75901933, weight=None)
colors = [0.7,0.1,0.5]
ox.plot_graph_route(G,route,colors)

You are passing the function a list of colors. However, according to the docs:

route_color : string
color of the route

This argument should be a string. If anything, the type should be enforced, but it is not currently being checked. If you're proposing a larger rethink of plotting and color handling, please open an issue to discuss. Thanks!

repo: gboeing/osmnx


text:
ExpressionChangedAfterItHasBeenCheckedError

Using angular 9 I get an ExpressionChangedAfterItHasBeenCheckedError.
I solved it by overriding the MatCarouselSlideComponent and adding { static: true } to the templateRef property.
This is my component:
import { Component, forwardRef, TemplateRef, ViewChild } from '@angular/core';
import { MatCarouselSlideComponent } from '@ngmodule/material-carousel';

@Component({
    selector: 'agp-carousel-slide',
    templateUrl: './carousel-slide.component.html',
    styleUrls: ['./carousel-slide.component.scss'],
    providers: [
        { provide: MatCarouselSlideComponent, useExisting: forwardRef(() => CarouselSlideComponent) }
    ]
})
export class CarouselSlideComponent extends MatCarouselSlideComponent {
    @ViewChild(TemplateRef, { static: true }) public templateRef: TemplateRef<any>;
}

It would be nice if this fix gets included in the core library so we dont have to override the component ourselves.

@BickelLukas  The above solution is not working. it is throwing an error as type static boolean is not assignable to read value { static: true }

@anilkumar007 The static property has been added to ViewChild in Angular 8. If you have a previous version this fix will not work

I'm using Angular 9 and can't get this fix to work. If I just add the static statement to viewchild it doesn't work; if I extend the class, import from the package and add the static statement it errors about the DomSanitizer constructor. Any more guidance or fixes for the ExpressionChangedAfterItHasBeenCheckedError ?

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Deployment Updates - Artifacts and Artifact

Greetings,
I was having issues doing a selective deploy with PipelineStageArtifacts and PipelineStageArtifact.  The deploy command was instead calling PipelineStage's deployAll and failing.
I've updated extension.ts and commands to make sure deployments at Artifacts or Artifact level was working.
I have tested in GCC and Commercial.
Thank you.

actually I think the right approach would be to introduce an interface "iDeployablePipelineObject" with the function deployToNextStage and implement it on PipelineStage, PipelineStageArtifacts and PipelineStageArtifact
we would then only need one VSCode command PowerBIPipelineObjects.deploy
we should also consider how this would work with multiselect of objects in the future as this is also something I want to add

source: gharchive/pull-request

authors: gbrueckl kerski

repo: gbrueckl/PowerBI-VSCode


text:
Made the tip sheet pages in en and fr for creating accessible documents

What does this pull request (PR) do? / Que fait cette demande « pull » (PR)?
Made the placeholder pages of tip sheets for Excel, Word, PPT and Outlook./ Réalisation des pages d'espace réservé des fiches-conseils pour Excel, Word, PPT et Outlook.

Can you add 'updatesMain' to the tags in the front matter to add it to the what's new section?

ok on it


text:
256 color support using vscode's integrated terminal

I'm developing an app using tview (which uses tcell for all of its color term support)
When I debug in vscode, it seems the integrated terminal is restricted to 16 colors. If I run the same compiled binary in an external term (ie, alacritty), I get full 256 color support.
Any suggestions on how to get this working in vscode?
Sorry it's not a tcell bug specifically. I've googled for the past week or so, and vscode support has not produced any answers. Was hoping it's a common problem you are familiar with
Thanks

Which OS are you using?
If using Linux or macOS you can try setting $TERM in the environment to xterm-256color.  Having said that, I can't say for sure that VScode's integrated terminal actually supports 256 color.  If it doesn't you may be out of luck.  (Legacy xterm only supports 16 colors.)
If you're on Windows, it's likely that you're stuck.  The Windows console API is kind of limited, and it would not surprise me to learn that on Windows they use a very least common denominator for support.  (Historically the Windows console API only supported 16 colors.)

I'm using linux. But your reply gave me some ideas for more googling, and eventually found a solution...
It seems you have to use this is vscode settings, otherwise it will truncate everything to 16 colors..
"terminal.integrated.minimumContrastRatio": 1
Appreciate the help, thankyou

authors: carpii gdamore

repo: gdamore/tcell

license_source: bigquery


text:
Handle no scheduled events

closed by #19

authors: omarhoumz omhoumz


text:
🛑 BitWarden is down

In 1ce5b7b, BitWarden ($SITE_BITWARDEN) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BitWarden is back up in 0ce940f after 6 minutes.


text:
how to disable firmware update

I incidentally entered firmware update by keeping button pressed and inserting the batteries.
$ i2cdetect  -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

script OTA_firmware_upgrade.py fails with  connection refused, it seems that firmware location not available
$ ./OTA_firmware_upgrade.py
Pass the authentication, downloading the latest firmware...
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0xb5e5b580>: Failed to establish a new connection: [Errno 111] Connection refused

the OTA_firmware_upgrade.py script has bus.write_byte_data(0X18, 50, 0) after the upgrade. I do that and re-insert the batteries, but it does not help.
please help, how to disable firmware update mode?

So, please tell us, what did you do to solve this?

any manual adjustments to 0x18 50 did not work. firmware URL download still not working. I had to update firmware from a file, ver10 firmware.bin in this discussion - https://github.com/geeekpi/upsplus/issues/67

repo: geeekpi/upsplus


text:
Update folder_size.py

Made the code more compact by iterating through a dictionary. The line the dictionary and print the file size in Bytes, Kilobytes, Megabytes and Gigabytes.

Thanks very much
Regards
Craig
On 22 Feb 2016, at 16:52, Rutvik Narayana Nadimpally notifications@github.com wrote:

Made the code more compact by iterating through a dictionary. The line the dictionary and print the file size in Bytes, Kilobytes, Megabytes and Gigabytes.
You can view, comment on, or merge this pull request online at:
https://github.com/geekcomputers/Python/pull/39
Commit Summary
Update folder_size.py
File Changes
M folder_size.py (22)
Patch Links:
https://github.com/geekcomputers/Python/pull/39.patch
https://github.com/geekcomputers/Python/pull/39.diff
—
Reply to this email directly or view it on GitHub.

repo: geekcomputers/Python


text:
Data type error in gitlab.rb.j2 template

In template here using string data because value is quoted but it should be boolean. With "false" value gitlab still has enabled option. Also maybe better to change letsencrypt block to explicit "true":
- {% if gitlab_letsencrypt_enable %}
+ {% if gitlab_letsencrypt_enable == "true" %}

And default variable with email here also generate wrong config (4 double quotes that makes gitlab-ctl reconfigure fail):
letsencrypt['contact_emails'] = "["gitlab@example.com"]"

# gitlab-ctl reconfigure

Running handlers:
There was an error running gitlab-ctl reconfigure:

/etc/gitlab/gitlab.rb:18: syntax error, unexpected local variable or method, expecting end-of-input
...t['contact_emails'] = "["gitlab@example.com"]"
...                         ^~~~~~

Doh, I've seen PRs

repo: geerlingguy/ansible-role-gitlab


text:
FCGI: attempt to connect to 127.0.0.1:9000 failed

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 2.2.6
VirtualBox 6.0.12r133076
ansible not installed

Your OS

macOS 10.14.6

Full console output

[Thu Dec 05 04:48:17.563833 2019] [proxy:error] [pid 8038:tid 140318494144256] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Thu Dec 05 04:48:17.564517 2019] [proxy_fcgi:error] [pid 8038:tid 140318494144256] [client 10.20.1.1:51005] AH01079: failed to make connection to backend: 127.0.0.1

After
After completing provision of the machine, using the Acquia BLT recipe,
the dashboard.drupalvm.local works fine, but the Drupal website returns an HTTP 503 error
with the above log message shown in Apache.
Seems to be a problem with php-fpm Apache SetHandler / proxy? I mean I don't know, I'm going on some troubleshooting articles I looked at. There's also this in your issue queue:

https://github.com/geerlingguy/ansible-role-apache-php-fpm/issues/4
https://github.com/geerlingguy/ansible-role-apache-php-fpm/issues/7

Summary

It seems something changed in www.conf and regexp rules are no longer valid, we are facing this for provisions done in last couple of weeks.

I updated the listen variable (/etc/php/7.3/fpm/pool.d/www.conf) to the direct address instead of the value that was already there as a workaround to get my box running again.
;listen = /run/php/php7.3-fpm.sock
listen = 127.0.0.1:9000

I've been referenced from my prior issue: https://github.com/acquia/blt/issues/3948
I've tried the above suggestion for the listen setting. Unfortunately, this is not solving it for me.
Also, note, I completely re-provisioned my MacBook in order to try and see if a fresh start would help.
I'm currently running VirtualBox 6.0.14 if that helps. Vagrant up (my Acquia BLT project fired) didn't work with 6.1 so I downgraded.
This appears to have began within the last 5 or so weeks.
Please refer to the issue I referenced above for my machine and other details.
I am able to get things working on my Ubuntu 18 box.

The above workaround from @clarentinarebello seems to have worked for me

The latest version of VirtualBox is 6.0.14, you should probably update, although it seems somewhat unlikely to cause this.
What base box are you using (BLT supports several)? Have you updated the box lately and reprovisioned so that the new base box gets picked up? Have you tried completely nuking your VM (blt vm:nuke) and initializing a new one from BLT's default box/config.yml?
I've tried both geerlingguy/drupal-vm and geerlingguy/ubuntu1604 and cannot reproduce this issue using a fresh BLT install and VM. My www.config is set to listen = 127.0.0.1:9000 out of the box, so I'd assume that's desired. Furthermore, you should be getting PHP 7.2 out of the box with BLT, while the file referenced above mentions PHP 7.3. This all suggests that you aren't using the stock VM provided by BLT, or perhaps your VM config is out of date.

I was able to solve this by changing:
apache_vhost_php_fpm_parameters: |     <FilesMatch \.php$>       SetHandler "proxy:fcgi://{{ php_fpm_listen }}"     </FilesMatch>
to
apache_vhost_php_fpm_parameters: |     <FilesMatch \.php$>       SetHandler "proxy:unix:/run/php/php{{ php_version }}-fpm.sock|fcgi://{{ php_fpm_listen }}"     </FilesMatch>
Got the hint from here:
https://serverfault.com/questions/594020/using-proxypassmatch-for-fastcgi-results-in-connection-refused-on-port-9000
Though I am not sure what might be causing this.
I tried searching the cause and the only thing that I found that might cause this would be the following change in apache version 2.4.28 (https://www.apachelounge.com/Changelog-2.4.html):
core: Disallow multiple Listen on the same IP:port when listener buckets      are configured (ListenCoresBucketsRatio > 0), consistently with the single      bucket case (default), thus avoiding the leak of the corresponding socket      descriptors on graceful restart.  [Yann Ylavic]
But I would advise the grain & salt thingy for this.

I think I may have been able to replicate the issue on a colleagues macOS computer. It seems that when we don't have Ansible installed on the host computer, a file at /etc/php/7.3/fpm/pool.d doesn't get created properly. Instead, a file is created locally with a jinja2 variable name in it. The variable isn't replaced in the path name.
When we installed Ansible on the host macOS computer, the provisioning finishes correctly and the proper paths and files are modified.

I guess this is a problem with one of the following:

The way Ansible is installed on the guest VM when you don't have Ansible on the host
The Jinja2 variable substitution syntax used here for {{ php_fpm_conf_path }}/pool.d

Perhaps one isn't compatible with the other? I couldn't find an obvious problem in the geerlingguy/ansible-role-php code:
https://github.com/geerlingguy/ansible-role-php/search?q=php_fpm_conf_path

Could be related to this:
https://github.com/ansible/ansible/issues/64169
When installed on the host macOS computer I get Ansible 2.7.10.
# ansible --version
ansible 2.7.10
  config file = None
  configured module search path = ['/Users/chopper/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.7.6 (default, Dec 30 2019, 19:38:28) [Clang 11.0.0 (clang-1100.0.33.16)]

# pip --version
pip 19.3.1 from /Users/chopper/Library/Python/3.7/lib/python/site-packages/pip (python 3.7)

# python --version
Python 3.7.6

@christopher-hopper - Good sleuthing; I may just need to tag a new release of Drupal VM with all the latest role updates (which may solve this issue by using a 2.9.x-compatible method). There have been a few and I've just put off tagging a release in case I wanted to make any larger changes.
Related: https://github.com/geerlingguy/drupal-vm/issues/2015

I believe this should be fixed, so I'm going to close this issue (upgrade to 5.1.1 to make sure you're running all the latest code).

authors: NJWong christopher-hopper clarentinarebello danepowell dipakmdhrm ejanus geerlingguy nikunjkotecha

repo: geerlingguy/drupal-vm

license: mit


text:
Use PHP 5.5 or 5.6 (5.4 is only available version in Wheezy)

Raspberry Pi-compatible (ARM) apt repos only contain PHP versions up to 5.4.x. A couple options:

Compile PHP from source (supported easily by geerlingguy.php role, but would take absolutely forever on the Pi).
Pin php* packages to the Debian jessie repo sources (via pinning).
See if the dotdeb or ondrej PPAs work with the Raspberry Pi (doubtful, as I'm guessing they're only built for x64 architectures, but worth a try.

I need to create a sister issue in the drupal-pi project, since this 5.5+ will soon become a hard requirement for Drupal 8...

After playing around with all the above approaches, it looks like compiling from source might be the easiest way to go, even though it takes a bit of time to compile PHP on the Pi :(

On second thought, after having waited about 45 minutes to try building PHP from source, it might be easiest to use jessie and pin to that repo for php* packages. Trying that now... Can't easily get PHP 5.6 or 7.x that way, but at least we can get to 5.5 without waiting an hour or two :P

Nope, still a no-go, unless I want to upgrade everything to Jessie, which I don't really at this time. I'd rather stick to a more stable set of packages from Raspbian mainline... hopefully they upgrade to Jessie/8 sometime soon, but I won't hold my breath.
Back to building from source—I'm timing the process this time.

What about cross-compiling from an x86 machine?
https://www.raspberrypi.org/documentation/linux/kernel/building.md
http://openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Cross-compiling-guide.html

It took about 45 minutes just to do the clone, configure, compile and install... but:
$ php -v
PHP 5.5.26 (cli) (built: Jul  6 2015 02:38:11)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

Next up, I'm going to wipe it all, and overnight let it compile PHP HEAD and see what happens :)
Configuration changes incoming... and there's no way you'll want to attempt compiling on a B+.

@FelicianoTech - That's a definite long-term possibility. The compile time is pretty annoyingly long. However, I wouldn't want people to have to set up a separate computer/VM to do the cross-compile just to save a few minutes—my goal is to have a configuration that runs D8 optimally on a Raspberry Pi with as little fuss as possible.
At this point, I'm getting everything to install flawlessly with PHP 5.4.x, but I'm testing 5.5, 5.6 and 7.0 to see if they're all stable as compiled on the Pi. And unfortunately, there are no package repositories that I can find with ARM packages for PHP > 5.4 on Debian Wheezy, and the only other option is to do a full dist upgrade to Jessie, which I'd rather not do at this time.
I'm guessing in 6 months to a year, Raspbian's default image/repos will have 5.5 in them, so it's just a waiting game. And since this project is more for the fun of it (there's no way I'd deliver production Drupal traffic to a Pi 2 ;-), I'm okay with compilation taking quite a while, as long as it's flexible (which encourages experimentation) and easy enough to use the playbook.

I've punted around the idea of using my Dramble stack to build/manage my own RPi-specific apt repo for later versions of PHP and maybe a couple other tools... but that's just a bit beyond what I'd be willing to maintain (on top of the bajillion other OSS stuff I'm involved with :P ).

I've added some actual code for the drupal-pi project in https://github.com/geerlingguy/drupal-pi/pull/4 — I'm still running into little issues here and there (especially with 5.6.10 and 7.0.0alpha2), so I'm trying to get things more stable before promoting that to master, and then merging it into this upstream project (especially since compilation takes 30-45 minutes minimum—no way I want someone to have to sit and wait on 4 Pis to see that an unstable release/process requires reimaging everything!).

Issues are no longer issues, so I'm going to work on getting up to 5.6.11 stable for now.

authors: FelicianoTech geerlingguy

repo: geerlingguy/raspberry-pi-dramble


text:
Doesn't work for new wilderness weapons

Ursine Chainmace, for example

This was added a while ago.

authors: SaintJuniper geheur

repo: geheur/weapon-charges


text:
GO:0001871     pattern binding

very bad
GO:0001871     pattern binding
Interacting selectively and non-covalently with a repeating or polymeric structure, such as a polysaccharide or peptidoglycan. PMID:12072369 PMID:12225919 PMID:12507420 PMID:12925128 PMID:14523544
This is a terrible term.
It's a parent of
GO:0030247    polysaccharide binding | is_a
GO:0001876    lipoarabinomannan binding | is_a
and
neither of these stipulate "pattern" binding , whatever that means.... (which is actually.... nothing)
A repeated polymeric structure isn't a 'pattern'
and it has a synonym
pattern recognition activity???!!!???

Obsolete ?
No direct annotations, 2 children can be rehoused:
'lipoarabinomannan binding'
'polysaccharide binding'

Yes for sure.

Dear all,
The proposal has been made to obsolete: GO:0001871 pattern binding
The reason for obsoletion is that this term was an unnecessary grouping term. There are no annotations, no InterPro2GO mappings to this term. This term is present in one slim: goslim_pir
Any comments can be added to the issue: https://github.com/geneontology/go-ontology/issues/16620
We are opening a comment period for this proposed obsoletion. We’d like to proceed and obsolete this term on November 23rd, 2018. Unless objections are received by November 23rd, 2018, we will assume that you agree to this change.
Thanks, Pascale

@nataled Do you want to replace this term by something else, or just remove it ?
Thanks, Pascale

@ukemi any idea why the term labels of some ChEBI and CARO have changed ?
https://github.com/geneontology/go-ontology/pull/16645/commits/b5841e9ab314cc035cf7f03c4f7f1d7d5ca4bc8a
should I worry about that ?

I used to see this a lot but just saw it again recently. In the past as long as identifiers were the same, I didn't worry about it. At the end of the day, it is the identifier to the external ontology that gets used. I am curious as to why this happens though. Those imports haven't been regenerated in a while.

I did an RO_import update yesterday, which came with some CARO label changes: https://github.com/geneontology/go-ontology/pull/16644/files

So, would I be merging old labels ? I did a git pull before starting.

Thanks Jim. That explains it.

@pgaudet it's just because the OBO format puts the label in a comment anywhere the term is referenced, so there is a bit of a cascading effect as different files are edited.

These pattern terms were created to match the usage of the word pattern in the scientific literature.  Not something I made up.  There are five Pubmed references associated with this term.  Did you read any of them?

For sure they are  called "pattern recognition proteins", but can  "pattern binding" really be used  in this context as a grouping term for these descendants?
Can't gene products can bind to a polysaccharide  or a peptidoglycan without being a pattern recognition molecule?  I thought the pattern binding was to refer to recognizing a specific arrangement of  saccharide residues in a polymer  ?  Presumably binding to homomeric polymers are not recoginising specific "patterns"
if it isn't always true it should be
polysaccharide binding
--polysaccharide pattern binding
with the grouping term renamed to "polymeric pattern binding"

I should have been clearer with my original request. My gripe is with the use of the word "pattern" to group "polysaccharide" and "lipoarabinomannan".
Polysaccharides occur in lots of contexts in addition to those recognised by immune molecules and these aren't called "patterns"    (cell wall polysaccharides, for example)

What is the fix? It's really unclear to have
"pattern binding" as a parent of
"GO:0030247    polysaccharide binding "
It really means to bind a repeating motif in a polymer .
This would be analogous to making  "DNA lop binding" a parent of "DNA binding" or "protein motif binding " a parent of "protein binding". It doesn't seem to be ontologically correct as it is....

The fix is that pattern binding is now obsolete.

GO:0030247 polysaccharide binding  is now a child of carbohydrate binding
GO:0001876    lipoarabinomannan binding is a GPI anchor binding.

This is consistent with the MF structure. The 'pattern binding' aspect is relevant for the signaling BPs (see other tickets).
OK ?
Thanks, Pascale

I think the term is valuable for "polymeric pattern binding", but it in the wrong place.
Should wait for @addiehl  to comment on my suggestion to move  and specify it.

I am okay if 'pattern binding' goes away as a MF term, if pattern seems too vague and not referring to binding of a specific chemical class of molecules.  However, the mechanism of binding polysaccharides and related structures of bacterial origin as a means for activating the innate immune response and regulating the type of adaptive immune response that develops subsequently is well investigated (and indeed, was already well understood in 2005-2006 when I worked on many of these terms) and researchers in this field had already settled on the phrase 'pathogen-associated molecular patterns' to describe the targets of particular receptors and their signaling pathways, so we need continue to represent associated biological processes appropriately.

But isn't this just a normal binding? Can we not make the distinction under BP ?
I think many of the children are NOT relevant to the kind of pattern binding we are discussing:
(children of polysaccharide binding):
'(1->3),(1->4)-beta-glucan binding'
'(1->3)-beta-D-glucan binding'
'(1->4)-beta-D-galactan binding'
'(1->6)-beta-D-glucan binding'
'alpha-D-glucan binding'
'arabinogalactan binding'
'cellodextrin binding'
'cellulose binding'
'cyclodextrin binding'
'galacturonan binding'
'glycogen binding'
'heteropolysaccharide binding'
'inulin binding'
'mannan binding'
'pullulan binding'
'starch binding'
'xylan binding'
These are all inferred from ChEBI.
Pascale

well,  if we can convey the meaning precisely with the receptor function terms, probably there is no need for this term in binding.

This depends on the outcome of https://github.com/geneontology/go-ontology/issues/16616

Q would the "pattern binding" term be used for any other gene products apart from receptors ?

authors: ValWood addiehl balhoff pgaudet ukemi

repo: geneontology/go-ontology


text:
Missing parent: [nuclear-transcribed mRNA catabolic process, nonsense-mediated decay]

GO term ID and label for which you request a new superclass

GO:0000184 | nuclear-transcribed mRNA catabolic process, nonsense-mediated decay

New superclass (parent) suggested

GO:0071025 | RNA surveillance
Additional Info.
The term definitions should be updated to say that this is an "RNA  surveillance pathway" and to match the additional parentage.

duplicate of
https://github.com/geneontology/go-ontology/issues/24273


text:
PI-3-K pathway

Hi all,
i need a term for PI-3-K pathway.
I am annotating mGLU4 receptor (UNIPROT Q14833) and it
is involved in the stimulation of Phosphoinositide
3-kinase (PI-3-K) pathway.
pMID:15102938
I was thinking to add the term as a child of cell
surface receptor linked signal transduction GO:0007166
Nine currently identified phosphoinositide
3-kinases (PI 3-K) constitute a subfamily of lipid
kinases that catalyze the addition of a phosphate
molecule on the 3-position of the inositol ring of
phosphoinositides.
For instance, activation of growth factor receptor
tyrosine kinase results in the autophosphorylation of
the receptor, creating binding sites for IP3K and for
adaptor proteins such as Grb2.The activated PI3k
converts the PI4,5P2 in PIP3
These lipids exert specific regulatory functions
inside the cell: they regulate proliferation, cell
migration, vesicle trafficking, cell survival and
vesicle budding.
Thanks
Erika
Reported by: arike
Original Ticket: "geneontology/ontology-requests/3260":https://sourceforge.net/p/geneontology/ontology-requests/3260

thanks www.movied.org


text:
Regen of MGI models from MGI test file 3

New model files from https://github.com/geneontology/mgi-go-cams/pull/4.
After PR merge and run of Jenkins issue-238-wormbase-test-pipeline, this will create file(s) number 4 for David's test.

To be merged ASAP?

Fingers crossed!

authors: dustine32 kltm ukemi

repo: geneontology/noctua-models


text:
Request: Add --no-cache

I would to have a --no-cache option.

PR: https://github.com/genuinetools/img/issues/177

authors: AkihiroSuda oblique

repo: genuinetools/img


text:
upstream patched, README.md needs update

https://github.com/docker/cli/pull/1347 is closed, and README.md needs some update.

@zhangyoufu  Any update on this?

README.md is updated in #285, I have no idea about current state of img.

authors: qalinn zhangyoufu


text:
setgroups broken

$ cat /tmp/apt/Dockerfile
FROM debian
RUN for f in uid_map gid_map setgroups;do echo "#$f"; cat /proc/self/$f; done
RUN apt update

$ docker run -it --rm -v /tmp/apt:/foo -w /foo -v /tmp --privileged img build -t foo .
Building docker.io/library/foo:latest
Setting up the rootfs... this may take a bit.
RUN [/bin/sh -c for f in uid_map gid_map setgroups;do echo "#$f"; cat /proc/self/$f; done]
--->
#uid_map
         0          0          1
         1          1      65536
#gid_map
         0          0          1
         1          1      65536
#setgroups
deny
<--- r3942e87odgx0tu831zsxrxlv 0 <nil>
RUN [/bin/sh -c apt update]
--->

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: setgroups 65534 failed - setgroups (1: Operation not permitted)
E: setgroups 0 failed - setgroups (1: Operation not permitted)
Reading package lists...
E: setgroups 65534 failed - setgroups (1: Operation not permitted)
E: setgroups 0 failed - setgroups (1: Operation not permitted)
E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (1: Operation not permitted)
E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (1: Operation not permitted)
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)
<--- quk7snb2cmsx3llpmpeeogix2 100 <nil>
solving failed: executor failed running [/bin/sh -c apt update]: exit code 100

Seems failing this check https://github.com/jessfraz/runc/blob/d5cb71bbe08dc3ca135837187e281af5f336fd1c/libcontainer/container_linux.go#L1806

https://github.com/AkihiroSuda/runc/commit/343b7bc4a662c7cac6829562cd13fc019aef6d64 works for me
@jessfraz Could you cherry-pick the commit to your fork?
@cyphar Is this commit safe to be proposed to the upstream? I'm not sure why this check exists.

Will do!!!
On Mon, May 21, 2018 at 23:59 Akihiro Suda notifications@github.com wrote:

AkihiroSuda/runc@343b7bc
https://github.com/AkihiroSuda/runc/commit/343b7bc4a662c7cac6829562cd13fc019aef6d64
works for me
@jessfraz https://github.com/jessfraz Could you cherry-pick the commit
to your fork?
@cyphar https://github.com/cyphar Is this commit safe to be proposed to
the upstream? I'm not sure why this check exists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/genuinetools/img/issues/96#issuecomment-390883690,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNbFW_37KcKUV_aeoH_NSr8crxLRBCks5t07dIgaJpZM4UH5Xo
.

--
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC  511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

updated and triggered a new build of the image :)

note to self to add e2e testing for the image :)

@AkihiroSuda From memory the logic was that you need to have CAP_SETGID in order to be able to set setgroups to allow. I'm not sure why that code was there in the first place -- this assumption isn't true and never has been. Not to mention that it doesn't make sense given the newgidmap support. :+1: to submitting a patch that removes it.

@cyphar Thanks, added the commit to https://github.com/opencontainers/runc/pull/1688

Opened https://github.com/genuinetools/img/pull/98 for adding test

authors: AkihiroSuda cyphar jessfraz


text:
Update site-relationships.ttl

Hi Vance, Paul,
Please review my additions to the site-relationship vocab, for geologic-feature relationships, presently for those associated mainly with rock units. Vance,
You may not like my compounded terminology, and you are welcome to suggest alternatives. But, in condensing each of them, it becomes more difficult to differentiate them from their inverse. Note that I have considered how they would appear in an alphabetical drop-down, so that similar terms are listed together in order (and not spread out all over the place). Once we have decided on the terminology, I can add the additions to the objectList, without which the amended file cannot be validated. Paul,
Please consider the terms and definitions provided, to suggest deletions, amendments and omissions.
Also, for both of you, please let  me know, if I have gone 'off-track'!!

Closing this while we approve LPX+ update, to resubmit with requested changes as discussed after approval of other PR

authors: KellyVance johnmckellar


text:
Support "mandatory" constraint for "StringCombo" control

From the following issue's comment, supporting mandatory (=disallow empty) constraint for StringCombo control will be preferable.

https://github.com/gtt-project/redmine_gtt_smash/issues/47#issuecomment-1350160989

@moovida (CC: @dkastl, @smellman)
Oh, yes. Just same level constraint as note (string) will be enough, I think.

Show ( mandatory ) at right side of the label.
If nothing is selected, show red frame to remind to operator.

repo: geopaparazzi/smashlibs


text:
using io.open

Overview
This PR is updating PR #475 and uses io.open.
Related Issue / Discussion
#475
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage remained the same at 74.05% when pulling d5939ca3ccb52981baa52554c4a09c55ad2ff05b on cehbrecht:update-pr-475-io-open into 5c52cd945a7a971e81ceee9a0ceb1d02b476fa5e on geopython:master.

Looks like this approach leads into more PY2 compatibility troubles:
File "pywps/inout/basic.py", line 387, in file

    fh.write(self.data)

TypeError: write() argument 1 must be unicode, not str

skipping this PR ... it becomes obsolete when using Python 3 only.

authors: cehbrecht coveralls

repo: geopython/pywps


text:
Cannot delete a hierarchical relationship that has been defined in a project for an external namespace

Describe the bug
I managed to create a hierarchical relationship for an external referenced namespace which is wrong and i cannot delete. It does not seem to affect the external namespace but it is present in the rdfs export and needs to be removed
To Reproduce

Create a class e.g. with id TX2 Writing
Go to hierarchy tab and define a superclass from crm base e.g. E36 Visual Item
E36 Visual Item will appear in the list of parent classes. If you click on E36 Visual Item then the interface will allow you to add a parent class to E36 Visual Item.
I add as parent class the E37 Mark (which is wrong as it creates a cycle - E37 is subclass of E36 not the opposite) and although nothing seems to be affected there has actually been created such a relationship in my namespace which is exported with rdfs generation and i cannot delete.

Expected behavior

I think i should not be able to add a parent class to an external namespace - if i should be able to do so then the 1st image should actually display some success message
I should be able to delete the hierarchical relationship that has been created for the external namespace in the only tab that it appears in the interface (in the relations tab) via a delete option. Otherwise it will always be included in my export rdfs file
namespace-CRMtex ongoing (1).rdf.txt

Thanks for submitting this issue. After checking, it turns out that there is no bug.
For some strange reason, CRMtex appears to be unchecked in your "My current namespaces" tab of your dashboard. Add it or click on reset and you'll see the hierarchical relationship appear with the delete button on the E36 Visual Item page.
But you're right, it might be a good idea to add an edit/delete button to the list of relations. As it will be a new feature, I invite you to open a discussion on this subject if you wish.
Otherwise we feel it is appropriate to allow the addition of a hierarchical relationship defined in a namespace between two classes which do not belong to this namespace. This relationship will only appear if the namespace in which it is defined is selected, and will only be exported in the serialization of this namespace.

authors: iltzortz valamercery

repo: geovistory/ontome


text:
MacOS version will not run

I downloaded the Mac OSX version and copied it to my Applications folder. On double clicking it does nothing. I can see the app in Activity Viewer but get no visible user interface. Activity monitor shows the app and two helper processes.
OSX 10.14.5
Nikola.app 0.2.6 - June 9th 227.7MB

I have the same issue - downloaded 0.2.6 today, dragged it to the Applications folder. It ran but like the previous commenter, no interface. Activity monitor shows the same processes.
I'm on OSX 10.14.5 on an iMac, 16gb memory, only other stuff running is two browsers (Firefox and Safari)

I installed the app.  I signed in with Tesla account.  I can see the car icon in the toolbar but when I click on it nothing appears or happens.  Running Mac OS 10.14.5

Looks like the fact that the app does not open the main window right away might be confusing for some people. I will make it open so this usability issue will be fixed.
@Hamilt0n Regarding your issue, it seems like a different problem. I will investigate that. Did you try to restart the app and same behavior persisted? I'm on 10.14.4, will try to update and see if it is related to the version.

Perhaps a one time popup to tell you about the startup behaviour would help new users. Check a box to suppress the message next time would keep it clean.

New version (0.2.7) now opens the main window on startup.
Will further investigate @Hamilt0n issue, but I can't reproduce it (also running Mac OS 10.14.5).
@Hamilt0n, please open a separate issue if you are still having problems. Make sure to download the new version 0.2.7 (restart app to trigger auto-update).

Ok, if I run ./Nikola-0.2.7-x86_64.AppImage --no-sandbox now it starts.  I'll try to read more about this sandbox thing...

authors: Hamilt0n IanAber TopView geraldoramos iaflyer

repo: geraldoramos/nikola


text:
点击事件和拖拽事件有冲突

我设置点击事件后就不能拖拽了，这个怎么处理

你用的框架是什么版本的

还有你点击 Demo 中的第五个按钮，以便测试拖拽和点击是否正常

长时间没有响应，关闭此 issue

repo: getActivity/XToast


text:
fix: always calculate budget usage

App card (and app page) will show usage even if no budget is set.

This is a bit strange because the field is called budget usage. But the app effectively has an infinite budget.

repo: getAlby/hub


text:
failed to build in android studio bumblebee

Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'sonatypeStagingProfileId' for object of type io.github.gradlenexus.publishplugin.NexusRepository.
at org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:88)
at org.gradle.internal.metaobject.ConfigureDelegate.getProperty(ConfigureDelegate.java:130)
at build_76cjshiqpqozcifg3g23n78n5$_run_closure5$_closure16$_closure17.doCall(/Users/fdcsam/Desktop/cardscan-android/build.gradle:113)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.util.ClosureBackedAction.execute(ClosureBackedAction.java:71)
at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)
at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:105)
at org.gradle.util.ConfigureUtil$WrappedConfigureAction.execute(ConfigureUtil.java:166)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer$sonatype$2.execute(DefaultNexusRepositoryContainer.kt:38)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer$sonatype$2.execute(DefaultNexusRepositoryContainer.kt:27)
at org.gradle.api.internal.AbstractNamedDomainObjectContainer.create(AbstractNamedDomainObjectContainer.java:80)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer.create(DefaultNexusRepositoryContainer.kt)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer.sonatype(DefaultNexusRepositoryContainer.kt:35)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer.sonatype(DefaultNexusRepositoryContainer.kt:32)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)
at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)
at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:56)
at build_76cjshiqpqozcifg3g23n78n5$_run_closure5$_closure16.doCall(/Users/fdcsam/Desktop/cardscan-android/build.gradle:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.util.ClosureBackedAction.execute(ClosureBackedAction.java:71)
at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)
at org.gradle.util.ConfigureUtil.configureSelf(ConfigureUtil.java:142)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer.configure(DefaultNexusRepositoryContainer.kt:42)
at io.github.gradlenexus.publishplugin.DefaultNexusRepositoryContainer.configure(DefaultNexusRepositoryContainer.kt:27)
at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:103)
at org.gradle.util.ConfigureUtil$WrappedConfigureAction.execute(ConfigureUtil.java:166)
at io.github.gradlenexus.publishplugin.NexusPublishExtension.repositories(NexusPublishExtension.kt:57)
at io.github.gradlenexus.publishplugin.NexusPublishExtension_Decorated.repositories(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)
at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)
at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)
at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:34)
at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:56)
at build_76cjshiqpqozcifg3g23n78n5$_run_closure5.doCall(/Users/fdcsam/Desktop/cardscan-android/build.gradle:108)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.util.ClosureBackedAction.execute(ClosureBackedAction.java:71)
at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)
at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:105)
at org.gradle.util.ConfigureUtil$WrappedConfigureAction.execute(ConfigureUtil.java:166)
at org.gradle.internal.extensibility.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:173)
at org.gradle.internal.extensibility.ExtensionsStorage.configureExtension(ExtensionsStorage.java:64)
at org.gradle.internal.extensibility.DefaultConvention.configureExtension(DefaultConvention.java:364)
at org.gradle.internal.extensibility.DefaultConvention.access$500(DefaultConvention.java:45)
at org.gradle.internal.extensibility.DefaultConvention$ExtensionsDynamicObject.tryInvokeMethod(DefaultConvention.java:301)
at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)
at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:34)
at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:135)
at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
at org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:84)
at build_76cjshiqpqozcifg3g23n78n5.run(/Users/fdcsam/Desktop/cardscan-android/build.gradle:107)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)

Hi @dwardy0101 , you can comment out the following line in the associated build.xml files:
apply from: "deploy.gradle"

Hi @dwardy0101 , you can comment out the following line in the associated build.xml files:
apply from: "deploy.gradle"

Hello,
I tried removing this and I still get the error. I cant build the app.
A problem occurred evaluating root project 'cardscan-android'.
> Could not get unknown property 'sonatypeStagingProfileId' for object of type io.github.gradlenexus.publishplugin.NexusRepository.

Hi @dwardy0101 ,
Try adding the following lines to your local.properties file. These example values should satisfy the missing field requirement.
signing.keyId=abc123
signing.password=abc123
signing.secretKeyRingFile=abc123

ossrhUsername=abc123
ossrhPassword=abc123

sonatypeStagingProfileId=abc123

thanks, @awush-stripe

repo: getbouncer/cardscan-android


text:
Ferdi is very slow to start on kubuntu

Hi,
This is the time it take to start the latest appimage Ferdi. I just start and close it. It's, very very slow.
$ time /opt/Ferdi.AppImage
Starting local server on port 45569
info: serving app on http://127.0.0.1:45569
real    0m54.597s
user    0m3.736s
sys     0m1.213s
$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

I can confirm this, also very slow start (> 1min) on Ubuntu.
Unsure where to start investigating, I suggest to use e.g. snap release instead in the mean time.

dropping a comment for appimages, also lag on startup on mx and manjaro. i dont have snaps/flats on them. did check out the newest 5.9.3n19. when running from a term, gtk themes tend to show errors instantly, but it took a while for it to show. i did notice ferdi behaving normally once we got pass the initial start (i choose skip ferdi logins).
it runs just fine on win10 though

authors: FONZACUS mhatvan redno2

repo: getferdi/ferdi


text:
[Windows 11] Ferdi does not appear in app switcher and sticks to multiple virtual desktops

Bug description:
Since upgrading to Windows 11, Ferdi has issues with the window manager. The two issues I'm having are:

Ferdi does not appear in the window switcher (the one that appears when clicking Alt+Tab), which makes it annoying to select Ferdi when not in focus (see screenshot below)
Ferdi does not stick to a single desktop but instead it appears on multiple virtual desktops

As you can see in the screenshot below, Ferdi appears on all desktops (bottom part of the screenshot), however it is not visible in the app switcher (top part of screenshot). Not sure what the issue is, but it seems connected to https://github.com/getferdi/ferdi/issues/1708 ? In both cases, we have Windows 11, same Ferdi version, and weird behaviors with the window manager.

Expected behavior

Environment:

Operating System: Windows 11
Ferdi Version: 5.6.0
Server: Ferdi

Might want to update? I'm on 5.6.2 and I don't have any issues.

I've checked for updates and I am including beta versions but the latest I see is 5.6.0. Am I doing something wrong?

@alecive - The in-app updater is broken. Please refer to the website to manually download the latest versions - including betas/nightlies. getferdi.com

Ok, I've downloaded the new version. For now, it seems it's working. Closing--I'll reopen if I see any other weird behavior. Thanks @vraravam !

Ok I am reopening with further details. Now I can easily switch between Ferdi and other windows with Alt+Tab but only if Ferdi is not minimized.
When Ferdi is minimized, it doesn't appear in the list of windows I can switch to like any other app.

Works fine if it's minimised on my side, as long as it's not minimised to tray. what build are you on?

5.6.2

I meant windows build.

Here it is:
Edition	Windows 11 Pro
Version	21H2
Installed on	8/24/2021
OS build	22000.194
Experience	Windows Feature Experience Pack 1000.22000.194.0

Another thing that happen is that Ferdi stays on all virtual desktops rather than sticking to one.

i have this bug, i must use "move ferdi to current display" to see the UI every time.
https://gist.githubusercontent.com/Aokromes/e359a1973d5096187f8e3ab01a7eda01/raw/9e42be3ec5a58d557f463cfe8975d4d5a36056f8/gistfile1.txt

Hello,
I encounter the same problem on W10: Ferdi is present on all my desktop even if I want to keep it in one place. Is this really a bug or a feature ?

this is fixed for me on 5.6.5

Just downloaded 5.6.6 and it seems to be working for me! I'll keep an eye out and close the issue in the next few days.

Just downloaded 5.6.6 and it seems to be working for me! I'll keep an eye out and close the issue in the next few days.

It has worked for a couple hours. I'm now back to the starting line. @vraravam any idea why is that?

Hi, I'm in 5.6.2 and it seem to work...sometimes. Seems like t's related to the minimize to tray option: when I launch ferdi I got it in the windows task bar, but when I reopen it by clicking on the icon in tray panel I don't have any icons in the task bar and the window stays over the top

it's strange it worked for me on 5.6.5, updated to 5.6.6 worked for few hours, stopped to work, worked again, stopped to work, also no task bar icon.

I think we are getting a similar behavior? It works for a bit and then stops working.

I tried to desactivate all the options related to minimize in tray and it sticks to the desktop. Here are my configuration, you can try and tell me if you experiment the same behavior

@Dranaxel Does it work if you have this configuration?

authors: Aokromes Dranaxel alecive m-vlad vraravam


text:
Apply minor fixes to README.md

Description
This PR solves some very minor issues with grammar and appearance in the README.
In particular, it

removes spaces before question marks,
corrects "What Ferdi looks like?" to "What does Ferdi look like?",
replaces acute accents (´) with backticks (`) where appropriate, and
fixes an "an" to an "a" because it is followed by an "A".

Motivation and Context
The README becomes every so slightly easier to read and understand.
How Has This Been Tested?
N/A
Screenshots (if appropriate):
N/A
Types of changes

[ ] 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)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thanks @FWDekker, appreciate the attention to details and contribution! 🙏

Thank you for your contribution! @all-contributors add @FWDekker for doc

authors: FWDekker kytwb vantezzen


text:
Step implementation not found message incomplete

Expected behavior
The step name with all parameters should be shown in the message.
Actual behavior
Steps to replicate

Create a spec

* step2
* step2
|sdf|
|---|
|asdf|

Give the implmentation

    @Step("step2")
    public void implementation15() {
    }

Now run the spec.
It gives the error Step implementation not found => 'step2'
It does not indicate the table as a parameter to differentiate from the other step step2

Version
Gauge version: 0.4.1.nightly-2016-05-31

Plugins
-------
html-report (2.1.1.nightly-2016-05-30)
java (0.4.1.nightly-2016-05-30)

Now, this differentiates by adding the suffix <table> if there is an inline table. Fix should be available in nightly >= 02/06/2016

authors: apoorvam sguptatw

repo: getgauge/gauge


text:
Specs dir can now be defined as env variable

(my very first) pull request for https://github.com/getgauge/gauge/issues/984
Comments are welcomed

@cla-bot recheck PR.

I had another suggestion, the env variable can take a comma separated list of spec directories. The GetSpecDir function can return a array of spec directories. This would be really useful to have.
Also, it looks like this is your first contribution to Gauge. Before we can look at your pull request, you'll need to sign our Contributor License Agreement (CLA).
Please visit https://gauge-cla.herokuapp.com/ to read and sign it.

@cla-bot check if all the contributors of this pull request has signed our CLA.

As far as I can see, the current structure of the specification location is not that it supports comma separated lists. Because some places expect to work with one value. But I will see

Now it would be a difference of passing multiple spec location to Gauge.
When from command line, it would be gauge run specs1 specs2", so space separation When from property file, it would be gauge_specs_dir = specs1,specs2", so comma separation.
Is this acceptable ? @nehashri

I renamed the existing method GetSpecFiles to GetSpecFilesFrom (in lack of better name), because I wanted to avoid that all callers have to switch to []string, when not needed.
And it seems that GO does not support overloading ?!

@cla-bot check if all the contributors of this pull request has signed our CLA.

@jackperalta Also, Before we can look at your pull request, you'll need to sign our Contributor License Agreement (CLA).
Please visit https://gauge-cla.herokuapp.com/ to read and sign it.

@jackperalta Thank you for your contribution :)

authors: gaugeci jackperalta nehashri


text:
.code should have the closeBrowser in the finally section

Actual behavior
Currently finally block is empty.
Steps to replicate

Open the REPL
openBrowser()
.code

The generated code does not have the closeBrowser() method

Version
commit 9e7a26ea5ee96a68d090452e3352e709230d59f2 (HEAD -> master, origin/master, origin/HEAD)
Author: NivedhaSenthil <nivedhasenthil@gmail.com>
Date:   Thu Jul 19 12:15:41 2018 +0530

    Update time gap between key strokes

Should be available in commit 306d8cae7f9e05386a9587875865c48f1809a875.

authors: Apoorva-GA sguptatw

repo: getgauge/taiko


text:
Taiko examples fail with non zero exit code

The taiko example for windows tabs is failing, but the build is still green.

Fixes are available in https://github.com/getgauge/taiko/commit/f21b693530123cc9ccf2ad9765a61f40d0ffa098

authors: nehashri shubhamsc


text:
Add option to use AND rather than OR for multi-item collections

The example in the docs show something like this
     content:         items:           - '@self.children'           - '@taxonomy':                category: [blog, featured]
It goes on to explain (and in practice I also can confirm) that the behavior is it will show all children from the current page, as well as anything in the blog or featured category.
I'm trying to find a way to do something similar, but show things that match both rather than either, so it would have to be @self.children AND category: [blog,featured].
I can't find any way to do this with the current implementation.

We plan on implement a much more powerful query language in a future version of Grav to get around limitations in how collections are built.  In the meantime, a workaround could be to use two collection defintions, and then merge them:
collection1:
   items: '@self.children'
collection2:
  items:
    - '@taxonomy':
         category: [blog, featured]

Then you merge them:
{% set collection1 = page.collection('collection1') %}
{% set collection2 = page.collection('collection2') %}
{% set collection =collection1|merge(collection2) %}

This will effectively combine the two collections creating an "OR" condition.

That's the exact opposite of what I'm asking.
It already does OR if you define multiple items
I'm asking about an AND condition.

Sorry misread your original issue. This turns out to be a little more complicated and requires some additional logic in Grav (namely a new Collection::intersect() method that can intersect multiple collections.  I've added this and its ready for testing in the develop branch.

Example:
{% set collection1 = page.collection('collection1') %}
{% set collection2 = page.collection('collection2') %}
{% set collection = collection1.intersect(collection2) %}

authors: Ketrel rhukster

repo: getgrav/grav


text:
Out of memory error with new version

Hello,
just upgraded to the new version today and suddenly grav stoped working :(
Every time I try to load a page, I goth the message:
Server Error
Sorry, something went terribly wrong!
E_ERROR - Out of memory (allocated 127926272) (tried to allocate 11028481 bytes)
I'm on a 1&1 Linux Unlimited shared host – nothing great of course but before the update everything ran smooth, so does anyonee have a idea how to fix this problem? Unfortunately the memory_limit is fixed at 256M, so increasing this is no option (read here)
I really loved Grav thus far – would hate to switch to another CMS :(
Thank you in advance.

Maybe try clearing the cache? Not too much has changed that would cause this and 256mb should be plenty.
How many pages do you have? Can you provide a zip of your site for me to test locally?

Also what version of PHP are you using? 1and1 should support PHP 7 which is much faster and uses less memory.
Most likely though you have some bad logic in twig or something that is causing an infinite loop.

Hi,
thanks for your help! First, a little background info:

I use a custom theme, which is based on the default antimatter-theme (and not that much modified)
currently there are 80 pages, most are subpages of a blog-page
all pages are structured equaly: 2-3 images and a short text
I used to upload stuff directly from my Android device, since the text is really short – so the images are not modified at all and because of that the zip is quite large
I'm using PHP 7.0

Here is the downloadlink. ( I changed the password-hash)
Thanks again for having alook!

Ok, i replicated the exact same problem on my localhost and I have isolated the problem to really 2 things:

Looking in your pages, I see your images are JPG with a resolution of 4000x2992.  This is very large. When PHP is asked to manipulate an image of this size it first has to convert it to a bitmap, this 5mb file then becomes HUGE. Probably around 50mb, then copies are made in memory taking up even more memory.

The second problem is you are using "Related Pages", this plugin runs through the content() of every page in your system to compare the content to see which pages are good matches.  Now when you call the content() method on a page, it does all those image manipulations too.  So all those manipulations on every page are being run the first time through (which is why you get that timeout on first load, but not second).  After the first load, the content is cached, and it's not required to process again.

SOLUTION:
First use smaller images.  I did a  batch image conversion of all images in user/pages to a max width of 1920px which is plenty big enough.
Second, I would disable related pages entirely.  I think I need to re-look at this plugin anyway and perhaps only compare the 'raw' content and not the processed content.  It will not be able to match things that are pulled in by twig, or other plugin related things, but it will mean things are MUCH faster. But until that happens, this is just not going to work for you, as you have too many large images for it to handle well.

Wow, thank you for your detailed answer!
I underestimated the image thing a bit, also tried a version with smaller images on one article but didn't work – and the related pages problem is a good tip: this alone helped a lot! Still I'm gonna scale down the images and work with smaller versions in the future.
Thank you very much :-)

quick update: scaled down all images (now all together only have 98mb instead of 850mb) and deactivated related pages, now its working fine again, yeah!
but the simplesearch plugin also runs out of memory, when searchign within the blog-items. not a big deal, but maybe it can be optimized..

authors: lorddoumer rhukster


text:
Add new locator schema templates://

Also see https://github.com/getgrav/grav-learn/issues/851

what is the compelling reason for this?

The reason for adding the docs or adding templates://?

It is used in multiple plugins but the parameters are not explained anywhere.

I want to create a plugin that adds structured data (json-ld) to the page. It processes the page.header and if it finds an entry it searches a corresponding template.

For example:
structured_data:
    local_business:
        name: 'Pizza Restaurant'
        address: [...]

// Check if a template exists for the given data
$template = 'structured-data/json-ld/' . $key . '/' . $key . '.json.twig';
if ($locator->findResource('templates://' . $template, true, false) === false) {
    continue;
}
$this->grav['twig']->processTemplate($template);
[...]

It won't work. The reason is that twig isn't using a stream and paths can be added later, too.

I dont understand, it works for me. And the event to add path is run first, so all templates should be in place. But I am no expert here, however I've need a solution to lookup the templates from a plugin.

authors: NicoHood mahagr rhukster


text:
Mermaid Rendering Issue with GitHub Pages

Description
Mermaid feature seems to have a bug with GitHub Pages.
Steps to reproduce
Render the gethyas/doks page with the following command:
npm run build
Upload the files inside the public folder to GitHub Pages and the mermaid won't show up.

Expected result
The following diagram should show up.

Actual result
Instead the mermaid doesn't show up.

In the inspect elements the mermaid file cannot be found.

Environment
> hyas-project@0.0.0 preinfo
> npm version

{
  'hyas-project': '0.0.0',
  npm: '10.2.4',
  node: '21.5.0',
  acorn: '8.11.2',
  ada: '2.7.4',
  ares: '1.24.0',
  base64: '0.5.1',
  brotli: '1.1.0',
  cjs_module_lexer: '1.2.2',
  cldr: '43.1',
  icu: '73.2',
  llhttp: '9.1.3',
  modules: '120',
  napi: '9',
  nghttp2: '1.58.0',
  openssl: '3.2.0',
  simdjson: '3.6.2',
  simdutf: '4.0.4',
  tz: '2023c',
  undici: '5.28.2',
  unicode: '15.0',
  uv: '1.47.0',
  uvwasi: '0.0.19',
  v8: '11.8.172.17-node.18',
  zlib: '1.2.12'
}

> hyas-project@0.0.0 info
> npm list

hyas-project@0.0.0 /Users/redacted/Documents/hyas-project
├── @hyas/doks-core@1.3.0
├── @hyas/images@2.0.3
├── @hyas/inline-svg@1.0.5
├── @hyas/seo@2.1.0
├── @tabler/icons@2.47.0
├── exec-bin@1.0.0
├── gethyas@2.2.2
├── hugo-installer@4.0.1
└── shx@0.3.4

> hyas-project@0.0.0 postinfo
> exec-bin node_modules/.bin/hugo/hugo version

hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended darwin/arm64 BuildDate=2023-12-08T08:47:45Z VendorInfo=gohugoio

Closing — reopen if necessary

authors: HusenjanDev h-enk

repo: gethyas/doks


text:
您好, 亲爱的 Mike777Khoo管理员 , 我无法通过接收邮箱验证码登录，请技术支持，协助登录设备

  您好, 亲爱的 Mike777Khoo 管理员。

  u7tyfui6gf  @  protonmail.com  帐号不能通过接收邮箱验证码登录，由于授权登录的验证码收不到，造成无法使用，一个设备都没登录上。

 也写了好几次电邮到 support @  getlantern.org ，但问题照旧，还是免费版，无奈，只有请Mike777Khoo大神督促提交内部技术部门解决。

@Mike777Khoo ，另外您的支持邮箱是这个吗 mike  @  getlantern.org  ，这个邮箱昨天也给你写了电子邮件。

如有消息请联系 u7tyfui6gf  @  protonmail.com ，谢谢

自从2004年3月开始就变成免费版了 ，半年时间过去了，这半年时间可否补偿？真的很无奈！只能求助您帮忙！

 @Mike777Khoo

repo: getlantern/lantern-forum-cn


text:
Suggested changes

I noticed a few items that I'd suggest refactoring in your code:
Config handling
You're directly including into an array which will break if we decide to move the config file or change the format that it's stored in.
Starting with version 0.6.10, we've specifically added in a new class to make config file management easier and less likely to cause headache.
// Get the whole config
$dbConfig = \FOSSBilling\Config::getProperty('db', []);

// Or for example, just the DB type
$dbConfig = \FOSSBilling\Config::getProperty('db.type', 'mysql');

The first parameter is the array key to reference, written using dot-notation. The second parameter is optional and just allows you to set a default value if one isn't set.
At the very least, PATH_CONFIG contains absolute path to the config file, so include __DIR__ . '/../../../config.php'; would just be include PATH_CONFIG, but in either case we consider accessing the config file through anything other than the config class to be deprecated.
Exception class
Every time a \FOSSBilling\Exception exception is thrown, that's caught and sent via error reporting. so every time your module throws an exception to say "Domain name is not set." or even just "Not yet implemented", we get an event on our end.
\FOSSBilling\InformationException is treated as something that's simply informational and as such is not forwarded to error reporting, reducing spam and clutter in our dashboard. Ideally, the normal exception class should only be used for an actual error.
If you want to change that I can let events from the module continue to be captured and periodically forward them to you to look at, but otherwise I'm just going to add it to the blacklist so we don't get events for it, either way is fine with me.

And on a similar note, with files like this, rather than loading the config file and then creating a PDO object, you can literally just pass the DI to it and then have access to $this->di['pdo'] and $this->di['db'].

Thanks for the information, all fixes are now implemented.

authors: BelleNottelling getpinga

repo: getnamingo/fossbilling-dns


text:
Add submission download options

This PR contains the frontend work for getodk/central#150. It also closes #133.
Most of the work is done in a new component, SubmissionDownloadDropdown. We use event bubbling in that component. We rarely use event bubbling, and I needed to make a change to trigger in order to test the event bubbling. I also made a couple of other small changes to trigger.

Cookie auth / HTTPS is required for download — could that be it?

Ugh, how many more times/different ways am I going to ask this. It's unintuitive to me what does and doesn't work locally.

authors: lognaturel matthew-white

repo: getodk/central-frontend


text:
Show events about offline entities backlog on submission details page

Right now, we log an event in the audit log when a submission is processed from the offline entities backlog following the receipt of the previous submission in the offline branch. However, we don't show that event in Frontend. For this issue, we will show that event on the submission details page. We will also start logging two new events:

A submission is added to the backlog
A submission is force-processed from the backlog

Closed by getodk/central-backend#1332 and getodk/central-frontend#1080.

repo: getodk/central


text:
Support literal value in infix Interpolation

Similar to slick  interpolation

For example.
val q = infix"update user_#$tableId set name = $name"

#$tableId will be part of sql, but not as a query param.
Notice that this may cause a query dynaimc, we should consider whether support this feature or not.

Notice that this may cause a query dynaimc, we should consider whether support this feature or not.

Well I guess this one is really important to actually make queries without now all the WHERE parts at compile time. I guess it's extremly usefull to have a case class with multiple Option[T] and generate a dynamic query out of it where a filter will only appeneded if Option[T] is not None.

authors: jilen schmitch

repo: getquill/quill


text:
Update zio, zio-streams to 1.0.8

Updates

dev.zio:zio
dev.zio:zio-streams

from 1.0.5 to 1.0.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch

Superseded by #2158.


text:
Fix different timezone issue.

Problem

Wrong encoding issue occured by differences between DB and finagle-mysql client timezone.
Mysql Date typecan't be decoded to java.util.Date in finagle-mysql.

Value 'RawValue(10,63,true,[B@69c21295)' can't be decoded to 'class java.util.Date'
java.lang.IllegalStateException: Value 'RawValue(10,63,true,[B@69c21295)' can't be decoded to 'class java.util.Date'

Solution

Apply encoder using timestampValue

Current

implicit val dateEncoder: Encoder[Date] = encoder[Date]

Fixed

implicit val dateEncoder: Encoder[Date] = encoder[Date] { (value: Date) =>
 timestampValue(new java.sql.Timestamp(value.getTime)): Parameter
}

Add DateValue in dateDecoder

implicit val dateDecoder: Decoder[Date] =
decoder[Date] {
case DateValue(v)        => v  // Add for Mysql Date
case timestampValue(v) => new Date(v.getTime)
}

### Notes

Additional notes.

### Checklist

- [x] Unit test all changes
- [ ] Update `README.md` if applicable
- [ ] Add `[WIP]` to the pull request title if it's work in progress
- [x] [Squash commits](https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one) that aren't meaningful changes
- [x] Run `sbt scalariformFormat test:scalariformFormat` to make sure that the source files are formatted

@getquill/maintainers

…lient timezone.

- Add assert code related with Date in MysqlAsyncEncodingSpec.
- Add decoder for Date type of Mysql.

@karellen-kim thanks for the pull request! I'm about to merge https://github.com/getquill/quill/pull/417, so I'll have conflicts to merge rebase this PR, sorry for the extra work.

@fwbrasil Thanks for your fast feedback! :laughing:

@karellen-kim thanks for rebasing it! :) The build is failing because the source files aren't formatted (run sbt scalariformFormat test:scalariformFormat).

👍

👍

authors: fwbrasil karellen-kim lvicentesanchez


text:
Use DeviceWatcher to track Nuimos instead of looking for Nuimos once

In a "real" app you wouldn't look for Nuimos only during startup (using ListPairedNuimosAsync()). Instead you would need to keep watching the Nuimos and connect them when they become available.
I created an example in https://github.com/wind-rider/nuimo-windows/tree/deviceWatcher.
It doesn't work properly yet so I didn't make a pull request yet.
I hope you can continue here or give feedback how you think it should be done.

Thanks for your example – as soon as we've got time we'll have a look into it.

authors: larsblumberg wind-rider

repo: getsenic/nuimo-windows


text:
Decimal(None) misrepresented by raven

Use case:
from decimal import Decimal
import raven.contrib.django.models
try:
  x = Decimal(None)
except:
  raven.contrib.django.models.client.captureException()

The error reported within sentry is different from the one it should be reported.

This is correctly handled in master I believe

authors: dcramer xordoquy

repo: getsentry/raven-python


text:
getUseDeveloperSupport() has protected access in ReactNativeHost

When compiling the app using cd android && ./gradlew assembleRelease, I get the following error since adding Sentry into my app.
:react-native-sentry:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/jonathanlockley/Documents/work/my_app/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryModule.java:178: error: getUseDeveloperSupport() has protected access in ReactNativeHost
            if (this.getReactApplication().getReactNativeHost().getUseDeveloperSupport() == true) {
                                                               ^
/Users/jonathanlockley/Documents/work/my_app/node_modules/react-native-sentry/android/src/main/java/io/sentry/RNSentryPackage.java:29: error: getUseDeveloperSupport() has protected access in ReactNativeHost
        if (!this.getReactApplication().getReactNativeHost().getUseDeveloperSupport()) {
                                                            ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:react-native-sentry:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-sentry:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

I have tried changing the method from protected to public as some people recommended but it didnt seem to change anything.
@Override
    protected boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

I believe this can be resolved by using react-native version 0.41.0 or higher:
https://github.com/facebook/react-native/releases/tag/v0.41.0
https://github.com/facebook/react-native/commit/f3c8158773edf418833ff0032414433edbc6cd62

Hey,
Thanks for the clarification, I've updated the readme to reflect that we depend on react-native >= 0.41.0 for Android.

Thanks that solved my problem :)

authors: HAMPLENI HazAT jonolock91

repo: getsentry/react-native-sentry


text:
Warn on missing value, add fallback for consistent secret param

I spent a few days debugging this integration not working, and it turned out to be inconstant naming: GITHUB_APP_ID and GITHUB_API_SECRET? It's like you're asking for typos :wink:
I've hardly done any python work before, so I'm not sure how well this fits into standards.
Additionally, I'm not sure if there's better warn functionality built into the Sentry integration API, so I simply log errors to stdout. It seems like the OAuth2Login actually throws the exception that is printed on the web UI, so I couldn't quite inject a more helpful error message into there.
TL;DR, I don't know what I'm doing, but I want parameter naming to be more consistent

Current coverage is 50.49%

Merging #10 into master will increase coverage by +1.52% as of 9b6cc6a

@@            master     #10   diff @@
======================================
  Files            9       9
  Stmts          196     202     +6
  Branches         0       0
  Methods          0       0
======================================
+ Hit             96     102     +6
  Partial          0       0
  Missed         100     100

Review entire Coverage Diff as of 9b6cc6a

Powered by Codecov. Updated on successful CI builds.

Ah, sorry, didn't realize that there was a CI failure. Should be good now :)

I'm not sure that this adds value anymore, I'll close this

authors: codecov-io mitchhentges

repo: getsentry/sentry-auth-github


text:
Does this client truncate long strings and lists?

In the raven config there was 'list_max_length' and 'string_max_length' but they don't exist for the new client.
I see there is this function for strings but I don't see one for lists.
https://github.com/getsentry/sentry-python/blob/2f5487235848e3bda9eae150facb0bb9e0c490a4/sentry_sdk/utils.py#L242-L248

We have this: https://github.com/getsentry/sentry-python/blob/263a0bd92bdf85c6b23c889c8cd5a28adfd81ea2/sentry_sdk/utils.py#L823
People have reported that this is too lenient, but we haven't figured out why yet.

So if I have a list with 1000 items I will only get the first 20 items?
https://github.com/getsentry/sentry-python/blob/263a0bd92bdf85c6b23c889c8cd5a28adfd81ea2/sentry_sdk/utils.py#L844

Yes exactly. We intend to make this configurable but keep in mind that you will likely run into serverside limits as well.

The original question has been answered, closing to clean up the issue tracker.

authors: Siecje rhcarvalho untitaker

repo: getsentry/sentry-python


text:
Update sbt-coveralls to 1.3.9

About this PR
📦 Updates org.scoverage:sbt-coveralls from 1.3.2 to 1.3.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-coveralls" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-coveralls" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #190.

repo: gfc-collective/gfc-guava


text:
fix: Declare FlagRegisterer c’tor explicit template instantiations as extern

@rnburn could you check that this solves your issue #261?

Thanks. Yeah, it looks good.
The warnings showed up with clang using -Weverything btw.

authors: rnburn schuhschuh

repo: gflags/gflags


text:
[0.1/dx12] array attachment clear fix and SRV component mapping

Sibling of #2696
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[x] tested examples with the following backends: dx12
[ ] rustfmt run on changed code

Err, something is horribly broken here (5K loc changes)

bors r=msiglreith

repo: gfx-rs/gfx


text:
Update Glutin to 0.21.0

Fixes #2757
Note that this represents a significant change to the public API of the OpenGL backend. In addition to the various type changes needed due to changes in Glutin 0.21:

In Glutin 0.21, make_current() consumes the Context struct. So it is not possible for the types in gfx-backend-gl::window::glutin to make themselves the current context anymore. After this PR, the calling code must make the context current before instantiating any gfx windowing types.

gfx-backend-gl::window::glutin::Headless must now carry a Starc because only non-current contexts implement Send and Sync in Glutin 0.21, but only current contexts can be used to implement hal::Instance. To help with constructing a Headless, I have added Headless::from_context().

get_window() has been renamed get_context() to reflect that, in Glutin 0.21, glutin::WindowedContext dereferences to glutin::Context rather than glutin::Window and additional steps must be taken to access the Window.

PR checklist:

[x] make succeeds (on *nix)
[x] make reftests succeeds
[x] tested examples with the following backends: OpenGL
[x] rustfmt run on changed code

One design decision I'd particularly welcome input on is that none of the types in gfx-backend-gl::window::glutin support being used with glutin::Contexts that are glutin::NotCurrent. Non-current contexts are basically useless for anything until they're made current. The only value I could find in storing NotCurrent Contexts was making the containing type sendable to another thread, but the OpenGL backend already uses Starc for that. But if I am missing some reason support for these would be important, please let me know.
On a similar note, I am concerned that the solution I've come up with here unduly hampers apps' ability to use multiple Contexts. Because of the way making a context current/not-current in 0.21 consumes the struct and potentially creates a new one and/or changes its type, it's awkward to store them in other structs unless you have mutable access to move things in/out of the struct. This is further complicated because the existing code needs to make the Context current inside functions where self is not mutable.
I started building a solution by making these types store an Option inside a Cell inside a Starc, but it feels dirty to me, and it's not clear to me if this is even a supported way to use gfx-backend-gl. Could someone who is better-versed in gfx tell me if this is even a valid use case to worry about?

@arashikou sorry for letting this sit for a bit. It's a complex piece to review (for me), and just occurred at the same time as our Mozilla all hands. We'll get this sorted out ASAP.

Could someone who is better-versed in gfx tell me if this is even a valid use case to worry about?

Well, we definitely need to support GL operations on a device with &self borrowing. And that requires GL context to be active. So there needs to be some way to make it active, likely by utilizing some form of internal mutability (like RefCell).

@kvark No worries! It was a complex piece for me to understand well enough to write, so I know it's not easy to review. Is there anything I could do to make reviewing easier next time? I'm pretty new to OSS and open to advice on how to effectively contribute.
Thank you for taking a look at this. Just to be sure I've been clear: There is no way to enforce that the Context is active. At best, we can require that it be possibly active. So right now, the code as I've written it assumes the caller made the context active before passing it to gfx and that it will never become inactive. i.e. There will never be any other contexts but this one. That much is the minimum necessary to get the tests passing.
But the tests never have multiple contexts active at once. Having multiple contexts means continually deactivating and reactivating them as you switch between them. If we want to allow for the possibility of the context becoming inactive and gfx needing to reactivate it, then we will have to do something with internal mutability.

bors got stuck?
bors r+

Bors has been pending on this PR since I submitted it, TBH.

bors r-

bors retry

bors r+

Bors retry

On Jun 24, 2019, at 16:17, bors[bot] notifications@github.com wrote:
Canceled (will resume)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@bors glad to see you back, bro!

authors: arashikou kvark


text:
Flexible swapchain usage

Fixes #3388 (some backend-specific code needs to be added, but at this point it becomes an implemented feature with bugs rather than an unimplemented one).
Collaterally, removes WGL support from the GL backend.
Also includes a few Serious Sam-related DX12 fixes, implements fill_buffer.
Also includes a hack to allow multiple frames in flight in DX12.
PR checklist:

[x] make succeeds (on *nix)
[x] make reftests succeeds (everywhere, including DX12!)
[ ] tested examples with the following backends:

bors r=msiglreith,grovesNL

bors retry


text:
Add sync primitives

This PR adds Metal's sync primitives - Event, SharedEvent, Fence.
SharedEvent.notify stuff is a bit messy, but I couldn't find a better way.
ref: https://github.com/gfx-rs/metal-rs/issues/178

@chinedufn updated

@chinedufn @kvark Addressed comments, PTAL.
With optional dispatch dependency events example looks more sane :)

I think the last thing missing is fixing the default features.

@kvark Done!

bors r+

CI tests need --all-features as well. Added in https://github.com/gfx-rs/metal-rs/pull/179/commits/238e79244bca0dd660368275ccdf9f319c4e7eba

cargo test --all should also pass without all features,  or in any combination of features, in fact.
The last commit doesn't address the actual problem - the code which was using dispatch dependency wasn't properly feature-gated. Could you revert the last commit and instead attempt a proper fix? We can discuss the CI change separately in another PR.
Also, now it's not clear which commits are even buildable and testable on their own, so we'll have to squash it. Are you ok with this?

the code which was using dispatch dependency wasn't properly feature-gated.

Not exactly. CI failed with:
error[E0432]: unresolved import `dispatch`
##[error] --> examples/events/main.rs:8:5

since we disabled dispatch feature by default. And currently there is no way to enable a feature per example.

Why isn't this a required feature for the events example?

Why isn't this a required feature for the events example?

events example does:
    // Shareable event listener
    let my_queue = Queue::create(
        "com.example.apple-samplecode.MyQueue",
        QueueAttribute::Serial,
    );

    let shared_event_listener = SharedEventListener::from_queue(&my_queue);

which requires dispatch_queue  to be enabled in order to call from_queue (and which is not enabled by default).
So when we run cargo test --all, it fails.

We need required-features = ["dispatch_queue"] to be enabled for this example. This way, it will not be built by cargo test if the feature is not enabled.
Speaking of which, we should probably rename it to dispatch-queue (notice the dash)

crap, I misunderstood the doc. Yep, required-features did the trick. Should be good now.
Squashed the commits.

authors: kvark mxpv

repo: gfx-rs/metal-rs


text:
🛑 GFX Productions™ API is down

In 92ea119, GFX Productions™ API (https://api.gfx-pro.net) was down:

HTTP code: 521
Response time: 173 ms

Resolved: GFX Productions™ API is back up in 5cfa6f0 after 16 minutes.

repo: gfxpronet/upptime


text:
Task: Overall conceptual design of new version of the WebSocket server library

Note: This is a living document. Please make suggestions to change it while this task is open.
Primary goals
Implement a fully RFC 6455 compliant WebSocket server library that

Is easy to use
Has full unit test coverage
Is secure by default
Allows extensive, modular customization

Considerations

Minimum requirements: PHP 5.5.  It could very well be fully compatible with earlier versions of PHP, but we won't guarantee it.
Unit testing is best when using OOP design principles that are often overlooked (and often mis-implemented): Separation of Concerns, Dependency Injection, single purpose classes, code to the interface not the implementation.
Users should be able to change nearly every aspect of the library by implementing the appropriate interface and injecting it into the application, from the network IO, event loop, message queues, down to how different apps behave.
We want to limit our external dependencies down to just what ships with a sane Linux distro's PHP, and have advanced options that require external dependencies be optional.  That is, the PECL module event, which depends on libevent can be shipped with the core library, but the default event loop would be a while loop with socket_select().  If we decide to use dependency injection, we probably can't use a mature DI container like Dice, because DI would be integral to the library (or at least integral to allowing uesrs to add their own modules and extend functionality) and we can't have an external dependency on Dice since it doesn't ship with PHP.

Initial Design
Key components

Network IO
Event loop
Messages (Inbound and outbound)
Message Queues (Potentially many queues, but at least an inbound and outbound one)
Client Connection (Formerly WebSocketUser class)
Message Router
Apps

Network IO
Directly handles sending and receiving messages.  Responsible for setting up the socket(s), including any TLS settings.  Not responsible for the WebSocket framing and deframing.
Network IO Interface:
Note: PHP 7.0 function syntax for clarity of documentation of scalar types and return type, but actually implemented to be PHP 5.5 compatible
public function sendMessage(string $framedMessage, resource $clientSocketResource) : void;
public function getPacket(resource $clientSocketResource) : string; // a packet may not be a full WebSocket message (IP fragmentation, among other reasons), or may be multiple messages (Nagle's Algorithm, etc.)

Dependencies

Message queues

Event Loop
Controls process flow depending on IO and timing events
Event Loop Interface
public function run() : void;

Dependencies

Network IO
Message Router

Message Queues
FIFO queues to hold messages for further processing.
Message Queue Interface
public function addMessage(Message $message) : void;
public function getMessage() : Message;

Dependencies
None
Inbound Message
Holds a single message and a reference to the sender's socket resource.
Inbound Message Interface
public function getMessage() : string;
public function getSender() : ClientConnection;

Dependencies

ClientConnection

Outbound Message
Holds a single message and its destinations.
Outbound Message Interface
public function setMessage(string $message) : void;
public function setDestinations(array $connections) : void;
public function setDestination(ClientConnection $connection) : void;
public function addDestinations(array $connections) : void;
public function addDestination(ClientConnection $connection) : void;

Dependencies
None
Router
Routes messages between network IO queues and client applications.
Router Interface
public function registerApplication(Application $application, string $path) : void;
public function dispatchMessage(Message $message) : void;

Dependencies

Outgoing and incoming message queues

Application
A client program
Application Interface
public function tick() : void;
public function receiveMessage(Message $message) : void;
public function newConnection(Connection $connection) : void;
public function closingConnection(Connection $connection) : void;
public function closedConnection(Connection $connection) : void;

Dependencies

Router

Client Connection
Keeps track of a WebSocket client
Client Connection Interface
public function getResource() : resource;
public function getHeaders() : array;
public function getSessionValue(string $key) : (any type); // May block if another script has that session file open.
public function setSessionValue(string $key, (any type) $value); // May block if another script has that session file open.

Dependencies
None
(More may come later, but I don't want to leave this page open over the weekend and risk having a power outage cause me to lose this work in progress.)

You should take that time to match major browser method name.  That will help dev to prevent confusion and ease the use between server and client side in my opinion.
->newConnection ->onopen
->receiveMessage ->onmessage
->closedConnection ->onclose
Instead of arbitrary naming, it's obvious onopen and onclose is about connection, seem redundant to have it in the method name.
Also I'm still not convince why you need a message queue can you explain it?

Thanks for all the hard work, ghedipunk, the server is really easy to setup and use. One thing that may be helpful is a way to access query strings passed by the browser when creating a web socket connection. I apologize if that's already an option or something I'm overlooking, but it would certainly be helpful to send data on a user before they've interacted with the application.

@Xaraknid Great point about the onopen, onmessage, and onclose method names.  I'll make adjustments to the first post in this thread soon.
Message queues are a solution to the problem of IP fragmentation plus RFC 896 (Small packet problem, aka Nagle's Algorithm), where we can't be sure that we've collected one message, multiple messages, or parts of a message until we've started inspecting its contents.
With a message queue, we can hold a fragmented message in a buffer until we receive it, and receive multiple messages at the same time with the user applications treating them as single distinct messages without needing to be concerned about the details of TCP/IP.
@RobertMenke That data is already available in both the headers and requestedResource properties of the WebSocketUser object.
For example:
$user->headers['get']
$user->requestedResource;

Maybe i'm wrong but having message queues will serve for sending from server to data a mean to stack multiple message.   What you talk about is receiving you intend to have it for incoming message stacking them instead or processing them as they are receive?
I are not against buffering / stacking but it's seem odd to stack with message Queue.
How this will work, doing one full round of read and stack every message to be send after? Problem : potential high Roundtrip time between first message receive and first message send.
How will you clean/dump message for client disconnected ? Problem : will take cpu time to search for every occurence of ghost message depend on the size of the stack.
Instead of stacking vertically and stack multiple mini-wire on top of each other.  Stack them inline you'll only need one wire.

Yep, that convinces me, there's no need for message queues between the network IO layer and the rest of the system.
The way I was envisioning it at an implementation detail layer, was once an TCP segment was available in the read buffer, we would examine it for complete messages and multiple messages.  Then, once it had complete messages, send all messages for that socket to the queue, then have the router process the queue before coming back to check the next socket for packets.
It occurs to me, actually thinking about this specific implementation, that there is no difference between a formal message queue where the network IO layer enqueues a batch of messages and the router dequeues that batch of message, and just having the network IO layer run through the messages in a foreach loop, calling a message dispatch method on the router for each message... and a message queue serving that purpose adds unnecessary complexity.
(Of course, we shouldn't depend on details of how the network IO layer batches and dispatches messages; we need to program for the interface, not the implementation, because the user very well could (and if they need to, should) replace the network IO layer, or the router layer, or any other component.)
You do bring up a good question, regardless of whether we'd use a queue or we dispatch directly to the router:

How will you clean/dump message for client disconnected ?

We'll need a buffer for each client to hold partial incoming messages.
To be secure by default, we have to consider a slow DoS attack, such as Slowloris, where an attacker could open multiple sockets and send messages very slowly (or send very large messages that don't have the fin bit set) eating up resources and preventing legitimate users from connecting.
I'll need to figure out what else can be removed, besides message queues, for simplicity's sake.

Split_packet allready deal with incoming buffer at frame level.
Websocket using select() have hard system limitations of 1024 concurents connections.  I agree with you that you can set options for limitations usage of server going beyond that boundaries equal disconnection.
SendMessage miss one argument 'type' aka opcode unless you want to only support TEXT opcode.

That kind of DoS attack are relevant for http because after request is processed the connection is closed, but are irrelevant in websocket because connection stay up.  You can limit connection per IP but can prevent multiple person from corporation/school/etc to access your site as they share the same IP.
I would be more concern about malicious client holding handshake header indifinately. That could be fix with a timeout on the handshake you can match major browser I think it's 2 seconds.
You pinpoint something about message size it's important let say we are conservative and 1000 clients sending a message ( from 1 or more frame doesn't matter ) of 1M. That mean you could have a peak memory usage of 1G just for holding message.

This discussion is a little old, so I hope you won't me bringing it back up.
There has been some discussion regarding messages incoming to the server, however I think outgoing messages will also be an issue. Unless I'm mistaken, if you are going to implement non-blocking sockets (which is incedibly important) you will also need to have some kind of outbound buffer and/or queue for each client connection.
If that is the case would it not be simpler to have a ClientConnection->queueMessage(OutboundMessage $message) method to queue them directly?

@philek : the method send() play that role allready.
In Blocking mode send() method call the function to send data and didn't return untill it's completely sent.
In non-blocking mode send() method call the function to send data and if not completely sent. add unsent data to buffer + open write flag.
That is the "standard" network pattern and easier to implement for multiple network library ( socket, stream, libev,libevent )
After that if you need more specific network pattern it's up to you I guess.  As maybe process all incoming data and push data in buffer and only call once send function, this patern will work with stream and socket library but not so well in event base library.
Buffer play different role depending on the direction :
Read buffer : (required) use when receiving data.
Write buffer : (optional ) use when unsent data detected.

authors: RobertMenke Xaraknid ghedipunk philek

repo: ghedipunk/PHP-Websockets